Lines Matching refs:InputSection

101   if (auto *IS = dyn_cast<InputSection>(S)) {  in getOutputSectionName()
635 InputSection *IS = cast<InputSectionDescription>(*I)->Sections[0]; in addSectionSymbols()
941 if (IS->Live && isa<InputSection>(IS) && (IS->Flags & SHF_ALLOC)) in forEachRelSec()
956 InputSection *GotSection = In.GotPlt; in setReservedSymbolSections()
958 GotSection = In.MipsGot ? cast<InputSection>(In.MipsGot) in setReservedSymbolSections()
959 : cast<InputSection>(In.Got); in setReservedSymbolSections()
1172 std::vector<InputSection *> UnorderedSections; in sortISDBySectionOrder()
1173 std::vector<std::pair<InputSection *, int>> OrderedSections; in sortISDBySectionOrder()
1176 for (InputSection *IS : ISD->Sections) { in sortISDBySectionOrder()
1185 llvm::sort(OrderedSections, [&](std::pair<InputSection *, int> A, in sortISDBySectionOrder()
1186 std::pair<InputSection *, int> B) { in sortISDBySectionOrder() argument
1228 for (InputSection *IS : makeArrayRef(UnorderedSections).slice(0, InsPt)) in sortISDBySectionOrder()
1230 for (std::pair<InputSection *, int> P : OrderedSections) in sortISDBySectionOrder()
1232 for (InputSection *IS : makeArrayRef(UnorderedSections).slice(InsPt)) in sortISDBySectionOrder()
1297 for (InputSection *Sec : getInputSections(OS)) in sortSections()
1389 static bool compareByFilePosition(InputSection *A, InputSection *B) { in compareByFilePosition()
1395 InputSection *LA = A->getLinkOrderDep(); in compareByFilePosition()
1396 InputSection *LB = B->getLinkOrderDep(); in compareByFilePosition()
1417 static bool isDuplicateArmExidxSec(InputSection *Prev, InputSection *Cur) { in isDuplicateArmExidxSec()
1459 std::vector<InputSection **> ScriptSections; in resolveShfLinkOrder()
1460 std::vector<InputSection *> Sections; in resolveShfLinkOrder()
1463 for (InputSection *&IS : ISD->Sections) { in resolveShfLinkOrder()
1508 llvm::erase_if(ISD->Sections, [](InputSection *IS) { return !IS; }); in resolveShfLinkOrder()
1586 [=](InputSection *IS) { return IS == SS; }); in removeUnusedSyntheticSections()
1833 for (InputSection *IS : getInputSections(OS)) in checkExecuteOnly()