Lines Matching full:fold
604 /// FoldGEPICmp - Fold comparisons between a GEP instruction and something
653 // and both GEPs have only constant indices or just one use, then fold
725 // the result to fold to a constant!
739 /// FoldICmpAddOpCst - Fold "icmp pred (X+CI), X".
803 /// FoldICmpDivCst - Fold "icmp pred, ([su]div X, DivRHS), CmpRHS" where DivRHS
1005 // Otherwise, fold this div/compare.
1080 // fold the xor.
1172 // should fold the icmp to true/false in that case.
1196 // We can fold this as long as we can't shift unknown bits
1224 // If we shifted bits out, the fold is not going to work out.
1524 // Fold: icmp pred ([us]div X, C1), C2 -> range test
1525 // Fold this div into the comparison, producing a range check.
1561 // Fold: icmp pred (add X, C1), C2
1829 // The other three cases all fold into an unsigned comparison.
1855 // The other three cases all fold into an unsigned comparison.
1861 // All the cases that fold to true or false will have already been handled
2185 // See if we can fold the comparison based on range information we can get
2218 // figured out that the LHS is a constant. Just constant fold this now so
2443 // Only fold icmp into the PHI if the phi and icmp are in the same
2451 // If either operand of the select is a constant, we can fold the
2462 // fold to a constant (in which case the icmp is replaced with a select
2524 // If Op1 is a constant, we can fold the cast into the constant.
2947 /// FoldFCmp_IntToFP_Cst - Fold fcmp ([us]itofp x, cst) if possible.
3021 // If the RHS value is > SignedMax, fold the comparison. This handles +INF
3033 // If the RHS value is > UnsignedMax, fold the comparison. This handles
3235 // Only fold fcmp into the PHI if the phi and fcmp are in the same
3248 // If either operand of the select is a constant, we can fold the
3254 // Fold the known value into the constant operand.
3260 // Fold the known value into the constant operand.