Searched refs:ARCInstKind (Results 1 – 12 of 12) sorted by relevance
/external/llvm/lib/Analysis/ |
D | ObjCARCInstKind.cpp | 31 const ARCInstKind Class) { in operator <<() 33 case ARCInstKind::Retain: in operator <<() 35 case ARCInstKind::RetainRV: in operator <<() 37 case ARCInstKind::ClaimRV: in operator <<() 39 case ARCInstKind::RetainBlock: in operator <<() 41 case ARCInstKind::Release: in operator <<() 43 case ARCInstKind::Autorelease: in operator <<() 45 case ARCInstKind::AutoreleaseRV: in operator <<() 47 case ARCInstKind::AutoreleasepoolPush: in operator <<() 49 case ARCInstKind::AutoreleasepoolPop: in operator <<() [all …]
|
D | ObjCARCAliasAnalysis.cpp | 100 case ARCInstKind::NoopCast: in getModRefBehavior() 115 case ARCInstKind::Retain: in getModRefInfo() 116 case ARCInstKind::RetainRV: in getModRefInfo() 117 case ARCInstKind::Autorelease: in getModRefInfo() 118 case ARCInstKind::AutoreleaseRV: in getModRefInfo() 119 case ARCInstKind::NoopCast: in getModRefInfo() 120 case ARCInstKind::AutoreleasepoolPush: in getModRefInfo() 121 case ARCInstKind::FusedRetainAutorelease: in getModRefInfo() 122 case ARCInstKind::FusedRetainAutoreleaseRV: in getModRefInfo()
|
/external/llvm/include/llvm/Analysis/ |
D | ObjCARCInstKind.h | 30 enum class ARCInstKind { enum 58 raw_ostream &operator<<(raw_ostream &OS, const ARCInstKind Class); 61 bool IsUser(ARCInstKind Class); 64 bool IsRetain(ARCInstKind Class); 67 bool IsAutorelease(ARCInstKind Class); 71 bool IsForwarding(ARCInstKind Class); 75 bool IsNoopOnNull(ARCInstKind Class); 79 bool IsAlwaysTail(ARCInstKind Class); 83 bool IsNeverTail(ARCInstKind Class); 87 bool IsNoThrow(ARCInstKind Class); [all …]
|
D | ObjCARCAnalysisUtils.h | 186 inline ARCInstKind GetCallSiteClass(ImmutableCallSite CS) { in GetCallSiteClass() 190 return CS.onlyReadsMemory() ? ARCInstKind::User : ARCInstKind::CallOrUser; in GetCallSiteClass() 192 return CS.onlyReadsMemory() ? ARCInstKind::None : ARCInstKind::Call; in GetCallSiteClass()
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | DependencyAnalysis.cpp | 37 ARCInstKind Class) { in CanAlterRefCount() 39 case ARCInstKind::Autorelease: in CanAlterRefCount() 40 case ARCInstKind::AutoreleaseRV: in CanAlterRefCount() 41 case ARCInstKind::IntrinsicUser: in CanAlterRefCount() 42 case ARCInstKind::User: in CanAlterRefCount() 74 ARCInstKind Class) { in CanDecrementRefCount() 86 ProvenanceAnalysis &PA, ARCInstKind Class) { in CanUse() 89 if (Class == ARCInstKind::Call) in CanUse() 143 ARCInstKind Class = GetARCInstKind(Inst); in Depends() 145 case ARCInstKind::AutoreleasepoolPop: in Depends() [all …]
|
D | ObjCARCOpts.cpp | 491 ARCInstKind &Class); 610 if (GetBasicARCInstKind(&*I) == ARCInstKind::AutoreleaseRV && in OptimizeRetainRVCall() 644 ARCInstKind &Class) { in OptimizeAutoreleaseRVCall() 652 if (isa<ReturnInst>(U) || GetBasicARCInstKind(U) == ARCInstKind::RetainRV) in OptimizeAutoreleaseRVCall() 671 Class = ARCInstKind::Autorelease; in OptimizeAutoreleaseRVCall() 688 ARCInstKind Class = GetBasicARCInstKind(Inst); in OptimizeIndividualCalls() 703 case ARCInstKind::NoopCast: in OptimizeIndividualCalls() 711 case ARCInstKind::StoreWeak: in OptimizeIndividualCalls() 712 case ARCInstKind::LoadWeak: in OptimizeIndividualCalls() 713 case ARCInstKind::LoadWeakRetained: in OptimizeIndividualCalls() [all …]
|
D | ObjCARCContract.cpp | 87 ARCInstKind Class, 147 Function &F, Instruction *Autorelease, ARCInstKind Class, in contractAutorelease() 155 if (Class == ARCInstKind::AutoreleaseRV) in contractAutorelease() 173 if (!Retain || GetBasicARCInstKind(Retain) != ARCInstKind::Retain || in contractAutorelease() 184 Constant *Decl = EP.get(Class == ARCInstKind::AutoreleaseRV in contractAutorelease() 225 ARCInstKind Class = GetBasicARCInstKind(Inst); in findSafeStoreForStoreStrongContraction() 288 while (I != Begin && GetBasicARCInstKind(&*I) != ARCInstKind::Retain) { in findRetainForStoreStrongContraction() 299 if (GetBasicARCInstKind(Retain) != ARCInstKind::Retain) in findRetainForStoreStrongContraction() 412 ARCInstKind Class = GetBasicARCInstKind(Inst); in tryToPeepholeInstruction() 414 case ARCInstKind::FusedRetainAutorelease: in tryToPeepholeInstruction() [all …]
|
D | ObjCARCExpand.cpp | 102 case ARCInstKind::Retain: in runOnFunction() 103 case ARCInstKind::RetainRV: in runOnFunction() 104 case ARCInstKind::Autorelease: in runOnFunction() 105 case ARCInstKind::AutoreleaseRV: in runOnFunction() 106 case ARCInstKind::FusedRetainAutorelease: in runOnFunction() 107 case ARCInstKind::FusedRetainAutoreleaseRV: { in runOnFunction()
|
D | PtrState.h | 183 ProvenanceAnalysis &PA, ARCInstKind Class); 185 ProvenanceAnalysis &PA, ARCInstKind Class); 193 bool InitTopDown(ARCInstKind Kind, Instruction *I); 201 ProvenanceAnalysis &PA, ARCInstKind Class); 204 ProvenanceAnalysis &PA, ARCInstKind Class);
|
D | DependencyAnalysis.h | 68 ARCInstKind Class); 73 ProvenanceAnalysis &PA, ARCInstKind Class); 78 ProvenanceAnalysis &PA, ARCInstKind Class);
|
D | PtrState.cpp | 218 ARCInstKind Class) { in HandlePotentialAlterRefCount() 246 ARCInstKind Class) { in HandlePotentialUse() 296 bool TopDownPtrState::InitTopDown(ARCInstKind Kind, Instruction *I) { in InitTopDown() 301 if (Kind != ARCInstKind::RetainRV) { in InitTopDown() 353 ARCInstKind Class) { in HandlePotentialAlterRefCount() 385 ARCInstKind Class) { in HandlePotentialUse()
|
D | ObjCARCAPElim.cpp | 98 case ARCInstKind::AutoreleasepoolPush: in OptimizeBB() 101 case ARCInstKind::AutoreleasepoolPop: in OptimizeBB() 115 case ARCInstKind::CallOrUser: in OptimizeBB()
|