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

Specialization of AnalysisResultModel which delegates invalidate handling to ResultT. More...

#include "llvm/IR/PassManagerInternal.h"

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

Public Member Functions

 AnalysisResultModel (ResultT Result)
 
 AnalysisResultModel (const AnalysisResultModel &Arg)
 
 AnalysisResultModel (AnalysisResultModel &&Arg)
 
AnalysisResultModeloperator= (AnalysisResultModel RHS)
 
bool invalidate (IRUnitT &IR, const PreservedAnalysesT &PA, InvalidatorT &Inv) override
 The model delegates to the ResultT method. 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, true >

Specialization of AnalysisResultModel which delegates invalidate handling to ResultT.

Definition at line 206 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, true >::AnalysisResultModel ( ResultT  Result)
inlineexplicit

Definition at line 209 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, true >::AnalysisResultModel ( const AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, true > &  Arg)
inline

Definition at line 212 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, true >::AnalysisResultModel ( AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, true > &&  Arg)
inline

Definition at line 213 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, true >::invalidate ( IRUnitT &  IR,
const PreservedAnalysesT &  PA,
InvalidatorT &  Inv 
)
inlineoverridevirtual

The model delegates to the ResultT method.

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

Definition at line 227 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, true >::operator= ( AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, true RHS)
inline

Definition at line 221 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, true > &  LHS,
AnalysisResultModel< IRUnitT, PassT, ResultT, PreservedAnalysesT, InvalidatorT, true > &  RHS 
)
friend

Definition at line 216 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, true >::Result

Definition at line 232 of file PassManagerInternal.h.


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