Lines Matching refs:II
48 if (InvokeInst *II = dyn_cast<InvokeInst>(BB.getTerminator())) { in runImpl() local
49 SmallVector<Value *, 16> CallArgs(II->args()); in runImpl()
51 II->getOperandBundlesAsDefs(OpBundles); in runImpl()
54 CallInst::Create(II->getFunctionType(), II->getCalledOperand(), in runImpl()
55 CallArgs, OpBundles, "", II->getIterator()); in runImpl()
56 NewCall->takeName(II); in runImpl()
57 NewCall->setCallingConv(II->getCallingConv()); in runImpl()
58 NewCall->setAttributes(II->getAttributes()); in runImpl()
59 NewCall->setDebugLoc(II->getDebugLoc()); in runImpl()
60 II->replaceAllUsesWith(NewCall); in runImpl()
63 BranchInst::Create(II->getNormalDest(), II->getIterator()); in runImpl()
66 II->getUnwindDest()->removePredecessor(&BB); in runImpl()
69 II->eraseFromParent(); in runImpl()