summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-07-26 23:49:58 +0000
committerChris Lattner <sabre@nondot.org>2003-07-26 23:49:58 +0000
commita2e2f5cc45a9cdc229187b68f6f9ff1de9f41f42 (patch)
tree9045b93cd77a2d702a44da1ecde5fc67466ca88e /llvm/lib
parentdec94b36d3eaae9dc7a9b0d15f53af7f05f8e747 (diff)
downloadbcm5719-llvm-a2e2f5cc45a9cdc229187b68f6f9ff1de9f41f42.tar.gz
bcm5719-llvm-a2e2f5cc45a9cdc229187b68f6f9ff1de9f41f42.zip
Rename function to be more consistent with filename
llvm-svn: 7352
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/InstSelectSimple.cpp4
-rw-r--r--llvm/lib/Target/X86/X86.h4
-rw-r--r--llvm/lib/Target/X86/X86TargetMachine.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Target/X86/InstSelectSimple.cpp b/llvm/lib/Target/X86/InstSelectSimple.cpp
index df911f6ba3a..83987df7e29 100644
--- a/llvm/lib/Target/X86/InstSelectSimple.cpp
+++ b/llvm/lib/Target/X86/InstSelectSimple.cpp
@@ -2091,10 +2091,10 @@ void ISel::visitFreeInst(FreeInst &I) {
}
-/// createSimpleX86InstructionSelector - This pass converts an LLVM function
+/// createX86SimpleInstructionSelector - This pass converts an LLVM function
/// into a machine code representation is a very simple peep-hole fashion. The
/// generated code sucks but the implementation is nice and simple.
///
-Pass *createSimpleX86InstructionSelector(TargetMachine &TM) {
+Pass *createX86SimpleInstructionSelector(TargetMachine &TM) {
return new ISel(TM);
}
diff --git a/llvm/lib/Target/X86/X86.h b/llvm/lib/Target/X86/X86.h
index 81c68da58e9..3decdfd2090 100644
--- a/llvm/lib/Target/X86/X86.h
+++ b/llvm/lib/Target/X86/X86.h
@@ -12,11 +12,11 @@
class TargetMachine;
class Pass;
-/// createSimpleX86InstructionSelector - This pass converts an LLVM function
+/// createX86SimpleInstructionSelector - This pass converts an LLVM function
/// into a machine code representation is a very simple peep-hole fashion. The
/// generated code sucks but the implementation is nice and simple.
///
-Pass *createSimpleX86InstructionSelector(TargetMachine &TM);
+Pass *createX86SimpleInstructionSelector(TargetMachine &TM);
/// createX86PeepholeOptimizer - Create a pass to perform X86 specific peephole
/// optimizations.
diff --git a/llvm/lib/Target/X86/X86TargetMachine.cpp b/llvm/lib/Target/X86/X86TargetMachine.cpp
index 9137f6befc9..a3aa458d77e 100644
--- a/llvm/lib/Target/X86/X86TargetMachine.cpp
+++ b/llvm/lib/Target/X86/X86TargetMachine.cpp
@@ -45,7 +45,7 @@ X86TargetMachine::X86TargetMachine(unsigned Config)
bool X86TargetMachine::addPassesToEmitAssembly(PassManager &PM,
std::ostream &Out) {
PM.add(createLowerSwitchPass());
- PM.add(createSimpleX86InstructionSelector(*this));
+ PM.add(createX86SimpleInstructionSelector(*this));
PM.add(createLocalRegisterAllocator());
PM.add(createX86FloatingPointStackifierPass());
PM.add(createPrologEpilogCodeInserter());
@@ -62,7 +62,7 @@ bool X86TargetMachine::addPassesToJITCompile(PassManager &PM) {
// FIXME: Implement the switch instruction in the instruction selector!
PM.add(createLowerSwitchPass());
- PM.add(createSimpleX86InstructionSelector(*this));
+ PM.add(createX86SimpleInstructionSelector(*this));
// TODO: optional optimizations go here
OpenPOWER on IntegriCloud