/external/llvm/unittests/Transforms/Utils/ |
H A D | Cloning.cpp | 235 DICompileUnit CU = DBuilder.createCompileUnit(dwarf::DW_LANG_C99, local 238 DISubprogram Subprogram = DBuilder.createFunction(CU, "f", "f", File, 4, 315 // Test that the new subprogram entry was not added to the CU which doesn't
|
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | GCOVProfiling.cpp | 129 std::string mangleName(DICompileUnit CU, const char *NewStem); 424 std::string GCOVProfiler::mangleName(DICompileUnit CU, const char *NewStem) { argument 432 if (CompileUnit == CU) { 440 SmallString<128> Filename = CU->getFilename(); 490 DICompileUnit CU = cast<MDCompileUnit>(CU_Nodes->getOperand(i)); local 492 raw_fd_ostream out(mangleName(CU, "gcno"), EC, sys::fs::F_None); 496 for (auto *SP : CU->getSubprograms()) { 573 DICompileUnit CU = cast<MDCompileUnit>(CU_Nodes->getOperand(i)); local 575 for (auto *SP : CU->getSubprograms()) { 849 DICompileUnit CU local [all...] |
/external/llvm/lib/Transforms/Utils/ |
H A D | CloneFunction.cpp | 168 static void AddOperand(DICompileUnit CU, MDSubprogramArray SPs, Metadata *NewSP) { argument 174 CU->replaceSubprograms(MDTuple::get(CU->getContext(), NewSPs)); 193 for (DICompileUnit CU : Finder.compile_units()) { 194 auto Subprograms = CU->getSubprograms(); 199 AddOperand(CU, Subprograms, NewSubprogram);
|
/external/llvm/tools/dsymutil/ |
H A D | DwarfLinker.cpp | 120 /// called after the CU's DIEs have been cloned. 663 sizeof(int32_t) + // Offset of CU in the .debug_info section 1042 /// keep. Store that information in \p CU's DIEInfo. 1044 const DebugMapObject &DMO, CompileUnit &CU, 1059 const DebugMapObject &DMO, CompileUnit &CU, 1233 auto CU = local 1238 return CU != Units.end() ? &*CU : nullptr; 1305 unsigned ParentIdx, CompileUnit &CU) { 1306 unsigned MyIdx = CU 1304 gatherDIEParents(const DWARFDebugInfoEntryMinimal *DIE, unsigned ParentIdx, CompileUnit &CU) argument 1633 keepDIEAndDenpendencies(const DWARFDebugInfoEntryMinimal &DIE, CompileUnit::DIEInfo &MyInfo, const DebugMapObject &DMO, CompileUnit &CU, unsigned Flags) argument 1683 lookForDIEsToKeep(const DWARFDebugInfoEntryMinimal &DIE, const DebugMapObject &DMO, CompileUnit &CU, unsigned Flags) argument [all...] |
/external/llvm/unittests/IR/ |
H A D | IRBuilderTest.cpp | 296 auto CU = DIB.createCompileUnit(dwarf::DW_LANG_Cobol74, "F.CBL", "/", local 299 DIB.createFunction(CU, "foo", "", File, 1, Type, false, true, 1, 0, true, F); 301 auto BarSP = DIB.createFunction(CU, "bar", "", File, 1, Type, false, true, 1,
|
/external/llvm/include/llvm/DebugInfo/DWARF/ |
H A D | DWARFUnit.h | 76 auto *CU = std::upper_bound(this->begin(), this->end(), Offset, variable 78 if (CU != this->end()) 79 return CU->get();
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DIE.cpp | 396 DwarfCompileUnit *CU = DD->lookupUnit(Entry.getUnit()); local 397 assert(CU && "CUDie should belong to a CU."); 398 Addr += CU->getDebugInfoOffset(); 400 AP->EmitLabelPlusOffset(CU->getSectionSym(), Addr,
|
H A D | DebugLocList.h | 21 DwarfCompileUnit *CU; member in struct:llvm::DebugLocList
|
H A D | DwarfAccelTable.cpp | 224 DwarfCompileUnit *CU = D->lookupUnit(HD->Die->getUnit()); local 225 assert(CU && "Accelerated DIE should belong to a CU."); 226 Asm->EmitInt32(HD->Die->getOffset() + CU->getDebugInfoOffset());
|
H A D | DwarfDebug.cpp | 333 template <typename Func> void forBothCUs(DwarfCompileUnit &CU, Func F) { argument 334 F(CU); 335 if (auto *SkelCU = CU.getSkeleton()) 350 auto &CU = SPMap[SP]; local 351 forBothCUs(*CU, [&](DwarfCompileUnit &CU) { 352 CU.constructAbstractSubprogramScopeDIE(Scope); 394 // skeleton CU and so we don't need to duplicate it here. 449 DwarfCompileUnit &CU = constructDwarfCompileUnit(CUNode); local 458 CU 1336 computeIndexValue(DwarfUnit *CU, const DIE *Die) argument 1571 const DwarfCompileUnit *CU = DebugLoc.CU; local 1711 DwarfCompileUnit *CU = it.first; local 1841 constructSkeletonCU(const DwarfCompileUnit &CU) argument 1888 getDwoLineTable(const DwarfCompileUnit &CU) argument 1907 addDwarfTypeUnitType(DwarfCompileUnit &CU, StringRef Identifier, DIE &RefDie, DICompositeType CTy) argument [all...] |
H A D | DwarfDebug.h | 179 SymbolCU(DwarfCompileUnit *CU, const MCSymbol *Sym) : Sym(Sym), CU(CU) {} argument 181 DwarfCompileUnit *CU; member in struct:llvm::SymbolCU 201 // Maps a CU DIE with its corresponding DwarfCompileUnit. 249 // If nonnull, stores the CU in which the previous subprogram was contained. 429 DwarfCompileUnit &constructSkeletonCU(const DwarfCompileUnit &CU); 448 /// emit it here if we don't have a skeleton CU for split dwarf. 521 void addDwarfTypeUnitType(DwarfCompileUnit &CU, StringRef Identifier, 550 /// Returns the previous CU tha [all...] |
H A D | DwarfUnit.cpp | 77 DwarfTypeUnit::DwarfTypeUnit(unsigned UID, DwarfCompileUnit &CU, AsmPrinter *A, argument 80 : DwarfUnit(UID, dwarf::DW_TAG_type_unit, CU.getCUNode(), A, DW, DWU), 81 CU(CU), SplitLineTable(SplitLineTable) { 173 // Combining type units and cross-CU DIE sharing is lower value (since 174 // cross-CU DIE sharing is used in LTO and removes type redundancy at that 335 // declarations for definitions in this CU, etc) consumers don't get confused 348 // We assume that Die belongs to this CU, if it is not linked to any CU yet. 1221 // Add subprogram definitions to the CU di [all...] |
H A D | DwarfUnit.h | 120 DwarfUnit(unsigned UID, dwarf::Tag, DICompileUnit CU, AsmPrinter *A, 414 DwarfCompileUnit &CU; member in class:llvm::DwarfTypeUnit 421 DwarfTypeUnit(unsigned UID, DwarfCompileUnit &CU, AsmPrinter *A, 435 DwarfCompileUnit &getCU() override { return CU; }
|
/external/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFCompileUnit.cpp | 25 const DWARFDebugInfoEntryMinimal *CU = getCompileUnitDIE(false); local 26 assert(CU && "Null Compile Unit?"); 27 CU->dump(OS, this, -1U);
|
H A D | DWARFContext.cpp | 88 for (const auto &CU : compile_units()) 89 CU->dump(OS); 141 for (const auto &CU : compile_units()) { 142 savedAddressByteSize = CU->getAddressByteSize(); 144 CU->getCompileUnitDIE()->getAttributeValueAsSectionOffset( 145 CU.get(), DW_AT_stmt_list, -1U); 382 static bool getFunctionNameForAddress(DWARFCompileUnit *CU, uint64_t Address, argument 391 CU->getInlinedChainForAddress(Address); 407 DWARFCompileUnit *CU = getCompileUnitForAddress(Address); local 408 if (!CU) 423 DWARFCompileUnit *CU = getCompileUnitForAddress(Address); local 466 DWARFCompileUnit *CU = getCompileUnitForAddress(Address); local [all...] |
H A D | DWARFTypeUnit.cpp | 36 const DWARFDebugInfoEntryMinimal *CU = getCompileUnitDIE(false); local 37 assert(CU && "Null Compile Unit?"); 38 CU->dump(OS, this, -1U);
|
/external/llvm/lib/IR/ |
H A D | DebugInfo.cpp | 78 auto *CU = cast<MDCompileUnit>(CU_Nodes->getOperand(CUi)); local 79 DIArray Retain = CU->getRetainedTypes(); 126 DICompileUnit CU = cast<MDCompileUnit>(CU_Nodes->getOperand(i)); local 127 addCompileUnit(CU); 128 for (DIGlobalVariable DIG : CU->getGlobalVariables()) { 134 for (auto *SP : CU->getSubprograms()) 136 for (auto *ET : CU->getEnumTypes()) 138 for (auto *RT : CU->getRetainedTypes()) 140 for (DIImportedEntity Import : CU->getImportedEntities()) { 190 if (DICompileUnit CU 265 addCompileUnit(DICompileUnit CU) argument [all...] |
H A D | Type.cpp | 656 const ConstantInt *CU = dyn_cast_or_null<ConstantInt>(C); local 657 return CU && CU->getZExtValue() < STy->getNumElements();
|
/external/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 1272 DICompileUnit CU = cast<MDCompileUnit>(CompileUnits->getOperand(I)); local 1273 assert(CU && "Expected valid compile unit"); 1275 for (MDSubprogram *SP : CU->getSubprograms()) {
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64AsmBackend.cpp | 264 namespace CU { namespace in namespace:__anon10650 299 } // end CU namespace 325 return CU::UNWIND_AArch64_MODE_FRAMELESS; 337 return CU::UNWIND_AArch64_MODE_DWARF; 362 CompactUnwindEncoding |= CU::UNWIND_AArch64_MODE_FRAME; 376 return CU::UNWIND_AArch64_MODE_DWARF; 380 return CU::UNWIND_AArch64_MODE_DWARF; 396 CompactUnwindEncoding |= CU::UNWIND_AArch64_FRAME_X19_X20_PAIR; 399 CompactUnwindEncoding |= CU::UNWIND_AArch64_FRAME_X21_X22_PAIR; 402 CompactUnwindEncoding |= CU [all...] |
/external/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86AsmBackend.cpp | 403 namespace CU { namespace in namespace:__anon10904 427 } // end CU namespace 547 return CU::UNWIND_MODE_DWARF; 563 return CU::UNWIND_MODE_DWARF; 567 if (RegEnc == ~0U) return CU::UNWIND_MODE_DWARF; 569 CompactUnwindEncoding |= CU::UNWIND_MODE_BP_FRAME; 571 CompactUnwindEncoding |= RegEnc & CU::UNWIND_BP_FRAME_REGISTERS; 581 return CU::UNWIND_MODE_DWARF; 588 CompactUnwindEncoding |= CU::UNWIND_MODE_STACK_IMMD; 595 return CU [all...] |
/external/llvm/lib/Transforms/IPO/ |
H A D | GlobalOpt.cpp | 2120 ConstantInt *CU = cast<ConstantInt>(Addr->getOperand(OpNo)); local 2121 unsigned Idx = CU->getZExtValue();
|
/external/llvm/bindings/go/llvm/ |
H A D | DIBuilderBindings.cpp | 43 DICompileUnit CU = D->createCompileUnit(Lang, File, Dir, Producer, Optimized, local 45 return wrap(CU);
|
/external/clang/include/clang/AST/ |
H A D | CharUnits.h | 184 const clang::CharUnits &CU) { 185 return CU * Scale; 205 static unsigned getHashValue(const clang::CharUnits &CU) { argument 206 clang::CharUnits::QuantityType Quantity = CU.getQuantity(); 183 operator *(clang::CharUnits::QuantityType Scale, const clang::CharUnits &CU) argument
|
/external/clang/lib/AST/ |
H A D | ASTContext.cpp | 4901 std::string charUnitsToString(const CharUnits &CU) { argument 4902 return llvm::itostr(CU.getQuantity());
|