Lines Matching refs:TSCtx
130 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST() local
133 ModuleBuilder MB(*TSCtx.getContext(), TM->getTargetTriple().str(), "dummy"); in TEST()
137 FunctionType::get(Type::getVoidTy(*TSCtx.getContext()), {}, false), in TEST()
140 BasicBlock::Create(*TSCtx.getContext(), "entry", FooImpl); in TEST()
145 FunctionType::get(Type::getVoidTy(*TSCtx.getContext()), {}, false), in TEST()
148 BasicBlock::Create(*TSCtx.getContext(), "entry", BarImpl); in TEST()
152 M = ThreadSafeModule(MB.takeModule(), std::move(TSCtx)); in TEST()
208 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST() local
211 ModuleBuilder MB(*TSCtx.getContext(), TM->getTargetTriple().str(), "dummy"); in TEST()
215 FunctionType::get(Type::getVoidTy(*TSCtx.getContext()), {}, false), in TEST()
218 BasicBlock::Create(*TSCtx.getContext(), "entry", FooImpl); in TEST()
222 M = ThreadSafeModule(MB.takeModule(), std::move(TSCtx)); in TEST()