LLVM 20.0.0git
Public Member Functions | Public Attributes | Friends | List of all members
llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, 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, InvalidatorT, true >:
Inheritance graph
[legend]

Public Member Functions

 AnalysisResultModel (ResultT Result)
 
 AnalysisResultModel (const AnalysisResultModel &Arg)
 
 AnalysisResultModel (AnalysisResultModel &&Arg)
 
AnalysisResultModeloperator= (AnalysisResultModel RHS)
 
bool invalidate (IRUnitT &IR, const PreservedAnalyses &PA, InvalidatorT &Inv) override
 The model delegates to the ResultT method.
 
- Public Member Functions inherited from llvm::detail::AnalysisResultConcept< IRUnitT, InvalidatorT >
virtual ~AnalysisResultConcept ()=default
 
virtual bool invalidate (IRUnitT &IR, const PreservedAnalyses &PA, InvalidatorT &Inv)=0
 Method to try and mark a result as invalid.
 

Public Attributes

ResultT Result
 

Friends

void swap (AnalysisResultModel &LHS, AnalysisResultModel &RHS)
 

Detailed Description

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

Specialization of AnalysisResultModel which delegates invalidate handling to ResultT.

Definition at line 237 of file PassManagerInternal.h.

Constructor & Destructor Documentation

◆ AnalysisResultModel() [1/3]

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

Definition at line 239 of file PassManagerInternal.h.

◆ AnalysisResultModel() [2/3]

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

Definition at line 242 of file PassManagerInternal.h.

◆ AnalysisResultModel() [3/3]

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

Definition at line 243 of file PassManagerInternal.h.

Member Function Documentation

◆ invalidate()

template<typename IRUnitT , typename PassT , typename ResultT , typename InvalidatorT >
bool llvm::detail::AnalysisResultModel< IRUnitT, PassT, ResultT, InvalidatorT, true >::invalidate ( IRUnitT &  IR,
const PreservedAnalyses PA,
InvalidatorT &  Inv 
)
inlineoverridevirtual

The model delegates to the ResultT method.

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

Definition at line 257 of file PassManagerInternal.h.

References IR.

◆ operator=()

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

Definition at line 251 of file PassManagerInternal.h.

References RHS.

Friends And Related Function Documentation

◆ swap

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

Definition at line 246 of file PassManagerInternal.h.

Member Data Documentation

◆ Result

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

Definition at line 262 of file PassManagerInternal.h.


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