Lines Matching refs:SelectionKind
70 Comdat::SelectionKind Src,
71 Comdat::SelectionKind Dst,
72 Comdat::SelectionKind &Result,
74 std::map<const Comdat *, std::pair<Comdat::SelectionKind, bool>>
76 bool getComdatResult(const Comdat *SrcC, Comdat::SelectionKind &SK,
168 Comdat::SelectionKind Src, in computeResultingSelectionKind()
169 Comdat::SelectionKind Dst, in computeResultingSelectionKind()
170 Comdat::SelectionKind &Result, in computeResultingSelectionKind()
175 bool DstAnyOrLargest = Dst == Comdat::SelectionKind::Any || in computeResultingSelectionKind()
176 Dst == Comdat::SelectionKind::Largest; in computeResultingSelectionKind()
177 bool SrcAnyOrLargest = Src == Comdat::SelectionKind::Any || in computeResultingSelectionKind()
178 Src == Comdat::SelectionKind::Largest; in computeResultingSelectionKind()
180 if (Dst == Comdat::SelectionKind::Largest || in computeResultingSelectionKind()
181 Src == Comdat::SelectionKind::Largest) in computeResultingSelectionKind()
182 Result = Comdat::SelectionKind::Largest; in computeResultingSelectionKind()
184 Result = Comdat::SelectionKind::Any; in computeResultingSelectionKind()
193 case Comdat::SelectionKind::Any: in computeResultingSelectionKind()
197 case Comdat::SelectionKind::NoDuplicates: in computeResultingSelectionKind()
200 case Comdat::SelectionKind::ExactMatch: in computeResultingSelectionKind()
201 case Comdat::SelectionKind::Largest: in computeResultingSelectionKind()
202 case Comdat::SelectionKind::SameSize: { in computeResultingSelectionKind()
213 if (Result == Comdat::SelectionKind::ExactMatch) { in computeResultingSelectionKind()
218 } else if (Result == Comdat::SelectionKind::Largest) { in computeResultingSelectionKind()
220 } else if (Result == Comdat::SelectionKind::SameSize) { in computeResultingSelectionKind()
236 Comdat::SelectionKind &Result, in getComdatResult()
239 Comdat::SelectionKind SSK = SrcC->getSelectionKind(); in getComdatResult()
252 Comdat::SelectionKind DSK = DstC->getSelectionKind(); in getComdatResult()
406 Comdat::SelectionKind SK; in linkIfNeeded()
494 Comdat::SelectionKind SK; in run()