; LLVM IR from facebook/redex :: service/escape-analysis (LocalPointersAnalysis)

; 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.sparta::s_expr" = type { %"class.boost::intrusive_ptr.413" }
%"class.boost::intrusive_ptr.413" = type { ptr }
%"class.std::vector.414" = type { %"struct.std::_Vector_base.415" }
%"struct.std::_Vector_base.415" = type { %"struct.std::_Vector_base<sparta::s_expr, std::allocator<sparta::s_expr>>::_Vector_impl" }
%"struct.std::_Vector_base<sparta::s_expr, std::allocator<sparta::s_expr>>::_Vector_impl" = type { %"struct.std::_Vector_base<sparta::s_expr, std::allocator<sparta::s_expr>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sparta::s_expr, std::allocator<sparta::s_expr>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.419" = type { %"struct.std::_Vector_base.420" }
%"struct.std::_Vector_base.420" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.424" = type { ptr }
%"class.sparta::pt_core::PatriciaTreeIterator.425" = type { %"class.sparta::pt_core::PatriciaTreePostOrder.426" }
%"class.sparta::pt_core::PatriciaTreePostOrder.426" = type { %"class.boost::intrusive_ptr.125", %"class.std::stack.427", ptr }
%"class.boost::intrusive_ptr.125" = type { ptr }
%"class.std::stack.427" = type { %"class.std::deque.428" }
%"class.std::deque.428" = type { %"class.std::_Deque_base.429" }
%"class.std::_Deque_base.429" = type { %"struct.std::_Deque_base<const sparta::pt_core::PatriciaTreeBranch<unsigned short, sparta::pt_core::EmptyValue> *, std::allocator<const sparta::pt_core::PatriciaTreeBranch<unsigned short, sparta::pt_core::EmptyValue> *>>::_Deque_impl" }
%"struct.std::_Deque_base<const sparta::pt_core::PatriciaTreeBranch<unsigned short, sparta::pt_core::EmptyValue> *, std::allocator<const sparta::pt_core::PatriciaTreeBranch<unsigned short, sparta::pt_core::EmptyValue> *>>::_Deque_impl" = type { %"struct.std::_Deque_base<const sparta::pt_core::PatriciaTreeBranch<unsigned short, sparta::pt_core::EmptyValue> *, std::allocator<const sparta::pt_core::PatriciaTreeBranch<unsigned short, sparta::pt_core::EmptyValue> *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<const sparta::pt_core::PatriciaTreeBranch<unsigned short, sparta::pt_core::EmptyValue> *, std::allocator<const sparta::pt_core::PatriciaTreeBranch<unsigned short, sparta::pt_core::EmptyValue> *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.433", %"struct.std::_Deque_iterator.433" }
%"struct.std::_Deque_iterator.433" = type { ptr, ptr, ptr, ptr }
%"class.std::allocator.421" = type { i8 }
%"class.std::initializer_list.434" = type { ptr, i64 }
%"struct.local_pointers::EscapeSummary" = type { %class.UnorderedSet.88, %"class.sparta::SetAbstractDomain.110" }
%class.UnorderedSet.88 = type { %"class.std::unordered_set.90" }
%"class.std::unordered_set.90" = type { %"class.std::_Hashtable.91" }
%"class.std::_Hashtable.91" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.sparta::SetAbstractDomain.110" = type { %"class.sparta::PowersetAbstractDomain.111" }
%"class.sparta::PowersetAbstractDomain.111" = type { %"class.sparta::AbstractDomainScaffolding.112" }
%"class.sparta::AbstractDomainScaffolding.112" = type { i32, %"class.sparta::set_impl::SetValue.117" }
%"class.sparta::set_impl::SetValue.117" = type { %"class.sparta::PatriciaTreeSet.121" }
%"class.sparta::PatriciaTreeSet.121" = type { %"class.sparta::pt_core::PatriciaTreeCore.124" }
%"class.sparta::pt_core::PatriciaTreeCore.124" = type { %"class.boost::intrusive_ptr.125" }

@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14local_pointers9to_s_exprERKNS_13EscapeSummaryE(ptr dead_on_unwind noalias writable sret(%"class.sparta::s_expr") align 8 %0, ptr noundef nonnull align 8 dereferenceable(72) %1) #1 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::vector.414", align 8
  %6 = alloca %"class.std::vector.419", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.424", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.424", align 8
  %12 = alloca i16, align 2
  %13 = alloca %"class.sparta::s_expr", align 8
  %14 = alloca %"class.sparta::s_expr", align 8
  %15 = alloca %"class.sparta::s_expr", align 8
  %16 = alloca %"class.std::vector.414", align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.std::vector.419", align 8
  %19 = alloca %"class.sparta::pt_core::PatriciaTreeIterator.425", align 8
  %20 = alloca %"class.sparta::pt_core::PatriciaTreeIterator.425", align 8
  %21 = alloca %"class.std::allocator.421", align 1
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.424", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.424", align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.424", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.424", align 8
  %27 = alloca i16, align 2
  %28 = alloca %"class.sparta::s_expr", align 8
  %29 = alloca %"class.std::initializer_list.434", align 8
  %30 = alloca [2 x %"class.sparta::s_expr"], align 8
  %31 = alloca ptr, 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 24, ptr %5) #5
  call void @_ZNSt6vectorIN6sparta6s_exprESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #5
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.local_pointers::EscapeSummary", ptr %32, i32 0, i32 0
  invoke void @_Z20unordered_to_orderedIK12UnorderedSetItSt4hashItESt8equal_toItEEtTnNSt9enable_ifIXoosr3stdE9is_same_vINT_8key_typeENS8_10value_typeEEsr3stdE12is_base_of_vI16UnorderedBagBaseS8_EEbE4typeELb1EESt6vectorIT0_SaISF_EERS8_(ptr dead_on_unwind writable sret(%"class.std::vector.419") align 8 %6, ptr noundef nonnull align 8 dereferenceable(56) %33)
          to label %34 unwind label %46

