pub unsafe extern "C" fn mlirRewriterBaseStartOpModification(
rewriter: MlirRewriterBase,
op: MlirOperation,
)
Expand description
This method is used to notify the rewriter that an in-place operation
modification is about to happen. A call to this function must be
followed by a call to either finalizeOpModification
or
cancelOpModification
. This is a minor efficiency win (it avoids creating
a new operation and removing the old one) but also often allows simpler
code in the client.