; LLVM IR from facebook/redex :: libredex/PointsToSemantics.ll (ZN14PointsToAction11from_s_exprERKN6sparta6s_exprE)

; 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.boost::optional" = type { %"class.boost::optional_detail::optional_base" }
%"class.boost::optional_detail::optional_base" = type { i8, [3 x i8], %"class.boost::optional_detail::aligned_storage" }
%"class.boost::optional_detail::aligned_storage" = type { %"union.boost::optional_detail::aligned_storage<PointsToVariable>::dummy_u" }
%"union.boost::optional_detail::aligned_storage<PointsToVariable>::dummy_u" = type { [4 x i8] }
%"class.sparta::s_expr" = type { %"class.boost::intrusive_ptr" }
%"class.boost::intrusive_ptr" = type { ptr }
%"class.boost::optional.50" = type { %"class.boost::optional_detail::optional_base.51" }
%"class.boost::optional_detail::optional_base.51" = type { i8, [7 x i8], %"class.boost::optional_detail::aligned_storage.52" }
%"class.boost::optional_detail::aligned_storage.52" = type { %"union.boost::optional_detail::aligned_storage<PointsToOperation>::dummy_u" }
%"union.boost::optional_detail::aligned_storage<PointsToOperation>::dummy_u" = type { [16 x i8] }
%"class.boost::optional.76" = type { %"class.boost::optional_detail::optional_base.77" }
%"class.boost::optional_detail::optional_base.77" = type { i8, [7 x i8], %"class.boost::optional_detail::aligned_storage.78" }
%"class.boost::optional_detail::aligned_storage.78" = type { %"union.boost::optional_detail::aligned_storage<PointsToAction>::dummy_u" }
%"union.boost::optional_detail::aligned_storage<PointsToAction>::dummy_u" = type { [40 x i8] }
%"class.sparta::s_patn" = type { %"class.boost::intrusive_ptr.1" }
%"class.boost::intrusive_ptr.1" = type { ptr }
%"class.std::initializer_list.2" = type { ptr, i64 }
%"class.std::vector.65" = type { %"struct.std::_Vector_base.66" }
%"struct.std::_Vector_base.66" = type { %"struct.std::_Vector_base<std::pair<int, PointsToVariable>, std::allocator<std::pair<int, PointsToVariable>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, PointsToVariable>, std::allocator<std::pair<int, PointsToVariable>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, PointsToVariable>, std::allocator<std::pair<int, PointsToVariable>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, PointsToVariable>, std::allocator<std::pair<int, PointsToVariable>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.59" = type { i32, %class.PointsToVariable }
%class.PointsToVariable = type { i32 }
%class.PointsToAction = type { %struct.PointsToOperation, %"class.boost::container::flat_map" }
%struct.PointsToOperation = type { i32, %union.anon.49 }
%union.anon.49 = type { ptr }
%"class.boost::container::flat_map" = type { %"class.boost::container::dtl::flat_tree" }
%"class.boost::container::dtl::flat_tree" = type { %"struct.boost::container::dtl::flat_tree<boost::container::dtl::pair<int, PointsToVariable>, boost::container::dtl::select1st<int>, std::less<int>, boost::container::new_allocator<boost::container::dtl::pair<int, PointsToVariable>>>::Data" }
%"struct.boost::container::dtl::flat_tree<boost::container::dtl::pair<int, PointsToVariable>, boost::container::dtl::select1st<int>, std::less<int>, boost::container::new_allocator<boost::container::dtl::pair<int, PointsToVariable>>>::Data" = type { %"class.boost::container::vector" }
%"class.boost::container::vector" = type { %"struct.boost::container::vector_alloc_holder" }
%"struct.boost::container::vector_alloc_holder" = type { ptr, i64, 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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK6sparta6s_exprixEm(ptr dead_on_unwind noalias writable sret(%"class.sparta::s_expr") align 8, ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #3 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14PointsToAction11from_s_exprERKN6sparta6s_exprE(ptr dead_on_unwind noalias writable sret(%"class.boost::optional.76") align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.sparta::s_expr", align 8
  %6 = alloca %"class.sparta::s_expr", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.sparta::s_patn", align 8
  %10 = alloca %"class.std::initializer_list.2", align 8
  %11 = alloca [2 x %"class.sparta::s_patn"], align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.std::initializer_list.2", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.boost::optional.50", align 8
  %16 = alloca %"class.std::vector.65", align 8
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  %19 = alloca %"class.sparta::s_expr", align 8
  %20 = alloca %"class.sparta::s_patn", align 8
  %21 = alloca %"class.std::initializer_list.2", align 8
  %22 = alloca [2 x %"class.sparta::s_patn"], align 8
  %23 = alloca ptr, align 8
  %24 = alloca %"class.sparta::s_expr", align 8
  %25 = alloca %"class.boost::optional", align 4
  %26 = alloca %"struct.std::pair.59", align 4
  %27 = alloca %class.PointsToAction, align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  call void @_ZN6sparta6s_exprC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  invoke void @_ZN6sparta6s_exprC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %28 unwind label %55

28:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #5
  store ptr %11, ptr %12, align 8
  invoke void @_ZN6sparta6s_patnC2ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %29 unwind label %59

29:                                               ; preds = %28
  %30 = getelementptr inbounds %"class.sparta::s_patn", ptr %11, i64 1
  store ptr %30, ptr %12, align 8
  call void @_ZNSt16initializer_listIN6sparta6s_patnEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #5
  %31 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %32 = load ptr, ptr %31, align 8
  %33 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %34 = load i64, ptr %33, align 8
  invoke void @_ZN6sparta6s_patnC2ESt16initializer_listIS0_ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr %32, i64 %34, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %35 unwind label %59

35:                                               ; preds = %29
  %36 = getelementptr inbounds %"class.std::initializer_list.2", ptr %10, i32 0, i32 0
  store ptr %11, ptr %36, align 8, !tbaa !9
  %37 = getelementptr inbounds %"class.std::initializer_list.2", ptr %10, i32 0, i32 1
  store i64 2, ptr %37, align 8, !tbaa !12
  %38 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 0
  %39 = load ptr, ptr %38, align 8
  %40 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 1
  %41 = load i64, ptr %40, align 8
  invoke void @_ZN6sparta6s_patnC2ESt16initializer_listIS0_E(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr %39, i64 %41)
          to label %42 unwind label %70

42:                                               ; preds = %35
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = invoke noundef zeroext i1 @_ZN6sparta6s_patn10match_withERKNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %43)
          to label %45 unwind label %74

45:                                               ; preds = %42
  %46 = xor i1 %44, true
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  %47 = getelementptr inbounds [2 x %"class.sparta::s_patn"], ptr %11, i32 0, i32 0
  %48 = getelementptr inbounds %"class.sparta::s_patn", ptr %47, i64 2
  br label %49

49:                                               ; preds = %49, %45
  %50 = phi ptr [ %48, %45 ], [ %51, %49 ]
  %51 = getelementptr inbounds %"class.sparta::s_patn", ptr %50, i64 -1
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #5
  %52 = icmp eq ptr %51, %47
  br i1 %52, label %53, label %49

53:                                               ; preds = %49
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br i1 %46, label %54, label %87

54:                                               ; preds = %53
  call void @_ZN5boost8optionalI14PointsToActionEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #5
  store i32 1, ptr %14, align 4
  br label %216

55:                                               ; preds = %2
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %7, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %8, align 4
  br label %218

59:                                               ; preds = %29, %28
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %7, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %8, align 4
  %63 = load ptr, ptr %12, align 8
  %64 = icmp eq ptr %11, %63
  br i1 %64, label %69, label %65

65:                                               ; preds = %65, %59
  %66 = phi ptr [ %63, %59 ], [ %67, %65 ]
  %67 = getelementptr inbounds %"class.sparta::s_patn", ptr %66, i64 -1
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %67) #5
  %68 = icmp eq ptr %67, %11
  br i1 %68, label %69, label %65

69:                                               ; preds = %65, %59
  br label %86

70:                                               ; preds = %35
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %7, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %8, align 4
  br label %78

74:                                               ; preds = %42
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %7, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %8, align 4
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  br label %78

78:                                               ; preds = %74, %70
  %79 = getelementptr inbounds [2 x %"class.sparta::s_patn"], ptr %11, i32 0, i32 0
  %80 = getelementptr inbounds %"class.sparta::s_patn", ptr %79, i64 2
  br label %81

81:                                               ; preds = %81, %78
  %82 = phi ptr [ %80, %78 ], [ %83, %81 ]
  %83 = getelementptr inbounds %"class.sparta::s_patn", ptr %82, i64 -1
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %83) #5
  %84 = icmp eq ptr %83, %79
  br i1 %84, label %85, label %81