34:                                               ; preds = %2
  %35 = call noundef i64 @_ZNKSt6vectorItSaItEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  invoke void @_ZNSt6vectorIN6sparta6s_exprESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %35)
          to label %36 unwind label %50

36:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store ptr %6, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %37 = load ptr, ptr %9, align 8, !tbaa !5
  %38 = call ptr @_ZNSt6vectorItSaItEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #5
  %39 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.424", ptr %10, i32 0, i32 0
  store ptr %38, ptr %39, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = call ptr @_ZNSt6vectorItSaItEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #5
  %42 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.424", ptr %11, i32 0, i32 0
  store ptr %41, ptr %42, align 8
  br label %43

43:                                               ; preds = %59, %36
  %44 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPtSt6vectorItSaItEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  br i1 %44, label %54, label %45

45:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %65

46:                                               ; preds = %2
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %7, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %8, align 4
  br label %209

50:                                               ; preds = %34
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %7, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %8, align 4
  br label %208

54:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #5
  %55 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPtSt6vectorItSaItEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %56 = load i16, ptr %55, align 2, !tbaa !9
  store i16 %56, ptr %12, align 2, !tbaa !9
  %57 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIN6sparta6s_exprESaIS1_EE12emplace_backIJRtEEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 2 dereferenceable(2) %12)
          to label %58 unwind label %61

58:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #5
  br label %59

59:                                               ; preds = %58
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPtSt6vectorItSaItEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  br label %43

61:                                               ; preds = %54
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %7, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %208

65:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  invoke void @_ZN6sparta6s_exprC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %66 unwind label %71

66:                                               ; preds = %65
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.local_pointers::EscapeSummary", ptr %67, i32 0, i32 1
  %69 = invoke noundef i32 @_ZNK6sparta25AbstractDomainScaffoldingINS_8set_impl8SetValueINS_15PatriciaTreeSetItEEEENS_17SetAbstractDomainIS4_EEE4kindEv(ptr noundef nonnull align 8 dereferenceable(16) %68)
          to label %70 unwind label %75

70:                                               ; preds = %66
  switch i32 %69, label %165 [
    i32 2, label %79
    i32 0, label %86
    i32 1, label %93
  ]

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

75:                                               ; preds = %66
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %7, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %8, align 4
  br label %206

79:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  invoke void @_ZN6sparta6s_exprC2EPKc(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef @.str.12)
          to label %80 unwind label %82

80:                                               ; preds = %79
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6sparta6s_expraSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %165

82:                                               ; preds = %79
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %7, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %206

86:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  invoke void @_ZN6sparta6s_exprC2EPKc(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef @.str.13)
          to label %87 unwind label %89

