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

References

lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1151   if (Value *V = foldAndOrOfICmpsOfAndWithPow2(LHS, RHS, true, CxtI))
 1154   ICmpInst::Predicate PredL = LHS->getPredicate(), PredR = RHS->getPredicate();
 1158     if (LHS->getOperand(0) == RHS->getOperand(1) &&
 1159         LHS->getOperand(1) == RHS->getOperand(0))
 1160       LHS->swapOperands();
 1161     if (LHS->getOperand(0) == RHS->getOperand(0) &&
 1162         LHS->getOperand(1) == RHS->getOperand(1)) {
 1163       Value *Op0 = LHS->getOperand(0), *Op1 = LHS->getOperand(1);
 1163       Value *Op0 = LHS->getOperand(0), *Op1 = LHS->getOperand(1);
 1164       unsigned Code = getICmpCode(LHS) & getICmpCode(RHS);
 1165       bool IsSigned = LHS->isSigned() || RHS->isSigned();
 1171   if (Value *V = foldLogOpOfMaskedICmps(LHS, RHS, true, Builder))
 1175   if (Value *V = simplifyRangeCheck(LHS, RHS, /*Inverted=*/false))
 1179   if (Value *V = simplifyRangeCheck(RHS, LHS, /*Inverted=*/false))
 1182   if (Value *V = foldAndOrOfEqualityCmpsWithConstants(LHS, RHS, true, Builder))
 1185   if (Value *V = foldSignedTruncationCheck(LHS, RHS, CxtI, Builder))
 1188   if (Value *V = foldIsPowerOf2(LHS, RHS, true /* JoinedByAnd */, Builder))
 1192           foldUnsignedUnderflowCheck(LHS, RHS, /*IsAnd=*/true, Q, Builder))
 1195           foldUnsignedUnderflowCheck(RHS, LHS, /*IsAnd=*/true, Q, Builder))
 1199   Value *LHS0 = LHS->getOperand(0), *RHS0 = RHS->getOperand(0);
 1200   ConstantInt *LHSC = dyn_cast<ConstantInt>(LHS->getOperand(1));
 1219   if (PredL == ICmpInst::ICMP_EQ && PredL == PredR && LHS->hasOneUse() &&
 1277     std::swap(LHS, RHS);