diff options
| author | Jack Carter <jcarter@mips.com> | 2013-02-05 08:32:10 +0000 |
|---|---|---|
| committer | Jack Carter <jcarter@mips.com> | 2013-02-05 08:32:10 +0000 |
| commit | 9c1a027fe884c11f0302534edbc6320f8c83999d (patch) | |
| tree | 875eaf2b1374f0a3404479b6444f9ae0b31d5fd8 /llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.h | |
| parent | 31876b4efd5efcd8517d57fb998aed915bfdd6d4 (diff) | |
| download | bcm5719-llvm-9c1a027fe884c11f0302534edbc6320f8c83999d.tar.gz bcm5719-llvm-9c1a027fe884c11f0302534edbc6320f8c83999d.zip | |
This patch that sets the EmitAlias flag in td files
and enables the instruction printer to print aliased
instructions.
Due to usage of RegisterOperands a change in common
code (utils/TableGen/AsmWriterEmitter.cpp) is required
to get the correct register value if it is a RegisterOperand.
Contributer: Vladimir Medic
llvm-svn: 174358
Diffstat (limited to 'llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.h')
| -rw-r--r-- | llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.h b/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.h index 38cac688015..d1b561f9764 100644 --- a/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.h +++ b/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.h @@ -89,6 +89,8 @@ public: virtual void printInst(const MCInst *MI, raw_ostream &O, StringRef Annot); void printCPURegs(const MCInst *MI, unsigned OpNo, raw_ostream &O); + bool printAliasInstr(const MCInst *MI, raw_ostream &OS); + private: void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &O); void printUnsignedImm(const MCInst *MI, int opNum, raw_ostream &O); |

