Lines Matching defs:isd

392   auto *isd = cast<InputSectionDescription>(osec->commands.back());
393 isd->sections.push_back(sec);
1909 if (auto *isd = dyn_cast<InputSectionDescription>(bc))
1910 fn(os, isd);
2007 outputSections, [&](OutputSection *os, InputSectionDescription *isd) {
2008 if (isd->thunkSections.empty())
2012 llvm::erase_if(isd->thunkSections,
2021 for (std::pair<ThunkSection *, uint32_t> ts : isd->thunkSections)
2031 tmp.reserve(isd->sections.size() + newThunks.size());
2033 std::merge(isd->sections.begin(), isd->sections.end(),
2037 isd->sections = std::move(tmp);
2059 InputSectionDescription *isd,
2064 for (std::pair<ThunkSection *, uint32_t> tp : isd->thunkSections) {
2087 return addThunkSection(os, isd, thunkSecOff);
2101 auto *isd = dyn_cast<InputSectionDescription>(bc);
2102 if (!isd || isd->sections.empty())
2105 InputSection *first = isd->sections.front();
2106 InputSection *last = isd->sections.back();
2111 ts = addThunkSection(tos, isd, isec->outSecOff);
2140 outputSections, [&](OutputSection *os, InputSectionDescription *isd) {
2141 if (isd->sections.empty())
2144 uint32_t isdBegin = isd->sections.front()->outSecOff;
2146 isd->sections.back()->outSecOff + isd->sections.back()->getSize();
2155 for (const InputSection *isec : isd->sections) {
2158 addThunkSection(os, isd, prevIsecLimit);
2165 addThunkSection(os, isd, isecLimit);
2170 InputSectionDescription *isd,
2175 !isd->sections.empty()) {
2199 uint64_t isdSize = isd->sections.back()->outSecOff +
2200 isd->sections.back()->getSize() -
2201 isd->sections.front()->outSecOff;
2205 isd->thunkSections.push_back({ts, pass});
2309 outputSections, [&](OutputSection *os, InputSectionDescription *isd) {
2310 for (InputSection *isec : isd->sections)
2334 ts = getISDThunkSec(os, isec, isd, rel, src);
2350 for (auto &p : isd->thunkSections)
2369 outputSections, [&](OutputSection *os, InputSectionDescription *isd) {
2370 for (InputSection *isec : isd->sections)
2386 outputSections, [&](OutputSection *os, InputSectionDescription *isd) {
2387 for (InputSection *isec : isd->sections)
2439 auto *isd = dyn_cast<InputSectionDescription>(cmd);
2440 if (!isd)
2442 parallelForEach(isd->sections, [&](InputSection *sec) {