Home
last modified time | relevance | path

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

/external/llvm/lib/Support/
DScaledNumber.cpp48 unsigned LeadingZeros = countLeadingZeros(Upper); in multiply64() local
49 int Shift = 64 - LeadingZeros; in multiply64()
50 if (LeadingZeros) in multiply64()
51 Upper = Upper << LeadingZeros | Lower >> Shift; in multiply64()
168 int LeadingZeros = ScaledNumberBase::countLeadingZeros64(D); in toStringAPFloat() local
169 int NewE = std::min(ScaledNumbers::MaxScale, E + 63 - LeadingZeros); in toStringAPFloat()
171 assert(Shift <= LeadingZeros); in toStringAPFloat()
172 assert(Shift == LeadingZeros || NewE == ScaledNumbers::MaxScale); in toStringAPFloat()
DAPInt.cpp1467 APInt::mu APInt::magicu(unsigned LeadingZeros) const { in magicu()
1473 APInt allOnes = APInt::getAllOnesValue(d.getBitWidth()).lshr(LeadingZeros); in magicu()
/external/libcxx/test/support/
Dhexfloat.h30 int LeadingZeros = 0; in CountLeadingZeros() local
32 ++LeadingZeros; in CountLeadingZeros()
35 return LeadingZeros; in CountLeadingZeros()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCalls.cpp383 unsigned LeadingZeros = KnownOne.countLeadingZeros(); in visitCallInst() local
384 APInt Mask(APInt::getHighBitsSet(BitWidth, LeadingZeros)); in visitCallInst()
387 APInt(BitWidth, LeadingZeros))); in visitCallInst()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h1389 mu magicu(unsigned LeadingZeros = 0) const;
/external/llvm/include/llvm/ADT/
DAPInt.h1600 mu magicu(unsigned LeadingZeros = 0) const;
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h1578 mu magicu(unsigned LeadingZeros = 0) const;
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1428 unsigned LeadingZeros = KnownOne.countLeadingZeros(); in visitCallInst() local
1429 APInt Mask(APInt::getHighBitsSet(BitWidth, LeadingZeros)); in visitCallInst()
1432 APInt(BitWidth, LeadingZeros))); in visitCallInst()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp1441 APInt::mu APInt::magicu(unsigned LeadingZeros) const { in magicu()
1447 APInt allOnes = APInt::getAllOnesValue(d.getBitWidth()).lshr(LeadingZeros); in magicu()
/external/swiftshader/third_party/LLVM/lib/Support/
DAPInt.cpp1538 APInt::mu APInt::magicu(unsigned LeadingZeros) const { in magicu()
1544 APInt allOnes = APInt::getAllOnesValue(d.getBitWidth()).lshr(LeadingZeros); in magicu()
/external/llvm/lib/Analysis/
DValueTracking.cpp1314 unsigned LeadingZeros = in computeKnownBitsFromOperator() local
1316 assert(LeadingZeros <= BitWidth); in computeKnownBitsFromOperator()
1317 KnownZero |= APInt::getHighBitsSet(BitWidth, LeadingZeros); in computeKnownBitsFromOperator()