Lines Matching refs:TheContext
855 static LLVMContext TheContext; variable
856 static IRBuilder<> Builder(TheContext);
867 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str()); in CreateEntryBlockAlloca()
871 return ConstantFP::get(TheContext, APFloat(Val)); in Codegen()
927 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in Codegen()
965 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in Codegen()
971 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in Codegen()
972 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in Codegen()
973 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in Codegen()
1001 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in Codegen()
1043 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction); in Codegen()
1069 StepVal = ConstantFP::get(TheContext, APFloat(1.0)); in Codegen()
1084 EndCond, ConstantFP::get(TheContext, APFloat(0.0)), "loopcond"); in Codegen()
1088 BasicBlock::Create(TheContext, "afterloop", TheFunction); in Codegen()
1104 return Constant::getNullValue(Type::getDoubleTy(TheContext)); in Codegen()
1127 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in Codegen()
1155 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in Codegen()
1157 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in Codegen()
1222 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction); in Codegen()
1348 LLVMContext &Context = TheContext; in main()