| /freebsd-14.2/contrib/llvm-project/lld/MachO/ |
| H A D | ICF.cpp | 33 ICF(std::vector<ConcatInputSection *> &inputs); 44 bool equalsConstant(const ConcatInputSection *ia, 46 bool equalsVariable(const ConcatInputSection *ia, 51 std::vector<ConcatInputSection *> icfInputs; 154 if (isa<ConcatInputSection>(isecA)) in equalsConstant() 185 const ConcatInputSection *isecA, *isecB; in equalsVariable() 201 isecA = dyn_cast<ConcatInputSection>(sa); in equalsVariable() 204 isecB = cast<ConcatInputSection>(sb); in equalsVariable() 314 icfInputs, [](const ConcatInputSection *a, const ConcatInputSection *b) { in run() 351 [&](ConcatInputSection *isec) { in segregate() [all …]
|
| H A D | ObjC.cpp | 138 const ConcatInputSection *isec; 156 void parseCategory(const ConcatInputSection *catListIsec); 160 void parseMethods(const ConcatInputSection *methodsIsec, 162 const ConcatInputSection *containerIsec, 249 void ObjcCategoryChecker::parseCategory(const ConcatInputSection *catIsec) { in parseCategory() 260 parseMethods(cast<ConcatInputSection>(r->getReferentInputSection()), in parseCategory() 265 parseMethods(cast<ConcatInputSection>(r->getReferentInputSection()), in parseCategory() 273 [&](const InputSection *classIsec) -> ConcatInputSection * { in parseClass() 279 if (auto *methodsIsec = cast_or_null<ConcatInputSection>( in parseClass() 288 const auto *classIsec = cast<ConcatInputSection>(classSym->isec); in parseClass() [all …]
|
| H A D | ConcatOutputSection.h | 31 const ConcatInputSection *firstSection() const { return inputs.front(); } in firstSection() 32 const ConcatInputSection *lastSection() const { return inputs.back(); } in lastSection() 45 void addInput(ConcatInputSection *input); 54 std::vector<ConcatInputSection *> inputs; 59 void finalizeOne(ConcatInputSection *); 78 std::vector<ConcatInputSection *> thunks; 94 ConcatInputSection *isec = nullptr; // input section for active thunk
|
| H A D | InputSection.h | 105 class ConcatInputSection final : public InputSection { 107 ConcatInputSection(const Section §ion, ArrayRef<uint8_t> data, 120 void foldIdentical(ConcatInputSection *redundant); 121 ConcatInputSection *canonical() override { in canonical() 133 ConcatInputSection *replacement = nullptr; 152 ConcatInputSection *makeSyntheticInputSection(StringRef segName, 161 return isa<ConcatInputSection>(isec) && in shouldOmitFromOutput() 162 cast<ConcatInputSection>(isec)->shouldOmitFromOutput(); in shouldOmitFromOutput() 166 return isa<ConcatInputSection>(isec) && in isCoalescedWeak() 167 cast<ConcatInputSection>(isec)->isCoalescedWeak(); in isCoalescedWeak() [all …]
|
| H A D | ConcatOutputSection.cpp | 28 void ConcatOutputSection::addInput(ConcatInputSection *input) { in addInput() 128 for (ConcatInputSection *isec : inputs) in needsThunks() 134 for (ConcatInputSection *isec : inputs) { in needsThunks() 196 void ConcatOutputSection::finalizeOne(ConcatInputSection *isec) { in finalizeOne() 206 for (ConcatInputSection *isec : inputs) in finalizeContents() 212 for (ConcatInputSection *isec : inputs) in finalize() 238 ConcatInputSection *isec = inputs[callIdx]; in finalize() 364 for (ConcatInputSection *isec : inputs) in writeTo()
|
| H A D | MarkLive.cpp | 81 if (auto s = dyn_cast<ConcatInputSection>(isec)) { in enqueue() 155 auto *isec = cast<ConcatInputSection>(getInputSection(entry)); in markTransitively() 171 for (ConcatInputSection *isec : inputSections) { in markTransitively() 261 for (ConcatInputSection *isec : inputSections) { in markLive() 278 for (ConcatInputSection *isec : in.initOffsets->inputs()) in markLive()
|
| H A D | InputSection.cpp | 35 sizeof(ConcatInputSection) == sizeof(std::vector<Reloc>) + 88, 39 std::vector<ConcatInputSection *> macho::inputSections; 146 void ConcatInputSection::foldIdentical(ConcatInputSection *copy) { in foldIdentical() 168 void ConcatInputSection::writeTo(uint8_t *buf) { in writeTo() 230 ConcatInputSection *macho::makeSyntheticInputSection(StringRef segName, in makeSyntheticInputSection() 237 auto isec = make<ConcatInputSection>(section, data, align); in makeSyntheticInputSection()
|
| H A D | Relocations.cpp | 83 const ConcatInputSection *isec = osec->inputs[isecIdx]; in offsetToInputSection() 88 ConcatInputSection *isec = osec->inputs[isecIdx - 1]; in offsetToInputSection()
|
| H A D | InputFiles.cpp | 368 auto *isec = make<ConcatInputSection>( in parseSections() 413 auto *isec = make<ConcatInputSection>(section, data, align); in parseSections() 446 {frameOff, make<ConcatInputSection>(ehFrameSection, in splitEhFrames() 487 static Defined *findSymbolAtOffset(const ConcatInputSection *isec, in findSymbolAtOffset() 904 auto *concatIsec = cast<ConcatInputSection>(isec); in parseSymbols() 906 auto *nextIsec = make<ConcatInputSection>(*concatIsec); in parseSymbols() 948 ConcatInputSection *isec = make<ConcatInputSection>(section, data); in OpaqueFile() 1126 ConcatInputSection *isec = cast<ConcatInputSection>(subsection.isec); in registerCompactUnwind() 1156 ConcatInputSection *referentIsec; in registerCompactUnwind() 1173 referentIsec = cast<ConcatInputSection>(sym->isec); in registerCompactUnwind() [all …]
|
| H A D | SyntheticSections.h | 666 void addInput(ConcatInputSection *isec) { sections.push_back(isec); } in addInput() 667 const std::vector<ConcatInputSection *> &inputs() const { return sections; } in inputs() 670 std::vector<ConcatInputSection *> sections; 795 ConcatInputSection *objcSelrefs = nullptr; 798 ConcatInputSection *imageLoaderCache = nullptr;
|
| H A D | InputFiles.h | 44 class ConcatInputSection; variable 184 std::vector<ConcatInputSection *> debugSections; 186 llvm::DenseMap<ConcatInputSection *, FDE> fdes;
|
| H A D | SymbolTable.cpp | 117 if (auto concatIsec = dyn_cast_or_null<ConcatInputSection>(isec)) { in addDefined() 133 dyn_cast_or_null<ConcatInputSection>(defined->isec)) { in addDefined() 374 ConcatInputSection *isec = makeSyntheticInputSection(segName, sectName); in handleSectionBoundarySymbol()
|
| H A D | UnwindInfoSection.cpp | 143 void prepareRelocations(ConcatInputSection *); 227 void UnwindInfoSectionImpl::prepareRelocations(ConcatInputSection *isec) { in prepareRelocations()
|
| H A D | Symbols.h | 192 ConcatInputSection *unwindEntry = nullptr;
|
| H A D | SyntheticSections.cpp | 1030 if (cast<ConcatInputSection>(isec)->shouldOmitFromOutput()) in collectDataInCodeEntries() 1872 for (const ConcatInputSection *isec : sections) in getSize() 1879 for (ConcatInputSection *isec : sections) { in writeTo() 1904 for (const ConcatInputSection *isec : sections) { in setUp()
|
| H A D | Writer.cpp | 670 ConcatInputSection *isec = inputSections[i]; in scanRelocations() 1001 for (ConcatInputSection *isec : inputSections) { in createOutputSections()
|
| H A D | Driver.cpp | 611 auto *isec = make<ConcatInputSection>(*section, data, common->align); in replaceCommonSymbols() 1225 if (auto *isec = dyn_cast<ConcatInputSection>(subsection.isec)) { in gatherInputSections()
|
| /freebsd-14.2/contrib/llvm-project/lld/MachO/Arch/ |
| H A D | ARM64.cpp | 365 static void applyAdrpAdd(uint8_t *buf, const ConcatInputSection *isec, in applyAdrpAdd() 394 static void applyAdrpAdrp(uint8_t *buf, const ConcatInputSection *isec, in applyAdrpAdrp() 421 static void applyAdrpLdr(uint8_t *buf, const ConcatInputSection *isec, in applyAdrpLdr() 446 static void applyAdrpLdrGot(uint8_t *buf, const ConcatInputSection *isec, in applyAdrpLdrGot() 464 static void applyAdrpAddLdr(uint8_t *buf, const ConcatInputSection *isec, in applyAdrpAddLdr() 532 static void applyAdrpLdrGotLdr(uint8_t *buf, const ConcatInputSection *isec, in applyAdrpLdrGotLdr() 627 const ConcatInputSection *section = nullptr; in applyOptimizationHints() 649 const ConcatInputSection *isec = in applyOptimizationHints() 650 dyn_cast_or_null<ConcatInputSection>(subsec.isec); in applyOptimizationHints()
|