Home
last modified time | relevance | path

Searched refs:JIT (Results 1 – 25 of 336) sorted by relevance

12345678910>>...14

/external/llvm/unittests/ExecutionEngine/Orc/
DOrcCAPITest.cpp83 LLVMOrcJITStackRef JIT = in TEST_F() local
88 LLVMOrcGetMangledSymbol(JIT, &testFuncName, "testFunc"); in TEST_F()
91 LLVMOrcAddEagerlyCompiledIR(JIT, wrap(M.get()), myResolver, nullptr); in TEST_F()
92 MainFnTy MainFn = (MainFnTy)LLVMOrcGetSymbolAddress(JIT, "main"); in TEST_F()
97 LLVMOrcRemoveModule(JIT, H); in TEST_F()
100 LLVMOrcDisposeInstance(JIT); in TEST_F()
107 LLVMOrcJITStackRef JIT = in TEST_F() local
112 LLVMOrcGetMangledSymbol(JIT, &testFuncName, "testFunc"); in TEST_F()
115 LLVMOrcAddLazilyCompiledIR(JIT, wrap(M.get()), myResolver, nullptr); in TEST_F()
116 MainFnTy MainFn = (MainFnTy)LLVMOrcGetSymbolAddress(JIT, "main"); in TEST_F()
[all …]
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DJIT.cpp61 RegisterJIT() { JIT::Register(); } in RegisterJIT()
206 ExecutionEngine *JIT::createJIT(Module *M, in createJIT()
219 return new JIT(M, *TM, *TJ, JMM, OptLevel, GVsWithCode); in createJIT()
231 SmallPtrSet<JIT*, 1> JITs; // Optimize for process containing just 1 JIT.
234 void Add(JIT *jit) { in Add()
238 void Remove(JIT *jit) { in Remove()
246 for (SmallPtrSet<JIT*, 1>::const_iterator Jit = JITs.begin(), in getPointerToNamedFunction()
270 JIT::JIT(Module *M, TargetMachine &tm, TargetJITInfo &tji, in JIT() function in JIT
319 JIT::~JIT() { in ~JIT()
331 void JIT::addModule(Module *M) { in addModule()
[all …]
DJIT.h53 class JIT : public ExecutionEngine {
80 JIT(Module *M, TargetMachine &tm, TargetJITInfo &tji,
84 ~JIT();
212 static JITCodeEmitter *createEmitter(JIT &J, JITMemoryManager *JMM,
DJITDwarfEmitter.h36 JIT& Jit;
56 JITDwarfEmitter(JIT& jit);
/external/llvm/docs/tutorial/
DBuildingAJIT1.rst2 Building a JIT: Starting out with KaleidoscopeJIT
11 Welcome to Chapter 1 of the "Building an ORC-based JIT in LLVM" tutorial. This
12 tutorial runs through the implementation of a JIT compiler using LLVM's
19 The goal of this tutorial is to introduce you to LLVM's ORC JIT APIs, show how
21 them to build a custom JIT that is suited to your use-case.
26 introduce some of the basic concepts of the ORC JIT APIs, including the
32 - `Chapter #3 <BuildingAJIT3.html>`_: Further extend the JIT by adding a
35 - `Chapter #4 <BuildingAJIT4.html>`_: Improve the laziness of our JIT by
41 a remote process with reduced privileges using the JIT Remote APIs.
43 To provide input for our JIT we will use the Kaleidoscope REPL from
[all …]
DBuildingAJIT3.rst2 Building a JIT: Per-function Lazy Compilation
15 Welcome to Chapter 3 of the "Building an ORC-based JIT in LLVM" tutorial. This
17 CompileOnDemand layer the JIT from `Chapter 2 <BuildingAJIT2.html>`_.
27 and lazy compilation callbacks for IR) and how to add it to the JIT.**
47 `Next: Extreme Laziness -- Using Compile Callbacks to JIT directly from ASTs <BuildingAJIT4.html>`_
DBuildingAJIT5.rst2 Building a JIT: Remote-JITing -- Process Isolation and Laziness at a Distance
15 Welcome to Chapter 5 of the "Building an ORC-based JIT in LLVM" tutorial. This
17 them to build a JIT stack that will execute its code via a communications
20 platform/architecture. The code builds on top of the lazy-AST-compiling JIT
52 And the code for the JIT server:
DLangImpl04.rst2 Kaleidoscope: Adding JIT and Optimizer Support
15 language, and adding JIT compiler support. These additions will
213 Adding a JIT Compiler
219 the code to an assembly file (.s) for some target, or you can JIT
223 In this section, we'll add JIT compiler support to our interpreter. The
230 In order to do this, we first declare and initialize the JIT. This is
248 The KaleidoscopeJIT class is a simple JIT built specifically for these
251 ``addModule`` adds an LLVM IR module to the JIT, making its functions
266 // JIT the module containing the anonymous expression, keeping a handle so
271 // Search the JIT for the __anon_expr symbol.
[all …]
DBuildingAJIT2.rst2 Building a JIT: Adding Optimizations -- An introduction to ORC Layers
15 Welcome to Chapter 2 of the "Building an ORC-based JIT in LLVM" tutorial. In
16 `Chapter 1 <BuildingAJIT1.html>`_ of this series we examined a basic JIT
36 added to it. In this Chapter we will make optimization a phase of our JIT
38 layers, but in the long term making optimization part of our JIT will yield an
41 optimization managed by our JIT will allow us to optimize lazily too, rather
44 To add optimization support to our JIT we will take the KaleidoscopeJIT from
140 // the JIT.
147 At the bottom of our JIT we add a private method to do the actual optimization:
243 | | Removes a set of modules from the JIT. Code or data |
[all …]
DOCamlLangImpl4.rst2 Kaleidoscope: Adding JIT and Optimizer Support
15 language, and adding JIT compiler support. These additions will
139 (* Create the JIT. *)
169 The "``the_execution_engine``" variable is related to the JIT, which we
229 Adding a JIT Compiler
235 the code to an assembly file (.s) for some target, or you can JIT
239 In this section, we'll add JIT compiler support to our interpreter. The
246 In order to do this, we first declare and initialize the JIT. This is
254 (* Create the JIT. *)
258 This creates an abstract "Execution Engine" which can be either a JIT
[all …]
DBuildingAJIT4.rst2 Building a JIT: Extreme Laziness - Using Compile Callbacks to JIT from ASTs
15 Welcome to Chapter 4 of the "Building an ORC-based JIT in LLVM" tutorial. This
/external/pcre/dist2/testdata/
Dtestinput154 # interpretive or JIT matching, so this test should not be run with JIT. The
5 # same tests are run using JIT in test 17.
7 # (2) Other tests that must not be run with JIT.
88 # The allusedtext modifier does not work with JIT, which does not maintain
113 # when JIT is used.
155 # These tests don't behave the same with JIT
Dtestoutput171 # This test is run only when JIT support is available. It checks JIT complete
2 # and partial modes, and things that are different with JIT.
6 # JIT does not support this pattern (callout at start of condition).
12 JIT compilation was not successful (no more memory)
14 # The following pattern cannot be compiled by JIT.
20 JIT compilation was not successful (no more memory)
26 Failed: error -46: JIT stack limit reached
33 JIT compilation was successful
35 0: abcd (JIT)
38 No match (JIT)
[all …]
Dtestoutput161 # This test is run only when JIT support is not available. It checks that an
3 # are different without JIT.
10 JIT support is not available in this version of PCRE2
Dtestinput161 # This test is run only when JIT support is not available. It checks that an
3 # are different without JIT.
Dtestoutput154 # interpretive or JIT matching, so this test should not be run with JIT. The
5 # same tests are run using JIT in test 17.
7 # (2) Other tests that must not be run with JIT.
199 # The allusedtext modifier does not work with JIT, which does not maintain
243 # when JIT is used.
334 # These tests don't behave the same with JIT
/external/pcre/dist2/
DRunTest.bat313 if %jit% EQU 1 call :runsub 1 testoutjit "Test with JIT Override" -q -jit
318 if %jit% EQU 1 call :runsub 2 testoutjit "Test with JIT Override" -q -jit
323 if %jit% EQU 1 call :runsub 3 testoutjit "Test with JIT Override" -q -jit
332 if %jit% EQU 1 call :runsub 4 testoutjit "Test with JIT Override" -q -jit
341 if %jit% EQU 1 call :runsub 5 testoutjit "Test with JIT Override" -q -jit
374 if %jit% EQU 1 call :runsub 9 testoutjit "Test with JIT Override" -q -jit
387 if %jit% EQU 1 call :runsub 10 testoutjit "Test with JIT Override" -q -jit
396 if %jit% EQU 1 call :runsub 11 testoutjit "Test with JIT Override" -q -jit
409 if %jit% EQU 1 call :runsub 12 testoutjit "Test with JIT Override" -q -jit
429 call :runsub 15 testout "Non-JIT limits and other non_JIT tests" -q
[all …]
/external/llvm/examples/BrainF/
DBrainFDriver.cpp70 JIT("jit", cl::desc("Run program Just-In-Time")); variable
116 if (!JIT) { in main()
154 if (JIT) { in main()
/external/swiftshader/third_party/LLVM/examples/BrainF/
DBrainFDriver.cpp54 JIT("jit", cl::desc("Run program Just-In-Time")); variable
101 if (!JIT) { in main()
140 if (JIT) { in main()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86CompilationCallback_Win64.asm1 ;;===-- X86CompilationCallback_Win64.asm - Implement Win64 JIT callback ---===
10 ;; This file implements the JIT interfaces for the X86 target.
/external/llvm/docs/
DDebuggingJITedCode.rst2 Debugging JIT-ed Code With GDB
29 In order to debug code JIT-ed by LLVM, you need GDB 7.0 or newer, which is
32 better option for debugging JIT-ed code on Mac OS X.
38 The emerging MCJIT component of LLVM allows full debugging of JIT-ed code with
42 Note that lli has to be passed the ``-use-mcjit`` flag to JIT the code with
43 MCJIT instead of the old JIT.
/external/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp139 builder.setEngineKind(EngineKind::JIT) in LLVMCreateJITCompilerForModule()
142 if (ExecutionEngine *JIT = builder.create()) { in LLVMCreateJITCompilerForModule() local
143 *OutJIT = wrap(JIT); in LLVMCreateJITCompilerForModule()
198 builder.setEngineKind(EngineKind::JIT) in LLVMCreateMCJITCompilerForModule()
206 if (ExecutionEngine *JIT = builder.create()) { in LLVMCreateMCJITCompilerForModule() local
207 *OutJIT = wrap(JIT); in LLVMCreateMCJITCompilerForModule()
/external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/
DJITTest.cpp199 TheJIT.reset(EngineBuilder(M).setEngineKind(EngineKind::JIT) in SetUp()
220 TEST(JIT, GlobalInFunction) { in TEST() argument
229 OwningPtr<ExecutionEngine> JIT(EngineBuilder(M) in TEST() local
230 .setEngineKind(EngineKind::JIT) in TEST()
254 reinterpret_cast<void(*)()>((intptr_t)JIT->getPointerToFunction(F1)); in TEST()
257 int32_t *GPtr = (int32_t*)JIT->getPointerToGlobalIfAvailable(G); in TEST()
269 reinterpret_cast<void(*)()>((intptr_t)JIT->getPointerToFunction(F2)); in TEST()
276 JIT->freeMachineCodeForFunction(F1); in TEST()
691 .setEngineKind(EngineKind::JIT) in getJITFromBitcode()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_misc.cpp518 builder.setEngineKind(EngineKind::JIT) in lp_build_create_jit_compiler_for_module()
712 ExecutionEngine *JIT; in lp_build_create_jit_compiler_for_module() local
714 JIT = builder.create(); in lp_build_create_jit_compiler_for_module()
717 JIT->RegisterJITEventListener(JEL); in lp_build_create_jit_compiler_for_module()
719 if (JIT) { in lp_build_create_jit_compiler_for_module()
720 *OutJIT = wrap(JIT); in lp_build_create_jit_compiler_for_module()
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter7/
Dtoplevel.ml2 * Top-Level parsing and JIT Driver
36 (* JIT the function, returning a function pointer. *)

12345678910>>...14