Home
last modified time | relevance | path

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

/art/compiler/dex/
Dmir_graph.cc1636 std::string MIRGraph::GetSSAName(int ssa_reg) { in GetSSAName() argument
1640 int vreg = SRegToVReg(ssa_reg); in GetSSAName()
1642 return StringPrintf("t%d_%d", SRegToVReg(ssa_reg), GetSSASubscript(ssa_reg)); in GetSSAName()
1644 return StringPrintf("v%d_%d", SRegToVReg(ssa_reg), GetSSASubscript(ssa_reg)); in GetSSAName()
1649 std::string MIRGraph::GetSSANameWithConst(int ssa_reg, bool singles_only) { in GetSSANameWithConst() argument
1652 return GetSSAName(ssa_reg); in GetSSANameWithConst()
1654 if (IsConst(reg_location_[ssa_reg])) { in GetSSANameWithConst()
1655 if (!singles_only && reg_location_[ssa_reg].wide && in GetSSANameWithConst()
1656 !reg_location_[ssa_reg].high_word) { in GetSSANameWithConst()
1657 return StringPrintf("v%d_%d#0x%" PRIx64, SRegToVReg(ssa_reg), GetSSASubscript(ssa_reg), in GetSSANameWithConst()
[all …]
Dmir_graph.h442 bool IsSSALiveOut(const CompilationUnit* c_unit, int ssa_reg);
827 void SetConstant(int32_t ssa_reg, int32_t value);
834 void SetConstantWide(int32_t ssa_reg, int64_t value);
868 int GetSSASubscript(int ssa_reg) const { in GetSSASubscript() argument
869 DCHECK_LT(static_cast<size_t>(ssa_reg), ssa_subscripts_.size()); in GetSSASubscript()
870 return ssa_subscripts_[ssa_reg]; in GetSSASubscript()
1112 int SRegToVReg(int ssa_reg) const { in SRegToVReg() argument
1113 return ssa_base_vregs_[ssa_reg]; in SRegToVReg()
1160 std::string GetSSAName(int ssa_reg);
1161 std::string GetSSANameWithConst(int ssa_reg, bool singles_only);
Dmir_dataflow.cc1047 uint32_t ssa_reg = GetNumSSARegs(); in AddNewSReg() local
1048 SetNumSSARegs(ssa_reg + 1); in AddNewSReg()
1053 if (ssa_reg > 0 && use_counts_.size() == ssa_reg) { in AddNewSReg()
1058 return ssa_reg; in AddNewSReg()
1070 int ssa_reg = AddNewSReg(dalvik_reg); in HandleSSADef() local
1071 vreg_to_ssa_map_[dalvik_reg] = ssa_reg; in HandleSSADef()
1072 defs[reg_index] = ssa_reg; in HandleSSADef()
Dmir_optimization.cc43 void MIRGraph::SetConstant(int32_t ssa_reg, int32_t value) { in SetConstant() argument
44 is_constant_v_->SetBit(ssa_reg); in SetConstant()
45 constant_values_[ssa_reg] = value; in SetConstant()
46 reg_location_[ssa_reg].is_const = true; in SetConstant()
49 void MIRGraph::SetConstantWide(int32_t ssa_reg, int64_t value) { in SetConstantWide() argument
50 is_constant_v_->SetBit(ssa_reg); in SetConstantWide()
51 is_constant_v_->SetBit(ssa_reg + 1); in SetConstantWide()
52 constant_values_[ssa_reg] = Low32Bits(value); in SetConstantWide()
53 constant_values_[ssa_reg + 1] = High32Bits(value); in SetConstantWide()
54 reg_location_[ssa_reg].is_const = true; in SetConstantWide()
[all …]
Dssa_transformation.cc511 int ssa_reg = mir->ssa_rep->defs[0]; in InsertPhiNodeOperands() local
512 DCHECK_GE(ssa_reg, 0); // Shouldn't see compiler temps here in InsertPhiNodeOperands()
513 int v_reg = SRegToVReg(ssa_reg); in InsertPhiNodeOperands()