Searched refs:IsAShr (Results 1 – 2 of 2) sorted by relevance
1147 bool IsAShr = isa<AShrOperator>(I.getOperand(0)); in foldICmpShrConstConst() local1148 if (IsAShr) { in foldICmpShrConstConst()1166 if (IsAShr && AP1.isNegative()) in foldICmpShrConstConst()1172 if (IsAShr && AP1 == AP2.ashr(Shift)) { in foldICmpShrConstConst()2011 bool IsAShr = Shr->getOpcode() == Instruction::AShr; in foldICmpShrConstant() local2018 if (IsAShr) { in foldICmpShrConstant()2057 assert(((IsAShr && C.shl(ShAmtVal).ashr(ShAmtVal) == C) || in foldICmpShrConstant()2058 (!IsAShr && C.shl(ShAmtVal).lshr(ShAmtVal) == C)) && in foldICmpShrConstant()
1453 bool IsAShr = isa<AShrOperator>(Op); in FoldICmpCstShrCst() local1454 if (IsAShr) { in FoldICmpCstShrCst()1472 if (IsAShr && AP1.isNegative()) in FoldICmpCstShrCst()1478 if (IsAShr && AP1 == AP2.ashr(Shift)) { in FoldICmpCstShrCst()