Lines Matching refs:ARCInstKind

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()
714 case ARCInstKind::InitWeak: in OptimizeIndividualCalls()
715 case ARCInstKind::DestroyWeak: { in OptimizeIndividualCalls()
732 case ARCInstKind::CopyWeak: in OptimizeIndividualCalls()
733 case ARCInstKind::MoveWeak: { in OptimizeIndividualCalls()
753 case ARCInstKind::RetainRV: in OptimizeIndividualCalls()
757 case ARCInstKind::AutoreleaseRV: in OptimizeIndividualCalls()
786 Class = ARCInstKind::Release; in OptimizeIndividualCalls()
875 case ARCInstKind::Retain: in OptimizeIndividualCalls()
876 case ARCInstKind::RetainBlock: in OptimizeIndividualCalls()
879 case ARCInstKind::Release: in OptimizeIndividualCalls()
886 case ARCInstKind::Autorelease: in OptimizeIndividualCalls()
892 case ARCInstKind::RetainRV: in OptimizeIndividualCalls()
893 case ARCInstKind::AutoreleaseRV: in OptimizeIndividualCalls()
1104 ARCInstKind Class = GetARCInstKind(Inst); in VisitInstructionBottomUp()
1110 case ARCInstKind::Release: { in VisitInstructionBottomUp()
1117 case ARCInstKind::RetainBlock: in VisitInstructionBottomUp()
1122 case ARCInstKind::Retain: in VisitInstructionBottomUp()
1123 case ARCInstKind::RetainRV: { in VisitInstructionBottomUp()
1129 if (Class != ARCInstKind::RetainRV) { in VisitInstructionBottomUp()
1138 case ARCInstKind::AutoreleasepoolPop: in VisitInstructionBottomUp()
1142 case ARCInstKind::AutoreleasepoolPush: in VisitInstructionBottomUp()
1143 case ARCInstKind::None: in VisitInstructionBottomUp()
1146 case ARCInstKind::User: in VisitInstructionBottomUp()
1255 ARCInstKind Class = GetARCInstKind(Inst); in VisitInstructionTopDown()
1261 case ARCInstKind::RetainBlock: in VisitInstructionTopDown()
1267 case ARCInstKind::Retain: in VisitInstructionTopDown()
1268 case ARCInstKind::RetainRV: { in VisitInstructionTopDown()
1276 case ARCInstKind::Release: { in VisitInstructionTopDown()
1290 case ARCInstKind::AutoreleasepoolPop: in VisitInstructionTopDown()
1294 case ARCInstKind::AutoreleasepoolPush: in VisitInstructionTopDown()
1295 case ARCInstKind::None: in VisitInstructionTopDown()
1819 ARCInstKind Class = GetBasicARCInstKind(Inst); in OptimizeWeakCalls()
1820 if (Class != ARCInstKind::LoadWeak && in OptimizeWeakCalls()
1821 Class != ARCInstKind::LoadWeakRetained) in OptimizeWeakCalls()
1825 if (Class == ARCInstKind::LoadWeak && Inst->use_empty()) { in OptimizeWeakCalls()
1840 ARCInstKind EarlierClass = GetARCInstKind(EarlierInst); in OptimizeWeakCalls()
1842 case ARCInstKind::LoadWeak: in OptimizeWeakCalls()
1843 case ARCInstKind::LoadWeakRetained: { in OptimizeWeakCalls()
1854 if (Class == ARCInstKind::LoadWeakRetained) { in OptimizeWeakCalls()
1871 case ARCInstKind::StoreWeak: in OptimizeWeakCalls()
1872 case ARCInstKind::InitWeak: { in OptimizeWeakCalls()
1883 if (Class == ARCInstKind::LoadWeakRetained) { in OptimizeWeakCalls()
1900 case ARCInstKind::MoveWeak: in OptimizeWeakCalls()
1901 case ARCInstKind::CopyWeak: in OptimizeWeakCalls()
1904 case ARCInstKind::AutoreleasepoolPush: in OptimizeWeakCalls()
1905 case ARCInstKind::None: in OptimizeWeakCalls()
1906 case ARCInstKind::IntrinsicUser: in OptimizeWeakCalls()
1907 case ARCInstKind::User: in OptimizeWeakCalls()
1923 ARCInstKind Class = GetBasicARCInstKind(Inst); in OptimizeWeakCalls()
1924 if (Class != ARCInstKind::DestroyWeak) in OptimizeWeakCalls()
1933 case ARCInstKind::InitWeak: in OptimizeWeakCalls()
1934 case ARCInstKind::StoreWeak: in OptimizeWeakCalls()
1935 case ARCInstKind::DestroyWeak: in OptimizeWeakCalls()
1945 case ARCInstKind::InitWeak: in OptimizeWeakCalls()
1946 case ARCInstKind::StoreWeak: in OptimizeWeakCalls()
1950 case ARCInstKind::DestroyWeak: in OptimizeWeakCalls()
2012 ARCInstKind Class = GetBasicARCInstKind(Call); in HasSafePathToPredecessorCall()
2013 if (Class != ARCInstKind::CallOrUser && Class != ARCInstKind::Call) in HasSafePathToPredecessorCall()
2061 ARCInstKind AutoreleaseClass = GetBasicARCInstKind(Autorelease); in FindPredecessorAutoreleaseWithSafePath()
2149 case ARCInstKind::Retain: in GatherStatistics()
2152 case ARCInstKind::Release: in GatherStatistics()
2209 if (UsedInThisFunction & ((1 << unsigned(ARCInstKind::LoadWeak)) | in runOnFunction()
2210 (1 << unsigned(ARCInstKind::LoadWeakRetained)) | in runOnFunction()
2211 (1 << unsigned(ARCInstKind::StoreWeak)) | in runOnFunction()
2212 (1 << unsigned(ARCInstKind::InitWeak)) | in runOnFunction()
2213 (1 << unsigned(ARCInstKind::CopyWeak)) | in runOnFunction()
2214 (1 << unsigned(ARCInstKind::MoveWeak)) | in runOnFunction()
2215 (1 << unsigned(ARCInstKind::DestroyWeak)))) in runOnFunction()
2219 if (UsedInThisFunction & ((1 << unsigned(ARCInstKind::Retain)) | in runOnFunction()
2220 (1 << unsigned(ARCInstKind::RetainRV)) | in runOnFunction()
2221 (1 << unsigned(ARCInstKind::RetainBlock)))) in runOnFunction()
2222 if (UsedInThisFunction & (1 << unsigned(ARCInstKind::Release))) in runOnFunction()
2228 if (UsedInThisFunction & ((1 << unsigned(ARCInstKind::Autorelease)) | in runOnFunction()
2229 (1 << unsigned(ARCInstKind::AutoreleaseRV)))) in runOnFunction()