Lines Matching refs:ifOp
1287 IfOp ifOp = a->getParentOfType<IfOp>(); in insideMutuallyExclusiveBranches() local
1288 while (ifOp) { in insideMutuallyExclusiveBranches()
1290 if (ifOp->isProperAncestor(b)) in insideMutuallyExclusiveBranches()
1293 return static_cast<bool>(ifOp.thenBlock()->findAncestorOpInBlock(*a)) != in insideMutuallyExclusiveBranches()
1294 static_cast<bool>(ifOp.thenBlock()->findAncestorOpInBlock(*b)); in insideMutuallyExclusiveBranches()
1296 ifOp = ifOp->getParentOfType<IfOp>(); in insideMutuallyExclusiveBranches()
1947 LogicalResult matchAndRewrite(IfOp ifOp, in matchAndRewrite()
1950 if (ifOp.getNumResults()) in matchAndRewrite()
1952 Block *elseBlock = ifOp.elseBlock(); in matchAndRewrite()
1955 auto newIfOp = rewriter.cloneWithoutRegions(ifOp); in matchAndRewrite()
1956 rewriter.inlineRegionBefore(ifOp.getThenRegion(), newIfOp.getThenRegion(), in matchAndRewrite()
1958 rewriter.eraseOp(ifOp); in matchAndRewrite()