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

References

lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 2213       PredL == PredR && LHSC && RHSC && LHS->hasOneUse() && RHS->hasOneUse() &&
 2214       LHSC->getType() == RHSC->getType() &&
 2215       LHSC->getValue() == (RHSC->getValue())) {
 2289     else if (PredR == ICmpInst::ICMP_EQ && RHSC && RHSC->isZero()) {
 2289     else if (PredR == ICmpInst::ICMP_EQ && RHSC && RHSC->isZero()) {
 2324   if (!LHSC || !RHSC)
 2327   if (LHSC == RHSC && PredL == PredR) {
 2340       if (RHSC->getValue() + AddC->getValue() == LHSC->getValue())
 2364     ShouldSwap = LHSC->getValue().sgt(RHSC->getValue());
 2366     ShouldSwap = LHSC->getValue().ugt(RHSC->getValue());
 2370     std::swap(LHSC, RHSC);
 2380   assert(LHSC != RHSC && "Compares not folded above?");
 2395         return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue() + 1,
 2402         return insertRangeTest(LHS0, LHSC->getValue() + 1, RHSC->getValue() + 1,
 2414       if (RHSC->isMaxValue(false))
 2415         return insertRangeTest(LHS0, LHSC->getValue(), RHSC->getValue(),
 2419       assert(!RHSC->isMaxValue(false) && "Missed icmp simplification");
 2420       return insertRangeTest(LHS0, LHSC->getValue(), RHSC->getValue() + 1,
 2430       if (RHSC->isMaxValue(true))
 2431         return insertRangeTest(LHS0, LHSC->getValue(), RHSC->getValue(),
 2436       assert(!RHSC->isMaxValue(true) && "Missed icmp simplification");
 2437       return insertRangeTest(LHS0, LHSC->getValue(), RHSC->getValue() + 1, true,