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

; 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.NOMAD_4_3::Double" = type <{ ptr, double, i8, [7 x i8] }>

@_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: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind noalias writable sret(%"class.NOMAD_4_3::Double") align 8, ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) #1 align 2

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9NOMAD_4_36Double8todoubleEv(ptr noundef nonnull align 8 dereferenceable(17)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9NOMAD_4_34Eval4getFENS_11ComputeTypeE(ptr dead_on_unwind noalias writable sret(%"class.NOMAD_4_3::Double") align 8, ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) #1 align 2

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)) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK9NOMAD_4_34Eval9dominatesERKS0_NS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) #1 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)) #5

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN9NOMAD_4_34Eval18computeSuccessTypeEPKS0_S2_NS_11ComputeTypeERKNS_6DoubleE(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(17) %3) #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.NOMAD_4_3::Double", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.NOMAD_4_3::Double", align 8
  %14 = alloca i1, align 1
  %15 = alloca i1, align 1
  %16 = alloca %"class.NOMAD_4_3::Double", align 8
  %17 = alloca %"class.NOMAD_4_3::Double", align 8
  %18 = alloca i1, align 1
  %19 = alloca i1, align 1
  %20 = alloca %"class.NOMAD_4_3::Double", align 8
  %21 = alloca i1, align 1
  %22 = alloca i1, align 1
  %23 = alloca %"class.NOMAD_4_3::Double", align 8
  %24 = alloca i1, align 1
  %25 = alloca i1, align 1
  %26 = alloca %"class.NOMAD_4_3::Double", align 8
  %27 = alloca i1, align 1
  %28 = alloca i1, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !11
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = icmp ne ptr null, %29
  br i1 %30, label %31, label %232

31:                                               ; preds = %4
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = icmp eq ptr null, %32
  br i1 %33, label %34, label %84

34:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #6
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = load i32, ptr %7, align 4, !tbaa !9
  call void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8 %10, ptr noundef nonnull align 8 dereferenceable(105) %35, i32 noundef %36)
  store i1 false, ptr %14, align 1
  store i1 false, ptr %15, align 1
  %37 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_36Double9isDefinedEv(ptr noundef nonnull align 8 dereferenceable(17) %10)
          to label %38 unwind label %56

38:                                               ; preds = %34
  br i1 %37, label %39, label %47

39:                                               ; preds = %38
  %40 = load ptr, ptr %8, align 8, !tbaa !5
  %41 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3gtERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %10, ptr noundef nonnull align 8 dereferenceable(17) %40)
          to label %42 unwind label %56

42:                                               ; preds = %39
  br i1 %41, label %47, label %43

43:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #6
  store i1 true, ptr %14, align 1
  invoke void @_ZN9NOMAD_4_36DoubleC1ERKd(ptr noundef nonnull align 8 dereferenceable(17) %13, ptr noundef nonnull align 8 dereferenceable(8) @_ZN9NOMAD_4_3L3INFE)
          to label %44 unwind label %60

44:                                               ; preds = %43
  store i1 true, ptr %15, align 1
  %45 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3eqERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %10, ptr noundef nonnull align 8 dereferenceable(17) %13)
          to label %46 unwind label %64

46:                                               ; preds = %44
  br label %47

47:                                               ; preds = %46, %42, %38
  %48 = phi i1 [ true, %42 ], [ true, %38 ], [ %45, %46 ]
  %49 = load i1, ptr %15, align 1
  br i1 %49, label %50, label %51

50:                                               ; preds = %47
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %13) #6
  br label %51

51:                                               ; preds = %50, %47
  %52 = load i1, ptr %14, align 1
  br i1 %52, label %53, label %54

53:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #6
  br label %54

54:                                               ; preds = %53, %51
  br i1 %48, label %55, label %75

55:                                               ; preds = %54
  store i32 2, ptr %9, align 4, !tbaa !11
  br label %82

56:                                               ; preds = %75, %39, %34
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %11, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %12, align 4
  br label %83

60:                                               ; preds = %43
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %11, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %12, align 4
  br label %71

