; LLVM IR from Dragons-Lake/REI :: sources/REI/3rdParty/spirv_reflect (spirv_reflect)

; 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.SpvReflectShaderModule = type { i32, ptr, i32, i32, ptr, i32, i32, ptr, ptr, i32, i32, i32, ptr, i32, [64 x %struct.SpvReflectDescriptorSet], i32, ptr, i32, ptr, i32, ptr, ptr }
%struct.SpvReflectDescriptorSet = type { i32, i32, ptr }
%struct.SpvReflectEntryPoint = type { ptr, i32, i32, i32, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, %struct.LocalSize, i32, i32 }
%struct.LocalSize = type { i32, i32, i32 }
%struct.SpvReflectDescriptorBinding = type { i32, ptr, i32, i32, i32, i32, i32, %struct.SpvReflectImageTraits, %struct.SpvReflectBlockVariable, %struct.SpvReflectBindingArrayTraits, i32, i32, i32, ptr, ptr, %struct.anon }
%struct.SpvReflectImageTraits = type { i32, i32, i32, i32, i32, i32 }
%struct.SpvReflectBlockVariable = type { i32, ptr, i32, i32, i32, i32, i32, %struct.SpvReflectNumericTraits, %struct.SpvReflectArrayTraits, i32, i32, ptr, ptr }
%struct.SpvReflectNumericTraits = type { %struct.Scalar, %struct.Vector, %struct.Matrix }
%struct.Scalar = type { i32, i32 }
%struct.Vector = type { i32 }
%struct.Matrix = type { i32, i32, i32 }
%struct.SpvReflectArrayTraits = type { i32, [32 x i32], i32 }
%struct.SpvReflectBindingArrayTraits = type { i32, [32 x i32] }
%struct.anon = type { i32, i32 }

