; LLVM IR from buresjan/optim_lbm :: nomad/src/Cache (CacheSet)

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

%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::shared_ptr.56" = type { %"class.std::__shared_ptr.57" }
%"class.std::__shared_ptr.57" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.NOMAD_4_3::EvalPoint" = type { %"class.NOMAD_4_3::Point", [3 x %"class.std::unique_ptr.29"], i32, i32, i16, %"class.std::shared_ptr.37", %"class.std::vector.40", %"class.std::shared_ptr.45", %"class.NOMAD_4_3::Double", %"class.std::shared_ptr.48" }
%"class.NOMAD_4_3::Point" = type { %"class.NOMAD_4_3::ArrayOfDouble" }
%"class.NOMAD_4_3::ArrayOfDouble" = type { ptr, i64, ptr }
%"class.std::unique_ptr.29" = type { %"struct.std::__uniq_ptr_data.30" }
%"struct.std::__uniq_ptr_data.30" = type { %"class.std::__uniq_ptr_impl.31" }
%"class.std::__uniq_ptr_impl.31" = type { %"class.std::tuple.32" }
%"class.std::tuple.32" = type { %"struct.std::_Tuple_impl.33" }
%"struct.std::_Tuple_impl.33" = type { %"struct.std::_Head_base.36" }
%"struct.std::_Head_base.36" = type { ptr }
%"class.std::shared_ptr.37" = type { %"class.std::__shared_ptr.38" }
%"class.std::__shared_ptr.38" = type { ptr, %"class.std::__shared_count" }
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<NOMAD_4_3::StepType, std::allocator<NOMAD_4_3::StepType>>::_Vector_impl" }
%"struct.std::_Vector_base<NOMAD_4_3::StepType, std::allocator<NOMAD_4_3::StepType>>::_Vector_impl" = type { %"struct.std::_Vector_base<NOMAD_4_3::StepType, std::allocator<NOMAD_4_3::StepType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<NOMAD_4_3::StepType, std::allocator<NOMAD_4_3::StepType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr.45" = type { %"class.std::__shared_ptr.46" }
%"class.std::__shared_ptr.46" = type { ptr, %"class.std::__shared_count" }
%"class.NOMAD_4_3::Double" = type <{ ptr, double, i8, [7 x i8] }>
%"class.std::shared_ptr.48" = type { %"class.std::__shared_ptr.49" }
%"class.std::__shared_ptr.49" = type { ptr, %"class.std::__shared_count" }
%"class.NOMAD_4_3::CacheSet" = type { %"class.NOMAD_4_3::CacheBase.base", %"class.std::set" }
%"class.NOMAD_4_3::CacheBase.base" = type <{ ptr, %"class.std::__cxx11::basic_string", i64, %"class.std::shared_ptr", i64, %"struct.std::atomic.8" }>
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"struct.std::atomic.8" = type { %"struct.std::__atomic_base.9" }
%"struct.std::__atomic_base.9" = type { i8 }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<NOMAD_4_3::EvalPoint, NOMAD_4_3::EvalPoint, std::_Identity<NOMAD_4_3::EvalPoint>, NOMAD_4_3::EvalPointCompare>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<NOMAD_4_3::EvalPoint, NOMAD_4_3::EvalPoint, std::_Identity<NOMAD_4_3::EvalPoint>, NOMAD_4_3::EvalPointCompare>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }

@_ZN9NOMAD_4_3L3INFE = external hidden constant double, align 8

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nounwind
declare void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #1

; Function Attrs: nounwind
declare void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

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

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

declare noundef ptr @_ZNK9NOMAD_4_39EvalPoint7getEvalENS_8EvalTypeE(ptr noundef nonnull align 8 dereferenceable(160), i32 noundef) #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNKSt8functionIFbRKN9NOMAD_4_34EvalES3_NS0_11ComputeTypeEEEclES3_S3_S4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) #5 align 2

