; LLVM IR from HRI-EU/Rcs :: src/RcsCore (Rcs_mathTests)

; 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.Rcs::CmdLineParser" = type { i8 }

@RCS_GLOBAL_RLOG_CB = external global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [74 x i8], align 1
@RcsLogLevel = external global i32, align 4
@stderr = external global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.349 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.350 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.351 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.352 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.353 = external hidden unnamed_addr constant [63 x i8], align 1
@__func__.testPolynomialRootFinding = external hidden unnamed_addr constant [26 x i8], align 1
@.str.354 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.355 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.356 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.357 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.358 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.359 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.360 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.361 = external hidden unnamed_addr constant [25 x i8], align 1

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

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1

declare void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) unnamed_addr #2

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPdS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ptr noundef, ...) #2

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ptr noundef, ...) #2

; Function Attrs: inlinehint mustprogress uwtable
declare i32 @getchar() #3

declare void @VecNd_setRandom(ptr noundef, double noundef, double noundef, i32 noundef) #2

declare void @VecNd_printComment(ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #4

declare i32 @Math_getRandomInteger(i32 noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local zeroext i1 @testPolynomialRootFinding(i32 noundef %0, ptr noundef %1) #5 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca [4 x double], align 16
  %8 = alloca [3 x double], align 16
  %9 = alloca i32, align 4
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca %"class.Rcs::CmdLineParser", align 1
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca double, align 8
  store i32 %0, ptr %3, align 4, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 3, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #6
  store i8 1, ptr %6, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #6
  %19 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 0
  call void @VecNd_setZero(ptr noundef %19, i32 noundef 4)
  %20 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 0
  call void @VecNd_setZero(ptr noundef %20, i32 noundef 3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 10, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store double -1.000000e+03, ptr %10, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  store double 1.000000e+03, ptr %11, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  %21 = load i32, ptr %3, align 4, !tbaa !5
  %22 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1) %12, i32 noundef %21, ptr noundef %22)
  %23 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %12, ptr noundef @.str.64, ptr noundef %9, ptr noundef @.str.349)
  %24 = load double, ptr %10, align 8, !tbaa !13
  %25 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPdS2_z(ptr noundef nonnull align 1 dereferenceable(1) %12, ptr noundef @.str.350, ptr noundef %10, ptr noundef @.str.351, double noundef %24)
  %26 = load double, ptr %11, align 8, !tbaa !13
  %27 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPdS2_z(ptr noundef nonnull align 1 dereferenceable(1) %12, ptr noundef @.str.352, ptr noundef %11, ptr noundef @.str.353, double noundef %26)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %28

28:                                               ; preds = %207, %2
  %29 = load i32, ptr %13, align 4, !tbaa !5
  %30 = load i32, ptr %9, align 4, !tbaa !5
  %31 = icmp slt i32 %29, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %28
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %210

33:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %34 = call i32 @Math_getRandomInteger(i32 noundef 1, i32 noundef 3)
  store i32 %34, ptr %15, align 4, !tbaa !5
  %35 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 0
  call void @VecNd_setZero(ptr noundef %35, i32 noundef 3)
  %36 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 0
  call void @VecNd_setZero(ptr noundef %36, i32 noundef 4)
  %37 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 0
  %38 = load double, ptr %10, align 8, !tbaa !13
  %39 = load double, ptr %11, align 8, !tbaa !13
  %40 = load i32, ptr %15, align 4, !tbaa !5
  %41 = add nsw i32 %40, 1
  call void @VecNd_setRandom(ptr noundef %37, double noundef %38, double noundef %39, i32 noundef %41)
  br label %42

42:                                               ; preds = %33
  %43 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %44 = icmp ne ptr %43, null
  br i1 %44, label %45, label %48

45:                                               ; preds = %42
  %46 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %47 = load i32, ptr %15, align 4, !tbaa !5
  call void (i32, ptr, ptr, i32, ptr, ...) %46(i32 noundef 5, ptr noundef @.str.3, ptr noundef @__func__.testPolynomialRootFinding, i32 noundef 3567, ptr noundef @.str.354, i32 noundef %47)
  br label %48

