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

12

/external/llvm/lib/DebugInfo/
H A DDWARFCompileUnit.cpp25 const DWARFDebugInfoEntryMinimal *CU = getCompileUnitDIE(false); local
26 assert(CU && "Null Compile Unit?");
27 CU->dump(OS, this, -1U);
H A DDWARFTypeUnit.cpp36 const DWARFDebugInfoEntryMinimal *CU = getCompileUnitDIE(false); local
37 assert(CU && "Null Compile Unit?");
38 CU->dump(OS, this, -1U);
H A DDWARFContext.cpp76 for (const auto &CU : compile_units())
77 CU->dump(OS);
127 for (const auto &CU : compile_units()) {
128 savedAddressByteSize = CU->getAddressByteSize();
130 CU->getCompileUnitDIE()->getAttributeValueAsSectionOffset(
131 CU.get(), DW_AT_stmt_list, -1U);
321 std::unique_ptr<DWARFCompileUnit> CU(new DWARFCompileUnit(
325 if (!CU->extract(DIData, &offset)) {
328 CUs.push_back(std::move(CU));
413 std::unique_ptr<DWARFCompileUnit> *CU local
428 getFileNameForCompileUnit(DWARFCompileUnit *CU, const DWARFLineTable *LineTable, uint64_t FileIndex, FileLineInfoKind Kind, std::string &FileName) argument
448 getFileLineInfoForCompileUnit(DWARFCompileUnit *CU, const DWARFLineTable *LineTable, uint64_t Address, FileLineInfoKind Kind, DILineInfo &Result) argument
469 getFunctionNameForAddress(DWARFCompileUnit *CU, uint64_t Address, FunctionNameKind Kind, std::string &FunctionName) argument
494 DWARFCompileUnit *CU = getCompileUnitForAddress(Address); local
509 DWARFCompileUnit *CU = getCompileUnitForAddress(Address); local
552 DWARFCompileUnit *CU = getCompileUnitForAddress(Address); local
[all...]
H A DDWARFDebugAranges.cpp50 for (const auto &CU : CTX->compile_units()) {
51 uint32_t CUOffset = CU->getOffset();
54 CU->collectAddressRanges(CURanges);
86 // CU, first try to extend the last range in Aranges. If we can't
/external/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AsmBackend.cpp262 namespace CU { namespace in namespace:__anon25956
297 } // end CU namespace
359 return CU::UNWIND_AArch64_MODE_FRAMELESS;
371 return CU::UNWIND_AArch64_MODE_DWARF;
396 CompactUnwindEncoding |= CU::UNWIND_AArch64_MODE_FRAME;
410 return CU::UNWIND_AArch64_MODE_DWARF;
414 return CU::UNWIND_AArch64_MODE_DWARF;
430 CompactUnwindEncoding |= CU::UNWIND_AArch64_FRAME_X19_X20_PAIR;
433 CompactUnwindEncoding |= CU::UNWIND_AArch64_FRAME_X21_X22_PAIR;
436 CompactUnwindEncoding |= CU
[all...]
/external/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp59 for (DICompileUnit CU : Finder.compile_units()) {
61 CU.print(O);
/external/clang/include/clang/AST/
H A DCharUnits.h184 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/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h146 SymbolCU(DwarfCompileUnit *CU, const MCSymbol *Sym) : Sym(Sym), CU(CU) {} argument
148 DwarfCompileUnit *CU; member in struct:llvm::SymbolCU
174 // Maps a CU DIE with its corresponding DwarfCompileUnit.
250 // If nonnull, stores the CU in which the previous subprogram was contained.
483 DwarfCompileUnit &constructSkeletonCU(const DwarfCompileUnit &CU);
502 /// emit it here if we don't have a skeleton CU for split dwarf.
598 void addDwarfTypeUnitType(DwarfCompileUnit &CU, StringRef Identifier,
632 /// Returns the previous CU tha
[all...]
H A DDwarfDebug.cpp368 // CU's DW_AT_GNU_ranges_base.
650 // skeleton CU and so we don't need to duplicate it here.
749 DwarfCompileUnit &CU = constructDwarfCompileUnit(CUNode); local
759 CU.createGlobalVariableDIE(DIGlobalVariable(GVs.getElement(i)));
762 SPMap.insert(std::make_pair(SPs.getElement(i), &CU));
765 CU.getOrCreateTypeDIE(EnumTypes.getElement(i));
772 CU.getOrCreateTypeDIE(UniqueTy);
777 constructImportedEntityDIE(CU, ImportedEntities.getElement(i));
819 // Perhaps the subprogram is in another CU (such as due to comdat
858 "CU'
1828 computeIndexValue(DwarfUnit *CU, const DIE *Die) argument
2042 const DwarfCompileUnit *CU = Entry.getCU(); local
2162 DwarfCompileUnit *CU = it.first; local
2304 constructSkeletonCU(const DwarfCompileUnit &CU) argument
2322 DwarfCompileUnit &CU = static_cast<DwarfCompileUnit &>( local
2372 getDwoLineTable(const DwarfCompileUnit &CU) argument
2391 addDwarfTypeUnitType(DwarfCompileUnit &CU, StringRef Identifier, DIE &RefDie, DICompositeType CTy) argument
[all...]
H A DDIE.cpp384 DwarfCompileUnit *CU = DD->lookupUnit(Entry.getUnit()); local
385 assert(CU && "CUDie should belong to a CU.");
386 Addr += CU->getDebugInfoOffset();
388 AP->EmitLabelPlusOffset(CU->getSectionSym(), Addr,
391 AP->EmitLabelOffsetDifference(CU->getSectionSym(), Addr,
392 CU->getSectionSym(),
H A DDwarfUnit.h120 // the CU itself.
144 DwarfUnit(unsigned UID, dwarf::Tag, DICompileUnit CU, AsmPrinter *A,
563 DwarfCompileUnit &CU; member in class:llvm::DwarfTypeUnit
567 DwarfTypeUnit(unsigned UID, DwarfCompileUnit &CU, AsmPrinter *A,
582 DwarfCompileUnit &getCU() override { return CU; }
H A DDwarfUnit.cpp61 DwarfTypeUnit::DwarfTypeUnit(unsigned UID, DwarfCompileUnit &CU, AsmPrinter *A, argument
64 : DwarfUnit(UID, dwarf::DW_TAG_type_unit, CU.getCUNode(), A, DW, DWU),
65 CU(CU), SplitLineTable(SplitLineTable) {
133 // Combining type units and cross-CU DIE sharing is lower value (since
134 // cross-CU DIE sharing is used in LTO and removes type redundancy at that
367 // declarations for definitions in this CU, etc) consumers don't get confused
380 // We assume that Die belongs to this CU, if it is not linked to any CU yet.
1386 // Add subprogram definitions to the CU di
[all...]
/external/llvm/unittests/Transforms/DebugIR/
H A DDebugIR.cpp282 DICompileUnit CU(*Finder.compile_units().begin());
284 // Verify original CU information is retained
285 ASSERT_EQ(Filename, CU.getFilename());
286 ASSERT_EQ(cwd, CU.getDirectory());
287 ASSERT_EQ(Producer, CU.getProducer());
/external/llvm/lib/Transforms/Utils/
H A DGlobalStatus.cpp39 if (const Constant *CU = dyn_cast<Constant>(U)) {
40 if (!isSafeToDestroyConstant(CU))
H A DCloneFunction.cpp192 for (DICompileUnit CU : Finder.compile_units()) {
193 DIArray Subprograms(CU.getSubprograms());
/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp404 namespace CU { namespace in namespace:__anon26170
428 } // end CU namespace
528 return CU::UNWIND_MODE_DWARF;
544 return CU::UNWIND_MODE_DWARF;
548 if (RegEnc == ~0U) return CU::UNWIND_MODE_DWARF;
550 CompactUnwindEncoding |= CU::UNWIND_MODE_BP_FRAME;
552 CompactUnwindEncoding |= RegEnc & CU::UNWIND_BP_FRAME_REGISTERS;
562 return CU::UNWIND_MODE_DWARF;
569 CompactUnwindEncoding |= CU::UNWIND_MODE_STACK_IMMD;
576 return CU
[all...]
/external/llvm/lib/IR/
H A DDebugInfo.cpp956 /// Update DITypeIdentifierMap by going through retained types of each CU.
961 DICompileUnit CU(CU_Nodes->getOperand(CUi));
962 DIArray Retain = CU.getRetainedTypes();
1010 DICompileUnit CU(CU_Nodes->getOperand(i));
1011 addCompileUnit(CU);
1012 DIArray GVs = CU.getGlobalVariables();
1020 DIArray SPs = CU.getSubprograms();
1023 DIArray EnumTypes = CU.getEnumTypes();
1026 DIArray RetainedTypes = CU.getRetainedTypes();
1029 DIArray Imports = CU
1171 addCompileUnit(DICompileUnit CU) argument
[all...]
H A DType.cpp651 const ConstantInt *CU = dyn_cast_or_null<ConstantInt>(C); local
652 return CU && CU->getZExtValue() < STy->getNumElements();
H A DVerifier.cpp2546 for (DICompileUnit CU : Finder.compile_units()) {
2547 Assert1(CU.Verify(), "DICompileUnit does not Verify!", CU);
/external/llvm/lib/Transforms/Instrumentation/
H A DDebugIR.cpp129 // Remove CU named metadata (and all children nodes)
161 // CU nodes needed when creating DI subprograms
280 // save fields from existing CU to re-use in the new CU
299 DICompileUnit CU(CUNode);
301 LexicalBlockFileNode = Builder.createLexicalBlockFile(CU, DIFile(FileNode));
477 DICompileUnit CU(CUNode->getOperand(0));
478 if (!CU.Verify())
481 Filename = CU.getFilename();
482 Directory = CU
[all...]
H A DGCOVProfiling.cpp131 std::string mangleName(DICompileUnit CU, const char *NewStem);
417 std::string GCOVProfiler::mangleName(DICompileUnit CU, const char *NewStem) { argument
425 if (CompileUnit == CU) {
433 SmallString<128> Filename = CU.getFilename();
482 DICompileUnit CU(CU_Nodes->getOperand(i));
484 raw_fd_ostream out(mangleName(CU, "gcno").c_str(), ErrorInfo,
488 DIArray SPs = CU.getSubprograms();
492 "A MDNode in subprograms of a CU should be null or a DISubprogram.");
569 DICompileUnit CU(CU_Nodes->getOperand(i));
570 DIArray SPs = CU
[all...]
/external/llvm/unittests/Transforms/Utils/
H A DCloning.cpp237 DICompileUnit CU = DBuilder.createCompileUnit(dwarf::DW_LANG_C99, local
240 DISubprogram Subprogram = DBuilder.createFunction(CU, "f", "f", File, 4,
313 // Test that the new subprogram entry was not added to the CU which doesn't
/external/llvm/lib/Transforms/Scalar/
H A DSampleProfile.cpp972 DICompileUnit CU(CUNodes->getOperand(I));
973 DIArray Subprograms = CU.getSubprograms();
/external/llvm/unittests/CodeGen/
H A DDIEHashTest.cpp61 DIE CU(dwarf::DW_TAG_compile_unit);
78 CU.addChild(std::move(Space));
/external/llvm/include/llvm/IR/
H A DDebugInfo.h831 /// Construct DITypeIdentifierMap by going through retained types of each CU.
880 bool addCompileUnit(DICompileUnit CU);

Completed in 1174 milliseconds

12