MLIR  16.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::detail::AnalysisModel< AnalysisT > Struct Template Reference

A derived analysis model used to hold a specific analysis object. More...

#include "mlir/Pass/AnalysisManager.h"

+ Inheritance diagram for mlir::detail::AnalysisModel< AnalysisT >:
+ Collaboration diagram for mlir::detail::AnalysisModel< AnalysisT >:

Public Member Functions

template<typename... Args>
 AnalysisModel (Args &&...args)
 
bool invalidate (PreservedAnalyses &pa) final
 A hook used to query analyses for invalidation. More...
 
- Public Member Functions inherited from mlir::detail::AnalysisConcept
virtual ~AnalysisConcept ()=default
 

Public Attributes

AnalysisT analysis
 The actual analysis object. More...
 

Detailed Description

template<typename AnalysisT>
struct mlir::detail::AnalysisModel< AnalysisT >

A derived analysis model used to hold a specific analysis object.

Definition at line 116 of file AnalysisManager.h.

Constructor & Destructor Documentation

◆ AnalysisModel()

template<typename AnalysisT>
template<typename... Args>
mlir::detail::AnalysisModel< AnalysisT >::AnalysisModel ( Args &&...  args)
inlineexplicit

Definition at line 118 of file AnalysisManager.h.

Member Function Documentation

◆ invalidate()

template<typename AnalysisT>
bool mlir::detail::AnalysisModel< AnalysisT >::invalidate ( PreservedAnalyses pa)
inlinefinalvirtual

A hook used to query analyses for invalidation.

Removes invalidated analyses from pa.

Implements mlir::detail::AnalysisConcept.

Definition at line 123 of file AnalysisManager.h.

References mlir::detail::analysis_impl::isInvalidated().

Member Data Documentation

◆ analysis

template<typename AnalysisT>
AnalysisT mlir::detail::AnalysisModel< AnalysisT >::analysis

The actual analysis object.

Definition at line 131 of file AnalysisManager.h.


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