; LLVM IR from niuyishuai/PDCABB :: LAPACK_BLAS/LAPACK (dlarzt)

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

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@c_b8 = external hidden global double, align 8
@c__1 = external hidden global i64, align 8
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @dlarzt_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8) #0 {
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca double, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  %28 = alloca i64, align 8
  %29 = alloca i32, align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store ptr %3, ptr %14, align 8, !tbaa !5
  store ptr %4, ptr %15, align 8, !tbaa !5
  store ptr %5, ptr %16, align 8, !tbaa !5
  store ptr %6, ptr %17, align 8, !tbaa !5
  store ptr %7, ptr %18, align 8, !tbaa !5
  store ptr %8, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #3
  %30 = load ptr, ptr %16, align 8, !tbaa !5
  %31 = load i64, ptr %30, align 8, !tbaa !9
  store i64 %31, ptr %22, align 8, !tbaa !9
  %32 = load i64, ptr %22, align 8, !tbaa !9
  %33 = add nsw i64 1, %32
  store i64 %33, ptr %23, align 8, !tbaa !9
  %34 = load i64, ptr %23, align 8, !tbaa !9
  %35 = load ptr, ptr %15, align 8, !tbaa !5
  %36 = sub i64 0, %34
  %37 = getelementptr inbounds double, ptr %35, i64 %36
  store ptr %37, ptr %15, align 8, !tbaa !5
  %38 = load ptr, ptr %17, align 8, !tbaa !5
  %39 = getelementptr inbounds double, ptr %38, i32 -1
  store ptr %39, ptr %17, align 8, !tbaa !5
  %40 = load ptr, ptr %19, align 8, !tbaa !5
  %41 = load i64, ptr %40, align 8, !tbaa !9
  store i64 %41, ptr %20, align 8, !tbaa !9
  %42 = load i64, ptr %20, align 8, !tbaa !9
  %43 = add nsw i64 1, %42
  store i64 %43, ptr %21, align 8, !tbaa !9
  %44 = load i64, ptr %21, align 8, !tbaa !9
  %45 = load ptr, ptr %18, align 8, !tbaa !5
  %46 = sub i64 0, %44
  %47 = getelementptr inbounds double, ptr %45, i64 %46
  store ptr %47, ptr %18, align 8, !tbaa !5
  store i64 0, ptr %28, align 8, !tbaa !9
  %48 = load ptr, ptr %11, align 8, !tbaa !5
  %49 = call i64 @lsame_(ptr noundef %48, ptr noundef @.str)
  %50 = icmp ne i64 %49, 0
  br i1 %50, label %52, label %51

51:                                               ; preds = %9
  store i64 -1, ptr %28, align 8, !tbaa !9
  br label %58

52:                                               ; preds = %9
  %53 = load ptr, ptr %12, align 8, !tbaa !5
  %54 = call i64 @lsame_(ptr noundef %53, ptr noundef @.str.1)
  %55 = icmp ne i64 %54, 0
  br i1 %55, label %57, label %56

56:                                               ; preds = %52
  store i64 -2, ptr %28, align 8, !tbaa !9
  br label %57

57:                                               ; preds = %56, %52
  br label %58

58:                                               ; preds = %57, %51
  %59 = load i64, ptr %28, align 8, !tbaa !9
  %60 = icmp ne i64 %59, 0
  br i1 %60, label %61, label %65

61:                                               ; preds = %58
  %62 = load i64, ptr %28, align 8, !tbaa !9
  %63 = sub nsw i64 0, %62
  store i64 %63, ptr %24, align 8, !tbaa !9
  %64 = call i32 @xerbla_(ptr noundef @.str.2, ptr noundef %24)
  store i32 0, ptr %10, align 4
  store i32 1, ptr %29, align 4
  br label %175

65:                                               ; preds = %58
  %66 = load ptr, ptr %14, align 8, !tbaa !5
  %67 = load i64, ptr %66, align 8, !tbaa !9
  store i64 %67, ptr %26, align 8, !tbaa !9
  br label %68

68:                                               ; preds = %171, %65
  %69 = load i64, ptr %26, align 8, !tbaa !9
  %70 = icmp sge i64 %69, 1
  br i1 %70, label %71, label %174

71:                                               ; preds = %68
  %72 = load ptr, ptr %17, align 8, !tbaa !5
  %73 = load i64, ptr %26, align 8, !tbaa !9
  %74 = getelementptr inbounds double, ptr %72, i64 %73
  %75 = load double, ptr %74, align 8, !tbaa !11
  %76 = fcmp oeq double %75, 0.000000e+00
  br i1 %76, label %77, label %97

