Home
last modified time | relevance | path

Searched refs:BinaryRef (Results 1 – 23 of 23) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
H A DYAML.h63 class BinaryRef {
64 friend bool operator==(const BinaryRef &LHS, const BinaryRef &RHS);
74 BinaryRef() = default;
75 BinaryRef(ArrayRef<uint8_t> Data) : Data(Data), DataIsHexString(false) {} in BinaryRef() function
76 BinaryRef(StringRef Data) : Data(arrayRefFromStringRef(Data)) {} in BinaryRef() function
98 inline bool operator==(const BinaryRef &LHS, const BinaryRef &RHS) {
106 template <> struct ScalarTraits<BinaryRef> {
107 static void output(const BinaryRef &, void *, raw_ostream &);
108 static StringRef input(StringRef, void *, BinaryRef &);
H A DMinidumpYAML.h79 yaml::BinaryRef CvRecord;
80 yaml::BinaryRef MiscRecord;
89 yaml::BinaryRef Stack;
90 yaml::BinaryRef Context;
99 yaml::BinaryRef Content;
110 yaml::BinaryRef ThreadContext;
149 yaml::BinaryRef Content;
242 template <> struct MappingContextTraits<minidump::MemoryDescriptor, BinaryRef> {
244 BinaryRef &Content);
H A DArchiveYAML.h47 Optional<yaml::BinaryRef> Content;
53 Optional<yaml::BinaryRef> Content;
H A DCodeViewYAMLTypeHashing.h39 yaml::BinaryRef Hash;
H A DWasmYAML.h107 yaml::BinaryRef Body;
124 yaml::BinaryRef Content;
199 yaml::BinaryRef Payload;
H A DELFYAML.h175 yaml::BinaryRef Desc;
229 Optional<yaml::BinaryRef> Content;
280 Optional<yaml::BinaryRef> Pattern;
H A DCOFFYAML.h72 yaml::BinaryRef SectionData;
H A DMachOYAML.h57 Optional<llvm::yaml::BinaryRef> content;
H A DDWARFYAML.h196 Optional<yaml::BinaryRef> Content;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DYAML.cpp22 void yaml::ScalarTraits<yaml::BinaryRef>::output( in output()
23 const yaml::BinaryRef &Val, void *, raw_ostream &Out) { in output()
27 StringRef yaml::ScalarTraits<yaml::BinaryRef>::input(StringRef Scalar, void *, in input()
28 yaml::BinaryRef &Val) { in input()
36 Val = yaml::BinaryRef(Scalar); in input()
40 void yaml::BinaryRef::writeAsBinary(raw_ostream &OS, uint64_t N) const { in writeAsBinary()
55 void yaml::BinaryRef::writeAsHex(raw_ostream &OS) const { in writeAsHex()
H A DCodeViewYAMLTypeHashing.cpp37 ScalarTraits<BinaryRef>::output(GH.Hash, Ctx, OS); in output()
42 return ScalarTraits<BinaryRef>::input(Scalar, Ctx, GH.Hash); in input()
H A DMinidumpEmitter.cpp46 size_t allocateBytes(yaml::BinaryRef Data) { in allocateBytes()
116 static LocationDescriptor layout(BlobAllocator &File, yaml::BinaryRef Data) { in layout()
H A DMinidumpYAML.cpp285 IO.mapOptional("Misc Record", M.MiscRecord, yaml::BinaryRef()); in mapping()
303 MappingContextTraits<MemoryDescriptor, yaml::BinaryRef>::mapping( in mapping()
353 void yaml::MappingContextTraits<MemoryDescriptor, yaml::BinaryRef>::mapping( in mapping()
354 IO &IO, MemoryDescriptor &Memory, BinaryRef &Content) { in mapping()
H A DCodeViewYAMLSymbols.cpp289 yaml::BinaryRef Binary; in map()
291 Binary = yaml::BinaryRef(Data); in map()
H A DMachOEmitter.cpp308 yaml::BinaryRef Content = *Sec.content; in writeSectionData()
H A DCOFFEmitter.cpp178 static yaml::BinaryRef
H A DELFEmitter.cpp96 void writeAsBinary(const yaml::BinaryRef &Bin, uint64_t N = UINT64_MAX) { in writeAsBinary()
678 const Optional<yaml::BinaryRef> &Content, in writeContent()
H A DELFYAML.cpp1275 Section.Content = yaml::BinaryRef(*Section.ContentBuf); in sectionMapping()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Delf2yaml.cpp826 S->Content = yaml::BinaryRef(Content); in dumpStackSizesSection()
870 S->Content = yaml::BinaryRef(Content); in dumpBBAddrMapSection()
915 S->Content = yaml::BinaryRef(Content); in dumpAddrsigSection()
994 S->Content = yaml::BinaryRef(Content); in dumpCallGraphProfileSection()
1025 S->Content = yaml::BinaryRef(Content); in dumpCallGraphProfileSection()
1129 S->Content = yaml::BinaryRef(Content); in dumpContentSection()
1182 S->Content = yaml::BinaryRef(*ContentOrErr); in dumpNoteSection()
1188 S->Content = yaml::BinaryRef(*ContentOrErr); in dumpNoteSection()
1216 S->Content = yaml::BinaryRef(Content); in dumpHashSection()
1225 S->Content = yaml::BinaryRef(Content); in dumpHashSection()
[all …]
H A Dwasm2yaml.cpp187 CustomSec->Payload = yaml::BinaryRef(WasmSec.Content); in dumpCustomSection()
351 Function.Body = yaml::BinaryRef(Func.Body); in dump()
365 Seg.Content = yaml::BinaryRef(Segment.Data.Content); in dump()
H A Dcoff2yaml.cpp182 NewYAMLSection.SectionData = yaml::BinaryRef(sectionData); in dumpSections()
H A Dmacho2yaml.cpp91 yaml::BinaryRef(Obj.getSectionContents(Sec.offset, Sec.size)); in constructSectionCommon()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-exegesis/lib/
H A DBenchmarkResult.cpp310 BinaryRef Binary;