[llvm-commits] CVS: llvm-java/class

Alkis Evlogimenos alkis at cs.uiuc.edu
Wed Dec 8 14:05:13 PST 2004



Changes in directory llvm-java:

class added (r1.1)
---
Log message:

Move llvm configuration file in the Java project.


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

Index: llvm-java/class
diff -c /dev/null llvm-java/class:1.1
*** /dev/null	Wed Dec  8 16:05:12 2004
--- llvm-java/class	Wed Dec  8 16:05:02 2004
***************
*** 0 ****
--- 1,65 ----
+ # Java Configuration File For llvmc
+ 
+ ##########################################################
+ # Language definitions
+ ##########################################################
+   lang.name=Java
+   lang.opt1=-simplifycfg -mem2reg -instcombine
+   lang.opt2=
+   lang.opt3=
+   lang.opt4=
+   lang.opt5=
+ #  lang.libs=@LLVM_OBJ_ROOT@/projects/Java/Debug/lib
+ 
+ ##########################################################
+ # Pre-processor definitions
+ ##########################################################
+ 
+   # Java doesn't have a preprocessor but the following
+   # allows the -E option to be supported
+   preprocessor.command=cp %in% %out%
+   preprocessor.required=false
+ 
+ ##########################################################
+ # Translator definitions
+ ##########################################################
+ 
+   # To compile java class files, we just run the
+   # class2llvm compiler with the correct classpath.
+   translator.command=class2llvm \
+       %in% %force% -o %out% %time% %stats% %args%
+ 
+   # class2llvm doesn't preprocess but we set this to true
+   # so that we don't run the cp command by default.
+   translator.preprocesses=true
+ 
+   # The translator is required to run.
+   translator.required=true
+ 
+   # class2llvm outputs llvm bytecode
+   translator.output=bytecode
+ 
+ ##########################################################
+ # Optimizer definitions
+ ##########################################################
+   
+   # For optimization, we use the LLVM "opt" program
+   optimizer.command=opt \
+     %in% %force% -o %out% %opt% %time% %stats% %args%
+ 
+   optimizer.required = true
+ 
+   # opt doesn't translate
+   optimizer.translates=false
+ 
+   # opt doesn't preprocess
+   optimizer.preprocesses=false
+ 
+   # opt produces bytecode
+   optimizer.output=bytecode
+ 
+ ##########################################################
+ # Assembler definitions
+ ##########################################################
+   assembler.command=llc \
+       %in% %force% -o %out% %target% %time% %stats% %args%






More information about the llvm-commits mailing list