/art/runtime/ |
D | nterp_helpers.cc | 97 const uint16_t num_regs = accessor.RegistersSize(); in NterpGetFrameSize() local 102 (num_regs * kVRegSize) * 2 + // dex registers and reference registers in NterpGetFrameSize() 120 const uint16_t num_regs = accessor.RegistersSize(); in NterpGetRegistersArray() local 122 return NterpGetReferenceArray(frame) + (num_regs * kVRegSize); in NterpGetRegistersArray()
|
D | method_handles.cc | 436 uint16_t num_regs; in MethodHandleInvokeMethod() local 440 num_regs = accessor.RegistersSize(); in MethodHandleInvokeMethod() 441 first_dest_reg = num_regs - accessor.InsSize(); in MethodHandleInvokeMethod() 448 num_regs = num_input_regs = GetInsForProxyOrNativeMethod(called_method); in MethodHandleInvokeMethod() 454 CREATE_SHADOW_FRAME(num_regs, &shadow_frame, called_method, /* dex pc */ 0); in MethodHandleInvokeMethod() 1199 uint16_t num_regs; in MethodHandleInvokeExactInternal() local 1203 num_regs = accessor.RegistersSize(); in MethodHandleInvokeExactInternal() 1204 first_dest_reg = num_regs - accessor.InsSize(); in MethodHandleInvokeExactInternal() 1211 num_regs = num_input_regs = GetInsForProxyOrNativeMethod(called_method); in MethodHandleInvokeExactInternal() 1218 CREATE_SHADOW_FRAME(num_regs, &shadow_frame, called_method, /* dex pc */ 0); in MethodHandleInvokeExactInternal()
|
D | quick_exception_handler.cc | 381 const size_t num_regs = accessor.RegistersSize(); in VisitFrame() local 383 new_frame = ShadowFrame::CreateDeoptimizedFrame(num_regs, nullptr, method, GetDexPc()); in VisitFrame() 433 const uint16_t num_regs = accessor.RegistersSize(); in HandleNterpDeoptimization() local 437 for (size_t reg = 0; reg < num_regs; ++reg) { in HandleNterpDeoptimization()
|
D | stack.cc | 480 const uint16_t num_regs = accessor.RegistersSize(); in PrepareSetVReg() local 481 shadow_frame = thread_->FindOrCreateDebuggerShadowFrame(frame_id, num_regs, m, GetDexPc()); in PrepareSetVReg()
|
/art/runtime/verifier/ |
D | register_line-inl.h | 186 inline size_t RegisterLine::ComputeSize(size_t num_regs) { in ComputeSize() argument 187 return OFFSETOF_MEMBER(RegisterLine, line_) + num_regs * sizeof(uint16_t); in ComputeSize() 190 inline RegisterLine* RegisterLine::Create(size_t num_regs, in Create() argument 193 void* memory = allocator.Alloc(ComputeSize(num_regs)); in Create() 194 return new (memory) RegisterLine(num_regs, allocator, reg_types); in Create() 197 inline RegisterLine::RegisterLine(size_t num_regs, in RegisterLine() argument 200 : num_regs_(num_regs), in RegisterLine()
|
D | register_line.h | 77 static RegisterLine* Create(size_t num_regs, 219 ALWAYS_INLINE static size_t ComputeSize(size_t num_regs); 423 RegisterLine(size_t num_regs, ScopedArenaAllocator& allocator, RegTypeCache* reg_types);
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 253 const size_t num_regs) REQUIRES_SHARED(Locks::mutator_lock_); 1191 const size_t num_regs) { in CopyRegisters() argument 1193 const size_t dest_reg_bound = first_dest_reg + num_regs; in CopyRegisters() 1199 DCHECK_LE(num_regs, arraysize(arg)); in CopyRegisters() 1201 for (size_t arg_index = 0; arg_index < num_regs; ++arg_index) { in CopyRegisters() 1227 uint16_t num_regs; in DoCallCommon() local 1245 num_regs = number_of_inputs; in DoCallCommon() 1247 num_regs = accessor.RegistersSize(); in DoCallCommon() 1252 num_regs = number_of_inputs; in DoCallCommon() 1269 DCHECK_GT(num_regs, 0u); // As the method is an instance method, there should be at least 1. in DoCallCommon() [all …]
|
D | interpreter.cc | 438 uint16_t num_regs; in EnterInterpreterFromInvoke() local 441 num_regs = accessor.RegistersSize(); in EnterInterpreterFromInvoke() 449 num_regs = num_ins = ArtMethod::NumArgRegisters(method->GetShorty()); in EnterInterpreterFromInvoke() 451 num_regs++; in EnterInterpreterFromInvoke() 458 CREATE_SHADOW_FRAME(num_regs, last_shadow_frame, method, /* dex pc */ 0); in EnterInterpreterFromInvoke() 462 size_t cur_reg = num_regs - num_ins; in EnterInterpreterFromInvoke() 470 for (size_t shorty_pos = 0, arg_pos = 0; cur_reg < num_regs; ++shorty_pos, ++arg_pos, cur_reg++) { in EnterInterpreterFromInvoke()
|
D | interpreter_common.h | 344 uint32_t num_regs = accessor.RegistersSize(); in DoInvoke() local 346 DCHECK_GE(num_regs, number_of_inputs); in DoInvoke() 347 size_t first_dest_reg = num_regs - number_of_inputs; in DoInvoke() 349 if (UNLIKELY(!CheckStackOverflow(self, ShadowFrame::ComputeSize(num_regs)))) { in DoInvoke() 360 CREATE_SHADOW_FRAME(num_regs, &shadow_frame, called_method, /* dex pc */ 0); in DoInvoke()
|
/art/compiler/optimizing/ |
D | register_allocator_graph_color.cc | 436 size_t num_regs) in ColoringIteration() argument 440 num_regs_(num_regs), in ColoringIteration() 1453 static bool IsLowDegreeNode(InterferenceNode* node, size_t num_regs) { in IsLowDegreeNode() argument 1454 return node->GetOutDegree() < num_regs; in IsLowDegreeNode() 1457 static bool IsHighDegreeNode(InterferenceNode* node, size_t num_regs) { in IsHighDegreeNode() argument 1458 return !IsLowDegreeNode(node, num_regs); in IsHighDegreeNode()
|
/art/openjdkjvmti/ |
D | ti_stack.cc | 140 const uint16_t num_regs = method->DexInstructionData().RegistersSize(); in GetOrCreateShadowFrame() local 142 num_regs, in GetOrCreateShadowFrame()
|
/art/oatdump/ |
D | oatdump.cc | 1403 int num_regs = code_item_accessor.RegistersSize() - code_item_accessor.InsSize(); in GetVRegOffsetFromQuickCode() local 1418 } else if (reg < num_regs) { in GetVRegOffsetFromQuickCode() 1419 int locals_start = frame_size - spill_size - num_regs * sizeof(uint32_t); in GetVRegOffsetFromQuickCode() 1423 return frame_size + ((reg - num_regs) * sizeof(uint32_t)) in GetVRegOffsetFromQuickCode()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 679 uint16_t num_regs = accessor.RegistersSize(); in artQuickToInterpreterBridge() local 682 CREATE_SHADOW_FRAME(num_regs, /* link= */ nullptr, method, /* dex_pc= */ 0); in artQuickToInterpreterBridge()
|