; LLVM IR from danginsburg/opengles3-book :: Chapter_14/ParticleSystem (ParticleSystem)

; 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.ESContext = type { ptr, ptr, i32, i32, ptr, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.UserData = type { i32, i32, i32, i32, i32, i32, [7000 x float], float }

@__const.Init.vShaderStr = external hidden unnamed_addr constant [1244 x i8], align 16
@__const.Init.fShaderStr = external hidden unnamed_addr constant [703 x i8], align 16
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1

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

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

; 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
define dso_local i32 @Init(ptr noundef %0) #0 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca [1244 x i8], align 16
  %7 = alloca [703 x i8], align 16
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %10 = load ptr, ptr %3, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.ESContext, ptr %10, i32 0, i32 1
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  store ptr %12, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 1244, ptr %6) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.Init.vShaderStr, i64 1244, i1 false)
  call void @llvm.lifetime.start.p0(i64 703, ptr %7) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.Init.fShaderStr, i64 703, i1 false)
  %13 = getelementptr inbounds [1244 x i8], ptr %6, i64 0, i64 0
  %14 = getelementptr inbounds [703 x i8], ptr %7, i64 0, i64 0
  %15 = call i32 @esLoadProgram(ptr noundef %13, ptr noundef %14)
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.UserData, ptr %16, i32 0, i32 0
  store i32 %15, ptr %17, align 4, !tbaa !13
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.UserData, ptr %18, i32 0, i32 0
  %20 = load i32, ptr %19, align 4, !tbaa !13
  %21 = call i32 @glGetUniformLocation(i32 noundef %20, ptr noundef @.str.1)
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.UserData, ptr %22, i32 0, i32 1
  store i32 %21, ptr %23, align 4, !tbaa !16
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.UserData, ptr %24, i32 0, i32 0
  %26 = load i32, ptr %25, align 4, !tbaa !13
  %27 = call i32 @glGetUniformLocation(i32 noundef %26, ptr noundef @.str.2)
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.UserData, ptr %28, i32 0, i32 3
  store i32 %27, ptr %29, align 4, !tbaa !17
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.UserData, ptr %30, i32 0, i32 0
  %32 = load i32, ptr %31, align 4, !tbaa !13
  %33 = call i32 @glGetUniformLocation(i32 noundef %32, ptr noundef @.str.3)
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.UserData, ptr %34, i32 0, i32 2
  store i32 %33, ptr %35, align 4, !tbaa !18
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.UserData, ptr %36, i32 0, i32 0
  %38 = load i32, ptr %37, align 4, !tbaa !13
  %39 = call i32 @glGetUniformLocation(i32 noundef %38, ptr noundef @.str.4)
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.UserData, ptr %40, i32 0, i32 4
  store i32 %39, ptr %41, align 4, !tbaa !19
  call void @glClearColor(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @srand(i32 noundef 0) #5
  store i32 0, ptr %5, align 4, !tbaa !20
  br label %42

42:                                               ; preds = %100, %1
  %43 = load i32, ptr %5, align 4, !tbaa !20
  %44 = icmp slt i32 %43, 1000
  br i1 %44, label %45, label %103

45:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.UserData, ptr %46, i32 0, i32 6
  %48 = load i32, ptr %5, align 4, !tbaa !20
  %49 = mul nsw i32 %48, 7
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [7000 x float], ptr %47, i64 0, i64 %50
  store ptr %51, ptr %8, align 8, !tbaa !5
  %52 = call i32 @rand() #5
  %53 = srem i32 %52, 10000
  %54 = sitofp i32 %53 to float
  %55 = fdiv float %54, 1.000000e+04
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = getelementptr inbounds float, ptr %56, i32 1
  store ptr %57, ptr %8, align 8, !tbaa !5
  store float %55, ptr %56, align 4, !tbaa !21
  %58 = call i32 @rand() #5
  %59 = srem i32 %58, 10000
  %60 = sitofp i32 %59 to float
  %61 = fdiv float %60, 5.000000e+03
  %62 = fsub float %61, 1.000000e+00
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = getelementptr inbounds float, ptr %63, i32 1
  store ptr %64, ptr %8, align 8, !tbaa !5
  store float %62, ptr %63, align 4, !tbaa !21
  %65 = call i32 @rand() #5
  %66 = srem i32 %65, 10000
  %67 = sitofp i32 %66 to float
  %68 = fdiv float %67, 5.000000e+03
  %69 = fsub float %68, 1.000000e+00
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = getelementptr inbounds float, ptr %70, i32 1
  store ptr %71, ptr %8, align 8, !tbaa !5
  store float %69, ptr %70, align 4, !tbaa !21
  %72 = call i32 @rand() #5
  %73 = srem i32 %72, 10000
  %74 = sitofp i32 %73 to float
  %75 = fdiv float %74, 5.000000e+03
  %76 = fsub float %75, 1.000000e+00
  %77 = load ptr, ptr %8, align 8, !tbaa !5
  %78 = getelementptr inbounds float, ptr %77, i32 1
  store ptr %78, ptr %8, align 8, !tbaa !5
  store float %76, ptr %77, align 4, !tbaa !21
  %79 = call i32 @rand() #5
  %80 = srem i32 %79, 10000
  %81 = sitofp i32 %80 to float
  %82 = fdiv float %81, 4.000000e+04
  %83 = fsub float %82, 1.250000e-01
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = getelementptr inbounds float, ptr %84, i32 1
  store ptr %85, ptr %8, align 8, !tbaa !5
  store float %83, ptr %84, align 4, !tbaa !21
  %86 = call i32 @rand() #5
  %87 = srem i32 %86, 10000
  %88 = sitofp i32 %87 to float
  %89 = fdiv float %88, 4.000000e+04
  %90 = fsub float %89, 1.250000e-01
  %91 = load ptr, ptr %8, align 8, !tbaa !5
  %92 = getelementptr inbounds float, ptr %91, i32 1
  store ptr %92, ptr %8, align 8, !tbaa !5
  store float %90, ptr %91, align 4, !tbaa !21
  %93 = call i32 @rand() #5
  %94 = srem i32 %93, 10000
  %95 = sitofp i32 %94 to float
  %96 = fdiv float %95, 4.000000e+04
  %97 = fsub float %96, 1.250000e-01
  %98 = load ptr, ptr %8, align 8, !tbaa !5
  %99 = getelementptr inbounds float, ptr %98, i32 1
  store ptr %99, ptr %8, align 8, !tbaa !5
  store float %97, ptr %98, align 4, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %100

100:                                              ; preds = %45
  %101 = load i32, ptr %5, align 4, !tbaa !20
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %5, align 4, !tbaa !20
  br label %42, !llvm.loop !22

103:                                              ; preds = %42
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.UserData, ptr %104, i32 0, i32 7
  store float 1.000000e+00, ptr %105, align 4, !tbaa !24
  %106 = load ptr, ptr %3, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.ESContext, ptr %106, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8, !tbaa !25
  %109 = call i32 @LoadTexture(ptr noundef %108, ptr noundef @.str.5)
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.UserData, ptr %110, i32 0, i32 5
  store i32 %109, ptr %111, align 4, !tbaa !26
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.UserData, ptr %112, i32 0, i32 5
  %114 = load i32, ptr %113, align 4, !tbaa !26
  %115 = icmp ule i32 %114, 0
  br i1 %115, label %116, label %117

116:                                              ; preds = %103
  store i32 0, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %118

117:                                              ; preds = %103
  store i32 1, ptr %2, align 4
  store i32 1, ptr %9, align 4
  br label %118

118:                                              ; preds = %117, %116
  call void @llvm.lifetime.end.p0(i64 703, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 1244, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  %119 = load i32, ptr %2, align 4
  ret i32 %119
}

; 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) #2

