Home
last modified time | relevance | path

Searched refs:LeadingZeros (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Support/
DScaledNumber.cpp47 unsigned LeadingZeros = countLeadingZeros(Upper); in multiply64() local
48 int Shift = 64 - LeadingZeros; in multiply64()
49 if (LeadingZeros) in multiply64()
50 Upper = Upper << LeadingZeros | Lower >> Shift; in multiply64()
167 int LeadingZeros = ScaledNumberBase::countLeadingZeros64(D); in toStringAPFloat() local
168 int NewE = std::min(ScaledNumbers::MaxScale, E + 63 - LeadingZeros); in toStringAPFloat()
170 assert(Shift <= LeadingZeros); in toStringAPFloat()
171 assert(Shift == LeadingZeros || NewE == ScaledNumbers::MaxScale); in toStringAPFloat()
DAPInt.cpp1461 APInt::mu APInt::magicu(unsigned LeadingZeros) const { in magicu()
1467 APInt allOnes = APInt::getAllOnesValue(d.getBitWidth()).lshr(LeadingZeros); in magicu()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp449 unsigned LeadingZeros = KnownOne.countLeadingZeros(); in visitCallInst() local
450 APInt Mask(APInt::getHighBitsSet(BitWidth, LeadingZeros)); in visitCallInst()
453 APInt(BitWidth, LeadingZeros))); in visitCallInst()
/external/llvm/include/llvm/ADT/
DAPInt.h1583 mu magicu(unsigned LeadingZeros = 0) const;
/external/llvm/lib/Analysis/
DValueTracking.cpp348 unsigned LeadingZeros = (Upper->getValue() - 1).countLeadingZeros(); in computeKnownBitsFromRangeMetadata() local
349 MinLeadingZeros = std::min(LeadingZeros, MinLeadingZeros); in computeKnownBitsFromRangeMetadata()