reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
751 if (!II) 754 LandingPads.insert(II->getLandingPadInst()); 755 IRB.SetInsertPoint(II); 757 bool NeedInvoke = AllowExceptions && canThrow(II->getCalledValue()); 760 Value *Threw = wrapInvoke(II); 761 ToErase.push_back(II); 765 IRB.CreateCondBr(Cmp, II->getUnwindDest(), II->getNormalDest()); 765 IRB.CreateCondBr(Cmp, II->getUnwindDest(), II->getNormalDest()); 770 SmallVector<Value *, 16> Args(II->arg_begin(), II->arg_end()); 770 SmallVector<Value *, 16> Args(II->arg_begin(), II->arg_end()); 772 IRB.CreateCall(II->getFunctionType(), II->getCalledValue(), Args); 772 IRB.CreateCall(II->getFunctionType(), II->getCalledValue(), Args); 773 NewCall->takeName(II); 774 NewCall->setCallingConv(II->getCallingConv()); 775 NewCall->setDebugLoc(II->getDebugLoc()); 776 NewCall->setAttributes(II->getAttributes()); 777 II->replaceAllUsesWith(NewCall); 778 ToErase.push_back(II); 780 IRB.CreateBr(II->getNormalDest()); 783 II->getUnwindDest()->removePredecessor(&BB);