; LLVM IR from libprima/prima :: c/tests (stress)

; 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.prima_options_t = type { double, double, i32, i32, double, i32, double, ptr, ptr }
%struct.prima_problem_t = type { i32, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, ptr, ptr, i32, double, ptr }
%struct.prima_result_t = type { ptr, double, double, ptr, i32, i32, i8, ptr }

@m_ineq = external dso_local global i32, align 4
@debug = external dso_local global i32, align 4
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [71 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_random_seed() #0

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %struct.prima_options_t, align 8
  %10 = alloca [2000 x double], align 16
  %11 = alloca [2000 x double], align 16
  %12 = alloca [2000 x double], align 16
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca [1000 x double], align 16
  %19 = alloca i32, align 4
  %20 = alloca %struct.prima_problem_t, align 8
  %21 = alloca %struct.prima_result_t, align 8
  %22 = alloca i32, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  store ptr @.str.1, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  %23 = load i32, ptr %4, align 4, !tbaa !5
  %24 = icmp sgt i32 %23, 1
  br i1 %24, label %25, label %29

25:                                               ; preds = %2
  %26 = load ptr, ptr %5, align 8, !tbaa !9
  %27 = getelementptr inbounds ptr, ptr %26, i64 1
  %28 = load ptr, ptr %27, align 8, !tbaa !9
  store ptr %28, ptr %6, align 8, !tbaa !9
  br label %29

29:                                               ; preds = %25, %2
  %30 = load ptr, ptr %6, align 8, !tbaa !9
  %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %30)
  %32 = load i32, ptr %4, align 4, !tbaa !5
  %33 = icmp sgt i32 %32, 2
  br i1 %33, label %34, label %41

34:                                               ; preds = %29
  %35 = load ptr, ptr %5, align 8, !tbaa !9
  %36 = getelementptr inbounds ptr, ptr %35, i64 2
  %37 = load ptr, ptr %36, align 8, !tbaa !9
  %38 = call i32 @strcmp(ptr noundef %37, ptr noundef @.str.3) #7
  %39 = icmp eq i32 %38, 0
  %40 = zext i1 %39 to i32
  store i32 %40, ptr @debug, align 4, !tbaa !5
  br label %41

41:                                               ; preds = %34, %29
  %42 = load i32, ptr @debug, align 4, !tbaa !5
  %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %42)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  %44 = call i32 @get_random_seed()
  store i32 %44, ptr %8, align 4, !tbaa !5
  %45 = load i32, ptr %8, align 4, !tbaa !5
  %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %45)
  %47 = load i32, ptr %8, align 4, !tbaa !5
  call void @srand(i32 noundef %47) #6
  call void @llvm.lifetime.start.p0(i64 64, ptr %9) #6
  %48 = call i32 @prima_init_options(ptr noundef %9)
  %49 = getelementptr inbounds %struct.prima_options_t, ptr %9, i32 0, i32 3
  store i32 2, ptr %49, align 4, !tbaa !11
  %50 = getelementptr inbounds %struct.prima_options_t, ptr %9, i32 0, i32 2
  store i32 1000000, ptr %50, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 16000, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 16000, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 16000, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %51

51:                                               ; preds = %68, %41
  %52 = load i32, ptr %13, align 4, !tbaa !5
  %53 = icmp slt i32 %52, 2000
  br i1 %53, label %55, label %54

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

55:                                               ; preds = %51
  %56 = call double @random_gen(double noundef -1.000000e+00, double noundef 1.000000e+00)
  %57 = load i32, ptr %13, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [2000 x double], ptr %10, i64 0, i64 %58
  store double %56, ptr %59, align 8, !tbaa !15
  %60 = call double @random_gen(double noundef -2.000000e+00, double noundef -1.000000e+00)
  %61 = load i32, ptr %13, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [2000 x double], ptr %11, i64 0, i64 %62
  store double %60, ptr %63, align 8, !tbaa !15
  %64 = call double @random_gen(double noundef 1.000000e+00, double noundef 2.000000e+00)
  %65 = load i32, ptr %13, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [2000 x double], ptr %12, i64 0, i64 %66
  store double %64, ptr %67, align 8, !tbaa !15
  br label %68

