Home
last modified time | relevance | path

Searched refs:GetDstReg (Results 1 – 13 of 13) sorted by relevance

/arkcompiler/runtime_core/compiler/tests/
Dreg_alloc_graph_coloring_test.cpp73 EXPECT_NE(INS(0).GetDstReg(), INS(6).GetDstReg()); in TEST_F()
74 EXPECT_NE(INS(0).GetDstReg(), INS(1).GetDstReg()); in TEST_F()
75 EXPECT_NE(INS(0).GetDstReg(), INS(2).GetDstReg()); in TEST_F()
80 EXPECT_LT(INS(1).GetDstReg(), first_callee); in TEST_F()
81 EXPECT_LT(INS(2).GetDstReg(), first_callee); in TEST_F()
82 EXPECT_LT(INS(5).GetDstReg(), first_callee); in TEST_F()
83 EXPECT_LT(INS(6).GetDstReg(), first_callee); in TEST_F()
84 EXPECT_LT(INS(7).GetDstReg(), first_callee); in TEST_F()
143 EXPECT_EQ(INS(0).GetDstReg(), INS(3).GetSrcReg(1)); in TEST_F()
144 EXPECT_EQ(INS(0).GetDstReg(), INS(7).GetSrcReg(1)); in TEST_F()
[all …]
Dreg_alloc_common_test.cpp186 EXPECT_NE(inst->GetDstReg(), INVALID_REG); in TEST_F()
228 auto reg = input.GetInst()->GetDstReg(); in TEST_F()
/arkcompiler/runtime_core/bytecode_optimizer/
Dcodegen.cpp291 movi.regs.emplace_back(inst->GetDstReg()); in VisitConstant()
296 DoSta(inst->GetDstReg(), enc->result_); in VisitConstant()
300 DoSta(inst->GetDstReg(), enc->result_); in VisitConstant()
305 DoSta(inst->GetDstReg(), enc->result_); in VisitConstant()
478 if (inst->GetDstReg() != compiler::ACC_REG_ID) { in VisitLoadString()
479 enc->result_.emplace_back(pandasm::Create_STA(inst->GetDstReg())); in VisitLoadString()
560 DoSta(cvat->GetDstReg(), enc->result_); in VisitCastValueToAnyType()
Dreg_encoder.cpp181 if (RegNeedsRenumbering(inst->GetDstReg()) && inst->GetDstReg() >= min_reg) { in RenumberRegs()
182 inst->SetDstReg(RenumberReg(inst->GetDstReg(), delta)); in RenumberRegs()
Dreg_acc_alloc.cpp62 if (input->GetDstReg() != compiler::ACC_REG_ID) { in IsAccWriteBetween()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dreg_alloc_resolver.h53 return graph_->IsBytecodeOptimizer() && inst->GetDstReg() == ACC_REG_ID; in CanStoreToAccumulator()
Dreg_alloc_base.cpp171 if (inst->GetDstReg() != INVALID_REG) { in SetPreassignedRegisters()
172 interval->SetPreassignedReg(inst->GetDstReg()); in SetPreassignedRegisters()
Dsplit_resolver.cpp77 if (!phi->IsPhi() || phi->GetDstReg() == ACC_REG_ID) { in ProcessBlock()
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dgenerate_ecma.inl.erb95 auto acc_dst = inst->GetDstReg();
97 DoSta(inst->GetDstReg(), enc->result_);
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dcodegen_test.cpp194 EXPECT_EQ(const_inst->GetDstReg(), reg); in __anona44e78530302()
203 EXPECT_EQ(const_inst->GetDstReg(), reg); in __anona44e78530302()
212 EXPECT_EQ(const_inst->GetDstReg(), reg); in __anona44e78530302()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dinst.cpp270 clone->SetDstReg(GetDstReg()); in Clone()
356 new_cnst->SetDstReg(GetDstReg()); in Clone()
Dinst.h1228 return Location::MakeRegister(GetDstReg(), GetType()); in GetDstLocation()
1285 Register GetDstReg() const in GetDstReg() function
1314 virtual Register GetDstReg([[maybe_unused]] unsigned index) const in GetDstReg() function
1317 return GetDstReg(); in GetDstReg()
Dir_constructor.h1136 if (inst->GetDstReg() != INVALID_REG && !inst->IsOperandsDynamic()) { in PropagateRegisters()
1138 inst->SetSrcReg(i, inst->GetInputs()[i].GetInst()->GetDstReg()); in PropagateRegisters()