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
50 bool IsPowerOfTwo(size_t n) { in IsPowerOfTwo() function
82 bool IsPowerOfTwo(uint64_t n) { in IsPowerOfTwo() function
48 TEST(Math, IsPowerOfTwo) { in TEST() argument
82 static bool IsPowerOfTwo(size_t val) { in IsPowerOfTwo() function
115 TEST(Math, IsPowerOfTwo) { in TEST() argument
14265 #define IsPowerOfTwo(X) (((X)&((X)-1))==0) macro
3806 auto IsPowerOfTwo = [](ConstantSDNode *C) { in visitSDIVLike() local