Home
last modified time | relevance | path

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

/external/llvm-project/libc/src/string/memory_utils/
Dutils.h20 static constexpr bool is_power2_or_zero(size_t value) { in is_power2_or_zero() function
26 return value && is_power2_or_zero(value); in is_power2()
43 return is_power2_or_zero(value) ? value : 1ULL << (log2(value) + 1); in ge_power2()
/external/llvm-project/libc/test/src/string/memory_utils/
Dutils_test.cpp24 EXPECT_EQ(is_power2_or_zero(i), kExpectedValues[i]); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h454 struct is_power2_or_zero { struct
459 inline cst_pred_ty<is_power2_or_zero> m_Power2OrZero() { in m_Power2OrZero() argument
460 return cst_pred_ty<is_power2_or_zero>(); in m_Power2OrZero()
462 inline api_pred_ty<is_power2_or_zero> m_Power2OrZero(const APInt *&V) { in m_Power2OrZero()
/external/llvm-project/llvm/include/llvm/IR/
DPatternMatch.h509 struct is_power2_or_zero { struct
514 inline cst_pred_ty<is_power2_or_zero> m_Power2OrZero() { in m_Power2OrZero() argument
515 return cst_pred_ty<is_power2_or_zero>(); in m_Power2OrZero()
517 inline api_pred_ty<is_power2_or_zero> m_Power2OrZero(const APInt *&V) { in m_Power2OrZero()