MLIR  20.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 >:

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 117 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 119 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 124 of file AnalysisManager.h.

References mlir::detail::AnalysisModel< AnalysisT >::analysis, and 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 132 of file AnalysisManager.h.

Referenced by mlir::detail::AnalysisModel< AnalysisT >::invalidate().


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