Home
last modified time | relevance | path

Searched refs:ssa_reg (Results 1 – 5 of 5) sorted by relevance

/art/compiler/dex/
Dmir_dataflow.cc894 int MIRGraph::SRegToVReg(int ssa_reg) const { in SRegToVReg()
895 return ssa_base_vregs_->Get(ssa_reg); in SRegToVReg()
989 uint32_t ssa_reg = GetNumSSARegs(); in AddNewSReg() local
990 SetNumSSARegs(ssa_reg + 1); in AddNewSReg()
995 if (ssa_reg > 0 && use_counts_.Size() == ssa_reg) { in AddNewSReg()
1000 return ssa_reg; in AddNewSReg()
1012 int ssa_reg = AddNewSReg(dalvik_reg); in HandleSSADef() local
1013 vreg_to_ssa_map_[dalvik_reg] = ssa_reg; in HandleSSADef()
1014 defs[reg_index] = ssa_reg; in HandleSSADef()
Dmir_graph.cc1356 std::string MIRGraph::GetSSAName(int ssa_reg) { in GetSSAName() argument
1360 return StringPrintf("v%d_%d", SRegToVReg(ssa_reg), GetSSASubscript(ssa_reg)); in GetSSAName()
1364 std::string MIRGraph::GetSSANameWithConst(int ssa_reg, bool singles_only) { in GetSSANameWithConst() argument
1367 return GetSSAName(ssa_reg); in GetSSANameWithConst()
1369 if (IsConst(reg_location_[ssa_reg])) { in GetSSANameWithConst()
1370 if (!singles_only && reg_location_[ssa_reg].wide) { in GetSSANameWithConst()
1371 return StringPrintf("v%d_%d#0x%" PRIx64, SRegToVReg(ssa_reg), GetSSASubscript(ssa_reg), in GetSSANameWithConst()
1372 ConstantValueWide(reg_location_[ssa_reg])); in GetSSANameWithConst()
1374 return StringPrintf("v%d_%d#0x%x", SRegToVReg(ssa_reg), GetSSASubscript(ssa_reg), in GetSSANameWithConst()
1375 ConstantValue(reg_location_[ssa_reg])); in GetSSANameWithConst()
[all …]
Dmir_graph.h451 bool IsSSALiveOut(const CompilationUnit* c_unit, int ssa_reg);
765 int GetSSASubscript(int ssa_reg) const { in GetSSASubscript() argument
766 return ssa_subscripts_->Get(ssa_reg); in GetSSASubscript()
920 int SRegToVReg(int ssa_reg) const;
970 std::string GetSSAName(int ssa_reg);
971 std::string GetSSANameWithConst(int ssa_reg, bool singles_only);
1119 void SetConstant(int32_t ssa_reg, int value);
1120 void SetConstantWide(int ssa_reg, int64_t value);
Dssa_transformation.cc552 int ssa_reg = mir->ssa_rep->defs[0]; in InsertPhiNodeOperands() local
553 DCHECK_GE(ssa_reg, 0); // Shouldn't see compiler temps here in InsertPhiNodeOperands()
554 int v_reg = SRegToVReg(ssa_reg); in InsertPhiNodeOperands()
571 int ssa_reg = pred_bb->data_flow_info->vreg_to_ssa_map_exit[v_reg]; in InsertPhiNodeOperands() local
572 uses[idx] = ssa_reg; in InsertPhiNodeOperands()
Dmir_optimization.cc33 void MIRGraph::SetConstant(int32_t ssa_reg, int value) { in SetConstant() argument
34 is_constant_v_->SetBit(ssa_reg); in SetConstant()
35 constant_values_[ssa_reg] = value; in SetConstant()
38 void MIRGraph::SetConstantWide(int ssa_reg, int64_t value) { in SetConstantWide() argument
39 is_constant_v_->SetBit(ssa_reg); in SetConstantWide()
40 is_constant_v_->SetBit(ssa_reg + 1); in SetConstantWide()
41 constant_values_[ssa_reg] = Low32Bits(value); in SetConstantWide()
42 constant_values_[ssa_reg + 1] = High32Bits(value); in SetConstantWide()