summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRParser/MIParser.h
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2016-11-15 00:03:14 +0000
committerTom Stellard <thomas.stellard@amd.com>2016-11-15 00:03:14 +0000
commit9c884e495c83e73c4cc8768adc1572fcf582c08c (patch)
treeb06efbd22911ec0d3129d67defd56d849a561184 /llvm/lib/CodeGen/MIRParser/MIParser.h
parent3ee54a693394c3e00cd0357650665fed4cf94695 (diff)
downloadbcm5719-llvm-9c884e495c83e73c4cc8768adc1572fcf582c08c.tar.gz
bcm5719-llvm-9c884e495c83e73c4cc8768adc1572fcf582c08c.zip
MIRParser: Add support for parsing vreg reg alloc hints
Reviewers: qcolombet, MatzeB Subscribers: wdng, llvm-commits Differential Revision: https://reviews.llvm.org/D26573 llvm-svn: 286911
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser/MIParser.h')
-rw-r--r--llvm/lib/CodeGen/MIRParser/MIParser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MIParser.h b/llvm/lib/CodeGen/MIRParser/MIParser.h
index a5f86ad945d..93a4d84ba62 100644
--- a/llvm/lib/CodeGen/MIRParser/MIParser.h
+++ b/llvm/lib/CodeGen/MIRParser/MIParser.h
@@ -96,6 +96,10 @@ bool parseMBBReference(PerFunctionMIParsingState &PFS,
MachineBasicBlock *&MBB, StringRef Src,
SMDiagnostic &Error);
+bool parseRegisterReference(PerFunctionMIParsingState &PFS,
+ unsigned &Reg, StringRef Src,
+ SMDiagnostic &Error);
+
bool parseNamedRegisterReference(PerFunctionMIParsingState &PFS, unsigned &Reg,
StringRef Src, SMDiagnostic &Error);
OpenPOWER on IntegriCloud