Home
last modified time | relevance | path

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

/arkcompiler/runtime_core/compiler/tests/
Dloop_analyzer_test.cpp179 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()
Ddom_tree_test.cpp303 CheckImmediateDominators(GetGraph()->GetStartBlock(), {BB(2).GetLoop()->GetPreHeader()}); in TEST_F()
304 CheckImmediateDominators(&BB(2), {&BB(3), BB(4).GetLoop()->GetPreHeader()}); in TEST_F()
Dcleanup_test.cpp206 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/
Dgraph_cloner.cpp96 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()
Dbasicblock.cpp303 if (inner_loop->GetPreHeader() == succ) { in JoinSuccessorBlock()
336 if (inner_loop->GetPreHeader() == this) { in SelectsFixLoopInfo()
Dgraph_checker.cpp366 …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/
Dinst_builder.cpp57 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/
Dloop_analyzer.h58 BasicBlock *GetPreHeader() const in GetPreHeader() function
Dloop_analyzer.cpp323 ASSERT(block != inner_loop->GetPreHeader()); in RemoveBlock()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dcleanup.cpp114 if (succ == bb || succ->GetLoop()->GetPreHeader() == bb) { in RunOnce()