Function mlir_sys::mlirCreateExternalPass
source · pub unsafe extern "C" fn mlirCreateExternalPass(
passID: MlirTypeID,
name: MlirStringRef,
argument: MlirStringRef,
description: MlirStringRef,
opName: MlirStringRef,
nDependentDialects: isize,
dependentDialects: *mut MlirDialectHandle,
callbacks: MlirExternalPassCallbacks,
userData: *mut c_void
) -> MlirPass
Expand description
Creates an external MlirPass
that calls the supplied callbacks
using the
supplied userData
. If opName
is empty, the pass is a generic operation
pass. Otherwise it is an operation pass specific to the specified pass name.