/llvm-project/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 | 80 yaml::BinaryRef CvRecord; 81 yaml::BinaryRef MiscRecord; 90 yaml::BinaryRef Stack; 91 yaml::BinaryRef Context; 100 yaml::BinaryRef Content; 109 yaml::BinaryRef Content; 129 yaml::BinaryRef ThreadContext; 168 yaml::BinaryRef Content; in SystemInfoStream() 261 template <> struct MappingContextTraits<minidump::MemoryDescriptor, BinaryRef> { 263 BinaryRef [all...] |
H A D | ArchiveYAML.h | 48 std::optional<yaml::BinaryRef> Content; 54 std::optional<yaml::BinaryRef> Content;
|
H A D | WasmYAML.h | 70 yaml::BinaryRef Body; 111 yaml::BinaryRef Body; 128 yaml::BinaryRef Content; 204 yaml::BinaryRef Payload;
|
H A D | CodeViewYAMLTypeHashing.h | 39 yaml::BinaryRef Hash;
|
H A D | OffloadYAML.h | 37 std::optional<yaml::BinaryRef> Content;
|
H A D | COFFYAML.h | 72 yaml::BinaryRef Binary; 83 yaml::BinaryRef SectionData;
|
H A D | MachOYAML.h | 58 std::optional<llvm::yaml::BinaryRef> content; 145 std::optional<llvm::yaml::BinaryRef> RawLinkEditSegment;
|
H A D | XCOFFYAML.h | 83 yaml::BinaryRef SectionData; 210 std::optional<yaml::BinaryRef> RawContent;
|
H A D | ELFYAML.h | 205 yaml::BinaryRef Desc; 259 std::optional<yaml::BinaryRef> Content; 310 std::optional<yaml::BinaryRef> Pattern;
|
H A D | DWARFYAML.h | 222 std::optional<yaml::BinaryRef> Content;
|
/llvm-project/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 | 35 ScalarTraits<BinaryRef>::output(GH.Hash, Ctx, OS); in output() 40 return ScalarTraits<BinaryRef>::input(Scalar, Ctx, GH.Hash); in input()
|
H A D | MinidumpEmitter.cpp | 47 size_t allocateBytes(yaml::BinaryRef Data) { in allocateBytes() 117 static LocationDescriptor layout(BlobAllocator &File, yaml::BinaryRef Data) { in layout()
|
H A D | MinidumpYAML.cpp | 264 MappingContextTraits<MemoryDescriptor_64, yaml::BinaryRef>::mapping( in mapping() 294 IO.mapOptional("Misc Record", M.MiscRecord, yaml::BinaryRef()); 312 MappingContextTraits<MemoryDescriptor, yaml::BinaryRef>::mapping( in streamMapping() 374 void yaml::MappingContextTraits<MemoryDescriptor, yaml::BinaryRef>::mapping( in streamMapping() 375 IO &IO, MemoryDescriptor &Memory, BinaryRef &Content) { in streamMapping() 380 void yaml::MappingContextTraits<MemoryDescriptor_64, yaml::BinaryRef>::mapping( in mapping() 381 IO &IO, MemoryDescriptor_64 &Memory, BinaryRef &Content) { in mapping()
|
H A D | CodeViewYAMLSymbols.cpp | 303 yaml::BinaryRef Binary; in map() 305 Binary = yaml::BinaryRef(Data); in map()
|
H A D | COFFEmitter.cpp | 162 static yaml::BinaryRef in layoutOptionalHeader()
|
H A D | MachOEmitter.cpp | 346 yaml::BinaryRef Content = *Sec.content; in writeSectionData()
|
/llvm-project/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/llvm/tools/obj2yaml/ |
H A D | wasm2yaml.cpp | 193 CustomSec->Payload = yaml::BinaryRef(WasmSec.Content); in dumpCustomSection() 341 Seg.Offset.Body = yaml::BinaryRef(Segment.Offset.Body); in dump() 362 Function.Body = yaml::BinaryRef(Func.Body); in dump() 377 Seg.Offset.Body = yaml::BinaryRef(Segment.Data.Offset.Body); in dump() 381 Seg.Content = yaml::BinaryRef(Segment.Data.Content); in dump()
|
H A D | elf2yaml.cpp | 867 S->Content = yaml::BinaryRef(Content); in dumpStackSizesSection() 982 S->Content = yaml::BinaryRef(Content); in dumpBBAddrMapSection() 1029 S->Content = yaml::BinaryRef(Content); in dumpAddrsigSection() 1109 S->Content = yaml::BinaryRef(Content); in dumpCallGraphProfileSection() 1129 S->Content = yaml::BinaryRef(Content); in dumpCallGraphProfileSection() 1247 S->Content = yaml::BinaryRef(Content); in dumpSymtabShndxSection() 1301 S->Content = yaml::BinaryRef(*ContentOrErr); in dumpNoteSection() 1307 S->Content = yaml::BinaryRef(*ContentOrErr); 1335 S->Content = yaml::BinaryRef(Content); in dumpHashSection() 1344 S->Content = yaml::BinaryRef(Conten in dumpHashSection() [all...] |
H A D | macho2yaml.cpp | 98 yaml::BinaryRef(Obj.getSectionContents(Sec.offset, Sec.size)); in constructSectionCommon() 189 yaml::BinaryRef(Obj.getSectionContents(Sec.offset, Sec.size)); in extractSections() 299 yaml::BinaryRef(Obj.getSegmentContents("__LINKEDIT")); in dump()
|
H A D | coff2yaml.cpp | 184 NewYAMLSection.SectionData = yaml::BinaryRef(sectionData); in dumpSections()
|
/llvm-project/llvm/unittests/DebugInfo/BTF/ |
H A D | BTFParserTest.cpp | 26 static raw_ostream &operator<<(raw_ostream &OS, const yaml::BinaryRef &Ref) { in operator <<() 32 static yaml::BinaryRef makeBinRef(const T *Ptr, size_t Size = sizeof(T)) { in makeBinRef() 33 return yaml::BinaryRef(ArrayRef<uint8_t>((const uint8_t *)Ptr, Size)); in makeBinRef()
|
/llvm-project/llvm/tools/llvm-exegesis/lib/ |
H A D | BenchmarkResult.cpp | 305 BinaryRef Binary; in denormalize()
|