make MIR graphviz generation use gsgdt

gsgdt [https://crates.io/crates/gsgdt] is a crate which provides an
interface for stringly typed graphs. It also provides generation of
graphviz dot format from said graph.
This commit is contained in:
Vishnunarayan K I
2020-10-26 19:04:29 +05:30
parent 25f6938da4
commit ea1460773f
6 changed files with 109 additions and 148 deletions

View File

@@ -8,6 +8,7 @@ mod alignment;
pub mod collect_writes;
mod find_self_call;
pub(crate) mod generic_graphviz;
mod generic_graph;
mod graphviz;
pub(crate) mod pretty;
pub(crate) mod spanview;
@@ -15,6 +16,6 @@ pub(crate) mod spanview;
pub use self::aggregate::expand_aggregate;
pub use self::alignment::is_disaligned;
pub use self::find_self_call::find_self_call;
pub use self::graphviz::write_node_label as write_graphviz_node_label;
pub use self::graphviz::{graphviz_safe_def_name, write_mir_graphviz};
pub use self::generic_graph::graphviz_safe_def_name;
pub use self::graphviz::write_mir_graphviz;
pub use self::pretty::{dump_enabled, dump_mir, write_mir_pretty, PassWhere};