| /freebsd-14.2/contrib/llvm-project/lld/MachO/ |
| H A D | InputSection.h | 30 class InputSection { 39 virtual ~InputSection() = default; 72 InputSection(const InputSection &rhs) in InputSection() function 124 const InputSection *canonical() const override { in canonical() 128 static bool classof(const InputSection *isec) { in classof() 165 inline bool isCoalescedWeak(InputSection *isec) { in isCoalescedWeak() 297 bool isCodeSection(const InputSection *); 298 bool isCfStringSection(const InputSection *); 299 bool isClassRefsSection(const InputSection *); 300 bool isSelRefsSection(const InputSection *); [all …]
|
| H A D | MarkLive.cpp | 27 InputSection *isec; 31 WhyLiveEntry(InputSection *isec, const WhyLiveEntry *prev) in WhyLiveEntry() 39 virtual void enqueue(InputSection *isec, uint64_t off) = 0; 52 std::conditional_t<RecordWhyLive, WhyLiveEntry, InputSection>; 54 void enqueue(InputSection *isec, uint64_t off) override { in enqueue() 63 const InputSection *getInputSection(const WorklistEntry *) const; 76 InputSection *isec, uint64_t off, in enqueue() 121 const InputSection *MarkLiveImpl<RecordWhyLive>::getInputSection( in getInputSection() 132 InputSection *isec, in makeEntry() 180 InputSection *referentIsec = nullptr; in markTransitively() [all …]
|
| H A D | InputSection.cpp | 41 uint64_t InputSection::getFileSize() const { in getFileSize() 45 uint64_t InputSection::getVA(uint64_t off) const { in getVA() 68 std::string InputSection::getLocation(uint64_t off) const { in getLocation() 138 const Reloc *InputSection::getRelocAt(uint32_t off) const { in getRelocAt() 288 : InputSection(WordLiteralKind, section, data, align) { in WordLiteralInputSection() 321 bool macho::isCodeSection(const InputSection *isec) { in isCodeSection() 338 bool macho::isCfStringSection(const InputSection *isec) { in isCfStringSection() 343 bool macho::isClassRefsSection(const InputSection *isec) { in isClassRefsSection() 348 bool macho::isSelRefsSection(const InputSection *isec) { in isSelRefsSection() 353 bool macho::isEhFrameSection(const InputSection *isec) { in isEhFrameSection() [all …]
|
| H A D | Relocations.h | 24 class InputSection; variable 62 llvm::PointerUnion<Symbol *, InputSection *> referent = nullptr; 67 int64_t addend, llvm::PointerUnion<Symbol *, InputSection *> referent) in Reloc() 71 InputSection *getReferentInputSection() const; 74 bool validateSymbolRelocation(const Symbol *, const InputSection *, 118 InputSection *offsetToInputSection(uint64_t *);
|
| H A D | EhFrame.h | 93 EhRelocator(InputSection *isec) : isec(isec) {} in EhRelocator() 98 llvm::PointerUnion<Symbol *, InputSection *> target, 102 llvm::PointerUnion<Symbol *, InputSection *> target, 108 InputSection *isec;
|
| H A D | Relocations.cpp | 24 InputSection *Reloc::getReferentInputSection() const { in getReferentInputSection() 30 return referent.get<InputSection *>(); in getReferentInputSection() 35 const InputSection *isec, const Reloc &r) { in validateSymbolRelocation() 65 InputSection *macho::offsetToInputSection(uint64_t *off) { in offsetToInputSection() 99 const InputSection *isec = offsetToInputSection(&off); in reportRangeError()
|
| H A D | SectionPriorities.h | 17 using SectionPair = std::pair<const InputSection *, const InputSection *>; 55 llvm::DenseMap<const InputSection *, size_t> buildInputSectionPriorities();
|
| H A D | SymbolTable.h | 25 class InputSection; variable 39 Defined *addDefined(StringRef name, InputFile *, InputSection *, 59 Defined *addSynthetic(StringRef name, InputSection *, uint64_t value, 78 void treatUndefinedSymbol(const Undefined &, const InputSection *,
|
| H A D | SectionPriorities.cpp | 69 DenseMap<const InputSection *, size_t> run(); 73 std::vector<const InputSection *> sections; 83 DenseMap<const InputSection *, int> secToCluster; in CallGraphSort() 85 auto getOrCreateCluster = [&](const InputSection *isec) -> int { in CallGraphSort() 159 DenseMap<const InputSection *, size_t> CallGraphSort::run() { in run() 207 DenseMap<const InputSection *, size_t> orderMap; in run() 233 const InputSection *isec = sections[i]; in run() 352 DenseMap<const InputSection *, size_t> 354 DenseMap<const InputSection *, size_t> sectionPriorities; in buildInputSectionPriorities()
|
| H A D | EhFrame.cpp | 109 static void createSubtraction(PointerUnion<Symbol *, InputSection *> a, in createSubtraction() 110 PointerUnion<Symbol *, InputSection *> b, in createSubtraction() 127 PointerUnion<Symbol *, InputSection *> target, in makePcRel() 133 uint64_t off, PointerUnion<Symbol *, InputSection *> target, in makeNegativePcRel()
|
| H A D | Writer.h | 17 class InputSection; variable 33 void addNonLazyBindingEntries(const Symbol *, const InputSection *,
|
| /freebsd-14.2/contrib/llvm-project/lld/ELF/ |
| H A D | ICF.cpp | 113 bool equalsConstant(const InputSection *a, const InputSection *b); 114 bool equalsVariable(const InputSection *a, const InputSection *b); 123 SmallVector<InputSection *, 0> sections; 161 static bool isEligible(InputSection *s) { in isEligible() 285 if (isa<InputSection>(da->section)) { in constantEq() 314 bool ICF<ELFT>::equalsConstant(const InputSection *a, const InputSection *b) { in equalsConstant() 354 auto *x = dyn_cast<InputSection>(da->section); in variableEq() 357 auto *y = cast<InputSection>(db->section); in variableEq() 372 bool ICF<ELFT>::equalsVariable(const InputSection *a, const InputSection *b) { in equalsVariable() 483 auto *s = dyn_cast<InputSection>(sec); in run() [all …]
|
| H A D | InputSection.cpp | 193 InputSection *sec; in getOutputSection() 312 InputSection InputSection::discarded(nullptr, 0, 0, 0, ArrayRef<uint8_t>(), ""); 314 InputSection::InputSection(InputFile *f, uint64_t flags, uint32_t type, in InputSection() function in InputSection 322 InputSection::InputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, in InputSection() function in InputSection 593 InputSection *isec = cast<InputSection>(d->section); in getRISCVPCRelHi20() 1141 if (InputSection *isec = cast_or_null<InputSection>(d->section)) in adjustSplitStackFunctionPrologues() 1207 void InputSection::replace(InputSection *other) { in replace() 1389 template InputSection::InputSection(ObjFile<ELF32LE> &, const ELF32LE::Shdr &, 1391 template InputSection::InputSection(ObjFile<ELF32BE> &, const ELF32BE::Shdr &, 1393 template InputSection::InputSection(ObjFile<ELF64LE> &, const ELF64LE::Shdr &, [all …]
|
| H A D | ARMErrataFix.cpp | 73 Patch657417Section(InputSection *p, uint64_t off, uint32_t instr, bool isARM); 87 const InputSection *patchee; 136 Patch657417Section::Patch657417Section(InputSection *p, uint64_t off, in Patch657417Section() 206 static bool branchDestInFirstRegion(const InputSection *isec, uint64_t off, in branchDestInFirstRegion() 229 static bool patchInRange(const InputSection *isec, uint64_t off, in patchInRange() 338 if (auto *sec = dyn_cast_or_null<InputSection>(def->section)) in init() 377 for (const InputSection *isec : isd.sections) { in insertPatches() 396 SmallVector<InputSection *, 0> tmp; in insertPatches() 398 auto mergeCmp = [](const InputSection *a, const InputSection *b) { in insertPatches() 413 static void implementPatch(ScanResult sr, InputSection *isec, in implementPatch() [all …]
|
| H A D | OutputSections.h | 76 void commitSection(InputSection *isec); 120 SmallVector<InputSection *, 0> storage; 140 InputSection *getFirstInputSection(const OutputSection *os); 141 llvm::ArrayRef<InputSection *> 143 SmallVector<InputSection *, 0> &storage);
|
| H A D | AArch64ErrataFix.cpp | 337 static uint64_t scanCortexA53Errata843419(InputSection *isec, uint64_t &off, in scanCortexA53Errata843419() 375 Patch843419Section(InputSection *p, uint64_t off); 388 const InputSection *patchee; 395 Patch843419Section::Patch843419Section(InputSection *p, uint64_t off) in Patch843419Section() 450 if (auto *sec = dyn_cast_or_null<InputSection>(def->section)) in init() 494 for (const InputSection *isec : isd.sections) { in insertPatches() 515 SmallVector<InputSection *, 0> tmp; in insertPatches() 517 auto mergeCmp = [](const InputSection *a, const InputSection *b) { in insertPatches() 532 InputSection *isec, in implementPatch() 579 for (InputSection *isec : isd.sections) { in patchInputSectionDescription()
|
| H A D | InputSection.h | 202 llvm::TinyPtrVector<InputSection *> dependentSections; 207 InputSection *getLinkOrderDep() const; 374 class InputSection : public InputSectionBase { 376 InputSection(InputFile *f, uint64_t flags, uint32_t type, uint32_t addralign, 379 InputSection(ObjFile<ELFT> &f, const typename ELFT::Shdr &header, 408 InputSection *repl = this; 414 void replace(InputSection *other); 416 static InputSection discarded; 427 static_assert(sizeof(InputSection) <= 160, "InputSection is too big"); 429 class SyntheticSection : public InputSection { [all …]
|
| H A D | OutputSections.cpp | 116 void OutputSection::commitSection(InputSection *isec) { in commitSection() 199 isd->sections.push_back(cast<InputSection>(s)); in finalizeInputSections() 238 for (InputSection *s : isd->sections) in finalizeInputSections() 247 std::vector<std::pair<int, InputSection *>> v; in sortByOrder() 248 for (InputSection *s : in) in sortByOrder() 495 InputSection *isec = sections[i]; in writeTo() 580 InputSection *first = getFirstInputSection(this); in finalize() 650 static bool compCtors(const InputSection *a, const InputSection *b) { in compCtors() 693 ArrayRef<InputSection *> 696 ArrayRef<InputSection *> ret; in getInputSections() [all …]
|
| H A D | Relocations.h | 19 class InputSection; variable 161 ThunkSection *getISDThunkSec(OutputSection *os, InputSection *isec, 165 ThunkSection *getISThunkSec(InputSection *isec); 169 std::pair<Thunk *, bool> getThunk(InputSection *isec, Relocation &rel, 197 llvm::DenseMap<InputSection *, ThunkSection *> thunkedSections;
|
| H A D | Thunks.h | 48 virtual InputSection *getTargetInputSection() const { return nullptr; } in getTargetInputSection() 52 virtual bool isCompatibleWith(const InputSection &, in isCompatibleWith() argument 70 Thunk *addThunk(const InputSection &isec, Relocation &rel);
|
| H A D | Thunks.cpp | 103 bool isCompatibleWith(const InputSection &isec, 135 bool isCompatibleWith(const InputSection &isec, 323 InputSection *getTargetInputSection() const override; 334 InputSection *getTargetInputSection() const override; 387 bool isCompatibleWith(const InputSection &isec, 417 bool isCompatibleWith(const InputSection &isec, 443 bool isCompatibleWith(const InputSection &isec, 463 bool isCompatibleWith(const InputSection &isec, 982 return dyn_cast<InputSection>(dr.section); in getTargetInputSection() 1007 return dyn_cast<InputSection>(dr.section); in getTargetInputSection() [all …]
|
| H A D | InputFiles.cpp | 442 if (!s || s == &InputSection::discarded) in handleSectionGroup() 842 s = makeThreadLocal<InputSection>( in initializeSections() 882 InputSection *isec = cast<InputSection>(this->sections[i]); in initializeSections() 884 if (!isa<InputSection>(linkSec)) in initializeSections() 1008 return &InputSection::discarded; in createInputSection() 1020 return &InputSection::discarded; in createInputSection() 1031 return &InputSection::discarded; in createInputSection() 1034 return &InputSection::discarded; in createInputSection() 1042 return &InputSection::discarded; in createInputSection() 1051 return &InputSection::discarded; in createInputSection() [all …]
|
| H A D | DWARF.h | 20 class InputSection; variable 35 InputSection *getInfoSection() const { in getInfoSection() 36 return cast<InputSection>(infoSection.sec); in getInfoSection()
|
| H A D | AArch64ErrataFix.h | 19 class InputSection; variable 40 llvm::DenseMap<InputSection *, std::vector<const Defined *>> sectionMap;
|
| H A D | ARMErrataFix.h | 19 class InputSection; variable 40 llvm::DenseMap<InputSection *, std::vector<const Defined *>> sectionMap;
|