Lines Matching refs:Autorelease
663 Constant *NewDecl = EP.get(ARCRuntimeEntryPointKind::Autorelease); in OptimizeAutoreleaseRVCall()
666 Class = ARCInstKind::Autorelease; in OptimizeAutoreleaseRVCall()
881 case ARCInstKind::Autorelease: in OptimizeIndividualCalls()
2022 Instruction *Autorelease, in FindPredecessorRetainWithSafePath() argument
2027 BB, Autorelease, DepInsts, Visited, PA); in FindPredecessorRetainWithSafePath()
2056 auto *Autorelease = dyn_cast_or_null<CallInst>(*DepInsts.begin()); in FindPredecessorAutoreleaseWithSafePath() local
2057 if (!Autorelease) in FindPredecessorAutoreleaseWithSafePath()
2059 ARCInstKind AutoreleaseClass = GetBasicARCInstKind(Autorelease); in FindPredecessorAutoreleaseWithSafePath()
2062 if (GetArgRCIdentityRoot(Autorelease) != Arg) in FindPredecessorAutoreleaseWithSafePath()
2065 return Autorelease; in FindPredecessorAutoreleaseWithSafePath()
2098 CallInst *Autorelease = in OptimizeReturns() local
2105 if (!Autorelease) in OptimizeReturns()
2109 FindPredecessorRetainWithSafePath(Arg, BB, Autorelease, in OptimizeReturns()
2132 << *Autorelease << "\n"); in OptimizeReturns()
2134 EraseInstruction(Autorelease); in OptimizeReturns()
2230 if (UsedInThisFunction & ((1 << unsigned(ARCInstKind::Autorelease)) | in runOnFunction()