Lines Matching refs:GA
1514 for (auto &GA : TheModule.aliases()) { in thinLTOFinalizeInModule() local
1515 if (GA.hasAvailableExternallyLinkage()) in thinLTOFinalizeInModule()
1517 GlobalObject *Obj = GA.getAliaseeObject(); in thinLTOFinalizeInModule()
1520 GA.setLinkage(GlobalValue::AvailableExternallyLinkage); in thinLTOFinalizeInModule()
1575 static Function *replaceAliasWithAliasee(Module *SrcModule, GlobalAlias *GA) { in replaceAliasWithAliasee() argument
1576 Function *Fn = cast<Function>(GA->getAliaseeObject()); in replaceAliasWithAliasee()
1582 NewFn->setLinkage(GA->getLinkage()); in replaceAliasWithAliasee()
1583 NewFn->setVisibility(GA->getVisibility()); in replaceAliasWithAliasee()
1584 GA->replaceAllUsesWith(NewFn); in replaceAliasWithAliasee()
1585 NewFn->takeName(GA); in replaceAliasWithAliasee()
1670 for (GlobalAlias &GA : SrcModule->aliases()) { in importFunctions()
1671 if (!GA.hasName() || isa<GlobalIFunc>(GA.getAliaseeObject())) in importFunctions()
1673 auto GUID = GA.getGUID(); in importFunctions()
1676 << GUID << " " << GA.getName() << " from " in importFunctions()
1679 if (Error Err = GA.materialize()) in importFunctions()
1682 GlobalObject *GO = GA.getAliaseeObject(); in importFunctions()
1685 auto *Fn = replaceAliasWithAliasee(SrcModule.get(), &GA); in importFunctions()