Home
last modified time | relevance | path

Searched refs:ShAmtVal (Results 1 – 2 of 2) sorted by relevance

/NextBSD/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineCompares.cpp955 uint32_t ShAmtVal = (uint32_t)ShAmt->getLimitedValue(TypeBits); in FoldICmpShrCst() local
956 if (ShAmtVal >= TypeBits || ShAmtVal == 0) in FoldICmpShrCst()
969 (!Shr->isExact() || ShAmtVal == TypeBits - 1)) in FoldICmpShrCst()
976 ConstantInt::get(Shr->getType(), APInt::getOneBitSet(TypeBits, ShAmtVal)); in FoldICmpShrCst()
1002 APInt Comp = CmpRHSV << ShAmtVal; in FoldICmpShrCst()
1005 Comp = Comp.lshr(ShAmtVal); in FoldICmpShrCst()
1007 Comp = Comp.ashr(ShAmtVal); in FoldICmpShrCst()
1023 APInt Val(APInt::getHighBitsSet(TypeBits, TypeBits - ShAmtVal)); in FoldICmpShrCst()
1588 uint32_t ShAmtVal = (uint32_t)ShAmt->getLimitedValue(TypeBits); in visitICmpInstWithInstAndIntCst() local
1590 TypeBits - ShAmtVal)); in visitICmpInstWithInstAndIntCst()
/NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/
HDDAGCombiner.cpp6337 unsigned ShAmtVal = cast<ConstantSDNode>(ShAmt)->getZExtValue(); in visitZERO_EXTEND() local
6344 if (ShAmtVal > KnownZeroBits) in visitZERO_EXTEND()