summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MipsSEInstrInfo.h
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2013-10-15 01:48:30 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2013-10-15 01:48:30 +0000
commit2ef99c5dff1ab9612f2d65e38f725d809672d2fd (patch)
tree688d5507d134412db1d97b5fce347975fb6fa326 /lib/Target/Mips/MipsSEInstrInfo.h
parent397f6da28cc889597e8c267e15154f1f70a0922a (diff)
downloadllvm-2ef99c5dff1ab9612f2d65e38f725d809672d2fd.tar.gz
llvm-2ef99c5dff1ab9612f2d65e38f725d809672d2fd.tar.bz2
llvm-2ef99c5dff1ab9612f2d65e38f725d809672d2fd.tar.xz
[mips] Define a pseudo instruction which writes to both the lower and higher
parts of the accumulators and gets expanded post-RA. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192667 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsSEInstrInfo.h')
-rw-r--r--lib/Target/Mips/MipsSEInstrInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsSEInstrInfo.h b/lib/Target/Mips/MipsSEInstrInfo.h
index 6a678456c5..6d2dd901f3 100644
--- a/lib/Target/Mips/MipsSEInstrInfo.h
+++ b/lib/Target/Mips/MipsSEInstrInfo.h
@@ -90,6 +90,10 @@ private:
void expandPseudoMFHiLo(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,
unsigned NewOpc) const;
+ void expandPseudoMTLoHi(MachineBasicBlock &MBB, MachineBasicBlock::iterator I,
+ unsigned LoOpc, unsigned HiOpc,
+ bool HasExplicitDef) const;
+
/// Expand pseudo Int-to-FP conversion instructions.
///
/// For example, the following pseudo instruction