Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
llvm::AnalysisGetter Struct Reference

Wrapper for FunctionAnalysisManager. More...

#include "llvm/Transforms/IPO/Attributor.h"

Public Member Functions

template<typename Analysis>
Analysis::Result * getAnalysis (const Function &F, bool RequestCachedOnly=false)
void invalidateAnalyses ()
 Invalidates the analyses. Valid only when using the new pass manager.
 AnalysisGetter (FunctionAnalysisManager &FAM, bool CachedOnly=false)
 AnalysisGetter (Pass *P, bool CachedOnly=false)
 AnalysisGetter ()=default

Static Public Member Functions

template<typename Analysis>
constexpr bool HasLegacyWrapper

Static Public Attributes

template<typename, typename = void>
static constexpr bool HasLegacyWrapper = false

Detailed Description

Wrapper for FunctionAnalysisManager.

Definition at line 1134 of file Attributor.h.

Constructor & Destructor Documentation

◆ AnalysisGetter() [1/3]

llvm::AnalysisGetter::AnalysisGetter ( FunctionAnalysisManager & FAM,
bool CachedOnly = false )
inline

Definition at line 1179 of file Attributor.h.

◆ AnalysisGetter() [2/3]

llvm::AnalysisGetter::AnalysisGetter ( Pass * P,
bool CachedOnly = false )
inline

Definition at line 1181 of file Attributor.h.

References P.

◆ AnalysisGetter() [3/3]

llvm::AnalysisGetter::AnalysisGetter ( )
default

Member Function Documentation

◆ getAnalysis()

template<typename Analysis>
Analysis::Result * llvm::AnalysisGetter::getAnalysis ( const Function & F,
bool RequestCachedOnly = false )
inline

Definition at line 1150 of file Attributor.h.

References Analysis, F, HasLegacyWrapper, and P.

◆ HasLegacyWrapper()

template<typename Analysis>
bool llvm::AnalysisGetter::HasLegacyWrapper
staticconstexpr

Definition at line 1195 of file Attributor.h.

References Analysis, and HasLegacyWrapper.

◆ invalidateAnalyses()

void llvm::AnalysisGetter::invalidateAnalyses ( )
inline

Invalidates the analyses. Valid only when using the new pass manager.

Definition at line 1174 of file Attributor.h.

References assert().

Member Data Documentation

◆ HasLegacyWrapper

template<typename, typename = void>
bool llvm::AnalysisGetter::HasLegacyWrapper = false
staticconstexpr

Definition at line 1147 of file Attributor.h.

Referenced by getAnalysis(), and HasLegacyWrapper().


The documentation for this struct was generated from the following file: