mlir_sys

Function mlirAsmStateCreateForOperation

Source
pub unsafe extern "C" fn mlirAsmStateCreateForOperation(
    op: MlirOperation,
    flags: MlirOpPrintingFlags,
) -> MlirAsmState
Expand description

Creates new AsmState, as with AsmState the IR should not be mutated in-between using this state. Must be freed with a call to mlirAsmStateDestroy().