aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-09 23:34:08 +0000
committerChris Lattner <sabre@nondot.org>2007-04-09 23:34:08 +0000
commit2b95fd67da204c6f608cc280ea91230ff781d998 (patch)
treea4ca605fe25f41c6bede95038455461c6cd5d2ae /lib/CodeGen
parent37caf8c68e71333b6d1a663efac088439681ad45 (diff)
downloadexternal_llvm-2b95fd67da204c6f608cc280ea91230ff781d998.zip
external_llvm-2b95fd67da204c6f608cc280ea91230ff781d998.tar.gz
external_llvm-2b95fd67da204c6f608cc280ea91230ff781d998.tar.bz2
remove dead target hooks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35847 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 51d8187..f1cd9a5 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -1974,25 +1974,6 @@ bool TargetLowering::isLegalAddressingMode(const AddrMode &AM,
return true;
}
-/// isLegalAddressImmediate - Return true if the integer value can be used as
-/// the offset of the target addressing mode for load / store of the given
-/// type.
-bool TargetLowering::isLegalAddressImmediate(int64_t V, const Type *Ty) const {
- return false;
-}
-
-/// isLegalAddressImmediate - Return true if the GlobalValue can be used as
-/// the offset of the target addressing mode.
-bool TargetLowering::isLegalAddressImmediate(GlobalValue *GV) const {
- return false;
-}
-
-/// isLegalAddressScale - Return true if the integer value can be used as the
-/// scale of the target addressing mode for load / store of the given type.
-bool TargetLowering::isLegalAddressScale(int64_t S, const Type *Ty) const {
- return false;
-}
-
// Magic for divide replacement
struct ms {