|
MlirPassManager | mlirPassManagerCreate (MlirContext ctx) |
| Create a new top-level PassManager with the default anchor. More...
|
|
MlirPassManager | mlirPassManagerCreateOnOperation (MlirContext ctx, MlirStringRef anchorOp) |
| Create a new top-level PassManager anchored on anchorOp . More...
|
|
void | mlirPassManagerDestroy (MlirPassManager passManager) |
| Destroy the provided PassManager. More...
|
|
MlirOpPassManager | mlirPassManagerGetAsOpPassManager (MlirPassManager passManager) |
| Cast a top-level PassManager to a generic OpPassManager. More...
|
|
MlirLogicalResult | mlirPassManagerRunOnOp (MlirPassManager passManager, MlirOperation op) |
| Run the provided passManager on the given op . More...
|
|
void | mlirPassManagerEnableIRPrinting (MlirPassManager passManager, bool printBeforeAll, bool printAfterAll, bool printModuleScope, bool printAfterOnlyOnChange, bool printAfterOnlyOnFailure, MlirOpPrintingFlags flags, MlirStringRef treePrintingPath) |
| Enable IR printing. More...
|
|
void | mlirPassManagerEnableVerifier (MlirPassManager passManager, bool enable) |
| Enable / disable verify-each. More...
|
|
void | mlirPassManagerEnableTiming (MlirPassManager passManager) |
| Enable pass timing. More...
|
|
MlirOpPassManager | mlirPassManagerGetNestedUnder (MlirPassManager passManager, MlirStringRef operationName) |
| Nest an OpPassManager under the top-level PassManager, the nested passmanager will only run on operations matching the provided name. More...
|
|
MlirOpPassManager | mlirOpPassManagerGetNestedUnder (MlirOpPassManager passManager, MlirStringRef operationName) |
| Nest an OpPassManager under the provided OpPassManager, the nested passmanager will only run on operations matching the provided name. More...
|
|
void | mlirPassManagerAddOwnedPass (MlirPassManager passManager, MlirPass pass) |
| Add a pass and transfer ownership to the provided top-level mlirPassManager. More...
|
|
void | mlirOpPassManagerAddOwnedPass (MlirOpPassManager passManager, MlirPass pass) |
| Add a pass and transfer ownership to the provided mlirOpPassManager. More...
|
|
MlirLogicalResult | mlirOpPassManagerAddPipeline (MlirOpPassManager passManager, MlirStringRef pipelineElements, MlirStringCallback callback, void *userData) |
| Parse a sequence of textual MLIR pass pipeline elements and add them to the provided OpPassManager. More...
|
|
void | mlirPrintPassPipeline (MlirOpPassManager passManager, MlirStringCallback callback, void *userData) |
| Print a textual MLIR pass pipeline by sending chunks of the string representation and forwarding userData to callback`. More...
|
|
MlirLogicalResult | mlirParsePassPipeline (MlirOpPassManager passManager, MlirStringRef pipeline, MlirStringCallback callback, void *userData) |
| Parse a textual MLIR pass pipeline and assign it to the provided OpPassManager. More...
|
|
MlirPass | mlirCreateExternalPass (MlirTypeID passID, MlirStringRef name, MlirStringRef argument, MlirStringRef description, MlirStringRef opName, intptr_t nDependentDialects, MlirDialectHandle *dependentDialects, MlirExternalPassCallbacks callbacks, void *userData) |
| Creates an external MlirPass that calls the supplied callbacks using the supplied userData . More...
|
|
void | mlirExternalPassSignalFailure (MlirExternalPass pass) |
| This signals that the pass has failed. More...
|
|
MlirOpPassManager mlirOpPassManagerGetNestedUnder |
( |
MlirOpPassManager |
passManager, |
|
|
MlirStringRef |
operationName |
|
) |
| |
Nest an OpPassManager under the provided OpPassManager, the nested passmanager will only run on operations matching the provided name.
The returned OpPassManager will be destroyed when the parent is destroyed.
Definition at line 87 of file Pass.cpp.
References unwrap(), and wrap().
MlirOpPassManager mlirPassManagerGetNestedUnder |
( |
MlirPassManager |
passManager, |
|
|
MlirStringRef |
operationName |
|
) |
| |
Nest an OpPassManager under the top-level PassManager, the nested passmanager will only run on operations matching the provided name.
The returned OpPassManager will be destroyed when the parent is destroyed. To further nest more OpPassManager under the newly returned one, see mlirOpPassManagerNest
below.
Definition at line 82 of file Pass.cpp.
References unwrap(), and wrap().