declare void @_ZN9NOMAD_4_39EvalPointC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZNK9NOMAD_4_38CacheSet8findBestESt8functionIFbRKNS_4EvalES4_NS_11ComputeTypeEEERSt6vectorINS_9EvalPointESaIS9_EEbRKNS_6DoubleERKNS_5PointENS_8EvalTypeES5_PS3_(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i1 noundef zeroext %3, ptr noundef nonnull align 8 dereferenceable(17) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef %6, i32 noundef %7, ptr noundef %8) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i8, align 1
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %20 = alloca %"class.std::shared_ptr.56", align 8
  %21 = alloca %"class.std::shared_ptr.56", align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %25 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %26 = alloca %"class.NOMAD_4_3::EvalPoint", align 8
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca %"class.NOMAD_4_3::Double", align 8
  %30 = alloca %"class.NOMAD_4_3::Double", align 8
  %31 = alloca %"class.std::shared_ptr.56", align 8
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  %32 = zext i1 %3 to i8
  store i8 %32, ptr %13, align 1, !tbaa !9
  store ptr %4, ptr %14, align 8, !tbaa !5
  store ptr %5, ptr %15, align 8, !tbaa !5
  store i32 %6, ptr %16, align 4, !tbaa !11
  store i32 %7, ptr %17, align 4, !tbaa !13
  store ptr %8, ptr %18, align 8, !tbaa !5
  %33 = load ptr, ptr %10, align 8
  %34 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  call void @_ZNSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #8
  call void @_ZNSt10shared_ptrIN9NOMAD_4_34EvalEEC2EDn(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr null) #8
  %35 = load ptr, ptr %18, align 8, !tbaa !5
  %36 = icmp ne ptr null, %35
  br i1 %36, label %37, label %45

37:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #8
  %38 = load ptr, ptr %18, align 8, !tbaa !5
  invoke void @_ZSt11make_sharedIN9NOMAD_4_34EvalEJRKS1_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES6_E4typeEEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.56") align 8 %21, ptr noundef nonnull align 8 dereferenceable(105) %38)
          to label %39 unwind label %41

39:                                               ; preds = %37
  %40 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN9NOMAD_4_34EvalEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %21) #8
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_34EvalELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %21) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  br label %45

41:                                               ; preds = %37
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %22, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  br label %178

45:                                               ; preds = %39, %9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %46 = getelementptr inbounds %"class.NOMAD_4_3::CacheSet", ptr %33, i32 0, i32 1
  %47 = call ptr @_ZNKSt3setIN9NOMAD_4_39EvalPointENS0_16EvalPointCompareESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %46) #8
  %48 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %24, i32 0, i32 0
  store ptr %47, ptr %48, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %24, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %49

49:                                               ; preds = %169, %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %50 = getelementptr inbounds %"class.NOMAD_4_3::CacheSet", ptr %33, i32 0, i32 1
  %51 = call ptr @_ZNKSt3setIN9NOMAD_4_39EvalPointENS0_16EvalPointCompareESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %50) #8
  %52 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %25, i32 0, i32 0
  store ptr %51, ptr %52, align 8
  %53 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br i1 %53, label %54, label %175

54:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 160, ptr %26) #8
  %55 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  invoke void @_ZN9NOMAD_4_39EvalPointC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(160) %26, ptr noundef nonnull align 8 dereferenceable(160) %55)
          to label %56 unwind label %68

56:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %57 = load i32, ptr %16, align 4, !tbaa !11
  %58 = invoke noundef ptr @_ZNK9NOMAD_4_39EvalPoint7getEvalENS_8EvalTypeE(ptr noundef nonnull align 8 dereferenceable(160) %26, i32 noundef %57)
          to label %59 unwind label %72

59:                                               ; preds = %56
  store ptr %58, ptr %27, align 8, !tbaa !5
  %60 = load ptr, ptr %27, align 8, !tbaa !5
  %61 = icmp eq ptr null, %60
  br i1 %61, label %67, label %62

