Home
last modified time | relevance | path

Searched refs:is_power2 (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/libc/src/string/memory_utils/
Dutils.h25 static constexpr bool is_power2(size_t value) { in is_power2() function
47 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_from_last_aligned()
52 static_assert(is_power2(alignment), "alignment must be a power of 2"); in offset_to_next_aligned()
/external/llvm-project/libc/test/src/string/memory_utils/
Dutils_test.cpp36 EXPECT_EQ(is_power2(i), kExpectedValues[i]); in TEST()
/external/llvm/include/llvm/IR/
DPatternMatch.h267 struct is_power2 { struct
272 inline cst_pred_ty<is_power2> m_Power2() { return cst_pred_ty<is_power2>(); } in m_Power2() argument
273 inline api_pred_ty<is_power2> m_Power2(const APInt *&V) { return V; } in m_Power2()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h430 struct is_power2 { struct
435 inline cst_pred_ty<is_power2> m_Power2() { in m_Power2() argument
436 return cst_pred_ty<is_power2>(); in m_Power2()
438 inline api_pred_ty<is_power2> m_Power2(const APInt *&V) { in m_Power2()
/external/llvm-project/llvm/include/llvm/IR/
DPatternMatch.h485 struct is_power2 { struct
490 inline cst_pred_ty<is_power2> m_Power2() { in m_Power2() argument
491 return cst_pred_ty<is_power2>(); in m_Power2()
493 inline api_pred_ty<is_power2> m_Power2(const APInt *&V) { in m_Power2()