Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h127 friend class EngineBuilder; // To allow access to JITCtor and InterpCtor. variable
512 class EngineBuilder {
531 EngineBuilder();
534 EngineBuilder(std::unique_ptr<Module> M);
537 ~EngineBuilder();
541 EngineBuilder &setEngineKind(EngineKind::Kind w) { in setEngineKind()
552 EngineBuilder &setMCJITMemoryManager(std::unique_ptr<RTDyldMemoryManager> mcjmm);
554 EngineBuilder&
557 EngineBuilder&
562 EngineBuilder &setErrorStr(std::string *e) { in setErrorStr()
[all …]
/external/llvm/lib/ExecutionEngine/
DTargetSelect.cpp28 TargetMachine *EngineBuilder::selectTarget() { in selectTarget()
41 TargetMachine *EngineBuilder::selectTarget(const Triple &TargetTriple, in selectTarget()
DExecutionEngine.cpp474 EngineBuilder::EngineBuilder() : EngineBuilder(nullptr) {} in EngineBuilder() function in EngineBuilder
476 EngineBuilder::EngineBuilder(std::unique_ptr<Module> M) in EngineBuilder() function in EngineBuilder
490 EngineBuilder::~EngineBuilder() = default;
492 EngineBuilder &EngineBuilder::setMCJITMemoryManager( in setMCJITMemoryManager()
500 EngineBuilder&
501 EngineBuilder::setMemoryManager(std::unique_ptr<MCJITMemoryManager> MM) { in setMemoryManager()
506 EngineBuilder&
507 EngineBuilder::setSymbolResolver(std::unique_ptr<RuntimeDyld::SymbolResolver> SR) { in setSymbolResolver()
512 ExecutionEngine *EngineBuilder::create(TargetMachine *TM) { in create()
DExecutionEngineBindings.cpp106 EngineBuilder builder(std::unique_ptr<Module>(unwrap(M))); in LLVMCreateExecutionEngineForModule()
121 EngineBuilder builder(std::unique_ptr<Module>(unwrap(M))); in LLVMCreateInterpreterForModule()
137 EngineBuilder builder(std::unique_ptr<Module>(unwrap(M))); in LLVMCreateJITCompilerForModule()
196 EngineBuilder builder(std::move(Mod)); in LLVMCreateMCJITCompilerForModule()
/external/llvm/docs/
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
/external/llvm/unittests/ExecutionEngine/Orc/
DObjectLinkingLayerTest.cpp56 EngineBuilder().selectTarget(Triple(M->getTargetTriple()), "", "", in TEST()
DOrcTestCommon.h43 TM.reset(EngineBuilder().selectTarget()); in OrcExecutionTest()
/external/llvm/examples/HowToUseJIT/
DHowToUseJIT.cpp117 ExecutionEngine* EE = EngineBuilder(std::move(Owner)).create(); in main()
/external/llvm/examples/Kaleidoscope/include/
DKaleidoscopeJIT.h36 : TM(EngineBuilder().selectTarget()), DL(TM->createDataLayout()), in KaleidoscopeJIT()
/external/llvm/examples/Fibonacci/
Dfibonacci.cpp107 EngineBuilder(std::move(Owner)) in main()
/external/llvm/examples/BrainF/
DBrainFDriver.cpp144 ExecutionEngine *ee = EngineBuilder(std::move(Mod)).create(); in main()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_misc.cpp253 EngineBuilder builder(unwrap(M)); in lp_build_create_mcjit_compiler_for_module()
/external/llvm/tools/lli/
DOrcLazyJIT.cpp142 EngineBuilder EB; in runOrcLazyJIT()
Dlli.cpp432 EngineBuilder builder(std::move(Owner)); in main()
/external/llvm/tools/llvm-jitlistener/
Dllvm-jitlistener.cpp141 TheJIT.reset(EngineBuilder(std::move(TheModule)) in InitEE()
/external/clang/examples/clang-interpreter/
Dmain.cpp47 return llvm::EngineBuilder(std::move(M)) in createExecutionEngine()
/external/llvm/unittests/ExecutionEngine/
DExecutionEngineTest.cpp33 Engine.reset(EngineBuilder(std::move(Owner)).setErrorStr(&Error).create()); in ExecutionEngineTest()
/external/llvm/examples/ParallelJIT/
DParallelJIT.cpp254 ExecutionEngine* EE = EngineBuilder(std::move(Owner)).create(); in main()
/external/llvm/bindings/ocaml/executionengine/
Dllvm_executionengine.mli48 See the function [llvm::EngineBuilder::create]. *)
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTestBase.h318 EngineBuilder EB(std::move(M)); in createJIT()
/external/llvm/examples/Kaleidoscope/MCJIT/cached/
Dtoy-jit.cpp1163 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); in main()
Dtoy.cpp898 ExecutionEngine *NewEngine = EngineBuilder(M) in compileModule()
/external/llvm/examples/Kaleidoscope/MCJIT/lazy/
Dtoy-jit.cpp1123 TheExecutionEngine = EngineBuilder(TheModule).setErrorStr(&ErrStr).create(); in main()
Dtoy.cpp809 ExecutionEngine *NewEngine = EngineBuilder(M) in compileModule()
/external/llvm/examples/Kaleidoscope/MCJIT/initial/
Dtoy.cpp779 ExecutionEngine *NewEngine = EngineBuilder(OpenModule) in getPointerToFunction()

12