Searched refs:yaml (Results 1 - 25 of 105) sorted by relevance

12345

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSymbolRewriter.h46 namespace yaml { namespace in namespace:llvm
53 } // end namespace yaml
100 bool parseEntry(yaml::Stream &Stream, yaml::KeyValueNode &Entry,
102 bool parseRewriteFunctionDescriptor(yaml::Stream &Stream,
103 yaml::ScalarNode *Key,
104 yaml::MappingNode *Value,
106 bool parseRewriteGlobalVariableDescriptor(yaml::Stream &Stream,
107 yaml::ScalarNode *Key,
108 yaml
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DYAML.cpp22 void yaml::ScalarTraits<yaml::BinaryRef>::output(
23 const yaml::BinaryRef &Val, void *, raw_ostream &Out) {
27 StringRef yaml::ScalarTraits<yaml::BinaryRef>::input(StringRef Scalar, void *,
28 yaml::BinaryRef &Val) {
36 Val = yaml::BinaryRef(Scalar);
40 void yaml::BinaryRef::writeAsBinary(raw_ostream &OS, uint64_t N) const {
55 void yaml::BinaryRef::writeAsHex(raw_ostream &OS) const {
H A Dyaml2obj.cpp19 namespace yaml { namespace in namespace:llvm
21 bool convertYAML(yaml::Input &YIn, raw_ostream &Out, ErrorHandler ErrHandler,
28 yaml::YamlObjectFile Doc;
62 yaml::Input YIn(Yaml);
76 } // namespace yaml
H A DMinidumpYAML.cpp16 /// Perform an optional yaml-mapping of an endian-aware type EndianType. The
20 static inline void mapOptional(yaml::IO &IO, const char *Key, EndianType &Val,
27 static inline void mapRequiredAs(yaml::IO &IO, const char *Key,
34 /// Perform an optional yaml-mapping of an endian-aware type EndianType as some
37 static inline void mapOptionalAs(yaml::IO &IO, const char *Key, EndianType &Val,
45 /// Return the appropriate yaml Hex type for a given endian-aware type.
47 template <> struct HexType<support::ulittle16_t> { using type = yaml::Hex16; };
48 template <> struct HexType<support::ulittle32_t> { using type = yaml::Hex32; };
49 template <> struct HexType<support::ulittle64_t> { using type = yaml::Hex64; };
54 static inline void mapRequiredHex(yaml
178 namespace yaml { namespace in namespace:llvm
215 namespace yaml { namespace in namespace:llvm
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Remarks/
H A DYAMLRemarkParser.h35 YAMLParseError(StringRef Message, SourceMgr &SM, yaml::Stream &Stream,
36 yaml::Node &Node);
58 /// Stream for yaml parsing.
59 yaml::Stream Stream;
61 yaml::document_iterator YAMLIt;
81 Error error(StringRef Message, yaml::Node &Node);
83 Expected<std::unique_ptr<Remark>> parseRemark(yaml::Document &Remark);
85 Expected<Type> parseType(yaml::MappingNode &Node);
87 Expected<StringRef> parseKey(yaml::KeyValueNode &Node);
89 virtual Expected<StringRef> parseStr(yaml
[all...]
H A DYAMLRemarkParser.cpp37 yaml::Stream &Stream, yaml::Node &Node) {
178 Error YAMLRemarkParser::error(StringRef Message, yaml::Node &Node) {
191 YAMLRemarkParser::parseRemark(yaml::Document &RemarkEntry) {
195 yaml::Node *YAMLRoot = RemarkEntry.getRoot();
201 auto *Root = dyn_cast<yaml::MappingNode>(YAMLRoot);
217 for (yaml::KeyValueNode &RemarkField : *Root) {
249 auto *Args = dyn_cast<yaml::SequenceNode>(RemarkField.getValue());
253 for (yaml::Node &Arg : *Args) {
273 Expected<Type> YAMLRemarkParser::parseType(yaml
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPdbYaml.h35 namespace yaml { namespace in namespace:llvm::pdb
118 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::PdbObject)
119 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::MSFHeaders)
121 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::StreamBlockList)
122 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::PdbInfoStream)
123 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::PdbDbiStream)
124 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::PdbTpiStream)
125 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::PdbPublicsStream)
126 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml::NamedStreamMapping)
127 LLVM_YAML_DECLARE_MAPPING_TRAITS(pdb::yaml
[all...]
H A DYAMLOutputStyle.h42 llvm::yaml::Output Out;
44 yaml::PdbObject Obj;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DXCOFFYAML.h23 llvm::yaml::Hex16 Magic;
26 llvm::yaml::Hex32 SymbolTableOffset; // File offset to symbol table.
29 llvm::yaml::Hex16 Flags;
34 llvm::yaml::Hex32 Value; // Symbol value; storage class-dependent.
36 llvm::yaml::Hex16 Type;
50 namespace yaml { namespace in namespace:llvm
68 } // namespace yaml
H A DMachOYAML.h33 llvm::yaml::Hex64 addr;
35 llvm::yaml::Hex32 offset;
37 llvm::yaml::Hex32 reloff;
39 llvm::yaml::Hex32 flags;
40 llvm::yaml::Hex32 reserved1;
41 llvm::yaml::Hex32 reserved2;
42 llvm::yaml::Hex32 reserved3;
43 Optional<llvm::yaml::BinaryRef> content;
47 llvm::yaml::Hex32 magic;
48 llvm::yaml
159 namespace yaml { namespace in namespace:llvm
[all...]
H A DELFYAML.h75 llvm::yaml::Hex8 ABIVersion;
79 llvm::yaml::Hex64 Entry;
81 Optional<llvm::yaml::Hex16> SHEntSize;
82 Optional<llvm::yaml::Hex64> SHOff;
83 Optional<llvm::yaml::Hex16> SHNum;
84 Optional<llvm::yaml::Hex16> SHStrNdx;
94 llvm::yaml::Hex64 VAddr;
95 llvm::yaml::Hex64 PAddr;
96 Optional<llvm::yaml::Hex64> Align;
97 Optional<llvm::yaml
529 namespace yaml { namespace in namespace:llvm
[all...]
H A DObjectYAML.h21 namespace yaml { namespace in namespace:llvm
38 } // end namespace yaml
H A DDWARFYAML.h50 llvm::yaml::Hex64 Value; // Some DWARF5 attributes have values
54 llvm::yaml::Hex32 Code;
61 llvm::yaml::Hex64 Address;
75 llvm::yaml::Hex32 DieOffset;
76 llvm::yaml::Hex8 Descriptor;
90 llvm::yaml::Hex64 Value;
92 std::vector<llvm::yaml::Hex8> BlockData;
96 llvm::yaml::Hex32 AbbrCode;
123 std::vector<llvm::yaml::Hex8> UnknownOpcodeData;
124 std::vector<llvm::yaml
177 namespace yaml { namespace in namespace:llvm
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/
H A DJSONCompilationDatabase.h116 std::tuple<llvm::yaml::ScalarNode *, llvm::yaml::ScalarNode *,
117 std::vector<llvm::yaml::ScalarNode *>,
118 llvm::yaml::ScalarNode *>;
136 llvm::yaml::Stream YAMLStream;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp269 yaml::Stream YS(MapFile->getBuffer(), SM);
272 yaml::MappingNode *DescriptorList;
275 if (isa<yaml::NullNode>(Document.getRoot()))
278 DescriptorList = dyn_cast<yaml::MappingNode>(Document.getRoot());
292 bool RewriteMapParser::parseEntry(yaml::Stream &YS, yaml::KeyValueNode &Entry,
294 yaml::ScalarNode *Key;
295 yaml::MappingNode *Value;
299 Key = dyn_cast<yaml::ScalarNode>(Entry.getKey());
305 Value = dyn_cast<yaml
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetMachine.h52 yaml::MachineFunctionInfo *createDefaultFuncInfoYAML() const override;
53 yaml::MachineFunctionInfo *
55 bool parseMachineFunctionInfo(const yaml::MachineFunctionInfo &,
H A DWebAssemblyMachineFunctionInfo.cpp83 yaml::WebAssemblyFunctionInfo::WebAssemblyFunctionInfo(
87 void yaml::WebAssemblyFunctionInfo::mappingImpl(yaml::IO &YamlIO) {
92 const yaml::WebAssemblyFunctionInfo &YamlMFI) {
H A DWebAssemblyMachineFunctionInfo.h26 namespace yaml { namespace in namespace:llvm
65 void initializeBaseYamlFields(const yaml::WebAssemblyFunctionInfo &YamlMFI);
155 namespace yaml {
157 struct WebAssemblyFunctionInfo final : public yaml::MachineFunctionInfo {
163 void mappingImpl(yaml::IO &YamlIO) override;
173 } // end namespace yaml
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRPrinter.cpp122 void convert(yaml::MachineFunction &MF, const MachineRegisterInfo &RegInfo,
124 void convert(ModuleSlotTracker &MST, yaml::MachineFrameInfo &YamlMFI,
126 void convert(yaml::MachineFunction &MF,
128 void convert(ModuleSlotTracker &MST, yaml::MachineJumpTable &YamlJTI,
130 void convertStackObjects(yaml::MachineFunction &YMF,
132 void convertCallSiteObjects(yaml::MachineFunction &YMF,
172 namespace yaml { namespace in namespace:llvm
186 } // end namespace yaml
189 static void printRegMIR(unsigned Reg, yaml::StringValue &Dest,
198 yaml
[all...]
/freebsd-11-stable/contrib/llvm-project/lld/include/lld/Core/
H A DReader.h23 namespace yaml { namespace in namespace:llvm
25 } // end namespace yaml
55 /// An abstract class for handling alternate yaml representations
60 /// representations (e.g mach-o encoded as yaml, etc). A tag is used to
73 virtual bool handledDocTag(llvm::yaml::IO &io, const lld::File *&f) const = 0;
102 /// the current document type process the yaml into an lld::File*.
103 bool handleTaggedDoc(llvm::yaml::IO &io, const lld::File *&file) const;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/
H A DJSONCompilationDatabase.cpp301 const std::vector<llvm::yaml::ScalarNode *> &Nodes) {
332 llvm::yaml::document_iterator I = YAMLStream.begin();
337 llvm::yaml::Node *Root = I->getRoot();
342 auto *Array = dyn_cast<llvm::yaml::SequenceNode>(Root);
348 auto *Object = dyn_cast<llvm::yaml::MappingNode>(&NextObject);
353 llvm::yaml::ScalarNode *Directory = nullptr;
354 llvm::Optional<std::vector<llvm::yaml::ScalarNode *>> Command;
355 llvm::yaml::ScalarNode *File = nullptr;
356 llvm::yaml::ScalarNode *Output = nullptr;
358 auto *KeyString = dyn_cast<llvm::yaml
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Inclusions/
H A DIncludeStyle.cpp14 namespace yaml { namespace in namespace:llvm
30 } // namespace yaml
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp54 yaml::Input In;
113 bool initializeMachineFunction(const yaml::MachineFunction &YamlMF,
117 const yaml::MachineFunction &YamlMF);
120 const yaml::MachineFunction &YamlMF);
123 const yaml::MachineFunction &YamlMF);
126 const yaml::MachineFunction &YamlMF);
130 const yaml::StringValue &RegisterSource,
140 const yaml::MachineFunction &YamlMF);
143 const yaml::MachineJumpTable &YamlJTI);
147 const yaml
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackDocumentYAML.cpp71 if (Tag == "tag:yaml.org,2002:str")
76 StringRef Err = yaml::ScalarTraits<uint64_t>::input(S, nullptr, getUInt());
79 Err = yaml::ScalarTraits<int64_t>::input(S, nullptr, getInt());
90 StringRef Err = yaml::ScalarTraits<bool>::input(S, nullptr, getBool());
96 StringRef Err = yaml::ScalarTraits<double>::input(S, nullptr, getFloat());
102 StringRef Err = yaml::ScalarTraits<std::string>::input(S, nullptr, V);
144 namespace yaml { namespace in namespace:llvm
233 } // namespace yaml
238 yaml::Output Yout(OS);
245 yaml
[all...]
/freebsd-11-stable/contrib/llvm-project/lldb/source/Utility/
H A DGDBRemote.cpp66 void yaml::ScalarEnumerationTraits<GDBRemotePacket::Type>::enumeration(
73 void yaml::ScalarTraits<GDBRemotePacket::BinaryData>::output(
78 StringRef yaml::ScalarTraits<GDBRemotePacket::BinaryData>::input(
84 void yaml::MappingTraits<GDBRemotePacket>::mapping(IO &io,
94 yaml::MappingTraits<GDBRemotePacket>::validate(IO &io,
110 yaml::Output yout(os);
128 llvm::Twine(i) + llvm::Twine(".yaml"))
144 yaml::Output yout(m_os);
159 const char *GDBRemoteProvider::Info::file = "gdb-remote.yaml";

Completed in 142 milliseconds

12345