Lines Matching refs:RetVal
609 Value *RetVal = Ret->getReturnValue()->stripPointerCasts(); in addArgumentReturnedAttrs() local
610 if (!isa<Argument>(RetVal) || RetVal->getType() != F->getReturnType()) in addArgumentReturnedAttrs()
614 RetArg = RetVal; in addArgumentReturnedAttrs()
615 else if (RetArg != RetVal) in addArgumentReturnedAttrs()
880 Value *RetVal = FlowsToReturn[i]; in isFunctionMallocLike() local
882 if (Constant *C = dyn_cast<Constant>(RetVal)) { in isFunctionMallocLike()
889 if (isa<Argument>(RetVal)) in isFunctionMallocLike()
892 if (Instruction *RVI = dyn_cast<Instruction>(RetVal)) in isFunctionMallocLike()
929 if (PointerMayBeCaptured(RetVal, false, /*StoreCaptures=*/false)) in isFunctionMallocLike()
995 Value *RetVal = FlowsToReturn[i]; in isReturnNonNull() local
998 if (isKnownNonZero(RetVal, DL)) in isReturnNonNull()
1003 Instruction *RVI = dyn_cast<Instruction>(RetVal); in isReturnNonNull()