48:                                               ; preds = %45, %42
  %49 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %50 = icmp sle i32 5, %49
  br i1 %50, label %51, label %59

51:                                               ; preds = %48
  %52 = load ptr, ptr @stderr, align 8, !tbaa !9
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef @.str.5, ptr noundef @.str.3, ptr noundef @__func__.testPolynomialRootFinding, i32 noundef 3567) #6
  %54 = load ptr, ptr @stderr, align 8, !tbaa !9
  %55 = load i32, ptr %15, align 4, !tbaa !5
  %56 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %54, ptr noundef @.str.354, i32 noundef %55) #6
  %57 = load ptr, ptr @stderr, align 8, !tbaa !9
  %58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %57, ptr noundef @.str.6) #6
  br label %59

59:                                               ; preds = %51, %48
  br label %60

60:                                               ; preds = %59
  br label %61

61:                                               ; preds = %60
  %62 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %63 = icmp sle i32 5, %62
  br i1 %63, label %64, label %68

64:                                               ; preds = %61
  %65 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 0
  %66 = load i32, ptr %15, align 4, !tbaa !5
  %67 = add nsw i32 %66, 1
  call void @VecNd_print(ptr noundef %65, i32 noundef %67)
  br label %68

68:                                               ; preds = %64, %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %69 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 0
  %70 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 0
  %71 = load i32, ptr %15, align 4, !tbaa !5
  %72 = call i32 @Math_findPolynomialRoots(ptr noundef %69, ptr noundef %70, i32 noundef %71)
  store i32 %72, ptr %16, align 4, !tbaa !5
  %73 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %74 = icmp sle i32 5, %73
  br i1 %74, label %75, label %102

75:                                               ; preds = %68
  br label %76

76:                                               ; preds = %75
  %77 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %78 = icmp ne ptr %77, null
  br i1 %78, label %79, label %82

79:                                               ; preds = %76
  %80 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %81 = load i32, ptr %16, align 4, !tbaa !5
  call void (i32, ptr, ptr, i32, ptr, ...) %80(i32 noundef 5, ptr noundef @.str.3, ptr noundef @__func__.testPolynomialRootFinding, i32 noundef 3577, ptr noundef @.str.355, i32 noundef %81)
  br label %82

82:                                               ; preds = %79, %76
  %83 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %84 = icmp sle i32 5, %83
  br i1 %84, label %85, label %93

85:                                               ; preds = %82
  %86 = load ptr, ptr @stderr, align 8, !tbaa !9
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %86, ptr noundef @.str.5, ptr noundef @.str.3, ptr noundef @__func__.testPolynomialRootFinding, i32 noundef 3577) #6
  %88 = load ptr, ptr @stderr, align 8, !tbaa !9
  %89 = load i32, ptr %16, align 4, !tbaa !5
  %90 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %88, ptr noundef @.str.355, i32 noundef %89) #6
  %91 = load ptr, ptr @stderr, align 8, !tbaa !9
  %92 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %91, ptr noundef @.str.6) #6
  br label %93

93:                                               ; preds = %85, %82
  br label %94

94:                                               ; preds = %93
  br label %95

95:                                               ; preds = %94
  %96 = load i32, ptr %16, align 4, !tbaa !5
  %97 = icmp sgt i32 %96, 0
  br i1 %97, label %98, label %101

98:                                               ; preds = %95
  %99 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 0
  %100 = load i32, ptr %16, align 4, !tbaa !5
  call void @VecNd_print(ptr noundef %99, i32 noundef %100)
  br label %101

101:                                              ; preds = %98, %95
  br label %102

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

103:                                              ; preds = %203, %102
  %104 = load i32, ptr %17, align 4, !tbaa !5
  %105 = load i32, ptr %16, align 4, !tbaa !5
  %106 = icmp slt i32 %104, %105
  br i1 %106, label %108, label %107

107:                                              ; preds = %103
  store i32 9, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %206

108:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %109 = load i32, ptr %17, align 4, !tbaa !5
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 %110
  %112 = load double, ptr %111, align 8, !tbaa !13
  %113 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 0
  %114 = load i32, ptr %15, align 4, !tbaa !5
  %115 = call double @Math_computePolynomial(double noundef %112, ptr noundef %113, i32 noundef %114)
  store double %115, ptr %18, align 8, !tbaa !13
  br label %116

116:                                              ; preds = %108
  %117 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %118 = icmp ne ptr %117, null
  br i1 %118, label %119, label %123

119:                                              ; preds = %116
  %120 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %121 = load i32, ptr %17, align 4, !tbaa !5
  %122 = load double, ptr %18, align 8, !tbaa !13
  call void (i32, ptr, ptr, i32, ptr, ...) %120(i32 noundef 4, ptr noundef @.str.3, ptr noundef @__func__.testPolynomialRootFinding, i32 noundef 3587, ptr noundef @.str.356, i32 noundef %121, double noundef %122)
  br label %123

123:                                              ; preds = %119, %116
  %124 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %125 = icmp sle i32 4, %124
  br i1 %125, label %126, label %135

126:                                              ; preds = %123
  %127 = load ptr, ptr @stderr, align 8, !tbaa !9
  %128 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %127, ptr noundef @.str.5, ptr noundef @.str.3, ptr noundef @__func__.testPolynomialRootFinding, i32 noundef 3587) #6
  %129 = load ptr, ptr @stderr, align 8, !tbaa !9
  %130 = load i32, ptr %17, align 4, !tbaa !5
  %131 = load double, ptr %18, align 8, !tbaa !13
  %132 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %129, ptr noundef @.str.356, i32 noundef %130, double noundef %131) #6
  %133 = load ptr, ptr @stderr, align 8, !tbaa !9
  %134 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %133, ptr noundef @.str.6) #6
  br label %135

135:                                              ; preds = %126, %123
  br label %136

136:                                              ; preds = %135
  br label %137

137:                                              ; preds = %136
  %138 = load double, ptr %18, align 8, !tbaa !13
  %139 = call double @llvm.fabs.f64(double %138)
  %140 = fcmp ogt double %139, 1.000000e-08
  br i1 %140, label %141, label %179

141:                                              ; preds = %137
  store i8 0, ptr %6, align 1, !tbaa !11
  br label %142

142:                                              ; preds = %141
  %143 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %144 = icmp ne ptr %143, null
  br i1 %144, label %145, label %149

145:                                              ; preds = %142
  %146 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %147 = load i32, ptr %15, align 4, !tbaa !5
  %148 = load double, ptr %18, align 8, !tbaa !13
  call void (i32, ptr, ptr, i32, ptr, ...) %146(i32 noundef 1, ptr noundef @.str.3, ptr noundef @__func__.testPolynomialRootFinding, i32 noundef 3591, ptr noundef @.str.357, i32 noundef %147, double noundef %148)
  br label %149

149:                                              ; preds = %145, %142
  %150 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %151 = icmp sle i32 1, %150
  br i1 %151, label %152, label %161

152:                                              ; preds = %149
  %153 = load ptr, ptr @stderr, align 8, !tbaa !9
  %154 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %153, ptr noundef @.str.5, ptr noundef @.str.3, ptr noundef @__func__.testPolynomialRootFinding, i32 noundef 3591) #6
  %155 = load ptr, ptr @stderr, align 8, !tbaa !9
  %156 = load i32, ptr %15, align 4, !tbaa !5
  %157 = load double, ptr %18, align 8, !tbaa !13
  %158 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %155, ptr noundef @.str.357, i32 noundef %156, double noundef %157) #6
  %159 = load ptr, ptr @stderr, align 8, !tbaa !9
  %160 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %159, ptr noundef @.str.6) #6
  br label %161

161:                                              ; preds = %152, %149
  br label %162

162:                                              ; preds = %161
  br label %163

163:                                              ; preds = %162
  %164 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %165 = icmp sle i32 2, %164
  br i1 %165, label %166, label %178

