Home | History | Annotate | Download | only in IPO

Lines Matching refs:II

187     if (InvokeInst *II = dyn_cast<InvokeInst>(BB->getTerminator()))
188 if (II->doesNotThrow() && canSimplifyInvokeNoUnwind(F)) {
189 SmallVector<Value*, 8> Args(II->arg_begin(), II->arg_end());
191 II->getOperandBundlesAsDefs(OpBundles);
194 CallInst *Call = CallInst::Create(II->getCalledValue(), Args, OpBundles,
195 "", II);
196 Call->takeName(II);
197 Call->setCallingConv(II->getCallingConv());
198 Call->setAttributes(II->getAttributes());
199 Call->setDebugLoc(II->getDebugLoc());
205 II->replaceAllUsesWith(Call);
206 BasicBlock *UnwindBlock = II->getUnwindDest();
207 UnwindBlock->removePredecessor(II->getParent());
211 BranchInst::Create(II->getNormalDest(), II);
260 } else if (InvokeInst *II = dyn_cast<InvokeInst>(I))
261 CGN->removeCallEdgeFor(II);