Home
last modified time | relevance | path

Searched refs:SrcValue (Results 1 - 20 of 20) sorted by relevance

/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
H A Dspill_fill_encoder.cpp34 if (pred.SrcType() == LocationType::STACK && pred.SrcValue() != succ.SrcValue() + 1U) { in AreConsecutiveOps()
41 if (pred.SrcType() == LocationType::STACK_PARAMETER && pred.SrcValue() != succ.SrcValue() - 1U) { in AreConsecutiveOps()
93 std::sort(it, next, [](auto sf1, auto sf2) { return sf1.SrcValue() > sf2.SrcValue(); }); in SortSpillFillData()
184 auto constInst = graph_->GetSpilledConstant(sf.SrcValue()); in EncodeImmToX()
225 auto srcReg = codegen_->ConvertRegister(sf.SrcValue(), sf.GetType()); in EncodeRegisterToX()
236 auto srcReg = codegen_->ConvertRegister(sf.SrcValue(), sf.GetType()); in EncodeRegisterToX()
248 auto srcReg = codegen_->ConvertRegister(sf.SrcValue(), s in EncodeRegisterToX()
[all...]
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
H A Dreg_alloc_base.cpp179 if (GetGraph()->GetArch() != Arch::AARCH32 || !mask.IsSet(sf.SrcValue())) { in SetPreassignedRegisters()
180 interval->SetPreassignedReg(sf.SrcValue()); in SetPreassignedRegisters()
H A Dspill_fills_resolver.cpp135 if (sf.DstType() == sf.SrcType() && sf.DstValue() == sf.SrcValue()) { in NeedToResolve()
178 if (sf.DstType() == sf.SrcType() && sf.DstValue() == sf.SrcValue()) { in CollectSpillFillsData()
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dreg_alloc_resolver_test.cpp24 return std::forward_as_tuple(lhs.SrcType(), lhs.DstType(), lhs.GetType(), lhs.SrcValue(), lhs.DstValue()) == in operator ==()
25 std::forward_as_tuple(rhs.SrcType(), rhs.DstType(), rhs.GetType(), rhs.SrcValue(), rhs.DstValue()); in operator ==()
H A Dspill_fill_encoder_test.cpp24 return left.SrcType() == right.SrcType() && left.SrcValue() == right.SrcValue() && in operator ==()
H A Dreg_alloc_linear_scan_test.cpp31 return std::forward_as_tuple(lhs.SrcType(), lhs.DstType(), lhs.GetType(), lhs.SrcValue(), lhs.DstValue()) == in operator ==()
32 std::forward_as_tuple(rhs.SrcType(), rhs.DstType(), rhs.GetType(), rhs.SrcValue(), rhs.DstValue()); in operator ==()
66 if (sf.SrcType() == LocationType::IMMEDIATE && (graph->GetSpilledConstant(sf.SrcValue()) == constInput) && in CheckImmediateSpillFill()
354 return (sf.SrcValue() == zeroReg && sf.DstValue() == phiReg); in TEST_F()
926 ASSERT_EQ(spillFill->GetSpillFill(i).SrcValue(), loadArr->GetDstReg(i)); in TEST_F()
936 ASSERT_EQ(div->GetSrcReg(i), spillFill->GetSpillFill(i).SrcValue()); in TEST_F()
1043 EXPECT_EQ(call0Sf.SrcValue(), 42U); in TEST_F()
1047 [](auto sf) { return sf.SrcType() == LocationType::REGISTER && sf.SrcValue() == 6; }); in TEST_F()
1392 auto inputConst = graph->GetSpilledConstant(sf.SrcValue()); in TEST_F()
1460 ASSERT_EQ(sf.SrcValue(), paramDs in TEST_F()
[all...]
H A Dreg_alloc_graph_coloring_test.cpp34 EXPECT_EQ(paramLiveness->GetReg(), spillFill.SrcValue()); in GetParameterSpillFilll()
H A Dsplit_resolver_test.cpp73 found |= sfData.SrcType() == src_loc && sfData.DstType() == dst_loc && sfData.SrcValue() == src && in CheckSpillFills()
/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dspill_fill_data.h44 auto SrcValue() const in SrcValue() function in panda::compiler::SpillFillData
H A Dinst.h2237 return spill_fills_[n].SrcValue();
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dspill_fill_data.h44 auto SrcValue() const in SrcValue() function in ark::compiler::SpillFillData
H A Dinst.h3616 return spillFills_[n].SrcValue();
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/
H A Dreg_alloc_base.cpp196 if (GetGraph()->GetArch() != Arch::AARCH32 || !mask.IsSet(sf.SrcValue())) { in SetPreassignedRegisters()
197 interval->SetPreassignedReg(sf.SrcValue()); in SetPreassignedRegisters()
H A Dspill_fills_resolver.cpp136 if (sf.DstType() == sf.SrcType() && sf.DstValue() == sf.SrcValue()) { in NeedToResolve()
179 if (sf.DstType() == sf.SrcType() && sf.DstValue() == sf.SrcValue()) { in CollectSpillFillsData()
/arkcompiler/runtime_core/compiler/tests/
H A Dreg_alloc_graph_coloring_test.cpp33 EXPECT_EQ(param_liveness->GetReg(), spill_fill.SrcValue()); in GetParameterSpillFilll()
H A Dsplit_resolver_test.cpp71 found |= sf_data.SrcType() == src_loc && sf_data.DstType() == dst_loc && sf_data.SrcValue() == src && in CheckSpillFills()
/arkcompiler/runtime_core/bytecode_optimizer/
H A Dcodegen.cpp164 ASSERT(sf.SrcValue() != compiler::INVALID_REG && sf.DstValue() != compiler::INVALID_REG); in EncodeSpillFillData()
166 if (sf.SrcValue() == sf.DstValue()) { in EncodeSpillFillData()
171 result_.emplace_back(pandasm::Create_MOV(sf.DstValue(), sf.SrcValue())); in EncodeSpillFillData()
H A Dreg_encoder.cpp161 if (sf.SrcType() == compiler::LocationType::REGISTER && sf.SrcValue() >= min_reg) { in RenumberSpillFillRegs()
162 sf.SetSrc(compiler::Location::MakeRegister(RenumberReg(sf.SrcValue(), delta))); in RenumberSpillFillRegs()
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
H A Dcodegen.cpp211 ASSERT(sf.SrcValue() != compiler::INVALID_REG && sf.DstValue() != compiler::INVALID_REG); in EncodeSpillFillData()
213 if (sf.SrcValue() == sf.DstValue()) { in EncodeSpillFillData()
219 result_.emplace_back(pandasm::Create_MOV_DYN(sf.DstValue(), sf.SrcValue())); in EncodeSpillFillData()
226 move = pandasm::Create_MOV_64(sf.DstValue(), sf.SrcValue()); in EncodeSpillFillData()
229 move = pandasm::Create_MOV_OBJ(sf.DstValue(), sf.SrcValue()); in EncodeSpillFillData()
232 move = pandasm::Create_MOV(sf.DstValue(), sf.SrcValue()); in EncodeSpillFillData()
H A Dreg_encoder.cpp192 if (sf.SrcType() == compiler::LocationType::REGISTER && sf.SrcValue() >= minReg) { in RenumberSpillFillRegs()
193 sf.SetSrc(compiler::Location::MakeRegister(RenumberReg(sf.SrcValue(), delta))); in RenumberSpillFillRegs()

Completed in 27 milliseconds