diff options
author | David Greene <greened@obbligato.org> | 2009-05-14 20:54:48 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2009-05-14 20:54:48 +0000 |
commit | d418c1b768b5ff26afe05a5ce84d920bbbc99583 (patch) | |
tree | a353f9555d0b125cbeaed9fc9d727545061e65a0 /utils/TableGen/TGParser.h | |
parent | ccf85ded583167cbdbc20043e698eda8a7c2ed7d (diff) | |
download | llvm-d418c1b768b5ff26afe05a5ce84d920bbbc99583.tar.gz llvm-d418c1b768b5ff26afe05a5ce84d920bbbc99583.tar.bz2 llvm-d418c1b768b5ff26afe05a5ce84d920bbbc99583.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71789 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/TGParser.h')
-rw-r--r-- | utils/TableGen/TGParser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/TableGen/TGParser.h b/utils/TableGen/TGParser.h index 358fee65cb..f03052eb79 100644 --- a/utils/TableGen/TGParser.h +++ b/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(); |