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.cpp1440 APInt::mu APInt::magicu(unsigned LeadingZeros) const { in magicu()
1446 APInt allOnes = APInt::getAllOnesValue(d.getBitWidth()).lshr(LeadingZeros); in magicu()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp344 unsigned LeadingZeros = KnownOne.countLeadingZeros(); in visitCallInst() local
345 APInt Mask(APInt::getHighBitsSet(BitWidth, LeadingZeros)); in visitCallInst()
348 APInt(BitWidth, LeadingZeros))); in visitCallInst()
/external/llvm/include/llvm/ADT/
DAPInt.h1565 mu magicu(unsigned LeadingZeros = 0) const;
/external/llvm/lib/Analysis/
DValueTracking.cpp205 unsigned LeadingZeros = (Upper->getValue() - 1).countLeadingZeros(); in computeKnownBitsFromRangeMetadata() local
206 MinLeadingZeros = std::min(LeadingZeros, MinLeadingZeros); in computeKnownBitsFromRangeMetadata()