Lines Matching refs:getModule
475 getModule().setProfileSummary( in Release()
519 auto *NMD = getModule().getOrInsertNamedMetadata("llvm.dependent-libraries"); in Release()
526 getModule().addModuleFlag(llvm::Module::Error, "NumRegisterParameters", in Release()
530 getModule().addModuleFlag(llvm::Module::Max, "Dwarf Version", in Release()
536 getModule().setSemanticInterposition(1); in Release()
539 getModule().setSemanticInterposition(0); in Release()
543 getModule().addModuleFlag(llvm::Module::Warning, "CodeView", 1); in Release()
546 getModule().addModuleFlag(llvm::Module::Warning, "CodeViewGHash", 1); in Release()
550 getModule().addModuleFlag(llvm::Module::Warning, "cfguard", 2); in Release()
553 getModule().addModuleFlag(llvm::Module::Warning, "cfguard", 1); in Release()
560 getModule().addModuleFlag(llvm::Module::Error, "StrictVTablePointers",1); in Release()
567 getModule().addModuleFlag(llvm::Module::Require, in Release()
575 getModule().addModuleFlag(llvm::Module::Warning, "Debug Info Version", in Release()
583 getModule().addModuleFlag(llvm::Module::Error, "wchar_size", WCharWidth); in Release()
592 getModule().addModuleFlag(llvm::Module::Error, "min_enum_size", EnumWidth); in Release()
598 getModule().addModuleFlag(llvm::Module::Error, "target-abi", in Release()
604 getModule().addModuleFlag(llvm::Module::Override, "Cross-DSO CFI", 1); in Release()
611 getModule().addModuleFlag(llvm::Module::Error, "Virtual Function Elim", in Release()
616 getModule().addModuleFlag(llvm::Module::Override, in Release()
624 getModule().addModuleFlag(llvm::Module::Override, "cf-protection-return", in Release()
631 getModule().addModuleFlag(llvm::Module::Override, "cf-protection-branch", in Release()
637 getModule().addModuleFlag(llvm::Module::Error, in Release()
641 getModule().addModuleFlag(llvm::Module::Error, "sign-return-address", in Release()
644 getModule().addModuleFlag(llvm::Module::Error, "sign-return-address-all", in Release()
647 getModule().addModuleFlag(llvm::Module::Error, in Release()
654 getModule().addModuleFlag( in Release()
663 getModule().addModuleFlag(llvm::Module::Override, "nvvm-reflect-ftz", in Release()
691 getModule().setPICLevel(static_cast<llvm::PICLevel::Level>(PLevel)); in Release()
693 getModule().setPIELevel(static_cast<llvm::PIELevel::Level>(PLevel)); in Release()
706 getModule().setCodeModel(codeModel); in Release()
711 getModule().setRtLibUseGOT(); in Release()
738 setVisibilityFromDLLStorageClass(LangOpts, getModule()); in Release()
765 getModule().addModuleFlag(llvm::Module::Error, "SmallDataLimit", in EmitBackendOptionsMetadata()
1273 return getModule().getNamedValue(Name); in GetGlobalValue()
2101 CGM.getModule(), ATy, false, llvm::GlobalValue::AppendingLinkage, in emitUsed()
2253 auto *NMD = getModule().getOrInsertNamedMetadata("llvm.linker.options"); in EmitModuleLinkOptions()
2358 auto *gv = new llvm::GlobalVariable(getModule(), Array->getType(), false, in EmitGlobalAnnotations()
2372 new llvm::GlobalVariable(getModule(), s->getType(), true, in EmitAnnotationString()
2418 auto *GV = new llvm::GlobalVariable(getModule(), Struct->getType(), true, in EmitAnnotationArgs()
2595 if (llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name)) in GetAddrOfMSGuidDecl()
2624 getModule(), Init->getType(), in GetAddrOfMSGuidDecl()
2646 if (llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name)) in GetAddrOfTemplateParamObject()
2659 getModule(), Init->getType(), in GetAddrOfTemplateParamObject()
3135 getModule().getOrInsertComdat(ResolverFunc->getName())); in emitMultiVersionFunctions()
3178 getModule().getOrInsertComdat(ResolverFunc->getName())); in emitCPUDispatchDefinition()
3253 DeclTy, 0, getFunctionLinkage(GD), AliasName, IFunc, &getModule()); in emitCPUDispatchDefinition()
3294 DeclTy, 0, llvm::Function::WeakODRLinkage, "", Resolver, &getModule()); in GetOrCreateMultiVersionResolver()
3408 Entry ? StringRef() : MangledName, &getModule()); in GetOrCreateLLVMFunction()
3697 getModule(), Ty->getElementType(), false, in GetOrCreateLLVMGlobal()
3854 llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name); in CreateOrReplaceCXXRuntimeVariable()
3869 GV = new llvm::GlobalVariable(getModule(), Ty, /*isConstant=*/true, in CreateOrReplaceCXXRuntimeVariable()
4771 llvm::GlobalAlias::create(DeclTy, AS, LT, "", Aliasee, &getModule()); in EmitAliasDefinition()
4846 "", Resolver, &getModule()); in emitIFuncDefinition()
4874 return llvm::Intrinsic::getDeclaration(&getModule(), (llvm::Intrinsic::ID)IID, in getIntrinsic()
5033 new llvm::GlobalVariable(getModule(), C->getType(), /*isConstant=*/true, in GetAddrOfConstantCFString()
5064 llvm::IntegerType::get(getModule().getContext(), in GetAddrOfConstantCFString()
5190 llvm::Module &M = CGM.getModule(); in GenerateStringLiteral()
5380 getModule(), Type, Constant, Linkage, InitialValue, Name.c_str(), in GetAddrOfGlobalTemporary()
5697 getModule().appendModuleInlineAsm(AD->getAsmString()->getString()); in EmitTopLevelDecl()
5880 if (llvm::Function *F = getModule().getFunction("main")) { in EmitMainVoidAlias()
5901 CGM.getModule().getOrInsertNamedMetadata("clang.global.decl.ptrs"); in EmitGlobalDeclMetadata()
5921 if (Val && !getModule().getNamedValue(Name->getName())) in EmitStaticExternCAliases()
5946 llvm::GlobalValue *Addr = getModule().getNamedValue(I.second); in EmitDeclMetadata()
6160 SanStats = std::make_unique<llvm::SanitizerStatReport>(&getModule()); in getSanStats()