Lines Matching refs:getModule

396     getModule().setProfileSummary(PGOReader->getSummary().getMD(VMContext));  in Release()
420 getModule().addModuleFlag(llvm::Module::Warning, "Dwarf Version", in Release()
425 getModule().addModuleFlag(llvm::Module::Warning, "CodeView", 1); in Release()
432 getModule().addModuleFlag(llvm::Module::Error, "StrictVTablePointers",1); in Release()
439 getModule().addModuleFlag(llvm::Module::Require, in Release()
447 getModule().addModuleFlag(llvm::Module::Warning, "Debug Info Version", in Release()
460 getModule().addModuleFlag(llvm::Module::Error, "wchar_size", WCharWidth); in Release()
464 getModule().addModuleFlag(llvm::Module::Error, "min_enum_size", EnumWidth); in Release()
469 getModule().addModuleFlag(llvm::Module::Override, "Cross-DSO CFI", 1); in Release()
476 getModule().addModuleFlag(llvm::Module::Override, "nvvm-reflect-ftz", in Release()
482 getModule().setPICLevel(static_cast<llvm::PICLevel::Level>(PLevel)); in Release()
484 getModule().setPIELevel(static_cast<llvm::PIELevel::Level>(PLevel)); in Release()
705 return getModule().getNamedValue(Name); in GetGlobalValue()
1124 CGM.getModule(), ATy, false, llvm::GlobalValue::AppendingLinkage, in emitUsed()
1248 getModule().addModuleFlag(llvm::Module::AppendUnique, "Linker Options", in EmitModuleLinkOptions()
1325 auto *gv = new llvm::GlobalVariable(getModule(), Array->getType(), false, in EmitGlobalAnnotations()
1339 new llvm::GlobalVariable(getModule(), s->getType(), true, in EmitAnnotationString()
1477 if (llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name)) in GetAddrOfUuidDescriptor()
1484 getModule(), Init->getType(), in GetAddrOfUuidDescriptor()
1886 Entry ? StringRef() : MangledName, &getModule()); in GetOrCreateLLVMFunction()
2113 getModule(), Ty->getElementType(), false, in GetOrCreateLLVMGlobal()
2211 llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name); in CreateOrReplaceCXXRuntimeVariable()
2226 GV = new llvm::GlobalVariable(getModule(), Ty, /*isConstant=*/true, in CreateOrReplaceCXXRuntimeVariable()
2948 DeclTy, 0, llvm::Function::ExternalLinkage, "", Aliasee, &getModule()); in EmitAliasDefinition()
3022 "", Resolver, &getModule()); in emitIFuncDefinition()
3050 return llvm::Intrinsic::getDeclaration(&getModule(), (llvm::Intrinsic::ID)IID, in getIntrinsic()
3175 new llvm::GlobalVariable(getModule(), C->getType(), /*isConstant=*/true, in GetAddrOfConstantCFString()
3208 GV = new llvm::GlobalVariable(getModule(), C->getType(), true, in GetAddrOfConstantCFString()
3313 auto *GV = new llvm::GlobalVariable(getModule(), C->getType(), isConstant, in GetAddrOfConstantString()
3330 GV = new llvm::GlobalVariable(getModule(), C->getType(), true, in GetAddrOfConstantString()
3428 llvm::Module &M = CGM.getModule(); in GenerateStringLiteral()
3609 getModule(), Type, Constant, Linkage, InitialValue, Name.c_str(), in GetAddrOfGlobalTemporary()
3907 getModule().appendModuleInlineAsm(AD->getAsmString()->getString()); in EmitTopLevelDecl()
4048 CGM.getModule().getOrInsertNamedMetadata("clang.global.decl.ptrs"); in EmitGlobalDeclMetadata()
4070 if (Val && !getModule().getNamedValue(Name->getName())) in EmitStaticExternCAliases()
4095 llvm::GlobalValue *Addr = getModule().getNamedValue(I.second); in EmitDeclMetadata()
4310 SanStats = llvm::make_unique<llvm::SanitizerStatReport>(&getModule()); in getSanStats()