Lines Matching refs:TheContext
687 static LLVMContext TheContext; variable
688 static IRBuilder<> Builder(TheContext);
721 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), nullptr, VarName); in CreateEntryBlockAlloca()
725 return ConstantFP::get(TheContext, APFloat(Val)); in codegen()
789 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in codegen()
830 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in codegen()
836 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in codegen()
837 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in codegen()
838 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in codegen()
868 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in codegen()
910 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction); in codegen()
937 StepVal = ConstantFP::get(TheContext, APFloat(1.0)); in codegen()
953 EndCond, ConstantFP::get(TheContext, APFloat(0.0)), "loopcond"); in codegen()
957 BasicBlock::Create(TheContext, "afterloop", TheFunction); in codegen()
972 return Constant::getNullValue(Type::getDoubleTy(TheContext)); in codegen()
996 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in codegen()
1025 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in codegen()
1027 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in codegen()
1054 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction); in codegen()
1097 TheModule = llvm::make_unique<Module>("my cool jit", TheContext); in InitializeModuleAndPassManager()