Home
last modified time | relevance | path

Searched refs:precision (Results 1 – 25 of 297) sorted by relevance

12345678910>>...12

/llvm-project-15.0.7/llvm/test/MC/ARM/
H A Dsingle-precision-fp.s10 @ CHECK-ERRORS: error: instruction requires: double precision VFP
12 @ CHECK-ERRORS: error: instruction requires: double precision VFP
14 @ CHECK-ERRORS: error: instruction requires: double precision VFP
16 @ CHECK-ERRORS: error: instruction requires: double precision VFP
18 @ CHECK-ERRORS: error: instruction requires: double precision VFP
29 @ CHECK-ERRORS: error: instruction requires: double precision VFP
31 @ CHECK-ERRORS: error: instruction requires: double precision VFP
33 @ CHECK-ERRORS: error: instruction requires: double precision VFP
35 @ CHECK-ERRORS: error: instruction requires: double precision VFP
37 @ CHECK-ERRORS: error: instruction requires: double precision VFP
[all …]
/llvm-project-15.0.7/libc/utils/MPFRWrapper/
H A DMPFRUtils.cpp127 : mpfr_precision(precision), in MPFRNumber()
137 : mpfr_precision(precision), in MPFRNumber()
147 : mpfr_precision(precision), in MPFRNumber()
157 : mpfr_precision(precision), in MPFRNumber()
680 MPFRNumber mpfrX(input.x, precision); in explain_binary_operation_two_outputs_error()
681 MPFRNumber mpfrY(input.y, precision); in explain_binary_operation_two_outputs_error()
717 MPFRNumber mpfrX(input.x, precision); in explain_binary_operation_one_output_error()
718 MPFRNumber mpfrY(input.y, precision); in explain_binary_operation_one_output_error()
757 MPFRNumber mpfrX(input.x, precision); in explain_ternary_operation_one_output_error()
758 MPFRNumber mpfrY(input.y, precision); in explain_ternary_operation_one_output_error()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMScheduleV6.td197 // Single-precision FP Unary
227 // Single-precision FP ALU
230 // Double-precision FP ALU
239 // Single-precision FP MAC
242 // Double-precision FP MAC
251 // Single-precision FP DIV
254 // Double-precision FP DIV
257 // Single-precision FP SQRT
260 // Double-precision FP SQRT
275 // Single-precision FP Load
[all …]
H A DARMScheduleA8.td256 // Single-precision FP Unary
302 // Single-precision FP ALU
306 // Double-precision FP ALU
320 // Single-precision FP MAC
324 // Double-precision FP MAC
338 // Single-precision FP DIV
343 // Double-precision FP DIV
348 // Single-precision FP SQRT
353 // Double-precision FP SQRT
380 // Single-precision FP Load
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/LoopVectorize/
H A Dmixed-precision-remarks.ll3 ; CHECK: remark: mixed-precision.c:3:26: floating point conversion changes vector width. Mixed floa…
24 ; CHECK: remark: mixed-precision.c:8:8: floating point conversion changes vector width. Mixed float…
25 ; CHECK: remark: mixed-precision.c:7:16: floating point conversion changes vector width. Mixed floa…
26 ; CHECK-NOT: remark: mixed-precision.c:7:16: floating point conversion changes vector width. Mixed …
60 !1 = !DIFile(filename: "mixed-precision.c", directory: "/tmp/mixed-precision.c")
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dmisplaced-widening-cast.rst7 type. If the intention of the cast is to avoid loss of precision then the cast
8 is misplaced, and there can be loss of precision. Otherwise the cast is
19 The result ``x * 1000`` is first calculated using ``int`` precision. If the
20 result exceeds ``int`` precision there is loss of precision. Then the result is
23 If there is no loss of precision then the cast can be removed or you can
26 If you want to avoid loss of precision then put the cast in a proper location,
/llvm-project-15.0.7/polly/lib/External/isl/imath/
H A Dimtimer.c50 int num_tests, precision = 0, opt; in main() local
66 precision = atoi(optarg); in main()
103 if (precision < 0) { in main()
110 printf("%d\t%d\t%d\t%u", num_tests, precision, in main()
111 (int)(precision * MP_DIGIT_BIT), threshold); in main()
114 double m_time = get_multiply_time(num_tests, precision); in main()
120 double e_time = get_exptmod_time(num_tests, precision); in main()
/llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/std.manip/
H A Dsetprecision.pass.cpp33 assert(is.precision() == 10); in main()
39 assert(os.precision() == 10); in main()
46 assert(is.precision() == 10); in main()
52 assert(os.precision() == 10); in main()
/llvm-project-15.0.7/libcxx/include/__chrono/
H A Dhh_mm_ss.h55 using precision = duration<typename __CommonType::rep, ratio<1, __pow10(fractional_width)>>; variable
64 __f(duration_cast<precision> (abs(__d) - hours() - minutes() - seconds())) in hh_mm_ss()
71 _LIBCPP_HIDE_FROM_ABI constexpr precision subseconds() const noexcept { return __f; } in subseconds()
73 _LIBCPP_HIDE_FROM_ABI constexpr precision to_duration() const noexcept in to_duration()
79 …_LIBCPP_HIDE_FROM_ABI constexpr explicit operator precision() const noexcept { return to_duration(… in precision() function
86 precision __f;
/llvm-project-15.0.7/clang/include/clang/AST/
H A DOptionalDiagnostic.h57 unsigned precision = llvm::APFloat::semanticsPrecision(F.getSemantics()); variable
58 precision = (precision * 59 + 195) / 196;
60 F.toString(Buffer, precision);
/llvm-project-15.0.7/llvm/lib/Support/
H A DAPFloat.cpp65 unsigned int precision; member
74 precision <= S.precision; in isRepresentableBy()
1028 precision = semantics->precision; in multiplySignificand()
1129 if (omsb > precision) { in multiplySignificand()
1182 unsigned int precision = semantics->precision; in divideSignificand() local
2199 shift = toSemantics.precision - fromSemantics.precision; in convert()
2460 precision = semantics->precision; in convertFromUnsignedParts()
2464 if (precision <= omsb) { in convertFromUnsignedParts()
2468 APInt::tcExtract(dst, dstCount, src, precision, omsb - precision); in convertFromUnsignedParts()
2653 excessPrecision = calcSemantics.precision - semantics->precision; in roundSignificandWithExponent()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/builtins/
H A Dfp_trunc.h37 #error Source should be double precision or quad precision!
69 #error Destination should be single precision or double precision!
/llvm-project-15.0.7/libcxx/test/std/input.output/iostreams.base/ios.base/fmtflags.state/
H A Dprecision_streamsize.pass.cpp33 assert(t.precision() == 6); in main()
34 std::streamsize p = t.precision(10); in main()
36 assert(t.precision() == 10); in main()
/llvm-project-15.0.7/clang/lib/AST/
H A DOSLog.cpp83 auto &precision = FS.getPrecision(); in HandlePrintfSpecifier() local
84 switch (precision.getHowSpecified()) { in HandlePrintfSpecifier()
88 ArgsData.back().Size = precision.getConstantAmount(); in HandlePrintfSpecifier()
91 ArgsData.back().Count = Args[precision.getArgIndex()]; in HandlePrintfSpecifier()
99 auto &precision = FS.getPrecision(); in HandlePrintfSpecifier() local
100 switch (precision.getHowSpecified()) { in HandlePrintfSpecifier()
104 ArgsData.back().Size = precision.getConstantAmount(); in HandlePrintfSpecifier()
107 ArgsData.back().Count = Args[precision.getArgIndex()]; in HandlePrintfSpecifier()
/llvm-project-15.0.7/libc/src/stdio/printf_core/
H A Dstring_converter.h29 if (to_conv.precision >= 0 && to_conv.precision < string_len) in convert_string()
30 string_len = to_conv.precision; in convert_string()
H A Dfloat_hex_converter.h101 if (to_conv.precision + 1 < static_cast<int>(mant_len) && in convert_float_hex_exp()
102 to_conv.precision + 1 > 0) { in convert_float_hex_exp()
103 const size_t intended_digits = to_conv.precision + 1; in convert_float_hex_exp()
154 if (to_conv.precision >= 0) in convert_float_hex_exp()
198 if (to_conv.precision > static_cast<int>(mant_digits - 1)) in convert_float_hex_exp()
199 trailing_zeroes = to_conv.precision - (mant_digits - 1); in convert_float_hex_exp()
H A Dcore_structs.h47 int precision = -1; member
68 (min_width == other.min_width) && (precision == other.precision) &&
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dtarget.cpp136 int TargetCharacteristics::SelectedIntKind(std::int64_t precision) const { in SelectedIntKind()
138 common::SearchTypes(SelectedIntKindVisitor{*this, precision})}) { in SelectedIntKind()
169 std::int64_t precision, std::int64_t range, std::int64_t radix) const { in SelectedRealKind() argument
174 SelectedRealKindVisitor{*this, precision, range})}) { in SelectedRealKind()
180 bool pOK{common::SearchTypes(SelectedRealKindVisitor{*this, precision, 0})}; in SelectedRealKind()
/llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/input.streams/istream/istream.assign/
H A Dmember_swap.pass.cpp52 assert(is1.precision() == 6); in main()
60 assert(is2.precision() == 6); in main()
76 assert(is1.precision() == 6); in main()
84 assert(is2.precision() == 6); in main()
H A Dmove_assign.pass.cpp55 assert(is1.precision() == 6); in main()
63 assert(is2.precision() == 6); in main()
79 assert(is1.precision() == 6); in main()
87 assert(is2.precision() == 6); in main()
/llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/output.streams/ostream.assign/
H A Dmember_swap.pass.cpp52 assert(os1.precision() == 6); in main()
60 assert(os2.precision() == 6); in main()
76 assert(os1.precision() == 6); in main()
84 assert(os2.precision() == 6); in main()
H A Dmove_assign.pass.cpp55 assert(os1.precision() == 6); in main()
63 assert(os2.precision() == 6); in main()
79 assert(os1.precision() == 6); in main()
87 assert(os2.precision() == 6); in main()
/llvm-project-15.0.7/libcxx/test/std/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/
H A Dmove_assign.pass.cpp55 assert(is1.precision() == 6); in main()
63 assert(is2.precision() == 6); in main()
79 assert(is1.precision() == 6); in main()
87 assert(is2.precision() == 6); in main()
H A Dmember_swap.pass.cpp52 assert(is1.precision() == 6); in main()
60 assert(is2.precision() == 6); in main()
76 assert(is1.precision() == 6); in main()
84 assert(is2.precision() == 6); in main()
/llvm-project-15.0.7/libcxx/test/std/utilities/charconv/charconv.msvc/
H A Dtest.cpp712 constexpr int precision = IsDouble ? 1074 : 149; in test_floating_precision_prefix() local
1039 test_floating_to_chars(t.value, t.fmt, t.precision, t.correct); in all_floating_tests()
1042 test_floating_to_chars(t.value, t.fmt, t.precision, t.correct); in all_floating_tests()
1045 test_floating_to_chars(t.value, t.fmt, t.precision, t.correct); in all_floating_tests()
1048 test_floating_to_chars(t.value, t.fmt, t.precision, t.correct); in all_floating_tests()
1051 test_floating_to_chars(t.value, t.fmt, t.precision, t.correct); in all_floating_tests()
1054 test_floating_to_chars(t.value, t.fmt, t.precision, t.correct); in all_floating_tests()
1057 test_floating_to_chars(t.value, t.fmt, t.precision, t.correct); in all_floating_tests()
1060 test_floating_to_chars(t.value, t.fmt, t.precision, t.correct); in all_floating_tests()
1063 test_floating_to_chars(t.value, t.fmt, t.precision, t.correct); in all_floating_tests()
[all …]

12345678910>>...12