Searched refs:IfBlock1 (Results 1 – 4 of 4) sorted by relevance
1307 BasicBlock *IfBlock1 = PN->getIncomingBlock(0); in FoldTwoEntryPHINode() local1309 if (cast<BranchInst>(IfBlock1->getTerminator())->isConditional()) { in FoldTwoEntryPHINode()1310 IfBlock1 = 0; in FoldTwoEntryPHINode()1312 DomBlock = *pred_begin(IfBlock1); in FoldTwoEntryPHINode()1313 for (BasicBlock::iterator I = IfBlock1->begin();!isa<TerminatorInst>(I);++I) in FoldTwoEntryPHINode()1345 if (IfBlock1) in FoldTwoEntryPHINode()1347 IfBlock1->getInstList(), IfBlock1->begin(), in FoldTwoEntryPHINode()1348 IfBlock1->getTerminator()); in FoldTwoEntryPHINode()
160 TEST(CommentHandlerTest, IfBlock1) { in TEST() argument
2333 BasicBlock *IfBlock1 = PN->getIncomingBlock(0); in FoldTwoEntryPHINode() local2335 if (cast<BranchInst>(IfBlock1->getTerminator())->isConditional()) { in FoldTwoEntryPHINode()2336 IfBlock1 = nullptr; in FoldTwoEntryPHINode()2338 DomBlock = *pred_begin(IfBlock1); in FoldTwoEntryPHINode()2339 for (BasicBlock::iterator I = IfBlock1->begin(); !isa<TerminatorInst>(I); in FoldTwoEntryPHINode()2374 if (IfBlock1) { in FoldTwoEntryPHINode()2375 for (auto &I : *IfBlock1) in FoldTwoEntryPHINode()2378 IfBlock1->getInstList(), IfBlock1->begin(), in FoldTwoEntryPHINode()2379 IfBlock1->getTerminator()->getIterator()); in FoldTwoEntryPHINode()
1987 BasicBlock *IfBlock1 = PN->getIncomingBlock(0); in FoldTwoEntryPHINode() local1989 if (cast<BranchInst>(IfBlock1->getTerminator())->isConditional()) { in FoldTwoEntryPHINode()1990 IfBlock1 = nullptr; in FoldTwoEntryPHINode()1992 DomBlock = *pred_begin(IfBlock1); in FoldTwoEntryPHINode()1993 for (BasicBlock::iterator I = IfBlock1->begin(); !isa<TerminatorInst>(I); in FoldTwoEntryPHINode()2027 if (IfBlock1) in FoldTwoEntryPHINode()2029 IfBlock1->getInstList(), IfBlock1->begin(), in FoldTwoEntryPHINode()2030 IfBlock1->getTerminator()->getIterator()); in FoldTwoEntryPHINode()