87:                                               ; preds = %86
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6sparta6s_expraSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %165

89:                                               ; preds = %86
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %7, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %206

93:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #5
  call void @_ZNSt6vectorIN6sparta6s_exprESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %"struct.local_pointers::EscapeSummary", ptr %94, i32 0, i32 1
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6sparta22PowersetAbstractDomainItNS_8set_impl8SetValueINS_15PatriciaTreeSetItEEEERKS4_NS_17SetAbstractDomainIS4_EEE8elementsEv(ptr noundef nonnull align 8 dereferenceable(16) %95)
          to label %97 unwind label %123

97:                                               ; preds = %93
  store ptr %96, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #5
  %98 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNK6sparta15PatriciaTreeSetItE5beginEv(ptr dead_on_unwind writable sret(%"class.sparta::pt_core::PatriciaTreeIterator.425") align 8 %19, ptr noundef nonnull align 8 dereferenceable(8) %98)
          to label %99 unwind label %127

99:                                               ; preds = %97
  %100 = load ptr, ptr %17, align 8, !tbaa !5
  invoke void @_ZNK6sparta15PatriciaTreeSetItE3endEv(ptr dead_on_unwind writable sret(%"class.sparta::pt_core::PatriciaTreeIterator.425") align 8 %20, ptr noundef nonnull align 8 dereferenceable(8) %100)
          to label %101 unwind label %131

101:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #5
  call void @_ZNSaItEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  invoke void @_ZNSt6vectorItSaItEEC2IN6sparta7pt_core20PatriciaTreeIteratorItNS4_10EmptyValueEEEvEET_S8_RKS0_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef %19, ptr noundef %20, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %102 unwind label %135

102:                                              ; preds = %101
  call void @_ZNSt15__new_allocatorItED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #5
  call void @_ZN6sparta7pt_core20PatriciaTreeIteratorItNS0_10EmptyValueEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %20) #5
  call void @_ZN6sparta7pt_core20PatriciaTreeIteratorItNS0_10EmptyValueEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %19) #5
  %103 = call ptr @_ZNSt6vectorItSaItEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  %104 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.424", ptr %22, i32 0, i32 0
  store ptr %103, ptr %104, align 8
  %105 = call ptr @_ZNSt6vectorItSaItEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  %106 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.424", ptr %23, i32 0, i32 0
  store ptr %105, ptr %106, align 8
  %107 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.424", ptr %22, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8
  %109 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.424", ptr %23, i32 0, i32 0
  %110 = load ptr, ptr %109, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPtSt6vectorItSaItEEEEEvT_S7_(ptr %108, ptr %110)
          to label %111 unwind label %140

111:                                              ; preds = %102
  %112 = call noundef i64 @_ZNKSt6vectorItSaItEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  invoke void @_ZNSt6vectorIN6sparta6s_exprESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %112)
          to label %113 unwind label %140

113:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  store ptr %18, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %114 = load ptr, ptr %24, align 8, !tbaa !5
  %115 = call ptr @_ZNSt6vectorItSaItEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %114) #5
  %116 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.424", ptr %25, i32 0, i32 0
  store ptr %115, ptr %116, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %117 = load ptr, ptr %24, align 8, !tbaa !5
  %118 = call ptr @_ZNSt6vectorItSaItEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %117) #5
  %119 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.424", ptr %26, i32 0, i32 0
  store ptr %118, ptr %119, align 8
  br label %120

120:                                              ; preds = %149, %113
  %121 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPtSt6vectorItSaItEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #5
  br i1 %121, label %144, label %122

122:                                              ; preds = %120
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %155

123:                                              ; preds = %93
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %7, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %8, align 4
  br label %164

127:                                              ; preds = %97
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %7, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %8, align 4
  br label %163

131:                                              ; preds = %99
  %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 %139

135:                                              ; preds = %101
  %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
  call void @_ZNSt15__new_allocatorItED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #5
  call void @_ZN6sparta7pt_core20PatriciaTreeIteratorItNS0_10EmptyValueEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %20) #5
  br label %139

139:                                              ; preds = %135, %131
  call void @_ZN6sparta7pt_core20PatriciaTreeIteratorItNS0_10EmptyValueEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %19) #5
  br label %163

140:                                              ; preds = %111, %102
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %7, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %8, align 4
  br label %162

144:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 2, ptr %27) #5
  %145 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPtSt6vectorItSaItEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  %146 = load i16, ptr %145, align 2, !tbaa !9
  store i16 %146, ptr %27, align 2, !tbaa !9
  %147 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIN6sparta6s_exprESaIS1_EE12emplace_backIJRtEEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 2 dereferenceable(2) %27)
          to label %148 unwind label %151

148:                                              ; preds = %144
  call void @llvm.lifetime.end.p0(i64 2, ptr %27) #5
  br label %149

149:                                              ; preds = %148
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPtSt6vectorItSaItEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  br label %120

151:                                              ; preds = %144
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %7, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %162

155:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  invoke void @_ZN6sparta6s_exprC2ERKSt6vectorIS0_SaIS0_EE(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %156 unwind label %158

156:                                              ; preds = %155
  %157 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6sparta6s_expraSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %28) #5
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @_ZNSt6vectorItSaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @_ZNSt6vectorIN6sparta6s_exprESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  br label %165

158:                                              ; preds = %155
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %7, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  br label %162

162:                                              ; preds = %158, %151, %140
  call void @_ZNSt6vectorItSaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  br label %163

163:                                              ; preds = %162, %139, %127
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  br label %164

164:                                              ; preds = %163, %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @_ZNSt6vectorIN6sparta6s_exprESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  br label %206

165:                                              ; preds = %156, %87, %80, %70
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #5
  store ptr %30, ptr %31, align 8
  invoke void @_ZN6sparta6s_exprC2ERKSt6vectorIS0_SaIS0_EE(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %166 unwind label %183

166:                                              ; preds = %165
  %167 = getelementptr inbounds %"class.sparta::s_expr", ptr %30, i64 1
  store ptr %167, ptr %31, align 8
  invoke void @_ZN6sparta6s_exprC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %167, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %168 unwind label %183

168:                                              ; preds = %166
  %169 = getelementptr inbounds %"class.std::initializer_list.434", ptr %29, i32 0, i32 0
  store ptr %30, ptr %169, align 8, !tbaa !11
  %170 = getelementptr inbounds %"class.std::initializer_list.434", ptr %29, i32 0, i32 1
  store i64 2, ptr %170, align 8, !tbaa !14
  %171 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 0
  %172 = load ptr, ptr %171, align 8
  %173 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 1
  %174 = load i64, ptr %173, align 8
  invoke void @_ZN6sparta6s_exprC2ESt16initializer_listIS0_E(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr %172, i64 %174)
          to label %175 unwind label %194

175:                                              ; preds = %168
  %176 = getelementptr inbounds [2 x %"class.sparta::s_expr"], ptr %30, i32 0, i32 0
  %177 = getelementptr inbounds %"class.sparta::s_expr", ptr %176, i64 2
  br label %178

178:                                              ; preds = %178, %175
  %179 = phi ptr [ %177, %175 ], [ %180, %178 ]
  %180 = getelementptr inbounds %"class.sparta::s_expr", ptr %179, i64 -1
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %180) #5
  %181 = icmp eq ptr %180, %176
  br i1 %181, label %182, label %178

182:                                              ; preds = %178
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #5
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @_ZNSt6vectorItSaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #5
  call void @_ZNSt6vectorIN6sparta6s_exprESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #5
  ret void

183:                                              ; preds = %166, %165
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %7, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %8, align 4
  %187 = load ptr, ptr %31, align 8
  %188 = icmp eq ptr %30, %187
  br i1 %188, label %193, label %189

189:                                              ; preds = %189, %183
  %190 = phi ptr [ %187, %183 ], [ %191, %189 ]
  %191 = getelementptr inbounds %"class.sparta::s_expr", ptr %190, i64 -1
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %191) #5
  %192 = icmp eq ptr %191, %30
  br i1 %192, label %193, label %189

193:                                              ; preds = %189, %183
  br label %205

194:                                              ; preds = %168
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %7, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %8, align 4
  %198 = getelementptr inbounds [2 x %"class.sparta::s_expr"], ptr %30, i32 0, i32 0
  %199 = getelementptr inbounds %"class.sparta::s_expr", ptr %198, i64 2
  br label %200

200:                                              ; preds = %200, %194
  %201 = phi ptr [ %199, %194 ], [ %202, %200 ]
  %202 = getelementptr inbounds %"class.sparta::s_expr", ptr %201, i64 -1
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %202) #5
  %203 = icmp eq ptr %202, %198
  br i1 %203, label %204, label %200