62:                                               ; preds = %59
  %63 = load ptr, ptr %27, align 8, !tbaa !5
  %64 = invoke noundef i32 @_ZNK9NOMAD_4_34Eval13getEvalStatusEv(ptr noundef nonnull align 8 dereferenceable(105) %63)
          to label %65 unwind label %72

65:                                               ; preds = %62
  %66 = icmp ne i32 4, %64
  br i1 %66, label %67, label %76

67:                                               ; preds = %65, %59
  store i32 4, ptr %28, align 4
  br label %166

68:                                               ; preds = %54
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %22, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %23, align 4
  br label %174

72:                                               ; preds = %76, %62, %56
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %22, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %23, align 4
  br label %173

76:                                               ; preds = %65
  %77 = load i8, ptr %13, align 1, !tbaa !9, !range !16, !noundef !17
  %78 = trunc i8 %77 to i1
  %79 = zext i1 %78 to i32
  %80 = load ptr, ptr %27, align 8, !tbaa !5
  %81 = load i32, ptr %17, align 4, !tbaa !13
  %82 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %80, i32 noundef %81)
          to label %83 unwind label %72

83:                                               ; preds = %76
  %84 = zext i1 %82 to i32
  %85 = icmp ne i32 %79, %84
  br i1 %85, label %86, label %87

86:                                               ; preds = %83
  store i32 4, ptr %28, align 4
  br label %166

87:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #8
  %88 = load ptr, ptr %27, align 8, !tbaa !5
  %89 = load i32, ptr %17, align 4, !tbaa !13
  invoke void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8 %29, ptr noundef nonnull align 8 dereferenceable(105) %88, i32 noundef %89)
          to label %90 unwind label %94

90:                                               ; preds = %87
  %91 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_36Double9isDefinedEv(ptr noundef nonnull align 8 dereferenceable(17) %29)
          to label %92 unwind label %98

92:                                               ; preds = %90
  br i1 %91, label %102, label %93

93:                                               ; preds = %92
  store i32 4, ptr %28, align 4
  br label %165

94:                                               ; preds = %87
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %22, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %23, align 4
  br label %172

98:                                               ; preds = %158, %154, %148, %145, %140, %132, %123, %90
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %22, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %23, align 4
  br label %171

102:                                              ; preds = %92
  %103 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #8
  invoke void @_ZN9NOMAD_4_36DoubleC1ERKd(ptr noundef nonnull align 8 dereferenceable(17) %30, ptr noundef nonnull align 8 dereferenceable(8) @_ZN9NOMAD_4_3L3INFE)
          to label %104 unwind label %114

104:                                              ; preds = %102
  %105 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3ltERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %103, ptr noundef nonnull align 8 dereferenceable(17) %30)
          to label %106 unwind label %118

106:                                              ; preds = %104
  br i1 %105, label %107, label %111

107:                                              ; preds = %106
  %108 = load ptr, ptr %14, align 8, !tbaa !5
  %109 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3gtERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %29, ptr noundef nonnull align 8 dereferenceable(17) %108)
          to label %110 unwind label %118

110:                                              ; preds = %107
  br label %111

111:                                              ; preds = %110, %106
  %112 = phi i1 [ false, %106 ], [ %109, %110 ]
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %30) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #8
  br i1 %112, label %113, label %123

113:                                              ; preds = %111
  store i32 4, ptr %28, align 4
  br label %165

114:                                              ; preds = %102
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %22, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %23, align 4
  br label %122

118:                                              ; preds = %107, %104
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %22, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %23, align 4
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %30) #8
  br label %122

122:                                              ; preds = %118, %114
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #8
  br label %171

123:                                              ; preds = %111
  %124 = load ptr, ptr %15, align 8, !tbaa !5
  %125 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_35Point8hasFixedERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %124)
          to label %126 unwind label %98

