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

References

tools/clang/lib/CodeGen/CGBlocks.cpp
  204     if (llvm::GlobalValue *desc = CGM.getModule().getNamedValue(descName))
  278       global->setComdat(CGM.getModule().getOrInsertComdat(descName));
 1447         &CGM.getModule());
 1455     auto *InitVar = new llvm::GlobalVariable(CGM.getModule(), Init->getType(),
 1575       fnLLVMType, llvm::GlobalValue::InternalLinkage, name, &CGM.getModule());
 1999   if (llvm::GlobalValue *Func = CGM.getModule().getNamedValue(FuncName))
 2021                            FuncName, &CGM.getModule());
 2023     Fn->setComdat(CGM.getModule().getOrInsertComdat(FuncName));
 2194   if (llvm::GlobalValue *Func = CGM.getModule().getNamedValue(FuncName))
 2214                            FuncName, &CGM.getModule());
 2216     Fn->setComdat(CGM.getModule().getOrInsertComdat(FuncName));
 2466                            "__Block_byref_object_copy_", &CGF.CGM.getModule());
 2542                            &CGF.CGM.getModule());
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1135   if (llvm::Function *F = CGM.getModule().getFunction(Name))
 1168       FuncTy, llvm::GlobalValue::LinkOnceODRLinkage, Name, &CGM.getModule());
 3775           llvm::AttributeList::get(CGM.getModule().getContext(), 3U, B);
 9458       &CGM.getModule(), llvm::Intrinsic::bpf_preserve_field_info,
11355     SI->setMetadata(CGM.getModule().getMDKindID("nontemporal"), Node);
tools/clang/lib/CodeGen/CGCUDANV.cpp
  155       TheModule(CGM.getModule()),
  562         CGM.getModule(), CGM.Int8Ty,
tools/clang/lib/CodeGen/CGCXX.cpp
  184                                           Aliasee, &getModule());
