diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-08-17 21:51:27 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-08-17 21:51:27 +0000 |
commit | 70939ee1415722d7f39f13faf9b3644b96007996 (patch) | |
tree | 2c6a128afc34d663ef08f93901253692885d8fb1 /lib/Target/ARM/InstPrinter/ARMInstPrinter.h | |
parent | 795cf5efba4255cadd0bfde0e9d3dec65e96dd50 (diff) | |
download | external_llvm-70939ee1415722d7f39f13faf9b3644b96007996.zip external_llvm-70939ee1415722d7f39f13faf9b3644b96007996.tar.gz external_llvm-70939ee1415722d7f39f13faf9b3644b96007996.tar.bz2 |
ARM clean up the imm_sr operand class representation.
Represent the operand value as it will be encoded in the instruction. This
allows removing the specialized encoder and decoder methods entirely. Add
an assembler match class while we're at it to lay groundwork for parsing the
thumb shift instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137879 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/InstPrinter/ARMInstPrinter.h')
-rw-r--r-- | lib/Target/ARM/InstPrinter/ARMInstPrinter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/InstPrinter/ARMInstPrinter.h b/lib/Target/ARM/InstPrinter/ARMInstPrinter.h index 8b94ec5..e68a629 100644 --- a/lib/Target/ARM/InstPrinter/ARMInstPrinter.h +++ b/lib/Target/ARM/InstPrinter/ARMInstPrinter.h @@ -74,6 +74,7 @@ public: void printPKHASRShiftImm(const MCInst *MI, unsigned OpNum, raw_ostream &O); void printThumbS4ImmOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O); + void printThumbSRImm(const MCInst *MI, unsigned OpNum, raw_ostream &O); void printThumbITMask(const MCInst *MI, unsigned OpNum, raw_ostream &O); void printThumbAddrModeRROperand(const MCInst *MI, unsigned OpNum, raw_ostream &O); |