|
CIRCT 23.0.0git
|
Namespaces | |
| namespace | runtime |
Classes | |
| class | ArcCostModel |
| struct | ArcReducePatternDialectInterface |
| A dialect interface to provide reduction patterns to a reducer tool. More... | |
| struct | ModelInfo |
| Gathers information about a given Arc model. More... | |
| struct | ModelInfoAnalysis |
| struct | OperationCosts |
| class | RuntimeCostEstimateDialectInterface |
| A dialect interface to get runtime cost estimates of MLIR operations. More... | |
| struct | StateInfo |
| Gathers information about a given Arc state. More... | |
Functions | |
| void | registerCombRuntimeCostEstimateInterface (mlir::DialectRegistry ®istry) |
| void | registerHWRuntimeCostEstimateInterface (mlir::DialectRegistry ®istry) |
| void | registerSCFRuntimeCostEstimateInterface (mlir::DialectRegistry ®istry) |
| void | initAllExternalInterfaces (mlir::DialectRegistry ®istry) |
| void | registerReducePatternDialectInterface (mlir::DialectRegistry ®istry) |
| Register the Arc Reduction pattern dialect interface to the given registry. | |
| mlir::LogicalResult | collectStates (mlir::Value storage, unsigned offset, llvm::SmallVector< StateInfo > &states) |
Collects information about states within the provided Arc model storage storage, assuming default offset, and adds it to states. | |
| mlir::LogicalResult | collectModels (mlir::ModuleOp module, llvm::SmallVector< ModelInfo > &models) |
Collects information about all Arc models in the provided module, and adds it to models. | |
| void | serializeModelInfoToJson (llvm::raw_ostream &outputStream, llvm::ArrayRef< ModelInfo > models) |
Serializes models to outputStream in JSON format. | |
| mlir::LogicalResult | collectAndExportModelInfo (mlir::ModuleOp module, llvm::raw_ostream &os) |
| Collects and exports Arc model info to JSON. | |
| void | registerArcModelInfoTranslation () |
| Registers CIRCT translation from Arc to JSON model info. | |
| mlir::LogicalResult circt::arc::collectAndExportModelInfo | ( | mlir::ModuleOp | module, |
| llvm::raw_ostream & | os | ||
| ) |
Collects and exports Arc model info to JSON.
| mlir::LogicalResult circt::arc::collectModels | ( | mlir::ModuleOp | module, |
| llvm::SmallVector< ModelInfo > & | models | ||
| ) |
Collects information about all Arc models in the provided module, and adds it to models.
| mlir::LogicalResult circt::arc::collectStates | ( | mlir::Value | storage, |
| unsigned | offset, | ||
| llvm::SmallVector< StateInfo > & | states | ||
| ) |
Collects information about states within the provided Arc model storage storage, assuming default offset, and adds it to states.
Referenced by circt::arc::ModelInfoAnalysis::ModelInfoAnalysis().
|
inline |
Definition at line 30 of file ArcInterfaces.h.
References registerCombRuntimeCostEstimateInterface(), registerHWRuntimeCostEstimateInterface(), and registerSCFRuntimeCostEstimateInterface().
| void circt::arc::registerArcModelInfoTranslation | ( | ) |
Registers CIRCT translation from Arc to JSON model info.
Definition at line 33 of file ModelInfoExport.cpp.
Referenced by circt::registerAllTranslations().
| void circt::arc::registerCombRuntimeCostEstimateInterface | ( | mlir::DialectRegistry & | registry | ) |
Definition at line 115 of file RuntimeCostEstimateInterfaceImpl.cpp.
Referenced by initAllExternalInterfaces().
| void circt::arc::registerHWRuntimeCostEstimateInterface | ( | mlir::DialectRegistry & | registry | ) |
Definition at line 122 of file RuntimeCostEstimateInterfaceImpl.cpp.
Referenced by initAllExternalInterfaces().
| void circt::arc::registerReducePatternDialectInterface | ( | mlir::DialectRegistry & | registry | ) |
Register the Arc Reduction pattern dialect interface to the given registry.
Definition at line 62 of file ArcReductions.cpp.
| void circt::arc::registerSCFRuntimeCostEstimateInterface | ( | mlir::DialectRegistry & | registry | ) |
Definition at line 129 of file RuntimeCostEstimateInterfaceImpl.cpp.
Referenced by initAllExternalInterfaces().
| void circt::arc::serializeModelInfoToJson | ( | llvm::raw_ostream & | outputStream, |
| llvm::ArrayRef< ModelInfo > | models | ||
| ) |
Serializes models to outputStream in JSON format.