Searched defs:ScalarTraits (Results 1 – 6 of 6) sorted by relevance
/openbsd-src/gnu/llvm/llvm/lib/InterfaceStub/ |
H A D | IFSHandler.cpp | 45 template <> struct ScalarTraits<IFSEndiannessType> { struct 46 static void output(const IFSEndiannessType &Value, void *, in output() 60 static StringRef input(StringRef Scalar, void *, IFSEndiannessType &Value) { in input() 71 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote() 74 template <> struct ScalarTraits<IFSBitWidthType> { struct 75 static void output(const IFSBitWidthType &Value, void *, in output() 89 static StringRef input(StringRef Scalar, void *, IFSBitWidthType &Value) { in input() 100 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
|
/openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/ |
H A D | BenchmarkResult.cpp | 172 template <> struct ScalarTraits<MCInst> { struct 174 static void output(const MCInst &Value, void *Ctx, raw_ostream &Out) { in output() 178 static StringRef input(StringRef Scalar, void *Ctx, MCInst &Value) { in input() 186 static QuotingType mustQuote(StringRef) { return QuotingType::Single; } in mustQuote() 188 static const bool flow = true; 228 template <> struct ScalarTraits<exegesis::RegisterValue> { struct 229 static constexpr const unsigned kRadix = 16; 230 static constexpr const bool kSigned = false; 232 static void output(const exegesis::RegisterValue &RV, void *Ctx, in output() 239 static StringRef input(StringRef String, void *Ctx, in input() [all …]
|
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
H A D | MinidumpYAML.cpp | 179 template <std::size_t N> struct ScalarTraits<FixedSizeHex<N>> { struct 180 static void output(const FixedSizeHex<N> &Fixed, void *, raw_ostream &OS) { in output() 184 static StringRef input(StringRef Scalar, void *, FixedSizeHex<N> &Fixed) { in input() 195 static QuotingType mustQuote(StringRef S) { return QuotingType::None; } in mustQuote() 216 template <std::size_t N> struct ScalarTraits<FixedSizeString<N>> { struct 217 static void output(const FixedSizeString<N> &Fixed, void *, raw_ostream &OS) { in output() 221 static StringRef input(StringRef Scalar, void *, FixedSizeString<N> &Fixed) { in input() 230 static QuotingType mustQuote(StringRef S) { return needsQuotes(S); } in mustQuote()
|
H A D | ELFYAML.cpp | 1136 template <> struct ScalarTraits<StOtherPiece> { struct 1137 static void output(const StOtherPiece &Val, void *, raw_ostream &Out) { in output() 1140 static StringRef input(StringRef Scalar, void *, StOtherPiece &Val) { in input() 1144 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote() 1150 template <> struct ScalarTraits<ELFYAML::YAMLFlowString> { struct 1151 static void output(const ELFYAML::YAMLFlowString &Val, void *, in output() 1155 static StringRef input(StringRef Scalar, void *, in input() 1160 static QuotingType mustQuote(StringRef S) { in mustQuote()
|
/openbsd-src/gnu/llvm/llvm/lib/TextAPI/ |
H A D | TextStub.cpp | 376 template <> struct ScalarTraits<Target> { struct 377 static void output(const Target &Value, void *, raw_ostream &OS) { in output() 416 static StringRef input(StringRef Scalar, void *, Target &Value) { in input() 432 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()
|
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
H A D | YAMLTraits.h | 148 template <typename T, typename Enable = void> struct ScalarTraits { struct
|