Lines Matching refs:Autorelease
668 Constant *NewDecl = EP.get(ARCRuntimeEntryPointKind::Autorelease); in OptimizeAutoreleaseRVCall()
671 Class = ARCInstKind::Autorelease; in OptimizeAutoreleaseRVCall()
886 case ARCInstKind::Autorelease: in OptimizeIndividualCalls()
2024 Instruction *Autorelease, in FindPredecessorRetainWithSafePath() argument
2029 BB, Autorelease, DepInsts, Visited, PA); in FindPredecessorRetainWithSafePath()
2058 auto *Autorelease = dyn_cast_or_null<CallInst>(*DepInsts.begin()); in FindPredecessorAutoreleaseWithSafePath() local
2059 if (!Autorelease) in FindPredecessorAutoreleaseWithSafePath()
2061 ARCInstKind AutoreleaseClass = GetBasicARCInstKind(Autorelease); in FindPredecessorAutoreleaseWithSafePath()
2064 if (GetArgRCIdentityRoot(Autorelease) != Arg) in FindPredecessorAutoreleaseWithSafePath()
2067 return Autorelease; in FindPredecessorAutoreleaseWithSafePath()
2099 CallInst *Autorelease = FindPredecessorAutoreleaseWithSafePath( in OptimizeReturns() local
2104 if (!Autorelease) in OptimizeReturns()
2108 Arg, &BB, Autorelease, DependingInstructions, Visited, PA); in OptimizeReturns()
2130 << *Autorelease << "\n"); in OptimizeReturns()
2132 EraseInstruction(Autorelease); in OptimizeReturns()
2228 if (UsedInThisFunction & ((1 << unsigned(ARCInstKind::Autorelease)) | in runOnFunction()