Lines Matching refs:MaxRecurse
67 const SimplifyQuery &Q, unsigned MaxRecurse);
80 unsigned MaxRecurse);
153 const SimplifyQuery &Q, unsigned MaxRecurse, in simplifyCmpSelCase() argument
155 Value *SimplifiedCmp = simplifyCmpInst(Pred, LHS, RHS, Q, MaxRecurse); in simplifyCmpSelCase()
171 unsigned MaxRecurse) { in simplifyCmpSelTrueCase() argument
172 return simplifyCmpSelCase(Pred, LHS, RHS, Cond, Q, MaxRecurse, in simplifyCmpSelTrueCase()
180 unsigned MaxRecurse) { in simplifyCmpSelFalseCase() argument
181 return simplifyCmpSelCase(Pred, LHS, RHS, Cond, Q, MaxRecurse, in simplifyCmpSelFalseCase()
190 unsigned MaxRecurse) { in handleOtherCmpSelSimplifications() argument
198 if (Value *V = simplifyAndInst(Cond, TCmp, Q, MaxRecurse)) in handleOtherCmpSelSimplifications()
203 if (Value *V = simplifyOrInst(Cond, FCmp, Q, MaxRecurse)) in handleOtherCmpSelSimplifications()
209 Cond, Constant::getAllOnesValue(Cond->getType()), Q, MaxRecurse)) in handleOtherCmpSelSimplifications()
239 const SimplifyQuery &Q, unsigned MaxRecurse) { in expandBinOp() argument
245 simplifyBinOp(Opcode, B0, OtherOp, Q.getWithoutUndef(), MaxRecurse); in expandBinOp()
249 simplifyBinOp(Opcode, B1, OtherOp, Q.getWithoutUndef(), MaxRecurse); in expandBinOp()
261 Value *S = simplifyBinOp(OpcodeToExpand, L, R, Q, MaxRecurse); in expandBinOp()
275 unsigned MaxRecurse) { in expandCommutativeBinOp() argument
277 if (!MaxRecurse--) in expandCommutativeBinOp()
280 if (Value *V = expandBinOp(Opcode, L, R, OpcodeToExpand, Q, MaxRecurse)) in expandCommutativeBinOp()
282 if (Value *V = expandBinOp(Opcode, R, L, OpcodeToExpand, Q, MaxRecurse)) in expandCommutativeBinOp()
292 unsigned MaxRecurse) { in simplifyAssociativeBinOp() argument
296 if (!MaxRecurse--) in simplifyAssociativeBinOp()
309 if (Value *V = simplifyBinOp(Opcode, B, C, Q, MaxRecurse)) { in simplifyAssociativeBinOp()
315 if (Value *W = simplifyBinOp(Opcode, A, V, Q, MaxRecurse)) { in simplifyAssociativeBinOp()
329 if (Value *V = simplifyBinOp(Opcode, A, B, Q, MaxRecurse)) { in simplifyAssociativeBinOp()
335 if (Value *W = simplifyBinOp(Opcode, V, C, Q, MaxRecurse)) { in simplifyAssociativeBinOp()
353 if (Value *V = simplifyBinOp(Opcode, C, A, Q, MaxRecurse)) { in simplifyAssociativeBinOp()
359 if (Value *W = simplifyBinOp(Opcode, V, B, Q, MaxRecurse)) { in simplifyAssociativeBinOp()
373 if (Value *V = simplifyBinOp(Opcode, C, A, Q, MaxRecurse)) { in simplifyAssociativeBinOp()
379 if (Value *W = simplifyBinOp(Opcode, B, V, Q, MaxRecurse)) { in simplifyAssociativeBinOp()
395 unsigned MaxRecurse) { in threadBinOpOverSelect() argument
397 if (!MaxRecurse--) in threadBinOpOverSelect()
412 TV = simplifyBinOp(Opcode, SI->getTrueValue(), RHS, Q, MaxRecurse); in threadBinOpOverSelect()
413 FV = simplifyBinOp(Opcode, SI->getFalseValue(), RHS, Q, MaxRecurse); in threadBinOpOverSelect()
415 TV = simplifyBinOp(Opcode, LHS, SI->getTrueValue(), Q, MaxRecurse); in threadBinOpOverSelect()
416 FV = simplifyBinOp(Opcode, LHS, SI->getFalseValue(), Q, MaxRecurse); in threadBinOpOverSelect()
474 unsigned MaxRecurse) { in threadCmpOverSelect() argument
476 if (!MaxRecurse--) in threadCmpOverSelect()
492 Value *TCmp = simplifyCmpSelTrueCase(Pred, TV, RHS, Cond, Q, MaxRecurse); in threadCmpOverSelect()
497 Value *FCmp = simplifyCmpSelFalseCase(Pred, FV, RHS, Cond, Q, MaxRecurse); in threadCmpOverSelect()
509 return handleOtherCmpSelSimplifications(TCmp, FCmp, Cond, Q, MaxRecurse); in threadCmpOverSelect()
520 unsigned MaxRecurse) { in threadBinOpOverPHI() argument
522 if (!MaxRecurse--) in threadBinOpOverPHI()
548 Q.getWithInstruction(InTI), MaxRecurse) in threadBinOpOverPHI()
550 Q.getWithInstruction(InTI), MaxRecurse); in threadBinOpOverPHI()
566 const SimplifyQuery &Q, unsigned MaxRecurse) { in threadCmpOverPHI() argument
568 if (!MaxRecurse--) in threadCmpOverPHI()
595 MaxRecurse); in threadCmpOverPHI()
635 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyAddInst() argument
680 if (MaxRecurse && Op0->getType()->isIntOrIntVectorTy(1)) in simplifyAddInst()
681 if (Value *V = simplifyXorInst(Op0, Op1, Q, MaxRecurse - 1)) in simplifyAddInst()
686 simplifyAssociativeBinOp(Instruction::Add, Op0, Op1, Q, MaxRecurse)) in simplifyAddInst()
753 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyByDomEq() argument
755 if (MaxRecurse != RecursionLimit) in simplifyByDomEq()
787 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifySubInst() argument
830 if (MaxRecurse && match(Op0, m_Add(m_Value(X), m_Value(Y)))) { // (X + Y) - Z in simplifySubInst()
832 if (Value *V = simplifyBinOp(Instruction::Sub, Y, Z, Q, MaxRecurse - 1)) in simplifySubInst()
834 if (Value *W = simplifyBinOp(Instruction::Add, X, V, Q, MaxRecurse - 1)) { in simplifySubInst()
840 if (Value *V = simplifyBinOp(Instruction::Sub, X, Z, Q, MaxRecurse - 1)) in simplifySubInst()
842 if (Value *W = simplifyBinOp(Instruction::Add, Y, V, Q, MaxRecurse - 1)) { in simplifySubInst()
852 if (MaxRecurse && match(Op1, m_Add(m_Value(Y), m_Value(Z)))) { // X - (Y + Z) in simplifySubInst()
854 if (Value *V = simplifyBinOp(Instruction::Sub, X, Y, Q, MaxRecurse - 1)) in simplifySubInst()
856 if (Value *W = simplifyBinOp(Instruction::Sub, V, Z, Q, MaxRecurse - 1)) { in simplifySubInst()
862 if (Value *V = simplifyBinOp(Instruction::Sub, X, Z, Q, MaxRecurse - 1)) in simplifySubInst()
864 if (Value *W = simplifyBinOp(Instruction::Sub, V, Y, Q, MaxRecurse - 1)) { in simplifySubInst()
874 if (MaxRecurse && match(Op1, m_Sub(m_Value(X), m_Value(Y)))) // Z - (X - Y) in simplifySubInst()
876 if (Value *V = simplifyBinOp(Instruction::Sub, Z, X, Q, MaxRecurse - 1)) in simplifySubInst()
878 if (Value *W = simplifyBinOp(Instruction::Add, V, Y, Q, MaxRecurse - 1)) { in simplifySubInst()
885 if (MaxRecurse && match(Op0, m_Trunc(m_Value(X))) && in simplifySubInst()
889 if (Value *V = simplifyBinOp(Instruction::Sub, X, Y, Q, MaxRecurse - 1)) in simplifySubInst()
892 Q, MaxRecurse - 1)) in simplifySubInst()
903 if (MaxRecurse && Op0->getType()->isIntOrIntVectorTy(1)) in simplifySubInst()
904 if (Value *V = simplifyXorInst(Op0, Op1, Q, MaxRecurse - 1)) in simplifySubInst()
916 if (Value *V = simplifyByDomEq(Instruction::Sub, Op0, Op1, Q, MaxRecurse)) in simplifySubInst()
930 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyMulInst() argument
962 if (MaxRecurse) in simplifyMulInst()
963 if (Value *V = simplifyAndInst(Op0, Op1, Q, MaxRecurse - 1)) in simplifyMulInst()
969 simplifyAssociativeBinOp(Instruction::Mul, Op0, Op1, Q, MaxRecurse)) in simplifyMulInst()
974 Instruction::Add, Q, MaxRecurse)) in simplifyMulInst()
981 threadBinOpOverSelect(Instruction::Mul, Op0, Op1, Q, MaxRecurse)) in simplifyMulInst()
988 threadBinOpOverPHI(Instruction::Mul, Op0, Op1, Q, MaxRecurse)) in simplifyMulInst()
1003 const SimplifyQuery &Q, unsigned MaxRecurse) { in isICmpTrue() argument
1004 Value *V = simplifyICmpInst(Pred, LHS, RHS, Q, MaxRecurse); in isICmpTrue()
1012 unsigned MaxRecurse, bool IsSigned) { in isDivZero() argument
1014 if (!MaxRecurse--) in isDivZero()
1037 if (isICmpTrue(CmpInst::ICMP_SLT, Y, NegDividendC, Q, MaxRecurse) || in isDivZero()
1038 isICmpTrue(CmpInst::ICMP_SGT, Y, PosDividendC, Q, MaxRecurse)) in isDivZero()
1046 return isICmpTrue(CmpInst::ICMP_NE, X, Y, Q, MaxRecurse); in isDivZero()
1053 if (isICmpTrue(CmpInst::ICMP_SGT, X, NegDivisorC, Q, MaxRecurse) && in isDivZero()
1054 isICmpTrue(CmpInst::ICMP_SLT, X, PosDivisorC, Q, MaxRecurse)) in isDivZero()
1072 return isICmpTrue(ICmpInst::ICMP_ULT, X, Y, Q, MaxRecurse); in isDivZero()
1079 unsigned MaxRecurse) { in simplifyDivRem() argument
1162 if (isDivZero(Op0, Op1, Q, MaxRecurse, IsSigned)) in simplifyDivRem()
1165 if (Value *V = simplifyByDomEq(Opcode, Op0, Op1, Q, MaxRecurse)) in simplifyDivRem()
1171 if (Value *V = threadBinOpOverSelect(Opcode, Op0, Op1, Q, MaxRecurse)) in simplifyDivRem()
1177 if (Value *V = threadBinOpOverPHI(Opcode, Op0, Op1, Q, MaxRecurse)) in simplifyDivRem()
1186 unsigned MaxRecurse) { in simplifyDiv() argument
1190 if (Value *V = simplifyDivRem(Opcode, Op0, Op1, Q, MaxRecurse)) in simplifyDiv()
1220 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyRem() argument
1224 if (Value *V = simplifyDivRem(Opcode, Op0, Op1, Q, MaxRecurse)) in simplifyRem()
1241 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifySDivInst() argument
1246 return simplifyDiv(Instruction::SDiv, Op0, Op1, IsExact, Q, MaxRecurse); in simplifySDivInst()
1257 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyUDivInst() argument
1258 return simplifyDiv(Instruction::UDiv, Op0, Op1, IsExact, Q, MaxRecurse); in simplifyUDivInst()
1269 unsigned MaxRecurse) { in simplifySRemInst() argument
1280 return simplifyRem(Instruction::SRem, Op0, Op1, Q, MaxRecurse); in simplifySRemInst()
1290 unsigned MaxRecurse) { in simplifyURemInst() argument
1291 return simplifyRem(Instruction::URem, Op0, Op1, Q, MaxRecurse); in simplifyURemInst()
1332 unsigned MaxRecurse) { in simplifyShift() argument
1359 if (Value *V = threadBinOpOverSelect(Opcode, Op0, Op1, Q, MaxRecurse)) in simplifyShift()
1365 if (Value *V = threadBinOpOverPHI(Opcode, Op0, Op1, Q, MaxRecurse)) in simplifyShift()
1402 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyRightShift() argument
1404 simplifyShift(Opcode, Op0, Op1, /*IsNSW*/ false, Q, MaxRecurse)) in simplifyRightShift()
1430 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyShlInst() argument
1432 simplifyShift(Instruction::Shl, Op0, Op1, IsNSW, Q, MaxRecurse)) in simplifyShlInst()
1471 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyLShrInst() argument
1473 MaxRecurse)) in simplifyLShrInst()
1508 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyAShrInst() argument
1510 MaxRecurse)) in simplifyAShrInst()
1935 unsigned MaxRecurse);
1939 unsigned MaxRecurse) { in simplifyAndOrWithICmpEq() argument
1973 /* DropFlags */ nullptr, MaxRecurse)) in simplifyAndOrWithICmpEq()
1977 /* DropFlags */ nullptr, MaxRecurse)) in simplifyAndOrWithICmpEq()
2010 unsigned MaxRecurse) { in simplifyAndCommutative() argument
2053 simplifyAndOrWithICmpEq(Instruction::And, Op0, Op1, Q, MaxRecurse)) in simplifyAndCommutative()
2062 unsigned MaxRecurse) { in simplifyAndInst() argument
2086 if (Value *Res = simplifyAndCommutative(Op0, Op1, Q, MaxRecurse)) in simplifyAndInst()
2088 if (Value *Res = simplifyAndCommutative(Op1, Op0, Q, MaxRecurse)) in simplifyAndInst()
2130 simplifyAssociativeBinOp(Instruction::And, Op0, Op1, Q, MaxRecurse)) in simplifyAndInst()
2135 Instruction::Or, Q, MaxRecurse)) in simplifyAndInst()
2140 Instruction::Xor, Q, MaxRecurse)) in simplifyAndInst()
2155 threadBinOpOverSelect(Instruction::And, Op0, Op1, Q, MaxRecurse)) in simplifyAndInst()
2163 threadBinOpOverPHI(Instruction::And, Op0, Op1, Q, MaxRecurse)) in simplifyAndInst()
2234 if (Value *V = simplifyByDomEq(Instruction::And, Op0, Op1, Q, MaxRecurse)) in simplifyAndInst()
2339 unsigned MaxRecurse) { in simplifyOrInst() argument
2409 simplifyAndOrWithICmpEq(Instruction::Or, Op0, Op1, Q, MaxRecurse)) in simplifyOrInst()
2412 simplifyAndOrWithICmpEq(Instruction::Or, Op1, Op0, Q, MaxRecurse)) in simplifyOrInst()
2428 simplifyAssociativeBinOp(Instruction::Or, Op0, Op1, Q, MaxRecurse)) in simplifyOrInst()
2433 Instruction::And, Q, MaxRecurse)) in simplifyOrInst()
2448 threadBinOpOverSelect(Instruction::Or, Op0, Op1, Q, MaxRecurse)) in simplifyOrInst()
2481 if (Value *V = threadBinOpOverPHI(Instruction::Or, Op0, Op1, Q, MaxRecurse)) in simplifyOrInst()
2510 if (Value *V = simplifyByDomEq(Instruction::Or, Op0, Op1, Q, MaxRecurse)) in simplifyOrInst()
2523 unsigned MaxRecurse) { in simplifyXorInst() argument
2576 simplifyAssociativeBinOp(Instruction::Xor, Op0, Op1, Q, MaxRecurse)) in simplifyXorInst()
2588 if (Value *V = simplifyByDomEq(Instruction::Xor, Op0, Op1, Q, MaxRecurse)) in simplifyXorInst()
3084 unsigned MaxRecurse) { in simplifyICmpWithBinOpOnLHS() argument
3265 unsigned MaxRecurse) { in simplifyICmpWithBinOp() argument
3268 if (MaxRecurse && (LBO || RBO)) { in simplifyICmpWithBinOp()
3298 MaxRecurse - 1)) in simplifyICmpWithBinOp()
3305 C == LHS ? D : C, Q, MaxRecurse - 1)) in simplifyICmpWithBinOp()
3332 if (Value *V = simplifyICmpInst(Pred, Y, Z, Q, MaxRecurse - 1)) in simplifyICmpWithBinOp()
3338 if (Value *V = simplifyICmpWithBinOpOnLHS(Pred, LBO, RHS, Q, MaxRecurse)) in simplifyICmpWithBinOp()
3343 ICmpInst::getSwappedPredicate(Pred), RBO, LHS, Q, MaxRecurse)) in simplifyICmpWithBinOp()
3399 if (!MaxRecurse || !LBO || !RBO || LBO->getOpcode() != RBO->getOpcode()) in simplifyICmpWithBinOp()
3413 RBO->getOperand(1), Q, MaxRecurse - 1)) in simplifyICmpWithBinOp()
3460 RBO->getOperand(0), Q, MaxRecurse - 1)) in simplifyICmpWithBinOp()
3468 RBO->getOperand(0), Q, MaxRecurse - 1)) in simplifyICmpWithBinOp()
3475 RBO->getOperand(0), Q, MaxRecurse - 1)) in simplifyICmpWithBinOp()
3486 RBO->getOperand(0), Q, MaxRecurse - 1)) in simplifyICmpWithBinOp()
3499 unsigned MaxRecurse) { in simplifyICmpWithMinMax() argument
3550 if (MaxRecurse) in simplifyICmpWithMinMax()
3551 if (Value *V = simplifyICmpInst(EqP, A, B, Q, MaxRecurse - 1)) in simplifyICmpWithMinMax()
3564 if (MaxRecurse) in simplifyICmpWithMinMax()
3565 if (Value *V = simplifyICmpInst(InvEqP, A, B, Q, MaxRecurse - 1)) in simplifyICmpWithMinMax()
3624 if (MaxRecurse) in simplifyICmpWithMinMax()
3625 if (Value *V = simplifyICmpInst(EqP, A, B, Q, MaxRecurse - 1)) in simplifyICmpWithMinMax()
3638 if (MaxRecurse) in simplifyICmpWithMinMax()
3639 if (Value *V = simplifyICmpInst(InvEqP, A, B, Q, MaxRecurse - 1)) in simplifyICmpWithMinMax()
3738 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyICmpInst() argument
3810 if (MaxRecurse && isa<PtrToIntInst>(LI) && in simplifyICmpInst()
3816 Q, MaxRecurse - 1)) in simplifyICmpInst()
3822 MaxRecurse - 1)) in simplifyICmpInst()
3831 if (MaxRecurse && SrcTy == RI->getOperand(0)->getType()) in simplifyICmpInst()
3835 RI->getOperand(0), Q, MaxRecurse - 1)) in simplifyICmpInst()
3868 if (AnyEq->isAllOnesValue() && MaxRecurse) in simplifyICmpInst()
3870 SrcOp, Trunc, Q, MaxRecurse - 1)) in simplifyICmpInst()
3911 if (MaxRecurse && SrcTy == RI->getOperand(0)->getType()) in simplifyICmpInst()
3914 MaxRecurse - 1)) in simplifyICmpInst()
3945 if (AnyEq->isAllOnesValue() && MaxRecurse) in simplifyICmpInst()
3947 simplifyICmpInst(Pred, SrcOp, Trunc, Q, MaxRecurse - 1)) in simplifyICmpInst()
3977 if (MaxRecurse) in simplifyICmpInst()
3980 MaxRecurse - 1)) in simplifyICmpInst()
3986 if (MaxRecurse) in simplifyICmpInst()
3989 MaxRecurse - 1)) in simplifyICmpInst()
4006 if (Value *V = simplifyICmpWithBinOp(Pred, LHS, RHS, Q, MaxRecurse)) in simplifyICmpInst()
4009 if (Value *V = simplifyICmpWithMinMax(Pred, LHS, RHS, Q, MaxRecurse)) in simplifyICmpInst()
4042 if (Value *V = threadCmpOverSelect(Pred, LHS, RHS, Q, MaxRecurse)) in simplifyICmpInst()
4048 if (Value *V = threadCmpOverPHI(Pred, LHS, RHS, Q, MaxRecurse)) in simplifyICmpInst()
4063 unsigned MaxRecurse) { in simplifyFCmpInst() argument
4271 if (Value *V = threadCmpOverSelect(Pred, LHS, RHS, Q, MaxRecurse)) in simplifyFCmpInst()
4277 if (Value *V = threadCmpOverPHI(Pred, LHS, RHS, Q, MaxRecurse)) in simplifyFCmpInst()
4292 unsigned MaxRecurse) { in simplifyWithOpReplaced() argument
4297 if (!MaxRecurse--) in simplifyWithOpReplaced()
4334 InstOp, Op, RepOp, Q, AllowRefinement, DropFlags, MaxRecurse)) { in simplifyWithOpReplaced()
4415 ::simplifyInstructionWithOperands(I, NewOps, Q, MaxRecurse)); in simplifyWithOpReplaced()
4598 unsigned MaxRecurse) { in simplifySelectWithICmpEq() argument
4601 /* DropFlags */ nullptr, MaxRecurse) == TrueVal) in simplifySelectWithICmpEq()
4605 /* DropFlags */ nullptr, MaxRecurse) == FalseVal) in simplifySelectWithICmpEq()
4616 unsigned MaxRecurse) { in simplifySelectWithICmpCond() argument
4700 Q, MaxRecurse)) in simplifySelectWithICmpCond()
4703 Q, MaxRecurse)) in simplifySelectWithICmpCond()
4713 MaxRecurse)) in simplifySelectWithICmpCond()
4716 MaxRecurse)) in simplifySelectWithICmpCond()
4725 MaxRecurse)) in simplifySelectWithICmpCond()
4728 MaxRecurse)) in simplifySelectWithICmpCond()
4770 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifySelectInst() argument
4930 simplifySelectWithICmpCond(Cond, TrueVal, FalseVal, Q, MaxRecurse)) in simplifySelectInst()
5290 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyCastInst() argument
5333 unsigned MaxRecurse) { in foldIdentityShuffles() argument
5334 if (!MaxRecurse--) in foldIdentityShuffles()
5356 SourceShuf->getMaskValue(RootElt), RootVec, MaxRecurse); in foldIdentityShuffles()
5382 unsigned MaxRecurse) { in simplifyShuffleVectorInst() argument
5485 foldIdentityShuffles(i, Op0, Op1, Indices[i], RootVec, MaxRecurse); in simplifyShuffleVectorInst()
5511 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyFNegInst() argument
5615 const SimplifyQuery &Q, unsigned MaxRecurse, in simplifyFAddInst() argument
5681 const SimplifyQuery &Q, unsigned MaxRecurse, in simplifyFSubInst() argument
5747 const SimplifyQuery &Q, unsigned MaxRecurse, in simplifyFMAFMul() argument
5791 const SimplifyQuery &Q, unsigned MaxRecurse, in simplifyFMulInst() argument
5799 return simplifyFMAFMul(Op0, Op1, FMF, Q, MaxRecurse, ExBehavior, Rounding); in simplifyFMulInst()
5936 unsigned MaxRecurse) { in simplifyUnOp() argument
5939 return simplifyFNegInst(Op, FastMathFlags(), Q, MaxRecurse); in simplifyUnOp()
5950 unsigned MaxRecurse) { in simplifyFPUnOp() argument
5953 return simplifyFNegInst(Op, FMF, Q, MaxRecurse); in simplifyFPUnOp()
5955 return simplifyUnOp(Opcode, Op, Q, MaxRecurse); in simplifyFPUnOp()
5971 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyBinOp() argument
5975 MaxRecurse); in simplifyBinOp()
5978 MaxRecurse); in simplifyBinOp()
5981 MaxRecurse); in simplifyBinOp()
5983 return simplifySDivInst(LHS, RHS, /* IsExact */ false, Q, MaxRecurse); in simplifyBinOp()
5985 return simplifyUDivInst(LHS, RHS, /* IsExact */ false, Q, MaxRecurse); in simplifyBinOp()
5987 return simplifySRemInst(LHS, RHS, Q, MaxRecurse); in simplifyBinOp()
5989 return simplifyURemInst(LHS, RHS, Q, MaxRecurse); in simplifyBinOp()
5992 MaxRecurse); in simplifyBinOp()
5994 return simplifyLShrInst(LHS, RHS, /* IsExact */ false, Q, MaxRecurse); in simplifyBinOp()
5996 return simplifyAShrInst(LHS, RHS, /* IsExact */ false, Q, MaxRecurse); in simplifyBinOp()
5998 return simplifyAndInst(LHS, RHS, Q, MaxRecurse); in simplifyBinOp()
6000 return simplifyOrInst(LHS, RHS, Q, MaxRecurse); in simplifyBinOp()
6002 return simplifyXorInst(LHS, RHS, Q, MaxRecurse); in simplifyBinOp()
6004 return simplifyFAddInst(LHS, RHS, FastMathFlags(), Q, MaxRecurse); in simplifyBinOp()
6006 return simplifyFSubInst(LHS, RHS, FastMathFlags(), Q, MaxRecurse); in simplifyBinOp()
6008 return simplifyFMulInst(LHS, RHS, FastMathFlags(), Q, MaxRecurse); in simplifyBinOp()
6010 return simplifyFDivInst(LHS, RHS, FastMathFlags(), Q, MaxRecurse); in simplifyBinOp()
6012 return simplifyFRemInst(LHS, RHS, FastMathFlags(), Q, MaxRecurse); in simplifyBinOp()
6023 unsigned MaxRecurse) { in simplifyBinOp() argument
6026 return simplifyFAddInst(LHS, RHS, FMF, Q, MaxRecurse); in simplifyBinOp()
6028 return simplifyFSubInst(LHS, RHS, FMF, Q, MaxRecurse); in simplifyBinOp()
6030 return simplifyFMulInst(LHS, RHS, FMF, Q, MaxRecurse); in simplifyBinOp()
6032 return simplifyFDivInst(LHS, RHS, FMF, Q, MaxRecurse); in simplifyBinOp()
6034 return simplifyBinOp(Opcode, LHS, RHS, Q, MaxRecurse); in simplifyBinOp()
6050 const SimplifyQuery &Q, unsigned MaxRecurse) { in simplifyCmpInst() argument
6052 return simplifyICmpInst(Predicate, LHS, RHS, Q, MaxRecurse); in simplifyCmpInst()
6053 return simplifyFCmpInst(Predicate, LHS, RHS, FastMathFlags(), Q, MaxRecurse); in simplifyCmpInst()
6976 unsigned MaxRecurse) { in simplifyInstructionWithOperands() argument
6993 return simplifyFNegInst(NewOps[0], I->getFastMathFlags(), Q, MaxRecurse); in simplifyInstructionWithOperands()
6996 MaxRecurse); in simplifyInstructionWithOperands()
7000 Q.IIQ.hasNoUnsignedWrap(cast<BinaryOperator>(I)), Q, MaxRecurse); in simplifyInstructionWithOperands()
7003 MaxRecurse); in simplifyInstructionWithOperands()
7007 Q.IIQ.hasNoUnsignedWrap(cast<BinaryOperator>(I)), Q, MaxRecurse); in simplifyInstructionWithOperands()
7010 MaxRecurse); in simplifyInstructionWithOperands()
7014 Q.IIQ.hasNoUnsignedWrap(cast<BinaryOperator>(I)), Q, MaxRecurse); in simplifyInstructionWithOperands()
7018 MaxRecurse); in simplifyInstructionWithOperands()
7022 MaxRecurse); in simplifyInstructionWithOperands()
7025 MaxRecurse); in simplifyInstructionWithOperands()
7027 return simplifySRemInst(NewOps[0], NewOps[1], Q, MaxRecurse); in simplifyInstructionWithOperands()
7029 return simplifyURemInst(NewOps[0], NewOps[1], Q, MaxRecurse); in simplifyInstructionWithOperands()
7032 MaxRecurse); in simplifyInstructionWithOperands()
7036 Q.IIQ.hasNoUnsignedWrap(cast<BinaryOperator>(I)), Q, MaxRecurse); in simplifyInstructionWithOperands()
7040 MaxRecurse); in simplifyInstructionWithOperands()
7044 MaxRecurse); in simplifyInstructionWithOperands()
7046 return simplifyAndInst(NewOps[0], NewOps[1], Q, MaxRecurse); in simplifyInstructionWithOperands()
7048 return simplifyOrInst(NewOps[0], NewOps[1], Q, MaxRecurse); in simplifyInstructionWithOperands()
7050 return simplifyXorInst(NewOps[0], NewOps[1], Q, MaxRecurse); in simplifyInstructionWithOperands()
7053 NewOps[1], Q, MaxRecurse); in simplifyInstructionWithOperands()
7056 NewOps[1], I->getFastMathFlags(), Q, MaxRecurse); in simplifyInstructionWithOperands()
7058 return simplifySelectInst(NewOps[0], NewOps[1], NewOps[2], Q, MaxRecurse); in simplifyInstructionWithOperands()
7064 MaxRecurse); in simplifyInstructionWithOperands()
7069 MaxRecurse); in simplifyInstructionWithOperands()
7076 MaxRecurse); in simplifyInstructionWithOperands()
7079 return simplifyExtractElementInst(NewOps[0], NewOps[1], Q, MaxRecurse); in simplifyInstructionWithOperands()
7084 MaxRecurse); in simplifyInstructionWithOperands()
7098 MaxRecurse); in simplifyInstructionWithOperands()