Home
last modified time | relevance | path

Searched refs:isKnownToBeAPowerOfTwo (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Analysis/
DValueTracking.cpp151 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()
[all …]
DInstructionSimplify.cpp1593 if (isKnownToBeAPowerOfTwo(Op0, Q.DL, /*OrZero*/ true, 0, Q.AC, Q.CxtI, in SimplifyAndInst()
1596 if (isKnownToBeAPowerOfTwo(Op1, Q.DL, /*OrZero*/ true, 0, Q.AC, Q.CxtI, in SimplifyAndInst()
/external/llvm/include/llvm/Analysis/
DValueTracking.h63 bool isKnownToBeAPowerOfTwo(Value *V, const DataLayout &DL,
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp50 isKnownToBeAPowerOfTwo(I->getOperand(0), IC.getDataLayout(), false, 0, in simplifyValueKnownNonZero()
1158 if (isKnownToBeAPowerOfTwo(Op1, DL, /*OrZero*/ true, 0, AC, &I, DT)) { in visitSDiv()
1388 if (isKnownToBeAPowerOfTwo(Op1, DL, /*OrZero*/ true, 0, AC, &I, DT)) { in visitURem()
DInstCombineAndOrXor.cpp1712 isKnownToBeAPowerOfTwo(LAnd->getOperand(1), DL, false, 0, AC, CxtI, in FoldOrOfICmps()
1714 isKnownToBeAPowerOfTwo(RAnd->getOperand(1), DL, false, 0, AC, CxtI, in FoldOrOfICmps()
1719 isKnownToBeAPowerOfTwo(LAnd->getOperand(0), DL, false, 0, AC, in FoldOrOfICmps()
1721 isKnownToBeAPowerOfTwo(RAnd->getOperand(0), DL, false, 0, AC, in FoldOrOfICmps()
DInstCombineCompares.cpp3500 isKnownToBeAPowerOfTwo(A, DL, false, 0, AC, &I, DT) && I.isEquality()) in visitICmpInst()