//vector<const Instruction *> CallInstrList; // a list of all call instrs
//vector<const Instruction *> RetInstrList; // a list of all return instrs
+
AddedInstrMapType AddedInstrMap; // to store instrns added in this phase
RegStackOffsets StackOffsets;
+ vector<const MachineInstr *> PhiInstList; // a list of all phi instrs
+
//------- private methods ---------------------------------------------------
void addInterference(const Value *const Def, const LiveVarSet *const LVSet,
void setRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst );
int getRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);
+ void PhyRegAlloc::insertPhiEleminateInstrns();
public:
+/*
+
+
+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
+
+*/
+
+
+
//vector<const Instruction *> CallInstrList; // a list of all call instrs
//vector<const Instruction *> RetInstrList; // a list of all return instrs
+
AddedInstrMapType AddedInstrMap; // to store instrns added in this phase
RegStackOffsets StackOffsets;
+ vector<const MachineInstr *> PhiInstList; // a list of all phi instrs
+
//------- private methods ---------------------------------------------------
void addInterference(const Value *const Def, const LiveVarSet *const LVSet,
void setRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst );
int getRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);
+ void PhyRegAlloc::insertPhiEleminateInstrns();
public:
+/*
+
+
+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
+
+*/
+
+
+