summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.h')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.h b/llvm/lib/Target/ARM/ARMISelLowering.h
index 7761aa1315e..fd93629f084 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.h
+++ b/llvm/lib/Target/ARM/ARMISelLowering.h
@@ -329,6 +329,10 @@ class InstrItineraryData;
bool isLegalT2ScaledAddressingMode(const AddrMode &AM, EVT VT) const;
+ /// \brief Returns true if the addresing mode representing by AM is legal
+ /// for the Thumb1 target, for a load/store of the specified type.
+ bool isLegalT1ScaledAddressingMode(const AddrMode &AM, EVT VT) const;
+
/// isLegalICmpImmediate - Return true if the specified immediate is legal
/// icmp immediate, that is the target has icmp instructions which can
/// compare a register against the immediate without having to materialize
OpenPOWER on IntegriCloud