; LLVM IR from blat-blatnik/Painted-Portal-Ray-Tracing :: src/graphics.ll (Z10loadShaderPKcS0_)

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

%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%struct.ShaderSources = type { ptr, ptr }
%class.anon = type { i8 }

@_ZL13shaderSources = external hidden global %"class.std::unordered_map", align 8
@.str.3 = external hidden unnamed_addr constant [90 x i8], align 1
@glad_glGetError = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@glad_glCreateProgram = external global ptr, align 8
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@__PRETTY_FUNCTION__._Z10loadShaderPKcS0_ = external hidden unnamed_addr constant [46 x i8], align 1
@glad_glDeleteProgram = external global ptr, align 8
@__func__._Z10loadShaderPKcS0_ = external hidden unnamed_addr constant [11 x i8], align 1

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

declare i32 @printf(ptr noundef, ...) #2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z10loadShaderPKcS0_(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca %struct.ShaderSources, align 8
  %8 = alloca %class.anon, align 1
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %11 = load ptr, ptr @glad_glCreateProgram, align 8, !tbaa !5
  %12 = call i32 %11()
  store i32 %12, ptr %5, align 4, !tbaa !9
  %13 = load i32, ptr %5, align 4, !tbaa !9
  %14 = icmp ne i32 %13, 0
  br i1 %14, label %15, label %16

15:                                               ; preds = %2
  br label %18

16:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.21, ptr noundef @.str.3, i32 noundef 263, ptr noundef @__PRETTY_FUNCTION__._Z10loadShaderPKcS0_) #7
  unreachable

17:                                               ; No predecessors!
  br label %18

18:                                               ; preds = %17, %15
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #6
  %19 = load i32, ptr %5, align 4, !tbaa !9
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = call noundef zeroext i1 @_ZL20compileAndLinkShaderjPKcS0_(i32 noundef %19, ptr noundef %20, ptr noundef %21)
  %23 = zext i1 %22 to i8
  store i8 %23, ptr %6, align 1, !tbaa !11
  %24 = load i8, ptr %6, align 1, !tbaa !11, !range !13, !noundef !14
  %25 = trunc i8 %24 to i1
  br i1 %25, label %29, label %26

26:                                               ; preds = %18
  %27 = load ptr, ptr @glad_glDeleteProgram, align 8, !tbaa !5
  %28 = load i32, ptr %5, align 4, !tbaa !9
  call void %27(i32 noundef %28)
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %45

29:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #6
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.ShaderSources, ptr %7, i32 0, i32 1
  store ptr %30, ptr %31, align 8, !tbaa !15
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.ShaderSources, ptr %7, i32 0, i32 0
  store ptr %32, ptr %33, align 8, !tbaa !17
  %34 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt13unordered_mapIj13ShaderSourcesSt4hashIjESt8equal_toIjESaISt4pairIKjS0_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(56) @_ZL13shaderSources, ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %34, ptr align 8 %7, i64 16, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #6
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = load i32, ptr %5, align 4, !tbaa !9
  %37 = zext i32 %36 to i64
  %38 = inttoptr i64 %37 to ptr
  %39 = call noundef ptr @"_ZZ10loadShaderPKcS0_ENK3$_0cvPFbS0_PvEEv"(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @_Z16trackFileChangesPKcPvPFbS0_S1_E(ptr noundef %35, ptr noundef %38, ptr noundef %39)
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = load i32, ptr %5, align 4, !tbaa !9
  %42 = zext i32 %41 to i64
  %43 = inttoptr i64 %42 to ptr
  %44 = call noundef ptr @"_ZZ10loadShaderPKcS0_ENK3$_0cvPFbS0_PvEEv"(ptr noundef nonnull align 1 dereferenceable(1) %8) #6
  call void @_Z16trackFileChangesPKcPvPFbS0_S1_E(ptr noundef %40, ptr noundef %43, ptr noundef %44)
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #6
  br label %45

45:                                               ; preds = %29, %26
  br label %46

46:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %47 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %48 = call i32 %47()
  store i32 %48, ptr %9, align 4, !tbaa !9
  %49 = load i32, ptr %9, align 4, !tbaa !9
  %50 = icmp ne i32 %49, 0
  br i1 %50, label %51, label %65

51:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %52 = load i32, ptr %9, align 4, !tbaa !9
  switch i32 %52, label %60 [
    i32 1280, label %53
    i32 1281, label %54
    i32 1282, label %55
    i32 1283, label %56
    i32 1284, label %57
    i32 1285, label %58
    i32 1286, label %59
  ]

53:                                               ; preds = %51
  store ptr @.str.4, ptr %10, align 8, !tbaa !5
  br label %61

54:                                               ; preds = %51
  store ptr @.str.5, ptr %10, align 8, !tbaa !5
  br label %61

55:                                               ; preds = %51
  store ptr @.str.6, ptr %10, align 8, !tbaa !5
  br label %61

56:                                               ; preds = %51
  store ptr @.str.7, ptr %10, align 8, !tbaa !5
  br label %61

57:                                               ; preds = %51
  store ptr @.str.8, ptr %10, align 8, !tbaa !5
  br label %61

58:                                               ; preds = %51
  store ptr @.str.9, ptr %10, align 8, !tbaa !5
  br label %61

59:                                               ; preds = %51
  store ptr @.str.10, ptr %10, align 8, !tbaa !5
  br label %61

60:                                               ; preds = %51
  store ptr @.str.11, ptr %10, align 8, !tbaa !5
  br label %61

61:                                               ; preds = %60, %59, %58, %57, %56, %55, %54, %53
  %62 = load i32, ptr %9, align 4, !tbaa !9
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %62, ptr noundef %63, ptr noundef @.str.3, i32 noundef 286, ptr noundef @__func__._Z10loadShaderPKcS0_)
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.3, i32 noundef 286, ptr noundef @__PRETTY_FUNCTION__._Z10loadShaderPKcS0_) #7
  unreachable

65:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %66

66:                                               ; preds = %65
  br label %67