64:                                               ; preds = %44
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %11, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %12, align 4
  %68 = load i1, ptr %15, align 1
  br i1 %68, label %69, label %70

69:                                               ; preds = %64
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %13) #6
  br label %70

70:                                               ; preds = %69, %64
  br label %71

71:                                               ; preds = %70, %60
  %72 = load i1, ptr %14, align 1
  br i1 %72, label %73, label %74

73:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #6
  br label %74

74:                                               ; preds = %73, %71
  br label %83

75:                                               ; preds = %54
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  %77 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %76, i32 noundef 0)
          to label %78 unwind label %56

78:                                               ; preds = %75
  br i1 %77, label %79, label %80

79:                                               ; preds = %78
  store i32 4, ptr %9, align 4, !tbaa !11
  br label %81

80:                                               ; preds = %78
  store i32 3, ptr %9, align 4, !tbaa !11
  br label %81

81:                                               ; preds = %80, %79
  br label %82

82:                                               ; preds = %81, %55
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  br label %231

83:                                               ; preds = %74, %56
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  br label %234

84:                                               ; preds = %31
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = load i32, ptr %7, align 4, !tbaa !9
  %88 = call noundef zeroext i1 @_ZNK9NOMAD_4_34Eval9dominatesERKS0_NS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %85, ptr noundef nonnull align 8 dereferenceable(105) %86, i32 noundef %87)
  br i1 %88, label %89, label %90

89:                                               ; preds = %84
  store i32 4, ptr %9, align 4, !tbaa !11
  br label %230

90:                                               ; preds = %84
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = load i32, ptr %7, align 4, !tbaa !9
  %93 = call noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %91, i32 noundef %92)
  br i1 %93, label %94, label %99

94:                                               ; preds = %90
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = load i32, ptr %7, align 4, !tbaa !9
  %97 = call noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %95, i32 noundef %96)
  br i1 %97, label %98, label %99

98:                                               ; preds = %94
  store i32 2, ptr %9, align 4, !tbaa !11
  br label %229

99:                                               ; preds = %94, %90
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = load i32, ptr %7, align 4, !tbaa !9
  %102 = call noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %100, i32 noundef %101)
  br i1 %102, label %228, label %103

103:                                              ; preds = %99
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = load i32, ptr %7, align 4, !tbaa !9
  %106 = call noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %104, i32 noundef %105)
  br i1 %106, label %228, label %107

107:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #6
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = load i32, ptr %7, align 4, !tbaa !9
  call void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8 %16, ptr noundef nonnull align 8 dereferenceable(105) %108, i32 noundef %109)
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  store i1 false, ptr %18, align 1
  store i1 false, ptr %19, align 1
  store i1 false, ptr %21, align 1
  store i1 false, ptr %22, align 1
  store i1 false, ptr %24, align 1
  store i1 false, ptr %25, align 1
  store i1 false, ptr %27, align 1
  store i1 false, ptr %28, align 1
  %111 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3leERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %16, ptr noundef nonnull align 8 dereferenceable(17) %110)
          to label %112 unwind label %163

112:                                              ; preds = %107
  br i1 %111, label %113, label %136

113:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #6
  store i1 true, ptr %18, align 1
  %114 = load ptr, ptr %5, align 8, !tbaa !5
  %115 = load i32, ptr %7, align 4, !tbaa !9
  invoke void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8 %17, ptr noundef nonnull align 8 dereferenceable(105) %114, i32 noundef %115)
          to label %116 unwind label %167

116:                                              ; preds = %113
  store i1 true, ptr %19, align 1
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #6
  store i1 true, ptr %21, align 1
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = load i32, ptr %7, align 4, !tbaa !9
  invoke void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8 %20, ptr noundef nonnull align 8 dereferenceable(105) %117, i32 noundef %118)
          to label %119 unwind label %171

119:                                              ; preds = %116
  store i1 true, ptr %22, align 1
  %120 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3ltERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %17, ptr noundef nonnull align 8 dereferenceable(17) %20)
          to label %121 unwind label %175

121:                                              ; preds = %119
  br i1 %120, label %122, label %136

122:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #6
  store i1 true, ptr %24, align 1
  %123 = load ptr, ptr %5, align 8, !tbaa !5
  %124 = load i32, ptr %7, align 4, !tbaa !9
  invoke void @_ZNK9NOMAD_4_34Eval4getFENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8 %23, ptr noundef nonnull align 8 dereferenceable(105) %123, i32 noundef %124)
          to label %125 unwind label %179

125:                                              ; preds = %122
  store i1 true, ptr %25, align 1
  %126 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9NOMAD_4_36Double8todoubleEv(ptr noundef nonnull align 8 dereferenceable(17) %23)
          to label %127 unwind label %183

127:                                              ; preds = %125
  %128 = load double, ptr %126, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #6
  store i1 true, ptr %27, align 1
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = load i32, ptr %7, align 4, !tbaa !9
  invoke void @_ZNK9NOMAD_4_34Eval4getFENS_11ComputeTypeE(ptr dead_on_unwind writable sret(%"class.NOMAD_4_3::Double") align 8 %26, ptr noundef nonnull align 8 dereferenceable(105) %129, i32 noundef %130)
          to label %131 unwind label %187

131:                                              ; preds = %127
  store i1 true, ptr %28, align 1
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9NOMAD_4_36Double8todoubleEv(ptr noundef nonnull align 8 dereferenceable(17) %26)
          to label %133 unwind label %191

133:                                              ; preds = %131
  %134 = load double, ptr %132, align 8, !tbaa !13
  %135 = fcmp ogt double %128, %134
  br label %136

136:                                              ; preds = %133, %121, %112
  %137 = phi i1 [ false, %121 ], [ false, %112 ], [ %135, %133 ]
  %138 = load i1, ptr %28, align 1
  br i1 %138, label %139, label %140

139:                                              ; preds = %136
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %26) #6
  br label %140

140:                                              ; preds = %139, %136
  %141 = load i1, ptr %27, align 1
  br i1 %141, label %142, label %143

142:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #6
  br label %143

143:                                              ; preds = %142, %140
  %144 = load i1, ptr %25, align 1
  br i1 %144, label %145, label %146

145:                                              ; preds = %143
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %23) #6
  br label %146

146:                                              ; preds = %145, %143
  %147 = load i1, ptr %24, align 1
  br i1 %147, label %148, label %149

148:                                              ; preds = %146
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #6
  br label %149

149:                                              ; preds = %148, %146
  %150 = load i1, ptr %22, align 1
  br i1 %150, label %151, label %152

151:                                              ; preds = %149
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %20) #6
  br label %152

152:                                              ; preds = %151, %149
  %153 = load i1, ptr %21, align 1
  br i1 %153, label %154, label %155

154:                                              ; preds = %152
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  br label %155

155:                                              ; preds = %154, %152
  %156 = load i1, ptr %19, align 1
  br i1 %156, label %157, label %158

157:                                              ; preds = %155
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %17) #6
  br label %158

158:                                              ; preds = %157, %155
  %159 = load i1, ptr %18, align 1
  br i1 %159, label %160, label %161

160:                                              ; preds = %158
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  br label %161

161:                                              ; preds = %160, %158
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  br i1 %137, label %162, label %226

162:                                              ; preds = %161
  store i32 3, ptr %9, align 4, !tbaa !11
  br label %227

163:                                              ; preds = %107
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %11, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %12, align 4
  br label %225

167:                                              ; preds = %113
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %11, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %12, align 4
  br label %221

171:                                              ; preds = %116
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %11, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %12, align 4
  br label %214

175:                                              ; preds = %119
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %11, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %12, align 4
  br label %210

179:                                              ; preds = %122
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %11, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %12, align 4
  br label %206

183:                                              ; preds = %125
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %11, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %12, align 4
  br label %202

187:                                              ; preds = %127
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %11, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %12, align 4
  br label %198

191:                                              ; preds = %131
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %11, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %12, align 4
  %195 = load i1, ptr %28, align 1
  br i1 %195, label %196, label %197

196:                                              ; preds = %191
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %26) #6
  br label %197

197:                                              ; preds = %196, %191
  br label %198

