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

123

/freebsd-12-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DDWARFVisitor.h38 virtual void onStartCompileUnit(Unit &CU) {} argument
39 virtual void onEndCompileUnit(Unit &CU) {} argument
40 virtual void onStartDIE(Unit &CU, Entry &DIE) {} argument
41 virtual void onEndDIE(Unit &CU, Entry &DIE) {} argument
47 virtual void onStartCompileUnit(const Unit &CU) {} argument
48 virtual void onEndCompileUnit(const Unit &CU) {} argument
49 virtual void onStartDIE(const Unit &CU, const Entry &DIE) {} argument
50 virtual void onEndDIE(const Unit &CU, const Entry &DIE) {} argument
H A DDWARFEmitter.cpp140 void onStartCompileUnit(const DWARFYAML::Unit &CU) override {
141 writeInitialLength(CU.Length, OS, DebugInfo.IsLittleEndian);
142 writeInteger((uint16_t)CU.Version, OS, DebugInfo.IsLittleEndian);
143 if(CU.Version >= 5) {
144 writeInteger((uint8_t)CU.Type, OS, DebugInfo.IsLittleEndian);
145 writeInteger((uint8_t)CU.AddrSize, OS, DebugInfo.IsLittleEndian);
146 writeInteger((uint32_t)CU.AbbrOffset, OS, DebugInfo.IsLittleEndian);
148 writeInteger((uint32_t)CU.AbbrOffset, OS, DebugInfo.IsLittleEndian);
149 writeInteger((uint8_t)CU.AddrSize, OS, DebugInfo.IsLittleEndian);
153 void onStartDIE(const DWARFYAML::Unit &CU,
317 onStartCompileUnit(DWARFYAML::Unit &CU) argument
322 onEndCompileUnit(DWARFYAML::Unit &CU) argument
326 onStartDIE(DWARFYAML::Unit &CU, DWARFYAML::Entry &DIE) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp74 for (DICompileUnit *CU : Finder.compile_units()) {
76 auto Lang = dwarf::LanguageString(CU->getSourceLanguage());
80 O << "unknown-language(" << CU->getSourceLanguage() << ")";
81 printFile(O, CU->getFilename(), CU->getDirectory());
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h282 SymbolCU(DwarfCompileUnit *CU, const MCSymbol *Sym) : Sym(Sym), CU(CU) {} argument
285 DwarfCompileUnit *CU; member in struct:llvm::SymbolCU
304 /// Maps a CU DIE with its corresponding DwarfCompileUnit.
329 /// If nonnull, stores the CU in which the previous subprogram was contained.
429 void ensureAbstractEntityIsCreated(DwarfCompileUnit &CU,
432 void ensureAbstractEntityIsCreatedIfScoped(DwarfCompileUnit &CU,
446 void constructCallSiteEntryDIEs(const DISubprogram &SP, DwarfCompileUnit &CU,
450 void addAccelNameImpl(const DICompileUnit &CU, AccelTabl
[all...]
H A DDebugLocStream.h34 DwarfCompileUnit *CU; member in struct:llvm::DebugLocStream::List
37 List(DwarfCompileUnit *CU, size_t EntryOffset) argument
38 : CU(CU), EntryOffset(EntryOffset) {}
80 size_t startList(DwarfCompileUnit *CU) { argument
82 Lists.emplace_back(CU, Entries.size());
165 ListBuilder(DebugLocStream &Locs, DwarfCompileUnit &CU, AsmPrinter &Asm, argument
167 : Locs(Locs), Asm(Asm), V(V), MI(MI), ListIndex(Locs.startList(&CU)),
H A DDwarfExpression.h117 DwarfCompileUnit &CU; member in class:llvm::DwarfExpression
273 DwarfExpression(unsigned DwarfVersion, DwarfCompileUnit &CU)
274 : CU(CU), SubRegisterSizeInBits(0), SubRegisterOffsetInBits(0),
379 DwarfCompileUnit &CU)
380 : DwarfExpression(DwarfVersion, CU), OutBS(BS) {}
407 DIEDwarfExpression(const AsmPrinter &AP, DwarfCompileUnit &CU, DIELoc &DIE);
H A DDwarfDebug.cpp456 void DwarfDebug::addSubprogramNames(const DICompileUnit &CU,
459 CU.getNameTableKind() == DICompileUnit::DebugNameTableKind::None)
466 addAccelName(CU, SP->getName(), Die);
473 addAccelName(CU, SP->getLinkageName(), Die);
480 addAccelObjC(CU, Class, Die);
482 addAccelObjC(CU, Category, Die);
484 addAccelName(CU, getObjCMethodName(SP->getName()), Die);
507 template <typename Func> static void forBothCUs(DwarfCompileUnit &CU, Func F) {
508 F(CU);
509 if (auto *SkelCU = CU
[all...]
H A DDwarfFile.cpp47 // because they added no information beyond the non-split CU)
61 // Offset from the first CU in the debug info section is 0 initially.
65 // DIE within each compile unit. All offsets are CU relative.
71 // because they added no information beyond the non-split CU)
81 // CU-relative offset is reset to 0 here.
85 // The return value here is CU-relative, after laying out
86 // all of the CU DIE.
91 // CU. It returns the offset after laying out the DIE.
127 DwarfFile::addRange(const DwarfCompileUnit &CU, SmallVector<RangeSpan, 2> R) { argument
129 RangeSpanList{Asm->createTempSymbol("debug_ranges"), &CU, st
[all...]
H A DDwarfFile.h43 const DwarfCompileUnit *CU; member in struct:llvm::RangeSpanList
63 // the CU itself.
104 std::pair<uint32_t, RangeSpanList *> addRange(const DwarfCompileUnit &CU,
/freebsd-12-stable/usr.bin/tip/tip/
H A Dremote.c63 &AT, &DV, &CM, &CU, &EL, &IE, &OE, &PN, &PR, &DI,
98 CU = DV;
142 if (DU && CU == NOSTR)
143 CU = DV;
160 HW = (CU == NOSTR) || (DU && equal(DV, CU));
H A Dacu.c56 * The phone numbers are in PN, and the call unit is in CU.
114 conflag = (*acu->acu_dialer)(phnum, CU);
141 conflag = (*acu->acu_dialer)(phnum, CU);
H A Dcu.c62 CU = DV = NOSTR;
87 CU = optarg;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AsmBackend.cpp507 namespace CU { namespace in namespace:__anon4937
542 } // end CU namespace
576 return CU::UNWIND_ARM64_MODE_FRAMELESS;
588 return CU::UNWIND_ARM64_MODE_DWARF;
599 return CU::UNWIND_ARM64_MODE_DWARF;
621 CompactUnwindEncoding |= CU::UNWIND_ARM64_MODE_FRAME;
635 return CU::UNWIND_ARM64_MODE_DWARF;
639 return CU::UNWIND_ARM64_MODE_DWARF;
655 CompactUnwindEncoding |= CU::UNWIND_ARM64_FRAME_X19_X20_PAIR;
658 CompactUnwindEncoding |= CU
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugAranges.cpp53 for (const auto &CU : CTX->compile_units()) {
54 uint64_t CUOffset = CU->getOffset();
56 Expected<DWARFAddressRangesVector> CURanges = CU->collectAddressRanges();
90 // CU, first try to extend the last range in Aranges. If we can't
H A DDWARFContext.cpp155 // the CU DIE's DW_AT_str_offsets attribute). The header is located either
679 if (auto *CU = NormalUnits.getUnitForOffset(Offset))
680 return CU->getDIEForOffset(Offset);
945 DWARFCompileUnit *CU = getCompileUnitForAddress(Address); local
946 if (!CU)
949 Result.CompileUnit = CU;
950 Result.FunctionDIE = CU->getSubroutineForAddress(Address);
976 static bool getFunctionNameAndStartLineForAddress(DWARFCompileUnit *CU, argument
985 CU->getInlinedChainForAddress(Address, InlinedChain);
1080 void DWARFContext::addLocalsForDie(DWARFCompileUnit *CU, DWARFDi argument
1149 DWARFCompileUnit *CU = getCompileUnitForAddress(Address.Address); local
1163 DWARFCompileUnit *CU = getCompileUnitForAddress(Address.Address); local
1182 DWARFCompileUnit *CU = getCompileUnitForAddress(Address.Address); local
1231 DWARFCompileUnit *CU = getCompileUnitForAddress(Address.Address); local
[all...]
H A DDWARFVerifier.cpp388 // In such a case, when the Die is the CU, the ranges will overlap, and we
391 // For such targets, we should read the ranges from the CU and partition them
398 // For now, simply elide the range verification for the CU DIEs if we are
544 // Verify all CU relative references are valid CU offsets.
552 error() << FormEncodingString(Form) << " CU offset "
554 << " is invalid (must be less than CU size of "
661 for (const auto &CU : DCtx.compile_units()) {
662 auto Die = CU->getUnitDIE();
670 auto LineTable = DCtx.getLineTableForUnit(CU
1444 auto *CU = cast<DWARFCompileUnit>(U.get()); local
[all...]
H A DDWARFAcceleratorTable.cpp370 W.printNumber("CU count", CompUnitCount);
550 // In a per-CU index, the entries without a DW_IDX_compile_unit attribute
551 // implicitly refer to the single CU.
580 uint64_t DWARFDebugNames::NameIndex::getCUOffset(uint32_t CU) const {
581 assert(CU < Hdr.CompUnitCount);
582 uint64_t Offset = CUsBase + 4 * CU;
687 for (uint32_t CU = 0; CU < Hdr.CompUnitCount; ++CU)
688 W.startLine() << format("CU[
[all...]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/AST/
H A DCharUnits.h213 const clang::CharUnits &CU) {
214 return CU * Scale;
234 static unsigned getHashValue(const clang::CharUnits &CU) { argument
235 clang::CharUnits::QuantityType Quantity = CU.getQuantity();
212 operator *(clang::CharUnits::QuantityType Scale, const clang::CharUnits &CU) argument
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfo.cpp63 for (auto *CU : M.debug_compile_units())
64 processCompileUnit(CU);
76 void DebugInfoFinder::processCompileUnit(DICompileUnit *CU) { argument
77 if (!addCompileUnit(CU))
79 for (auto DIG : CU->getGlobalVariables()) {
86 for (auto *ET : CU->getEnumTypes())
88 for (auto *RT : CU->getRetainedTypes())
93 for (auto *Import : CU->getImportedEntities()) {
155 if (auto *CU = dyn_cast<DICompileUnit>(Scope)) {
156 addCompileUnit(CU);
239 addCompileUnit(DICompileUnit *CU) argument
475 getReplacementCU(DICompileUnit *CU) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugInfo.h46 /// 2) Delete all non-CU named metadata debug info nodes.
48 /// 4) Create a new CU debug info, and similarly for every metadata node
49 /// that's reachable from the CU debug info.
84 void processCompileUnit(DICompileUnit *CU);
88 bool addCompileUnit(DICompileUnit *CU);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAsmBackend.cpp1060 namespace CU { namespace
1086 } // end CU namespace
1133 return CU::UNWIND_ARM_MODE_DWARF;
1146 return CU::UNWIND_ARM_MODE_DWARF;
1160 return CU::UNWIND_ARM_MODE_DWARF;
1170 return CU::UNWIND_ARM_MODE_DWARF;
1175 return CU::UNWIND_ARM_MODE_DWARF;
1177 uint32_t CompactUnwindEncoding = CU::UNWIND_ARM_MODE_FRAME;
1196 return CU::UNWIND_ARM_MODE_DWARF;
1203 } GPRCSRegs[] = {{ARM::R6, CU
[all...]
/freebsd-12-stable/share/i18n/csmapper/ISO646/
H A DMakefile12 ISO646-CN%UCS.646 ISO646-CU%UCS.646 ISO646-DE%UCS.646 \
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp315 for (const auto &CU : CUs)
316 for (const auto &Entry : CU->dies()) {
317 DWARFDie Die = {CU.get(), &Entry};
343 DWARFCompileUnit *CU = DICtx.getCompileUnitForOffset(*CUOff);
344 if (!CU)
347 if (llvm::Optional<uint64_t> DWOId = CU->getDWOId()) {
349 CU = DICtx.getDWOCompileUnitForHash(*DWOId);
350 if (!CU)
354 return CU->getDIEForOffset(CU
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerCompileUnit.cpp26 DWARFDie CU = getOrigUnit().getUnitDIE(); local
27 Language = dwarf::toUnsigned(CU.find(dwarf::DW_AT_language), 0);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DGlobalStatus.cpp53 if (const Constant *CU = dyn_cast<Constant>(U)) {
54 if (!isSafeToDestroyConstant(CU))

Completed in 209 milliseconds

123