; LLVM IR from jovanlanik/wip :: dungeon.d/src (d_draw)

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

%union.anon = type { [2 x i32] }
%struct.anon = type { i32, i32 }

@__const.drawScreen.vertices = external hidden unnamed_addr constant [12 x float], align 16
@__const.drawScreen.indices = external hidden unnamed_addr constant [4 x i32], align 16
@drawScreen.init = external hidden global i32, align 4
@drawScreen.render_object = external hidden global %union.anon, align 4
@drawScreen.vertex_a = external hidden global i32, align 4
@drawScreen.program = external hidden global i32, align 4
@drawScreen.dirLocation = external hidden global i32, align 4
@drawScreen.timeLocation = external hidden global i32, align 4
@glad_glGenVertexArrays = external global ptr, align 8
@glad_glBindVertexArray = external global ptr, align 8
@glad_glGenBuffers = external global ptr, align 8
@glad_glBindBuffer = external global ptr, align 8
@glad_glBufferData = external global ptr, align 8
@glad_glVertexAttribPointer = external global ptr, align 8
@glad_glEnableVertexAttribArray = external global ptr, align 8
@_binary_d_background_vert_start = external constant [0 x i8], align 1
@_binary_d_background_frag_start = external constant [0 x i8], align 1
@__func__.drawScreen = external hidden unnamed_addr constant [11 x i8], align 1
@glad_glGetUniformLocation = external global ptr, align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@glad_glClear = external global ptr, align 8
@glad_glUseProgram = external global ptr, align 8
@glad_glUniform1f = external global ptr, align 8
@glad_glDrawElements = external global ptr, align 8

; Function Attrs: nounwind uwtable
define dso_local void @drawScreen(float noundef %0) #0 {
  %2 = alloca float, align 4
  %3 = alloca [12 x float], align 16
  %4 = alloca [4 x i32], align 16
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store float %0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %3) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.drawScreen.vertices, i64 48, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.drawScreen.indices, i64 16, i1 false)
  %8 = load i32, ptr @drawScreen.init, align 4, !tbaa !9
  %9 = icmp eq i32 %8, 0
  br i1 %9, label %10, label %48

