Home
last modified time | relevance | path

Searched refs:SecondEntryBlock (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DFlattenCFG.cpp395 BasicBlock *SecondEntryBlock = CInst2->getParent(); in MergeIfRegion() local
396 if (SecondEntryBlock->hasAddressTaken()) in MergeIfRegion()
400 Value *IfCond1 = GetIfCondition(SecondEntryBlock, IfTrue1, IfFalse1); in MergeIfRegion()
410 if ((IfTrue2 != SecondEntryBlock) && (IfFalse2 != SecondEntryBlock)) in MergeIfRegion()
413 TerminatorInst *PTI2 = SecondEntryBlock->getTerminator(); in MergeIfRegion()
414 Instruction *PBI2 = &SecondEntryBlock->front(); in MergeIfRegion()
416 if (!CompareIfRegionBlock(FirstEntryBlock, SecondEntryBlock, IfTrue1, in MergeIfRegion()
420 if (!CompareIfRegionBlock(FirstEntryBlock, SecondEntryBlock, IfFalse1, in MergeIfRegion()
436 .splice(FirstEntryBlock->end(), SecondEntryBlock->getInstList()); in MergeIfRegion()
459 SecondEntryBlock->dropAllReferences(); in MergeIfRegion()
[all …]