Searched refs:constantTrue (Results 1 – 2 of 2) sorted by relevance
388 Value constantTrue = nullptr; in matchAndRewrite() local402 if (!constantTrue) in matchAndRewrite()403 constantTrue = rewriter.create<arith::ConstantOp>( in matchAndRewrite()407 [&] { use.set(constantTrue); }); in matchAndRewrite()
1659 Value constantTrue = nullptr; in matchAndRewrite() local1667 if (!constantTrue) in matchAndRewrite()1668 constantTrue = rewriter.create<arith::ConstantOp>( in matchAndRewrite()1672 [&]() { use.set(constantTrue); }); in matchAndRewrite()2740 Value constantTrue = nullptr; in matchAndRewrite() local2747 if (!constantTrue) in matchAndRewrite()2748 constantTrue = rewriter.create<arith::ConstantOp>( in matchAndRewrite()2752 std::get<1>(yieldedAndBlockArgs).replaceAllUsesWith(constantTrue); in matchAndRewrite()