Home
last modified time | relevance | path

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

/art/runtime/entrypoints/portable/
Dportable_thread_entrypoints.cc33 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()
Dportable_trampoline_entrypoints.cc201 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/
Dregister_line.h53 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/
Dralloc_util.cc354 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 …]
Dcodegen_util.cc277 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()
Dmir_to_lir.h810 void CountRefs(RefCounts* core_counts, RefCounts* fp_counts, size_t num_regs);
/art/runtime/interpreter/
Dinterpreter.cc408 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()
Dinterpreter_common.cc529 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/
Dcompiler_ir.h77 uint16_t num_regs; // Unlike num_dalvik_registers, does not include ins. member
Dssa_transformation.cc174 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()
Dvreg_analysis.cc462 int num_regs = cu_->num_dalvik_registers; in InitRegLocations() local
467 int s_reg = num_regs - num_ins; in InitRegLocations()
Dfrontend.cc500 num_regs(0), in CompilationUnit()
Dmir_graph.h915 return (vreg >= cu_->num_regs); in IsInVReg()
Dmir_graph.cc695 cu_->num_regs = current_code_item_->registers_size_ - cu_->num_ins; in InlineMethod()
/art/runtime/
Dquick_exception_handler.cc204 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()
Dstack.h666 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()
Dthread.cc2023 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/
Doatdump.cc716 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/
Dmir_to_gbc.cc1540 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/
Dquick_trampoline_entrypoints.cc479 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()