aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-02-25 19:08:12 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-02-25 19:08:12 +0000
commit150666fd82f96a8615e63d3797e2d00f3edcb3e0 (patch)
treec004d449da4f6e6d623edf4d1ae3158f31dcacd3 /tools
parente3d6807ab50d52f72333c1f892500b664c797b13 (diff)
downloadexternal_llvm-150666fd82f96a8615e63d3797e2d00f3edcb3e0.zip
external_llvm-150666fd82f96a8615e63d3797e2d00f3edcb3e0.tar.gz
external_llvm-150666fd82f96a8615e63d3797e2d00f3edcb3e0.tar.bz2
Great renaming part II: Sparc --> SparcV9 (also includes command-line options and Makefiles)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11827 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llc/Makefile8
-rw-r--r--tools/llc/llc.cpp12
-rw-r--r--tools/lli/Makefile8
-rw-r--r--tools/llvm-db/Makefile8
4 files changed, 18 insertions, 18 deletions
diff --git a/tools/llc/Makefile b/tools/llc/Makefile
index c018032..fb0d060 100644
--- a/tools/llc/Makefile
+++ b/tools/llc/Makefile
@@ -9,16 +9,16 @@
LEVEL = ../..
TOOLNAME = llc
USEDLIBS = cwriter \
- sparc \
+ sparcv9 \
x86 \
powerpc \
selectiondag \
- regalloc \
+ sparcv9regalloc \
sched \
- select \
+ sparcv9select \
codegen \
target.a \
- livevar \
+ sparcv9livevar \
ipa.a \
transforms.a \
scalaropts.a \
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 3176b4c..d7c9fae 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -37,12 +37,12 @@ OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename"));
static cl::opt<bool> Force("f", cl::desc("Overwrite output files"));
-enum ArchName { noarch, X86, Sparc, PowerPC, CBackend };
+enum ArchName { noarch, X86, SparcV9, PowerPC, CBackend };
static cl::opt<ArchName>
Arch("march", cl::desc("Architecture to generate assembly for:"), cl::Prefix,
cl::values(clEnumValN(X86, "x86", " IA-32 (Pentium and above)"),
- clEnumValN(Sparc, "sparc", " SPARC V9"),
+ clEnumValN(SparcV9, "sparcv9", " SPARC V9"),
clEnumValN(PowerPC, "powerpc", " PowerPC"),
clEnumValN(CBackend, "c", " C backend"),
0),
@@ -90,8 +90,8 @@ int main(int argc, char **argv) {
case X86:
TargetMachineAllocator = allocateX86TargetMachine;
break;
- case Sparc:
- TargetMachineAllocator = allocateSparcTargetMachine;
+ case SparcV9:
+ TargetMachineAllocator = allocateSparcV9TargetMachine;
break;
case PowerPC:
TargetMachineAllocator = allocatePowerPCTargetMachine;
@@ -109,14 +109,14 @@ int main(int argc, char **argv) {
TargetMachineAllocator = allocatePowerPCTargetMachine;
} else if (mod.getEndianness() == Module::BigEndian &&
mod.getPointerSize() == Module::Pointer64) {
- TargetMachineAllocator = allocateSparcTargetMachine;
+ TargetMachineAllocator = allocateSparcV9TargetMachine;
} else {
// If the module is target independent, favor a target which matches the
// current build system.
#if defined(i386) || defined(__i386__) || defined(__x86__)
TargetMachineAllocator = allocateX86TargetMachine;
#elif defined(sparc) || defined(__sparc__) || defined(__sparcv9)
- TargetMachineAllocator = allocateSparcTargetMachine;
+ TargetMachineAllocator = allocateSparcV9TargetMachine;
#elif defined(__POWERPC__) || defined(__ppc__) || defined(__APPLE__)
TargetMachineAllocator = allocatePowerPCTargetMachine;
#else
diff --git a/tools/lli/Makefile b/tools/lli/Makefile
index 72cb3d6..617518c 100644
--- a/tools/lli/Makefile
+++ b/tools/lli/Makefile
@@ -40,10 +40,10 @@ endif
# What the Sparc JIT requires
ifdef ENABLE_SPARC_JIT
CPPFLAGS += -DENABLE_SPARC_JIT
- JITLIBS += sparc
- ARCHLIBS += sched livevar instrument.a profpaths \
- bcwriter transforms.a ipo.a ipa.a datastructure.a regalloc \
- select
+ JITLIBS += sparcv9
+ ARCHLIBS += sched sparcv9livevar instrument.a profpaths \
+ bcwriter transforms.a ipo.a ipa.a datastructure.a \
+ sparcv9regalloc sparcv9select
endif
USEDLIBS = lli-interpreter $(JITLIBS) $(ARCHLIBS) scalaropts analysis.a \
diff --git a/tools/llvm-db/Makefile b/tools/llvm-db/Makefile
index e261f81..c7e4850 100644
--- a/tools/llvm-db/Makefile
+++ b/tools/llvm-db/Makefile
@@ -41,10 +41,10 @@ endif
# What the Sparc JIT requires
ifdef ENABLE_SPARC_JIT
CPPFLAGS += -DENABLE_SPARC_JIT
- JITLIBS += sparc
- ARCHLIBS += sched livevar instrument.a profpaths \
- bcwriter transforms.a ipo.a ipa.a datastructure.a regalloc \
- select
+ JITLIBS += sparcv9
+ ARCHLIBS += sched sparcv9livevar instrument.a profpaths \
+ bcwriter transforms.a ipo.a ipa.a datastructure.a \
+ sparcv9regalloc sparcv9select
endif
USEDLIBS = lli-interpreter $(JITLIBS) $(ARCHLIBS) scalaropts analysis.a \