diff options
| author | Akira Hatanaka <ahatanaka@mips.com> | 2012-07-21 02:15:19 +0000 |
|---|---|---|
| committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-07-21 02:15:19 +0000 |
| commit | f73e362758e20ec83dd7d812b4176a6382d4af9c (patch) | |
| tree | a2e23f43ad8bb551752e817785f9d99dfc0882ad /llvm/lib/Target/Mips/MipsInstrInfo.h | |
| parent | 6e6d4a6223384ecfd476dc5746ae25da8dd0b408 (diff) | |
| download | bcm5719-llvm-f73e362758e20ec83dd7d812b4176a6382d4af9c.tar.gz bcm5719-llvm-f73e362758e20ec83dd7d812b4176a6382d4af9c.zip | |
Add VK_Mips_HIGHER and VK_Mips_HIGHEST to MCSymbolRefExpr::VariantKind.
Test case will be added later when long branch patch is checked in.
llvm-svn: 160597
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, |

