/art/runtime/verifier/ |
D | register_line-inl.h | 168 inline size_t RegisterLine::ComputeSize(size_t num_regs) { in ComputeSize() argument 169 return OFFSETOF_MEMBER(RegisterLine, line_) + num_regs * sizeof(uint16_t); in ComputeSize() 172 inline RegisterLine* RegisterLine::Create(size_t num_regs, in Create() argument 175 void* memory = allocator.Alloc(ComputeSize(num_regs)); in Create() 176 return new (memory) RegisterLine(num_regs, allocator, reg_types); in Create() 179 inline RegisterLine::RegisterLine(size_t num_regs, in RegisterLine() argument 182 : num_regs_(num_regs), in RegisterLine()
|
D | register_line.h | 78 static RegisterLine* Create(size_t num_regs, 217 ALWAYS_INLINE static size_t ComputeSize(size_t num_regs); 421 RegisterLine(size_t num_regs, ScopedArenaAllocator& allocator, RegTypeCache* reg_types);
|
/art/runtime/ |
D | nterp_helpers.cc | 156 const uint16_t num_regs = accessor.RegistersSize(); in NterpGetFrameSizeWithoutPadding() local 165 (num_regs * kVRegSize) * 2 + // dex registers and reference registers in NterpGetFrameSizeWithoutPadding() 189 const uint16_t num_regs = accessor.RegistersSize(); in NterpGetRegistersArray() local 191 return NterpGetReferenceArray(frame) + (num_regs * kVRegSize); in NterpGetRegistersArray()
|
D | quick_exception_handler.cc | 494 const size_t num_regs = accessor.RegistersSize(); in VisitFrame() local 496 new_frame = ShadowFrame::CreateDeoptimizedFrame(num_regs, method, GetDexPc()); in VisitFrame() 564 const uint16_t num_regs = accessor.RegistersSize(); in HandleNterpDeoptimization() local 568 for (size_t reg = 0; reg < num_regs; ++reg) { in HandleNterpDeoptimization()
|
D | method_handles.cc | 769 uint16_t num_regs; in DoMethodHandleInvokeMethod() local 772 num_regs = accessor.RegistersSize(); in DoMethodHandleInvokeMethod() 773 first_dest_reg = num_regs - accessor.InsSize(); in DoMethodHandleInvokeMethod() 779 num_regs = GetInsForProxyOrNativeMethod(called_method); in DoMethodHandleInvokeMethod() 785 CREATE_SHADOW_FRAME(num_regs, called_method, /* dex pc */ 0); in DoMethodHandleInvokeMethod()
|
D | stack.cc | 489 const uint16_t num_regs = accessor.RegistersSize(); in PrepareSetVReg() local 490 shadow_frame = thread_->FindOrCreateDebuggerShadowFrame(frame_id, num_regs, m, GetDexPc()); in PrepareSetVReg()
|
D | thread.cc | 4087 size_t num_regs = shadow_frame->NumberOfVRegs(); in VisitShadowFrame() local 4089 for (size_t reg = 0; reg < num_regs; ++reg) { in VisitShadowFrame() 4155 const uint16_t num_regs = accessor.RegistersSize(); in VisitNterpFrame() local 4159 for (size_t reg = 0; reg < num_regs; ++reg) { in VisitNterpFrame()
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 236 const size_t num_regs) REQUIRES_SHARED(Locks::mutator_lock_); 1204 const size_t num_regs) { in CopyRegisters() argument 1206 const size_t dest_reg_bound = first_dest_reg + num_regs; in CopyRegisters() 1212 DCHECK_LE(num_regs, arraysize(arg)); in CopyRegisters() 1214 for (size_t arg_index = 0; arg_index < num_regs; ++arg_index) { in CopyRegisters() 1232 uint16_t num_regs; in DoCallCommon() local 1244 num_regs = number_of_inputs; in DoCallCommon() 1246 num_regs = accessor.RegistersSize(); in DoCallCommon() 1251 num_regs = number_of_inputs; in DoCallCommon() 1268 DCHECK_GT(num_regs, 0u); // As the method is an instance method, there should be at least 1. in DoCallCommon() [all …]
|
D | interpreter.cc | 370 uint16_t num_regs; in EnterInterpreterFromInvoke() local 373 num_regs = accessor.RegistersSize(); in EnterInterpreterFromInvoke() 381 num_regs = num_ins = ArtMethod::NumArgRegisters(method->GetShortyView()); in EnterInterpreterFromInvoke() 383 num_regs++; in EnterInterpreterFromInvoke() 389 CREATE_SHADOW_FRAME(num_regs, method, /* dex pc */ 0); in EnterInterpreterFromInvoke() 392 size_t cur_reg = num_regs - num_ins; in EnterInterpreterFromInvoke() 400 for (size_t shorty_pos = 0, arg_pos = 0; cur_reg < num_regs; ++shorty_pos, ++arg_pos, cur_reg++) { in EnterInterpreterFromInvoke()
|
/art/openjdkjvmti/ |
D | ti_stack.cc | 138 const uint16_t num_regs = method->DexInstructionData().RegistersSize(); in GetOrCreateShadowFrame() local 140 num_regs, in GetOrCreateShadowFrame()
|
/art/oatdump/ |
D | oatdump.cc | 1406 int num_regs = code_item_accessor.RegistersSize() - code_item_accessor.InsSize(); in GetVRegOffsetFromQuickCode() local 1421 } else if (reg < num_regs) { in GetVRegOffsetFromQuickCode() 1422 int locals_start = frame_size - spill_size - num_regs * sizeof(uint32_t); in GetVRegOffsetFromQuickCode() 1426 return frame_size + ((reg - num_regs) * sizeof(uint32_t)) in GetVRegOffsetFromQuickCode()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 723 uint16_t num_regs = accessor.RegistersSize(); in artQuickToInterpreterBridge() local 726 CREATE_SHADOW_FRAME(num_regs, method, /* dex_pc= */ 0); in artQuickToInterpreterBridge()
|