Lines Matching defs:TheContext
416 static std::unique_ptr<LLVMContext> TheContext;
452 return ConstantFP::get(*TheContext, APFloat(Val));
479 return Builder->CreateUIToFP(L, Type::getDoubleTy(*TheContext), "booltmp");
507 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(*TheContext));
509 FunctionType::get(Type::getDoubleTy(*TheContext), Doubles, false);
532 BasicBlock *BB = BasicBlock::Create(*TheContext, "entry", TheFunction);
564 TheContext = std::make_unique<LLVMContext>();
565 TheModule = std::make_unique<Module>("KaleidoscopeJIT", *TheContext);
569 Builder = std::make_unique<IRBuilder<>>(*TheContext);
578 TheSI = std::make_unique<StandardInstrumentations>(*TheContext,
606 ThreadSafeModule(std::move(TheModule), std::move(TheContext))));
637 auto TSM = ThreadSafeModule(std::move(TheModule), std::move(TheContext));