Lines Matching +defs:C +defs:Q
81 static bool isSignTest(ICmpInst::Predicate &Pred, const APInt &C) { in isSignTest()
215 Constant *C = ConstantFoldCompareInstOperands(ICI.getPredicate(), Elt, in foldCmpLoadFromIndexedGlobal() local
912 Instruction *InstCombinerImpl::foldICmpAddOpConst(Value *X, const APInt &C, in foldICmpAddOpConst()
1180 Constant *C; in foldSignBitTest() local
1253 const SimplifyQuery Q = SQ.getWithInstruction(&Cmp); in foldICmpWithZero() local
1306 Constant *C = dyn_cast<Constant>(Op1); in foldICmpWithConstant() local
1338 const APInt *C; in foldICmpWithDominatingICmp() local
1412 const APInt &C) { in foldICmpTruncConstant()
1498 const SimplifyQuery &Q) { in foldICmpTruncWithTruncOrExt()
1558 const APInt &C) { in foldICmpXorConstant()
1630 const APInt &C) { in foldICmpXorShiftConst()
1875 const APInt &C) { in foldICmpAndConstant()
2040 const APInt &C) { in foldICmpOrConstant()
2120 Value *P, *Q; in foldICmpOrConstant() local
2141 const APInt &C) { in foldICmpMulConstant()
2231 const APInt &C) { in foldICmpShlOne()
2276 const APInt &C) { in foldICmpShlConstant()
2457 const APInt &C) { in foldICmpShrConstant()
2621 const APInt &C) { in foldICmpSRemConstant()
2672 const APInt &C) { in foldICmpUDivConstant()
2705 const APInt &C) { in foldICmpDivConstant()
2887 const APInt &C) { in foldICmpSubConstant()
3022 const APInt &C) { in foldICmpAddConstant()
3118 const SimplifyQuery Q = SQ.getWithInstruction(&Cmp); in foldICmpAddConstant() local
3214 ConstantInt *C) { in foldICmpSelectConstant()
3304 const APInt *C; in foldICmpBitCast() local
3349 const APInt *C; in foldICmpBitCast() local
3415 const APInt *C; in foldICmpInstWithConstant() local
3462 ICmpInst &Cmp, BinaryOperator *BO, const APInt &C) { in foldICmpBinOpEqualityWithConstant()
3572 const SimplifyQuery &Q) { in foldCtpopPow2Test()
3609 ICmpInst &Cmp, IntrinsicInst *II, const APInt &C) { in foldICmpEqIntrinsicWithConstant()
3773 const APInt &C) { in foldICmpInstWithConstantAllowPoison()
3796 const APInt &C) { in foldICmpBinOpWithConstant()
3853 SaturatingInst *II, const APInt &C, in foldICmpUSubSatOrUAddSatWithConstant()
3938 const APInt &C, in foldICmpOfCmpIntrinsicWithConstant()
3985 const APInt &C) { in foldICmpIntrinsicWithConstant()
3999 const SimplifyQuery Q = SQ.getWithInstruction(&Cmp); in foldICmpIntrinsicWithConstant() local
4182 static bool isMaskOrZero(const Value *V, bool Not, const SimplifyQuery &Q, in isMaskOrZero()
4290 Value *Op1, const SimplifyQuery &Q, in foldICmpWithLowBitMaskedVal()
4615 if (auto *C = dyn_cast<Constant>(NarrowestShift->getOperand(0))) { in foldShiftIntoShiftInAnotherHandOfAndInICmp() local
4626 if (auto *C = dyn_cast<Constant>(WidestShift->getOperand(0))) { in foldShiftIntoShiftInAnotherHandOfAndInICmp() local
4769 static Instruction *foldICmpAndXX(ICmpInst &I, const SimplifyQuery &Q, in foldICmpAndXX()
4831 static Instruction *foldICmpOrXX(ICmpInst &I, const SimplifyQuery &Q, in foldICmpOrXX()
4866 static Instruction *foldICmpXorXX(ICmpInst &I, const SimplifyQuery &Q, in foldICmpXorXX()
4895 const SimplifyQuery Q = SQ.getWithInstruction(&I); in foldICmpBinOp() local
4922 Constant *C; in foldICmpBinOp() local
4945 const APInt *C; in foldICmpBinOp() local
4986 Value *A = nullptr, *B = nullptr, *C = nullptr, *D = nullptr; in foldICmpBinOp() local
5269 const APInt *C; in foldICmpBinOp() local
5290 const APInt *C; in foldICmpBinOp() local
5392 SimplifyQuery Q = SQ.getWithInstruction(&I); in foldICmpWithMinMax() local
5574 Value *A, *B, *C, *D; in foldICmpEquality() local
5659 Constant *C; in foldICmpEquality() local
5749 APInt C = APInt::getOneBitSet(BitWidth * 2, BitWidth - 1); in foldICmpEquality() local
5827 const APInt *C; in foldICmpWithTrunc() local
5953 auto *C = dyn_cast<Constant>(ICmp.getOperand(1)); in foldICmpWithZextOrSext() local
6454 SimplifyQuery Q = SQ.getWithoutDomCondCache().getWithInstruction(&I); in foldICmpUsingKnownBits() local
6712 const APInt *C; in foldICmpUsingBoolRange() local
6782 Constant *C) { in getFlippedStrictnessPredicateAndConstant()
6795 auto ConstantIsOk = [WillIncrement, IsSigned](ConstantInt *C) { in getFlippedStrictnessPredicateAndConstant()
7069 Constant *C; in foldVectorCmp() local
7205 const APInt *C; in foldICmpCommutative() local
7223 Constant *C; in foldICmpCommutative() local
7262 const SimplifyQuery Q = SQ.getWithInstruction(&CxtI); in foldICmpCommutative() local
7301 const SimplifyQuery Q = SQ.getWithInstruction(&I); in visitICmpInst() local
7387 const APInt *C; in visitICmpInst() local
7450 Value *Cond, *A, *B, *C, *D; in visitICmpInst() local
7871 const APFloat *C; in foldFCmpReciprocalAndZero() local
7891 const APFloat *C; in foldFabsWithFcmpZero() local
8160 const APFloat *C; in visitFCmpInst() local
8255 Constant *C; in visitFCmpInst() local
8274 const APFloat *C; in visitFCmpInst() local