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

; 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.75" }
%"class.boost::variant.75" = type { i32, [4 x i8], %"class.boost::aligned_storage.76" }
%"class.boost::aligned_storage.76" = type { %"struct.boost::detail::aligned_storage::aligned_storage_imp.77" }
%"struct.boost::detail::aligned_storage::aligned_storage_imp.77" = 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.boost::optional.78" = type { %"class.boost::optional_detail::optional_base.79" }
%"class.boost::optional_detail::optional_base.79" = type { i8, [7 x i8], %"class.boost::optional_detail::aligned_storage.80" }
%"class.boost::optional_detail::aligned_storage.80" = type { %"union.boost::optional_detail::aligned_storage<SignedConstantDomain>::dummy_u" }
%"union.boost::optional_detail::aligned_storage<SignedConstantDomain>::dummy_u" = type { [24 x i8] }
%"class.sparta::DisjointUnionAbstractDomain" = 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<24, 8>::data_t" }
%"union.boost::detail::aligned_storage::aligned_storage_imp<24, 8>::data_t" = type { [24 x i8] }
%class.ConstantArrayDomain = type { %"class.sparta::ReducedProductAbstractDomain.59" }
%"class.sparta::ReducedProductAbstractDomain.59" = type { %"class.sparta::DirectProductAbstractDomain.60" }
%"class.sparta::DirectProductAbstractDomain.60" = type { %"class.std::tuple.63" }
%"class.std::tuple.63" = type { %"struct.std::_Tuple_impl.64" }
%"struct.std::_Tuple_impl.64" = type { %"struct.std::_Tuple_impl.65", %"struct.std::_Head_base.67" }
%"struct.std::_Tuple_impl.65" = type { %"struct.std::_Head_base.66" }
%"struct.std::_Head_base.66" = type { %"class.sparta::AbstractEnvironment.37" }
%"class.sparta::AbstractEnvironment.37" = type { %"class.sparta::AbstractDomainScaffolding.38" }
%"class.sparta::AbstractDomainScaffolding.38" = type { i32, %"class.sparta::environment_impl::MapValue.43" }
%"class.sparta::environment_impl::MapValue.43" = type { %"class.sparta::PatriciaTreeMap.46" }
%"class.sparta::PatriciaTreeMap.46" = type { %"class.sparta::pt_core::PatriciaTreeCore.51" }
%"class.sparta::pt_core::PatriciaTreeCore.51" = type { %"class.boost::intrusive_ptr.52" }
%"class.boost::intrusive_ptr.52" = type { ptr }
%"struct.std::_Head_base.67" = type { %"class.sparta::ConstantAbstractDomain" }
%"class.sparta::ConstantAbstractDomain" = type { %"class.sparta::acd_impl::ConstantAbstractValueRepr" }
%"class.sparta::acd_impl::ConstantAbstractValueRepr" = type { i32, i32 }
%class.SignedConstantDomain = type { %"struct.SignedConstantDomain::Bounds" }
%"struct.SignedConstantDomain::Bounds" = type { i8, i64, i64 }
%"class.boost::optional.55" = type { %"class.boost::optional_detail::tc_optional_base.56" }
%"class.boost::optional_detail::tc_optional_base.56" = type { i8, i64 }

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

declare noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext) #1

declare noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) #1

