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

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Remarks/
H A DBitstreamRemarkSerializer.cpp55 auto Abbrev = std::make_shared<BitCodeAbbrev>(); local
56 Abbrev->Add(BitCodeAbbrevOp(RECORD_META_CONTAINER_INFO));
57 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Version.
58 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 2)); // Type.
60 Bitstream.EmitBlockInfoAbbrev(META_BLOCK_ID, Abbrev);
67 auto Abbrev = std::make_shared<BitCodeAbbrev>(); local
68 Abbrev->Add(BitCodeAbbrevOp(RECORD_META_REMARK_VERSION));
69 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Version.
71 Bitstream.EmitBlockInfoAbbrev(META_BLOCK_ID, Abbrev);
86 auto Abbrev local
110 auto Abbrev = std::make_shared<BitCodeAbbrev>(); local
132 auto Abbrev = std::make_shared<BitCodeAbbrev>(); local
146 auto Abbrev = std::make_shared<BitCodeAbbrev>(); local
159 auto Abbrev = std::make_shared<BitCodeAbbrev>(); local
171 auto Abbrev = std::make_shared<BitCodeAbbrev>(); local
187 auto Abbrev = std::make_shared<BitCodeAbbrev>(); local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticPrinter.cpp411 static void AddSourceLocationAbbrev(llvm::BitCodeAbbrev &Abbrev) { argument
413 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // File ID.
414 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Line.
415 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Column.
416 Abbrev.Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Offset;
419 static void AddRangeLocationAbbrev(llvm::BitCodeAbbrev &Abbrev) { argument
420 AddSourceLocationAbbrev(Abbrev);
421 AddSourceLocationAbbrev(Abbrev);
438 auto Abbrev = std::make_shared<BitCodeAbbrev>(); local
439 Abbrev
[all...]
H A DTestModuleFileExtension.cpp30 auto Abbrev = Stream.EmitAbbrev(std::move(Abv)); local
41 Stream.EmitRecordWithBlob(Abbrev, Record, Message);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h296 void EmitRecordWithAbbrevImpl(unsigned Abbrev, ArrayRef<uintty> Vals, argument
300 unsigned AbbrevNo = Abbrev-bitc::FIRST_APPLICATION_ABBREV;
304 EmitCode(Abbrev);
410 void EmitRecord(unsigned Code, const Container &Vals, unsigned Abbrev = 0) {
411 if (!Abbrev) {
423 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), StringRef(), Code);
430 void EmitRecordWithAbbrev(unsigned Abbrev, const Container &Vals) {
431 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), StringRef(), None);
440 void EmitRecordWithBlob(unsigned Abbrev, const Container &Vals,
442 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRe
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.h267 struct Abbrev { struct in class:llvm::DWARFDebugNames
272 Abbrev(uint32_t Code, dwarf::Tag Tag, function in struct:llvm::DWARFDebugNames::Abbrev
282 const Abbrev *Abbr;
284 Entry(const NameIndex &NameIdx, const Abbrev &Abbr);
309 const Abbrev &getAbbrev() const { return *Abbr; }
332 /// DenseMapInfo for struct Abbrev.
334 static Abbrev getEmptyKey();
335 static Abbrev getTombstoneKey();
339 static unsigned getHashValue(const Abbrev &Abbr) {
342 static bool isEqual(uint32_t LHS, const Abbrev
[all...]
H A DDWARFVerifier.h114 /// \param Abbrev Pointer to the abbreviations section we are verifying
115 /// Abbrev can be a pointer to either .debug_abbrev or debug_abbrev.dwo.
118 unsigned verifyAbbrevSection(const DWARFDebugAbbrev *Abbrev);
262 const DWARFDebugNames::Abbrev &Abbr,
H A DDWARFContext.h63 std::unique_ptr<DWARFDebugAbbrev> Abbrev; member in class:llvm::DWARFContext
H A DDWARFUnit.h200 const DWARFDebugAbbrev *Abbrev; member in class:llvm::DWARFUnit
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp1102 auto Abbrev = std::make_shared<BitCodeAbbrev>(); local
1103 Abbrev->Add(BitCodeAbbrevOp(MODULE_NAME));
1104 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Name
1105 unsigned AbbrevCode = Stream.EmitAbbrev(std::move(Abbrev));
1122 auto Abbrev = std::make_shared<BitCodeAbbrev>(); local
1123 Abbrev->Add(BitCodeAbbrevOp(MODULE_DIRECTORY));
1124 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Directory
1125 unsigned AbbrevCode = Stream.EmitAbbrev(std::move(Abbrev));
1341 auto Abbrev = std::make_shared<BitCodeAbbrev>(); local
1342 Abbrev
2313 auto Abbrev = std::make_shared<BitCodeAbbrev>(); local
2605 unsigned Abbrev; member in struct:__anon722
2891 auto Abbrev = std::make_shared<BitCodeAbbrev>(); local
3107 auto Abbrev = std::make_shared<BitCodeAbbrev>(); variable
[all...]
H A DGlobalModuleIndex.cpp837 auto Abbrev = std::make_shared<BitCodeAbbrev>(); local
838 Abbrev->Add(BitCodeAbbrevOp(IDENTIFIER_INDEX));
839 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32));
840 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));
841 unsigned IDTableAbbrev = Stream.EmitAbbrev(std::move(Abbrev));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFYAML.cpp44 void MappingTraits<DWARFYAML::Abbrev>::mapping(IO &IO, argument
45 DWARFYAML::Abbrev &Abbrev) {
46 IO.mapRequired("Code", Abbrev.Code);
47 IO.mapRequired("Tag", Abbrev.Tag);
48 IO.mapRequired("Children", Abbrev.Children);
49 IO.mapRequired("Attributes", Abbrev.Attributes);
H A DDWARFVisitor.cpp55 auto &Abbrev = DebugInfo.AbbrevDecls[Entry.AbbrCode - FirstAbbrevCode]; local
57 auto AbbrForm = Abbrev.Attributes.begin();
59 FormVal != Entry.Values.end() && AbbrForm != Abbrev.Attributes.end();
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h53 struct Abbrev { struct in namespace:llvm::DWARFYAML
145 std::vector<Abbrev> AbbrevDecls;
165 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::DWARFYAML::Abbrev)
183 template <> struct MappingTraits<DWARFYAML::Abbrev> {
184 static void mapping(IO &IO, DWARFYAML::Abbrev &Abbrev);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTRecordWriter.h88 uint64_t Emit(unsigned Code, unsigned Abbrev = 0) {
91 Writer->Stream.EmitRecord(Code, *Record, Abbrev);
97 uint64_t EmitStmt(unsigned Code, unsigned Abbrev = 0) {
100 Writer->Stream.EmitRecord(Code, *Record, Abbrev);
H A DASTWriter.h640 void EmitRecordWithPath(unsigned Abbrev, RecordDataRef Record,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp291 unsigned Abbrev);
294 unsigned &Abbrev);
297 SmallVectorImpl<uint64_t> &Record, unsigned &Abbrev);
299 unsigned Abbrev);
301 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
303 unsigned Abbrev);
305 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
307 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
310 unsigned Abbrev);
312 unsigned Abbrev);
1432 writeMDTuple(const MDTuple *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1461 writeDILocation(const DILocation *N, SmallVectorImpl<uint64_t> &Record, unsigned &Abbrev) argument
1492 writeGenericDINode(const GenericDINode *N, SmallVectorImpl<uint64_t> &Record, unsigned &Abbrev) argument
1514 writeDISubrange(const DISubrange *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1526 writeDIEnumerator(const DIEnumerator *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1537 writeDIBasicType(const DIBasicType *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1552 writeDIDerivedType(const DIDerivedType *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1579 writeDICompositeType( const DICompositeType *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1605 writeDISubroutineType( const DISubroutineType *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1618 writeDIFile(const DIFile *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1641 writeDICompileUnit(const DICompileUnit *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1669 writeDISubprogram(const DISubprogram *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1697 writeDILexicalBlock(const DILexicalBlock *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1710 writeDILexicalBlockFile( const DILexicalBlockFile *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1722 writeDICommonBlock(const DICommonBlock *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1736 writeDINamespace(const DINamespace *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1747 writeDIMacro(const DIMacro *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1760 writeDIMacroFile(const DIMacroFile *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1773 writeDIModule(const DIModule *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1784 writeDITemplateTypeParameter( const DITemplateTypeParameter *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1795 writeDITemplateValueParameter( const DITemplateValueParameter *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1808 writeDIGlobalVariable( const DIGlobalVariable *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1829 writeDILocalVariable( const DILocalVariable *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1860 writeDILabel( const DILabel *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1873 writeDIExpression(const DIExpression *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1885 writeDIGlobalVariableExpression( const DIGlobalVariableExpression *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1896 writeDIObjCProperty(const DIObjCProperty *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1912 writeDIImportedEntity( const DIImportedEntity *N, SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) argument
1940 unsigned Abbrev = createNamedMetadataAbbrev(); local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterDwarf.cpp255 OutStreamer->AddComment("Abbrev [" + Twine(Die.getAbbrevNumber()) + "] 0x" +
287 void AsmPrinter::emitDwarfAbbrev(const DIEAbbrev &Abbrev) const {
289 EmitULEB128(Abbrev.getNumber(), "Abbreviation Code");
292 Abbrev.Emit(this);
H A DDIE.cpp142 for (DIEAbbrev *Abbrev : Abbreviations)
143 Abbrev->~DIEAbbrev();
149 DIEAbbrev Abbrev = Die.generateAbbrev(); local
150 Abbrev.Profile(ID);
160 DIEAbbrev *New = new (Alloc) DIEAbbrev(std::move(Abbrev));
187 DIEAbbrev Abbrev(Tag, hasChildren());
190 Abbrev.AddImplicitConstAttribute(V.getAttribute(),
193 Abbrev.AddAttribute(V.getAttribute(), V.getForm());
194 return Abbrev;
282 const DIEAbbrev &Abbrev local
[all...]
H A DAccelTable.cpp457 for (const auto &Abbrev : Abbreviations) {
458 Asm->OutStreamer->AddComment("Abbrev code");
459 assert(Abbrev.first != 0);
460 Asm->EmitULEB128(Abbrev.first);
461 Asm->OutStreamer->AddComment(dwarf::TagString(Abbrev.first));
462 Asm->EmitULEB128(Abbrev.first);
463 for (const auto &AttrEnc : Abbrev.second) {
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp97 static uint64_t getCUAbbrev(StringRef Abbrev, uint64_t AbbrCode) { argument
100 DataExtractor AbbrevData(Abbrev, true, 0);
135 static Expected<CompileUnitIdentifiers> getCUIdentifiers(StringRef Abbrev, argument
150 InfoData.getU32(&Offset); // Abbrev offset (should be zero)
155 DataExtractor AbbrevData(Abbrev, true, 0);
156 uint64_t AbbrevOffset = getCUAbbrev(Abbrev, AbbrCode);
266 Data.getU32(&Offset); // Abbrev offset
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.cpp407 void DWARFDebugNames::Abbrev::dump(ScopedPrinter &W) const {
423 static DWARFDebugNames::Abbrev sentinelAbbrev() {
424 return DWARFDebugNames::Abbrev(0, dwarf::Tag(0), {});
427 static bool isSentinel(const DWARFDebugNames::Abbrev &Abbr) {
431 DWARFDebugNames::Abbrev DWARFDebugNames::AbbrevMapInfo::getEmptyKey() {
435 DWARFDebugNames::Abbrev DWARFDebugNames::AbbrevMapInfo::getTombstoneKey() {
436 return DWARFDebugNames::Abbrev(~0, dwarf::Tag(0), {});
465 Expected<DWARFDebugNames::Abbrev>
480 return Abbrev(Code, dwarf::Tag(Tag), std::move(*AttrEncOr));
522 DWARFDebugNames::Entry::Entry(const NameIndex &NameIdx, const Abbrev
[all...]
H A DDWARFVerifier.cpp247 unsigned DWARFVerifier::verifyAbbrevSection(const DWARFDebugAbbrev *Abbrev) { argument
249 if (Abbrev) {
251 Abbrev->getAbbreviationDeclarationSet(0);
1077 const DWARFDebugNames::NameIndex &NI, const DWARFDebugNames::Abbrev &Abbr,
1144 for (const auto &Abbrev : NI.getAbbrevs()) {
1145 StringRef TagName = dwarf::TagString(Abbrev.Tag);
1149 NI.getUnitOffset(), Abbrev.Code, Abbrev.Tag);
1152 for (const auto &AttrEnc : Abbrev.Attributes) {
1156 NI.getUnitOffset(), Abbrev
[all...]
H A DDWARFUnit.cpp177 : Context(DC), InfoSection(Section), Header(Header), Abbrev(DA),
852 Abbrevs = Abbrev->getAbbreviationDeclarationSet(Header.getAbbrOffset());
H A DDWARFContext.cpp730 if (Abbrev)
731 return Abbrev.get();
735 Abbrev.reset(new DWARFDebugAbbrev());
736 Abbrev->extract(abbrData);
737 return Abbrev.get();
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DAsmPrinter.h594 for (const auto &Abbrev : Abbrevs)
595 emitDwarfAbbrev(*Abbrev);
601 void emitDwarfAbbrev(const DIEAbbrev &Abbrev) const;

Completed in 300 milliseconds