Lines Matching refs:getGlobalContext
291 Module M("test-once", getGlobalContext()); in TEST()
314 Module M("test-rerun", getGlobalContext()); in TEST()
401 Module* mod = new Module("test-mem", getGlobalContext()); in makeLLVMModule()
410 /*Result=*/IntegerType::get(getGlobalContext(), 32), in makeLLVMModule()
415 FuncTy_2_args.push_back(IntegerType::get(getGlobalContext(), 1)); in makeLLVMModule()
417 /*Result=*/Type::getVoidTy(getGlobalContext()), in makeLLVMModule()
468 … BasicBlock* label_entry = BasicBlock::Create(getGlobalContext(), "entry",func_test1,nullptr); in makeLLVMModule()
476 ReturnInst::Create(getGlobalContext(), int32_3, label_entry); in makeLLVMModule()
483 … BasicBlock* label_entry_5 = BasicBlock::Create(getGlobalContext(), "entry",func_test2,nullptr); in makeLLVMModule()
491 ReturnInst::Create(getGlobalContext(), int32_6, label_entry_5); in makeLLVMModule()
498 … BasicBlock* label_entry_8 = BasicBlock::Create(getGlobalContext(), "entry",func_test3,nullptr); in makeLLVMModule()
506 ReturnInst::Create(getGlobalContext(), int32_9, label_entry_8); in makeLLVMModule()
516 … BasicBlock* label_entry_11 = BasicBlock::Create(getGlobalContext(), "entry",func_test4,nullptr); in makeLLVMModule()
517 BasicBlock* label_bb = BasicBlock::Create(getGlobalContext(), "bb",func_test4,nullptr); in makeLLVMModule()
518 BasicBlock* label_bb1 = BasicBlock::Create(getGlobalContext(), "bb1",func_test4,nullptr); in makeLLVMModule()
519 … BasicBlock* label_return = BasicBlock::Create(getGlobalContext(), "return",func_test4,nullptr); in makeLLVMModule()
531 ReturnInst::Create(getGlobalContext(), label_return); in makeLLVMModule()