declare i32 @esLoadProgram(ptr noundef, ptr noundef) #3

declare i32 @glGetUniformLocation(i32 noundef, ptr noundef) #3

declare void @glClearColor(float noundef, float noundef, float noundef, float noundef) #3

; Function Attrs: nounwind
declare void @srand(i32 noundef) #4

; Function Attrs: nounwind
declare i32 @rand() #4

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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 "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 }

!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 8}
!10 = !{!"ESContext", !6, i64 0, !6, i64 8, !11, i64 16, !11, i64 20, !6, i64 24, !12, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !11, i64 0}
!14 = !{!"", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !15, i64 28024}
!15 = !{!"float", !7, i64 0}
!16 = !{!14, !11, i64 4}
!17 = !{!14, !11, i64 12}
!18 = !{!14, !11, i64 8}
!19 = !{!14, !11, i64 16}
!20 = !{!11, !11, i64 0}
!21 = !{!15, !15, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!14, !15, i64 28024}
!25 = !{!10, !6, i64 0}
!26 = !{!14, !11, i64 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"

@__const.Init.vShaderStr = external hidden unnamed_addr constant [1244 x i8], align 16
@__const.Init.fShaderStr = external hidden unnamed_addr constant [703 x i8], align 16
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @LoadTexture(ptr noundef, ptr noundef) local_unnamed_addr #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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nounwind uwtable
define dso_local range(i32 0, 2) i32 @Init(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
  %2 = alloca [1244 x i8], align 16
  %3 = alloca [703 x i8], align 16
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1244, ptr nonnull %2) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(1244) %2, ptr noundef nonnull align 16 dereferenceable(1244) @__const.Init.vShaderStr, i64 1244, i1 false)
  call void @llvm.lifetime.start.p0(i64 703, ptr nonnull %3) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(703) %3, ptr noundef nonnull align 16 dereferenceable(703) @__const.Init.fShaderStr, i64 703, i1 false)
  %6 = call i32 @esLoadProgram(ptr noundef nonnull %2, ptr noundef nonnull %3) #5
  store i32 %6, ptr %5, align 4, !tbaa !12
  %7 = call i32 @glGetUniformLocation(i32 noundef %6, ptr noundef nonnull @.str.1) #5
  %8 = getelementptr inbounds i8, ptr %5, i64 4
  store i32 %7, ptr %8, align 4, !tbaa !15
  %9 = load i32, ptr %5, align 4, !tbaa !12
  %10 = call i32 @glGetUniformLocation(i32 noundef %9, ptr noundef nonnull @.str.2) #5
  %11 = getelementptr inbounds i8, ptr %5, i64 12
  store i32 %10, ptr %11, align 4, !tbaa !16
  %12 = load i32, ptr %5, align 4, !tbaa !12
  %13 = call i32 @glGetUniformLocation(i32 noundef %12, ptr noundef nonnull @.str.3) #5
  %14 = getelementptr inbounds i8, ptr %5, i64 8
  store i32 %13, ptr %14, align 4, !tbaa !17
  %15 = load i32, ptr %5, align 4, !tbaa !12
  %16 = call i32 @glGetUniformLocation(i32 noundef %15, ptr noundef nonnull @.str.4) #5
  %17 = getelementptr inbounds i8, ptr %5, i64 16
  store i32 %16, ptr %17, align 4, !tbaa !18
  call void @glClearColor(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00) #5
  call void @srand(i32 noundef 0) #5
  %18 = getelementptr inbounds i8, ptr %5, i64 24
  br label %19