126:                                              ; preds = %123
  br i1 %125, label %128, label %127

127:                                              ; preds = %126
  store i32 4, ptr %28, align 4
  br label %165

128:                                              ; preds = %126
  %129 = call noundef zeroext i1 @_ZSteqIN9NOMAD_4_34EvalEEbDnRKSt10shared_ptrIT_E(ptr null, ptr noundef nonnull align 8 dereferenceable(16) %20) #8
  br i1 %129, label %130, label %140

130:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #8
  %131 = load ptr, ptr %27, align 8, !tbaa !5
  invoke void @_ZSt11make_sharedIN9NOMAD_4_34EvalEJRKS1_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES6_E4typeEEDpOT0_(ptr dead_on_unwind writable sret(%"class.std::shared_ptr.56") align 8 %31, ptr noundef nonnull align 8 dereferenceable(105) %131)
          to label %132 unwind label %136

132:                                              ; preds = %130
  %133 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN9NOMAD_4_34EvalEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %31) #8
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_34EvalELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  %134 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %134, ptr noundef nonnull align 8 dereferenceable(160) %26)
          to label %135 unwind label %98

135:                                              ; preds = %132
  br label %164

136:                                              ; preds = %130
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %22, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  br label %171

140:                                              ; preds = %128
  %141 = load ptr, ptr %27, align 8, !tbaa !5
  %142 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_34EvalELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %20) #8
  %143 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_34EvaleqERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %141, ptr noundef nonnull align 8 dereferenceable(105) %142)
          to label %144 unwind label %98

144:                                              ; preds = %140
  br i1 %143, label %145, label %148

145:                                              ; preds = %144
  %146 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %146, ptr noundef nonnull align 8 dereferenceable(160) %26)
          to label %147 unwind label %98

147:                                              ; preds = %145
  br label %163

148:                                              ; preds = %144
  %149 = load ptr, ptr %27, align 8, !tbaa !5
  %150 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_34EvalELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %20) #8
  %151 = load i32, ptr %17, align 4, !tbaa !13
  %152 = invoke noundef zeroext i1 @_ZNKSt8functionIFbRKN9NOMAD_4_34EvalES3_NS0_11ComputeTypeEEEclES3_S3_S4_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(105) %149, ptr noundef nonnull align 8 dereferenceable(105) %150, i32 noundef %151)
          to label %153 unwind label %98

153:                                              ; preds = %148
  br i1 %152, label %154, label %162

154:                                              ; preds = %153
  %155 = load ptr, ptr %27, align 8, !tbaa !5
  %156 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_34EvalELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %20) #8
  %157 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN9NOMAD_4_34EvalaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %156, ptr noundef nonnull align 8 dereferenceable(105) %155)
          to label %158 unwind label %98

158:                                              ; preds = %154
  %159 = load ptr, ptr %12, align 8, !tbaa !5
  call void @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %159) #8
  %160 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %160, ptr noundef nonnull align 8 dereferenceable(160) %26)
          to label %161 unwind label %98

161:                                              ; preds = %158
  br label %162

162:                                              ; preds = %161, %153
  br label %163

163:                                              ; preds = %162, %147
  br label %164

164:                                              ; preds = %163, %135
  store i32 0, ptr %28, align 4
  br label %165

165:                                              ; preds = %164, %127, %113, %93
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %29) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #8
  br label %166

166:                                              ; preds = %165, %86, %67
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %26) #8
  call void @llvm.lifetime.end.p0(i64 160, ptr %26) #8
  %167 = load i32, ptr %28, align 4
  switch i32 %167, label %184 [
    i32 0, label %168
    i32 4, label %169
  ]

168:                                              ; preds = %166
  br label %169

169:                                              ; preds = %168, %166
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  br label %49, !llvm.loop !18

171:                                              ; preds = %136, %122, %98
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %29) #8
  br label %172

