Lines Matching refs:OS
53 raw_ostream &OS);
55 void run(raw_ostream &OS);
148 void writeTableAndAPI(raw_ostream &OS, const std::string &ClassName);
281 void DFA::writeTableAndAPI(raw_ostream &OS, const std::string &TargetName) {
288 OS << "namespace llvm {\n\n";
289 OS << "const int " << TargetName << "DFAStateInputTable[][2] = {\n";
300 OS << "{" << II->first << ", "
309 OS << SentinelEntry << ",";
313 OS << "\n";
318 OS << SentinelEntry << "\n";
320 OS << "};\n\n";
321 OS << "const unsigned int " << TargetName << "DFAStateEntryTable[] = {\n";
326 OS << StateEntry[i] << ", ";
329 OS << ValidTransitions << ", ";
331 OS << "\n};\n";
332 OS << "} // namespace\n";
339 OS << "\n" << "#include \"llvm/CodeGen/DFAPacketizer.h\"\n";
340 OS << "namespace llvm {\n";
341 OS << "DFAPacketizer *" << SubTargetClassName << "::"
345 OS << "} // End llvm namespace \n";
356 raw_ostream &OS) {
409 void DFAPacketizerEmitter::run(raw_ostream &OS) {
441 collectAllInsnClasses(Name, ItinData, NStages, OS);
514 D.writeTableAndAPI(OS, TargetName);
519 void EmitDFAPacketizer(RecordKeeper &RK, raw_ostream &OS) {
520 emitSourceFileHeader("Target DFA Packetizer Tables", OS);
521 DFAPacketizerEmitter(RK).run(OS);