204:                                              ; preds = %200
  br label %205

205:                                              ; preds = %204, %193
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #5
  br label %206

206:                                              ; preds = %205, %164, %89, %82, %75
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br label %207

207:                                              ; preds = %206, %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %208

208:                                              ; preds = %207, %61, %50
  call void @_ZNSt6vectorItSaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  br label %209

209:                                              ; preds = %208, %46
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #5
  call void @_ZNSt6vectorIN6sparta6s_exprESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #5
  br label %210

210:                                              ; preds = %209
  %211 = load ptr, ptr %7, align 8
  %212 = load i32, ptr %8, align 4
  %213 = insertvalue { ptr, i32 } poison, ptr %211, 0
  %214 = insertvalue { ptr, i32 } %213, i32 %212, 1
  resume { ptr, i32 } %214
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20unordered_to_orderedIK12UnorderedSetItSt4hashItESt8equal_toItEEtTnNSt9enable_ifIXoosr3stdE9is_same_vINT_8key_typeENS8_10value_typeEEsr3stdE12is_base_of_vI16UnorderedBagBaseS8_EEbE4typeELb1EESt6vectorIT0_SaISF_EERS8_(ptr dead_on_unwind noalias writable sret(%"class.std::vector.419") align 8, ptr noundef nonnull align 8 dereferenceable(56)) #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6sparta15PatriciaTreeSetItE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.sparta::pt_core::PatriciaTreeIterator.425") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6sparta15PatriciaTreeSetItE3endEv(ptr dead_on_unwind noalias writable sret(%"class.sparta::pt_core::PatriciaTreeIterator.425") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPtSt6vectorItSaItEEEEEvT_S7_(ptr, ptr) #4

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #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 = !{!"short", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSSt16initializer_listIN6sparta6s_exprEE", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !13, i64 8}