172:                                              ; preds = %171, %94
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #8
  br label %173

173:                                              ; preds = %172, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %26) #8
  br label %174

174:                                              ; preds = %173, %68
  call void @llvm.lifetime.end.p0(i64 160, ptr %26) #8
  br label %178

175:                                              ; preds = %49
  %176 = load ptr, ptr %12, align 8, !tbaa !5
  %177 = call noundef i64 @_ZNKSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %176) #8
  store i32 1, ptr %28, align 4
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_34EvalELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  ret i64 %177

178:                                              ; preds = %174, %41
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_34EvalELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %179

179:                                              ; preds = %178
  %180 = load ptr, ptr %22, align 8
  %181 = load i32, ptr %23, align 4
  %182 = insertvalue { ptr, i32 } poison, ptr %180, 0
  %183 = insertvalue { ptr, i32 } %182, i32 %181, 1
  resume { ptr, i32 } %183

184:                                              ; preds = %166
  unreachable
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN9NOMAD_4_34EvalEJRKS1_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES6_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.56") align 8, ptr noundef nonnull align 8 dereferenceable(105)) #6

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

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

declare noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) #4

declare void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8, ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NOMAD_4_3ltERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(17)) #6

declare void @_ZN9NOMAD_4_36DoubleC1ERKd(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NOMAD_4_3gtERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(17)) #6

declare noundef zeroext i1 @_ZNK9NOMAD_4_35Point8hasFixedERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #4

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

declare noundef zeroext i1 @_ZNK9NOMAD_4_34EvaleqERKS0_(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(105)) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(105) ptr @_ZN9NOMAD_4_34EvalaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(105)) #6 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "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 = { 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 #6 = { 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 #7 = { 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 #8 = { 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 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN9NOMAD_4_38EvalTypeE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN9NOMAD_4_311ComputeTypeE", !7, i64 0}
!15 = !{i64 0, i64 8, !5}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = distinct !{!18, !19}
!19 = !{!"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"

%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.std::shared_ptr.56" = type { %"class.std::__shared_ptr.57" }
%"class.std::__shared_ptr.57" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.NOMAD_4_3::EvalPoint" = type { %"class.NOMAD_4_3::Point", [3 x %"class.std::unique_ptr.29"], i32, i32, i16, %"class.std::shared_ptr.37", %"class.std::vector.40", %"class.std::shared_ptr.45", %"class.NOMAD_4_3::Double", %"class.std::shared_ptr.48" }
%"class.NOMAD_4_3::Point" = type { %"class.NOMAD_4_3::ArrayOfDouble" }
%"class.NOMAD_4_3::ArrayOfDouble" = type { ptr, i64, ptr }
%"class.std::unique_ptr.29" = type { %"struct.std::__uniq_ptr_data.30" }
%"struct.std::__uniq_ptr_data.30" = type { %"class.std::__uniq_ptr_impl.31" }
%"class.std::__uniq_ptr_impl.31" = type { %"class.std::tuple.32" }
%"class.std::tuple.32" = type { %"struct.std::_Tuple_impl.33" }
%"struct.std::_Tuple_impl.33" = type { %"struct.std::_Head_base.36" }
%"struct.std::_Head_base.36" = type { ptr }
%"class.std::shared_ptr.37" = type { %"class.std::__shared_ptr.38" }
%"class.std::__shared_ptr.38" = type { ptr, %"class.std::__shared_count" }
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<NOMAD_4_3::StepType, std::allocator<NOMAD_4_3::StepType>>::_Vector_impl" }
%"struct.std::_Vector_base<NOMAD_4_3::StepType, std::allocator<NOMAD_4_3::StepType>>::_Vector_impl" = type { %"struct.std::_Vector_base<NOMAD_4_3::StepType, std::allocator<NOMAD_4_3::StepType>>::_Vector_impl_data" }
%"struct.std::_Vector_base<NOMAD_4_3::StepType, std::allocator<NOMAD_4_3::StepType>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::shared_ptr.45" = type { %"class.std::__shared_ptr.46" }
%"class.std::__shared_ptr.46" = type { ptr, %"class.std::__shared_count" }
%"class.NOMAD_4_3::Double" = type <{ ptr, double, i8, [7 x i8] }>
%"class.std::shared_ptr.48" = type { %"class.std::__shared_ptr.49" }
%"class.std::__shared_ptr.49" = type { ptr, %"class.std::__shared_count" }

@_ZN9NOMAD_4_3L3INFE = external hidden constant double, align 8

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nounwind
declare void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17)) unnamed_addr #1

; Function Attrs: nounwind
declare void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #1

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

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

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

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

declare noundef ptr @_ZNK9NOMAD_4_39EvalPoint7getEvalENS_8EvalTypeE(ptr noundef nonnull align 8 dereferenceable(160), i32 noundef) local_unnamed_addr #3

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNKSt8functionIFbRKN9NOMAD_4_34EvalES3_NS0_11ComputeTypeEEEclES3_S3_S4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) local_unnamed_addr #4 align 2

declare void @_ZN9NOMAD_4_39EvalPointC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(160), ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZNK9NOMAD_4_38CacheSet8findBestESt8functionIFbRKNS_4EvalES4_NS_11ComputeTypeEEERSt6vectorINS_9EvalPointESaIS9_EEbRKNS_6DoubleERKNS_5PointENS_8EvalTypeES5_PS3_(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i1 noundef zeroext %3, ptr noundef nonnull align 8 dereferenceable(17) %4, ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef %6, i32 noundef %7, ptr noundef %8) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %10 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %11 = alloca %"class.std::shared_ptr.56", align 8
  %12 = alloca %"class.std::shared_ptr.56", align 8
  %13 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %14 = alloca %"class.NOMAD_4_3::EvalPoint", align 8
  %15 = alloca %"class.NOMAD_4_3::Double", align 8
  %16 = alloca %"class.NOMAD_4_3::Double", align 8
  %17 = alloca %"class.std::shared_ptr.56", align 8
  tail call void @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  call void @_ZNSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #7
  call void @_ZNSt10shared_ptrIN9NOMAD_4_34EvalEEC2EDn(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr null) #7
  %.not = icmp eq ptr %8, null
  br i1 %.not, label %23, label %18

18:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  invoke void @_ZSt11make_sharedIN9NOMAD_4_34EvalEJRKS1_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES6_E4typeEEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.56") align 8 %12, ptr noundef nonnull align 8 dereferenceable(105) %8)
          to label %19 unwind label %21

19:                                               ; preds = %18
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN9NOMAD_4_34EvalEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_34EvalELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  br label %23

21:                                               ; preds = %18
  %22 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  br label %94

23:                                               ; preds = %19, %9
  %24 = getelementptr inbounds i8, ptr %0, i64 80
  %25 = call ptr @_ZNKSt3setIN9NOMAD_4_39EvalPointENS0_16EvalPointCompareESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %24) #7
  store ptr %25, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %26 = call ptr @_ZNKSt3setIN9NOMAD_4_39EvalPointENS0_16EvalPointCompareESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %24) #7
  store ptr %26, ptr %13, align 8
  %27 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br i1 %27, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %23, %85
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %14) #7
  %28 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNKSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  invoke void @_ZN9NOMAD_4_39EvalPointC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(160) %14, ptr noundef nonnull align 8 dereferenceable(160) %28)
          to label %29 unwind label %35

29:                                               ; preds = %.lr.ph
  %30 = invoke noundef ptr @_ZNK9NOMAD_4_39EvalPoint7getEvalENS_8EvalTypeE(ptr noundef nonnull align 8 dereferenceable(160) %14, i32 noundef %6)
          to label %31 unwind label %37

