Lines Matching refs:CallInst

289       const CallInst *CI = cast<CallInst>(I);
372 if (const CallInst *CI = dyn_cast<CallInst>(V)) {
449 Value *OldArg = cast<CallInst>(CI)->getArgOperand(0);
474 V = cast<CallInst>(V)->getArgOperand(0);
488 V = cast<CallInst>(V)->getArgOperand(0);
501 V = cast<CallInst>(V)->getArgOperand(0);
510 return StripPointerCastsAndObjCCalls(cast<CallInst>(Inst)->getArgOperand(0));
520 if (isa<CallInst>(V) || isa<InvokeInst>(V) ||
560 cast<CallInst>(Arg)->getArgOperand(0));
900 Inst->replaceAllUsesWith(cast<CallInst>(Inst)->getArgOperand(0));
986 if (Push && cast<CallInst>(Inst)->getArgOperand(0) == Push) {
1199 if (isa<CallInst>(Ur))
2168 cast<CallInst>(Retain)->setCalledFunction(getRetainRVCallee(F.getParent()));
2215 cast<CallInst>(RetainRV)->setCalledFunction(getRetainCallee(F.getParent()));
2241 cast<CallInst>(AutoreleaseRV)->
2279 CallInst *CI = cast<CallInst>(Inst);
2294 CallInst *CI = cast<CallInst>(Inst);
2322 CallInst *Call = cast<CallInst>(Inst);
2331 CallInst *NewCall =
2332 CallInst::Create(getReleaseCallee(F.getParent()),
2346 cast<CallInst>(Inst)->setTailCall();
2352 cast<CallInst>(Inst)->setDoesNotThrow();
2445 CallInst *CInst = cast<CallInst>(Inst);
2451 CallInst *Clone = cast<CallInst>(CInst->clone());
2623 S.RRI.IsTailCallRelease = cast<CallInst>(Inst)->isTailCall();
2855 S.RRI.IsTailCallRelease = cast<CallInst>(Inst)->isTailCall();
3109 CallInst *Call =
3110 CallInst::Create(RetainsToMove.IsRetainBlock ?
3126 CallInst *Call = CallInst::Create(getReleaseCallee(M), MyArg,
3396 CallInst *Call = cast<CallInst>(Inst);
3397 CallInst *EarlierCall = cast<CallInst>(EarlierInst);
3405 CallInst *CI =
3406 CallInst::Create(getRetainCallee(F.getParent()), EarlierCall,
3426 CallInst *Call = cast<CallInst>(Inst);
3427 CallInst *EarlierCall = cast<CallInst>(EarlierInst);
3435 CallInst *CI =
3436 CallInst::Create(getRetainCallee(F.getParent()), EarlierCall,
3478 CallInst *Call = cast<CallInst>(Inst);
3496 CallInst *UserInst = cast<CallInst>(*UI++);
3572 CallInst *Autorelease =
3573 dyn_cast_or_null<CallInst>(*DependingInstructions.begin());
3593 CallInst *Retain =
3594 dyn_cast_or_null<CallInst>(*DependingInstructions.begin());
3621 CallInst *Call =
3622 dyn_cast_or_null<CallInst>(*DependingInstructions.begin());
3768 SmallPtrSet<CallInst *, 8> StoreStrongCalls;
3873 CallInst *Retain = 0;
3889 Retain = dyn_cast_or_null<CallInst>(*DependingInstructions.begin());
3981 CallInst *StoreStrong =
3982 CallInst::Create(getStoreStrongCallee(BB->getParent()->getParent()),
4098 CallInst::Create(IA, "", Inst);
4105 CallInst *CI = cast<CallInst>(Inst);
4132 const Value *Arg = cast<CallInst>(Inst)->getArgOperand(0);
4199 for (SmallPtrSet<CallInst *, 8>::iterator I = StoreStrongCalls.begin(),