Lines Matching defs:Alias
31 /// Try to emit a base destructor as an alias to its primary
37 // Producing an alias to a base class ctor/dtor can degrade debug quality
109 /// Try to emit a definition as a global alias for another definition.
110 /// If \p InEveryTU is true, we know that an equivalent alias can be produced
118 // The alias will use the linkage of the referent. If we can't
122 // We can't use an alias if the linkage is not valid for one.
137 // Derive the type for the alias.
149 // Instead of creating as alias to a linkonce_odr, replace all of the uses
171 // Don't create an alias to a linker weak symbol. This avoids producing
173 // output the alias both for weak_odr and linkonce_odr, but that
178 // Create the alias with no name.
179 auto *Alias = llvm::GlobalAlias::create(AliasType->getElementType(), 0,
182 // Switch any previous uses to the alias.
186 Alias->takeName(Entry);
187 Entry->replaceAllUsesWith(Alias);
190 Alias->setName(MangledName);
193 // Finally, set up the alias with its proper name and attributes.
194 SetCommonAttributes(cast<NamedDecl>(AliasDecl.getDecl()), Alias);
207 // for classes with no virtual bases. Try to emit it as an alias.
251 // classes with no virtual bases, so try to emit it as an alias.