LLVM  6.0.0svn
Public Member Functions | Public Attributes | Friends | List of all members
llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, false > Struct Template Reference

Specialization of AnalysisResultModel which provides the default invalidate functionality. More...

#include "llvm/IR/PassManagerInternal.h"

Inheritance diagram for llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, false >:
Inheritance graph
[legend]
Collaboration diagram for llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, false >:
Collaboration graph
[legend]

Public Member Functions

 AnalysisResultModel (ResultT Result)
 
 AnalysisResultModel (const AnalysisResultModel &Arg)
 
 AnalysisResultModel (AnalysisResultModel &&Arg)
 
AnalysisResultModeloperator= (AnalysisResultModel RHS)
 
bool invalidate (IRUnitT &, const PreservedAnalysesT &PA, InvalidatorT &) override
 The model bases invalidation solely on being in the preserved set. More...
 
- Public Member Functions inherited from llvm::detail::AnalysisResultConcept< IRUnitT, PreservedAnalysesT, InvalidatorT >
virtual ~AnalysisResultConcept ()=default
 

Public Attributes

ResultT Result
 

Friends

void swap (AnalysisResultModel &LHS, AnalysisResultModel &RHS)
 

Detailed Description

template<typename IRUnitT, typename PassT, typename ResultT, typename PreservedAnalysesT, typename InvalidatorT>
struct llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, false >

Specialization of AnalysisResultModel which provides the default invalidate functionality.

Definition at line 167 of file PassManagerInternal.h.

Constructor & Destructor Documentation

◆ AnalysisResultModel() [1/3]

template<typename IRUnitT , typename PassT , typename ResultT , typename PreservedAnalysesT , typename InvalidatorT >
llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, false >::AnalysisResultModel ( ResultT  Result)
inlineexplicit

Definition at line 170 of file PassManagerInternal.h.

◆ AnalysisResultModel() [2/3]

template<typename IRUnitT , typename PassT , typename ResultT , typename PreservedAnalysesT , typename InvalidatorT >
llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, false >::AnalysisResultModel ( const AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, false > &  Arg)
inline

Definition at line 173 of file PassManagerInternal.h.

◆ AnalysisResultModel() [3/3]

template<typename IRUnitT , typename PassT , typename ResultT , typename PreservedAnalysesT , typename InvalidatorT >
llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, false >::AnalysisResultModel ( AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, false > &&  Arg)
inline

Definition at line 174 of file PassManagerInternal.h.

Member Function Documentation

◆ invalidate()

template<typename IRUnitT , typename PassT , typename ResultT , typename PreservedAnalysesT , typename InvalidatorT >
bool llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, false >::invalidate ( IRUnitT &  ,
const PreservedAnalysesT &  PA,
InvalidatorT &   
)
inlineoverridevirtual

The model bases invalidation solely on being in the preserved set.

Implements llvm::detail::AnalysisResultConcept< IRUnitT, PreservedAnalysesT, InvalidatorT >.

Definition at line 192 of file PassManagerInternal.h.

◆ operator=()

template<typename IRUnitT , typename PassT , typename ResultT , typename PreservedAnalysesT , typename InvalidatorT >
AnalysisResultModel& llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, false >::operator= ( AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, false RHS)
inline

Definition at line 182 of file PassManagerInternal.h.

References std::swap().

Friends And Related Function Documentation

◆ swap

template<typename IRUnitT , typename PassT , typename ResultT , typename PreservedAnalysesT , typename InvalidatorT >
void swap ( AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, false > &  LHS,
AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, false > &  RHS 
)
friend

Definition at line 177 of file PassManagerInternal.h.

Member Data Documentation

◆ Result

template<typename IRUnitT , typename PassT , typename ResultT , typename PreservedAnalysesT , typename InvalidatorT >
ResultT llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, false >::Result

Definition at line 199 of file PassManagerInternal.h.


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