mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-07 11:51:13 +00:00
remove dead target hooks.
llvm-svn: 35847
This commit is contained in:
parent
98199016ae
commit
461f7ed33b
@ -879,19 +879,6 @@ public:
|
||||
/// AM is legal for this target, for a load/store of the specified type.
|
||||
/// TODO: Handle pre/postinc as well.
|
||||
virtual bool isLegalAddressingMode(const AddrMode &AM, const Type *Ty) const;
|
||||
|
||||
/// 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.
|
||||
virtual bool isLegalAddressImmediate(int64_t V, const Type *Ty) const;
|
||||
|
||||
/// isLegalAddressImmediate - Return true if the GlobalValue can be used as
|
||||
/// the offset of the target addressing mode.
|
||||
virtual bool isLegalAddressImmediate(GlobalValue *GV) const;
|
||||
|
||||
/// 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.
|
||||
virtual bool isLegalAddressScale(int64_t S, const Type *Ty) const;
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
// Div utility functions
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user