Lines Matching defs:IsLogical
527 bool IsLogical,
573 if (IsLogical && !isGuaranteedNotToBeUndefOrPoison(D))
586 if (IsLogical && !isGuaranteedNotToBeUndefOrPoison(D))
595 if (IsLogical && !isGuaranteedNotToBeUndefOrPoison(D))
698 if (IsLogical)
1271 bool IsAnd, bool IsLogical,
1307 if (IsLogical)
2356 if (Value *Res = foldBooleanAndOr(LHS, X, I, IsAnd, /*IsLogical=*/false))
2361 if (Value *Res = foldBooleanAndOr(LHS, Y, I, IsAnd, /*IsLogical=*/false))
2747 foldBooleanAndOr(Op0, Op1, I, /*IsAnd=*/true, /*IsLogical=*/false))
2751 bool IsLogical = isa<SelectInst>(Op1);
2753 /*RHSIsLogical=*/IsLogical))
2757 bool IsLogical = isa<SelectInst>(Op0);
2759 /*RHSIsLogical=*/IsLogical))
3262 bool IsAnd, bool IsLogical,
3294 if (IsLogical)
3304 /// If IsLogical is true, then the and/or is in select form and the transform
3308 bool IsLogical) {
3337 if (Value *V = foldLogOpOfMaskedICmps(LHS, RHS, IsAnd, IsLogical, Builder, Q))
3341 foldAndOrOfICmpEqConstantAndICmp(LHS, RHS, IsAnd, IsLogical, Builder))
3346 /*IsLogical*/ false, Builder))
3350 foldAndOrOfICmpsWithConstEq(LHS, RHS, IsAnd, IsLogical, Builder, Q))
3355 /*IsLogical=*/false, Builder, Q)) {
3357 if (IsLogical && RHS->hasSameSign() && !RHS->use_empty()) {
3371 if (!IsLogical) {
3384 if (IsAnd && !IsLogical)
3395 if (!IsLogical) {
3408 (!IsLogical || isGuaranteedNotToBePoison(RHS0))) {
3419 (!IsLogical || isGuaranteedNotToBePoison(RHS0))) {
3425 if (!IsLogical)
3506 /// If IsLogical is true, then the and/or is in select form and the transform
3510 bool IsLogical) {
3516 if (Value *Res = foldAndOrOfICmps(LHSCmp, RHSCmp, I, IsAnd, IsLogical))
3521 if (Value *Res = foldLogicOfFCmps(LHSCmp, RHSCmp, IsAnd, IsLogical))
3812 foldBooleanAndOr(Op0, Op1, I, /*IsAnd=*/false, /*IsLogical=*/false))
3816 bool IsLogical = isa<SelectInst>(Op1);
3818 /*RHSIsLogical=*/IsLogical))
3822 bool IsLogical = isa<SelectInst>(Op0);
3824 /*RHSIsLogical=*/IsLogical))