Home | History | Annotate | Download | only in CodeGen

Lines Matching full:linkage

405   GVALinkage Linkage = getContext().GetGVALinkageForFunction(D);
407 if (Linkage == GVA_Internal)
417 // definition somewhere else, so we can use available_externally linkage.
418 if (Linkage == GVA_C99Inline)
432 if (Linkage == GVA_CXXInline || Linkage == GVA_TemplateInstantiation)
437 // An explicit instantiation of a template has weak linkage, since
441 if (Linkage == GVA_ExplicitTemplateInstantiation)
446 // Otherwise, we have strong external linkage.
447 assert(Linkage == GVA_StrongExternal);
581 // separate linkage types for this.
587 if (LV.linkage() == ExternalLinkage && LV.visibilityExplicit()) {
870 // linkage.
1098 // Set linkage and visibility in case we never see a definition.
1100 if (LV.linkage() != ExternalLinkage) {
1101 // Don't set internal linkage on declarations.
1123 llvm::GlobalValue::LinkageTypes Linkage) {
1141 Linkage, 0, Name);
1216 // If this class has a key function, use that to determine the linkage of
1227 // unit. If this is the case, use available_externally linkage.
1249 // FIXME: Use available_externally linkage. However, this currently
1265 // FIXME: Use available_externally linkage. However, this currently
1380 // Set the llvm linkage type as appropriate.
1381 llvm::GlobalValue::LinkageTypes Linkage =
1383 GV->setLinkage(Linkage);
1384 if (Linkage == llvm::GlobalVariable::CommonLinkage)
1402 GVALinkage Linkage = getContext().GetGVALinkageForVariable(D);
1403 if (Linkage == GVA_Internal)
1414 } else if (Linkage == GVA_TemplateInstantiation ||
1415 Linkage == GVA_ExplicitTemplateInstantiation)
1423 // Thread local vars aren't considered common linkage.
1577 // We need to set linkage and visibility on the function before
1782 llvm::GlobalValue::LinkageTypes Linkage;
1786 Linkage = llvm::GlobalValue::InternalLinkage;
1792 // when using private linkage. It is not clear if this is a bug in ld
1794 Linkage = llvm::GlobalValue::LinkerPrivateLinkage;
1799 new llvm::GlobalVariable(getModule(), C->getType(), isConstant, Linkage, C,
1918 llvm::GlobalValue::LinkageTypes Linkage;
1920 Linkage = llvm::GlobalValue::PrivateLinkage;
1924 new llvm::GlobalVariable(getModule(), C->getType(), isConstant, Linkage, C,
2201 // EmitLinkageSpec - Emit all declarations in a linkage spec.
2205 ErrorUnsupported(LSD, "linkage spec");