Compiler optimization reports

You can use the -Rpass, -Rpass-analysis, or -fsave-optimization-record LLVM options to get optimization reports.