mlirOpRewritePatternCreate

Function mlirOpRewritePatternCreate 

Source
pub unsafe extern "C" fn mlirOpRewritePatternCreate(
    rootName: MlirStringRef,
    benefit: c_uint,
    context: MlirContext,
    callbacks: MlirRewritePatternCallbacks,
    userData: *mut c_void,
    nGeneratedNames: usize,
    generatedNames: *mut MlirStringRef,
) -> MlirRewritePattern
Expand description

Create a rewrite pattern that matches the operation with the given rootName, corresponding to mlir::OpRewritePattern.