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.cpp843 unsigned LeadingZeros = KnownOne.countLeadingZeros(); in visitCallInst() local
844 APInt Mask(APInt::getHighBitsSet(BitWidth, LeadingZeros)); in visitCallInst()
847 APInt(BitWidth, LeadingZeros))); in visitCallInst()
/external/llvm/include/llvm/ADT/
DAPInt.h1591 mu magicu(unsigned LeadingZeros = 0) const;
/external/llvm/lib/Analysis/
DValueTracking.cpp1505 unsigned LeadingZeros = in computeKnownBitsFromOperator() local
1507 assert(LeadingZeros <= BitWidth); in computeKnownBitsFromOperator()
1508 KnownZero |= APInt::getHighBitsSet(BitWidth, LeadingZeros); in computeKnownBitsFromOperator()