Lines Matching refs:MergedInvoke
2393 InvokeInst *MergedInvoke = [&Invokes, HasNormalDest]() { in MergeCompatibleInvokesImpl() local
2404 auto *MergedInvoke = cast<InvokeInst>(II0->clone()); in MergeCompatibleInvokesImpl() local
2406 MergedInvokeBB->getInstList().push_back(MergedInvoke); in MergeCompatibleInvokesImpl()
2414 MergedInvoke->setNormalDest(MergedNormalDest); in MergeCompatibleInvokesImpl()
2419 return MergedInvoke; in MergeCompatibleInvokesImpl()
2427 {DominatorTree::Insert, II->getParent(), MergedInvoke->getParent()}); in MergeCompatibleInvokesImpl()
2431 for (BasicBlock *SuccBBOfMergedInvoke : successors(MergedInvoke)) in MergeCompatibleInvokesImpl()
2432 Updates.push_back({DominatorTree::Insert, MergedInvoke->getParent(), in MergeCompatibleInvokesImpl()
2446 for (Use &U : MergedInvoke->operands()) { in MergeCompatibleInvokesImpl()
2448 if (MergedInvoke->isCallee(&U)) { in MergeCompatibleInvokesImpl()
2451 } else if (!MergedInvoke->isDataOperand(&U)) in MergeCompatibleInvokesImpl()
2463 U->getType(), /*NumReservedValues=*/Invokes.size(), "", MergedInvoke); in MergeCompatibleInvokesImpl()
2473 for (BasicBlock *Succ : successors(MergedInvoke)) in MergeCompatibleInvokesImpl()
2474 AddPredecessorToBlock(Succ, /*NewPred=*/MergedInvoke->getParent(), in MergeCompatibleInvokesImpl()
2493 BranchInst::Create(MergedInvoke->getParent(), II->getParent()); in MergeCompatibleInvokesImpl()
2494 II->replaceAllUsesWith(MergedInvoke); in MergeCompatibleInvokesImpl()
2498 MergedInvoke->setDebugLoc(MergedDebugLoc); in MergeCompatibleInvokesImpl()