10:                                               ; preds = %1
  store i32 1, ptr @drawScreen.init, align 4, !tbaa !9
  %11 = load ptr, ptr @glad_glGenVertexArrays, align 8, !tbaa !11
  call void %11(i32 noundef 1, ptr noundef @drawScreen.vertex_a)
  %12 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !11
  %13 = load i32, ptr @drawScreen.vertex_a, align 4, !tbaa !9
  call void %12(i32 noundef %13)
  %14 = load ptr, ptr @glad_glGenBuffers, align 8, !tbaa !11
  call void %14(i32 noundef 2, ptr noundef @drawScreen.render_object)
  %15 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !11
  %16 = load i32, ptr @drawScreen.render_object, align 4, !tbaa !13
  call void %15(i32 noundef 34962, i32 noundef %16)
  %17 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !11
  %18 = load i32, ptr getelementptr inbounds (%struct.anon, ptr @drawScreen.render_object, i32 0, i32 1), align 4, !tbaa !13
  call void %17(i32 noundef 34963, i32 noundef %18)
  %19 = load ptr, ptr @glad_glBufferData, align 8, !tbaa !11
  %20 = getelementptr inbounds [12 x float], ptr %3, i64 0, i64 0
  call void %19(i32 noundef 34962, i64 noundef 48, ptr noundef %20, i32 noundef 35044)
  %21 = load ptr, ptr @glad_glBufferData, align 8, !tbaa !11
  %22 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 0
  call void %21(i32 noundef 34963, i64 noundef 16, ptr noundef %22, i32 noundef 35044)
  %23 = load ptr, ptr @glad_glVertexAttribPointer, align 8, !tbaa !11
  call void %23(i32 noundef 0, i32 noundef 3, i32 noundef 5126, i8 noundef zeroext 0, i32 noundef 12, ptr noundef null)
  %24 = load ptr, ptr @glad_glEnableVertexAttribArray, align 8, !tbaa !11
  call void %24(i32 noundef 0)
  %25 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !11
  call void %25(i32 noundef 0)
  %26 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !11
  call void %26(i32 noundef 34962, i32 noundef 0)
  %27 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !11
  call void %27(i32 noundef 34963, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %28 = call i32 @wip_loadShader(ptr noundef @_binary_d_background_vert_start, i32 noundef 35633)
  store i32 %28, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %29 = call i32 @wip_loadShader(ptr noundef @_binary_d_background_frag_start, i32 noundef 35632)
  store i32 %29, ptr %6, align 4, !tbaa !9
  %30 = load i32, ptr %5, align 4, !tbaa !9
  %31 = load i32, ptr %6, align 4, !tbaa !9
  %32 = call i32 @wip_loadProgram(i32 noundef %30, i32 noundef %31)
  store i32 %32, ptr @drawScreen.program, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %33

33:                                               ; preds = %38, %10
  %34 = load i32, ptr %7, align 4, !tbaa !9
  %35 = icmp slt i32 %34, 25
  br i1 %35, label %37, label %36

36:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %41

37:                                               ; preds = %33
  call void @_wip_printGlErrors(ptr noundef @__func__.drawScreen)
  br label %38

38:                                               ; preds = %37
  %39 = load i32, ptr %7, align 4, !tbaa !9
  %40 = add nsw i32 %39, 1
  store i32 %40, ptr %7, align 4, !tbaa !9
  br label %33, !llvm.loop !14

41:                                               ; preds = %36
  %42 = load ptr, ptr @glad_glGetUniformLocation, align 8, !tbaa !11
  %43 = load i32, ptr @drawScreen.program, align 4, !tbaa !9
  %44 = call i32 %42(i32 noundef %43, ptr noundef @.str)
  store i32 %44, ptr @drawScreen.dirLocation, align 4, !tbaa !9
  %45 = load ptr, ptr @glad_glGetUniformLocation, align 8, !tbaa !11
  %46 = load i32, ptr @drawScreen.program, align 4, !tbaa !9
  %47 = call i32 %45(i32 noundef %46, ptr noundef @.str.1)
  store i32 %47, ptr @drawScreen.timeLocation, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %48

48:                                               ; preds = %41, %1
  %49 = load ptr, ptr @glad_glClear, align 8, !tbaa !11
  call void %49(i32 noundef 16640)
  %50 = load ptr, ptr @glad_glUseProgram, align 8, !tbaa !11
  %51 = load i32, ptr @drawScreen.program, align 4, !tbaa !9
  call void %50(i32 noundef %51)
  %52 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !11
  %53 = load i32, ptr @drawScreen.vertex_a, align 4, !tbaa !9
  call void %52(i32 noundef %53)
  %54 = load ptr, ptr @glad_glUniform1f, align 8, !tbaa !11
  %55 = load i32, ptr @drawScreen.dirLocation, align 4, !tbaa !9
  %56 = load float, ptr %2, align 4, !tbaa !5
  call void %54(i32 noundef %55, float noundef %56)
  %57 = load ptr, ptr @glad_glUniform1f, align 8, !tbaa !11
  %58 = load i32, ptr @drawScreen.timeLocation, align 4, !tbaa !9
  %59 = call double @wip_timeWindow()
  %60 = fptrunc double %59 to float
  call void %57(i32 noundef %58, float noundef %60)
  %61 = load ptr, ptr @glad_glDrawElements, align 8, !tbaa !11
  call void %61(i32 noundef 5, i32 noundef 6, i32 noundef 5125, ptr noundef null)
  %62 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !11
  call void %62(i32 noundef 0)
  %63 = load ptr, ptr @glad_glClear, align 8, !tbaa !11
  call void %63(i32 noundef 256)
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #4
  ret void
}

; 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 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 @wip_loadShader(ptr noundef, i32 noundef) #3

