• Home
  • Raw
  • Download

Lines Matching refs:LinkFromSrc

58   bool shouldLinkFromSource(bool &LinkFromSrc, const GlobalValue &Dest,
73 bool &LinkFromSrc);
77 bool &LinkFromSrc);
171 bool &LinkFromSrc) { in computeResultingSelectionKind() argument
195 LinkFromSrc = false; in computeResultingSelectionKind()
217 LinkFromSrc = false; in computeResultingSelectionKind()
219 LinkFromSrc = SrcSize > DstSize; in computeResultingSelectionKind()
224 LinkFromSrc = false; in computeResultingSelectionKind()
237 bool &LinkFromSrc) { in getComdatResult() argument
246 LinkFromSrc = true; in getComdatResult()
254 LinkFromSrc); in getComdatResult()
257 bool ModuleLinker::shouldLinkFromSource(bool &LinkFromSrc, in shouldLinkFromSource() argument
263 LinkFromSrc = true; in shouldLinkFromSource()
271 LinkFromSrc = true; in shouldLinkFromSource()
277 LinkFromSrc = GlobalsToImport->count(&Src); in shouldLinkFromSource()
289 LinkFromSrc = DestIsDeclaration; in shouldLinkFromSource()
294 LinkFromSrc = true; in shouldLinkFromSource()
298 LinkFromSrc = !Src.isDeclaration() && Dest.isDeclaration(); in shouldLinkFromSource()
304 LinkFromSrc = true; in shouldLinkFromSource()
310 LinkFromSrc = true; in shouldLinkFromSource()
315 LinkFromSrc = false; in shouldLinkFromSource()
322 LinkFromSrc = SrcSize > DestSize; in shouldLinkFromSource()
331 LinkFromSrc = true; in shouldLinkFromSource()
335 LinkFromSrc = false; in shouldLinkFromSource()
341 LinkFromSrc = true; in shouldLinkFromSource()
405 bool LinkFromSrc; in linkIfNeeded() local
407 std::tie(SK, LinkFromSrc) = ComdatsChosen[SC]; in linkIfNeeded()
408 if (!LinkFromSrc) in linkIfNeeded()
412 bool LinkFromSrc = true; in linkIfNeeded() local
413 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, GV)) in linkIfNeeded()
415 if (LinkFromSrc) in linkIfNeeded()
440 bool LinkFromSrc = true; in addLazyFor() local
441 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, *GV2)) in addLazyFor()
443 if (!LinkFromSrc) in addLazyFor()
495 bool LinkFromSrc; in run() local
496 if (getComdatResult(&C, SK, LinkFromSrc)) in run()
498 ComdatsChosen[&C] = std::make_pair(SK, LinkFromSrc); in run()
500 if (!LinkFromSrc) in run()
566 bool LinkFromSrc = true; in run() local
567 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, *GV2)) in run()
569 if (LinkFromSrc) in run()