LLVM
8.0.1
|
#include "llvm/IR/PassManager.h"
Public Member Functions | |
Result (AnalysisManagerT &InnerAM) | |
Result (Result &&Arg) | |
~Result () | |
Result & | operator= (Result &&RHS) |
AnalysisManagerT & | getManager () |
Accessor for the analysis manager. More... | |
bool | invalidate (IRUnitT &IR, const PreservedAnalyses &PA, typename AnalysisManager< IRUnitT, ExtraArgTs... >::Invalidator &Inv) |
Handler for invalidation of the outer IR unit, IRUnitT . More... | |
Definition at line 1042 of file PassManager.h.
|
inlineexplicit |
Definition at line 1044 of file PassManager.h.
Referenced by llvm::PassManager< Function >::run(), and llvm::FunctionAnalysisManagerCGSCCProxy::run().
|
inline |
Definition at line 1046 of file PassManager.h.
References Arg.
|
inline |
Definition at line 1053 of file PassManager.h.
|
inline |
Accessor for the analysis manager.
Definition at line 1073 of file PassManager.h.
Referenced by llvm::ModuleToPostOrderCGSCCPassAdaptor< CGSCCPassT >::run(), llvm::FunctionAnalysisManagerCGSCCProxy::run(), llvm::CGSCCToFunctionPassAdaptor< FunctionPassT >::run(), and updateNewSCCFunctionAnalyses().
bool llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs >::Result::invalidate | ( | IRUnitT & | IR, |
const PreservedAnalyses & | PA, | ||
typename AnalysisManager< IRUnitT, ExtraArgTs... >::Invalidator & | Inv | ||
) |
Handler for invalidation of the outer IR unit, IRUnitT
.
If the proxy analysis itself is not preserved, we assume that the set of inner IR objects contained in IRUnit may have changed. In this case, we have to call clear()
on the inner analysis manager, as it may now have stale pointers to its inner IR objects.
Regardless of whether the proxy analysis is marked as preserved, all of the analyses in the inner analysis manager are potentially invalidated based on the set of preserved analyses.
Referenced by llvm::CGSCCAnalysisManagerModuleProxy::Result<>::getManager(), llvm::FunctionAnalysisManagerCGSCCProxy::Result::getManager(), and llvm::PassManager< Function >::run().
|
inline |
Definition at line 1063 of file PassManager.h.