Lines Matching refs:getModule
379 getModule().setMaximumFunctionCount(PGOReader->getMaximumFunctionCount()); in Release()
399 getModule().addModuleFlag(llvm::Module::Warning, "Dwarf Version", in Release()
404 getModule().addModuleFlag(llvm::Module::Warning, "CodeView", 1); in Release()
411 getModule().addModuleFlag(llvm::Module::Error, "StrictVTablePointers",1); in Release()
418 getModule().addModuleFlag(llvm::Module::Require, in Release()
426 getModule().addModuleFlag(llvm::Module::Warning, "Debug Info Version", in Release()
439 getModule().addModuleFlag(llvm::Module::Error, "wchar_size", WCharWidth); in Release()
443 getModule().addModuleFlag(llvm::Module::Error, "min_enum_size", EnumWidth); in Release()
448 getModule().addModuleFlag(llvm::Module::Override, "Cross-DSO CFI", 1); in Release()
460 getModule().setPICLevel(PL); in Release()
663 return getModule().getNamedValue(Name); in GetGlobalValue()
978 getModule().getOrInsertNamedMetadata("llvm.bitsets"); in CreateFunctionBitSetEntry()
1075 CGM.getModule(), ATy, false, llvm::GlobalValue::AppendingLinkage, in emitUsed()
1199 getModule().addModuleFlag(llvm::Module::AppendUnique, "Linker Options", in EmitModuleLinkOptions()
1272 auto *gv = new llvm::GlobalVariable(getModule(), Array->getType(), false, in EmitGlobalAnnotations()
1286 new llvm::GlobalVariable(getModule(), s->getType(), true, in EmitAnnotationString()
1418 if (llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name)) in GetAddrOfUuidDescriptor()
1425 getModule(), Init->getType(), in GetAddrOfUuidDescriptor()
1791 Entry ? StringRef() : MangledName, &getModule()); in GetOrCreateLLVMFunction()
1990 getModule(), Ty->getElementType(), false, in GetOrCreateLLVMGlobal()
2073 llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name); in CreateOrReplaceCXXRuntimeVariable()
2088 GV = new llvm::GlobalVariable(getModule(), Ty, /*isConstant=*/true, in CreateOrReplaceCXXRuntimeVariable()
2764 DeclTy, 0, llvm::Function::ExternalLinkage, "", Aliasee, &getModule()); in EmitAliasDefinition()
2807 return llvm::Intrinsic::getDeclaration(&getModule(), (llvm::Intrinsic::ID)IID, in getIntrinsic()
2911 new llvm::GlobalVariable(getModule(), C->getType(), /*isConstant=*/true, in GetAddrOfConstantCFString()
2945 GV = new llvm::GlobalVariable(getModule(), C->getType(), true, in GetAddrOfConstantCFString()
3040 auto *GV = new llvm::GlobalVariable(getModule(), C->getType(), isConstant, in GetAddrOfConstantString()
3057 GV = new llvm::GlobalVariable(getModule(), C->getType(), true, in GetAddrOfConstantString()
3155 llvm::Module &M = CGM.getModule(); in GenerateStringLiteral()
3336 getModule(), Type, Constant, Linkage, InitialValue, Name.c_str(), in GetAddrOfGlobalTemporary()
3600 getModule().appendModuleInlineAsm(AD->getAsmString()->getString()); in EmitTopLevelDecl()
3737 CGM.getModule().getOrInsertNamedMetadata("clang.global.decl.ptrs"); in EmitGlobalDeclMetadata()
3755 if (Val && !getModule().getNamedValue(Name->getName())) in EmitStaticExternCAliases()
3780 llvm::GlobalValue *Addr = getModule().getNamedValue(I.second); in EmitDeclMetadata()