Searched refs:GetBlocks (Results 1 – 10 of 10) sorted by relevance
/arkcompiler/runtime_core/compiler/optimizer/analysis/ |
D | linear_order.h | 44 ArenaVector<BasicBlock *> &GetBlocks() in GetBlocks() function 49 const ArenaVector<BasicBlock *> &GetBlocks() const in GetBlocks() function
|
D | rpo.h | 78 const ArenaVector<BasicBlock *> &GetBlocks() const in GetBlocks() function
|
D | loop_analyzer.h | 108 ArenaVector<BasicBlock *> &GetBlocks() in GetBlocks() function 112 const ArenaVector<BasicBlock *> &GetBlocks() const in GetBlocks() function
|
D | loop_analyzer.cpp | 374 for (auto block : GetBlocks()) { in CheckInfinity() 416 for (auto block : loop->GetBlocks()) { in IsLoopSingleBackEdgeExitPoint()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | graph_cloner.cpp | 98 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()
|
D | graph.cpp | 133 return GetValidAnalysis<Rpo>().GetBlocks(); in GetBlocksRPO() 138 return GetValidAnalysis<LinearOrder>().GetBlocks(); in GetBlocksLinearOrder()
|
D | graph_checker.cpp | 368 for ([[maybe_unused]] auto block : loop->GetBlocks()) { in MarkBlocksInLoop()
|
/arkcompiler/runtime_core/compiler/tests/ |
D | cleanup_test.cpp | 207 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 …]
|
D | linear_order_new_test.cpp | 109 EXPECT_EQ(linear_order.GetBlocks().size(), 0); in __anon08df7aa60302()
|
D | loop_analyzer_test.cpp | 181 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()
|