CGRAOmp  0.1
Public Member Functions | List of all members
CGRAOmp::DFGPassConcept Class Referenceabstract

The abstract class of the DFG pass manager interfaces. More...

#include <DFGPass.hpp>

Inheritance diagram for CGRAOmp::DFGPassConcept:
CGRAOmp::DFGPassModel< PassT >

Public Member Functions

virtual ~DFGPassConcept ()=default
 
virtual StringRef name () const =0
 Polymorphic method to access the name of a pass. More...
 
virtual bool run (CGRADFG &G, Loop &L, FunctionAnalysisManager &FAM, LoopAnalysisManager &LAM, LoopStandardAnalysisResults &AR)=0
 The polymorphic API which runs the pass over a given DFG. More...
 

Detailed Description

The abstract class of the DFG pass manager interfaces.

Constructor & Destructor Documentation

◆ ~DFGPassConcept()

virtual CGRAOmp::DFGPassConcept::~DFGPassConcept ( )
virtualdefault

Member Function Documentation

◆ name()

virtual StringRef CGRAOmp::DFGPassConcept::name ( ) const
pure virtual

Polymorphic method to access the name of a pass.

Returns
StringRef: the name of the actual pass

Implemented in CGRAOmp::DFGPassModel< PassT >.

◆ run()

virtual bool CGRAOmp::DFGPassConcept::run ( CGRADFG G,
Loop &  L,
FunctionAnalysisManager &  FAM,
LoopAnalysisManager &  LAM,
LoopStandardAnalysisResults &  AR 
)
pure virtual

The polymorphic API which runs the pass over a given DFG.

Parameters
GData flow graph (DFG)
LLoop associated with the DFGs
FAMFunctionAnalysisManager to access analysis results
LAMLoopAnalysisManager to access analysis results
ARLoopStandardAnalysisResults
Returns
It returns true if DFG G is changed
Otherwise, it returns false

Implemented in CGRAOmp::DFGPassModel< PassT >.


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