Lines Matching refs:getModule
259 getModule().addModuleFlag(llvm::Module::Warning, "Dwarf Version", in Release()
267 getModule().addModuleFlag(llvm::Module::Error, "Debug Info Version", in Release()
535 return getModule().getNamedValue(Name); in GetGlobalValue()
853 new llvm::GlobalVariable(getModule(), ATy, false, in EmitLLVMUsed()
982 getModule().addModuleFlag(llvm::Module::AppendUnique, "Linker Options", in EmitModuleLinkOptions()
1040 llvm::GlobalValue *gv = new llvm::GlobalVariable(getModule(), in EmitGlobalAnnotations()
1053 llvm::GlobalValue *gv = new llvm::GlobalVariable(getModule(), s->getType(), in EmitAnnotationString()
1122 if (llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name)) in GetAddrOfUuidDescriptor()
1129 getModule(), Init->getType(), in GetAddrOfUuidDescriptor()
1424 MangledName, &getModule()); in GetOrCreateLLVMFunction()
1587 new llvm::GlobalVariable(getModule(), Ty->getElementType(), false, in GetOrCreateLLVMGlobal()
1638 llvm::GlobalVariable *GV = getModule().getNamedGlobal(Name); in CreateOrReplaceCXXRuntimeVariable()
1654 GV = new llvm::GlobalVariable(getModule(), Ty, /*isConstant=*/true, in CreateOrReplaceCXXRuntimeVariable()
1899 llvm::Module &M = getModule(); in EmitGlobalVarDefinition()
2210 "", Aliasee, &getModule()); in EmitAliasDefinition()
2253 return llvm::Intrinsic::getDeclaration(&getModule(), (llvm::Intrinsic::ID)IID, in getIntrinsic()
2371 new llvm::GlobalVariable(getModule(), C->getType(), /*isConstant=*/true, in GetAddrOfConstantCFString()
2397 GV = new llvm::GlobalVariable(getModule(), C->getType(), true, in GetAddrOfConstantCFString()
2506 new llvm::GlobalVariable(getModule(), C->getType(), isConstant, Linkage, C, in GetAddrOfConstantString()
2521 GV = new llvm::GlobalVariable(getModule(), C->getType(), true, in GetAddrOfConstantString()
2628 new llvm::GlobalVariable(getModule(),C->getType(), in GetAddrOfConstantStringFromLiteral()
2666 CGM.getModule(), C->getType(), constant, in GenerateStringLiteral()
2781 new llvm::GlobalVariable(getModule(), Type, Constant, in GetAddrOfGlobalTemporary()
3029 const std::string &S = getModule().getModuleInlineAsm(); in EmitTopLevelDecl()
3031 getModule().setModuleInlineAsm(AsmString); in EmitTopLevelDecl()
3033 getModule().setModuleInlineAsm(S + AsmString.str()); in EmitTopLevelDecl()
3035 getModule().setModuleInlineAsm(S + '\n' + AsmString.str()); in EmitTopLevelDecl()
3075 CGM.getModule().getOrInsertNamedMetadata("clang.global.decl.ptrs"); in EmitGlobalDeclMetadata()
3096 if (Val && !getModule().getNamedValue(Name->getName())) in EmitStaticExternCAliases()
3098 Name->getName(), Val, &getModule())); in EmitStaticExternCAliases()
3116 llvm::GlobalValue *Addr = getModule().getNamedValue(I->second); in EmitDeclMetadata()