Lines Matching defs:TheModule
859 static std::unique_ptr<Module> TheModule;
871 if (auto *F = TheModule->getFunction(Name))
1213 Function::Create(FT, Function::ExternalLinkage, Name, TheModule.get());
1318 TheModule = llvm::make_unique<Module>("my cool jit", TheContext);
1319 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout());
1419 TheModule->addModuleFlag(Module::Warning, "Debug Info Version",
1424 TheModule->addModuleFlag(llvm::Module::Warning, "Dwarf Version", 2);
1427 DBuilder = llvm::make_unique<DIBuilder>(*TheModule);
1442 TheModule->dump();