68:                                               ; preds = %55
  %69 = load i32, ptr %13, align 4, !tbaa !5
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %13, align 4, !tbaa !5
  br label %51, !llvm.loop !16

71:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %72 = call noalias ptr @malloc(i64 noundef 16000000) #8
  store ptr %72, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %73

73:                                               ; preds = %96, %71
  %74 = load i32, ptr %15, align 4, !tbaa !5
  %75 = icmp slt i32 %74, 2000
  br i1 %75, label %77, label %76

76:                                               ; preds = %73
  store i32 5, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %99

77:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %78

78:                                               ; preds = %92, %77
  %79 = load i32, ptr %17, align 4, !tbaa !5
  %80 = load i32, ptr @m_ineq, align 4, !tbaa !5
  %81 = icmp slt i32 %79, %80
  br i1 %81, label %83, label %82

82:                                               ; preds = %78
  store i32 8, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %95

83:                                               ; preds = %78
  %84 = call double @random_gen(double noundef -1.000000e+00, double noundef 1.000000e+00)
  %85 = load ptr, ptr %14, align 8, !tbaa !9
  %86 = load i32, ptr %17, align 4, !tbaa !5
  %87 = mul nsw i32 %86, 2000
  %88 = load i32, ptr %15, align 4, !tbaa !5
  %89 = add nsw i32 %87, %88
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds double, ptr %85, i64 %90
  store double %84, ptr %91, align 8, !tbaa !15
  br label %92

92:                                               ; preds = %83
  %93 = load i32, ptr %17, align 4, !tbaa !5
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %17, align 4, !tbaa !5
  br label %78, !llvm.loop !18

95:                                               ; preds = %82
  br label %96

96:                                               ; preds = %95
  %97 = load i32, ptr %15, align 4, !tbaa !5
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %15, align 4, !tbaa !5
  br label %73, !llvm.loop !19

99:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8000, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !5
  br label %100

100:                                              ; preds = %109, %99
  %101 = load i32, ptr %19, align 4, !tbaa !5
  %102 = icmp slt i32 %101, 1000
  br i1 %102, label %104, label %103

103:                                              ; preds = %100
  store i32 11, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %112

104:                                              ; preds = %100
  %105 = call double @random_gen(double noundef -1.000000e+00, double noundef 1.000000e+00)
  %106 = load i32, ptr %19, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [1000 x double], ptr %18, i64 0, i64 %107
  store double %105, ptr %108, align 8, !tbaa !15
  br label %109

109:                                              ; preds = %104
  %110 = load i32, ptr %19, align 4, !tbaa !5
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %19, align 4, !tbaa !5
  br label %100, !llvm.loop !20

112:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 120, ptr %20) #6
  %113 = call i32 @prima_init_problem(ptr noundef %20, i32 noundef 2000)
  %114 = getelementptr inbounds [2000 x double], ptr %10, i64 0, i64 0
  %115 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 3
  store ptr %114, ptr %115, align 8, !tbaa !21
  %116 = load ptr, ptr %6, align 8, !tbaa !9
  %117 = call i32 @strcmp(ptr noundef %116, ptr noundef @.str.1) #7
  %118 = icmp eq i32 %117, 0
  br i1 %118, label %119, label %122

119:                                              ; preds = %112
  store i32 0, ptr %7, align 4, !tbaa !5
  %120 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 0
  store i32 100, ptr %120, align 8, !tbaa !23
  %121 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 1
  store ptr @fun, ptr %121, align 8, !tbaa !24
  br label %180

122:                                              ; preds = %112
  %123 = load ptr, ptr %6, align 8, !tbaa !9
  %124 = call i32 @strcmp(ptr noundef %123, ptr noundef @.str.6) #7
  %125 = icmp eq i32 %124, 0
  br i1 %125, label %126, label %129

