Lines Matching refs:SelectionKind
67 Comdat::SelectionKind Src,
68 Comdat::SelectionKind Dst,
69 Comdat::SelectionKind &Result,
71 std::map<const Comdat *, std::pair<Comdat::SelectionKind, bool>>
73 bool getComdatResult(const Comdat *SrcC, Comdat::SelectionKind &SK,
151 Comdat::SelectionKind Src, in computeResultingSelectionKind()
152 Comdat::SelectionKind Dst, in computeResultingSelectionKind()
153 Comdat::SelectionKind &Result, in computeResultingSelectionKind()
158 bool DstAnyOrLargest = Dst == Comdat::SelectionKind::Any || in computeResultingSelectionKind()
159 Dst == Comdat::SelectionKind::Largest; in computeResultingSelectionKind()
160 bool SrcAnyOrLargest = Src == Comdat::SelectionKind::Any || in computeResultingSelectionKind()
161 Src == Comdat::SelectionKind::Largest; in computeResultingSelectionKind()
163 if (Dst == Comdat::SelectionKind::Largest || in computeResultingSelectionKind()
164 Src == Comdat::SelectionKind::Largest) in computeResultingSelectionKind()
165 Result = Comdat::SelectionKind::Largest; in computeResultingSelectionKind()
167 Result = Comdat::SelectionKind::Any; in computeResultingSelectionKind()
176 case Comdat::SelectionKind::Any: in computeResultingSelectionKind()
180 case Comdat::SelectionKind::NoDuplicates: in computeResultingSelectionKind()
183 case Comdat::SelectionKind::ExactMatch: in computeResultingSelectionKind()
184 case Comdat::SelectionKind::Largest: in computeResultingSelectionKind()
185 case Comdat::SelectionKind::SameSize: { in computeResultingSelectionKind()
196 if (Result == Comdat::SelectionKind::ExactMatch) { in computeResultingSelectionKind()
201 } else if (Result == Comdat::SelectionKind::Largest) { in computeResultingSelectionKind()
203 } else if (Result == Comdat::SelectionKind::SameSize) { in computeResultingSelectionKind()
219 Comdat::SelectionKind &Result, in getComdatResult()
222 Comdat::SelectionKind SSK = SrcC->getSelectionKind(); in getComdatResult()
235 Comdat::SelectionKind DSK = DstC->getSelectionKind(); in getComdatResult()
382 Comdat::SelectionKind SK; in linkIfNeeded()
465 Comdat::SelectionKind SK; in run()