Function mlir_sys::mlirOpPassManagerAddOwnedPass
source · pub unsafe extern "C" fn mlirOpPassManagerAddOwnedPass(
passManager: MlirOpPassManager,
pass: MlirPass
)
Expand description
Add a pass and transfer ownership to the provided mlirOpPassManager. If the pass is not a generic operation pass or matching the type of the provided PassManager, a new OpPassManager is implicitly nested under the provided PassManager.