Searched refs:exp2 (Results 26 - 50 of 50) sorted by relevance

12

/freebsd-current/tools/regression/include/tgmath/
H A Dtgmath.c108 TGMACRO_REAL(exp2)
494 PRINT("exp2",
495 PASS_REAL_ARG_REAL_RET(exp2));
/freebsd-current/lib/msun/src/
H A Ds_exp2.c50 /* exp2(z + eps) eps */
310 * exp2(x): compute the base 2 exponential of x
318 * Thus we have exp2(x) = 2**k * exp2(y).
322 * Thus we have exp2(y) = exp2(i/TBLSIZE) * exp2(z - eps[i]),
325 * We compute exp2(i/TBLSIZE) via table lookup and exp2(z - eps[i]) via
328 * exp2t[i] = exp2(
341 exp2(double x) function
[all...]
H A Dmath.h278 double exp2(double);
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A Dtgmath.h655 // exp2
663 __tg_exp2(double __x) {return exp2(__x);}
669 #undef exp2 macro
670 #define exp2(__x) __tg_exp2(__tg_promote1((__x))(__x)) macro
H A D__clang_hip_cmath.h220 __DEF_FUN1(float, exp2)
496 __HIP_OVERLOAD1(double, exp2)
666 using ::exp2;
H A D__clang_cuda_math.h107 __DEVICE__ double exp2(double __a) { return __nv_exp2(__a); } function
H A D__clang_hip_math.h798 double exp2(double __x) { return __ocml_exp2_f64(__x); } function
H A Dopencl-c.h6963 float __ovld __cnfn exp2(float);
6964 float2 __ovld __cnfn exp2(float2);
6965 float3 __ovld __cnfn exp2(float3);
6966 float4 __ovld __cnfn exp2(float4);
6967 float8 __ovld __cnfn exp2(float8);
6968 float16 __ovld __cnfn exp2(float16);
6970 double __ovld __cnfn exp2(double);
6971 double2 __ovld __cnfn exp2(double2);
6972 double3 __ovld __cnfn exp2(double3);
6973 double4 __ovld __cnfn exp2(double
[all...]
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dcmath.inc71 using std::exp2;
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp393 case Intrinsic::exp2: {
394 ReplaceFPIntrinsicWithCall(CI, "exp2f", "exp2", "exp2l");
/freebsd-current/lib/msun/
H A DMakefile218 exp.3 powl.3 exp.3 exp2.3 exp.3 exp2f.3 exp.3 exp2l.3 exp.3 expf.3 \
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1966 /// ldexp(1.0, x) for pow(2.0, itofp(x)); exp2(n * x) for pow(2.0 ** n, x);
1967 /// exp10(x) for pow(10.0, x); exp2(log2(n) * x) for pow(n, x).
1978 // pow(exp2(x), y) -> exp2(x * y)
2018 ID = Intrinsic::exp2;
2063 // pow(2.0 ** n, x) -> exp2(n * x)
2079 Mod, Intrinsic::exp2, Ty),
2080 FMul, "exp2"));
2096 // pow(x, y) -> exp2(log2(x) * y)
2099 // pow(1, inf) is defined to be 1 but exp2(log
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp682 return tryReplaceLibcallWithSimpleIntrinsic(B, CI, Intrinsic::exp2,
1020 // powr ---> exp2(y * log2(x))
1024 ExpExpr = Intrinsic::getDeclaration(M, Intrinsic::exp2, {FPOp->getType()});
1138 << "exp2(" << *opr1 << " * log2(" << *opr0 << "))\n");
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp720 // exp2(X) * exp2(Y) -> exp2(X + Y)
721 if (match(Op0, m_Intrinsic<Intrinsic::exp2>(m_Value(X))) &&
722 match(Op1, m_Intrinsic<Intrinsic::exp2>(m_Value(Y)))) {
724 Value *Exp2 = Builder.CreateUnaryIntrinsic(Intrinsic::exp2, XY, &I);
1700 case Intrinsic::exp2:
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/
H A DVectorUtils.cpp71 case Intrinsic::exp2:
H A DConstantFolding.cpp1559 case Intrinsic::exp2:
1670 Name == "exp2" || Name == "exp2f";
2216 case Intrinsic::exp2:
2217 // Fold exp2(x) as pow(2, x), in case the host lacks a C99 library.
2312 // Fold exp2(x) as pow(2, x), in case the host lacks a C99 library.
H A DValueTracking.cpp3637 return Intrinsic::exp2;
3850 case Intrinsic::exp2:
4716 case Intrinsic::exp2:
6639 case Intrinsic::exp2:
H A DInstructionSimplify.cpp6257 case Intrinsic::exp2:
6258 // exp2(log2(x)) -> x
6276 // log2(exp2(x)) -> x
6278 (match(Op0, m_Intrinsic<Intrinsic::exp2>(m_Value(X))) ||
/freebsd-current/contrib/arm-optimized-routines/math/test/
H A Dmathtest.c248 TFUNC(at_d,rt_d, exp2, 3*ULPUNIT/4),
/freebsd-current/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp362 return selectExtInst(ResVReg, ResType, I, CL::exp2, GL::Exp2);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1889 case Intrinsic::exp2:
/freebsd-current/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp2000 case Intrinsic::exp2:
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1838 case Intrinsic::exp2:
/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp2450 MUTATE_LDBL(exp2)
2709 Intrinsic::exp2,
3651 emitUnaryBuiltin(*this, E, llvm::Intrinsic::exp2, "elt.exp2"));
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp5552 /// expandExp2 - Lower an exp2 intrinsic. Handles the special sequences for
6464 case Intrinsic::exp2:

Completed in 381 milliseconds

12