tools/clang/lib/CodeGen/CGDebugInfo.cpp
   68       DBuilder(CGM.getModule()) {
  556       MainFileName = CGM.getModule().getName().str();
 2422     llvm::DIBuilder DIB(CGM.getModule());
tools/clang/lib/CodeGen/CGDecl.cpp
  251       getModule(), LTy, Ty.isConstant(getContext()), Linkage, Init, Name,
  340     GV = new llvm::GlobalVariable(CGM.getModule(), Init->getType(),
 1115         getModule(), Ty, isConstant, llvm::GlobalValue::PrivateLinkage,
 2310   LifetimeStartFn = llvm::Intrinsic::getDeclaration(&getModule(),
 2319   LifetimeEndFn = llvm::Intrinsic::getDeclaration(&getModule(),
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  339                            Name, &getModule());
  581   SmallString<128> FileName = llvm::sys::path::filename(getModule().getName());
tools/clang/lib/CodeGen/CGException.cpp
  334   llvm::Function *Fn = getModule().getFunction(ObjCXX.PersonalityFn);
 1724         &CGM.getModule(), llvm::Intrinsic::localrecover);
 1879       FnTy, llvm::GlobalValue::InternalLinkage, Name.str(), &CGM.getModule());
tools/clang/lib/CodeGen/CGExpr.cpp
  390               CGF.CGM.getModule(), Init->getType(), /*isConstant=*/true,
 1676     Load->setMetadata(CGM.getModule().getMDKindID("nontemporal"), Node);
 1758     Store->setMetadata(CGM.getModule().getMDKindID("nontemporal"), Node);
 2448     CGM.getModule().getOrInsertNamedMetadata(Name);
 2823       CGM.getModule(), Descriptor->getType(),
 3075           new llvm::GlobalVariable(CGM.getModule(), Info->getType(), false,
 3136         new llvm::GlobalVariable(CGM.getModule(), Info->getType(), false,
 3141     SlowPathFn = CGM.getModule().getOrInsertFunction(
 3148     SlowPathFn = CGM.getModule().getOrInsertFunction(
 3164   llvm::Module *M = &CGM.getModule();
 3202       llvm::GlobalValue::WeakODRLinkage, "__cfi_check_fail", &CGM.getModule());
tools/clang/lib/CodeGen/CGExprAgg.cpp
  500           CGM.getModule(), C->getType(),
tools/clang/lib/CodeGen/CGExprCXX.cpp
  529         CGF.CGM.getModule(), NullConstantForBase->getType(),
tools/clang/lib/CodeGen/CGExprConstant.cpp
  903   auto GV = new llvm::GlobalVariable(CGM.getModule(), C->getType(),
 1418   auto global = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty, true,
tools/clang/lib/CodeGen/CGGPUBuiltin.cpp
  119   llvm::Function* VprintfFunc = GetVprintfDeclaration(CGM.getModule());
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp
  431     if (llvm::Function *F = CGM.getModule().getFunction(FuncName)) {
  457                                FuncName, &CGM.getModule());
tools/clang/lib/CodeGen/CGObjC.cpp
  136         CGM.getModule().getMDKindID("invariant.load"),
 2183       if (!CGF.CGM.getModule().getModuleFlag(markerKey)) {
 2185         CGF.CGM.getModule().addModuleFlag(llvm::Module::Error, markerKey, str);
 3537                            &CGM.getModule());
 3620       &CGM.getModule());
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 1639           &CGM.getModule());
 1652       auto *InitVar = new llvm::GlobalVariable(CGM.getModule(), Init->getType(), 
 2119   : CGObjCRuntime(cgm), TheModule(CGM.getModule()),
 2394       CGM.getModule().getGlobalVariable("__objc_id_type_info");
 2397         new llvm::GlobalVariable(CGM.getModule(), PtrToInt8Ty,
tools/clang/lib/CodeGen/CGObjCMac.cpp
 2016   auto *GV = new llvm::GlobalVariable(CGM.getModule(), C->getType(), isConstant,
 3099     Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolTy,
 3604   llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true);
 3667   llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true);
 3694   llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true);
 3696     GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false,
 3707   llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name, true);
 3710     GV = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ClassTy, false,
 3983                            &CGM.getModule());
 4014       new llvm::GlobalVariable(CGM.getModule(), Ty, false, LT, Init, Name);
 4059       new llvm::GlobalVariable(CGM.getModule(), Value->getType(),
 4976   llvm::Module &Mod = CGM.getModule();
 5585     Asm += CGM.getModule().getModuleInlineAsm();
 5599     CGM.getModule().setModuleInlineAsm(OS.str());
 6075     new llvm::GlobalVariable(CGM.getModule(), Init->getType(), false, LT, Init,
 6375         new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.CacheTy, false,
 6385           new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ImpnfABITy, false,
 6520   llvm::GlobalVariable *PTGV = CGM.getModule().getGlobalVariable(ProtocolName);
 6523   PTGV = new llvm::GlobalVariable(CGM.getModule(), Init->getType(), false,
 6531     PTGV->setComdat(CGM.getModule().getOrInsertComdat(ProtocolName));
 6730   llvm::GlobalVariable *IvarOffsetGV = CGM.getModule().getGlobalVariable(Name);
 6733         new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.IvarOffsetVarTy,
 6874     Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolnfABITy,
 6878       Entry->setComdat(CGM.getModule().getOrInsertComdat(Protocol));
 6969       Entry->setComdat(CGM.getModule().getOrInsertComdat(symbolName));
 6983     new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.ProtocolnfABIPtrTy,
 6987     PTGV->setComdat(CGM.getModule().getOrInsertComdat(ProtocolRef));
 7019     CGM.getModule().getGlobalVariable(TmpName.str(), true);
 7076           ->setMetadata(CGM.getModule().getMDKindID("invariant.load"),
 7178     = CGM.getModule().getGlobalVariable(messageRefName);
 7265   llvm::GlobalVariable *GV = CGM.getModule().getGlobalVariable(Name);
 7279     CGM.getModule().getGlobalList().push_back(GV);
 7337         CGM.getModule(), ClassGV->getType(), false,
 7376         CGM.getModule(), ClassGV->getType(), false,
 7400         CGM.getModule(), ObjCTypes.ClassnfABIPtrTy, false,
 7480   LI->setMetadata(CGM.getModule().getMDKindID("invariant.load"),
 7497         CGM.getModule(), ObjCTypes.SelectorPtrTy, false,
 7633     auto *IDEHType = CGM.getModule().getGlobalVariable("OBJC_EHTYPE_id");
 7636           new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.EHTypeTy, false,
 7699       Entry = new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.EHTypeTy,
 7711   auto *VTableGV = CGM.getModule().getGlobalVariable(VTableName);
 7714         new llvm::GlobalVariable(CGM.getModule(), ObjCTypes.Int8PtrTy, false,
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
  831         CGF.CGM.getModule(), Init->getType(), /*isConstant=*/true,
 1288         llvm::GlobalAlias::create(DeclTy, 0, LT, "", Addr, &CGM.getModule());
 1367                                     Name, &CGM.getModule());
 2690     llvm::Value *Ptr = CGM.getModule().getNamedValue(PtrName);
 2934           CGM.getModule(), CGM.Int8Ty, /*isConstant=*/true,
 2973           CGM.getModule(), CGM.Int8Ty, /*isConstant=*/true,
 3147              CGM.getModule(), Ty, /*IsConstant*/ false,
 3307                                     &CGM.getModule());
 4020   llvm::Module &M = CGM.getModule();
 4061   llvm::Module &M = CGM.getModule();
 4516       TaskEntryTy, llvm::GlobalValue::InternalLinkage, Name, &CGM.getModule());
 4620                              Name, &CGM.getModule());
 4714       &CGM.getModule());
 4903       TaskDupTy, llvm::GlobalValue::InternalLinkage, Name, &CGM.getModule());
 5577                                     &CGM.getModule());
 6013                                     Name, &CGM.getModule());
 6090                                     Name, &CGM.getModule());
 6160                                     Name, &CGM.getModule());
 6527         CGM.getModule(), CGM.Int8Ty, /*isConstant=*/true,
 8609           CGM.getModule(), SizesArrayInit->getType(),
 8625         CGM.getModule(), MapTypesArrayInit->getType(),
 8869                                     Name, &CGM.getModule());
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
  624           &CGF.CGM.getModule(), llvm::Intrinsic::nvvm_read_ptx_sreg_warpsize),
  632           &CGF.CGM.getModule(), llvm::Intrinsic::nvvm_read_ptx_sreg_tid_x),
  657           &CGF.CGM.getModule(), llvm::Intrinsic::nvvm_read_ptx_sreg_ntid_x),
  706       /*placeholder=*/"_worker", &CGM.getModule());
 1179         CGM.getModule(), CGM.VoidPtrTy, /*isConstant=*/false,
 1309         CGM.getModule(), CGM.VoidPtrTy, /*isConstant=*/false,
 1384       new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty, /*isConstant=*/true,
 1842   llvm::Module &M = CGM.getModule();
 2222             CGM.getModule(), CGM.Int16Ty, /*isConstant=*/true,
 2233             CGM.getModule(), CGM.Int8Ty, /*isConstant=*/false,
 2236             CGM.getModule(), CGM.SizeTy, /*isConstant=*/true,
 3172   llvm::Module &M = CGM.getModule();
 3486       "_omp_reduction_shuffle_and_reduce_func", &CGM.getModule());
 3647       "_omp_reduction_list_to_global_copy_func", &CGM.getModule());
 3753       "_omp_reduction_list_to_global_reduce_func", &CGM.getModule());
 3847       "_omp_reduction_global_to_list_copy_func", &CGM.getModule());
 3953       "_omp_reduction_global_to_list_reduce_func", &CGM.getModule());
 4364           CGM.getModule(), CGM.VoidPtrTy, /*isConstant=*/true,
 4563       Twine(OutlinedParallelFn->getName(), "_wrapper"), &CGM.getModule());
 4753           CGM.getModule(), VarTy, /*isConstant=*/false,
 4765           CGM.getModule(), VarTy, /*isConstant=*/false,
 4778           CGM.getModule(), VarTy, /*isConstant=*/false,
 5126           CGM.getModule(), LLVMStaticTy,
 5156           CGM.getModule(), LLVMArr2Ty,
 5191         CGM.getModule(), LLVMReductionsBufferTy,
