Home
last modified time | relevance | path

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

12

/external/clang/lib/Frontend/
DSerializedDiagnosticPrinter.cpp428 static void AddSourceLocationAbbrev(llvm::BitCodeAbbrev *Abbrev) { in AddSourceLocationAbbrev() argument
430 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 10)); // File ID. in AddSourceLocationAbbrev()
431 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Line. in AddSourceLocationAbbrev()
432 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Column. in AddSourceLocationAbbrev()
433 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 32)); // Offset; in AddSourceLocationAbbrev()
436 static void AddRangeLocationAbbrev(llvm::BitCodeAbbrev *Abbrev) { in AddRangeLocationAbbrev() argument
437 AddSourceLocationAbbrev(Abbrev); in AddRangeLocationAbbrev()
438 AddSourceLocationAbbrev(Abbrev); in AddRangeLocationAbbrev()
455 BitCodeAbbrev *Abbrev = new BitCodeAbbrev(); in EmitBlockInfoBlock() local
456 Abbrev->Add(BitCodeAbbrevOp(RECORD_VERSION)); in EmitBlockInfoBlock()
[all …]
DTestModuleFileExtension.cpp31 auto Abbrev = Stream.EmitAbbrev(Abv); in writeExtensionContents() local
42 Stream.EmitRecordWithBlob(Abbrev, Record, Message); in writeExtensionContents()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitCodes.cpp72 const NaClBitCodeAbbrev *Abbrev, in PrintExpression() argument
76 if (Index >= Abbrev->getNumOperandInfos()) return; in PrintExpression()
78 const NaClBitCodeAbbrevOp &Op = Abbrev->getOperandInfo(Index); in PrintExpression()
85 PrintExpression(Stream, Abbrev, Index); in PrintExpression()
102 NaClBitCodeAbbrev *Abbrev = new NaClBitCodeAbbrev(); in Simplify() local
110 while (Op.isArrayOp() && !Abbrev->OperandList.empty() && in Simplify()
111 Abbrev->OperandList.back() == OperandList[i+1]) { in Simplify()
112 Abbrev->OperandList.pop_back(); in Simplify()
114 Abbrev->OperandList.push_back(Op); in Simplify()
116 return Abbrev; in Simplify()
/external/clang/lib/Serialization/
DASTWriter.cpp1267 auto *Abbrev = new BitCodeAbbrev(); in WriteControlBlock() local
1268 Abbrev->Add(BitCodeAbbrevOp(MODULE_NAME)); in WriteControlBlock()
1269 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Name in WriteControlBlock()
1270 unsigned AbbrevCode = Stream.EmitAbbrev(Abbrev); in WriteControlBlock()
1287 auto *Abbrev = new BitCodeAbbrev(); in WriteControlBlock() local
1288 Abbrev->Add(BitCodeAbbrevOp(MODULE_DIRECTORY)); in WriteControlBlock()
1289 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); // Directory in WriteControlBlock()
1290 unsigned AbbrevCode = Stream.EmitAbbrev(Abbrev); in WriteControlBlock()
1515 auto *Abbrev = new BitCodeAbbrev(); in WriteControlBlock() local
1516 Abbrev->Add(BitCodeAbbrevOp(ORIGINAL_PCH_DIR)); in WriteControlBlock()
[all …]
/external/llvm/include/llvm/Bitcode/
DBitstreamWriter.h301 void EmitRecordWithAbbrevImpl(unsigned Abbrev, ArrayRef<uintty> Vals, in EmitRecordWithAbbrevImpl() argument
305 unsigned AbbrevNo = Abbrev-bitc::FIRST_APPLICATION_ABBREV; in EmitRecordWithAbbrevImpl()
309 EmitCode(Abbrev); in EmitRecordWithAbbrevImpl()
415 void EmitRecord(unsigned Code, const Container &Vals, unsigned Abbrev = 0) {
416 if (!Abbrev) {
428 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), StringRef(), Code);
435 void EmitRecordWithAbbrev(unsigned Abbrev, const Container &Vals) { in EmitRecordWithAbbrev() argument
436 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), StringRef(), None); in EmitRecordWithAbbrev()
445 void EmitRecordWithBlob(unsigned Abbrev, const Container &Vals, in EmitRecordWithBlob() argument
447 EmitRecordWithAbbrevImpl(Abbrev, makeArrayRef(Vals), Blob, None); in EmitRecordWithBlob()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/
DBitstreamWriter.h298 void EmitRecordWithAbbrevImpl(unsigned Abbrev, SmallVectorImpl<uintty> &Vals, in EmitRecordWithAbbrevImpl() argument
302 unsigned AbbrevNo = Abbrev-bitc::FIRST_APPLICATION_ABBREV; in EmitRecordWithAbbrevImpl()
306 EmitCode(Abbrev); in EmitRecordWithAbbrevImpl()
394 unsigned Abbrev = 0) {
395 if (!Abbrev) {
409 EmitRecordWithAbbrev(Abbrev, Vals);
416 void EmitRecordWithAbbrev(unsigned Abbrev, SmallVectorImpl<uintty> &Vals) { in EmitRecordWithAbbrev() argument
417 EmitRecordWithAbbrevImpl(Abbrev, Vals, StringRef()); in EmitRecordWithAbbrev()
426 void EmitRecordWithBlob(unsigned Abbrev, SmallVectorImpl<uintty> &Vals, in EmitRecordWithBlob() argument
428 EmitRecordWithAbbrevImpl(Abbrev, Vals, Blob); in EmitRecordWithBlob()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfFile.cpp25 for (DIEAbbrev *Abbrev : Abbreviations) in ~DwarfFile()
26 Abbrev->~DIEAbbrev(); in ~DwarfFile()
33 DIEAbbrev Abbrev = Die.generateAbbrev(); in assignAbbrevNumber() local
34 Abbrev.Profile(ID); in assignAbbrevNumber()
44 DIEAbbrev *New = new (AbbrevAllocator) DIEAbbrev(std::move(Abbrev)); in assignAbbrevNumber()
102 const DIEAbbrev &Abbrev = assignAbbrevNumber(Die); in computeSizeAndOffset() local
117 (void)Abbrev; in computeSizeAndOffset()
118 assert(Abbrev.hasChildren() && "Children flag not set"); in computeSizeAndOffset()
DAsmPrinterDwarf.cpp284 void AsmPrinter::emitDwarfAbbrev(const DIEAbbrev &Abbrev) const { in emitDwarfAbbrev()
286 EmitULEB128(Abbrev.getNumber(), "Abbreviation Code"); in emitDwarfAbbrev()
289 Abbrev.Emit(this); in emitDwarfAbbrev()
/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/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/lib/Bitcode/Writer/
DBitcodeWriter.cpp160 unsigned Abbrev);
163 unsigned &Abbrev);
166 SmallVectorImpl<uint64_t> &Record, unsigned &Abbrev);
168 unsigned Abbrev);
170 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
172 unsigned Abbrev);
174 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
176 SmallVectorImpl<uint64_t> &Record, unsigned Abbrev);
179 unsigned Abbrev);
181 unsigned Abbrev);
[all …]
/external/llvm/test/DebugInfo/Generic/
Dinlined-vars.ll36 ; ARGUMENT: {{.*Abbrev.*DW_TAG_formal_parameter}}
37 ; ARGUMENT: {{.*Abbrev.*DW_TAG_formal_parameter}}
38 ; ARGUMENT-NOT: {{.*Abbrev.*DW_TAG_formal_parameter}}
43 ; VARIABLE: {{.*Abbrev.*DW_TAG_variable}}
44 ; VARIABLE: {{.*Abbrev.*DW_TAG_variable}}
45 ; VARIABLE-NOT: {{.*Abbrev.*DW_TAG_variable}}
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDIE.h118 DIEAbbrev Abbrev;
142 : Abbrev(Tag, dwarf::DW_CHILDREN_no), Offset(0), in DIE()
147 DIEAbbrev &getAbbrev() { return Abbrev; } in getAbbrev()
148 unsigned getAbbrevNumber() const { return Abbrev.getNumber(); } in getAbbrevNumber()
149 unsigned getTag() const { return Abbrev.getTag(); } in getTag()
155 void setTag(unsigned Tag) { Abbrev.setTag(Tag); } in setTag()
162 Abbrev.AddAttribute(Attribute, Form); in addValue()
183 Abbrev.setChildrenFlag(dwarf::DW_CHILDREN_yes); in addChild()
DDIE.cpp120 Abbrev.AddFirstAttribute(dwarf::DW_AT_sibling, dwarf::DW_FORM_ref4); in addSiblingOffset()
128 bool isBlock = Abbrev.getTag() == 0; in print()
138 << dwarf::TagString(Abbrev.getTag()) in print()
140 << dwarf::ChildrenString(Abbrev.getChildrenFlag()) << "\n"; in print()
145 const SmallVector<DIEAbbrevData, 8> &Data = Abbrev.getData(); in print()
326 const SmallVector<DIEAbbrevData, 8> &AbbrevData = Abbrev.getData(); in ComputeSize()
345 const SmallVector<DIEAbbrevData, 8> &AbbrevData = Abbrev.getData(); in EmitValue()
DDwarfDebug.cpp150 void DwarfDebug::assignAbbrevNumber(DIEAbbrev &Abbrev) { in assignAbbrevNumber() argument
153 Abbrev.Profile(ID); in assignAbbrevNumber()
156 DIEAbbrev *InSet = AbbreviationsSet.GetOrInsertNode(&Abbrev); in assignAbbrevNumber()
159 if (InSet == &Abbrev) { in assignAbbrevNumber()
161 Abbreviations.push_back(&Abbrev); in assignAbbrevNumber()
164 Abbrev.setNumber(Abbreviations.size()); in assignAbbrevNumber()
167 Abbrev.setNumber(InSet->getNumber()); in assignAbbrevNumber()
1410 const DIEAbbrev *Abbrev = Abbreviations[AbbrevNumber - 1]; in computeSizeAndOffset() local
1419 const SmallVector<DIEAbbrevData, 8> &AbbrevData = Abbrev->getData(); in computeSizeAndOffset()
1428 assert(Abbrev->getChildrenFlag() == dwarf::DW_CHILDREN_yes && in computeSizeAndOffset()
[all …]
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFContext.cpp58 if (Abbrev) in getDebugAbbrev()
59 return Abbrev.get(); in getDebugAbbrev()
63 Abbrev.reset(new DWARFDebugAbbrev()); in getDebugAbbrev()
64 Abbrev->parse(abbrData); in getDebugAbbrev()
65 return Abbrev.get(); in getDebugAbbrev()
/external/llvm/test/tools/dsymutil/Inputs/scattered-reloc/
D1.s82 Lset0 = Lsection_abbrev-Lsection_abbrev @ Offset Into Abbrev. Section
85 .byte 1 @ Abbrev [1] 0xb:0x2d DW_TAG_compile_unit
92 .byte 2 @ Abbrev [2] 0x1e:0x12 DW_TAG_variable
101 .byte 3 @ Abbrev [3] 0x30:0x7 DW_TAG_base_type
/external/llvm/test/tools/llvm-dwp/X86/
Dmerge.test23 CHECK-LABEL: Abbrev table for offset:
25 CHECK-LABEL: Abbrev table for offset:
27 CHECK-LABEL: Abbrev table for offset:
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp1372 void copyAbbrev(const DWARFAbbreviationDeclaration &Abbrev, bool hasODR);
1376 void AssignAbbrev(DIEAbbrev &Abbrev);
2063 getAttributeOffsets(const DWARFAbbreviationDeclaration *Abbrev, unsigned Idx, in getAttributeOffsets() argument
2068 DWARFFormValue::skipValue(Abbrev->getFormByIndex(i), Data, &Offset, &Unit); in getAttributeOffsets()
2071 DWARFFormValue::skipValue(Abbrev->getFormByIndex(Idx), Data, &End, &Unit); in getAttributeOffsets()
2083 const auto *Abbrev = DIE.getAbbreviationDeclarationPtr(); in shouldKeepVariableDIE() local
2087 Abbrev->findAttributeIndex(dwarf::DW_AT_const_value) != -1U) { in shouldKeepVariableDIE()
2092 uint32_t LocationIdx = Abbrev->findAttributeIndex(dwarf::DW_AT_location); in shouldKeepVariableDIE()
2096 uint32_t Offset = DIE.getOffset() + getULEB128Size(Abbrev->getCode()); in shouldKeepVariableDIE()
2100 getAttributeOffsets(Abbrev, LocationIdx, Offset, OrigUnit); in shouldKeepVariableDIE()
[all …]
/external/llvm/unittests/Bitcode/
DBitstreamReaderTest.cpp200 BitCodeAbbrev *Abbrev = new BitCodeAbbrev(); in TEST() local
201 Abbrev->Add(BitCodeAbbrevOp(RecordID)); in TEST()
202 Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob)); in TEST()
203 AbbrevID = Stream.EmitAbbrev(Abbrev); in TEST()
/external/llvm/test/MC/ELF/
Dcompression.s84 .long .Lsection_abbrev # Offset Into Abbrev. Section
86 .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_;
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitCodes.h285 int Compare(const NaClBitCodeAbbrev &Abbrev) const {
288 size_t AbbrevOperandListSize = Abbrev.OperandList.size();
296 if (int Diff = OperandList[I].Compare(Abbrev.OperandList[I]))
/external/llvm/include/llvm/CodeGen/
DAsmPrinter.h456 for (const auto &Abbrev : Abbrevs) in emitDwarfAbbrevs() local
457 emitDwarfAbbrev(*Abbrev); in emitDwarfAbbrevs()
463 void emitDwarfAbbrev(const DIEAbbrev &Abbrev) const;

12