; LLVM IR from facebook/redex :: service/constant-propagation (IPConstantPropagationAnalysis)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::_List_iterator" = type { ptr }
%"class.std::shared_ptr.553" = type { %"class.std::__shared_ptr.554" }
%"class.std::__shared_ptr.554" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"struct.std::_List_const_iterator" = type { ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZNK20constant_propagation15interprocedural16FixpointIterator32find_matching_method_cache_entryERNSt7__cxx114listISt10shared_ptrIKNS1_16MethodCacheEntryEESaIS7_EEERKN6sparta19AbstractEnvironmentINSB_15PatriciaTreeMapIt37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNSB_22ConstantAbstractDomainIPK8DexFieldEENSB_17SetAbstractDomainINSB_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSL_INSB_15PatriciaTreeSetIPK9DexStringEEEENSG_ISW_EENSG_IPK7DexTypeEENSG_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSG_IPK13IRInstructionEEEENSB_17TopValueInterfaceIS1B_EEEEEE(ptr noundef nonnull align 8 dereferenceable(6464) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(16) %2) #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.std::_List_iterator", align 8
  %9 = alloca %"struct.std::_List_iterator", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::shared_ptr.553", align 8
  %12 = alloca %"struct.std::_List_iterator", align 8
  %13 = alloca %"struct.std::_List_const_iterator", align 8
  %14 = alloca %"struct.std::_List_iterator", align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"struct.std::_List_iterator", align 8
  %18 = alloca %"struct.std::_List_iterator", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %19 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = call ptr @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #3
  %22 = getelementptr inbounds %"struct.std::_List_iterator", ptr %8, i32 0, i32 0
  store ptr %21, ptr %22, align 8
  br label %23

23:                                               ; preds = %60, %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = call ptr @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #3
  %26 = getelementptr inbounds %"struct.std::_List_iterator", ptr %9, i32 0, i32 0
  store ptr %25, ptr %26, align 8
  %27 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  br i1 %27, label %29, label %28

28:                                               ; preds = %23
  store i32 2, ptr %10, align 4
  br label %63

29:                                               ; preds = %23
  %30 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #3
  %31 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNKSt19__shared_ptr_accessIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %30) #3
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = call noundef zeroext i1 @_ZNK20constant_propagation15interprocedural16FixpointIterator26method_cache_entry_matchesERKNS1_16MethodCacheEntryERKN6sparta19AbstractEnvironmentINS5_15PatriciaTreeMapIt37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS5_22ConstantAbstractDomainIPK8DexFieldEENS5_17SetAbstractDomainINS5_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSF_INS5_15PatriciaTreeSetIPK9DexStringEEEENSA_ISQ_EENSA_IPK7DexTypeEENSA_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSA_IPK13IRInstructionEEEENS5_17TopValueInterfaceIS15_EEEEEE(ptr noundef nonnull align 8 dereferenceable(6464) %19, ptr noundef nonnull align 8 dereferenceable(184) %31, ptr noundef nonnull align 8 dereferenceable(16) %32)
  br i1 %33, label %34, label %59

34:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #3
  %35 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #3
  call void @_ZNSt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %35) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = call ptr @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #3
  %38 = getelementptr inbounds %"struct.std::_List_iterator", ptr %12, i32 0, i32 0
  store ptr %37, ptr %38, align 8
  %39 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  br i1 %39, label %40, label %57

40:                                               ; preds = %34
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZNSt20_List_const_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEEC2ERKSt14_List_iteratorIS6_E(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %8) #3
  %42 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %13, i32 0, i32 0
  %43 = load ptr, ptr %42, align 8
  %44 = call ptr @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE5eraseESt20_List_const_iteratorIS7_E(ptr noundef nonnull align 8 dereferenceable(24) %41, ptr %43) #3
  %45 = getelementptr inbounds %"struct.std::_List_iterator", ptr %14, i32 0, i32 0
  store ptr %44, ptr %45, align 8
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE10push_frontEOS7_(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %47 unwind label %53

47:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = call ptr @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #3
  %50 = getelementptr inbounds %"struct.std::_List_iterator", ptr %17, i32 0, i32 0
  store ptr %49, ptr %50, align 8
  %51 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #3
  %52 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %51) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  br label %57

53:                                               ; preds = %40
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %15, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %16, align 4
  call void @_ZNSt12__shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  br label %68

57:                                               ; preds = %47, %34
  %58 = call noundef ptr @_ZNKSt12__shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %11) #3
  store ptr %58, ptr %4, align 8
  store i32 1, ptr %10, align 4
  call void @_ZNSt12__shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #3
  br label %63

59:                                               ; preds = %29
  br label %60

60:                                               ; preds = %59
  %61 = call ptr @_ZNSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef 0) #3
  %62 = getelementptr inbounds %"struct.std::_List_iterator", ptr %18, i32 0, i32 0
  store ptr %61, ptr %62, align 8
  br label %23, !llvm.loop !9

63:                                               ; preds = %57, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  %64 = load i32, ptr %10, align 4
  switch i32 %64, label %73 [
    i32 2, label %65
    i32 1, label %66
  ]

65:                                               ; preds = %63
  store ptr null, ptr %4, align 8
  br label %66

66:                                               ; preds = %65, %63
  %67 = load ptr, ptr %4, align 8
  ret ptr %67

68:                                               ; preds = %53
  %69 = load ptr, ptr %15, align 8
  %70 = load i32, ptr %16, align 4
  %71 = insertvalue { ptr, i32 } poison, ptr %69, 0
  %72 = insertvalue { ptr, i32 } %71, i32 %70, 1
  resume { ptr, i32 } %72

73:                                               ; preds = %63
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE10push_frontEOS7_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK20constant_propagation15interprocedural16FixpointIterator26method_cache_entry_matchesERKNS1_16MethodCacheEntryERKN6sparta19AbstractEnvironmentINS5_15PatriciaTreeMapIt37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS5_22ConstantAbstractDomainIPK8DexFieldEENS5_17SetAbstractDomainINS5_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSF_INS5_15PatriciaTreeSetIPK9DexStringEEEENSA_ISQ_EENSA_IPK7DexTypeEENSA_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSA_IPK13IRInstructionEEEENS5_17TopValueInterfaceIS15_EEEEEE(ptr noundef nonnull align 8 dereferenceable(6464), ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 8 dereferenceable(16)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEES9_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(184) ptr @_ZNKSt19__shared_ptr_accessIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE5eraseESt20_List_const_iteratorIS7_E(ptr noundef nonnull align 8 dereferenceable(24), ptr) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt20_List_const_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEEC2ERKSt14_List_iteratorIS6_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt12__shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::_List_iterator" = type { ptr }
%"class.std::shared_ptr.553" = type { %"class.std::__shared_ptr.554" }
%"class.std::__shared_ptr.554" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"struct.std::_List_const_iterator" = type { ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZNK20constant_propagation15interprocedural16FixpointIterator32find_matching_method_cache_entryERNSt7__cxx114listISt10shared_ptrIKNS1_16MethodCacheEntryEESaIS7_EEERKN6sparta19AbstractEnvironmentINSB_15PatriciaTreeMapIt37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNSB_22ConstantAbstractDomainIPK8DexFieldEENSB_17SetAbstractDomainINSB_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSL_INSB_15PatriciaTreeSetIPK9DexStringEEEENSG_ISW_EENSG_IPK7DexTypeEENSG_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSG_IPK13IRInstructionEEEENSB_17TopValueInterfaceIS1B_EEEEEE(ptr noundef nonnull align 8 dereferenceable(6464) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(16) %2) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.std::_List_iterator", align 8
  %5 = alloca %"struct.std::_List_iterator", align 8
  %6 = alloca %"class.std::shared_ptr.553", align 8
  %7 = alloca %"struct.std::_List_iterator", align 8
  %8 = alloca %"struct.std::_List_const_iterator", align 8
  %9 = alloca %"struct.std::_List_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  %10 = tail call ptr @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  store ptr %10, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  %11 = tail call ptr @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  store ptr %11, ptr %5, align 8
  %12 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  br i1 %12, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %3, %31
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  %14 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNKSt19__shared_ptr_accessIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %13) #3
  %15 = call noundef zeroext i1 @_ZNK20constant_propagation15interprocedural16FixpointIterator26method_cache_entry_matchesERKNS1_16MethodCacheEntryERKN6sparta19AbstractEnvironmentINS5_15PatriciaTreeMapIt37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS5_22ConstantAbstractDomainIPK8DexFieldEENS5_17SetAbstractDomainINS5_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSF_INS5_15PatriciaTreeSetIPK9DexStringEEEENSA_ISQ_EENSA_IPK7DexTypeEENSA_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSA_IPK13IRInstructionEEEENS5_17TopValueInterfaceIS15_EEEEEE(ptr noundef nonnull align 8 dereferenceable(6464) %0, ptr noundef nonnull align 8 dereferenceable(184) %14, ptr noundef nonnull align 8 dereferenceable(16) %2)
  br i1 %15, label %16, label %31

16:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #3
  %17 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  call void @_ZNSt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %17) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  %18 = call ptr @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  store ptr %18, ptr %7, align 8
  %19 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  br i1 %19, label %20, label %29

20:                                               ; preds = %16
  call void @_ZNSt20_List_const_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEEC2ERKSt14_List_iteratorIS6_E(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  %21 = load ptr, ptr %8, align 8
  %22 = call ptr @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE5eraseESt20_List_const_iteratorIS7_E(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr %21) #3
  invoke void @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE10push_frontEOS7_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %23 unwind label %27

23:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3
  %24 = call ptr @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  store ptr %24, ptr %9, align 8
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #3
  %26 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3
  br label %29

27:                                               ; preds = %20
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  resume { ptr, i32 } %28

29:                                               ; preds = %23, %16
  %30 = call noundef ptr @_ZNKSt12__shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #3
  call void @_ZNSt12__shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #3
  br label %.loopexit

31:                                               ; preds = %.lr.ph
  %32 = call ptr @_ZNSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef 0) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  %33 = call ptr @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  store ptr %33, ptr %5, align 8
  %34 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  br i1 %34, label %.lr.ph, label %.loopexit, !llvm.loop !5

.loopexit:                                        ; preds = %31, %3, %29
  %spec.select = phi ptr [ %30, %29 ], [ null, %3 ], [ null, %31 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  ret ptr %spec.select
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE10push_frontEOS7_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt12__shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK20constant_propagation15interprocedural16FixpointIterator26method_cache_entry_matchesERKNS1_16MethodCacheEntryERKN6sparta19AbstractEnvironmentINS5_15PatriciaTreeMapIt37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS5_22ConstantAbstractDomainIPK8DexFieldEENS5_17SetAbstractDomainINS5_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSF_INS5_15PatriciaTreeSetIPK9DexStringEEEENSA_ISQ_EENSA_IPK7DexTypeEENSA_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSA_IPK13IRInstructionEEEENS5_17TopValueInterfaceIS15_EEEEEE(ptr noundef nonnull align 8 dereferenceable(6464), ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEES9_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(184) ptr @_ZNKSt19__shared_ptr_accessIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt7__cxx114listISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEESaIS7_EE5eraseESt20_List_const_iteratorIS7_E(ptr noundef nonnull align 8 dereferenceable(24), ptr) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt20_List_const_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEEC2ERKSt14_List_iteratorIS6_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEaSERKS5_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt12__shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryELN9__gnu_cxx12_Lock_policyE2EE3getEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt14_List_iteratorISt10shared_ptrIKN20constant_propagation15interprocedural16FixpointIterator16MethodCacheEntryEEEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass