diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-03-30 23:15:24 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-03-30 23:15:24 +0000 |
| commit | 1eb94d973a30191382a8ceecdb6039012e5f02b9 (patch) | |
| tree | b6af90c5b224182793214bbc2e982e1f28f5e5b2 /llvm/lib/Target/ARM/ARMISelLowering.h | |
| parent | ac3f81508c07355f926f5ca46bf4a386d7d8bbfd (diff) | |
| download | bcm5719-llvm-1eb94d973a30191382a8ceecdb6039012e5f02b9.tar.gz bcm5719-llvm-1eb94d973a30191382a8ceecdb6039012e5f02b9.zip | |
implement the new addressing mode description hook.
llvm-svn: 35521
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.h')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.h b/llvm/lib/Target/ARM/ARMISelLowering.h index 74790191d76..8846decd9bf 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.h +++ b/llvm/lib/Target/ARM/ARMISelLowering.h @@ -80,6 +80,10 @@ namespace llvm { virtual MachineBasicBlock *InsertAtEndOfBasicBlock(MachineInstr *MI, MachineBasicBlock *MBB); + /// isLegalAddressingMode - Return true if the addressing mode represented + /// by AM is legal for this target, for a load/store of the specified type. + 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. |