31:                                               ; preds = %29
  %32 = icmp eq ptr %30, null
  br i1 %32, label %85, label %33

33:                                               ; preds = %31
  %34 = call noundef i32 @_ZNK9NOMAD_4_34Eval13getEvalStatusEv(ptr noundef nonnull align 8 dereferenceable(105) %30)
  %.not34 = icmp eq i32 %34, 4
  br i1 %.not34, label %39, label %85

35:                                               ; preds = %.lr.ph
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %92

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

39:                                               ; preds = %33
  %40 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %30, i32 noundef %7)
          to label %41 unwind label %37

41:                                               ; preds = %39
  %42 = xor i1 %40, %3
  br i1 %42, label %85, label %43

43:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #7
  invoke void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind nonnull writable sret(%"class.NOMAD_4_3::Double") align 8 %15, ptr noundef nonnull align 8 dereferenceable(105) %30, i32 noundef %7)
          to label %44 unwind label %46

44:                                               ; preds = %43
  %45 = call noundef zeroext i1 @_ZNK9NOMAD_4_36Double9isDefinedEv(ptr noundef nonnull align 8 dereferenceable(17) %15)
  br i1 %45, label %50, label %84

46:                                               ; preds = %43
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %90

48:                                               ; preds = %.invoke, %80, %76, %72, %62
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %89

50:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #7
  invoke void @_ZN9NOMAD_4_36DoubleC1ERKd(ptr noundef nonnull align 8 dereferenceable(17) %16, ptr noundef nonnull align 8 dereferenceable(8) @_ZN9NOMAD_4_3L3INFE)
          to label %51 unwind label %57

51:                                               ; preds = %50
  %52 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3ltERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %4, ptr noundef nonnull align 8 dereferenceable(17) %16)
          to label %53 unwind label %59

53:                                               ; preds = %51
  br i1 %52, label %54, label %.critedge

54:                                               ; preds = %53
  %55 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3gtERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %15, ptr noundef nonnull align 8 dereferenceable(17) %4)
          to label %56 unwind label %59

56:                                               ; preds = %54
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  br i1 %55, label %84, label %62

57:                                               ; preds = %50
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %61

59:                                               ; preds = %54, %51
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %16) #7
  br label %61

61:                                               ; preds = %59, %57
  %.pn = phi { ptr, i32 } [ %60, %59 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  br label %89

.critedge:                                        ; preds = %53
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  br label %62

62:                                               ; preds = %.critedge, %56
  %63 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_35Point8hasFixedERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %64 unwind label %48

64:                                               ; preds = %62
  br i1 %63, label %65, label %84

65:                                               ; preds = %64
  %66 = call noundef zeroext i1 @_ZSteqIN9NOMAD_4_34EvalEEbDnRKSt10shared_ptrIT_E(ptr null, ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  br i1 %66, label %67, label %72

67:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #7
  invoke void @_ZSt11make_sharedIN9NOMAD_4_34EvalEJRKS1_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES6_E4typeEEDpOT0_(ptr dead_on_unwind nonnull writable sret(%"class.std::shared_ptr.56") align 8 %17, ptr noundef nonnull align 8 dereferenceable(105) %30)
          to label %68 unwind label %70

68:                                               ; preds = %67
  %69 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN9NOMAD_4_34EvalEEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_34EvalELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #7
  br label %.invoke

70:                                               ; preds = %67
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #7
  br label %89

72:                                               ; preds = %65
  %73 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_34EvalELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  %74 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_34EvaleqERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %30, ptr noundef nonnull align 8 dereferenceable(105) %73)
          to label %75 unwind label %48

75:                                               ; preds = %72
  br i1 %74, label %.invoke, label %76

76:                                               ; preds = %75
  %77 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_34EvalELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  %78 = invoke noundef zeroext i1 @_ZNKSt8functionIFbRKN9NOMAD_4_34EvalES3_NS0_11ComputeTypeEEEclES3_S3_S4_(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(105) %30, ptr noundef nonnull align 8 dereferenceable(105) %77, i32 noundef %7)
          to label %79 unwind label %48

79:                                               ; preds = %76
  br i1 %78, label %80, label %84

80:                                               ; preds = %79
  %81 = call noundef nonnull align 8 dereferenceable(105) ptr @_ZNKSt19__shared_ptr_accessIN9NOMAD_4_34EvalELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEdeEv(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  %82 = invoke noundef nonnull align 8 dereferenceable(105) ptr @_ZN9NOMAD_4_34EvalaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105) %81, ptr noundef nonnull align 8 dereferenceable(105) %30)
          to label %83 unwind label %48

