/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/ |
D | MathTests.cpp | 34 TEST(Math, Log2) { in TEST() argument 36 ASSERT_EQ(Log2(1), 0u); in TEST() 37 ASSERT_EQ(Log2(0xFFFFFFFF), 31u); in TEST() 40 ASSERT_EQ(Log2(0x80000000), 31u); in TEST() 41 ASSERT_EQ(Log2(0x7FFFFFFF), 30u); in TEST() 43 ASSERT_EQ(Log2(16), 4u); in TEST() 44 ASSERT_EQ(Log2(15), 3u); in TEST()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | MathTests.cpp | 51 TEST(Math, Log2) { in TEST() argument 53 ASSERT_EQ(Log2(1u), 0u); in TEST() 54 ASSERT_EQ(Log2(0xFFFFFFFFu), 31u); in TEST() 55 ASSERT_EQ(Log2(static_cast<uint64_t>(0xFFFFFFFFFFFFFFFF)), 63u); in TEST() 62 ASSERT_EQ(Log2(0x80000000u), 31u); in TEST() 63 ASSERT_EQ(Log2(0x7FFFFFFFu), 30u); in TEST() 64 ASSERT_EQ(Log2(static_cast<uint64_t>(0x8000000000000000)), 63u); in TEST() 65 ASSERT_EQ(Log2(static_cast<uint64_t>(0x7FFFFFFFFFFFFFFF)), 62u); in TEST() 72 ASSERT_EQ(Log2(16u), 4u); in TEST() 73 ASSERT_EQ(Log2(15u), 3u); in TEST()
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | Math.h | 29 uint32_t Log2(uint32_t value); 30 uint32_t Log2(uint64_t value); 43 return v <= 1 ? 0 : Log2(v - 1) + 1; in Log2Ceil() 47 return v <= 1 ? 0 : Log2(v - 1) + 1; in Log2Ceil()
|
D | Math.cpp | 40 uint32_t Log2(uint32_t value) { in Log2() function 52 uint32_t Log2(uint64_t value) { in Log2() function 79 return 1ull << (Log2(n - 1) + 1); in NextPowerOfTwo()
|
/third_party/mesa3d/src/amd/addrlib/src/gfx10/ |
D | gfx10addrlib.cpp | 375 const UINT_32 fmaskElemLog2 = Log2(fmaskBpp >> 3); in HwlComputeCmaskInfo() 419 const UINT_32 elemLog2 = Log2(pIn->bpp >> 3); in HwlComputeDccInfo() 435 const UINT_32 numFragLog2 = Log2(Max(pIn->numFrags, 1u)); in HwlComputeDccInfo() 520 const UINT_32 elemLog2 = Log2(pIn->bpp >> 3); in HwlComputeDccInfo() 607 const UINT_32 fmaskElemLog2 = Log2(fmaskBpp >> 3); in HwlComputeCmaskAddrFromCoord() 615 const UINT_32 blkSizeLog2 = Log2(output.metaBlkWidth) + Log2(output.metaBlkHeight) - 7; in HwlComputeCmaskAddrFromCoord() 678 const UINT_32 numSampleLog2 = Log2(pIn->numSamples); in HwlComputeHtileAddrFromCoord() 684 … const UINT_32 blkSizeLog2 = Log2(output.metaBlkWidth) + Log2(output.metaBlkHeight) - 4; in HwlComputeHtileAddrFromCoord() 778 const UINT_32 elemLog2 = Log2(pIn->bpp >> 3); in HwlComputeDccAddrFromCoord() 822 const UINT_32 blkSizeLog2 = Log2(pIn->metaBlkWidth) + Log2(pIn->metaBlkHeight) + elemLog2 - 8; in HwlComputeDccAddrFromCoord() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/ |
D | SystemZLongBranch.cpp | 182 if (Log2(Block.Alignment) > Position.KnownBits) { in skipNonTerminators() 187 Position.KnownBits = Log2(Block.Alignment); in skipNonTerminators() 278 BlockPosition Position(Log2(MF->getAlignment())); in initMBBInfo() 342 BlockPosition Position(Log2(MF->getAlignment())); in setWorstCaseAddresses() 443 BlockPosition Position(Log2(MF->getAlignment())); in relaxBranches()
|
/third_party/mesa3d/src/amd/addrlib/src/gfx9/ |
D | gfx9addrlib.cpp | 242 const INT_32 maxNumOfRbMaskBits = 1 + Log2(numPipeTotal) + Log2(numRbTotal); in HwlComputeHtileInfo() 355 UINT_32 fmaskElementBytesLog2 = Log2(fmaskBpp >> 3); in HwlComputeCmaskInfo() 356 UINT_32 metaBlkWidthLog2 = Log2(pOut->metaBlkWidth); in HwlComputeCmaskInfo() 357 UINT_32 metaBlkHeightLog2 = Log2(pOut->metaBlkHeight); in HwlComputeCmaskInfo() 714 UINT_32 elementBytesLog2 = Log2(pIn->bpp >> 3); in HwlComputeDccInfo() 715 UINT_32 numSamplesLog2 = Log2(pIn->numFrags); in HwlComputeDccInfo() 716 UINT_32 metaBlkWidthLog2 = Log2(pOut->metaBlkWidth); in HwlComputeDccInfo() 717 UINT_32 metaBlkHeightLog2 = Log2(pOut->metaBlkHeight); in HwlComputeDccInfo() 718 UINT_32 metaBlkDepthLog2 = Log2(pOut->metaBlkDepth); in HwlComputeDccInfo() 719 UINT_32 compBlkWidthLog2 = Log2(pOut->compressBlkWidth); in HwlComputeDccInfo() [all …]
|
/third_party/skia/tests/sksl/intrinsics/ |
D | Log2.asm.frag | 111 %27 = OpExtInst %float %1 Log2 %33 122 %41 = OpExtInst %v2float %1 Log2 %44 137 %54 = OpExtInst %v3float %1 Log2 %57 151 %68 = OpExtInst %v4float %1 Log2 %70
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | BuddyAllocator.cpp | 25 mFreeLists.resize(Log2(mMaxBlockSize) + 1); in BuddyAllocator() 56 return Log2(mMaxBlockSize) - Log2(blockSize); in ComputeLevelFromBlockSize()
|
D | PerStage.h | 76 return mData[Log2(bit)]; 81 return mData[Log2(bit)];
|
D | EnumMaskIterator.h | 33 ASSERT(U(mask) == 0 || Log2(uint64_t(U(mask))) < N); in EnumMaskIterator()
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | PerStage.h | 70 return mData[Log2(bit)]; 75 return mData[Log2(bit)];
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMBasicBlockInfo.h | 34 if (KnownBits < Log2(Alignment)) in UnknownPadding() 105 return std::max(Log2(std::max(PostAlign, Align)), internalKnownBits());
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/ |
D | buddy.cc | 211 auto log_sz = static_cast<log_t>(Log2(rel_sz)); in SetBuddySegState() 253 auto log_sz = static_cast<log_t>(Log2(blk_sz)); in JoinBuddySeg() 275 uint32_t inx = Log2(blk_sz); in TrimBuddySeg() 296 uint32_t inx = Log2(blk_sz); in UnTrimBuddySeg() 323 int start_inx = static_cast<int>(Log2(blk_size)); in AllocBuddySeg()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Alignment.h | 46 friend unsigned Log2(Align); 204 inline unsigned Log2(Align A) { return A.ShiftValue; } in Log2() function 208 inline unsigned Log2(MaybeAlign A) { in Log2() function 210 return Log2(A.getValue()); in Log2()
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
D | EmulatedIntrinsics.hpp | 32 RValue<Float> Log2(RValue<Float> x); 50 RValue<Float4> Log2(RValue<Float4> x);
|
D | OptimalIntrinsics.cpp | 221 Float4 Log2(RValue<Float4> x) in Log2() function 255 return Float4(6.93147181e-1f) * optimal::Log2(x); // ln(2) in Log() 260 Float4 log = optimal::Log2(x); in Pow()
|
D | OptimalIntrinsics.hpp | 34 Float4 Log2(RValue<Float4> x);
|
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/math/ |
D | font_math.h | 26 static int32_t Log2(int32_t a) { in Log2() function
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/math/ |
D | font_math.h | 26 static int32_t Log2(int32_t a) { in Log2() function
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | ResourceMemoryAllocatorVk.cpp | 53 uint64_t(1) << Log2(mMemoryHeapSize), in SingleTypeAllocator() 55 std::min(uint64_t(1) << Log2(mMemoryHeapSize), kBuddyHeapsSize), in SingleTypeAllocator()
|
/third_party/flutter/skia/third_party/externals/dawn/src/common/ |
D | Math.h | 27 uint32_t Log2(uint32_t value);
|
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/graphicsfuzz/ |
D | cov-vector-log2-cosh.amber | 80 %14 = OpExtInst %7 %1 Log2 %13
|
/third_party/skia/third_party/externals/tint/test/vk-gl-cts/graphicsfuzz/cov-vector-log2-cosh/ |
D | 0-opt.spvasm | 34 %25 = OpExtInst %v2float %1 Log2 %24
|
/third_party/skia/third_party/externals/spirv-headers/include/spirv/1.2/ |
D | OpenCL.std.h | 70 Log2 = 38, enumerator
|