Lines Matching refs:getCondition

1391   p << " " << getCondition();  in print()
1456 arith::XOrIOp xorStmt = getCondition().getDefiningOp<arith::XOrIOp>(); in fold()
1526 auto newOp = rewriter.create<IfOp>(op.getLoc(), newTypes, op.getCondition(), in matchAndRewrite()
1548 auto constant = op.getCondition().getDefiningOp<arith::ConstantOp>(); in matchAndRewrite()
1573 auto cond = op.getCondition(); in matchAndRewrite()
1651 if (op.getCondition().getDefiningOp<arith::ConstantOp>()) in matchAndRewrite()
1663 llvm::make_early_inc_range(op.getCondition().getUses())) { in matchAndRewrite()
1773 op.getLoc(), op.getCondition(), in matchAndRewrite()
1782 opResult.replaceAllUsesWith(op.getCondition()); in matchAndRewrite()
1831 if (nextIf.getCondition() == prevIf.getCondition()) { in matchAndRewrite()
1837 nextIf.getCondition().getDefiningOp<arith::XOrIOp>()) { in matchAndRewrite()
1838 if (notv.getLhs() == prevIf.getCondition() && in matchAndRewrite()
1846 prevIf.getCondition().getDefiningOp<arith::XOrIOp>()) { in matchAndRewrite()
1847 if (notv.getLhs() == nextIf.getCondition() && in matchAndRewrite()
1884 nextIf.getLoc(), mergedTypes, prevIf.getCondition(), /*hasElse=*/false); in matchAndRewrite()
2046 loc, op.getCondition(), nestedIf.getCondition()); in matchAndRewrite()
2055 op.getLoc(), op.getCondition(), thenYield[idx], elseYield[idx]); in matchAndRewrite()
2745 if (std::get<0>(yieldedAndBlockArgs) == term.getCondition()) { in matchAndRewrite()
2749 op.getLoc(), term.getCondition().getType(), in matchAndRewrite()
3011 rewriter.replaceOpWithNewOp<ConditionOp>(condOp, condOp.getCondition(), in matchAndRewrite()
3117 rewriter.replaceOpWithNewOp<ConditionOp>(term, term.getCondition(), in matchAndRewrite()
3176 auto cmp = cond.getCondition().getDefiningOp<arith::CmpIOp>(); in matchAndRewrite()