Home
last modified time | relevance | path

Searched refs:iy (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/libc/AOR_v20.02/math/
H A Dpowf.c112 checkint (uint32_t iy) in checkint() argument
114 int e = iy >> 23 & 0xff; in checkint()
119 if (iy & ((1 << (0x7f + 23 - e)) - 1)) in checkint()
121 if (iy & (1 << (0x7f + 23 - e))) in checkint()
136 uint32_t ix, iy; in powf() local
139 iy = asuint (y); in powf()
143 if (unlikely (zeroinfnan (iy))) in powf()
145 if (2 * iy == 0) in powf()
160 if (ix & 0x80000000 && checkint (iy) == 1) in powf()
166 if (2 * ix == 0 && iy & 0x80000000) in powf()
[all …]
H A Dpow.c252 checkint (uint64_t iy) in checkint() argument
254 int e = iy >> 52 & 0x7ff; in checkint()
259 if (iy & ((1ULL << (0x3ff + 52 - e)) - 1)) in checkint()
261 if (iy & (1ULL << (0x3ff + 52 - e))) in checkint()
277 uint64_t ix, iy; in pow() local
281 iy = asuint64 (y); in pow()
291 if (unlikely (zeroinfnan (iy))) in pow()
293 if (2 * iy == 0) in pow()
298 || 2 * iy > 2 * asuint64 (INFINITY)) in pow()
309 if (ix >> 63 && checkint (iy) == 1) in pow()
[all …]
/llvm-project-15.0.7/libclc/generic/lib/math/
H A Dclc_nextafter.cl18 INT_TYPE iy = AS_TYPE(INT_TYPE)(y); \
19 INT_TYPE ay = iy & sign_bit_mask; \
20 INT_TYPE my = sign_bit - iy; \
21 my = iy < 0 ? my : iy; \
26 r = isnan(y) ? iy : r; \
27 r = ((ax | ay) == 0 | ix == iy) ? iy : r; \
H A Dclc_powr.cl72 int iy = as_int(y);
73 int ay = iy & EXSIGNBIT_SP32;
74 int ypos = iy == ay;
141 float yh = as_float(iy & 0xfffff000);
185 int yodd = ((iy >> (24 - yexp)) & 0x1) != 0;
187 inty = (iy & mask) != 0 ? 0 : inty;
196 ret = ax < 0x3f800000 & iy == NINFBITPATT_SP32 ? PINFBITPATT_SP32 : ret;
197 ret = ax < 0x3f800000 & iy == PINFBITPATT_SP32 ? 0 : ret;
200 ret = ax > 0x3f800000 & iy == NINFBITPATT_SP32 ? 0 : ret;
201 ret = ax > 0x3f800000 & iy == PINFBITPATT_SP32 ? PINFBITPATT_SP32 : ret;
[all …]
H A Dclc_pow.cl75 int iy = as_int(y);
76 int ay = iy & EXSIGNBIT_SP32;
77 int ypos = iy == ay;
145 float yh = as_float(iy & 0xfffff000);
190 int yodd = ((iy >> (24 - yexp)) & 0x1) != 0;
192 inty = (iy & mask) != 0 ? 0 : inty;
202 ret = ax < 0x3f800000 & iy == NINFBITPATT_SP32 ? PINFBITPATT_SP32 : ret;
203 ret = ax > 0x3f800000 & iy == NINFBITPATT_SP32 ? 0 : ret;
204 ret = ax < 0x3f800000 & iy == PINFBITPATT_SP32 ? 0 : ret;
212 ret = ((ax == 0) & (iy == NINFBITPATT_SP32)) ? PINFBITPATT_SP32 : ret;
[all …]
H A Dclc_pown.cl74 int iy = as_int(y);
75 int ay = iy & EXSIGNBIT_SP32;
76 int ypos = iy == ay;
143 float yh = as_float(iy & 0xfffff000);
H A Dclc_rootn.cl74 int iy = as_int(y);
75 int ay = iy & EXSIGNBIT_SP32;
76 int ypos = iy == ay;
143 float yh = as_float(iy & 0xfffff000);
/llvm-project-15.0.7/libc/test/src/math/exhaustive/
H A Dfmod_generic_impl_test.cpp49 for (int iy = min2; iy < max2; iy++) { in testExtensive() local
50 T y = by * std::ldexp(2, iy); in testExtensive()
/llvm-project-15.0.7/llvm/test/Analysis/Delinearization/
H A Dundef.ll14 %iy.067 = phi i64 [ %inc320, %for.end ], [ 0, %for.cond55.preheader ]
20 %tmp5 = add i64 %iy.067, %0
29 %inc320 = add nsw i64 %iy.067, 1
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dtools.cpp121 defaultRealKind, std::move(iy)))}; in ConvertRealOperands()
131 std::move(rx), ConvertTo(rx, std::move(iy)))}; in ConvertRealOperands()
152 defaultRealKind, std::move(iy)))}; in ConvertRealOperands()
192 Expr<SomeReal> &&rx, Expr<SomeInteger> &&iy) { in MixedRealLeft() argument
373 [](Expr<SomeInteger> &&ix, Expr<SomeInteger> &&iy) { in NumericOperation() argument
375 std::move(ix), std::move(iy))); in NumericOperation()
382 [](Expr<SomeReal> &&rx, Expr<SomeInteger> &&iy) { in NumericOperation() argument
400 [&](Expr<SomeComplex> &&zx, Expr<SomeInteger> &&iy) { in NumericOperation() argument
531 [&](Expr<SomeReal> &&rx, Expr<SomeInteger> &&iy) { in Relate() argument
533 AsGenericExpr(ConvertTo(rx, std::move(iy)))); in Relate()
[all …]
/llvm-project-15.0.7/polly/test/CodeGen/
H A Dtest-invalid-operands-for-select-2.ll20 %iy.06 = phi i32 [ %inc447, %for.end ], [ 0, %for.cond4.preheader ]
47 %inc447 = add nsw i32 %iy.06, 1
/llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalg.cpp1425 Value ix, iy, dx, dy; in matchAndRewrite() local
1438 iy = rewriter.create<math::FloorOp>(loc, y); in matchAndRewrite()
1441 dy = rewriter.create<arith::SubFOp>(loc, y, iy); in matchAndRewrite()
1444 iy = rewriter.create<arith::FPToSIOp>(loc, rewriter.getI32Type(), iy); in matchAndRewrite()
1456 iy = rewriter.create<arith::ShRSIOp>(loc, y, shiftVal); in matchAndRewrite()
1459 Value yTrunc = rewriter.create<arith::ShLIOp>(loc, iy, shiftVal); in matchAndRewrite()
1495 iy = rewriter.create<arith::AddIOp>(loc, iy, yOffset); in matchAndRewrite()
1500 iy = clampHelper<arith::CmpIOp>(loc, iy, hwMin, hMax, in matchAndRewrite()
1506 iy = in matchAndRewrite()
1512 loc, input, ValueRange{batch, iy, ix, channel}); in matchAndRewrite()
[all …]
/llvm-project-15.0.7/flang/test/Fir/
H A Dconvert-to-llvm.fir489 // given: (x + iy) + (x' + iy')
514 // given: (x + iy) - (x' + iy')
539 // given: (x + iy) * (x' + iy')
568 // given: (x + iy) / (x' + iy')
602 // given: -(x + iy)
603 // result: -x - iy