Searched refs:ShAmtVal (Results 1 – 5 of 5) sorted by relevance
910 uint32_t ShAmtVal = (uint32_t)ShAmt->getLimitedValue(TypeBits); in FoldICmpShrCst() local911 if (ShAmtVal >= TypeBits || ShAmtVal == 0) in FoldICmpShrCst()924 (!Shr->isExact() || ShAmtVal == TypeBits - 1)) in FoldICmpShrCst()931 ConstantInt::get(Shr->getType(), APInt::getOneBitSet(TypeBits, ShAmtVal)); in FoldICmpShrCst()957 APInt Comp = CmpRHSV << ShAmtVal; in FoldICmpShrCst()960 Comp = Comp.lshr(ShAmtVal); in FoldICmpShrCst()962 Comp = Comp.ashr(ShAmtVal); in FoldICmpShrCst()979 APInt Val(APInt::getHighBitsSet(TypeBits, TypeBits - ShAmtVal)); in FoldICmpShrCst()1137 int ShAmtVal = TyBits - ShAmt->getLimitedValue(TyBits); in visitICmpInstWithInstAndIntCst() local1140 if ((APInt::getHighBitsSet(BitWidth, BitWidth-ShAmtVal) & in visitICmpInstWithInstAndIntCst()[all …]
997 uint32_t ShAmtVal = ShAmt->getLimitedValue(64); in visitGetElementPtrInst() local999 1ULL << ShAmtVal); in visitGetElementPtrInst()
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()
4386 unsigned ShAmtVal = cast<ConstantSDNode>(ShAmt)->getZExtValue(); in visitZERO_EXTEND() local4393 if (ShAmtVal > KnownZeroBits) in visitZERO_EXTEND()
6545 unsigned ShAmtVal = cast<ConstantSDNode>(ShAmt)->getZExtValue(); in visitZERO_EXTEND() local6552 if (ShAmtVal > KnownZeroBits) in visitZERO_EXTEND()