; LLVM IR from simbody/simbody :: SimTKmath/Optimizers/src/c-cmaes (cmaes)

; 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.cmaes_readpara_t = type { ptr, i16, i32, i32, ptr, ptr, i32, ptr, ptr, double, double, double, %struct.anon, double, double, double, double, i32, i32, double, double, ptr, double, double, double, double, double, %struct.anon.0, double, ptr, [99 x i8], ptr, ptr, ptr, ptr, i32, i32, i32 }
%struct.anon = type { i32, double }
%struct.anon.0 = type { i32, double, double }

@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.223 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.224 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.225 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.226 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.227 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.228 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.229 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.230 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.231 = external hidden unnamed_addr constant [40 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: nounwind uwtable
declare hidden void @ERRORMESSAGE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare hidden ptr @new_double(i32 noundef) #1

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

declare noalias ptr @fopen(ptr noundef, ptr noundef) #2

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

declare void @rewind(ptr noundef) #2

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

declare i32 @fclose(ptr noundef) #2

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

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

; Function Attrs: nounwind
declare i32 @__isoc99_sscanf(ptr noundef, ptr noundef, ...) #4

; Function Attrs: nounwind uwtable
define dso_local void @cmaes_readpara_ReadFromFile(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca [1000 x i8], align 16
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1000, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  store ptr @.str.223, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = icmp eq ptr %12, null
  br i1 %13, label %14, label %16

14:                                               ; preds = %2
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %15, ptr %4, align 8, !tbaa !5
  br label %16

16:                                               ; preds = %14, %2
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %17, i32 0, i32 0
  store ptr null, ptr %18, align 8, !tbaa !9
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = call noalias ptr @fopen(ptr noundef %19, ptr noundef @.str.9)
  store ptr %20, ptr %10, align 8, !tbaa !5
  %21 = load ptr, ptr %10, align 8, !tbaa !5
  %22 = icmp eq ptr %21, null
  br i1 %22, label %23, label %25

23:                                               ; preds = %16
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  call void @ERRORMESSAGE(ptr noundef @.str.224, ptr noundef %24, ptr noundef @.str.11, ptr noundef null)
  store i32 1, ptr %11, align 4
  br label %245

25:                                               ; preds = %16
  store i32 0, ptr %7, align 4, !tbaa !16
  br label %26

26:                                               ; preds = %85, %25
  %27 = load i32, ptr %7, align 4, !tbaa !16
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %28, i32 0, i32 35
  %30 = load i32, ptr %29, align 8, !tbaa !17
  %31 = icmp slt i32 %27, %30
  br i1 %31, label %32, label %88

32:                                               ; preds = %26
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  call void @rewind(ptr noundef %33)
  br label %34

34:                                               ; preds = %83, %49, %32
  %35 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0
  %36 = load ptr, ptr %10, align 8, !tbaa !5
  %37 = call ptr @fgets(ptr noundef %35, i32 noundef 1000, ptr noundef %36)
  %38 = icmp ne ptr %37, null
  br i1 %38, label %39, label %84

39:                                               ; preds = %34
  %40 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0
  %41 = load i8, ptr %40, align 16, !tbaa !18
  %42 = sext i8 %41 to i32
  %43 = icmp eq i32 %42, 35
  br i1 %43, label %49, label %44

44:                                               ; preds = %39
  %45 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0
  %46 = load i8, ptr %45, align 16, !tbaa !18
  %47 = sext i8 %46 to i32
  %48 = icmp eq i32 %47, 37
  br i1 %48, label %49, label %50

49:                                               ; preds = %44, %39
  br label %34, !llvm.loop !19

50:                                               ; preds = %44
  %51 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %52, i32 0, i32 31
  %54 = load ptr, ptr %53, align 8, !tbaa !21
  %55 = load i32, ptr %7, align 4, !tbaa !16
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds ptr, ptr %54, i64 %56
  %58 = load ptr, ptr %57, align 8, !tbaa !5
  %59 = load ptr, ptr %3, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %59, i32 0, i32 32
  %61 = load ptr, ptr %60, align 8, !tbaa !22
  %62 = load i32, ptr %7, align 4, !tbaa !16
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds ptr, ptr %61, i64 %63
  %65 = load ptr, ptr %64, align 8, !tbaa !5
  %66 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %51, ptr noundef %58, ptr noundef %65) #5
  %67 = icmp eq i32 %66, 1
  br i1 %67, label %68, label %83

68:                                               ; preds = %50
  %69 = load ptr, ptr %3, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %69, i32 0, i32 31
  %71 = load ptr, ptr %70, align 8, !tbaa !21
  %72 = load i32, ptr %7, align 4, !tbaa !16
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds ptr, ptr %71, i64 %73
  %75 = load ptr, ptr %74, align 8, !tbaa !5
  %76 = call i32 @strncmp(ptr noundef %75, ptr noundef @.str.225, i64 noundef 13) #6
  %77 = icmp eq i32 %76, 0
  br i1 %77, label %78, label %82

78:                                               ; preds = %68
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %79, i32 0, i32 12
  %81 = getelementptr inbounds %struct.anon, ptr %80, i32 0, i32 0
  store i32 1, ptr %81, align 8, !tbaa !23
  br label %82

82:                                               ; preds = %78, %68
  br label %84

83:                                               ; preds = %50
  br label %34, !llvm.loop !19

84:                                               ; preds = %82, %34
  br label %85

85:                                               ; preds = %84
  %86 = load i32, ptr %7, align 4, !tbaa !16
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr %7, align 4, !tbaa !16
  br label %26, !llvm.loop !24

88:                                               ; preds = %26
  %89 = load ptr, ptr %3, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %89, i32 0, i32 2
  %91 = load i32, ptr %90, align 4, !tbaa !25
  %92 = icmp sle i32 %91, 0
  br i1 %92, label %93, label %94

93:                                               ; preds = %88
  call void @FATAL(ptr noundef @.str.226, ptr noundef null, ptr noundef null, ptr noundef null)
  br label %94

94:                                               ; preds = %93, %88
  store i32 0, ptr %7, align 4, !tbaa !16
  br label %95

95:                                               ; preds = %236, %94
  %96 = load i32, ptr %7, align 4, !tbaa !16
  %97 = load ptr, ptr %3, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %97, i32 0, i32 37
  %99 = load i32, ptr %98, align 8, !tbaa !26
  %100 = icmp slt i32 %96, %99
  br i1 %100, label %101, label %239

101:                                              ; preds = %95
  %102 = load ptr, ptr %10, align 8, !tbaa !5
  call void @rewind(ptr noundef %102)
  br label %103

103:                                              ; preds = %234, %118, %101
  %104 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0
  %105 = load ptr, ptr %10, align 8, !tbaa !5
  %106 = call ptr @fgets(ptr noundef %104, i32 noundef 1000, ptr noundef %105)
  %107 = icmp ne ptr %106, null
  br i1 %107, label %108, label %235

108:                                              ; preds = %103
  %109 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0
  %110 = load i8, ptr %109, align 16, !tbaa !18
  %111 = sext i8 %110 to i32
  %112 = icmp eq i32 %111, 35
  br i1 %112, label %118, label %113

113:                                              ; preds = %108
  %114 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0
  %115 = load i8, ptr %114, align 16, !tbaa !18
  %116 = sext i8 %115 to i32
  %117 = icmp eq i32 %116, 37
  br i1 %117, label %118, label %119

118:                                              ; preds = %113, %108
  br label %103, !llvm.loop !27

119:                                              ; preds = %113
  %120 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %121, i32 0, i32 33
  %123 = load ptr, ptr %122, align 8, !tbaa !28
  %124 = load i32, ptr %7, align 4, !tbaa !16
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds ptr, ptr %123, i64 %125
  %127 = load ptr, ptr %126, align 8, !tbaa !5
  %128 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %120, ptr noundef %127, ptr noundef %9) #5
  %129 = icmp eq i32 %128, 1
  br i1 %129, label %130, label %234

