class LegacyAARGetter

Declaration

class LegacyAARGetter { /* full declaration omitted */ };

Description

This class is a functor to be used in legacy module or SCC passes for computing AA results for a function. We store the results in fields so that they live long enough to be queried, but we re-use them each time.

Declared at: llvm/include/llvm/Analysis/BasicAliasAnalysis.h:200

Member Variables

private llvm::Pass& P
private Optional<llvm::BasicAAResult> BAR
private Optional<llvm::AAResults> AAR

Method Overview

Methods

ΒΆLegacyAARGetter(llvm::Pass& P)

Declared at: llvm/include/llvm/Analysis/BasicAliasAnalysis.h:206

Parameters

llvm::Pass& P