; LLVM IR from niuyishuai/PDCABB :: LAPACK_BLAS/BLAS/TESTING (sblat1)

; 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.anon = type { i64, i64, i64, i64, i64, i64 }
%struct.cilist = type { i64, i64, i64, ptr, i64 }

@combla_ = external dso_local global %struct.anon, align 8
@.str = external hidden unnamed_addr constant [1 x i8], align 1
@c__1 = external hidden global i64, align 8
@c__9 = external hidden global i64, align 8
@check1_.sa = external hidden global [10 x float], align 16
@check1_.dv = external hidden global [80 x float], align 16
@check1_.dtrue1 = external hidden global [5 x float], align 16
@check1_.dtrue3 = external hidden global [5 x float], align 16
@check1_.dtrue5 = external hidden global [80 x float], align 16
@check1_.itrue2 = external hidden global [5 x i64], align 16
@check1_.io___31 = external hidden global %struct.cilist, align 8
@.str.2 = external hidden unnamed_addr constant [29 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
define dso_local i32 @check1_(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca float, align 4
  %5 = alloca i64, align 8
  %6 = alloca [8 x float], align 16
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca [1 x float], align 4
  %10 = alloca [8 x float], align 16
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 32, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #3
  store i64 1, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2), align 8, !tbaa !9
  br label %11

11:                                               ; preds = %147, %1
  %12 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2), align 8, !tbaa !9
  %13 = icmp sle i64 %12, 2
  br i1 %13, label %14, label %150

14:                                               ; preds = %11
  store i64 1, ptr %7, align 8, !tbaa !12
  br label %15

15:                                               ; preds = %143, %14
  %16 = load i64, ptr %7, align 8, !tbaa !12
  %17 = icmp sle i64 %16, 5
  br i1 %17, label %18, label %146

18:                                               ; preds = %15
  %19 = load i64, ptr %7, align 8, !tbaa !12
  %20 = sub nsw i64 %19, 1
  store i64 %20, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 1), align 8, !tbaa !13
  %21 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 1), align 8, !tbaa !13
  %22 = icmp sge i64 %21, 1
  br i1 %22, label %23, label %25

23:                                               ; preds = %18
  %24 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 1), align 8, !tbaa !13
  br label %26

25:                                               ; preds = %18
  br label %26

26:                                               ; preds = %25, %23
  %27 = phi i64 [ %24, %23 ], [ 1, %25 ]
  %28 = shl i64 %27, 1
  store i64 %28, ptr %8, align 8, !tbaa !12
  %29 = load i64, ptr %8, align 8, !tbaa !12
  store i64 %29, ptr %3, align 8, !tbaa !12
  store i64 1, ptr %5, align 8, !tbaa !12
  br label %30

30:                                               ; preds = %48, %26
  %31 = load i64, ptr %5, align 8, !tbaa !12
  %32 = load i64, ptr %3, align 8, !tbaa !12
  %33 = icmp sle i64 %31, %32
  br i1 %33, label %34, label %51

34:                                               ; preds = %30
  %35 = load i64, ptr %5, align 8, !tbaa !12
  %36 = load i64, ptr %7, align 8, !tbaa !12
  %37 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2), align 8, !tbaa !9
  %38 = mul nsw i64 %37, 5
  %39 = add nsw i64 %36, %38
  %40 = shl i64 %39, 3
  %41 = add nsw i64 %35, %40
  %42 = sub nsw i64 %41, 49
  %43 = getelementptr inbounds [80 x float], ptr @check1_.dv, i64 0, i64 %42
  %44 = load float, ptr %43, align 4, !tbaa !14
  %45 = load i64, ptr %5, align 8, !tbaa !12
  %46 = sub nsw i64 %45, 1
  %47 = getelementptr inbounds [8 x float], ptr %6, i64 0, i64 %46
  store float %44, ptr %47, align 4, !tbaa !14
  br label %48

48:                                               ; preds = %34
  %49 = load i64, ptr %5, align 8, !tbaa !12
  %50 = add nsw i64 %49, 1
  store i64 %50, ptr %5, align 8, !tbaa !12
  br label %30, !llvm.loop !16

51:                                               ; preds = %30
  %52 = load i64, ptr @combla_, align 8, !tbaa !18
  %53 = icmp eq i64 %52, 7
  br i1 %53, label %54, label %67

