Lines Matching defs:before

53 // created before the continuation block. It checks the exit condition of the
65 // | <code before the ForOp> |
135 // | <code before the IfOp> |
165 // | <code before the IfOp> |
228 /// | <code before the WhileOp> |
229 /// | cf.br ^before(%operands...) |
235 /// | | ^before(%bargs...): |
242 /// | | ^before-last:
260 /// | | cf.br ^before(%yields...) | |
268 /// | <%vals from 'before' region |
273 /// to form a region before inlining) through block arguments of their
275 /// the results of the WhileOp are defined in the 'before' region, which is
286 /// forwarding its arguments back to the "before" region (i.e., a "do-while"
288 /// to the "before" entry instead.
322 // The part before will get the init code, the part after will be the end
355 // Compute loop bounds before branching to the condition.
397 // The part before will contain the condition, the part after will be the
413 // place it before the continuation block, and branch to it.
424 // 'scf.if', place it before the continuation block and branch to it. It
562 // Split the current block before the WhileOp to create the inlining point.
569 Block *before = whileOp.getBeforeBody();
573 // Branch to the "before" region.
575 rewriter.create<cf::BranchOp>(loc, before, whileOp.getInits());
580 rewriter.setInsertionPointToEnd(before);
581 auto condOp = cast<ConditionOp>(before->getTerminator());
588 rewriter.replaceOpWithNewOp<cf::BranchOp>(yieldOp, before,
591 // Replace the op with values "yielded" from the "before" region, which are
613 // Split the current block before the WhileOp to create the inlining point.
619 // Only the "before" region should be inlined.
620 Block *before = whileOp.getBeforeBody();
623 // Branch to the "before" region.
625 rewriter.create<cf::BranchOp>(whileOp.getLoc(), before, whileOp.getInits());
627 // Loop around the "before" region based on condition.
628 rewriter.setInsertionPointToEnd(before);
629 auto condOp = cast<ConditionOp>(before->getTerminator());
631 before, condOp.getArgs(),
634 // Replace the op with values "yielded" from the "before" region, which are