diff options
Diffstat (limited to 'support/tools/TableGen/InstrSelectorEmitter.h')
-rw-r--r-- | support/tools/TableGen/InstrSelectorEmitter.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/support/tools/TableGen/InstrSelectorEmitter.h b/support/tools/TableGen/InstrSelectorEmitter.h index dc16fb20f4..108aeee20c 100644 --- a/support/tools/TableGen/InstrSelectorEmitter.h +++ b/support/tools/TableGen/InstrSelectorEmitter.h @@ -9,7 +9,7 @@ #define INSTRSELECTOR_EMITTER_H #include "TableGenBackend.h" -#include "llvm/CodeGen/ValueTypes.h" +#include "CodeGenWrappers.h" #include <vector> #include <map> class DagInit; @@ -82,6 +82,7 @@ std::ostream &operator<<(std::ostream &OS, const TreePatternNode &N); class InstrSelectorEmitter : public TableGenBackend { RecordKeeper &Records; + CodeGenTarget Target; std::map<Record*, NodeType> NodeTypes; public: @@ -96,6 +97,10 @@ private: // structure. void ProcessNodeTypes(); + // ProcessNonTerminals - Read in all nonterminals and incorporate them into + // our pattern database. + void ProcessNonTerminals(); + // ProcessInstructionPatterns - Read in all subclasses of Instruction, and // process those with a useful Pattern field. void ProcessInstructionPatterns(); |