Lines Matching refs:make_unique

131         std::make_unique<GenericLLVMIRPlatform>(*this));  in GenericLLVMIRPlatformSupport()
162 auto Ctx = std::make_unique<LLVMContext>(); in setupJITDylib()
163 auto M = std::make_unique<Module>("__standard_lib", *Ctx); in setupJITDylib()
411 auto Ctx = std::make_unique<LLVMContext>(); in createPlatformRuntimeModule()
412 auto M = std::make_unique<Module>("__standard_lib", *Ctx); in createPlatformRuntimeModule()
606 auto ObjLinkingLayer = std::make_unique<ObjectLinkingLayer>(ES); in prepareForConstruction()
607 ObjLinkingLayer->addPlugin(std::make_unique<EHFrameRegistrationPlugin>( in prepareForConstruction()
608 ES, std::make_unique<jitlink::InProcessEHFrameRegistrar>())); in prepareForConstruction()
664 auto GetMemMgr = []() { return std::make_unique<SectionMemoryManager>(); }; in createObjectLinkingLayer()
666 std::make_unique<RTDyldObjectLinkingLayer>(ES, std::move(GetMemMgr)); in createObjectLinkingLayer()
690 return std::make_unique<ConcurrentIRCompiler>(std::move(JTMB)); in createCompileFunction()
696 return std::make_unique<TMOwningSimpleCompiler>(std::move(*TM)); in createCompileFunction()
707 ES = std::make_unique<ExecutionSession>(std::move(S.EPC)); in LLJIT()
712 ES = std::make_unique<ExecutionSession>(std::move(*EPC)); in LLJIT()
742 std::make_unique<ObjectTransformLayer>(*ES, *ObjLinkingLayer); in LLJIT()
750 CompileLayer = std::make_unique<IRCompileLayer>( in LLJIT()
752 TransformLayer = std::make_unique<IRTransformLayer>(*ES, *CompileLayer); in LLJIT()
754 std::make_unique<IRTransformLayer>(*ES, *TransformLayer); in LLJIT()
760 std::make_unique<ThreadPool>(hardware_concurrency(S.NumCompileThreads)); in LLJIT()
805 J.setPlatformSupport(std::make_unique<GenericLLVMIRPlatformSupport>(J)); in setUpGenericLLVMIRPlatform()
811 J.setPlatformSupport(std::make_unique<InactivePlatformSupport>()); in setUpInactivePlatform()
870 CODLayer = std::make_unique<CompileOnDemandLayer>( in LLLazyJIT()