mlirBlockGetPredecessor

Function mlirBlockGetPredecessor 

Source
pub unsafe extern "C" fn mlirBlockGetPredecessor(
    block: MlirBlock,
    pos: isize,
) -> MlirBlock
Expand description

Returns pos-th predecessor of the block.

WARNING: This getter is more expensive than the others here because the impl actually iterates the use-def chain (of block operands) anew for each indexed access.