Home
last modified time | relevance | path

Searched refs:GetLocation (Results 1 - 25 of 87) sorted by relevance

1234

/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
H A Dreg_alloc_resolver.cpp65 if (input_interval->GetLocation() != catch_phi_interval->GetLocation()) { in AddCatchPhiMoves()
85 auto location = inst->GetLocation(i); in ResolveInputs()
95 if (location.IsFixedRegister() && sibling->GetLocation() == location) { in ResolveInputs()
107 inst->SetLocation(i, sibling->GetLocation()); in ResolveInputs()
112 if (sibling->GetLocation() != location) { in ResolveInputs()
113 AddMoveToFixedLocation(inst, sibling->GetLocation(), i); in ResolveInputs()
132 auto fixed_location = inst->GetLocation(input_num); in AddMoveToFixedLocation()
199 AddLocationToRoots(sibling->GetLocation(), target_ss, GetGraph()); in FillSaveStateRootsMask()
207 ASSERT(sibling->GetLocation() in FillSaveStateRootsMask()
[all...]
H A Dsplit_resolver.cpp47 if (prev->GetEnd() != curr->GetBegin() || prev->GetLocation() == curr->GetLocation() || in ConnectSiblings()
48 curr->GetLocation().IsConstant()) { in ConnectSiblings()
94 if (succ_split == nullptr || succ_split->GetLocation().IsConstant() || !succ_split->SplitCover(succ_begin)) { in ProcessBlock()
118 if (src_split == nullptr || src_split->GetLocation() == target_split->GetLocation()) { in ConnectSpiltFromPredBlock()
H A Dreg_alloc_graph_coloring.cpp85 return liveness->IsPhysical() && liveness->GetLocation() == location; in FindFixedNode()
134 auto location = inst->GetLocation(i); in PrecolorIG()
350 ASSERT(interval->GetLocation().IsInvalid()); in InitWorkingRanges()
388 if (!interval->GetLocation().IsFixedRegister()) { in Presplit()
395 if (interval->GetLocation() == next->GetLocation() && interval->IntersectsWith(next)) { in Presplit()
406 if (interval->GetLocation() == physical->GetLocation() && interval->IntersectsWith(physical)) { in Presplit()
H A Dreg_alloc_base.cpp155 ASSERT(interval->GetLocation().IsInvalid()); in SetType()
249 spill_fill->AddSpillFill(src->GetLocation(), dst->GetLocation(), dst->GetType()); in ConnectIntervals()
H A Dreg_alloc_stat.cpp30 auto location = interv->GetLocation(); in RegAllocStat()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/
H A Dreg_alloc_resolver.cpp71 if (inputInterval->GetLocation() != catchPhiInterval->GetLocation()) { in AddCatchPhiMoves()
93 inputLocations_.push_back(inputInterval->FindSiblingAt(insLn)->GetLocation()); in ResolveInputs()
97 auto location = inst->GetLocation(i); in ResolveInputs()
107 if (location.IsFixedRegister() && sibling->GetLocation() == location) { in ResolveInputs()
124 inst->SetLocation(i, sibling->GetLocation()); in ResolveInputs()
129 if (sibling->GetLocation() != location) { in ResolveInputs()
130 AddMoveToFixedLocation(inst, sibling->GetLocation(), i); in ResolveInputs()
157 auto fixedLocation = inst->GetLocation(inputNum); in AddMoveToFixedLocation()
251 AddLocationToRoots(sibling->GetLocation(), targetS in FillSaveStateRootsMask()
[all...]
H A Dsplit_resolver.cpp49 if (prev->GetEnd() != curr->GetBegin() || prev->GetLocation() == curr->GetLocation() || in ConnectSiblings()
50 curr->GetLocation().IsConstant()) { in ConnectSiblings()
96 if (succSplit == nullptr || succSplit->GetLocation().IsConstant() || !succSplit->SplitCover(succBegin)) { in ProcessBlock()
121 if (srcSplit == nullptr || srcSplit->GetLocation() == targetSplit->GetLocation() || in ConnectSplitFromPredBlock()
H A Dreg_alloc_graph_coloring.cpp250 auto location = inst->GetLocation(i); in AddAffinityEdgesToPhysicalNodes()
447 ASSERT(interval->GetLocation().IsInvalid()); in InitWorkingRanges()
485 if (!interval->GetLocation().IsFixedRegister()) { in Presplit()
492 if (interval->GetLocation() == next->GetLocation() && interval->IntersectsWith(next)) { in Presplit()
503 if (interval->GetLocation() == physical->GetLocation() && interval->IntersectsWith<true>(physical)) { in Presplit()
H A Dreg_alloc_linear_scan.cpp187 GetStackMask().Reset(interval->GetLocation().GetValue()); in ExpireIntervals()
204 if (currentInterval->GetLocation().IsStackParameter()) { in WalkIntervals()
215 << currentInterval->GetLocation().ToString(GetGraph()->GetArch()) << " was assigned to the interval " in WalkIntervals()
225 << currentInterval->GetLocation().ToString(GetGraph()->GetArch()); in WalkIntervals()
454 ASSERT(!interval->GetLocation().IsStack()); in AssignStackSlot()
460 COMPILER_LOG(DEBUG, REGALLOC) << interval->GetLocation().ToString(GetGraph()->GetArch()) in AssignStackSlot()
469 COMPILER_LOG(DEBUG, REGALLOC) << interval->GetLocation().ToString(GetGraph()->GetArch()) in AssignStackSlot()
593 auto location = userInst->GetLocation(i); in BlockIndirectCallRegisters()
H A Dreg_alloc_base.cpp172 ASSERT(interval->GetLocation().IsInvalid()); in SetType()
274 spillFill->AddSpillFill(src->GetLocation(), dst->GetLocation(), dst->GetType()); in ConnectIntervals()
293 COMPILER_LOG(DEBUG, REGALLOC) << interval->GetLocation().ToString(graph->GetArch()) in TryToSpillConstant()
H A Dreg_alloc_stat.cpp31 auto location = interv->GetLocation(); in RegAllocStat()
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/optimizer/
H A Dets_codegen_extensions.cpp23 thisReg = ConvertRegister(callInst->GetLocation(1).GetValue(), DataType::REFERENCE); in PrepareForCallLaunchVirtual()
52 auto location = callInst->GetLocation(0); in LaunchCallCodegen()
56 auto location1 = callInst->GetLocation(1); in LaunchCallCodegen()
61 thisReg = ConvertRegister(callInst->GetLocation(2U).GetValue(), DataType::REFERENCE); in LaunchCallCodegen()
64 auto location = callInst->GetLocation(0); in LaunchCallCodegen()
/arkcompiler/runtime_core/static_core/compiler/code_info/
H A Dvreg_info.h81 Location GetLocation() const in GetLocation() function
117 return GetLocation() != Location::NONE; in IsLive()
137 auto location = GetLocation(); in IsLocationRegister()
143 ASSERT(GetLocation() == Location::CONSTANT); in GetConstantLowIndex()
149 ASSERT(GetLocation() == Location::CONSTANT); in GetConstantHiIndex()
197 switch (GetLocation()) { in GetLocationString()
H A Dcode_info_tables.h181 ASSERT(GetVRegInfo().GetLocation() == VRegInfo::Location::CONSTANT); in GetConstantLowIndex()
187 ASSERT(GetVRegInfo().GetLocation() == VRegInfo::Location::CONSTANT); in GetConstantHiIndex()
/arkcompiler/toolchain/tooling/test/testcases/
H A Djs_range_error_test.h33 auto jsLocation = callFrames[0]->GetLocation(); in JsRangeErrorTest()
49 auto jsLocation = callFrames[0]->GetLocation(); in JsRangeErrorTest()
60 location_ = TestUtil::GetLocation(sourceFile_.c_str(), 21, 4, pandaFile_.c_str()); in JsRangeErrorTest()
H A Djs_throw_exception_test.h33 auto jsLocation = callFrames[0]->GetLocation(); in JsThrowExceptionTest()
49 auto jsLocation = callFrames[0]->GetLocation(); in JsThrowExceptionTest()
61 location_ = TestUtil::GetLocation(sourceFile_.c_str(), 31, 0, pandaFile_.c_str()); in JsThrowExceptionTest()
H A Djs_syntax_exception_test.h33 auto jsLocation = callFrames[0]->GetLocation(); in JsSyntaxExceptionTest()
49 auto jsLocation = callFrames[0]->GetLocation(); in JsSyntaxExceptionTest()
60 location_ = TestUtil::GetLocation(sourceFile_.c_str(), 29, 4, pandaFile_.c_str()); in JsSyntaxExceptionTest()
H A Djs_single_step_test.h35 locationStart_ = TestUtil::GetLocation(sourceFile_.c_str(), 19, 0, pandaFile_.c_str()); in JsSingleStepTest()
37 locationEnd_ = TestUtil::GetLocation(sourceFile_.c_str(), 22, 0, pandaFile_.c_str()); in JsSingleStepTest()
/arkcompiler/runtime_core/compiler/tests/
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()
/arkcompiler/ets_frontend/ets2panda/util/
H A DerrorHandler.cpp23 lexer::SourceLocation loc = index.GetLocation(pos); in ThrowSyntaxError()
/arkcompiler/toolchain/test/fuzztest/base/ptevents/breakpointresolved/baseptsbreakpointgetlocation_fuzzer/
H A Dbaseptsbreakpointgetlocation_fuzzer.cpp38 breakpointResolved.GetLocation(); in BasePtsBreakpointGetLocationFuzzTest()
/arkcompiler/ets_frontend/ets2panda/checker/
H A Dchecker.cpp86 lexer::SourceLocation loc = index.GetLocation(pos); in ThrowTypeError()
99 lexer::SourceLocation loc = index.GetLocation(pos); in LogTypeError()
107 lexer::SourceLocation loc = index.GetLocation(pos); in Warning()
/arkcompiler/runtime_core/static_core/runtime/
H A Dcframe.cpp33 switch (vreg.GetLocation()) { in GetVRegValue()
99 bool isFp = vreg.GetLocation() == VRegInfo::Location::FP_REGISTER; in GetVRegValueRegister()
164 switch (vreg.GetLocation()) { in SetVRegValue()
174 bool isFp = vreg.GetLocation() == VRegInfo::Location::FP_REGISTER; in SetVRegValue()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DdefaultParameterLowering.h29 lexer::SourceLocation loc = index.GetLocation(pos); in ThrowSyntaxError()
/arkcompiler/ets_frontend/ets2panda/lexer/token/
H A DsourceLocation.h109 SourceLocation GetLocation(SourcePosition pos) const noexcept;

Completed in 13 milliseconds

1234