/external/llvm/unittests/ExecutionEngine/Orc/ |
D | OrcCAPITest.cpp | 83 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/ |
D | BuildingAJIT1.rst | 2 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 …]
|
D | BuildingAJIT3.rst | 2 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>`_
|
D | BuildingAJIT5.rst | 2 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:
|
D | LangImpl04.rst | 2 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 …]
|
/external/llvm-project/llvm/docs/tutorial/ |
D | BuildingAJIT1.rst | 2 Building a JIT: Starting out with KaleidoscopeJIT 17 Welcome to Chapter 1 of the "Building an ORC-based JIT in LLVM" tutorial. This 18 tutorial runs through the implementation of a JIT compiler using LLVM's 25 The goal of this tutorial is to introduce you to LLVM's ORC JIT APIs, show how 27 them to build a custom JIT that is suited to your use-case. 32 introduce some of the basic concepts of the ORC JIT APIs, including the 38 - `Chapter #3 <BuildingAJIT3.html>`_: Further extend the JIT by adding a 41 - `Chapter #4 <BuildingAJIT4.html>`_: Improve the laziness of our JIT by 47 a remote process with reduced privileges using the JIT Remote APIs. 49 To provide input for our JIT we will use a lightly modified version of the [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/ |
D | SparcTargetMachine.cpp | 75 bool Is64Bit, bool JIT) { in getEffectiveSparcCodeModel() argument 84 if (JIT) in getEffectiveSparcCodeModel() 95 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT, bool is64bit) in SparcTargetMachine() argument 99 CM, getEffectiveRelocModel(RM), is64bit, JIT), in SparcTargetMachine() 197 CodeGenOpt::Level OL, bool JIT) in SparcV8TargetMachine() argument 198 : SparcTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, false) {} in SparcV8TargetMachine() 207 CodeGenOpt::Level OL, bool JIT) in SparcV9TargetMachine() argument 208 : SparcTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, true) {} in SparcV9TargetMachine() 217 CodeGenOpt::Level OL, bool JIT) in SparcelTargetMachine() argument 218 : SparcTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, false) {} in SparcelTargetMachine()
|
D | SparcTargetMachine.h | 31 CodeGenOpt::Level OL, bool JIT, bool is64bit); 52 CodeGenOpt::Level OL, bool JIT); 63 CodeGenOpt::Level OL, bool JIT); 73 CodeGenOpt::Level OL, bool JIT);
|
/external/llvm-project/llvm/lib/Target/Sparc/ |
D | SparcTargetMachine.cpp | 75 bool Is64Bit, bool JIT) { in getEffectiveSparcCodeModel() argument 84 if (JIT) in getEffectiveSparcCodeModel() 95 Optional<CodeModel::Model> CM, CodeGenOpt::Level OL, bool JIT, bool is64bit) in SparcTargetMachine() argument 99 CM, getEffectiveRelocModel(RM), is64bit, JIT), in SparcTargetMachine() 196 CodeGenOpt::Level OL, bool JIT) in SparcV8TargetMachine() argument 197 : SparcTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, false) {} in SparcV8TargetMachine() 206 CodeGenOpt::Level OL, bool JIT) in SparcV9TargetMachine() argument 207 : SparcTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, true) {} in SparcV9TargetMachine() 216 CodeGenOpt::Level OL, bool JIT) in SparcelTargetMachine() argument 217 : SparcTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, false) {} in SparcelTargetMachine()
|
D | SparcTargetMachine.h | 31 CodeGenOpt::Level OL, bool JIT, bool is64bit); 52 CodeGenOpt::Level OL, bool JIT); 63 CodeGenOpt::Level OL, bool JIT); 73 CodeGenOpt::Level OL, bool JIT);
|
/external/llvm-project/llvm/docs/ |
D | ORCv2.rst | 12 implementation of the ORC JIT APIs. Except where otherwise stated all discussion 19 ORC provides a modular API for building JIT compilers. There are a number 22 1. The LLVM tutorials use a simple ORC-based JIT class to execute expressions 25 2. The LLVM debugger, LLDB, uses a cross-compiling JIT for expression 31 optimizations within an existing JIT infrastructure. 43 **JIT-linking** 46 that contains the JIT session object and jit-linker, or may be another process 48 with the JIT via RPC. 52 ConcurrentIRCompiler) that make it easy to add LLVM IR to a JIT'd process. 55 By default, ORC will compile symbols as soon as they are looked up in the JIT [all …]
|
/external/skqp/src/sksl/ |
D | SkSLJIT.cpp | 84 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/llvm-project/llvm/test/ExecutionEngine/OrcLazy/ |
D | emulated-tls.ll | 6 ; Unfortunately we cannot test successful execution of JIT'd code with 7 ; emulated-tls as this would require the JIT itself, in this case lli, to be 9 ; that the only error produced by the JIT for a thread-local with emulated-tls 12 ; tls lowering was applied, and (2) that thread locals defined in the JIT'd code 15 ; CHECK: JIT session error: Symbols not found: [ {{[^,]*}}__emutls_get_address ]
|
/external/pcre/dist2/testdata/ |
D | testinput15 | 4 # 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 176 # when JIT is used. 218 # These tests don't behave the same with JIT 226 # This test breaks the JIT stack limit
|
D | testoutput17 | 1 # 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 …]
|
D | testoutput16 | 1 # 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/llvm-project/llvm/lib/Target/Mips/ |
D | MipsTargetMachine.cpp | 99 static Reloc::Model getEffectiveRelocModel(bool JIT, in getEffectiveRelocModel() argument 101 if (!RM.hasValue() || JIT) in getEffectiveRelocModel() 116 CodeGenOpt::Level OL, bool JIT, in MipsTargetMachine() argument 119 CPU, FS, Options, getEffectiveRelocModel(JIT, RM), in MipsTargetMachine() 148 CodeGenOpt::Level OL, bool JIT) in MipsebTargetMachine() argument 149 : MipsTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, false) {} in MipsebTargetMachine() 158 CodeGenOpt::Level OL, bool JIT) in MipselTargetMachine() argument 159 : MipsTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, true) {} in MipselTargetMachine()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/ |
D | MipsTargetMachine.cpp | 99 static Reloc::Model getEffectiveRelocModel(bool JIT, in getEffectiveRelocModel() argument 101 if (!RM.hasValue() || JIT) in getEffectiveRelocModel() 116 CodeGenOpt::Level OL, bool JIT, in MipsTargetMachine() argument 119 CPU, FS, Options, getEffectiveRelocModel(JIT, RM), in MipsTargetMachine() 145 CodeGenOpt::Level OL, bool JIT) in MipsebTargetMachine() argument 146 : MipsTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, false) {} in MipsebTargetMachine() 155 CodeGenOpt::Level OL, bool JIT) in MipselTargetMachine() argument 156 : MipsTargetMachine(T, TT, CPU, FS, Options, RM, CM, OL, JIT, true) {} in MipselTargetMachine()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/ |
D | CodeGenCWrappers.h | 25 inline Optional<CodeModel::Model> unwrap(LLVMCodeModel Model, bool &JIT) { in unwrap() argument 26 JIT = false; in unwrap() 29 JIT = true; in unwrap()
|
/external/llvm-project/llvm/include/llvm/Target/ |
D | CodeGenCWrappers.h | 25 inline Optional<CodeModel::Model> unwrap(LLVMCodeModel Model, bool &JIT) { in unwrap() argument 26 JIT = false; in unwrap() 29 JIT = true; in unwrap()
|
/external/llvm-project/llvm/docs/tutorial/MyFirstLanguageFrontend/ |
D | LangImpl04.rst | 2 Kaleidoscope: Adding JIT and Optimizer Support 15 language, and adding JIT compiler support. These additions will 217 Adding a JIT Compiler 223 the code to an assembly file (.s) for some target, or you can JIT 227 In this section, we'll add JIT compiler support to our interpreter. The 235 the current native target and declare and initialize the JIT. This is 268 We also need to setup the data layout for the JIT: 281 The KaleidoscopeJIT class is a simple JIT built specifically for these 286 ``addModule`` adds an LLVM IR module to the JIT, making its functions 301 // JIT the module containing the anonymous expression, keeping a handle so [all …]
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_misc.cpp | 357 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-10.0/llvm/lib/Target/AArch64/ |
D | AArch64TargetMachine.h | 34 CodeGenOpt::Level OL, bool JIT, bool IsLittleEndian); 65 bool JIT); 77 bool JIT);
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86TargetMachine.cpp | 150 bool JIT, in getEffectiveRelocModel() argument 156 if (JIT) in getEffectiveRelocModel() 192 bool JIT, bool Is64Bit) { in getEffectiveX86CodeModel() argument 198 if (JIT) in getEffectiveX86CodeModel() 210 CodeGenOpt::Level OL, bool JIT) in X86TargetMachine() argument 213 getEffectiveRelocModel(TT, JIT, RM), in X86TargetMachine() 214 getEffectiveX86CodeModel(CM, JIT, TT.getArch() == Triple::x86_64), in X86TargetMachine() 216 TLOF(createTLOF(getTargetTriple())), IsJIT(JIT) { in X86TargetMachine()
|
/external/llvm-project/llvm/lib/ExecutionEngine/ |
D | ExecutionEngineBindings.cpp | 139 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() 202 bool JIT; in LLVMCreateMCJITCompilerForModule() local 203 if (Optional<CodeModel::Model> CM = unwrap(options.CodeModel, JIT)) in LLVMCreateMCJITCompilerForModule() 208 if (ExecutionEngine *JIT = builder.create()) { in LLVMCreateMCJITCompilerForModule() local 209 *OutJIT = wrap(JIT); in LLVMCreateMCJITCompilerForModule()
|