Lines Matching refs:isKnownToBeAPowerOfTwo
159 static bool isKnownToBeAPowerOfTwo(Value *V, bool OrZero, unsigned Depth,
162 bool llvm::isKnownToBeAPowerOfTwo(Value *V, const DataLayout &DL, bool OrZero, in isKnownToBeAPowerOfTwo() function in llvm
166 return ::isKnownToBeAPowerOfTwo(V, OrZero, Depth, in isKnownToBeAPowerOfTwo()
773 if (isKnownToBeAPowerOfTwo(A, false, Depth + 1, Query(Q, I))) in computeKnownBitsFromAssume()
1494 bool isKnownToBeAPowerOfTwo(Value *V, bool OrZero, unsigned Depth, in isKnownToBeAPowerOfTwo() function
1524 return isKnownToBeAPowerOfTwo(X, /*OrZero*/ true, Depth, Q); in isKnownToBeAPowerOfTwo()
1527 return isKnownToBeAPowerOfTwo(ZI->getOperand(0), OrZero, Depth, Q); in isKnownToBeAPowerOfTwo()
1530 return isKnownToBeAPowerOfTwo(SI->getTrueValue(), OrZero, Depth, Q) && in isKnownToBeAPowerOfTwo()
1531 isKnownToBeAPowerOfTwo(SI->getFalseValue(), OrZero, Depth, Q); in isKnownToBeAPowerOfTwo()
1535 if (isKnownToBeAPowerOfTwo(X, /*OrZero*/ true, Depth, Q) || in isKnownToBeAPowerOfTwo()
1536 isKnownToBeAPowerOfTwo(Y, /*OrZero*/ true, Depth, Q)) in isKnownToBeAPowerOfTwo()
1551 if (isKnownToBeAPowerOfTwo(Y, OrZero, Depth, Q)) in isKnownToBeAPowerOfTwo()
1555 if (isKnownToBeAPowerOfTwo(X, OrZero, Depth, Q)) in isKnownToBeAPowerOfTwo()
1580 return isKnownToBeAPowerOfTwo(cast<Operator>(V)->getOperand(0), OrZero, in isKnownToBeAPowerOfTwo()
1812 isKnownToBeAPowerOfTwo(Y, /*OrZero*/ false, Depth, Q)) in isKnownNonZero()
1815 isKnownToBeAPowerOfTwo(X, /*OrZero*/ false, Depth, Q)) in isKnownNonZero()