19:                                               ; preds = %1, %19
  %indvars.iv = phi i64 [ 0, %1 ], [ %indvars.iv.next, %19 ]
  %20 = mul nuw nsw i64 %indvars.iv, 7
  %21 = getelementptr inbounds [7000 x float], ptr %18, i64 0, i64 %20
  %22 = call i32 @rand() #5
  %23 = srem i32 %22, 10000
  %24 = sitofp i32 %23 to float
  %25 = fdiv float %24, 1.000000e+04
  %26 = getelementptr inbounds i8, ptr %21, i64 4
  store float %25, ptr %21, align 4, !tbaa !19
  %27 = call i32 @rand() #5
  %28 = srem i32 %27, 10000
  %29 = sitofp i32 %28 to float
  %30 = fdiv float %29, 5.000000e+03
  %31 = fadd float %30, -1.000000e+00
  %32 = getelementptr inbounds i8, ptr %21, i64 8
  store float %31, ptr %26, align 4, !tbaa !19
  %33 = call i32 @rand() #5
  %34 = srem i32 %33, 10000
  %35 = sitofp i32 %34 to float
  %36 = fdiv float %35, 5.000000e+03
  %37 = fadd float %36, -1.000000e+00
  %38 = getelementptr inbounds i8, ptr %21, i64 12
  store float %37, ptr %32, align 4, !tbaa !19
  %39 = call i32 @rand() #5
  %40 = srem i32 %39, 10000
  %41 = sitofp i32 %40 to float
  %42 = fdiv float %41, 5.000000e+03
  %43 = fadd float %42, -1.000000e+00
  %44 = getelementptr inbounds i8, ptr %21, i64 16
  store float %43, ptr %38, align 4, !tbaa !19
  %45 = call i32 @rand() #5
  %46 = srem i32 %45, 10000
  %47 = sitofp i32 %46 to float
  %48 = fdiv float %47, 4.000000e+04
  %49 = fadd float %48, -1.250000e-01
  %50 = getelementptr inbounds i8, ptr %21, i64 20
  store float %49, ptr %44, align 4, !tbaa !19
  %51 = call i32 @rand() #5
  %52 = srem i32 %51, 10000
  %53 = sitofp i32 %52 to float
  %54 = fdiv float %53, 4.000000e+04
  %55 = fadd float %54, -1.250000e-01
  %56 = getelementptr inbounds i8, ptr %21, i64 24
  store float %55, ptr %50, align 4, !tbaa !19
  %57 = call i32 @rand() #5
  %58 = srem i32 %57, 10000
  %59 = sitofp i32 %58 to float
  %60 = fdiv float %59, 4.000000e+04
  %61 = fadd float %60, -1.250000e-01
  store float %61, ptr %56, align 4, !tbaa !19
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 1000
  br i1 %exitcond.not, label %62, label %19, !llvm.loop !20

