Lines Matching refs:InputSectionBase
123 SmallVector<InputSectionBase *, 0> newSections; in copySectionsIntoPartitions()
126 for (InputSectionBase *s : ctx.inputSections) { in copySectionsIntoPartitions()
695 for (InputSectionBase *s : f->getSections()) { in markUsedLocalSymbols()
790 InputSectionBase *isec = nullptr; in addSectionSymbols()
797 for (InputSectionBase *s : isd->sections) { in addSectionSymbols()
1278 static void maybeShuffle(DenseMap<const InputSectionBase *, int> &order) { in maybeShuffle() argument
1282 SmallVector<InputSectionBase *, 0> matched, sections = ctx.inputSections; in maybeShuffle()
1286 for (InputSectionBase *sec : sections) in maybeShuffle()
1301 for (InputSectionBase *&sec : sections) in maybeShuffle()
1309 for (InputSectionBase *sec : sections) { in maybeShuffle()
1316 static DenseMap<const InputSectionBase *, int> buildSectionOrder() { in buildSectionOrder()
1317 DenseMap<const InputSectionBase *, int> sectionOrder; in buildSectionOrder()
1349 if (auto *sec = dyn_cast_or_null<InputSectionBase>(d->section)) { in buildSectionOrder()
1350 int &priority = sectionOrder[cast<InputSectionBase>(sec)]; in buildSectionOrder()
1376 const DenseMap<const InputSectionBase *, int> &order, in sortISDBySectionOrder() argument
1450 const DenseMap<const InputSectionBase *, int> &order) { in sortSection() argument
1501 DenseMap<const InputSectionBase *, int> order = buildSectionOrder(); in sortInputSections()
1792 const InputSectionBase *inputSec = dyn_cast<InputSectionBase>(sec); in fixSymbolsAfterShrinking()
1879 llvm::find_if(llvm::reverse(ctx.inputSections), [](InputSectionBase *s) { in removeUnusedSyntheticSections()
1884 DenseSet<InputSectionBase *> unused; in removeUnusedSyntheticSections()
1886 std::remove_if(start, ctx.inputSections.end(), [&](InputSectionBase *s) { in removeUnusedSyntheticSections()
1904 llvm::erase_if(script->orphanSections, [&](const InputSectionBase *sec) { in removeUnusedSyntheticSections()