blob: 34c7f1d83867a7b4bc5a1753fa4713d2f8d5c255 [file] [log] [blame]
Anton Korobeynikov3070cd72007-03-21 21:48:59 +00001//===---------------------------------------------------------------------===//
2
3Vector instructions support.
4
5ShuffleVector
6ExtractElement
7InsertElement
8
9//===---------------------------------------------------------------------===//
10
11Add "OpaqueType" type.
12
13//===---------------------------------------------------------------------===//
14
15Variable argument functions support, "VAArg" instruction and some intrinsics.
16CLI instruction "arglist" can get argument list descriptor for current function
17that can be passed to other functions.
18
19 va_arg = Function "System.ArgIterator::GetNextArg()"
20 va_list = Class "System.ArgIterator"
21 va_start = Instruction "arglist"
22 va_end = Do nothing
23
24//===---------------------------------------------------------------------===//
25
26If possible get used types inside of "MSILWriter" class, do not pass trougth
27"MSILModule" class.
28
29 getAnalysis<FindUsedTypes>().getTypes()
30
31//===---------------------------------------------------------------------===//
32
33"switch" instruction emulation with CLI "switch" instruction.
34
35//===---------------------------------------------------------------------===//
36
37Write linker for external function, because function export need to know
38dynamic library where function located.
39
40.method static hidebysig pinvokeimpl("msvcrt.dll" cdecl)
41 void free(void*) preservesig {}
42
43//===---------------------------------------------------------------------===//
44
45DLLImport'ed variables support with the help of win32 envoronment.
46
47 "LoadLibrary" - to load dynamic library into address space.
48 "GetProcAddress" - to recive variable address by name.
49
50
51