Lines Matching refs:InputSection
130 copy = make<InputSection>(cast<InputSection>(*s)); in copySectionsIntoPartitions()
157 part.armExidx->addSection(cast<InputSection>(s))) { in combineEhSections()
294 InputSection *sec = createInterpSection(); in createSyntheticSections()
634 InputSection *isec = dyn_cast_or_null<InputSection>(s); in markUsedLocalSymbols()
1050 InputSection *sec = in.gotPlt.get(); in setReservedSymbolSections()
1052 sec = in.mipsGot.get() ? cast<InputSection>(in.mipsGot.get()) in setReservedSymbolSections()
1053 : cast<InputSection>(in.got.get()); in setReservedSymbolSections()
1322 SmallVector<InputSection *, 0> unorderedSections; in sortISDBySectionOrder()
1323 SmallVector<std::pair<InputSection *, int>, 0> orderedSections; in sortISDBySectionOrder()
1327 for (InputSection *isec : isd->sections) { in sortISDBySectionOrder()
1385 for (InputSection *isec : makeArrayRef(unorderedSections).slice(0, insPt)) in sortISDBySectionOrder()
1387 for (std::pair<InputSection *, int> p : orderedSections) in sortISDBySectionOrder()
1389 for (InputSection *isec : makeArrayRef(unorderedSections).slice(insPt)) in sortISDBySectionOrder()
1434 [](const InputSection *a, const InputSection *b) -> bool { in sortSection()
1562 static bool compareByFilePosition(InputSection *a, InputSection *b) { in compareByFilePosition()
1563 InputSection *la = a->flags & SHF_LINK_ORDER ? a->getLinkOrderDep() : nullptr; in compareByFilePosition()
1564 InputSection *lb = b->flags & SHF_LINK_ORDER ? b->getLinkOrderDep() : nullptr; in compareByFilePosition()
1591 SmallVector<InputSection **, 0> scriptSections; in resolveShfLinkOrder()
1592 SmallVector<InputSection *, 0> sections; in resolveShfLinkOrder()
1600 for (InputSection *&isec : isd->sections) { in resolveShfLinkOrder()
1602 InputSection *link = isec->getLinkOrderDep(); in resolveShfLinkOrder()
1765 SmallVector<InputSection *, 0> storage; in optimizeBasicBlockJumps()
1777 ArrayRef<InputSection *> sections = getInputSections(*osec, storage); in optimizeBasicBlockJumps()
1783 InputSection *next = i + 1 < sections.size() ? sections[i + 1] : nullptr; in optimizeBasicBlockJumps()
1784 InputSection &sec = *sections[i]; in optimizeBasicBlockJumps()
1797 for (InputSection *is : getInputSections(*osec, storage)) in optimizeBasicBlockJumps()
1841 llvm::erase_if(isd->sections, [&](InputSection *isec) { in removeUnusedSyntheticSections()
1940 if (sec->isLive() && isa<InputSection>(sec) && (sec->flags & SHF_ALLOC)) in finalizeSections()
1946 for (InputSection *sec : part.armExidx->exidxSections) in finalizeSections()
2190 SmallVector<InputSection *, 0> storage; in checkExecuteOnly()
2193 for (InputSection *isec : getInputSections(*osec, storage)) in checkExecuteOnly()