Searched refs:ARCInstKind (Results 1 – 14 of 14) sorted by relevance
/external/llvm/lib/Transforms/ObjCARC/ |
D | ARCInstKind.cpp | 29 const ARCInstKind Class) { in operator <<() 31 case ARCInstKind::Retain: in operator <<() 33 case ARCInstKind::RetainRV: in operator <<() 35 case ARCInstKind::RetainBlock: in operator <<() 37 case ARCInstKind::Release: in operator <<() 39 case ARCInstKind::Autorelease: in operator <<() 41 case ARCInstKind::AutoreleaseRV: in operator <<() 43 case ARCInstKind::AutoreleasepoolPush: in operator <<() 45 case ARCInstKind::AutoreleasepoolPop: in operator <<() 47 case ARCInstKind::NoopCast: in operator <<() [all …]
|
D | ARCInstKind.h | 30 enum class ARCInstKind { enum 57 raw_ostream &operator<<(raw_ostream &OS, const ARCInstKind Class); 60 bool IsUser(ARCInstKind Class); 63 bool IsRetain(ARCInstKind Class); 66 bool IsAutorelease(ARCInstKind Class); 70 bool IsForwarding(ARCInstKind Class); 74 bool IsNoopOnNull(ARCInstKind Class); 78 bool IsAlwaysTail(ARCInstKind Class); 82 bool IsNeverTail(ARCInstKind Class); 86 bool IsNoThrow(ARCInstKind Class); [all …]
|
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); 605 if (GetBasicARCInstKind(I) == ARCInstKind::AutoreleaseRV && in OptimizeRetainRVCall() 639 ARCInstKind &Class) { in OptimizeAutoreleaseRVCall() 647 if (isa<ReturnInst>(U) || GetBasicARCInstKind(U) == ARCInstKind::RetainRV) in OptimizeAutoreleaseRVCall() 666 Class = ARCInstKind::Autorelease; in OptimizeAutoreleaseRVCall() 683 ARCInstKind Class = GetBasicARCInstKind(Inst); in OptimizeIndividualCalls() 698 case ARCInstKind::NoopCast: in OptimizeIndividualCalls() 706 case ARCInstKind::StoreWeak: in OptimizeIndividualCalls() 707 case ARCInstKind::LoadWeak: in OptimizeIndividualCalls() 708 case ARCInstKind::LoadWeakRetained: in OptimizeIndividualCalls() [all …]
|
D | ObjCARCAliasAnalysis.cpp | 128 case ARCInstKind::NoopCast: in getModRefBehavior() 143 case ARCInstKind::Retain: in getModRefInfo() 144 case ARCInstKind::RetainRV: in getModRefInfo() 145 case ARCInstKind::Autorelease: in getModRefInfo() 146 case ARCInstKind::AutoreleaseRV: in getModRefInfo() 147 case ARCInstKind::NoopCast: in getModRefInfo() 148 case ARCInstKind::AutoreleasepoolPush: in getModRefInfo() 149 case ARCInstKind::FusedRetainAutorelease: in getModRefInfo() 150 case ARCInstKind::FusedRetainAutoreleaseRV: in getModRefInfo()
|
D | ObjCARCExpand.cpp | 103 case ARCInstKind::Retain: in runOnFunction() 104 case ARCInstKind::RetainRV: in runOnFunction() 105 case ARCInstKind::Autorelease: in runOnFunction() 106 case ARCInstKind::AutoreleaseRV: in runOnFunction() 107 case ARCInstKind::FusedRetainAutorelease: in runOnFunction() 108 case ARCInstKind::FusedRetainAutoreleaseRV: { in runOnFunction()
|
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() 224 ARCInstKind Class = GetBasicARCInstKind(Inst); in findSafeStoreForStoreStrongContraction() 287 while (I != Begin && GetBasicARCInstKind(I) != ARCInstKind::Retain) { in findRetainForStoreStrongContraction() 298 if (GetBasicARCInstKind(Retain) != ARCInstKind::Retain) in findRetainForStoreStrongContraction() 411 ARCInstKind Class = GetBasicARCInstKind(Inst); in tryToPeepholeInstruction() 413 case ARCInstKind::FusedRetainAutorelease: in tryToPeepholeInstruction() [all …]
|
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 | 67 ARCInstKind Class); 72 ProvenanceAnalysis &PA, ARCInstKind Class); 77 ProvenanceAnalysis &PA, ARCInstKind Class);
|
D | ObjCARC.h | 212 static inline ARCInstKind GetCallSiteClass(ImmutableCallSite CS) { in GetCallSiteClass() 216 return CS.onlyReadsMemory() ? ARCInstKind::User : ARCInstKind::CallOrUser; in GetCallSiteClass() 218 return CS.onlyReadsMemory() ? ARCInstKind::None : ARCInstKind::Call; in GetCallSiteClass()
|
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 | 101 case ARCInstKind::AutoreleasepoolPush: in OptimizeBB() 104 case ARCInstKind::AutoreleasepoolPop: in OptimizeBB() 118 case ARCInstKind::CallOrUser: in OptimizeBB()
|
D | CMakeLists.txt | 7 ARCInstKind.cpp
|
D | Android.mk | 4 ARCInstKind.cpp \
|