Searched defs:IsPowerOfTwo (Results 1 – 9 of 9) sorted by relevance
38 inline bool IsPowerOfTwo(T value) { in IsPowerOfTwo() function
49 TEST(MathTests, IsPowerOfTwo) { in TEST() argument
68 inline constexpr bool IsPowerOfTwo(int value) { in IsPowerOfTwo() function
82 bool IsPowerOfTwo(uint64_t n) { in IsPowerOfTwo() function
115 TEST(Math, IsPowerOfTwo) { in TEST() argument
160 constexpr inline bool IsPowerOfTwo(T value) { in IsPowerOfTwo() function
14688 #define IsPowerOfTwo(X) (((X)&((X)-1))==0) macro
3806 auto IsPowerOfTwo = [](ConstantSDNode *C) { in visitSDIVLike() local
36340 IsPowerOfTwo(T x) in IsPowerOfTwo() function