Rename function to be more consistent with filename
authorChris Lattner <sabre@nondot.org>
Sat, 26 Jul 2003 23:49:58 +0000 (23:49 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 26 Jul 2003 23:49:58 +0000 (23:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7352 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/InstSelectSimple.cpp
lib/Target/X86/X86.h
lib/Target/X86/X86ISelSimple.cpp
lib/Target/X86/X86TargetMachine.cpp

index df911f6ba3a22dc263c5d5288ca76706ebce835c..83987df7e29b316e0468df844e398921f5a99469 100644 (file)
@@ -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);
 }
index 81c68da58e9b1e5cd522828e3165826db29dffa3..3decdfd209033fae488bf8889a338b865cef37fc 100644 (file)
 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.
index df911f6ba3a22dc263c5d5288ca76706ebce835c..83987df7e29b316e0468df844e398921f5a99469 100644 (file)
@@ -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);
 }
index 9137f6befc9ac26c14b728dd7f64044be46f96c4..a3aa458d77eb4813d6c130b1bfca43e597506e57 100644 (file)
@@ -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