; 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.sparta::s_expr" = type { %"class.boost::intrusive_ptr.413" }
%"class.boost::intrusive_ptr.413" = type { ptr }
%"class.std::vector.414" = type { %"struct.std::_Vector_base.415" }
%"struct.std::_Vector_base.415" = type { %"struct.std::_Vector_base<sparta::s_expr, std::allocator<sparta::s_expr>>::_Vector_impl" }
%"struct.std::_Vector_base<sparta::s_expr, std::allocator<sparta::s_expr>>::_Vector_impl" = type { %"struct.std::_Vector_base<sparta::s_expr, std::allocator<sparta::s_expr>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sparta::s_expr, std::allocator<sparta::s_expr>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.419" = type { %"struct.std::_Vector_base.420" }
%"struct.std::_Vector_base.420" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned short, std::allocator<unsigned short>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.424" = type { ptr }
%"class.sparta::pt_core::PatriciaTreeIterator.425" = type { %"class.sparta::pt_core::PatriciaTreePostOrder.426" }
%"class.sparta::pt_core::PatriciaTreePostOrder.426" = type { %"class.boost::intrusive_ptr.125", %"class.std::stack.427", ptr }
%"class.boost::intrusive_ptr.125" = type { ptr }
%"class.std::stack.427" = type { %"class.std::deque.428" }
%"class.std::deque.428" = type { %"class.std::_Deque_base.429" }
%"class.std::_Deque_base.429" = type { %"struct.std::_Deque_base<const sparta::pt_core::PatriciaTreeBranch<unsigned short, sparta::pt_core::EmptyValue> *, std::allocator<const sparta::pt_core::PatriciaTreeBranch<unsigned short, sparta::pt_core::EmptyValue> *>>::_Deque_impl" }
%"struct.std::_Deque_base<const sparta::pt_core::PatriciaTreeBranch<unsigned short, sparta::pt_core::EmptyValue> *, std::allocator<const sparta::pt_core::PatriciaTreeBranch<unsigned short, sparta::pt_core::EmptyValue> *>>::_Deque_impl" = type { %"struct.std::_Deque_base<const sparta::pt_core::PatriciaTreeBranch<unsigned short, sparta::pt_core::EmptyValue> *, std::allocator<const sparta::pt_core::PatriciaTreeBranch<unsigned short, sparta::pt_core::EmptyValue> *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<const sparta::pt_core::PatriciaTreeBranch<unsigned short, sparta::pt_core::EmptyValue> *, std::allocator<const sparta::pt_core::PatriciaTreeBranch<unsigned short, sparta::pt_core::EmptyValue> *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.433", %"struct.std::_Deque_iterator.433" }
%"struct.std::_Deque_iterator.433" = type { ptr, ptr, ptr, ptr }
%"class.std::allocator.421" = type { i8 }

@.str.12 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [7 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14local_pointers9to_s_exprERKNS_13EscapeSummaryE(ptr dead_on_unwind noalias writable sret(%"class.sparta::s_expr") align 8 %0, ptr noundef nonnull align 8 dereferenceable(72) %1) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector.414", align 8
  %4 = alloca %"class.std::vector.419", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.424", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.424", align 8
  %7 = alloca i16, align 2
  %8 = alloca %"class.sparta::s_expr", align 8
  %9 = alloca %"class.sparta::s_expr", align 8
  %10 = alloca %"class.sparta::s_expr", align 8
  %11 = alloca %"class.std::vector.414", align 8
  %12 = alloca %"class.std::vector.419", align 8
  %13 = alloca %"class.sparta::pt_core::PatriciaTreeIterator.425", align 8
  %14 = alloca %"class.sparta::pt_core::PatriciaTreeIterator.425", align 8
  %15 = alloca %"class.std::allocator.421", align 1
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.424", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.424", align 8
  %18 = alloca i16, align 2
  %19 = alloca %"class.sparta::s_expr", align 8
  %20 = alloca [2 x %"class.sparta::s_expr"], align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
  call void @_ZNSt6vectorIN6sparta6s_exprESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #5
  invoke void @_Z20unordered_to_orderedIK12UnorderedSetItSt4hashItESt8equal_toItEEtTnNSt9enable_ifIXoosr3stdE9is_same_vINT_8key_typeENS8_10value_typeEEsr3stdE12is_base_of_vI16UnorderedBagBaseS8_EEbE4typeELb1EESt6vectorIT0_SaISF_EERS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.419") align 8 %4, ptr noundef nonnull align 8 dereferenceable(56) %1)
          to label %21 unwind label %27

21:                                               ; preds = %2
  %22 = call noundef i64 @_ZNKSt6vectorItSaItEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  invoke void @_ZNSt6vectorIN6sparta6s_exprESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %22)
          to label %23 unwind label %29

23:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %24 = call ptr @_ZNSt6vectorItSaItEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  store ptr %24, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %25 = call ptr @_ZNSt6vectorItSaItEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  store ptr %25, ptr %6, align 8
  %26 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPtSt6vectorItSaItEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br i1 %26, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %34, %23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  invoke void @_ZN6sparta6s_exprC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %39 unwind label %42

27:                                               ; preds = %2
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %107

29:                                               ; preds = %21
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %106

.lr.ph:                                           ; preds = %23, %34
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %7) #5
  %31 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPtSt6vectorItSaItEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %32 = load i16, ptr %31, align 2, !tbaa !5
  store i16 %32, ptr %7, align 2, !tbaa !5
  %33 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIN6sparta6s_exprESaIS1_EE12emplace_backIJRtEEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 2 dereferenceable(2) %7)
          to label %34 unwind label %37

34:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #5
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPtSt6vectorItSaItEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  %36 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPtSt6vectorItSaItEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br i1 %36, label %.lr.ph, label %._crit_edge

37:                                               ; preds = %.lr.ph
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %106

39:                                               ; preds = %._crit_edge
  %40 = getelementptr inbounds i8, ptr %1, i64 56
  %41 = call noundef i32 @_ZNK6sparta25AbstractDomainScaffoldingINS_8set_impl8SetValueINS_15PatriciaTreeSetItEEEENS_17SetAbstractDomainIS4_EEE4kindEv(ptr noundef nonnull align 8 dereferenceable(16) %40)
  switch i32 %41, label %94 [
    i32 2, label %44
    i32 0, label %49
    i32 1, label %54
  ]

42:                                               ; preds = %._crit_edge
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %105

44:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  invoke void @_ZN6sparta6s_exprC2EPKc(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull @.str.12)
          to label %45 unwind label %47

45:                                               ; preds = %44
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6sparta6s_expraSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br label %94

47:                                               ; preds = %44
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br label %104

49:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  invoke void @_ZN6sparta6s_exprC2EPKc(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull @.str.13)
          to label %50 unwind label %52

50:                                               ; preds = %49
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6sparta6s_expraSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  br label %94

52:                                               ; preds = %49
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  br label %104

54:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #5
  call void @_ZNSt6vectorIN6sparta6s_exprESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK6sparta22PowersetAbstractDomainItNS_8set_impl8SetValueINS_15PatriciaTreeSetItEEEERKS4_NS_17SetAbstractDomainIS4_EEE8elementsEv(ptr noundef nonnull align 8 dereferenceable(16) %40)
          to label %56 unwind label %68

56:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #5
  invoke void @_ZNK6sparta15PatriciaTreeSetItE5beginEv(ptr dead_on_unwind nonnull writable sret(%"class.sparta::pt_core::PatriciaTreeIterator.425") align 8 %13, ptr noundef nonnull align 8 dereferenceable(8) %55)
          to label %57 unwind label %70

57:                                               ; preds = %56
  invoke void @_ZNK6sparta15PatriciaTreeSetItE3endEv(ptr dead_on_unwind nonnull writable sret(%"class.sparta::pt_core::PatriciaTreeIterator.425") align 8 %14, ptr noundef nonnull align 8 dereferenceable(8) %55)
          to label %58 unwind label %72

58:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #5
  call void @_ZNSaItEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  invoke void @_ZNSt6vectorItSaItEEC2IN6sparta7pt_core20PatriciaTreeIteratorItNS4_10EmptyValueEEEvEET_S8_RKS0_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %59 unwind label %74

59:                                               ; preds = %58
  call void @_ZNSt15__new_allocatorItED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #5
  call void @_ZN6sparta7pt_core20PatriciaTreeIteratorItNS0_10EmptyValueEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %14) #5
  call void @_ZN6sparta7pt_core20PatriciaTreeIteratorItNS0_10EmptyValueEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %13) #5
  %60 = call ptr @_ZNSt6vectorItSaItEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  %61 = call ptr @_ZNSt6vectorItSaItEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPtSt6vectorItSaItEEEEEvT_S7_(ptr %60, ptr %61)
          to label %62 unwind label %77

62:                                               ; preds = %59
  %63 = call noundef i64 @_ZNKSt6vectorItSaItEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  invoke void @_ZNSt6vectorIN6sparta6s_exprESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %63)
          to label %64 unwind label %77

64:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  %65 = call ptr @_ZNSt6vectorItSaItEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  store ptr %65, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %66 = call ptr @_ZNSt6vectorItSaItEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  store ptr %66, ptr %17, align 8
  %67 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPtSt6vectorItSaItEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  br i1 %67, label %.lr.ph39, label %._crit_edge40

._crit_edge40:                                    ; preds = %82, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  invoke void @_ZN6sparta6s_exprC2ERKSt6vectorIS0_SaIS0_EE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %87 unwind label %89

68:                                               ; preds = %54
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %93

70:                                               ; preds = %56
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %92

72:                                               ; preds = %57
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %76

74:                                               ; preds = %58
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorItED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #5
  call void @_ZN6sparta7pt_core20PatriciaTreeIteratorItNS0_10EmptyValueEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %14) #5
  br label %76

76:                                               ; preds = %74, %72
  %.pn = phi { ptr, i32 } [ %75, %74 ], [ %73, %72 ]
  call void @_ZN6sparta7pt_core20PatriciaTreeIteratorItNS0_10EmptyValueEED2Ev(ptr noundef nonnull align 8 dereferenceable(96) %13) #5
  br label %92

77:                                               ; preds = %62, %59
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %91

.lr.ph39:                                         ; preds = %64, %82
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %18) #5
  %79 = call noundef nonnull align 2 dereferenceable(2) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPtSt6vectorItSaItEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  %80 = load i16, ptr %79, align 2, !tbaa !5
  store i16 %80, ptr %18, align 2, !tbaa !5
  %81 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIN6sparta6s_exprESaIS1_EE12emplace_backIJRtEEERS1_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 2 dereferenceable(2) %18)
          to label %82 unwind label %85

82:                                               ; preds = %.lr.ph39
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %18) #5
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPtSt6vectorItSaItEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  %84 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPtSt6vectorItSaItEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  br i1 %84, label %.lr.ph39, label %._crit_edge40