declare i32 @wip_loadProgram(i32 noundef, i32 noundef) #3

declare void @_wip_printGlErrors(ptr noundef) #3

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

declare double @wip_timeWindow() #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 = { 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 }

!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 = !{!"float", !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, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"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"

%union.anon = type { [2 x i32] }

@__const.drawScreen.vertices = external hidden unnamed_addr constant [12 x float], align 16
@__const.drawScreen.indices = external hidden unnamed_addr constant [4 x i32], align 16
@drawScreen.init = external hidden local_unnamed_addr global i32, align 4
@drawScreen.render_object = external hidden global %union.anon, align 4
@drawScreen.vertex_a = external hidden global i32, align 4
@drawScreen.program = external hidden local_unnamed_addr global i32, align 4
@drawScreen.dirLocation = external hidden local_unnamed_addr global i32, align 4
@drawScreen.timeLocation = external hidden local_unnamed_addr global i32, align 4
@glad_glGenVertexArrays = external local_unnamed_addr global ptr, align 8
@glad_glBindVertexArray = external local_unnamed_addr global ptr, align 8
@glad_glGenBuffers = external local_unnamed_addr global ptr, align 8
@glad_glBindBuffer = external local_unnamed_addr global ptr, align 8
@glad_glBufferData = external local_unnamed_addr global ptr, align 8
@glad_glVertexAttribPointer = external local_unnamed_addr global ptr, align 8
@glad_glEnableVertexAttribArray = external local_unnamed_addr global ptr, align 8
@_binary_d_background_vert_start = external constant [0 x i8], align 1
@_binary_d_background_frag_start = external constant [0 x i8], align 1
@__func__.drawScreen = external hidden unnamed_addr constant [11 x i8], align 1
@glad_glGetUniformLocation = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@glad_glClear = external local_unnamed_addr global ptr, align 8
@glad_glUseProgram = external local_unnamed_addr global ptr, align 8
@glad_glUniform1f = external local_unnamed_addr global ptr, align 8
@glad_glDrawElements = external local_unnamed_addr global ptr, align 8

; Function Attrs: nounwind uwtable
define dso_local void @drawScreen(float noundef %0) local_unnamed_addr #0 {
  %2 = alloca [12 x float], align 16
  %3 = alloca [4 x i32], align 16
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(48) %2, ptr noundef nonnull align 16 dereferenceable(48) @__const.drawScreen.vertices, i64 48, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) @__const.drawScreen.indices, i64 16, i1 false)
  %4 = load i32, ptr @drawScreen.init, align 4, !tbaa !5
  %5 = icmp eq i32 %4, 0
  br i1 %5, label %6, label %31

