Searched refs:body_arg (Results 1 – 2 of 2) sorted by relevance
205 BlockArgument body_arg = cond.getArgument(result_idx); in EliminateUnusedResultsForWhile() local209 if (cond_arg.use_empty() && body_arg.hasOneUse() && in EliminateUnusedResultsForWhile()210 body_arg.use_begin()->getOperandNumber() == result_idx && in EliminateUnusedResultsForWhile()211 body_arg.use_begin()->getOwner() == body_ret) { in EliminateUnusedResultsForWhile()380 auto body_arg = body.front() in CanonicalizeWhileRegion() local384 if (!body_arg || body_arg.getArgNumber() != result_idx) { in CanonicalizeWhileRegion()
2994 auto body_arg = body_block.getArgument(op_idx); in matchAndRewrite() local2995 if (body_arg == yield.getOperand(op_idx)) { in matchAndRewrite()3001 if (body_arg.getType() == value.getType()) in matchAndRewrite()3002 body_arg.replaceAllUsesWith(value); in matchAndRewrite()