aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/MRegisterInfo.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-19 03:20:00 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-19 03:20:00 +0000
commita284cbf667e11660840dc7bae3ee9eeaa3c7cbd2 (patch)
treeea5738fddb18b1e6d65a935b4482a023225ad5b9 /include/llvm/Target/MRegisterInfo.h
parentd81b0659501c66b2fec2009e8a999c3db6a1f95c (diff)
downloadexternal_llvm-a284cbf667e11660840dc7bae3ee9eeaa3c7cbd2.zip
external_llvm-a284cbf667e11660840dc7bae3ee9eeaa3c7cbd2.tar.gz
external_llvm-a284cbf667e11660840dc7bae3ee9eeaa3c7cbd2.tar.bz2
For PR1207:
Revert patches that caused the problem. Evan, please investigate and reapply when you've discovered the problem. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34399 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/MRegisterInfo.h')
-rw-r--r--include/llvm/Target/MRegisterInfo.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h
index da111e6..6d53d51 100644
--- a/include/llvm/Target/MRegisterInfo.h
+++ b/include/llvm/Target/MRegisterInfo.h
@@ -284,17 +284,6 @@ public:
return false;
}
- /// regsOverlap - Returns true if the two registers are equal or alias
- /// each other. The registers may be virtual register.
- bool regsOverlap(unsigned regA, unsigned regB) const {
- if (regA == regB)
- return true;
-
- if (isVirtualRegister(regA) || isVirtualRegister(regB))
- return false;
- return areAliases(regA, regB);
- }
-
/// getCalleeSavedRegs - Return a null-terminated list of all of the
/// callee saved registers on this target. The register should be in the
/// order of desired callee-save stack frame offset. The first register is
@@ -306,12 +295,6 @@ public:
/// length of this list match the getCalleeSaveRegs() list.
virtual const TargetRegisterClass* const *getCalleeSavedRegClasses() const =0;
- /// getReservedRegs - Returns a bitset indexed by physical register number
- /// indicating if a register is a special register that has particular uses and
- /// should be considered unavailable at all times, e.g. SP, RA. This is used by
- /// register scavenger to determine what registers are free.
- virtual BitVector getReservedRegs(const MachineFunction &MF) const = 0;
-
//===--------------------------------------------------------------------===//
// Register Class Information
//