54:                                               ; preds = %51
  %55 = load i64, ptr %7, align 8, !tbaa !12
  %56 = sub nsw i64 %55, 1
  %57 = getelementptr inbounds [5 x float], ptr @check1_.dtrue1, i64 0, i64 %56
  %58 = load float, ptr %57, align 4, !tbaa !14
  %59 = getelementptr inbounds [1 x float], ptr %9, i64 0, i64 0
  store float %58, ptr %59, align 4, !tbaa !14
  %60 = getelementptr inbounds [8 x float], ptr %6, i64 0, i64 0
  %61 = call double @f2c_snrm2(ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 1), ptr noundef %60, ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2))
  %62 = fptrunc double %61 to float
  store float %62, ptr %4, align 4, !tbaa !14
  %63 = getelementptr inbounds [1 x float], ptr %9, i64 0, i64 0
  %64 = getelementptr inbounds [1 x float], ptr %9, i64 0, i64 0
  %65 = load ptr, ptr %2, align 8, !tbaa !5
  %66 = call i32 @stest1_(ptr noundef %4, ptr noundef %63, ptr noundef %64, ptr noundef %65)
  br label %142

67:                                               ; preds = %51
  %68 = load i64, ptr @combla_, align 8, !tbaa !18
  %69 = icmp eq i64 %68, 8
  br i1 %69, label %70, label %83

70:                                               ; preds = %67
  %71 = load i64, ptr %7, align 8, !tbaa !12
  %72 = sub nsw i64 %71, 1
  %73 = getelementptr inbounds [5 x float], ptr @check1_.dtrue3, i64 0, i64 %72
  %74 = load float, ptr %73, align 4, !tbaa !14
  %75 = getelementptr inbounds [1 x float], ptr %9, i64 0, i64 0
  store float %74, ptr %75, align 4, !tbaa !14
  %76 = getelementptr inbounds [8 x float], ptr %6, i64 0, i64 0
  %77 = call double @f2c_sasum(ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 1), ptr noundef %76, ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2))
  %78 = fptrunc double %77 to float
  store float %78, ptr %4, align 4, !tbaa !14
  %79 = getelementptr inbounds [1 x float], ptr %9, i64 0, i64 0
  %80 = getelementptr inbounds [1 x float], ptr %9, i64 0, i64 0
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = call i32 @stest1_(ptr noundef %4, ptr noundef %79, ptr noundef %80, ptr noundef %81)
  br label %141

83:                                               ; preds = %67
  %84 = load i64, ptr @combla_, align 8, !tbaa !18
  %85 = icmp eq i64 %84, 9
  br i1 %85, label %86, label %124

86:                                               ; preds = %83
  %87 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2), align 8, !tbaa !9
  %88 = sub nsw i64 %87, 1
  %89 = mul nsw i64 %88, 5
  %90 = load i64, ptr %7, align 8, !tbaa !12
  %91 = add nsw i64 %89, %90
  %92 = sub nsw i64 %91, 1
  %93 = getelementptr inbounds [10 x float], ptr @check1_.sa, i64 0, i64 %92
  %94 = getelementptr inbounds [8 x float], ptr %6, i64 0, i64 0
  %95 = call i32 @f2c_sscal(ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 1), ptr noundef %93, ptr noundef %94, ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2))
  %96 = load i64, ptr %8, align 8, !tbaa !12
  store i64 %96, ptr %3, align 8, !tbaa !12
  store i64 1, ptr %5, align 8, !tbaa !12
  br label %97

97:                                               ; preds = %115, %86
  %98 = load i64, ptr %5, align 8, !tbaa !12
  %99 = load i64, ptr %3, align 8, !tbaa !12
  %100 = icmp sle i64 %98, %99
  br i1 %100, label %101, label %118

