Home
last modified time | relevance | path

Searched refs:GetBlocks (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/analysis/
Dlinear_order.h44 ArenaVector<BasicBlock *> &GetBlocks() in GetBlocks() function
49 const ArenaVector<BasicBlock *> &GetBlocks() const in GetBlocks() function
Drpo.h78 const ArenaVector<BasicBlock *> &GetBlocks() const in GetBlocks() function
Dloop_analyzer.h108 ArenaVector<BasicBlock *> &GetBlocks() in GetBlocks() function
112 const ArenaVector<BasicBlock *> &GetBlocks() const in GetBlocks() function
Dloop_analyzer.cpp374 for (auto block : GetBlocks()) { in CheckInfinity()
416 for (auto block : loop->GetBlocks()) { in IsLoopSingleBackEdgeExitPoint()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph_cloner.cpp98 for (auto block : loop->GetBlocks()) { in CopyLoop()
126 auto &clone_linear_blocks = new_graph->GetAnalysis<LinearOrder>().GetBlocks(); in CloneLinearOrder()
187 for (auto block : loop->GetBlocks()) { in CreateResolverBlock()
259 unroll_data->blocks->resize(loop->GetBlocks().size()); in PrepareLoopToUnroll()
260 std::copy(loop->GetBlocks().begin(), loop->GetBlocks().end(), unroll_data->blocks->begin()); in PrepareLoopToUnroll()
271 ASSERT(loop->GetBlocks().front() == header_block); in PrepareLoopToUnroll()
825 unroll_data->blocks->resize(loop->GetBlocks().size() + 1); in PrepareLoopToClone()
827 std::copy(loop->GetBlocks().begin(), loop->GetBlocks().end(), unroll_data->blocks->begin() + 1); in PrepareLoopToClone()
885 for (auto &block : loop->GetBlocks()) { in MakeLoopCloneInfo()
1001 for (const auto &block : loop->GetBlocks()) { in IsLoopClonable()
Dgraph.cpp133 return GetValidAnalysis<Rpo>().GetBlocks(); in GetBlocksRPO()
138 return GetValidAnalysis<LinearOrder>().GetBlocks(); in GetBlocksLinearOrder()
Dgraph_checker.cpp368 for ([[maybe_unused]] auto block : loop->GetBlocks()) { in MarkBlocksInLoop()
/arkcompiler/runtime_core/compiler/tests/
Dcleanup_test.cpp207 ASSERT_EQ(1U, BB(3).GetLoop()->GetBlocks().size()); in TEST_F()
208 ASSERT_EQ(3U, BB(3).GetLoop()->GetOuterLoop()->GetBlocks().size()); in TEST_F()
1446 ASSERT_EQ(1U, BB(4).GetLoop()->GetBlocks().size()); in TEST_F()
1447 ASSERT_EQ(1U, BB(5).GetLoop()->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()
1483 EXPECT_EQ(1U, BB(4).GetLoop()->GetBlocks().size()); in TEST_F()
1484 EXPECT_EQ(1U, BB(5).GetLoop()->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()
[all …]
Dlinear_order_new_test.cpp109 EXPECT_EQ(linear_order.GetBlocks().size(), 0); in __anon08df7aa60302()
Dloop_analyzer_test.cpp181 CheckVectorEqualBlocksIdSet(loop1->GetBlocks(), {4, 5, 6}); in TEST_F()
189 CheckVectorEqualBlocksIdSet(loop2->GetBlocks(), {8, 9, 10, 11}); in TEST_F()
197 CheckVectorEqualBlocksIdSet(loop3->GetBlocks(), {3, 7, 12, 13, 14, 15, 16, 17, 18, 19}); in TEST_F()