85:                                               ; preds = %.lr.ph39
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  br label %91

87:                                               ; preds = %._crit_edge40
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6sparta6s_expraSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  call void @_ZNSt6vectorItSaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #5
  call void @_ZNSt6vectorIN6sparta6s_exprESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  br label %94

89:                                               ; preds = %._crit_edge40
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  br label %91

91:                                               ; preds = %89, %85, %77
  %.pn25 = phi { ptr, i32 } [ %86, %85 ], [ %90, %89 ], [ %78, %77 ]
  call void @_ZNSt6vectorItSaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  br label %92

92:                                               ; preds = %91, %76, %70
  %.pn25.pn = phi { ptr, i32 } [ %.pn25, %91 ], [ %.pn, %76 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #5
  br label %93

93:                                               ; preds = %92, %68
  %.pn25.pn.pn = phi { ptr, i32 } [ %.pn25.pn, %92 ], [ %69, %68 ]
  call void @_ZNSt6vectorIN6sparta6s_exprESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  br label %104

94:                                               ; preds = %87, %50, %45, %39
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #5
  invoke void @_ZN6sparta6s_exprC2ERKSt6vectorIS0_SaIS0_EE(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %96 unwind label %.thread

.thread:                                          ; preds = %94
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

96:                                               ; preds = %94
  %97 = getelementptr inbounds i8, ptr %20, i64 8
  invoke void @_ZN6sparta6s_exprC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %98 unwind label %.loopexit.loopexit41

98:                                               ; preds = %96
  invoke void @_ZN6sparta6s_exprC2ESt16initializer_listIS0_E(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr nonnull %20, i64 2)
          to label %99 unwind label %.loopexit.loopexit

99:                                               ; preds = %98
  %100 = getelementptr inbounds i8, ptr %20, i64 8
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %100) #5
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #5
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @_ZNSt6vectorItSaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  call void @_ZNSt6vectorIN6sparta6s_exprESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  ret void

.loopexit.loopexit41:                             ; preds = %96
  %101 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  br label %.loopexit

.loopexit.loopexit:                               ; preds = %98
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = getelementptr inbounds i8, ptr %20, i64 8
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %103) #5
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit41, %.loopexit.loopexit, %.thread
  %.pn29 = phi { ptr, i32 } [ %95, %.thread ], [ %102, %.loopexit.loopexit ], [ %101, %.loopexit.loopexit41 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #5
  br label %104

104:                                              ; preds = %.loopexit, %93, %52, %47
  %.pn29.pn = phi { ptr, i32 } [ %.pn29, %.loopexit ], [ %.pn25.pn.pn, %93 ], [ %53, %52 ], [ %48, %47 ]
  call void @_ZN6sparta6s_exprD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br label %105

105:                                              ; preds = %104, %42
  %.pn29.pn.pn = phi { ptr, i32 } [ %.pn29.pn, %104 ], [ %43, %42 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %106

106:                                              ; preds = %105, %37, %29
  %.pn33 = phi { ptr, i32 } [ %38, %37 ], [ %.pn29.pn.pn, %105 ], [ %30, %29 ]
  call void @_ZNSt6vectorItSaItEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  br label %107

107:                                              ; preds = %106, %27
  %.pn33.pn = phi { ptr, i32 } [ %.pn33, %106 ], [ %28, %27 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  call void @_ZNSt6vectorIN6sparta6s_exprESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  resume { ptr, i32 } %.pn33.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20unordered_to_orderedIK12UnorderedSetItSt4hashItESt8equal_toItEEtTnNSt9enable_ifIXoosr3stdE9is_same_vINT_8key_typeENS8_10value_typeEEsr3stdE12is_base_of_vI16UnorderedBagBaseS8_EEbE4typeELb1EESt6vectorIT0_SaISF_EERS8_(ptr dead_on_unwind noalias writable sret(%"class.std::vector.419") align 8, ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6sparta15PatriciaTreeSetItE5beginEv(ptr dead_on_unwind noalias writable sret(%"class.sparta::pt_core::PatriciaTreeIterator.425") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6sparta15PatriciaTreeSetItE3endEv(ptr dead_on_unwind noalias writable sret(%"class.sparta::pt_core::PatriciaTreeIterator.425") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPtSt6vectorItSaItEEEEEvT_S7_(ptr, ptr) local_unnamed_addr #4

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #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 = !{!"short", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


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