101:                                              ; preds = %97
  %102 = load i64, ptr %5, align 8, !tbaa !12
  %103 = load i64, ptr %7, align 8, !tbaa !12
  %104 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2), align 8, !tbaa !9
  %105 = mul nsw i64 %104, 5
  %106 = add nsw i64 %103, %105
  %107 = shl i64 %106, 3
  %108 = add nsw i64 %102, %107
  %109 = sub nsw i64 %108, 49
  %110 = getelementptr inbounds [80 x float], ptr @check1_.dtrue5, i64 0, i64 %109
  %111 = load float, ptr %110, align 4, !tbaa !14
  %112 = load i64, ptr %5, align 8, !tbaa !12
  %113 = sub nsw i64 %112, 1
  %114 = getelementptr inbounds [8 x float], ptr %10, i64 0, i64 %113
  store float %111, ptr %114, align 4, !tbaa !14
  br label %115

115:                                              ; preds = %101
  %116 = load i64, ptr %5, align 8, !tbaa !12
  %117 = add nsw i64 %116, 1
  store i64 %117, ptr %5, align 8, !tbaa !12
  br label %97, !llvm.loop !19

118:                                              ; preds = %97
  %119 = getelementptr inbounds [8 x float], ptr %6, i64 0, i64 0
  %120 = getelementptr inbounds [8 x float], ptr %10, i64 0, i64 0
  %121 = getelementptr inbounds [8 x float], ptr %10, i64 0, i64 0
  %122 = load ptr, ptr %2, align 8, !tbaa !5
  %123 = call i32 @stest_(ptr noundef %8, ptr noundef %119, ptr noundef %120, ptr noundef %121, ptr noundef %122)
  br label %140

124:                                              ; preds = %83
  %125 = load i64, ptr @combla_, align 8, !tbaa !18
  %126 = icmp eq i64 %125, 10
  br i1 %126, label %127, label %134

127:                                              ; preds = %124
  %128 = getelementptr inbounds [8 x float], ptr %6, i64 0, i64 0
  %129 = call i64 @f2c_isamax(ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 1), ptr noundef %128, ptr noundef getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2))
  store i64 %129, ptr %3, align 8, !tbaa !12
  %130 = load i64, ptr %7, align 8, !tbaa !12
  %131 = sub nsw i64 %130, 1
  %132 = getelementptr inbounds [5 x i64], ptr @check1_.itrue2, i64 0, i64 %131
  %133 = call i32 @itest1_(ptr noundef %3, ptr noundef %132)
  br label %139

134:                                              ; preds = %124
  %135 = call i64 @s_wsle(ptr noundef @check1_.io___31)
  %136 = call i64 @do_lio(ptr noundef @c__9, ptr noundef @c__1, ptr noundef @.str.2, i64 noundef 28)
  %137 = call i64 @e_wsle()
  %138 = call i32 @s_stop(ptr noundef @.str, i64 noundef 0)
  br label %139

139:                                              ; preds = %134, %127
  br label %140

140:                                              ; preds = %139, %118
  br label %141

141:                                              ; preds = %140, %70
  br label %142

142:                                              ; preds = %141, %54
  br label %143

143:                                              ; preds = %142
  %144 = load i64, ptr %7, align 8, !tbaa !12
  %145 = add nsw i64 %144, 1
  store i64 %145, ptr %7, align 8, !tbaa !12
  br label %15, !llvm.loop !20

146:                                              ; preds = %15
  br label %147

147:                                              ; preds = %146
  %148 = load i64, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2), align 8, !tbaa !9
  %149 = add nsw i64 %148, 1
  store i64 %149, ptr getelementptr inbounds (%struct.anon, ptr @combla_, i32 0, i32 2), align 8, !tbaa !9
  br label %11, !llvm.loop !21

150:                                              ; preds = %11
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  ret i32 0
}

declare i32 @s_stop(ptr noundef, i64 noundef) #2

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @stest1_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare i64 @s_wsle(ptr noundef) #2

declare i64 @do_lio(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #2

declare i64 @e_wsle() #2

declare double @f2c_snrm2(ptr noundef, ptr noundef, ptr noundef) #2

declare double @f2c_sasum(ptr noundef, ptr noundef, ptr noundef) #2

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @stest_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1

declare i64 @f2c_isamax(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @itest1_(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 }

!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, !11, i64 16}
!10 = !{!"", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!10, !11, i64 0}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}


; 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.anon = type { i64, i64, i64, i64, i64, i64 }
%struct.cilist = type { i64, i64, i64, ptr, i64 }

@combla_ = external dso_local global %struct.anon, align 8
@.str = external hidden unnamed_addr constant [1 x i8], align 1
@c__1 = external hidden global i64, align 8
@c__9 = external hidden global i64, align 8
@check1_.sa = external hidden global [10 x float], align 16
@check1_.dv = external hidden local_unnamed_addr global [80 x float], align 16
@check1_.dtrue1 = external hidden local_unnamed_addr global [5 x float], align 16
@check1_.dtrue3 = external hidden local_unnamed_addr global [5 x float], align 16
@check1_.dtrue5 = external hidden local_unnamed_addr global [80 x float], align 16
@check1_.itrue2 = external hidden global [5 x i64], align 16
@check1_.io___31 = external hidden global %struct.cilist, align 8
@.str.2 = external hidden unnamed_addr constant [29 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
define dso_local noundef i32 @check1_(ptr noundef %0) local_unnamed_addr #1 {
  %2 = alloca i64, align 8
  %3 = alloca float, align 4
  %4 = alloca [8 x float], align 16
  %5 = alloca i64, align 8
  %6 = alloca [1 x float], align 4
  %7 = alloca [8 x float], align 16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #4
  store i64 1, ptr getelementptr inbounds (i8, ptr @combla_, i64 16), align 8, !tbaa !5
  br label %._crit_edge.peel

._crit_edge.peel:                                 ; preds = %1, %.loopexit
  %8 = phi i64 [ 1, %1 ], [ %84, %.loopexit ]
  store i64 0, ptr getelementptr inbounds (i8, ptr @combla_, i64 8), align 8, !tbaa !10
  store i64 2, ptr %5, align 8, !tbaa !11
  store i64 2, ptr %2, align 8, !tbaa !11
  %9 = mul i64 %8, 160
  %scevgep30.peel = getelementptr i8, ptr getelementptr (i8, ptr @check1_.dv, i64 -160), i64 %9
  %10 = load i64, ptr %scevgep30.peel, align 16, !tbaa !12
  store i64 %10, ptr %4, align 16, !tbaa !12
  %11 = load i64, ptr @combla_, align 8, !tbaa !14
  switch i64 %11, label %35 [
    i64 7, label %30
    i64 8, label %25
    i64 9, label %15
    i64 10, label %12
  ]

12:                                               ; preds = %._crit_edge.peel
  %13 = call i64 @f2c_isamax(ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 8), ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 16)) #4
  store i64 %13, ptr %2, align 8, !tbaa !11
  %14 = call i32 @itest1_(ptr noundef nonnull %2, ptr noundef nonnull @check1_.itrue2)
  br label %._crit_edge.preheader

15:                                               ; preds = %._crit_edge.peel
  %16 = mul i64 %8, 5
  %17 = add i64 %16, -5
  %18 = getelementptr inbounds [10 x float], ptr @check1_.sa, i64 0, i64 %17
  %19 = call i32 @f2c_sscal(ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 8), ptr noundef nonnull %18, ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 16)) #4
  %20 = load i64, ptr %5, align 8, !tbaa !11
  store i64 %20, ptr %2, align 8, !tbaa !11
  %.not2124.peel = icmp slt i64 %20, 1
  br i1 %.not2124.peel, label %._crit_edge28.peel, label %.lr.ph27.peel

.lr.ph27.peel:                                    ; preds = %15
  %21 = load i64, ptr getelementptr inbounds (i8, ptr @combla_, i64 16), align 8, !tbaa !5
  %22 = mul i64 %21, 160
  %scevgep32.peel = getelementptr i8, ptr getelementptr (i8, ptr @check1_.dtrue5, i64 -160), i64 %22
  %23 = shl nuw i64 %20, 2
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 %7, ptr align 16 %scevgep32.peel, i64 %23, i1 false), !tbaa !12
  br label %._crit_edge28.peel

._crit_edge28.peel:                               ; preds = %.lr.ph27.peel, %15
  %24 = call i32 @stest_(ptr noundef nonnull %5, ptr noundef nonnull %4, ptr noundef nonnull %7, ptr noundef nonnull %7, ptr noundef %0)
  br label %._crit_edge.preheader

