Home
last modified time | relevance | path

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

1234

/openbsd/gnu/llvm/llvm/lib/Remarks/
H A DBitstreamRemarkSerializer.cpp56 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in setupMetaBlockInfo() local
68 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in setupMetaRemarkVersion() local
87 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in setupMetaStrTab() local
88 Abbrev->Add(BitCodeAbbrevOp(RECORD_META_STRTAB)); in setupMetaStrTab()
111 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in setupMetaExternalFile() local
133 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in setupRemarkBlockInfo() local
134 Abbrev->Add(BitCodeAbbrevOp(RECORD_REMARK_HEADER)); in setupRemarkBlockInfo()
147 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in setupRemarkBlockInfo() local
160 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in setupRemarkBlockInfo() local
172 auto Abbrev = std::make_shared<BitCodeAbbrev>(); in setupRemarkBlockInfo() local
[all …]
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DSerializedDiagnosticPrinter.cpp423 AddSourceLocationAbbrev(Abbrev); in AddRangeLocationAbbrev()
424 AddSourceLocationAbbrev(Abbrev); in AddRangeLocationAbbrev()
459 Abbrev = std::make_shared<BitCodeAbbrev>(); in EmitBlockInfoBlock()
460 Abbrev->Add(BitCodeAbbrevOp(RECORD_DIAG)); in EmitBlockInfoBlock()
462 AddSourceLocationAbbrev(*Abbrev); in EmitBlockInfoBlock()
470 Abbrev = std::make_shared<BitCodeAbbrev>(); in EmitBlockInfoBlock()
478 Abbrev = std::make_shared<BitCodeAbbrev>(); in EmitBlockInfoBlock()
480 AddRangeLocationAbbrev(*Abbrev); in EmitBlockInfoBlock()
485 Abbrev = std::make_shared<BitCodeAbbrev>(); in EmitBlockInfoBlock()
494 Abbrev = std::make_shared<BitCodeAbbrev>(); in EmitBlockInfoBlock()
[all …]
H A DTestModuleFileExtension.cpp32 auto Abbrev = Stream.EmitAbbrev(std::move(Abv)); in writeExtensionContents() local
43 Stream.EmitRecordWithBlob(Abbrev, Record, Message); in writeExtensionContents()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTWriter.cpp1269 Abbrev->Add(BitCodeAbbrevOp(MODULE_NAME)); in WriteControlBlock()
2521 Abbrev->Add(BitCodeAbbrevOp(MACRO_OFFSET)); in WritePreprocessor()
2735 Abbrev = std::make_shared<BitCodeAbbrev>(); in WriteSubmodules()
2740 Abbrev = std::make_shared<BitCodeAbbrev>(); in WriteSubmodules()
2745 Abbrev = std::make_shared<BitCodeAbbrev>(); in WriteSubmodules()
2750 Abbrev = std::make_shared<BitCodeAbbrev>(); in WriteSubmodules()
2755 Abbrev = std::make_shared<BitCodeAbbrev>(); in WriteSubmodules()
2761 Abbrev = std::make_shared<BitCodeAbbrev>(); in WriteSubmodules()
2861 unsigned Abbrev; in WriteSubmodules() member
3119 Abbrev->Add(BitCodeAbbrevOp(TYPE_OFFSET)); in WriteTypeDeclOffsets()
[all …]
H A 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/gnu/llvm/llvm/include/llvm/Bitstream/
H A 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()
485 if (!Abbrev) {
497 EmitRecordWithAbbrevImpl(Abbrev, ArrayRef(Vals), StringRef(), Code);
504 void EmitRecordWithAbbrev(unsigned Abbrev, const Container &Vals) { in EmitRecordWithAbbrev() argument
514 void EmitRecordWithBlob(unsigned Abbrev, const Container &Vals, in EmitRecordWithBlob() argument
519 void EmitRecordWithBlob(unsigned Abbrev, const Container &Vals, in EmitRecordWithBlob() argument
521 return EmitRecordWithAbbrevImpl(Abbrev, ArrayRef(Vals), in EmitRecordWithBlob()
528 void EmitRecordWithArray(unsigned Abbrev, const Container &Vals, in EmitRecordWithArray() argument
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/
H A 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()
349 static bool isEqual(const Abbrev &LHS, const Abbrev &RHS) { in isEqual()
390 DenseSet<Abbrev, AbbrevMapInfo> Abbrevs;
[all …]
H A DDWARFVerifier.h104 unsigned verifyAbbrevSection(const DWARFDebugAbbrev *Abbrev);
258 const DWARFDebugNames::Abbrev &Abbr,
/openbsd/gnu/llvm/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp222 unsigned Abbrev);
230 unsigned Abbrev);
252 unsigned Abbrev);
269 unsigned Abbrev) { in writeDIMacro() argument
288 unsigned Abbrev);
301 unsigned Abbrev) { in writeDILabel() argument
1380 Record, Abbrev); in writeMDTuple()
1387 if (!Abbrev) in writeDILocation()
1577 unsigned Abbrev) { in writeDILexicalBlockFile() argument
1613 unsigned Abbrev) { in writeDITemplateTypeParameter() argument
[all …]
/openbsd/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp1601 if (!Abbrev) in writeDILocation()
1632 if (!Abbrev) in writeGenericDINode()
1662 unsigned Abbrev) { in writeDIGenericSubrange() argument
1767 unsigned Abbrev) { in writeDICompositeType() argument
1798 unsigned Abbrev) { in writeDISubroutineType() argument
1908 unsigned Abbrev) { in writeDILexicalBlockFile() argument
2004 unsigned Abbrev) { in writeDITemplateTypeParameter() argument
2016 unsigned Abbrev) { in writeDITemplateValueParameter() argument
2030 unsigned Abbrev) { in writeDIGlobalVariable() argument
2052 unsigned Abbrev) { in writeDILocalVariable() argument
[all …]
/openbsd/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A 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()
291 (void)Abbrev; in computeOffsetsAndAbbrevs()
[all …]
H A 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()
H A 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/gnu/llvm/llvm/lib/ObjectYAML/
H A 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()
/openbsd/gnu/llvm/clang/include/clang/Serialization/
H A 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/gnu/llvm/llvm/tools/dsymutil/
H A 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()
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()
1008 uint64_t Offset = DIE.getOffset() + getULEB128Size(Abbrev->getCode()); in isLiveSubprogram()
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/ObjectYAML/
H A 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/gnu/llvm/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp918 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()
934 Abbrev.setNumber(Abbreviations.size()); in assignAbbrev()
2393 DIEAbbrev Abbrev = CUDie->generateAbbrev(); in emitPaperTrailWarnings() local
2394 assignAbbrev(Abbrev); in emitPaperTrailWarnings()
2395 CUDie->setAbbrevNumber(Abbrev.getNumber()); in emitPaperTrailWarnings()
2396 Size += getULEB128Size(Abbrev.getNumber()); in emitPaperTrailWarnings()
2399 Abbrev = Child.generateAbbrev(); in emitPaperTrailWarnings()
[all …]
/openbsd/gnu/llvm/llvm/lib/DebugInfo/DWARF/
H A DDWARFVerifier.cpp301 unsigned DWARFVerifier::verifyAbbrevSection(const DWARFDebugAbbrev *Abbrev) { in verifyAbbrevSection() argument
303 if (Abbrev) { in verifyAbbrevSection()
305 Abbrev->getAbbreviationDeclarationSet(0); in verifyAbbrevSection()
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()
1324 NI.getUnitOffset(), Abbrev.Code, in verifyNameIndexAbbrevs()
[all …]
H A 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/gnu/usr.bin/perl/dist/Text-Abbrev/lib/Text/
H A DAbbrev.pm1 package Text::Abbrev;
/openbsd/gnu/usr.bin/perl/dist/Text-Abbrev/t/
H A DAbbrev.t5 use Text::Abbrev;
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DAsmPrinter.h763 for (const auto &Abbrev : Abbrevs) in emitDwarfAbbrevs() local
764 emitDwarfAbbrev(*Abbrev); in emitDwarfAbbrevs()
770 void emitDwarfAbbrev(const DIEAbbrev &Abbrev) const;
/openbsd/gnu/llvm/llvm/include/llvm/Bitcode/
H A DBitcodeConvenience.h384 auto Abbrev = std::make_shared<llvm::BitCodeAbbrev>();
385 detail::emitOps<IDField, Fields...>(*Abbrev);
386 return Stream.EmitAbbrev(std::move(Abbrev));
/openbsd/gnu/llvm/llvm/lib/DWP/
H A DDWP.cpp40 static uint64_t getCUAbbrev(StringRef Abbrev, uint64_t AbbrCode) { in getCUAbbrev() argument
42 DataExtractor AbbrevData(Abbrev, true, 0); in getCUAbbrev()
94 getCUIdentifiers(InfoSectionUnitHeader &Header, StringRef Abbrev, in getCUIdentifiers() argument
107 DataExtractor AbbrevData(Abbrev, true, 0); in getCUIdentifiers()
108 uint64_t AbbrevOffset = getCUAbbrev(Abbrev, AbbrCode); in getCUIdentifiers()

1234