198:                                              ; preds = %197, %187
  %199 = load i1, ptr %27, align 1
  br i1 %199, label %200, label %201

200:                                              ; preds = %198
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #6
  br label %201

201:                                              ; preds = %200, %198
  br label %202

202:                                              ; preds = %201, %183
  %203 = load i1, ptr %25, align 1
  br i1 %203, label %204, label %205

204:                                              ; preds = %202
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %23) #6
  br label %205

205:                                              ; preds = %204, %202
  br label %206

206:                                              ; preds = %205, %179
  %207 = load i1, ptr %24, align 1
  br i1 %207, label %208, label %209

208:                                              ; preds = %206
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #6
  br label %209

209:                                              ; preds = %208, %206
  br label %210

210:                                              ; preds = %209, %175
  %211 = load i1, ptr %22, align 1
  br i1 %211, label %212, label %213

212:                                              ; preds = %210
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %20) #6
  br label %213

213:                                              ; preds = %212, %210
  br label %214

214:                                              ; preds = %213, %171
  %215 = load i1, ptr %21, align 1
  br i1 %215, label %216, label %217

216:                                              ; preds = %214
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  br label %217

217:                                              ; preds = %216, %214
  %218 = load i1, ptr %19, align 1
  br i1 %218, label %219, label %220

219:                                              ; preds = %217
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %17) #6
  br label %220

220:                                              ; preds = %219, %217
  br label %221

221:                                              ; preds = %220, %167
  %222 = load i1, ptr %18, align 1
  br i1 %222, label %223, label %224

223:                                              ; preds = %221
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  br label %224

224:                                              ; preds = %223, %221
  br label %225

225:                                              ; preds = %224, %163
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  br label %234

226:                                              ; preds = %161
  store i32 2, ptr %9, align 4, !tbaa !11
  br label %227

227:                                              ; preds = %226, %162
  br label %228

228:                                              ; preds = %227, %103, %99
  br label %229

229:                                              ; preds = %228, %98
  br label %230

230:                                              ; preds = %229, %89
  br label %231

231:                                              ; preds = %230, %82
  br label %232

232:                                              ; preds = %231, %4
  %233 = load i32, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  ret i32 %233

234:                                              ; preds = %225, %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %235

235:                                              ; preds = %234
  %236 = load ptr, ptr %11, align 8
  %237 = load i32, ptr %12, align 4
  %238 = insertvalue { ptr, i32 } poison, ptr %236, 0
  %239 = insertvalue { ptr, i32 } %238, i32 %237, 1
  resume { ptr, i32 } %239
}

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

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 = { "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 = { 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 #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 = { 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 = !{!"_ZTSN9NOMAD_4_311ComputeTypeE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN9NOMAD_4_311SuccessTypeE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.NOMAD_4_3::Double" = type <{ ptr, double, i8, [7 x i8] }>

@_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: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind noalias writable sret(%"class.NOMAD_4_3::Double") align 8, ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) local_unnamed_addr #1 align 2

; 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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9NOMAD_4_36Double8todoubleEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK9NOMAD_4_34Eval4getFENS_11ComputeTypeE(ptr dead_on_unwind noalias writable sret(%"class.NOMAD_4_3::Double") align 8, ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK9NOMAD_4_34Eval9dominatesERKS0_NS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105), ptr noundef nonnull align 8 dereferenceable(105), i32 noundef) local_unnamed_addr #1 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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 5) i32 @_ZN9NOMAD_4_34Eval18computeSuccessTypeEPKS0_S2_NS_11ComputeTypeERKNS_6DoubleE(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(17) %3) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.NOMAD_4_3::Double", align 8
  %6 = alloca %"class.NOMAD_4_3::Double", align 8
  %7 = alloca %"class.NOMAD_4_3::Double", align 8
  %8 = alloca %"class.NOMAD_4_3::Double", align 8
  %9 = alloca %"class.NOMAD_4_3::Double", align 8
  %10 = alloca %"class.NOMAD_4_3::Double", align 8
  %11 = alloca %"class.NOMAD_4_3::Double", align 8
  %.not = icmp eq ptr %0, null
  br i1 %.not, label %85, label %12