126:                                              ; preds = %122
  store i32 1, ptr %7, align 4, !tbaa !5
  %127 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 0
  store i32 1600, ptr %127, align 8, !tbaa !23
  %128 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 1
  store ptr @fun, ptr %128, align 8, !tbaa !24
  br label %179

129:                                              ; preds = %122
  %130 = load ptr, ptr %6, align 8, !tbaa !9
  %131 = call i32 @strcmp(ptr noundef %130, ptr noundef @.str.7) #7
  %132 = icmp eq i32 %131, 0
  br i1 %132, label %133, label %140

133:                                              ; preds = %129
  store i32 2, ptr %7, align 4, !tbaa !5
  %134 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 0
  store i32 1600, ptr %134, align 8, !tbaa !23
  %135 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 1
  store ptr @fun, ptr %135, align 8, !tbaa !24
  %136 = getelementptr inbounds [2000 x double], ptr %11, i64 0, i64 0
  %137 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 4
  store ptr %136, ptr %137, align 8, !tbaa !25
  %138 = getelementptr inbounds [2000 x double], ptr %12, i64 0, i64 0
  %139 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 5
  store ptr %138, ptr %139, align 8, !tbaa !26
  br label %178

140:                                              ; preds = %129
  %141 = load ptr, ptr %6, align 8, !tbaa !9
  %142 = call i32 @strcmp(ptr noundef %141, ptr noundef @.str.8) #7
  %143 = icmp eq i32 %142, 0
  br i1 %143, label %144, label %156

144:                                              ; preds = %140
  store i32 3, ptr %7, align 4, !tbaa !5
  %145 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 0
  store i32 1000, ptr %145, align 8, !tbaa !23
  %146 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 6
  store i32 1000, ptr %146, align 8, !tbaa !27
  %147 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 1
  store ptr @fun, ptr %147, align 8, !tbaa !24
  %148 = getelementptr inbounds [2000 x double], ptr %11, i64 0, i64 0
  %149 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 4
  store ptr %148, ptr %149, align 8, !tbaa !25
  %150 = getelementptr inbounds [2000 x double], ptr %12, i64 0, i64 0
  %151 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 5
  store ptr %150, ptr %151, align 8, !tbaa !26
  %152 = load ptr, ptr %14, align 8, !tbaa !9
  %153 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 7
  store ptr %152, ptr %153, align 8, !tbaa !28
  %154 = getelementptr inbounds [1000 x double], ptr %18, i64 0, i64 0
  %155 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 8
  store ptr %154, ptr %155, align 8, !tbaa !29
  br label %177

156:                                              ; preds = %140
  %157 = load ptr, ptr %6, align 8, !tbaa !9
  %158 = call i32 @strcmp(ptr noundef %157, ptr noundef @.str.9) #7
  %159 = icmp eq i32 %158, 0
  br i1 %159, label %160, label %173

160:                                              ; preds = %156
  store i32 4, ptr %7, align 4, !tbaa !5
  %161 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 0
  store i32 800, ptr %161, align 8, !tbaa !23
  %162 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 12
  store i32 200, ptr %162, align 8, !tbaa !30
  %163 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 6
  store i32 600, ptr %163, align 8, !tbaa !27
  %164 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 2
  store ptr @fun_con, ptr %164, align 8, !tbaa !31
  %165 = getelementptr inbounds [2000 x double], ptr %11, i64 0, i64 0
  %166 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 4
  store ptr %165, ptr %166, align 8, !tbaa !25
  %167 = getelementptr inbounds [2000 x double], ptr %12, i64 0, i64 0
  %168 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 5
  store ptr %167, ptr %168, align 8, !tbaa !26
  %169 = load ptr, ptr %14, align 8, !tbaa !9
  %170 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 7
  store ptr %169, ptr %170, align 8, !tbaa !28
  %171 = getelementptr inbounds [1000 x double], ptr %18, i64 0, i64 0
  %172 = getelementptr inbounds %struct.prima_problem_t, ptr %20, i32 0, i32 8
  store ptr %171, ptr %172, align 8, !tbaa !29
  br label %176

173:                                              ; preds = %156
  %174 = load ptr, ptr %6, align 8, !tbaa !9
  %175 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %174)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %16, align 4
  br label %205

