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