Searched defs:IsPowerOfTwo (Results 1 – 4 of 4) sorted by relevance
447 inline constexpr bool IsPowerOfTwo(uptr x) { return (x & (x - 1)) == 0; } in IsPowerOfTwo() function
4771 auto IsPowerOfTwo = [](ConstantSDNode *C) { in isDivisorPowerOfTwo() local27948 auto IsPowerOfTwo = [&Pow2Constants](ConstantSDNode *C) { in takeInexpensiveLog2() local
7698 const bool IsPowerOfTwo = all_of(Ops, [](Value *V) { in getOperandInfo() local
15278 #define IsPowerOfTwo(X) (((X)&((X)-1))==0) macro