[llvm-commits] CVS: llvm/lib/Target/MSIL/README.TXT

Anton Korobeynikov asl at math.spbu.ru
Wed Mar 21 14:49:16 PDT 2007



Changes in directory llvm/lib/Target/MSIL:

README.TXT added (r1.1)
---
Log message:

Add TODO list for MSIL backend


---
Diffs of the changes:  (+51 -0)

 README.TXT |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 51 insertions(+)


Index: llvm/lib/Target/MSIL/README.TXT
diff -c /dev/null llvm/lib/Target/MSIL/README.TXT:1.1
*** /dev/null	Wed Mar 21 16:49:09 2007
--- llvm/lib/Target/MSIL/README.TXT	Wed Mar 21 16:48:59 2007
***************
*** 0 ****
--- 1,51 ----
+ //===---------------------------------------------------------------------===// 
+ 
+ Vector instructions support.
+ 
+ ShuffleVector
+ ExtractElement
+ InsertElement
+ 
+ //===---------------------------------------------------------------------===// 
+ 
+ Add "OpaqueType" type.
+ 
+ //===---------------------------------------------------------------------===// 
+ 
+ Variable argument functions support, "VAArg" instruction and some intrinsics.
+ CLI instruction "arglist" can get argument list descriptor for current function
+ that can be passed to other functions.
+ 
+  va_arg = Function "System.ArgIterator::GetNextArg()"
+  va_list = Class "System.ArgIterator"
+  va_start = Instruction "arglist"
+  va_end = Do nothing
+ 
+ //===---------------------------------------------------------------------===// 
+ 
+ If possible get used types inside of "MSILWriter" class, do not pass trougth
+ "MSILModule" class.
+ 
+ 	getAnalysis<FindUsedTypes>().getTypes()
+ 
+ //===---------------------------------------------------------------------===// 
+ 
+ "switch" instruction emulation with CLI "switch" instruction.
+ 
+ //===---------------------------------------------------------------------===// 
+ 
+ Write linker for external function, because function export need to know 
+ dynamic library where function located.
+ 
+ .method static hidebysig pinvokeimpl("msvcrt.dll" cdecl)
+ 	void free(void*) preservesig {}
+ 
+ //===---------------------------------------------------------------------===// 
+ 
+ DLLImport'ed variables support with the help of win32 envoronment.
+ 
+ 	"LoadLibrary" - to load dynamic library into address space.
+ 	"GetProcAddress" - to recive variable address by name.
+ 
+ 
+ 






More information about the llvm-commits mailing list