Lines Matching refs:InputSectionBase

123   SmallVector<InputSectionBase *, 0> newSections;  in copySectionsIntoPartitions()
126 for (InputSectionBase *s : ctx.inputSections) { in copySectionsIntoPartitions()
622 for (InputSectionBase *s : f->getSections()) { in markUsedLocalSymbols()
715 InputSectionBase *isec = nullptr; in addSectionSymbols()
722 for (InputSectionBase *s : isd->sections) { in addSectionSymbols()
1214 static void maybeShuffle(DenseMap<const InputSectionBase *, int> &order) { in maybeShuffle() argument
1218 SmallVector<InputSectionBase *, 0> matched, sections = ctx.inputSections; in maybeShuffle()
1222 for (InputSectionBase *sec : sections) in maybeShuffle()
1237 for (InputSectionBase *&sec : sections) in maybeShuffle()
1245 for (InputSectionBase *sec : sections) { in maybeShuffle()
1252 static DenseMap<const InputSectionBase *, int> buildSectionOrder() { in buildSectionOrder()
1253 DenseMap<const InputSectionBase *, int> sectionOrder; in buildSectionOrder()
1285 if (auto *sec = dyn_cast_or_null<InputSectionBase>(d->section)) { in buildSectionOrder()
1286 int &priority = sectionOrder[cast<InputSectionBase>(sec)]; in buildSectionOrder()
1312 const DenseMap<const InputSectionBase *, int> &order, in sortISDBySectionOrder() argument
1386 const DenseMap<const InputSectionBase *, int> &order) { in sortSection() argument
1437 DenseMap<const InputSectionBase *, int> order = buildSectionOrder(); in sortInputSections()
1723 const InputSectionBase *inputSec = dyn_cast<InputSectionBase>(sec); in fixSymbolsAfterShrinking()
1810 llvm::find_if(llvm::reverse(ctx.inputSections), [](InputSectionBase *s) { in removeUnusedSyntheticSections()
1815 DenseSet<InputSectionBase *> unused; in removeUnusedSyntheticSections()
1817 std::remove_if(start, ctx.inputSections.end(), [&](InputSectionBase *s) { in removeUnusedSyntheticSections()
1835 llvm::erase_if(script->orphanSections, [&](const InputSectionBase *sec) { in removeUnusedSyntheticSections()