; LLVM IR from YanzhenHuang/c-nn :: linalg (mat_pwpmat)

; 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.Matrix = type { i64, i64, ptr }

@stderr = external global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [154 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @mat_create(i64 noundef, i64 noundef, ptr noundef) #0

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #2

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

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

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

; Function Attrs: nounwind uwtable
define dso_local ptr @mat_pwpmat(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %3, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.Matrix, ptr %8, i32 0, i32 0
  %10 = load i64, ptr %9, align 8, !tbaa !9
  %11 = icmp sle i64 %10, 0
  br i1 %11, label %27, label %12

12:                                               ; preds = %2
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.Matrix, ptr %13, i32 0, i32 1
  %15 = load i64, ptr %14, align 8, !tbaa !12
  %16 = icmp sle i64 %15, 0
  br i1 %16, label %27, label %17

17:                                               ; preds = %12
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.Matrix, ptr %18, i32 0, i32 0
  %20 = load i64, ptr %19, align 8, !tbaa !9
  %21 = icmp sle i64 %20, 0
  br i1 %21, label %27, label %22

22:                                               ; preds = %17
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.Matrix, ptr %23, i32 0, i32 1
  %25 = load i64, ptr %24, align 8, !tbaa !12
  %26 = icmp sle i64 %25, 0
  br i1 %26, label %27, label %30

27:                                               ; preds = %22, %17, %12, %2
  %28 = load ptr, ptr @stderr, align 8, !tbaa !5
  %29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %28, ptr noundef @.str.13) #5
  call void @exit(i32 noundef 1) #6
  unreachable

30:                                               ; preds = %22
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.Matrix, ptr %31, i32 0, i32 0
  %33 = load i64, ptr %32, align 8, !tbaa !9
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.Matrix, ptr %34, i32 0, i32 0
  %36 = load i64, ptr %35, align 8, !tbaa !9
  %37 = icmp ne i64 %33, %36
  br i1 %37, label %46, label %38

38:                                               ; preds = %30
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.Matrix, ptr %39, i32 0, i32 1
  %41 = load i64, ptr %40, align 8, !tbaa !12
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.Matrix, ptr %42, i32 0, i32 1
  %44 = load i64, ptr %43, align 8, !tbaa !12
  %45 = icmp ne i64 %41, %44
  br i1 %45, label %46, label %61

46:                                               ; preds = %38, %30
  %47 = load ptr, ptr @stderr, align 8, !tbaa !5
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.Matrix, ptr %48, i32 0, i32 0
  %50 = load i64, ptr %49, align 8, !tbaa !9
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.Matrix, ptr %51, i32 0, i32 1
  %53 = load i64, ptr %52, align 8, !tbaa !12
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.Matrix, ptr %54, i32 0, i32 0
  %56 = load i64, ptr %55, align 8, !tbaa !9
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.Matrix, ptr %57, i32 0, i32 1
  %59 = load i64, ptr %58, align 8, !tbaa !12
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %47, ptr noundef @.str.14, i64 noundef %50, i64 noundef %53, i64 noundef %56, i64 noundef %59) #5
  call void @exit(i32 noundef 1) #6
  unreachable

61:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.Matrix, ptr %62, i32 0, i32 0
  %64 = load i64, ptr %63, align 8, !tbaa !9
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.Matrix, ptr %65, i32 0, i32 1
  %67 = load i64, ptr %66, align 8, !tbaa !12
  %68 = mul nsw i64 %64, %67
  %69 = mul i64 %68, 8
  %70 = call noalias ptr @malloc(i64 noundef %69) #7
  store ptr %70, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  store i64 0, ptr %6, align 8, !tbaa !13
  br label %71

71:                                               ; preds = %99, %61
  %72 = load i64, ptr %6, align 8, !tbaa !13
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.Matrix, ptr %73, i32 0, i32 0
  %75 = load i64, ptr %74, align 8, !tbaa !9
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.Matrix, ptr %76, i32 0, i32 1
  %78 = load i64, ptr %77, align 8, !tbaa !12
  %79 = mul nsw i64 %75, %78
  %80 = icmp slt i64 %72, %79
  br i1 %80, label %82, label %81

81:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %102

