Lines Matching refs:CallInst
105 CallInst *FindTRECandidate(Instruction *I,
107 bool EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret,
121 bool CanMoveAboveCall(Instruction *I, CallInst *CI);
122 Value *CanTransformAccumulatorRecursion(Instruction *I, CallInst *CI);
294 SmallVector<CallInst *, 32> DeferredTails; in markTails()
303 CallInst *CI = dyn_cast<CallInst>(&I); in markTails()
371 for (CallInst *CI : DeferredTails) { in markTails()
446 bool TailCallElim::CanMoveAboveCall(Instruction *I, CallInst *CI) { in CanMoveAboveCall()
482 static bool isDynamicConstant(Value *V, CallInst *CI, ReturnInst *RI) { in isDynamicConstant()
516 static Value *getCommonReturnValue(ReturnInst *IgnoreRI, CallInst *CI) { in getCommonReturnValue()
543 CallInst *CI) { in CanTransformAccumulatorRecursion()
569 CallInst*
580 CallInst *CI = nullptr; in FindTRECandidate()
583 CI = dyn_cast<CallInst>(BBI); in FindTRECandidate()
620 bool TailCallElim::EliminateRecursiveTailCall(CallInst *CI, ReturnInst *Ret, in EliminateRecursiveTailCall()
821 if (CallInst *CI = FindTRECandidate(BI, CannotTailCallElimCallsMarkedTail)){ in FoldReturnAndProcessPred()
849 CallInst *CI = FindTRECandidate(Ret, CannotTailCallElimCallsMarkedTail); in ProcessReturningBlock()