llvm::AAEvaluator

A pass that evaluates alias analysis accuracy via N^2 pointer queries.

Synopsis

Declared in <llvm/Analysis/AliasAnalysisEvaluator.h>

class AAEvaluator
    : public OptionalPassInfoMixin<AAEvaluator>

Description

Accumulates statistics of how often the AA infrastructure returns each alias and mod/ref result when queried with all pairs of pointers in a function. Useful for evaluating changes to an AA implementation, algorithm, or the AA pipeline itself.

Base Classes

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

Member Functions

NameDescription
AAEvaluator [constructor]Constructors
~AAEvaluator [destructor]Destroy this evaluator and print accumulated AA statistics.
run Run the pass over the function.

Static Member Functions

NameDescription
isRequired Return false; optional passes may be skipped.