82:                                               ; preds = %71
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.Matrix, ptr %83, i32 0, i32 2
  %85 = load ptr, ptr %84, align 8, !tbaa !14
  %86 = load i64, ptr %6, align 8, !tbaa !13
  %87 = getelementptr inbounds double, ptr %85, i64 %86
  %88 = load double, ptr %87, align 8, !tbaa !15
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.Matrix, ptr %89, i32 0, i32 2
  %91 = load ptr, ptr %90, align 8, !tbaa !14
  %92 = load i64, ptr %6, align 8, !tbaa !13
  %93 = getelementptr inbounds double, ptr %91, i64 %92
  %94 = load double, ptr %93, align 8, !tbaa !15
  %95 = fmul double %88, %94
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  %97 = load i64, ptr %6, align 8, !tbaa !13
  %98 = getelementptr inbounds double, ptr %96, i64 %97
  store double %95, ptr %98, align 8, !tbaa !15
  br label %99

99:                                               ; preds = %82
  %100 = load i64, ptr %6, align 8, !tbaa !13
  %101 = add nsw i64 %100, 1
  store i64 %101, ptr %6, align 8, !tbaa !13
  br label %71, !llvm.loop !17

102:                                              ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.Matrix, ptr %103, i32 0, i32 0
  %105 = load i64, ptr %104, align 8, !tbaa !9
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.Matrix, ptr %106, i32 0, i32 1
  %108 = load i64, ptr %107, align 8, !tbaa !12
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = call ptr @mat_create(i64 noundef %105, i64 noundef %108, ptr noundef %109)
  store ptr %110, ptr %7, align 8, !tbaa !5
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  ret ptr %111
}

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

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

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


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