166:                                              ; preds = %163
  %167 = getelementptr inbounds [4 x double], ptr %7, i64 0, i64 0
  %168 = load i32, ptr %15, align 4, !tbaa !5
  %169 = add nsw i32 %168, 1
  call void @VecNd_printComment(ptr noundef @.str.358, ptr noundef %167, i32 noundef %169)
  %170 = getelementptr inbounds [3 x double], ptr %8, i64 0, i64 0
  %171 = load i32, ptr %16, align 4, !tbaa !5
  call void @VecNd_printComment(ptr noundef @.str.359, ptr noundef %170, i32 noundef %171)
  br label %172

172:                                              ; preds = %166
  %173 = load ptr, ptr @stderr, align 8, !tbaa !9
  %174 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %173, ptr noundef @.str.360, ptr noundef @.str.3, ptr noundef @__func__.testPolynomialRootFinding, i32 noundef 3596) #6
  %175 = call i32 @getchar()
  br label %176

176:                                              ; preds = %172
  br label %177

177:                                              ; preds = %176
  br label %178

178:                                              ; preds = %177, %163
  br label %202

179:                                              ; preds = %137
  br label %180

180:                                              ; preds = %179
  %181 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %182 = icmp ne ptr %181, null
  br i1 %182, label %183, label %187

183:                                              ; preds = %180
  %184 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !9
  %185 = load i32, ptr %15, align 4, !tbaa !5
  %186 = load double, ptr %18, align 8, !tbaa !13
  call void (i32, ptr, ptr, i32, ptr, ...) %184(i32 noundef 1, ptr noundef @.str.3, ptr noundef @__func__.testPolynomialRootFinding, i32 noundef 3601, ptr noundef @.str.361, i32 noundef %185, double noundef %186)
  br label %187

187:                                              ; preds = %183, %180
  %188 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %189 = icmp sle i32 1, %188
  br i1 %189, label %190, label %199

190:                                              ; preds = %187
  %191 = load ptr, ptr @stderr, align 8, !tbaa !9
  %192 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %191, ptr noundef @.str.5, ptr noundef @.str.3, ptr noundef @__func__.testPolynomialRootFinding, i32 noundef 3601) #6
  %193 = load ptr, ptr @stderr, align 8, !tbaa !9
  %194 = load i32, ptr %15, align 4, !tbaa !5
  %195 = load double, ptr %18, align 8, !tbaa !13
  %196 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %193, ptr noundef @.str.361, i32 noundef %194, double noundef %195) #6
  %197 = load ptr, ptr @stderr, align 8, !tbaa !9
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %197, ptr noundef @.str.6) #6
  br label %199

199:                                              ; preds = %190, %187
  br label %200

200:                                              ; preds = %199
  br label %201

201:                                              ; preds = %200
  br label %202

202:                                              ; preds = %201, %178
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  br label %203

203:                                              ; preds = %202
  %204 = load i32, ptr %17, align 4, !tbaa !5
  %205 = add nsw i32 %204, 1
  store i32 %205, ptr %17, align 4, !tbaa !5
  br label %103, !llvm.loop !15

206:                                              ; preds = %107
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %207

207:                                              ; preds = %206
  %208 = load i32, ptr %13, align 4, !tbaa !5
  %209 = add nsw i32 %208, 1
  store i32 %209, ptr %13, align 4, !tbaa !5
  br label %28, !llvm.loop !17

210:                                              ; preds = %32
  %211 = load i8, ptr %6, align 1, !tbaa !11, !range !18, !noundef !19
  %212 = trunc i8 %211 to i1
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  ret i1 %212
}

declare void @VecNd_setZero(ptr noundef, i32 noundef) #2

declare void @VecNd_print(ptr noundef, i32 noundef) #2

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

declare double @Math_computePolynomial(double noundef, ptr noundef, i32 noundef) #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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{i8 0, i8 2}
!19 = !{}


; 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.Rcs::CmdLineParser" = type { i8 }

