Lines Matching refs:builder
108 EngineBuilder builder(std::unique_ptr<Module>(unwrap(M))); in LLVMCreateExecutionEngineForModule() local
109 builder.setEngineKind(EngineKind::Either) in LLVMCreateExecutionEngineForModule()
111 if (ExecutionEngine *EE = builder.create()){ in LLVMCreateExecutionEngineForModule()
123 EngineBuilder builder(std::unique_ptr<Module>(unwrap(M))); in LLVMCreateInterpreterForModule() local
124 builder.setEngineKind(EngineKind::Interpreter) in LLVMCreateInterpreterForModule()
126 if (ExecutionEngine *Interp = builder.create()) { in LLVMCreateInterpreterForModule()
139 EngineBuilder builder(std::unique_ptr<Module>(unwrap(M))); in LLVMCreateJITCompilerForModule() local
140 builder.setEngineKind(EngineKind::JIT) in LLVMCreateJITCompilerForModule()
143 if (ExecutionEngine *JIT = builder.create()) { in LLVMCreateJITCompilerForModule()
197 EngineBuilder builder(std::move(Mod)); in LLVMCreateMCJITCompilerForModule() local
198 builder.setEngineKind(EngineKind::JIT) in LLVMCreateMCJITCompilerForModule()
204 builder.setCodeModel(*CM); in LLVMCreateMCJITCompilerForModule()
206 builder.setMCJITMemoryManager( in LLVMCreateMCJITCompilerForModule()
208 if (ExecutionEngine *JIT = builder.create()) { in LLVMCreateMCJITCompilerForModule()