Home
last modified time | relevance | path

Searched refs:RawType (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/flang/include/flang/Decimal/
H A Dbinary-floating-point.h38 using RawType = common::HostUnsignedIntType<bits>; variable
39 static_assert(CHAR_BIT * sizeof(RawType) >= bits);
40 static constexpr RawType significandMask{(RawType{1} << significandBits) - 1};
53 RawType raw() const { return raw_; } in raw()
70 constexpr RawType Fraction() const { in Fraction()
71 RawType sig{Significand()}; in Fraction()
73 sig |= RawType{1} << significandBits; in Fraction()
79 return (raw_ & ((RawType{1} << (bits - 1)) - 1)) == 0; in IsZero()
115 constexpr RawType mask{significandMask >> 1}; in InsertExplicitMSB()
118 raw_ |= RawType{1} << (significandBits - 1); in InsertExplicitMSB()
[all …]
/llvm-project-15.0.7/flang/runtime/
H A Ddescriptor-io.h84 using RawType = typename RealOutputEditing<KIND>::BinaryFloatingPoint; in FormattedRealIO() local
88 RawType &x{ExtractElement<RawType>(io, descriptor, subscripts)}; in FormattedRealIO()
119 using RawType = typename RealOutputEditing<KIND>::BinaryFloatingPoint; in FormattedComplexIO() local
122 RawType *x{&ExtractElement<RawType>(io, descriptor, subscripts)}; in FormattedComplexIO()
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h241 template <typename RawType>
246 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits;
251 static const size_t kBitCount = 8*sizeof(RawType);
255 std::numeric_limits<RawType>::digits - 1;
290 explicit FloatingPoint(const RawType& x) { u_.value_ = x; } in FloatingPoint()
297 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits()
304 static RawType Infinity() { in Infinity()
309 static RawType Max();
350 RawType value_; // The raw floating-point number.
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest.h1728 template <typename RawType>
1731 RawType lhs_value, in CmpHelperFloatingPointEQ()
1732 RawType rhs_value) { in CmpHelperFloatingPointEQ()
1733 const FloatingPoint<RawType> lhs(lhs_value), rhs(rhs_value); in CmpHelperFloatingPointEQ()
1740 lhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
1744 rhs_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in CmpHelperFloatingPointEQ()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/
H A DUDTLayout.cpp45 const IPDBRawSymbol &RawType = SymbolType->getRawSymbol(); in getTypeLength() local
47 return RawType.getLength(); in getTypeLength()
/llvm-project-15.0.7/libcxx/test/libcxx/utilities/function.objects/func.require/
H A Dinvoke_helpers.h53 typedef typename std::remove_reference<T>::type RawType; typedef
54 typedef typename QualTag::template apply<RawType>::type CVType;
/llvm-project-15.0.7/flang/lib/Decimal/
H A Dbig-radix-floating-point.h348 using Raw = typename Real::RawType; in RemoveLeastOrderZeroDigits()
H A Ddecimal-to-binary.cpp303 using Raw = typename Binary::RawType; in ToBinary()
/llvm-project-15.0.7/llvm/lib/IR/
H A DDebugInfoMetadata.cpp1178 const Metadata *RawType = getRawType(); in getSizeInBits() local
1179 while (RawType) { in getSizeInBits()
1181 if (auto *T = dyn_cast<DIType>(RawType)) in getSizeInBits()
1185 if (auto *DT = dyn_cast<DIDerivedType>(RawType)) { in getSizeInBits()
1187 RawType = DT->getRawBaseType(); in getSizeInBits()
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest.cc1390 template <typename RawType>
1393 RawType val1, in FloatingPointLE()
1394 RawType val2) { in FloatingPointLE()
1401 const FloatingPoint<RawType> lhs(val1), rhs(val2); in FloatingPointLE()
1411 val1_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
1415 val2_ss << std::setprecision(std::numeric_limits<RawType>::digits10 + 2) in FloatingPointLE()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dreal.cpp703 B value{word_.template ToUInt<typename B::RawType>()}; in AsFortran()
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp929 const IPDBRawSymbol &RawType = SymbolType->getRawSymbol(); in getTypeLength() local
931 return RawType.getLength(); in getTypeLength()