12:                                               ; preds = %4
  %13 = icmp eq ptr %1, null
  br i1 %13, label %14, label %33

14:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  call void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind nonnull writable sret(%"class.NOMAD_4_3::Double") align 8 %5, ptr noundef nonnull align 8 dereferenceable(105) %0, i32 noundef %2)
  %15 = call noundef zeroext i1 @_ZNK9NOMAD_4_36Double9isDefinedEv(ptr noundef nonnull align 8 dereferenceable(17) %5)
  br i1 %15, label %16, label %.critedge.thread

16:                                               ; preds = %14
  %17 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3gtERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %5, ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %18 unwind label %22

18:                                               ; preds = %16
  br i1 %17, label %.critedge.thread, label %19

19:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  invoke void @_ZN9NOMAD_4_36DoubleC1ERKd(ptr noundef nonnull align 8 dereferenceable(17) %6, ptr noundef nonnull align 8 dereferenceable(8) @_ZN9NOMAD_4_3L3INFE)
          to label %20 unwind label %24

20:                                               ; preds = %19
  %21 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3eqERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %5, ptr noundef nonnull align 8 dereferenceable(17) %6)
          to label %.critedge unwind label %26

.critedge:                                        ; preds = %20
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  br i1 %21, label %.critedge.thread, label %29

22:                                               ; preds = %29, %16
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %32

24:                                               ; preds = %19
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %28

26:                                               ; preds = %20
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %6) #6
  br label %28

28:                                               ; preds = %24, %26
  %.pn81 = phi { ptr, i32 } [ %27, %26 ], [ %25, %24 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  br label %32

29:                                               ; preds = %.critedge
  %30 = invoke noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %0, i32 noundef 0)
          to label %31 unwind label %22

31:                                               ; preds = %29
  %. = select i1 %30, i32 4, i32 3
  br label %.critedge.thread

.critedge.thread:                                 ; preds = %18, %14, %31, %.critedge
  %.070 = phi i32 [ 2, %.critedge ], [ %., %31 ], [ 2, %14 ], [ 2, %18 ]
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  br label %85

32:                                               ; preds = %28, %22
  %.pn83 = phi { ptr, i32 } [ %23, %22 ], [ %.pn81, %28 ]
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  br label %86

33:                                               ; preds = %12
  %34 = tail call noundef zeroext i1 @_ZNK9NOMAD_4_34Eval9dominatesERKS0_NS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %0, ptr noundef nonnull align 8 dereferenceable(105) %1, i32 noundef %2)
  br i1 %34, label %85, label %35

35:                                               ; preds = %33
  %36 = tail call noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %0, i32 noundef %2)
  br i1 %36, label %37, label %39

37:                                               ; preds = %35
  %38 = tail call noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %1, i32 noundef %2)
  br i1 %38, label %85, label %39

39:                                               ; preds = %37, %35
  %40 = tail call noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %0, i32 noundef %2)
  br i1 %40, label %85, label %41

41:                                               ; preds = %39
  %42 = tail call noundef zeroext i1 @_ZNK9NOMAD_4_34Eval10isFeasibleENS_11ComputeTypeE(ptr noundef nonnull align 8 dereferenceable(105) %1, i32 noundef %2)
  br i1 %42, label %85, label %43

43:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  call void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind nonnull writable sret(%"class.NOMAD_4_3::Double") align 8 %7, ptr noundef nonnull align 8 dereferenceable(105) %0, i32 noundef %2)
  %44 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3leERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %7, ptr noundef nonnull align 8 dereferenceable(17) %3)
          to label %45 unwind label %62

45:                                               ; preds = %43
  br i1 %44, label %46, label %.critedge93.thread

.critedge93.thread:                               ; preds = %45
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  br label %85

46:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  invoke void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind nonnull writable sret(%"class.NOMAD_4_3::Double") align 8 %8, ptr noundef nonnull align 8 dereferenceable(105) %0, i32 noundef %2)
          to label %47 unwind label %64

47:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  invoke void @_ZNK9NOMAD_4_34Eval4getHENS_11ComputeTypeE(ptr dead_on_unwind nonnull writable sret(%"class.NOMAD_4_3::Double") align 8 %9, ptr noundef nonnull align 8 dereferenceable(105) %1, i32 noundef %2)
          to label %48 unwind label %66

48:                                               ; preds = %47
  %49 = invoke noundef zeroext i1 @_ZN9NOMAD_4_3ltERKNS_6DoubleES2_(ptr noundef nonnull align 8 dereferenceable(17) %8, ptr noundef nonnull align 8 dereferenceable(17) %9)
          to label %50 unwind label %68

50:                                               ; preds = %48
  br i1 %49, label %51, label %.critedge93

51:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #6
  invoke void @_ZNK9NOMAD_4_34Eval4getFENS_11ComputeTypeE(ptr dead_on_unwind nonnull writable sret(%"class.NOMAD_4_3::Double") align 8 %10, ptr noundef nonnull align 8 dereferenceable(105) %0, i32 noundef %2)
          to label %52 unwind label %70

52:                                               ; preds = %51
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9NOMAD_4_36Double8todoubleEv(ptr noundef nonnull align 8 dereferenceable(17) %10)
          to label %54 unwind label %72

54:                                               ; preds = %52
  %55 = load double, ptr %53, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  invoke void @_ZNK9NOMAD_4_34Eval4getFENS_11ComputeTypeE(ptr dead_on_unwind nonnull writable sret(%"class.NOMAD_4_3::Double") align 8 %11, ptr noundef nonnull align 8 dereferenceable(105) %1, i32 noundef %2)
          to label %56 unwind label %74

56:                                               ; preds = %54
  %57 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9NOMAD_4_36Double8todoubleEv(ptr noundef nonnull align 8 dereferenceable(17) %11)
          to label %.critedge89.thread unwind label %76

.critedge89.thread:                               ; preds = %56
  %58 = load double, ptr %57, align 8, !tbaa !5
  %59 = fcmp ogt double %55, %58
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  %60 = freeze i1 %59
  %61 = select i1 %60, i32 3, i32 2
  br label %.critedge93

.critedge93:                                      ; preds = %50, %.critedge89.thread
  %cond.fr = phi i32 [ %61, %.critedge89.thread ], [ 2, %50 ]
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  br label %85

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

64:                                               ; preds = %46
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %83

66:                                               ; preds = %47
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %82

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

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

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

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

76:                                               ; preds = %56
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %11) #6
  br label %78

78:                                               ; preds = %74, %76
  %.pn = phi { ptr, i32 } [ %77, %76 ], [ %75, %74 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  br label %79

79:                                               ; preds = %72, %78
  %.pn.pn = phi { ptr, i32 } [ %.pn, %78 ], [ %73, %72 ]
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %10) #6
  br label %80

80:                                               ; preds = %70, %79
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %79 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  br label %81

81:                                               ; preds = %68, %80
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %80 ], [ %69, %68 ]
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %9) #6
  br label %82

82:                                               ; preds = %66, %81
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %81 ], [ %67, %66 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %8) #6
  br label %83

83:                                               ; preds = %64, %82
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %82 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  br label %84

84:                                               ; preds = %83, %62
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %83 ], [ %63, %62 ]
  call void @_ZN9NOMAD_4_36DoubleD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  br label %86

85:                                               ; preds = %.critedge93, %.critedge93.thread, %37, %33, %.critedge.thread, %41, %39, %4
  %.171 = phi i32 [ %.070, %.critedge.thread ], [ 0, %39 ], [ 0, %41 ], [ 0, %4 ], [ 4, %33 ], [ 2, %37 ], [ 2, %.critedge93.thread ], [ %cond.fr, %.critedge93 ]
  ret i32 %.171

86:                                               ; preds = %84, %32
  %.pn83.pn = phi { ptr, i32 } [ %.pn83, %32 ], [ %.pn.pn.pn.pn.pn.pn.pn, %84 ]
  resume { ptr, i32 } %.pn83.pn
}

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

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 = { "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 = { 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 #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 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: CorrelatedValuePropagationPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass