LLVM 20.0.0git
|
Result proxy object for OuterAnalysisManagerProxy
.
More...
#include "llvm/IR/PassManager.h"
Public Member Functions | |
Result (const AnalysisManagerT &OuterAM) | |
template<typename PassT , typename IRUnitTParam > | |
PassT::Result * | getCachedResult (IRUnitTParam &IR) const |
Get a cached analysis. | |
template<typename PassT , typename IRUnitTParam > | |
bool | cachedResultExists (IRUnitTParam &IR) const |
Method provided for unit testing, not intended for general use. | |
bool | invalidate (IRUnitT &IRUnit, const PreservedAnalyses &PA, typename AnalysisManager< IRUnitT, ExtraArgTs... >::Invalidator &Inv) |
When invalidation occurs, remove any registered invalidation events. | |
template<typename OuterAnalysisT , typename InvalidatedAnalysisT > | |
void | registerOuterAnalysisInvalidation () |
Register a deferred invalidation event for when the outer analysis manager processes its invalidations. | |
const SmallDenseMap< AnalysisKey *, TinyPtrVector< AnalysisKey * >, 2 > & | getOuterInvalidations () const |
Access the map from outer analyses to deferred invalidation requiring analyses. | |
Result proxy object for OuterAnalysisManagerProxy
.
Definition at line 695 of file PassManager.h.
|
inlineexplicit |
Definition at line 697 of file PassManager.h.
|
inline |
Method provided for unit testing, not intended for general use.
Definition at line 712 of file PassManager.h.
References IR.
|
inline |
Get a cached analysis.
If the analysis can be invalidated, this will assert.
Definition at line 702 of file PassManager.h.
References IR.
|
inline |
Access the map from outer analyses to deferred invalidation requiring analyses.
Definition at line 761 of file PassManager.h.
|
inline |
When invalidation occurs, remove any registered invalidation events.
Definition at line 719 of file PassManager.h.
References llvm::erase_if(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::Invalidator::invalidate(), and llvm::SmallVectorTemplateBase< T, bool >::push_back().
|
inline |
Register a deferred invalidation event for when the outer analysis manager processes its invalidations.
Definition at line 745 of file PassManager.h.
References llvm::is_contained().