Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp633 unsigned TyBits) { in computeNumSignBitsFromRangeMetadata() argument
639 if (TyBits > CR.getBitWidth()) { in computeNumSignBitsFromRangeMetadata()
642 CR = CR.signExtend(TyBits); in computeNumSignBitsFromRangeMetadata()
645 CR = CR.zeroExtend(TyBits); in computeNumSignBitsFromRangeMetadata()
672 const unsigned TyBits = DstTy.getScalarSizeInBits(); in computeNumSignBits() local
704 unsigned InRegBits = TyBits - SrcBits + 1; in computeNumSignBits()
712 return computeNumSignBitsFromRangeMetadata(Ld, TyBits); in computeNumSignBits()
721 unsigned NumBits = computeNumSignBitsFromRangeMetadata(Ld, TyBits); in computeNumSignBits()
727 return TyBits - MMO->getSizeInBits().getValue() + 1; in computeNumSignBits()
736 unsigned NumBits = computeNumSignBitsFromRangeMetadata(Ld, TyBits); in computeNumSignBits()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp3722 unsigned TyBits) { in computeNumSignBitsVectorConstant() argument
3727 unsigned MinSignBits = TyBits; in computeNumSignBitsVectorConstant()
3783 unsigned TyBits = ScalarTy->isPointerTy() ? in ComputeNumSignBitsImpl() local
3800 Tmp = TyBits - U->getOperand(0)->getType()->getScalarSizeInBits(); in ComputeNumSignBitsImpl()
3818 return std::min(TyBits, NumBits + Denominator->logBase2()); in ComputeNumSignBitsImpl()
3847 unsigned ResBits = TyBits - Denominator->ceilLogBase2(); in ComputeNumSignBitsImpl()
3859 if (ShAmt->uge(TyBits)) in ComputeNumSignBitsImpl()
3863 if (Tmp > TyBits) Tmp = TyBits; in ComputeNumSignBitsImpl()
3872 if (ShAmt->uge(TyBits)) in ComputeNumSignBitsImpl()
3877 ShAmt->uge(TyBits - X->getType()->getScalarSizeInBits())) { in ComputeNumSignBitsImpl()
[all …]