/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
H A D | spill_fill_encoder.cpp | 78 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 D | encode_visitor.cpp | 541 if (sf.GetSrc() == sf.GetDst()) { in VisitParameter()
|
/arkcompiler/runtime_core/compiler/tests/ |
H A D | split_resolver_new_test.cpp | 164 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 D | reg_alloc_resolver_test.cpp | 137 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 D | reg_alloc_common_test.cpp | 140 auto dst_location = param_inst->CastToParameter()->GetLocationData().GetDst(); in TestParametersLocations()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
H A D | spill_fill_data.h | 64 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 D | spill_fill_data.h | 64 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 D | spill_fills_resolver.cpp | 141 if (sf.GetDst().IsAnyRegister()) { in NeedToResolve() 142 MarkRegWrite(sf.GetDst(), ®_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 D | spill_fills_resolver.cpp | 142 if (sf.GetDst().IsAnyRegister()) { in NeedToResolve() 143 MarkRegWrite(sf.GetDst(), ®Write_, 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 D | reg_alloc_verifier.cpp | 468 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 D | reg_alloc_common_test.cpp | 174 auto dstLocation = paramInst->CastToParameter()->GetLocationData().GetDst(); in TestParametersLocations()
|
H A D | reg_alloc_linear_scan_test.cpp | 819 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 D | split_resolver_test.cpp | 1355 EXPECT_EQ(const1Move.GetDst().GetRegister(), SPLIT_CONST1_REG); in TEST_F() 1357 EXPECT_EQ(const0Move.GetDst().GetRegister(), SPLIT_CONST0_REG); in TEST_F()
|