From 35f0417ec10bf0c0e3f0a7fc7d760cfb786df8d1 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 9 Apr 2007 23:34:08 +0000 Subject: remove dead target hooks. llvm-svn: 35847 --- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'llvm/lib/CodeGen') diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp index 51d8187aa17..f1cd9a58a2f 100644 --- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp +++ b/llvm/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 { -- cgit v1.2.3