| /llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/ |
| H A D | YAML.h | 63 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 D | MinidumpYAML.h | 79 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 D | ArchiveYAML.h | 47 Optional<yaml::BinaryRef> Content; 53 Optional<yaml::BinaryRef> Content;
|
| H A D | CodeViewYAMLTypeHashing.h | 39 yaml::BinaryRef Hash;
|
| H A D | WasmYAML.h | 70 yaml::BinaryRef Body; 111 yaml::BinaryRef Body; 128 yaml::BinaryRef Content; 203 yaml::BinaryRef Payload;
|
| H A D | OffloadYAML.h | 37 Optional<yaml::BinaryRef> Content;
|
| H A D | XCOFFYAML.h | 81 yaml::BinaryRef SectionData; 205 Optional<yaml::BinaryRef> RawContent;
|
| H A D | MachOYAML.h | 57 Optional<llvm::yaml::BinaryRef> content; 136 Optional<llvm::yaml::BinaryRef> RawLinkEditSegment;
|
| H A D | COFFYAML.h | 72 yaml::BinaryRef SectionData;
|
| H A D | ELFYAML.h | 178 yaml::BinaryRef Desc; 232 Optional<yaml::BinaryRef> Content; 283 Optional<yaml::BinaryRef> Pattern;
|
| H A D | DWARFYAML.h | 196 Optional<yaml::BinaryRef> Content;
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | YAML.cpp | 22 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() 35 Val = yaml::BinaryRef(Scalar); in input() 39 void yaml::BinaryRef::writeAsBinary(raw_ostream &OS, uint64_t N) const { in writeAsBinary() 54 void yaml::BinaryRef::writeAsHex(raw_ostream &OS) const { in writeAsHex()
|
| H A D | CodeViewYAMLTypeHashing.cpp | 37 ScalarTraits<BinaryRef>::output(GH.Hash, Ctx, OS); in output() 42 return ScalarTraits<BinaryRef>::input(Scalar, Ctx, GH.Hash); in input()
|
| H A D | MinidumpEmitter.cpp | 46 size_t allocateBytes(yaml::BinaryRef Data) { in allocateBytes() 116 static LocationDescriptor layout(BlobAllocator &File, yaml::BinaryRef Data) { in layout()
|
| H A D | MinidumpYAML.cpp | 285 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 D | CodeViewYAMLSymbols.cpp | 290 yaml::BinaryRef Binary; in map() 292 Binary = yaml::BinaryRef(Data); in map()
|
| H A D | COFFEmitter.cpp | 171 static yaml::BinaryRef
|
| H A D | MachOEmitter.cpp | 338 yaml::BinaryRef Content = *Sec.content; in writeSectionData()
|
| H A D | ELFEmitter.cpp | 97 void writeAsBinary(const yaml::BinaryRef &Bin, uint64_t N = UINT64_MAX) { in writeAsBinary() 718 const Optional<yaml::BinaryRef> &Content, in writeContent()
|
| /llvm-project-15.0.7/llvm/unittests/ObjectYAML/ |
| H A D | YAMLTest.cpp | 16 yaml::BinaryRef Binary; 30 TEST(ObjectYAML, BinaryRef) { in TEST() argument 53 EXPECT_EQ(BH2.Binary, yaml::BinaryRef("AAAA")); in TEST()
|
| /llvm-project-15.0.7/llvm/tools/obj2yaml/ |
| H A D | wasm2yaml.cpp | 191 CustomSec->Payload = yaml::BinaryRef(WasmSec.Content); in dumpCustomSection() 339 Seg.Offset.Body = yaml::BinaryRef(Segment.Offset.Body); in dump() 360 Function.Body = yaml::BinaryRef(Func.Body); in dump() 375 Seg.Offset.Body = yaml::BinaryRef(Segment.Data.Offset.Body); in dump() 379 Seg.Content = yaml::BinaryRef(Segment.Data.Content); in dump()
|
| H A D | elf2yaml.cpp | 866 S->Content = yaml::BinaryRef(Content); in dumpStackSizesSection() 922 S->Content = yaml::BinaryRef(Content); in dumpBBAddrMapSection() 967 S->Content = yaml::BinaryRef(Content); in dumpAddrsigSection() 1047 S->Content = yaml::BinaryRef(Content); in dumpCallGraphProfileSection() 1067 S->Content = yaml::BinaryRef(Content); in dumpCallGraphProfileSection() 1171 S->Content = yaml::BinaryRef(Content); in dumpContentSection() 1224 S->Content = yaml::BinaryRef(*ContentOrErr); in dumpNoteSection() 1258 S->Content = yaml::BinaryRef(Content); in dumpHashSection() 1267 S->Content = yaml::BinaryRef(Content); in dumpHashSection() 1314 S->Content = yaml::BinaryRef(Content); in dumpGnuHashSection() [all …]
|
| H A D | macho2yaml.cpp | 95 yaml::BinaryRef(Obj.getSectionContents(Sec.offset, Sec.size)); in constructSectionCommon() 188 yaml::BinaryRef(Obj.getSectionContents(Sec.offset, Sec.size)); in extractSections() 298 yaml::BinaryRef(Obj.getSegmentContents("__LINKEDIT")); in dump()
|
| H A D | coff2yaml.cpp | 184 NewYAMLSection.SectionData = yaml::BinaryRef(sectionData); in dumpSections()
|
| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/ |
| H A D | BenchmarkResult.cpp | 310 BinaryRef Binary;
|