aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Blackfin
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/Blackfin
parent28f7e3506ee1779753939d87c2ce4e1a2f19e9c0 (diff)
downloadexternal_llvm-9222169c3ad7e619d1a8ab155b7a1118182c3c34.zip
external_llvm-9222169c3ad7e619d1a8ab155b7a1118182c3c34.tar.gz
external_llvm-9222169c3ad7e619d1a8ab155b7a1118182c3c34.tar.bz2
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/Blackfin')
-rw-r--r--lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp b/lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp
index d83d914..96f4e78 100644
--- a/lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp
+++ b/lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp
@@ -51,6 +51,8 @@ namespace {
void printOperand(const MachineInstr *MI, int opNum);
void printMemoryOperand(const MachineInstr *MI, int opNum);
void printInstruction(const MachineInstr *MI); // autogenerated.
+ const char *getRegisterName(unsigned RegNo) const;
+
void emitLinkage(const std::string &n, GlobalValue::LinkageTypes l);
bool runOnMachineFunction(MachineFunction &F);
bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,