summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
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/Sparc
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/Sparc')
-rw-r--r--llvm/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp b/llvm/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp
index 0d5b70dc899..15e7fb02b2b 100644
--- a/llvm/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp
+++ b/llvm/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp
@@ -68,6 +68,8 @@ namespace {
void printCCOperand(const MachineInstr *MI, int opNum);
void printInstruction(const MachineInstr *MI); // autogenerated.
+ const char *getRegisterName(unsigned RegNo) const;
+
bool runOnMachineFunction(MachineFunction &F);
bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,
unsigned AsmVariant, const char *ExtraCode);
OpenPOWER on IntegriCloud