Skip to main content

mlirOpConversionPatternCreate

Function mlirOpConversionPatternCreate 

Source
pub unsafe extern "C" fn mlirOpConversionPatternCreate(
    rootName: MlirStringRef,
    benefit: c_uint,
    context: MlirContext,
    typeConverter: MlirTypeConverter,
    callbacks: MlirConversionPatternCallbacks,
    userData: *mut c_void,
    nGeneratedNames: usize,
    generatedNames: *mut MlirStringRef,
) -> MlirConversionPattern
Expand description

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