Lines Matching refs:DFA
1 //===- DFAPacketizerEmitter.cpp - Packetization DFA for a VLIW machine-----===//
13 // automaton (DFA) that models all possible mappings of machine instructions
29 // class DFAPacketizerEmitter: class that generates and prints out the DFA
76 // two states [0x01] and [0x10] into a DFA with a single state [0x01, 0x10].
126 // class DFA: deterministic finite automaton for processor resource tracking.
129 class DFA {
131 DFA();
140 // Modify the DFA.
145 // writeTable: Print out a table representing the DFA.
153 // Constructors and destructors for State and DFA
158 DFA::DFA(): currentState(nullptr) {}
241 const State &DFA::newState() {
256 // writeTableAndAPI - Print out a table representing the DFA and the
257 // associated API to create a DFA packetizer.
266 void DFA::writeTableAndAPI(raw_ostream &OS, const std::string &TargetName) {
268 DFA::StateSet::iterator SI = states.begin();
321 // Emit DFA Packetizer tables if the target is a VLIW machine.
392 // Run the worklist algorithm to generate the DFA.
432 // Run a worklist algorithm to generate the DFA.
434 DFA D;
444 // Worklist algorithm to create a DFA for processor resource tracking.
503 emitSourceFileHeader("Target DFA Packetizer Tables", OS);