130:                                              ; preds = %119
  %131 = load i32, ptr %9, align 4, !tbaa !16
  %132 = icmp sgt i32 %131, 0
  br i1 %132, label %133, label %233

133:                                              ; preds = %130
  %134 = load ptr, ptr %3, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %134, i32 0, i32 2
  %136 = load i32, ptr %135, align 4, !tbaa !25
  %137 = call ptr @new_double(i32 noundef %136)
  %138 = load ptr, ptr %3, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %138, i32 0, i32 34
  %140 = load ptr, ptr %139, align 8, !tbaa !29
  %141 = load i32, ptr %7, align 4, !tbaa !16
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds ptr, ptr %140, i64 %142
  %144 = load ptr, ptr %143, align 8, !tbaa !5
  store ptr %137, ptr %144, align 8, !tbaa !5
  store i32 0, ptr %8, align 4, !tbaa !16
  br label %145

145:                                              ; preds = %174, %133
  %146 = load i32, ptr %8, align 4, !tbaa !16
  %147 = load i32, ptr %9, align 4, !tbaa !16
  %148 = icmp slt i32 %146, %147
  br i1 %148, label %149, label %155

149:                                              ; preds = %145
  %150 = load i32, ptr %8, align 4, !tbaa !16
  %151 = load ptr, ptr %3, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %151, i32 0, i32 2
  %153 = load i32, ptr %152, align 4, !tbaa !25
  %154 = icmp slt i32 %150, %153
  br label %155

155:                                              ; preds = %149, %145
  %156 = phi i1 [ false, %145 ], [ %154, %149 ]
  br i1 %156, label %157, label %177

157:                                              ; preds = %155
  %158 = load ptr, ptr %10, align 8, !tbaa !5
  %159 = load ptr, ptr %3, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %159, i32 0, i32 34
  %161 = load ptr, ptr %160, align 8, !tbaa !29
  %162 = load i32, ptr %7, align 4, !tbaa !16
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds ptr, ptr %161, i64 %163
  %165 = load ptr, ptr %164, align 8, !tbaa !5
  %166 = load ptr, ptr %165, align 8, !tbaa !5
  %167 = load i32, ptr %8, align 4, !tbaa !16
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds double, ptr %166, i64 %168
  %170 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef %158, ptr noundef @.str.227, ptr noundef %169)
  %171 = icmp ne i32 %170, 1
  br i1 %171, label %172, label %173

172:                                              ; preds = %157
  br label %177

173:                                              ; preds = %157
  br label %174

174:                                              ; preds = %173
  %175 = load i32, ptr %8, align 4, !tbaa !16
  %176 = add nsw i32 %175, 1
  store i32 %176, ptr %8, align 4, !tbaa !16
  br label %145, !llvm.loop !30

177:                                              ; preds = %172, %155
  %178 = load i32, ptr %8, align 4, !tbaa !16
  %179 = load i32, ptr %9, align 4, !tbaa !16
  %180 = icmp slt i32 %178, %179
  br i1 %180, label %181, label %196

181:                                              ; preds = %177
  %182 = load i32, ptr %8, align 4, !tbaa !16
  %183 = load ptr, ptr %3, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %183, i32 0, i32 2
  %185 = load i32, ptr %184, align 4, !tbaa !25
  %186 = icmp slt i32 %182, %185
  br i1 %186, label %187, label %196

187:                                              ; preds = %181
  %188 = load ptr, ptr %4, align 8, !tbaa !5
  call void @ERRORMESSAGE(ptr noundef @.str.228, ptr noundef %188, ptr noundef @.str.229, ptr noundef null)
  %189 = load ptr, ptr %3, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %189, i32 0, i32 33
  %191 = load ptr, ptr %190, align 8, !tbaa !28
  %192 = load i32, ptr %7, align 4, !tbaa !16
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds ptr, ptr %191, i64 %193
  %195 = load ptr, ptr %194, align 8, !tbaa !5
  call void @FATAL(ptr noundef @.str.11, ptr noundef %195, ptr noundef @.str.230, ptr noundef @.str.231)
  br label %196

196:                                              ; preds = %187, %181, %177
  br label %197

197:                                              ; preds = %229, %196
  %198 = load i32, ptr %8, align 4, !tbaa !16
  %199 = load ptr, ptr %3, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %199, i32 0, i32 2
  %201 = load i32, ptr %200, align 4, !tbaa !25
  %202 = icmp slt i32 %198, %201
  br i1 %202, label %203, label %232

203:                                              ; preds = %197
  %204 = load ptr, ptr %3, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %204, i32 0, i32 34
  %206 = load ptr, ptr %205, align 8, !tbaa !29
  %207 = load i32, ptr %7, align 4, !tbaa !16
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds ptr, ptr %206, i64 %208
  %210 = load ptr, ptr %209, align 8, !tbaa !5
  %211 = load ptr, ptr %210, align 8, !tbaa !5
  %212 = load i32, ptr %8, align 4, !tbaa !16
  %213 = load i32, ptr %9, align 4, !tbaa !16
  %214 = srem i32 %212, %213
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds double, ptr %211, i64 %215
  %217 = load double, ptr %216, align 8, !tbaa !31
  %218 = load ptr, ptr %3, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %218, i32 0, i32 34
  %220 = load ptr, ptr %219, align 8, !tbaa !29
  %221 = load i32, ptr %7, align 4, !tbaa !16
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds ptr, ptr %220, i64 %222
  %224 = load ptr, ptr %223, align 8, !tbaa !5
  %225 = load ptr, ptr %224, align 8, !tbaa !5
  %226 = load i32, ptr %8, align 4, !tbaa !16
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds double, ptr %225, i64 %227
  store double %217, ptr %228, align 8, !tbaa !31
  br label %229

229:                                              ; preds = %203
  %230 = load i32, ptr %8, align 4, !tbaa !16
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr %8, align 4, !tbaa !16
  br label %197, !llvm.loop !32

232:                                              ; preds = %197
  br label %233

233:                                              ; preds = %232, %130
  br label %234

234:                                              ; preds = %233, %119
  br label %103, !llvm.loop !27

235:                                              ; preds = %103
  br label %236

236:                                              ; preds = %235
  %237 = load i32, ptr %7, align 4, !tbaa !16
  %238 = add nsw i32 %237, 1
  store i32 %238, ptr %7, align 4, !tbaa !16
  br label %95, !llvm.loop !33

239:                                              ; preds = %95
  %240 = load ptr, ptr %10, align 8, !tbaa !5
  %241 = call i32 @fclose(ptr noundef %240)
  %242 = load ptr, ptr %3, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.cmaes_readpara_t, ptr %242, i32 0, i32 0
  %244 = load ptr, ptr %4, align 8, !tbaa !5
  call void @assign_string(ptr noundef %243, ptr noundef %244)
  store i32 1, ptr %11, align 4
  br label %245

245:                                              ; preds = %239, %23
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 1000, ptr %5) #5
  ret void
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 }
attributes #6 = { nounwind willreturn memory(read) }

!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, !6, i64 0}
!10 = !{!"", !6, i64 0, !11, i64 8, !12, i64 12, !12, i64 16, !6, i64 24, !6, i64 32, !12, i64 40, !6, i64 48, !6, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !14, i64 88, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !12, i64 136, !12, i64 140, !13, i64 144, !13, i64 152, !6, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !15, i64 208, !13, i64 232, !6, i64 240, !7, i64 248, !6, i64 352, !6, i64 360, !6, i64 368, !6, i64 376, !12, i64 384, !12, i64 388, !12, i64 392}
!11 = !{!"short", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!"", !12, i64 0, !13, i64 8}
!15 = !{!"", !12, i64 0, !13, i64 8, !13, i64 16}
!16 = !{!12, !12, i64 0}
!17 = !{!10, !12, i64 384}
!18 = !{!7, !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!10, !6, i64 352}
!22 = !{!10, !6, i64 360}
!23 = !{!10, !12, i64 88}
!24 = distinct !{!24, !20}
!25 = !{!10, !12, i64 12}
!26 = !{!10, !12, i64 392}
!27 = distinct !{!27, !20}
!28 = !{!10, !6, i64 368}
!29 = !{!10, !6, i64 376}
!30 = distinct !{!30, !20}
!31 = !{!13, !13, i64 0}
!32 = distinct !{!32, !20}
!33 = distinct !{!33, !20}


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

@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.223 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.224 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.225 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.226 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.227 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.228 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.229 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.230 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.231 = external hidden unnamed_addr constant [40 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: nounwind uwtable
declare hidden void @ERRORMESSAGE(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare hidden ptr @new_double(i32 noundef) local_unnamed_addr #1

; 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 noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2

declare i32 @__isoc99_fscanf(ptr noundef, ptr noundef, ...) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare void @rewind(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden void @FATAL(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @cmaes_readpara_ReadFromFile(ptr noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = alloca [1000 x i8], align 16
  %4 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 1000, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  %5 = icmp eq ptr %1, null
  %spec.select = select i1 %5, ptr @.str.223, ptr %1
  store ptr null, ptr %0, align 8, !tbaa !5
  %6 = tail call noalias ptr @fopen(ptr noundef nonnull %spec.select, ptr noundef nonnull @.str.9)
  %7 = icmp eq ptr %6, null
  br i1 %7, label %14, label %.preheader

.preheader:                                       ; preds = %2
  %8 = getelementptr inbounds i8, ptr %0, i64 384
  %9 = load i32, ptr %8, align 8, !tbaa !15
  %10 = icmp sgt i32 %9, 0
  br i1 %10, label %.lr.ph76, label %._crit_edge

.lr.ph76:                                         ; preds = %.preheader
  %11 = getelementptr inbounds i8, ptr %0, i64 352
  %12 = getelementptr inbounds i8, ptr %0, i64 360
  %13 = getelementptr inbounds i8, ptr %0, i64 88
  br label %15

14:                                               ; preds = %2
  tail call void @ERRORMESSAGE(ptr noundef nonnull @.str.224, ptr noundef nonnull %spec.select, ptr noundef nonnull @.str.11, ptr noundef null)
  br label %122

15:                                               ; preds = %.lr.ph76, %.loopexit70
  %indvars.iv = phi i64 [ 0, %.lr.ph76 ], [ %indvars.iv.next, %.loopexit70 ]
  call void @rewind(ptr noundef nonnull %6)
  %16 = call ptr @fgets(ptr noundef nonnull %3, i32 noundef 1000, ptr noundef nonnull %6)
  %.not6973 = icmp eq ptr %16, null
  br i1 %.not6973, label %.loopexit70, label %.lr.ph

.lr.ph:                                           ; preds = %15, %.backedge71
  %17 = load i8, ptr %3, align 16
  switch i8 %17, label %18 [
    i8 37, label %.backedge71
    i8 35, label %.backedge71
  ]

18:                                               ; preds = %.lr.ph
  %19 = load ptr, ptr %11, align 8, !tbaa !16
  %20 = getelementptr inbounds ptr, ptr %19, i64 %indvars.iv
  %21 = load ptr, ptr %20, align 8, !tbaa !17
  %22 = load ptr, ptr %12, align 8, !tbaa !18
  %23 = getelementptr inbounds ptr, ptr %22, i64 %indvars.iv
  %24 = load ptr, ptr %23, align 8, !tbaa !17
  %25 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %3, ptr noundef %21, ptr noundef %24) #5
  %26 = icmp eq i32 %25, 1
  br i1 %26, label %28, label %.backedge71

.backedge71:                                      ; preds = %18, %.lr.ph, %.lr.ph
  %27 = call ptr @fgets(ptr noundef nonnull %3, i32 noundef 1000, ptr noundef nonnull %6)
  %.not69 = icmp eq ptr %27, null
  br i1 %.not69, label %.loopexit70, label %.lr.ph, !llvm.loop !19

28:                                               ; preds = %18
  %29 = load ptr, ptr %11, align 8, !tbaa !16
  %30 = getelementptr inbounds ptr, ptr %29, i64 %indvars.iv
  %31 = load ptr, ptr %30, align 8, !tbaa !17
  %32 = call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %31, ptr noundef nonnull dereferenceable(1) @.str.225, i64 noundef 13) #6
  %33 = icmp eq i32 %32, 0
  br i1 %33, label %34, label %.loopexit70

34:                                               ; preds = %28
  store i32 1, ptr %13, align 8, !tbaa !21
  br label %.loopexit70

.loopexit70:                                      ; preds = %.backedge71, %15, %34, %28
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %35 = load i32, ptr %8, align 8, !tbaa !15
  %36 = sext i32 %35 to i64
  %37 = icmp slt i64 %indvars.iv.next, %36
  br i1 %37, label %15, label %._crit_edge, !llvm.loop !22

._crit_edge:                                      ; preds = %.loopexit70, %.preheader
  %38 = getelementptr inbounds i8, ptr %0, i64 12
  %39 = load i32, ptr %38, align 4, !tbaa !23
  %40 = icmp slt i32 %39, 1
  br i1 %40, label %41, label %42

41:                                               ; preds = %._crit_edge
  call void @FATAL(ptr noundef nonnull @.str.226, ptr noundef null, ptr noundef null, ptr noundef null)
  br label %42

42:                                               ; preds = %41, %._crit_edge
  %43 = getelementptr inbounds i8, ptr %0, i64 392
  %44 = load i32, ptr %43, align 8, !tbaa !24
  %45 = icmp sgt i32 %44, 0
  br i1 %45, label %.lr.ph93, label %._crit_edge94

.lr.ph93:                                         ; preds = %42
  %46 = getelementptr inbounds i8, ptr %0, i64 368
  %47 = getelementptr inbounds i8, ptr %0, i64 376
  br label %48

48:                                               ; preds = %.lr.ph93, %._crit_edge90
  %indvars.iv103 = phi i64 [ 0, %.lr.ph93 ], [ %indvars.iv.next104, %._crit_edge90 ]
  call void @rewind(ptr noundef nonnull %6)
  %49 = call ptr @fgets(ptr noundef nonnull %3, i32 noundef 1000, ptr noundef nonnull %6)
  %.not87 = icmp eq ptr %49, null
  br i1 %.not87, label %._crit_edge90, label %.lr.ph89

.lr.ph89:                                         ; preds = %48, %.backedge
  %50 = load i8, ptr %3, align 16
  switch i8 %50, label %51 [
    i8 37, label %.backedge
    i8 35, label %.backedge
  ]

51:                                               ; preds = %.lr.ph89
  %52 = load ptr, ptr %46, align 8, !tbaa !25
  %53 = getelementptr inbounds ptr, ptr %52, i64 %indvars.iv103
  %54 = load ptr, ptr %53, align 8, !tbaa !17
  %55 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef nonnull %3, ptr noundef %54, ptr noundef nonnull %4) #5
  %56 = icmp eq i32 %55, 1
  %57 = load i32, ptr %4, align 4
  %58 = icmp sgt i32 %57, 0
  %or.cond9 = select i1 %56, i1 %58, i1 false
  br i1 %or.cond9, label %59, label %.backedge

59:                                               ; preds = %51
  %60 = load i32, ptr %38, align 4, !tbaa !23
  %61 = call ptr @new_double(i32 noundef %60)
  %62 = load ptr, ptr %47, align 8, !tbaa !26
  %63 = getelementptr inbounds ptr, ptr %62, i64 %indvars.iv103
  %64 = load ptr, ptr %63, align 8, !tbaa !17
  store ptr %61, ptr %64, align 8, !tbaa !17
  %65 = load i32, ptr %4, align 4, !tbaa !27
  %66 = icmp sgt i32 %65, 0
  br i1 %66, label %.lr.ph79.preheader, label %.critedge

.lr.ph79.preheader:                               ; preds = %59
  %67 = load i32, ptr %38, align 4, !tbaa !23
  %68 = icmp sgt i32 %67, 0
  br i1 %68, label %.lr.ph112, label %.critedge.loopexit

.lr.ph79:                                         ; preds = %78
  %69 = load i32, ptr %38, align 4, !tbaa !23
  %70 = sext i32 %69 to i64
  %71 = icmp slt i64 %indvars.iv.next97, %70
  br i1 %71, label %.lr.ph112, label %.critedge.loopexit, !llvm.loop !28

.lr.ph112:                                        ; preds = %.lr.ph79.preheader, %.lr.ph79
  %indvars.iv96111 = phi i64 [ %indvars.iv.next97, %.lr.ph79 ], [ 0, %.lr.ph79.preheader ]
  %72 = load ptr, ptr %47, align 8, !tbaa !26
  %73 = getelementptr inbounds ptr, ptr %72, i64 %indvars.iv103
  %74 = load ptr, ptr %73, align 8, !tbaa !17
  %75 = load ptr, ptr %74, align 8, !tbaa !17
  %76 = getelementptr inbounds double, ptr %75, i64 %indvars.iv96111
  %77 = call i32 (ptr, ptr, ...) @__isoc99_fscanf(ptr noundef nonnull %6, ptr noundef nonnull @.str.227, ptr noundef %76) #5
  %.not68 = icmp eq i32 %77, 1
  %.pre.pre = load i32, ptr %4, align 4, !tbaa !27
  br i1 %.not68, label %78, label %.critedge.loopexit

78:                                               ; preds = %.lr.ph112
  %indvars.iv.next97 = add nuw nsw i64 %indvars.iv96111, 1
  %79 = sext i32 %.pre.pre to i64
  %80 = icmp slt i64 %indvars.iv.next97, %79
  br i1 %80, label %.lr.ph79, label %.critedge.loopexit, !llvm.loop !28

.critedge.loopexit:                               ; preds = %.lr.ph79, %.lr.ph112, %78, %.lr.ph79.preheader
  %.pre = phi i32 [ %65, %.lr.ph79.preheader ], [ %.pre.pre, %78 ], [ %.pre.pre, %.lr.ph112 ], [ %.pre.pre, %.lr.ph79 ]
  %.063.lcssa.ph.in = phi i64 [ 0, %.lr.ph79.preheader ], [ %indvars.iv.next97, %.lr.ph79 ], [ %indvars.iv96111, %.lr.ph112 ], [ %indvars.iv.next97, %78 ]
  %.063.lcssa.ph = trunc i64 %.063.lcssa.ph.in to i32
  br label %.critedge

.critedge:                                        ; preds = %.critedge.loopexit, %59
  %81 = phi i32 [ %65, %59 ], [ %.pre, %.critedge.loopexit ]
  %.063.lcssa = phi i32 [ 0, %59 ], [ %.063.lcssa.ph, %.critedge.loopexit ]
  %82 = icmp slt i32 %.063.lcssa, %81
  %.pre108 = load i32, ptr %38, align 4, !tbaa !23
  %83 = icmp slt i32 %.063.lcssa, %.pre108
  %or.cond = select i1 %82, i1 %83, i1 false
  br i1 %or.cond, label %84, label %88

84:                                               ; preds = %.critedge
  call void @ERRORMESSAGE(ptr noundef nonnull @.str.228, ptr noundef nonnull %spec.select, ptr noundef nonnull @.str.229, ptr noundef null)
  %85 = load ptr, ptr %46, align 8, !tbaa !25
  %86 = getelementptr inbounds ptr, ptr %85, i64 %indvars.iv103
  %87 = load ptr, ptr %86, align 8, !tbaa !17
  call void @FATAL(ptr noundef nonnull @.str.11, ptr noundef %87, ptr noundef nonnull @.str.230, ptr noundef nonnull @.str.231)
  %.pre107 = load i32, ptr %38, align 4, !tbaa !23
  br label %88

88:                                               ; preds = %84, %.critedge
  %89 = phi i32 [ %.pre107, %84 ], [ %.pre108, %.critedge ]
  %90 = icmp slt i32 %.063.lcssa, %89
  br i1 %90, label %.lr.ph86, label %.backedge

.lr.ph86:                                         ; preds = %88
  %91 = load ptr, ptr %47, align 8, !tbaa !26
  %92 = getelementptr inbounds ptr, ptr %91, i64 %indvars.iv103
  %93 = load ptr, ptr %92, align 8, !tbaa !17
  %94 = load ptr, ptr %93, align 8, !tbaa !17
  %95 = load i32, ptr %4, align 4, !tbaa !27
  %96 = zext i32 %.063.lcssa to i64
  %wide.trip.count = zext i32 %89 to i64
  %97 = sub nsw i64 %wide.trip.count, %96
  %xtraiter = and i64 %97, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.prol.loopexit, label %.prol.loopexit.unr-lcssa

.prol.loopexit.unr-lcssa:                         ; preds = %.lr.ph86
  %98 = srem i32 %.063.lcssa, %95
  %99 = zext nneg i32 %98 to i64
  %100 = getelementptr inbounds double, ptr %94, i64 %99
  %101 = load double, ptr %100, align 8, !tbaa !29
  %102 = getelementptr inbounds double, ptr %94, i64 %96
  store double %101, ptr %102, align 8, !tbaa !29
  %indvars.iv.next100.prol = add nuw nsw i64 %96, 1
  br label %.prol.loopexit

.prol.loopexit:                                   ; preds = %.prol.loopexit.unr-lcssa, %.lr.ph86
  %indvars.iv99.unr = phi i64 [ %96, %.lr.ph86 ], [ %indvars.iv.next100.prol, %.prol.loopexit.unr-lcssa ]
  %103 = add nsw i64 %wide.trip.count, -1
  %104 = icmp eq i64 %103, %96
  br i1 %104, label %.backedge, label %.lr.ph86.new

.lr.ph86.new:                                     ; preds = %.prol.loopexit, %.lr.ph86.new
  %indvars.iv99 = phi i64 [ %indvars.iv.next100.1, %.lr.ph86.new ], [ %indvars.iv99.unr, %.prol.loopexit ]
  %105 = trunc nuw nsw i64 %indvars.iv99 to i32
  %106 = srem i32 %105, %95
  %107 = zext nneg i32 %106 to i64
  %108 = getelementptr inbounds double, ptr %94, i64 %107
  %109 = load double, ptr %108, align 8, !tbaa !29
  %110 = getelementptr inbounds double, ptr %94, i64 %indvars.iv99
  store double %109, ptr %110, align 8, !tbaa !29
  %indvars.iv.next100 = add nuw nsw i64 %indvars.iv99, 1
  %111 = trunc nuw nsw i64 %indvars.iv.next100 to i32
  %112 = srem i32 %111, %95
  %113 = zext nneg i32 %112 to i64
  %114 = getelementptr inbounds double, ptr %94, i64 %113
  %115 = load double, ptr %114, align 8, !tbaa !29
  %116 = getelementptr inbounds double, ptr %94, i64 %indvars.iv.next100
  store double %115, ptr %116, align 8, !tbaa !29
  %indvars.iv.next100.1 = add nuw nsw i64 %indvars.iv99, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next100.1, %wide.trip.count
  br i1 %exitcond.not.1, label %.backedge, label %.lr.ph86.new, !llvm.loop !30

.backedge:                                        ; preds = %.prol.loopexit, %.lr.ph86.new, %51, %88, %.lr.ph89, %.lr.ph89
  %117 = call ptr @fgets(ptr noundef nonnull %3, i32 noundef 1000, ptr noundef nonnull %6)
  %.not = icmp eq ptr %117, null
  br i1 %.not, label %._crit_edge90, label %.lr.ph89, !llvm.loop !31

._crit_edge90:                                    ; preds = %.backedge, %48
  %indvars.iv.next104 = add nuw nsw i64 %indvars.iv103, 1
  %118 = load i32, ptr %43, align 8, !tbaa !24
  %119 = sext i32 %118 to i64
  %120 = icmp slt i64 %indvars.iv.next104, %119
  br i1 %120, label %48, label %._crit_edge94, !llvm.loop !32

._crit_edge94:                                    ; preds = %._crit_edge90, %42
  %121 = call i32 @fclose(ptr noundef nonnull %6)
  call void @assign_string(ptr noundef nonnull %0, ptr noundef nonnull %spec.select)
  br label %122

122:                                              ; preds = %._crit_edge94, %14
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 1000, ptr nonnull %3) #5
  ret void
}

