aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Target/TargetRegInfo.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/include/llvm/Target/TargetRegInfo.h b/include/llvm/Target/TargetRegInfo.h
index b66c1b780b..a8defa4065 100644
--- a/include/llvm/Target/TargetRegInfo.h
+++ b/include/llvm/Target/TargetRegInfo.h
@@ -120,27 +120,26 @@ public:
virtual void suggestRegs4MethodArgs(const Method *const Meth,
LiveRangeInfo & LRI) const = 0;
- virtual void suggestRegs4CallArgs(const CallInst *const CallI,
+ virtual void suggestRegs4CallArgs(const MachineInstr *const CallI,
LiveRangeInfo& LRI, vector<RegClass *> RCL) const = 0;
- virtual void suggestReg4RetValue(const ReturnInst *const RetI,
+ virtual void suggestReg4RetValue(const MachineInstr *const RetI,
LiveRangeInfo& LRI) const = 0;
-
-
virtual void colorMethodArgs(const Method *const Meth, LiveRangeInfo& LRI,
AddedInstrns *const FirstAI) const = 0;
- virtual void colorCallArgs(const CallInst *const CalI, LiveRangeInfo& LRI,
- AddedInstrns *const CallAI) const = 0;
+ virtual void colorCallArgs(const MachineInstr *const CalI,
+ LiveRangeInfo& LRI,
+ AddedInstrns *const CallAI) const = 0;
- virtual void colorRetValue(const ReturnInst *const RetI, LiveRangeInfo& LRI,
- AddedInstrns *const RetAI) const = 0;
+ virtual void colorRetValue(const MachineInstr *const RetI,LiveRangeInfo& LRI,
+ AddedInstrns *const RetAI) const = 0;
- virtual bool handleSpecialMInstr(const MachineInstr * MInst,
- LiveRangeInfo& LRI, vector<RegClass *> RCL) const = 0;
+ //virtual bool handleSpecialMInstr(const MachineInstr * MInst,
+ // LiveRangeInfo& LRI, vector<RegClass *> RCL) const = 0;
// returns the reg used for pushing the address when a method is called.
// This can be used for other purposes between calls