Home
last modified time | relevance | path

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

/third_party/vixl/src/
H A Dcompiler-intrinsics-vixl.cc35 VIXL_ASSERT(IsPowerOf2(width) && (width <= 64)); in CountLeadingSignBitsFallBack()
46 VIXL_ASSERT(IsPowerOf2(width) && (width <= 64)); in CountLeadingZerosFallBack()
81 VIXL_ASSERT(IsPowerOf2(width) && (width <= 64)); in CountSetBitsFallBack()
116 VIXL_ASSERT(IsPowerOf2(width) && (width <= 64)); in CountTrailingZerosFallBack()
H A Dpool-manager.h119 VIXL_ASSERT(IsPowerOf2(size)); in LocationBase()
131 VIXL_ASSERT(IsPowerOf2(alignment)); in LocationBase()
257 VIXL_ASSERT(IsPowerOf2(alignment_)); in PoolObject()
284 VIXL_ASSERT(IsPowerOf2(alignment)); in RestrictAlignment()
285 VIXL_ASSERT(IsPowerOf2(alignment_)); in RestrictAlignment()
H A Dcompiler-intrinsics-vixl.h93 inline bool IsPowerOf2(V value) { in IsPowerOf2() function
113 VIXL_ASSERT(IsPowerOf2(width) && (width <= 64)); in CountLeadingSignBits()
H A Dutils-vixl.h659 VIXL_ASSERT(IsPowerOf2(value)); in WhichPowerOf2()
729 VIXL_ASSERT(IsPowerOf2(MULTIPLE)); in IsMultiple()
735 VIXL_ASSERT(IsPowerOf2(multiple)); in IsMultiple()
741 VIXL_ASSERT(IsPowerOf2(alignment)); in IsAligned()
765 VIXL_ASSERT(IsPowerOf2(alignment)); in AlignUp()
785 VIXL_ASSERT(IsPowerOf2(alignment)); in AlignDown()
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/internal/
H A Dbits.h69 constexpr bool IsPowerOf2(unsigned int x) noexcept {
77 static_assert(IsPowerOf2(std::numeric_limits<T>::digits),
88 static_assert(IsPowerOf2(std::numeric_limits<T>::digits),
126 static_assert(IsPowerOf2(std::numeric_limits<T>::digits),
236 static_assert(IsPowerOf2(std::numeric_limits<T>::digits), in CountLeadingZeroes()
319 static_assert(IsPowerOf2(std::numeric_limits<T>::digits),
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A 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/
H A Dstrength_reduction_pass.cpp46 bool IsPowerOf2(uint32_t val) { in IsPowerOf2() function
91 if (IsPowerOf2(constVal)) { in ReplaceMultiplyByPowerOf2()
/third_party/spirv-tools/source/opt/
H A Dstrength_reduction_pass.cpp44 bool IsPowerOf2(uint32_t val) { in IsPowerOf2() function
86 if (IsPowerOf2(constVal)) { in ReplaceMultiplyByPowerOf2()
/third_party/vixl/src/aarch64/
H A Dcpu-aarch64.cc503 VIXL_ASSERT(IsPowerOf2(dsize)); in EnsureIAndDCacheCoherency()
504 VIXL_ASSERT(IsPowerOf2(isize)); in EnsureIAndDCacheCoherency()
H A Dmacro-assembler-aarch64.cc2571 VIXL_ASSERT(IsPowerOf2(reg_size)); in Emit()
H A Dassembler-aarch64.cc6637 if (!IsPowerOf2(d)) {
/third_party/vixl/test/aarch64/
H A Dtest-utils-aarch64.h196 VIXL_ASSERT(IsPowerOf2(p_bits_per_lane));
H A Dtest-simulator-aarch64.cc2143 VIXL_ASSERT((vm_subvector_count != 0) && IsPowerOf2(vm_subvector_count)); in TestByElementNEON_Helper()
/third_party/node/deps/v8/src/compiler/
H A Dnode-matchers.h156 bool IsPowerOf2() const { in IsPowerOf2() function
H A 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()
H A Deffect-control-linearizer.cc2123 if (m.IsPowerOf2()) { in LowerCheckedInt32Div()
2345 if (m.IsPowerOf2()) { in LowerCheckedUint32Div()
/third_party/vixl/src/aarch32/
H A Dinstructions-aarch32.h496 bool IsSingleRegister() const { return IsPowerOf2(list_); }

Completed in 47 milliseconds