Home
last modified time | relevance | path

Searched refs:Precision (Results 1 – 25 of 54) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DScaledNumber.cpp162 static std::string toStringAPFloat(uint64_t D, int E, unsigned Precision) { in toStringAPFloat() argument
187 Float.toString(Chars, Precision, 0); in toStringAPFloat()
202 unsigned Precision) { in toString() argument
235 return toStringAPFloat(D, E, Precision); in toString()
278 (!Precision || DigitsOut <= Precision || SinceDot < 2)); in toString()
281 if (!Precision || DigitsOut <= Precision) in toString()
286 std::max(Str.size() - (DigitsOut - Precision), AfterDot + 1); in toString()
316 int Width, unsigned Precision) { in print() argument
317 return OS << toString(D, E, Width, Precision); in print()
H A DNativeFormatting.cpp166 std::optional<size_t> Precision) { in write_double() argument
167 size_t Prec = Precision.value_or(getDefaultPrecision(Style)); in write_double()
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheckImpl.h55 unsigned Precision = 0;
67 Precision == Other.Precision && AlternateForm == Other.AlternateForm;
82 explicit ExpressionFormat(Kind Value) : Value(Value), Precision(0){};
83 explicit ExpressionFormat(Kind Value, unsigned Precision) in ExpressionFormat()
84 : Value(Value), Precision(Precision){}; in ExpressionFormat()
85 explicit ExpressionFormat(Kind Value, unsigned Precision, bool AlternateForm) in ExpressionFormat()
86 : Value(Value), Precision(Precision), AlternateFor in ExpressionFormat()
57 unsigned Precision = 0; global() member
[all...]
H A DFileCheck.cpp52 return (Twine(AlternateFormPrefix) + S + Twine('{') + Twine(Precision) + in getWildcardRegex()
59 if (Precision) in getWildcardRegex()
63 if (Precision) in getWildcardRegex()
67 if (Precision) in getWildcardRegex()
71 if (Precision) in getWildcardRegex()
112 if (Precision > AbsoluteValueStr.size()) { in getMatchingString()
113 unsigned LeadingZeros = Precision - AbsoluteValueStr.size(); in getMatchingString()
625 unsigned Precision = 0; in parseNumericSubstitutionBlock() local
645 if (FormatExpr.consumeInteger(10, Precision)) in parseNumericSubstitutionBlock()
657 ExpressionFormat(ExpressionFormat::Kind::Unsigned, Precision); in parseNumericSubstitutionBlock()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DOSLog.cpp27 std::optional<const Expr *> Precision; member
117 ArgsData.back().Precision = Args[FS.getPrecision().getArgIndex()]; in HandlePrintfSpecifier()
150 if (Data.Precision) { in computeLayout()
151 CharUnits Size = Ctx.getTypeSizeInChars((*Data.Precision)->getType()); in computeLayout()
152 Layout.Items.emplace_back(OSLogBufferItem::ScalarKind, *Data.Precision, in computeLayout()
H A DPrintfFormatString.cpp769 Precision.setHowSpecified(OptionalAmount::NotSpecified); in fixType()
950 Precision.setHowSpecified(OptionalAmount::NotSpecified); in fixType()
992 Precision.toString(os); in toString()
1166 if (Precision.getHowSpecified() == OptionalAmount::NotSpecified) in hasValidPrecision()
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dstring_utils.cpp135 int Precision = -1; in vappend() local
138 Precision = va_arg(Args, int); in vappend()
149 CHECK(!((Precision >= 0 || LeftJustified) && *Cur != 's')); in vappend()
177 appendString(LeftJustified ? -Width : Width, Precision, in vappend()
/freebsd/contrib/ntp/html/scripts/
H A Dmisc.txt4 <li class='inline'><a href='kern.html'>Kernel Model for Precision Timekeeping</a></li>\
6 <li class='inline'><a href='kernpps.html'>PPSAPI Interface for Precision Time Signals</a></li>\
H A Dexternal.txt13 <li class='inline'><a href='http://www.eecis.udel.edu/~mills/ptp.html'>IEEE 1588 Precision Time Pro…
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArch.td35 // Single Precision floating point
38 "'F' (Single-Precision Floating-Point)">;
41 // Double Precision floating point
44 "'D' (Double-Precision Floating-Point)",
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFeatures.td284 "'F' (Single-Precision Floating-Point)",
289 "'F' (Single-Precision Floating-Point)">;
293 "'D' (Double-Precision Floating-Point)",
298 "'D' (Double-Precision Floating-Point)">;
302 "'Zfhmin' (Half-Precision Floating-Point Minimal)",
307 "'Zfh' (Half-Precision Floating-Point) or "
308 "'Zfhmin' (Half-Precision Floating-Point Minimal)">;
312 "'Zfh' (Half-Precision Floating-Point)",
317 "'Zfh' (Half-Precision Floating-Point)">;
331 "'Zfh' (Half-Precision Floating-Point) or "
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFormatProviders.h318 std::optional<size_t> Precision = parseNumericPrecision(Style);
319 if (!Precision)
320 Precision = getDefaultPrecision(S);
322 write_double(Stream, static_cast<double>(V), S, Precision);
H A DScaledNumber.h426 unsigned Precision);
428 unsigned Precision);
596 std::string toString(unsigned Precision = DefaultPrecision) {
597 return ScaledNumberBase::toString(Digits, Scale, Width, Precision);
604 unsigned Precision = DefaultPrecision) const {
605 return ScaledNumberBase::print(OS, Digits, Scale, Width, Precision);
H A DNativeFormatting.h43 std::optional<size_t> Precision = std::nullopt);
/freebsd/sys/contrib/device-tree/Bindings/x86/
H A Dtimer.txt4 * High Precision Event Timer (HPET)
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMScheduleV6.td215 // Single-Precision FP to Integer Convert
218 // Double-Precision FP to Integer Convert
221 // Integer to Single-Precision FP Convert
224 // Integer to Double-Precision FP Convert
H A DARMScheduleA8.td284 // Single-Precision FP to Integer Convert
288 // Double-Precision FP to Integer Convert
293 // Integer to Single-Precision FP Convert
297 // Integer to Double-Precision FP Convert
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DFormatString.h535 OptionalAmount Precision; variable
589 Precision = Amt; in setPrecision()
590 Precision.setUsesDotPrefix(); in setPrecision()
594 return Precision; in getPrecision()
/freebsd/lib/libc/softfloat/
H A Dsoftfloat.txt50 Extended Double-Precision Rounding Precision
144 Extended Double-Precision Rounding Precision
/freebsd/usr.sbin/bsdinstall/scripts/
H A Dauto228 "Latitude E6330"|"Latitude E7440"|"Latitude E7240"|"Precision Tower 5810")
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DREADME_P9.txt365 - Round to Quad-Precision Integer: xsrqpi xsrqpix
372 - Round Quad-Precision to Double-Extended Precision (fp80): xsrqpxp
/freebsd/crypto/openssh/
H A DOVERVIEW40 Multiple Precision Integer Library
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DBuiltinsWebAssembly.def199 // Half-Precision (fp16)
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp2433 const int Precision = APFloat::semanticsPrecision(FltSem); in expandLdexp() local
2445 scalbn(One, MinExpVal + Precision, APFloat::rmNearestTiesToEven); in expandLdexp()
2474 SDValue Increment0 = DAG.getConstant(-(MinExpVal + Precision), dl, ExpVT); in expandLdexp()
2475 SDValue Increment1 = DAG.getConstant(-2 * (MinExpVal + Precision), dl, ExpVT); in expandLdexp()
2480 DAG.getConstant(3 * MinExpVal + 2 * Precision, dl, ExpVT); in expandLdexp()
2490 dl, SetCCVT, N, DAG.getConstant(2 * MinExpVal + Precision, dl, ExpVT), in expandLdexp()
2511 DAG.getShiftAmountConstant(Precision - 1, ExpVT, dl); in expandLdexp()
2531 const unsigned Precision = APFloat::semanticsPrecision(FltSem); in expandFrexp() local
2563 APInt FractSignMaskVal = APInt::getBitsSet(BitSize, 0, Precision - 1); in expandFrexp()
2575 scalbn(One, Precision + 1, APFloat::rmNearestTiesToEven); in expandFrexp()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfoImpl.h1426 const auto Precision =
1481 if (Change > Precision) {

123