summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.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/Mips/AsmPrinter/MipsAsmPrinter.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/Mips/AsmPrinter/MipsAsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp b/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
index f4a9b36da8f..b9d543edc84 100644
--- a/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
+++ b/llvm/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
@@ -82,6 +82,8 @@ namespace {
void emitFrameDirective(MachineFunction &MF);
void printInstruction(const MachineInstr *MI); // autogenerated.
+ const char *getRegisterName(unsigned RegNo) const;
+
bool runOnMachineFunction(MachineFunction &F);
bool doInitialization(Module &M);
};
OpenPOWER on IntegriCloud