/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.cc | 422 uint16_t num_regs; in EnterInterpreterFromInvoke() local 425 num_regs = accessor.RegistersSize(); in EnterInterpreterFromInvoke() 433 num_regs = num_ins = ArtMethod::NumArgRegisters(method->GetShorty()); in EnterInterpreterFromInvoke() 435 num_regs++; in EnterInterpreterFromInvoke() 442 CREATE_SHADOW_FRAME(num_regs, last_shadow_frame, method, /* dex pc */ 0); in EnterInterpreterFromInvoke() 446 size_t cur_reg = num_regs - num_ins; in EnterInterpreterFromInvoke() 454 for (size_t shorty_pos = 0, arg_pos = 0; cur_reg < num_regs; ++shorty_pos, ++arg_pos, cur_reg++) { in EnterInterpreterFromInvoke()
|
D | interpreter_common.cc | 574 const size_t num_regs) REQUIRES_SHARED(Locks::mutator_lock_); 1512 const size_t num_regs) { in CopyRegisters() argument 1514 const size_t dest_reg_bound = first_dest_reg + num_regs; in CopyRegisters() 1520 DCHECK_LE(num_regs, arraysize(arg)); in CopyRegisters() 1522 for (size_t arg_index = 0; arg_index < num_regs; ++arg_index) { in CopyRegisters() 1548 uint16_t num_regs; in DoCallCommon() local 1566 num_regs = number_of_inputs; in DoCallCommon() 1568 num_regs = accessor.RegistersSize(); in DoCallCommon() 1573 num_regs = number_of_inputs; in DoCallCommon() 1590 DCHECK_GT(num_regs, 0u); // As the method is an instance method, there should be at least 1. in DoCallCommon() [all …]
|
D | interpreter_common.h | 246 uint32_t num_regs = accessor.RegistersSize(); in DoInvoke() local 248 DCHECK_GE(num_regs, number_of_inputs); in DoInvoke() 249 size_t first_dest_reg = num_regs - number_of_inputs; in DoInvoke() 251 if (UNLIKELY(!CheckStackOverflow(self, ShadowFrame::ComputeSize(num_regs)))) { in DoInvoke() 262 CREATE_SHADOW_FRAME(num_regs, &shadow_frame, called_method, /* dex pc */ 0); in DoInvoke()
|
/art/runtime/ |
D | method_handles.cc | 434 uint16_t num_regs; in MethodHandleInvokeMethod() local 438 num_regs = accessor.RegistersSize(); in MethodHandleInvokeMethod() 439 first_dest_reg = num_regs - accessor.InsSize(); in MethodHandleInvokeMethod() 446 num_regs = num_input_regs = GetInsForProxyOrNativeMethod(called_method); in MethodHandleInvokeMethod() 452 CREATE_SHADOW_FRAME(num_regs, &shadow_frame, called_method, /* dex pc */ 0); in MethodHandleInvokeMethod() 1183 uint16_t num_regs; in MethodHandleInvokeExactInternal() local 1187 num_regs = accessor.RegistersSize(); in MethodHandleInvokeExactInternal() 1188 first_dest_reg = num_regs - accessor.InsSize(); in MethodHandleInvokeExactInternal() 1195 num_regs = num_input_regs = GetInsForProxyOrNativeMethod(called_method); in MethodHandleInvokeExactInternal() 1202 CREATE_SHADOW_FRAME(num_regs, &shadow_frame, called_method, /* dex pc */ 0); in MethodHandleInvokeExactInternal()
|
D | stack.cc | 388 const uint16_t num_regs = accessor.RegistersSize(); in SetVReg() local 389 shadow_frame = thread_->FindOrCreateDebuggerShadowFrame(frame_id, num_regs, m, GetDexPc()); in SetVReg() 424 const uint16_t num_regs = accessor.RegistersSize(); in SetVRegPair() local 425 shadow_frame = thread_->FindOrCreateDebuggerShadowFrame(frame_id, num_regs, m, GetDexPc()); in SetVRegPair()
|
D | quick_exception_handler.cc | 428 const size_t num_regs = accessor.RegistersSize(); in VisitFrame() local 430 new_frame = ShadowFrame::CreateDeoptimizedFrame(num_regs, nullptr, method, GetDexPc()); in VisitFrame()
|
D | thread.cc | 3707 size_t num_regs = shadow_frame->NumberOfVRegs(); in VisitShadowFrame() local 3710 for (size_t reg = 0; reg < num_regs; ++reg) { in VisitShadowFrame()
|
/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 | 123 const uint16_t num_regs = method->DexInstructionData().RegistersSize(); in GetOrCreateShadowFrame() local 125 num_regs, in GetOrCreateShadowFrame()
|
/art/oatdump/ |
D | oatdump.cc | 1404 int num_regs = code_item_accessor.RegistersSize() - code_item_accessor.InsSize(); in GetVRegOffsetFromQuickCode() local 1419 } else if (reg < num_regs) { in GetVRegOffsetFromQuickCode() 1420 int locals_start = frame_size - spill_size - num_regs * sizeof(uint32_t); in GetVRegOffsetFromQuickCode() 1424 return frame_size + ((reg - num_regs) * sizeof(uint32_t)) in GetVRegOffsetFromQuickCode()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 763 uint16_t num_regs = accessor.RegistersSize(); in artQuickToInterpreterBridge() local 766 CREATE_SHADOW_FRAME(num_regs, /* link= */ nullptr, method, /* dex_pc= */ 0); in artQuickToInterpreterBridge()
|