/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/ |
H A D | spill_fill_encoder.cpp | 34 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 D | reg_alloc_base.cpp | 179 if (GetGraph()->GetArch() != Arch::AARCH32 || !mask.IsSet(sf.SrcValue())) { in SetPreassignedRegisters() 180 interval->SetPreassignedReg(sf.SrcValue()); in SetPreassignedRegisters()
|
H A D | spill_fills_resolver.cpp | 135 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 D | reg_alloc_resolver_test.cpp | 24 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 D | spill_fill_encoder_test.cpp | 24 return left.SrcType() == right.SrcType() && left.SrcValue() == right.SrcValue() && in operator ==()
|
H A D | reg_alloc_linear_scan_test.cpp | 31 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 D | reg_alloc_graph_coloring_test.cpp | 34 EXPECT_EQ(paramLiveness->GetReg(), spillFill.SrcValue()); in GetParameterSpillFilll()
|
H A D | split_resolver_test.cpp | 73 found |= sfData.SrcType() == src_loc && sfData.DstType() == dst_loc && sfData.SrcValue() == src && in CheckSpillFills()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
H A D | spill_fill_data.h | 44 auto SrcValue() const in SrcValue() function in panda::compiler::SpillFillData
|
H A D | inst.h | 2237 return spill_fills_[n].SrcValue();
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
H A D | spill_fill_data.h | 44 auto SrcValue() const in SrcValue() function in ark::compiler::SpillFillData
|
H A D | inst.h | 3616 return spillFills_[n].SrcValue();
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/ |
H A D | reg_alloc_base.cpp | 196 if (GetGraph()->GetArch() != Arch::AARCH32 || !mask.IsSet(sf.SrcValue())) { in SetPreassignedRegisters() 197 interval->SetPreassignedReg(sf.SrcValue()); in SetPreassignedRegisters()
|
H A D | spill_fills_resolver.cpp | 136 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 D | reg_alloc_graph_coloring_test.cpp | 33 EXPECT_EQ(param_liveness->GetReg(), spill_fill.SrcValue()); in GetParameterSpillFilll()
|
H A D | split_resolver_test.cpp | 71 found |= sf_data.SrcType() == src_loc && sf_data.DstType() == dst_loc && sf_data.SrcValue() == src && in CheckSpillFills()
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
H A D | codegen.cpp | 164 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 D | reg_encoder.cpp | 161 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 D | codegen.cpp | 211 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 D | reg_encoder.cpp | 192 if (sf.SrcType() == compiler::LocationType::REGISTER && sf.SrcValue() >= minReg) { in RenumberSpillFillRegs() 193 sf.SetSrc(compiler::Location::MakeRegister(RenumberReg(sf.SrcValue(), delta))); in RenumberSpillFillRegs()
|