MLIR  16.0.0git
Public Member Functions | List of all members
mlir::detail::AnalysisConcept Struct Referenceabstract

The abstract polymorphic base class representing an analysis. More...

#include "mlir/Pass/AnalysisManager.h"

+ Inheritance diagram for mlir::detail::AnalysisConcept:

Public Member Functions

virtual ~AnalysisConcept ()=default
 
virtual bool invalidate (PreservedAnalyses &pa)=0
 A hook used to query analyses for invalidation. More...
 

Detailed Description

The abstract polymorphic base class representing an analysis.

Definition at line 102 of file AnalysisManager.h.

Constructor & Destructor Documentation

◆ ~AnalysisConcept()

virtual mlir::detail::AnalysisConcept::~AnalysisConcept ( )
virtualdefault

Member Function Documentation

◆ invalidate()

virtual bool mlir::detail::AnalysisConcept::invalidate ( PreservedAnalyses pa)
pure virtual

A hook used to query analyses for invalidation.

Given a preserved analysis set, returns true if it should truly be invalidated. This allows for more fine-tuned invalidation in cases where an analysis wasn't explicitly marked preserved, but may be preserved(or invalidated) based upon other properties such as analyses sets. Invalidated analyses must also be removed from pa.

Implemented in mlir::detail::AnalysisModel< AnalysisT >.


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