llvm::MemProfRemoveInfo

Strips MemProf attributes and metadata.

Synopsis

Declared in <llvm/Transforms/IPO/MemProfContextDisambiguation.h>

class MemProfRemoveInfo
    : public OptionalPassInfoMixin<MemProfRemoveInfo>

Description

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.

Base Classes

NameDescription
OptionalPassInfoMixin<MemProfRemoveInfo>A CRTP mix-in for passes that can be skipped.

Member Functions

NameDescription
run Strip MemProf attributes and metadata from the given module.

Static Member Functions

NameDescription
isRequired Return false; optional passes may be skipped.