diff options
author | Chris Lattner <sabre@nondot.org> | 2003-01-14 22:00:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-01-14 22:00:31 +0000 |
commit | 3501feab811c86c9659248a4875fc31a3165f84d (patch) | |
tree | 2ca1cf55d75265580653ceb51afea9d56e2c235d /lib/CodeGen/InstrSched/SchedGraph.cpp | |
parent | d640a6b4cfc563da92d47900169d848b08f27139 (diff) |
Rename MachineInstrInfo -> TargetInstrInfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5272 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/InstrSched/SchedGraph.cpp')
-rw-r--r-- | lib/CodeGen/InstrSched/SchedGraph.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/CodeGen/InstrSched/SchedGraph.cpp b/lib/CodeGen/InstrSched/SchedGraph.cpp index 70940682f3..0fcb22dea9 100644 --- a/lib/CodeGen/InstrSched/SchedGraph.cpp +++ b/lib/CodeGen/InstrSched/SchedGraph.cpp @@ -12,7 +12,7 @@ #include "llvm/CodeGen/MachineFunction.h" #include "llvm/Target/TargetRegInfo.h" #include "llvm/Target/TargetMachine.h" -#include "llvm/Target/MachineInstrInfo.h" +#include "llvm/Target/TargetInstrInfo.h" #include "llvm/Function.h" #include "llvm/iOther.h" #include "Support/StringExtras.h" @@ -325,7 +325,7 @@ void SchedGraph::addCDEdges(const TerminatorInst* term, const TargetMachine& target) { - const MachineInstrInfo& mii = target.getInstrInfo(); + const TargetInstrInfo& mii = target.getInstrInfo(); MachineCodeForInstruction &termMvec = MachineCodeForInstruction::get(term); // Find the first branch instr in the sequence of machine instrs for term @@ -434,7 +434,7 @@ void SchedGraph::addMemEdges(const vector<SchedGraphNode*>& memNodeVec, const TargetMachine& target) { - const MachineInstrInfo& mii = target.getInstrInfo(); + const TargetInstrInfo& mii = target.getInstrInfo(); // Instructions in memNodeVec are in execution order within the basic block, // so simply look at all pairs <memNodeVec[i], memNodeVec[j: j > i]>. @@ -471,7 +471,7 @@ SchedGraph::addCallCCEdges(const vector<SchedGraphNode*>& memNodeVec, MachineBasicBlock& bbMvec, const TargetMachine& target) { - const MachineInstrInfo& mii = target.getInstrInfo(); + const TargetInstrInfo& mii = target.getInstrInfo(); vector<SchedGraphNode*> callNodeVec; // Find the call instruction nodes and put them in a vector. @@ -675,7 +675,7 @@ SchedGraph::findDefUseInfoAtInstr(const TargetMachine& target, RegToRefVecMap& regToRefVecMap, ValueToDefVecMap& valueToDefVecMap) { - const MachineInstrInfo& mii = target.getInstrInfo(); + const TargetInstrInfo& mii = target.getInstrInfo(); MachineOpCode opCode = node->getOpCode(); @@ -732,7 +732,7 @@ SchedGraph::buildNodesForBB(const TargetMachine& target, RegToRefVecMap& regToRefVecMap, ValueToDefVecMap& valueToDefVecMap) { - const MachineInstrInfo& mii = target.getInstrInfo(); + const TargetInstrInfo& mii = target.getInstrInfo(); // Build graph nodes for each VM instruction and gather def/use info. // Do both those together in a single pass over all machine instructions. |