rustc: improve -Z trans-stats to report per-fn LLVM instruction counts and translation timing
auto merge of #7456 : graydon/rust/better-trans-stats, r=cmr

This way when you compile with -Z trans-stats you'll get a per-function cost breakdown, sorted with the most expensive functions first. Should help highlight pathological code.