LLVM 20.0.0git
|
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 |
Wrapper for FunctionAnalysisManager.
Definition at line 1122 of file Attributor.h.
|
inline |
Definition at line 1167 of file Attributor.h.
References FAM.
Definition at line 1169 of file Attributor.h.
|
default |
|
inline |
Definition at line 1138 of file Attributor.h.
References Analysis, F, llvm::Pass::getAnalysis(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getCachedResult(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), and P.
Referenced by llvm::InformationCache::getAnalysisResultForFunction(), llvm::InformationCache::getTargetLibraryInfoForFunction(), and llvm::InformationCache::InformationCache().
Definition at line 1183 of file Attributor.h.
|
inline |
Invalidates the analyses. Valid only when using the new pass manager.
Definition at line 1162 of file Attributor.h.
References assert(), and llvm::AnalysisManager< IRUnitT, ExtraArgTs >::clear().
Referenced by llvm::InformationCache::invalidateAnalyses().
|
staticconstexpr |
Definition at line 1135 of file Attributor.h.