Lines Matching refs:getModule

421     getModule().setProfileSummary(PGOReader->getSummary().getMD(VMContext));  in Release()
448 getModule().addModuleFlag(llvm::Module::Error, "NumRegisterParameters", in Release()
454 getModule().addModuleFlag(llvm::Module::Warning, "Dwarf Version", in Release()
459 getModule().addModuleFlag(llvm::Module::Warning, "CodeView", 1); in Release()
462 getModule().addModuleFlag(llvm::Module::Warning, "CodeViewGHash", 1); in Release()
466 getModule().addModuleFlag(llvm::Module::Warning, "cfguardtable", 1); in Release()
473 getModule().addModuleFlag(llvm::Module::Error, "StrictVTablePointers",1); in Release()
480 getModule().addModuleFlag(llvm::Module::Require, in Release()
488 getModule().addModuleFlag(llvm::Module::Warning, "Debug Info Version", in Release()
496 getModule().addModuleFlag(llvm::Module::Error, "wchar_size", WCharWidth); in Release()
505 getModule().addModuleFlag(llvm::Module::Error, "min_enum_size", EnumWidth); in Release()
510 getModule().addModuleFlag(llvm::Module::Override, "Cross-DSO CFI", 1); in Release()
516 getModule().addModuleFlag(llvm::Module::Override, "cf-protection-return", in Release()
523 getModule().addModuleFlag(llvm::Module::Override, "cf-protection-branch", in Release()
531 getModule().addModuleFlag(llvm::Module::Override, "nvvm-reflect-ftz", in Release()
557 getModule().setPICLevel(static_cast<llvm::PICLevel::Level>(PLevel)); in Release()
559 getModule().setPIELevel(static_cast<llvm::PIELevel::Level>(PLevel)); in Release()
572 getModule().setCodeModel(codeModel); in Release()
577 getModule().setRtLibUseGOT(); in Release()
1077 return getModule().getNamedValue(Name); in GetGlobalValue()
1640 CGM.getModule(), ATy, false, llvm::GlobalValue::AppendingLinkage, in emitUsed()
1790 auto *NMD = getModule().getOrInsertNamedMetadata("llvm.linker.options"); in EmitModuleLinkOptions()
1886 auto *gv = new llvm::GlobalVariable(getModule(), Array->getType(), false, in EmitGlobalAnnotations()
1900 new llvm::GlobalVariable(getModule(), s->getType(), true, in EmitAnnotationString()
2076 if (llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name)) in GetAddrOfUuidDescriptor()
2083 getModule(), Init->getType(), in GetAddrOfUuidDescriptor()
2538 getModule().getOrInsertComdat(ResolverFunc->getName())); in emitMultiVersionFunctions()
2680 DeclTy, 0, llvm::Function::ExternalLinkage, "", Resolver, &getModule()); in GetOrCreateMultiVersionResolver()
2795 Entry ? StringRef() : MangledName, &getModule()); in GetOrCreateLLVMFunction()
3081 getModule(), Ty->getElementType(), false, in GetOrCreateLLVMGlobal()
3238 llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name); in CreateOrReplaceCXXRuntimeVariable()
3253 GV = new llvm::GlobalVariable(getModule(), Ty, /*isConstant=*/true, in CreateOrReplaceCXXRuntimeVariable()
4068 DeclTy, 0, llvm::Function::ExternalLinkage, "", Aliasee, &getModule()); in EmitAliasDefinition()
4143 "", Resolver, &getModule()); in emitIFuncDefinition()
4171 return llvm::Intrinsic::getDeclaration(&getModule(), (llvm::Intrinsic::ID)IID, in getIntrinsic()
4330 new llvm::GlobalVariable(getModule(), C->getType(), /*isConstant=*/true, in GetAddrOfConstantCFString()
4361 llvm::IntegerType::get(getModule().getContext(), in GetAddrOfConstantCFString()
4479 llvm::Module &M = CGM.getModule(); in GenerateStringLiteral()
4668 getModule(), Type, Constant, Linkage, InitialValue, Name.c_str(), in GetAddrOfGlobalTemporary()
4980 getModule().appendModuleInlineAsm(AD->getAsmString()->getString()); in EmitTopLevelDecl()
5147 CGM.getModule().getOrInsertNamedMetadata("clang.global.decl.ptrs"); in EmitGlobalDeclMetadata()
5167 if (Val && !getModule().getNamedValue(Name->getName())) in EmitStaticExternCAliases()
5192 llvm::GlobalValue *Addr = getModule().getNamedValue(I.second); in EmitDeclMetadata()
5498 SanStats = llvm::make_unique<llvm::SanitizerStatReport>(&getModule()); in getSanStats()