summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/TGParser.h
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-05-14 20:54:48 +0000
committerDavid Greene <greened@obbligato.org>2009-05-14 20:54:48 +0000
commit5d0c051e6611726b907d289b34eaa463fee3d72a (patch)
tree4ff0c429da948e8b845d87928082ca9584385782 /llvm/utils/TableGen/TGParser.h
parent6607b21156610ed1fdc8e894de448211a4907aa8 (diff)
downloadbcm5719-llvm-5d0c051e6611726b907d289b34eaa463fee3d72a.tar.gz
bcm5719-llvm-5d0c051e6611726b907d289b34eaa463fee3d72a.zip
Operation Enhancements
Create an OpInit class to serve as a base for all operation Inits. Move parsing of operation constructs to separate functions and reference from multiple places. Add some commented out new operations. Coming soon. llvm-svn: 71789
Diffstat (limited to 'llvm/utils/TableGen/TGParser.h')
-rw-r--r--llvm/utils/TableGen/TGParser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/TGParser.h b/llvm/utils/TableGen/TGParser.h
index 358fee65cb2..f03052eb799 100644
--- a/llvm/utils/TableGen/TGParser.h
+++ b/llvm/utils/TableGen/TGParser.h
@@ -102,6 +102,8 @@ private: // Parser methods.
std::vector<unsigned> ParseRangeList();
bool ParseRangePiece(std::vector<unsigned> &Ranges);
RecTy *ParseType();
+ Init *ParseOperation(Record *CurRec);
+ RecTy *ParseOperatorType();
std::string ParseObjectName();
Record *ParseClassID();
MultiClass *ParseMultiClassID();
OpenPOWER on IntegriCloud