Lines Matching refs:getGlobalContext
626 static IRBuilder<> Builder(getGlobalContext());
637 return TmpB.CreateAlloca(Type::getDoubleTy(getGlobalContext()), 0, in CreateEntryBlockAlloca()
642 return ConstantFP::get(getGlobalContext(), APFloat(Val)); in Codegen()
702 return Builder.CreateUIToFP(L, Type::getDoubleTy(getGlobalContext()), in Codegen()
744 ConstantFP::get(getGlobalContext(), APFloat(0.0)), in Codegen()
751 BasicBlock *ThenBB = BasicBlock::Create(getGlobalContext(), "then", TheFunction); in Codegen()
752 BasicBlock *ElseBB = BasicBlock::Create(getGlobalContext(), "else"); in Codegen()
753 BasicBlock *MergeBB = BasicBlock::Create(getGlobalContext(), "ifcont"); in Codegen()
781 PHINode *PN = Builder.CreatePHI(Type::getDoubleTy(getGlobalContext()), 2, in Codegen()
824 BasicBlock *LoopBB = BasicBlock::Create(getGlobalContext(), "loop", TheFunction); in Codegen()
850 StepVal = ConstantFP::get(getGlobalContext(), APFloat(1.0)); in Codegen()
865 ConstantFP::get(getGlobalContext(), APFloat(0.0)), in Codegen()
869 BasicBlock *AfterBB = BasicBlock::Create(getGlobalContext(), "afterloop", TheFunction); in Codegen()
885 return Constant::getNullValue(Type::getDoubleTy(getGlobalContext())); in Codegen()
908 InitVal = ConstantFP::get(getGlobalContext(), APFloat(0.0)); in Codegen()
937 Type::getDoubleTy(getGlobalContext())); in Codegen()
938 FunctionType *FT = FunctionType::get(Type::getDoubleTy(getGlobalContext()), in Codegen()
997 BasicBlock *BB = BasicBlock::Create(getGlobalContext(), "entry", TheFunction); in Codegen()
1125 Module *M = ParseIRFile(InputFile, Err, getGlobalContext()); in parseInputIR()
1140 LLVMContext &Context = getGlobalContext(); in main()