62:                                               ; preds = %19
  %63 = getelementptr inbounds i8, ptr %5, i64 28024
  store float 1.000000e+00, ptr %63, align 4, !tbaa !22
  %64 = load ptr, ptr %0, align 8, !tbaa !23
  %65 = call i32 @LoadTexture(ptr noundef %64, ptr noundef nonnull @.str.5)
  %66 = getelementptr inbounds i8, ptr %5, i64 20
  store i32 %65, ptr %66, align 4, !tbaa !24
  %67 = icmp ne i32 %65, 0
  %. = zext i1 %67 to i32
  call void @llvm.lifetime.end.p0(i64 703, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 1244, ptr nonnull %2) #5
  ret i32 %.
}

; Function Attrs: mustprogress 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) #2

declare i32 @esLoadProgram(ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @glGetUniformLocation(i32 noundef, ptr noundef) local_unnamed_addr #3

declare void @glClearColor(float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #3

; Function Attrs: nounwind
declare void @srand(i32 noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #4

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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 "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 }

!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 8}
!6 = !{!"ESContext", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !7, i64 24, !11, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!13, !10, i64 0}
!13 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !8, i64 24, !14, i64 28024}
!14 = !{!"float", !8, i64 0}
!15 = !{!13, !10, i64 4}
!16 = !{!13, !10, i64 12}
!17 = !{!13, !10, i64 8}
!18 = !{!13, !10, i64 16}
!19 = !{!14, !14, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!13, !14, i64 28024}
!23 = !{!6, !7, i64 0}
!24 = !{!13, !10, i64 20}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass