Lines Matching refs:output
222 static void DumpAsDotNode(std::ostream& output, const SchedulingNode* node) { in DumpAsDotNode() argument
226 output << instruction_id << "[shape=record, label=\"" in DumpAsDotNode()
232 output << seperator << InstructionTypeId(input); in DumpAsDotNode()
235 output << "]"; in DumpAsDotNode()
237 output << "\\ninternal_latency: " << node->GetInternalLatency(); in DumpAsDotNode()
238 output << "\\ncritical_path: " << node->GetCriticalPath(); in DumpAsDotNode()
240 output << "\\n(barrier)"; in DumpAsDotNode()
242 output << "\"];\n"; in DumpAsDotNode()
247 output << InstructionTypeId(predecessor_instruction) << ":s -> " << instruction_id << ":n " in DumpAsDotNode()
252 output << InstructionTypeId(predecessor_instruction) << ":s -> " << instruction_id << ":n " in DumpAsDotNode()
261 std::ofstream output("scheduling_graphs.dot", std::ofstream::out | std::ofstream::app); in DumpAsDotGraph() local
263 output << "// " << description << "\n"; in DumpAsDotGraph()
265 output << "digraph G {\n"; in DumpAsDotGraph()
267 DumpAsDotNode(output, entry.second); in DumpAsDotGraph()
272 output << InstructionTypeId(instruction) << ":s -> end_of_scheduling:n " in DumpAsDotGraph()
276 output << "}\n"; in DumpAsDotGraph()
277 output.close(); in DumpAsDotGraph()