rustc_mir_transform::pass_manager

Function to_profiler_name

source
fn to_profiler_name(type_name: &'static str) -> &'static str
Expand description

Converts a MIR pass name into a snake case form to match the profiling naming style.