Searched refs:OrigA (Results 1 – 2 of 2) sorted by relevance
233 GlobalAlias* cloneGlobalAliasDecl(Module &Dst, const GlobalAlias &OrigA, in cloneGlobalAliasDecl() argument235 assert(OrigA.getAliasee() && "Original alias doesn't have an aliasee?"); in cloneGlobalAliasDecl()236 auto *NewA = GlobalAlias::create(OrigA.getValueType(), in cloneGlobalAliasDecl()237 OrigA.getType()->getPointerAddressSpace(), in cloneGlobalAliasDecl()238 OrigA.getLinkage(), OrigA.getName(), &Dst); in cloneGlobalAliasDecl()239 NewA->copyAttributesFrom(&OrigA); in cloneGlobalAliasDecl()240 VMap[&OrigA] = NewA; in cloneGlobalAliasDecl()
414 GlobalAlias *cloneGlobalAliasDecl(Module &Dst, const GlobalAlias &OrigA,