/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 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() [all …]
|
D | InstructionSimplify.cpp | 1608 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/ |
D | ValueTracking.h | 81 bool isKnownToBeAPowerOfTwo(Value *V, const DataLayout &DL,
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 50 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()
|
D | InstCombineAndOrXor.cpp | 1700 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()
|
D | InstCombineCompares.cpp | 4094 isKnownToBeAPowerOfTwo(A, DL, false, 0, AC, &I, DT) && I.isEquality()) in visitICmpInst()
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAG.h | 1285 bool isKnownToBeAPowerOfTwo(SDValue Val) const;
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1309 if (DAG.isKnownToBeAPowerOfTwo(Y)) { in simplifySetCCWithAnd()
|
D | SelectionDAG.cpp | 2498 bool SelectionDAG::isKnownToBeAPowerOfTwo(SDValue Val) const { in isKnownToBeAPowerOfTwo() function in SelectionDAG
|