Lines Matching refs:ToReplace
1345 CallInst *ToReplace = cast<CallInst>(CS.getInstruction()); in makeStatepointExplicitImpl() local
1350 Call->setTailCall(ToReplace->isTailCall()); in makeStatepointExplicitImpl()
1351 Call->setCallingConv(ToReplace->getCallingConv()); in makeStatepointExplicitImpl()
1355 AttributeSet NewAttrs = legalizeCallAttributes(ToReplace->getAttributes()); in makeStatepointExplicitImpl()
1365 assert(ToReplace->getNextNode() && "Not a terminator, must have next!"); in makeStatepointExplicitImpl()
1366 Builder.SetInsertPoint(ToReplace->getNextNode()); in makeStatepointExplicitImpl()
1367 Builder.SetCurrentDebugLocation(ToReplace->getNextNode()->getDebugLoc()); in makeStatepointExplicitImpl()
1369 InvokeInst *ToReplace = cast<InvokeInst>(CS.getInstruction()); in makeStatepointExplicitImpl() local
1375 StatepointID, NumPatchBytes, CallTarget, ToReplace->getNormalDest(), in makeStatepointExplicitImpl()
1376 ToReplace->getUnwindDest(), Flags, CallArgs, TransitionArgs, DeoptArgs, in makeStatepointExplicitImpl()
1379 Invoke->setCallingConv(ToReplace->getCallingConv()); in makeStatepointExplicitImpl()
1383 AttributeSet NewAttrs = legalizeCallAttributes(ToReplace->getAttributes()); in makeStatepointExplicitImpl()
1392 BasicBlock *UnwindBlock = ToReplace->getUnwindDest(); in makeStatepointExplicitImpl()
1398 Builder.SetCurrentDebugLocation(ToReplace->getDebugLoc()); in makeStatepointExplicitImpl()
1409 BasicBlock *NormalDest = ToReplace->getNormalDest(); in makeStatepointExplicitImpl()