reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 2193   if (Value *V = foldAndOrOfICmpsOfAndWithPow2(LHS, RHS, false, CxtI))
 2196   ICmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate();
 2198   ConstantInt *LHSC = dyn_cast<ConstantInt>(LHS->getOperand(1));
 2213       PredL == PredR && LHSC && RHSC && LHS->hasOneUse() && RHS->hasOneUse() &&
 2217     Value *LAdd = LHS->getOperand(0);
 2250           return Builder.CreateICmp(LHS->getPredicate(), NewAdd, LHSC);
 2258     if (LHS->getOperand(0) == RHS->getOperand(1) &&
 2259         LHS->getOperand(1) == RHS->getOperand(0))
 2260       LHS->swapOperands();
 2261     if (LHS->getOperand(0) == RHS->getOperand(0) &&
 2262         LHS->getOperand(1) == RHS->getOperand(1)) {
 2263       Value *Op0 = LHS->getOperand(0), *Op1 = LHS->getOperand(1);
 2263       Value *Op0 = LHS->getOperand(0), *Op1 = LHS->getOperand(1);
 2264       unsigned Code = getICmpCode(LHS) | getICmpCode(RHS);
 2265       bool IsSigned = LHS->isSigned() || RHS->isSigned();
 2272   if (Value *V = foldLogOpOfMaskedICmps(LHS, RHS, false, Builder))
 2275   Value *LHS0 = LHS->getOperand(0), *RHS0 = RHS->getOperand(0);
 2276   if (LHS->hasOneUse() || RHS->hasOneUse()) {
 2291       if (PredL == ICmpInst::ICMP_ULT && RHS0 == LHS->getOperand(1))
 2294         A = LHS->getOperand(1);
 2303   if (Value *V = simplifyRangeCheck(LHS, RHS, /*Inverted=*/true))
 2307   if (Value *V = simplifyRangeCheck(RHS, LHS, /*Inverted=*/true))
 2310   if (Value *V = foldAndOrOfEqualityCmpsWithConstants(LHS, RHS, false, Builder))
 2313   if (Value *V = foldIsPowerOf2(LHS, RHS, false /* JoinedByAnd */, Builder))
 2317           foldUnsignedUnderflowCheck(LHS, RHS, /*IsAnd=*/false, Q, Builder))
 2320           foldUnsignedUnderflowCheck(RHS, LHS, /*IsAnd=*/false, Q, Builder))
 2369     std::swap(LHS, RHS);