85:                                               ; preds = %81
  br label %86

86:                                               ; preds = %85, %69
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %217

87:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #5
  invoke void @_ZN17PointsToOperation11from_s_exprERKN6sparta6s_exprE(ptr dead_on_unwind writable sret(%"class.boost::optional.50") align 8 %15, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %88 unwind label %91

88:                                               ; preds = %87
  %89 = call noundef zeroext i1 @_ZNK5boost8optionalI17PointsToOperationEntEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  br i1 %89, label %90, label %95

90:                                               ; preds = %88
  call void @_ZN5boost8optionalI14PointsToActionEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #5
  store i32 1, ptr %14, align 4
  br label %214

91:                                               ; preds = %87
  %92 = landingpad { ptr, i32 }
          cleanup
  %93 = extractvalue { ptr, i32 } %92, 0
  store ptr %93, ptr %7, align 8
  %94 = extractvalue { ptr, i32 } %92, 1
  store i32 %94, ptr %8, align 4
  br label %215

95:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #5
  call void @_ZNSt6vectorISt4pairIi16PointsToVariableESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  store i64 0, ptr %17, align 8, !tbaa !13
  br label %96

96:                                               ; preds = %185, %95
  %97 = load i64, ptr %17, align 8, !tbaa !13
  %98 = invoke noundef i64 @_ZNK6sparta6s_expr4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %99 unwind label %102

99:                                               ; preds = %96
  %100 = icmp ult i64 %97, %98
  br i1 %100, label %106, label %101

101:                                              ; preds = %99
  store i32 2, ptr %14, align 4
  br label %195

102:                                              ; preds = %96
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %7, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %8, align 4
  br label %197

106:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  invoke void @_ZN6sparta6s_exprC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %107 unwind label %131

107:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #5
  store ptr %22, ptr %23, align 8
  invoke void @_ZN6sparta6s_patnC2EPi(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef %18)
          to label %108 unwind label %135

108:                                              ; preds = %107
  %109 = getelementptr inbounds %"class.sparta::s_patn", ptr %22, i64 1
  store ptr %109, ptr %23, align 8
  invoke void @_ZN6sparta6s_patnC2ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %110 unwind label %135

110:                                              ; preds = %108
  %111 = getelementptr inbounds %"class.std::initializer_list.2", ptr %21, i32 0, i32 0
  store ptr %22, ptr %111, align 8, !tbaa !9
  %112 = getelementptr inbounds %"class.std::initializer_list.2", ptr %21, i32 0, i32 1
  store i64 2, ptr %112, align 8, !tbaa !12
  %113 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8
  %115 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 1
  %116 = load i64, ptr %115, align 8
  invoke void @_ZN6sparta6s_patnC2ESt16initializer_listIS0_E(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr %114, i64 %116)
          to label %117 unwind label %146

117:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %118 = load i64, ptr %17, align 8, !tbaa !13
  invoke void @_ZNK6sparta6s_exprixEm(ptr dead_on_unwind writable sret(%"class.sparta::s_expr") align 8 %24, ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef %118)
          to label %119 unwind label %150

119:                                              ; preds = %117
  %120 = invoke noundef zeroext i1 @_ZN6sparta6s_patn10match_withERKNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %121 unwind label %154

121:                                              ; preds = %119
  %122 = xor i1 %120, true
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  %123 = getelementptr inbounds [2 x %"class.sparta::s_patn"], ptr %22, i32 0, i32 0
  %124 = getelementptr inbounds %"class.sparta::s_patn", ptr %123, i64 2
  br label %125

125:                                              ; preds = %125, %121
  %126 = phi ptr [ %124, %121 ], [ %127, %125 ]
  %127 = getelementptr inbounds %"class.sparta::s_patn", ptr %126, i64 -1
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %127) #5
  %128 = icmp eq ptr %127, %123
  br i1 %128, label %129, label %125

129:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br i1 %122, label %130, label %168

130:                                              ; preds = %129
  call void @_ZN5boost8optionalI14PointsToActionEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #5
  store i32 1, ptr %14, align 4
  br label %182

131:                                              ; preds = %106
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %7, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %8, align 4
  br label %194

135:                                              ; preds = %108, %107
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %7, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %8, align 4
  %139 = load ptr, ptr %23, align 8
  %140 = icmp eq ptr %22, %139
  br i1 %140, label %145, label %141

141:                                              ; preds = %141, %135
  %142 = phi ptr [ %139, %135 ], [ %143, %141 ]
  %143 = getelementptr inbounds %"class.sparta::s_patn", ptr %142, i64 -1
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %143) #5
  %144 = icmp eq ptr %143, %22
  br i1 %144, label %145, label %141

145:                                              ; preds = %141, %135
  br label %167

146:                                              ; preds = %110
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %7, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %8, align 4
  br label %159

150:                                              ; preds = %117
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %7, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %8, align 4
  br label %158

154:                                              ; preds = %119
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %7, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %8, align 4
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #5
  br label %158

158:                                              ; preds = %154, %150
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  br label %159

159:                                              ; preds = %158, %146
  %160 = getelementptr inbounds [2 x %"class.sparta::s_patn"], ptr %22, i32 0, i32 0
  %161 = getelementptr inbounds %"class.sparta::s_patn", ptr %160, i64 2
  br label %162

