ARM clean up the imm_sr operand class representation.
authorJim Grosbach <grosbach@apple.com>
Wed, 17 Aug 2011 21:51:27 +0000 (21:51 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 17 Aug 2011 21:51:27 +0000 (21:51 +0000)
commit70939ee1415722d7f39f13faf9b3644b96007996
tree2c6a128afc34d663ef08f93901253692885d8fb1
parent795cf5efba4255cadd0bfde0e9d3dec65e96dd50
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
lib/Target/ARM/ARMCodeEmitter.cpp
lib/Target/ARM/ARMInstrThumb.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.h
lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp