Searched refs:IsAShr (Results 1 – 1 of 1) sorted by relevance
977 bool IsAShr = isa<AShrOperator>(I.getOperand(0)); in foldICmpShrConstConst() local978 if (IsAShr) { in foldICmpShrConstConst()996 if (IsAShr && AP1.isNegative()) in foldICmpShrConstConst()1002 if (IsAShr && AP1 == AP2.ashr(Shift)) { in foldICmpShrConstConst()2465 bool IsAShr = Shr->getOpcode() == Instruction::AShr; in foldICmpShrConstant() local2474 if (!IsAShr && ShiftValC->isNegative() && in foldICmpShrConstant()2483 if (!IsAShr && ShiftValC->isPowerOf2() && in foldICmpShrConstant()2514 if (IsAShr && Shr->hasOneUse()) { in foldICmpShrConstant()2564 } else if (!IsAShr) { in foldICmpShrConstant()2588 assert(((IsAShr && C.shl(ShAmtVal).ashr(ShAmtVal) == C) || in foldICmpShrConstant()[all …]