Searched refs:IfBlock2 (Results 1 – 4 of 4) sorted by relevance
1308 BasicBlock *IfBlock2 = PN->getIncomingBlock(1); in FoldTwoEntryPHINode() local1322 if (cast<BranchInst>(IfBlock2->getTerminator())->isConditional()) { in FoldTwoEntryPHINode()1323 IfBlock2 = 0; in FoldTwoEntryPHINode()1325 DomBlock = *pred_begin(IfBlock2); in FoldTwoEntryPHINode()1326 for (BasicBlock::iterator I = IfBlock2->begin();!isa<TerminatorInst>(I);++I) in FoldTwoEntryPHINode()1349 if (IfBlock2) in FoldTwoEntryPHINode()1351 IfBlock2->getInstList(), IfBlock2->begin(), in FoldTwoEntryPHINode()1352 IfBlock2->getTerminator()); in FoldTwoEntryPHINode()
171 TEST(CommentHandlerTest, IfBlock2) { in TEST() argument
2334 BasicBlock *IfBlock2 = PN->getIncomingBlock(1); in FoldTwoEntryPHINode() local2349 if (cast<BranchInst>(IfBlock2->getTerminator())->isConditional()) { in FoldTwoEntryPHINode()2350 IfBlock2 = nullptr; in FoldTwoEntryPHINode()2352 DomBlock = *pred_begin(IfBlock2); in FoldTwoEntryPHINode()2353 for (BasicBlock::iterator I = IfBlock2->begin(); !isa<TerminatorInst>(I); in FoldTwoEntryPHINode()2381 if (IfBlock2) { in FoldTwoEntryPHINode()2382 for (auto &I : *IfBlock2) in FoldTwoEntryPHINode()2385 IfBlock2->getInstList(), IfBlock2->begin(), in FoldTwoEntryPHINode()2386 IfBlock2->getTerminator()->getIterator()); in FoldTwoEntryPHINode()
1988 BasicBlock *IfBlock2 = PN->getIncomingBlock(1); in FoldTwoEntryPHINode() local2003 if (cast<BranchInst>(IfBlock2->getTerminator())->isConditional()) { in FoldTwoEntryPHINode()2004 IfBlock2 = nullptr; in FoldTwoEntryPHINode()2006 DomBlock = *pred_begin(IfBlock2); in FoldTwoEntryPHINode()2007 for (BasicBlock::iterator I = IfBlock2->begin(); !isa<TerminatorInst>(I); in FoldTwoEntryPHINode()2031 if (IfBlock2) in FoldTwoEntryPHINode()2033 IfBlock2->getInstList(), IfBlock2->begin(), in FoldTwoEntryPHINode()2034 IfBlock2->getTerminator()->getIterator()); in FoldTwoEntryPHINode()