Lines Matching refs:isPowerOf2
5186 return (MulC + 1).isPowerOf2() || (MulC - 1).isPowerOf2() ||
5187 (1 - MulC).isPowerOf2() || (-(MulC + 1)).isPowerOf2();
21898 assert((Divisor.isPowerOf2() || (-Divisor).isPowerOf2()) &&
22429 if (llvm::all_of(EltBits, [](APInt &V) { return V.isPowerOf2(); })) {
22441 if (C1 && C1->getAPIntValue().isPowerOf2()) {
39681 if (AbsDiff.isPowerOf2() ||
40362 if (C && C->getAPIntValue().isPowerOf2()) {
40379 return C->getAPIntValue().isPowerOf2();
41063 if (FalseC->getAPIntValue() == 0 && TrueC->getAPIntValue().isPowerOf2()) {