Home
last modified time | relevance | path

Searched refs:IsPowerOf2 (Results 1 – 15 of 15) sorted by relevance

/external/vixl/src/
Dcompiler-intrinsics-vixl.cc34 VIXL_ASSERT(IsPowerOf2(width) && (width <= 64)); in CountLeadingSignBitsFallBack()
45 VIXL_ASSERT(IsPowerOf2(width) && (width <= 64)); in CountLeadingZerosFallBack()
80 VIXL_ASSERT(IsPowerOf2(width) && (width <= 64)); in CountSetBitsFallBack()
115 VIXL_ASSERT(IsPowerOf2(width) && (width <= 64)); in CountTrailingZerosFallBack()
Dpool-manager.h121 VIXL_ASSERT(IsPowerOf2(size)); in LocationBase()
133 VIXL_ASSERT(IsPowerOf2(alignment)); in LocationBase()
255 VIXL_ASSERT(IsPowerOf2(alignment_)); in PoolObject()
282 VIXL_ASSERT(IsPowerOf2(alignment)); in RestrictAlignment()
283 VIXL_ASSERT(IsPowerOf2(alignment_)); in RestrictAlignment()
Dcompiler-intrinsics-vixl.h92 inline bool IsPowerOf2(V value) { in IsPowerOf2() function
112 VIXL_ASSERT(IsPowerOf2(width) && (width <= 64));
Dutils-vixl.h490 VIXL_ASSERT(IsPowerOf2(value)); in WhichPowerOf2()
560 VIXL_ASSERT(IsPowerOf2(MULTIPLE)); in IsMultiple()
566 VIXL_ASSERT(IsPowerOf2(multiple)); in IsMultiple()
572 VIXL_ASSERT(IsPowerOf2(alignment)); in IsAligned()
596 VIXL_ASSERT(IsPowerOf2(alignment)); in AlignUp()
616 VIXL_ASSERT(IsPowerOf2(alignment)); in AlignDown()
/external/angle/third_party/abseil-cpp/absl/numeric/internal/
Dbits.h69 constexpr bool IsPowerOf2(unsigned int x) noexcept { in IsPowerOf2() function
77 static_assert(IsPowerOf2(std::numeric_limits<T>::digits), in RotateRight()
88 static_assert(IsPowerOf2(std::numeric_limits<T>::digits), in RotateLeft()
126 static_assert(IsPowerOf2(std::numeric_limits<T>::digits), in Popcount()
236 static_assert(IsPowerOf2(std::numeric_limits<T>::digits), in CountLeadingZeroes()
319 static_assert(IsPowerOf2(std::numeric_limits<T>::digits), in CountTrailingZeroes()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dstrength_reduction_pass.cpp46 bool IsPowerOf2(uint32_t val) { in IsPowerOf2() function
91 if (IsPowerOf2(constVal)) { in ReplaceMultiplyByPowerOf2()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dstrength_reduction_pass.cpp46 bool IsPowerOf2(uint32_t val) { in IsPowerOf2() function
91 if (IsPowerOf2(constVal)) { in ReplaceMultiplyByPowerOf2()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dstrength_reduction_pass.cpp46 bool IsPowerOf2(uint32_t val) { in IsPowerOf2() function
91 if (IsPowerOf2(constVal)) { in ReplaceMultiplyByPowerOf2()
/external/vixl/src/aarch64/
Dcpu-aarch64.cc412 VIXL_ASSERT(IsPowerOf2(dsize)); in EnsureIAndDCacheCoherency()
413 VIXL_ASSERT(IsPowerOf2(isize)); in EnsureIAndDCacheCoherency()
Dmacro-assembler-aarch64.cc2434 VIXL_ASSERT(IsPowerOf2(reg_size)); in LoadStoreCPURegListHelper()
Dassembler-aarch64.cc6000 if (!IsPowerOf2(d)) { in IsImmLogical()
/external/openscreen/platform/impl/
Dudp_socket_posix.cc38 constexpr bool IsPowerOf2(uint32_t x) { in IsPowerOf2() function
42 static_assert(IsPowerOf2(alignof(struct cmsghdr)),
/external/llvm-project/mlir/include/mlir/ExecutionEngine/
DCRunnerUtils.h47 template <typename T, int Dim, bool IsPowerOf2>
/external/vixl/test/aarch64/
Dtest-utils-aarch64.h196 VIXL_ASSERT(IsPowerOf2(p_bits_per_lane)); in preg_lane()
Dtest-simulator-aarch64.cc2136 VIXL_ASSERT((vm_subvector_count != 0) && IsPowerOf2(vm_subvector_count)); in TestByElementNEON_Helper()