Lines Matching refs:getTerminator
139 BranchInst *PBI = dyn_cast<BranchInst>(Pred->getTerminator()); in FlattenParallelAndOr()
211 BranchInst *BPS = dyn_cast<BranchInst>(PS->getTerminator()); in FlattenParallelAndOr()
222 TerminatorInst *TBB = LastCondBlock->getTerminator(); in FlattenParallelAndOr()
225 BranchInst *PBI1 = dyn_cast<BranchInst>(PS1->getTerminator()); in FlattenParallelAndOr()
226 BranchInst *PBI2 = dyn_cast<BranchInst>(PS2->getTerminator()); in FlattenParallelAndOr()
231 (PS1->getTerminator()->getSuccessor(0) != PS2)) { in FlattenParallelAndOr()
234 (PS2->getTerminator()->getSuccessor(0) != PS1)) in FlattenParallelAndOr()
242 BranchInst *BI = dyn_cast<BranchInst>(CurrBlock->getTerminator()); in FlattenParallelAndOr()
269 BranchInst *PBI = dyn_cast<BranchInst>(FirstCondBlock->getTerminator()); in FlattenParallelAndOr()
280 PBI = cast<BranchInst>(FirstCondBlock->getTerminator()); in FlattenParallelAndOr()
316 TerminatorInst *PTI2 = Head2->getTerminator(); in CompareIfRegionBlock()
329 BasicBlock::iterator end1 = Block1->getTerminator()->getIterator(); in CompareIfRegionBlock()
331 BasicBlock::iterator end2 = Block2->getTerminator()->getIterator(); in CompareIfRegionBlock()
413 TerminatorInst *PTI2 = SecondEntryBlock->getTerminator(); in MergeIfRegion()
437 BranchInst *PBI = dyn_cast<BranchInst>(FirstEntryBlock->getTerminator()); in MergeIfRegion()
468 assert(BB->getTerminator() && "Degenerate basic block encountered!"); in run()