Home
last modified time | relevance | path

Searched refs:ValType (Results 1 – 25 of 36) sorted by relevance

12

/third_party/boost/libs/math/test/
Dtest_lexical_cast.cpp42 template<class CharType, class ValType> void lexical_cast_test_impl();
54 template<class CharType, class ValType> void lexical_cast_test_impl() in lexical_cast_test_impl()
56 …if((std::numeric_limits<ValType>::has_infinity == 0) || (std::numeric_limits<ValType>::infinity() … in lexical_cast_test_impl()
58 …if((std::numeric_limits<ValType>::has_quiet_NaN == 0) || (std::numeric_limits<ValType>::quiet_NaN(… in lexical_cast_test_impl()
67 ValType a1 = static_cast<ValType>(0); in lexical_cast_test_impl()
68 ValType a2 = static_cast<ValType>(13); in lexical_cast_test_impl()
69 ValType a3 = std::numeric_limits<ValType>::infinity(); in lexical_cast_test_impl()
70 ValType a4 = std::numeric_limits<ValType>::quiet_NaN(); in lexical_cast_test_impl()
71 ValType a5 = std::numeric_limits<ValType>::signaling_NaN(); in lexical_cast_test_impl()
72 ValType a6 = (changesign)(static_cast<ValType>(0)); in lexical_cast_test_impl()
[all …]
Dtest_nonfinite_trap.cpp49 template<class CharType, class ValType> void trap_test_finite_impl();
61 template<class CharType, class ValType> void trap_test_finite_impl() in trap_test_finite_impl()
72 ValType a1 = (ValType)1.2; in trap_test_finite_impl()
73 ValType a2 = (ValType)-3.5; in trap_test_finite_impl()
74 ValType a3 = (std::numeric_limits<ValType>::max)(); in trap_test_finite_impl()
75 ValType a4 = -(std::numeric_limits<ValType>::max)(); in trap_test_finite_impl()
78 ValType b1, b2, b3, b4; in trap_test_finite_impl()
85 BOOST_CHECK(b3 != std::numeric_limits<ValType>::infinity()); in trap_test_finite_impl()
86 BOOST_CHECK(b4 != -std::numeric_limits<ValType>::infinity()); in trap_test_finite_impl()
93 ValType b5; in trap_test_finite_impl()
[all …]
Dtest_basic_nonfinite.cpp68 template<class CharType, class ValType> void basic_test_finite_impl();
80 template<class CharType, class ValType> void basic_test_finite_impl() in basic_test_finite_impl()
82 …if((std::numeric_limits<ValType>::has_infinity == 0) || (std::numeric_limits<ValType>::infinity() … in basic_test_finite_impl()
92 ValType a1 = (ValType)1.2; in basic_test_finite_impl()
93 ValType a2 = (ValType)-3.5; in basic_test_finite_impl()
94 ValType a3 = (std::numeric_limits<ValType>::max)(); in basic_test_finite_impl()
95 ValType a4 = -(std::numeric_limits<ValType>::max)(); in basic_test_finite_impl()
98 ValType b1, b2, b3, b4; in basic_test_finite_impl()
105 BOOST_CHECK(b3 != std::numeric_limits<ValType>::infinity()); in basic_test_finite_impl()
106 BOOST_CHECK(b4 != -std::numeric_limits<ValType>::infinity()); in basic_test_finite_impl()
[all …]
Dtest_archive.cpp57 template<class CharType, class OArchiveType, class IArchiveType, class ValType>
74 template<class CharType, class OArchiveType, class IArchiveType, class ValType>
77 …if((std::numeric_limits<ValType>::has_infinity == 0) || (std::numeric_limits<ValType>::infinity() …
87 ValType a1 = static_cast<ValType>(0);
88 ValType a2 = static_cast<ValType>(2307.35);
89 ValType a3 = std::numeric_limits<ValType>::infinity();
91 ValType a4 = std::numeric_limits<ValType>::quiet_NaN();
93 ValType a5 = std::numeric_limits<ValType>::signaling_NaN();
95 ValType a6 = (changesign)(static_cast<ValType>(0));
96 ValType a7 = static_cast<ValType>(-57.13);
[all …]
Dtest_nonfinite_io.cpp55 template<class CharType, class ValType> void trap_test_finite_impl();
67 template<class CharType, class ValType> void trap_test_finite_impl()
78 ValType a1 = (ValType)1.2;
79 ValType a2 = (ValType)-3.5;
80 ValType a3 = (std::numeric_limits<ValType>::max)();
81 ValType a4 = -(std::numeric_limits<ValType>::max)();
84 ValType b1, b2, b3, b4;
91 BOOST_CHECK(b3 != std::numeric_limits<ValType>::infinity());
92 BOOST_CHECK(b4 != -std::numeric_limits<ValType>::infinity());
99 ValType b5;
[all …]
Dtest_legacy_nonfinite.cpp61 template<class CharType, class ValType> void legacy_test_inf_impl();
73 template<class CharType, class ValType> void legacy_test_inf_impl() in legacy_test_inf_impl()
81 ValType a1 = std::numeric_limits<ValType>::infinity(); in legacy_test_inf_impl()
82 ValType a2 = -std::numeric_limits<ValType>::infinity(); in legacy_test_inf_impl()
87 ValType b1, b2, b3; in legacy_test_inf_impl()
92 BOOST_CHECK(b3 == std::numeric_limits<ValType>::infinity()); in legacy_test_inf_impl()
98 template<class CharType, class ValType> void legacy_test_nan_impl();
110 template<class CharType, class ValType> void legacy_test_nan_impl() in legacy_test_nan_impl()
118 ValType a1 = std::numeric_limits<ValType>::quiet_NaN(); in legacy_test_nan_impl()
119 ValType a2 = -std::numeric_limits<ValType>::quiet_NaN(); in legacy_test_nan_impl()
[all …]
Dalmost_equal.ipp12 template<class ValType>
13 bool almost_equal(ValType a, ValType b)
15 const ValType e = static_cast<ValType>(0.00001);
Dtest_signed_zero.cpp40 template<class CharType, class ValType> void signed_zero_test_impl();
63 template<class CharType, class ValType> void signed_zero_test_impl() in signed_zero_test_impl()
90 ValType a1 = static_cast<ValType>(0); // zero. in signed_zero_test_impl()
91 ValType a2 = (changesign)(static_cast<ValType>(0)); // negative signed zero. in signed_zero_test_impl()
100 ValType b1, b2; in signed_zero_test_impl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyRuntimeLibcallSignatures.cpp514 SmallVectorImpl<wasm::ValType> &Rets, in getLibcallSignature()
515 SmallVectorImpl<wasm::ValType> &Params) { in getLibcallSignature()
519 wasm::ValType PtrTy = in getLibcallSignature()
520 Subtarget.hasAddr64() ? wasm::ValType::I64 : wasm::ValType::I32; in getLibcallSignature()
527 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
528 Params.push_back(wasm::ValType::F32); in getLibcallSignature()
531 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
532 Params.push_back(wasm::ValType::F64); in getLibcallSignature()
535 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
536 Params.push_back(wasm::ValType::I32); in getLibcallSignature()
[all …]
DWebAssemblyMCInstLower.cpp93 SmallVector<wasm::ValType, 4> Returns; in GetExternalSymbolSymbol()
94 SmallVector<wasm::ValType, 4> Params; in GetExternalSymbolSymbol()
111 Params.push_back(Subtarget.hasAddr64() ? wasm::ValType::I64 in GetExternalSymbolSymbol()
112 : wasm::ValType::I32); in GetExternalSymbolSymbol()
167 SmallVector<wasm::ValType, 1> &&Returns, in lowerTypeIndexOperand() argument
168 SmallVector<wasm::ValType, 4> &&Params) const { in lowerTypeIndexOperand()
182 static wasm::ValType getType(const TargetRegisterClass *RC) { in getType()
184 return wasm::ValType::I32; in getType()
186 return wasm::ValType::I64; in getType()
188 return wasm::ValType::F32; in getType()
[all …]
DWebAssemblyRuntimeLibcallSignatures.h27 SmallVectorImpl<wasm::ValType> &Rets,
28 SmallVectorImpl<wasm::ValType> &Params);
32 SmallVectorImpl<wasm::ValType> &Rets,
33 SmallVectorImpl<wasm::ValType> &Params);
DWebAssemblyMCInstLower.h37 MCOperand lowerTypeIndexOperand(SmallVector<wasm::ValType, 1> &&,
38 SmallVector<wasm::ValType, 4> &&) const;
DWebAssemblyMachineFunctionInfo.cpp69 SmallVectorImpl<wasm::ValType> &Out) { in valTypesFromMVTs()
/third_party/boost/boost/math/special_functions/
Dnonfinite_num_facets.hpp83 template<class ValType> void put_and_reset_width( in put_and_reset_width()
85 CharType fill, ValType val) const in put_and_reset_width()
91 template<class ValType> void put_impl( in put_impl()
93 CharType fill, ValType val) const in put_impl()
155 zeros << ValType(0); in put_impl()
170 template<class ValType>
173 const CharType* body, CharType fill, ValType val) const in put_num_and_fill()
275 template<class ValType> static ValType positive_nan() in positive_nan()
279 std::numeric_limits<ValType>::quiet_NaN(), static_cast<ValType>(1) in positive_nan()
284 template<class ValType> void get_and_check_eof in get_and_check_eof()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyMCTargetDesc.cpp133 wasm::ValType WebAssembly::toValType(const MVT &Ty) { in toValType()
136 return wasm::ValType::I32; in toValType()
138 return wasm::ValType::I64; in toValType()
140 return wasm::ValType::F32; in toValType()
142 return wasm::ValType::F64; in toValType()
149 return wasm::ValType::V128; in toValType()
151 return wasm::ValType::EXNREF; in toValType()
DWebAssemblyTargetStreamer.cpp30 void WebAssemblyTargetStreamer::emitValueType(wasm::ValType Type) { in emitValueType()
42 ArrayRef<wasm::ValType> Types) { in printTypes()
54 void WebAssemblyTargetAsmStreamer::emitLocal(ArrayRef<wasm::ValType> Types) { in emitLocal()
74 static_cast<wasm::ValType>(Sym->getGlobalType().Type)) in emitGlobalType()
107 void WebAssemblyTargetWasmStreamer::emitLocal(ArrayRef<wasm::ValType> Types) { in emitLocal()
108 SmallVector<std::pair<wasm::ValType, uint32_t>, 4> Grouped; in emitLocal()
DWebAssemblyTargetStreamer.h34 virtual void emitLocal(ArrayRef<wasm::ValType> Types) = 0;
56 void emitValueType(wasm::ValType Type);
66 void emitLocal(ArrayRef<wasm::ValType> Types) override;
82 void emitLocal(ArrayRef<wasm::ValType> Types) override;
102 void emitLocal(ArrayRef<wasm::ValType>) override {} in emitLocal() argument
DWebAssemblyMCTargetDesc.h129 I32 = unsigned(wasm::ValType::I32),
130 I64 = unsigned(wasm::ValType::I64),
131 F32 = unsigned(wasm::ValType::F32),
132 F64 = unsigned(wasm::ValType::F64),
133 V128 = unsigned(wasm::ValType::V128),
134 Exnref = unsigned(wasm::ValType::EXNREF),
147 wasm::ValType toValType(const MVT &Ty);
DWebAssemblyInstPrinter.h58 const char *typeToString(wasm::ValType Ty);
61 std::string typeListToString(ArrayRef<wasm::ValType> List);
DWebAssemblyInstPrinter.cpp320 const char *WebAssembly::typeToString(wasm::ValType Ty) { in typeToString()
324 std::string WebAssembly::typeListToString(ArrayRef<wasm::ValType> List) { in typeListToString()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstantsContext.h352 using ValType = ConstantExprKeyType;
356 using ValType = InlineAsmKeyType;
360 using ValType = ConstantAggrKeyType<ConstantArray>;
364 using ValType = ConstantAggrKeyType<ConstantStruct>;
368 using ValType = ConstantAggrKeyType<ConstantVector>;
572 using ValType = typename ConstantInfo<ConstantClass>::ValType;
574 using LookupKey = std::pair<TypeClass *, ValType>;
593 return getHashValue(LookupKey(CP->getType(), ValType(CP, Storage)));
637 ConstantClass *create(TypeClass *Ty, ValType V, LookupKeyHashed &HashKey) {
648 ConstantClass *getOrCreate(TypeClass *Ty, ValType V) {
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DWasm.h347 enum class ValType { enum
357 SmallVector<ValType, 1> Returns;
358 SmallVector<ValType, 4> Params;
362 WasmSignature(SmallVector<ValType, 1> &&InReturns, in WasmSignature()
363 SmallVector<ValType, 4> &&InParams) in WasmSignature()
/third_party/boost/boost/test/tools/
Dassertion.hpp190 template<typename ExprType,typename ValType>
201 op::name<ValType,typename RhsT<T>::type> > \
205 op::name<ValType,typename RhsT<T>::type> > \
216 op::name<ValType,typename boost::decay<T const>::type> >\
220 return binary_expr<ExprType,Rhs,op::name<ValType,Rhs> > \
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/AsmParser/
DWebAssemblyAsmParser.cpp296 Optional<wasm::ValType> parseType(const StringRef &Type) { in parseType()
300 return wasm::ValType::I32; in parseType()
302 return wasm::ValType::I64; in parseType()
304 return wasm::ValType::F32; in parseType()
306 return wasm::ValType::F64; in parseType()
310 return wasm::ValType::V128; in parseType()
312 return wasm::ValType::EXNREF; in parseType()
313 return Optional<wasm::ValType>(); in parseType()
329 bool parseRegTypeList(SmallVectorImpl<wasm::ValType> &Types) { in parseRegTypeList()
771 SmallVector<wasm::ValType, 4> Locals; in ParseDirective()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DWasmObjectWriter.cpp66 SmallVector<wasm::ValType, 1> Returns;
69 SmallVector<wasm::ValType, 4> Params;
91 for (wasm::ValType Ret : Sig.Returns) in getHashValue()
93 for (wasm::ValType Param : Sig.Params) in getHashValue()
310 void writeValueType(wasm::ValType Ty) { W.OS << static_cast<char>(Ty); } in writeValueType()
687 for (wasm::ValType Ty : Sig.Params) in writeTypeSection()
690 for (wasm::ValType Ty : Sig.Returns) in writeTypeSection()

12