162:                                              ; preds = %162, %159
  %163 = phi ptr [ %161, %159 ], [ %164, %162 ]
  %164 = getelementptr inbounds %"class.sparta::s_patn", ptr %163, i64 -1
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %164) #5
  %165 = icmp eq ptr %164, %160
  br i1 %165, label %166, label %162

166:                                              ; preds = %162
  br label %167

167:                                              ; preds = %166, %145
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %193

168:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  invoke void @_ZN16PointsToVariable11from_s_exprERKN6sparta6s_exprE(ptr dead_on_unwind writable sret(%"class.boost::optional") align 4 %25, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %169 unwind label %172

169:                                              ; preds = %168
  %170 = call noundef zeroext i1 @_ZNK5boost8optionalI16PointsToVariableEntEv(ptr noundef nonnull align 4 dereferenceable(8) %25) #5
  br i1 %170, label %171, label %176

171:                                              ; preds = %169
  call void @_ZN5boost8optionalI14PointsToActionEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #5
  store i32 1, ptr %14, align 4
  br label %181

172:                                              ; preds = %168
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %7, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %8, align 4
  br label %192

176:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %177 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNR5boost8optionalI16PointsToVariableEdeEv(ptr noundef nonnull align 4 dereferenceable(8) %25)
          to label %178 unwind label %188

178:                                              ; preds = %176
  invoke void @_ZNSt4pairIi16PointsToVariableEC2IRiRS0_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS6_S7_EEEbE4typeELb1EEEOS6_OS7_(ptr noundef nonnull align 4 dereferenceable(8) %26, ptr noundef nonnull align 4 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %177)
          to label %179 unwind label %188

179:                                              ; preds = %178
  invoke void @_ZNSt6vectorISt4pairIi16PointsToVariableESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 4 dereferenceable(8) %26)
          to label %180 unwind label %188

180:                                              ; preds = %179
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  store i32 0, ptr %14, align 4
  br label %181