176:                                              ; preds = %160
  br label %177

177:                                              ; preds = %176, %144
  br label %178

178:                                              ; preds = %177, %133
  br label %179

179:                                              ; preds = %178, %126
  br label %180

180:                                              ; preds = %179, %119
  call void @llvm.lifetime.start.p0(i64 56, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %181 = load i32, ptr %7, align 4, !tbaa !5
  %182 = call i32 @prima_minimize(i32 noundef %181, ptr noundef byval(%struct.prima_problem_t) align 8 %20, ptr noundef byval(%struct.prima_options_t) align 8 %9, ptr noundef %21)
  store i32 %182, ptr %22, align 4, !tbaa !5
  %183 = getelementptr inbounds %struct.prima_result_t, ptr %21, i32 0, i32 1
  %184 = load double, ptr %183, align 8, !tbaa !32
  %185 = getelementptr inbounds %struct.prima_result_t, ptr %21, i32 0, i32 2
  %186 = load double, ptr %185, align 8, !tbaa !35
  %187 = getelementptr inbounds %struct.prima_result_t, ptr %21, i32 0, i32 3
  %188 = load ptr, ptr %187, align 8, !tbaa !36
  %189 = icmp ne ptr %188, null
  br i1 %189, label %190, label %195

190:                                              ; preds = %180
  %191 = getelementptr inbounds %struct.prima_result_t, ptr %21, i32 0, i32 3
  %192 = load ptr, ptr %191, align 8, !tbaa !36
  %193 = getelementptr inbounds double, ptr %192, i64 0
  %194 = load double, ptr %193, align 8, !tbaa !15
  br label %196

195:                                              ; preds = %180
  br label %196

196:                                              ; preds = %195, %190
  %197 = phi double [ %194, %190 ], [ 0.000000e+00, %195 ]
  %198 = load i32, ptr %22, align 4, !tbaa !5
  %199 = getelementptr inbounds %struct.prima_result_t, ptr %21, i32 0, i32 7
  %200 = load ptr, ptr %199, align 8, !tbaa !37
  %201 = getelementptr inbounds %struct.prima_result_t, ptr %21, i32 0, i32 4
  %202 = load i32, ptr %201, align 8, !tbaa !38
  %203 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %184, double noundef %186, double noundef %197, i32 noundef %198, ptr noundef %200, i32 noundef %202)
  %204 = call i32 @prima_free_result(ptr noundef %21)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 56, ptr %21) #6
  br label %205

205:                                              ; preds = %196, %173
  call void @llvm.lifetime.end.p0(i64 120, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8000, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 16000, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 16000, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 16000, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  %206 = load i32, ptr %3, align 4
  ret i32 %206
}

declare i32 @printf(ptr noundef, ...) #2

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind
declare void @srand(i32 noundef) #4

