Home
last modified time | relevance | path

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

12

/external/clang/lib/Frontend/
DSerializedDiagnosticPrinter.cpp430 static void AddSourceLocationAbbrev(llvm::BitCodeAbbrev *Abbrev) { in AddSourceLocationAbbrev() argument
432 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // File ID. in AddSourceLocationAbbrev()
433 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Line. in AddSourceLocationAbbrev()
434 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Column. in AddSourceLocationAbbrev()
435 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Offset; in AddSourceLocationAbbrev()
438 static void AddRangeLocationAbbrev(llvm::BitCodeAbbrev *Abbrev) { in AddRangeLocationAbbrev() argument
439 AddSourceLocationAbbrev(Abbrev); in AddRangeLocationAbbrev()
440 AddSourceLocationAbbrev(Abbrev); in AddRangeLocationAbbrev()
457 BitCodeAbbrev *Abbrev = new BitCodeAbbrev(); in EmitBlockInfoBlock() local
458 Abbrev->Add(BitCodeAbbrevOp(RECORD_VERSION)); in EmitBlockInfoBlock()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfFile.cpp27 void DwarfFile::assignAbbrevNumber(DIEAbbrev &Abbrev) { in assignAbbrevNumber() argument
29 DIEAbbrev *InSet = AbbreviationsSet.GetOrInsertNode(&Abbrev); in assignAbbrevNumber()
32 if (InSet == &Abbrev) { in assignAbbrevNumber()
34 Abbreviations.push_back(&Abbrev); in assignAbbrevNumber()
37 Abbrev.setNumber(Abbreviations.size()); in assignAbbrevNumber()
40 Abbrev.setNumber(InSet->getNumber()); in assignAbbrevNumber()
89 const DIEAbbrev &Abbrev = Die.getAbbrev(); in computeSizeAndOffset() local
98 const SmallVectorImpl<DIEAbbrevData> &AbbrevData = Abbrev.getData(); in computeSizeAndOffset()
110 assert(Abbrev.hasChildren() && "Children flag not set"); in computeSizeAndOffset()
DAsmPrinterDwarf.cpp247 const DIEAbbrev &Abbrev = Die.getAbbrev(); in emitDwarfDIE() local
251 OutStreamer.AddComment("Abbrev [" + Twine(Abbrev.getNumber()) + in emitDwarfDIE()
254 dwarf::TagString(Abbrev.getTag())); in emitDwarfDIE()
255 EmitULEB128(Abbrev.getNumber()); in emitDwarfDIE()
258 const SmallVectorImpl<DIEAbbrevData> &AbbrevData = Abbrev.getData(); in emitDwarfDIE()
278 if (Abbrev.hasChildren()) { in emitDwarfDIE()
290 for (const DIEAbbrev *Abbrev : Abbrevs) { in emitDwarfAbbrevs() local
292 EmitULEB128(Abbrev->getNumber(), "Abbreviation Code"); in emitDwarfAbbrevs()
295 Abbrev->Emit(this); in emitDwarfAbbrevs()
DDIE.cpp146 bool isBlock = Abbrev.getTag() == 0; in print()
156 << dwarf::TagString(Abbrev.getTag()) in print()
158 << dwarf::ChildrenString(Abbrev.hasChildren()) << "\n"; in print()
163 const SmallVectorImpl<DIEAbbrevData> &Data = Abbrev.getData(); in print()
450 const SmallVectorImpl<DIEAbbrevData> &AbbrevData = Abbrev.getData(); in ComputeSize()
471 const SmallVectorImpl<DIEAbbrevData> &AbbrevData = Abbrev.getData(); in EmitValue()
505 const SmallVectorImpl<DIEAbbrevData> &AbbrevData = Abbrev.getData(); in ComputeSize()
524 const SmallVectorImpl<DIEAbbrevData> &AbbrevData = Abbrev.getData(); in EmitValue()
DDwarfFile.h76 void assignAbbrevNumber(DIEAbbrev &Abbrev);
/external/clang/lib/Serialization/
DASTWriter.cpp1174 BitCodeAbbrev *Abbrev = new BitCodeAbbrev(); in WriteControlBlock() local
1175 Abbrev->Add(BitCodeAbbrevOp(MODULE_NAME)); in WriteControlBlock()
1176 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Name in WriteControlBlock()
1177 unsigned AbbrevCode = Stream.EmitAbbrev(Abbrev); in WriteControlBlock()
1185 BitCodeAbbrev *Abbrev = new BitCodeAbbrev(); in WriteControlBlock() local
1186 Abbrev->Add(BitCodeAbbrevOp(MODULE_DIRECTORY)); in WriteControlBlock()
1187 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Directory in WriteControlBlock()
1188 unsigned AbbrevCode = Stream.EmitAbbrev(Abbrev); in WriteControlBlock()
1411 BitCodeAbbrev *Abbrev = new BitCodeAbbrev(); in WriteControlBlock() local
1412 Abbrev->Add(BitCodeAbbrevOp(ORIGINAL_PCH_DIR)); in WriteControlBlock()
[all …]
DGlobalModuleIndex.cpp750 BitCodeAbbrev *Abbrev = new BitCodeAbbrev(); in writeIndex() local
751 Abbrev->Add(BitCodeAbbrevOp(IDENTIFIER_INDEX)); in writeIndex()
752 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); in writeIndex()
753 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); in writeIndex()
754 unsigned IDTableAbbrev = Stream.EmitAbbrev(Abbrev); in writeIndex()
/external/llvm/include/llvm/Bitcode/
DBitstreamWriter.h295 void EmitRecordWithAbbrevImpl(unsigned Abbrev, SmallVectorImpl<uintty> &Vals, in EmitRecordWithAbbrevImpl() argument
299 unsigned AbbrevNo = Abbrev-bitc::FIRST_APPLICATION_ABBREV; in EmitRecordWithAbbrevImpl()
303 EmitCode(Abbrev); in EmitRecordWithAbbrevImpl()
391 unsigned Abbrev = 0) {
392 if (!Abbrev) {
406 EmitRecordWithAbbrev(Abbrev, Vals);
413 void EmitRecordWithAbbrev(unsigned Abbrev, SmallVectorImpl<uintty> &Vals) { in EmitRecordWithAbbrev() argument
414 EmitRecordWithAbbrevImpl(Abbrev, Vals, StringRef()); in EmitRecordWithAbbrev()
423 void EmitRecordWithBlob(unsigned Abbrev, SmallVectorImpl<uintty> &Vals, in EmitRecordWithBlob() argument
425 EmitRecordWithAbbrevImpl(Abbrev, Vals, Blob); in EmitRecordWithBlob()
[all …]
/external/llvm/test/DebugInfo/SystemZ/
Dvariable-loc.s107 .long .L.debug_abbrev_begin # Offset Into Abbrev. Section
109 .byte 1 # Abbrev [1] 0xb:0x94 DW_TAG_compile_unit
116 .byte 2 # Abbrev [2] 0x26:0x7 DW_TAG_subprogram
122 .byte 3 # Abbrev [3] 0x2d:0xb DW_TAG_subprogram
129 .byte 4 # Abbrev [4] 0x38:0x7 DW_TAG_base_type
133 .byte 5 # Abbrev [5] 0x3f:0xb DW_TAG_subprogram
141 .byte 6 # Abbrev [6] 0x4a:0x7 DW_TAG_base_type
145 .byte 7 # Abbrev [7] 0x51:0x5 DW_TAG_array_type
147 .byte 8 # Abbrev [8] 0x56:0x48 DW_TAG_subprogram
154 .byte 9 # Abbrev [9] 0x6d:0x30 DW_TAG_lexical_block
[all …]
/external/llvm/test/DebugInfo/
Dinlined-vars.ll37 ; ARGUMENT: {{.*Abbrev.*DW_TAG_formal_parameter}}
38 ; ARGUMENT: {{.*Abbrev.*DW_TAG_formal_parameter}}
39 ; ARGUMENT-NOT: {{.*Abbrev.*DW_TAG_formal_parameter}}
44 ; VARIABLE: {{.*Abbrev.*DW_TAG_variable}}
45 ; VARIABLE: {{.*Abbrev.*DW_TAG_variable}}
46 ; VARIABLE-NOT: {{.*Abbrev.*DW_TAG_variable}}
/external/google-breakpad/src/client/mac/handler/testcases/testdata/
Ddump_syms_i386_breakpad.sym1043 …::_Vector_base<dwarf2reader::CompilationUnit::Abbrev, std::allocator<dwarf2reader::CompilationUnit…
1214 …:CompilationUnit::Abbrev, std::allocator<dwarf2reader::CompilationUnit::Abbrev> >::_M_deallocate(d…
1895Abbrev*, std::allocator<dwarf2reader::CompilationUnit::Abbrev> >(dwarf2reader::CompilationUnit::Ab…
3714 …tionUnit::ProcessDIE(unsigned long long, char const*, dwarf2reader::CompilationUnit::Abbrev const&)
3722 …0 dwarf2reader::CompilationUnit::SkipDIE(char const*, dwarf2reader::CompilationUnit::Abbrev const&)
4206 … 0 std::vector<dwarf2reader::CompilationUnit::Abbrev, std::allocator<dwarf2reader::CompilationUnit…
4210 … 0 std::vector<dwarf2reader::CompilationUnit::Abbrev, std::allocator<dwarf2reader::CompilationUnit…
4216 … 0 std::vector<dwarf2reader::CompilationUnit::Abbrev, std::allocator<dwarf2reader::CompilationUnit…
4221 … 0 std::vector<dwarf2reader::CompilationUnit::Abbrev, std::allocator<dwarf2reader::CompilationUnit…
4227 … 0 std::vector<dwarf2reader::CompilationUnit::Abbrev, std::allocator<dwarf2reader::CompilationUnit…
[all …]
/external/llvm/include/llvm/CodeGen/
DDIE.h123 DIEAbbrev Abbrev; variable
143 : Offset(0), Size(0), Abbrev((dwarf::Tag)0, dwarf::DW_CHILDREN_no), in DIE()
148 : Offset(0), Size(0), Abbrev((dwarf::Tag)Tag, dwarf::DW_CHILDREN_no), in DIE()
152 DIEAbbrev &getAbbrev() { return Abbrev; } in getAbbrev()
153 const DIEAbbrev &getAbbrev() const { return Abbrev; } in getAbbrev()
154 unsigned getAbbrevNumber() const { return Abbrev.getNumber(); } in getAbbrevNumber()
155 dwarf::Tag getTag() const { return Abbrev.getTag(); } in getTag()
175 Abbrev.AddAttribute(Attribute, Form); in addValue()
183 Abbrev.setChildrenFlag(dwarf::DW_CHILDREN_yes); in addChild()
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp984 for (auto *Abbrev : Abbreviations) in ~DwarfLinker() local
985 delete Abbrev; in ~DwarfLinker()
1154 void AssignAbbrev(DIEAbbrev &Abbrev);
1498 getAttributeOffsets(const DWARFAbbreviationDeclaration *Abbrev, unsigned Idx, in getAttributeOffsets() argument
1503 DWARFFormValue::skipValue(Abbrev->getFormByIndex(i), Data, &Offset, &Unit); in getAttributeOffsets()
1506 DWARFFormValue::skipValue(Abbrev->getFormByIndex(Idx), Data, &End, &Unit); in getAttributeOffsets()
1516 const auto *Abbrev = DIE.getAbbreviationDeclarationPtr(); in shouldKeepVariableDIE() local
1520 Abbrev->findAttributeIndex(dwarf::DW_AT_const_value) != -1U) { in shouldKeepVariableDIE()
1525 uint32_t LocationIdx = Abbrev->findAttributeIndex(dwarf::DW_AT_location); in shouldKeepVariableDIE()
1529 uint32_t Offset = DIE.getOffset() + getULEB128Size(Abbrev->getCode()); in shouldKeepVariableDIE()
[all …]
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp772 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev) { in WriteMDTuple() argument
781 Record, Abbrev); in WriteMDTuple()
788 unsigned Abbrev) { in WriteMDLocation() argument
795 Stream.EmitRecord(bitc::METADATA_LOCATION, Record, Abbrev); in WriteMDLocation()
803 unsigned Abbrev) { in WriteGenericDebugNode() argument
811 Stream.EmitRecord(bitc::METADATA_GENERIC_DEBUG, Record, Abbrev); in WriteGenericDebugNode()
823 unsigned Abbrev) { in WriteMDSubrange() argument
828 Stream.EmitRecord(bitc::METADATA_SUBRANGE, Record, Abbrev); in WriteMDSubrange()
835 unsigned Abbrev) { in WriteMDEnumerator() argument
840 Stream.EmitRecord(bitc::METADATA_ENUMERATOR, Record, Abbrev); in WriteMDEnumerator()
[all …]
/external/llvm/test/MC/ELF/
Dcompression.s50 .long .Lsection_abbrev # Offset Into Abbrev. Section
52 .byte 1 # Abbrev [1] DW_TAG_compile_unit
Ddiscriminator.s19 .long .L.debug_abbrev_begin # Offset Into Abbrev. Section
21 .byte 1 # Abbrev [1] 0xb:0x1b DW_TAG_compile_unit
/external/google-breakpad/src/common/dwarf/
Ddwarf2reader.h244 struct Abbrev { struct
271 const Abbrev& abbrev); argument
286 const Abbrev& abbrev);
316 std::vector<Abbrev>* abbrevs_;
Ddwarf2reader_test_common.h119 TestAbbrevTable &Abbrev(int code, DwarfTag tag, DwarfHasChild has_children) { in Abbrev() function
Ddwarf2reader_die_unittest.cc165 abbrevs.Abbrev(1, dwarf2reader::DW_TAG_compile_unit, in TEST_P()
240 abbrevs.Abbrev(1, tag, dwarf2reader::DW_children_no) in StartSingleAttributeDIE()
Ddwarf2reader.cc80 abbrevs_ = new std::vector<Abbrev>; in ReadAbbrevs()
94 CompilationUnit::Abbrev abbrev; in ReadAbbrevs()
136 const Abbrev& abbrev) { in SkipDIE()
455 const Abbrev& abbrev) { in ProcessDIE()
502 const Abbrev& abbrev = abbrevs_->at(static_cast<size_t>(abbrev_num)); in ProcessDIEs()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp252 if (Abbrev) in getDebugAbbrev()
253 return Abbrev.get(); in getDebugAbbrev()
257 Abbrev.reset(new DWARFDebugAbbrev()); in getDebugAbbrev()
258 Abbrev->extract(abbrData); in getDebugAbbrev()
259 return Abbrev.get(); in getDebugAbbrev()
DDWARFUnit.cpp37 : Context(DC), InfoSection(Section), Abbrev(DA), RangeSection(RS), in DWARFUnit()
81 Abbrevs = Abbrev->getAbbreviationDeclarationSet(AbbrOffset); in extractImpl()
/external/llvm/test/DebugInfo/X86/
Dfission-cu.ll25 ; CHECK: Abbrev table for offset: 0x00000000
34 ; CHECK: Abbrev table for offset: 0x00000000
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFContext.h36 std::unique_ptr<DWARFDebugAbbrev> Abbrev; variable
DDWARFUnit.h108 const DWARFDebugAbbrev *Abbrev; variable

12