Lines Matching refs:TheContext
626 static LLVMContext TheContext; variable
627 static IRBuilder<> Builder(TheContext);
638 return TmpB.CreateAlloca(Type::getDoubleTy(TheContext), 0, VarName.c_str()); in CreateEntryBlockAlloca()
642 return ConstantFP::get(TheContext, APFloat(Val)); in Codegen()
702 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); in Codegen()
743 CondV, ConstantFP::get(TheContext, APFloat(0.0)), "ifcond"); in Codegen()
749 BasicBlock *ThenBB = BasicBlock::Create(TheContext, "then", TheFunction); in Codegen()
750 BasicBlock *ElseBB = BasicBlock::Create(TheContext, "else"); in Codegen()
751 BasicBlock *MergeBB = BasicBlock::Create(TheContext, "ifcont"); in Codegen()
779 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(TheContext), 2, "iftmp"); in Codegen()
821 BasicBlock *LoopBB = BasicBlock::Create(TheContext, "loop", TheFunction); in Codegen()
847 StepVal = ConstantFP::get(TheContext, APFloat(1.0)); in Codegen()
862 EndCond, ConstantFP::get(TheContext, APFloat(0.0)), "loopcond"); in Codegen()
866 BasicBlock::Create(TheContext, "afterloop", TheFunction); in Codegen()
882 return Constant::getNullValue(Type::getDoubleTy(TheContext)); in Codegen()
905 InitVal = ConstantFP::get(TheContext, APFloat(0.0)); in Codegen()
933 std::vector<Type *> Doubles(Args.size(), Type::getDoubleTy(TheContext)); in Codegen()
935 FunctionType::get(Type::getDoubleTy(TheContext), Doubles, false); in Codegen()
993 BasicBlock *BB = BasicBlock::Create(TheContext, "entry", TheFunction); in Codegen()
1121 Module *M = ParseIRFile(InputFile, Err, TheContext); in parseInputIR()
1136 LLVMContext &Context = TheContext; in main()