Lines Matching refs:InputSection
334 static bool matchConstraints(ArrayRef<InputSection *> Sections, in matchConstraints()
340 Sections, [](InputSection *Sec) { return Sec->Flags & SHF_WRITE; }); in matchConstraints()
346 static void sortSections(MutableArrayRef<InputSection *> Vec, in sortSections()
363 static void sortInputSections(MutableArrayRef<InputSection *> Vec, in sortInputSections()
376 std::vector<InputSection *>
378 std::vector<InputSection *> Ret; in computeInputSections()
393 if (auto *IS = dyn_cast<InputSection>(Sec)) in computeInputSections()
406 Ret.push_back(cast<InputSection>(Sec)); in computeInputSections()
410 sortInputSections(MutableArrayRef<InputSection *>(Ret).slice(SizeBefore), in computeInputSections()
416 void LinkerScript::discard(ArrayRef<InputSection *> V) { in discard()
417 for (InputSection *S : V) { in discard()
435 std::vector<InputSection *>
437 std::vector<InputSection *> Ret; in createInputSectionList()
479 std::vector<InputSection *> V = createInputSectionList(*Sec); in processSectionCommands()
519 for (InputSection *S : V) in processSectionCommands()
544 Sec->addSection(cast<InputSection>(IS)); in createSection()
568 auto *Sec = cast<InputSection>(IS); in addInputSec()
630 Sec->addSection(cast<InputSection>(IS)); in addInputSec()
657 Sec->addSection(cast<InputSection>(S)); in addOrphanSections()
671 if (auto *Sec = dyn_cast<InputSection>(IS)) in addOrphanSections()
702 void LinkerScript::output(InputSection *S) { in output()
819 for (InputSection *Sec : cast<InputSectionDescription>(Base)->Sections) in assignOffsets()