; 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.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 }
%"class.boost::optional.72" = type { %"class.boost::optional_detail::optional_base" }
%"class.boost::optional_detail::optional_base" = type { i8, [7 x i8], %"class.boost::optional_detail::aligned_storage" }
%"class.boost::optional_detail::aligned_storage" = type { %"union.boost::optional_detail::aligned_storage<sparta::ConstantAbstractDomain<const IRInstruction *>>::dummy_u" }
%"union.boost::optional_detail::aligned_storage<sparta::ConstantAbstractDomain<const IRInstruction *>>::dummy_u" = type { [8 x i8] }
%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.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 }

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 zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK19ConstantEnvironment3getI20SignedConstantDomainEET_j(ptr dead_on_unwind noalias writable sret(%class.SignedConstantDomain) align 8, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16)) #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 #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN20constant_propagation18LocalArrayAnalyzer12analyze_agetEPK13IRInstructionP19ConstantEnvironment(ptr noundef %0, ptr noundef %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"class.boost::optional.55", align 8
  %7 = alloca %class.SignedConstantDomain, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.boost::optional.72", align 8
  %12 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %13 = alloca %class.ConstantArrayDomain, align 8
  %14 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %15)
  %17 = zext i16 %16 to i32
  %18 = icmp eq i32 %17, 47
  br i1 %18, label %19, label %20

19:                                               ; preds = %2
  store i1 false, ptr %3, align 1
  br label %80

20:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #5
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %22, i16 noundef zeroext 1)
  call void @_ZNK19ConstantEnvironment3getI20SignedConstantDomainEET_j(ptr dead_on_unwind writable sret(%class.SignedConstantDomain) align 8 %7, ptr noundef nonnull align 8 dereferenceable(48) %21, i32 noundef %23)
  %24 = invoke { i8, i64 } @_ZNK20SignedConstantDomain12get_constantEv(ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %25 unwind label %33

25:                                               ; preds = %20
  %26 = getelementptr inbounds %"class.boost::optional.55", ptr %6, i32 0, i32 0
  %27 = getelementptr inbounds { i8, i64 }, ptr %26, i32 0, i32 0
  %28 = extractvalue { i8, i64 } %24, 0
  store i8 %28, ptr %27, align 8
  %29 = getelementptr inbounds { i8, i64 }, ptr %26, i32 0, i32 1
  %30 = extractvalue { i8, i64 } %24, 1
  store i64 %30, ptr %29, align 8
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  %31 = call noundef zeroext i1 @_ZNK5boost8optionalIlEntEv(ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  br i1 %31, label %32, label %37

32:                                               ; preds = %25
  store i1 false, ptr %3, align 1
  store i32 1, ptr %10, align 4
  br label %78

33:                                               ; preds = %20
  %34 = landingpad { ptr, i32 }
          cleanup
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %8, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %9, align 4
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #5
  br label %79

37:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %12) #5
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %39, i16 noundef zeroext 0)
  call void @_ZNK19ConstantEnvironment3getEj(ptr dead_on_unwind writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8 %12, ptr noundef nonnull align 8 dereferenceable(48) %38, i32 noundef %40)
  invoke void @_ZNK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE9maybe_getISW_EEN5boost8optionalIT_EEv(ptr dead_on_unwind writable sret(%"class.boost::optional.72") align 8 %11, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %41 unwind label %44

41:                                               ; preds = %37
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #5
  %42 = call noundef zeroext i1 @_ZNK5boost8optionalIN6sparta22ConstantAbstractDomainIPK13IRInstructionEEEntEv(ptr noundef nonnull align 8 dereferenceable(16) %11) #5
  br i1 %42, label %43, label %48

43:                                               ; preds = %41
  store i1 false, ptr %3, align 1
  store i32 1, ptr %10, align 4
  br label %76

44:                                               ; preds = %37
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %8, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %9, align 4
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %12) #5
  br label %77

48:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #5
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = invoke noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %50, i16 noundef zeroext 0)
          to label %52 unwind label %62

52:                                               ; preds = %48
  invoke void @_ZNK19ConstantEnvironment11get_pointeeI19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS4_17SetAbstractDomainINS4_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSA_INS4_15PatriciaTreeSetIPK9DexStringEEEENS5_ISL_EENS5_IPK7DexTypeEENS5_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS5_IPK13IRInstructionEEEE25ConstantValueDefaultValueEEET_j(ptr dead_on_unwind writable sret(%class.ConstantArrayDomain) align 8 %13, ptr noundef nonnull align 8 dereferenceable(48) %49, i32 noundef %51)
          to label %53 unwind label %62

53:                                               ; preds = %52
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #5
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %56 unwind label %66

56:                                               ; preds = %53
  %57 = load i64, ptr %55, align 8, !tbaa !9
  %58 = trunc i64 %57 to i32
  invoke void @_ZNK19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS2_17SetAbstractDomainINS2_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS2_15PatriciaTreeSetIPK9DexStringEEEENS3_ISJ_EENS3_IPK7DexTypeEENS3_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS3_IPK13IRInstructionEEEE25ConstantValueDefaultValueE3getEj(ptr dead_on_unwind writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef %58)
          to label %59 unwind label %66

59:                                               ; preds = %56
  %60 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN19ConstantEnvironment3setEjRK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS2_17SetAbstractDomainINS2_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS2_15PatriciaTreeSetIPK9DexStringEEEENS3_ISJ_EENS3_IPK7DexTypeEENS3_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS3_IPK13IRInstructionEEEE(ptr noundef nonnull align 8 dereferenceable(48) %54, i32 noundef -2, ptr noundef nonnull align 8 dereferenceable(48) %14)
          to label %61 unwind label %70

61:                                               ; preds = %59
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #5
  store i1 true, ptr %3, align 1
  store i32 1, ptr %10, align 4
  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) %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #5
  br label %76

62:                                               ; preds = %52, %48
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %8, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %9, align 4
  br label %75

66:                                               ; preds = %56, %53
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %8, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %9, align 4
  br label %74

70:                                               ; preds = %59
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %8, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %9, 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) #5
  br label %74

74:                                               ; preds = %70, %66
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #5
  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) %13) #5
  br label %75

75:                                               ; preds = %74, %62
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #5
  call void @_ZN5boost15optional_detail13optional_baseIN6sparta22ConstantAbstractDomainIPK13IRInstructionEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #5
  br label %77

76:                                               ; preds = %61, %43
  call void @_ZN5boost15optional_detail13optional_baseIN6sparta22ConstantAbstractDomainIPK13IRInstructionEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  br label %78

77:                                               ; preds = %75, %44
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  br label %79

78:                                               ; preds = %76, %32
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #5
  br label %80

79:                                               ; preds = %77, %33
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #5
  br label %82

80:                                               ; preds = %78, %19
  %81 = load i1, ptr %3, align 1
  ret i1 %81

82:                                               ; preds = %79
  %83 = load ptr, ptr %8, align 8
  %84 = load i32, ptr %9, align 4
  %85 = insertvalue { ptr, i32 } poison, ptr %83, 0
  %86 = insertvalue { ptr, i32 } %85, i32 %84, 1
  resume { ptr, i32 } %86
}

