Home
last modified time | relevance | path

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

/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/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/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()