Searched refs:GetPreHeader (Results 1 – 10 of 10) sorted by relevance
/arkcompiler/runtime_core/compiler/tests/ |
D | loop_analyzer_test.cpp | 179 ASSERT_EQ(loop1->GetPreHeader(), &BB(3)); in TEST_F() 187 ASSERT_EQ(loop2->GetPreHeader(), &BB(7)); in TEST_F() 195 ASSERT_EQ(loop3->GetPreHeader(), &BB(2)); in TEST_F() 303 auto pre_header = loop->GetPreHeader(); in TEST_F() 362 CheckVectorEqualBlocksIdSet(loop1->GetPreHeader()->GetPredsBlocks(), {0}); in TEST_F() 363 CheckVectorEqualBlocksIdSet(loop1->GetPreHeader()->GetSuccsBlocks(), {2}); in TEST_F() 364 CheckVectorEqualBlocksIdSet(loop2->GetPreHeader()->GetPredsBlocks(), {3}); in TEST_F() 365 CheckVectorEqualBlocksIdSet(loop2->GetPreHeader()->GetSuccsBlocks(), {4}); in TEST_F()
|
D | dom_tree_test.cpp | 303 CheckImmediateDominators(GetGraph()->GetStartBlock(), {BB(2).GetLoop()->GetPreHeader()}); in TEST_F() 304 CheckImmediateDominators(&BB(2), {&BB(3), BB(4).GetLoop()->GetPreHeader()}); in TEST_F()
|
D | cleanup_test.cpp | 206 ASSERT_EQ(&BB(2), BB(3).GetLoop()->GetPreHeader()); in TEST_F() 1444 ASSERT_EQ(&BB(3), BB(4).GetLoop()->GetPreHeader()); in TEST_F() 1445 ASSERT_EQ(&BB(3), BB(5).GetLoop()->GetPreHeader()); in TEST_F() 1481 EXPECT_EQ(&BB(2), BB(4).GetLoop()->GetPreHeader()); in TEST_F() 1482 EXPECT_EQ(&BB(2), BB(5).GetLoop()->GetPreHeader()); in TEST_F()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
D | graph_cloner.cpp | 96 cloned_loop->SetPreHeader(GetClone(loop->GetPreHeader())); in CopyLoop() 508 auto remaining_inst = phi->CastToPhi()->GetPhiInput(header->GetLoop()->GetPreHeader()); in RemoveLoopBackEdge() 599 ASSERT(block->GetLoop()->GetPreHeader() == replaceable_pred); in CloneLoopHeader() 721 ASSERT(loop->GetPreHeader() != nullptr); in CloneLoop() 777 auto pre_header = loop->GetPreHeader(); in PrepareLoopToClone() 812 if (in_loop->GetPreHeader() == outside_succ) { in PrepareLoopToClone() 831 unroll_data->pre_header = loop->GetPreHeader(); in PrepareLoopToClone() 988 auto pre_header = loop->GetPreHeader(); in IsLoopClonable()
|
D | basicblock.cpp | 303 if (inner_loop->GetPreHeader() == succ) { in JoinSuccessorBlock() 336 if (inner_loop->GetPreHeader() == this) { in SelectsFixLoopInfo()
|
D | graph_checker.cpp | 366 …ASSERT(loop->IsIrreducible() || loop->IsRoot() || loop->IsTryCatchLoop() || loop->GetPreHeader() !… in MarkBlocksInLoop() 414 ASSERT(GetGraph()->GetRootLoop()->GetPreHeader() == nullptr); in CheckLoops()
|
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/ |
D | inst_builder.cpp | 57 ASSERT(current_bb_->GetLoop()->GetPreHeader()); in UpdateDefsForLoopHead() 58 auto pred_defs = defs_[current_bb_->GetLoop()->GetPreHeader()->GetId()]; in UpdateDefsForLoopHead()
|
/arkcompiler/runtime_core/compiler/optimizer/analysis/ |
D | loop_analyzer.h | 58 BasicBlock *GetPreHeader() const in GetPreHeader() function
|
D | loop_analyzer.cpp | 323 ASSERT(block != inner_loop->GetPreHeader()); in RemoveBlock()
|
/arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
D | cleanup.cpp | 114 if (succ == bb || succ->GetLoop()->GetPreHeader() == bb) { in RunOnce()
|