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