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 1127 of file Attributor.h.
|
inline |
Definition at line 1172 of file Attributor.h.
References FAM.
Definition at line 1174 of file Attributor.h.
|
default |
|
inline |
Definition at line 1143 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 1188 of file Attributor.h.
|
inline |
Invalidates the analyses. Valid only when using the new pass manager.
Definition at line 1167 of file Attributor.h.
References assert(), and llvm::AnalysisManager< IRUnitT, ExtraArgTs >::clear().
Referenced by llvm::InformationCache::invalidateAnalyses().
|
staticconstexpr |
Definition at line 1140 of file Attributor.h.