Home
last modified time | relevance | path

Searched refs:nestedIf (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/SCF/IR/
H A DSCF.cpp1993 auto nestedIf = dyn_cast<IfOp>(*nestedOps.begin()); in matchAndRewrite() local
1994 if (!nestedIf) in matchAndRewrite()
1997 if (nestedIf.elseBlock() && !llvm::hasSingleElement(*nestedIf.elseBlock())) in matchAndRewrite()
2017 if (tup.value().getDefiningOp() == nestedIf) { in matchAndRewrite()
2019 if (nestedIf.elseYield().getOperand(nestedIdx) != in matchAndRewrite()
2025 thenYield[tup.index()] = nestedIf.thenYield().getOperand(nestedIdx); in matchAndRewrite()
2046 loc, op.getCondition(), nestedIf.getCondition()); in matchAndRewrite()
2062 rewriter.mergeBlocks(nestedIf.thenBlock(), newIfBlock); in matchAndRewrite()