77:                                               ; preds = %71
  %78 = load ptr, ptr %14, align 8, !tbaa !5
  %79 = load i64, ptr %78, align 8, !tbaa !9
  store i64 %79, ptr %24, align 8, !tbaa !9
  %80 = load i64, ptr %26, align 8, !tbaa !9
  store i64 %80, ptr %27, align 8, !tbaa !9
  br label %81

81:                                               ; preds = %93, %77
  %82 = load i64, ptr %27, align 8, !tbaa !9
  %83 = load i64, ptr %24, align 8, !tbaa !9
  %84 = icmp sle i64 %82, %83
  br i1 %84, label %85, label %96

85:                                               ; preds = %81
  %86 = load ptr, ptr %18, align 8, !tbaa !5
  %87 = load i64, ptr %27, align 8, !tbaa !9
  %88 = load i64, ptr %26, align 8, !tbaa !9
  %89 = load i64, ptr %20, align 8, !tbaa !9
  %90 = mul nsw i64 %88, %89
  %91 = add nsw i64 %87, %90
  %92 = getelementptr inbounds double, ptr %86, i64 %91
  store double 0.000000e+00, ptr %92, align 8, !tbaa !11
  br label %93

93:                                               ; preds = %85
  %94 = load i64, ptr %27, align 8, !tbaa !9
  %95 = add nsw i64 %94, 1
  store i64 %95, ptr %27, align 8, !tbaa !9
  br label %81, !llvm.loop !13

96:                                               ; preds = %81
  br label %170

97:                                               ; preds = %71
  %98 = load i64, ptr %26, align 8, !tbaa !9
  %99 = load ptr, ptr %14, align 8, !tbaa !5
  %100 = load i64, ptr %99, align 8, !tbaa !9
  %101 = icmp slt i64 %98, %100
  br i1 %101, label %102, label %158

102:                                              ; preds = %97
  %103 = load ptr, ptr %14, align 8, !tbaa !5
  %104 = load i64, ptr %103, align 8, !tbaa !9
  %105 = load i64, ptr %26, align 8, !tbaa !9
  %106 = sub nsw i64 %104, %105
  store i64 %106, ptr %24, align 8, !tbaa !9
  %107 = load ptr, ptr %17, align 8, !tbaa !5
  %108 = load i64, ptr %26, align 8, !tbaa !9
  %109 = getelementptr inbounds double, ptr %107, i64 %108
  %110 = load double, ptr %109, align 8, !tbaa !11
  %111 = fneg double %110
  store double %111, ptr %25, align 8, !tbaa !11
  %112 = load ptr, ptr %13, align 8, !tbaa !5
  %113 = load ptr, ptr %15, align 8, !tbaa !5
  %114 = load i64, ptr %26, align 8, !tbaa !9
  %115 = add nsw i64 %114, 1
  %116 = load i64, ptr %22, align 8, !tbaa !9
  %117 = add nsw i64 %115, %116
  %118 = getelementptr inbounds double, ptr %113, i64 %117
  %119 = load ptr, ptr %16, align 8, !tbaa !5
  %120 = load ptr, ptr %15, align 8, !tbaa !5
  %121 = load i64, ptr %26, align 8, !tbaa !9
  %122 = load i64, ptr %22, align 8, !tbaa !9
  %123 = add nsw i64 %121, %122
  %124 = getelementptr inbounds double, ptr %120, i64 %123
  %125 = load ptr, ptr %16, align 8, !tbaa !5
  %126 = load ptr, ptr %18, align 8, !tbaa !5
  %127 = load i64, ptr %26, align 8, !tbaa !9
  %128 = add nsw i64 %127, 1
  %129 = load i64, ptr %26, align 8, !tbaa !9
  %130 = load i64, ptr %20, align 8, !tbaa !9
  %131 = mul nsw i64 %129, %130
  %132 = add nsw i64 %128, %131
  %133 = getelementptr inbounds double, ptr %126, i64 %132
  %134 = call i32 @f2c_dgemv(ptr noundef @.str.3, ptr noundef %24, ptr noundef %112, ptr noundef %25, ptr noundef %118, ptr noundef %119, ptr noundef %124, ptr noundef %125, ptr noundef @c_b8, ptr noundef %133, ptr noundef @c__1)
  %135 = load ptr, ptr %14, align 8, !tbaa !5
  %136 = load i64, ptr %135, align 8, !tbaa !9
  %137 = load i64, ptr %26, align 8, !tbaa !9
  %138 = sub nsw i64 %136, %137
  store i64 %138, ptr %24, align 8, !tbaa !9
  %139 = load ptr, ptr %18, align 8, !tbaa !5
  %140 = load i64, ptr %26, align 8, !tbaa !9
  %141 = add nsw i64 %140, 1
  %142 = load i64, ptr %26, align 8, !tbaa !9
  %143 = add nsw i64 %142, 1
  %144 = load i64, ptr %20, align 8, !tbaa !9
  %145 = mul nsw i64 %143, %144
  %146 = add nsw i64 %141, %145
  %147 = getelementptr inbounds double, ptr %139, i64 %146
  %148 = load ptr, ptr %19, align 8, !tbaa !5
  %149 = load ptr, ptr %18, align 8, !tbaa !5
  %150 = load i64, ptr %26, align 8, !tbaa !9
  %151 = add nsw i64 %150, 1
  %152 = load i64, ptr %26, align 8, !tbaa !9
  %153 = load i64, ptr %20, align 8, !tbaa !9
  %154 = mul nsw i64 %152, %153
  %155 = add nsw i64 %151, %154
  %156 = getelementptr inbounds double, ptr %149, i64 %155
  %157 = call i32 @f2c_dtrmv(ptr noundef @.str.4, ptr noundef @.str.3, ptr noundef @.str.5, ptr noundef %24, ptr noundef %147, ptr noundef %148, ptr noundef %156, ptr noundef @c__1)
  br label %158

