Lines Matching refs:isKnownToBeAPowerOfTwo

151 static bool isKnownToBeAPowerOfTwo(Value *V, bool OrZero, unsigned Depth,
154 bool llvm::isKnownToBeAPowerOfTwo(Value *V, const DataLayout &DL, bool OrZero, in isKnownToBeAPowerOfTwo() function in llvm
158 return ::isKnownToBeAPowerOfTwo(V, OrZero, Depth, in isKnownToBeAPowerOfTwo()
560 if (isKnownToBeAPowerOfTwo(RHS, false, Depth + 1, Query(Q, Cmp), DL)) in computeKnownBitsFromTrueCondition()
912 if (isKnownToBeAPowerOfTwo(A, false, Depth + 1, Query(Q, I), DL)) in computeKnownBitsFromAssume()
1534 bool isKnownToBeAPowerOfTwo(Value *V, bool OrZero, unsigned Depth, in isKnownToBeAPowerOfTwo() function
1562 return isKnownToBeAPowerOfTwo(X, /*OrZero*/ true, Depth, Q, DL); in isKnownToBeAPowerOfTwo()
1565 return isKnownToBeAPowerOfTwo(ZI->getOperand(0), OrZero, Depth, Q, DL); in isKnownToBeAPowerOfTwo()
1568 return isKnownToBeAPowerOfTwo(SI->getTrueValue(), OrZero, Depth, Q, DL) && in isKnownToBeAPowerOfTwo()
1569 isKnownToBeAPowerOfTwo(SI->getFalseValue(), OrZero, Depth, Q, DL); in isKnownToBeAPowerOfTwo()
1573 if (isKnownToBeAPowerOfTwo(X, /*OrZero*/ true, Depth, Q, DL) || in isKnownToBeAPowerOfTwo()
1574 isKnownToBeAPowerOfTwo(Y, /*OrZero*/ true, Depth, Q, DL)) in isKnownToBeAPowerOfTwo()
1589 if (isKnownToBeAPowerOfTwo(Y, OrZero, Depth, Q, DL)) in isKnownToBeAPowerOfTwo()
1593 if (isKnownToBeAPowerOfTwo(X, OrZero, Depth, Q, DL)) in isKnownToBeAPowerOfTwo()
1618 return isKnownToBeAPowerOfTwo(cast<Operator>(V)->getOperand(0), OrZero, in isKnownToBeAPowerOfTwo()
1822 isKnownToBeAPowerOfTwo(Y, /*OrZero*/ false, Depth, Q, DL)) in isKnownNonZero()
1825 isKnownToBeAPowerOfTwo(X, /*OrZero*/ false, Depth, Q, DL)) in isKnownNonZero()