Strips MemProf attributes and metadata.
Declared in <llvm/Transforms/IPO/MemProfContextDisambiguation.h>
class MemProfRemoveInfo
: public OptionalPassInfoMixin<MemProfRemoveInfo>
Can be invoked by the pass pipeline when we don't have an index that has recorded that we are linking with allocation libraries containing the necessary APIs for downstream transformations.
| Name | Description |
|---|---|
OptionalPassInfoMixin<MemProfRemoveInfo> | A CRTP mix-in for passes that can be skipped. |
| Name | Description |
|---|---|
run | Strip MemProf attributes and metadata from the given module. |
| Name | Description |
|---|---|
isRequired | Return false; optional passes may be skipped. |