Pass that builds call-graph profile counts and attaches them as module metadata.
Declared in <llvm/Transforms/Instrumentation/CGProfile.h>
class CGProfilePass
: public OptionalPassInfoMixin<CGProfilePass>
| Name | Description |
|---|---|
OptionalPassInfoMixin<CGProfilePass> | A CRTP mix-in for passes that can be skipped. |
| Name | Description |
|---|---|
CGProfilePass [constructor] | Construct a call-graph profile pass. |
run | Collect call-graph profile counts for M and emit them as module flags. |
| Name | Description |
|---|---|
isRequired | Return false; optional passes may be skipped. |