diff options
author | Chris Lattner <sabre@nondot.org> | 2005-09-14 00:09:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-09-14 00:09:24 +0000 |
commit | 1f39e2910b896dddaa649e72e2bdab1fa91be6c1 (patch) | |
tree | 2650d65952bfee4c40c99bc620294028a3840783 /utils/TableGen/DAGISelEmitter.h | |
parent | 303b555164e82139e0f88c183f1fc176fbb2d16c (diff) | |
download | external_llvm-1f39e2910b896dddaa649e72e2bdab1fa91be6c1.zip external_llvm-1f39e2910b896dddaa649e72e2bdab1fa91be6c1.tar.gz external_llvm-1f39e2910b896dddaa649e72e2bdab1fa91be6c1.tar.bz2 |
start parsing instructions into patterns, start doing many more checks of
'set's.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23343 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/DAGISelEmitter.h')
-rw-r--r-- | utils/TableGen/DAGISelEmitter.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/TableGen/DAGISelEmitter.h b/utils/TableGen/DAGISelEmitter.h index d966855..a2409bb 100644 --- a/utils/TableGen/DAGISelEmitter.h +++ b/utils/TableGen/DAGISelEmitter.h @@ -286,6 +286,11 @@ class DAGISelEmitter : public TableGenBackend { std::map<Record*, std::pair<Record*, std::string> > SDNodeXForms; std::map<Record*, TreePattern*> PatternFragments; std::vector<TreePattern*> Instructions; + + /// PatternsToMatch - All of the things we are matching on the DAG. The first + /// value is the pattern to match, the second pattern is the result to + /// emit. + std::vector<std::pair<TreePatternNode*, TreePatternNode*> > PatternsToMatch; public: DAGISelEmitter(RecordKeeper &R) : Records(R) {} |