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.