/netbsd-src/external/apache2/llvm/dist/llvm/lib/Remarks/ |
H A D | BitstreamRemarkSerializer.cpp | 54 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in setupMetaBlockInfo() local 55 Abbrev->Add(BitCodeAbbrevOp(RECORD_META_CONTAINER_INFO)); in setupMetaBlockInfo() 56 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Version. in setupMetaBlockInfo() 57 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 2)); // Type. in setupMetaBlockInfo() 59 Bitstream.EmitBlockInfoAbbrev(META_BLOCK_ID, Abbrev); in setupMetaBlockInfo() 66 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in setupMetaRemarkVersion() local 67 Abbrev->Add(BitCodeAbbrevOp(RECORD_META_REMARK_VERSION)); in setupMetaRemarkVersion() 68 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Version. in setupMetaRemarkVersion() 70 Bitstream.EmitBlockInfoAbbrev(META_BLOCK_ID, Abbrev); in setupMetaRemarkVersion() 85 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in setupMetaStrTab() local [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
H A D | SerializedDiagnosticPrinter.cpp | 415 static void AddSourceLocationAbbrev(llvm::BitCodeAbbrev &Abbrev) { in AddSourceLocationAbbrev() argument 417 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // File ID. in AddSourceLocationAbbrev() 418 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Line. in AddSourceLocationAbbrev() 419 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Column. in AddSourceLocationAbbrev() 420 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Offset; in AddSourceLocationAbbrev() 423 static void AddRangeLocationAbbrev(llvm::BitCodeAbbrev &Abbrev) { in AddRangeLocationAbbrev() argument 424 AddSourceLocationAbbrev(Abbrev); in AddRangeLocationAbbrev() 425 AddSourceLocationAbbrev(Abbrev); in AddRangeLocationAbbrev() 442 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in EmitBlockInfoBlock() local 443 Abbrev->Add(BitCodeAbbrevOp(RECORD_VERSION)); in EmitBlockInfoBlock() [all …]
|
H A D | TestModuleFileExtension.cpp | 32 auto Abbrev = Stream.EmitAbbrev(std::move(Abv)); in writeExtensionContents() local 43 Stream.EmitRecordWithBlob(Abbrev, Record, Message); in writeExtensionContents()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/ |
H A D | ASTWriter.cpp | 1144 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in WriteControlBlock() local 1145 Abbrev->Add(BitCodeAbbrevOp(MODULE_NAME)); in WriteControlBlock() 1146 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Name in WriteControlBlock() 1147 unsigned AbbrevCode = Stream.EmitAbbrev(std::move(Abbrev)); in WriteControlBlock() 1164 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in WriteControlBlock() local 1165 Abbrev->Add(BitCodeAbbrevOp(MODULE_DIRECTORY)); in WriteControlBlock() 1166 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Directory in WriteControlBlock() 1167 unsigned AbbrevCode = Stream.EmitAbbrev(std::move(Abbrev)); in WriteControlBlock() 1385 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in WriteControlBlock() local 1386 Abbrev->Add(BitCodeAbbrevOp(ORIGINAL_PCH_DIR)); in WriteControlBlock() [all …]
|
H A D | GlobalModuleIndex.cpp | 836 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in writeIndex() local 837 Abbrev->Add(BitCodeAbbrevOp(IDENTIFIER_INDEX)); in writeIndex() 838 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in writeIndex() 839 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); in writeIndex() 840 unsigned IDTableAbbrev = Stream.EmitAbbrev(std::move(Abbrev)); in writeIndex()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Bitstream/ |
H A D | BitstreamWriter.h | 377 void EmitRecordWithAbbrevImpl(unsigned Abbrev, ArrayRef<uintty> Vals, in EmitRecordWithAbbrevImpl() argument 381 unsigned AbbrevNo = Abbrev-bitc::FIRST_APPLICATION_ABBREV; in EmitRecordWithAbbrevImpl() 385 EmitCode(Abbrev); in EmitRecordWithAbbrevImpl() 491 void EmitRecord(unsigned Code, const Container &Vals, unsigned Abbrev = 0) { 492 if (!Abbrev) { 504 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), StringRef(), Code); 511 void EmitRecordWithAbbrev(unsigned Abbrev, const Container &Vals) { in EmitRecordWithAbbrev() argument 512 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), StringRef(), None); in EmitRecordWithAbbrev() 521 void EmitRecordWithBlob(unsigned Abbrev, const Container &Vals, in EmitRecordWithBlob() argument 523 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), Blob, None); in EmitRecordWithBlob() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFAcceleratorTable.h | 270 struct Abbrev { struct 275 Abbrev(uint32_t Code, dwarf::Tag Tag, in Abbrev() argument 285 const Abbrev *Abbr; 287 Entry(const NameIndex &NameIdx, const Abbrev &Abbr); 312 const Abbrev &getAbbrev() const { return *Abbr; } in getAbbrev() 337 static Abbrev getEmptyKey(); 338 static Abbrev getTombstoneKey(); 342 static unsigned getHashValue(const Abbrev &Abbr) { in getHashValue() 345 static bool isEqual(uint32_t LHS, const Abbrev &RHS) { in isEqual() 348 static bool isEqual(const Abbrev &LHS, const Abbrev &RHS) { in isEqual() [all …]
|
H A D | DWARFVerifier.h | 118 unsigned verifyAbbrevSection(const DWARFDebugAbbrev *Abbrev); 262 const DWARFDebugNames::Abbrev &Abbr,
|
/netbsd-src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.dwarf2/ |
H A D | trace-crash.S | 99 .long .L.debug_abbrev_begin # Offset Into Abbrev. Section 101 .byte 1 # Abbrev [1] 0xb:0x8c DW_TAG_compile_unit 108 .byte 2 # Abbrev [2] 0x26:0x4c DW_TAG_subprogram 120 .byte 3 # Abbrev [3] 0x43:0xe DW_TAG_formal_parameter 128 .byte 4 # Abbrev [4] 0x51:0x20 DW_TAG_lexical_block 131 .byte 5 # Abbrev [5] 0x62:0xe DW_TAG_variable 141 .byte 6 # Abbrev [6] 0x72:0x7 DW_TAG_base_type 145 .byte 7 # Abbrev [7] 0x79:0x1d DW_TAG_subprogram
|
/netbsd-src/external/gpl3/gdb/dist/gdb/testsuite/gdb.dwarf2/ |
H A D | trace-crash.S | 99 .long .L.debug_abbrev_begin # Offset Into Abbrev. Section 101 .byte 1 # Abbrev [1] 0xb:0x8c DW_TAG_compile_unit 108 .byte 2 # Abbrev [2] 0x26:0x4c DW_TAG_subprogram 120 .byte 3 # Abbrev [3] 0x43:0xe DW_TAG_formal_parameter 128 .byte 4 # Abbrev [4] 0x51:0x20 DW_TAG_lexical_block 131 .byte 5 # Abbrev [5] 0x62:0xe DW_TAG_variable 141 .byte 6 # Abbrev [6] 0x72:0x7 DW_TAG_base_type 145 .byte 7 # Abbrev [7] 0x79:0x1d DW_TAG_subprogram
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Bitcode/Writer/ |
H A D | BitcodeWriter.cpp | 294 unsigned Abbrev); 297 unsigned &Abbrev); 300 SmallVectorImpl<uint64_t> &Record, unsigned &Abbrev); 302 unsigned Abbrev); 305 unsigned Abbrev); 307 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev); 309 unsigned Abbrev); 311 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev); 313 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev); 315 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev); [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DIE.cpp | 142 for (DIEAbbrev *Abbrev : Abbreviations) in ~DIEAbbrevSet() 143 Abbrev->~DIEAbbrev(); in ~DIEAbbrevSet() 149 DIEAbbrev Abbrev = Die.generateAbbrev(); in uniqueAbbreviation() local 150 Abbrev.Profile(ID); in uniqueAbbreviation() 160 DIEAbbrev *New = new (Alloc) DIEAbbrev(std::move(Abbrev)); in uniqueAbbreviation() 187 DIEAbbrev Abbrev(Tag, hasChildren()); in generateAbbrev() local 190 Abbrev.AddImplicitConstAttribute(V.getAttribute(), in generateAbbrev() 193 Abbrev.AddAttribute(V.getAttribute(), V.getForm()); in generateAbbrev() 194 return Abbrev; in generateAbbrev() 282 const DIEAbbrev &Abbrev = AbbrevSet.uniqueAbbreviation(*this); in computeOffsetsAndAbbrevs() local [all …]
|
H A D | AsmPrinterDwarf.cpp | 314 void AsmPrinter::emitDwarfAbbrev(const DIEAbbrev &Abbrev) const { in emitDwarfAbbrev() 316 emitULEB128(Abbrev.getNumber(), "Abbreviation Code"); in emitDwarfAbbrev() 319 Abbrev.Emit(this); in emitDwarfAbbrev()
|
H A D | AccelTable.cpp | 452 for (const auto &Abbrev : Abbreviations) { in emitAbbrevs() local 454 assert(Abbrev.first != 0); in emitAbbrevs() 455 Asm->emitULEB128(Abbrev.first); in emitAbbrevs() 456 Asm->OutStreamer->AddComment(dwarf::TagString(Abbrev.first)); in emitAbbrevs() 457 Asm->emitULEB128(Abbrev.first); in emitAbbrevs() 458 for (const auto &AttrEnc : Abbrev.second) { in emitAbbrevs()
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/ |
H A D | DwarfLinkerForBinary.cpp | 677 getAttributeOffsets(const DWARFAbbreviationDeclaration *Abbrev, unsigned Idx, in getAttributeOffsets() argument 682 DWARFFormValue::skipValue(Abbrev->getFormByIndex(I), Data, &Offset, in getAttributeOffsets() 686 DWARFFormValue::skipValue(Abbrev->getFormByIndex(Idx), Data, &End, in getAttributeOffsets() 694 const auto *Abbrev = DIE.getAbbreviationDeclarationPtr(); in hasLiveMemoryLocation() local 697 Abbrev->findAttributeIndex(dwarf::DW_AT_location); in hasLiveMemoryLocation() 701 uint64_t Offset = DIE.getOffset() + getULEB128Size(Abbrev->getCode()); in hasLiveMemoryLocation() 704 getAttributeOffsets(Abbrev, *LocationIdx, Offset, *DIE.getDwarfUnit()); in hasLiveMemoryLocation() 713 const auto *Abbrev = DIE.getAbbreviationDeclarationPtr(); in hasLiveAddressRange() local 715 Optional<uint32_t> LowPcIdx = Abbrev->findAttributeIndex(dwarf::DW_AT_low_pc); in hasLiveAddressRange() 719 dwarf::Form Form = Abbrev->getFormByIndex(*LowPcIdx); in hasLiveAddressRange() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/ |
H A D | DWARFYAML.cpp | 119 void MappingTraits<DWARFYAML::Abbrev>::mapping(IO &IO, in mapping() 120 DWARFYAML::Abbrev &Abbrev) { in mapping() argument 121 IO.mapOptional("Code", Abbrev.Code); in mapping() 122 IO.mapRequired("Tag", Abbrev.Tag); in mapping() 123 IO.mapRequired("Children", Abbrev.Children); in mapping() 124 IO.mapOptional("Attributes", Abbrev.Attributes); in mapping()
|
H A D | DWARFEmitter.cpp | 107 for (const DWARFYAML::Abbrev &AbbrevDecl : DebugAbbrev[Index].Table) { in getAbbrevTableContentByIndex() 283 ArrayRef<DWARFYAML::Abbrev> AbbrevDecls( in writeDIE() 291 const DWARFYAML::Abbrev &Abbrev = AbbrevDecls[AbbrCode - 1]; in writeDIE() local 293 auto AbbrForm = Abbrev.Attributes.begin(); in writeDIE() 294 for (; FormVal != Entry.Values.end() && AbbrForm != Abbrev.Attributes.end(); in writeDIE()
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Serialization/ |
H A D | ASTRecordWriter.h | 89 uint64_t Emit(unsigned Code, unsigned Abbrev = 0) { 92 Writer->Stream.EmitRecord(Code, *Record, Abbrev); 98 uint64_t EmitStmt(unsigned Code, unsigned Abbrev = 0) { 101 Writer->Stream.EmitRecord(Code, *Record, Abbrev);
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFVerifier.cpp | 256 unsigned DWARFVerifier::verifyAbbrevSection(const DWARFDebugAbbrev *Abbrev) { in verifyAbbrevSection() argument 258 if (Abbrev) { in verifyAbbrevSection() 260 Abbrev->getAbbreviationDeclarationSet(0); in verifyAbbrevSection() 1134 const DWARFDebugNames::NameIndex &NI, const DWARFDebugNames::Abbrev &Abbr, in verifyNameIndexAttribute() 1201 for (const auto &Abbrev : NI.getAbbrevs()) { in verifyNameIndexAbbrevs() local 1202 StringRef TagName = dwarf::TagString(Abbrev.Tag); in verifyNameIndexAbbrevs() 1206 NI.getUnitOffset(), Abbrev.Code, Abbrev.Tag); in verifyNameIndexAbbrevs() 1209 for (const auto &AttrEnc : Abbrev.Attributes) { in verifyNameIndexAbbrevs() 1213 NI.getUnitOffset(), Abbrev.Code, AttrEnc.Index); in verifyNameIndexAbbrevs() 1217 NumErrors += verifyNameIndexAttribute(NI, Abbrev, AttrEnc); in verifyNameIndexAbbrevs() [all …]
|
H A D | DWARFAcceleratorTable.cpp | 413 void DWARFDebugNames::Abbrev::dump(ScopedPrinter &W) const { in dump() 429 static DWARFDebugNames::Abbrev sentinelAbbrev() { in sentinelAbbrev() 430 return DWARFDebugNames::Abbrev(0, dwarf::Tag(0), {}); in sentinelAbbrev() 433 static bool isSentinel(const DWARFDebugNames::Abbrev &Abbr) { in isSentinel() 437 DWARFDebugNames::Abbrev DWARFDebugNames::AbbrevMapInfo::getEmptyKey() { in getEmptyKey() 441 DWARFDebugNames::Abbrev DWARFDebugNames::AbbrevMapInfo::getTombstoneKey() { in getTombstoneKey() 442 return DWARFDebugNames::Abbrev(~0, dwarf::Tag(0), {}); in getTombstoneKey() 471 Expected<DWARFDebugNames::Abbrev> 486 return Abbrev(Code, dwarf::Tag(Tag), std::move(*AttrEncOr)); in extractAbbrev() 529 DWARFDebugNames::Entry::Entry(const NameIndex &NameIdx, const Abbrev &Abbr) in Entry()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/ |
H A D | DWARFYAML.h | 36 struct Abbrev { struct 45 std::vector<Abbrev> Table; argument 251 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::DWARFYAML::Abbrev) in LLVM_YAML_IS_SEQUENCE_VECTOR() argument 290 template <> struct MappingTraits<DWARFYAML::Abbrev> { in LLVM_YAML_IS_SEQUENCE_VECTOR() 291 static void mapping(IO &IO, DWARFYAML::Abbrev &Abbrev); in LLVM_YAML_IS_SEQUENCE_VECTOR()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DWARFLinker/ |
H A D | DWARFLinker.cpp | 428 const auto *Abbrev = DIE.getAbbreviationDeclarationPtr(); in shouldKeepVariableDIE() local 432 Abbrev->findAttributeIndex(dwarf::DW_AT_const_value)) { in shouldKeepVariableDIE() 629 const auto *Abbrev = Die.getAbbreviationDeclarationPtr(); in lookForRefDIEsToKeep() local 630 uint64_t Offset = Die.getOffset() + getULEB128Size(Abbrev->getCode()); in lookForRefDIEsToKeep() 633 for (const auto &AttrSpec : Abbrev->attributes()) { in lookForRefDIEsToKeep() 821 void DWARFLinker::assignAbbrev(DIEAbbrev &Abbrev) { in assignAbbrev() argument 824 Abbrev.Profile(ID); in assignAbbrev() 831 Abbrev.setNumber(InSet->getNumber()); in assignAbbrev() 835 std::make_unique<DIEAbbrev>(Abbrev.getTag(), Abbrev.hasChildren())); in assignAbbrev() 836 for (const auto &Attr : Abbrev.getData()) in assignAbbrev() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | AsmPrinter.h | 685 for (const auto &Abbrev : Abbrevs) in emitDwarfAbbrevs() local 686 emitDwarfAbbrev(*Abbrev); in emitDwarfAbbrevs() 692 void emitDwarfAbbrev(const DIEAbbrev &Abbrev) const;
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Bitcode/ |
H A D | BitcodeConvenience.h | 383 auto Abbrev = std::make_shared<llvm::BitCodeAbbrev>(); 384 detail::emitOps<IDField, Fields...>(*Abbrev); 385 return Stream.EmitAbbrev(std::move(Abbrev));
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-dwp/ |
H A D | llvm-dwp.cpp | 203 static uint64_t getCUAbbrev(StringRef Abbrev, uint64_t AbbrCode) { in getCUAbbrev() argument 205 DataExtractor AbbrevData(Abbrev, true, 0); in getCUAbbrev() 262 static Expected<CompileUnitIdentifiers> getCUIdentifiers(StringRef Abbrev, in getCUIdentifiers() argument 281 DataExtractor AbbrevData(Abbrev, true, 0); in getCUIdentifiers() 282 uint64_t AbbrevOffset = getCUAbbrev(Abbrev, AbbrCode); in getCUIdentifiers()
|