declare i32 @prima_init_options(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden double @random_gen(double noundef, double noundef) #0

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #5

declare i32 @prima_init_problem(ptr noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @fun(ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @fun_con(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare i32 @prima_minimize(i32 noundef, ptr noundef byval(%struct.prima_problem_t) align 8, ptr noundef byval(%struct.prima_options_t) align 8, ptr noundef) #2

declare i32 @prima_free_result(ptr noundef) #2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) "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 = { nounwind allocsize(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 }
attributes #7 = { nounwind willreturn memory(read) }
attributes #8 = { nounwind allocsize(0) }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 20}
!12 = !{!"", !13, i64 0, !13, i64 8, !6, i64 16, !6, i64 20, !13, i64 24, !6, i64 32, !13, i64 40, !10, i64 48, !10, i64 56}
!13 = !{!"double", !7, i64 0}
!14 = !{!12, !6, i64 16}
!15 = !{!13, !13, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}
!21 = !{!22, !10, i64 24}
!22 = !{!"", !6, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !6, i64 48, !10, i64 56, !10, i64 64, !6, i64 72, !10, i64 80, !10, i64 88, !6, i64 96, !13, i64 104, !10, i64 112}
!23 = !{!22, !6, i64 0}
!24 = !{!22, !10, i64 8}
!25 = !{!22, !10, i64 32}
!26 = !{!22, !10, i64 40}
!27 = !{!22, !6, i64 48}
!28 = !{!22, !10, i64 56}
!29 = !{!22, !10, i64 64}
!30 = !{!22, !6, i64 96}
!31 = !{!22, !10, i64 16}
!32 = !{!33, !13, i64 8}
!33 = !{!"", !10, i64 0, !13, i64 8, !13, i64 16, !10, i64 24, !6, i64 32, !6, i64 36, !34, i64 40, !10, i64 48}
!34 = !{!"_Bool", !7, i64 0}
!35 = !{!33, !13, i64 16}
!36 = !{!33, !10, i64 24}
!37 = !{!33, !10, i64 48}
!38 = !{!33, !6, i64 32}


; 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.prima_options_t = type { double, double, i32, i32, double, i32, double, ptr, ptr }
%struct.prima_problem_t = type { i32, ptr, ptr, ptr, ptr, ptr, i32, ptr, ptr, i32, ptr, ptr, i32, double, ptr }
%struct.prima_result_t = type { ptr, double, double, ptr, i32, i32, i8, ptr }

@m_ineq = external dso_local local_unnamed_addr global i32, align 4
@debug = external dso_local local_unnamed_addr global i32, align 4
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [71 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @get_random_seed() local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = alloca %struct.prima_options_t, align 8
  %4 = alloca [2000 x double], align 16
  %5 = alloca [2000 x double], align 16
  %6 = alloca [2000 x double], align 16
  %7 = alloca [1000 x double], align 16
  %8 = alloca %struct.prima_problem_t, align 8
  %9 = alloca %struct.prima_result_t, align 8
  %10 = icmp sgt i32 %0, 1
  %.sink61.sroa.gep = getelementptr inbounds i8, ptr %8, i64 8
  %.sink61.sroa.gep62 = getelementptr inbounds i8, ptr %8, i64 64
  %.sink61.sroa.gep63 = getelementptr inbounds i8, ptr %8, i64 64
  %.sink61.sroa.gep64 = getelementptr inbounds i8, ptr %8, i64 40
  %.sink61.sroa.gep65 = getelementptr inbounds i8, ptr %8, i64 8
  br i1 %10, label %12, label %.thread

.thread:                                          ; preds = %2
  %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef nonnull @.str.1)
  br label %22

12:                                               ; preds = %2
  %13 = getelementptr inbounds i8, ptr %1, i64 8
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %14)
  %.not41 = icmp eq i32 %0, 2
  br i1 %.not41, label %22, label %16

16:                                               ; preds = %12
  %17 = getelementptr inbounds i8, ptr %1, i64 16
  %18 = load ptr, ptr %17, align 8, !tbaa !5
  %19 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %18, ptr noundef nonnull dereferenceable(1) @.str.3) #7
  %20 = icmp eq i32 %19, 0
  %21 = zext i1 %20 to i32
  store i32 %21, ptr @debug, align 4, !tbaa !9
  br label %22

22:                                               ; preds = %.thread, %16, %12
  %.03540 = phi ptr [ @.str.1, %.thread ], [ %14, %16 ], [ %14, %12 ]
  %23 = load i32, ptr @debug, align 4, !tbaa !9
  %24 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %23)
  %25 = tail call i32 @get_random_seed()
  %26 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %25)
  tail call void @srand(i32 noundef %25) #8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #8
  %27 = call i32 @prima_init_options(ptr noundef nonnull %3) #8
  %28 = getelementptr inbounds i8, ptr %3, i64 20
  store i32 2, ptr %28, align 4, !tbaa !11
  %29 = getelementptr inbounds i8, ptr %3, i64 16
  store i32 1000000, ptr %29, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 16000, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 16000, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 16000, ptr nonnull %6) #8
  br label %34

30:                                               ; preds = %34
  %31 = call noalias dereferenceable_or_null(16000000) ptr @malloc(i64 noundef 16000000) #9
  %32 = load i32, ptr @m_ineq, align 4, !tbaa !9
  %33 = icmp sgt i32 %32, 0
  br i1 %33, label %.preheader, label %.split46.us

