diff options
| author | Misha Brukman <brukman+llvm@gmail.com> | 2002-10-28 00:28:31 +0000 |
|---|---|---|
| committer | Misha Brukman <brukman+llvm@gmail.com> | 2002-10-28 00:28:31 +0000 |
| commit | 7ae7f84cf3570e82facb0cf9032084e7c4549191 (patch) | |
| tree | adbe7ea506a7470b8feaea2f9b8539281dff5d05 /llvm/lib/CodeGen/InstrSched | |
| parent | 52c2d10a19ed5fc58844ae223561ba6653f995f2 (diff) | |
| download | bcm5719-llvm-7ae7f84cf3570e82facb0cf9032084e7c4549191.tar.gz bcm5719-llvm-7ae7f84cf3570e82facb0cf9032084e7c4549191.zip | |
Changed `MachineCodeForMethod' to `MachineFunction'.
llvm-svn: 4301
Diffstat (limited to 'llvm/lib/CodeGen/InstrSched')
| -rw-r--r-- | llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp | 4 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/InstrSched/SchedGraph.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp index 9818b708381..ea20a3e92a4 100644 --- a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp +++ b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp @@ -9,7 +9,7 @@ #include "llvm/CodeGen/MachineInstr.h" #include "llvm/CodeGen/MachineCodeForInstruction.h" #include "llvm/CodeGen/MachineCodeForBasicBlock.h" -#include "llvm/CodeGen/MachineCodeForMethod.h" +#include "llvm/CodeGen/MachineFunction.h" #include "llvm/Analysis/LiveVar/FunctionLiveVarInfo.h" // FIXME: Remove when modularized better #include "llvm/Target/TargetMachine.h" #include "llvm/BasicBlock.h" @@ -1542,7 +1542,7 @@ bool InstructionSchedulingWithSSA::runOnFunction(Function &F) if (SchedDebugLevel >= Sched_PrintMachineCode) { cerr << "\n*** Machine instructions after INSTRUCTION SCHEDULING\n"; - MachineCodeForMethod::get(&F).dump(); + MachineFunction::get(&F).dump(); } return false; diff --git a/llvm/lib/CodeGen/InstrSched/SchedGraph.h b/llvm/lib/CodeGen/InstrSched/SchedGraph.h index eac9c1c6d60..514e5654774 100644 --- a/llvm/lib/CodeGen/InstrSched/SchedGraph.h +++ b/llvm/lib/CodeGen/InstrSched/SchedGraph.h @@ -31,7 +31,7 @@ class RegToRefVecMap; class ValueToDefVecMap; class RefVec; class MachineInstr; -class MachineCodeForBasicBlock; +class MachineBasicBlock; /******************** Exported Data Types and Constants ********************/ @@ -312,7 +312,7 @@ private: const TargetMachine& target); void addCallCCEdges (const std::vector<SchedGraphNode*>& memNod, - MachineCodeForBasicBlock& bbMvec, + MachineBasicBlock& bbMvec, const TargetMachine& target); void addMachineRegEdges (RegToRefVecMap& regToRefVecMap, |

