Lines Matching refs:LinkFromSrc

55   bool shouldLinkFromSource(bool &LinkFromSrc, const GlobalValue &Dest,
70 bool &LinkFromSrc);
74 bool &LinkFromSrc);
154 bool &LinkFromSrc) { in computeResultingSelectionKind() argument
178 LinkFromSrc = false; in computeResultingSelectionKind()
189 LinkFromSrc = false; in computeResultingSelectionKind()
192 LinkFromSrc = true; in computeResultingSelectionKind()
216 LinkFromSrc = false; in computeResultingSelectionKind()
218 LinkFromSrc = SrcSize > DstSize; in computeResultingSelectionKind()
223 LinkFromSrc = false; in computeResultingSelectionKind()
236 bool &LinkFromSrc) { in getComdatResult() argument
245 LinkFromSrc = true; in getComdatResult()
253 LinkFromSrc); in getComdatResult()
256 bool ModuleLinker::shouldLinkFromSource(bool &LinkFromSrc, in shouldLinkFromSource() argument
262 LinkFromSrc = true; in shouldLinkFromSource()
268 LinkFromSrc = true; in shouldLinkFromSource()
280 LinkFromSrc = DestIsDeclaration; in shouldLinkFromSource()
285 LinkFromSrc = true; in shouldLinkFromSource()
289 LinkFromSrc = !Src.isDeclaration() && Dest.isDeclaration(); in shouldLinkFromSource()
295 LinkFromSrc = true; in shouldLinkFromSource()
301 LinkFromSrc = true; in shouldLinkFromSource()
306 LinkFromSrc = false; in shouldLinkFromSource()
313 LinkFromSrc = SrcSize > DestSize; in shouldLinkFromSource()
322 LinkFromSrc = true; in shouldLinkFromSource()
326 LinkFromSrc = false; in shouldLinkFromSource()
332 LinkFromSrc = true; in shouldLinkFromSource()
397 bool LinkFromSrc; in linkIfNeeded() local
399 std::tie(SK, LinkFromSrc) = ComdatsChosen[SC]; in linkIfNeeded()
400 if (!LinkFromSrc) in linkIfNeeded()
404 bool LinkFromSrc = true; in linkIfNeeded() local
405 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, GV)) in linkIfNeeded()
407 if (LinkFromSrc) in linkIfNeeded()
427 bool LinkFromSrc = true; in addLazyFor() local
428 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, *GV2)) in addLazyFor()
430 if (!LinkFromSrc) in addLazyFor()
481 bool LinkFromSrc; in run() local
482 if (getComdatResult(&C, SK, LinkFromSrc)) in run()
484 ComdatsChosen[&C] = std::make_pair(SK, LinkFromSrc); in run()
486 if (!LinkFromSrc) in run()
552 bool LinkFromSrc = true; in run() local
553 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, *GV2)) in run()
555 if (LinkFromSrc) in run()