34:                                               ; preds = %22, %34
  %indvars.iv = phi i64 [ 0, %22 ], [ %indvars.iv.next, %34 ]
  %35 = call double @random_gen(double noundef -1.000000e+00, double noundef 1.000000e+00)
  %36 = getelementptr inbounds [2000 x double], ptr %4, i64 0, i64 %indvars.iv
  store double %35, ptr %36, align 8, !tbaa !15
  %37 = call double @random_gen(double noundef -2.000000e+00, double noundef -1.000000e+00)
  %38 = getelementptr inbounds [2000 x double], ptr %5, i64 0, i64 %indvars.iv
  store double %37, ptr %38, align 8, !tbaa !15
  %39 = call double @random_gen(double noundef 1.000000e+00, double noundef 2.000000e+00)
  %40 = getelementptr inbounds [2000 x double], ptr %6, i64 0, i64 %indvars.iv
  store double %39, ptr %40, align 8, !tbaa !15
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 2000
  br i1 %exitcond.not, label %30, label %34, !llvm.loop !16

.preheader:                                       ; preds = %30, %._crit_edge
  %41 = phi i32 [ %43, %._crit_edge ], [ %32, %30 ]
  %indvars.iv53 = phi i64 [ %indvars.iv.next54, %._crit_edge ], [ 0, %30 ]
  %42 = icmp sgt i32 %41, 0
  br i1 %42, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.preheader
  %invariant.gep = getelementptr double, ptr %31, i64 %indvars.iv53
  br label %.lr.ph

.split46.us:                                      ; preds = %._crit_edge, %30
  call void @llvm.lifetime.start.p0(i64 8000, ptr nonnull %7) #8
  br label %53

._crit_edge:                                      ; preds = %.lr.ph, %.preheader
  %43 = phi i32 [ %41, %.preheader ], [ %45, %.lr.ph ]
  %indvars.iv.next54 = add nuw nsw i64 %indvars.iv53, 1
  %exitcond56.not = icmp eq i64 %indvars.iv.next54, 2000
  br i1 %exitcond56.not, label %.split46.us, label %.preheader, !llvm.loop !18

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv50 = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next51, %.lr.ph ]
  %44 = call double @random_gen(double noundef -1.000000e+00, double noundef 1.000000e+00)
  %.idx = mul i64 %indvars.iv50, 16000
  %gep = getelementptr i8, ptr %invariant.gep, i64 %.idx
  store double %44, ptr %gep, align 8, !tbaa !15
  %indvars.iv.next51 = add nuw nsw i64 %indvars.iv50, 1
  %45 = load i32, ptr @m_ineq, align 4, !tbaa !9
  %46 = sext i32 %45 to i64
  %47 = icmp slt i64 %indvars.iv.next51, %46
  br i1 %47, label %.lr.ph, label %._crit_edge, !llvm.loop !20

48:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %8) #8
  %49 = call i32 @prima_init_problem(ptr noundef nonnull %8, i32 noundef 2000) #8
  %50 = getelementptr inbounds i8, ptr %8, i64 24
  store ptr %4, ptr %50, align 8, !tbaa !21
  %51 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %.03540, ptr noundef nonnull dereferenceable(1) @.str.1) #7
  %52 = icmp eq i32 %51, 0
  br i1 %52, label %56, label %57

53:                                               ; preds = %.split46.us, %53
  %indvars.iv57 = phi i64 [ 0, %.split46.us ], [ %indvars.iv.next58, %53 ]
  %54 = call double @random_gen(double noundef -1.000000e+00, double noundef 1.000000e+00)
  %55 = getelementptr inbounds [1000 x double], ptr %7, i64 0, i64 %indvars.iv57
  store double %54, ptr %55, align 8, !tbaa !15
  %indvars.iv.next58 = add nuw nsw i64 %indvars.iv57, 1
  %exitcond60.not = icmp eq i64 %indvars.iv.next58, 1000
  br i1 %exitcond60.not, label %48, label %53, !llvm.loop !23

