summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.h
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-07-20 21:40:26 +0000
committerJim Grosbach <grosbach@apple.com>2011-07-20 21:40:26 +0000
commita288b1c10aa315e112f8c05887c637806971f950 (patch)
tree1c81e4497bca8045c0ffb0e1365d2b26edc6baa9 /llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.h
parent0cdc148ab841157e16ba5a194b5fd2efd94dac63 (diff)
downloadbcm5719-llvm-a288b1c10aa315e112f8c05887c637806971f950.tar.gz
bcm5719-llvm-a288b1c10aa315e112f8c05887c637806971f950.zip
ARM PKH shift ammount operand printing tweaks.
Move the shift operator and special value (32 encoded as 0 for PKHTB) handling into the instruction printer. This cleans up a bit of the disassembler special casing for these instructions, more easily handles not printing the operand at all for "lsl #0" and prepares for correct asm parsing of these operands. llvm-svn: 135626
Diffstat (limited to 'llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.h')
-rw-r--r--llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.h b/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.h
index d5f238bb8a6..8f3172922cc 100644
--- a/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.h
+++ b/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.h
@@ -65,6 +65,8 @@ public:
raw_ostream &O);
void printMemBOption(const MCInst *MI, unsigned OpNum, raw_ostream &O);
void printShiftImmOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O);
+ void printPKHLSLShiftImm(const MCInst *MI, unsigned OpNum, raw_ostream &O);
+ void printPKHASRShiftImm(const MCInst *MI, unsigned OpNum, raw_ostream &O);
void printThumbS4ImmOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O);
void printThumbITMask(const MCInst *MI, unsigned OpNum, raw_ostream &O);
OpenPOWER on IntegriCloud