Pass that prints per-instruction inline cost annotations for debugging.
Declared in <llvm/Analysis/InlineCost.h>
struct InlineCostAnnotationPrinterPass
: RequiredPassInfoMixin<InlineCostAnnotationPrinterPass>
This pass is used to annotate instructions during the inline process for debugging and analysis. The main purpose of the pass is to see and test inliner's decisions when creating new optimizations to InlineCost.
| Name | Description |
|---|---|
RequiredPassInfoMixin<InlineCostAnnotationPrinterPass> | A CRTP mix-in for passes that should not be skipped. |
| Name | Description |
|---|---|
InlineCostAnnotationPrinterPass [constructor] | Construct a printer that writes annotations to OS. |
run | Print inline-cost annotations for every viable call in F. |
| Name | Description |
|---|---|
isRequired | Return true; required passes cannot be skipped. |
| Name | Description |
|---|---|
OS | Stream that receives the inline-cost annotation dump. |