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