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()
388 bool LinkFromSrc = true; in linkIfNeeded() local
389 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, GV)) in linkIfNeeded()
392 GVToClone.push_back(LinkFromSrc ? DGV : &GV); in linkIfNeeded()
393 if (LinkFromSrc) in linkIfNeeded()
413 bool LinkFromSrc = true; in addLazyFor() local
414 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, *GV2)) in addLazyFor()
416 if (!LinkFromSrc) in addLazyFor()
559 bool LinkFromSrc = true; in run() local
560 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, *GV2)) in run()
562 if (LinkFromSrc) in run()