Home
last modified time | relevance | path

Searched refs:Abbrev (Results 1 – 25 of 70) sorted by relevance

123

/openbsd/src/gnu/llvm/llvm/lib/Remarks/
DBitstreamRemarkSerializer.cpp56 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in setupMetaBlockInfo() local
57 Abbrev->Add(BitCodeAbbrevOp(RECORD_META_CONTAINER_INFO)); in setupMetaBlockInfo()
58 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Version. in setupMetaBlockInfo()
59 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 2)); // Type. in setupMetaBlockInfo()
61 Bitstream.EmitBlockInfoAbbrev(META_BLOCK_ID, Abbrev); in setupMetaBlockInfo()
68 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in setupMetaRemarkVersion() local
69 Abbrev->Add(BitCodeAbbrevOp(RECORD_META_REMARK_VERSION)); in setupMetaRemarkVersion()
70 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Version. in setupMetaRemarkVersion()
72 Bitstream.EmitBlockInfoAbbrev(META_BLOCK_ID, Abbrev); in setupMetaRemarkVersion()
87 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in setupMetaStrTab() local
[all …]
/openbsd/src/gnu/llvm/clang/lib/Frontend/
DSerializedDiagnosticPrinter.cpp414 static void AddSourceLocationAbbrev(llvm::BitCodeAbbrev &Abbrev) { in AddSourceLocationAbbrev() argument
416 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // File ID. in AddSourceLocationAbbrev()
417 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Line. in AddSourceLocationAbbrev()
418 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Column. in AddSourceLocationAbbrev()
419 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Offset; in AddSourceLocationAbbrev()
422 static void AddRangeLocationAbbrev(llvm::BitCodeAbbrev &Abbrev) { in AddRangeLocationAbbrev() argument
423 AddSourceLocationAbbrev(Abbrev); in AddRangeLocationAbbrev()
424 AddSourceLocationAbbrev(Abbrev); in AddRangeLocationAbbrev()
441 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in EmitBlockInfoBlock() local
442 Abbrev->Add(BitCodeAbbrevOp(RECORD_VERSION)); in EmitBlockInfoBlock()
[all …]
DTestModuleFileExtension.cpp32 auto Abbrev = Stream.EmitAbbrev(std::move(Abv)); in writeExtensionContents() local
43 Stream.EmitRecordWithBlob(Abbrev, Record, Message); in writeExtensionContents()
/openbsd/src/gnu/llvm/clang/lib/Serialization/
DASTWriter.cpp1214 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in writeUnhashedControlBlock() local
1215 Abbrev->Add(BitCodeAbbrevOp(HEADER_SEARCH_ENTRY_USAGE)); in writeUnhashedControlBlock()
1216 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Number of bits. in writeUnhashedControlBlock()
1217 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Bit vector. in writeUnhashedControlBlock()
1218 unsigned HSUsageAbbrevCode = Stream.EmitAbbrev(std::move(Abbrev)); in writeUnhashedControlBlock()
1268 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in WriteControlBlock() local
1269 Abbrev->Add(BitCodeAbbrevOp(MODULE_NAME)); in WriteControlBlock()
1270 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Name in WriteControlBlock()
1271 unsigned AbbrevCode = Stream.EmitAbbrev(std::move(Abbrev)); in WriteControlBlock()
1297 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in WriteControlBlock() local
[all …]
DGlobalModuleIndex.cpp836 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()
/openbsd/src/gnu/llvm/llvm/include/llvm/Bitstream/
DBitstreamWriter.h372 void EmitRecordWithAbbrevImpl(unsigned Abbrev, ArrayRef<uintty> Vals, in EmitRecordWithAbbrevImpl() argument
376 unsigned AbbrevNo = Abbrev-bitc::FIRST_APPLICATION_ABBREV; in EmitRecordWithAbbrevImpl()
380 EmitCode(Abbrev); in EmitRecordWithAbbrevImpl()
484 void EmitRecord(unsigned Code, const Container &Vals, unsigned Abbrev = 0) {
485 if (!Abbrev) {
497 EmitRecordWithAbbrevImpl(Abbrev, ArrayRef(Vals), StringRef(), Code);
504 void EmitRecordWithAbbrev(unsigned Abbrev, const Container &Vals) { in EmitRecordWithAbbrev() argument
505 EmitRecordWithAbbrevImpl(Abbrev, ArrayRef(Vals), StringRef(), std::nullopt); in EmitRecordWithAbbrev()
514 void EmitRecordWithBlob(unsigned Abbrev, const Container &Vals, in EmitRecordWithBlob() argument
516 EmitRecordWithAbbrevImpl(Abbrev, ArrayRef(Vals), Blob, std::nullopt); in EmitRecordWithBlob()
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAcceleratorTable.h271 struct Abbrev { struct
276 Abbrev(uint32_t Code, dwarf::Tag Tag, in Abbrev() argument
286 const Abbrev *Abbr;
288 Entry(const NameIndex &NameIdx, const Abbrev &Abbr);
313 const Abbrev &getAbbrev() const { return *Abbr; } in getAbbrev()
338 static Abbrev getEmptyKey();
339 static Abbrev getTombstoneKey();
343 static unsigned getHashValue(const Abbrev &Abbr) { in getHashValue()
346 static bool isEqual(uint32_t LHS, const Abbrev &RHS) { in isEqual()
349 static bool isEqual(const Abbrev &LHS, const Abbrev &RHS) { in isEqual()
[all …]
DDWARFVerifier.h104 unsigned verifyAbbrevSection(const DWARFDebugAbbrev *Abbrev);
258 const DWARFDebugNames::Abbrev &Abbr,
/openbsd/src/gnu/llvm/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp294 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 …]
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
DDIE.cpp136 for (DIEAbbrev *Abbrev : Abbreviations) in ~DIEAbbrevSet()
137 Abbrev->~DIEAbbrev(); in ~DIEAbbrevSet()
143 DIEAbbrev Abbrev = Die.generateAbbrev(); in uniqueAbbreviation() local
144 Abbrev.Profile(ID); in uniqueAbbreviation()
154 DIEAbbrev *New = new (Alloc) DIEAbbrev(std::move(Abbrev)); in uniqueAbbreviation()
181 DIEAbbrev Abbrev(Tag, hasChildren()); in generateAbbrev() local
184 Abbrev.AddImplicitConstAttribute(V.getAttribute(), in generateAbbrev()
187 Abbrev.AddAttribute(V.getAttribute(), V.getForm()); in generateAbbrev()
188 return Abbrev; in generateAbbrev()
277 const DIEAbbrev &Abbrev = AbbrevSet.uniqueAbbreviation(*this); in computeOffsetsAndAbbrevs() local
[all …]
DAsmPrinterDwarf.cpp320 void AsmPrinter::emitDwarfAbbrev(const DIEAbbrev &Abbrev) const { in emitDwarfAbbrev()
322 emitULEB128(Abbrev.getNumber(), "Abbreviation Code"); in emitDwarfAbbrev()
325 Abbrev.Emit(this); in emitDwarfAbbrev()
DAccelTable.cpp451 for (const auto &Abbrev : Abbreviations) { in emitAbbrevs() local
453 assert(Abbrev.first != 0); in emitAbbrevs()
454 Asm->emitULEB128(Abbrev.first); in emitAbbrevs()
455 Asm->OutStreamer->AddComment(dwarf::TagString(Abbrev.first)); in emitAbbrevs()
456 Asm->emitULEB128(Abbrev.first); in emitAbbrevs()
457 for (const auto &AttrEnc : Abbrev.second) { in emitAbbrevs()
/openbsd/src/gnu/llvm/llvm/lib/ObjectYAML/
DDWARFYAML.cpp119 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()
DDWARFEmitter.cpp108 for (const DWARFYAML::Abbrev &AbbrevDecl : DebugAbbrev[Index].Table) { in getAbbrevTableContentByIndex()
284 ArrayRef<DWARFYAML::Abbrev> AbbrevDecls( in writeDIE()
292 const DWARFYAML::Abbrev &Abbrev = AbbrevDecls[AbbrCode - 1]; in writeDIE() local
294 auto AbbrForm = Abbrev.Attributes.begin(); in writeDIE()
295 for (; FormVal != Entry.Values.end() && AbbrForm != Abbrev.Attributes.end(); in writeDIE()
/openbsd/src/gnu/llvm/clang/include/clang/Serialization/
DASTRecordWriter.h92 uint64_t Emit(unsigned Code, unsigned Abbrev = 0) {
95 Writer->Stream.EmitRecord(Code, *Record, Abbrev);
101 uint64_t EmitStmt(unsigned Code, unsigned Abbrev = 0) {
104 Writer->Stream.EmitRecord(Code, *Record, Abbrev);
/openbsd/src/gnu/llvm/llvm/tools/dsymutil/
DDwarfLinkerForBinary.cpp962 getAttributeOffsets(const DWARFAbbreviationDeclaration *Abbrev, unsigned Idx, in getAttributeOffsets() argument
967 DWARFFormValue::skipValue(Abbrev->getFormByIndex(I), Data, &Offset, in getAttributeOffsets()
971 DWARFFormValue::skipValue(Abbrev->getFormByIndex(Idx), Data, &End, in getAttributeOffsets()
979 const auto *Abbrev = DIE.getAbbreviationDeclarationPtr(); in isLiveVariable() local
982 Abbrev->findAttributeIndex(dwarf::DW_AT_location); in isLiveVariable()
986 uint64_t Offset = DIE.getOffset() + getULEB128Size(Abbrev->getCode()); in isLiveVariable()
989 getAttributeOffsets(Abbrev, *LocationIdx, Offset, *DIE.getDwarfUnit()); in isLiveVariable()
998 const auto *Abbrev = DIE.getAbbreviationDeclarationPtr(); in isLiveSubprogram() local
1001 Abbrev->findAttributeIndex(dwarf::DW_AT_low_pc); in isLiveSubprogram()
1005 dwarf::Form Form = Abbrev->getFormByIndex(*LowPcIdx); in isLiveSubprogram()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/DWARFLinker/
DDWARFLinker.cpp428 const auto *Abbrev = DIE.getAbbreviationDeclarationPtr(); in shouldKeepVariableDIE() local
432 Abbrev->findAttributeIndex(dwarf::DW_AT_const_value)) { in shouldKeepVariableDIE()
655 const auto *Abbrev = Die.getAbbreviationDeclarationPtr(); in lookForRefDIEsToKeep() local
656 uint64_t Offset = Die.getOffset() + getULEB128Size(Abbrev->getCode()); in lookForRefDIEsToKeep()
659 for (const auto &AttrSpec : Abbrev->attributes()) { in lookForRefDIEsToKeep()
915 void DWARFLinker::assignAbbrev(DIEAbbrev &Abbrev) { in assignAbbrev() argument
918 Abbrev.Profile(ID); in assignAbbrev()
925 Abbrev.setNumber(InSet->getNumber()); in assignAbbrev()
929 std::make_unique<DIEAbbrev>(Abbrev.getTag(), Abbrev.hasChildren())); in assignAbbrev()
930 for (const auto &Attr : Abbrev.getData()) in assignAbbrev()
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/ObjectYAML/
DDWARFYAML.h37 struct Abbrev { struct
46 std::vector<Abbrev> Table; argument
252 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::DWARFYAML::Abbrev) in LLVM_YAML_IS_SEQUENCE_VECTOR() argument
291 template <> struct MappingTraits<DWARFYAML::Abbrev> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
292 static void mapping(IO &IO, DWARFYAML::Abbrev &Abbrev); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/openbsd/src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
DDWARFVerifier.cpp301 unsigned DWARFVerifier::verifyAbbrevSection(const DWARFDebugAbbrev *Abbrev) { in verifyAbbrevSection() argument
303 if (Abbrev) { in verifyAbbrevSection()
305 Abbrev->getAbbreviationDeclarationSet(0); in verifyAbbrevSection()
1235 const DWARFDebugNames::NameIndex &NI, const DWARFDebugNames::Abbrev &Abbr, in verifyNameIndexAttribute()
1302 for (const auto &Abbrev : NI.getAbbrevs()) { in verifyNameIndexAbbrevs() local
1303 StringRef TagName = dwarf::TagString(Abbrev.Tag); in verifyNameIndexAbbrevs()
1307 NI.getUnitOffset(), Abbrev.Code, Abbrev.Tag); in verifyNameIndexAbbrevs()
1310 for (const auto &AttrEnc : Abbrev.Attributes) { in verifyNameIndexAbbrevs()
1314 NI.getUnitOffset(), Abbrev.Code, AttrEnc.Index); in verifyNameIndexAbbrevs()
1318 NumErrors += verifyNameIndexAttribute(NI, Abbrev, AttrEnc); in verifyNameIndexAbbrevs()
[all …]
DDWARFAcceleratorTable.cpp413 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()
/openbsd/src/gnu/usr.bin/perl/dist/Text-Abbrev/lib/Text/
DAbbrev.pm1 package Text::Abbrev;
/openbsd/src/gnu/usr.bin/perl/dist/Text-Abbrev/t/
DAbbrev.t5 use Text::Abbrev;
/openbsd/src/gnu/llvm/llvm/include/llvm/CodeGen/
DAsmPrinter.h763 for (const auto &Abbrev : Abbrevs) in emitDwarfAbbrevs() local
764 emitDwarfAbbrev(*Abbrev); in emitDwarfAbbrevs()
770 void emitDwarfAbbrev(const DIEAbbrev &Abbrev) const;
/openbsd/src/gnu/llvm/llvm/include/llvm/Bitcode/
DBitcodeConvenience.h384 auto Abbrev = std::make_shared<llvm::BitCodeAbbrev>();
385 detail::emitOps<IDField, Fields...>(*Abbrev);
386 return Stream.EmitAbbrev(std::move(Abbrev));
/openbsd/src/regress/usr.bin/make/
Dmk16210 Text::Abbrev 3p lib/Text/Abbrev.pm \

123