Home
last modified time | relevance | path

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

/llvm-project/llvm/lib/InterfaceStub/
H A DIFSHandler.cpp45 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()
/llvm-project/clang-tools-extra/clang-doc/
H A DYAMLGenerator.cpp69 template <unsigned U> struct ScalarTraits<SmallString<U>> { struct
71 static void output(const SmallString<U> &S, void *, llvm::raw_ostream &OS) { in output()
76 static StringRef input(StringRef Scalar, void *, SmallString<U> &Value) { in input()
81 static QuotingType mustQuote(StringRef) { return QuotingType::Single; } in mustQuote()
84 template <> struct ScalarTraits<std::array<unsigned char, 20>> { struct
86 static void output(const std::array<unsigned char, 20> &S, void *, in output()
91 static StringRef input(StringRef Scalar, void *, in input()
99 static SymbolID StringToSymbol(llvm::StringRef Value) { in StringToSymbol()
106 static QuotingType mustQuote(StringRef) { return QuotingType::Single; } in mustQuote()
/llvm-project/llvm/tools/llvm-exegesis/lib/
H A DBenchmarkResult.cpp173 template <> struct ScalarTraits<MCInst> { global() struct
175 outputllvm::yaml::ScalarTraits output() argument
179 inputllvm::yaml::ScalarTraits input() argument
187 mustQuotellvm::yaml::ScalarTraits mustQuote() argument
189 flowllvm::yaml::ScalarTraits global() argument
251 template <> struct ScalarTraits<exegesis::RegisterValue> { global() struct
252 kRadixllvm::yaml::ScalarTraits global() argument
253 kSignedllvm::yaml::ScalarTraits global() argument
255 outputllvm::yaml::ScalarTraits output() argument
262 inputllvm::yaml::ScalarTraits input() argument
280 mustQuotellvm::yaml::ScalarTraits mustQuote() argument
282 flowllvm::yaml::ScalarTraits global() argument
/llvm-project/llvm/lib/ObjectYAML/
H A DMinidumpYAML.cpp179 template <std::size_t N> struct ScalarTraits<FixedSizeHex<N>> { global() struct
180 outputllvm::yaml::ScalarTraits output() argument
184 inputllvm::yaml::ScalarTraits input() argument
195 mustQuotellvm::yaml::ScalarTraits mustQuote() argument
216 template <std::size_t N> struct ScalarTraits<FixedSizeString<N>> { global() struct
217 outputllvm::yaml::ScalarTraits output() argument
221 inputllvm::yaml::ScalarTraits input() argument
230 mustQuotellvm::yaml::ScalarTraits mustQuote() argument
H A DELFYAML.cpp1170 template <> struct ScalarTraits<StOtherPiece> { global() struct
1171 outputllvm::yaml::ScalarTraits output() argument
1174 inputllvm::yaml::ScalarTraits input() argument
1178 mustQuotellvm::yaml::ScalarTraits mustQuote() argument
1184 template <> struct ScalarTraits<ELFYAML::YAMLFlowString> { global() struct
1185 outputllvm::yaml::ScalarTraits output() argument
1189 inputllvm::yaml::ScalarTraits input() argument
1194 mustQuotellvm::yaml::ScalarTraits mustQuote() argument
/llvm-project/llvm/unittests/Support/
H A DYAMLIOTest.cpp1073 struct ScalarTraits<MyCustomType> { struct
1288 struct ScalarTraits<MyNumber> { in output() argument
1304 template <> struct ScalarTraits<MyString> { argument
1305 using Impl = ScalarTraits<StringRef>; in output() argument
1074 outputllvm::yaml::ScalarTraits output() argument
1077 inputllvm::yaml::ScalarTraits input() argument
1096 mustQuotellvm::yaml::ScalarTraits mustQuote() argument
1287 struct ScalarTraits<MyNumber> { global() struct
1292 inputllvm::yaml::ScalarTraits input() argument
1300 mustQuotellvm::yaml::ScalarTraits mustQuote() argument
1303 template <> struct ScalarTraits<MyString> { global() struct
1308 inputllvm::yaml::ScalarTraits input() argument
1311 mustQuotellvm::yaml::ScalarTraits mustQuote() argument
2509 struct ScalarTraits<FlowSeq> { global() struct
2510 outputllvm::yaml::ScalarTraits output() argument
2513 inputllvm::yaml::ScalarTraits input() argument
2518 mustQuotellvm::yaml::ScalarTraits mustQuote() argument
[all...]
/llvm-project/llvm/include/llvm/Support/
H A DYAMLTraits.h148 template <typename T, typename Enable = void> struct ScalarTraits { global() struct
[all...]
/llvm-project/mlir/tools/mlir-linalg-ods-gen/
H A Dmlir-linalg-ods-yaml-gen.cpp313 struct ScalarTraits<SerializedAffineMap> { global() struct
314 outputllvm::yaml::ScalarTraits output() argument
319 inputllvm::yaml::ScalarTraits input() argument
330 mustQuotellvm::yaml::ScalarTraits mustQuote() argument
/llvm-project/llvm/lib/TextAPI/
H A DTextStub.cpp368 template <> struct ScalarTraits<Target> { struct
369 static void output(const Target &Value, void *, raw_ostream &OS) { in output()
381 static StringRef input(StringRef Scalar, void *, Target &Value) { in input()
397 static QuotingType mustQuote(StringRef) { return QuotingType::None; } in mustQuote()