; LLVM IR from lichen-community-systems/signaletic :: hosts/daisy/vendor/libDaisy/src/util (WaveTableLoader)

; 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.daisy::WaveTableLoader" = type { ptr, i64, %"struct.daisy::WAV_FormatTypeDef", i64, i64, [1024 x i32], %struct.FIL }
%"struct.daisy::WAV_FormatTypeDef" = type { i32, i32, i32, i32, i32, i16, i16, i32, i32, i16, i16, i32, i32 }
%struct.FIL = type { %struct._FDID, i8, i8, i64, i64, i64, i64, ptr, ptr, [512 x i8] }
%struct._FDID = type { ptr, i16, i8, i8, i64, i64 }

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN5daisy15WaveTableLoader6ImportEPKc(ptr noundef nonnull align 8 dereferenceable(4776) %0, ptr noundef %1) #0 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %12 = load ptr, ptr %4, align 8
  %13 = getelementptr inbounds %"class.daisy::WaveTableLoader", ptr %12, i32 0, i32 6
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = call i32 @f_open(ptr noundef %13, ptr noundef %14, i8 noundef zeroext 1)
  %16 = icmp eq i32 %15, 0
  br i1 %16, label %17, label %98

17:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %18 = getelementptr inbounds %"class.daisy::WaveTableLoader", ptr %12, i32 0, i32 6
  %19 = getelementptr inbounds %"class.daisy::WaveTableLoader", ptr %12, i32 0, i32 2
  %20 = call i32 @f_read(ptr noundef %18, ptr noundef %19, i32 noundef 44, ptr noundef %6)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %21

21:                                               ; preds = %93, %17
  %22 = getelementptr inbounds %"class.daisy::WaveTableLoader", ptr %12, i32 0, i32 6
  %23 = getelementptr inbounds %"class.daisy::WaveTableLoader", ptr %12, i32 0, i32 5
  %24 = getelementptr inbounds [1024 x i32], ptr %23, i64 0, i64 0
  %25 = call i32 @f_read(ptr noundef %22, ptr noundef %24, i32 noundef 4096, ptr noundef %6)
  %26 = getelementptr inbounds %"class.daisy::WaveTableLoader", ptr %12, i32 0, i32 2
  %27 = getelementptr inbounds %"struct.daisy::WAV_FormatTypeDef", ptr %26, i32 0, i32 10
  %28 = load i16, ptr %27, align 2, !tbaa !11
  %29 = zext i16 %28 to i32
  switch i32 %29, label %75 [
    i32 16, label %30
    i32 32, label %54
  ]

30:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %31 = getelementptr inbounds %"class.daisy::WaveTableLoader", ptr %12, i32 0, i32 5
  %32 = getelementptr inbounds [1024 x i32], ptr %31, i64 0, i64 0
  store ptr %32, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  store i64 0, ptr %9, align 8, !tbaa !18
  br label %33

33:                                               ; preds = %50, %30
  %34 = load i64, ptr %9, align 8, !tbaa !18
  %35 = icmp ult i64 %34, 2048
  br i1 %35, label %37, label %36

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

37:                                               ; preds = %33
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = load i64, ptr %9, align 8, !tbaa !18
  %40 = getelementptr inbounds i16, ptr %38, i64 %39
  %41 = load i16, ptr %40, align 2, !tbaa !19
  %42 = call noundef float @_Z5s162fs(i16 noundef signext %41)
  %43 = getelementptr inbounds %"class.daisy::WaveTableLoader", ptr %12, i32 0, i32 0
  %44 = load ptr, ptr %43, align 8, !tbaa !20
  %45 = load i32, ptr %7, align 4, !tbaa !9
  %46 = zext i32 %45 to i64
  %47 = getelementptr inbounds float, ptr %44, i64 %46
  store float %42, ptr %47, align 4, !tbaa !21
  %48 = load i32, ptr %7, align 4, !tbaa !9
  %49 = add i32 %48, 1
  store i32 %49, ptr %7, align 4, !tbaa !9
  br label %50

50:                                               ; preds = %37
  %51 = load i64, ptr %9, align 8, !tbaa !18
  %52 = add i64 %51, 1
  store i64 %52, ptr %9, align 8, !tbaa !18
  br label %33, !llvm.loop !23

53:                                               ; preds = %36
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %76

54:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %55 = getelementptr inbounds %"class.daisy::WaveTableLoader", ptr %12, i32 0, i32 5
  %56 = getelementptr inbounds [1024 x i32], ptr %55, i64 0, i64 0
  store ptr %56, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store i64 0, ptr %11, align 8, !tbaa !18
  br label %57

57:                                               ; preds = %71, %54
  %58 = load i64, ptr %11, align 8, !tbaa !18
  %59 = icmp ult i64 %58, 1024
  br i1 %59, label %61, label %60

60:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %74

61:                                               ; preds = %57
  %62 = load ptr, ptr %10, align 8, !tbaa !5
  %63 = load i64, ptr %11, align 8, !tbaa !18
  %64 = getelementptr inbounds float, ptr %62, i64 %63
  %65 = load float, ptr %64, align 4, !tbaa !21
  %66 = getelementptr inbounds %"class.daisy::WaveTableLoader", ptr %12, i32 0, i32 0
  %67 = load ptr, ptr %66, align 8, !tbaa !20
  %68 = load i32, ptr %7, align 4, !tbaa !9
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds float, ptr %67, i64 %69
  store float %65, ptr %70, align 4, !tbaa !21
  br label %71

71:                                               ; preds = %61
  %72 = load i64, ptr %11, align 8, !tbaa !18
  %73 = add i64 %72, 1
  store i64 %73, ptr %11, align 8, !tbaa !18
  br label %57, !llvm.loop !25

74:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %76

75:                                               ; preds = %21
  br label %76

76:                                               ; preds = %75, %74, %53
  br label %77

77:                                               ; preds = %76
  %78 = getelementptr inbounds %"class.daisy::WaveTableLoader", ptr %12, i32 0, i32 6
  %79 = getelementptr inbounds %struct.FIL, ptr %78, i32 0, i32 3
  %80 = load i64, ptr %79, align 8, !tbaa !26
  %81 = getelementptr inbounds %"class.daisy::WaveTableLoader", ptr %12, i32 0, i32 6
  %82 = getelementptr inbounds %struct.FIL, ptr %81, i32 0, i32 0
  %83 = getelementptr inbounds %struct._FDID, ptr %82, i32 0, i32 5
  %84 = load i64, ptr %83, align 8, !tbaa !27
  %85 = icmp eq i64 %80, %84
  br i1 %85, label %86, label %93

86:                                               ; preds = %77
  %87 = load i32, ptr %7, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = getelementptr inbounds %"class.daisy::WaveTableLoader", ptr %12, i32 0, i32 1
  %90 = load i64, ptr %89, align 8, !tbaa !28
  %91 = sub i64 %90, 1
  %92 = icmp ule i64 %88, %91
  br label %93

93:                                               ; preds = %86, %77
  %94 = phi i1 [ true, %77 ], [ %92, %86 ]
  br i1 %94, label %21, label %95, !llvm.loop !29

95:                                               ; preds = %93
  %96 = getelementptr inbounds %"class.daisy::WaveTableLoader", ptr %12, i32 0, i32 6
  %97 = call i32 @f_close(ptr noundef %96)
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %99

98:                                               ; preds = %2
  store i32 2, ptr %3, align 4
  br label %100

99:                                               ; preds = %95
  store i32 0, ptr %3, align 4
  br label %100

100:                                              ; preds = %99, %98
  %101 = load i32, ptr %3, align 4
  ret i32 %101
}

declare i32 @f_open(ptr noundef, ptr noundef, i8 noundef zeroext) #1

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

