| /freebsd/contrib/llvm-project/lld/MachO/ |
| H A D | ICF.cpp | 33 ICF(std::vector<ConcatInputSection *> &inputs); 36 using EqualsFn = bool (ICF::*)(const ConcatInputSection *, 37 const ConcatInputSection *); 44 bool equalsConstant(const ConcatInputSection *ia, 45 const ConcatInputSection *ib); 46 bool equalsVariable(const ConcatInputSection *ia, 47 const ConcatInputSection *ib); 51 std::vector<ConcatInputSection *> icfInputs; 59 ICF::ICF(std::vector<ConcatInputSection *> &inputs) { in ICF() 95 bool ICF::equalsConstant(const ConcatInputSection *ia, in equalsConstant() [all …]
|
| H A D | ObjC.cpp | 148 const ConcatInputSection *isec; 166 void parseCategory(const ConcatInputSection *catListIsec); 170 void parseMethods(const ConcatInputSection *methodsIsec, 172 const ConcatInputSection *containerIsec, 202 if (isa<ConcatInputSection>(symIsec)) { in getReferentString() 211 void ObjcCategoryChecker::parseMethods(const ConcatInputSection *methodsIsec, in parseMethods() 213 const ConcatInputSection *containerIsec, in parseMethods() 283 void ObjcCategoryChecker::parseCategory(const ConcatInputSection *catIsec) { in parseCategory() 294 parseMethods(cast<ConcatInputSection>(r->getReferentInputSection()), in parseCategory() 299 parseMethods(cast<ConcatInputSection>(r->getReferentInputSection()), in parseCategory() [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; 153 ConcatInputSection *makeSyntheticInputSection(StringRef segName, 162 return isa<ConcatInputSection>(isec) && in shouldOmitFromOutput() 163 cast<ConcatInputSection>(isec)->shouldOmitFromOutput(); in shouldOmitFromOutput() 167 return isa<ConcatInputSection>(isec) && in isCoalescedWeak() 168 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() 360 for (ConcatInputSection *isec : inputs) in writeTo()
|
| H A D | SyntheticSections.h | 324 static ConcatInputSection *getSelRef(StringRef methname); 325 static ConcatInputSection *makeSelRef(StringRef methname); 328 static llvm::DenseMap<llvm::CachedHashStringRef, ConcatInputSection *> 681 void addInput(ConcatInputSection *isec) { sections.push_back(isec); } in addInput() 682 const std::vector<ConcatInputSection *> &inputs() const { return sections; } in inputs() 685 std::vector<ConcatInputSection *> sections; 694 static bool isMethodList(const ConcatInputSection *isec); 695 void addInput(ConcatInputSection *isec) { inputs.push_back(isec); } in addInput() 696 std::vector<ConcatInputSection *> getInputs() { return inputs; } in getInputs() 710 void writeRelativeOffsetForIsec(const ConcatInputSection *isec, uint8_t *buf, [all …]
|
| H A D | InputSection.cpp | 35 sizeof(ConcatInputSection) == sizeof(std::vector<Reloc>) + 88, 39 std::vector<ConcatInputSection *> macho::inputSections; 46 if (auto *isec = dyn_cast<ConcatInputSection>(inputSection)) { in addInputSection() 192 void ConcatInputSection::foldIdentical(ConcatInputSection *copy) { in foldIdentical() 212 void ConcatInputSection::writeTo(uint8_t *buf) { in writeTo() 274 ConcatInputSection *macho::makeSyntheticInputSection(StringRef segName, in makeSyntheticInputSection() 281 auto isec = make<ConcatInputSection>(section, data, align); in makeSyntheticInputSection()
|
| 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 | 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() 898 sym.n_desc & N_ALT_ENTRY || !isa<ConcatInputSection>(isec)) { in parseSymbols() 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() [all …]
|
| 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 | SyntheticSections.cpp | 820 llvm::DenseMap<llvm::CachedHashStringRef, ConcatInputSection *> 830 for (ConcatInputSection *isec : inputSections) { in initialize() 851 ConcatInputSection *ObjCSelRefsHelper::makeSelRef(StringRef methname) { in makeSelRef() 858 ConcatInputSection *objcSelref = in makeSelRef() 876 ConcatInputSection *ObjCSelRefsHelper::getSelRef(StringRef methname) { in getSelRef() 1093 if (cast<ConcatInputSection>(isec)->shouldOmitFromOutput()) in collectDataInCodeEntries() 1937 for (const ConcatInputSection *isec : sections) in getSize() 1944 for (ConcatInputSection *isec : sections) { in writeTo() 1969 for (const ConcatInputSection *isec : sections) { in setUp() 2002 for (const ConcatInputSection *isec : inputs) { in setUp() [all …]
|
| H A D | InputFiles.h | 44 class ConcatInputSection; variable 184 std::vector<ConcatInputSection *> debugSections; 186 llvm::DenseMap<ConcatInputSection *, FDE> fdes;
|
| H A D | MapFile.cpp | 207 auto printIsecArrSyms = [&](const std::vector<ConcatInputSection *> &arr) { in writeMapFile() 208 for (const ConcatInputSection *isec : arr) { in writeMapFile()
|
| H A D | Symbols.h | 146 ConcatInputSection *unwindEntry() const; 197 ConcatInputSection *originalUnwindEntry = nullptr;
|
| 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 | Symbols.cpp | 125 ConcatInputSection *Defined::unwindEntry() const { in unwindEntry()
|
| H A D | UnwindInfoSection.cpp | 143 void prepareRelocations(ConcatInputSection *); 227 void UnwindInfoSectionImpl::prepareRelocations(ConcatInputSection *isec) { in prepareRelocations()
|
| H A D | Writer.cpp | 679 ConcatInputSection *isec = inputSections[i]; in scanRelocations() 1017 for (ConcatInputSection *isec : inputSections) { in createOutputSections()
|
| H A D | Driver.cpp | 644 auto *isec = make<ConcatInputSection>(*section, data, common->align); in replaceCommonSymbols() 1446 for (ConcatInputSection *isec : in.initOffsets->inputs()) in eraseInitializerSymbols()
|
| /freebsd/contrib/llvm-project/lld/MachO/Arch/ |
| H A D | ARM64.cpp | 363 static void applyAdrpAdd(uint8_t *buf, const ConcatInputSection *isec, in applyAdrpAdd() 392 static void applyAdrpAdrp(uint8_t *buf, const ConcatInputSection *isec, in applyAdrpAdrp() 419 static void applyAdrpLdr(uint8_t *buf, const ConcatInputSection *isec, in applyAdrpLdr() 444 static void applyAdrpLdrGot(uint8_t *buf, const ConcatInputSection *isec, in applyAdrpLdrGot() 462 static void applyAdrpAddLdr(uint8_t *buf, const ConcatInputSection *isec, in applyAdrpAddLdr() 530 static void applyAdrpLdrGotLdr(uint8_t *buf, const ConcatInputSection *isec, in applyAdrpLdrGotLdr() 625 const ConcatInputSection *section = nullptr; in applyOptimizationHints() 647 const ConcatInputSection *isec = in applyOptimizationHints() 648 dyn_cast_or_null<ConcatInputSection>(subsec.isec); in applyOptimizationHints()
|