Lines Matching refs:LinkFromSrc
56 bool shouldLinkFromSource(bool &LinkFromSrc, const GlobalValue &Dest,
240 bool ModuleLinker::shouldLinkFromSource(bool &LinkFromSrc, in shouldLinkFromSource() argument
246 LinkFromSrc = true; in shouldLinkFromSource()
252 LinkFromSrc = true; in shouldLinkFromSource()
264 LinkFromSrc = DestIsDeclaration; in shouldLinkFromSource()
269 LinkFromSrc = true; in shouldLinkFromSource()
273 LinkFromSrc = !Src.isDeclaration() && Dest.isDeclaration(); in shouldLinkFromSource()
279 LinkFromSrc = true; in shouldLinkFromSource()
285 LinkFromSrc = true; in shouldLinkFromSource()
290 LinkFromSrc = false; in shouldLinkFromSource()
297 LinkFromSrc = SrcSize > DestSize; in shouldLinkFromSource()
306 LinkFromSrc = true; in shouldLinkFromSource()
310 LinkFromSrc = false; in shouldLinkFromSource()
316 LinkFromSrc = true; in shouldLinkFromSource()
392 bool LinkFromSrc = true; in linkIfNeeded() local
393 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, GV)) in linkIfNeeded()
396 GVToClone.push_back(LinkFromSrc ? DGV : &GV); in linkIfNeeded()
397 if (LinkFromSrc) in linkIfNeeded()
417 bool LinkFromSrc = true; in addLazyFor() local
418 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, *GV2)) in addLazyFor()
420 if (!LinkFromSrc) in addLazyFor()
584 bool LinkFromSrc = true; in run() local
585 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, *GV2)) in run()
587 if (LinkFromSrc) in run()