/art/test/141-class-unload/ |
jni_unload.cc | 21 #include "jit/jit.h" 29 jit::Jit* jit = Runtime::Current()->GetJit(); local 30 if (jit != nullptr) { 31 jit->WaitForCompilationToFinish(Thread::Current());
|
/art/runtime/jit/ |
jit-inl.h | 20 #include "jit/jit.h" 28 namespace jit { namespace in namespace:art 30 inline bool Jit::ShouldUsePriorityThreadWeight(Thread* self) { 34 inline void Jit::AddSamples(Thread* self, 38 if (Jit::ShouldUsePriorityThreadWeight(self)) { 66 } // namespace jit
|
jit.cc | 17 #include "jit.h" 34 #include "jit-inl.h" 52 namespace jit { namespace in namespace:art 61 // JIT compiler 62 void* Jit::jit_library_handle_ = nullptr; 63 void* Jit::jit_compiler_handle_ = nullptr; 64 void* (*Jit::jit_load_)(void) = nullptr; 65 void (*Jit::jit_unload_)(void*) = nullptr; 66 bool (*Jit::jit_compile_method_)(void*, ArtMethod*, Thread*, bool, bool) = nullptr; 67 void (*Jit::jit_types_loaded_)(void*, mirror::Class**, size_t count) = nullptr 371 jit::Jit* jit = Runtime::Current()->GetJit(); local 412 Jit* jit = Runtime::Current()->GetJit(); local 995 jit::Jit* jit = Runtime::Current()->GetJit(); local [all...] |
jit.h | 25 #include "jit/profile_saver_options.h" 44 namespace jit { namespace in namespace:art 51 // At what priority to schedule jit threads. 9 is the lowest foreground priority on device. 161 class Jit { 168 virtual ~Jit(); 170 // Create JIT itself. 171 static Jit* Create(JitCodeCache* code_cache, JitOptions* options); 265 // into the specified class linker to the jit debug interface, 268 // Return whether we should try to JIT compiled code as soon as an ArtMethod is invoked. 271 // Return whether we can invoke JIT code for `method` [all...] |
/art/test/566-polymorphic-inlining/ |
polymorphic_inline.cc | 19 #include "jit/jit.h" 20 #include "jit/jit_code_cache.h" 21 #include "jit/profiling_info.h" 32 jit::Jit* jit = Runtime::Current()->GetJit(); local 33 jit::JitCodeCache* code_cache = jit->GetCodeCache(); 49 jit->CompileMethod(method, soa.Self(), /*baseline=*/ false, /*osr=*/ false) 64 jit::Jit* jit = Runtime::Current()->GetJit(); local 75 jit::Jit* jit = Runtime::Current()->GetJit(); local [all...] |
/art/test/common/ |
runtime_state.cc | 27 #include "jit/jit.h" 28 #include "jit/jit_code_cache.h" 29 #include "jit/profiling_info.h" 44 static jit::Jit* GetJitIfEnabled() { 100 // Could be JIT, which also uses optimizing, but conservatively say no. 181 jit::Jit* jit = GetJitIfEnabled() local 198 jit::Jit* jit = GetJitIfEnabled(); local 230 jit::Jit* jit = GetJitIfEnabled(); variable 255 jit::Jit* jit = GetJitIfEnabled(); local 273 jit::Jit* jit = GetJitIfEnabled(); local 330 jit::Jit* jit = GetJitIfEnabled(); local 343 jit::Jit* jit = Runtime::Current()->GetJit(); local 350 jit::Jit* jit = Runtime::Current()->GetJit(); local 357 jit::Jit* jit = Runtime::Current()->GetJit(); local 364 jit::Jit* jit = Runtime::Current()->GetJit(); local 369 jit::Jit* jit = Runtime::Current()->GetJit(); local [all...] |
/art/test/708-jit-cache-churn/ |
jit.cc | 20 #include "jit/jit.h" 21 #include "jit/jit_code_cache.h" 40 jit::Jit* jit = Runtime::Current()->GetJit(); local 41 jit->WaitForCompilationToFinish(Thread::Current()); 46 jit::JitCodeCache* code_cache = jit->GetCodeCache(); 51 ScopedSuspendAll suspend("Removing JIT compiled method", /*long_suspend*/true) [all...] |
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/ |
JITDwarfEmitter.h | 10 // This file defines a JITDwarfEmitter object that is used by the JIT to 36 JIT& Jit; 56 JITDwarfEmitter(JIT& jit);
|
JIT.cpp | 1 //===-- JIT.cpp - LLVM Just in Time Compiler ------------------------------===// 15 #include "JIT.h" 61 RegisterJIT() { JIT::Register(); } 82 // function here so that code generated by the JIT cooperates with the unwinding 203 /// createJIT - This is the factory method for creating a JIT for the current 206 ExecutionEngine *JIT::createJIT(Module *M, 217 // If the target supports JIT code generation, create the JIT. 219 return new JIT(M, *TM, *TJ, JMM, OptLevel, GVsWithCode); 222 *ErrorStr = "target does not support JIT code generation" [all...] |
JITDwarfEmitter.cpp | 10 // This file defines a JITDwarfEmitter object that is used by the JIT to 15 #include "JIT.h" 34 JITDwarfEmitter::JITDwarfEmitter(JIT& theJit) : MMI(0), Jit(theJit) {} 458 JCE->emitInt32((intptr_t)Jit.getOrEmitGlobalVariable(GV)); 460 JCE->emitInt64((intptr_t)Jit.getOrEmitGlobalVariable(GV)); 509 JCE->emitInt32(((intptr_t)Jit.getPointerToGlobal(Personality))); 512 JCE->emitInt64(((intptr_t)Jit.getPointerToGlobal(Personality)));
|
/art/test/570-checker-osr/ |
osr.cc | 18 #include "jit/jit.h" 19 #include "jit/jit_code_cache.h" 20 #include "jit/profiling_info.h" 57 jit::Jit* jit = Runtime::Current()->GetJit(); local 58 if (jit == nullptr) { 59 // Just return true for non-jit configurations to stop the infinite loop. 81 // The return value is irrelevant if we're not using JIT [all...] |
/external/perfetto/src/traced/probes/ftrace/ |
cpu_reader_benchmark.cc | 34 00000020: 140d 0000 4a69 7420 7468 7265 6164 2070 ....Jit thread p 40 00000080: 0100 0000 0000 0000 4a69 7420 7468 7265 ........Jit thre 42 000000a0: 50c2 0910 2f00 0103 140d 0000 4a69 7420 P.../.......Jit
|
cpu_reader_unittest.cc | [all...] |
/art/runtime/interpreter/mterp/ |
mterp.cc | 890 jit::Jit* jit = Runtime::Current()->GetJit(); local 928 jit::Jit* jit = Runtime::Current()->GetJit(); local 952 jit::Jit* jit = Runtime::Current()->GetJit(); local [all...] |
/art/runtime/ |
runtime.h | 58 namespace jit { namespace in namespace:art 59 class Jit; 62 } // namespace jit 132 // IsCompiler is any runtime which has a running compiler, either dex2oat or JIT. 465 jit::Jit* GetJit() const { 469 // Returns true if JIT compilations are enabled. GetJit() will be not null in this case. 646 // Create the JIT and instrumentation and code cache. 665 jit::JitOptions* GetJITOptions() { 1002 std::unique_ptr<jit::Jit> jit_ [all...] |
art_method.cc | 38 #include "jit/jit.h" 39 #include "jit/jit_code_cache.h" 40 #include "jit/profiling_info.h" 323 // Invocation by the interpreter, explicitly forcing interpretation over JIT to prevent 324 // cycling around the various JIT/Interpreter methods that handle method invocation. 606 // Check whether the pc is in the JIT code cache. 607 jit::Jit* jit = runtime->GetJit() local 678 jit::Jit* jit = runtime->GetJit(); local [all...] |
cha.cc | 22 #include "jit/jit.h" 23 #include "jit/jit_code_cache.h" 686 jit::Jit* jit = Runtime::Current()->GetJit(); local 687 if (jit != nullptr) { 688 jit::JitCodeCache* code_cache = jit->GetCodeCache();
|
runtime.cc | 93 #include "jit/jit.h" 94 #include "jit/jit_code_cache.h" 95 #include "jit/profile_saver.h" 421 ScopedTrace trace2("Delete jit"); 422 VLOG(jit) << "Deleting jit thread pool"; 424 // JIT compiler threads. 456 // Delete the JIT after thread list to ensure that there is no remaining threads which could be 459 VLOG(jit) << "Deleting jit" 2593 jit::Jit* jit = jit::Jit::Create(jit_code_cache_.get(), jit_options_.get()); local 2772 jit::Jit* jit = GetJit(); local [all...] |
instrumentation.cc | 39 #include "jit/jit.h" 40 #include "jit/jit_code_cache.h" 247 // find the actual JIT compiled code that corresponds to this method. 250 // It would be great to search the JIT for its implementation here but we cannot due to 252 // the JIT when it gets called and replace the entrypoint then. 1124 jit::Jit* jit = Runtime::Current()->GetJit(); local [all...] |
/art/runtime/interpreter/ |
interpreter.cc | 28 #include "jit/jit.h" 29 #include "jit/jit_code_cache.h" 293 jit::Jit* jit = Runtime::Current()->GetJit(); local 294 if (jit != nullptr) { 295 jit->MethodEntered(self, shadow_frame.GetMethod()); 296 if (jit->CanInvokeCompiledCode(method)) { 302 // It's ok to access the code item here since JIT code will have been touched by th 634 jit::Jit* jit = Runtime::Current()->GetJit(); local [all...] |
interpreter_common.h | 47 #include "jit/jit-inl.h" 203 jit::Jit* jit = Runtime::Current()->GetJit(); local 204 if (jit != nullptr && (type == kVirtual || type == kInterface)) { 205 jit->InvokeVirtualOrInterface(receiver, sf_method, shadow_frame.GetDexPC(), called_method); 211 if (jit != nullptr && sf_method != nullptr) { 212 jit->NotifyInterpreterToCompiledCodeTransition(self, sf_method); 255 if (jit != nullptr) [all...] |
interpreter_switch_impl-inl.h | 32 #include "jit/jit-inl.h" 255 if (jit::Jit::MaybeDoOnStackReplacement(self, 273 jit::Jit* jit = Runtime::Current()->GetJit(); local 274 if (jit != nullptr) { 275 jit->AddSamples(self, shadow_frame.GetMethod(), 1, /*with_backedges=*/ true); [all...] |
interpreter_common.cc | 28 #include "jit/jit.h" 615 jit::Jit* jit = Runtime::Current()->GetJit(); local 616 if (jit != nullptr && caller != nullptr) { 617 jit->NotifyInterpreterToCompiledCodeTransition(self, caller); [all...] |
/art/openjdkjvmti/ |
ti_redefine.cc | 64 #include "jit/jit.h" 65 #include "jit/jit_code_cache.h" 449 // Stop JIT for the duration of this redefine since the JIT might concurrently compile a method we 451 art::jit::ScopedJitSuspend suspend_jit; 640 // Update JIT Data structures to point to the new method. 641 art::jit::Jit* jit = art::Runtime::Current()->GetJit() local 1542 art::jit::Jit* jit = driver_->runtime_->GetJit(); local [all...] |
/art/runtime/entrypoints/quick/ |
quick_trampoline_entrypoints.cc | 40 #include "jit/jit.h" 41 #include "jit/jit_code_cache.h" 1131 jit::Jit* jit = Runtime::Current()->GetJit(); local 2384 jit::Jit* jit = runtime->GetJit(); local [all...] |