; Function Attrs: mustprogress uwtable
declare dso_local { i8, i64 } @_ZNK20SignedConstantDomain12get_constantEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK19ConstantEnvironment3getEj(ptr dead_on_unwind noalias writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #2 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 #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE9maybe_getI20SignedConstantDomainEEN5boost8optionalIT_EEv(ptr dead_on_unwind noalias writable sret(%"class.boost::optional.78") align 8, ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5boost8optionalI20SignedConstantDomainEptEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN20constant_propagation18LocalArrayAnalyzer24analyze_filled_new_arrayEPK13IRInstructionP19ConstantEnvironment(ptr noundef %0, ptr noundef %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.sparta::DisjointUnionAbstractDomain", align 8
  %9 = alloca %class.ConstantArrayDomain, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i16, align 2
  %13 = alloca %"class.boost::optional.78", align 8
  %14 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %15 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %16 = alloca %class.SignedConstantDomain, align 8
  %17 = alloca %"class.boost::optional.55", align 8
  %18 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %19 = alloca %class.SignedConstantDomain, align 8
  %20 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %21)
  store i64 %22, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = call noundef ptr @_ZNK13IRInstruction8get_typeEv(ptr noundef nonnull align 8 dereferenceable(32) %23)
  %25 = call noundef ptr @_ZN4type24get_array_component_typeEPK7DexType(ptr noundef %24)
  store ptr %25, ptr %7, align 8, !tbaa !5
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = call noundef zeroext i1 @_ZN4type11is_integralEPK7DexType(ptr noundef %26)
  br i1 %27, label %28, label %138

28:                                               ; preds = %2
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  %30 = load i64, ptr %6, align 8, !tbaa !9
  %31 = trunc i64 %30 to i32
  call void @_ZN19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS2_17SetAbstractDomainINS2_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS2_15PatriciaTreeSetIPK9DexStringEEEENS3_ISJ_EENS3_IPK7DexTypeEENS3_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS3_IPK13IRInstructionEEEE25ConstantValueDefaultValueEC2Ej(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef %31)
  invoke void @_ZN6sparta27DisjointUnionAbstractDomainI19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS_22ConstantAbstractDomainIPK8DexFieldEENS_17SetAbstractDomainINS_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS9_INS_15PatriciaTreeSetIPK9DexStringEEEENS4_ISK_EENS4_IPK7DexTypeEENS4_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS4_IPK13IRInstructionEEEE25ConstantValueDefaultValueEJ12ObjectDomainISZ_EEEC2IS11_EET_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef %9)
          to label %32 unwind label %41

32:                                               ; preds = %28
  %33 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN19ConstantEnvironment14new_heap_valueEjRKPK13IRInstructionRKN6sparta27DisjointUnionAbstractDomainI19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS5_22ConstantAbstractDomainIPK8DexFieldEENS5_17SetAbstractDomainINS5_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSF_INS5_15PatriciaTreeSetIPK9DexStringEEEENSA_ISQ_EENSA_IPK7DexTypeEENSA_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSA_IS2_EEEE25ConstantValueDefaultValueEJ12ObjectDomainIS12_EEEE(ptr noundef nonnull align 8 dereferenceable(48) %29, i32 noundef -2, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %34 unwind label %45

34:                                               ; preds = %32
  call void @_ZN6sparta27DisjointUnionAbstractDomainI19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS_22ConstantAbstractDomainIPK8DexFieldEENS_17SetAbstractDomainINS_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS9_INS_15PatriciaTreeSetIPK9DexStringEEEENS4_ISK_EENS4_IPK7DexTypeEENS4_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS4_IPK13IRInstructionEEEE25ConstantValueDefaultValueEJ12ObjectDomainISZ_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @_ZN6sparta28ReducedProductAbstractDomainI19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS_22ConstantAbstractDomainIPK8DexFieldEENS_17SetAbstractDomainINS_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS9_INS_15PatriciaTreeSetIPK9DexStringEEEENS4_ISK_EENS4_IPK7DexTypeEENS4_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS4_IPK13IRInstructionEEEE25ConstantValueDefaultValueEJNS4_IjEENS_19AbstractEnvironmentINS_15PatriciaTreeMapIjSZ_NS_17TopValueInterfaceISZ_EEEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #6
  store i16 0, ptr %12, align 2, !tbaa !11
  br label %35

35:                                               ; preds = %132, %34
  %36 = load i16, ptr %12, align 2, !tbaa !11
  %37 = zext i16 %36 to i64
  %38 = load i64, ptr %6, align 8, !tbaa !9
  %39 = icmp ult i64 %37, %38
  br i1 %39, label %50, label %40

40:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #6
  br label %137

41:                                               ; preds = %28
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %10, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %11, align 4
  br label %49

45:                                               ; preds = %32
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %10, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %11, align 4
  call void @_ZN6sparta27DisjointUnionAbstractDomainI19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS_22ConstantAbstractDomainIPK8DexFieldEENS_17SetAbstractDomainINS_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS9_INS_15PatriciaTreeSetIPK9DexStringEEEENS4_ISK_EENS4_IPK7DexTypeEENS4_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS4_IPK13IRInstructionEEEE25ConstantValueDefaultValueEJ12ObjectDomainISZ_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  br label %49

49:                                               ; preds = %45, %41
  call void @_ZN6sparta28ReducedProductAbstractDomainI19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS_22ConstantAbstractDomainIPK8DexFieldEENS_17SetAbstractDomainINS_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS9_INS_15PatriciaTreeSetIPK9DexStringEEEENS4_ISK_EENS4_IPK7DexTypeEENS4_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS4_IPK13IRInstructionEEEE25ConstantValueDefaultValueEJNS4_IjEENS_19AbstractEnvironmentINS_15PatriciaTreeMapIjSZ_NS_17TopValueInterfaceISZ_EEEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  br label %141

50:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #6
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = load i16, ptr %12, align 2, !tbaa !11
  %54 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %52, i16 noundef zeroext %53)
  call void @_ZNK19ConstantEnvironment3getEj(ptr dead_on_unwind writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8 %14, ptr noundef nonnull align 8 dereferenceable(48) %51, i32 noundef %54)
  invoke void @_ZNK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE9maybe_getI20SignedConstantDomainEEN5boost8optionalIT_EEv(ptr dead_on_unwind writable sret(%"class.boost::optional.78") align 8 %13, ptr noundef nonnull align 8 dereferenceable(48) %14)
          to label %55 unwind label %87

