Home
last modified time | relevance | path

Searched refs:abs_x (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/compiler/spirv/
Dvtn_glsl450.c221 nir_ssa_def *abs_x = nir_fabs(b, x); in build_asin() local
224 nir_fmul(b, nir_fsqrt(b, nir_fsub(b, nir_imm_float(b, 1.0f), abs_x)), in build_asin()
226 nir_fmul(b, abs_x, in build_asin()
228 nir_fmul(b, abs_x, in build_asin()
230 nir_fmul(b, abs_x, in build_asin()
385 nir_ssa_def *abs_x = nir_fabs(b, x); in build_frexp() local
405 nir_ssa_def *is_not_zero = nir_fne(b, abs_x, zero); in build_frexp()
408 nir_iadd(b, nir_ushr(b, abs_x, exponent_shift), in build_frexp()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dmath.cc175 XlaOp abs_x = Abs(x); in ErfcImpl() local
177 XlaOp q = ScalarLike(x, 1) / abs_x; in ErfcImpl()
179 XlaOp p = Select(Lt(abs_x, ScalarLike(x, 2.0)), in ErfcImpl()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dbinary_ops.cc123 auto abs_x = xla::Abs(x); in FloorDivImpl() local
125 auto t = xla::Neg(xla::Sub(xla::Add(abs_x, abs_y), one)); in FloorDivImpl()
/external/tensorflow/tensorflow/core/kernels/
Dcwise_ops.h353 T abs_x = std::abs(x);
355 return -(abs_x + abs_y - 1) / abs_y;
367 Packet abs_x = pabs(x);
370 Packet ratio_rounded = pdiv(pnegate(psub(padd(abs_x, abs_y), ones)), abs_y);
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_action.c440 LLVMValueRef abs_x, log_abs_x, flr_log_abs_x, ex2_flr_log_abs_x; in log_emit() local
443 abs_x = lp_build_abs(&bld_base->base, emit_data->args[0] /* src0.x */); in log_emit()
447 abs_x); in log_emit()
461 TGSI_OPCODE_DIV, abs_x, ex2_flr_log_abs_x); in log_emit()
/external/tensorflow/tensorflow/compiler/xla/service/
Delemental_ir_emitter.cc1077 auto abs_x = in EmitLog1p() local
1080 abs_x, llvm::ConstantFP::get(type, kAntilogarithmIsSmallThreshold)); in EmitLog1p()
1130 auto abs_x = in EmitExpm1() local
1133 FCmpOLT(abs_x, llvm::ConstantFP::get(type, kExponentIsSmallThreshold)); in EmitExpm1()
/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.c6437 MPD_NEW_SHARED(abs_x, x); in _qcheck_pow_bounds()
6441 mpd_set_positive(&abs_x); in _qcheck_pow_bounds()
6444 lb_zeta = _lower_bound_zeta(&abs_x, status); in _qcheck_pow_bounds()
6450 sign = (mpd_adjexp(&abs_x) < 0) ^ mpd_sign(y); in _qcheck_pow_bounds()