Home
last modified time | relevance | path

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

123

/external/llvm/include/llvm/ExecutionEngine/
DExecutionEngine.h126 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/swiftshader/third_party/LLVM/include/llvm/ExecutionEngine/
DExecutionEngine.h116 friend class EngineBuilder; // To allow access to JITCtor and InterpCtor. variable
457 class EngineBuilder {
487 EngineBuilder(Module *m) : M(m) { in EngineBuilder() function
493 EngineBuilder &setEngineKind(EngineKind::Kind w) { in setEngineKind()
502 EngineBuilder &setJITMemoryManager(JITMemoryManager *jmm) { in setJITMemoryManager()
509 EngineBuilder &setErrorStr(std::string *e) { in setErrorStr()
516 EngineBuilder &setOptLevel(CodeGenOpt::Level l) { in setOptLevel()
523 EngineBuilder &setRelocationModel(Reloc::Model RM) { in setRelocationModel()
531 EngineBuilder &setCodeModel(CodeModel::Model M) { in setCodeModel()
543 EngineBuilder &setAllocateGVsWithCode(bool a) { in setAllocateGVsWithCode()
[all …]
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/
DMultiJITTest.cpp83 OwningPtr<ExecutionEngine> EE1(EngineBuilder(M1).create()); in TEST()
85 OwningPtr<ExecutionEngine> EE2(EngineBuilder(M2).create()); in TEST()
113 OwningPtr<ExecutionEngine> EE1(EngineBuilder(M1).create()); in TEST()
115 OwningPtr<ExecutionEngine> EE2(EngineBuilder(M2).create()); in TEST()
147 OwningPtr<ExecutionEngine> EE1(EngineBuilder(M1).create()); in TEST()
148 OwningPtr<ExecutionEngine> EE2(EngineBuilder(M2).create()); in TEST()
DJITTest.cpp199 TheJIT.reset(EngineBuilder(M).setEngineKind(EngineKind::JIT) in SetUp()
229 OwningPtr<ExecutionEngine> JIT(EngineBuilder(M) in TEST()
690 ExecutionEngine *TheJIT = EngineBuilder(M) in getJITFromBitcode()
/external/llvm/lib/ExecutionEngine/
DTargetSelect.cpp27 TargetMachine *EngineBuilder::selectTarget() { in selectTarget()
40 TargetMachine *EngineBuilder::selectTarget(const Triple &TargetTriple, in selectTarget()
DExecutionEngine.cpp470 EngineBuilder::EngineBuilder() : EngineBuilder(nullptr) {} in EngineBuilder() function in EngineBuilder
472 EngineBuilder::EngineBuilder(std::unique_ptr<Module> M) in EngineBuilder() function in EngineBuilder
485 EngineBuilder::~EngineBuilder() = default;
487 EngineBuilder &EngineBuilder::setMCJITMemoryManager( in setMCJITMemoryManager()
495 EngineBuilder&
496 EngineBuilder::setMemoryManager(std::unique_ptr<MCJITMemoryManager> MM) { in setMemoryManager()
501 EngineBuilder&
502 EngineBuilder::setSymbolResolver(std::unique_ptr<RuntimeDyld::SymbolResolver> SR) { in setSymbolResolver()
507 ExecutionEngine *EngineBuilder::create(TargetMachine *TM) { in create()
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()
197 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/swiftshader/third_party/LLVM/lib/ExecutionEngine/
DExecutionEngineBindings.cpp94 EngineBuilder builder(unwrap(M)); in LLVMCreateExecutionEngineForModule()
109 EngineBuilder builder(unwrap(M)); in LLVMCreateInterpreterForModule()
125 EngineBuilder builder(unwrap(M)); in LLVMCreateJITCompilerForModule()
DTargetSelect.cpp29 TargetMachine *EngineBuilder::selectTarget(Module *Mod, in selectTarget()
/external/swiftshader/third_party/LLVM/examples/HowToUseJIT/
DHowToUseJIT.cpp117 ExecutionEngine* EE = EngineBuilder(M).create(); in main()
/external/llvm/examples/HowToUseJIT/
DHowToUseJIT.cpp125 ExecutionEngine* EE = EngineBuilder(std::move(Owner)).create(); in main()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/
DKaleidoscopeJIT.h50 : TM(EngineBuilder().selectTarget()), DL(TM->createDataLayout()), in KaleidoscopeJIT()
/external/swiftshader/third_party/LLVM/bindings/ocaml/executionengine/
Dllvm_executionengine.mli93 See the function [llvm::EngineBuilder::create]. *)
100 See the function [llvm::EngineBuilder::create]. *)
107 See the function [llvm::EngineBuilder::create]. *)
/external/llvm/examples/Kaleidoscope/include/
DKaleidoscopeJIT.h49 : TM(EngineBuilder().selectTarget()), DL(TM->createDataLayout()), in KaleidoscopeJIT()
/external/llvm/examples/Fibonacci/
Dfibonacci.cpp120 EngineBuilder(std::move(Owner)) in main()
/external/swiftshader/third_party/LLVM/examples/Fibonacci/
Dfibonacci.cpp107 EngineBuilder(M.get()) in main()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/
DKaleidoscopeJIT.h56 : TM(EngineBuilder().selectTarget()), DL(TM->createDataLayout()), in KaleidoscopeJIT()
/external/llvm/tools/lli/
DOrcLazyJIT.cpp117 EngineBuilder EB; in runOrcLazyJIT()
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/
DKaleidoscopeJIT.h59 : TM(EngineBuilder().selectTarget()), DL(TM->createDataLayout()), in KaleidoscopeJIT()
/external/llvm/examples/BrainF/
DBrainFDriver.cpp159 ExecutionEngine *ee = EngineBuilder(std::move(Mod)).create(); in main()
/external/swiftshader/third_party/LLVM/examples/BrainF/
DBrainFDriver.cpp144 ExecutionEngine *ee = EngineBuilder(mod).create(); in main()
/external/llvm/tools/llvm-jitlistener/
Dllvm-jitlistener.cpp139 TheJIT.reset(EngineBuilder(std::move(TheModule)) in InitEE()
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/
DExecutionEngineTest.cpp26 Engine(EngineBuilder(M).create()) { in ExecutionEngineTest()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_misc.cpp486 EngineBuilder builder(std::unique_ptr<Module>(unwrap(M))); in lp_build_create_jit_compiler_for_module()
488 EngineBuilder builder(unwrap(M)); in lp_build_create_jit_compiler_for_module()

123