Lines Matching refs:TheContext
412 static std::unique_ptr<LLVMContext> TheContext; variable
442 return ConstantFP::get(*TheContext, APFloat(Val)); in codegen()
469 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp"); in codegen()
497 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(*TheContext)); in codegen()
499 FunctionType::get(Type::getDoubleTy(*TheContext), Doubles, false); in codegen()
522 BasicBlock *BB = BasicBlock::Create(*TheContext, "entry", TheFunction); in codegen()
554 TheContext = std::make_unique<LLVMContext>(); in InitializeModuleAndPassManager()
555 TheModule = std::make_unique<Module>("my cool jit", *TheContext); in InitializeModuleAndPassManager()
559 Builder = std::make_unique<IRBuilder<>>(*TheContext); in InitializeModuleAndPassManager()
583 ThreadSafeModule(std::move(TheModule), std::move(TheContext)))); in HandleDefinition()
614 auto TSM = ThreadSafeModule(std::move(TheModule), std::move(TheContext)); in HandleTopLevelExpression()