@stderr = external local_unnamed_addr global ptr, align 8
@.str.13 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [154 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local ptr @mat_create(i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
define dso_local ptr @mat_pwpmat(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = load i64, ptr %0, align 8, !tbaa !5
  %4 = icmp slt i64 %3, 1
  br i1 %4, label %16, label %5

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load i64, ptr %6, align 8, !tbaa !11
  %8 = icmp slt i64 %7, 1
  br i1 %8, label %16, label %9

9:                                                ; preds = %5
  %10 = load i64, ptr %1, align 8, !tbaa !5
  %11 = icmp slt i64 %10, 1
  br i1 %11, label %16, label %12

12:                                               ; preds = %9
  %13 = getelementptr inbounds i8, ptr %1, i64 8
  %14 = load i64, ptr %13, align 8, !tbaa !11
  %15 = icmp slt i64 %14, 1
  br i1 %15, label %16, label %19

16:                                               ; preds = %12, %9, %5, %2
  %17 = load ptr, ptr @stderr, align 8, !tbaa !12
  %18 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef nonnull @.str.13) #4
  tail call void @exit(i32 noundef 1) #5
  unreachable

19:                                               ; preds = %12
  %.not = icmp eq i64 %3, %10
  %.not31 = icmp eq i64 %7, %14
  %or.cond = and i1 %.not, %.not31
  br i1 %or.cond, label %.lr.ph, label %20

20:                                               ; preds = %19
  %21 = load ptr, ptr @stderr, align 8, !tbaa !12
  %22 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef nonnull @.str.14, i64 noundef %3, i64 noundef %7, i64 noundef %10, i64 noundef %14) #4
  tail call void @exit(i32 noundef 1) #5
  unreachable

.lr.ph:                                           ; preds = %19
  %23 = mul nuw nsw i64 %7, %3
  %24 = shl i64 %23, 3
  %25 = tail call noalias ptr @malloc(i64 noundef %24) #6
  %26 = getelementptr inbounds i8, ptr %0, i64 16
  %27 = load ptr, ptr %26, align 8, !tbaa !13
  %28 = getelementptr inbounds i8, ptr %1, i64 16
  %29 = load ptr, ptr %28, align 8, !tbaa !13
  %min.iters.check = icmp ult i64 %23, 8
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph
  %.032.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %23, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %.032.prol = phi i64 [ %36, %scalar.ph.prol ], [ %.032.ph, %scalar.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %30 = getelementptr inbounds double, ptr %27, i64 %.032.prol
  %31 = load double, ptr %30, align 8, !tbaa !14
  %32 = getelementptr inbounds double, ptr %29, i64 %.032.prol
  %33 = load double, ptr %32, align 8, !tbaa !14
  %34 = fmul double %31, %33
  %35 = getelementptr inbounds double, ptr %25, i64 %.032.prol
  store double %34, ptr %35, align 8, !tbaa !14
  %36 = add nuw nsw i64 %.032.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !16

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %.032.unr = phi i64 [ %.032.ph, %scalar.ph.preheader ], [ %36, %scalar.ph.prol ]
  %37 = sub nsw i64 %.032.ph, %23
  %38 = icmp ugt i64 %37, -4
  br i1 %38, label %._crit_edge, label %scalar.ph

vector.memcheck:                                  ; preds = %.lr.ph
  %39 = ptrtoint ptr %29 to i64
  %40 = ptrtoint ptr %27 to i64
  %41 = ptrtoint ptr %25 to i64
  %42 = sub i64 %41, %40
  %diff.check = icmp ult i64 %42, 32
  %43 = sub i64 %41, %39
  %diff.check33 = icmp ult i64 %43, 32
  %conflict.rdx = or i1 %diff.check, %diff.check33
  br i1 %conflict.rdx, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %23, 9223372036854775804
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %44 = getelementptr inbounds double, ptr %27, i64 %index
  %45 = getelementptr inbounds i8, ptr %44, i64 16
  %wide.load = load <2 x double>, ptr %44, align 8, !tbaa !14
  %wide.load34 = load <2 x double>, ptr %45, align 8, !tbaa !14
  %46 = getelementptr inbounds double, ptr %29, i64 %index
  %47 = getelementptr inbounds i8, ptr %46, i64 16
  %wide.load35 = load <2 x double>, ptr %46, align 8, !tbaa !14
  %wide.load36 = load <2 x double>, ptr %47, align 8, !tbaa !14
  %48 = fmul <2 x double> %wide.load, %wide.load35
  %49 = fmul <2 x double> %wide.load34, %wide.load36
  %50 = getelementptr inbounds double, ptr %25, i64 %index
  %51 = getelementptr inbounds i8, ptr %50, i64 16
  store <2 x double> %48, ptr %50, align 8, !tbaa !14
  store <2 x double> %49, ptr %51, align 8, !tbaa !14
  %index.next = add nuw i64 %index, 4
  %52 = icmp eq i64 %index.next, %n.vec
  br i1 %52, label %middle.block, label %vector.body, !llvm.loop !18

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %23, %n.vec
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

._crit_edge:                                      ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %53 = tail call ptr @mat_create(i64 noundef %3, i64 noundef %7, ptr noundef nonnull %25)
  ret ptr %53

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %.032 = phi i64 [ %81, %scalar.ph ], [ %.032.unr, %scalar.ph.prol.loopexit ]
  %54 = getelementptr inbounds double, ptr %27, i64 %.032
  %55 = load double, ptr %54, align 8, !tbaa !14
  %56 = getelementptr inbounds double, ptr %29, i64 %.032
  %57 = load double, ptr %56, align 8, !tbaa !14
  %58 = fmul double %55, %57
  %59 = getelementptr inbounds double, ptr %25, i64 %.032
  store double %58, ptr %59, align 8, !tbaa !14
  %60 = add nuw nsw i64 %.032, 1
  %61 = getelementptr inbounds double, ptr %27, i64 %60
  %62 = load double, ptr %61, align 8, !tbaa !14
  %63 = getelementptr inbounds double, ptr %29, i64 %60
  %64 = load double, ptr %63, align 8, !tbaa !14
  %65 = fmul double %62, %64
  %66 = getelementptr inbounds double, ptr %25, i64 %60
  store double %65, ptr %66, align 8, !tbaa !14
  %67 = add nuw nsw i64 %.032, 2
  %68 = getelementptr inbounds double, ptr %27, i64 %67
  %69 = load double, ptr %68, align 8, !tbaa !14
  %70 = getelementptr inbounds double, ptr %29, i64 %67
  %71 = load double, ptr %70, align 8, !tbaa !14
  %72 = fmul double %69, %71
  %73 = getelementptr inbounds double, ptr %25, i64 %67
  store double %72, ptr %73, align 8, !tbaa !14
  %74 = add nuw nsw i64 %.032, 3
  %75 = getelementptr inbounds double, ptr %27, i64 %74
  %76 = load double, ptr %75, align 8, !tbaa !14
  %77 = getelementptr inbounds double, ptr %29, i64 %74
  %78 = load double, ptr %77, align 8, !tbaa !14
  %79 = fmul double %76, %78
  %80 = getelementptr inbounds double, ptr %25, i64 %74
  store double %79, ptr %80, align 8, !tbaa !14
  %81 = add nuw nsw i64 %.032, 4
  %exitcond.not.3 = icmp eq i64 %81, %23
  br i1 %exitcond.not.3, label %._crit_edge, label %scalar.ph, !llvm.loop !22
}

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 = { 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { cold nounwind }
attributes #5 = { noreturn nounwind }
attributes #6 = { nounwind allocsize(0) }

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass