Home | History | Annotate | Download | only in Analysis

Lines Matching refs:Fold

837   // Fold if the operand is constant.
909 // Fold if the operand is constant.
1167 // Fold if the operand is constant.
1492 // If there are any constants, fold them together.
1498 // We found two constants, fold them together!
1542 // if the contents of the resulting outer trunc fold to something simple.
1587 const SCEV *Fold = getAddExpr(LargeOps, Flags);
1589 if (isa<SCEVConstant>(Fold) || isa<SCEVUnknown>(Fold))
1590 return getTruncateExpr(Fold, DstType);
1665 // Fold W + X + (X * Y * Z) --> W + (X * ((Y*Z)+1))
1695 // If MulOp occurs in OtherMul, we can fold the two multiplies
1700 // Fold X + (A*B*C) + (A*D*E) --> X + (A*(B*C+D*E))
1728 // added values are loop invariant. If so, we can fold them into the
1733 // Scan over all recurrences, trying to fold loop invariants into them.
1747 // If we found some loop invariants, fold them into the recurrence.
1776 // added together. If so, we can fold them.
1806 // Otherwise couldn't fold anything into this recurrence. Move onto the
1895 // If there are any constants, fold them together.
1909 // We found two constants, fold them together!
1910 ConstantInt *Fold = ConstantInt::get(getContext(),
1913 Ops[0] = getConstant(Fold);
1983 // added values are loop invariant. If so, we can fold them into the
1988 // Scan over all recurrences, trying to fold loop invariants into them.
2002 // If we found some loop invariants, fold them into the recurrence.
2033 // multiplied together. If so, we can fold them.
2100 // Otherwise couldn't fold anything into this recurrence. Move onto the
2170 // We can currently only fold X%N if X is constant.
2221 // Fold if both operands are constant.
2395 // If there are any constants, fold them together.
2401 // We found two constants, fold them together!
2402 ConstantInt *Fold = ConstantInt::get(getContext(),
2405 Ops[0] = getConstant(Fold);
2499 // If there are any constants, fold them together.
2505 // We found two constants, fold them together!
2506 ConstantInt *Fold = ConstantInt::get(getContext(),
2509 Ops[0] = getConstant(Fold);
4661 "Evaluation of SCEV at constant didn't fold correctly?");
4751 /// CanConstantFold - Return true if we can constant fold an instruction of the
4780 // If we won't be able to constant fold this expression even if the operands
4842 /// in the loop has the value PHIVal. If we can't fold this expression for some
4893 /// involving constants, fold it.
5742 // Fold ((-1) * %a) + %b == 0 (equivalent to %b-%a == 0) into %a == %b.