Lines Matching refs:InputSection
106 bool constantEq(const InputSection *a, ArrayRef<RelTy> relsA,
107 const InputSection *b, ArrayRef<RelTy> relsB);
110 bool variableEq(const InputSection *a, ArrayRef<RelTy> relsA,
111 const InputSection *b, ArrayRef<RelTy> relsB);
113 bool equalsConstant(const InputSection *a, const InputSection *b);
114 bool equalsVariable(const InputSection *a, const InputSection *b);
123 SmallVector<InputSection *, 0> sections;
161 static bool isEligible(InputSection *s) { in isEligible()
213 sections.begin() + end, [&](InputSection *s) { in segregate()
238 bool ICF<ELFT>::constantEq(const InputSection *secA, ArrayRef<RelTy> ra, in constantEq()
239 const InputSection *secB, ArrayRef<RelTy> rb) { in constantEq()
285 if (isa<InputSection>(da->section)) { in constantEq()
314 bool ICF<ELFT>::equalsConstant(const InputSection *a, const InputSection *b) { in equalsConstant()
335 bool ICF<ELFT>::variableEq(const InputSection *secA, ArrayRef<RelTy> ra, in variableEq()
336 const InputSection *secB, ArrayRef<RelTy> rb) { in variableEq()
354 auto *x = dyn_cast<InputSection>(da->section); in variableEq()
357 auto *y = cast<InputSection>(db->section); in variableEq()
372 bool ICF<ELFT>::equalsVariable(const InputSection *a, const InputSection *b) { in equalsVariable()
441 static void combineRelocHashes(unsigned cnt, InputSection *isec, in combineRelocHashes()
447 if (auto *relSec = dyn_cast_or_null<InputSection>(d->section)) in combineRelocHashes()
479 [&](InputSection &s) { s.eqClass[0] = s.eqClass[1] = ++uniqueId; }); in run()
483 auto *s = dyn_cast<InputSection>(sec); in run()
495 parallelForEach(sections, [&](InputSection *s) { in run()
504 parallelForEach(sections, [&](InputSection *s) { in run()
515 llvm::stable_sort(sections, [](const InputSection *a, const InputSection *b) { in run()
549 for (InputSection *isec : sections[i]->dependentSections) in run()
557 if (auto *sec = dyn_cast_or_null<InputSection>(d->section)) in run()
577 [](InputSection *isec) { return !isec->isLive(); }); in run()