67:                                               ; preds = %66
  %68 = load i32, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  ret i32 %68
}

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL20compileAndLinkShaderjPKcS0_(i32 noundef, ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt13unordered_mapIj13ShaderSourcesSt4hashIjESt8equal_toIjESaISt4pairIKjS0_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

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

declare void @_Z16trackFileChangesPKcPvPFbS0_S1_E(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZ10loadShaderPKcS0_ENK3$_0cvPFbS0_PvEEv"(ptr noundef nonnull align 1 dereferenceable(1)) #5 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { mustprogress 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { inlinehint mustprogress 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 #6 = { nounwind }
attributes #7 = { noreturn 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !6, i64 8}
!16 = !{!"_ZTS13ShaderSources", !6, i64 0, !6, i64 8}
!17 = !{!16, !6, i64 0}
!18 = !{i64 0, i64 8, !5, i64 8, i64 8, !5}


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

%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%class.anon = type { i8 }

@_ZL13shaderSources = external hidden global %"class.std::unordered_map", align 8
@.str.3 = external hidden unnamed_addr constant [90 x i8], align 1
@glad_glGetError = external local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [2 x i8], align 1
@glad_glCreateProgram = external local_unnamed_addr global ptr, align 8
@.str.21 = external hidden unnamed_addr constant [8 x i8], align 1
@__PRETTY_FUNCTION__._Z10loadShaderPKcS0_ = external hidden unnamed_addr constant [46 x i8], align 1
@glad_glDeleteProgram = external local_unnamed_addr global ptr, align 8
@__func__._Z10loadShaderPKcS0_ = external hidden unnamed_addr constant [11 x i8], align 1

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z10loadShaderPKcS0_(ptr noundef %0, ptr noundef %1) local_unnamed_addr #3 {
  %3 = alloca i32, align 4
  %4 = alloca %class.anon, align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  %5 = load ptr, ptr @glad_glCreateProgram, align 8, !tbaa !5
  %6 = tail call i32 %5()
  store i32 %6, ptr %3, align 4, !tbaa !9
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %7, label %8

7:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.21, ptr noundef nonnull @.str.3, i32 noundef 263, ptr noundef nonnull @__PRETTY_FUNCTION__._Z10loadShaderPKcS0_) #7
  unreachable

8:                                                ; preds = %2
  %9 = tail call noundef zeroext i1 @_ZL20compileAndLinkShaderjPKcS0_(i32 noundef %6, ptr noundef %0, ptr noundef %1)
  br i1 %9, label %12, label %10

10:                                               ; preds = %8
  %11 = load ptr, ptr @glad_glDeleteProgram, align 8, !tbaa !5
  tail call void %11(i32 noundef %6)
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %22

12:                                               ; preds = %8
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt13unordered_mapIj13ShaderSourcesSt4hashIjESt8equal_toIjESaISt4pairIKjS0_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(56) @_ZL13shaderSources, ptr noundef nonnull align 4 dereferenceable(4) %3)
  store ptr %1, ptr %13, align 8, !tbaa !5
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %13, i64 8
  store ptr %0, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  %14 = load i32, ptr %3, align 4, !tbaa !9
  %15 = zext i32 %14 to i64
  %16 = inttoptr i64 %15 to ptr
  %17 = call noundef ptr @"_ZZ10loadShaderPKcS0_ENK3$_0cvPFbS0_PvEEv"(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @_Z16trackFileChangesPKcPvPFbS0_S1_E(ptr noundef %0, ptr noundef %16, ptr noundef %17)
  %18 = load i32, ptr %3, align 4, !tbaa !9
  %19 = zext i32 %18 to i64
  %20 = inttoptr i64 %19 to ptr
  %21 = call noundef ptr @"_ZZ10loadShaderPKcS0_ENK3$_0cvPFbS0_PvEEv"(ptr noundef nonnull align 1 dereferenceable(1) %4) #6
  call void @_Z16trackFileChangesPKcPvPFbS0_S1_E(ptr noundef %1, ptr noundef %20, ptr noundef %21)
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  br label %22

22:                                               ; preds = %10, %12
  %23 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %24 = call i32 %23()
  switch i32 %24, label %31 [
    i32 0, label %34
    i32 1280, label %32
    i32 1281, label %25
    i32 1282, label %26
    i32 1283, label %27
    i32 1284, label %28
    i32 1285, label %29
    i32 1286, label %30
  ]

25:                                               ; preds = %22
  br label %32

26:                                               ; preds = %22
  br label %32

27:                                               ; preds = %22
  br label %32

28:                                               ; preds = %22
  br label %32

29:                                               ; preds = %22
  br label %32

30:                                               ; preds = %22
  br label %32

31:                                               ; preds = %22
  br label %32

32:                                               ; preds = %22, %31, %30, %29, %28, %27, %26, %25
  %.0 = phi ptr [ @.str.11, %31 ], [ @.str.10, %30 ], [ @.str.9, %29 ], [ @.str.8, %28 ], [ @.str.7, %27 ], [ @.str.6, %26 ], [ @.str.5, %25 ], [ @.str.4, %22 ]
  %33 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %24, ptr noundef nonnull %.0, ptr noundef nonnull @.str.3, i32 noundef 286, ptr noundef nonnull @__func__._Z10loadShaderPKcS0_)
  call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.3, i32 noundef 286, ptr noundef nonnull @__PRETTY_FUNCTION__._Z10loadShaderPKcS0_) #7
  unreachable

34:                                               ; preds = %22
  %35 = load i32, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  ret i32 %35
}

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZL20compileAndLinkShaderjPKcS0_(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt13unordered_mapIj13ShaderSourcesSt4hashIjESt8equal_toIjESaISt4pairIKjS0_EEEixERS6_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

declare void @_Z16trackFileChangesPKcPvPFbS0_S1_E(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZ10loadShaderPKcS0_ENK3$_0cvPFbS0_PvEEv"(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #5 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { mustprogress 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 #4 = { "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 = { inlinehint mustprogress 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 #6 = { nounwind }
attributes #7 = { noreturn 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}


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