Rename all of the "Process" methods to be "read" methods, start the Instantiate method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7685 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/TableGen/InstrSelectorEmitter.h b/utils/TableGen/InstrSelectorEmitter.h
index a9d7028..8a8734b 100644
--- a/utils/TableGen/InstrSelectorEmitter.h
+++ b/utils/TableGen/InstrSelectorEmitter.h
@@ -194,21 +194,24 @@
std::map<Record*, NodeType> &getNodeTypes() { return NodeTypes; }
private:
- // ProcessNodeTypes - Process all of the node types in the current
- // RecordKeeper, turning them into the more accessible NodeTypes data
- // structure.
- void ProcessNodeTypes();
+ // ReadNodeTypes - Read in all of the node types in the current RecordKeeper,
+ // turning them into the more accessible NodeTypes data structure.
+ void ReadNodeTypes();
- // ProcessNonTerminals - Read in all nonterminals and incorporate them into
- // our pattern database.
- void ProcessNonterminals();
+ // ReadNonTerminals - Read in all nonterminals and incorporate them into our
+ // pattern database.
+ void ReadNonterminals();
- // ProcessInstructionPatterns - Read in all subclasses of Instruction, and
+ // ReadInstructionPatterns - Read in all subclasses of Instruction, and
// process those with a useful Pattern field.
- void ProcessInstructionPatterns();
+ void ReadInstructionPatterns();
- // ProcessExpanderPatterns - Read in all of the expanded patterns.
- void ProcessExpanderPatterns();
+ // ReadExpanderPatterns - Read in all of the expanded patterns.
+ void ReadExpanderPatterns();
+
+ // InstantiateNonterminals - Instantiate any unresolved nonterminals with
+ // information from the context that they are used in.
+ void InstantiateNonterminals();
};
#endif