diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-03-31 14:52:28 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-03-31 14:52:28 +0000 |
commit | bcd3a9cd84d3bb143075d31bdf631f621f44f9e7 (patch) | |
tree | 10b17af22e078cdad2880f7504bc0d8e4f6b2d35 /lib/Target/ARM/InstPrinter/ARMInstPrinter.h | |
parent | 56584fcbfd541c20b914f7cb58a38bf1a16f55c0 (diff) | |
download | external_llvm-bcd3a9cd84d3bb143075d31bdf631f621f44f9e7.zip external_llvm-bcd3a9cd84d3bb143075d31bdf631f621f44f9e7.tar.gz external_llvm-bcd3a9cd84d3bb143075d31bdf631f621f44f9e7.tar.bz2 |
Reapply r128585 without generating a lib depedency cycle. An updated log:
- Implement asm parsing support for LDRT, LDRBT, STRT, STRBT and
{STR,LDC}{2}_{PRE,POST} fixing the encoding wherever is possible.
- Move all instructions which use am2offset without a pattern to use
addrmode2.
- Add a new encoding bit to describe the index mode used and teach
printAddrMode2Operand to check by the addressing mode which index
mode to print.
- Testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/InstPrinter/ARMInstPrinter.h')
-rw-r--r-- | lib/Target/ARM/InstPrinter/ARMInstPrinter.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/ARM/InstPrinter/ARMInstPrinter.h b/lib/Target/ARM/InstPrinter/ARMInstPrinter.h index 5d82617..e752b20 100644 --- a/lib/Target/ARM/InstPrinter/ARMInstPrinter.h +++ b/lib/Target/ARM/InstPrinter/ARMInstPrinter.h @@ -42,7 +42,11 @@ public: void printSOImmOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O); void printSORegOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O); + void printAddrMode2Operand(const MCInst *MI, unsigned OpNum, raw_ostream &O); + void printAM2PostIndexOp(const MCInst *MI, unsigned OpNum, raw_ostream &O); + void printAM2PreOrOffsetIndexOp(const MCInst *MI, unsigned OpNum, + raw_ostream &O); void printAddrMode2OffsetOperand(const MCInst *MI, unsigned OpNum, raw_ostream &O); void printAddrMode3Operand(const MCInst *MI, unsigned OpNum, raw_ostream &O); |