Changed some names of methods, added const etc.
llvm-svn: 1322
diff --git a/llvm/lib/CodeGen/RegAlloc/LiveRange.h b/llvm/lib/CodeGen/RegAlloc/LiveRange.h
index 5b7b7ca..3ef627e 100644
--- a/llvm/lib/CodeGen/RegAlloc/LiveRange.h
+++ b/llvm/lib/CodeGen/RegAlloc/LiveRange.h
@@ -109,7 +109,7 @@
- inline bool hasSpillOffset() {
+ inline bool hasSpillOffset() const {
return HasSpillOffset;
}
diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h
index 0606001..f76e68b 100644
--- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h
+++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h
@@ -128,15 +128,16 @@
friend class UltraSparcRegInfo;
- int getUsableRegAtMI(RegClass *RC, const int RegType, const MachineInstr *MInst,
- const LiveVarSet *LVSetBef, MachineInstr *MIBef,
- MachineInstr *MIAft );
+ int getUsableUniRegAtMI(RegClass *RC, const int RegType,
+ const MachineInstr *MInst,
+ const LiveVarSet *LVSetBef, MachineInstr *MIBef,
+ MachineInstr *MIAft );
- int getUnusedRegAtMI(RegClass *RC, const MachineInstr *MInst,
+ int getUnusedUniRegAtMI(RegClass *RC, const MachineInstr *MInst,
const LiveVarSet *LVSetBef);
- void setRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst );
- int getRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);
+ void setRelRegsUsedByThisInst(RegClass *RC, const MachineInstr *MInst );
+ int getUniRegNotUsedByThisInst(RegClass *RC, const MachineInstr *MInst);
void addInterf4PseudoInstr(const MachineInstr *MInst);