/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCTargetDesc.h | 67 MB = countLeadingZeros(Val); in isRunOfOnes() 69 ME = countLeadingZeros((Val - 1) ^ Val); in isRunOfOnes() 75 ME = countLeadingZeros(Val) - 1; in isRunOfOnes() 77 MB = countLeadingZeros((Val - 1) ^ Val) + 1; in isRunOfOnes() 91 MB = countLeadingZeros(Val); in isRunOfOnes64() 93 ME = countLeadingZeros((Val - 1) ^ Val); in isRunOfOnes64() 99 ME = countLeadingZeros(Val) - 1; in isRunOfOnes64() 101 MB = countLeadingZeros((Val - 1) ^ Val) + 1; in isRunOfOnes64()
|
/third_party/openGLES/extensions/INTEL/ |
D | INTEL_shader_integer_functions2.txt | 93 genUType countLeadingZeros(genUType value) 202 2) How does countLeadingZeros differ from findMSB? 204 RESOLVED: countLeadingZeros is only defined for unsigned types, and it is 213 4) Should 64-bit versions of countLeadingZeros and countTrailingZeros be 219 countLeadingZeros and countTrailingZeros do not natively support 64-bit 222 The implementation of 64-bit countLeadingZeros() would be 5 instructions, 227 uint countLeadingZeros(uint64_t value) 232 ? 32 + countLeadingZeros(v.x) : countLeadingZeros(v.y);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | MathExtras.h | 180 std::size_t countLeadingZeros(T Val, ZeroBehavior ZB = ZB_Width) { 214 return countLeadingZeros(Val, ZB_Undefined) ^ 440 return countLeadingZeros(~Value, ZB); 514 return 31 - countLeadingZeros(Value); 520 return 63 - countLeadingZeros(Value); 527 return 32 - countLeadingZeros(Value - 1); 533 return 64 - countLeadingZeros(Value - 1); 641 return 1ull << (63 - countLeadingZeros(A, ZB_Undefined));
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | MathExtras.h | 225 unsigned countLeadingZeros(T Val, ZeroBehavior ZB = ZB_Width) { 286 return countLeadingZeros(Val, ZB_Undefined) ^ 502 return countLeadingZeros<T>(~Value, ZB); 586 return 31 - countLeadingZeros(Value); 592 return 63 - countLeadingZeros(Value); 599 return 32 - countLeadingZeros(Value - 1); 605 return 64 - countLeadingZeros(Value - 1); 686 return 1ull << (63 - countLeadingZeros(A, ZB_Undefined));
|
D | KnownBits.h | 202 return One.countLeadingZeros(); in countMaxLeadingZeros() 207 return Zero.countLeadingZeros(); in countMaxLeadingOnes()
|
D | ScaledNumber.h | 88 int Shift = 64 - Width - countLeadingZeros(Digits); 195 int32_t LocalFloor = sizeof(Digits) * 8 - countLeadingZeros(Digits) - 1; in getLgImpl() 307 int32_t ShiftL = std::min<int32_t>(countLeadingZeros(LDigits), ScaleDiff); in matchScales() 428 static int countLeadingZeros32(uint32_t N) { return countLeadingZeros(N); } in countLeadingZeros32() 429 static int countLeadingZeros64(uint64_t N) { return countLeadingZeros(N); } in countLeadingZeros64()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | ScaledNumber.cpp | 47 unsigned LeadingZeros = countLeadingZeros(Upper); in multiply64() 65 if (int Zeros = countLeadingZeros(Dividend64)) { in divide32() 97 if (int Zeros = countLeadingZeros(Dividend)) { in divide64()
|
D | NativeFormatting.cpp | 139 unsigned Nibbles = (64 - countLeadingZeros(N) + 3) / 4; in write_hex()
|
D | APInt.cpp | 594 Count += llvm::countLeadingZeros(V); in countLeadingZerosSlowCase() 1351 unsigned shift = countLeadingZeros(v[n-1]); in KnuthDiv() 1999 if (countLeadingZeros() + RHS.countLeadingZeros() + 2 <= BitWidth) { in umul_ov() 2021 Overflow = ShAmt.uge(countLeadingZeros()); in sshl_ov() 2033 Overflow = ShAmt.ugt(countLeadingZeros()); in ushl_ov() 3060 return A.getBitWidth() - ((A ^ B).countLeadingZeros() + 1); in GetMostSignificantDifferentBit()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 1279 unsigned getActiveBits() const { return BitWidth - countLeadingZeros(); } in getActiveBits() 1343 unsigned countLeadingZeros() const { in countLeadingZeros() function 1346 return llvm::countLeadingZeros(VAL) - unusedBits; in countLeadingZeros() 1364 return isNegative() ? countLeadingOnes() : countLeadingZeros(); in getNumSignBits() 1507 unsigned logBase2() const { return BitWidth - 1 - countLeadingZeros(); } in logBase2() 1513 return BitWidth - temp.countLeadingZeros(); in ceilLogBase2()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/ |
D | Support.h | 101 return (std::numeric_limits<uint64_t>::digits - countLeadingZeros(Mask)) - 1; in getResourceStateIndex()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/ |
D | XCoreISelDAGToDAG.cpp | 59 int msksize = 32 - countLeadingZeros(value); in immMskBitp() 141 SDValue MskSize = getI32Imm(32 - countLeadingZeros((uint32_t)Val), dl); in Select()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMUnwindOpAsm.cpp | 110 auto RangeMSB = 32 - countLeadingZeros(Regs); in EmitVFPRegSave()
|
D | ARMAddressingModes.h | 291 unsigned RotAmt = countLeadingZeros(V); in getT2SOImmValRotateVal()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | APInt.h | 1590 unsigned getActiveBits() const { return BitWidth - countLeadingZeros(); } in getActiveBits() 1653 unsigned countLeadingZeros() const { in countLeadingZeros() function 1656 return llvm::countLeadingZeros(U.VAL) - unusedBits; in countLeadingZeros() 1678 return isNegative() ? countLeadingOnes() : countLeadingZeros(); in getNumSignBits()
|
D | SmallBitVector.h | 242 return NumBaseBits - countLeadingZeros(Bits) - 1; in find_last() 316 return NumBaseBits - countLeadingZeros(Bits) - 1; in find_prev()
|
D | SparseBitVector.h | 140 countLeadingZeros(Bits[Idx]) - 1; in find_last()
|
D | BitVector.h | 259 return (CurrentWord + 1) * BITWORD_SIZE - countLeadingZeros(Copy) - 1; in find_last_in()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64AddressingModes.h | 300 int len = 31 - countLeadingZeros((N << 6) | (~imms & 0x3f)); in decodeLogicalImmediate() 329 int len = 31 - countLeadingZeros((N << 6) | (~imms & 0x3f)); in isValidDecodeLogicalImmediate()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ExpandImm.cpp | 273 unsigned LZ = countLeadingZeros(Imm); in expandMOVImmSimple()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | NativeFormatting.cpp | 140 unsigned Nibbles = (64 - countLeadingZeros(N) + 3) / 4; in write_hex()
|
D | APInt.cpp | 651 Count += llvm::countLeadingZeros(V); in countLeadingZerosSlowCase() 1499 unsigned shift = countLeadingZeros(v[n-1]); in KnuthDiv() 2026 Overflow = ShAmt.uge(countLeadingZeros()); in sshl_ov() 2038 Overflow = ShAmt.ugt(countLeadingZeros()); in ushl_ov()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | Thumb2InstrInfo.cpp | 340 unsigned RotAmt = countLeadingZeros(ThisVal); in emitT2RegPlusImmediate() 545 unsigned RotAmt = countLeadingZeros<unsigned>(Offset); in rewriteT2FrameIndex()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSimplifyDemanded.cpp | 459 unsigned NLZ = DemandedMask.countLeadingZeros(); in SimplifyDemandedUseBits() 574 if (DemandedMask.countLeadingZeros() <= ShiftAmt) in SimplifyDemandedUseBits() 692 unsigned NLZ = DemandedMask.countLeadingZeros(); in SimplifyDemandedUseBits()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUSubtarget.h | 462 return countLeadingZeros(MaxWaveScratchSize) + getWavefrontSizeLog2(); in getKnownHighZeroBitsForFrameIndex()
|