Home | History | Annotate | Download | only in CodeGen

Lines Matching full:getmodule

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