diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-28 01:41:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-28 01:41:47 +0000 |
commit | 55291ead559c902e46ddcebad50dbfefe50ec2d6 (patch) | |
tree | cb8aca6db856c3ca6a02a625c517a35ce07adc28 /lib/CodeGen/InstrSelection/InstrSelection.cpp | |
parent | 32be9f6cd4e8803e169eee827afb548b85c24ace (diff) |
Rename MachineCodeForBasicBlock to MachineBasicBlock
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4318 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/InstrSelection/InstrSelection.cpp')
-rw-r--r-- | lib/CodeGen/InstrSelection/InstrSelection.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/CodeGen/InstrSelection/InstrSelection.cpp b/lib/CodeGen/InstrSelection/InstrSelection.cpp index 83ce0a7dfe..83f7927def 100644 --- a/lib/CodeGen/InstrSelection/InstrSelection.cpp +++ b/lib/CodeGen/InstrSelection/InstrSelection.cpp @@ -11,7 +11,7 @@ #include "llvm/CodeGen/InstrSelectionSupport.h" #include "llvm/CodeGen/InstrForest.h" #include "llvm/CodeGen/MachineCodeForInstruction.h" -#include "llvm/CodeGen/MachineCodeForBasicBlock.h" +#include "llvm/CodeGen/MachineBasicBlock.h" #include "llvm/CodeGen/MachineFunction.h" #include "llvm/Target/MachineRegInfo.h" #include "llvm/Target/TargetMachine.h" @@ -145,7 +145,7 @@ bool InstructionSelection::runOnFunction(Function &F) for (Function::iterator BI = F.begin(), BE = F.end(); BI != BE; ++BI) for (BasicBlock::iterator II = BI->begin(); II != BI->end(); ++II) { MachineCodeForInstruction &mvec = MachineCodeForInstruction::get(II); - MachineCodeForBasicBlock &MCBB = MachineCodeForBasicBlock::get(BI); + MachineBasicBlock &MCBB = MachineBasicBlock::get(BI); MCBB.insert(MCBB.end(), mvec.begin(), mvec.end()); } @@ -205,7 +205,7 @@ InstructionSelection::InsertCodeForPhis(Function &F) Target.getRegInfo().cpValue2Value(PhiCpRes, PN, mvec); // get an iterator to machine instructions in the BB - MachineCodeForBasicBlock& bbMvec = MachineCodeForBasicBlock::get(BB); + MachineBasicBlock& bbMvec = MachineBasicBlock::get(BB); bbMvec.insert(bbMvec.begin(), mvec.begin(), mvec.end()); } // for each Phi Instr in BB @@ -227,11 +227,11 @@ InstructionSelection::InsertPhiElimInstructions(BasicBlock *BB, assert (FirstMIOfTerm && "No Machine Instrs for terminator"); - MachineCodeForBasicBlock &bbMvec = MachineCodeForBasicBlock::get(BB); + MachineBasicBlock &bbMvec = MachineBasicBlock::get(BB); // find the position of first machine instruction generated by the // terminator of this BB - MachineCodeForBasicBlock::iterator MCIt = + MachineBasicBlock::iterator MCIt = std::find(bbMvec.begin(), bbMvec.end(), FirstMIOfTerm); assert( MCIt != bbMvec.end() && "Start inst of terminator not found"); |