@RCS_GLOBAL_RLOG_CB = external local_unnamed_addr global ptr, align 8
@.str.3 = external hidden unnamed_addr constant [74 x i8], align 1
@RcsLogLevel = external local_unnamed_addr global i32, align 4
@stderr = external local_unnamed_addr global ptr, align 8
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.349 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.350 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.351 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.352 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.353 = external hidden unnamed_addr constant [63 x i8], align 1
@__func__.testPolynomialRootFinding = external hidden unnamed_addr constant [26 x i8], align 1
@.str.354 = external hidden unnamed_addr constant [50 x i8], align 1
@.str.355 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.356 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.357 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.358 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.359 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.360 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.361 = external hidden unnamed_addr constant [25 x i8], align 1

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

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

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

declare void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef, ptr noundef) unnamed_addr #2

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPdS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nofree nounwind uwtable
declare noundef i32 @getchar() local_unnamed_addr #3

declare void @VecNd_setRandom(ptr noundef, double noundef, double noundef, i32 noundef) local_unnamed_addr #2

declare void @VecNd_printComment(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #4

declare i32 @Math_getRandomInteger(i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local zeroext i1 @testPolynomialRootFinding(i32 noundef %0, ptr noundef %1) local_unnamed_addr #5 {
  %3 = alloca [4 x double], align 16
  %4 = alloca [3 x double], align 16
  %5 = alloca i32, align 4
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca %"class.Rcs::CmdLineParser", align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  call void @VecNd_setZero(ptr noundef nonnull %3, i32 noundef 4)
  call void @VecNd_setZero(ptr noundef nonnull %4, i32 noundef 3)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  store i32 10, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  store double -1.000000e+03, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  store double 1.000000e+03, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  call void @_ZN3Rcs13CmdLineParserC1EiPPc(ptr noundef nonnull align 1 dereferenceable(1) %8, i32 noundef %0, ptr noundef %1)
  %9 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPiS2_z(ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull @.str.64, ptr noundef nonnull %5, ptr noundef nonnull @.str.349)
  %10 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPdS2_z(ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull @.str.350, ptr noundef nonnull %6, ptr noundef nonnull @.str.351, double noundef -1.000000e+03)
  %11 = call noundef zeroext i1 (ptr, ptr, ptr, ptr, ...) @_ZNK3Rcs13CmdLineParser11getArgumentEPKcPdS2_z(ptr noundef nonnull align 1 dereferenceable(1) %8, ptr noundef nonnull @.str.352, ptr noundef nonnull %7, ptr noundef nonnull @.str.353, double noundef 1.000000e+03)
  %12 = load i32, ptr %5, align 4, !tbaa !5
  %13 = icmp sgt i32 %12, 0
  br i1 %13, label %.lr.ph55, label %._crit_edge56

._crit_edge56:                                    ; preds = %._crit_edge, %2
  %.0.lcssa = phi i1 [ true, %2 ], [ %.1.lcssa, %._crit_edge ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  ret i1 %.0.lcssa

.lr.ph55:                                         ; preds = %2, %._crit_edge
  %.053 = phi i1 [ %.1.lcssa, %._crit_edge ], [ true, %2 ]
  %.03452 = phi i32 [ %49, %._crit_edge ], [ 0, %2 ]
  %14 = call i32 @Math_getRandomInteger(i32 noundef 1, i32 noundef 3)
  call void @VecNd_setZero(ptr noundef nonnull %4, i32 noundef 3)
  call void @VecNd_setZero(ptr noundef nonnull %3, i32 noundef 4)
  %15 = load double, ptr %6, align 8, !tbaa !9
  %16 = load double, ptr %7, align 8, !tbaa !9
  %17 = add nsw i32 %14, 1
  call void @VecNd_setRandom(ptr noundef nonnull %3, double noundef %15, double noundef %16, i32 noundef %17)
  %18 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !11
  %.not = icmp eq ptr %18, null
  br i1 %.not, label %20, label %19

19:                                               ; preds = %.lr.ph55
  call void (i32, ptr, ptr, i32, ptr, ...) %18(i32 noundef 5, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testPolynomialRootFinding, i32 noundef 3567, ptr noundef nonnull @.str.354, i32 noundef %14)
  br label %20

20:                                               ; preds = %19, %.lr.ph55
  %21 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %22 = icmp sgt i32 %21, 4
  br i1 %22, label %23, label %.thread

23:                                               ; preds = %20
  %24 = load ptr, ptr @stderr, align 8, !tbaa !11
  %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testPolynomialRootFinding, i32 noundef 3567) #7
  %26 = load ptr, ptr @stderr, align 8, !tbaa !11
  %27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %26, ptr noundef nonnull @.str.354, i32 noundef %14) #7
  %28 = load ptr, ptr @stderr, align 8, !tbaa !11
  %29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef nonnull @.str.6) #7
  %.pr = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %30 = icmp sgt i32 %.pr, 4
  br i1 %30, label %31, label %.thread