55:                                               ; preds = %50
  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
  %56 = call noundef zeroext i1 @_ZNK5boost8optionalI20SignedConstantDomainEcvbEv(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  br i1 %56, label %57, label %109

57:                                               ; preds = %55
  %58 = invoke noundef ptr @_ZN5boost8optionalI20SignedConstantDomainEptEv(ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %59 unwind label %91

59:                                               ; preds = %57
  %60 = invoke noundef zeroext i1 @_ZNK20SignedConstantDomain6is_topEv(ptr noundef nonnull align 8 dereferenceable(24) %58)
          to label %61 unwind label %91

61:                                               ; preds = %59
  br i1 %60, label %109, label %62

62:                                               ; preds = %61
  %63 = invoke noundef ptr @_ZN5boost8optionalI20SignedConstantDomainEptEv(ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %64 unwind label %91

64:                                               ; preds = %62
  %65 = invoke noundef zeroext i1 @_ZNK20SignedConstantDomain9is_bottomEv(ptr noundef nonnull align 8 dereferenceable(24) %63)
          to label %66 unwind label %91

66:                                               ; preds = %64
  br i1 %65, label %109, label %67

67:                                               ; preds = %66
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = load i16, ptr %12, align 2, !tbaa !11
  %70 = zext i16 %69 to i32
  call void @llvm.lifetime.start.p0(i64 48, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  %71 = invoke noundef ptr @_ZN5boost8optionalI20SignedConstantDomainEptEv(ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %72 unwind label %95

72:                                               ; preds = %67
  %73 = invoke { i8, i64 } @_ZNK20SignedConstantDomain12get_constantEv(ptr noundef nonnull align 8 dereferenceable(24) %71)
          to label %74 unwind label %95

74:                                               ; preds = %72
  %75 = getelementptr inbounds %"class.boost::optional.55", ptr %17, i32 0, i32 0
  %76 = getelementptr inbounds { i8, i64 }, ptr %75, i32 0, i32 0
  %77 = extractvalue { i8, i64 } %73, 0
  store i8 %77, ptr %76, align 8
  %78 = getelementptr inbounds { i8, i64 }, ptr %75, i32 0, i32 1
  %79 = extractvalue { i8, i64 } %73, 1
  store i64 %79, ptr %78, align 8
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNO5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %81 unwind label %95

81:                                               ; preds = %74
  %82 = load i64, ptr %80, align 8, !tbaa !9
  invoke void @_ZN20SignedConstantDomainC2El(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %82)
          to label %83 unwind label %95

83:                                               ; preds = %81
  invoke void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEEC2I20SignedConstantDomainEET_(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef %16)
          to label %84 unwind label %99

84:                                               ; preds = %83
  %85 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN19ConstantEnvironment17set_array_bindingEjjRK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS2_17SetAbstractDomainINS2_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS2_15PatriciaTreeSetIPK9DexStringEEEENS3_ISJ_EENS3_IPK7DexTypeEENS3_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS3_IPK13IRInstructionEEEE(ptr noundef nonnull align 8 dereferenceable(48) %68, i32 noundef -2, i32 noundef %70, ptr noundef nonnull align 8 dereferenceable(48) %15)
          to label %86 unwind label %103

86:                                               ; preds = %84
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #6
  br label %131

87:                                               ; preds = %50
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %10, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %11, 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
  br label %136

91:                                               ; preds = %64, %62, %59, %57
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %10, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %11, align 4
  br label %135

95:                                               ; preds = %81, %74, %72, %67
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %10, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %11, align 4
  br label %108

99:                                               ; preds = %83
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %10, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %11, align 4
  br label %107

103:                                              ; preds = %84
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %10, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %11, align 4
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #6
  br label %107

107:                                              ; preds = %103, %99
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  br label %108

108:                                              ; preds = %107, %95
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #6
  br label %135

109:                                              ; preds = %66, %61, %55
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = load i16, ptr %12, align 2, !tbaa !11
  %112 = zext i16 %111 to i32
  call void @llvm.lifetime.start.p0(i64 48, ptr %18) #6
  invoke void @_ZN20SignedConstantDomainC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %113 unwind label %117

113:                                              ; preds = %109
  invoke void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEEC2I20SignedConstantDomainEET_(ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef %19)
          to label %114 unwind label %121

114:                                              ; preds = %113
  %115 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN19ConstantEnvironment17set_array_bindingEjjRK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS2_17SetAbstractDomainINS2_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS2_15PatriciaTreeSetIPK9DexStringEEEENS3_ISJ_EENS3_IPK7DexTypeEENS3_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS3_IPK13IRInstructionEEEE(ptr noundef nonnull align 8 dereferenceable(48) %110, i32 noundef -2, i32 noundef %112, ptr noundef nonnull align 8 dereferenceable(48) %18)
          to label %116 unwind label %125

116:                                              ; preds = %114
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #6
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %18) #6
  br label %131

117:                                              ; preds = %109
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %10, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %11, align 4
  br label %130

121:                                              ; preds = %113
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %10, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %11, align 4
  br label %129

125:                                              ; preds = %114
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %10, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %11, align 4
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #6
  br label %129

129:                                              ; preds = %125, %121
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  br label %130

130:                                              ; preds = %129, %117
  call void @llvm.lifetime.end.p0(i64 48, ptr %18) #6
  br label %135

131:                                              ; preds = %116, %86
  call void @_ZN5boost15optional_detail13optional_baseI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #6
  br label %132

132:                                              ; preds = %131
  %133 = load i16, ptr %12, align 2, !tbaa !11
  %134 = add i16 %133, 1
  store i16 %134, ptr %12, align 2, !tbaa !11
  br label %35, !llvm.loop !13

135:                                              ; preds = %130, %108, %91
  call void @_ZN5boost15optional_detail13optional_baseI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  br label %136

136:                                              ; preds = %135, %87
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #6
  br label %141

137:                                              ; preds = %40
  store i1 true, ptr %3, align 1
  store i32 1, ptr %20, align 4
  br label %139

138:                                              ; preds = %2
  store i1 false, ptr %3, align 1
  store i32 1, ptr %20, align 4
  br label %139

139:                                              ; preds = %138, %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  %140 = load i1, ptr %3, align 1
  ret i1 %140

141:                                              ; preds = %136, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %142

142:                                              ; preds = %141
  %143 = load ptr, ptr %10, align 8
  %144 = load i32, ptr %11, align 4
  %145 = insertvalue { ptr, i32 } poison, ptr %143, 0
  %146 = insertvalue { ptr, i32 } %145, i32 %144, 1
  resume { ptr, i32 } %146
}

declare noundef ptr @_ZN4type24get_array_component_typeEPK7DexType(ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK13IRInstruction8get_typeEv(ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

declare noundef zeroext i1 @_ZN4type11is_integralEPK7DexType(ptr noundef) #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5boost8optionalI20SignedConstantDomainEcvbEv(ptr noundef nonnull align 8 dereferenceable(32)) #5 align 2

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 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 = { 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 #4 = { 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 #5 = { alwaysinline 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 #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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"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"

%class.DisjointUnionWithSignedConstantDomain = type { %"class.boost::variant.75" }
%"class.boost::variant.75" = type { i32, [4 x i8], %"class.boost::aligned_storage.76" }
%"class.boost::aligned_storage.76" = type { %"struct.boost::detail::aligned_storage::aligned_storage_imp.77" }
%"struct.boost::detail::aligned_storage::aligned_storage_imp.77" = 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.boost::optional.78" = type { %"class.boost::optional_detail::optional_base.79" }
%"class.boost::optional_detail::optional_base.79" = type { i8, [7 x i8], %"class.boost::optional_detail::aligned_storage.80" }
%"class.boost::optional_detail::aligned_storage.80" = type { %"union.boost::optional_detail::aligned_storage<SignedConstantDomain>::dummy_u" }
%"union.boost::optional_detail::aligned_storage<SignedConstantDomain>::dummy_u" = type { [24 x i8] }
%"class.sparta::DisjointUnionAbstractDomain" = 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<24, 8>::data_t" }
%"union.boost::detail::aligned_storage::aligned_storage_imp<24, 8>::data_t" = type { [24 x i8] }
%class.ConstantArrayDomain = type { %"class.sparta::ReducedProductAbstractDomain.59" }
%"class.sparta::ReducedProductAbstractDomain.59" = type { %"class.sparta::DirectProductAbstractDomain.60" }
%"class.sparta::DirectProductAbstractDomain.60" = type { %"class.std::tuple.63" }
%"class.std::tuple.63" = type { %"struct.std::_Tuple_impl.64" }
%"struct.std::_Tuple_impl.64" = type { %"struct.std::_Tuple_impl.65", %"struct.std::_Head_base.67" }
%"struct.std::_Tuple_impl.65" = type { %"struct.std::_Head_base.66" }
%"struct.std::_Head_base.66" = type { %"class.sparta::AbstractEnvironment.37" }
%"class.sparta::AbstractEnvironment.37" = type { %"class.sparta::AbstractDomainScaffolding.38" }
%"class.sparta::AbstractDomainScaffolding.38" = type { i32, %"class.sparta::environment_impl::MapValue.43" }
%"class.sparta::environment_impl::MapValue.43" = type { %"class.sparta::PatriciaTreeMap.46" }
%"class.sparta::PatriciaTreeMap.46" = type { %"class.sparta::pt_core::PatriciaTreeCore.51" }
%"class.sparta::pt_core::PatriciaTreeCore.51" = type { %"class.boost::intrusive_ptr.52" }
%"class.boost::intrusive_ptr.52" = type { ptr }
%"struct.std::_Head_base.67" = type { %"class.sparta::ConstantAbstractDomain" }
%"class.sparta::ConstantAbstractDomain" = type { %"class.sparta::acd_impl::ConstantAbstractValueRepr" }
%"class.sparta::acd_impl::ConstantAbstractValueRepr" = type { i32, i32 }
%class.SignedConstantDomain = type { %"struct.SignedConstantDomain::Bounds" }
%"struct.SignedConstantDomain::Bounds" = type { i8, i64, i64 }
%"class.boost::optional.55" = type { %"class.boost::optional_detail::tc_optional_base.56" }
%"class.boost::optional_detail::tc_optional_base.56" = type { i8, i64 }

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

declare noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32), i16 noundef zeroext) local_unnamed_addr #1

declare noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK19ConstantEnvironment3getEj(ptr dead_on_unwind noalias writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #2 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 #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE9maybe_getI20SignedConstantDomainEEN5boost8optionalIT_EEv(ptr dead_on_unwind noalias writable sret(%"class.boost::optional.78") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN20constant_propagation18LocalArrayAnalyzer24analyze_filled_new_arrayEPK13IRInstructionP19ConstantEnvironment(ptr noundef nonnull %0, ptr noundef %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca %"class.sparta::DisjointUnionAbstractDomain", align 8
  %5 = alloca %class.ConstantArrayDomain, align 8
  %6 = alloca %"class.boost::optional.78", align 8
  %7 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %8 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %9 = alloca %class.SignedConstantDomain, align 8
  %10 = alloca %"class.boost::optional.55", align 8
  %11 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %12 = alloca %class.SignedConstantDomain, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %13 = tail call noundef i64 @_ZNK13IRInstruction9srcs_sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %14 = tail call noundef ptr @_ZNK13IRInstruction8get_typeEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %15 = tail call noundef ptr @_ZN4type24get_array_component_typeEPK7DexType(ptr noundef %14)
  %16 = tail call noundef zeroext i1 @_ZN4type11is_integralEPK7DexType(ptr noundef %15)
  br i1 %16, label %17, label %.loopexit

17:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  %18 = trunc i64 %13 to i32
  call void @_ZN19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS2_17SetAbstractDomainINS2_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS2_15PatriciaTreeSetIPK9DexStringEEEENS3_ISJ_EENS3_IPK7DexTypeEENS3_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS3_IPK13IRInstructionEEEE25ConstantValueDefaultValueEC2Ej(ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef %18)
  invoke void @_ZN6sparta27DisjointUnionAbstractDomainI19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS_22ConstantAbstractDomainIPK8DexFieldEENS_17SetAbstractDomainINS_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS9_INS_15PatriciaTreeSetIPK9DexStringEEEENS4_ISK_EENS4_IPK7DexTypeEENS4_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS4_IPK13IRInstructionEEEE25ConstantValueDefaultValueEJ12ObjectDomainISZ_EEEC2IS11_EET_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull %5)
          to label %19 unwind label %23

19:                                               ; preds = %17
  %20 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN19ConstantEnvironment14new_heap_valueEjRKPK13IRInstructionRKN6sparta27DisjointUnionAbstractDomainI19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS5_22ConstantAbstractDomainIPK8DexFieldEENS5_17SetAbstractDomainINS5_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSF_INS5_15PatriciaTreeSetIPK9DexStringEEEENSA_ISQ_EENSA_IPK7DexTypeEENSA_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNSA_IS2_EEEE25ConstantValueDefaultValueEJ12ObjectDomainIS12_EEEE(ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef -2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %21 unwind label %25

21:                                               ; preds = %19
  call void @_ZN6sparta27DisjointUnionAbstractDomainI19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS_22ConstantAbstractDomainIPK8DexFieldEENS_17SetAbstractDomainINS_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS9_INS_15PatriciaTreeSetIPK9DexStringEEEENS4_ISK_EENS4_IPK7DexTypeEENS4_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS4_IPK13IRInstructionEEEE25ConstantValueDefaultValueEJ12ObjectDomainISZ_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @_ZN6sparta28ReducedProductAbstractDomainI19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS_22ConstantAbstractDomainIPK8DexFieldEENS_17SetAbstractDomainINS_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS9_INS_15PatriciaTreeSetIPK9DexStringEEEENS4_ISK_EENS4_IPK7DexTypeEENS4_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS4_IPK13IRInstructionEEEE25ConstantValueDefaultValueEJNS4_IjEENS_19AbstractEnvironmentINS_15PatriciaTreeMapIjSZ_NS_17TopValueInterfaceISZ_EEEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  %.not = icmp eq i64 %13, 0
  br i1 %.not, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %21
  %22 = getelementptr inbounds i8, ptr %10, i64 8
  br label %28

23:                                               ; preds = %17
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %27

25:                                               ; preds = %19
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6sparta27DisjointUnionAbstractDomainI19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS_22ConstantAbstractDomainIPK8DexFieldEENS_17SetAbstractDomainINS_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS9_INS_15PatriciaTreeSetIPK9DexStringEEEENS4_ISK_EENS4_IPK7DexTypeEENS4_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS4_IPK13IRInstructionEEEE25ConstantValueDefaultValueEJ12ObjectDomainISZ_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  br label %27

27:                                               ; preds = %25, %23
  %.pn = phi { ptr, i32 } [ %26, %25 ], [ %24, %23 ]
  call void @_ZN6sparta28ReducedProductAbstractDomainI19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJNS_22ConstantAbstractDomainIPK8DexFieldEENS_17SetAbstractDomainINS_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS9_INS_15PatriciaTreeSetIPK9DexStringEEEENS4_ISK_EENS4_IPK7DexTypeEENS4_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS4_IPK13IRInstructionEEEE25ConstantValueDefaultValueEJNS4_IjEENS_19AbstractEnvironmentINS_15PatriciaTreeMapIjSZ_NS_17TopValueInterfaceISZ_EEEEEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  br label %85

28:                                               ; preds = %.lr.ph, %79
  %.032 = phi i16 [ 0, %.lr.ph ], [ %80, %79 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #6
  %29 = load ptr, ptr %3, align 8, !tbaa !5
  %30 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %29, i16 noundef zeroext %.032)
  call void @_ZNK19ConstantEnvironment3getEj(ptr dead_on_unwind nonnull writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8 %7, ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %30)
  invoke void @_ZNK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE9maybe_getI20SignedConstantDomainEEN5boost8optionalIT_EEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::optional.78") align 8 %6, ptr noundef nonnull align 8 dereferenceable(48) %7)
          to label %31 unwind label %57

31:                                               ; preds = %28
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #6
  %32 = call noundef zeroext i1 @_ZNK5boost8optionalI20SignedConstantDomainEcvbEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  br i1 %32, label %33, label %69

33:                                               ; preds = %31
  %34 = invoke noundef ptr @_ZN5boost8optionalI20SignedConstantDomainEptEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %35 unwind label %59

35:                                               ; preds = %33
  %36 = invoke noundef zeroext i1 @_ZNK20SignedConstantDomain6is_topEv(ptr noundef nonnull align 8 dereferenceable(24) %34)
          to label %37 unwind label %59

37:                                               ; preds = %35
  br i1 %36, label %69, label %38

38:                                               ; preds = %37
  %39 = invoke noundef ptr @_ZN5boost8optionalI20SignedConstantDomainEptEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %40 unwind label %59

40:                                               ; preds = %38
  %41 = call noundef zeroext i1 @_ZNK20SignedConstantDomain9is_bottomEv(ptr noundef nonnull align 8 dereferenceable(24) %39)
  br i1 %41, label %69, label %42

42:                                               ; preds = %40
  %43 = zext i16 %.032 to i32
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %44 = invoke noundef ptr @_ZN5boost8optionalI20SignedConstantDomainEptEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %45 unwind label %61

45:                                               ; preds = %42
  %46 = invoke { i8, i64 } @_ZNK20SignedConstantDomain12get_constantEv(ptr noundef nonnull align 8 dereferenceable(24) %44)
          to label %47 unwind label %61

47:                                               ; preds = %45
  %48 = extractvalue { i8, i64 } %46, 0
  store i8 %48, ptr %10, align 8
  %49 = extractvalue { i8, i64 } %46, 1
  store i64 %49, ptr %22, align 8
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNO5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %10)
          to label %51 unwind label %61

51:                                               ; preds = %47
  %52 = load i64, ptr %50, align 8, !tbaa !9
  invoke void @_ZN20SignedConstantDomainC2El(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %52)
          to label %53 unwind label %61

53:                                               ; preds = %51
  invoke void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEEC2I20SignedConstantDomainEET_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull %9)
          to label %54 unwind label %63

54:                                               ; preds = %53
  %55 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN19ConstantEnvironment17set_array_bindingEjjRK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS2_17SetAbstractDomainINS2_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS2_15PatriciaTreeSetIPK9DexStringEEEENS3_ISJ_EENS3_IPK7DexTypeEENS3_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS3_IPK13IRInstructionEEEE(ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef -2, i32 noundef %43, ptr noundef nonnull align 8 dereferenceable(48) %8)
          to label %56 unwind label %65

56:                                               ; preds = %54
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #6
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #6
  br label %79

57:                                               ; preds = %28
  %58 = 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) %7) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #6
  br label %84

59:                                               ; preds = %38, %35, %33
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %83

61:                                               ; preds = %51, %47, %45, %42
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %68

63:                                               ; preds = %53
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %67

65:                                               ; preds = %54
  %66 = 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) %8) #6
  br label %67

