Home | History | Annotate | Download | only in Analysis

Lines Matching defs:Fold

1081   // Fold if the operand is constant.
1411 // Fold if the operand is constant.
1589 // Fold if the operand is constant.
2005 // If there are any constants, fold them together.
2011 // We found two constants, fold them together!
2054 // if the contents of the resulting outer trunc fold to something simple.
2098 const SCEV *Fold = getAddExpr(LargeOps, Flags);
2100 if (isa<SCEVConstant>(Fold) || isa<SCEVUnknown>(Fold))
2101 return getTruncateExpr(Fold, DstType);
2180 // Fold W + X + (X * Y * Z) --> W + (X * ((Y*Z)+1))
2210 // If MulOp occurs in OtherMul, we can fold the two multiplies
2215 // Fold X + (A*B*C) + (A*D*E) --> X + (A*(B*C+D*E))
2243 // added values are loop invariant. If so, we can fold them into the
2248 // Scan over all recurrences, trying to fold loop invariants into them.
2262 // If we found some loop invariants, fold them into the recurrence.
2291 // added together. If so, we can fold them.
2320 // Otherwise couldn't fold anything into this recurrence. Move onto the
2414 // If there are any constants, fold them together.
2430 // We found two constants, fold them together!
2431 ConstantInt *Fold =
2433 Ops[0] = getConstant(Fold);
2499 // added values are loop invariant. If so, we can fold them into the
2504 // Scan over all recurrences, trying to fold loop invariants into them.
2518 // If we found some loop invariants, fold them into the recurrence.
2549 // multiplied together. If so, we can fold them.
2611 // Otherwise couldn't fold anything into this recurrence. Move onto the
2680 // We can currently only fold X%N if X is constant.
2731 // Fold if both operands are constant.
3008 // If there are any constants, fold them together.
3014 // We found two constants, fold them together!
3015 ConstantInt *Fold = ConstantInt::get(
3017 Ops[0] = getConstant(Fold);
3111 // If there are any constants, fold them together.
3117 // We found two constants, fold them together!
3118 ConstantInt *Fold = ConstantInt::get(
3120 Ops[0] = getConstant(Fold);
5554 "Evaluation of SCEV at constant didn't fold correctly?");
5782 /// CanConstantFold - Return true if we can constant fold an instruction of the
5808 // If we won't be able to constant fold this expression even if the operands
5869 /// in the loop has the value PHIVal. If we can't fold this expression for some
5944 /// involving constants, fold it.
6844 // Fold ((-1) * %a) + %b == 0 (equivalent to %b-%a == 0) into %a == %b.