Home
last modified time | relevance | path

Searched refs:CompileUnit (Results 1 – 25 of 26) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DCompileUnit.cpp17 static bool inFunctionScope(CompileUnit &U, unsigned Idx) { in inFunctionScope()
26 void CompileUnit::markEverythingAsKept() { in markEverythingAsKept()
58 uint64_t CompileUnit::computeNextUnitOffset() { in computeNextUnitOffset()
70 void CompileUnit::noteForwardReference(DIE *Die, const CompileUnit *RefUnit, in noteForwardReference()
75 void CompileUnit::fixupForwardReferences() { in fixupForwardReferences()
78 const CompileUnit *RefUnit; in fixupForwardReferences()
89 void CompileUnit::addLabelLowPc(uint64_t LabelLowPc, int64_t PcOffset) { in addLabelLowPc()
93 void CompileUnit::addFunctionRange(uint64_t FuncLowPc, uint64_t FuncHighPc, in addFunctionRange()
100 void CompileUnit::noteRangeAttribute(const DIE &Die, PatchLocation Attr) { in noteRangeAttribute()
107 void CompileUnit::noteLocationAttribute(PatchLocation Attr, int64_t PcOffset) { in noteLocationAttribute()
[all …]
DDwarfLinker.h41 using UnitListTy = std::vector<std::unique_ptr<CompileUnit>>;
137 CompileUnit::DIEInfo &Info);
188 const DebugMapObject &DMO, CompileUnit &CU,
229 CompileUnit::DIEInfo &MyInfo,
230 const DebugMapObject &DMO, CompileUnit &CU,
235 CompileUnit &Unit, CompileUnit::DIEInfo &MyInfo,
239 const DWARFDie &DIE, CompileUnit &Unit,
240 CompileUnit::DIEInfo &MyInfo, unsigned Flags);
244 const DebugMapObject &DMO, CompileUnit &Unit,
245 CompileUnit::DIEInfo &MyInfo,
[all …]
DDwarfStreamer.h66 void emitCompileUnitHeader(CompileUnit &Unit);
92 void emitUnitRangesEntries(CompileUnit &Unit, bool DoRangesSection);
99 void emitLocationsForUnit(const CompileUnit &Unit, DWARFContext &Dwarf);
113 void emitPubNamesForUnit(const CompileUnit &Unit);
116 void emitPubTypesForUnit(const CompileUnit &Unit);
179 const CompileUnit &Unit,
180 const std::vector<CompileUnit::AccelInfo> &Names);
DDwarfLinker.cpp109 static CompileUnit *getUnitForOffset(const UnitListTy &Units, unsigned Offset) { in getUnitForOffset()
112 [](uint32_t LHS, const std::unique_ptr<CompileUnit> &RHS) { in getUnitForOffset()
126 CompileUnit *&RefCU) { in resolveDIEReference()
222 CompileUnit &CU, DeclContext *CurrentDeclContext, in analyzeContextInfo()
227 CompileUnit::DIEInfo &Info = CU.getInfo(MyIdx); in analyzeContextInfo()
475 uint32_t StartOffset, uint32_t EndOffset, CompileUnit::DIEInfo &Info) { in hasValidRelocation()
536 CompileUnit &Unit, in shouldKeepVariableDIE()
537 CompileUnit::DIEInfo &MyInfo, in shouldKeepVariableDIE()
582 const DebugMapObject &DMO, CompileUnit &Unit, CompileUnit::DIEInfo &MyInfo, in shouldKeepSubprogramDIE()
645 CompileUnit &Unit, in shouldKeepDIE()
[all …]
DCompileUnit.h51 class CompileUnit {
80 CompileUnit(DWARFUnit &OrigUnit, unsigned ID, bool CanUseODR, in CompileUnit() function
163 void noteForwardReference(DIE *Die, const CompileUnit *RefUnit,
273 std::tuple<DIE *, const CompileUnit *, DeclContext *, PatchLocation>>
DDwarfStreamer.cpp151 void DwarfStreamer::emitCompileUnitHeader(CompileUnit &Unit) { in emitCompileUnitHeader()
310 void DwarfStreamer::emitUnitRangesEntries(CompileUnit &Unit, in emitUnitRangesEntries()
390 void DwarfStreamer::emitLocationsForUnit(const CompileUnit &Unit, in emitLocationsForUnit()
610 MCSection *Sec, StringRef SecName, const CompileUnit &Unit, in emitPubSectionForUnit()
611 const std::vector<CompileUnit::AccelInfo> &Names) { in emitPubSectionForUnit()
650 void DwarfStreamer::emitPubNamesForUnit(const CompileUnit &Unit) { in emitPubNamesForUnit()
656 void DwarfStreamer::emitPubTypesForUnit(const CompileUnit &Unit) { in emitPubTypesForUnit()
DDeclContext.h90 bool setLastSeenDIE(CompileUnit &U, const DWARFDie &Die);
135 CompileUnit &Unit, UniquingStringPool &StringPool,
DDeclContext.cpp32 bool DeclContext::setLastSeenDIE(CompileUnit &U, const DWARFDie &Die) { in setLastSeenDIE()
46 DeclContext &Context, const DWARFDie &DIE, CompileUnit &U, in getChildDeclContext()
DCMakeLists.txt15 CompileUnit.cpp
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.cpp33 CompileUnit::CompileUnit(unsigned I, DIE *D, AsmPrinter *A, DwarfDebug *DW) in CompileUnit() function in CompileUnit
39 CompileUnit::~CompileUnit() { in ~CompileUnit()
46 DIEEntry *CompileUnit::createDIEEntry(DIE *Entry) { in createDIEEntry()
53 void CompileUnit::addUInt(DIE *Die, unsigned Attribute, in addUInt()
63 void CompileUnit::addSInt(DIE *Die, unsigned Attribute, in addSInt()
72 void CompileUnit::addString(DIE *Die, unsigned Attribute, unsigned Form, in addString()
80 void CompileUnit::addLabel(DIE *Die, unsigned Attribute, unsigned Form, in addLabel()
88 void CompileUnit::addDelta(DIE *Die, unsigned Attribute, unsigned Form, in addDelta()
96 void CompileUnit::addDIEEntry(DIE *Die, unsigned Attribute, unsigned Form, in addDIEEntry()
104 void CompileUnit::addBlock(DIE *Die, unsigned Attribute, unsigned Form, in addBlock()
[all …]
DDwarfDebug.h32 class CompileUnit; variable
194 CompileUnit *FirstCU;
197 DenseMap <const MDNode *, CompileUnit *> CUMap;
200 DenseMap <const MDNode *, CompileUnit *> SPMap;
322 DIE *updateSubprogramScopeDIE(CompileUnit *SPCU, const MDNode *SPNode);
326 DIE *constructLexicalScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
331 DIE *constructInlinedScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
337 DIE *constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope);
418 CompileUnit *constructCompileUnit(const MDNode *N);
421 void constructSubprogramDIE(CompileUnit *TheCU, const MDNode *N);
DDwarfDebug.cpp185 DIE *DwarfDebug::updateSubprogramScopeDIE(CompileUnit *SPCU, in updateSubprogramScopeDIE()
249 DIE *DwarfDebug::constructLexicalScopeDIE(CompileUnit *TheCU, in constructLexicalScopeDIE()
295 DIE *DwarfDebug::constructInlinedScopeDIE(CompileUnit *TheCU, in constructInlinedScopeDIE()
375 DIE *DwarfDebug::constructScopeDIE(CompileUnit *TheCU, LexicalScope *Scope) { in constructScopeDIE()
468 CompileUnit *DwarfDebug::constructCompileUnit(const MDNode *N) { in constructCompileUnit()
475 CompileUnit *NewCU = new CompileUnit(ID, Die, Asm, this); in constructCompileUnit()
514 void DwarfDebug::constructSubprogramDIE(CompileUnit *TheCU, in constructSubprogramDIE()
543 if (CompileUnit *CU = CUMap.lookup(DISubprogram(N).getCompileUnit())) in collectInfoFromNamedMDNodes()
550 if (CompileUnit *CU = CUMap.lookup(DIGlobalVariable(N).getCompileUnit())) in collectInfoFromNamedMDNodes()
557 if (CompileUnit *CU = CUMap.lookup(Ty.getCompileUnit())) in collectInfoFromNamedMDNodes()
[all …]
DDwarfCompileUnit.h34 class CompileUnit {
76 CompileUnit(unsigned I, DIE *D, AsmPrinter *A, DwarfDebug *DW);
77 ~CompileUnit();
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp76 class CompileUnit;
128 bool setLastSeenDIE(CompileUnit &U, const DWARFDebugInfoEntryMinimal *Die);
176 const DWARFDebugInfoEntryMinimal *DIE, CompileUnit &Unit,
185 class CompileUnit { class
198 CompileUnit(DWARFUnit &OrigUnit, unsigned ID, bool CanUseODR, in CompileUnit() function in llvm::dsymutil::__anond69ad1180111::CompileUnit
214 CompileUnit(CompileUnit &&RHS) in CompileUnit() function in llvm::dsymutil::__anond69ad1180111::CompileUnit
275 void noteForwardReference(DIE *Die, const CompileUnit *RefUnit,
350 std::vector<std::tuple<DIE *, const CompileUnit *, DeclContext *,
393 void CompileUnit::markEverythingAsKept() { in markEverythingAsKept()
399 uint64_t CompileUnit::computeNextUnitOffset() { in computeNextUnitOffset()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/
DDwarfGenerator.h50 class CompileUnit; variable
59 dwarfgen::CompileUnit *CU;
64 friend class CompileUnit; variable
66 DIE(CompileUnit *U = nullptr, llvm::DIE *D = nullptr) : CU(U), Die(D) {} in CU()
150 class CompileUnit {
155 CompileUnit(Generator &D, uint16_t V, uint8_t A) in CompileUnit() function
252 std::vector<std::unique_ptr<CompileUnit>> CompileUnits;
294 dwarfgen::CompileUnit &addCompileUnit();
DDWARFDebugInfoTest.cpp79 dwarfgen::CompileUnit &CU = DG->addCompileUnit(); in TestAllForms()
469 dwarfgen::CompileUnit &CU = DG->addCompileUnit(); in TestChildren()
595 dwarfgen::CompileUnit &CU1 = DG->addCompileUnit(); in TestReferences()
596 dwarfgen::CompileUnit &CU2 = DG->addCompileUnit(); in TestReferences()
845 dwarfgen::CompileUnit &CU = DG->addCompileUnit(); in TestAddresses()
1016 dwarfgen::CompileUnit &CU = DG->addCompileUnit(); in TEST()
1198 dwarfgen::CompileUnit &CU = DG->addCompileUnit(); in TEST()
1310 dwarfgen::CompileUnit &CU = DG->addCompileUnit(); in TEST()
1369 dwarfgen::CompileUnit &CU = DG->addCompileUnit(); in TEST()
1589 dwarfgen::CompileUnit &CU = DG->addCompileUnit(); in TEST()
[all …]
DDwarfGenerator.cpp143 dwarfgen::DIE dwarfgen::CompileUnit::getUnitDIE() { in getUnitDIE()
538 dwarfgen::CompileUnit &dwarfgen::Generator::addCompileUnit() { in addCompileUnit()
540 make_unique<CompileUnit>(*this, Version, Asm->getPointerSize())); in addCompileUnit()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-c-test/
Ddebuginfo.c39 LLVMMetadataRef CompileUnit = LLVMDIBuilderCreateCompileUnit(DIB, in llvm_test_dibuilder() local
44 LLVMDIBuilderCreateModule(DIB, CompileUnit, in llvm_test_dibuilder()
51 LLVMDIBuilderCreateModule(DIB, CompileUnit, in llvm_test_dibuilder()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFContext.h283 DWARFCompileUnit *CompileUnit = nullptr; member
286 explicit operator bool() const { return CompileUnit != nullptr; }
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDIEHash.h24 class CompileUnit; variable
/external/llvm/lib/CodeGen/AsmPrinter/
DDIEHash.h24 class CompileUnit; variable
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp328 MDNode *CompileUnit = dyn_cast<MDNode>(N->getOperand(1)); in mangleName() local
329 if (!GCovFile || !CompileUnit) continue; in mangleName()
330 if (CompileUnit == CU) { in mangleName()
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp435 MDNode *CompileUnit = dyn_cast<MDNode>(N->getOperand(1)); in mangleName() local
436 if (!GCovFile || !CompileUnit) continue; in mangleName()
437 if (CompileUnit == CU) { in mangleName()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/
Dllvm-dwarfdump.cpp378 DIEsForAddr.CompileUnit->dump(OS, DumpOpts); in lookup()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DCloning.cpp682 TEST_F(CloneModule, CompileUnit) { in TEST_F() argument

12