; Function Attrs: nounwind uwtable
declare hidden void @assign_string(ptr noundef, ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { "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 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 #5 = { nounwind }
attributes #6 = { nounwind willreturn memory(read) }

!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, !7, i64 0}
!6 = !{!"", !7, i64 0, !10, i64 8, !11, i64 12, !11, i64 16, !7, i64 24, !7, i64 32, !11, i64 40, !7, i64 48, !7, i64 56, !12, i64 64, !12, i64 72, !12, i64 80, !13, i64 88, !12, i64 104, !12, i64 112, !12, i64 120, !12, i64 128, !11, i64 136, !11, i64 140, !12, i64 144, !12, i64 152, !7, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !14, i64 208, !12, i64 232, !7, i64 240, !8, i64 248, !7, i64 352, !7, i64 360, !7, i64 368, !7, i64 376, !11, i64 384, !11, i64 388, !11, i64 392}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"double", !8, i64 0}
!13 = !{!"", !11, i64 0, !12, i64 8}
!14 = !{!"", !11, i64 0, !12, i64 8, !12, i64 16}
!15 = !{!6, !11, i64 384}
!16 = !{!6, !7, i64 352}
!17 = !{!7, !7, i64 0}
!18 = !{!6, !7, i64 360}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!6, !11, i64 88}
!22 = distinct !{!22, !20}
!23 = !{!6, !11, i64 12}
!24 = !{!6, !11, i64 392}
!25 = !{!6, !7, i64 368}
!26 = !{!6, !7, i64 376}
!27 = !{!11, !11, i64 0}
!28 = distinct !{!28, !20}
!29 = !{!12, !12, i64 0}
!30 = distinct !{!30, !20}
!31 = distinct !{!31, !20}
!32 = distinct !{!32, !20}


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