Home
last modified time | relevance | path

Searched defs:ScalarTraits (Results 1 – 10 of 10) sorted by relevance

/external/llvm/tools/llvm-pdbdump/
DPdbYaml.cpp22 template <> struct ScalarTraits<llvm::pdb::PDB_UniqueId> { struct
23 static void output(const llvm::pdb::PDB_UniqueId &S, void *, in output()
28 static StringRef input(StringRef Scalar, void *Ctx, in input()
54 static bool mustQuote(StringRef Scalar) { return needsQuotes(Scalar); } in mustQuote()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
DBenchmarkResult.cpp100 template <> struct ScalarTraits<llvm::MCInst> { struct
102 static void output(const llvm::MCInst &Value, void *Ctx, in output()
107 static StringRef input(StringRef Scalar, void *Ctx, llvm::MCInst &Value) { in input()
111 static QuotingType mustQuote(StringRef) { return QuotingType::Single; } in mustQuote()
113 static const bool flow = true;
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DYAMLTraits.h136 struct ScalarTraits { struct
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DYAMLIOTest.cpp913 struct ScalarTraits<MyCustomType> { struct
914 static void output(const MyCustomType &value, void* ctxt, llvm::raw_ostream &out) { in output()
917 static StringRef input(StringRef scalar, void* ctxt, MyCustomType &value) { in input()
936 static QuotingType mustQuote(StringRef) { return QuotingType::Single; } in mustQuote()
1127 struct ScalarTraits<MyNumber> { struct
1128 static void output(const MyNumber &value, void *, llvm::raw_ostream &out) { in output()
1132 static StringRef input(StringRef scalar, void *, MyNumber &value) { in input()
1140 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
1143 template <> struct ScalarTraits<MyString> { struct
1144 using Impl = ScalarTraits<StringRef>;
[all …]
/external/llvm/include/llvm/Support/
DYAMLTraits.h103 struct ScalarTraits { struct
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DYAMLTraits.h143 struct ScalarTraits { struct
/external/llvm/unittests/Support/
DYAMLIOTest.cpp825 struct ScalarTraits<MyCustomType> { struct
826 static void output(const MyCustomType &value, void* ctxt, llvm::raw_ostream &out) { in output()
829 static StringRef input(StringRef scalar, void* ctxt, MyCustomType &value) { in input()
848 static bool mustQuote(StringRef) { return true; } in mustQuote()
1038 struct ScalarTraits<MyNumber> { struct
1039 static void output(const MyNumber &value, void *, llvm::raw_ostream &out) { in output()
1043 static StringRef input(StringRef scalar, void *, MyNumber &value) { in input()
1051 static bool mustQuote(StringRef) { return false; } in mustQuote()
2209 struct ScalarTraits<FlowSeq> { struct
2210 static void output(const FlowSeq &value, void*, llvm::raw_ostream &out) { in output()
[all …]
/external/eigen/Eigen/src/Geometry/
DAlignedBox.h36 typedef NumTraits<Scalar> ScalarTraits; typedef
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp443 struct ScalarTraits struct
445 typedef Interval IVal;
447 static Interval doMakeIVal (const T& value) in doMakeIVal()
454 static Interval doUnion (const Interval& a, const Interval& b) in doUnion()
459 static bool doContains (const Interval& a, T value) in doContains()
464 static Interval doConvert (const FloatFormat& fmt, const IVal& ival) in doConvert()
469 static Interval doConvert (const FloatFormat& fmt, const IVal& ival, bool is16Bit) in doConvert()
475 static Interval doRound (const FloatFormat& fmt, T value) in doRound()
482 struct ScalarTraits<deUint16> struct
484 typedef Interval IVal;
[all …]
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp302 struct ScalarTraits struct
304 typedef Interval IVal;
306 static Interval doMakeIVal (const T& value) in doMakeIVal()
313 static Interval doUnion (const Interval& a, const Interval& b) in doUnion()
318 static bool doContains (const Interval& a, T value) in doContains()
323 static bool doContainsWarning(const Interval& a, T value) in doContainsWarning()
328 static Interval doConvert (const FloatFormat& fmt, const IVal& ival) in doConvert()
333 static Interval doRound (const FloatFormat& fmt, T value) in doRound()