Function mlir_sys::mlirPassManagerAddOwnedPass
source · pub unsafe extern "C" fn mlirPassManagerAddOwnedPass(
passManager: MlirPassManager,
pass: MlirPass
)
Expand description
Add a pass and transfer ownership to the provided top-level mlirPassManager. If the pass is not a generic operation pass or a ModulePass, a new OpPassManager is implicitly nested under the provided PassManager.