[−][src]Module rustc_mir::util::graphviz

Functions

escape
graphviz_safe_def_name
node
write_edges

Write graphviz DOT edges with labels between the given basic block and all of its successors.

write_graph_label

Write the graphviz DOT label for the overall graph. This is essentially a block of text that will appear below the graph, showing the type of the fn this MIR represents and the types of all the variables and temporaries.

write_mir_fn_graphviz

Write a graphviz DOT graph of the MIR.

write_mir_graphviz

Write a graphviz DOT graph of a list of MIRs.

write_node

Write a graphviz DOT node for the given basic block.

write_node_label

Write a graphviz HTML-styled label for the given basic block, with all necessary escaping already performed. (This is suitable for emitting directly, as is done in this module, or for use with the LabelText::HtmlStr from librustc_graphviz.)