158:                                              ; preds = %102, %97
  %159 = load ptr, ptr %17, align 8, !tbaa !5
  %160 = load i64, ptr %26, align 8, !tbaa !9
  %161 = getelementptr inbounds double, ptr %159, i64 %160
  %162 = load double, ptr %161, align 8, !tbaa !11
  %163 = load ptr, ptr %18, align 8, !tbaa !5
  %164 = load i64, ptr %26, align 8, !tbaa !9
  %165 = load i64, ptr %26, align 8, !tbaa !9
  %166 = load i64, ptr %20, align 8, !tbaa !9
  %167 = mul nsw i64 %165, %166
  %168 = add nsw i64 %164, %167
  %169 = getelementptr inbounds double, ptr %163, i64 %168
  store double %162, ptr %169, align 8, !tbaa !11
  br label %170

170:                                              ; preds = %158, %96
  br label %171

171:                                              ; preds = %170
  %172 = load i64, ptr %26, align 8, !tbaa !9
  %173 = add nsw i64 %172, -1
  store i64 %173, ptr %26, align 8, !tbaa !9
  br label %68, !llvm.loop !15

174:                                              ; preds = %68
  store i32 0, ptr %10, align 4
  store i32 1, ptr %29, align 4
  br label %175

175:                                              ; preds = %174, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  %176 = load i32, ptr %10, align 4
  ret i32 %176
}

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

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

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

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

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

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


; 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 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [13 x i8], align 1
@c_b8 = external hidden global double, align 8
@c__1 = external hidden global i64, align 8
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [9 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @dlarzt_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3, ptr noundef %4, ptr noundef %5, ptr nocapture noundef readonly %6, ptr noundef %7, ptr noundef %8) local_unnamed_addr #0 {
  %10 = alloca i64, align 8
  %11 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  %12 = getelementptr inbounds i8, ptr %6, i64 -8
  %13 = load i64, ptr %8, align 8, !tbaa !5
  %14 = xor i64 %13, -1
  %15 = getelementptr inbounds double, ptr %7, i64 %14
  %16 = tail call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str) #4
  %.not = icmp eq i64 %16, 0
  br i1 %.not, label %.thread, label %17

17:                                               ; preds = %9
  %18 = tail call i64 @lsame_(ptr noundef %1, ptr noundef nonnull @.str.1) #4
  %.not66.not = icmp eq i64 %18, 0
  br i1 %.not66.not, label %.thread, label %20

.thread:                                          ; preds = %9, %17
  %.0.neg72 = phi i64 [ 2, %17 ], [ 1, %9 ]
  store i64 %.0.neg72, ptr %10, align 8, !tbaa !5
  %19 = call i32 @xerbla_(ptr noundef nonnull @.str.2, ptr noundef nonnull %10) #4
  br label %.loopexit73

