Lines Matching refs:SecondEntryBlock
397 BasicBlock *SecondEntryBlock = CInst2->getParent(); in MergeIfRegion() local
398 if (SecondEntryBlock->hasAddressTaken()) in MergeIfRegion()
402 Value *IfCond1 = GetIfCondition(SecondEntryBlock, IfTrue1, IfFalse1); in MergeIfRegion()
412 if ((IfTrue2 != SecondEntryBlock) && (IfFalse2 != SecondEntryBlock)) in MergeIfRegion()
415 TerminatorInst *PTI2 = SecondEntryBlock->getTerminator(); in MergeIfRegion()
416 Instruction *PBI2 = SecondEntryBlock->begin(); in MergeIfRegion()
418 if (!CompareIfRegionBlock(FirstEntryBlock, SecondEntryBlock, IfTrue1, in MergeIfRegion()
422 if (!CompareIfRegionBlock(FirstEntryBlock, SecondEntryBlock, IfFalse1, in MergeIfRegion()
438 .splice(FirstEntryBlock->end(), SecondEntryBlock->getInstList()); in MergeIfRegion()
461 SecondEntryBlock->dropAllReferences(); in MergeIfRegion()
462 SecondEntryBlock->eraseFromParent(); in MergeIfRegion()