Home
last modified time | relevance | path

Searched refs:GetDst (Results 1 - 13 of 13) sorted by relevance

/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
H A Dspill_fill_encoder.cpp78 bool isFill = it->SrcType() == LocationType::STACK && it->GetDst().IsAnyRegister(); in SortSpillFillData()
187 if (sf.GetDst().IsAnyRegister()) { // imm -> register in EncodeImmToX()
210 auto dstReg = GetDstReg(sf.GetDst(), Codegen::ConvertDataType(type, codegen_->GetArch())); in EncodeImmToX()
215 ASSERT(sf.GetDst().IsAnyStack()); // imm -> stack in EncodeImmToX()
216 auto dstMem = codegen_->GetMemRefForSlot(sf.GetDst()); in EncodeImmToX()
224 if (sf.GetDst().IsAnyRegister()) { // register -> register in EncodeRegisterToX()
226 auto dstReg = GetDstReg(sf.GetDst(), srcReg.GetType()); in EncodeRegisterToX()
231 ASSERT(sf.GetDst().IsAnyStack()); in EncodeRegisterToX()
232 auto offset = codegen_->GetStackOffset(sf.GetDst()); in EncodeRegisterToX()
235 if (sf.GetDst() in EncodeRegisterToX()
[all...]
H A Dencode_visitor.cpp541 if (sf.GetSrc() == sf.GetDst()) { in VisitParameter()
/arkcompiler/runtime_core/compiler/tests/
H A Dsplit_resolver_new_test.cpp164 EXPECT_EQ(sf_data1.GetDst(), Location::MakeStackSlot(SLOT_AT_ADD)); in HWTEST_F()
166 EXPECT_EQ(sf_data2.GetDst(), Location::MakeRegister(REG_AT_MUL)); in HWTEST_F()
226 EXPECT_EQ(sf_data[0].GetDst(), Location::MakeStackSlot(SLOT_PARAM1_AT_CALL)); in HWTEST_F()
228 EXPECT_EQ(sf_data[1].GetDst(), Location::MakeRegister(REG_PARAM2_AT_CALL)); in HWTEST_F()
275 EXPECT_EQ(sf_data1.GetDst(), Location::MakeStackSlot(SLOT_AT_MUL)); in HWTEST_F()
284 EXPECT_EQ(sf_data2.GetDst(), Location::MakeStackSlot(SLOT_AT_MUL)); in HWTEST_F()
H A Dreg_alloc_resolver_test.cpp137 EXPECT_EQ(sf_data1.GetDst(), inst->GetLocation(0)); in HWTEST_F()
141 EXPECT_EQ(sf_data2.GetDst(), inst->GetLocation(1)); in HWTEST_F()
H A Dreg_alloc_common_test.cpp140 auto dst_location = param_inst->CastToParameter()->GetLocationData().GetDst(); in TestParametersLocations()
/arkcompiler/runtime_core/compiler/optimizer/ir/
H A Dspill_fill_data.h64 Location GetDst() const in GetDst() function in panda::compiler::SpillFillData
85 GetDst().Dump(stm, arch); in Dump()
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
H A Dspill_fill_data.h64 Location GetDst() const in GetDst() function in ark::compiler::SpillFillData
85 GetDst().Dump(stm, arch); in Dump()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
H A Dspill_fills_resolver.cpp141 if (sf.GetDst().IsAnyRegister()) { in NeedToResolve()
142 MarkRegWrite(sf.GetDst(), &reg_write_, paired, VREGS_TABLE_OFFSET); in NeedToResolve()
154 MarkStackWrite(sf.GetDst(), &stack_write_, param_slot_offset); in NeedToResolve()
193 auto dest_index = Map(sf.GetDst()); in CollectSpillFillsData()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/
H A Dspill_fills_resolver.cpp142 if (sf.GetDst().IsAnyRegister()) { in NeedToResolve()
143 MarkRegWrite(sf.GetDst(), &regWrite_, paired, vregsTableOffset_); in NeedToResolve()
155 MarkStackWrite(sf.GetDst(), &stackWrite_, paramSlotOffset); in NeedToResolve()
194 auto destIndex = Map(sf.GetDst()); in CollectSpillFillsData()
/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
H A Dreg_alloc_verifier.cpp468 UpdateLocation(sf.GetDst(), inst->GetType(), inst->GetId()); in HandleParameter()
500 UpdateLocation(sf.GetDst(), sf.GetType(), state->GetId()); in HandleSpillFill()
/arkcompiler/runtime_core/static_core/compiler/tests/
H A Dreg_alloc_common_test.cpp174 auto dstLocation = paramInst->CastToParameter()->GetLocationData().GetDst(); in TestParametersLocations()
H A Dreg_alloc_linear_scan_test.cpp819 auto paramLocation = INS(0U).CastToParameter()->GetLocationData().GetDst(); in TEST_F()
825 EXPECT_EQ(spillFill.GetDst(), phiLocation); in TEST_F()
1514 EXPECT_EQ(spill.GetDst(), fill.GetSrc()); in TEST_F()
1515 EXPECT_EQ(callReg, fill.GetDst()); in TEST_F()
H A Dsplit_resolver_test.cpp1355 EXPECT_EQ(const1Move.GetDst().GetRegister(), SPLIT_CONST1_REG); in TEST_F()
1357 EXPECT_EQ(const0Move.GetDst().GetRegister(), SPLIT_CONST0_REG); in TEST_F()

Completed in 18 milliseconds