Lines Matching refs:SGA
719 bool ModuleLinker::linkAliasProto(GlobalAlias *SGA) {
720 GlobalValue *DGV = getLinkedToGlobal(SGA);
725 if (getLinkageResult(DGV, SGA, NewLinkage, LinkFromSrc))
733 ValueMap[SGA] = ConstantExpr::getBitCast(DGV,TypeMap.get(SGA->getType()));
736 DoNotLinkFromSource.insert(SGA);
743 // bring over SGA.
744 GlobalAlias *NewDA = new GlobalAlias(TypeMap.get(SGA->getType()),
745 SGA->getLinkage(), SGA->getName(),
747 CopyGVAttributes(NewDA, SGA);
755 ValueMap[SGA] = NewDA;