Lines Matching refs:isec

60   if (auto *isec = dyn_cast<InputSection>(s)) {  in getOutputSectionName()  local
61 if (InputSectionBase *rel = isec->getRelocatedSection()) { in getOutputSectionName()
713 static OutputDesc *createSection(InputSectionBase *isec, StringRef outsecName) { in createSection() argument
715 osd->osec.recordSection(isec); in createSection()
720 InputSectionBase *isec, StringRef outsecName) { in addInputSec() argument
728 if (isec->type == SHT_GROUP || (isec->flags & SHF_GROUP)) in addInputSec()
729 return createSection(isec, outsecName); in addInputSec()
737 if (!isa<SyntheticSection>(isec) && in addInputSec()
738 (isec->type == SHT_REL || isec->type == SHT_RELA)) { in addInputSec()
739 auto *sec = cast<InputSection>(isec); in addInputSec()
747 OutputDesc *osd = createSection(isec, outsecName); in addInputSec()
796 if (sec->partition != isec->partition) in addInputSec()
799 if (config->relocatable && (isec->flags & SHF_LINK_ORDER)) { in addInputSec()
810 if (firstIsecOut != isec->getLinkOrderDep()->getOutputSection()) in addInputSec()
814 sec->recordSection(isec); in addInputSec()
818 OutputDesc *osd = createSection(isec, outsecName); in addInputSec()
851 for (InputSectionBase *isec : ctx.inputSections) { in addOrphanSections()
853 if (LLVM_LIKELY(isa<InputSection>(isec))) in addOrphanSections()
854 ctx.inputSections[n++] = isec; in addOrphanSections()
859 if (config->relocatable && (isec->flags & SHF_LINK_ORDER)) in addOrphanSections()
862 if (auto *sec = dyn_cast<InputSection>(isec)) in addOrphanSections()
866 add(isec); in addOrphanSections()
868 for (InputSectionBase *depSec : isec->dependentSections) in addOrphanSections()
1060 for (InputSection *isec : cast<InputSectionDescription>(cmd)->sections) { in assignOffsets()
1061 assert(isec->getParent() == sec); in assignOffsets()
1063 dot = alignToPowerOf2(dot, isec->addralign); in assignOffsets()
1064 isec->outSecOff = dot - sec->addr; in assignOffsets()
1065 dot += isec->getSize(); in assignOffsets()