Lines Matching refs:TheContext
611 static LLVMContext TheContext; variable
612 static IRBuilder<> Builder(TheContext);
623 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str()); in CreateEntryBlockAlloca()
627 return ConstantFP::get(TheContext, APFloat(Val)); in Codegen()
684 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in Codegen()
725 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in Codegen()
731 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in Codegen()
732 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in Codegen()
733 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in Codegen()
761 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in Codegen()
803 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction); in Codegen()
829 StepVal = ConstantFP::get(TheContext, APFloat(1.0)); in Codegen()
844 EndCond, ConstantFP::get(TheContext, APFloat(0.0)), "loopcond"); in Codegen()
848 BasicBlock::Create(TheContext, "afterloop", TheFunction); in Codegen()
864 return Constant::getNullValue(Type::getDoubleTy(TheContext)); in Codegen()
887 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in Codegen()
915 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in Codegen()
917 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in Codegen()
975 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction); in Codegen()
1103 LLVMContext &Context = TheContext; in main()