Home
last modified time | relevance | path

Searched refs:EngineBuilder (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/
H A DExecutionEngine.h534 class EngineBuilder {
553 EngineBuilder();
556 EngineBuilder(std::unique_ptr<Module> M);
559 ~EngineBuilder();
576 EngineBuilder&
583 EngineBuilder &setErrorStr(std::string *e) { in setErrorStr()
590 EngineBuilder &setOptLevel(CodeGenOpt::Level l) { in setOptLevel()
612 EngineBuilder &setCodeModel(CodeModel::Model M) { in setCodeModel()
618 EngineBuilder &setMArch(StringRef march) { in setMArch()
624 EngineBuilder &setMCPU(StringRef mcpu) { in setMCPU()
[all …]
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/
H A DTargetSelect.cpp26 TargetMachine *EngineBuilder::selectTarget() { in selectTarget()
39 TargetMachine *EngineBuilder::selectTarget(const Triple &TargetTriple, in selectTarget()
H A DExecutionEngine.cpp470 EngineBuilder::EngineBuilder() : EngineBuilder(nullptr) {} in EngineBuilder() function in EngineBuilder
472 EngineBuilder::EngineBuilder(std::unique_ptr<Module> M) in EngineBuilder() function in EngineBuilder
484 EngineBuilder::~EngineBuilder() = default;
486 EngineBuilder &EngineBuilder::setMCJITMemoryManager( in setMCJITMemoryManager()
494 EngineBuilder&
495 EngineBuilder::setMemoryManager(std::unique_ptr<MCJITMemoryManager> MM) { in setMemoryManager()
500 EngineBuilder &
501 EngineBuilder::setSymbolResolver(std::unique_ptr<LegacyJITSymbolResolver> SR) { in setSymbolResolver()
506 ExecutionEngine *EngineBuilder::create(TargetMachine *TM) { in create()
H A DExecutionEngineBindings.cpp107 EngineBuilder builder(std::unique_ptr<Module>(unwrap(M))); in LLVMCreateExecutionEngineForModule()
122 EngineBuilder builder(std::unique_ptr<Module>(unwrap(M))); in LLVMCreateInterpreterForModule()
138 EngineBuilder builder(std::unique_ptr<Module>(unwrap(M))); in LLVMCreateJITCompilerForModule()
196 EngineBuilder builder(std::move(Mod)); in LLVMCreateMCJITCompilerForModule()
/llvm-project-15.0.7/llvm/docs/
H A DMCJITDesignAndImplementation.rst16 In most cases, an EngineBuilder object is used to create an instance of
17 the MCJIT execution engine. The EngineBuilder takes an llvm::Module
21 Of particular interest is the EngineBuilder::setMCJITMemoryManager
26 Once the options have been set, a client calls EngineBuilder::create to
30 the Module that was used to create the EngineBuilder.
34 EngineBuilder::create will call the static MCJIT::createJIT function,
46 from EngineBuilder but it does not immediately generate code for this
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/Orc/
H A DRTDyldObjectLinkingLayerTest.cpp90 std::unique_ptr<TargetMachine> TM(EngineBuilder().selectTarget( in TEST()
109 EngineBuilder().selectTarget(Triple("x86_64-unknown-linux-gnu"), "", "", in TEST()
182 EngineBuilder().selectTarget(Triple("x86_64-unknown-linux-gnu"), "", "", in TEST()
/llvm-project-15.0.7/llvm/examples/HowToUseJIT/
H A DHowToUseJIT.cpp125 ExecutionEngine* EE = EngineBuilder(std::move(Owner)).create(); in main()
/llvm-project-15.0.7/llvm/examples/Fibonacci/
H A Dfibonacci.cpp119 EngineBuilder(std::move(Owner)) in main()
/llvm-project-15.0.7/llvm/examples/BrainF/
H A DBrainFDriver.cpp163 ExecutionEngine *ee = EngineBuilder(std::move(Mod)).create(); in main()
/llvm-project-15.0.7/llvm/tools/llvm-jitlistener/
H A Dllvm-jitlistener.cpp176 TheJIT.reset(EngineBuilder(std::move(TheModule)) in InitEE()
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/
H A DExecutionEngineTest.cpp32 Engine.reset(EngineBuilder(std::move(Owner)).setErrorStr(&Error).create()); in ExecutionEngineTest()
/llvm-project-15.0.7/clang/tools/clang-fuzzer/handle-llvm/
H A Dhandle_llvm.cpp168 EngineBuilder builder(std::move(M)); in CreateAndRunJITFunc()
/llvm-project-15.0.7/llvm/examples/ParallelJIT/
H A DParallelJIT.cpp271 ExecutionEngine* EE = EngineBuilder(std::move(Owner)).create(); in main()
/llvm-project-15.0.7/llvm/bindings/ocaml/executionengine/
H A Dllvm_executionengine.mli47 See the function [llvm::EngineBuilder::create]. *)
/llvm-project-15.0.7/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITTestBase.h307 EngineBuilder EB(std::move(M)); in createJIT()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DAssembler.cpp304 EngineBuilder(createModule(Context, TM->createDataLayout())) in ExecutableFunction()
/llvm-project-15.0.7/llvm/docs/tutorial/
H A DBuildingAJIT3.rst103 : TM(EngineBuilder().selectTarget()), DL(TM->createDataLayout()),
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/cached/
H A Dtoy-jit.cpp1159 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); in main()
H A Dtoy.cpp898 ExecutionEngine *NewEngine = EngineBuilder(M) in compileModule()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/lazy/
H A Dtoy-jit.cpp1121 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); in main()
H A Dtoy.cpp809 ExecutionEngine *NewEngine = EngineBuilder(M) in compileModule()
/llvm-project-15.0.7/llvm/examples/Kaleidoscope/MCJIT/initial/
H A Dtoy.cpp779 ExecutionEngine *NewEngine = EngineBuilder(OpenModule) in getPointerToFunction()
/llvm-project-15.0.7/llvm/examples/ExceptionDemo/
H A DExceptionDemo.cpp1913 llvm::EngineBuilder factory(std::move(Owner)); in main()
/llvm-project-15.0.7/llvm/tools/lli/
H A Dlli.cpp534 EngineBuilder builder(std::move(Owner)); in main()
/llvm-project-15.0.7/lldb/source/Expression/
H A DIRExecutionUnit.cpp279 llvm::EngineBuilder builder(std::move(m_module_up)); in GetRunnableInfo()

12