mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-17 20:29:31 +00:00
Changed some names of methods, added const etc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1322 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fe700e7e42
commit
825dd55429
@ -109,7 +109,7 @@ class LiveRange : public ValueSet
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
inline bool hasSpillOffset() {
|
inline bool hasSpillOffset() const {
|
||||||
return HasSpillOffset;
|
return HasSpillOffset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -128,15 +128,16 @@ class PhyRegAlloc: public NonCopyable
|
|||||||
friend class UltraSparcRegInfo;
|
friend class UltraSparcRegInfo;
|
||||||
|
|
||||||
|
|
||||||
int getUsableRegAtMI(RegClass *RC, const int RegType, const MachineInstr *MInst,
|
int getUsableUniRegAtMI(RegClass *RC, const int RegType,
|
||||||
const LiveVarSet *LVSetBef, MachineInstr *MIBef,
|
const MachineInstr *MInst,
|
||||||
MachineInstr *MIAft );
|
const LiveVarSet *LVSetBef, MachineInstr *MIBef,
|
||||||
|
MachineInstr *MIAft );
|
||||||
|
|
||||||
int getUnusedRegAtMI(RegClass *RC, const MachineInstr *MInst,
|
int getUnusedUniRegAtMI(RegClass *RC, const MachineInstr *MInst,
|
||||||
const LiveVarSet *LVSetBef);
|
const LiveVarSet *LVSetBef);
|
||||||
|
|
||||||
void setRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst );
|
void setRelRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst );
|
||||||
int getRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);
|
int getUniRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);
|
||||||
|
|
||||||
void addInterf4PseudoInstr(const MachineInstr *MInst);
|
void addInterf4PseudoInstr(const MachineInstr *MInst);
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ class LiveRange : public ValueSet
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
inline bool hasSpillOffset() {
|
inline bool hasSpillOffset() const {
|
||||||
return HasSpillOffset;
|
return HasSpillOffset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -128,15 +128,16 @@ class PhyRegAlloc: public NonCopyable
|
|||||||
friend class UltraSparcRegInfo;
|
friend class UltraSparcRegInfo;
|
||||||
|
|
||||||
|
|
||||||
int getUsableRegAtMI(RegClass *RC, const int RegType, const MachineInstr *MInst,
|
int getUsableUniRegAtMI(RegClass *RC, const int RegType,
|
||||||
const LiveVarSet *LVSetBef, MachineInstr *MIBef,
|
const MachineInstr *MInst,
|
||||||
MachineInstr *MIAft );
|
const LiveVarSet *LVSetBef, MachineInstr *MIBef,
|
||||||
|
MachineInstr *MIAft );
|
||||||
|
|
||||||
int getUnusedRegAtMI(RegClass *RC, const MachineInstr *MInst,
|
int getUnusedUniRegAtMI(RegClass *RC, const MachineInstr *MInst,
|
||||||
const LiveVarSet *LVSetBef);
|
const LiveVarSet *LVSetBef);
|
||||||
|
|
||||||
void setRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst );
|
void setRelRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst );
|
||||||
int getRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);
|
int getUniRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);
|
||||||
|
|
||||||
void addInterf4PseudoInstr(const MachineInstr *MInst);
|
void addInterf4PseudoInstr(const MachineInstr *MInst);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user