summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-13 20:08:00 +0000
committerChris Lattner <sabre@nondot.org>2009-09-13 20:08:00 +0000
commit06c5eed9e9630037e6e5b20c4f99354232d1c8f8 (patch)
tree165641358f2c543008c4f87d8a968809bd809fc4 /llvm/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
parent6822e695c1f932477f22410f66eb8bd2d84fb81f (diff)
downloadbcm5719-llvm-06c5eed9e9630037e6e5b20c4f99354232d1c8f8.tar.gz
bcm5719-llvm-06c5eed9e9630037e6e5b20c4f99354232d1c8f8.zip
make tblgen produce a function that returns the name for a physreg.
Nothing is using this info yet. llvm-svn: 81707
Diffstat (limited to 'llvm/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp b/llvm/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
index cd0eb9cbde3..c82f96d1dd7 100644
--- a/llvm/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
+++ b/llvm/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
@@ -58,6 +58,8 @@ namespace {
const char* Modifier = 0);
void printCCOperand(const MachineInstr *MI, int OpNum);
void printInstruction(const MachineInstr *MI); // autogenerated.
+ const char *getRegisterName(unsigned RegNo) const;
+
void printMachineInstruction(const MachineInstr * MI);
bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
unsigned AsmVariant,
OpenPOWER on IntegriCloud