Home
last modified time | relevance | path

Searched refs:imag (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/
H A Dcomplex_cmath.h35 return hypot(__c.real(), __c.imag()); in abs()
41 return atan2(__c.imag(), __c.real()); in arg()
61 if (std::isinf(__c.imag())) in norm()
62 return abs(__c.imag()); in norm()
63 return __c.real() * __c.real() + __c.imag() * __c.imag(); in norm()
74 return std::complex<_Tp>(__c.real(), -__c.imag()); in conj()
81 if (std::isinf(__c.real()) || std::isinf(__c.imag())) in proj()
82 __r = std::complex<_Tp>(INFINITY, copysign(_Tp(0), __c.imag())); in proj()
127 if (std::isinf(__x.imag())) in sqrt()
128 return std::complex<_Tp>(_Tp(INFINITY), __x.imag()); in sqrt()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dcomplex30 T imag() const; // constexpr in C++14
33 void imag(T); // constexpr in C++20
61 constexpr float imag() const;
62 void imag(float); // constexpr in C++20
90 constexpr double imag() const;
91 void imag(double); // constexpr in C++20
119 constexpr long double imag() const;
120 void imag(long double); // constexpr in C++20
173 template<class T> T imag(const complex<T>&); // constexpr in C++14
174 long double imag(long double); // constexpr in C++14
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dcomplex30 T imag() const; // constexpr in C++14
33 void imag(T); // constexpr in C++20
61 constexpr float imag() const;
62 void imag(float); // constexpr in C++20
90 constexpr double imag() const;
91 void imag(double); // constexpr in C++20
119 constexpr long double imag() const;
120 void imag(long double); // constexpr in C++20
173 template<class T> T imag(const complex<T>&); // constexpr in C++14
174 long double imag(long double); // constexpr in C++14
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ppc/
H A Ddivtc3.c50 DD imag = {.ld = __gcc_qdiv(imagNumerator, denom)}; in __divtc3() local
54 imag.s.hi = __compiler_rt_scalbn(imag.s.hi, -ilogbw); in __divtc3()
55 imag.s.lo = __compiler_rt_scalbn(imag.s.lo, -ilogbw); in __divtc3()
57 if (crt_isnan(real.s.hi) && crt_isnan(imag.s.hi)) { in __divtc3()
65 imag.s.hi = crt_copysign(CRT_INFINITY, cDD.s.hi) * bDD.s.hi; in __divtc3()
66 imag.s.lo = 0.0; in __divtc3()
75 imag.s.hi = CRT_INFINITY * (bDD.s.hi * cDD.s.hi - aDD.s.hi * dDD.s.hi); in __divtc3()
76 imag.s.lo = 0.0; in __divtc3()
86 imag.s.hi = in __divtc3()
88 imag.s.lo = 0.0; in __divtc3()
[all …]
H A Dmultc3.c30 DD imag = {.ld = __gcc_qadd(ad, bc)}; in __multc3() local
32 if (crt_isnan(real.s.hi) && crt_isnan(imag.s.hi)) { in __multc3()
75 imag.s.hi = CRT_INFINITY * (aDD.s.hi * dDD.s.hi + bDD.s.hi * cDD.s.hi); in __multc3()
76 imag.s.lo = 0.0; in __multc3()
82 __imag__ z = imag.ld; in __multc3()
/freebsd/contrib/llvm-project/libc/src/__support/
H A Dcomplex_basic_ops.h20 c_c.imag = -c_c.imag; in conjugate()
28 fputil::FPBits<real_t>(c_c.imag).is_inf()) in project()
31 static_cast<real_t>(c_c.imag > 0 ? 0.0 : -0.0)}); in project()
H A Dcomplex_type.h19 T imag; member
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenBuiltin.cpp112 mlir::Value imag = emitScalarExpr(e->getArg(1)); in emitBuiltinExpr() local
113 mlir::Value complex = builder.createComplexCreate(loc, real, imag); in emitBuiltinExpr()
135 mlir::Value imag = builder.createComplexImag(loc, complex); in emitBuiltinExpr() local
136 return RValue::get(imag); in emitBuiltinExpr()
H A DCIRGenExprConstant.cpp790 llvm::APSInt imag = value.getComplexIntImag(); in tryEmitPrivate() local
793 cir::IntAttr::get(complexElemTy, imag)); in tryEmitPrivate()
799 llvm::APFloat imag = value.getComplexFloatImag(); in tryEmitPrivate() local
802 cir::FPAttr::get(complexElemTy, imag)); in tryEmitPrivate()
H A DCIRGenBuilder.h352 mlir::Value imag) { in createComplexCreate() argument
354 return create<cir::ComplexCreateOp>(loc, resultComplexTy, real, imag); in createComplexCreate()
H A DCIRGenExprComplex.cpp286 mlir::Value imag = cgf.emitScalarExpr(e->getInit(1)); in VisitInitListExpr() local
287 return builder.createComplexCreate(loc, real, imag); in VisitInitListExpr()
/freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/
H A DCIRAttrs.td383 and the `imag` parameter gives the imaginary part of the complex number.
385 The `real` and `imag` parameters must both reference the same type and must
399 CIR_AnyIntOrFloatAttr:$imag
404 "mlir::TypedAttr":$imag), [{
406 return $_get(type.getContext(), type, real, imag);
413 `<` qualified($real) `,` qualified($imag) `>`
H A DCIROps.td2545 CIR_AnyIntOrFloatType:$imag
2549 $real `,` $imag
2590 def ComplexImagOp : CIR_Op<"complex.imag", [Pure]> {
2593 `cir.complex.imag` operation takes an operand of `!cir.complex` type and
2599 %1 = cir.complex.imag %0 : !cir.complex<!cir.float> -> !cir.float
/freebsd/contrib/llvm-project/clang/lib/Headers/cuda_wrappers/
H A Dcomplex60 // return complex<T>(sin(x.real()) * cosh(x.imag()),
61 // cos(x.real()), sinh(x.imag()));
/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/
H A DCIRAttrs.cpp204 mlir::TypedAttr imag) { in verify() argument
210 if (imag.getType() != elemType) in verify()
H A DCIRDialect.cpp2046 mlir::Attribute imag = adaptor.getImag(); in fold() local
2047 if (!real || !imag) in fold()
2053 auto imagAttr = mlir::cast<mlir::TypedAttr>(imag); in fold()
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dcomplex.cppm
H A Dcomplex.inc28 using std::imag;
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DPropertiesBase.td306 def : Property<"imag", APSInt> {
309 def : Creator<[{ return APValue(real, imag); }]>;
324 def : Property<"imag", APInt> {
331 llvm::APFloat(sema, imag));
/freebsd/sys/contrib/dev/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_lcn.c3514 s16 imag, real; in wlc_lcnphy_samp_cap() local
3560 imag = ((val >> 16) & 0x3ff); in wlc_lcnphy_samp_cap()
3562 if (imag > 511) in wlc_lcnphy_samp_cap()
3563 imag -= 1024; in wlc_lcnphy_samp_cap()
3571 ptr[(strptr - 0x7E00) / 4] = imag; in wlc_lcnphy_samp_cap()
3574 if (imag > thresh || imag < -thresh) { in wlc_lcnphy_samp_cap()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCleanup.cpp71 llvm::Value *imag = DominatingLLVMValue::restore(CGF, Vals.second); in restore() local
72 return RValue::getComplex(real, imag); in restore()
H A DCGObjCMac.cpp1758 llvm::PHINode *imag = CGF.Builder.CreatePHI(scalarTy, 2); in complete() local
1759 imag->addIncoming(callResult.second, callBB); in complete()
1760 imag->addIncoming(scalarZero, NullBB); in complete()
1761 return RValue::getComplex(real, imag); in complete()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_atomic.h56 type_lhs b = lhs.imag(); in __kmp_lhs_div_rhs()
58 type_rhs d = rhs.imag(); in __kmp_lhs_div_rhs()
/freebsd/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_core.c5832 uint32_t real, imag; in bwn_nphy_rev2_cal_rx_iq() local
5966 imag = est.q0_pwr; in bwn_nphy_rev2_cal_rx_iq()
5969 imag = est.q1_pwr; in bwn_nphy_rev2_cal_rx_iq()
5971 power[i] = ((real + imag) / 1024) + 1; in bwn_nphy_rev2_cal_rx_iq()
/freebsd/contrib/file/magic/Magdir/
H A Driff720 >8 string imag \b, Easy CD Creator disk image

12