Changed some names of methods, added const etc.
authorRuchira Sasanka <sasanka@students.uiuc.edu>
Thu, 15 Nov 2001 20:22:37 +0000 (20:22 +0000)
committerRuchira Sasanka <sasanka@students.uiuc.edu>
Thu, 15 Nov 2001 20:22:37 +0000 (20:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1322 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/RegAlloc/LiveRange.h
lib/CodeGen/RegAlloc/PhyRegAlloc.h
lib/Target/SparcV9/RegAlloc/LiveRange.h
lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h

index 5b7b7ca2d4973574c603828a4a6eda11ee1f8dab..3ef627ed98593fd3fb59970616a5280e4d36b720 100644 (file)
@@ -109,7 +109,7 @@ class LiveRange : public ValueSet
 
 
 
-  inline bool hasSpillOffset() {
+  inline bool hasSpillOffset() const {
     return  HasSpillOffset;
   }
 
index 060600147e00a482e99bfa708ad7b0e697dfeda7..f76e68bb96cf38a89812023133f26789c96ef176 100644 (file)
@@ -128,15 +128,16 @@ class PhyRegAlloc: public NonCopyable
   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);
 
index 5b7b7ca2d4973574c603828a4a6eda11ee1f8dab..3ef627ed98593fd3fb59970616a5280e4d36b720 100644 (file)
@@ -109,7 +109,7 @@ class LiveRange : public ValueSet
 
 
 
-  inline bool hasSpillOffset() {
+  inline bool hasSpillOffset() const {
     return  HasSpillOffset;
   }
 
index 060600147e00a482e99bfa708ad7b0e697dfeda7..f76e68bb96cf38a89812023133f26789c96ef176 100644 (file)
@@ -128,15 +128,16 @@ class PhyRegAlloc: public NonCopyable
   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);