diff options
author | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-05-16 13:19:46 +0000 |
---|---|---|
committer | Zoran Jovanovic <zoran.jovanovic@imgtec.com> | 2014-05-16 13:19:46 +0000 |
commit | b95580a711b70e373ba7a52b3867e7ea6881e413 (patch) | |
tree | 73e1e1f3563668713b59fa0997d6d18c4c7c4ad8 /lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h | |
parent | 0d356ec0eebb3fbbb2de0a12743457d44341a047 (diff) | |
download | llvm-b95580a711b70e373ba7a52b3867e7ea6881e413.tar.gz llvm-b95580a711b70e373ba7a52b3867e7ea6881e413.tar.bz2 llvm-b95580a711b70e373ba7a52b3867e7ea6881e413.tar.xz |
[mips][mips64r6] Add Compact indexed jumps.
Differential Revision: http://reviews.llvm.org/D3707
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208981 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h')
-rw-r--r-- | lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h b/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h index e99146e801..3f7daabfef 100644 --- a/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h +++ b/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h @@ -102,6 +102,13 @@ public: SmallVectorImpl<MCFixup> &Fixups, const MCSubtargetInfo &STI) const; + // getJumpOffset16OpValue - Return binary encoding of the jump + // offset operand. If the machine operand requires relocation, + // record the relocation and return zero. + unsigned getJumpOffset16OpValue(const MCInst &MI, unsigned OpNo, + SmallVectorImpl<MCFixup> &Fixups, + const MCSubtargetInfo &STI) const; + // getMachineOpValue - Return binary encoding of operand. If the machin // operand requires relocation, record the relocation and return zero. unsigned getMachineOpValue(const MCInst &MI, const MCOperand &MO, |