Lines Matching defs:branch
114 // The results of a region branch operation are determined by control-flow.
115 if (auto branch = dyn_cast<RegionBranchOpInterface>(op)) {
116 visitRegionSuccessors(getProgramPointAfter(branch), branch,
206 if (auto branch = dyn_cast<RegionBranchOpInterface>(block->getParentOp())) {
207 return visitRegionSuccessors(getProgramPointBefore(block), branch,
231 if (auto branch =
234 branch.getSuccessorOperands(it.getSuccessorIndex());
252 ProgramPoint *point, RegionBranchOpInterface branch,
263 if (op == branch) {
264 operands = branch.getEntrySuccessorOperands(successor);
286 branch,
288 branch->getResults().slice(firstIndex, inputs.size())),
295 branch,
412 // Block arguments of region branch operations flow back into the operands
414 if (auto branch = dyn_cast<RegionBranchOpInterface>(op)) {
415 visitRegionSuccessors(branch, operandLattices);
419 if (auto branch = dyn_cast<BranchOpInterface>(op)) {
428 SuccessorOperands successorOperands = branch.getSuccessorOperands(index);
445 // of the branch operation itself (for example the boolean for if/else).
506 if (auto branch = dyn_cast<RegionBranchOpInterface>(op->getParentOp())) {
507 visitRegionSuccessorsFromTerminator(terminator, branch);
541 RegionBranchOpInterface branch,
543 Operation *op = branch.getOperation();
546 branch.getEntrySuccessorRegions(operands, successors);
553 OperandRange operands = branch.getEntrySuccessorOperands(successor);
563 // branch operation itself (for example the boolean for if/else).
572 RegionBranchOpInterface branch) {
575 assert(terminator->getParentOp() == branch.getOperation() &&
576 "expected `branch` to be the parent op of `terminator`");
596 // Visit operands of the branch op not forwarded to the next region.