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/Target/SparcV9/MappingInfo.cpp | |
parent | 32be9f6cd4e8803e169eee827afb548b85c24ace (diff) | |
download | external_llvm-55291ead559c902e46ddcebad50dbfefe50ec2d6.zip external_llvm-55291ead559c902e46ddcebad50dbfefe50ec2d6.tar.gz external_llvm-55291ead559c902e46ddcebad50dbfefe50ec2d6.tar.bz2 |
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/Target/SparcV9/MappingInfo.cpp')
-rw-r--r-- | lib/Target/SparcV9/MappingInfo.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Target/SparcV9/MappingInfo.cpp b/lib/Target/SparcV9/MappingInfo.cpp index e207c20..087fba2 100644 --- a/lib/Target/SparcV9/MappingInfo.cpp +++ b/lib/Target/SparcV9/MappingInfo.cpp @@ -10,7 +10,7 @@ #include "llvm/Pass.h" #include "llvm/Module.h" #include "llvm/CodeGen/MachineInstr.h" -#include "llvm/CodeGen/MachineCodeForBasicBlock.h" +#include "llvm/CodeGen/MachineBasicBlock.h" #include "llvm/CodeGen/MachineCodeForInstruction.h" #include <map> using std::vector; @@ -126,7 +126,7 @@ void getMappingInfoForFunction::create_BB_to_MInumber_Key(Function &FI){ unsigned i = 0; for (Function::iterator BI = FI.begin(), BE = FI.end(); BI != BE; ++BI){ - MachineCodeForBasicBlock &miBB = MachineCodeForBasicBlock::get(BI); + MachineBasicBlock &miBB = MachineBasicBlock::get(BI); BBkey[miBB[0]] = i; i = i+(miBB.size()); } @@ -136,9 +136,9 @@ void getMappingInfoForFunction::create_BB_to_MInumber_Key(Function &FI){ void getMappingInfoForFunction::create_MI_to_number_Key(Function &FI){ for (Function::iterator BI=FI.begin(), BE=FI.end(); BI != BE; ++BI){ - MachineCodeForBasicBlock &miBB = MachineCodeForBasicBlock::get(BI); + MachineBasicBlock &miBB = MachineBasicBlock::get(BI); unsigned j = 0; - for(MachineCodeForBasicBlock::iterator miI=miBB.begin(), miE=miBB.end(); + for(MachineBasicBlock::iterator miI=miBB.begin(), miE=miBB.end(); miI!=miE; ++miI, ++j){ MIkey[*miI]=j; } @@ -151,7 +151,7 @@ void getMappingInfoForFunction::writeBBToMImap(Function &FI){ unsigned bb=0; for (Function::iterator BI = FI.begin(), BE = FI.end(); BI != BE; ++BI, ++bb){ - MachineCodeForBasicBlock &miBB = MachineCodeForBasicBlock::get(BI); + MachineBasicBlock &miBB = MachineBasicBlock::get(BI); writeNumber(bb); //Out << " BB: "<<(void *)BI<<"\n"; //for(int i=0; i<miBB.size(); ++i) |