mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-20 05:38:50 +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 );
|
void setRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst );
|
||||||
int getRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);
|
int getRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);
|
||||||
|
|
||||||
|
void addInterf4PseudoInstr(const MachineInstr *MInst);
|
||||||
|
|
||||||
|
|
||||||
void PhyRegAlloc::insertPhiEleminateInstrns();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
PhyRegAlloc(Method *const M, const TargetMachine& TM,
|
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
|
#endif
|
||||||
|
|
||||||
|
@ -138,10 +138,9 @@ class PhyRegAlloc: public NonCopyable
|
|||||||
void setRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst );
|
void setRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst );
|
||||||
int getRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);
|
int getRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);
|
||||||
|
|
||||||
|
void addInterf4PseudoInstr(const MachineInstr *MInst);
|
||||||
|
|
||||||
|
|
||||||
void PhyRegAlloc::insertPhiEleminateInstrns();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
PhyRegAlloc(Method *const M, const TargetMachine& TM,
|
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
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user