181:                                              ; preds = %180, %171
  call void @_ZN5boost15optional_detail13optional_baseI16PointsToVariableED2Ev(ptr noundef nonnull align 4 dereferenceable(8) %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %182

182:                                              ; preds = %181, %130
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  %183 = load i32, ptr %14, align 4
  switch i32 %183, label %195 [
    i32 0, label %184
  ]

184:                                              ; preds = %182
  br label %185

185:                                              ; preds = %184
  %186 = load i64, ptr %17, align 8, !tbaa !13
  %187 = add i64 %186, 1
  store i64 %187, ptr %17, align 8, !tbaa !13
  br label %96, !llvm.loop !14

188:                                              ; preds = %179, %178, %176
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %7, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @_ZN5boost15optional_detail13optional_baseI16PointsToVariableED2Ev(ptr noundef nonnull align 4 dereferenceable(8) %25) #5
  br label %192

192:                                              ; preds = %188, %172
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %193

193:                                              ; preds = %192, %167
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  br label %194

194:                                              ; preds = %193, %131
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  br label %197

195:                                              ; preds = %182, %101
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  %196 = load i32, ptr %14, align 4
  switch i32 %196, label %212 [
    i32 2, label %198
  ]

197:                                              ; preds = %194, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %213

198:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 40, ptr %27) #5
  %199 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNR5boost8optionalI17PointsToOperationEdeEv(ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %200 unwind label %203

200:                                              ; preds = %198
  invoke void @_ZN14PointsToActionC1ERK17PointsToOperationRKSt6vectorISt4pairIi16PointsToVariableESaIS6_EE(ptr noundef nonnull align 8 dereferenceable(40) %27, ptr noundef nonnull align 8 dereferenceable(16) %199, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %201 unwind label %203

201:                                              ; preds = %200
  invoke void @_ZN5boost8optionalI14PointsToActionEC2EOS1_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %202 unwind label %207

202:                                              ; preds = %201
  call void @_ZN14PointsToActionD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #5
  store i32 1, ptr %14, align 4
  br label %212

203:                                              ; preds = %200, %198
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %7, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %8, align 4
  br label %211

207:                                              ; preds = %201
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %7, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %8, align 4
  call void @_ZN14PointsToActionD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #5
  br label %211

211:                                              ; preds = %207, %203
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #5
  br label %213

212:                                              ; preds = %202, %195
  call void @_ZNSt6vectorISt4pairIi16PointsToVariableESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  br label %214

213:                                              ; preds = %211, %197
  call void @_ZNSt6vectorISt4pairIi16PointsToVariableESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  call void @_ZN5boost15optional_detail13optional_baseI17PointsToOperationED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  br label %215

214:                                              ; preds = %212, %90
  call void @_ZN5boost15optional_detail13optional_baseI17PointsToOperationED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  br label %216

215:                                              ; preds = %213, %91
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  br label %217

216:                                              ; preds = %214, %54
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  ret void

217:                                              ; preds = %215, %86
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br label %218

218:                                              ; preds = %217, %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %219

219:                                              ; preds = %218
  %220 = load ptr, ptr %7, align 8
  %221 = load i32, ptr %8, align 4
  %222 = insertvalue { ptr, i32 } poison, ptr %220, 0
  %223 = insertvalue { ptr, i32 } %222, i32 %221, 1
  resume { ptr, i32 } %223
}

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

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

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

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

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

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

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

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

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

declare void @_ZN14PointsToActionC1ERK17PointsToOperationRKSt6vectorISt4pairIi16PointsToVariableESaIS6_EE(ptr, ptr, ptr)

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 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 = { 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, !6, i64 0}
!10 = !{!"_ZTSSt16initializer_listIN6sparta6s_patnEE", !6, i64 0, !11, i64 8}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!11, !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"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.boost::optional" = type { %"class.boost::optional_detail::optional_base" }
%"class.boost::optional_detail::optional_base" = type { i8, [3 x i8], %"class.boost::optional_detail::aligned_storage" }
%"class.boost::optional_detail::aligned_storage" = type { %"union.boost::optional_detail::aligned_storage<PointsToVariable>::dummy_u" }
%"union.boost::optional_detail::aligned_storage<PointsToVariable>::dummy_u" = type { [4 x i8] }
%"class.sparta::s_expr" = type { %"class.boost::intrusive_ptr" }
%"class.boost::intrusive_ptr" = type { ptr }
%"class.boost::optional.50" = type { %"class.boost::optional_detail::optional_base.51" }
%"class.boost::optional_detail::optional_base.51" = type { i8, [7 x i8], %"class.boost::optional_detail::aligned_storage.52" }
%"class.boost::optional_detail::aligned_storage.52" = type { %"union.boost::optional_detail::aligned_storage<PointsToOperation>::dummy_u" }
%"union.boost::optional_detail::aligned_storage<PointsToOperation>::dummy_u" = type { [16 x i8] }
%"class.boost::optional.76" = type { %"class.boost::optional_detail::optional_base.77" }
%"class.boost::optional_detail::optional_base.77" = type { i8, [7 x i8], %"class.boost::optional_detail::aligned_storage.78" }
%"class.boost::optional_detail::aligned_storage.78" = type { %"union.boost::optional_detail::aligned_storage<PointsToAction>::dummy_u" }
%"union.boost::optional_detail::aligned_storage<PointsToAction>::dummy_u" = type { [40 x i8] }
%"class.sparta::s_patn" = type { %"class.boost::intrusive_ptr.1" }
%"class.boost::intrusive_ptr.1" = type { ptr }
%"class.std::initializer_list.2" = type { ptr, i64 }
%"class.std::vector.65" = type { %"struct.std::_Vector_base.66" }
%"struct.std::_Vector_base.66" = type { %"struct.std::_Vector_base<std::pair<int, PointsToVariable>, std::allocator<std::pair<int, PointsToVariable>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, PointsToVariable>, std::allocator<std::pair<int, PointsToVariable>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, PointsToVariable>, std::allocator<std::pair<int, PointsToVariable>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, PointsToVariable>, std::allocator<std::pair<int, PointsToVariable>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.59" = type { i32, %class.PointsToVariable }
%class.PointsToVariable = type { i32 }
%class.PointsToAction = type { %struct.PointsToOperation, %"class.boost::container::flat_map" }
%struct.PointsToOperation = type { i32, %union.anon.49 }
%union.anon.49 = type { ptr }
%"class.boost::container::flat_map" = type { %"class.boost::container::dtl::flat_tree" }
%"class.boost::container::dtl::flat_tree" = type { %"struct.boost::container::dtl::flat_tree<boost::container::dtl::pair<int, PointsToVariable>, boost::container::dtl::select1st<int>, std::less<int>, boost::container::new_allocator<boost::container::dtl::pair<int, PointsToVariable>>>::Data" }
%"struct.boost::container::dtl::flat_tree<boost::container::dtl::pair<int, PointsToVariable>, boost::container::dtl::select1st<int>, std::less<int>, boost::container::new_allocator<boost::container::dtl::pair<int, PointsToVariable>>>::Data" = type { %"class.boost::container::vector" }
%"class.boost::container::vector" = type { %"struct.boost::container::vector_alloc_holder" }
%"struct.boost::container::vector_alloc_holder" = type { ptr, i64, 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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK6sparta6s_exprixEm(ptr dead_on_unwind noalias writable sret(%"class.sparta::s_expr") align 8, ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #3 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14PointsToAction11from_s_exprERKN6sparta6s_exprE(ptr dead_on_unwind noalias writable sret(%"class.boost::optional.76") align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.sparta::s_expr", align 8
  %4 = alloca %"class.sparta::s_expr", align 8
  %5 = alloca %"class.sparta::s_patn", align 8
  %6 = alloca [2 x %"class.sparta::s_patn"], align 8
  %7 = alloca %"class.std::initializer_list.2", align 8
  %8 = alloca %"class.boost::optional.50", align 8
  %9 = alloca %"class.std::vector.65", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.sparta::s_expr", align 8
  %12 = alloca %"class.sparta::s_patn", align 8
  %13 = alloca [2 x %"class.sparta::s_patn"], align 8
  %14 = alloca %"class.sparta::s_expr", align 8
  %15 = alloca %"class.boost::optional", align 4
  %16 = alloca %"struct.std::pair.59", align 4
  %17 = alloca %class.PointsToAction, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  call void @_ZN6sparta6s_exprC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  invoke void @_ZN6sparta6s_exprC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %18 unwind label %31

18:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  invoke void @_ZN6sparta6s_patnC2ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %20 unwind label %.thread

.thread:                                          ; preds = %18
  %19 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit59

20:                                               ; preds = %18
  %21 = getelementptr inbounds i8, ptr %6, i64 8
  call void @_ZNSt16initializer_listIN6sparta6s_patnEEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  %22 = load ptr, ptr %7, align 8
  %23 = getelementptr inbounds i8, ptr %7, i64 8
  %24 = load i64, ptr %23, align 8
  invoke void @_ZN6sparta6s_patnC2ESt16initializer_listIS0_ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr %22, i64 %24, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %25 unwind label %.loopexit59.loopexit69

25:                                               ; preds = %20
  invoke void @_ZN6sparta6s_patnC2ESt16initializer_listIS0_E(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr nonnull %6, i64 2)
          to label %26 unwind label %34

26:                                               ; preds = %25
  %27 = invoke noundef zeroext i1 @_ZN6sparta6s_patn10match_withERKNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %28 unwind label %36

28:                                               ; preds = %26
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %29 = getelementptr inbounds i8, ptr %6, i64 8
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #5
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br i1 %27, label %39, label %30

30:                                               ; preds = %28
  call void @_ZN5boost8optionalI14PointsToActionEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #5
  br label %102

31:                                               ; preds = %2
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %104

.loopexit59.loopexit69:                           ; preds = %20
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br label %.loopexit59

34:                                               ; preds = %25
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit59.loopexit

36:                                               ; preds = %26
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  br label %.loopexit59.loopexit

.loopexit59.loopexit:                             ; preds = %36, %34
  %.pn = phi { ptr, i32 } [ %37, %36 ], [ %35, %34 ]
  %38 = getelementptr inbounds i8, ptr %6, i64 8
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %38) #5
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br label %.loopexit59

.loopexit59:                                      ; preds = %.loopexit59.loopexit69, %.loopexit59.loopexit, %.thread
  %.pn.pn = phi { ptr, i32 } [ %19, %.thread ], [ %.pn, %.loopexit59.loopexit ], [ %33, %.loopexit59.loopexit69 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %103

39:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #5
  invoke void @_ZN17PointsToOperation11from_s_exprERKN6sparta6s_exprE(ptr dead_on_unwind nonnull writable sret(%"class.boost::optional.50") align 8 %8, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %40 unwind label %43

40:                                               ; preds = %39
  %41 = call noundef zeroext i1 @_ZNK5boost8optionalI17PointsToOperationEntEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  br i1 %41, label %42, label %45

42:                                               ; preds = %40
  call void @_ZN5boost8optionalI14PointsToActionEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #5
  br label %100

43:                                               ; preds = %39
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %101

45:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  call void @_ZNSt6vectorISt4pairIi16PointsToVariableESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  %46 = getelementptr inbounds i8, ptr %13, i64 8
  %47 = getelementptr inbounds i8, ptr %13, i64 8
  br label %48

48:                                               ; preds = %83, %45
  %.027 = phi i64 [ 0, %45 ], [ %84, %83 ]
  %49 = invoke noundef i64 @_ZNK6sparta6s_expr4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %50 unwind label %51

50:                                               ; preds = %48
  %.not = icmp ult i64 %.027, %49
  br i1 %.not, label %53, label %.critedge

51:                                               ; preds = %48
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %99

53:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  invoke void @_ZN6sparta6s_exprC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %54 unwind label %62

54:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #5
  invoke void @_ZN6sparta6s_patnC2EPi(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull %10)
          to label %56 unwind label %.thread52

.thread52:                                        ; preds = %54
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

56:                                               ; preds = %54
  invoke void @_ZN6sparta6s_patnC2ERNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %57 unwind label %.loopexit.loopexit68

57:                                               ; preds = %56
  invoke void @_ZN6sparta6s_patnC2ESt16initializer_listIS0_E(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr nonnull %13, i64 2)
          to label %58 unwind label %65

58:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  invoke void @_ZNK6sparta6s_exprixEm(ptr dead_on_unwind nonnull writable sret(%"class.sparta::s_expr") align 8 %14, ptr noundef nonnull align 8 dereferenceable(8) %4, i64 noundef %.027)
          to label %59 unwind label %67

59:                                               ; preds = %58
  %60 = invoke noundef zeroext i1 @_ZN6sparta6s_patn10match_withERKNS_6s_exprE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %61 unwind label %69

61:                                               ; preds = %59
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #5
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  br i1 %60, label %73, label %.thread54

.thread54:                                        ; preds = %61
  call void @_ZN5boost8optionalI14PointsToActionEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #5
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %.loopexit58

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

.loopexit.loopexit68:                             ; preds = %56
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br label %.loopexit

65:                                               ; preds = %57
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit.loopexit

67:                                               ; preds = %58
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %71

69:                                               ; preds = %59
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br label %71

71:                                               ; preds = %69, %67
  %.pn36 = phi { ptr, i32 } [ %70, %69 ], [ %68, %67 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  br label %.loopexit.loopexit

.loopexit.loopexit:                               ; preds = %71, %65
  %.pn36.pn = phi { ptr, i32 } [ %.pn36, %71 ], [ %66, %65 ]
  %72 = getelementptr inbounds i8, ptr %13, i64 8
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %72) #5
  call void @_ZN6sparta6s_patnD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit68, %.loopexit.loopexit, %.thread52
  %.pn36.pn.pn = phi { ptr, i32 } [ %55, %.thread52 ], [ %.pn36.pn, %.loopexit.loopexit ], [ %64, %.loopexit.loopexit68 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  br label %88

73:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  invoke void @_ZN16PointsToVariable11from_s_exprERKN6sparta6s_exprE(ptr dead_on_unwind nonnull writable sret(%"class.boost::optional") align 4 %15, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %74 unwind label %77

74:                                               ; preds = %73
  %75 = call noundef zeroext i1 @_ZNK5boost8optionalI16PointsToVariableEntEv(ptr noundef nonnull align 4 dereferenceable(8) %15) #5
  br i1 %75, label %76, label %79

76:                                               ; preds = %74
  call void @_ZN5boost8optionalI14PointsToActionEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #5
  br label %83

77:                                               ; preds = %73
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %87

79:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  %80 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNR5boost8optionalI16PointsToVariableEdeEv(ptr noundef nonnull align 4 dereferenceable(8) %15)
          to label %81 unwind label %85

81:                                               ; preds = %79
  call void @_ZNSt4pairIi16PointsToVariableEC2IRiRS0_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS6_S7_EEEbE4typeELb1EEEOS6_OS7_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %80)
  invoke void @_ZNSt6vectorISt4pairIi16PointsToVariableESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 4 dereferenceable(8) %16)
          to label %82 unwind label %85

82:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  br label %83

83:                                               ; preds = %76, %82
  call void @_ZN5boost15optional_detail13optional_baseI16PointsToVariableED2Ev(ptr noundef nonnull align 4 dereferenceable(8) %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  %84 = add nuw i64 %.027, 1
  br i1 %75, label %.loopexit58, label %48, !llvm.loop !5

85:                                               ; preds = %81, %79
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  call void @_ZN5boost15optional_detail13optional_baseI16PointsToVariableED2Ev(ptr noundef nonnull align 4 dereferenceable(8) %15) #5
  br label %87

87:                                               ; preds = %85, %77
  %.pn40 = phi { ptr, i32 } [ %86, %85 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  br label %88

88:                                               ; preds = %87, %.loopexit
  %.pn40.pn = phi { ptr, i32 } [ %.pn40, %87 ], [ %.pn36.pn.pn, %.loopexit ]
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  br label %89

89:                                               ; preds = %88, %62
  %.pn40.pn.pn = phi { ptr, i32 } [ %.pn40.pn, %88 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  br label %99

.critedge:                                        ; preds = %50
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #5
  %90 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNR5boost8optionalI17PointsToOperationEdeEv(ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %91 unwind label %94

91:                                               ; preds = %.critedge
  invoke void @_ZN14PointsToActionC1ERK17PointsToOperationRKSt6vectorISt4pairIi16PointsToVariableESaIS6_EE(ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef nonnull align 8 dereferenceable(16) %90, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %92 unwind label %94

92:                                               ; preds = %91
  invoke void @_ZN5boost8optionalI14PointsToActionEC2EOS1_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(40) %17)
          to label %93 unwind label %96

93:                                               ; preds = %92
  call void @_ZN14PointsToActionD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #5
  br label %.loopexit58

94:                                               ; preds = %91, %.critedge
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %98

96:                                               ; preds = %92
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN14PointsToActionD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #5
  br label %98

98:                                               ; preds = %96, %94
  %.pn45 = phi { ptr, i32 } [ %97, %96 ], [ %95, %94 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #5
  br label %99

.loopexit58:                                      ; preds = %83, %.thread54, %93
  call void @_ZNSt6vectorISt4pairIi16PointsToVariableESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  br label %100

99:                                               ; preds = %51, %89, %98
  %.pn45.pn = phi { ptr, i32 } [ %.pn45, %98 ], [ %.pn40.pn.pn, %89 ], [ %52, %51 ]
  call void @_ZNSt6vectorISt4pairIi16PointsToVariableESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @_ZN5boost15optional_detail13optional_baseI17PointsToOperationED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  br label %101

100:                                              ; preds = %.loopexit58, %42
  call void @_ZN5boost15optional_detail13optional_baseI17PointsToOperationED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  br label %102

101:                                              ; preds = %99, %43
  %.pn45.pn.pn = phi { ptr, i32 } [ %.pn45.pn, %99 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  br label %103

102:                                              ; preds = %100, %30
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  ret void

103:                                              ; preds = %101, %.loopexit59
  %.pn45.pn.pn.pn = phi { ptr, i32 } [ %.pn45.pn.pn, %101 ], [ %.pn.pn, %.loopexit59 ]
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  br label %104

104:                                              ; preds = %103, %31
  %.pn45.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn45.pn.pn.pn, %103 ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn45.pn.pn.pn.pn
}

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

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

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

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

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

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

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

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

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

declare void @_ZN14PointsToActionC1ERK17PointsToOperationRKSt6vectorISt4pairIi16PointsToVariableESaIS6_EE(ptr, ptr, ptr) local_unnamed_addr

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 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 = { nounwind }

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass