diff options
author | Jack Carter <jack.carter@imgtec.com> | 2013-08-13 20:19:16 +0000 |
---|---|---|
committer | Jack Carter <jack.carter@imgtec.com> | 2013-08-13 20:19:16 +0000 |
commit | da0860f78e6e43aca3333a7815b2f9bc0f8dfac0 (patch) | |
tree | 9422b762ea978f84ac29d51a4af1e92be2a612b0 /lib/Target/Mips/MipsSEISelDAGToDAG.h | |
parent | 13e26da155d245e0d1e55fb8dc9f586426112fc2 (diff) | |
download | llvm-da0860f78e6e43aca3333a7815b2f9bc0f8dfac0.tar.gz llvm-da0860f78e6e43aca3333a7815b2f9bc0f8dfac0.tar.bz2 llvm-da0860f78e6e43aca3333a7815b2f9bc0f8dfac0.tar.xz |
[Mips] Support for unaligned load/store microMips instructions
This includes instructions lwl, lwr, swl and swr.
Patch by Zoran Jovnovic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188312 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsSEISelDAGToDAG.h')
-rw-r--r-- | lib/Target/Mips/MipsSEISelDAGToDAG.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsSEISelDAGToDAG.h b/lib/Target/Mips/MipsSEISelDAGToDAG.h index 03ed1f97cf..09a15b01f0 100644 --- a/lib/Target/Mips/MipsSEISelDAGToDAG.h +++ b/lib/Target/Mips/MipsSEISelDAGToDAG.h @@ -47,6 +47,12 @@ private: virtual bool selectIntAddr(SDValue Addr, SDValue &Base, SDValue &Offset) const; + virtual bool selectAddrRegImm12(SDValue Addr, SDValue &Base, + SDValue &Offset) const; + + virtual bool selectIntAddrMM(SDValue Addr, SDValue &Base, + SDValue &Offset) const; + virtual std::pair<bool, SDNode*> selectNode(SDNode *Node); virtual void processFunctionAfterISel(MachineFunction &MF); |