20:                                               ; preds = %17
  %21 = load i64, ptr %3, align 8, !tbaa !5
  %invariant.gep76 = getelementptr i8, ptr %4, i64 -8
  %22 = icmp sgt i64 %21, 0
  br i1 %22, label %.lr.ph80, label %.loopexit73

.lr.ph80:                                         ; preds = %20
  %23 = add i64 %13, 1
  %24 = shl i64 %21, 3
  %25 = add i64 %24, -8
  %26 = mul i64 %13, %25
  %27 = shl i64 %13, 3
  %28 = sub nuw nsw i64 -8, %27
  %29 = getelementptr i8, ptr %7, i64 %26
  %30 = getelementptr i8, ptr %29, i64 %24
  %31 = getelementptr i8, ptr %30, i64 -8
  br label %32

32:                                               ; preds = %.lr.ph80, %.loopexit
  %indvar = phi i64 [ 0, %.lr.ph80 ], [ %indvar.next, %.loopexit ]
  %.06378 = phi i64 [ %21, %.lr.ph80 ], [ %62, %.loopexit ]
  %33 = mul i64 %28, %indvar
  %scevgep = getelementptr i8, ptr %31, i64 %33
  %reass.sub = sub nsw i64 %indvar, %21
  %34 = add i64 %reass.sub, 1
  %35 = getelementptr inbounds double, ptr %12, i64 %.06378
  %36 = load double, ptr %35, align 8, !tbaa !9
  %37 = fcmp oeq double %36, 0.000000e+00
  %38 = load i64, ptr %3, align 8, !tbaa !5
  br i1 %37, label %39, label %42

39:                                               ; preds = %32
  store i64 %38, ptr %10, align 8, !tbaa !5
  %.not6874 = icmp sgt i64 %.06378, %38
  br i1 %.not6874, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %39
  %40 = add i64 %38, %34
  %41 = shl nuw i64 %40, 3
  call void @llvm.memset.p0.i64(ptr align 8 %scevgep, i8 0, i64 %41, i1 false), !tbaa !9
  br label %.loopexit

42:                                               ; preds = %32
  %43 = icmp slt i64 %.06378, %38
  br i1 %43, label %44, label %58

44:                                               ; preds = %42
  %45 = sub nsw i64 %38, %.06378
  store i64 %45, ptr %10, align 8, !tbaa !5
  %46 = fneg double %36
  store double %46, ptr %11, align 8, !tbaa !9
  %47 = add nuw nsw i64 %.06378, 1
  %48 = getelementptr inbounds double, ptr %4, i64 %.06378
  %gep77 = getelementptr double, ptr %invariant.gep76, i64 %.06378
  %49 = mul nsw i64 %.06378, %13
  %50 = getelementptr double, ptr %15, i64 %47
  %51 = getelementptr double, ptr %50, i64 %49
  %52 = call i32 @f2c_dgemv(ptr noundef nonnull @.str.3, ptr noundef nonnull %10, ptr noundef %2, ptr noundef nonnull %11, ptr noundef nonnull %48, ptr noundef nonnull %5, ptr noundef %gep77, ptr noundef nonnull %5, ptr noundef nonnull @c_b8, ptr noundef %51, ptr noundef nonnull @c__1) #4
  %53 = load i64, ptr %3, align 8, !tbaa !5
  %54 = sub nsw i64 %53, %.06378
  store i64 %54, ptr %10, align 8, !tbaa !5
  %55 = mul i64 %47, %23
  %56 = getelementptr inbounds double, ptr %15, i64 %55
  %57 = call i32 @f2c_dtrmv(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.5, ptr noundef nonnull %10, ptr noundef %56, ptr noundef nonnull %8, ptr noundef %51, ptr noundef nonnull @c__1) #4
  %.pre = load double, ptr %35, align 8, !tbaa !9
  br label %58

58:                                               ; preds = %44, %42
  %59 = phi double [ %.pre, %44 ], [ %36, %42 ]
  %60 = mul i64 %.06378, %23
  %61 = getelementptr inbounds double, ptr %15, i64 %60
  store double %59, ptr %61, align 8, !tbaa !9
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph, %39, %58
  %62 = add nsw i64 %.06378, -1
  %indvar.next = add nuw nsw i64 %indvar, 1
  %exitcond.not = icmp eq i64 %indvar.next, %21
  br i1 %exitcond.not, label %.loopexit73, label %32, !llvm.loop !11

.loopexit73:                                      ; preds = %.loopexit, %20, %.thread
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  ret i32 0
}

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

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

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

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

declare i32 @f2c_dtrmv(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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


; Effective O3 passes: ADCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass