reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CodeGenModule.cpp
 3470     GV->takeName(Entry);
 3474           llvm::ConstantExpr::getBitCast(GV, Entry->getType());
 3495       getOpenMPRuntime().registerTargetGlobalVariable(D, GV);
 3499     GV->setConstant(isTypeConstant(D->getType(), false));
 3501     GV->setAlignment(getContext().getDeclAlign(D).getAsAlign());
 3503     setLinkageForGV(GV, D);
 3508       setTLSMode(GV, *D);
 3511     setGVProperties(GV, D);
 3522         GV->setSection(SA->getName());
 3530       GV->setSection(".cp.rodata");
 3535     if (Context.getLangOpts().CPlusPlus && GV->hasExternalLinkage() &&
 3536         D->getType().isConstQualified() && !GV->hasInitializer() &&
 3549             if (GV->getType()->getElementType() != InitType) {
 3554               GV->setName(StringRef());
 3562               GV->eraseFromParent();
 3563               GV = NewGV;
 3565               GV->setInitializer(Init);
 3566               GV->setConstant(true);
 3567               GV->setLinkage(llvm::GlobalValue::AvailableExternallyLinkage);
 3569             emitter.finalize(GV);
 3582     return getTargetCodeGenInfo().performAddrSpaceCast(*this, GV, AddrSpace,
 3585   if (GV->isDeclaration())
 3586     getTargetCodeGenInfo().setTargetAttributes(D, GV, *this);
 3588   return GV;