Searched refs:ShAmtVal (Results 1 – 6 of 6) sorted by relevance
151 SDValue ShAmtVal = in Select() local154 ShAmtVal); in Select()
136 SDValue ShAmtVal = CurDAG->getTargetConstant(ShAmt, DL, XLenVT); in Select() local138 ShAmtVal); in Select()
2185 unsigned ShAmtVal = ShiftAmt->getLimitedValue(TypeBits); in foldICmpShrConstant() local2186 if (ShAmtVal >= TypeBits || ShAmtVal == 0) in foldICmpShrConstant()2200 APInt ShiftedC = C.shl(ShAmtVal); in foldICmpShrConstant()2201 if (ShiftedC.ashr(ShAmtVal) == C) in foldICmpShrConstant()2206 APInt ShiftedC = (C + 1).shl(ShAmtVal) - 1; in foldICmpShrConstant()2207 if (!C.isMaxSignedValue() && !(C + 1).shl(ShAmtVal).isMinSignedValue() && in foldICmpShrConstant()2208 (ShiftedC + 1).ashr(ShAmtVal) == (C + 1)) in foldICmpShrConstant()2215 APInt ShiftedC = C.shl(ShAmtVal); in foldICmpShrConstant()2216 if (ShiftedC.lshr(ShAmtVal) == C) in foldICmpShrConstant()2221 APInt ShiftedC = (C + 1).shl(ShAmtVal) - 1; in foldICmpShrConstant()[all …]
2228 unsigned ShAmtVal = ShiftAmt->getLimitedValue(TypeBits); in foldICmpShrConstant() local2229 if (ShAmtVal >= TypeBits || ShAmtVal == 0) in foldICmpShrConstant()2243 APInt ShiftedC = C.shl(ShAmtVal); in foldICmpShrConstant()2244 if (ShiftedC.ashr(ShAmtVal) == C) in foldICmpShrConstant()2249 APInt ShiftedC = (C + 1).shl(ShAmtVal) - 1; in foldICmpShrConstant()2250 if (!C.isMaxSignedValue() && !(C + 1).shl(ShAmtVal).isMinSignedValue() && in foldICmpShrConstant()2251 (ShiftedC + 1).ashr(ShAmtVal) == (C + 1)) in foldICmpShrConstant()2258 APInt ShiftedC = C.shl(ShAmtVal); in foldICmpShrConstant()2259 if (ShiftedC.lshr(ShAmtVal) == C) in foldICmpShrConstant()2264 APInt ShiftedC = (C + 1).shl(ShAmtVal) - 1; in foldICmpShrConstant()[all …]
1350 uint32_t ShAmtVal = (uint32_t)ShAmt->getLimitedValue(TypeBits); in FoldICmpShrCst() local1351 if (ShAmtVal >= TypeBits || ShAmtVal == 0) in FoldICmpShrCst()1364 (!Shr->isExact() || ShAmtVal == TypeBits - 1)) in FoldICmpShrCst()1371 ConstantInt::get(Shr->getType(), APInt::getOneBitSet(TypeBits, ShAmtVal)); in FoldICmpShrCst()1396 APInt Comp = CmpRHSV << ShAmtVal; in FoldICmpShrCst()1399 Comp = Comp.lshr(ShAmtVal); in FoldICmpShrCst()1401 Comp = Comp.ashr(ShAmtVal); in FoldICmpShrCst()1417 APInt Val(APInt::getHighBitsSet(TypeBits, TypeBits - ShAmtVal)); in FoldICmpShrCst()2019 uint32_t ShAmtVal = (uint32_t)ShAmt->getLimitedValue(TypeBits); in visitICmpInstWithInstAndIntCst() local2021 TypeBits - ShAmtVal)); in visitICmpInstWithInstAndIntCst()
6545 unsigned ShAmtVal = cast<ConstantSDNode>(ShAmt)->getZExtValue(); in visitZERO_EXTEND() local6552 if (ShAmtVal > KnownZeroBits) in visitZERO_EXTEND()