aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-10-23 06:51:50 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-10-23 06:51:50 +0000
commite11fb343817d4bfa536cbf1b0ba979e1a4e16381 (patch)
tree10076fc55b13ec64f92a59715308de4005def8e5 /include/llvm/Target
parent152b7e18748f7e06a93260f22cc9dac8eb3abee2 (diff)
downloadexternal_llvm-e11fb343817d4bfa536cbf1b0ba979e1a4e16381.zip
external_llvm-e11fb343817d4bfa536cbf1b0ba979e1a4e16381.tar.gz
external_llvm-e11fb343817d4bfa536cbf1b0ba979e1a4e16381.tar.bz2
isSubRegOf() is a dup of isSubRegister.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r--include/llvm/Target/MRegisterInfo.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h
index afcadc4..cfe304f 100644
--- a/include/llvm/Target/MRegisterInfo.h
+++ b/include/llvm/Target/MRegisterInfo.h
@@ -375,17 +375,6 @@ public:
return get(RegNo).SuperRegs;
}
- /// isSubRegOf - Predicate which returns true if RegA is a sub-register of
- /// RegB. Returns false otherwise.
- ///
- bool isSubRegOf(unsigned RegA, unsigned RegB) const {
- const TargetRegisterDesc &RD = (*this)[RegA];
- for (const unsigned *reg = RD.SuperRegs; *reg != 0; ++reg)
- if (*reg == RegB)
- return true;
- return false;
- }
-
/// getName - Return the symbolic target specific name for the specified
/// physical register.
const char *getName(unsigned RegNo) const {