Searched refs:v_reg (Results 1 - 15 of 15) sorted by relevance

/art/compiler/dex/
H A Dgvn_dead_code_elimination.cc36 inline uint16_t GvnDeadCodeElimination::MIRData::PrevChange(int v_reg) const {
38 DCHECK(v_reg == vreg_def || v_reg == vreg_def + 1);
39 return (v_reg == vreg_def) ? prev_value.change : prev_value_high.change;
42 inline void GvnDeadCodeElimination::MIRData::SetPrevChange(int v_reg, uint16_t change) { argument
44 DCHECK(v_reg == vreg_def || v_reg == vreg_def + 1);
45 if (v_reg == vreg_def) {
52 inline void GvnDeadCodeElimination::MIRData::RemovePrevChange(int v_reg, MIRData* prev_data) { argument
53 DCHECK_NE(PrevChange(v_reg), kNPo
90 AddMIRWithDef(MIR* mir, int v_reg, bool wide, uint16_t new_value) argument
179 InsertInitialValueHigh(int v_reg, uint16_t value) argument
210 UpdateInitialVRegValue(int v_reg, bool wide, const LocalValueNumbering* lvn) argument
258 LastChange(int v_reg) argument
263 CurrentValue(int v_reg) argument
268 FindKillHead(int v_reg, uint16_t cutoff) argument
298 FindFirstChangeAfter(int v_reg, uint16_t change) const argument
375 IsVRegUsed(uint16_t first_change, uint16_t last_change, int v_reg, MIRGraph* mir_graph) const argument
522 int v_reg = mir_graph_->SRegToVReg(s_reg); local
630 int v_reg = mir_graph_->SRegToVReg(data->mir->ssa_rep->uses[i]); local
1055 int v_reg = mir_graph_->SRegToVReg(s_reg); local
1444 int v_reg = mir_graph_->SRegToVReg(s_reg); local
[all...]
H A Dgvn_dead_code_elimination.h69 uint16_t PrevChange(int v_reg) const;
70 void SetPrevChange(int v_reg, uint16_t change);
71 void RemovePrevChange(int v_reg, MIRData* prev_data);
93 void AddMIRWithDef(MIR* mir, int v_reg, bool wide, uint16_t new_value);
103 void InsertInitialValueHigh(int v_reg, uint16_t value);
104 void UpdateInitialVRegValue(int v_reg, bool wide, const LocalValueNumbering* lvn);
105 uint16_t LastChange(int v_reg);
106 uint16_t CurrentValue(int v_reg);
108 uint16_t FindKillHead(int v_reg, uint16_t cutoff);
109 uint16_t FindFirstChangeAfter(int v_reg, uint16_
[all...]
H A Dlocal_value_numbering.h66 uint16_t GetStartingVregValueNumber(int v_reg) const {
67 return GetStartingVregValueNumberImpl(v_reg, false);
71 uint16_t GetStartingVregValueNumberWide(int v_reg) const {
72 return GetStartingVregValueNumberImpl(v_reg, true);
94 uint16_t GetEndingVregValueNumberImpl(int v_reg, bool wide) const;
95 uint16_t GetStartingVregValueNumberImpl(int v_reg, bool wide) const;
H A Dtype_inference.cc213 int v_reg = mir_graph_->SRegToVReg(s_reg); local
219 if (IsSRegLiveAtStart(phi_bb, v_reg, s_reg)) {
238 if (IsSRegLiveAtStart(bb, v_reg, s_reg)) {
337 int v_reg = mir_graph_->SRegToVReg(s_reg); local
347 if (pred_bb->data_flow_info->vreg_to_ssa_map_exit[v_reg] != s_reg) {
373 bool TypeInference::CheckCastData::IsSRegLiveAtStart(BasicBlock* bb, int v_reg, int32_t s_reg) { argument
374 DCHECK_EQ(v_reg, mir_graph_->SRegToVReg(s_reg));
378 if (!bb->data_flow_info->live_in_v->IsBitSet(v_reg)) {
386 if (pred_bb->data_flow_info->vreg_to_ssa_map_exit[v_reg] != s_reg) {
H A Dmir_optimization.cc317 compiler_temp->v_reg = GetFirstSpecialTempVR();
342 // The new non-special compiler temp must receive a unique v_reg.
343 compiler_temp->v_reg = GetFirstNonSpecialTempVR() + num_non_special_compiler_temps_;
361 // The new non-special compiler temp must receive a unique v_reg.
362 compiler_temp->v_reg = GetFirstNonSpecialTempVR() + num_non_special_compiler_temps_;
371 compiler_temp->s_reg_low = AddNewSReg(compiler_temp->v_reg);
375 << compiler_temp->v_reg << " and s" << compiler_temp->s_reg_low << " has been created.";
385 int ssa_reg_high = AddNewSReg(compiler_temp->v_reg + 1);
390 << compiler_temp->v_reg + 1 << " and s" << ssa_reg_high << ".";
437 DCHECK_EQ(static_cast<size_t>(temp->v_reg),
[all...]
H A Dssa_transformation.cc513 int v_reg = SRegToVReg(ssa_reg); local
525 uses[idx] = pred_bb->data_flow_info->vreg_to_ssa_map_exit[v_reg];
H A Dgvn_dead_code_elimination_test.cc239 int v_reg = cu_.mir_graph->SRegToVReg(s_reg); local
240 CHECK_LT(static_cast<size_t>(v_reg), num_vregs_);
242 CHECK_LT(static_cast<size_t>(v_reg + 1), num_vregs_);
244 return v_reg;
248 int v_reg = SRegToVReg(uses[*use], wide); local
255 return v_reg;
401 for (size_t v_reg = 0; v_reg != num_vregs_; ++v_reg) {
402 if (bb->data_flow_info->vreg_to_ssa_map_exit[v_reg]
[all...]
H A Dlocal_value_numbering.cc1984 uint16_t LocalValueNumbering::GetEndingVregValueNumberImpl(int v_reg, bool wide) const { argument
1987 int s_reg = bb->data_flow_info->vreg_to_ssa_map_exit[v_reg];
1995 int high_s_reg = bb->data_flow_info->vreg_to_ssa_map_exit[v_reg + 1];
2005 uint16_t LocalValueNumbering::GetStartingVregValueNumberImpl(int v_reg, bool wide) const { argument
2012 return gvn_->GetLvn(bb->predecessors[0])->GetEndingVregValueNumberImpl(v_reg, wide);
2018 value_name = gvn_->GetLvn(pred_id)->GetEndingVregValueNumberImpl(v_reg, wide);
H A Dmir_dataflow.cc1045 int MIRGraph::AddNewSReg(int v_reg) { argument
1046 int subscript = ++ssa_last_defs_[v_reg];
1049 ssa_base_vregs_.push_back(v_reg);
H A Dtype_inference.h393 bool IsSRegLiveAtStart(BasicBlock* bb, int v_reg, int32_t s_reg);
H A Dmir_graph.h151 // Minimum field size to contain Dalvik v_reg number.
195 int32_t v_reg; // Virtual register number for temporary. member in struct:art::CompilerTemp
1305 int AddNewSReg(int v_reg);
/art/compiler/dex/quick/arm/
H A Dtarget_arm.cc655 void ArmMir2Lir::MarkPreservedSingle(int v_reg, RegStorage reg) { argument
664 fp_vmap_table_[adjusted_reg_num] = v_reg;
670 void ArmMir2Lir::MarkPreservedDouble(int v_reg, RegStorage reg) { argument
675 MarkPreservedSingle(v_reg, lo);
676 MarkPreservedSingle(v_reg + 1, hi);
841 int v_reg = mir_graph_->SRegToVReg(s_reg); local
860 MarkPreservedSingle(v_reg, p->GetReg());
870 MarkPreservedDouble(v_reg, info->GetReg());
894 int v_reg = mir_graph_->SRegToVReg(s_reg); local
896 MarkPreservedSingle(v_reg, re
[all...]
H A Dcodegen_arm.h118 void MarkPreservedSingle(int v_reg, RegStorage reg);
119 void MarkPreservedDouble(int v_reg, RegStorage reg);
/art/compiler/dex/quick/
H A Dralloc_util.cc246 * v_reg numbers to distinguish them and can have an arbitrary
253 int v_reg = mir_graph_->SRegToVReg(s_reg); local
254 return v_reg;
260 int v_reg = mir_graph_->SRegToVReg(s_reg); local
265 core_vmap_table_.push_back(reg_num << VREG_NUM_WIDTH | (v_reg & ((1 << VREG_NUM_WIDTH) - 1)));
293 int v_reg = mir_graph_->SRegToVReg(s_reg); local
298 fp_vmap_table_.push_back(reg_num << VREG_NUM_WIDTH | (v_reg & ((1 << VREG_NUM_WIDTH) - 1)));
744 int v_reg = mir_graph_->SRegToVReg(info1->SReg()); local
746 StoreBaseDisp(TargetPtrReg(kSp), VRegOffset(v_reg), reg, k64, kNotVolatile);
752 int v_reg local
764 int v_reg = mir_graph_->SRegToVReg(info->SReg()); local
1487 VRegOffset(int v_reg) argument
[all...]
H A Dmir_to_lir.h784 int VRegOffset(int v_reg);

Completed in 4478 milliseconds