diff options
| author | Akira Hatanaka <ahatanaka@mips.com> | 2012-07-23 23:45:54 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-07-23 23:45:54 +0000 |
| commit | 26e9ecb7a320099dcf80ab13b3dfc51c81bc5f4b (patch) | |
| tree | 8adfcdc8fdb95207d0453c4c963dede23e4f2a64 /llvm/lib/Target/Mips/MipsInstrInfo.h | |
| parent | 47f622d414a44efb4d39e88611a05696167ea34b (diff) | |
| download | bcm5719-llvm-26e9ecb7a320099dcf80ab13b3dfc51c81bc5f4b.tar.gz bcm5719-llvm-26e9ecb7a320099dcf80ab13b3dfc51c81bc5f4b.zip | |
Add basic ability to setup call frame, and make procedure calls.
Hello world will compile and execute with this patch.
Patch by Reed Kotler.
llvm-svn: 160651
Diffstat (limited to 'llvm/lib/Target/Mips/MipsInstrInfo.h')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsInstrInfo.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsInstrInfo.h b/llvm/lib/Target/Mips/MipsInstrInfo.h index b4721a7b39a..358f8173a04 100644 --- a/llvm/lib/Target/Mips/MipsInstrInfo.h +++ b/llvm/lib/Target/Mips/MipsInstrInfo.h @@ -27,7 +27,7 @@ namespace llvm { class MipsInstrInfo : public MipsGenInstrInfo { MipsTargetMachine &TM; - bool IsN64; + bool IsN64; bool InMips16Mode; const MipsRegisterInfo RI; unsigned UncondBrOpc; public: @@ -65,6 +65,9 @@ public: private: void ExpandRetRA(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, unsigned Opc) const; + void ExpandRetRA16(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, + unsigned Opc) const; + void BuildCondBr(MachineBasicBlock &MBB, MachineBasicBlock *TBB, DebugLoc DL, const SmallVectorImpl<MachineOperand>& Cond) const; void ExpandExtractElementF64(MachineBasicBlock &MBB, |

