Lines Matching refs:BB1

1424 static bool isSafeToHoistInvoke(BasicBlock *BB1, BasicBlock *BB2,  in isSafeToHoistInvoke()  argument
1426 for (BasicBlock *Succ : successors(BB1)) { in isSafeToHoistInvoke()
1428 Value *BB1V = PN.getIncomingValueForBlock(BB1); in isSafeToHoistInvoke()
1786 BasicBlock *BB1 = I1->getParent(); in hoistSuccIdenticalTerminatorToSwitchOrIf() local
1801 if (isa<InvokeInst>(I1) && (!BI || !isSafeToHoistInvoke(BB1, BB2, I1, I2))) in hoistSuccIdenticalTerminatorToSwitchOrIf()
1808 for (BasicBlock *Succ : successors(BB1)) { in hoistSuccIdenticalTerminatorToSwitchOrIf()
1810 Value *BB1V = PN.getIncomingValueForBlock(BB1); in hoistSuccIdenticalTerminatorToSwitchOrIf()
1859 for (BasicBlock *Succ : successors(BB1)) { in hoistSuccIdenticalTerminatorToSwitchOrIf()
1861 Value *BB1V = PN.getIncomingValueForBlock(BB1); in hoistSuccIdenticalTerminatorToSwitchOrIf()
1882 if (PN.getIncomingBlock(i) == BB1 || PN.getIncomingBlock(i) == BB2) in hoistSuccIdenticalTerminatorToSwitchOrIf()
1891 for (BasicBlock *Succ : successors(BB1)) { in hoistSuccIdenticalTerminatorToSwitchOrIf()
1892 AddPredecessorToBlock(Succ, TIParent, BB1); in hoistSuccIdenticalTerminatorToSwitchOrIf()
4005 static StoreInst *findUniqueStoreInBlocks(BasicBlock *BB1, BasicBlock *BB2) { in findUniqueStoreInBlocks() argument
4007 for (auto *BB : {BB1, BB2}) { in findUniqueStoreInBlocks()
7390 BasicBlock *BB1 = BI->getSuccessor(0); in mergeNestedCondBranch() local
7406 if (!IsSimpleSuccessor(BB1, BB1BI) || !IsSimpleSuccessor(BB2, BB2BI)) in mergeNestedCondBranch()
7419 BB1->removePredecessor(BB); in mergeNestedCondBranch()
7425 Updates.push_back({DominatorTree::Delete, BB, BB1}); in mergeNestedCondBranch()