Skip to main content

mlirConversionTargetAddDynamicallyLegalDialect

Function mlirConversionTargetAddDynamicallyLegalDialect 

Source
pub unsafe extern "C" fn mlirConversionTargetAddDynamicallyLegalDialect(
    target: MlirConversionTarget,
    dialectName: MlirStringRef,
    callback: MlirConversionTargetDynamicLegalityCallback,
    userData: *mut c_void,
)
Expand description

Register the given dialect as dynamically legal, with a callback to determine per-instance legality for all operations in the dialect. The callback must not be NULL.