/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()); 36 jit::Jit* jit = Runtime::Current()->GetJit() local 43 jit::Jit* jit = Runtime::Current()->GetJit(); local [all...] |
/art/runtime/jit/ |
jit.cc | 17 #include "jit.h" 43 namespace jit { namespace in namespace:art 46 // At what priority to schedule jit threads. 9 is the lowest foreground priority on device. 54 // JIT compiler 55 void* Jit::jit_library_handle_= nullptr; 56 void* Jit::jit_compiler_handle_ = nullptr; 57 void* (*Jit::jit_load_)(bool*) = nullptr; 58 void (*Jit::jit_unload_)(void*) = nullptr; 59 bool (*Jit::jit_compile_method_)(void*, ArtMethod*, Thread*, bool) = nullptr; 60 void (*Jit::jit_types_loaded_)(void*, mirror::Class**, size_t count) = nullptr 400 jit::Jit* jit = Runtime::Current()->GetJit(); local 441 Jit* jit = Runtime::Current()->GetJit(); local 759 jit::Jit* jit = Runtime::Current()->GetJit(); local [all...] |
jit.h | 24 #include "jit/profile_saver_options.h" 41 namespace jit { namespace in namespace:art 49 class Jit { 56 virtual ~Jit(); 57 static Jit* Create(JitOptions* options, std::string* error_msg); 145 // into the specified class linker to the jit debug interface, 148 // Return whether we should try to JIT compiled code as soon as an ArtMethod is invoked. 151 // Return whether we can invoke JIT code for `method`. 174 // Stop the JIT by waiting for all current compilations and enqueued compilations to finish. 177 // Start JIT threads [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" 31 jit::Jit* jit = Runtime::Current()->GetJit(); local 32 jit::JitCodeCache* code_cache = jit->GetCodeCache(); 46 jit->CompileMethod(method, soa.Self(), /* osr */ false) 63 jit::Jit* jit = Runtime::Current()->GetJit(); local 74 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/common/ |
runtime_state.cc | 24 #include "jit/jit.h" 25 #include "jit/jit_code_cache.h" 26 #include "jit/profiling_info.h" 38 static jit::Jit* GetJitIfEnabled() { 101 // Could be JIT, which also uses optimizing, but conservatively say no. 158 jit::Jit* jit = GetJitIfEnabled() local 175 jit::Jit* jit = GetJitIfEnabled(); local 233 jit::Jit* jit = Runtime::Current()->GetJit(); local 258 jit::Jit* jit = GetJitIfEnabled(); local [all...] |
/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" 63 jit::Jit* jit = Runtime::Current()->GetJit(); local 64 if (jit == nullptr) { 65 // Just return true for non-jit configurations to stop the infinite loop. 80 // The return value is irrelevant if we're not using JIT 136 jit::Jit* jit = Runtime::Current()->GetJit(); local [all...] |
/art/runtime/interpreter/mterp/ |
mterp.cc | 279 jit::Jit* jit = Runtime::Current()->GetJit(); local 280 if (jit != nullptr) { 281 jit->InvokeVirtualOrInterface( 283 jit->AddSamples(self, shadow_frame->GetMethod(), 1, /*with_backedges*/false); 904 jit::Jit* jit = Runtime::Current()->GetJit(); local 942 jit::Jit* jit = Runtime::Current()->GetJit(); local 966 jit::Jit* jit = Runtime::Current()->GetJit(); local [all...] |
/art/runtime/interpreter/ |
interpreter_common.h | 43 #include "jit/jit.h" 116 // mterp. Access checks and instrumentation other than jit profiling are not supported, but does 143 jit::Jit* jit = Runtime::Current()->GetJit(); local 144 if (jit != nullptr) { 146 jit->InvokeVirtualOrInterface(receiver, sf_method, shadow_frame.GetDexPC(), called_method); 148 jit->AddSamples(self, sf_method, 1, /*with_backedges*/false); 184 jit::Jit* jit = Runtime::Current()->GetJit() local 254 jit::Jit* jit = Runtime::Current()->GetJit(); local [all...] |
interpreter.cc | 25 #include "jit/jit.h" 26 #include "jit/jit_code_cache.h" 267 jit::Jit* jit = Runtime::Current()->GetJit(); local 268 if (jit != nullptr) { 269 jit->MethodEntered(self, shadow_frame.GetMethod()); 270 if (jit->CanInvokeCompiledCode(method)) { 276 // It's ok to access the code item here since JIT code will have been touched by th 595 jit::Jit* jit = Runtime::Current()->GetJit(); local [all...] |
interpreter_common.cc | 24 #include "jit/jit.h" 512 jit::Jit* jit = Runtime::Current()->GetJit(); local 513 if (jit != nullptr && caller != nullptr) { 514 jit->NotifyInterpreterToCompiledCodeTransition(self, caller); [all...] |
interpreter_switch_impl.cc | 22 #include "jit/jit.h" 90 if (jit::Jit::MaybeDoOnStackReplacement(self, method, dex_pc, offset, &result)) { \ 101 if (jit != nullptr) { \ 102 jit->AddSamples(self, method, 1, /*with_backedges*/ true); \ 170 jit::Jit* jit = Runtime::Current()->GetJit(); local [all...] |
/art/runtime/ |
runtime.h | 50 namespace jit { namespace in namespace:art 51 class Jit; 53 } // namespace jit 120 // IsCompiler is any runtime which has a running compiler, either dex2oat or JIT. 433 jit::Jit* GetJit() const { 437 // Returns true if JIT compilations are enabled. GetJit() will be not null in this case. 542 // Create the JIT and instrumentation and code cache. 561 jit::JitOptions* GetJITOptions() { 795 std::unique_ptr<jit::Jit> jit_ [all...] |
art_method.cc | 34 #include "jit/jit.h" 35 #include "jit/jit_code_cache.h" 36 #include "jit/profiling_info.h" 331 // Invocation by the interpreter, explicitly forcing interpretation over JIT to prevent 332 // cycling around the various JIT/Interpreter methods that handle method invocation. 640 // Check whether the pc is in the JIT code cache. 641 jit::Jit* jit = runtime->GetJit() local 718 jit::Jit* jit = runtime->GetJit(); local [all...] |
runtime.cc | 86 #include "jit/jit.h" 87 #include "jit/jit_code_cache.h" 88 #include "jit/profile_saver.h" 344 ScopedTrace trace2("Delete jit"); 345 VLOG(jit) << "Deleting jit thread pool"; 347 // JIT compiler threads. 374 // Delete the JIT after thread list to ensure that there is no remaining threads which could be 377 VLOG(jit) << "Deleting jit" [all...] |
class_linker.cc | 72 #include "jit/jit.h" 73 #include "jit/jit_code_cache.h" 74 #include "jit/profile_compilation_info.h" 3097 jit::Jit* jit = Runtime::Current()->GetJit(); local [all...] |
/art/runtime/openjdkjvmti/ |
ti_redefine.cc | 57 #include "jit/jit.h" 58 #include "jit/jit_code_cache.h" 197 // Update JIT Data structures to point to the new method. 198 art::jit::Jit* jit = art::Runtime::Current()->GetJit(); local 199 if (jit != nullptr) { 200 // Notify the JIT we are making this obsolete method. It will update the jit's interna 1403 art::jit::Jit* jit = driver_->runtime_->GetJit(); local [all...] |