aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit9222169c3ad7e619d1a8ab155b7a1118182c3c34 (patch)
tree0b4164b49f9e83b80011a87da298b77e0c3ba7f0 /lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
parent28f7e3506ee1779753939d87c2ce4e1a2f19e9c0 (diff)
downloadexternal_llvm-9222169c3ad7e619d1a8ab155b7a1118182c3c34.tar.gz
external_llvm-9222169c3ad7e619d1a8ab155b7a1118182c3c34.tar.bz2
external_llvm-9222169c3ad7e619d1a8ab155b7a1118182c3c34.zip
make tblgen produce a function that returns the name for a physreg.
Nothing is using this info yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp')
-rw-r--r--lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp b/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
index f4a9b36da8..b9d543edc8 100644
--- a/lib/Target/Mips/AsmPrinter/MipsAsmPrinter.cpp
+++ b/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);
};