Lines Matching defs:Fold

2702   // Fold (add (or x, c0), c1) -> (add x, (c0 + c1))
2704 // Fold (add (xor x, c0), c1) -> (add x, (c0 + c1))
2748 // Fold add(vecreduce(x), vecreduce(y)) -> vecreduce(add(x, y))
2859 // Fold add(mul(add(A, CA), CM), CB) -> add(mul(A, CM), CM*CA+CB).
2977 // Fold (add (vscale * C0), (vscale * C1)) to (vscale * (C0 + C1)).
2994 // Fold (add step_vector(c1), step_vector(c2) to step_vector(c1+c2))
3003 // Fold a + step_vector(c1) + step_vector(c2) to a + step_vector(c1+c2)
3869 // Fold neg(splat(neg(x)) -> splat(x)
4494 // Fold (mul (vscale * C0), C1) to (vscale * (C0 * C1)).
4502 // Fold (mul step_vector(C0), C1) to (step_vector(C0 * C1)).
4511 // Fold Y = sra (X, size(X)-1); mul (or (Y, 1), X) -> (abs X)
4521 // Fold ((mul x, 0/undef) -> 0,
4557 // Fold mul(vecreduce(x), vecreduce(y)) -> vecreduce(mul(x, y))
5248 // Fold avgflooru(x,y) -> avgceilu(x,y-1) iff y != 0
5249 // Fold avgflooru(x,y) -> avgceilu(x-1,y) iff x != 0
5732 // Fold min/max(vecreduce(x), vecreduce(y)) -> vecreduce(min/max(x, y))
7025 // Fold and(vecreduce(x), vecreduce(y)) -> vecreduce(and(x, y))
7155 // Fold the AND away. NewLoad may get replaced immediately.
7821 // Fold build_pair(not(Lo),not(Hi)) -> not(build_pair(Lo,Hi)).
7961 // Fold or(vecreduce(x), vecreduce(y)) -> vecreduce(or(x, y))
8862 /// stores. Fold it into a single store or a BSWAP and a store if the targets
9075 /// loads and combined by shifts and ors. Fold it into a single load or a load
9432 // Fold xor(vecreduce(x), vecreduce(y)) -> vecreduce(xor(x, y))
9707 // Fold shift(bitop(shift(x,c1),y), c2) -> bitop(shift(x,c1+c2),shift(y,c2)).
10148 // Fold (shl (vscale * C0), C1) to (vscale * (C0 << C1)).
10155 // Fold (shl step_vector(C0), C1) to (step_vector(C0 << C1)).
11702 // Fold selects based on a setcc into other things, such as min/max/abs.
11864 // Fold sext/zext of index into index type.
12558 // Fold (vselect all_ones, N1, N2) -> N1
12561 // Fold (vselect all_zeros, N1, N2) -> N2
12621 // Fold to a simpler select_cc
12815 /// Fold
13960 // Fold (zext (and (trunc x), cst)) -> (and x, cst),
14216 // Fold (aext (and (trunc x), cst)) -> (and x, cst)
14388 // Fold (assertalign (assertalign x, AL0), AL1) ->
14844 // Fold (iM_signext_inreg
14976 // Fold extract-and-trunc into a narrow extract. For example:
15069 // Fold a series of buildvector, bitcast, and truncate if possible.
15162 // Fold truncate of a bitcast of a vector to an extract of the low vector
15352 // Fold (bitcast int (and (bitcast fp X to int), 0x7fff...) to fp) -> fabs X
15353 // Fold (bitcast int (xor (bitcast fp X to int), 0x8000...) to fp) -> fneg X
15354 // Fold (bitcast int (or (bitcast fp X to int), 0x8000...) to fp) ->
15650 // Fold freeze(op(x, ...)) -> op(freeze(x), ...).
16711 // Fold fadd(vecreduce(x), vecreduce(y)) -> vecreduce(fadd(x, y))
16997 // Fold fmul(vecreduce(x), vecreduce(y)) -> vecreduce(fmul(x, y))
17428 // Fold into a reciprocal estimate and multiply instead of a real divide.
17434 // Fold X/Sqrt(X) -> Sqrt(X)
17808 // Fold (fp_to_{s/u}int ({s/u}int_to_fpx)) -> zext x, sext x, trunc x, or x
23893 // Fold concat_vectors(concat_vectors(x,y,z,w),u,u,concat_vectors(a,b,c,d))
24248 // Fold any combination of BUILD_VECTOR or UNDEF nodes into one BUILD_VECTOR.
24297 // Fold CONCAT_VECTORS of only bitcast scalars (or undef) to BUILD_VECTOR.
24303 // Fold CONCAT_VECTORS of CONCAT_VECTORS (or undef) to VECTOR_SHUFFLE.
24307 // Fold CONCAT_VECTORS of EXTRACT_SUBVECTOR (or undef) to VECTOR_SHUFFLE.
27506 // Fold select(cc, binop(), binop()) -> binop(select(), select()) etc.
27529 // Fold select(cond, binop(x, y), binop(z, y))
27541 // Fold select(cond, binop(x, y), binop(x, z))
27720 bool Fold = N2C && isNullConstant(N3) && N2C->getAPIntValue().isPowerOf2();
27723 if ((Fold || Swap) &&
27799 // Fold select_cc setgt X, -1, C, ~C -> xor (ashr X, BW-1), C
27800 // Fold select_cc setlt X, 0, C, ~C -> xor (ashr X, BW-1), ~C