; LLVM IR from intel/cryptography-primitives :: sources/ippcp/gfpec (pcpgfpx_multiexp)

; 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._gsModEngine = type { ptr, i32, i32, i32, i32, i32, ptr, ptr, ptr, i64, ptr, ptr, ptr, ptr, i32, i32, ptr }
%struct._gsModMethod = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

; Function Attrs: nounwind uwtable
define dso_local ptr @cpGFpxMultiExp(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %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 i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca [6 x ptr], align 16
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store i32 %4, ptr %12, align 4, !tbaa !9
  store ptr %5, ptr %13, align 8, !tbaa !5
  store ptr %6, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %25 = load ptr, ptr %14, align 8, !tbaa !5
  %26 = load ptr, ptr %14, align 8, !tbaa !5
  %27 = call i64 @IPP_INT_PTR(ptr noundef %26)
  %28 = and i64 %27, 63
  %29 = xor i64 %28, -1
  %30 = add nsw i64 %29, 1
  %31 = and i64 %30, 63
  %32 = getelementptr inbounds i8, ptr %25, i64 %31
  store ptr %32, ptr %15, align 8, !tbaa !5
  %33 = load ptr, ptr %15, align 8, !tbaa !5
  %34 = load ptr, ptr %9, align 8, !tbaa !5
  %35 = load i32, ptr %12, align 4, !tbaa !9
  %36 = load ptr, ptr %13, align 8, !tbaa !5
  call void @cpPrecomputeMultiExp(ptr noundef %33, ptr noundef %34, i32 noundef %35, ptr noundef %36)
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %37 = load ptr, ptr %13, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct._gsModEngine, ptr %37, i32 0, i32 6
  %39 = load ptr, ptr %38, align 8, !tbaa !11
  %40 = getelementptr inbounds %struct._gsModMethod, ptr %39, i32 0, i32 2
  %41 = load ptr, ptr %40, align 8, !tbaa !14
  store ptr %41, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %42 = load ptr, ptr %13, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct._gsModEngine, ptr %42, i32 0, i32 6
  %44 = load ptr, ptr %43, align 8, !tbaa !11
  %45 = getelementptr inbounds %struct._gsModMethod, ptr %44, i32 0, i32 3
  %46 = load ptr, ptr %45, align 8, !tbaa !16
  store ptr %46, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %47 = load ptr, ptr %13, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct._gsModEngine, ptr %47, i32 0, i32 3
  %49 = load i32, ptr %48, align 8, !tbaa !17
  store i32 %49, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  %50 = load ptr, ptr %10, align 8, !tbaa !5
  %51 = load ptr, ptr %11, align 8, !tbaa !5
  %52 = load i32, ptr %12, align 4, !tbaa !9
  %53 = call i32 @cpGetMaxBitsizeExponent(ptr noundef %50, ptr noundef %51, i32 noundef %52)
  store i32 %53, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 48, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %54

54:                                               ; preds = %78, %7
  %55 = load i32, ptr %21, align 4, !tbaa !9
  %56 = load i32, ptr %12, align 4, !tbaa !9
  %57 = icmp slt i32 %55, %56
  br i1 %57, label %58, label %81

58:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %59 = load ptr, ptr %13, align 8, !tbaa !5
  %60 = call ptr @gsModPoolAlloc(ptr noundef %59, i32 noundef 1)
  store ptr %60, ptr %22, align 8, !tbaa !5
  %61 = load ptr, ptr %22, align 8, !tbaa !5
  %62 = load i32, ptr %18, align 4, !tbaa !9
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = load i32, ptr %21, align 4, !tbaa !9
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds ptr, ptr %63, i64 %65
  %67 = load ptr, ptr %66, align 8, !tbaa !5
  %68 = load ptr, ptr %11, align 8, !tbaa !5
  %69 = load i32, ptr %21, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds i32, ptr %68, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !9
  %73 = call ptr @cpGFpElementCopyPad(ptr noundef %61, i32 noundef %62, ptr noundef %67, i32 noundef %72)
  %74 = load ptr, ptr %22, align 8, !tbaa !5
  %75 = load i32, ptr %21, align 4, !tbaa !9
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [6 x ptr], ptr %20, i64 0, i64 %76
  store ptr %74, ptr %77, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  br label %78

78:                                               ; preds = %58
  %79 = load i32, ptr %21, align 4, !tbaa !9
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %21, align 4, !tbaa !9
  br label %54, !llvm.loop !18

81:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  %82 = load ptr, ptr %13, align 8, !tbaa !5
  %83 = call ptr @gsModPoolAlloc(ptr noundef %82, i32 noundef 1)
  store ptr %83, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  %84 = getelementptr inbounds [6 x ptr], ptr %20, i64 0, i64 0
  %85 = load i32, ptr %12, align 4, !tbaa !9
  %86 = load i32, ptr %19, align 4, !tbaa !9
  %87 = add nsw i32 %86, -1
  store i32 %87, ptr %19, align 4, !tbaa !9
  %88 = call i32 @GetIndex(ptr noundef %84, i32 noundef %85, i32 noundef %87)
  store i32 %88, ptr %24, align 4, !tbaa !9
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = load i32, ptr %18, align 4, !tbaa !9
  %91 = load ptr, ptr %15, align 8, !tbaa !5
  %92 = load i32, ptr %24, align 4, !tbaa !9
  %93 = load i32, ptr %12, align 4, !tbaa !9
  call void @gsScrambleGet_sscm(ptr noundef %89, i32 noundef %90, ptr noundef %91, i32 noundef %92, i32 noundef %93)
  %94 = load i32, ptr %19, align 4, !tbaa !9
  %95 = add nsw i32 %94, -1
  store i32 %95, ptr %19, align 4, !tbaa !9
  br label %96

96:                                               ; preds = %120, %81
  %97 = load i32, ptr %19, align 4, !tbaa !9
  %98 = icmp sge i32 %97, 0
  br i1 %98, label %99, label %123

99:                                               ; preds = %96
  %100 = load ptr, ptr %17, align 8, !tbaa !5
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = load ptr, ptr %13, align 8, !tbaa !5
  %104 = call ptr %100(ptr noundef %101, ptr noundef %102, ptr noundef %103)
  %105 = getelementptr inbounds [6 x ptr], ptr %20, i64 0, i64 0
  %106 = load i32, ptr %12, align 4, !tbaa !9
  %107 = load i32, ptr %19, align 4, !tbaa !9
  %108 = call i32 @GetIndex(ptr noundef %105, i32 noundef %106, i32 noundef %107)
  store i32 %108, ptr %24, align 4, !tbaa !9
  %109 = load ptr, ptr %23, align 8, !tbaa !5
  %110 = load i32, ptr %18, align 4, !tbaa !9
  %111 = load ptr, ptr %15, align 8, !tbaa !5
  %112 = load i32, ptr %24, align 4, !tbaa !9
  %113 = load i32, ptr %12, align 4, !tbaa !9
  call void @gsScrambleGet_sscm(ptr noundef %109, i32 noundef %110, ptr noundef %111, i32 noundef %112, i32 noundef %113)
  %114 = load ptr, ptr %16, align 8, !tbaa !5
  %115 = load ptr, ptr %8, align 8, !tbaa !5
  %116 = load ptr, ptr %8, align 8, !tbaa !5
  %117 = load ptr, ptr %23, align 8, !tbaa !5
  %118 = load ptr, ptr %13, align 8, !tbaa !5
  %119 = call ptr %114(ptr noundef %115, ptr noundef %116, ptr noundef %117, ptr noundef %118)
  br label %120

120:                                              ; preds = %99
  %121 = load i32, ptr %19, align 4, !tbaa !9
  %122 = add nsw i32 %121, -1
  store i32 %122, ptr %19, align 4, !tbaa !9
  br label %96, !llvm.loop !20

123:                                              ; preds = %96
  %124 = load ptr, ptr %13, align 8, !tbaa !5
  call void @gsModPoolFree(ptr noundef %124, i32 noundef 1)
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  %125 = load ptr, ptr %13, align 8, !tbaa !5
  %126 = load i32, ptr %12, align 4, !tbaa !9
  call void @gsModPoolFree(ptr noundef %125, i32 noundef %126)
  %127 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  ret ptr %127
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @IPP_INT_PTR(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden void @cpPrecomputeMultiExp(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden i32 @cpGetMaxBitsizeExponent(ptr noundef, ptr noundef, i32 noundef) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @gsModPoolAlloc(ptr noundef, i32 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @cpGFpElementCopyPad(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #2

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

; Function Attrs: nounwind uwtable
declare hidden i32 @GetIndex(ptr noundef, i32 noundef, i32 noundef) #0

declare void @gsScrambleGet_sscm(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @gsModPoolFree(ptr noundef, i32 noundef) #2

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 = { inlinehint 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 #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 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 32}
!12 = !{!"_gsModEngine", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !13, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !10, i64 96, !10, i64 100, !6, i64 104}
!13 = !{!"long long", !7, i64 0}
!14 = !{!15, !6, i64 16}
!15 = !{!"_gsModMethod", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80}
!16 = !{!15, !6, i64 24}
!17 = !{!12, !10, i64 16}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: nounwind uwtable
define dso_local noundef ptr @cpGFpxMultiExp(ptr noundef returned %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) local_unnamed_addr #0 {
  %8 = alloca [6 x ptr], align 16
  %9 = tail call i64 @IPP_INT_PTR(ptr noundef %6)
  %10 = sub i64 0, %9
  %11 = and i64 %10, 63
  %12 = getelementptr inbounds i8, ptr %6, i64 %11
  tail call void @cpPrecomputeMultiExp(ptr noundef %12, ptr noundef %1, i32 noundef %4, ptr noundef %5)
  %13 = getelementptr inbounds i8, ptr %5, i64 32
  %14 = load ptr, ptr %13, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %14, i64 16
  %16 = load ptr, ptr %15, align 8, !tbaa !12
  %17 = getelementptr inbounds i8, ptr %14, i64 24
  %18 = load ptr, ptr %17, align 8, !tbaa !14
  %19 = getelementptr inbounds i8, ptr %5, i64 16
  %20 = load i32, ptr %19, align 8, !tbaa !15
  %21 = tail call i32 @cpGetMaxBitsizeExponent(ptr noundef %2, ptr noundef %3, i32 noundef %4)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #4
  %22 = icmp sgt i32 %4, 0
  br i1 %22, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %7
  %wide.trip.count = zext nneg i32 %4 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %23 = tail call ptr @gsModPoolAlloc(ptr noundef %5, i32 noundef 1)
  %24 = getelementptr inbounds ptr, ptr %2, i64 %indvars.iv
  %25 = load ptr, ptr %24, align 8, !tbaa !16
  %26 = getelementptr inbounds i32, ptr %3, i64 %indvars.iv
  %27 = load i32, ptr %26, align 4, !tbaa !17
  %28 = tail call ptr @cpGFpElementCopyPad(ptr noundef %23, i32 noundef %20, ptr noundef %25, i32 noundef %27)
  %29 = getelementptr inbounds [6 x ptr], ptr %8, i64 0, i64 %indvars.iv
  store ptr %23, ptr %29, align 8, !tbaa !16
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !18

._crit_edge:                                      ; preds = %.lr.ph, %7
  %30 = tail call ptr @gsModPoolAlloc(ptr noundef %5, i32 noundef 1)
  %31 = add nsw i32 %21, -1
  %32 = call i32 @GetIndex(ptr noundef nonnull %8, i32 noundef %4, i32 noundef %31)
  call void @gsScrambleGet_sscm(ptr noundef %0, i32 noundef %20, ptr noundef %12, i32 noundef %32, i32 noundef %4) #4
  %33 = icmp sgt i32 %21, 1
  br i1 %33, label %.lr.ph59.preheader, label %._crit_edge60

.lr.ph59.preheader:                               ; preds = %._crit_edge
  %34 = add nsw i32 %21, -2
  br label %.lr.ph59

.lr.ph59:                                         ; preds = %.lr.ph59.preheader, %.lr.ph59
  %.057 = phi i32 [ %38, %.lr.ph59 ], [ %34, %.lr.ph59.preheader ]
  %35 = call ptr %18(ptr noundef %0, ptr noundef %0, ptr noundef %5) #4
  %36 = call i32 @GetIndex(ptr noundef nonnull %8, i32 noundef %4, i32 noundef %.057)
  call void @gsScrambleGet_sscm(ptr noundef %30, i32 noundef %20, ptr noundef %12, i32 noundef %36, i32 noundef %4) #4
  %37 = call ptr %16(ptr noundef %0, ptr noundef %0, ptr noundef %30, ptr noundef %5) #4
  %38 = add nsw i32 %.057, -1
  %.not = icmp eq i32 %.057, 0
  br i1 %.not, label %._crit_edge60, label %.lr.ph59, !llvm.loop !20

._crit_edge60:                                    ; preds = %.lr.ph59, %._crit_edge
  call void @gsModPoolFree(ptr noundef %5, i32 noundef 1)
  call void @gsModPoolFree(ptr noundef %5, i32 noundef %4)
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #4
  ret ptr %0
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i64 @IPP_INT_PTR(ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden void @cpPrecomputeMultiExp(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden i32 @cpGetMaxBitsizeExponent(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @gsModPoolAlloc(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @cpGFpElementCopyPad(ptr noundef, i32 noundef, ptr noundef, i32 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: nounwind uwtable
declare hidden i32 @GetIndex(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @gsScrambleGet_sscm(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @gsModPoolFree(ptr noundef, i32 noundef) local_unnamed_addr #2

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 = { inlinehint 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 #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 = { 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 32}
!6 = !{!"_gsModEngine", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !11, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !10, i64 96, !10, i64 100, !7, i64 104}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"long long", !8, i64 0}
!12 = !{!13, !7, i64 16}
!13 = !{!"_gsModMethod", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80}
!14 = !{!13, !7, i64 24}
!15 = !{!6, !10, i64 16}
!16 = !{!7, !7, i64 0}
!17 = !{!10, !10, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass