Home
last modified time | relevance | path

Searched refs:Autorelease (Results 1 – 21 of 21) sorted by relevance

/external/llvm/lib/Transforms/ObjCARC/
DARCRuntimeEntryPoints.h35 Autorelease, enumerator
51 Autorelease(nullptr), in ARCRuntimeEntryPoints()
63 Autorelease = nullptr; in init()
83 case ARCRuntimeEntryPointKind::Autorelease: in get()
84 return getI8XRetI8XEntryPoint(Autorelease, "objc_autorelease", true); in get()
114 Constant *Autorelease; variable
DObjCARCContract.cpp86 contractAutorelease(Function &F, Instruction *Autorelease,
147 Function &F, Instruction *Autorelease, ARCInstKind Class, in contractAutorelease() argument
150 const Value *Arg = GetArgRCIdentityRoot(Autorelease); in contractAutorelease()
157 Autorelease->getParent(), Autorelease, in contractAutorelease()
161 Autorelease->getParent(), Autorelease, in contractAutorelease()
181 " Autorelease:" << *Autorelease << "\n" in contractAutorelease()
191 EraseInstruction(Autorelease); in contractAutorelease()
417 case ARCInstKind::Autorelease: in tryToPeepholeInstruction()
DObjCARCOpts.cpp668 Constant *NewDecl = EP.get(ARCRuntimeEntryPointKind::Autorelease); in OptimizeAutoreleaseRVCall()
671 Class = ARCInstKind::Autorelease; in OptimizeAutoreleaseRVCall()
886 case ARCInstKind::Autorelease: in OptimizeIndividualCalls()
2014 Instruction *Autorelease, in FindPredecessorRetainWithSafePath() argument
2019 BB, Autorelease, DepInsts, Visited, PA); in FindPredecessorRetainWithSafePath()
2048 auto *Autorelease = dyn_cast_or_null<CallInst>(*DepInsts.begin()); in FindPredecessorAutoreleaseWithSafePath() local
2049 if (!Autorelease) in FindPredecessorAutoreleaseWithSafePath()
2051 ARCInstKind AutoreleaseClass = GetBasicARCInstKind(Autorelease); in FindPredecessorAutoreleaseWithSafePath()
2054 if (GetArgRCIdentityRoot(Autorelease) != Arg) in FindPredecessorAutoreleaseWithSafePath()
2057 return Autorelease; in FindPredecessorAutoreleaseWithSafePath()
[all …]
DObjCARCExpand.cpp104 case ARCInstKind::Autorelease: in runOnFunction()
DDependencyAnalysis.cpp39 case ARCInstKind::Autorelease: in CanAlterRefCount()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/
DARCRuntimeEntryPoints.h46 Autorelease, enumerator
65 Autorelease = nullptr; in init()
85 case ARCRuntimeEntryPointKind::Autorelease: in get()
86 return getI8XRetI8XEntryPoint(Autorelease, "objc_autorelease", true); in get()
120 Constant *Autorelease = nullptr; variable
DObjCARCContract.cpp88 contractAutorelease(Function &F, Instruction *Autorelease,
152 Function &F, Instruction *Autorelease, ARCInstKind Class, in contractAutorelease() argument
155 const Value *Arg = GetArgRCIdentityRoot(Autorelease); in contractAutorelease()
162 Autorelease->getParent(), Autorelease, in contractAutorelease()
166 Autorelease->getParent(), Autorelease, in contractAutorelease()
187 << *Autorelease in contractAutorelease()
199 EraseInstruction(Autorelease); in contractAutorelease()
447 case ARCInstKind::Autorelease: in tryToPeepholeInstruction()
DObjCARCOpts.cpp683 Constant *NewDecl = EP.get(ARCRuntimeEntryPointKind::Autorelease); in OptimizeAutoreleaseRVCall()
686 Class = ARCInstKind::Autorelease; in OptimizeAutoreleaseRVCall()
942 case ARCInstKind::Autorelease: in OptimizeIndividualCalls()
2036 Instruction *Autorelease, in FindPredecessorRetainWithSafePath() argument
2041 BB, Autorelease, DepInsts, Visited, PA); in FindPredecessorRetainWithSafePath()
2070 auto *Autorelease = dyn_cast_or_null<CallInst>(*DepInsts.begin()); in FindPredecessorAutoreleaseWithSafePath() local
2071 if (!Autorelease) in FindPredecessorAutoreleaseWithSafePath()
2073 ARCInstKind AutoreleaseClass = GetBasicARCInstKind(Autorelease); in FindPredecessorAutoreleaseWithSafePath()
2076 if (GetArgRCIdentityRoot(Autorelease) != Arg) in FindPredecessorAutoreleaseWithSafePath()
2079 return Autorelease; in FindPredecessorAutoreleaseWithSafePath()
[all …]
DObjCARCExpand.cpp105 case ARCInstKind::Autorelease: in runOnFunction()
DDependencyAnalysis.cpp39 case ARCInstKind::Autorelease: in CanAlterRefCount()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DObjCARCInstKind.cpp43 case ARCInstKind::Autorelease: in operator <<()
114 .Case("objc_autorelease", ARCInstKind::Autorelease) in GetFunctionClass()
346 case ARCInstKind::Autorelease: in IsUser()
379 case ARCInstKind::Autorelease: in IsRetain()
408 case ARCInstKind::Autorelease: in IsAutorelease()
446 case ARCInstKind::Autorelease: in IsForwarding()
482 case ARCInstKind::Autorelease: in IsNoopOnNull()
520 case ARCInstKind::Autorelease: in IsAlwaysTail()
553 case ARCInstKind::Autorelease: in IsNeverTail()
594 case ARCInstKind::Autorelease: in IsNoThrow()
[all …]
DObjCARCAliasAnalysis.cpp117 case ARCInstKind::Autorelease: in getModRefInfo()
/external/llvm/lib/Analysis/
DObjCARCInstKind.cpp43 case ARCInstKind::Autorelease: in operator <<()
112 .Case("objc_autorelease", ARCInstKind::Autorelease) in GetFunctionClass()
340 case ARCInstKind::Autorelease: in IsUser()
373 case ARCInstKind::Autorelease: in IsRetain()
402 case ARCInstKind::Autorelease: in IsAutorelease()
440 case ARCInstKind::Autorelease: in IsForwarding()
476 case ARCInstKind::Autorelease: in IsNoopOnNull()
514 case ARCInstKind::Autorelease: in IsAlwaysTail()
547 case ARCInstKind::Autorelease: in IsNeverTail()
588 case ARCInstKind::Autorelease: in IsNoThrow()
[all …]
DObjCARCAliasAnalysis.cpp117 case ARCInstKind::Autorelease: in getModRefInfo()
/external/llvm/include/llvm/Analysis/
DObjCARCInstKind.h36 Autorelease, ///< objc_autorelease enumerator
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DObjCARCInstKind.h36 Autorelease, ///< objc_autorelease enumerator
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DObjCARC.cpp3158 CallInst *Autorelease = in OptimizeReturns() local
3160 if (!Autorelease) in OptimizeReturns()
3163 GetBasicInstructionClass(Autorelease); in OptimizeReturns()
3166 if (GetObjCArg(Autorelease) != Arg) in OptimizeReturns()
3175 BB, Autorelease, DependingInstructions, Visited, PA); in OptimizeReturns()
3195 Autorelease->setCalledFunction(getAutoreleaseRVCallee(F.getParent())); in OptimizeReturns()
3224 EraseInstruction(Autorelease); in OptimizeReturns()
3351 bool ContractAutorelease(Function &F, Instruction *Autorelease,
3449 ObjCARCContract::ContractAutorelease(Function &F, Instruction *Autorelease, in ContractAutorelease() argument
3455 const Value *Arg = GetObjCArg(Autorelease); in ContractAutorelease()
[all …]
/external/clang/include/clang/StaticAnalyzer/Checkers/
DObjCRetainCount.h40 Autorelease, enumerator
/external/clang/lib/StaticAnalyzer/Checkers/
DBasicObjCFoundationChecks.cpp531 mutable IdentifierInfo *Retain, *Release, *MakeCollectable, *Autorelease; member in __anond1bec0610411::CFRetainReleaseChecker
536 Autorelease(nullptr) {} in CFRetainReleaseChecker()
557 Autorelease = &Ctx.Idents.get("CFAutorelease"); in checkPreStmt()
565 FuncII == Autorelease)) in checkPreStmt()
602 else if (FuncII == Autorelease) in checkPreStmt()
DRetainCountChecker.cpp906 case Autorelease: in getStopTrackingHardEquivalent()
1274 case cfautorelease: Effect = Autorelease; break; in getUnarySummary()
1454 ReceiverEff = Autorelease; in getStandardMethodSummary()
1559 ScratchArgs = AF.add(ScratchArgs, 0, Autorelease); in InitializeClassMethodSummaries()
1562 DoNothing, Autorelease)); in InitializeClassMethodSummaries()
1598 Summ = getPersistentSummary(NoRet, Autorelease); in InitializeMethodSummaries()
2163 case Autorelease: in VisitNode()
3207 case Autorelease: in updateSymbol()
/external/clang/docs/
DAutomaticReferenceCounting.rst933 Autorelease pools are tied to the current thread and scope by their nature.
1690 Autorelease pools are clearly important for the compiler to reason about, but