Function mlir_sys::mlirBlockInsertOwnedOperation
source · pub unsafe extern "C" fn mlirBlockInsertOwnedOperation(
block: MlirBlock,
pos: isize,
operation: MlirOperation
)Expand description
Takes an operation owned by the caller and inserts it as pos to the block.
This is an expensive operation that scans the block linearly, prefer
insertBefore/After instead.