LLVM  8.0.1
Public Member Functions | List of all members
llvm::OuterAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs >::Result Class Reference

Result proxy object for OuterAnalysisManagerProxy. More...

#include "llvm/IR/PassManager.h"

Public Member Functions

 Result (const AnalysisManagerT &AM)
 
const AnalysisManagerT & getManager () const
 
bool invalidate (IRUnitT &IRUnit, const PreservedAnalyses &PA, typename AnalysisManager< IRUnitT, ExtraArgTs... >::Invalidator &Inv)
 When invalidation occurs, remove any registered invalidation events. More...
 
template<typename OuterAnalysisT , typename InvalidatedAnalysisT >
void registerOuterAnalysisInvalidation ()
 Register a deferred invalidation event for when the outer analysis manager processes its invalidations. More...
 
const SmallDenseMap< AnalysisKey *, TinyPtrVector< AnalysisKey * >, 2 > & getOuterInvalidations () const
 Access the map from outer analyses to deferred invalidation requiring analyses. More...
 

Detailed Description

template<typename AnalysisManagerT, typename IRUnitT, typename... ExtraArgTs>
class llvm::OuterAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs >::Result

Result proxy object for OuterAnalysisManagerProxy.

Definition at line 1159 of file PassManager.h.

Constructor & Destructor Documentation

◆ Result()

template<typename AnalysisManagerT , typename IRUnitT , typename... ExtraArgTs>
llvm::OuterAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs >::Result::Result ( const AnalysisManagerT &  AM)
inlineexplicit

Definition at line 1161 of file PassManager.h.

Member Function Documentation

◆ getManager()

template<typename AnalysisManagerT , typename IRUnitT , typename... ExtraArgTs>
const AnalysisManagerT& llvm::OuterAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs >::Result::getManager ( ) const
inline

Definition at line 1163 of file PassManager.h.

◆ getOuterInvalidations()

template<typename AnalysisManagerT , typename IRUnitT , typename... ExtraArgTs>
const SmallDenseMap<AnalysisKey *, TinyPtrVector<AnalysisKey *>, 2>& llvm::OuterAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs >::Result::getOuterInvalidations ( ) const
inline

Access the map from outer analyses to deferred invalidation requiring analyses.

Definition at line 1210 of file PassManager.h.

◆ invalidate()

template<typename AnalysisManagerT , typename IRUnitT , typename... ExtraArgTs>
bool llvm::OuterAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs >::Result::invalidate ( IRUnitT &  IRUnit,
const PreservedAnalyses PA,
typename AnalysisManager< IRUnitT, ExtraArgTs... >::Invalidator &  Inv 
)
inline

When invalidation occurs, remove any registered invalidation events.

Definition at line 1166 of file PassManager.h.

References llvm::AnalysisManager< IRUnitT, ExtraArgTs >::Invalidator::invalidate(), llvm::SmallVectorTemplateBase< T >::push_back(), and llvm::remove_if().

◆ registerOuterAnalysisInvalidation()

template<typename AnalysisManagerT , typename IRUnitT , typename... ExtraArgTs>
template<typename OuterAnalysisT , typename InvalidatedAnalysisT >
void llvm::OuterAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs >::Result::registerOuterAnalysisInvalidation ( )
inline

Register a deferred invalidation event for when the outer analysis manager processes its invalidations.

Definition at line 1192 of file PassManager.h.

References llvm::find().


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