Searched refs:ARCInstKind (Results 1 - 12 of 12) sorted by relevance

/external/llvm/lib/Analysis/
H A DObjCARCInstKind.cpp1 //===- ARCInstKind.cpp - ObjC ARC Optimization ----------------------------===//
31 const ARCInstKind Class) {
33 case ARCInstKind::Retain:
34 return OS << "ARCInstKind::Retain";
35 case ARCInstKind::RetainRV:
36 return OS << "ARCInstKind::RetainRV";
37 case ARCInstKind::ClaimRV:
38 return OS << "ARCInstKind::ClaimRV";
39 case ARCInstKind::RetainBlock:
40 return OS << "ARCInstKind
[all...]
H A DObjCARCAliasAnalysis.cpp100 case ARCInstKind::NoopCast:
115 case ARCInstKind::Retain:
116 case ARCInstKind::RetainRV:
117 case ARCInstKind::Autorelease:
118 case ARCInstKind::AutoreleaseRV:
119 case ARCInstKind::NoopCast:
120 case ARCInstKind::AutoreleasepoolPush:
121 case ARCInstKind::FusedRetainAutorelease:
122 case ARCInstKind::FusedRetainAutoreleaseRV:
/external/llvm/include/llvm/Analysis/
H A DObjCARCInstKind.h19 /// \enum ARCInstKind
30 enum class ARCInstKind { class in namespace:llvm::objcarc
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 Clas
[all...]
H A DObjCARCAnalysisUtils.h186 inline ARCInstKind GetCallSiteClass(ImmutableCallSite CS) {
190 return CS.onlyReadsMemory() ? ARCInstKind::User : ARCInstKind::CallOrUser;
192 return CS.onlyReadsMemory() ? ARCInstKind::None : ARCInstKind::Call;
/external/llvm/lib/Transforms/ObjCARC/
H A DDependencyAnalysis.cpp37 ARCInstKind Class) {
39 case ARCInstKind::Autorelease:
40 case ARCInstKind::AutoreleaseRV:
41 case ARCInstKind::IntrinsicUser:
42 case ARCInstKind::User:
74 ARCInstKind Class) {
86 ProvenanceAnalysis &PA, ARCInstKind Class) {
87 // ARCInstKind::Call operations (as opposed to
88 // ARCInstKind::CallOrUser) never "use" objc pointers.
89 if (Class == ARCInstKind
[all...]
H A DObjCARCExpand.cpp102 case ARCInstKind::Retain:
103 case ARCInstKind::RetainRV:
104 case ARCInstKind::Autorelease:
105 case ARCInstKind::AutoreleaseRV:
106 case ARCInstKind::FusedRetainAutorelease:
107 case ARCInstKind::FusedRetainAutoreleaseRV: {
H A DObjCARCOpts.cpp491 ARCInstKind &Class);
610 if (GetBasicARCInstKind(&*I) == ARCInstKind::AutoreleaseRV &&
644 ARCInstKind &Class) {
652 if (isa<ReturnInst>(U) || GetBasicARCInstKind(U) == ARCInstKind::RetainRV)
671 Class = ARCInstKind::Autorelease;
688 ARCInstKind Class = GetBasicARCInstKind(Inst);
703 case ARCInstKind::NoopCast:
711 case ARCInstKind::StoreWeak:
712 case ARCInstKind::LoadWeak:
713 case ARCInstKind
[all...]
H A DDependencyAnalysis.h68 ARCInstKind Class);
73 ProvenanceAnalysis &PA, ARCInstKind Class);
78 ProvenanceAnalysis &PA, ARCInstKind Class);
H A DObjCARCContract.cpp87 ARCInstKind Class,
147 Function &F, Instruction *Autorelease, ARCInstKind Class,
155 if (Class == ARCInstKind::AutoreleaseRV)
173 if (!Retain || GetBasicARCInstKind(Retain) != ARCInstKind::Retain ||
184 Constant *Decl = EP.get(Class == ARCInstKind::AutoreleaseRV
225 ARCInstKind Class = GetBasicARCInstKind(Inst);
288 while (I != Begin && GetBasicARCInstKind(&*I) != ARCInstKind::Retain) {
299 if (GetBasicARCInstKind(Retain) != ARCInstKind::Retain)
412 ARCInstKind Class = GetBasicARCInstKind(Inst);
414 case ARCInstKind
[all...]
H A DPtrState.h183 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);
H A DObjCARCAPElim.cpp98 case ARCInstKind::AutoreleasepoolPush:
101 case ARCInstKind::AutoreleasepoolPop:
115 case ARCInstKind::CallOrUser:
H A DPtrState.cpp218 ARCInstKind Class) {
246 ARCInstKind Class) {
296 bool TopDownPtrState::InitTopDown(ARCInstKind Kind, Instruction *I) {
298 // Don't do retain+release tracking for ARCInstKind::RetainRV, because
301 if (Kind != ARCInstKind::RetainRV) {
353 ARCInstKind Class) {
385 ARCInstKind Class) {

Completed in 77 milliseconds