6:                                                ; preds = %1
  store i32 1, ptr @drawScreen.init, align 4, !tbaa !5
  %7 = load ptr, ptr @glad_glGenVertexArrays, align 8, !tbaa !9
  tail call void %7(i32 noundef 1, ptr noundef nonnull @drawScreen.vertex_a) #4
  %8 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !9
  %9 = load i32, ptr @drawScreen.vertex_a, align 4, !tbaa !5
  tail call void %8(i32 noundef %9) #4
  %10 = load ptr, ptr @glad_glGenBuffers, align 8, !tbaa !9
  tail call void %10(i32 noundef 2, ptr noundef nonnull @drawScreen.render_object) #4
  %11 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !9
  %12 = load i32, ptr @drawScreen.render_object, align 4, !tbaa !11
  tail call void %11(i32 noundef 34962, i32 noundef %12) #4
  %13 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !9
  %14 = load i32, ptr getelementptr inbounds (i8, ptr @drawScreen.render_object, i64 4), align 4, !tbaa !11
  tail call void %13(i32 noundef 34963, i32 noundef %14) #4
  %15 = load ptr, ptr @glad_glBufferData, align 8, !tbaa !9
  call void %15(i32 noundef 34962, i64 noundef 48, ptr noundef nonnull %2, i32 noundef 35044) #4
  %16 = load ptr, ptr @glad_glBufferData, align 8, !tbaa !9
  call void %16(i32 noundef 34963, i64 noundef 16, ptr noundef nonnull %3, i32 noundef 35044) #4
  %17 = load ptr, ptr @glad_glVertexAttribPointer, align 8, !tbaa !9
  call void %17(i32 noundef 0, i32 noundef 3, i32 noundef 5126, i8 noundef zeroext 0, i32 noundef 12, ptr noundef null) #4
  %18 = load ptr, ptr @glad_glEnableVertexAttribArray, align 8, !tbaa !9
  call void %18(i32 noundef 0) #4
  %19 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !9
  call void %19(i32 noundef 0) #4
  %20 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !9
  call void %20(i32 noundef 34962, i32 noundef 0) #4
  %21 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !9
  call void %21(i32 noundef 34963, i32 noundef 0) #4
  %22 = call i32 @wip_loadShader(ptr noundef nonnull @_binary_d_background_vert_start, i32 noundef 35633) #4
  %23 = call i32 @wip_loadShader(ptr noundef nonnull @_binary_d_background_frag_start, i32 noundef 35632) #4
  %24 = call i32 @wip_loadProgram(i32 noundef %22, i32 noundef %23) #4
  store i32 %24, ptr @drawScreen.program, align 4, !tbaa !5
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  call void @_wip_printGlErrors(ptr noundef nonnull @__func__.drawScreen) #4
  %25 = load ptr, ptr @glad_glGetUniformLocation, align 8, !tbaa !9
  %26 = load i32, ptr @drawScreen.program, align 4, !tbaa !5
  %27 = call i32 %25(i32 noundef %26, ptr noundef nonnull @.str) #4
  store i32 %27, ptr @drawScreen.dirLocation, align 4, !tbaa !5
  %28 = load ptr, ptr @glad_glGetUniformLocation, align 8, !tbaa !9
  %29 = load i32, ptr @drawScreen.program, align 4, !tbaa !5
  %30 = call i32 %28(i32 noundef %29, ptr noundef nonnull @.str.1) #4
  store i32 %30, ptr @drawScreen.timeLocation, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %6, %1
  %32 = load ptr, ptr @glad_glClear, align 8, !tbaa !9
  call void %32(i32 noundef 16640) #4
  %33 = load ptr, ptr @glad_glUseProgram, align 8, !tbaa !9
  %34 = load i32, ptr @drawScreen.program, align 4, !tbaa !5
  call void %33(i32 noundef %34) #4
  %35 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !9
  %36 = load i32, ptr @drawScreen.vertex_a, align 4, !tbaa !5
  call void %35(i32 noundef %36) #4
  %37 = load ptr, ptr @glad_glUniform1f, align 8, !tbaa !9
  %38 = load i32, ptr @drawScreen.dirLocation, align 4, !tbaa !5
  call void %37(i32 noundef %38, float noundef %0) #4
  %39 = load ptr, ptr @glad_glUniform1f, align 8, !tbaa !9
  %40 = load i32, ptr @drawScreen.timeLocation, align 4, !tbaa !5
  %41 = call double @wip_timeWindow() #4
  %42 = fptrunc double %41 to float
  call void %39(i32 noundef %40, float noundef %42) #4
  %43 = load ptr, ptr @glad_glDrawElements, align 8, !tbaa !9
  call void %43(i32 noundef 5, i32 noundef 6, i32 noundef 5125, ptr noundef null) #4
  %44 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !9
  call void %44(i32 noundef 0) #4
  %45 = load ptr, ptr @glad_glClear, align 8, !tbaa !9
  call void %45(i32 noundef 256) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #4
  ret void
}

; 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 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 @wip_loadShader(ptr noundef, i32 noundef) local_unnamed_addr #3

declare i32 @wip_loadProgram(i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @_wip_printGlErrors(ptr noundef) local_unnamed_addr #3

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

declare double @wip_timeWindow() local_unnamed_addr #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 = { 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 }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass