Lines Matching refs:sect

81     LDSection* sect = (*kept).first;  in foldIdenticalCode()  local
85 sect->setKind(LDFileFormat::Folded); in foldIdenticalCode()
92 debug(diag::debug_icf_folded_section) << sect->name() << obj->name() in foldIdenticalCode()
107 LDSection* sect = &(frag_ref->frag()->getParent()->getSection()); in foldIdenticalCode() local
108 if (sect->kind() == LDFileFormat::Folded) { in foldIdenticalCode()
109 size_t kept_index = m_KeptSections[sect].second; in foldIdenticalCode()
125 LDContext::sect_iterator sect, sectEnd = (*obj)->context()->sectEnd(); in findCandidates() local
126 for (sect = (*obj)->context()->sectBegin(); sect != sectEnd; ++sect) { in findCandidates()
127 switch ((*sect)->kind()) { in findCandidates()
130 std::make_pair(*sect, reinterpret_cast<LDSection*>(NULL))); in findCandidates()
134 LDSection* target = (*sect)->getLink(); in findCandidates()
136 candidate_map[target] = *sect; in findCandidates()
141 RelocData::iterator rel, relEnd = (*sect)->getRelocData()->end(); in findCandidates()
142 for (rel = (*sect)->getRelocData()->begin(); rel != relEnd; ++rel) { in findCandidates()
202 m_KeptSections[pCandidateList[index].sect].second = kept_index; in matchCandidates()
217 assert(sect != NULL && sect->hasSectionData()); in initConstantContent()
218 SectionData::const_iterator frag, fragEnd = sect->getSectionData()->end(); in initConstantContent()
219 for (frag = sect->getSectionData()->begin(); frag != fragEnd; ++frag) { in initConstantContent()
252 if (def == sect) { in initConstantContent()