forked from OSchip/llvm-project
--changed Sugesting colors for method calls/return values etc.
llvm-svn: 829
This commit is contained in:
parent
33535773cb
commit
48972e033b
|
@ -120,27 +120,26 @@ public:
|
||||||
virtual void suggestRegs4MethodArgs(const Method *const Meth,
|
virtual void suggestRegs4MethodArgs(const Method *const Meth,
|
||||||
LiveRangeInfo & LRI) const = 0;
|
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;
|
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;
|
LiveRangeInfo& LRI) const = 0;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
virtual void colorMethodArgs(const Method *const Meth, LiveRangeInfo& LRI,
|
virtual void colorMethodArgs(const Method *const Meth, LiveRangeInfo& LRI,
|
||||||
AddedInstrns *const FirstAI) const = 0;
|
AddedInstrns *const FirstAI) const = 0;
|
||||||
|
|
||||||
virtual void colorCallArgs(const CallInst *const CalI, LiveRangeInfo& LRI,
|
virtual void colorCallArgs(const MachineInstr *const CalI,
|
||||||
AddedInstrns *const CallAI) const = 0;
|
LiveRangeInfo& LRI,
|
||||||
|
AddedInstrns *const CallAI) const = 0;
|
||||||
|
|
||||||
virtual void colorRetValue(const ReturnInst *const RetI, LiveRangeInfo& LRI,
|
virtual void colorRetValue(const MachineInstr *const RetI,LiveRangeInfo& LRI,
|
||||||
AddedInstrns *const RetAI) const = 0;
|
AddedInstrns *const RetAI) const = 0;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
virtual bool handleSpecialMInstr(const MachineInstr * MInst,
|
//virtual bool handleSpecialMInstr(const MachineInstr * MInst,
|
||||||
LiveRangeInfo& LRI, vector<RegClass *> RCL) const = 0;
|
// LiveRangeInfo& LRI, vector<RegClass *> RCL) const = 0;
|
||||||
|
|
||||||
// returns the reg used for pushing the address when a method is called.
|
// returns the reg used for pushing the address when a method is called.
|
||||||
// This can be used for other purposes between calls
|
// This can be used for other purposes between calls
|
||||||
|
|
Loading…
Reference in New Issue