Lines Matching refs:ConcatInputSection
26 ICF(std::vector<ConcatInputSection *> &inputs);
30 std::function<bool(const ConcatInputSection *,
31 const ConcatInputSection *)>
40 std::vector<ConcatInputSection *> icfInputs;
43 ICF::ICF(std::vector<ConcatInputSection *> &inputs) { in ICF()
82 static bool equalsConstant(const ConcatInputSection *ia, in equalsConstant()
83 const ConcatInputSection *ib) { in equalsConstant()
137 if (isa<ConcatInputSection>(isecA)) in equalsConstant()
149 static bool equalsVariable(const ConcatInputSection *ia, in equalsVariable()
150 const ConcatInputSection *ib) { in equalsVariable()
156 const ConcatInputSection *isecA, *isecB; in equalsVariable()
165 isecA = dyn_cast<ConcatInputSection>(da->isec); in equalsVariable()
168 isecB = cast<ConcatInputSection>(db->isec); in equalsVariable()
172 isecA = dyn_cast<ConcatInputSection>(sa); in equalsVariable()
175 isecB = cast<ConcatInputSection>(sb); in equalsVariable()
235 parallelForEach(icfInputs, [&](ConcatInputSection *isec) { in run()
243 if (auto isec = dyn_cast<ConcatInputSection>(defined->isec)) in run()
261 icfInputs, [](const ConcatInputSection *a, const ConcatInputSection *b) { in run()
280 ConcatInputSection *beginIsec = icfInputs[begin]; in run()
289 std::function<bool(const ConcatInputSection *, const ConcatInputSection *)> in segregate() argument
296 [&](ConcatInputSection *isec) { in segregate()
317 for (ConcatInputSection *isec : in.unwindInfo->getInputs()) { in findFunctionsWithUnwindInfo()
351 std::vector<ConcatInputSection *> hashable; in foldIdenticalSections()
353 for (ConcatInputSection *isec : inputSections) { in foldIdenticalSections()
365 [](ConcatInputSection *isec) { isec->hashForICF(); }); in foldIdenticalSections()