Lines Matching refs:InputSectionBase
119 SmallVector<InputSectionBase *, 0> newSections; in copySectionsIntoPartitions()
122 for (InputSectionBase *s : ctx.inputSections) { in copySectionsIntoPartitions()
400 for (InputSectionBase *s : f->getSections()) { in markUsedLocalSymbols()
504 InputSectionBase *isec = nullptr; in addSectionSymbols()
511 for (InputSectionBase *s : isd->sections) { in addSectionSymbols()
1016 static void maybeShuffle(DenseMap<const InputSectionBase *, int> &order) { in maybeShuffle() argument
1020 SmallVector<InputSectionBase *, 0> matched, sections = ctx.inputSections; in maybeShuffle()
1024 for (InputSectionBase *sec : sections) in maybeShuffle()
1039 for (InputSectionBase *&sec : sections) in maybeShuffle()
1047 for (InputSectionBase *sec : sections) { in maybeShuffle()
1054 static DenseMap<const InputSectionBase *, int> buildSectionOrder() { in buildSectionOrder()
1055 DenseMap<const InputSectionBase *, int> sectionOrder; in buildSectionOrder()
1087 if (auto *sec = dyn_cast_or_null<InputSectionBase>(d->section)) { in buildSectionOrder()
1088 int &priority = sectionOrder[cast<InputSectionBase>(sec)]; in buildSectionOrder()
1114 const DenseMap<const InputSectionBase *, int> &order, in sortISDBySectionOrder() argument
1188 const DenseMap<const InputSectionBase *, int> &order) { in sortSection() argument
1231 DenseMap<const InputSectionBase *, int> order = buildSectionOrder(); in sortInputSections()
1568 const InputSectionBase *inputSec = dyn_cast<InputSectionBase>(sec); in fixSymbolsAfterShrinking()
1655 llvm::find_if(llvm::reverse(ctx.inputSections), [](InputSectionBase *s) { in removeUnusedSyntheticSections()
1660 DenseSet<InputSectionBase *> unused; in removeUnusedSyntheticSections()
1662 std::remove_if(start, ctx.inputSections.end(), [&](InputSectionBase *s) { in removeUnusedSyntheticSections()
1688 llvm::erase_if(script->orphanSections, [&](const InputSectionBase *sec) { in removeUnusedSyntheticSections()