; 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) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK19ConstantEnvironment11get_pointeeI19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS4_17SetAbstractDomainINS4_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSA_INS4_15PatriciaTreeSetIPK9DexStringEEEENS5_ISL_EENS5_IPK7DexTypeEENS5_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS5_IPK13IRInstructionEEEE25ConstantValueDefaultValueEEET_j(ptr dead_on_unwind noalias writable sret(%class.ConstantArrayDomain) align 8, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS2_17SetAbstractDomainINS2_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS2_15PatriciaTreeSetIPK9DexStringEEEENS3_ISJ_EENS3_IPK7DexTypeEENS3_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS3_IPK13IRInstructionEEEE25ConstantValueDefaultValueE3getEj(ptr dead_on_unwind noalias writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5boost15optional_detail13optional_baseIN6sparta22ConstantAbstractDomainIPK13IRInstructionEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 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 = { "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 = { 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 #5 = { 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}


; 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.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 }
%"class.boost::optional.72" = type { %"class.boost::optional_detail::optional_base" }
%"class.boost::optional_detail::optional_base" = type { i8, [7 x i8], %"class.boost::optional_detail::aligned_storage" }
%"class.boost::optional_detail::aligned_storage" = type { %"union.boost::optional_detail::aligned_storage<sparta::ConstantAbstractDomain<const IRInstruction *>>::dummy_u" }
%"union.boost::optional_detail::aligned_storage<sparta::ConstantAbstractDomain<const IRInstruction *>>::dummy_u" = type { [8 x i8] }
%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.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 }

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 zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK19ConstantEnvironment3getI20SignedConstantDomainEET_j(ptr dead_on_unwind noalias writable sret(%class.SignedConstantDomain) align 8, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_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 #4 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN20constant_propagation18LocalArrayAnalyzer12analyze_agetEPK13IRInstructionP19ConstantEnvironment(ptr noundef nonnull %0, ptr noundef %1) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.boost::optional.55", align 8
  %4 = alloca %class.SignedConstantDomain, align 8
  %5 = alloca %"class.boost::optional.72", align 8
  %6 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %7 = alloca %class.ConstantArrayDomain, align 8
  %8 = alloca %class.DisjointUnionWithSignedConstantDomain, align 8
  %9 = tail call noundef zeroext i16 @_ZNK13IRInstruction6opcodeEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %10 = icmp eq i16 %9, 47
  br i1 %10, label %50, label %11

11:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #5
  %12 = tail call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %0, i16 noundef zeroext 1)
  call void @_ZNK19ConstantEnvironment3getI20SignedConstantDomainEET_j(ptr dead_on_unwind nonnull writable sret(%class.SignedConstantDomain) align 8 %4, ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %12)
  %13 = invoke { i8, i64 } @_ZNK20SignedConstantDomain12get_constantEv(ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %14 unwind label %19

14:                                               ; preds = %11
  %15 = extractvalue { i8, i64 } %13, 0
  store i8 %15, ptr %3, align 8
  %16 = getelementptr inbounds i8, ptr %3, i64 8
  %17 = extractvalue { i8, i64 } %13, 1
  store i64 %17, ptr %16, align 8
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  %18 = call noundef zeroext i1 @_ZNK5boost8optionalIlEntEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #5
  br i1 %18, label %48, label %21

19:                                               ; preds = %11
  %20 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6sparta14AbstractDomainI20SignedConstantDomainED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  br label %49

21:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #5
  %22 = call noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %0, i16 noundef zeroext 0)
  call void @_ZNK19ConstantEnvironment3getEj(ptr dead_on_unwind nonnull writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8 %6, ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %22)
  invoke void @_ZNK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEE9maybe_getISW_EEN5boost8optionalIT_EEv(ptr dead_on_unwind nonnull writable sret(%"class.boost::optional.72") align 8 %5, ptr noundef nonnull align 8 dereferenceable(48) %6)
          to label %23 unwind label %25

23:                                               ; preds = %21
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #5
  %24 = call noundef zeroext i1 @_ZNK5boost8optionalIN6sparta22ConstantAbstractDomainIPK13IRInstructionEEEntEv(ptr noundef nonnull align 8 dereferenceable(16) %5) #5
  br i1 %24, label %46, label %27

25:                                               ; preds = %21
  %26 = 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) %6) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #5
  br label %47

27:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #5
  %28 = invoke noundef i32 @_ZNK13IRInstruction3srcEt(ptr noundef nonnull align 8 dereferenceable(32) %0, i16 noundef zeroext 0)
          to label %29 unwind label %38

29:                                               ; preds = %27
  invoke void @_ZNK19ConstantEnvironment11get_pointeeI19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS4_17SetAbstractDomainINS4_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSA_INS4_15PatriciaTreeSetIPK9DexStringEEEENS5_ISL_EENS5_IPK7DexTypeEENS5_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS5_IPK13IRInstructionEEEE25ConstantValueDefaultValueEEET_j(ptr dead_on_unwind nonnull writable sret(%class.ConstantArrayDomain) align 8 %7, ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef %28)
          to label %30 unwind label %38

30:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #5
  %31 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNR5boost8optionalIlEdeEv(ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %32 unwind label %40

32:                                               ; preds = %30
  %33 = load i64, ptr %31, align 8, !tbaa !5
  %34 = trunc i64 %33 to i32
  invoke void @_ZNK19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS2_17SetAbstractDomainINS2_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS2_15PatriciaTreeSetIPK9DexStringEEEENS3_ISJ_EENS3_IPK7DexTypeEENS3_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS3_IPK13IRInstructionEEEE25ConstantValueDefaultValueE3getEj(ptr dead_on_unwind nonnull writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8 %8, ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef %34)
          to label %35 unwind label %40

35:                                               ; preds = %32
  %36 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN19ConstantEnvironment3setEjRK37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS2_17SetAbstractDomainINS2_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS2_15PatriciaTreeSetIPK9DexStringEEEENS3_ISJ_EENS3_IPK7DexTypeEENS3_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS3_IPK13IRInstructionEEEE(ptr noundef nonnull align 8 dereferenceable(48) %1, i32 noundef -2, ptr noundef nonnull align 8 dereferenceable(48) %8)
          to label %37 unwind label %42

37:                                               ; preds = %35
  call void @_ZN37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS1_17SetAbstractDomainINS1_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS7_INS1_15PatriciaTreeSetIPK9DexStringEEEENS2_ISI_EENS2_IPK7DexTypeEENS2_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS2_IPK13IRInstructionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #5
  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) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  br label %46

38:                                               ; preds = %29, %27
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %45

40:                                               ; preds = %32, %30
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %44

42:                                               ; preds = %35
  %43 = 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) #5
  br label %44

44:                                               ; preds = %42, %40
  %.pn = phi { ptr, i32 } [ %43, %42 ], [ %41, %40 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #5
  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) %7) #5
  br label %45

45:                                               ; preds = %44, %38
  %.pn.pn = phi { ptr, i32 } [ %.pn, %44 ], [ %39, %38 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  call void @_ZN5boost15optional_detail13optional_baseIN6sparta22ConstantAbstractDomainIPK13IRInstructionEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #5
  br label %47

46:                                               ; preds = %23, %37
  %.014 = xor i1 %24, true
  call void @_ZN5boost15optional_detail13optional_baseIN6sparta22ConstantAbstractDomainIPK13IRInstructionEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  br label %48

47:                                               ; preds = %45, %25
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %45 ], [ %26, %25 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  br label %49

48:                                               ; preds = %14, %46
  %.115 = phi i1 [ %.014, %46 ], [ false, %14 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  br label %50

49:                                               ; preds = %47, %19
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %47 ], [ %20, %19 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn.pn.pn.pn

50:                                               ; preds = %2, %48
  %.216 = phi i1 [ %.115, %48 ], [ false, %2 ]
  ret i1 %.216
}

; 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 #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK19ConstantEnvironment11get_pointeeI19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS4_17SetAbstractDomainINS4_7HashSetIlSt4hashIlESt8equal_toIlEEEEENSA_INS4_15PatriciaTreeSetIPK9DexStringEEEENS5_ISL_EENS5_IPK7DexTypeEENS5_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS5_IPK13IRInstructionEEEE25ConstantValueDefaultValueEEET_j(ptr dead_on_unwind noalias writable sret(%class.ConstantArrayDomain) align 8, ptr noundef nonnull align 8 dereferenceable(48), i32 noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK19ConstantArrayDomainI37DisjointUnionWithSignedConstantDomainI17is_object_visitorJN6sparta22ConstantAbstractDomainIPK8DexFieldEENS2_17SetAbstractDomainINS2_7HashSetIlSt4hashIlESt8equal_toIlEEEEENS8_INS2_15PatriciaTreeSetIPK9DexStringEEEENS3_ISJ_EENS3_IPK7DexTypeEENS3_IiEE25ObjectWithImmutAttrDomain15NewObjectDomainNS3_IPK13IRInstructionEEEE25ConstantValueDefaultValueE3getEj(ptr dead_on_unwind noalias writable sret(%class.DisjointUnionWithSignedConstantDomain) align 8, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5boost15optional_detail13optional_baseIN6sparta22ConstantAbstractDomainIPK13IRInstructionEEED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 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 = { "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 = { 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 #5 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass