Home | History | Annotate | Download | only in Analysis

Lines Matching defs:Fold

1082   // Fold if the operand is constant.
1412 // Fold if the operand is constant.
1608 // Fold if the operand is constant.
2040 // If there are any constants, fold them together.
2046 // We found two constants, fold them together!
2089 // if the contents of the resulting outer trunc fold to something simple.
2133 const SCEV *Fold = getAddExpr(LargeOps, Flags);
2135 if (isa<SCEVConstant>(Fold) || isa<SCEVUnknown>(Fold))
2136 return getTruncateExpr(Fold, DstType);
2215 // Fold W + X + (X * Y * Z) --> W + (X * ((Y*Z)+1))
2245 // If MulOp occurs in OtherMul, we can fold the two multiplies
2250 // Fold X + (A*B*C) + (A*D*E) --> X + (A*(B*C+D*E))
2278 // added values are loop invariant. If so, we can fold them into the
2283 // Scan over all recurrences, trying to fold loop invariants into them.
2297 // If we found some loop invariants, fold them into the recurrence.
2329 // added together. If so, we can fold them.
2358 // Otherwise couldn't fold anything into this recurrence. Move onto the
2451 // If there are any constants, fold them together.
2467 // We found two constants, fold them together!
2468 ConstantInt *Fold =
2470 Ops[0] = getConstant(Fold);
2536 // added values are loop invariant. If so, we can fold them into the
2541 // Scan over all recurrences, trying to fold loop invariants into them.
2555 // If we found some loop invariants, fold them into the recurrence.
2586 // multiplied together. If so, we can fold them.
2648 // Otherwise couldn't fold anything into this recurrence. Move onto the
2717 // We can currently only fold X%N if X is constant.
2768 // Fold if both operands are constant.
3043 // If there are any constants, fold them together.
3049 // We found two constants, fold them together!
3050 ConstantInt *Fold = ConstantInt::get(
3052 Ops[0] = getConstant(Fold);
3144 // If there are any constants, fold them together.
3150 // We found two constants, fold them together!
3151 ConstantInt *Fold = ConstantInt::get(
3153 Ops[0] = getConstant(Fold);
6060 "Evaluation of SCEV at constant didn't fold correctly?");
6288 /// Return true if we can constant fold an instruction of the specified type,
6314 // If we won't be able to constant fold this expression even if the operands
6375 /// in the loop has the value PHIVal. If we can't fold this expression for some
6449 /// involving constants, fold it.
7326 // Fold ((-1) * %a) + %b == 0 (equivalent to %b-%a == 0) into %a == %b.