declare i32 @f_read(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_Z5s162fs(i16 noundef signext) #3

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

declare i32 @f_close(ptr noundef) #1

attributes #0 = { 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 #1 = { "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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { alwaysinline 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 #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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !15, i64 50}
!12 = !{!"_ZTSN5daisy15WaveTableLoaderE", !6, i64 0, !13, i64 8, !14, i64 16, !13, i64 64, !13, i64 72, !7, i64 80, !16, i64 4176}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSN5daisy17WAV_FormatTypeDefE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !15, i64 20, !15, i64 22, !10, i64 24, !10, i64 28, !15, i64 32, !15, i64 34, !10, i64 36, !10, i64 40}
!15 = !{!"short", !7, i64 0}
!16 = !{!"_ZTS3FIL", !17, i64 0, !7, i64 32, !7, i64 33, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !6, i64 72, !6, i64 80, !7, i64 88}
!17 = !{!"_ZTS5_FDID", !6, i64 0, !15, i64 8, !7, i64 10, !7, i64 11, !13, i64 16, !13, i64 24}
!18 = !{!13, !13, i64 0}
!19 = !{!15, !15, i64 0}
!20 = !{!12, !6, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"float", !7, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = !{!12, !13, i64 4216}
!27 = !{!12, !13, i64 4200}
!28 = !{!12, !13, i64 8}
!29 = distinct !{!29, !24}


; 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: mustprogress uwtable
define dso_local noundef range(i32 0, 3) i32 @_ZN5daisy15WaveTableLoader6ImportEPKc(ptr noundef nonnull align 8 dereferenceable(4776) %0, ptr noundef %1) local_unnamed_addr #0 align 2 {
  %3 = alloca i32, align 4
  %4 = getelementptr inbounds i8, ptr %0, i64 4176
  %5 = tail call i32 @f_open(ptr noundef nonnull %4, ptr noundef %1, i8 noundef zeroext 1)
  %6 = icmp eq i32 %5, 0
  br i1 %6, label %7, label %55

7:                                                ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  %8 = getelementptr inbounds i8, ptr %0, i64 16
  %9 = call i32 @f_read(ptr noundef nonnull %4, ptr noundef nonnull %8, i32 noundef 44, ptr noundef nonnull %3)
  %10 = getelementptr inbounds i8, ptr %0, i64 80
  %11 = getelementptr inbounds i8, ptr %0, i64 50
  %12 = getelementptr inbounds i8, ptr %0, i64 4216
  %13 = getelementptr inbounds i8, ptr %0, i64 4200
  %14 = getelementptr inbounds i8, ptr %0, i64 8
  %scevgep27 = getelementptr inbounds i8, ptr %0, i64 4176
  %invariant.gep = getelementptr inbounds i8, ptr %10, i64 28
  %invariant.gep31 = getelementptr inbounds i8, ptr %10, i64 28
  %invariant.gep33 = getelementptr inbounds i8, ptr %10, i64 28
  %invariant.gep35 = getelementptr inbounds i8, ptr %10, i64 28
  br label %.critedge

.critedge:                                        ; preds = %.critedge.backedge, %7
  %.016 = phi i32 [ 0, %7 ], [ %.2, %.critedge.backedge ]
  %15 = call i32 @f_read(ptr noundef nonnull %4, ptr noundef nonnull %10, i32 noundef 4096, ptr noundef nonnull %3)
  %16 = load i16, ptr %11, align 2, !tbaa !5
  switch i16 %16, label %.loopexit [
    i16 16, label %.preheader
    i16 32, label %.preheader17
  ]

.preheader17:                                     ; preds = %.critedge
  %17 = load ptr, ptr %0, align 8, !tbaa !16
  %18 = zext i32 %.016 to i64
  %19 = getelementptr inbounds float, ptr %17, i64 %18
  %scevgep = getelementptr i8, ptr %17, i64 4
  %20 = shl nuw nsw i64 %18, 2
  %scevgep26 = getelementptr i8, ptr %scevgep, i64 %20
  %bound0 = icmp ult ptr %19, %scevgep27
  %bound1 = icmp ult ptr %10, %scevgep26
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %scalar.ph, label %vector.body

vector.body:                                      ; preds = %.preheader17, %vector.body
  %index = phi i64 [ %index.next.3, %vector.body ], [ 0, %.preheader17 ]
  %gep = getelementptr inbounds float, ptr %invariant.gep, i64 %index
  %21 = load float, ptr %gep, align 4
  store float %21, ptr %19, align 4, !tbaa !17, !alias.scope !19, !noalias !22
  %index.next = or disjoint i64 %index, 8
  %gep32 = getelementptr inbounds float, ptr %invariant.gep31, i64 %index.next
  %22 = load float, ptr %gep32, align 4
  store float %22, ptr %19, align 4, !tbaa !17, !alias.scope !19, !noalias !22
  %index.next.1 = or disjoint i64 %index, 16
  %gep34 = getelementptr inbounds float, ptr %invariant.gep33, i64 %index.next.1
  %23 = load float, ptr %gep34, align 4
  store float %23, ptr %19, align 4, !tbaa !17, !alias.scope !19, !noalias !22
  %index.next.2 = or disjoint i64 %index, 24
  %gep36 = getelementptr inbounds float, ptr %invariant.gep35, i64 %index.next.2
  %24 = load float, ptr %gep36, align 4
  store float %24, ptr %19, align 4, !tbaa !17, !alias.scope !19, !noalias !22
  %index.next.3 = add nuw nsw i64 %index, 32
  %25 = icmp eq i64 %index.next.3, 1024
  br i1 %25, label %.loopexit, label %vector.body, !llvm.loop !24

.preheader:                                       ; preds = %.critedge, %.preheader
  %.01521 = phi i64 [ %33, %.preheader ], [ 0, %.critedge ]
  %.120 = phi i32 [ %32, %.preheader ], [ %.016, %.critedge ]
  %26 = getelementptr inbounds i16, ptr %10, i64 %.01521
  %27 = load i16, ptr %26, align 2, !tbaa !28
  %28 = call noundef float @_Z5s162fs(i16 noundef signext %27)
  %29 = load ptr, ptr %0, align 8, !tbaa !16
  %30 = zext i32 %.120 to i64
  %31 = getelementptr inbounds float, ptr %29, i64 %30
  store float %28, ptr %31, align 4, !tbaa !17
  %32 = add i32 %.120, 1
  %33 = add nuw nsw i64 %.01521, 1
  %exitcond23.not = icmp eq i64 %33, 2048
  br i1 %exitcond23.not, label %.loopexit, label %.preheader, !llvm.loop !29

scalar.ph:                                        ; preds = %.preheader17, %scalar.ph
  %.019 = phi i64 [ %45, %scalar.ph ], [ 0, %.preheader17 ]
  %34 = getelementptr inbounds float, ptr %10, i64 %.019
  %35 = load float, ptr %34, align 8, !tbaa !17
  store float %35, ptr %19, align 4, !tbaa !17
  %36 = or disjoint i64 %.019, 1
  %37 = getelementptr inbounds float, ptr %10, i64 %36
  %38 = load float, ptr %37, align 4, !tbaa !17
  store float %38, ptr %19, align 4, !tbaa !17
  %39 = or disjoint i64 %.019, 2
  %40 = getelementptr inbounds float, ptr %10, i64 %39
  %41 = load float, ptr %40, align 8, !tbaa !17
  store float %41, ptr %19, align 4, !tbaa !17
  %42 = or disjoint i64 %.019, 3
  %43 = getelementptr inbounds float, ptr %10, i64 %42
  %44 = load float, ptr %43, align 4, !tbaa !17
  store float %44, ptr %19, align 4, !tbaa !17
  %45 = add nuw nsw i64 %.019, 4
  %exitcond.not.3 = icmp eq i64 %45, 1024
  br i1 %exitcond.not.3, label %.loopexit, label %scalar.ph, !llvm.loop !30

.loopexit:                                        ; preds = %vector.body, %scalar.ph, %.preheader, %.critedge
  %.2 = phi i32 [ %.016, %.critedge ], [ %32, %.preheader ], [ %.016, %scalar.ph ], [ %.016, %vector.body ]
  %46 = load i64, ptr %12, align 8, !tbaa !31
  %47 = load i64, ptr %13, align 8, !tbaa !32
  %48 = icmp eq i64 %46, %47
  br i1 %48, label %49, label %.critedge.backedge

49:                                               ; preds = %.loopexit
  %50 = zext i32 %.2 to i64
  %51 = load i64, ptr %14, align 8, !tbaa !33
  %52 = add i64 %51, -1
  %.not = icmp ult i64 %52, %50
  br i1 %.not, label %53, label %.critedge.backedge

.critedge.backedge:                               ; preds = %49, %.loopexit
  br label %.critedge, !llvm.loop !34

53:                                               ; preds = %49
  %54 = call i32 @f_close(ptr noundef nonnull %4)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  br label %55

55:                                               ; preds = %2, %53
  %.014 = phi i32 [ 0, %53 ], [ 2, %2 ]
  ret i32 %.014
}

