Lines Matching refs:getModule

438       !getModule().getSourceFileName().empty()) {  in CodeGenModule()
439 std::string Path = getModule().getSourceFileName(); in CodeGenModule()
451 getModule().addModuleFlag(llvm::Module::Error, "NumRegisterParameters", in CodeGenModule()
886 getModule().setProfileSummary( in Release()
901 CodeGenPGO(*this).setValueProfilingFlag(getModule()); in Release()
902 CodeGenPGO(*this).setProfileVersion(getModule()); in Release()
921 getModule().addModuleFlag(llvm::Module::Error, in Release()
933 getModule().addModuleFlag(llvm::Module::Error, "amdgpu_printf_kind", in Release()
957 getModule(), ATy, false, llvm::GlobalValue::InternalLinkage, in Release()
965 getModule(), Int8Ty, false, llvm::GlobalValue::ExternalLinkage, in Release()
992 auto *NMD = getModule().getOrInsertNamedMetadata("llvm.dependent-libraries"); in Release()
998 getModule().addModuleFlag(llvm::Module::Max, "Dwarf Version", in Release()
1003 getModule().addModuleFlag(llvm::Module::Max, "DWARF64", 1); in Release()
1007 getModule().setSemanticInterposition(true); in Release()
1011 getModule().addModuleFlag(llvm::Module::Warning, "CodeView", 1); in Release()
1014 getModule().addModuleFlag(llvm::Module::Warning, "CodeViewGHash", 1); in Release()
1018 getModule().addModuleFlag(llvm::Module::Warning, "cfguard", 2); in Release()
1021 getModule().addModuleFlag(llvm::Module::Warning, "cfguard", 1); in Release()
1025 getModule().addModuleFlag(llvm::Module::Warning, "ehcontguard", 1); in Release()
1029 getModule().addModuleFlag(llvm::Module::Warning, "ms-kernel", 1); in Release()
1036 getModule().addModuleFlag(llvm::Module::Error, "StrictVTablePointers",1); in Release()
1043 getModule().addModuleFlag(llvm::Module::Require, in Release()
1051 getModule().addModuleFlag(llvm::Module::Warning, "Debug Info Version", in Release()
1059 getModule().addModuleFlag(llvm::Module::Error, "wchar_size", WCharWidth); in Release()
1062 getModule().addModuleFlag(llvm::Module::Warning, in Release()
1065 getModule().addModuleFlag(llvm::Module::Warning, in Release()
1068 getModule().addModuleFlag(llvm::Module::Warning, "zos_product_patchlevel", in Release()
1071 getModule().addModuleFlag(llvm::Module::Error, "zos_product_id", in Release()
1077 getModule().addModuleFlag(llvm::Module::Error, "zos_cu_language", in Release()
1083 getModule().addModuleFlag(llvm::Module::Max, "zos_translation_time", in Release()
1087 getModule().addModuleFlag(llvm::Module::Error, "zos_le_char_mode", in Release()
1095 getModule().addModuleFlag(llvm::Module::Error, "min_enum_size", EnumWidth); in Release()
1101 getModule().addModuleFlag(llvm::Module::Error, "target-abi", in Release()
1112 getModule().addModuleFlag( in Release()
1120 getModule().addModuleFlag(llvm::Module::Override, "Cross-DSO CFI", 1); in Release()
1127 getModule().addModuleFlag(llvm::Module::Error, "Virtual Function Elim", in Release()
1132 getModule().addModuleFlag(llvm::Module::Override, in Release()
1138 getModule().addModuleFlag(llvm::Module::Override, "cfi-normalize-integers", in Release()
1143 getModule().addModuleFlag(llvm::Module::Override, "kcfi", 1); in Release()
1147 getModule().addModuleFlag(llvm::Module::Override, "kcfi-offset", in Release()
1154 getModule().addModuleFlag(llvm::Module::Min, "cf-protection-return", in Release()
1161 getModule().addModuleFlag(llvm::Module::Min, "cf-protection-branch", in Release()
1166 getModule().addModuleFlag(llvm::Module::Override, "function_return_thunk_extern", 1); in Release()
1169 getModule().addModuleFlag(llvm::Module::Override, "indirect_branch_cs_prefix", 1); in Release()
1183 getModule().addModuleFlag(llvm::Module::Override, in Release()
1186 getModule().addModuleFlag(llvm::Module::Override, in Release()
1191 getModule().addModuleFlag(llvm::Module::Min, "branch-target-enforcement", in Release()
1194 getModule().addModuleFlag(llvm::Module::Min, "branch-protection-pauth-lr", in Release()
1197 getModule().addModuleFlag(llvm::Module::Min, "guarded-control-stack", 1); in Release()
1199 getModule().addModuleFlag(llvm::Module::Min, "sign-return-address", 1); in Release()
1201 getModule().addModuleFlag(llvm::Module::Min, "sign-return-address-all", in Release()
1204 getModule().addModuleFlag(llvm::Module::Min, in Release()
1229 getModule().addModuleFlag(llvm::Module::Error, in Release()
1232 getModule().addModuleFlag(llvm::Module::Error, in Release()
1240 getModule().addModuleFlag( in Release()
1245 getModule().addModuleFlag(llvm::Module::Min, "stack-probe-size", in Release()
1250 getModule().addModuleFlag( in Release()
1259 getModule().addModuleFlag(llvm::Module::Override, "nvvm-reflect-ftz", in Release()
1265 getModule().addModuleFlag(llvm::Module::Warning, "eh-asynch", 1); in Release()
1269 getModule().addModuleFlag(llvm::Module::Max, "openmp", LangOpts.OpenMP); in Release()
1271 getModule().addModuleFlag(llvm::Module::Max, "openmp-device", in Release()
1302 getModule().setPICLevel(static_cast<llvm::PICLevel::Level>(PLevel)); in Release()
1304 getModule().setPIELevel(static_cast<llvm::PIELevel::Level>(PLevel)); in Release()
1317 getModule().setCodeModel(codeModel); in Release()
1322 getModule().setLargeDataThreshold(getCodeGenOpts().LargeDataThreshold); in Release()
1328 getModule().setRtLibUseGOT(); in Release()
1331 getModule().getDirectAccessExternalData()) { in Release()
1332 getModule().setDirectAccessExternalData( in Release()
1336 getModule().setUwtable(llvm::UWTableKind(CodeGenOpts.UnwindTables)); in Release()
1343 getModule().setFramePointer(llvm::FramePointerKind::Reserved); in Release()
1346 getModule().setFramePointer(llvm::FramePointerKind::NonLeaf); in Release()
1349 getModule().setFramePointer(llvm::FramePointerKind::All); in Release()
1372 getModule().setStackProtectorGuard(getCodeGenOpts().StackProtectorGuard); in Release()
1374 getModule().setStackProtectorGuardReg( in Release()
1377 getModule().setStackProtectorGuardSymbol( in Release()
1380 getModule().setStackProtectorGuardOffset( in Release()
1383 getModule().setOverrideStackAlignment(getCodeGenOpts().StackAlignment); in Release()
1385 getModule().addModuleFlag(llvm::Module::Override, "SkipRaxSetup", 1); in Release()
1387 getModule().addModuleFlag(llvm::Module::Override, "RegCallv4", 1); in Release()
1390 getModule().addModuleFlag(llvm::Module::Error, "MaxTLSAlign", in Release()
1400 EmbedObject(&getModule(), CodeGenOpts, getDiags()); in Release()
1406 setVisibilityFromDLLStorageClass(LangOpts, getModule()); in Release()
1451 getModule().addModuleFlag(llvm::Module::Min, "SmallDataLimit", in EmitBackendOptionsMetadata()
2059 return getModule().getNamedValue(Name); in GetGlobalValue()
2802 llvm::Module &M = getModule(); in finalizeKCFITypes()
2982 CGM.getModule(), ATy, false, llvm::GlobalValue::AppendingLinkage, in emitUsed()
3165 auto *NMD = getModule().getOrInsertNamedMetadata("llvm.linker.options"); in EmitModuleLinkOptions()
3279 auto *gv = new llvm::GlobalVariable(getModule(), Array->getType(), false, in EmitGlobalAnnotations()
3293 getModule(), s->getType(), true, llvm::GlobalValue::PrivateLinkage, s, in EmitAnnotationString()
3340 auto *GV = new llvm::GlobalVariable(getModule(), Struct->getType(), true, in EmitAnnotationArgs()
3573 if (llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name)) in GetAddrOfMSGuidDecl()
3602 getModule(), Init->getType(), in GetAddrOfMSGuidDecl()
3635 auto *GV = new llvm::GlobalVariable(getModule(), Init->getType(), in GetAddrOfUnnamedGlobalConstantDecl()
3653 if (llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name)) in GetAddrOfTemplateParamObject()
3669 auto *GV = new llvm::GlobalVariable(getModule(), Init->getType(), in GetAddrOfTemplateParamObject()
4288 MangledName + ".ifunc", IFunc, &getModule()); in emitMultiVersionFunctions()
4299 getModule().getOrInsertComdat(ResolverFunc->getName())); in emitMultiVersionFunctions()
4362 getModule().getOrInsertComdat(ResolverFunc->getName())); in emitCPUDispatchDefinition()
4436 &getModule()); in emitCPUDispatchDefinition()
4446 &getModule()); in emitCPUDispatchDefinition()
4527 "", Resolver, &getModule()); in GetOrCreateMultiVersionResolver()
4670 Entry ? StringRef() : MangledName, &getModule()); in GetOrCreateLLVMFunction()
4958 getModule(), Ty, false, llvm::GlobalValue::ExternalLinkage, nullptr, in GetOrCreateLLVMGlobal()
5128 llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name); in CreateOrReplaceCXXRuntimeVariable()
5143 GV = new llvm::GlobalVariable(getModule(), Ty, /*isConstant=*/true, in CreateOrReplaceCXXRuntimeVariable()
6055 llvm::GlobalAlias::create(DeclTy, AS, LT, "", Aliasee, &getModule()); in EmitAliasDefinition()
6138 "", Resolver, &getModule()); in emitIFuncDefinition()
6164 return llvm::Intrinsic::getDeclaration(&getModule(), (llvm::Intrinsic::ID)IID, in getIntrinsic()
6320 new llvm::GlobalVariable(getModule(), C->getType(), /*isConstant=*/true, in GetAddrOfConstantCFString()
6345 llvm::IntegerType::get(getModule().getContext(), in GetAddrOfConstantCFString()
6471 llvm::Module &M = CGM.getModule(); in GenerateStringLiteral()
6611 getModule(), Type, false, llvm::GlobalVariable::InternalLinkage, in GetAddrOfGlobalTemporary()
6683 getModule(), Type, Constant, Linkage, InitialValue, Name.c_str(), in GetAddrOfGlobalTemporary()
6843 FnTy, llvm::GlobalValue::InternalLinkage, Name, &getModule()); in EmitTopLevelStmt()
7059 getModule().appendModuleInlineAsm(AD->getAsmString()->getString()); in EmitTopLevelDecl()
7256 if (llvm::Function *F = getModule().getFunction("main")) { in EmitMainVoidAlias()
7279 CGM.getModule().getOrInsertNamedMetadata("clang.global.decl.ptrs"); in EmitGlobalDeclMetadata()
7373 getModule().getNamedValue(Name->getName()); in EmitStaticExternCAliases()
7402 llvm::GlobalValue *Addr = getModule().getNamedValue(I.second); in EmitDeclMetadata()
7622 SanStats = std::make_unique<llvm::SanitizerStatReport>(&getModule()); in getSanStats()