Function mlir_sys::mlirBlockInsertOwnedOperationBefore
source · pub unsafe extern "C" fn mlirBlockInsertOwnedOperationBefore(
block: MlirBlock,
reference: MlirOperation,
operation: MlirOperation
)
Expand description
Takes an operation owned by the caller and inserts it before the (non-owned) reference operation in the given block. If the reference is null, appends the operation. Otherwise, the reference must belong to the block.