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

/external/llvm/lib/Support/
H A DScaledNumber.cpp47 unsigned LeadingZeros = countLeadingZeros(Upper); local
48 int Shift = 64 - LeadingZeros;
49 if (LeadingZeros)
50 Upper = Upper << LeadingZeros | Lower >> Shift;
167 int LeadingZeros = ScaledNumberBase::countLeadingZeros64(D);
168 int NewE = std::min(ScaledNumbers::MaxScale, E + 63 - LeadingZeros);
170 assert(Shift <= LeadingZeros);
171 assert(Shift == LeadingZeros || NewE == ScaledNumbers::MaxScale);
H A DAPInt.cpp1438 /// LeadingZeros can be used to simplify the calculation if the upper bits
1440 APInt::mu APInt::magicu(unsigned LeadingZeros) const {
1446 APInt allOnes = APInt::getAllOnesValue(d.getBitWidth()).lshr(LeadingZeros);
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp344 unsigned LeadingZeros = KnownOne.countLeadingZeros(); local
345 APInt Mask(APInt::getHighBitsSet(BitWidth, LeadingZeros));
348 APInt(BitWidth, LeadingZeros)));
/external/llvm/include/llvm/ADT/
H A DAPInt.h1565 mu magicu(unsigned LeadingZeros = 0) const;
/external/llvm/lib/Analysis/
H A DValueTracking.cpp205 unsigned LeadingZeros = (Upper->getValue() - 1).countLeadingZeros(); local
206 MinLeadingZeros = std::min(LeadingZeros, MinLeadingZeros);

Completed in 127 milliseconds