Home
last modified time | relevance | path

Searched refs:Floating (Results 1 – 25 of 196) sorted by relevance

12345678

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DFloating.h26 class Floating final {
33 Floating() : F(0.0f) {} in Floating() function
48 Floating operator-() const { return Floating(-F); }
65 Floating toSemantics(const Floating &Other, llvm::RoundingMode RM) const { in toSemantics()
159 static Floating abs(const Floating &F) { in abs()
168 static APFloat::opStatus add(const Floating &A, const Floating &B, in add()
181 static APFloat::opStatus sub(const Floating &A, const Floating &B, in sub()
194 static APFloat::opStatus mul(const Floating &A, const Floating &B, in mul()
200 static APFloat::opStatus div(const Floating &A, const Floating &B, in div()
206 static bool neg(const Floating &A, Floating *R) { in neg()
[all …]
H A DInterpBuiltin.cpp333 S.Stk.push<Floating>(Floating(Copy)); in interp__builtin_copysign()
340 const Floating &LHS = getParam<Floating>(Frame, 0); in interp__builtin_fmin()
382 const Floating &Arg = S.Stk.peek<Floating>(); in interp__builtin_isnan()
391 const Floating &Arg = S.Stk.peek<Floating>(); in interp__builtin_issignaling()
400 const Floating &Arg = S.Stk.peek<Floating>(); in interp__builtin_isinf()
413 const Floating &Arg = S.Stk.peek<Floating>(); in interp__builtin_isfinite()
422 const Floating &Arg = S.Stk.peek<Floating>(); in interp__builtin_isnormal()
431 const Floating &Arg = S.Stk.peek<Floating>(); in interp__builtin_issubnormal()
440 const Floating &Arg = S.Stk.peek<Floating>(); in interp__builtin_iszero()
468 const Floating &Val = S.Stk.peek<Floating>(); in interp__builtin_fpclassify()
[all …]
H A DFloating.cpp14 llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, Floating F) { in operator <<()
19 Floating getSwappedBytes(Floating F) { return F; } in getSwappedBytes()
H A DDisasm.cpp34 template <> inline Floating ReadArg<Floating>(Program &P, CodePtr &OpPC) { in ReadArg()
35 Floating F = Floating::deserialize(*OpPC); in ReadArg()
H A DInterp.h310 const Floating &RHS = S.Stk.pop<Floating>(); in Addf()
311 const Floating &LHS = S.Stk.pop<Floating>(); in Addf()
328 const Floating &RHS = S.Stk.pop<Floating>(); in Subf()
329 const Floating &LHS = S.Stk.pop<Floating>(); in Subf()
346 const Floating &RHS = S.Stk.pop<Floating>(); in Mulf()
347 const Floating &LHS = S.Stk.pop<Floating>(); in Mulf()
446 const Floating &RHS = S.Stk.pop<Floating>(); in Divf()
447 const Floating &LHS = S.Stk.pop<Floating>(); in Divf()
620 Floating Value = Ptr.deref<Floating>(); in IncDecFloatHelper()
1585 Floating F = S.Stk.pop<Floating>(); in CastFP()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86Schedule.td218 // Floating point. This covers both scalar and vector operations.
244 defm WriteFAdd : X86SchedWritePair<ReadAfterVecLd>; // Floating point add/sub.
245 defm WriteFAddX : X86SchedWritePair<ReadAfterVecXLd>; // Floating point add/sub (XMM).
246 defm WriteFAddY : X86SchedWritePair<ReadAfterVecYLd>; // Floating point add/sub (YMM).
247 defm WriteFAddZ : X86SchedWritePair<ReadAfterVecYLd>; // Floating point add/sub (ZMM).
252 defm WriteFCmp : X86SchedWritePair<ReadAfterVecLd>; // Floating point compare.
253 defm WriteFCmpX : X86SchedWritePair<ReadAfterVecXLd>; // Floating point compare (XMM).
270 defm WriteFDiv : X86SchedWritePair<ReadAfterVecLd>; // Floating point division.
278 defm WriteFSqrt : X86SchedWritePair<ReadAfterVecLd>; // Floating point square root.
302 defm WriteFSign : X86SchedWritePair<ReadAfterVecLd>; // Floating point fabs/fchs.
[all …]
H A DX86ScheduleZnver3.td181 // Floating-Point Unit
194 // Agner, 22.10 Floating point execution pipes
205 // AMD SOG 19h, 2.11.1 Floating Point Execution Resources
207 // (v)FMUL*, (v)FMA*, Floating Point Compares, Blendv(DQ)
269 // AMD SOG 19h, 2.11 Floating-Point Unit
293 // AMD SOG 19h, 2.11 Floating-Point Unit
298 // AMD SOG 19h, 2.11 Floating-Point Unit
343 // AMD SOG 19h, 2.11 Floating-Point Unit
345 // AMD SOG 19h, 2.11 Floating-Point Unit
354 // AMD SOG 19h, 2.11 Floating-Point Unit
[all …]
H A DX86ScheduleZnver4.td173 // Floating-Point Unit
186 // Agner, 22.10 Floating point execution pipes
197 // AMD SOG 19h, 2.11.1 Floating Point Execution Resources
199 // (v)FMUL*, (v)FMA*, Floating Point Compares, Blendv(DQ)
261 // AMD SOG 19h, 2.11 Floating-Point Unit
290 // AMD SOG 19h, 2.11 Floating-Point Unit
295 // AMD SOG 19h, 2.11 Floating-Point Unit
343 // AMD SOG 19h, 2.11 Floating-Point Unit
345 // AMD SOG 19h, 2.11 Floating-Point Unit
354 // AMD SOG 19h, 2.11 Floating-Point Unit
[all …]
H A DX86SchedBroadwell.td234 // Floating point. This covers both scalar and vector operations.
261 defm : BWWriteResPair<WriteFAdd, [BWPort1], 3, [1], 1, 5>; // Floating point add/sub.
262 defm : BWWriteResPair<WriteFAddX, [BWPort1], 3, [1], 1, 5>; // Floating point add/sub (XMM).
265 defm : BWWriteResPair<WriteFAdd64, [BWPort1], 3, [1], 1, 5>; // Floating point double add/sub.
270 defm : BWWriteResPair<WriteFCmp, [BWPort1], 3, [1], 1, 5>; // Floating point compare.
271 defm : BWWriteResPair<WriteFCmpX, [BWPort1], 3, [1], 1, 5>; // Floating point compare (XMM).
274 defm : BWWriteResPair<WriteFCmp64, [BWPort1], 3, [1], 1, 5>; // Floating point double compare.
279 defm : BWWriteResPair<WriteFCom, [BWPort1], 3>; // Floating point compare to flags (X87).
280 defm : BWWriteResPair<WriteFComX, [BWPort1], 3>; // Floating point compare to flags (SSE).
329 defm : BWWriteResPair<WriteFSign, [BWPort5], 1>; // Floating point fabs/fchs.
[all …]
H A DX86SchedSkylakeClient.td223 // Floating point. This covers both scalar and vector operations.
250 defm : SKLWriteResPair<WriteFAdd, [SKLPort01], 4, [1], 1, 5>; // Floating point add/sub.
254 defm : SKLWriteResPair<WriteFAdd64, [SKLPort01], 4, [1], 1, 5>; // Floating point double add/sub.
259 defm : SKLWriteResPair<WriteFCmp, [SKLPort01], 4, [1], 1, 5>; // Floating point compare.
263 defm : SKLWriteResPair<WriteFCmp64, [SKLPort01], 4, [1], 1, 5>; // Floating point double compare.
268 defm : SKLWriteResPair<WriteFCom, [SKLPort0], 2>; // Floating point compare to flags (X87).
269 defm : SKLWriteResPair<WriteFComX, [SKLPort0], 2>; // Floating point compare to flags (SSE).
271 defm : SKLWriteResPair<WriteFMul, [SKLPort01], 4, [1], 1, 5>; // Floating point multiplication.
316 defm : SKLWriteResPair<WriteFSign, [SKLPort0], 1>; // Floating point fabs/fchs.
317 defm : SKLWriteResPair<WriteFRnd, [SKLPort01], 8, [2], 2, 6>; // Floating point rounding.
[all …]
/freebsd/contrib/llvm-project/libcxx/src/include/
H A Dto_chars_floating_point.h555 template <typename Floating>
556 [[nodiscard]] int scientific_exponent_X(const int P, const Floating flt) {
597 template <typename Floating>
599 using Limits = numeric_limits<Floating>;
600 using UInt = conditional_t<_IsSame<Floating, float>::value, uint32_t, uint64_t>;
608 … constexpr Floating first = static_cast<Floating>(9e-5); // well below 9.5e-5, otherwise arbitrary
609 constexpr Floating last = Limits::infinity(); // one bit above Limits::max()
663 constexpr int Hexits = _IsSame<Floating, float>::value ? 6 : 13;
664 constexpr const char* Suffix = _IsSame<Floating, float>::value ? "f" : "";
670 const Floating f1 = reinterpret_cast<const Floating&>(val1);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVScheduleV.td393 // 13. Vector Floating-Point Instructions
405 // 13.5. Vector Widening Floating-Point Multiply
430 // 13.15. Vector Floating-Point Merge Instruction
432 // 13.16. Vector Floating-Point Move Instruction
484 // 16.2. Floating-Point Scalar Move Instructions
618 // 13. Vector Floating-Point Instructions
630 // 13.5. Vector Widening Floating-Point Multiply
658 // 13.16. Vector Floating-Point Move Instruction
710 // 16.2. Floating-Point Scalar Move Instructions
865 // 13. Vector Floating-Point Instructions
[all …]
H A DRISCVSchedule.td104 def WriteFLI16 : SchedWrite; // Floating point constant load
105 def WriteFLI32 : SchedWrite; // Floating point constant load
106 def WriteFLI64 : SchedWrite; // Floating point constant load
108 def WriteFLD16 : SchedWrite; // Floating point sp load
109 def WriteFLD32 : SchedWrite; // Floating point sp load
110 def WriteFLD64 : SchedWrite; // Floating point dp load
111 def WriteFST16 : SchedWrite; // Floating point sp store
112 def WriteFST32 : SchedWrite; // Floating point sp store
113 def WriteFST64 : SchedWrite; // Floating point dp store
H A DRISCVFeatures.td185 // Floating Point Extensions
189 "'F' (Single-Precision Floating-Point)",
197 "'D' (Double-Precision Floating-Point)",
205 "'Zfhmin' (Half-Precision Floating-Point Minimal)",
209 "'Zfh' (Half-Precision Floating-Point) or "
214 "'Zfh' (Half-Precision Floating-Point)",
218 "'Zfh' (Half-Precision Floating-Point)">;
233 "'Zfh' (Half-Precision Floating-Point) or "
239 "'Zfa' (Additional Floating-Point)",
593 "'Zvfh' (Vector Half-Precision Floating-Point)",
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DP10InstrResources.td13 // 22 Cycles Binary Floating Point operations, 2 input operands
27 // 24 Cycles Binary Floating Point operations, 2 input operands
33 // 26 Cycles Binary Floating Point operations, 1 input operands
47 // 27 Cycles Binary Floating Point operations, 1 input operands
53 // 27 Cycles Binary Floating Point operations, 2 input operands
68 // 36 Cycles Binary Floating Point operations, 1 input operands
83 // 7 Cycles Binary Floating Point operations, 1 input operands
176 // 7 Cycles Binary Floating Point operations, 2 input operands
201 // 7 Cycles Binary Floating Point operations, 3 input operands
250 // 7 Cycles Binary Floating Point operations, and 7 Cycles Binary Floating Point operations, 1 inpu…
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SchedA510.td996 // Floating point arithmetic
1011 // Floating point compare
1017 // Floating point complex add
1038 // Floating point base2 log, F16
1041 // Floating point base2 log, F32
1057 // Floating point copy
1061 // Floating point divide, F16
1064 // Floating point divide, F32
1067 // Floating point divide, F64
1073 // Floating point min/max
[all …]
H A DAArch64Schedule.td73 def WriteFCmp : SchedWrite; // Floating-point compare.
76 def WriteFImm : SchedWrite; // Floating-point immediate.
77 def WriteFMul : SchedWrite; // Floating-point multiply.
78 def WriteFDiv : SchedWrite; // Floating-point division.
H A DAArch64SchedNeoverseN2.td1914 // Floating point arithmetic
1929 // Floating point compare
1935 // Floating point complex add
1956 // Floating point base2 log, F16
1959 // Floating point base2 log, F32
1975 // Floating point copy
1979 // Floating point divide, F16
1982 // Floating point divide, F32
1985 // Floating point divide, F64
1991 // Floating point min/max
[all …]
H A DAArch64SchedNeoverseV1.td1550 // Floating point arithmetic
1566 // Floating point compare
1571 // Floating point complex add
1591 // Floating point copy
1595 // Floating point divide, F16
1598 // Floating point divide, F32
1601 // Floating point divide, F64
1604 // Floating point min/max
1607 // Floating point multiply
1629 // Floating point reduction, F16
[all …]
H A DAArch64SchedNeoverseV2.td2436 // Floating point arithmetic
2453 // Floating point compare
2459 // Floating point complex add
2480 // Floating point base2 log, F16
2483 // Floating point base2 log, F32
2499 // Floating point copy
2503 // Floating point divide, F16
2506 // Floating point divide, F32
2509 // Floating point divide, F64
2515 // Floating point min/max
[all …]
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-matchers-arithmetic_test.cc1020 typedef testing::internal::FloatingPoint<RawType> Floating; typedef in testing::gmock_matchers_test::__anoned844bf90111::FloatingPointTest
1021 typedef typename Floating::Bits Bits;
1024 : max_ulps_(Floating::kMaxUlps), in FloatingPointTest()
1025 zero_bits_(Floating(0).bits()), in FloatingPointTest()
1026 one_bits_(Floating(1).bits()), in FloatingPointTest()
1027 infinity_bits_(Floating(Floating::Infinity()).bits()), in FloatingPointTest()
1029 Floating::ReinterpretBits(zero_bits_ + max_ulps_ / 2)), in FloatingPointTest()
1032 further_from_negative_zero_(-Floating::ReinterpretBits( in FloatingPointTest()
1036 infinity_(Floating::Infinity()), in FloatingPointTest()
1042 nan1_(Floating::ReinterpretBits(Floating::kExponentBitMask | 1)), in FloatingPointTest()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DFPOptions.def1 //===--- FPOptions.def - Floating Point Options database --------*- C++ -*-===//
9 // This file defines the Floating Point language options. Users of this file
H A Driscv_vector.td1467 // 13. Vector Floating-Point Instructions
1608 // 13.5. Vector Widening Floating-Point Multiply
1620 // 13.5. Vector Widening Floating-Point Multiply
1788 // 13.8. Vector Floating-Point Square-Root Instruction
1794 // 13.8. Vector Floating-Point Square-Root Instruction
1804 // 13.11. Vector Floating-Point MIN/MAX Instructions
1816 // 13.13. Vector Floating-Point Compare Instructions
1827 // 13.14. Vector Floating-Point Classify Instruction
1831 // 13.15. Vector Floating-Point Merge Instruction
1851 // 13.16. Vector Floating-Point Move Instruction
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTargetOpcodes.def621 /// Floating point base-e logarithm of a value.
624 /// Floating point base-2 logarithm of a value.
627 /// Floating point base-10 logarithm of a value.
630 /// Floating point x * 2^n
752 /// Floating point ceil.
755 /// Floating point cosine.
758 /// Floating point sine.
761 /// Floating point square root.
764 /// Floating point floor.
767 /// Floating point round to next integer.
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArch.td38 "'F' (Single-Precision Floating-Point)">;
44 "'D' (Double-Precision Floating-Point)",
114 // Floating point approximation operation

12345678