Lines Matching refs:Alias
616 "' is a protected alias");
1144 for (const auto &Alias : M.aliases()) {
1145 MCSymbol *Name = getSymbol(&Alias);
1147 if (Alias.hasExternalLinkage() || !MAI->getWeakRefDirective())
1149 else if (Alias.hasWeakLinkage() || Alias.hasLinkOnceLinkage())
1152 assert(Alias.hasLocalLinkage() && "Invalid alias linkage");
1154 // Set the symbol type to function if the alias has a function type.
1156 if (Alias.getType()->getPointerElementType()->isFunctionTy())
1159 EmitVisibility(Name, Alias.getVisibility());
1162 OutStreamer->EmitAssignment(Name, lowerConstant(Alias.getAliasee()));
1165 // alias is not of an object or the aliased object is private, then set the
1166 // size of the alias symbol from the type of the alias. We don't do this in
1167 // other situations as the alias and aliasee having differing types but same
1169 const GlobalObject *BaseObject = Alias.getBaseObject();
1170 if (MAI->hasDotTypeDotSizeDirective() && Alias.getValueType()->isSized() &&
1173 uint64_t Size = DL.getTypeAllocSize(Alias.getValueType());