Home
last modified time | relevance | path

Searched refs:OrZero (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Analysis/
DValueTracking.cpp159 static bool isKnownToBeAPowerOfTwo(Value *V, bool OrZero, unsigned Depth,
162 bool llvm::isKnownToBeAPowerOfTwo(Value *V, const DataLayout &DL, bool OrZero, in isKnownToBeAPowerOfTwo() argument
166 return ::isKnownToBeAPowerOfTwo(V, OrZero, Depth, in isKnownToBeAPowerOfTwo()
1494 bool isKnownToBeAPowerOfTwo(Value *V, bool OrZero, unsigned Depth, in isKnownToBeAPowerOfTwo() argument
1498 return OrZero; in isKnownToBeAPowerOfTwo()
1522 if (OrZero && (match(V, m_Shl(m_Value(X), m_Value())) || 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()
1533 if (OrZero && match(V, m_And(m_Value(X), m_Value(Y)))) { in isKnownToBeAPowerOfTwo()
[all …]
/external/llvm/include/llvm/Analysis/
DValueTracking.h82 bool OrZero = false, unsigned Depth = 0,