[llvm-commits] [vector_llvm] CVS: llvm/tools/llvmc/c cpp ll
Robert Bocchino
bocchino at cs.uiuc.edu
Wed Nov 16 10:33:52 PST 2005
Changes in directory llvm/tools/llvmc:
c added (r1.1.4.2)
cpp added (r1.3.4.2)
ll added (r1.7.4.2)
---
Log message:
Merged mainline into Vector LLVM branch
---
Diffs of the changes: (+134 -0)
c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
cpp | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ll | 12 ++++++++++++
3 files changed, 134 insertions(+)
Index: llvm/tools/llvmc/c
diff -c /dev/null llvm/tools/llvmc/c:1.1.4.2
*** /dev/null Wed Nov 16 12:33:50 2005
--- llvm/tools/llvmc/c Wed Nov 16 12:33:40 2005
***************
*** 0 ****
--- 1,61 ----
+ # C configuration file for llvmc
+
+ ##########################################################
+ # Language definitions
+ ##########################################################
+ lang.name=C
+ lang.opt1=-O1
+ lang.opt2=-O2
+ lang.opt3=-O3
+ lang.opt4=-O3
+ lang.opt5=-O3
+ lang.libs=%llvmgccdir%/lib %llvmgccdir%/lib \
+ %llvmgccdir%/lib/gcc/%llvmgccarch%
+
+ ##########################################################
+ # Pre-processor definitions
+ ##########################################################
+
+ # We use gcc as our pre-processor
+ preprocessor.command=gcc -E %in% -o %out% %incls% %defs%
+ preprocessor.required=true
+
+ ##########################################################
+ # Translator definitions
+ ##########################################################
+
+ # To compile C source, just use llvm-gcc's cc1
+ translator.command=%llvmcc1% -quiet %in% -o %out% \
+ %opt% %incls% %defs% %WOpts% %fOpts% %MOpts% %args% \
+ -D_GNU_SOURCE
+
+ # llvm-gcc does not pre-process
+ translator.preprocesses=false
+
+ # The translator is required to run.
+ translator.required=true
+
+ # Output of the translator is assembly
+ translator.output=assembly
+
+ ##########################################################
+ # Optimizer definitions
+ ##########################################################
+
+ # Use gccas to clean up the generated code
+ optimizer.command=%bindir%/gccas %in% -o %out% %args%
+ optimizer.required = true
+
+ # gccas doesn't translate
+ optimizer.translates = false
+
+ # gccas doesn't preprocess
+ optimizer.preprocesses=false
+
+ # gccas produces bytecode
+ optimizer.output = bytecode
+
+ ##########################################################
+ # Assembler definitions
+ ##########################################################
+ assembler.command=%bindir%/llc %in% -o %out% %target% %time% %stats%
Index: llvm/tools/llvmc/cpp
diff -c /dev/null llvm/tools/llvmc/cpp:1.3.4.2
*** /dev/null Wed Nov 16 12:33:51 2005
--- llvm/tools/llvmc/cpp Wed Nov 16 12:33:40 2005
***************
*** 0 ****
--- 1,61 ----
+ # C++ configuration file for llvmc
+
+ ##########################################################
+ # Language definitions
+ ##########################################################
+ lang.name=C++
+ lang.opt1=-O1
+ lang.opt2=-O2
+ lang.opt3=-O3
+ lang.opt4=-O3
+ lang.opt5=-O3
+ lang.libs=%llvmgccdir%/lib %llvmgccdir%/lib \
+ %llvmgccdir%/lib/gcc/%llvmgccarch%
+
+ ##########################################################
+ # Pre-processor definitions
+ ##########################################################
+
+ # We use g++ as our pre-processor
+ preprocessor.command=g++ -E %in% -o %out% %incls% %defs%
+ preprocessor.required=true
+
+ ##########################################################
+ # Translator definitions
+ ##########################################################
+
+ # To compile C++ source, just use llvm-g++'s cc1
+ translator.command=%llvmcc1plus% -quiet %in% -o %out% \
+ %opt% %incls% %defs% %WOpts% %fOpts% %MOpts% %args% \
+ -D_GNU_SOURCE
+
+ # llvm-g++ does not pre-process
+ translator.preprocesses=false
+
+ # The translator is required to run.
+ translator.required=true
+
+ # Output of translator is assembly
+ translator.output=assembly
+
+ ##########################################################
+ # Optimizer definitions
+ ##########################################################
+
+ # Use gccas to clean up the generated code
+ optimizer.command=%bindir%/gccas %in% -o %out% %args%
+ optimizer.required = true
+
+ # gccas doesn't translate
+ optimizer.translates = false
+
+ # gccas doesn't preprocess
+ optimizer.preprocesses=false
+
+ # gccas produces bytecode
+ optimizer.output = bytecode
+
+ ##########################################################
+ # Assembler definitions
+ ##########################################################
+ assembler.command=%bindir%/llc %in% -o %out% %target% %time% %stats%
Index: llvm/tools/llvmc/ll
diff -c /dev/null llvm/tools/llvmc/ll:1.7.4.2
*** /dev/null Wed Nov 16 12:33:51 2005
--- llvm/tools/llvmc/ll Wed Nov 16 12:33:40 2005
***************
*** 0 ****
--- 1,12 ----
+ # LLVM Assembly Config File For llvmc
+ version="1.0"
+ lang.name=LLVM Assembly
+ preprocessor.command=
+ preprocessor.required=false
+ translator.command=%bindir%/llvm-as %in% -o %out%
+ translator.optimizes=no
+ translator.preprocesses=true
+ translator.required=TRUE
+ optimizer.command=%bindir%/opt %in% -o %out% %opt% %args%
+ optimizer.translates=no
+ assembler.command=%bindir%/llc %in% -o %out%
More information about the llvm-commits
mailing list