/art/runtime/entrypoints/portable/ |
D | portable_thread_entrypoints.cc | 33 size_t num_regs = cur_frame->NumberOfVRegs(); in VisitFrame() local 36 ShadowFrame* new_frame = ShadowFrame::Create(num_regs, NULL, method, dex_pc); in VisitFrame() 41 for (size_t reg = 0; reg < num_regs; ++reg) { in VisitFrame()
|
D | portable_trampoline_entrypoints.cc | 201 uint16_t num_regs = code_item->registers_size_; in artPortableToInterpreterBridge() local 202 void* memory = alloca(ShadowFrame::ComputeSize(num_regs)); in artPortableToInterpreterBridge() 203 …ShadowFrame* shadow_frame(ShadowFrame::Create(num_regs, NULL, // No last shadow coming from quick. in artPortableToInterpreterBridge()
|
/art/runtime/verifier/ |
D | register_line.h | 53 static RegisterLine* Create(size_t num_regs, MethodVerifier* verifier) { in Create() argument 54 void* memory = operator new(sizeof(RegisterLine) + (num_regs * sizeof(uint16_t))); in Create() 55 RegisterLine* rl = new (memory) RegisterLine(num_regs, verifier); in Create() 339 RegisterLine(size_t num_regs, MethodVerifier* verifier) in RegisterLine() argument 340 : verifier_(verifier), num_regs_(num_regs) { in RegisterLine()
|
/art/compiler/dex/quick/ |
D | ralloc_util.cc | 354 int num_regs = regs.Size(); in AllocTempBody() local 356 for (int i = 0; i< num_regs; i++) { in AllocTempBody() 357 if (next >= num_regs) in AllocTempBody() 382 for (int i = 0; i< num_regs; i++) { in AllocTempBody() 383 if (next >= num_regs) in AllocTempBody() 1151 void Mir2Lir::CountRefs(RefCounts* core_counts, RefCounts* fp_counts, size_t num_regs) { in CountRefs() argument 1164 counts[p_map_idx + num_regs].count += use_count; in CountRefs() 1211 int num_regs = dalvik_regs + mir_graph_->GetNumUsedCompilerTemps(); in DoPromotion() local 1215 (arena_->Alloc(num_regs * sizeof(promotion_map_[0]), kArenaAllocRegAlloc)); in DoPromotion() 1231 size_t core_reg_count_size = WideGPRsAreAliases() ? num_regs : num_regs * 2; in DoPromotion() [all …]
|
D | codegen_util.cc | 277 int num_regs = cu_->num_dalvik_registers + mir_graph_->GetNumUsedCompilerTemps(); in DumpPromotionMap() local 278 for (int i = 0; i < num_regs; i++) { in DumpPromotionMap() 322 LOG(INFO) << "Regs (excluding ins) : " << cu_->num_regs; in CodegenDump() 1107 + (cu_->num_regs + cu_->num_outs) * sizeof(uint32_t) in ComputeFrameSize()
|
D | mir_to_lir.h | 810 void CountRefs(RefCounts* core_counts, RefCounts* fp_counts, size_t num_regs);
|
/art/runtime/interpreter/ |
D | interpreter.cc | 408 uint16_t num_regs; in EnterInterpreterFromInvoke() local 411 num_regs = code_item->registers_size_; in EnterInterpreterFromInvoke() 419 num_regs = num_ins = ArtMethod::NumArgRegisters(method->GetShorty()); in EnterInterpreterFromInvoke() 421 num_regs++; in EnterInterpreterFromInvoke() 427 void* memory = alloca(ShadowFrame::ComputeSize(num_regs)); in EnterInterpreterFromInvoke() 428 ShadowFrame* shadow_frame(ShadowFrame::Create(num_regs, last_shadow_frame, method, 0, memory)); in EnterInterpreterFromInvoke() 431 size_t cur_reg = num_regs - num_ins; in EnterInterpreterFromInvoke() 439 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 | 529 uint16_t num_regs; in DoCall() local 531 num_regs = code_item->registers_size_; in DoCall() 535 num_regs = num_ins; in DoCall() 540 void* memory = alloca(ShadowFrame::ComputeSize(num_regs)); in DoCall() 541 ShadowFrame* new_shadow_frame(ShadowFrame::Create(num_regs, &shadow_frame, method, 0, memory)); in DoCall() 544 const size_t first_dest_reg = num_regs - num_ins; in DoCall() 578 for (uint32_t shorty_pos = 0; dest_reg < num_regs; ++shorty_pos, ++dest_reg, ++arg_offset) { in DoCall() 624 for (size_t src_reg = first_src_reg, dest_reg = first_dest_reg; dest_reg < num_regs; in DoCall()
|
/art/compiler/dex/ |
D | compiler_ir.h | 77 uint16_t num_regs; // Unlike num_dalvik_registers, does not include ins. member
|
D | ssa_transformation.cc | 174 int num_regs = cu_->num_dalvik_registers; in ComputeDefBlockMatrix() local 175 int in_reg = num_regs - cu_->num_ins; in ComputeDefBlockMatrix() 176 for (; in_reg < num_regs; in_reg++) { in ComputeDefBlockMatrix()
|
D | vreg_analysis.cc | 462 int num_regs = cu_->num_dalvik_registers; in InitRegLocations() local 467 int s_reg = num_regs - num_ins; in InitRegLocations()
|
D | frontend.cc | 500 num_regs(0), in CompilationUnit()
|
D | mir_graph.h | 915 return (vreg >= cu_->num_regs); in IsInVReg()
|
D | mir_graph.cc | 695 cu_->num_regs = current_code_item_->registers_size_ - cu_->num_ins; in InlineMethod()
|
/art/runtime/ |
D | quick_exception_handler.cc | 204 uint16_t num_regs = code_item->registers_size_; in HandleDeoptimization() local 208 ShadowFrame* new_frame = ShadowFrame::Create(num_regs, nullptr, m, new_dex_pc); in HandleDeoptimization() 218 for (uint16_t reg = 0; reg < num_regs; ++reg) { in HandleDeoptimization()
|
D | stack.h | 666 int num_regs = code_item->registers_size_ - num_ins; in GetVRegOffset() local 667 int locals_start = frame_size - spill_size - num_regs * sizeof(uint32_t); in GetVRegOffset() 683 } else if (reg < num_regs) { in GetVRegOffset() 687 return frame_size + ((reg - num_regs) * sizeof(uint32_t)) + in GetVRegOffset()
|
D | thread.cc | 2023 size_t num_regs = shadow_frame->NumberOfVRegs(); in VisitShadowFrame() local 2026 for (size_t reg = 0; reg < num_regs; ++reg) { in VisitShadowFrame() 2045 num_regs = std::min(dex_gc_map.RegWidth() * 8, num_regs); in VisitShadowFrame() 2046 for (size_t reg = 0; reg < num_regs; ++reg) { in VisitShadowFrame() 2078 size_t num_regs = std::min(map.RegWidth() * 8, in VisitQuickFrame() local 2080 if (num_regs > 0) { in VisitQuickFrame() 2092 for (size_t reg = 0; reg < num_regs; ++reg) { in VisitQuickFrame()
|
/art/oatdump/ |
D | oatdump.cc | 716 size_t num_regs, const uint8_t* reg_bitmap) { in DumpGcMapRegisters() argument 718 for (size_t reg = 0; reg < num_regs; reg++) { in DumpGcMapRegisters() 822 size_t num_regs = map.RegWidth() * 8; in DumpGcMapAtNativePcOffset() local 825 for (size_t reg = 0; reg < num_regs; reg++) { in DumpGcMapAtNativePcOffset()
|
/art/compiler/dex/portable/ |
D | mir_to_gbc.cc | 1540 reg_info.push_back(irb_->getInt32(cu_->num_regs)); in SetMethodInfo() 1677 uint16_t arg_reg = cu_->num_regs; in BlockBitcodeConversion() 1846 int start_sreg = cu_->num_regs; in CreateFunction() 1912 } else if ((i < cu_->num_regs) || in MethodMIR2Bitcode() 1913 (i >= (cu_->num_regs + cu_->num_ins))) { in MethodMIR2Bitcode()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 479 uint16_t num_regs = code_item->registers_size_; in artQuickToInterpreterBridge() local 480 void* memory = alloca(ShadowFrame::ComputeSize(num_regs)); in artQuickToInterpreterBridge() 482 ShadowFrame* shadow_frame(ShadowFrame::Create(num_regs, nullptr, method, 0, memory)); in artQuickToInterpreterBridge()
|