; 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: nounwind uwtable
declare dso_local ptr @spvReflectGetEntryPoint(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local i32 @spvReflectEnumerateEntryPointDescriptorBindings(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #1 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i8, align 1
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %16 = icmp eq ptr %15, null
  br i1 %16, label %17, label %18

17:                                               ; preds = %4
  store i32 5, ptr %5, align 4
  br label %107

18:                                               ; preds = %4
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = icmp eq ptr %19, null
  br i1 %20, label %21, label %22

21:                                               ; preds = %18
  store i32 5, ptr %5, align 4
  br label %107

22:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #2
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = call ptr @spvReflectGetEntryPoint(ptr noundef %23, ptr noundef %24)
  store ptr %25, ptr %10, align 8, !tbaa !5
  %26 = load ptr, ptr %10, align 8, !tbaa !5
  %27 = icmp eq ptr %26, null
  br i1 %27, label %28, label %29

28:                                               ; preds = %22
  store i32 8, ptr %5, align 4
  store i32 1, ptr %11, align 4
  br label %106

29:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #2
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #2
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %30

30:                                               ; preds = %86, %29
  %31 = load i32, ptr %13, align 4, !tbaa !9
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.SpvReflectShaderModule, ptr %32, i32 0, i32 11
  %34 = load i32, ptr %33, align 8, !tbaa !11
  %35 = icmp ult i32 %31, %34
  br i1 %35, label %37, label %36

36:                                               ; preds = %30
  store i32 2, ptr %11, align 4
  br label %89

37:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #2
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.SpvReflectEntryPoint, ptr %38, i32 0, i32 11
  %40 = load ptr, ptr %39, align 8, !tbaa !13
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.SpvReflectEntryPoint, ptr %41, i32 0, i32 10
  %43 = load i32, ptr %42, align 8, !tbaa !16
  %44 = zext i32 %43 to i64
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.SpvReflectShaderModule, ptr %45, i32 0, i32 12
  %47 = load ptr, ptr %46, align 8, !tbaa !17
  %48 = load i32, ptr %13, align 4, !tbaa !9
  %49 = zext i32 %48 to i64
  %50 = getelementptr inbounds %struct.SpvReflectDescriptorBinding, ptr %47, i64 %49
  %51 = getelementptr inbounds %struct.SpvReflectDescriptorBinding, ptr %50, i32 0, i32 0
  %52 = load i32, ptr %51, align 8, !tbaa !18
  %53 = call zeroext i1 @SearchSortedUint32(ptr noundef %40, i64 noundef %44, i32 noundef %52)
  %54 = zext i1 %53 to i8
  store i8 %54, ptr %14, align 1, !tbaa !29
  %55 = load i8, ptr %14, align 1, !tbaa !29, !range !31, !noundef !32
  %56 = trunc i8 %55 to i1
  br i1 %56, label %57, label %82

57:                                               ; preds = %37
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = icmp ne ptr %58, null
  br i1 %59, label %60, label %78

60:                                               ; preds = %57
  %61 = load i32, ptr %12, align 4, !tbaa !9
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = load i32, ptr %62, align 4, !tbaa !9
  %64 = icmp uge i32 %61, %63
  br i1 %64, label %65, label %66

65:                                               ; preds = %60
  store i32 7, ptr %5, align 4
  store i32 1, ptr %11, align 4
  br label %83

66:                                               ; preds = %60
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.SpvReflectShaderModule, ptr %67, i32 0, i32 12
  %69 = load ptr, ptr %68, align 8, !tbaa !17
  %70 = load i32, ptr %13, align 4, !tbaa !9
  %71 = zext i32 %70 to i64
  %72 = getelementptr inbounds %struct.SpvReflectDescriptorBinding, ptr %69, i64 %71
  %73 = load ptr, ptr %9, align 8, !tbaa !5
  %74 = load i32, ptr %12, align 4, !tbaa !9
  %75 = add i32 %74, 1
  store i32 %75, ptr %12, align 4, !tbaa !9
  %76 = zext i32 %74 to i64
  %77 = getelementptr inbounds ptr, ptr %73, i64 %76
  store ptr %72, ptr %77, align 8, !tbaa !5
  br label %81

78:                                               ; preds = %57
  %79 = load i32, ptr %12, align 4, !tbaa !9
  %80 = add i32 %79, 1
  store i32 %80, ptr %12, align 4, !tbaa !9
  br label %81

81:                                               ; preds = %78, %66
  br label %82

82:                                               ; preds = %81, %37
  store i32 0, ptr %11, align 4
  br label %83

83:                                               ; preds = %82, %65
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #2
  %84 = load i32, ptr %11, align 4
  switch i32 %84, label %89 [
    i32 0, label %85
  ]

85:                                               ; preds = %83
  br label %86

86:                                               ; preds = %85
  %87 = load i32, ptr %13, align 4, !tbaa !9
  %88 = add i32 %87, 1
  store i32 %88, ptr %13, align 4, !tbaa !9
  br label %30, !llvm.loop !33

89:                                               ; preds = %83, %36
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #2
  %90 = load i32, ptr %11, align 4
  switch i32 %90, label %105 [
    i32 2, label %91
  ]

91:                                               ; preds = %89
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  %93 = icmp ne ptr %92, null
  br i1 %93, label %94, label %101

94:                                               ; preds = %91
  %95 = load i32, ptr %12, align 4, !tbaa !9
  %96 = load ptr, ptr %8, align 8, !tbaa !5
  %97 = load i32, ptr %96, align 4, !tbaa !9
  %98 = icmp ne i32 %95, %97
  br i1 %98, label %99, label %100

99:                                               ; preds = %94
  store i32 7, ptr %5, align 4
  store i32 1, ptr %11, align 4
  br label %105

100:                                              ; preds = %94
  br label %104

101:                                              ; preds = %91
  %102 = load i32, ptr %12, align 4, !tbaa !9
  %103 = load ptr, ptr %8, align 8, !tbaa !5
  store i32 %102, ptr %103, align 4, !tbaa !9
  br label %104

104:                                              ; preds = %101, %100
  store i32 0, ptr %5, align 4
  store i32 1, ptr %11, align 4
  br label %105

105:                                              ; preds = %104, %99, %89
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #2
  br label %106

106:                                              ; preds = %105, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #2
  br label %107

107:                                              ; preds = %106, %21, %17
  %108 = load i32, ptr %5, align 4
  ret i32 %108
}

; Function Attrs: nounwind uwtable
declare hidden zeroext i1 @SearchSortedUint32(ptr noundef, i64 noundef, i32 noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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, !10, i64 64}
!12 = !{!"SpvReflectShaderModule", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !6, i64 24, !10, i64 32, !10, i64 36, !6, i64 40, !6, i64 48, !10, i64 56, !10, i64 60, !10, i64 64, !6, i64 72, !10, i64 80, !7, i64 88, !10, i64 1112, !6, i64 1120, !10, i64 1128, !6, i64 1136, !10, i64 1144, !6, i64 1152, !6, i64 1160}
!13 = !{!14, !6, i64 72}
!14 = !{!"SpvReflectEntryPoint", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !6, i64 24, !10, i64 32, !6, i64 40, !10, i64 48, !6, i64 56, !10, i64 64, !6, i64 72, !10, i64 80, !6, i64 88, !15, i64 96, !10, i64 108, !10, i64 112}
!15 = !{!"LocalSize", !10, i64 0, !10, i64 4, !10, i64 8}
!16 = !{!14, !10, i64 64}
!17 = !{!12, !6, i64 72}
!18 = !{!19, !10, i64 0}
!19 = !{!"SpvReflectDescriptorBinding", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !20, i64 36, !21, i64 64, !27, i64 288, !10, i64 420, !10, i64 424, !10, i64 428, !6, i64 432, !6, i64 440, !28, i64 448}
!20 = !{!"SpvReflectImageTraits", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!21 = !{!"SpvReflectBlockVariable", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !22, i64 36, !26, i64 60, !10, i64 196, !10, i64 200, !6, i64 208, !6, i64 216}
!22 = !{!"SpvReflectNumericTraits", !23, i64 0, !24, i64 8, !25, i64 12}
!23 = !{!"Scalar", !10, i64 0, !10, i64 4}
!24 = !{!"Vector", !10, i64 0}
!25 = !{!"Matrix", !10, i64 0, !10, i64 4, !10, i64 8}
!26 = !{!"SpvReflectArrayTraits", !10, i64 0, !7, i64 4, !10, i64 132}
!27 = !{!"SpvReflectBindingArrayTraits", !10, i64 0, !7, i64 4}
!28 = !{!"", !10, i64 0, !10, i64 4}
!29 = !{!30, !30, i64 0}
!30 = !{!"_Bool", !7, i64 0}
!31 = !{i8 0, i8 2}
!32 = !{}
!33 = distinct !{!33, !34}
!34 = !{!"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"

%struct.SpvReflectDescriptorBinding = type { i32, ptr, i32, i32, i32, i32, i32, %struct.SpvReflectImageTraits, %struct.SpvReflectBlockVariable, %struct.SpvReflectBindingArrayTraits, i32, i32, i32, ptr, ptr, %struct.anon }
%struct.SpvReflectImageTraits = type { i32, i32, i32, i32, i32, i32 }
%struct.SpvReflectBlockVariable = type { i32, ptr, i32, i32, i32, i32, i32, %struct.SpvReflectNumericTraits, %struct.SpvReflectArrayTraits, i32, i32, ptr, ptr }
%struct.SpvReflectNumericTraits = type { %struct.Scalar, %struct.Vector, %struct.Matrix }
%struct.Scalar = type { i32, i32 }
%struct.Vector = type { i32 }
%struct.Matrix = type { i32, i32, i32 }
%struct.SpvReflectArrayTraits = type { i32, [32 x i32], i32 }
%struct.SpvReflectBindingArrayTraits = type { i32, [32 x i32] }
%struct.anon = type { i32, i32 }

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @spvReflectEnumerateEntryPointDescriptorBindings(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef writeonly %3) local_unnamed_addr #0 {
  %5 = icmp eq ptr %0, null
  %6 = icmp eq ptr %2, null
  %or.cond = or i1 %5, %6
  br i1 %or.cond, label %.thread47, label %7

7:                                                ; preds = %4
  %8 = tail call ptr @spvReflectGetEntryPoint(ptr noundef nonnull %0, ptr noundef %1)
  %9 = icmp eq ptr %8, null
  br i1 %9, label %.thread47, label %.preheader

.preheader:                                       ; preds = %7
  %10 = getelementptr inbounds i8, ptr %0, i64 64
  %11 = load i32, ptr %10, align 8, !tbaa !5
  %.not4150.not = icmp eq i32 %11, 0
  br i1 %.not4150.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %12 = getelementptr inbounds i8, ptr %8, i64 72
  %13 = getelementptr inbounds i8, ptr %8, i64 64
  %14 = getelementptr inbounds i8, ptr %0, i64 72
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %.lr.ph.split.us
  %indvars.iv55 = phi i64 [ %indvars.iv.next56, %.lr.ph.split.us ], [ 0, %.lr.ph ]
  %.03051.us = phi i32 [ %spec.select, %.lr.ph.split.us ], [ 0, %.lr.ph ]
  %15 = load ptr, ptr %12, align 8, !tbaa !11
  %16 = load i32, ptr %13, align 8, !tbaa !14
  %17 = zext i32 %16 to i64
  %18 = load ptr, ptr %14, align 8, !tbaa !15
  %19 = getelementptr inbounds %struct.SpvReflectDescriptorBinding, ptr %18, i64 %indvars.iv55
  %20 = load i32, ptr %19, align 8, !tbaa !16
  %21 = tail call zeroext i1 @SearchSortedUint32(ptr noundef %15, i64 noundef %17, i32 noundef %20)
  %22 = zext i1 %21 to i32
  %spec.select = add i32 %.03051.us, %22
  %indvars.iv.next56 = add nuw nsw i64 %indvars.iv55, 1
  %23 = load i32, ptr %10, align 8, !tbaa !5
  %24 = zext i32 %23 to i64
  %.not41.us = icmp ult i64 %indvars.iv.next56, %24
  br i1 %.not41.us, label %.lr.ph.split.us, label %._crit_edge, !llvm.loop !27

.lr.ph.split:                                     ; preds = %.lr.ph, %40
  %indvars.iv = phi i64 [ %indvars.iv.next, %40 ], [ 0, %.lr.ph ]
  %.03051 = phi i32 [ %.232.ph, %40 ], [ 0, %.lr.ph ]
  %25 = load ptr, ptr %12, align 8, !tbaa !11
  %26 = load i32, ptr %13, align 8, !tbaa !14
  %27 = zext i32 %26 to i64
  %28 = load ptr, ptr %14, align 8, !tbaa !15
  %29 = getelementptr inbounds %struct.SpvReflectDescriptorBinding, ptr %28, i64 %indvars.iv
  %30 = load i32, ptr %29, align 8, !tbaa !16
  %31 = tail call zeroext i1 @SearchSortedUint32(ptr noundef %25, i64 noundef %27, i32 noundef %30)
  br i1 %31, label %32, label %40

32:                                               ; preds = %.lr.ph.split
  %33 = load i32, ptr %2, align 4, !tbaa !29
  %.not40 = icmp ult i32 %.03051, %33
  br i1 %.not40, label %34, label %.thread47

34:                                               ; preds = %32
  %35 = load ptr, ptr %14, align 8, !tbaa !15
  %36 = getelementptr inbounds %struct.SpvReflectDescriptorBinding, ptr %35, i64 %indvars.iv
  %37 = add nuw i32 %.03051, 1
  %38 = zext i32 %.03051 to i64
  %39 = getelementptr inbounds ptr, ptr %3, i64 %38
  store ptr %36, ptr %39, align 8, !tbaa !30
  br label %40

40:                                               ; preds = %34, %.lr.ph.split
  %.232.ph = phi i32 [ %.03051, %.lr.ph.split ], [ %37, %34 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %41 = load i32, ptr %10, align 8, !tbaa !5
  %42 = zext i32 %41 to i64
  %.not41 = icmp ult i64 %indvars.iv.next, %42
  br i1 %.not41, label %.lr.ph.split, label %._crit_edge, !llvm.loop !27

._crit_edge:                                      ; preds = %40, %.lr.ph.split.us, %.preheader
  %.030.lcssa = phi i32 [ 0, %.preheader ], [ %spec.select, %.lr.ph.split.us ], [ %.232.ph, %40 ]
  %.not42 = icmp eq ptr %3, null
  br i1 %.not42, label %45, label %43

43:                                               ; preds = %._crit_edge
  %44 = load i32, ptr %2, align 4, !tbaa !29
  %.not43 = icmp eq i32 %.030.lcssa, %44
  br i1 %.not43, label %46, label %.thread47

45:                                               ; preds = %._crit_edge
  store i32 %.030.lcssa, ptr %2, align 4, !tbaa !29
  br label %46

46:                                               ; preds = %43, %45
  br label %.thread47

.thread47:                                        ; preds = %32, %7, %43, %46, %4
  %.5 = phi i32 [ 5, %4 ], [ 8, %7 ], [ 0, %46 ], [ 7, %43 ], [ 7, %32 ]
  ret i32 %.5
}

; Function Attrs: nounwind uwtable
declare hidden zeroext i1 @SearchSortedUint32(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #0

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

!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 64}
!6 = !{!"SpvReflectShaderModule", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !10, i64 24, !7, i64 32, !7, i64 36, !10, i64 40, !10, i64 48, !7, i64 56, !7, i64 60, !7, i64 64, !10, i64 72, !7, i64 80, !8, i64 88, !7, i64 1112, !10, i64 1120, !7, i64 1128, !10, i64 1136, !7, i64 1144, !10, i64 1152, !10, i64 1160}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !10, i64 72}
!12 = !{!"SpvReflectEntryPoint", !10, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24, !7, i64 32, !10, i64 40, !7, i64 48, !10, i64 56, !7, i64 64, !10, i64 72, !7, i64 80, !10, i64 88, !13, i64 96, !7, i64 108, !7, i64 112}
!13 = !{!"LocalSize", !7, i64 0, !7, i64 4, !7, i64 8}
!14 = !{!12, !7, i64 64}
!15 = !{!6, !10, i64 72}
!16 = !{!17, !7, i64 0}
!17 = !{!"SpvReflectDescriptorBinding", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !18, i64 36, !19, i64 64, !25, i64 288, !7, i64 420, !7, i64 424, !7, i64 428, !10, i64 432, !10, i64 440, !26, i64 448}
!18 = !{!"SpvReflectImageTraits", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20}
!19 = !{!"SpvReflectBlockVariable", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !20, i64 36, !24, i64 60, !7, i64 196, !7, i64 200, !10, i64 208, !10, i64 216}
!20 = !{!"SpvReflectNumericTraits", !21, i64 0, !22, i64 8, !23, i64 12}
!21 = !{!"Scalar", !7, i64 0, !7, i64 4}
!22 = !{!"Vector", !7, i64 0}
!23 = !{!"Matrix", !7, i64 0, !7, i64 4, !7, i64 8}
!24 = !{!"SpvReflectArrayTraits", !7, i64 0, !8, i64 4, !7, i64 132}
!25 = !{!"SpvReflectBindingArrayTraits", !7, i64 0, !8, i64 4}
!26 = !{!"", !7, i64 0, !7, i64 4}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!7, !7, i64 0}
!30 = !{!10, !10, i64 0}


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