Lines Matching defs:InputSectionBase
124 SmallVector<InputSectionBase *, 0> newSections;
127 for (InputSectionBase *s : ctx.inputSections) {
417 for (InputSectionBase *s : f->getSections()) {
522 InputSectionBase *isec = nullptr;
529 for (InputSectionBase *s : isd->sections) {
1041 DenseMap<const InputSectionBase *, int> &order) {
1045 SmallVector<InputSectionBase *, 0> matched, sections = ctx.inputSections;
1049 for (InputSectionBase *sec : sections)
1064 for (InputSectionBase *&sec : sections)
1072 for (InputSectionBase *sec : sections) {
1082 static DenseMap<const InputSectionBase *, int> buildSectionOrder(Ctx &ctx) {
1083 DenseMap<const InputSectionBase *, int> sectionOrder;
1114 if (auto *sec = dyn_cast_or_null<InputSectionBase>(d->section)) {
1115 int &priority = sectionOrder[cast<InputSectionBase>(sec)];
1142 const DenseMap<const InputSectionBase *, int> &order,
1216 const DenseMap<const InputSectionBase *, int> &order) {
1258 DenseMap<const InputSectionBase *, int> order = buildSectionOrder(ctx);
1638 const InputSectionBase *inputSec = dyn_cast<InputSectionBase>(sec);
1725 llvm::find_if(llvm::reverse(ctx.inputSections), [](InputSectionBase *s) {
1730 DenseSet<InputSectionBase *> unused;
1732 std::remove_if(start, ctx.inputSections.end(), [&](InputSectionBase *s) {
1757 llvm::erase_if(ctx.script->orphanSections, [&](const InputSectionBase *sec) {