Searched refs:dominator (Results 1 – 6 of 6) sorted by relevance
23 void CheckImmediateDominators(BasicBlock *dominator, const std::set<BasicBlock *> &&expected) in CheckImmediateDominators() argument25 ASSERT_EQ(dominator->GetDominatedBlocks().size(), expected.size()); in CheckImmediateDominators()27 for (auto block : dominator->GetDominatedBlocks()) { in CheckImmediateDominators()28 EXPECT_EQ(block->GetDominator(), dominator); in CheckImmediateDominators()43 void CheckListDominators(BasicBlock *dominator, const std::vector<BasicBlock *> &&expected) in CheckListDominators() argument46 EXPECT_EQ(dominator->IsDominate(dom), Condition); in CheckListDominators()
181 void DominatorsTree::SetDomPair(BasicBlock *dominator, BasicBlock *block) in SetDomPair() argument183 block->SetDominator(dominator); in SetDomPair()184 dominator->AddDominatedBlock(block); in SetDomPair()
46 static void SetDomPair(BasicBlock *dominator, BasicBlock *block);
257 auto dominator = block->GetDominator(); in FinishBlockRemoval() local258 if (dominator != nullptr) { in FinishBlockRemoval()259 dominator->RemoveDominatedBlock(block); in FinishBlockRemoval()262 dominator->AddDominatedBlock(dom_block); in FinishBlockRemoval()263 dom_block->SetDominator(dominator); in FinishBlockRemoval()
626 auto dominator = GetGraph()->CreateEmptyBlock(); in CreateImmediateDominator() local630 GetDominator()->AddDominatedBlock(dominator); in CreateImmediateDominator()631 dominator->SetDominator(GetDominator()); in CreateImmediateDominator()633 dominator->AddDominatedBlock(this); in CreateImmediateDominator()634 SetDominator(dominator); in CreateImmediateDominator()635 return dominator; in CreateImmediateDominator()
299 void SetDominator(BasicBlock *dominator) in SetDominator() argument301 dominator_ = dominator; in SetDominator()