llvm::AttributorConfig

Configuration for the Attributor.

Synopsis

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

struct AttributorConfig;

Type Aliases

NameDescription
IPOAmendableCBTy Callback type determining if a function is IPO-amendable.
OptimizationRemarkGetter Callback type that returns an ORE object from a Function pointer.

Member Functions

NameDescription
AttributorConfig [constructor]Construct an Attributor configuration.

Data Members

NameDescription
Allowed If not null, a set limiting the attribute opportunities.
CGUpdater Helper to update an underlying call graph and to delete functions.
DefaultInitializeLiveInternals Flag to determine if we want to initialize all default AAs for an internal function marked live. See also: InitializationCallback>
DeleteFns Flag to determine if we can delete functions or keep dead ones around.
IPOAmendableCB Callback determining if a function is IPO-amendable.
IndirectCalleeSpecializationCallback Callback function to determine if an indirect call targets should be made direct call targets (with an if-cascade).
InitializationCallback Callback function to be invoked on internal functions marked live.
IsClosedWorldModule Flag to indicate if the entire world is contained in this module, that is, no outside functions exist.
IsModulePass True if the Attributor user is a module pass.
MaxFixpointIterations Maximum number of iterations to run until fixpoint.
OREGetter Callback that returns an OptimizationRemarkEmitter for a function.
PassName The name of the pass running the attributor, used to emit remarks.
RewriteSignatures Flag to determine if we rewrite function signatures.
UseLiveness Flag to determine if we should skip all liveness checks early on.