Lines Matching defs:Fold

2734   // Fold (add (or x, c0), c1) -> (add x, (c0 + c1))
2736 // Fold (add (xor x, c0), c1) -> (add x, (c0 + c1))
2780 // Fold add(vecreduce(x), vecreduce(y)) -> vecreduce(add(x, y))
2891 // Fold add(mul(add(A, CA), CM), CB) -> add(mul(A, CM), CM*CA+CB).
3004 // Fold (add (vscale * C0), (vscale * C1)) to (vscale * (C0 + C1)).
3021 // Fold (add step_vector(c1), step_vector(c2) to step_vector(c1+c2))
3030 // Fold a + step_vector(c1) + step_vector(c2) to a + step_vector(c1+c2)
3970 // Fold neg(splat(neg(x)) -> splat(x)
4607 // Fold (mul (vscale * C0), C1) to (vscale * (C0 * C1)).
4615 // Fold (mul step_vector(C0), C1) to (step_vector(C0 * C1)).
4624 // Fold Y = sra (X, size(X)-1); mul (or (Y, 1), X) -> (abs X)
4634 // Fold ((mul x, 0/undef) -> 0,
4670 // Fold mul(vecreduce(x), vecreduce(y)) -> vecreduce(mul(x, y))
5367 // Fold avgflooru(x,y) -> avgceilu(x,y-1) iff y != 0
5368 // Fold avgflooru(x,y) -> avgceilu(x-1,y) iff x != 0
5382 // Fold avgfloor((add nw x,y), 1) -> avgceil(x,y)
5383 // Fold avgfloor((add nw x,1), y) -> avgceil(x,y)
5876 // Fold min/max(vecreduce(x), vecreduce(y)) -> vecreduce(min/max(x, y))
7169 // Fold and(vecreduce(x), vecreduce(y)) -> vecreduce(and(x, y))
7300 // Fold the AND away. NewLoad may get replaced immediately.
7401 // Fold (and X, (bswap (not Y))) -> (and X, (not (bswap Y)))
7402 // Fold (and X, (bitreverse (not Y))) -> (and X, (not (bitreverse Y)))
7412 // Fold (and X, (rot (not Y), Z)) -> (and X, (not (rot Y, Z)))
7421 // Fold (and (srl X, C), 1) -> (srl X, BW-1) for signbit extraction
7993 // Fold build_pair(not(Lo),not(Hi)) -> not(build_pair(Lo,Hi)).
8133 // Fold or(vecreduce(x), vecreduce(y)) -> vecreduce(or(x, y))
9034 /// stores. Fold it into a single store or a BSWAP and a store if the targets
9247 /// loads and combined by shifts and ors. Fold it into a single load or a load
9604 // Fold xor(vecreduce(x), vecreduce(y)) -> vecreduce(xor(x, y))
9878 // Fold shift(bitop(shift(x,c1),y), c2) -> bitop(shift(x,c1+c2),shift(y,c2)).
10318 // Fold (shl (vscale * C0), C1) to (vscale * (C0 << C1)).
10325 // Fold (shl step_vector(C0), C1) to (step_vector(C0 << C1)).
11993 // Fold selects based on a setcc into other things, such as min/max/abs.
12158 // Fold sext/zext of index into index type.
12852 // Fold (vselect all_ones, N1, N2) -> N1
12855 // Fold (vselect all_zeros, N1, N2) -> N2
12915 // Fold to a simpler select_cc
13109 /// Fold
14255 // Fold (zext (and (trunc x), cst)) -> (and x, cst),
14508 // Fold (aext (and (trunc x), cst)) -> (and x, cst)
14680 // Fold (assertalign (assertalign x, AL0), AL1) ->
15131 // Fold (iM_signext_inreg
15384 // Fold extract-and-trunc into a narrow extract. For example:
15495 // Fold a series of buildvector, bitcast, and truncate if possible.
15590 // Fold truncate of a bitcast of a vector to an extract of the low vector
15780 // Fold (bitcast int (and (bitcast fp X to int), 0x7fff...) to fp) -> fabs X
15781 // Fold (bitcast int (xor (bitcast fp X to int), 0x8000...) to fp) -> fneg X
15782 // Fold (bitcast int (or (bitcast fp X to int), 0x8000...) to fp) ->
16086 // Fold freeze(op(x, ...)) -> op(freeze(x), ...).
17141 // Fold fadd(vecreduce(x), vecreduce(y)) -> vecreduce(fadd(x, y))
17427 // Fold fmul(vecreduce(x), vecreduce(y)) -> vecreduce(fmul(x, y))
17855 // Fold into a reciprocal estimate and multiply instead of a real divide.
17861 // Fold X/Sqrt(X) -> Sqrt(X)
18229 // Fold (fp_to_{s/u}int ({s/u}int_to_fpx)) -> zext x, sext x, trunc x, or x
24398 // Fold concat_vectors(concat_vectors(x,y,z,w),u,u,concat_vectors(a,b,c,d))
24753 // Fold any combination of BUILD_VECTOR or UNDEF nodes into one BUILD_VECTOR.
24802 // Fold CONCAT_VECTORS of only bitcast scalars (or undef) to BUILD_VECTOR.
24808 // Fold CONCAT_VECTORS of CONCAT_VECTORS (or undef) to VECTOR_SHUFFLE.
24812 // Fold CONCAT_VECTORS of EXTRACT_SUBVECTOR (or undef) to VECTOR_SHUFFLE.
28046 // Fold select(cc, binop(), binop()) -> binop(select(), select()) etc.
28069 // Fold select(cond, binop(x, y), binop(z, y))
28081 // Fold select(cond, binop(x, y), binop(x, z))
28260 bool Fold = N2C && isNullConstant(N3) && N2C->getAPIntValue().isPowerOf2();
28263 if ((Fold || Swap) &&
28339 // Fold select_cc setgt X, -1, C, ~C -> xor (ashr X, BW-1), C
28340 // Fold select_cc setlt X, 0, C, ~C -> xor (ashr X, BW-1), ~C