summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorRuchira Sasanka <sasanka@students.uiuc.edu>2001-11-15 20:22:37 +0000
committerRuchira Sasanka <sasanka@students.uiuc.edu>2001-11-15 20:22:37 +0000
commitdec9bfd554a4e059f85331f52fec5eb4988f962c (patch)
tree6320fb775a70ceb7e23b5f7762379d7afba48dc7 /llvm/lib
parentf9aea74156ca0dbab27a1640470387eb8c808aa8 (diff)
downloadbcm5719-llvm-dec9bfd554a4e059f85331f52fec5eb4988f962c.tar.gz
bcm5719-llvm-dec9bfd554a4e059f85331f52fec5eb4988f962c.zip
Changed some names of methods, added const etc.
llvm-svn: 1322
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/LiveRange.h2
-rw-r--r--llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h13
2 files changed, 8 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/LiveRange.h b/llvm/lib/CodeGen/RegAlloc/LiveRange.h
index 5b7b7ca2d49..3ef627ed985 100644
--- a/llvm/lib/CodeGen/RegAlloc/LiveRange.h
+++ b/llvm/lib/CodeGen/RegAlloc/LiveRange.h
@@ -109,7 +109,7 @@ class LiveRange : public ValueSet
- 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 060600147e0..f76e68bb96c 100644
--- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h
+++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h
@@ -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);
OpenPOWER on IntegriCloud