1 //===---------------------------------------------------------------------===//
3 Vector instructions support.
9 //===---------------------------------------------------------------------===//
11 Add "OpaqueType" type.
13 //===---------------------------------------------------------------------===//
15 Variable argument functions support, "VAArg" instruction and some intrinsics.
16 CLI instruction "arglist" can get argument list descriptor for current function
17 that can be passed to other functions.
19 va_arg = Function "System.ArgIterator::GetNextArg()"
20 va_list = Class "System.ArgIterator"
21 va_start = Instruction "arglist"
24 //===---------------------------------------------------------------------===//
26 If possible get used types inside of "MSILWriter" class, do not pass trougth
29 getAnalysis<FindUsedTypes>().getTypes()
31 //===---------------------------------------------------------------------===//
33 "switch" instruction emulation with CLI "switch" instruction.
35 //===---------------------------------------------------------------------===//
37 Write linker for external function, because function export need to know
38 dynamic library where function located.
40 .method static hidebysig pinvokeimpl("msvcrt.dll" cdecl)
41 void free(void*) preservesig {}
43 //===---------------------------------------------------------------------===//
45 DLLImport'ed variables support with the help of win32 envoronment.
47 "LoadLibrary" - to load dynamic library into address space.
48 "GetProcAddress" - to recive variable address by name.