llvm.org GIT mirror llvm / 3070cd7
Add TODO list for MSIL backend git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35244 91177308-0d34-0410-b5e6-96231b3b80d8 Anton Korobeynikov 13 years ago
1 changed file(s) with 51 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 //===---------------------------------------------------------------------===//
1
2 Vector instructions support.
3
4 ShuffleVector
5 ExtractElement
6 InsertElement
7
8 //===---------------------------------------------------------------------===//
9
10 Add "OpaqueType" type.
11
12 //===---------------------------------------------------------------------===//
13
14 Variable argument functions support, "VAArg" instruction and some intrinsics.
15 CLI instruction "arglist" can get argument list descriptor for current function
16 that can be passed to other functions.
17
18 va_arg = Function "System.ArgIterator::GetNextArg()"
19 va_list = Class "System.ArgIterator"
20 va_start = Instruction "arglist"
21 va_end = Do nothing
22
23 //===---------------------------------------------------------------------===//
24
25 If possible get used types inside of "MSILWriter" class, do not pass trougth
26 "MSILModule" class.
27
28 getAnalysis().getTypes()
29
30 //===---------------------------------------------------------------------===//
31
32 "switch" instruction emulation with CLI "switch" instruction.
33
34 //===---------------------------------------------------------------------===//
35
36 Write linker for external function, because function export need to know
37 dynamic library where function located.
38
39 .method static hidebysig pinvokeimpl("msvcrt.dll" cdecl)
40 void free(void*) preservesig {}
41
42 //===---------------------------------------------------------------------===//
43
44 DLLImport'ed variables support with the help of win32 envoronment.
45
46 "LoadLibrary" - to load dynamic library into address space.
47 "GetProcAddress" - to recive variable address by name.
48
49
50