Lines Matching defs:walk
770 /// is determined by 'Iterator'. The walk order for enclosing regions, blocks
774 /// * the walk is in post-order, or
775 /// * the walk is in pre-order and the walk is skipped after the erasure.
779 /// * op->walk([](Operation *nestedOp) { ...});
781 /// * op->walk([](ReturnOp returnOp) { ...});
784 /// * op->walk([](... op) {
785 /// // Skip the walk of this op based on some invariant.
788 /// // Interrupt, i.e cancel, the walk based on some invariant.
798 walk(FnT &&callback) {
799 return detail::walk<Order, Iterator>(this, std::forward<FnT>(callback));
808 /// * op->walk([](Operation *nestedOp, const WalkStage &stage) { ...});
811 /// * op->walk([](ReturnOp returnOp, const WalkStage &stage) { ...});
814 /// * op->walk([](... op, const WalkStage &stage) {
815 /// // Skip the walk of this op based on some invariant.
818 /// // Interrupt, i.e cancel, the walk based on some invariant.
826 walk(FnT &&callback) {
827 return detail::walk(this, std::forward<FnT>(callback));