Lines Matching refs:TheModule
134 TheModule = llvm::make_unique<Module>("my cool jit", getGlobalContext());
135 TheModule->setDataLayout(TheJIT->getTargetMachine().createDataLayout());
138 TheFPM = llvm::make_unique<FunctionPassManager>(TheModule.get());
154 This code initializes the global module ``TheModule``, and the function pass
155 manager ``TheFPM``, which is attached to ``TheModule``. Once the pass manager is
267 auto H = TheJIT->addModule(std::move(TheModule));
410 if (auto *F = TheModule->getFunction(Name))
443 method, ``getFunction()``, to replace calls to ``TheModule->getFunction()``.
444 Our convenience method searches ``TheModule`` for an existing function
447 call to ``TheModule->getFunction()``. In ``FunctionAST::codegen()`` we need to
461 TheJIT->addModule(std::move(TheModule));