Lines Matching refs:computeKnownBits
122 static void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne,
125 void llvm::computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, in computeKnownBits() function in llvm
129 ::computeKnownBits(V, KnownZero, KnownOne, Depth, in computeKnownBits()
143 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, DL, 0, AC, CxtI, DT); in haveNoCommonBitsSet()
144 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, DL, 0, AC, CxtI, DT); in haveNoCommonBitsSet()
249 computeKnownBits(Op1, KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsAddSub()
268 computeKnownBits(Op0, LHSKnownZero, LHSKnownOne, Depth + 1, Q); in computeKnownBitsAddSub()
269 computeKnownBits(Op1, KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsAddSub()
319 computeKnownBits(Op1, KnownZero, KnownOne, Depth + 1, Q); in computeKnownBitsMul()
320 computeKnownBits(Op0, KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsMul()
569 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
578 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
580 computeKnownBits(B, MaskKnownZero, MaskKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
592 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
594 computeKnownBits(B, MaskKnownZero, MaskKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
606 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
608 computeKnownBits(B, BKnownZero, BKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
620 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
622 computeKnownBits(B, BKnownZero, BKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
634 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
636 computeKnownBits(B, BKnownZero, BKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
651 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
653 computeKnownBits(B, BKnownZero, BKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
668 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
679 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
692 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
705 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
715 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
726 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
737 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
748 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
759 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
769 computeKnownBits(A, RHSKnownZero, RHSKnownOne, Depth+1, Query(Q, I)); in computeKnownBitsFromAssume()
801 computeKnownBits(I->getOperand(0), KnownZero, KnownOne, Depth + 1, Q); in computeKnownBitsFromShiftOperator()
807 computeKnownBits(I->getOperand(1), KnownZero, KnownOne, Depth + 1, Q); in computeKnownBitsFromShiftOperator()
833 computeKnownBits(I->getOperand(0), KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsFromShiftOperator()
883 computeKnownBits(I->getOperand(1), KnownZero, KnownOne, Depth + 1, Q); in computeKnownBitsFromOperator()
884 computeKnownBits(I->getOperand(0), KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsFromOperator()
902 computeKnownBits(Y, KnownZero3, KnownOne3, Depth + 1, Q); in computeKnownBitsFromOperator()
909 computeKnownBits(I->getOperand(1), KnownZero, KnownOne, Depth + 1, Q); in computeKnownBitsFromOperator()
910 computeKnownBits(I->getOperand(0), KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsFromOperator()
919 computeKnownBits(I->getOperand(1), KnownZero, KnownOne, Depth + 1, Q); in computeKnownBitsFromOperator()
920 computeKnownBits(I->getOperand(0), KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsFromOperator()
939 computeKnownBits(I->getOperand(0), KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsFromOperator()
944 computeKnownBits(I->getOperand(1), KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsFromOperator()
954 computeKnownBits(I->getOperand(2), KnownZero, KnownOne, Depth + 1, Q); in computeKnownBitsFromOperator()
955 computeKnownBits(I->getOperand(1), KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsFromOperator()
984 computeKnownBits(I->getOperand(0), KnownZero, KnownOne, Depth + 1, Q); in computeKnownBitsFromOperator()
998 computeKnownBits(I->getOperand(0), KnownZero, KnownOne, Depth + 1, Q); in computeKnownBitsFromOperator()
1009 computeKnownBits(I->getOperand(0), KnownZero, KnownOne, Depth + 1, Q); in computeKnownBitsFromOperator()
1088 computeKnownBits(I->getOperand(0), KnownZero2, KnownOne2, Depth + 1, in computeKnownBitsFromOperator()
1113 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in computeKnownBitsFromOperator()
1126 computeKnownBits(I->getOperand(0), KnownZero, KnownOne, Depth + 1, Q); in computeKnownBitsFromOperator()
1135 computeKnownBits(I->getOperand(0), KnownZero, KnownOne, Depth + 1, Q); in computeKnownBitsFromOperator()
1136 computeKnownBits(I->getOperand(1), KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsFromOperator()
1159 computeKnownBits(I->getOperand(0), LocalKnownZero, LocalKnownOne, Depth + 1, in computeKnownBitsFromOperator()
1192 computeKnownBits(Index, LocalKnownZero, LocalKnownOne, Depth + 1, Q); in computeKnownBitsFromOperator()
1234 computeKnownBits(R, KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsFromOperator()
1238 computeKnownBits(L, KnownZero3, KnownOne3, Depth + 1, Q); in computeKnownBitsFromOperator()
1269 computeKnownBits(IncValue, KnownZero2, KnownOne2, MaxDepth - 1, Q); in computeKnownBitsFromOperator()
1288 computeKnownBits(RV, KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsFromOperator()
1296 computeKnownBits(I->getOperand(0), KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsFromOperator()
1310 computeKnownBits(I->getOperand(0), KnownZero2, KnownOne2, Depth + 1, Q); in computeKnownBitsFromOperator()
1375 void computeKnownBits(Value *V, APInt &KnownZero, APInt &KnownOne, in computeKnownBits() function
1450 computeKnownBits(GA->getAliasee(), KnownZero, KnownOne, Depth + 1, Q); in computeKnownBits()
1485 computeKnownBits(V, ZeroBits, OneBits, Depth, Q); in ComputeSignBit()
1560 computeKnownBits(X, LHSZeroBits, LHSOneBits, Depth, Q); in isKnownToBeAPowerOfTwo()
1563 computeKnownBits(Y, RHSZeroBits, RHSOneBits, Depth, Q); in isKnownToBeAPowerOfTwo()
1741 computeKnownBits(X, KnownZero, KnownOne, Depth, Q); in isKnownNonZero()
1764 computeKnownBits(X, KnownZero, KnownOne, Depth, Q); in isKnownNonZero()
1800 computeKnownBits(X, KnownZero, KnownOne, Depth, Q); in isKnownNonZero()
1805 computeKnownBits(Y, KnownZero, KnownOne, Depth, Q); in isKnownNonZero()
1863 computeKnownBits(V, KnownZero, KnownOne, Depth, Q); in isKnownNonZero()
1898 computeKnownBits(V1, KnownZero1, KnownOne1, 0, Q); in isKnownNonEqual()
1901 computeKnownBits(V2, KnownZero2, KnownOne2, 0, Q); in isKnownNonEqual()
1922 computeKnownBits(V, KnownZero, KnownOne, Depth, Q); in MaskedValueIsZero()
2082 computeKnownBits(U->getOperand(0), KnownZero, KnownOne, Depth + 1, Q); in ComputeNumSignBits()
2107 computeKnownBits(U->getOperand(1), KnownZero, KnownOne, Depth + 1, Q); in ComputeNumSignBits()
2161 computeKnownBits(V, KnownZero, KnownOne, Depth, Q); in ComputeNumSignBits()
3291 computeKnownBits(LHS, LHSKnownZero, LHSKnownOne, DL, /*Depth=*/0, AC, CxtI, in computeOverflowForUnsignedMul()
3293 computeKnownBits(RHS, RHSKnownZero, RHSKnownOne, DL, /*Depth=*/0, AC, CxtI, in computeOverflowForUnsignedMul()
3998 computeKnownBits(X, KnownZero, KnownOne, DL, Depth + 1, AC, CxtI, DT); in isTruePredicate()