Home
last modified time | relevance | path

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

/third_party/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.h120 VIXL_ASSERT(IsPowerOf2(size)); in LocationBase()
132 VIXL_ASSERT(IsPowerOf2(alignment)); in LocationBase()
258 VIXL_ASSERT(IsPowerOf2(alignment_)); in PoolObject()
285 VIXL_ASSERT(IsPowerOf2(alignment)); in RestrictAlignment()
286 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.h630 VIXL_ASSERT(IsPowerOf2(value));
700 VIXL_ASSERT(IsPowerOf2(MULTIPLE));
706 VIXL_ASSERT(IsPowerOf2(multiple));
712 VIXL_ASSERT(IsPowerOf2(alignment));
736 VIXL_ASSERT(IsPowerOf2(alignment));
756 VIXL_ASSERT(IsPowerOf2(alignment));
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dstrength_reduction_pass.cpp46 bool IsPowerOf2(uint32_t val) { in IsPowerOf2() function
91 if (IsPowerOf2(constVal)) { in ReplaceMultiplyByPowerOf2()
/third_party/skia/third_party/externals/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()
/third_party/spirv-tools/source/opt/
Dstrength_reduction_pass.cpp46 bool IsPowerOf2(uint32_t val) { in IsPowerOf2() function
91 if (IsPowerOf2(constVal)) { in ReplaceMultiplyByPowerOf2()
/third_party/vixl/src/aarch64/
Dcpu-aarch64.cc450 VIXL_ASSERT(IsPowerOf2(dsize)); in EnsureIAndDCacheCoherency()
451 VIXL_ASSERT(IsPowerOf2(isize)); in EnsureIAndDCacheCoherency()
Dmacro-assembler-aarch64.cc2504 VIXL_ASSERT(IsPowerOf2(reg_size)); in Emit()
Dassembler-aarch64.cc6099 if (!IsPowerOf2(d)) { in IsImmLogical()
/third_party/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()
/third_party/node/deps/v8/src/compiler/
Dnode-matchers.h156 bool IsPowerOf2() const { in IsPowerOf2() function
Dmachine-operator-reducer.cc392 if (m.right().IsPowerOf2()) { // x * 2^n => x << n in Reduce()
1097 if (m.right().IsPowerOf2()) { // x * 2^n => x << n in ReduceInt64Mul()
Deffect-control-linearizer.cc2123 if (m.IsPowerOf2()) { in LowerCheckedInt32Div()
2345 if (m.IsPowerOf2()) { in LowerCheckedUint32Div()
/third_party/vixl/src/aarch32/
Dinstructions-aarch32.h494 bool IsSingleRegister() const { return IsPowerOf2(list_); }