Home | History | Annotate | Download | only in Analysis

Lines Matching refs:Fold

826   // Fold if the operand is constant.
882 // As a special case, fold trunc(undef) to undef. We don't want to
906 // Fold if the operand is constant.
1164 // Fold if the operand is constant.
1348 // As a special case, fold anyext(undef) to undef. We don't want to
1496 // If there are any constants, fold them together.
1502 // We found two constants, fold them together!
1546 // if the contents of the resulting outer trunc fold to something simple.
1591 const SCEV *Fold = getAddExpr(LargeOps, Flags);
1593 if (isa<SCEVConstant>(Fold) || isa<SCEVUnknown>(Fold))
1594 return getTruncateExpr(Fold, DstType);
1669 // Fold W + X + (X * Y * Z) --> W + (X * ((Y*Z)+1))
1699 // If MulOp occurs in OtherMul, we can fold the two multiplies
1704 // Fold X + (A*B*C) + (A*D*E) --> X + (A*(B*C+D*E))
1732 // added values are loop invariant. If so, we can fold them into the
1737 // Scan over all recurrences, trying to fold loop invariants into them.
1751 // If we found some loop invariants, fold them into the recurrence.
1780 // added together. If so, we can fold them.
1810 // Otherwise couldn't fold anything into this recurrence. Move onto the
1899 // If there are any constants, fold them together.
1913 // We found two constants, fold them together!
1914 ConstantInt *Fold = ConstantInt::get(getContext(),
1917 Ops[0] = getConstant(Fold);
1987 // added values are loop invariant. If so, we can fold them into the
1992 // Scan over all recurrences, trying to fold loop invariants into them.
2006 // If we found some loop invariants, fold them into the recurrence.
2037 // 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);
4576 "Evaluation of SCEV at constant didn't fold correctly?");
4666 /// CanConstantFold - Return true if we can constant fold an instruction of the
4695 // If we won't be able to constant fold this expression even if the operands
4757 /// in the loop has the value PHIVal. If we can't fold this expression for some
4808 /// involving constants, fold it.