Function rustc_middle::mir::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.
fn to_profiler_name(type_name: &'static str) -> &'static str
Converts a MIR pass name into a snake case form to match the profiling naming style.