Lines Matching refs:getModule
367 getModule().addModuleFlag(llvm::Module::Warning, "Dwarf Version", in Release()
373 getModule().addModuleFlag(llvm::Module::Warning, "Debug Info Version", in Release()
386 getModule().addModuleFlag(llvm::Module::Error, "wchar_size", WCharWidth); in Release()
390 getModule().addModuleFlag(llvm::Module::Error, "min_enum_size", EnumWidth); in Release()
402 getModule().setPICLevel(PL); in Release()
601 return getModule().getNamedValue(Name); in GetGlobalValue()
948 CGM.getModule(), ATy, false, llvm::GlobalValue::AppendingLinkage, in emitUsed()
1078 getModule().addModuleFlag(llvm::Module::AppendUnique, "Linker Options", in EmitModuleLinkOptions()
1132 auto *gv = new llvm::GlobalVariable(getModule(), Array->getType(), false, in EmitGlobalAnnotations()
1146 new llvm::GlobalVariable(getModule(), s->getType(), true, in EmitAnnotationString()
1269 if (llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name)) in GetAddrOfUuidDescriptor()
1276 getModule(), Init->getType(), in GetAddrOfUuidDescriptor()
1574 MangledName, &getModule()); in GetOrCreateLLVMFunction()
1748 getModule(), Ty->getElementType(), false, in GetOrCreateLLVMGlobal()
1802 llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name); in CreateOrReplaceCXXRuntimeVariable()
1817 GV = new llvm::GlobalVariable(getModule(), Ty, /*isConstant=*/true, in CreateOrReplaceCXXRuntimeVariable()
2453 llvm::Function::ExternalLinkage, "", Aliasee, &getModule()); in EmitAliasDefinition()
2496 return llvm::Intrinsic::getDeclaration(&getModule(), (llvm::Intrinsic::ID)IID, in getIntrinsic()
2603 new llvm::GlobalVariable(getModule(), C->getType(), /*isConstant=*/true, in GetAddrOfConstantCFString()
2634 GV = new llvm::GlobalVariable(getModule(), C->getType(), true, in GetAddrOfConstantCFString()
2729 auto *GV = new llvm::GlobalVariable(getModule(), C->getType(), isConstant, in GetAddrOfConstantString()
2744 GV = new llvm::GlobalVariable(getModule(), C->getType(), true, in GetAddrOfConstantString()
2843 CGM.getModule(), C->getType(), !CGM.getLangOpts().WritableStrings, LT, C, in GenerateStringLiteral()
3012 getModule(), Type, Constant, Linkage, InitialValue, Name.c_str(), in GetAddrOfGlobalTemporary()
3274 const std::string &S = getModule().getModuleInlineAsm(); in EmitTopLevelDecl()
3276 getModule().setModuleInlineAsm(AsmString); in EmitTopLevelDecl()
3278 getModule().setModuleInlineAsm(S + AsmString.str()); in EmitTopLevelDecl()
3280 getModule().setModuleInlineAsm(S + '\n' + AsmString.str()); in EmitTopLevelDecl()
3418 CGM.getModule().getOrInsertNamedMetadata("clang.global.decl.ptrs"); in EmitGlobalDeclMetadata()
3438 if (Val && !getModule().getNamedValue(Name->getName())) in EmitStaticExternCAliases()
3464 llvm::GlobalValue *Addr = getModule().getNamedValue(I.second); in EmitDeclMetadata()