tools/clang/lib/CodeGen/CGStmt.cpp
 1057         new llvm::GlobalVariable(CGM.getModule(), SLoc->getType(), false,
 2418                            CapturedStmtInfo->getHelperName(), &CGM.getModule());
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
  474                              FO.FunctionName, &CGM.getModule());
tools/clang/lib/CodeGen/CGVTT.cpp
   99     VTT->setComdat(CGM.getModule().getOrInsertComdat(VTT->getName()));
tools/clang/lib/CodeGen/CGVTables.cpp
   55     ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName()));
  529                                      Name.str(), &CGM.getModule());
tools/clang/lib/CodeGen/CodeGenFunction.cpp
   62       Builder(cgm, cgm.getModule().getContext(), llvm::ConstantFolder(),
  380         &CGM.getModule(), llvm::Intrinsic::localescape);
  509   auto *GV = new llvm::GlobalVariable(CGM.getModule(), Addr->getType(),
 1669       new llvm::GlobalVariable(CGM.getModule(), NullConstant->getType(),
tools/clang/lib/CodeGen/CodeGenModule.cpp
  421     getModule().setProfileSummary(
  461     auto *NMD = getModule().getOrInsertNamedMetadata("llvm.dependent-libraries");
  468     getModule().addModuleFlag(llvm::Module::Error, "NumRegisterParameters",
  474     getModule().addModuleFlag(llvm::Module::Warning, "Dwarf Version",
  479     getModule().addModuleFlag(llvm::Module::Warning, "CodeView", 1);
  482     getModule().addModuleFlag(llvm::Module::Warning, "CodeViewGHash", 1);
  486     getModule().addModuleFlag(llvm::Module::Warning, "cfguard", 2);
  489     getModule().addModuleFlag(llvm::Module::Warning, "cfguard", 1);
  496     getModule().addModuleFlag(llvm::Module::Error, "StrictVTablePointers",1);
  503     getModule().addModuleFlag(llvm::Module::Require,
  511     getModule().addModuleFlag(llvm::Module::Warning, "Debug Info Version",
  519   getModule().addModuleFlag(llvm::Module::Error, "wchar_size", WCharWidth);
  528     getModule().addModuleFlag(llvm::Module::Error, "min_enum_size", EnumWidth);
  533     getModule().addModuleFlag(llvm::Module::Override, "Cross-DSO CFI", 1);
  537     getModule().addModuleFlag(llvm::Module::Override,
  545     getModule().addModuleFlag(llvm::Module::Override, "cf-protection-return",
  552     getModule().addModuleFlag(llvm::Module::Override, "cf-protection-branch",
  560     getModule().addModuleFlag(llvm::Module::Override, "nvvm-reflect-ftz",
  587     getModule().setPICLevel(static_cast<llvm::PICLevel::Level>(PLevel));
  589       getModule().setPIELevel(static_cast<llvm::PIELevel::Level>(PLevel));
  602       getModule().setCodeModel(codeModel);
  607     getModule().setRtLibUseGOT();
 1127   return getModule().getNamedValue(Name);
 1917       CGM.getModule(), ATy, false, llvm::GlobalValue::AppendingLinkage,
 2067   auto *NMD = getModule().getOrInsertNamedMetadata("llvm.linker.options");
 2167   auto *gv = new llvm::GlobalVariable(getModule(), Array->getType(), false,
 2181       new llvm::GlobalVariable(getModule(), s->getType(), true,
 2368   if (llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name))
 2375       getModule(), Init->getType(),
 2898           getModule().getOrInsertComdat(ResolverFunc->getName()));
 2941         getModule().getOrInsertComdat(ResolverFunc->getName()));
 3016          DeclTy, 0, getFunctionLinkage(GD), AliasName, IFunc, &getModule());
 3057         DeclTy, 0, llvm::Function::WeakODRLinkage, "", Resolver, &getModule());
 3176                              Entry ? StringRef() : MangledName, &getModule());
 3463       getModule(), Ty->getElementType(), false,
 3617   llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name);
 3632   GV = new llvm::GlobalVariable(getModule(), Ty, /*isConstant=*/true,
 4474       llvm::GlobalAlias::create(DeclTy, 0, LT, "", Aliasee, &getModule());
 4549                                 "", Resolver, &getModule());
 4577   return llvm::Intrinsic::getDeclaration(&getModule(), (llvm::Intrinsic::ID)IID,
 4736       new llvm::GlobalVariable(getModule(), C->getType(), /*isConstant=*/true,
 4767       llvm::IntegerType::get(getModule().getContext(),
 4891   llvm::Module &M = CGM.getModule();
 5081       getModule(), Type, Constant, Linkage, InitialValue, Name.c_str(),
 5392     getModule().appendModuleInlineAsm(AD->getAsmString()->getString());
 5566       CGM.getModule().getOrInsertNamedMetadata("clang.global.decl.ptrs");
 5586     if (Val && !getModule().getNamedValue(Name->getName()))
 5611     llvm::GlobalValue *Addr = getModule().getNamedValue(I.second);
 5917     SanStats = std::make_unique<llvm::SanitizerStatReport>(&getModule());
tools/clang/lib/CodeGen/CodeGenPGO.cpp
   41     FuncNameVar = llvm::createPGOFuncNameVar(CGM.getModule(), Linkage, FuncName);
  957     llvm::annotateValueSite(CGM.getModule(), *ValueSite, *ProfRecord,
tools/clang/lib/CodeGen/CodeGenTypes.cpp
   32   : CGM(cgm), Context(cgm.getContext()), TheModule(cgm.getModule()),
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp
   73   auto GV = new llvm::GlobalVariable(CGM.getModule(),
  152     new llvm::GlobalVariable(Builder.CGM.getModule(), type, true,
tools/clang/lib/CodeGen/CoverageMappingGen.cpp
 1441       CGM.getModule(), CovDataTy, true, llvm::GlobalValue::InternalLinkage,
 1456     new llvm::GlobalVariable(CGM.getModule(), NamesArrTy, true,
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 1655     VTable->setComdat(CGM.getModule().getOrInsertComdat(VTable->getName()));
 2224     guard = new llvm::GlobalVariable(CGM.getModule(), guardTy,
 2248       guard->setComdat(CGM.getModule().getOrInsertComdat(guard->getName()));
 2517   if (llvm::Value *V = CGM.getModule().getNamedValue(WrapperName))
 2530                              WrapperName.str(), &CGM.getModule());
 2579         CGM.getModule(), CGM.Int8Ty, /*isConstant=*/false,
 2662                                     InitFnName.str(), &CGM.getModule());
 2673     llvm::LLVMContext &Context = CGM.getModule().getContext();
 2798       : CGM(ABI.CGM), VMContext(CGM.getModule().getContext()), CXXABI(ABI) {}
 2885   llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name);
 2892     GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy,
 3259     CGM.getModule().getOrInsertGlobal(VTableName, CGM.Int8PtrTy);
 3337   llvm::GlobalVariable *OldGV = CGM.getModule().getNamedGlobal(Name);
 3497   llvm::Module &M = CGM.getModule();
 4012     llvm::Comdat *C = CGM.getModule().getOrInsertComdat(Out.str());
 4331       fn->setComdat(CGM.getModule().getOrInsertComdat(fn->getName()));
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
  325     if (auto *VDispMap = CGM.getModule().getNamedGlobal(MangledName))
  355         CGM.getModule(), VDispMapTy, /*isConstant=*/true, Linkage,
  523     if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(Name))
  526     auto *GV = new llvm::GlobalVariable(CGM.getModule(), CGM.Int8Ty,
 1785           CGM.getModule().getNamedGlobal(VFTableName)) {
 1806   VTable = new llvm::GlobalVariable(CGM.getModule(), VTableType,
 1816     C = CGM.getModule().getOrInsertComdat(VFTableName.str());
 1837                                         &CGM.getModule());
 1977   if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName))
 1986                              ThunkName.str(), &CGM.getModule());
 1993     ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName()));
 2058   assert(!CGM.getModule().getNamedGlobal(Name) &&
 2306         CGM.getModule(), InitFunc->getType(), /*isConstant=*/true,
 2351   if (auto *GV = CGM.getModule().getNamedGlobal(VarName))
 2354       CGM.getModule(), CGM.IntTy,
 2436     F->setComdat(CGM.getModule().getOrInsertComdat(F->getName()));
 2497         new llvm::GlobalVariable(CGM.getModule(), GuardTy, /*isConstant=*/false,
 2504           CGM.getModule().getOrInsertComdat(GuardVar->getName()));
 3412   if (auto VTable = CGM.getModule().getNamedGlobal(MangledName))
 3414   return new llvm::GlobalVariable(CGM.getModule(), CGM.Int8PtrTy,
 3508         VMContext(CGM.getLLVMContext()), Module(CGM.getModule()), RD(RD),
 3599     CHD->setComdat(CGM.getModule().getOrInsertComdat(CHD->getName()));
 3637     BCA->setComdat(CGM.getModule().getOrInsertComdat(BCA->getName()));
 3679     BCD->setComdat(CGM.getModule().getOrInsertComdat(BCD->getName()));
 3740     COL->setComdat(CGM.getModule().getOrInsertComdat(COL->getName()));
 3816   if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName))
 3837       CGM.getModule(), TypeDescriptorType, /*isConstant=*/false,
 3842     Var->setComdat(CGM.getModule().getOrInsertComdat(Var->getName()));
 3880     Fn->setComdat(CGM.getModule().getOrInsertComdat(Fn->getName()));
 3894   if (llvm::GlobalValue *GV = CGM.getModule().getNamedValue(ThunkName))
 3903       ThunkTy, getLinkageForRTTI(RecordTy), ThunkName.str(), &CGM.getModule());
 3907     ThunkFn->setComdat(CGM.getModule().getOrInsertComdat(ThunkFn->getName()));
 4021   if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName))
 4076       CGM.getModule(), CTType, /*isConstant=*/true, getLinkageForRTTI(T),
 4081     GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName()));
 4194       CGM.getModule(), CTAType, /*isConstant=*/true, getLinkageForRTTI(T),
 4199     CTA->setComdat(CGM.getModule().getOrInsertComdat(CTA->getName()));
 4227   if (llvm::GlobalVariable *GV = CGM.getModule().getNamedGlobal(MangledName))
 4263       CGM.getModule(), TIType, /*isConstant=*/true, getLinkageForRTTI(T),
 4268     GV->setComdat(CGM.getModule().getOrInsertComdat(GV->getName()));
tools/clang/lib/CodeGen/SanitizerMetadata.cpp
   58       CGM.getModule().getOrInsertNamedMetadata("llvm.asan.globals");
   86   I->setMetadata(CGM.getModule().getMDKindID("nosanitize"),
tools/clang/lib/CodeGen/TargetInfo.cpp
 7398             M.getModule().getOrInsertNamedMetadata(
 8872     llvm::LLVMContext &Ctx = CGM.getModule().getContext();
 8876       CGM.getModule().getOrInsertNamedMetadata("xcore.typestrings");
 9899                                    &CGF.CGM.getModule());
 9957                                    &CGF.CGM.getModule());