Home
last modified time | relevance | path

Searched refs:isKnownToBeAPowerOfTwo (Results 1 – 9 of 9) 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() 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()
[all …]
DInstructionSimplify.cpp1608 if (isKnownToBeAPowerOfTwo(Op0, Q.DL, /*OrZero*/ true, 0, Q.AC, Q.CxtI, in SimplifyAndInst()
1611 if (isKnownToBeAPowerOfTwo(Op1, Q.DL, /*OrZero*/ true, 0, Q.AC, Q.CxtI, in SimplifyAndInst()
/external/llvm/include/llvm/Analysis/
DValueTracking.h81 bool isKnownToBeAPowerOfTwo(Value *V, const DataLayout &DL,
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp50 isKnownToBeAPowerOfTwo(I->getOperand(0), IC.getDataLayout(), false, 0, in simplifyValueKnownNonZero()
1198 if (isKnownToBeAPowerOfTwo(Op1, DL, /*OrZero*/ true, 0, AC, &I, DT)) { in visitSDiv()
1437 if (isKnownToBeAPowerOfTwo(Op1, DL, /*OrZero*/ true, 0, AC, &I, DT)) { in visitURem()
DInstCombineAndOrXor.cpp1700 isKnownToBeAPowerOfTwo(LAnd->getOperand(1), DL, false, 0, AC, CxtI, in FoldOrOfICmps()
1702 isKnownToBeAPowerOfTwo(RAnd->getOperand(1), DL, false, 0, AC, CxtI, in FoldOrOfICmps()
1707 isKnownToBeAPowerOfTwo(LAnd->getOperand(0), DL, false, 0, AC, in FoldOrOfICmps()
1709 isKnownToBeAPowerOfTwo(RAnd->getOperand(0), DL, false, 0, AC, in FoldOrOfICmps()
DInstCombineCompares.cpp4094 isKnownToBeAPowerOfTwo(A, DL, false, 0, AC, &I, DT) && I.isEquality()) in visitICmpInst()
/external/llvm/include/llvm/CodeGen/
DSelectionDAG.h1285 bool isKnownToBeAPowerOfTwo(SDValue Val) const;
/external/llvm/lib/CodeGen/SelectionDAG/
DTargetLowering.cpp1309 if (DAG.isKnownToBeAPowerOfTwo(Y)) { in simplifySetCCWithAnd()
DSelectionDAG.cpp2498 bool SelectionDAG::isKnownToBeAPowerOfTwo(SDValue Val) const { in isKnownToBeAPowerOfTwo() function in SelectionDAG