Home | History | Annotate | Download | only in Analysis

Lines Matching defs:Fold

836   // Fold if the operand is constant.
908 // Fold if the operand is constant.
1165 // Fold if the operand is constant.
1522 // If there are any constants, fold them together.
1528 // We found two constants, fold them together!
1572 // if the contents of the resulting outer trunc fold to something simple.
1617 const SCEV *Fold = getAddExpr(LargeOps, Flags);
1619 if (isa<SCEVConstant>(Fold) || isa<SCEVUnknown>(Fold))
1620 return getTruncateExpr(Fold, DstType);
1695 // Fold W + X + (X * Y * Z) --> W + (X * ((Y*Z)+1))
1725 // If MulOp occurs in OtherMul, we can fold the two multiplies
1730 // Fold X + (A*B*C) + (A*D*E) --> X + (A*(B*C+D*E))
1758 // added values are loop invariant. If so, we can fold them into the
1763 // Scan over all recurrences, trying to fold loop invariants into them.
1777 // If we found some loop invariants, fold them into the recurrence.
1806 // added together. If so, we can fold them.
1836 // Otherwise couldn't fold anything into this recurrence. Move onto the
1925 // If there are any constants, fold them together.
1939 // We found two constants, fold them together!
1940 ConstantInt *Fold = ConstantInt::get(getContext(),
1943 Ops[0] = getConstant(Fold);
2013 // added values are loop invariant. If so, we can fold them into the
2018 // Scan over all recurrences, trying to fold loop invariants into them.
2032 // If we found some loop invariants, fold them into the recurrence.
2063 // multiplied together. If so, we can fold them.
2130 // Otherwise couldn't fold anything into this recurrence. Move onto the
2200 // We can currently only fold X%N if X is constant.
2251 // Fold if both operands are constant.
2496 // If there are any constants, fold them together.
2502 // We found two constants, fold them together!
2503 ConstantInt *Fold = ConstantInt::get(getContext(),
2506 Ops[0] = getConstant(Fold);
2600 // If there are any constants, fold them together.
2606 // We found two constants, fold them together!
2607 ConstantInt *Fold = ConstantInt::get(getContext(),
2610 Ops[0] = getConstant(Fold);
4830 "Evaluation of SCEV at constant didn't fold correctly?");
4920 /// CanConstantFold - Return true if we can constant fold an instruction of the
4949 // If we won't be able to constant fold this expression even if the operands
5013 /// in the loop has the value PHIVal. If we can't fold this expression for some
5064 /// involving constants, fold it.
5940 // Fold ((-1) * %a) + %b == 0 (equivalent to %b-%a == 0) into %a == %b.