56:                                               ; preds = %48
  store i32 100, ptr %8, align 8, !tbaa !24
  br label %88

57:                                               ; preds = %48
  %58 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %.03540, ptr noundef nonnull dereferenceable(1) @.str.6) #7
  %59 = icmp eq i32 %58, 0
  br i1 %59, label %60, label %61

60:                                               ; preds = %57
  store i32 1600, ptr %8, align 8, !tbaa !24
  br label %88

61:                                               ; preds = %57
  %62 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %.03540, ptr noundef nonnull dereferenceable(1) @.str.7) #7
  %63 = icmp eq i32 %62, 0
  br i1 %63, label %64, label %67

64:                                               ; preds = %61
  store i32 1600, ptr %8, align 8, !tbaa !24
  %65 = getelementptr inbounds i8, ptr %8, i64 8
  store ptr @fun, ptr %65, align 8, !tbaa !25
  %66 = getelementptr inbounds i8, ptr %8, i64 32
  store ptr %5, ptr %66, align 8, !tbaa !26
  br label %88

67:                                               ; preds = %61
  %68 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %.03540, ptr noundef nonnull dereferenceable(1) @.str.8) #7
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %70, label %76

70:                                               ; preds = %67
  store i32 1000, ptr %8, align 8, !tbaa !24
  %71 = getelementptr inbounds i8, ptr %8, i64 48
  store i32 1000, ptr %71, align 8, !tbaa !27
  %72 = getelementptr inbounds i8, ptr %8, i64 8
  store ptr @fun, ptr %72, align 8, !tbaa !25
  %73 = getelementptr inbounds i8, ptr %8, i64 32
  store ptr %5, ptr %73, align 8, !tbaa !26
  %74 = getelementptr inbounds i8, ptr %8, i64 40
  store ptr %6, ptr %74, align 8, !tbaa !28
  %75 = getelementptr inbounds i8, ptr %8, i64 56
  store ptr %31, ptr %75, align 8, !tbaa !29
  br label %88

76:                                               ; preds = %67
  %77 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %.03540, ptr noundef nonnull dereferenceable(1) @.str.9) #7
  %78 = icmp eq i32 %77, 0
  br i1 %78, label %79, label %86

79:                                               ; preds = %76
  store i32 800, ptr %8, align 8, !tbaa !24
  %80 = getelementptr inbounds i8, ptr %8, i64 96
  store i32 200, ptr %80, align 8, !tbaa !30
  %81 = getelementptr inbounds i8, ptr %8, i64 48
  store i32 600, ptr %81, align 8, !tbaa !27
  %82 = getelementptr inbounds i8, ptr %8, i64 16
  store ptr @fun_con, ptr %82, align 8, !tbaa !31
  %83 = getelementptr inbounds i8, ptr %8, i64 32
  store ptr %5, ptr %83, align 8, !tbaa !26
  %84 = getelementptr inbounds i8, ptr %8, i64 40
  store ptr %6, ptr %84, align 8, !tbaa !28
  %85 = getelementptr inbounds i8, ptr %8, i64 56
  store ptr %31, ptr %85, align 8, !tbaa !29
  br label %88

86:                                               ; preds = %76
  %87 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, ptr noundef %.03540)
  br label %106

