Rename function to be more consistent with filename

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7352 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-07-26 23:49:58 +00:00
parent 1194e95019
commit d281de2181
4 changed files with 8 additions and 8 deletions

View 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 /// into a machine code representation is a very simple peep-hole fashion. The
/// generated code sucks but the implementation is nice and simple. /// generated code sucks but the implementation is nice and simple.
/// ///
Pass *createSimpleX86InstructionSelector(TargetMachine &TM) { Pass *createX86SimpleInstructionSelector(TargetMachine &TM) {
return new ISel(TM); return new ISel(TM);
} }

View File

@ -12,11 +12,11 @@
class TargetMachine; class TargetMachine;
class Pass; 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 /// into a machine code representation is a very simple peep-hole fashion. The
/// generated code sucks but the implementation is nice and simple. /// 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 /// createX86PeepholeOptimizer - Create a pass to perform X86 specific peephole
/// optimizations. /// optimizations.

View 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 /// into a machine code representation is a very simple peep-hole fashion. The
/// generated code sucks but the implementation is nice and simple. /// generated code sucks but the implementation is nice and simple.
/// ///
Pass *createSimpleX86InstructionSelector(TargetMachine &TM) { Pass *createX86SimpleInstructionSelector(TargetMachine &TM) {
return new ISel(TM); return new ISel(TM);
} }

View File

@ -45,7 +45,7 @@ X86TargetMachine::X86TargetMachine(unsigned Config)
bool X86TargetMachine::addPassesToEmitAssembly(PassManager &PM, bool X86TargetMachine::addPassesToEmitAssembly(PassManager &PM,
std::ostream &Out) { std::ostream &Out) {
PM.add(createLowerSwitchPass()); PM.add(createLowerSwitchPass());
PM.add(createSimpleX86InstructionSelector(*this)); PM.add(createX86SimpleInstructionSelector(*this));
PM.add(createLocalRegisterAllocator()); PM.add(createLocalRegisterAllocator());
PM.add(createX86FloatingPointStackifierPass()); PM.add(createX86FloatingPointStackifierPass());
PM.add(createPrologEpilogCodeInserter()); PM.add(createPrologEpilogCodeInserter());
@ -62,7 +62,7 @@ bool X86TargetMachine::addPassesToJITCompile(PassManager &PM) {
// FIXME: Implement the switch instruction in the instruction selector! // FIXME: Implement the switch instruction in the instruction selector!
PM.add(createLowerSwitchPass()); PM.add(createLowerSwitchPass());
PM.add(createSimpleX86InstructionSelector(*this)); PM.add(createX86SimpleInstructionSelector(*this));
// TODO: optional optimizations go here // TODO: optional optimizations go here