Lines Matching refs:Folded
889 // The cast wasn't folded; create an explicit cast node. We can reuse
1048 // The cast wasn't folded; create an explicit cast node.
1296 // The cast wasn't folded; create an explicit cast node.
1329 // Next try a zext cast. If the cast is folded, use it.
1334 // Next try a sext cast. If the cast is folded, use it.
1339 // Force the cast to be folded into the operands of an addrec.
1506 Ops.erase(Ops.begin()+1); // Erase the folded element
1545 // folded. eg., trunc(x) + m*trunc(n) --> trunc(x + trunc(m)*n)
1769 // Otherwise, add the folded AddRec by the non-invariant parts.
1778 // Okay, if there weren't any loop invariants to be folded, check to see if
1918 Ops.erase(Ops.begin()+1); // Erase the folded element
2026 // Otherwise, multiply the folded AddRec by the non-invariant parts.
2035 // Okay, if there weren't any loop invariants to be folded, check to see if
2139 // Determine if the division can be folded into the operands of
2154 // {X,+,N}/C --> {X/C,+,N/C} if safe and N/C can be folded.
2184 // (A*B)/C --> A*(B/C) if safe and B/C can be folded.
2202 // (A+B)/C --> (A/C + B/C) if safe and A/C and B/C can be folded.
2406 Ops.erase(Ops.begin()+1); // Erase the folded element
2510 Ops.erase(Ops.begin()+1); // Erase the folded element
2603 if (Constant *Folded = ConstantFoldConstantExpression(CE, TD, TLI))
2604 C = Folded;
2612 if (Constant *Folded = ConstantFoldConstantExpression(CE, TD, TLI))
2613 C = Folded;
2629 if (Constant *Folded = ConstantFoldConstantExpression(CE, TD, TLI))
2630 C = Folded;
2639 if (Constant *Folded = ConstantFoldConstantExpression(CE, TD, TLI))
2640 C = Folded;
4989 // Check to see if we've folded this expression at this loop before.
5186 // foldable. Build a new instance of the folded commutative expression.
5230 // foldable. Build a new instance of the folded commutative expression.
5241 // The addrec may be folded to a nonrecurrence, for example, if the
5243 // ahead and return the folded value.
5552 // this, and if they did, they would already be constant folded.