[InlineCost] Preparational patch for creation of Printer pass.
authorKirill Naumov <knaumov@azul.com>
Thu, 11 Jun 2020 20:24:14 +0000 (20:24 +0000)
committerKirill Naumov <knaumov@azul.com>
Thu, 11 Jun 2020 22:29:03 +0000 (22:29 +0000)
commit1022b5eb5b37f7dc93ae36002de694541db0e0c1
tree6db9189ba5f8a9a0dbd201a160ba8314891a2634
parent030897523d43e3296f69d25a71a140d9e5793c6a
[InlineCost] Preparational patch for creation of Printer pass.

- Renaming the printer class, flag
- Refactoring
- Changing some tests

This patch is a preparational stage for introducing a new printing pass and new
functionality to the existing Annotation Writer. I plan to extend
this functionality for this tool to be more useful when looking at the inline
process.
llvm/lib/Analysis/InlineCost.cpp
llvm/test/Transforms/Inline/debuginline-cost-delta.ll
llvm/test/Transforms/Inline/print-instructions-deltas-unfinished.ll