31:                                               ; preds = %23
  call void @VecNd_print(ptr noundef nonnull %3, i32 noundef %17)
  br label %.thread

.thread:                                          ; preds = %20, %31, %23
  %32 = call i32 @Math_findPolynomialRoots(ptr noundef nonnull %4, ptr noundef nonnull %3, i32 noundef %14)
  %33 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %34 = icmp sgt i32 %33, 4
  br i1 %34, label %35, label %47

35:                                               ; preds = %.thread
  %36 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !11
  %.not42 = icmp eq ptr %36, null
  br i1 %.not42, label %.thread47, label %37

37:                                               ; preds = %35
  call void (i32, ptr, ptr, i32, ptr, ...) %36(i32 noundef 5, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testPolynomialRootFinding, i32 noundef 3577, ptr noundef nonnull @.str.355, i32 noundef %32)
  %.pr46 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %38 = icmp sgt i32 %.pr46, 4
  br i1 %38, label %.thread47, label %45

.thread47:                                        ; preds = %35, %37
  %39 = load ptr, ptr @stderr, align 8, !tbaa !11
  %40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testPolynomialRootFinding, i32 noundef 3577) #7
  %41 = load ptr, ptr @stderr, align 8, !tbaa !11
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.355, i32 noundef %32) #7
  %43 = load ptr, ptr @stderr, align 8, !tbaa !11
  %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef nonnull @.str.6) #7
  br label %45

45:                                               ; preds = %.thread47, %37
  %46 = icmp sgt i32 %32, 0
  br i1 %46, label %.thread58, label %._crit_edge

.thread58:                                        ; preds = %45
  call void @VecNd_print(ptr noundef nonnull %4, i32 noundef %32)
  br label %.lr.ph.preheader

47:                                               ; preds = %.thread
  %48 = icmp sgt i32 %32, 0
  br i1 %48, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.thread58, %47
  %wide.trip.count = zext nneg i32 %32 to i64
  br label %.lr.ph

._crit_edge:                                      ; preds = %.thread49, %45, %47
  %.1.lcssa = phi i1 [ %.053, %47 ], [ %.053, %45 ], [ %.2, %.thread49 ]
  %49 = add nuw nsw i32 %.03452, 1
  %50 = load i32, ptr %5, align 4, !tbaa !5
  %51 = icmp slt i32 %49, %50
  br i1 %51, label %.lr.ph55, label %._crit_edge56, !llvm.loop !13

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.thread49
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.thread49 ]
  %.151 = phi i1 [ %.053, %.lr.ph.preheader ], [ %.2, %.thread49 ]
  %52 = getelementptr inbounds [3 x double], ptr %4, i64 0, i64 %indvars.iv
  %53 = load double, ptr %52, align 8, !tbaa !9
  %54 = call double @Math_computePolynomial(double noundef %53, ptr noundef nonnull %3, i32 noundef %14)
  %55 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !11
  %.not43 = icmp eq ptr %55, null
  br i1 %.not43, label %58, label %56

56:                                               ; preds = %.lr.ph
  %57 = trunc nuw nsw i64 %indvars.iv to i32
  call void (i32, ptr, ptr, i32, ptr, ...) %55(i32 noundef 4, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testPolynomialRootFinding, i32 noundef 3587, ptr noundef nonnull @.str.356, i32 noundef %57, double noundef %54)
  br label %58

58:                                               ; preds = %56, %.lr.ph
  %59 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %60 = icmp sgt i32 %59, 3
  br i1 %60, label %61, label %69

61:                                               ; preds = %58
  %62 = load ptr, ptr @stderr, align 8, !tbaa !11
  %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %62, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testPolynomialRootFinding, i32 noundef 3587) #7
  %64 = load ptr, ptr @stderr, align 8, !tbaa !11
  %65 = trunc nuw nsw i64 %indvars.iv to i32
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %64, ptr noundef nonnull @.str.356, i32 noundef %65, double noundef %54) #7
  %67 = load ptr, ptr @stderr, align 8, !tbaa !11
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %67, ptr noundef nonnull @.str.6) #7
  br label %69

69:                                               ; preds = %61, %58
  %70 = call double @llvm.fabs.f64(double %54)
  %71 = fcmp ogt double %70, 1.000000e-08
  %72 = load ptr, ptr @RCS_GLOBAL_RLOG_CB, align 8, !tbaa !11
  %.not45 = icmp eq ptr %72, null
  br i1 %71, label %73, label %90

73:                                               ; preds = %69
  br i1 %.not45, label %75, label %74

74:                                               ; preds = %73
  call void (i32, ptr, ptr, i32, ptr, ...) %72(i32 noundef 1, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testPolynomialRootFinding, i32 noundef 3591, ptr noundef nonnull @.str.357, i32 noundef %14, double noundef %54)
  br label %75

75:                                               ; preds = %74, %73
  %76 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %77 = icmp sgt i32 %76, 0
  br i1 %77, label %78, label %.thread49

78:                                               ; preds = %75
  %79 = load ptr, ptr @stderr, align 8, !tbaa !11
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %79, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testPolynomialRootFinding, i32 noundef 3591) #7
  %81 = load ptr, ptr @stderr, align 8, !tbaa !11
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef nonnull @.str.357, i32 noundef %14, double noundef %54) #7
  %83 = load ptr, ptr @stderr, align 8, !tbaa !11
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef nonnull @.str.6) #7
  %.pr48 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %85 = icmp sgt i32 %.pr48, 1
  br i1 %85, label %86, label %.thread49

86:                                               ; preds = %78
  call void @VecNd_printComment(ptr noundef nonnull @.str.358, ptr noundef nonnull %3, i32 noundef %17)
  call void @VecNd_printComment(ptr noundef nonnull @.str.359, ptr noundef nonnull %4, i32 noundef %32)
  %87 = load ptr, ptr @stderr, align 8, !tbaa !11
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef nonnull @.str.360, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testPolynomialRootFinding, i32 noundef 3596) #7
  %89 = call i32 @getchar()
  br label %.thread49

90:                                               ; preds = %69
  br i1 %.not45, label %92, label %91

91:                                               ; preds = %90
  call void (i32, ptr, ptr, i32, ptr, ...) %72(i32 noundef 1, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testPolynomialRootFinding, i32 noundef 3601, ptr noundef nonnull @.str.361, i32 noundef %14, double noundef %54)
  br label %92

92:                                               ; preds = %91, %90
  %93 = load i32, ptr @RcsLogLevel, align 4, !tbaa !5
  %94 = icmp sgt i32 %93, 0
  br i1 %94, label %95, label %.thread49

95:                                               ; preds = %92
  %96 = load ptr, ptr @stderr, align 8, !tbaa !11
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__.testPolynomialRootFinding, i32 noundef 3601) #7
  %98 = load ptr, ptr @stderr, align 8, !tbaa !11
  %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %98, ptr noundef nonnull @.str.361, i32 noundef %14, double noundef %54) #7
  %100 = load ptr, ptr @stderr, align 8, !tbaa !11
  %101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %100, ptr noundef nonnull @.str.6) #7
  br label %.thread49

.thread49:                                        ; preds = %75, %92, %95, %78, %86
  %.2 = phi i1 [ false, %86 ], [ false, %78 ], [ %.151, %95 ], [ %.151, %92 ], [ false, %75 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !15
}

declare void @VecNd_setZero(ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @VecNd_print(ptr noundef, i32 noundef) local_unnamed_addr #2

declare i32 @Math_findPolynomialRoots(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare double @Math_computePolynomial(double noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { inlinehint mustprogress nofree nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { nounwind }
attributes #7 = { cold 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


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