Lines Matching refs:GA
1613 for (auto &GA : TheModule.aliases()) { in thinLTOFinalizeInModule() local
1614 if (GA.hasAvailableExternallyLinkage()) in thinLTOFinalizeInModule()
1616 GlobalObject *Obj = GA.getAliaseeObject(); in thinLTOFinalizeInModule()
1619 GA.setLinkage(GlobalValue::AvailableExternallyLinkage); in thinLTOFinalizeInModule()
1674 static Function *replaceAliasWithAliasee(Module *SrcModule, GlobalAlias *GA) { in replaceAliasWithAliasee() argument
1675 Function *Fn = cast<Function>(GA->getAliaseeObject()); in replaceAliasWithAliasee()
1681 NewFn->setLinkage(GA->getLinkage()); in replaceAliasWithAliasee()
1682 NewFn->setVisibility(GA->getVisibility()); in replaceAliasWithAliasee()
1683 GA->replaceAllUsesWith(NewFn); in replaceAliasWithAliasee()
1684 NewFn->takeName(GA); in replaceAliasWithAliasee()
1806 for (GlobalAlias &GA : SrcModule->aliases()) { in importFunctions()
1807 if (!GA.hasName() || isa<GlobalIFunc>(GA.getAliaseeObject())) in importFunctions()
1809 auto GUID = GA.getGUID(); in importFunctions()
1821 << GUID << " " << GA.getName() << " from " in importFunctions()
1824 if (Error Err = GA.materialize()) in importFunctions()
1827 GlobalObject *GO = GA.getAliaseeObject(); in importFunctions()
1830 auto *Fn = replaceAliasWithAliasee(SrcModule.get(), &GA); in importFunctions()