Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Alias

2249     // function as an alias to the global Init function (if any). Otherwise,
3370 enum class StructorCodegen { Emit, RAUW, Alias, COMDAT };
3405 return StructorCodegen::Alias;
3420 // Create the alias with no name.
3421 auto *Alias = llvm::GlobalAlias::create(Linkage, "", Aliasee);
3423 // Switch any previous uses to the alias.
3427 Alias->takeName(Entry);
3428 Entry->replaceAllUsesWith(Alias);
3431 Alias->setName(MangledName);
3434 // Finally, set up the alias with its proper name and attributes.
3435 CGM.setAliasAttributes(cast<NamedDecl>(AliasDecl.getDecl()), Alias);
3456 if (CGType == StructorCodegen::Alias || CGType == StructorCodegen::COMDAT) {