mlir_sys

Function mlirOperationWalk

Source
pub unsafe extern "C" fn mlirOperationWalk(
    op: MlirOperation,
    callback: MlirOperationWalkCallback,
    userData: *mut c_void,
    walkOrder: MlirWalkOrder,
)
Expand description

Walks operation op in walkOrder and calls callback on that operation. *userData is passed to the callback as well and can be used to tunnel some context or other data into the callback.