A pass that evaluates alias analysis accuracy via N^2 pointer queries.
Declared in <llvm/Analysis/AliasAnalysisEvaluator.h>
class AAEvaluator
: public OptionalPassInfoMixin<AAEvaluator>
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.
| Name | Description |
|---|---|
OptionalPassInfoMixin<AAEvaluator> | A CRTP mix-in for passes that can be skipped. |
| Name | Description |
|---|---|
AAEvaluator [constructor] | Constructors |
~AAEvaluator [destructor] | Destroy this evaluator and print accumulated AA statistics. |
run | Run the pass over the function. |
| Name | Description |
|---|---|
isRequired | Return false; optional passes may be skipped. |