Lines Matching refs:TheContext
525 static LLVMContext TheContext; variable
526 static IRBuilder<> Builder(TheContext);
554 return ConstantFP::get(TheContext, APFloat(Val)); in codegen()
581 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in codegen()
614 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen()
620 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in codegen()
621 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen()
622 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen()
652 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in codegen()
684 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction); in codegen()
694 Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, VarName); in codegen()
716 StepVal = ConstantFP::get(TheContext, APFloat(1.0)); in codegen()
728 EndCond, ConstantFP::get(TheContext, APFloat(0.0)), "loopcond"); in codegen()
733 BasicBlock::Create(TheContext, "afterloop", TheFunction); in codegen()
751 return Constant::getNullValue(Type::getDoubleTy(TheContext)); in codegen()
756 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in codegen()
758 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in codegen()
781 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction); in codegen()
813 TheModule = llvm::make_unique<Module>("my cool jit", TheContext); in InitializeModuleAndPassManager()