Home
last modified time | relevance | path

Searched refs:GetOuterLoop (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dloop_analyzer.cpp196 header->GetDominator()->GetLoop() == loop->GetOuterLoop() && in PreHeaderExists()
217 loop->GetOuterLoop()->AppendBlock(pre_header); in FindAndInsertPreHeaders()
263 } else if (block->GetLoop()->GetOuterLoop() == nullptr) { in PopulateLoops()
286 if (block->GetLoop()->GetOuterLoop() == nullptr) { in NaturalLoopSearch()
347 auto outer = this->GetOuterLoop(); in IsInside()
352 outer = outer->GetOuterLoop(); in IsInside()
373 auto outer_loop = GetOuterLoop(); in CheckInfinity()
Dloop_analyzer.h132 Loop *GetOuterLoop() const in GetOuterLoop() function
/arkcompiler/runtime_core/compiler/tests/
Dloop_analyzer_test.cpp183 EXPECT_EQ(loop1->GetOuterLoop(), loop3); in TEST_F()
191 EXPECT_EQ(loop2->GetOuterLoop(), loop3); in TEST_F()
199 EXPECT_EQ(loop3->GetOuterLoop(), root_loop); in TEST_F()
304 ASSERT_EQ(pre_header->GetLoop(), loop->GetOuterLoop()); in TEST_F()
Dcleanup_test.cpp208 ASSERT_EQ(3U, BB(3).GetLoop()->GetOuterLoop()->GetBlocks().size()); in TEST_F()
1448 ASSERT_EQ(4U, BB(4).GetLoop()->GetOuterLoop()->GetBlocks().size()); in TEST_F()
1449 ASSERT_EQ(4U, BB(5).GetLoop()->GetOuterLoop()->GetBlocks().size()); in TEST_F()
1485 EXPECT_EQ(3U, BB(4).GetLoop()->GetOuterLoop()->GetBlocks().size()); in TEST_F()
1486 EXPECT_EQ(3U, BB(5).GetLoop()->GetOuterLoop()->GetBlocks().size()); in TEST_F()
1557 ASSERT_EQ(3U, BB(2).GetLoop()->GetOuterLoop()->GetBlocks().size()); in TEST_F()
1578 EXPECT_EQ(3U, BB(2).GetLoop()->GetOuterLoop()->GetBlocks().size()); in TEST_F()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph_cloner.cpp185 back_edge->GetLoop()->GetOuterLoop()->AppendBlock(resolver); in CreateResolverBlock()
735 ASSERT(clone_loop != loop && clone_loop->GetOuterLoop() == loop->GetOuterLoop()); in CloneLoop()
811 for (auto in_loop : loop->GetOuterLoop()->GetInnerLoops()) { in PrepareLoopToClone()
875 auto outer_loop = loop->GetOuterLoop(); in MakeLoopCloneInfo()
984 …if (!loop->GetOuterLoop()->IsRoot() || !loop->GetInnerLoops().empty() || !IsLoopSingleBackEdgeExit… in IsLoopClonable()
Dbasicblock.cpp242 loop = loop->GetOuterLoop(); in RemoveFixLoopInfo()
296 if (auto outer_loop = loop->GetOuterLoop()) { in JoinSuccessorBlock()