summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16/AsmPrinter
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/PIC16/AsmPrinter
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/PIC16/AsmPrinter')
-rw-r--r--llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.h b/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.h
index 8510eaa6221..e671feb8632 100644
--- a/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.h
+++ b/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.h
@@ -45,6 +45,8 @@ namespace llvm {
void printOperand(const MachineInstr *MI, int opNum);
void printCCOperand(const MachineInstr *MI, int opNum);
void printInstruction(const MachineInstr *MI); // definition autogenerated.
+ const char *getRegisterName(unsigned RegNo) const;
+
bool printMachineInstruction(const MachineInstr *MI);
void EmitFunctionDecls (Module &M);
void EmitUndefinedVars (Module &M);
OpenPOWER on IntegriCloud