/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, MethodVerifier* verifier) { in Create() argument 191 void* memory = verifier->GetScopedAllocator().Alloc(ComputeSize(num_regs)); in Create() 192 return new (memory) RegisterLine(num_regs, verifier); in Create() 195 inline RegisterLine::RegisterLine(size_t num_regs, MethodVerifier* verifier) in RegisterLine() argument 196 : num_regs_(num_regs), in RegisterLine()
|
D | register_line.h | 68 static RegisterLine* Create(size_t num_regs, MethodVerifier* verifier); 208 ALWAYS_INLINE static size_t ComputeSize(size_t num_regs); 412 RegisterLine(size_t num_regs, MethodVerifier* verifier);
|
/art/runtime/gc/space/ |
D | region_space-inl.h | 250 size_t num_regs = RoundUp(num_bytes, kRegionSize) / kRegionSize; in AllocLarge() local 251 DCHECK_GT(num_regs, 0U); in AllocLarge() 252 DCHECK_LT((num_regs - 1) * kRegionSize, num_bytes); in AllocLarge() 253 DCHECK_LE(num_bytes, num_regs * kRegionSize); in AllocLarge() 257 if ((num_non_free_regions_ + num_regs) * 2 > num_regions_) { in AllocLarge() 263 while (left + num_regs - 1 < num_regions_) { in AllocLarge() 266 DCHECK_LT(right, left + num_regs) in AllocLarge() 268 while (right < left + num_regs) { in AllocLarge() 278 DCHECK_EQ(left + num_regs, right); in AllocLarge() 287 size_t allocated = num_regs * kRegionSize; in AllocLarge()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 393 uint16_t num_regs; in EnterInterpreterFromInvoke() local 396 num_regs = accessor.RegistersSize(); in EnterInterpreterFromInvoke() 404 num_regs = num_ins = ArtMethod::NumArgRegisters(method->GetShorty()); in EnterInterpreterFromInvoke() 406 num_regs++; in EnterInterpreterFromInvoke() 413 CREATE_SHADOW_FRAME(num_regs, last_shadow_frame, method, /* dex pc */ 0); in EnterInterpreterFromInvoke() 417 size_t cur_reg = num_regs - num_ins; in EnterInterpreterFromInvoke() 425 for (size_t shorty_pos = 0, arg_pos = 0; cur_reg < num_regs; ++shorty_pos, ++arg_pos, cur_reg++) { in EnterInterpreterFromInvoke()
|
/art/runtime/ |
D | method_handles.cc | 432 uint16_t num_regs; in MethodHandleInvokeMethod() local 436 num_regs = accessor.RegistersSize(); in MethodHandleInvokeMethod() 437 first_dest_reg = num_regs - accessor.InsSize(); in MethodHandleInvokeMethod() 444 num_regs = num_input_regs = GetInsForProxyOrNativeMethod(called_method); in MethodHandleInvokeMethod() 450 CREATE_SHADOW_FRAME(num_regs, &shadow_frame, called_method, /* dex pc */ 0); in MethodHandleInvokeMethod() 1181 uint16_t num_regs; in MethodHandleInvokeExactInternal() local 1185 num_regs = accessor.RegistersSize(); in MethodHandleInvokeExactInternal() 1186 first_dest_reg = num_regs - accessor.InsSize(); in MethodHandleInvokeExactInternal() 1193 num_regs = num_input_regs = GetInsForProxyOrNativeMethod(called_method); in MethodHandleInvokeExactInternal() 1200 CREATE_SHADOW_FRAME(num_regs, &shadow_frame, called_method, /* dex pc */ 0); in MethodHandleInvokeExactInternal()
|
D | stack.cc | 407 const uint16_t num_regs = accessor.RegistersSize(); in SetVReg() local 408 shadow_frame = thread_->FindOrCreateDebuggerShadowFrame(frame_id, num_regs, m, GetDexPc()); in SetVReg() 443 const uint16_t num_regs = accessor.RegistersSize(); in SetVRegPair() local 444 shadow_frame = thread_->FindOrCreateDebuggerShadowFrame(frame_id, num_regs, m, GetDexPc()); in SetVRegPair()
|
D | quick_exception_handler.cc | 364 const size_t num_regs = accessor.RegistersSize(); in VisitFrame() local 366 new_frame = ShadowFrame::CreateDeoptimizedFrame(num_regs, nullptr, method, GetDexPc()); in VisitFrame()
|
D | thread.cc | 3487 size_t num_regs = shadow_frame->NumberOfVRegs(); in VisitShadowFrame() local 3490 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 | 1068 const uint16_t num_regs = method->DexInstructionData().RegistersSize(); in NotifyFramePop() local 1070 num_regs, in NotifyFramePop()
|
/art/oatdump/ |
D | oatdump.cc | 1596 int num_regs = code_item_accessor.RegistersSize() - code_item_accessor.InsSize(); in GetVRegOffsetFromQuickCode() local 1611 } else if (reg < num_regs) { in GetVRegOffsetFromQuickCode() 1612 int locals_start = frame_size - spill_size - num_regs * sizeof(uint32_t); in GetVRegOffsetFromQuickCode() 1616 return frame_size + ((reg - num_regs) * sizeof(uint32_t)) in GetVRegOffsetFromQuickCode()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 799 uint16_t num_regs = accessor.RegistersSize(); in artQuickToInterpreterBridge() local 802 CREATE_SHADOW_FRAME(num_regs, /* link */ nullptr, method, /* dex pc */ 0); in artQuickToInterpreterBridge()
|