Lines Matching refs:InputSectionBase
123 SmallVector<InputSectionBase *, 0> newSections; in copySectionsIntoPartitions()
125 for (InputSectionBase *s : inputSections) { in copySectionsIntoPartitions()
128 InputSectionBase *copy; in copySectionsIntoPartitions()
146 for (InputSectionBase *&s : inputSections) { in combineEhSections()
633 for (InputSectionBase *s : f->getSections()) { in markUsedLocalSymbols()
726 InputSectionBase *isec = nullptr; in addSectionSymbols()
733 for (InputSectionBase *s : isd->sections) { in addSectionSymbols()
1222 static void maybeShuffle(DenseMap<const InputSectionBase *, int> &order) { in maybeShuffle() argument
1226 SmallVector<InputSectionBase *, 0> matched, sections = inputSections; in maybeShuffle()
1230 for (InputSectionBase *sec : sections) in maybeShuffle()
1245 for (InputSectionBase *&sec : sections) in maybeShuffle()
1253 for (InputSectionBase *sec : sections) { in maybeShuffle()
1260 static DenseMap<const InputSectionBase *, int> buildSectionOrder() { in buildSectionOrder()
1261 DenseMap<const InputSectionBase *, int> sectionOrder; in buildSectionOrder()
1293 if (auto *sec = dyn_cast_or_null<InputSectionBase>(d->section)) { in buildSectionOrder()
1294 int &priority = sectionOrder[cast<InputSectionBase>(sec)]; in buildSectionOrder()
1320 const DenseMap<const InputSectionBase *, int> &order, in sortISDBySectionOrder() argument
1394 const DenseMap<const InputSectionBase *, int> &order) { in sortSection() argument
1445 DenseMap<const InputSectionBase *, int> order = buildSectionOrder(); in sortInputSections()
1731 const InputSectionBase *inputSec = dyn_cast<InputSectionBase>(sec); in fixSymbolsAfterShrinking()
1818 [](InputSectionBase *s) { in removeUnusedSyntheticSections()
1824 DenseSet<InputSectionBase *> unused; in removeUnusedSyntheticSections()
1826 std::remove_if(start, inputSections.end(), [&](InputSectionBase *s) { in removeUnusedSyntheticSections()
1844 llvm::erase_if(script->orphanSections, [&](const InputSectionBase *sec) { in removeUnusedSyntheticSections()
1939 for (InputSectionBase *sec : inputSections) in finalizeSections()