83:                                               ; preds = %80
  call void @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  br label %.invoke

.invoke:                                          ; preds = %75, %68, %83
  invoke void @_ZNSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(160) %14)
          to label %84 unwind label %48

84:                                               ; preds = %.invoke, %79, %64, %56, %44
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  br label %85

85:                                               ; preds = %41, %31, %33, %84
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %14) #7
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %14) #7
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %87 = call ptr @_ZNKSt3setIN9NOMAD_4_39EvalPointENS0_16EvalPointCompareESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %24) #7
  store ptr %87, ptr %13, align 8
  %88 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorIN9NOMAD_4_39EvalPointEES4_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br i1 %88, label %.lr.ph, label %._crit_edge, !llvm.loop !9

89:                                               ; preds = %70, %61, %48
  %.pn37 = phi { ptr, i32 } [ %49, %48 ], [ %71, %70 ], [ %.pn, %61 ]
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %15) #7
  br label %90

90:                                               ; preds = %89, %46
  %.pn37.pn = phi { ptr, i32 } [ %.pn37, %89 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  br label %91

91:                                               ; preds = %90, %37
  %.pn37.pn.pn = phi { ptr, i32 } [ %.pn37.pn, %90 ], [ %38, %37 ]
  call void @_ZN9NOMAD_4_39EvalPointD1Ev(ptr noundef nonnull align 8 dereferenceable(160) %14) #7
  br label %92

92:                                               ; preds = %91, %35
  %.pn37.pn.pn.pn = phi { ptr, i32 } [ %.pn37.pn.pn, %91 ], [ %36, %35 ]
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %14) #7
  br label %94

._crit_edge:                                      ; preds = %85, %23
  %93 = call noundef i64 @_ZNKSt6vectorIN9NOMAD_4_39EvalPointESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #7
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_34EvalELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  ret i64 %93

94:                                               ; preds = %92, %21
  %.pn37.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn37.pn.pn.pn, %92 ], [ %22, %21 ]
  call void @_ZNSt12__shared_ptrIN9NOMAD_4_34EvalELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  resume { ptr, i32 } %.pn37.pn.pn.pn.pn
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt11make_sharedIN9NOMAD_4_34EvalEJRKS1_EESt10shared_ptrINSt9enable_ifIXntsr8is_arrayIT_EE5valueES6_E4typeEEDpOT0_(ptr dead_on_unwind noalias writable sret(%"class.std::shared_ptr.56") align 8, ptr noundef nonnull align 8 dereferenceable(105)) local_unnamed_addr #5

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

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

declare noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) local_unnamed_addr #3

declare void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8, ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NOMAD_4_3ltERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #5

declare void @_ZN9NOMAD_4_36DoubleC1ERKd(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN9NOMAD_4_3gtERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #5

declare noundef zeroext i1 @_ZNK9NOMAD_4_35Point8hasFixedERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

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

declare noundef zeroext i1 @_ZNK9NOMAD_4_34EvaleqERKS0_(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(105)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(105) ptr @_ZN9NOMAD_4_34EvalaSERKS0_(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(105)) local_unnamed_addr #5 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind "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 = { "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 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 = { 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 #6 = { 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 #7 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


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