declare i32 @f_open(ptr noundef, ptr noundef, i8 noundef zeroext) local_unnamed_addr #1

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

declare i32 @f_read(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_Z5s162fs(i16 noundef signext) 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) #2

declare i32 @f_close(ptr noundef) local_unnamed_addr #1

attributes #0 = { 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 #1 = { "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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { alwaysinline 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 #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, !13, i64 50}
!6 = !{!"_ZTSN5daisy15WaveTableLoaderE", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 64, !10, i64 72, !8, i64 80, !14, i64 4176}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"_ZTSN5daisy17WAV_FormatTypeDefE", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !13, i64 20, !13, i64 22, !12, i64 24, !12, i64 28, !13, i64 32, !13, i64 34, !12, i64 36, !12, i64 40}
!12 = !{!"int", !8, i64 0}
!13 = !{!"short", !8, i64 0}
!14 = !{!"_ZTS3FIL", !15, i64 0, !8, i64 32, !8, i64 33, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !7, i64 72, !7, i64 80, !8, i64 88}
!15 = !{!"_ZTS5_FDID", !7, i64 0, !13, i64 8, !8, i64 10, !8, i64 11, !10, i64 16, !10, i64 24}
!16 = !{!6, !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"float", !8, i64 0}
!19 = !{!20}
!20 = distinct !{!20, !21}
!21 = distinct !{!21, !"LVerDomain"}
!22 = !{!23}
!23 = distinct !{!23, !21}
!24 = distinct !{!24, !25, !26, !27}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!"llvm.loop.isvectorized", i32 1}
!27 = !{!"llvm.loop.unroll.runtime.disable"}
!28 = !{!13, !13, i64 0}
!29 = distinct !{!29, !25}
!30 = distinct !{!30, !25, !26}
!31 = !{!6, !10, i64 4216}
!32 = !{!6, !10, i64 4200}
!33 = !{!6, !10, i64 8}
!34 = distinct !{!34, !25}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass