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

; 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"

%class.DisjointUnionWithSignedConstantDomain = type { %"class.boost::variant" }
%"class.boost::variant" = type { i32, [4 x i8], %"class.boost::aligned_storage" }
%"class.boost::aligned_storage" = type { %"struct.boost::detail::aligned_storage::aligned_storage_imp" }
%"struct.boost::detail::aligned_storage::aligned_storage_imp" = type { %"union.boost::detail::aligned_storage::aligned_storage_imp<40, 8>::data_t" }
%"union.boost::detail::aligned_storage::aligned_storage_imp<40, 8>::data_t" = type { [40 x i8] }
%"class.std::vector.333" = type { %"struct.std::_Vector_base.334" }
%"struct.std::_Vector_base.334" = type { %"struct.std::_Vector_base<DexMethod *, std::allocator<DexMethod *>>::_Vector_impl" }
%"struct.std::_Vector_base<DexMethod *, std::allocator<DexMethod *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DexMethod *, std::allocator<DexMethod *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DexMethod *, std::allocator<DexMethod *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::pair.338" = type <{ %"class.UnorderedSet<const DexField *>::FixedIterator", i8, [7 x i8] }>
%"class.UnorderedSet<const DexField *>::FixedIterator" = type { %"struct.std::__detail::_Node_iterator.340" }
%"struct.std::__detail::_Node_iterator.340" = type { %"struct.std::__detail::_Node_iterator_base.341" }
%"struct.std::__detail::_Node_iterator_base.341" = type { ptr }
%"class.constant_propagation::WholeProgramState" = type { %"class.std::shared_ptr.1", %class.UnorderedSet, %class.UnorderedSet.9, %class.UnorderedSet.31, %"class.sparta::AbstractPartition", %"class.sparta::AbstractPartition.66" }
%"class.std::shared_ptr.1" = type { %"class.std::__shared_ptr.2" }
%"class.std::__shared_ptr.2" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%class.UnorderedSet = type { %"class.std::unordered_set" }
%"class.std::unordered_set" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%class.UnorderedSet.9 = type { %"class.std::unordered_set.11" }
%"class.std::unordered_set.11" = type { %"class.std::_Hashtable.12" }
%"class.std::_Hashtable.12" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%class.UnorderedSet.31 = type { %"class.std::unordered_set.33" }
%"class.std::unordered_set.33" = type { %"class.std::_Hashtable.34" }
%"class.std::_Hashtable.34" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.sparta::AbstractPartition" = type <{ %"class.sparta::HashMap", i8, [7 x i8] }>
%"class.sparta::HashMap" = type { %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable.53" }
%"class.std::_Hashtable.53" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.sparta::AbstractPartition.66" = type <{ %"class.sparta::HashMap.71", i8, [7 x i8] }>
%"class.sparta::HashMap.71" = type { %"class.std::unordered_map.76" }
%"class.std::unordered_map.76" = type { %"class.std::_Hashtable.77" }
%"class.std::_Hashtable.77" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }

@.str.9 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [118 x i8], align 1
@__PRETTY_FUNCTION__._ZN20constant_propagation17WholeProgramState23collect_instance_finalsEPK8DexClassRK12UnorderedSetIP8DexFieldSt4hashIS6_ESt8equal_toIS6_EEN6sparta19AbstractEnvironmentINSE_15PatriciaTreeMapIPKS5_37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNSE_22ConstantAbstractDomainISI_EENSE_17SetAbstractDomainINSE_7HashSetIlS7_IlES9_IlEEEEENSN_INSE_15PatriciaTreeSetIPK9DexStringEEEENSL_ISW_EENSL_IPK7DexTypeEENSL_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSL_IPK13IRInstructionEEEENSE_17TopValueInterfaceIS1B_EEEEEE = external hidden unnamed_addr constant [131 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1

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 nounwind uwtable
declare dso_local noundef ptr @_ZNK11DexFieldRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26)) #1 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK12UnorderedSetIPK7DexTypeSt4hashIS2_ESt8equal_toIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN12UnorderedSetIPK8DexFieldSt4hashIS2_ESt8equal_toIS2_EE7emplaceIJRPS0_EEESt4pairINS7_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE3topEv(ptr dead_on_unwind noalias writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_123set_fields_in_partitionEPK8DexClassRKN6sparta19AbstractEnvironmentINS3_15PatriciaTreeMapIPK8DexField37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS3_22ConstantAbstractDomainIS8_EENS3_17SetAbstractDomainINS3_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSD_INS3_15PatriciaTreeSetIPK9DexStringEEEENSB_ISO_EENSB_IPK7DexTypeEENSB_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSB_IPK13IRInstructionEEEENS3_17TopValueInterfaceIS13_EEEEEERKN20constant_propagation9FieldTypeEPNS3_17AbstractPartitionINS3_7HashMapIS8_S13_NS3_20BottomValueInterfaceIS13_EESF_IS8_ESH_IS8_EEEEE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20constant_propagation17WholeProgramState23collect_instance_finalsEPK8DexClassRK12UnorderedSetIP8DexFieldSt4hashIS6_ESt8equal_toIS6_EEN6sparta19AbstractEnvironmentINSE_15PatriciaTreeMapIPKS5_37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNSE_22ConstantAbstractDomainISI_EENSE_17SetAbstractDomainINSE_7HashSetIlS7_IlES9_IlEEEEENSN_INSE_15PatriciaTreeSetIPK9DexStringEEEENSL_ISW_EENSL_IPK7DexTypeEENSL_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSL_IPK13IRInstructionEEEENSE_17TopValueInterfaceIS1B_EEEEEE(ptr noundef nonnull align 8 dereferenceable(312) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef %3) #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.std::vector.333", align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca ptr, align 8
  %14 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"struct.std::pair.338", align 8
  %23 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %24 = alloca i32, align 4
  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
  store ptr %3, ptr %8, align 8, !tbaa !5
  %25 = load ptr, ptr %5, align 8
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = call noundef zeroext i1 @_ZNK8DexClass11is_externalEv(ptr noundef nonnull align 8 dereferenceable(176) %26)
  br i1 %27, label %29, label %28

28:                                               ; preds = %4
  br label %31

29:                                               ; preds = %4
  call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef @.str.9, ptr noundef @.str.10, i32 noundef 318, ptr noundef @__PRETTY_FUNCTION__._ZN20constant_propagation17WholeProgramState23collect_instance_finalsEPK8DexClassRK12UnorderedSetIP8DexFieldSt4hashIS6_ESt8equal_toIS6_EEN6sparta19AbstractEnvironmentINSE_15PatriciaTreeMapIPKS5_37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNSE_22ConstantAbstractDomainISI_EENSE_17SetAbstractDomainINSE_7HashSetIlS7_IlES9_IlEEEEENSN_INSE_15PatriciaTreeSetIPK9DexStringEEEENSL_ISW_EENSL_IPK7DexTypeEENSL_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSL_IPK13IRInstructionEEEENSE_17TopValueInterfaceIS1B_EEEEEE, i32 noundef 2, ptr noundef @.str.11) #5
  unreachable

30:                                               ; No predecessors!
  br label %31

31:                                               ; preds = %30, %28
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #6
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZNK8DexClass9get_ctorsEv(ptr dead_on_unwind writable sret(%"class.std::vector.333") align 8 %9, ptr noundef nonnull align 8 dereferenceable(176) %32)
  %33 = call noundef i64 @_ZNKSt6vectorIP9DexMethodSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %34 = icmp ugt i64 %33, 1
  call void @_ZNSt6vectorIP9DexMethodSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #6
  br i1 %34, label %35, label %59

35:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK8DexClass11get_ifieldsEv(ptr noundef nonnull align 8 dereferenceable(176) %36)
  store ptr %37, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  %39 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #6
  %40 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %11, i32 0, i32 0
  store ptr %39, ptr %40, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  %42 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #6
  %43 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %42, ptr %43, align 8
  br label %44

44:                                               ; preds = %52, %35
  %45 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8DexFieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  br i1 %45, label %47, label %46

46:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %58

47:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  store ptr %49, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #6
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE3topEv(ptr dead_on_unwind writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8 %14)
  %50 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6sparta19AbstractEnvironmentINS_15PatriciaTreeMapIPK8DexField37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS_22ConstantAbstractDomainIS4_EENS_17SetAbstractDomainINS_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS9_INS_15PatriciaTreeSetIPK9DexStringEEEENS7_ISK_EENS7_IPK7DexTypeEENS7_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS7_IPK13IRInstructionEEEENS_17TopValueInterfaceISZ_EEEEE3setERKS4_OSZ_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(48) %14)
          to label %51 unwind label %54

51:                                               ; preds = %47
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %52

52:                                               ; preds = %51
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br label %44

54:                                               ; preds = %47
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %15, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %16, align 4
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %106

58:                                               ; preds = %46
  br label %103

59:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK8DexClass11get_ifieldsEv(ptr noundef nonnull align 8 dereferenceable(176) %60)
  store ptr %61, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %62 = load ptr, ptr %17, align 8, !tbaa !5
  %63 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #6
  %64 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %63, ptr %64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %65 = load ptr, ptr %17, align 8, !tbaa !5
  %66 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #6
  %67 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %66, ptr %67, align 8
  br label %68

68:                                               ; preds = %100, %59
  %69 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8DexFieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br i1 %69, label %71, label %70

70:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %102

71:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %73 = load ptr, ptr %72, align 8, !tbaa !5
  store ptr %73, ptr %20, align 8, !tbaa !5
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  %75 = call noundef i64 @_ZNK12UnorderedSetIP8DexFieldSt4hashIS1_ESt8equal_toIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %74, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %76 = icmp ne i64 %75, 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  br i1 %76, label %77, label %83

77:                                               ; preds = %71
  %78 = getelementptr inbounds %"class.constant_propagation::WholeProgramState", ptr %25, i32 0, i32 3
  %79 = load ptr, ptr %20, align 8, !tbaa !5
  %80 = call noundef ptr @_ZNK11DexFieldRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %79)
  store ptr %80, ptr %21, align 8, !tbaa !5
  %81 = call noundef i64 @_ZNK12UnorderedSetIPK7DexTypeSt4hashIS2_ESt8equal_toIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %78, ptr noundef nonnull align 8 dereferenceable(8) %21)
  %82 = icmp eq i64 %81, 0
  br label %83

83:                                               ; preds = %77, %71
  %84 = phi i1 [ false, %71 ], [ %82, %77 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br i1 %84, label %85, label %92

85:                                               ; preds = %83
  %86 = getelementptr inbounds %"class.constant_propagation::WholeProgramState", ptr %25, i32 0, i32 1
  %87 = call { ptr, i8 } @_ZN12UnorderedSetIPK8DexFieldSt4hashIS2_ESt8equal_toIS2_EE7emplaceIJRPS0_EEESt4pairINS7_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %86, ptr noundef nonnull align 8 dereferenceable(8) %20)
  %88 = getelementptr inbounds { ptr, i8 }, ptr %22, i32 0, i32 0
  %89 = extractvalue { ptr, i8 } %87, 0
  store ptr %89, ptr %88, align 8
  %90 = getelementptr inbounds { ptr, i8 }, ptr %22, i32 0, i32 1
  %91 = extractvalue { ptr, i8 } %87, 1
  store i8 %91, ptr %90, align 8
  br label %99

92:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 48, ptr %23) #6
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE3topEv(ptr dead_on_unwind writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8 %23)
  %93 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6sparta19AbstractEnvironmentINS_15PatriciaTreeMapIPK8DexField37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS_22ConstantAbstractDomainIS4_EENS_17SetAbstractDomainINS_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS9_INS_15PatriciaTreeSetIPK9DexStringEEEENS7_ISK_EENS7_IPK7DexTypeEENS7_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS7_IPK13IRInstructionEEEENS_17TopValueInterfaceISZ_EEEEE3setERKS4_OSZ_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(48) %23)
          to label %94 unwind label %95

94:                                               ; preds = %92
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #6
  br label %99

95:                                               ; preds = %92
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %15, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %16, align 4
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %106

99:                                               ; preds = %94, %85
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %100

100:                                              ; preds = %99
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  br label %68

102:                                              ; preds = %70
  br label %103

103:                                              ; preds = %102, %58
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  store i32 0, ptr %24, align 4, !tbaa !9
  %105 = getelementptr inbounds %"class.constant_propagation::WholeProgramState", ptr %25, i32 0, i32 4
  call void @_ZN12_GLOBAL__N_123set_fields_in_partitionEPK8DexClassRKN6sparta19AbstractEnvironmentINS3_15PatriciaTreeMapIPK8DexField37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS3_22ConstantAbstractDomainIS8_EENS3_17SetAbstractDomainINS3_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSD_INS3_15PatriciaTreeSetIPK9DexStringEEEENSB_ISO_EENSB_IPK7DexTypeEENSB_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSB_IPK13IRInstructionEEEENS3_17TopValueInterfaceIS13_EEEEEERKN20constant_propagation9FieldTypeEPNS3_17AbstractPartitionINS3_7HashMapIS8_S13_NS3_20BottomValueInterfaceIS13_EESF_IS8_ESH_IS8_EEEEE(ptr noundef %104, ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef %105)
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  ret void

106:                                              ; preds = %95, %54
  %107 = load ptr, ptr %15, align 8
  %108 = load i32, ptr %16, align 4
  %109 = insertvalue { ptr, i32 } poison, ptr %107, 0
  %110 = insertvalue { ptr, i32 } %109, i32 %108, 1
  resume { ptr, i32 } %110
}

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

; Function Attrs: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8DexClass9get_ctorsEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.333") align 8, ptr noundef nonnull align 8 dereferenceable(176)) #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK12UnorderedSetIP8DexFieldSt4hashIS1_ESt8equal_toIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { inlinehint 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 = { 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 #4 = { noreturn "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 #5 = { noreturn }
attributes #6 = { 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 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN20constant_propagation9FieldTypeE", !7, i64 0}


; 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"

%class.DisjointUnionWithSignedConstantDomain = type { %"class.boost::variant" }
%"class.boost::variant" = type { i32, [4 x i8], %"class.boost::aligned_storage" }
%"class.boost::aligned_storage" = type { %"struct.boost::detail::aligned_storage::aligned_storage_imp" }
%"struct.boost::detail::aligned_storage::aligned_storage_imp" = type { %"union.boost::detail::aligned_storage::aligned_storage_imp<40, 8>::data_t" }
%"union.boost::detail::aligned_storage::aligned_storage_imp<40, 8>::data_t" = type { [40 x i8] }
%"class.std::vector.333" = type { %"struct.std::_Vector_base.334" }
%"struct.std::_Vector_base.334" = type { %"struct.std::_Vector_base<DexMethod *, std::allocator<DexMethod *>>::_Vector_impl" }
%"struct.std::_Vector_base<DexMethod *, std::allocator<DexMethod *>>::_Vector_impl" = type { %"struct.std::_Vector_base<DexMethod *, std::allocator<DexMethod *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<DexMethod *, std::allocator<DexMethod *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str.9 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [118 x i8], align 1
@__PRETTY_FUNCTION__._ZN20constant_propagation17WholeProgramState23collect_instance_finalsEPK8DexClassRK12UnorderedSetIP8DexFieldSt4hashIS6_ESt8equal_toIS6_EEN6sparta19AbstractEnvironmentINSE_15PatriciaTreeMapIPKS5_37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNSE_22ConstantAbstractDomainISI_EENSE_17SetAbstractDomainINSE_7HashSetIlS7_IlES9_IlEEEEENSN_INSE_15PatriciaTreeSetIPK9DexStringEEEENSL_ISW_EENSL_IPK7DexTypeEENSL_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSL_IPK13IRInstructionEEEENSE_17TopValueInterfaceIS1B_EEEEEE = external hidden unnamed_addr constant [131 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1

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 nounwind uwtable
declare dso_local noundef ptr @_ZNK11DexFieldRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8DexFieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(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 noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK12UnorderedSetIPK7DexTypeSt4hashIS2_ESt8equal_toIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZN12UnorderedSetIPK8DexFieldSt4hashIS2_ESt8equal_toIS2_EE7emplaceIJRPS0_EEESt4pairINS7_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE3topEv(ptr dead_on_unwind noalias writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_123set_fields_in_partitionEPK8DexClassRKN6sparta19AbstractEnvironmentINS3_15PatriciaTreeMapIPK8DexField37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS3_22ConstantAbstractDomainIS8_EENS3_17SetAbstractDomainINS3_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSD_INS3_15PatriciaTreeSetIPK9DexStringEEEENSB_ISO_EENSB_IPK7DexTypeEENSB_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSB_IPK13IRInstructionEEEENS3_17TopValueInterfaceIS13_EEEEEERKN20constant_propagation9FieldTypeEPNS3_17AbstractPartitionINS3_7HashMapIS8_S13_NS3_20BottomValueInterfaceIS13_EESF_IS8_ESH_IS8_EEEEE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN20constant_propagation17WholeProgramState23collect_instance_finalsEPK8DexClassRK12UnorderedSetIP8DexFieldSt4hashIS6_ESt8equal_toIS6_EEN6sparta19AbstractEnvironmentINSE_15PatriciaTreeMapIPKS5_37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNSE_22ConstantAbstractDomainISI_EENSE_17SetAbstractDomainINSE_7HashSetIlS7_IlES9_IlEEEEENSN_INSE_15PatriciaTreeSetIPK9DexStringEEEENSL_ISW_EENSL_IPK7DexTypeEENSL_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSL_IPK13IRInstructionEEEENSE_17TopValueInterfaceIS1B_EEEEEE(ptr noundef nonnull align 8 dereferenceable(312) %0, ptr noundef nonnull %1, ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef %3) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.std::vector.333", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca ptr, align 8
  %9 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %15 = alloca i32, align 4
  %16 = tail call noundef zeroext i1 @_ZNK8DexClass11is_externalEv(ptr noundef nonnull align 8 dereferenceable(176) %1)
  br i1 %16, label %17, label %18

17:                                               ; preds = %4
  tail call void (ptr, ptr, i32, ptr, i32, ptr, ...) @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.10, i32 noundef 318, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN20constant_propagation17WholeProgramState23collect_instance_finalsEPK8DexClassRK12UnorderedSetIP8DexFieldSt4hashIS6_ESt8equal_toIS6_EEN6sparta19AbstractEnvironmentINSE_15PatriciaTreeMapIPKS5_37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNSE_22ConstantAbstractDomainISI_EENSE_17SetAbstractDomainINSE_7HashSetIlS7_IlES9_IlEEEEENSN_INSE_15PatriciaTreeSetIPK9DexStringEEEENSL_ISW_EENSL_IPK7DexTypeEENSL_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSL_IPK13IRInstructionEEEENSE_17TopValueInterfaceIS1B_EEEEEE, i32 noundef 2, ptr noundef nonnull @.str.11) #5
  unreachable

18:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  call void @_ZNK8DexClass9get_ctorsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.333") align 8 %5, ptr noundef nonnull align 8 dereferenceable(176) %1)
  %19 = call noundef i64 @_ZNKSt6vectorIP9DexMethodSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %20 = icmp ugt i64 %19, 1
  call void @_ZNSt6vectorIP9DexMethodSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  %21 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK8DexClass11get_ifieldsEv(ptr noundef nonnull align 8 dereferenceable(176) %1)
  br i1 %20, label %22, label %34

22:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %23 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  store ptr %23, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  %24 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  store ptr %24, ptr %7, align 8
  %25 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8DexFieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %25, label %.lr.ph15, label %._crit_edge16

._crit_edge16:                                    ; preds = %29, %22
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %59

.lr.ph15:                                         ; preds = %22, %29
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %26 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %27 = load ptr, ptr %26, align 8, !tbaa !5
  store ptr %27, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #6
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE3topEv(ptr dead_on_unwind nonnull writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8 %9)
  %28 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6sparta19AbstractEnvironmentINS_15PatriciaTreeMapIPK8DexField37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS_22ConstantAbstractDomainIS4_EENS_17SetAbstractDomainINS_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS9_INS_15PatriciaTreeSetIPK9DexStringEEEENS7_ISK_EENS7_IPK7DexTypeEENS7_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS7_IPK13IRInstructionEEEENS_17TopValueInterfaceISZ_EEEEE3setERKS4_OSZ_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(48) %9)
          to label %29 unwind label %32

29:                                               ; preds = %.lr.ph15
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  %31 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8DexFieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  br i1 %31, label %.lr.ph15, label %._crit_edge16

32:                                               ; preds = %.lr.ph15
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %61

34:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %35 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  store ptr %35, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %36 = call ptr @_ZNKSt6vectorIP8DexFieldSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  store ptr %36, ptr %11, align 8
  %37 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8DexFieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %37, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %34
  %38 = getelementptr inbounds i8, ptr %0, i64 128
  %39 = getelementptr inbounds i8, ptr %0, i64 16
  br label %40

._crit_edge:                                      ; preds = %56, %34
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %59

40:                                               ; preds = %.lr.ph, %56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #6
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %42 = load ptr, ptr %41, align 8, !tbaa !5
  store ptr %42, ptr %12, align 8, !tbaa !5
  %43 = call noundef i64 @_ZNK12UnorderedSetIP8DexFieldSt4hashIS1_ESt8equal_toIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(56) %2, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %.not = icmp eq i64 %43, 0
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  br i1 %.not, label %.critedge, label %44

44:                                               ; preds = %40
  %45 = load ptr, ptr %12, align 8, !tbaa !5
  %46 = call noundef ptr @_ZNK11DexFieldRef9get_classEv(ptr noundef nonnull align 8 dereferenceable(26) %45)
  store ptr %46, ptr %13, align 8, !tbaa !5
  %47 = call noundef i64 @_ZNK12UnorderedSetIPK7DexTypeSt4hashIS2_ESt8equal_toIS2_EE5countERKS2_(ptr noundef nonnull align 8 dereferenceable(56) %38, ptr noundef nonnull align 8 dereferenceable(8) %13)
  %48 = icmp eq i64 %47, 0
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br i1 %48, label %49, label %51

49:                                               ; preds = %44
  %50 = call { ptr, i8 } @_ZN12UnorderedSetIPK8DexFieldSt4hashIS2_ESt8equal_toIS2_EE7emplaceIJRPS0_EEESt4pairINS7_13FixedIteratorEbEDpOT_(ptr noundef nonnull align 8 dereferenceable(56) %39, ptr noundef nonnull align 8 dereferenceable(8) %12)
  br label %56

.critedge:                                        ; preds = %40
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  br label %51

51:                                               ; preds = %.critedge, %44
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %14) #6
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE3topEv(ptr dead_on_unwind nonnull writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8 %14)
  %52 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN6sparta19AbstractEnvironmentINS_15PatriciaTreeMapIPK8DexField37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS_22ConstantAbstractDomainIS4_EENS_17SetAbstractDomainINS_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS9_INS_15PatriciaTreeSetIPK9DexStringEEEENS7_ISK_EENS7_IPK7DexTypeEENS7_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS7_IPK13IRInstructionEEEENS_17TopValueInterfaceISZ_EEEEE3setERKS4_OSZ_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(48) %14)
          to label %53 unwind label %54

53:                                               ; preds = %51
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #6
  br label %56

54:                                               ; preds = %51
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %61

56:                                               ; preds = %53, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #6
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKP8DexFieldSt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %58 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKP8DexFieldSt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  br i1 %58, label %40, label %._crit_edge

59:                                               ; preds = %._crit_edge, %._crit_edge16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #6
  store i32 0, ptr %15, align 4, !tbaa !9
  %60 = getelementptr inbounds i8, ptr %0, i64 184
  call void @_ZN12_GLOBAL__N_123set_fields_in_partitionEPK8DexClassRKN6sparta19AbstractEnvironmentINS3_15PatriciaTreeMapIPK8DexField37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS3_22ConstantAbstractDomainIS8_EENS3_17SetAbstractDomainINS3_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSD_INS3_15PatriciaTreeSetIPK9DexStringEEEENSB_ISO_EENSB_IPK7DexTypeEENSB_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSB_IPK13IRInstructionEEEENS3_17TopValueInterfaceIS13_EEEEEERKN20constant_propagation9FieldTypeEPNS3_17AbstractPartitionINS3_7HashMapIS8_S13_NS3_20BottomValueInterfaceIS13_EESF_IS8_ESH_IS8_EEEEE(ptr noundef nonnull %1, ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull %60)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  ret void

61:                                               ; preds = %54, %32
  %.pn = phi { ptr, i32 } [ %33, %32 ], [ %55, %54 ]
  resume { ptr, i32 } %.pn
}

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

; Function Attrs: noreturn
declare void @_Z11assert_failPKcS0_jS0_10RedexErrorS0_z(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8DexClass9get_ctorsEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.333") align 8, ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNK12UnorderedSetIP8DexFieldSt4hashIS1_ESt8equal_toIS1_EE5countERKS1_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { inlinehint 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 = { 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 #4 = { noreturn "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 #5 = { noreturn }
attributes #6 = { 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 = !{!10, !10, i64 0}
!10 = !{!"_ZTSN20constant_propagation9FieldTypeE", !7, i64 0}


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