getUsableUniRegAtMI interface simplified slightly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2822 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vikram S. Adve 2002-07-08 22:39:36 +00:00
parent 7a4be9580e
commit c2580ddb08
2 changed files with 14 additions and 12 deletions

View File

@ -143,13 +143,14 @@ private:
friend class UltraSparcRegInfo;
int getUsableUniRegAtMI(RegClass *RC, int RegType,
const MachineInstr *MInst,
const ValueSet *LVSetBef, MachineInstr *&MIBef,
MachineInstr *&MIAft );
int getUsableUniRegAtMI(int RegType,
const ValueSet *LVSetBef,
MachineInstr *MInst,
std::vector<MachineInstr*>& MIBef,
std::vector<MachineInstr*>& MIAft);
int getUnusedUniRegAtMI(RegClass *RC, const MachineInstr *MInst,
const ValueSet *LVSetBef);
const ValueSet *LVSetBef);
void setRelRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst );
int getUniRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);

View File

@ -143,13 +143,14 @@ private:
friend class UltraSparcRegInfo;
int getUsableUniRegAtMI(RegClass *RC, int RegType,
const MachineInstr *MInst,
const ValueSet *LVSetBef, MachineInstr *&MIBef,
MachineInstr *&MIAft );
int getUsableUniRegAtMI(int RegType,
const ValueSet *LVSetBef,
MachineInstr *MInst,
std::vector<MachineInstr*>& MIBef,
std::vector<MachineInstr*>& MIAft);
int getUnusedUniRegAtMI(RegClass *RC, const MachineInstr *MInst,
const ValueSet *LVSetBef);
const ValueSet *LVSetBef);
void setRelRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst );
int getUniRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);