|
CGRAOmp
0.1
|
A class to access the DFG Passes. More...
#include <DFGPass.hpp>
Public Types | |
| using | CallBackT = std::function< bool(StringRef, DFGPassManager &)> |
Public Member Functions | |
| DFGPassBuilder () | |
| void | registerPipelineParsingCallback (const CallBackT &C) |
| Register a call back function to parse the pass pipeline. More... | |
| Error | parsePassPipeline (DFGPassManager &DPM, ArrayRef< std::string > PipelineText) |
| Parsing the pipeline setting for DFG optimization. More... | |
Private Member Functions | |
| Error | search_callback () |
| Looking up call back function in the dynamic libraries. More... | |
Private Attributes | |
| SmallVector< CallBackT > | callback_list |
A class to access the DFG Passes.
| using CGRAOmp::DFGPassBuilder::CallBackT = std::function<bool(StringRef, DFGPassManager &)> |
| DFGPassBuilder::DFGPassBuilder | ( | ) |
| Error DFGPassBuilder::parsePassPipeline | ( | DFGPassManager & | DPM, |
| ArrayRef< std::string > | PipelineText | ||
| ) |
Parsing the pipeline setting for DFG optimization.
| DPM | DFGPassManager |
| PipelineText | a list of name of passes to be applied |
| void DFGPassBuilder::registerPipelineParsingCallback | ( | const CallBackT & | C | ) |
Register a call back function to parse the pass pipeline.
| C | Call back function |
|
private |
Looking up call back function in the dynamic libraries.
An exmaple of the call back function:
|
private |
1.8.17