67:                                               ; preds = %65, %63
  %.pn24 = phi { ptr, i32 } [ %66, %65 ], [ %64, %63 ]
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  br label %68

68:                                               ; preds = %67, %61
  %.pn24.pn = phi { ptr, i32 } [ %.pn24, %67 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #6
  br label %83

69:                                               ; preds = %40, %37, %31
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %11) #6
  call void @_ZN20SignedConstantDomainC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12)
  invoke void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEEC2I20SignedConstantDomainEET_(ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull %12)
          to label %70 unwind label %74

70:                                               ; preds = %69
  %71 = zext i16 %.032 to i32
  %72 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN19ConstantEnvironment17set_array_bindingEjjRK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS2_17SetAbstractDomainINS2_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS2_15PatriciaTreeSetIPK9DexStringEEEENS3_ISJ_EENS3_IPK7DexTypeEENS3_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS3_IPK13IRInstructionEEEE(ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef -2, i32 noundef %71, ptr noundef nonnull align 8 dereferenceable(48) %11)
          to label %73 unwind label %76

73:                                               ; preds = %70
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #6
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #6
  br label %79

74:                                               ; preds = %69
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %78

76:                                               ; preds = %70
  %77 = 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) %11) #6
  br label %78

78:                                               ; preds = %76, %74
  %.pn27 = phi { ptr, i32 } [ %77, %76 ], [ %75, %74 ]
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #6
  br label %83

