aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMInstrInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.h')
-rw-r--r--lib/Target/ARM/ARMInstrInfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.h b/lib/Target/ARM/ARMInstrInfo.h
index 3e9f020..8ff0912 100644
--- a/lib/Target/ARM/ARMInstrInfo.h
+++ b/lib/Target/ARM/ARMInstrInfo.h
@@ -35,6 +35,13 @@ public:
// Return the opcode that implements 'Op', or 0 if no opcode
unsigned getOpcode(ARMII::Op Op) const;
+ // If 'opcode' is an instruction with an unsigned offset that also
+ // has a version with a signed offset, return the opcode for the
+ // version with the signed offset. In 'NumBits' return the number of
+ // bits for the signed offset.
+ unsigned unsignedOffsetOpcodeToSigned(unsigned opcode,
+ unsigned *NumBits) const;
+
// Return true if the block does not fall through.
bool BlockHasNoFallThrough(const MachineBasicBlock &MBB) const;