Lines Matching refs:TSCtx
129 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST() local
132 ModuleBuilder MB(*TSCtx.getContext(), TM->getTargetTriple().str(), "dummy"); in TEST()
136 FunctionType::get(Type::getVoidTy(*TSCtx.getContext()), {}, false), in TEST()
139 BasicBlock::Create(*TSCtx.getContext(), "entry", FooImpl); in TEST()
144 FunctionType::get(Type::getVoidTy(*TSCtx.getContext()), {}, false), in TEST()
147 BasicBlock::Create(*TSCtx.getContext(), "entry", BarImpl); in TEST()
151 M = ThreadSafeModule(MB.takeModule(), std::move(TSCtx)); in TEST()
207 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST() local
210 ModuleBuilder MB(*TSCtx.getContext(), TM->getTargetTriple().str(), "dummy"); in TEST()
214 FunctionType::get(Type::getVoidTy(*TSCtx.getContext()), {}, false), in TEST()
217 BasicBlock::Create(*TSCtx.getContext(), "entry", FooImpl); in TEST()
221 M = ThreadSafeModule(MB.takeModule(), std::move(TSCtx)); in TEST()