79:                                               ; preds = %73, %56
  call void @_ZN5boost15optional_detail13optional_baseI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  %80 = add i16 %.032, 1
  %81 = zext i16 %80 to i64
  %82 = icmp ugt i64 %13, %81
  br i1 %82, label %28, label %.loopexit, !llvm.loop !11

83:                                               ; preds = %78, %68, %59
  %.pn27.pn = phi { ptr, i32 } [ %.pn27, %78 ], [ %.pn24.pn, %68 ], [ %60, %59 ]
  call void @_ZN5boost15optional_detail13optional_baseI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  br label %84

84:                                               ; preds = %83, %57
  %.pn27.pn.pn = phi { ptr, i32 } [ %.pn27.pn, %83 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  br label %85

.loopexit:                                        ; preds = %79, %21, %2
  ret i1 %16

85:                                               ; preds = %84, %27
  %.pn27.pn.pn.pn = phi { ptr, i32 } [ %.pn27.pn.pn, %84 ], [ %.pn, %27 ]
  resume { ptr, i32 } %.pn27.pn.pn.pn
}

declare noundef ptr @_ZN4type24get_array_component_typeEPK7DexType(ptr noundef) local_unnamed_addr #1

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

declare noundef zeroext i1 @_ZN4type11is_integralEPK7DexType(ptr noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK5boost8optionalI20SignedConstantDomainEcvbEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5 align 2

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 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 = { 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 #4 = { 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 #5 = { alwaysinline 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 #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 = !{!"long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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