88:                                               ; preds = %60, %70, %79, %64, %56
  %.sink61.sroa.phi = phi ptr [ %.sink61.sroa.gep, %60 ], [ %.sink61.sroa.gep62, %70 ], [ %.sink61.sroa.gep63, %79 ], [ %.sink61.sroa.gep64, %64 ], [ %.sink61.sroa.gep65, %56 ]
  %fun.sink = phi ptr [ @fun, %60 ], [ %7, %70 ], [ %7, %79 ], [ %6, %64 ], [ @fun, %56 ]
  %.037 = phi i32 [ 1, %60 ], [ 3, %70 ], [ 4, %79 ], [ 2, %64 ], [ 0, %56 ]
  store ptr %fun.sink, ptr %.sink61.sroa.phi, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %9) #8
  %89 = call i32 @prima_minimize(i32 noundef %.037, ptr noundef nonnull byval(%struct.prima_problem_t) align 8 %8, ptr noundef nonnull byval(%struct.prima_options_t) align 8 %3, ptr noundef nonnull %9) #8
  %90 = getelementptr inbounds i8, ptr %9, i64 8
  %91 = load double, ptr %90, align 8, !tbaa !32
  %92 = getelementptr inbounds i8, ptr %9, i64 16
  %93 = load double, ptr %92, align 8, !tbaa !35
  %94 = getelementptr inbounds i8, ptr %9, i64 24
  %95 = load ptr, ptr %94, align 8, !tbaa !36
  %.not = icmp eq ptr %95, null
  br i1 %.not, label %98, label %96

96:                                               ; preds = %88
  %97 = load double, ptr %95, align 8, !tbaa !15
  br label %98

98:                                               ; preds = %88, %96
  %99 = phi double [ %97, %96 ], [ 0.000000e+00, %88 ]
  %100 = getelementptr inbounds i8, ptr %9, i64 48
  %101 = load ptr, ptr %100, align 8, !tbaa !37
  %102 = getelementptr inbounds i8, ptr %9, i64 32
  %103 = load i32, ptr %102, align 8, !tbaa !38
  %104 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, double noundef %91, double noundef %93, double noundef %99, i32 noundef %89, ptr noundef %101, i32 noundef %103)
  %105 = call i32 @prima_free_result(ptr noundef nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %9) #8
  br label %106

106:                                              ; preds = %98, %86
  %.0 = phi i32 [ 0, %98 ], [ 1, %86 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8000, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 16000, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 16000, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 16000, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #8
  ret i32 %.0
}

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #4

declare i32 @prima_init_options(ptr noundef) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare hidden double @random_gen(double noundef, double noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #6

declare i32 @prima_init_problem(ptr noundef, i32 noundef) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare hidden void @fun(ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @fun_con(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare i32 @prima_minimize(i32 noundef, ptr noundef byval(%struct.prima_problem_t) align 8, ptr noundef byval(%struct.prima_options_t) align 8, ptr noundef) local_unnamed_addr #5

declare i32 @prima_free_result(ptr noundef) local_unnamed_addr #5

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree 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 #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { "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 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 willreturn memory(read) }
attributes #8 = { nounwind }
attributes #9 = { nounwind allocsize(0) }

!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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 20}
!12 = !{!"", !13, i64 0, !13, i64 8, !10, i64 16, !10, i64 20, !13, i64 24, !10, i64 32, !13, i64 40, !6, i64 48, !6, i64 56}
!13 = !{!"double", !7, i64 0}
!14 = !{!12, !10, i64 16}
!15 = !{!13, !13, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17, !19}
!19 = !{!"llvm.loop.unswitch.partial.disable"}
!20 = distinct !{!20, !17}
!21 = !{!22, !6, i64 24}
!22 = !{!"", !10, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !10, i64 48, !6, i64 56, !6, i64 64, !10, i64 72, !6, i64 80, !6, i64 88, !10, i64 96, !13, i64 104, !6, i64 112}
!23 = distinct !{!23, !17}
!24 = !{!22, !10, i64 0}
!25 = !{!22, !6, i64 8}
!26 = !{!22, !6, i64 32}
!27 = !{!22, !10, i64 48}
!28 = !{!22, !6, i64 40}
!29 = !{!22, !6, i64 56}
!30 = !{!22, !10, i64 96}
!31 = !{!22, !6, i64 16}
!32 = !{!33, !13, i64 8}
!33 = !{!"", !6, i64 0, !13, i64 8, !13, i64 16, !6, i64 24, !10, i64 32, !10, i64 36, !34, i64 40, !6, i64 48}
!34 = !{!"_Bool", !7, i64 0}
!35 = !{!33, !13, i64 16}
!36 = !{!33, !6, i64 24}
!37 = !{!33, !6, i64 48}
!38 = !{!33, !10, i64 32}


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