25:                                               ; preds = %._crit_edge.peel
  %26 = load float, ptr @check1_.dtrue3, align 16, !tbaa !12
  store float %26, ptr %6, align 4, !tbaa !12
  %27 = call double @f2c_sasum(ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 8), ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 16)) #4
  %28 = fptrunc double %27 to float
  store float %28, ptr %3, align 4, !tbaa !12
  %29 = call i32 @stest1_(ptr noundef nonnull %3, ptr noundef nonnull %6, ptr noundef nonnull %6, ptr noundef %0)
  br label %._crit_edge.preheader

30:                                               ; preds = %._crit_edge.peel
  %31 = load float, ptr @check1_.dtrue1, align 16, !tbaa !12
  store float %31, ptr %6, align 4, !tbaa !12
  %32 = call double @f2c_snrm2(ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 8), ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 16)) #4
  %33 = fptrunc double %32 to float
  store float %33, ptr %3, align 4, !tbaa !12
  %34 = call i32 @stest1_(ptr noundef nonnull %3, ptr noundef nonnull %6, ptr noundef nonnull %6, ptr noundef %0)
  br label %._crit_edge.preheader

35:                                               ; preds = %._crit_edge.peel
  %36 = call i64 @s_wsle(ptr noundef nonnull @check1_.io___31) #4
  %37 = call i64 @do_lio(ptr noundef nonnull @c__9, ptr noundef nonnull @c__1, ptr noundef nonnull @.str.2, i64 noundef 28) #4
  %38 = call i64 @e_wsle() #4
  %39 = call i32 @s_stop(ptr noundef nonnull @.str, i64 noundef 0) #4
  br label %._crit_edge.preheader

._crit_edge.preheader:                            ; preds = %12, %._crit_edge28.peel, %25, %30, %35
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.preheader, %81
  %indvar = phi i64 [ %indvar.next, %81 ], [ 1, %._crit_edge.preheader ]
  %.029 = phi i64 [ %82, %81 ], [ 2, %._crit_edge.preheader ]
  %40 = shl nuw nsw i64 %indvar, 5
  %41 = add nuw nsw i64 %40, -160
  %scevgep31 = getelementptr i8, ptr @check1_.dtrue5, i64 %41
  %42 = add nsw i64 %.029, -1
  store i64 %42, ptr getelementptr inbounds (i8, ptr @combla_, i64 8), align 8, !tbaa !10
  %43 = shl i64 %42, 1
  store i64 %43, ptr %5, align 8, !tbaa !11
  store i64 %43, ptr %2, align 8, !tbaa !11
  %scevgep = getelementptr i8, ptr @check1_.dv, i64 %41
  %44 = load i64, ptr getelementptr inbounds (i8, ptr @combla_, i64 16), align 8, !tbaa !5
  %45 = mul i64 %44, 160
  %scevgep30 = getelementptr i8, ptr %scevgep, i64 %45
  %46 = shl i64 %42, 3
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 %4, ptr align 16 %scevgep30, i64 %46, i1 false), !tbaa !12
  %47 = load i64, ptr @combla_, align 8, !tbaa !14
  switch i64 %47, label %76 [
    i64 7, label %48
    i64 8, label %54
    i64 9, label %60
    i64 10, label %72
  ]

48:                                               ; preds = %._crit_edge
  %49 = getelementptr inbounds [5 x float], ptr @check1_.dtrue1, i64 0, i64 %42
  %50 = load float, ptr %49, align 4, !tbaa !12
  store float %50, ptr %6, align 4, !tbaa !12
  %51 = call double @f2c_snrm2(ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 8), ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 16)) #4
  %52 = fptrunc double %51 to float
  store float %52, ptr %3, align 4, !tbaa !12
  %53 = call i32 @stest1_(ptr noundef nonnull %3, ptr noundef nonnull %6, ptr noundef nonnull %6, ptr noundef %0)
  br label %81

54:                                               ; preds = %._crit_edge
  %55 = getelementptr inbounds [5 x float], ptr @check1_.dtrue3, i64 0, i64 %42
  %56 = load float, ptr %55, align 4, !tbaa !12
  store float %56, ptr %6, align 4, !tbaa !12
  %57 = call double @f2c_sasum(ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 8), ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 16)) #4
  %58 = fptrunc double %57 to float
  store float %58, ptr %3, align 4, !tbaa !12
  %59 = call i32 @stest1_(ptr noundef nonnull %3, ptr noundef nonnull %6, ptr noundef nonnull %6, ptr noundef %0)
  br label %81

