mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Added support method for setting interference for pseudo instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1303 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b9f550ddfb
commit
cbddf49665
@ -138,10 +138,9 @@ class PhyRegAlloc: public NonCopyable
|
||||
void setRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst );
|
||||
int getRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);
|
||||
|
||||
void addInterf4PseudoInstr(const MachineInstr *MInst);
|
||||
|
||||
|
||||
void PhyRegAlloc::insertPhiEleminateInstrns();
|
||||
|
||||
public:
|
||||
|
||||
PhyRegAlloc(Method *const M, const TargetMachine& TM,
|
||||
@ -152,28 +151,5 @@ class PhyRegAlloc: public NonCopyable
|
||||
};
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
||||
|
||||
What to do:
|
||||
|
||||
* Insert IntCCReg checking code to insertCallerSaving
|
||||
* add methods like cpCCReg2Mem & cpMem2CCReg (these will accept an array
|
||||
and push back or push_front the instr according to PUSH_BACK, PUSH_FRONT
|
||||
flags
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -138,10 +138,9 @@ class PhyRegAlloc: public NonCopyable
|
||||
void setRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst );
|
||||
int getRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);
|
||||
|
||||
void addInterf4PseudoInstr(const MachineInstr *MInst);
|
||||
|
||||
|
||||
void PhyRegAlloc::insertPhiEleminateInstrns();
|
||||
|
||||
public:
|
||||
|
||||
PhyRegAlloc(Method *const M, const TargetMachine& TM,
|
||||
@ -152,28 +151,5 @@ class PhyRegAlloc: public NonCopyable
|
||||
};
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
||||
|
||||
What to do:
|
||||
|
||||
* Insert IntCCReg checking code to insertCallerSaving
|
||||
* add methods like cpCCReg2Mem & cpMem2CCReg (these will accept an array
|
||||
and push back or push_front the instr according to PUSH_BACK, PUSH_FRONT
|
||||
flags
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user