Home
last modified time | relevance | path

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

12345678910>>...19

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DOrcCAPITest.cpp92 LLVMOrcJITStackRef JIT = in TEST_F() local
97 LLVMOrcGetMangledSymbol(JIT, &testFuncName, "testFunc"); in TEST_F()
100 LLVMOrcAddEagerlyCompiledIR(JIT, &H, wrap(M.release()), myResolver, nullptr); in TEST_F()
105 LLVMOrcGetSymbolAddress(JIT, &MainAddr, "main"); in TEST_F()
115 LLVMOrcGetSymbolAddressIn(JIT, &MainAddr, H, "main"); in TEST_F()
122 LLVMOrcRemoveModule(JIT, H); in TEST_F()
125 LLVMOrcDisposeInstance(JIT); in TEST_F()
132 LLVMOrcJITStackRef JIT = in TEST_F() local
137 LLVMOrcGetMangledSymbol(JIT, &testFuncName, "testFunc"); in TEST_F()
140 LLVMOrcAddLazilyCompiledIR(JIT, &H, wrap(M.release()), myResolver, nullptr); in TEST_F()
[all …]
/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/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/docs/tutorial/
DBuildingAJIT1.rst2 Building a JIT: Starting out with KaleidoscopeJIT
16 Welcome to Chapter 1 of the "Building an ORC-based JIT in LLVM" tutorial. This
17 tutorial runs through the implementation of a JIT compiler using LLVM's
24 The goal of this tutorial is to introduce you to LLVM's ORC JIT APIs, show how
26 them to build a custom JIT that is suited to your use-case.
31 introduce some of the basic concepts of the ORC JIT APIs, including the
37 - `Chapter #3 <BuildingAJIT3.html>`_: Further extend the JIT by adding a
40 - `Chapter #4 <BuildingAJIT4.html>`_: Improve the laziness of our JIT by
46 a remote process with reduced privileges using the JIT Remote APIs.
48 To provide input for our JIT we will use the Kaleidoscope REPL from
[all …]
DLangImpl04.rst2 Kaleidoscope: Adding JIT and Optimizer Support
15 language, and adding JIT compiler support. These additions will
209 Adding a JIT Compiler
215 the code to an assembly file (.s) for some target, or you can JIT
219 In this section, we'll add JIT compiler support to our interpreter. The
227 the current native target and declare and initialize the JIT. This is
260 We also need to setup the data layout for the JIT:
273 The KaleidoscopeJIT class is a simple JIT built specifically for these
278 ``addModule`` adds an LLVM IR module to the JIT, making its functions
293 // JIT the module containing the anonymous expression, keeping a handle so
[all …]
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
54 And the code for the JIT server:
DBuildingAJIT2.rst2 Building a JIT: Adding Optimizations -- An introduction to ORC Layers
20 Welcome to Chapter 2 of the "Building an ORC-based JIT in LLVM" tutorial. In
21 `Chapter 1 <BuildingAJIT1.html>`_ of this series we examined a basic JIT
41 added to it. In this Chapter we will make optimization a phase of our JIT
43 layers, but in the long term making optimization part of our JIT will yield an
46 optimization managed by our JIT will allow us to optimize lazily too, rather
49 To add optimization support to our JIT we will take the KaleidoscopeJIT from
145 // the JIT.
152 At the bottom of our JIT we add a private method to do the actual optimization:
241 | | 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Sparc/
DSparcTargetMachine.cpp75 bool JIT) { in getEffectiveCodeModel() argument
79 if (JIT) in getEffectiveCodeModel()
90 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT, bool is64bit) in SparcTargetMachine() argument
94 getEffectiveCodeModel(CM, getEffectiveRelocModel(RM), is64bit, JIT), in SparcTargetMachine()
192 CodeGenOpt::Level OL, bool JIT) in SparcV8TargetMachine() argument
193 : SparcTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, false) {} in SparcV8TargetMachine()
202 CodeGenOpt::Level OL, bool JIT) in SparcV9TargetMachine() argument
203 : SparcTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, true) {} in SparcV9TargetMachine()
212 CodeGenOpt::Level OL, bool JIT) in SparcelTargetMachine() argument
213 : SparcTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, false) {} in SparcelTargetMachine()
DSparcTargetMachine.h32 CodeGenOpt::Level OL, bool JIT, bool is64bit);
57 CodeGenOpt::Level OL, bool JIT);
68 CodeGenOpt::Level OL, bool JIT);
78 CodeGenOpt::Level OL, bool JIT);
/external/skqp/src/sksl/
DSkSLJIT.cpp84 JIT::JIT(Compiler* compiler) in JIT() function in SkSL::JIT
123 JIT::~JIT() { in ~JIT()
128 void JIT::addBuiltinFunction(const char* ourName, const char* realName, LLVMTypeRef returnType, in addBuiltinFunction()
174 void JIT::loadBuiltinFunctions() { in loadBuiltinFunctions()
195 uint64_t JIT::resolveSymbol(const char* name, JIT* jit) { in resolveSymbol()
220 LLVMValueRef JIT::compileFunctionCall(LLVMBuilderRef builder, const FunctionCall& fc) { in compileFunctionCall()
230 LLVMTypeRef JIT::getType(const Type& type) { in getType()
277 void JIT::setBlock(LLVMBuilderRef builder, LLVMBasicBlockRef block) { in setBlock()
282 std::unique_ptr<JIT::LValue> JIT::getLValue(LLVMBuilderRef builder, const Expression& expr) { in getLValue()
320 TernaryLValue(JIT* jit, LLVMValueRef test, std::unique_ptr<LValue> ifTrue, in getLValue()
[all …]
/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.
101 # The allusedtext modifier does not work with JIT, which does not maintain
126 # when JIT is used.
168 # These tests don't behave the same with JIT
176 # This test breaks the JIT stack limit
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
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsTargetMachine.cpp97 static Reloc::Model getEffectiveRelocModel(bool JIT, in getEffectiveRelocModel() argument
99 if (!RM.hasValue() || JIT) in getEffectiveRelocModel()
120 CodeGenOpt::Level OL, bool JIT, in MipsTargetMachine() argument
123 CPU, FS, Options, getEffectiveRelocModel(JIT, RM), in MipsTargetMachine()
146 CodeGenOpt::Level OL, bool JIT) in MipsebTargetMachine() argument
147 : MipsTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, false) {} in MipsebTargetMachine()
156 CodeGenOpt::Level OL, bool JIT) in MipselTargetMachine() argument
157 : MipsTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, true) {} in MipselTargetMachine()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Target/
DCodeGenCWrappers.h26 inline Optional<CodeModel::Model> unwrap(LLVMCodeModel Model, bool &JIT) { in unwrap() argument
27 JIT = false; in unwrap()
30 JIT = true; in unwrap()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_misc.cpp357 builder.setEngineKind(EngineKind::JIT) in lp_build_create_jit_compiler_for_module()
532 ExecutionEngine *JIT; in lp_build_create_jit_compiler_for_module() local
534 JIT = builder.create(); in lp_build_create_jit_compiler_for_module()
538 JIT->setObjectCache(objcache); in lp_build_create_jit_compiler_for_module()
544 JIT->RegisterJITEventListener(JEL); in lp_build_create_jit_compiler_for_module()
546 if (JIT) { in lp_build_create_jit_compiler_for_module()
547 *OutJIT = wrap(JIT); in lp_build_create_jit_compiler_for_module()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp140 builder.setEngineKind(EngineKind::JIT) in LLVMCreateJITCompilerForModule()
143 if (ExecutionEngine *JIT = builder.create()) { in LLVMCreateJITCompilerForModule() local
144 *OutJIT = wrap(JIT); in LLVMCreateJITCompilerForModule()
199 builder.setEngineKind(EngineKind::JIT) in LLVMCreateMCJITCompilerForModule()
203 bool JIT; in LLVMCreateMCJITCompilerForModule() local
204 if (Optional<CodeModel::Model> CM = unwrap(options.CodeModel, JIT)) in LLVMCreateMCJITCompilerForModule()
209 if (ExecutionEngine *JIT = builder.create()) { in LLVMCreateMCJITCompilerForModule() local
210 *OutJIT = wrap(JIT); in LLVMCreateMCJITCompilerForModule()
/external/pcre/dist2/
DRunTest.bat304 if %jit% EQU 1 call :runsub 1 testoutjit "Test with JIT Override" -q -jit
309 if %jit% EQU 1 call :runsub 2 testoutjit "Test with JIT Override" -q -jit
314 if %jit% EQU 1 call :runsub 3 testoutjit "Test with JIT Override" -q -jit
323 if %jit% EQU 1 call :runsub 4 testoutjit "Test with JIT Override" -q -jit
332 if %jit% EQU 1 call :runsub 5 testoutjit "Test with JIT Override" -q -jit
365 if %jit% EQU 1 call :runsub 9 testoutjit "Test with JIT Override" -q -jit
378 if %jit% EQU 1 call :runsub 10 testoutjit "Test with JIT Override" -q -jit
387 if %jit% EQU 1 call :runsub 11 testoutjit "Test with JIT Override" -q -jit
400 if %jit% EQU 1 call :runsub 12 testoutjit "Test with JIT Override" -q -jit
420 call :runsub 15 testout "Non-JIT limits and other non_JIT tests" -q
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZTargetMachine.cpp132 Reloc::Model RM, bool JIT) { in getEffectiveCodeModel() argument
135 if (JIT) in getEffectiveCodeModel()
145 CodeGenOpt::Level OL, bool JIT) in SystemZTargetMachine() argument
149 getEffectiveCodeModel(CM, getEffectiveRelocModel(RM), JIT), OL), in SystemZTargetMachine()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64TargetMachine.h35 CodeGenOpt::Level OL, bool JIT, bool IsLittleEndian);
66 bool JIT);
78 bool JIT);

12345678910>>...19