Searched refs:OrZero (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 169 static bool isKnownToBeAPowerOfTwo(Value *V, bool OrZero, unsigned Depth, 172 bool llvm::isKnownToBeAPowerOfTwo(Value *V, const DataLayout &DL, bool OrZero, in isKnownToBeAPowerOfTwo() argument 176 return ::isKnownToBeAPowerOfTwo(V, OrZero, Depth, in isKnownToBeAPowerOfTwo() 1721 bool isKnownToBeAPowerOfTwo(Value *V, bool OrZero, unsigned Depth, in isKnownToBeAPowerOfTwo() argument 1725 return OrZero; in isKnownToBeAPowerOfTwo() 1747 if (OrZero && (match(V, m_Shl(m_Value(X), m_Value())) || in isKnownToBeAPowerOfTwo() 1752 return isKnownToBeAPowerOfTwo(ZI->getOperand(0), OrZero, Depth, Q, DL); in isKnownToBeAPowerOfTwo() 1755 return isKnownToBeAPowerOfTwo(SI->getTrueValue(), OrZero, Depth, Q, DL) && in isKnownToBeAPowerOfTwo() 1756 isKnownToBeAPowerOfTwo(SI->getFalseValue(), OrZero, Depth, Q, DL); in isKnownToBeAPowerOfTwo() 1758 if (OrZero && match(V, m_And(m_Value(X), m_Value(Y)))) { in isKnownToBeAPowerOfTwo() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | ValueTracking.h | 75 bool OrZero = false, unsigned Depth = 0,
|