60:                                               ; preds = %._crit_edge
  %61 = load i64, ptr getelementptr inbounds (i8, ptr @combla_, i64 16), align 8, !tbaa !5
  %62 = mul i64 %61, 5
  %63 = add nuw nsw i64 %.029, -6
  %64 = add i64 %63, %62
  %65 = getelementptr inbounds [10 x float], ptr @check1_.sa, i64 0, i64 %64
  %66 = call i32 @f2c_sscal(ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 8), ptr noundef nonnull %65, ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 16)) #4
  %67 = load i64, ptr %5, align 8, !tbaa !11
  store i64 %67, ptr %2, align 8, !tbaa !11
  %.not2124 = icmp slt i64 %67, 1
  br i1 %.not2124, label %._crit_edge28, label %.lr.ph27

.lr.ph27:                                         ; preds = %60
  %68 = load i64, ptr getelementptr inbounds (i8, ptr @combla_, i64 16), align 8, !tbaa !5
  %69 = mul i64 %68, 160
  %scevgep32 = getelementptr i8, ptr %scevgep31, i64 %69
  %70 = shl nuw i64 %67, 2
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 %7, ptr align 16 %scevgep32, i64 %70, i1 false), !tbaa !12
  br label %._crit_edge28

._crit_edge28:                                    ; preds = %.lr.ph27, %60
  %71 = call i32 @stest_(ptr noundef nonnull %5, ptr noundef nonnull %4, ptr noundef nonnull %7, ptr noundef nonnull %7, ptr noundef %0)
  br label %81

72:                                               ; preds = %._crit_edge
  %73 = call i64 @f2c_isamax(ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 8), ptr noundef nonnull %4, ptr noundef nonnull getelementptr inbounds (i8, ptr @combla_, i64 16)) #4
  store i64 %73, ptr %2, align 8, !tbaa !11
  %74 = getelementptr inbounds [5 x i64], ptr @check1_.itrue2, i64 0, i64 %42
  %75 = call i32 @itest1_(ptr noundef nonnull %2, ptr noundef nonnull %74)
  br label %81

76:                                               ; preds = %._crit_edge
  %77 = call i64 @s_wsle(ptr noundef nonnull @check1_.io___31) #4
  %78 = call i64 @do_lio(ptr noundef nonnull @c__9, ptr noundef nonnull @c__1, ptr noundef nonnull @.str.2, i64 noundef 28) #4
  %79 = call i64 @e_wsle() #4
  %80 = call i32 @s_stop(ptr noundef nonnull @.str, i64 noundef 0) #4
  br label %81

81:                                               ; preds = %48, %._crit_edge28, %76, %72, %54
  %82 = add nuw nsw i64 %.029, 1
  %indvar.next = add nuw nsw i64 %indvar, 1
  %exitcond.not = icmp eq i64 %indvar.next, 5
  br i1 %exitcond.not, label %.loopexit, label %._crit_edge, !llvm.loop !15

.loopexit:                                        ; preds = %81
  %83 = load i64, ptr getelementptr inbounds (i8, ptr @combla_, i64 16), align 8, !tbaa !5
  %84 = add nsw i64 %83, 1
  store i64 %84, ptr getelementptr inbounds (i8, ptr @combla_, i64 16), align 8, !tbaa !5
  %85 = icmp slt i64 %83, 2
  br i1 %85, label %._crit_edge.peel, label %86, !llvm.loop !18

86:                                               ; preds = %.loopexit
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #4
  ret i32 0
}

declare i32 @s_stop(ptr noundef, i64 noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @stest1_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i64 @s_wsle(ptr noundef) local_unnamed_addr #2

declare i64 @do_lio(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

declare i64 @e_wsle() local_unnamed_addr #2

declare double @f2c_snrm2(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare double @f2c_sasum(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @stest_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare i64 @f2c_isamax(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @itest1_(ptr noundef, ptr noundef) local_unnamed_addr #1

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

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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, !7, i64 16}
!6 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 8}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !8, i64 0}
!14 = !{!6, !7, i64 0}
!15 = distinct !{!15, !16, !17}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!"llvm.loop.peeled.count", i32 1}
!18 = distinct !{!18, !16}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopFullUnrollPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass