• Home
  • Raw
  • Download

Lines Matching refs:TSCtx

24   ThreadSafeContext TSCtx(std::make_unique<LLVMContext>());  in TEST()  local
25 auto M = std::make_unique<Module>("M", *TSCtx.getContext()); in TEST()
26 ThreadSafeModule TSM(std::move(M), std::move(TSCtx)); in TEST()
32 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST() local
34 auto M1 = std::make_unique<Module>("M1", *TSCtx.getContext()); in TEST()
35 ThreadSafeModule TSM1(std::move(M1), TSCtx); in TEST()
37 auto M2 = std::make_unique<Module>("M2", *TSCtx.getContext()); in TEST()
38 ThreadSafeModule TSM2(std::move(M2), std::move(TSCtx)); in TEST()
44 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST() local
48 auto M1 = std::make_unique<Module>("M1", *TSCtx.getContext()); in TEST()
49 ThreadSafeModule TSM1(std::move(M1), TSCtx); in TEST()
53 auto M2 = std::make_unique<Module>("M2", *TSCtx.getContext()); in TEST()
54 ThreadSafeModule TSM2(std::move(M2), std::move(TSCtx)); in TEST()
61 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST() local
62 auto M = std::make_unique<Module>("M", *TSCtx.getContext()); in TEST()
63 ThreadSafeModule TSM(std::move(M), std::move(TSCtx)); in TEST()
69 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST() local
70 auto M = std::make_unique<Module>("M", *TSCtx.getContext()); in TEST()
71 ThreadSafeModule TSM(std::move(M), TSCtx); in TEST()
73 { auto L = TSCtx.getLock(); } in TEST()
87 ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in TEST() local
88 auto L = TSCtx.getLock(); in TEST()
89 auto &Ctx = *TSCtx.getContext(); in TEST()
91 TSCtx = ThreadSafeContext(); in TEST()