CGRAOmp  0.1
Public Member Functions | Private Attributes | List of all members
CGRAOmp::DFGPassManager Class Reference

Manages a sequence of passes over a DFG. More...

#include <DFGPass.hpp>

Public Member Functions

template<typename PassT >
void addPass (PassT Pass)
 Adding a pass to the DFG pass manager. More...
 
bool run (CGRADFG &G, Loop &L, FunctionAnalysisManager &FAM, LoopAnalysisManager &LAM, LoopStandardAnalysisResults &AR)
 Running all DFG Passes in order of registration to the pipeline. More...
 

Private Attributes

SmallVector< DFGPassConcept * > pipeline
 

Detailed Description

Manages a sequence of passes over a DFG.

Member Function Documentation

◆ addPass()

template<typename PassT >
void CGRAOmp::DFGPassManager::addPass ( PassT  Pass)
inline

Adding a pass to the DFG pass manager.

Template Parameters
PassTuser defined DFG Pass type
Parameters
Passpass to be added

◆ run()

bool DFGPassManager::run ( CGRADFG G,
Loop &  L,
FunctionAnalysisManager &  FAM,
LoopAnalysisManager &  LAM,
LoopStandardAnalysisResults &  AR 
)

Running all DFG Passes in order of registration to the pipeline.

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

Member Data Documentation

◆ pipeline

SmallVector<DFGPassConcept*> CGRAOmp::DFGPassManager::pipeline
private

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