Home
last modified time | relevance | path

Searched refs:num_regs (Results 1 – 13 of 13) sorted by relevance

/art/runtime/
Dnterp_helpers.cc97 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()
Dmethod_handles.cc436 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()
Dquick_exception_handler.cc381 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()
Dstack.cc480 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/
Dregister_line-inl.h186 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()
Dregister_line.h77 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/
Dinterpreter_common.cc253 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 …]
Dinterpreter.cc438 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()
Dinterpreter_common.h344 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/
Dregister_allocator_graph_color.cc436 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/
Dti_stack.cc140 const uint16_t num_regs = method->DexInstructionData().RegistersSize(); in GetOrCreateShadowFrame() local
142 num_regs, in GetOrCreateShadowFrame()
/art/oatdump/
Doatdump.cc1403 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/
Dquick_trampoline_entrypoints.cc679 uint16_t num_regs = accessor.RegistersSize(); in artQuickToInterpreterBridge() local
682 CREATE_SHADOW_FRAME(num_regs, /* link= */ nullptr, method, /* dex_pc= */ 0); in artQuickToInterpreterBridge()