; LLVM IR from facebookresearch/habitat-sim :: src/deps/basis-universal/encoder/basisu_resampler.ll (ZN6basisu9Resampler7restartEv)

; 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.basisu::Resampler" = type <{ i32, i32, i32, i32, i32, i32, i32, [4 x i8], ptr, ptr, ptr, ptr, i8, i8, i8, [5 x i8], ptr, ptr, ptr, i32, i32, i32, float, float, [4 x i8] }>
%"struct.basisu::Resampler::Contrib_List" = type { i16, ptr }
%"struct.basisu::Resampler::Contrib" = type { float, i16 }
%"struct.basisu::Resampler::Scan_Buf" = type { [16384 x i32], [16384 x ptr] }

; 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
declare void @free(ptr noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN6basisuL21resampler_range_checkEii(i32 noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6basisu9Resampler7restartEv(ptr noundef nonnull align 8 dereferenceable(116) %0) #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %5 = load ptr, ptr %2, align 8
  %6 = getelementptr inbounds %"class.basisu::Resampler", ptr %5, i32 0, i32 21
  %7 = load i32, ptr %6, align 8, !tbaa !9
  %8 = icmp ne i32 0, %7
  br i1 %8, label %9, label %10

9:                                                ; preds = %1
  br label %108

10:                                               ; preds = %1
  %11 = getelementptr inbounds %"class.basisu::Resampler", ptr %5, i32 0, i32 20
  store i32 0, ptr %11, align 4, !tbaa !16
  %12 = getelementptr inbounds %"class.basisu::Resampler", ptr %5, i32 0, i32 19
  store i32 0, ptr %12, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %3, align 4, !tbaa !18
  br label %13

13:                                               ; preds = %29, %10
  %14 = load i32, ptr %3, align 4, !tbaa !18
  %15 = getelementptr inbounds %"class.basisu::Resampler", ptr %5, i32 0, i32 3
  %16 = load i32, ptr %15, align 4, !tbaa !19
  %17 = icmp slt i32 %14, %16
  br i1 %17, label %18, label %32

18:                                               ; preds = %13
  %19 = getelementptr inbounds %"class.basisu::Resampler", ptr %5, i32 0, i32 16
  %20 = load ptr, ptr %19, align 8, !tbaa !20
  %21 = load i32, ptr %3, align 4, !tbaa !18
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds i32, ptr %20, i64 %22
  store i32 0, ptr %23, align 4, !tbaa !18
  %24 = getelementptr inbounds %"class.basisu::Resampler", ptr %5, i32 0, i32 17
  %25 = load ptr, ptr %24, align 8, !tbaa !21
  %26 = load i32, ptr %3, align 4, !tbaa !18
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds i8, ptr %25, i64 %27
  store i8 0, ptr %28, align 1, !tbaa !22
  br label %29

29:                                               ; preds = %18
  %30 = load i32, ptr %3, align 4, !tbaa !18
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr %3, align 4, !tbaa !18
  br label %13, !llvm.loop !23

32:                                               ; preds = %13
  store i32 0, ptr %3, align 4, !tbaa !18
  br label %33

33:                                               ; preds = %77, %32
  %34 = load i32, ptr %3, align 4, !tbaa !18
  %35 = getelementptr inbounds %"class.basisu::Resampler", ptr %5, i32 0, i32 5
  %36 = load i32, ptr %35, align 4, !tbaa !25
  %37 = icmp slt i32 %34, %36
  br i1 %37, label %38, label %80

38:                                               ; preds = %33
  store i32 0, ptr %4, align 4, !tbaa !18
  br label %39

39:                                               ; preds = %73, %38
  %40 = load i32, ptr %4, align 4, !tbaa !18
  %41 = getelementptr inbounds %"class.basisu::Resampler", ptr %5, i32 0, i32 11
  %42 = load ptr, ptr %41, align 8, !tbaa !26
  %43 = load i32, ptr %3, align 4, !tbaa !18
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds %"struct.basisu::Resampler::Contrib_List", ptr %42, i64 %44
  %46 = getelementptr inbounds %"struct.basisu::Resampler::Contrib_List", ptr %45, i32 0, i32 0
  %47 = load i16, ptr %46, align 8, !tbaa !27
  %48 = zext i16 %47 to i32
  %49 = icmp slt i32 %40, %48
  br i1 %49, label %50, label %76

50:                                               ; preds = %39
  %51 = getelementptr inbounds %"class.basisu::Resampler", ptr %5, i32 0, i32 16
  %52 = load ptr, ptr %51, align 8, !tbaa !20
  %53 = getelementptr inbounds %"class.basisu::Resampler", ptr %5, i32 0, i32 11
  %54 = load ptr, ptr %53, align 8, !tbaa !26
  %55 = load i32, ptr %3, align 4, !tbaa !18
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds %"struct.basisu::Resampler::Contrib_List", ptr %54, i64 %56
  %58 = getelementptr inbounds %"struct.basisu::Resampler::Contrib_List", ptr %57, i32 0, i32 1
  %59 = load ptr, ptr %58, align 8, !tbaa !30
  %60 = load i32, ptr %4, align 4, !tbaa !18
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds %"struct.basisu::Resampler::Contrib", ptr %59, i64 %61
  %63 = getelementptr inbounds %"struct.basisu::Resampler::Contrib", ptr %62, i32 0, i32 1
  %64 = load i16, ptr %63, align 4, !tbaa !31
  %65 = zext i16 %64 to i32
  %66 = getelementptr inbounds %"class.basisu::Resampler", ptr %5, i32 0, i32 3
  %67 = load i32, ptr %66, align 4, !tbaa !19
  %68 = call noundef i32 @_ZN6basisuL21resampler_range_checkEii(i32 noundef %65, i32 noundef %67)
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds i32, ptr %52, i64 %69
  %71 = load i32, ptr %70, align 4, !tbaa !18
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %70, align 4, !tbaa !18
  br label %73

73:                                               ; preds = %50
  %74 = load i32, ptr %4, align 4, !tbaa !18
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %4, align 4, !tbaa !18
  br label %39, !llvm.loop !33

76:                                               ; preds = %39
  br label %77

77:                                               ; preds = %76
  %78 = load i32, ptr %3, align 4, !tbaa !18
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %3, align 4, !tbaa !18
  br label %33, !llvm.loop !34

80:                                               ; preds = %33
  store i32 0, ptr %3, align 4, !tbaa !18
  br label %81

81:                                               ; preds = %104, %80
  %82 = load i32, ptr %3, align 4, !tbaa !18
  %83 = icmp slt i32 %82, 16384
  br i1 %83, label %84, label %107

84:                                               ; preds = %81
  %85 = getelementptr inbounds %"class.basisu::Resampler", ptr %5, i32 0, i32 18
  %86 = load ptr, ptr %85, align 8, !tbaa !35
  %87 = getelementptr inbounds %"struct.basisu::Resampler::Scan_Buf", ptr %86, i32 0, i32 0
  %88 = load i32, ptr %3, align 4, !tbaa !18
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [16384 x i32], ptr %87, i64 0, i64 %89
  store i32 -1, ptr %90, align 4, !tbaa !18
  %91 = getelementptr inbounds %"class.basisu::Resampler", ptr %5, i32 0, i32 18
  %92 = load ptr, ptr %91, align 8, !tbaa !35
  %93 = getelementptr inbounds %"struct.basisu::Resampler::Scan_Buf", ptr %92, i32 0, i32 1
  %94 = load i32, ptr %3, align 4, !tbaa !18
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [16384 x ptr], ptr %93, i64 0, i64 %95
  %97 = load ptr, ptr %96, align 8, !tbaa !5
  call void @free(ptr noundef %97) #4
  %98 = getelementptr inbounds %"class.basisu::Resampler", ptr %5, i32 0, i32 18
  %99 = load ptr, ptr %98, align 8, !tbaa !35
  %100 = getelementptr inbounds %"struct.basisu::Resampler::Scan_Buf", ptr %99, i32 0, i32 1
  %101 = load i32, ptr %3, align 4, !tbaa !18
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [16384 x ptr], ptr %100, i64 0, i64 %102
  store ptr null, ptr %103, align 8, !tbaa !5
  br label %104

104:                                              ; preds = %84
  %105 = load i32, ptr %3, align 4, !tbaa !18
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %3, align 4, !tbaa !18
  br label %81, !llvm.loop !36

107:                                              ; preds = %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %108

108:                                              ; preds = %107, %9
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { 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 #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 = { 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, !14, i64 104}
!10 = !{!"_ZTSN6basisu9ResamplerE", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !12, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !13, i64 64, !13, i64 65, !13, i64 66, !6, i64 72, !6, i64 80, !6, i64 88, !11, i64 96, !11, i64 100, !14, i64 104, !15, i64 108, !15, i64 112}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSN6basisu9Resampler11Boundary_OpE", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN6basisu9Resampler6StatusE", !7, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!10, !11, i64 100}
!17 = !{!10, !11, i64 96}
!18 = !{!11, !11, i64 0}
!19 = !{!10, !11, i64 12}
!20 = !{!10, !6, i64 72}
!21 = !{!10, !6, i64 80}
!22 = !{!7, !7, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!10, !11, i64 20}
!26 = !{!10, !6, i64 56}
!27 = !{!28, !29, i64 0}
!28 = !{!"_ZTSN6basisu9Resampler12Contrib_ListE", !29, i64 0, !6, i64 8}
!29 = !{!"short", !7, i64 0}
!30 = !{!28, !6, i64 8}
!31 = !{!32, !29, i64 4}
!32 = !{!"_ZTSN6basisu9Resampler7ContribE", !15, i64 0, !29, i64 4}
!33 = distinct !{!33, !24}
!34 = distinct !{!34, !24}
!35 = !{!10, !6, i64 88}
!36 = distinct !{!36, !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"

%"struct.basisu::Resampler::Contrib_List" = type { i16, ptr }
%"struct.basisu::Resampler::Contrib" = type { float, i16 }

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN6basisuL21resampler_range_checkEii(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN6basisu9Resampler7restartEv(ptr nocapture noundef nonnull align 8 dereferenceable(116) %0) local_unnamed_addr #2 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 104
  %3 = load i32, ptr %2, align 8, !tbaa !5
  %.not = icmp eq i32 %3, 0
  br i1 %.not, label %4, label %.loopexit

4:                                                ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 100
  store i32 0, ptr %5, align 4, !tbaa !15
  %6 = getelementptr inbounds i8, ptr %0, i64 96
  store i32 0, ptr %6, align 8, !tbaa !16
  %7 = getelementptr inbounds i8, ptr %0, i64 12
  %8 = load i32, ptr %7, align 4, !tbaa !17
  %9 = icmp sgt i32 %8, 0
  br i1 %9, label %.lr.ph, label %.preheader18

.lr.ph:                                           ; preds = %4
  %10 = getelementptr inbounds i8, ptr %0, i64 72
  %11 = getelementptr inbounds i8, ptr %0, i64 80
  br label %17

.preheader18:                                     ; preds = %17, %4
  %12 = getelementptr inbounds i8, ptr %0, i64 20
  %13 = load i32, ptr %12, align 4, !tbaa !18
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %.preheader17.lr.ph, label %.preheader

.preheader17.lr.ph:                               ; preds = %.preheader18
  %15 = getelementptr inbounds i8, ptr %0, i64 56
  %16 = getelementptr inbounds i8, ptr %0, i64 72
  %.pre = load ptr, ptr %15, align 8, !tbaa !19
  br label %.preheader17

17:                                               ; preds = %.lr.ph, %17
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %17 ]
  %18 = load ptr, ptr %10, align 8, !tbaa !20
  %19 = getelementptr inbounds i32, ptr %18, i64 %indvars.iv
  store i32 0, ptr %19, align 4, !tbaa !21
  %20 = load ptr, ptr %11, align 8, !tbaa !22
  %21 = getelementptr inbounds i8, ptr %20, i64 %indvars.iv
  store i8 0, ptr %21, align 1, !tbaa !23
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %22 = load i32, ptr %7, align 4, !tbaa !17
  %23 = sext i32 %22 to i64
  %24 = icmp slt i64 %indvars.iv.next, %23
  br i1 %24, label %17, label %.preheader18, !llvm.loop !24

.preheader17:                                     ; preds = %.preheader17.lr.ph, %._crit_edge
  %25 = phi i32 [ %13, %.preheader17.lr.ph ], [ %48, %._crit_edge ]
  %26 = phi ptr [ %.pre, %.preheader17.lr.ph ], [ %49, %._crit_edge ]
  %indvars.iv29 = phi i64 [ 0, %.preheader17.lr.ph ], [ %indvars.iv.next30, %._crit_edge ]
  %27 = getelementptr inbounds %"struct.basisu::Resampler::Contrib_List", ptr %26, i64 %indvars.iv29
  %28 = load i16, ptr %27, align 8, !tbaa !26
  %.not24 = icmp eq i16 %28, 0
  br i1 %.not24, label %._crit_edge, label %.lr.ph21

.preheader:                                       ; preds = %._crit_edge, %.preheader18
  %29 = getelementptr inbounds i8, ptr %0, i64 88
  br label %52

.lr.ph21:                                         ; preds = %.preheader17, %.lr.ph21
  %indvars.iv26 = phi i64 [ %indvars.iv.next27, %.lr.ph21 ], [ 0, %.preheader17 ]
  %30 = phi ptr [ %43, %.lr.ph21 ], [ %26, %.preheader17 ]
  %31 = load ptr, ptr %16, align 8, !tbaa !20
  %32 = getelementptr inbounds %"struct.basisu::Resampler::Contrib_List", ptr %30, i64 %indvars.iv29, i32 1
  %33 = load ptr, ptr %32, align 8, !tbaa !29
  %34 = getelementptr inbounds %"struct.basisu::Resampler::Contrib", ptr %33, i64 %indvars.iv26, i32 1
  %35 = load i16, ptr %34, align 4, !tbaa !30
  %36 = zext i16 %35 to i32
  %37 = load i32, ptr %7, align 4, !tbaa !17
  %38 = tail call noundef i32 @_ZN6basisuL21resampler_range_checkEii(i32 noundef %36, i32 noundef %37)
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds i32, ptr %31, i64 %39
  %41 = load i32, ptr %40, align 4, !tbaa !21
  %42 = add nsw i32 %41, 1
  store i32 %42, ptr %40, align 4, !tbaa !21
  %indvars.iv.next27 = add nuw nsw i64 %indvars.iv26, 1
  %43 = load ptr, ptr %15, align 8, !tbaa !19
  %44 = getelementptr inbounds %"struct.basisu::Resampler::Contrib_List", ptr %43, i64 %indvars.iv29
  %45 = load i16, ptr %44, align 8, !tbaa !26
  %46 = zext i16 %45 to i64
  %47 = icmp ult i64 %indvars.iv.next27, %46
  br i1 %47, label %.lr.ph21, label %._crit_edge.loopexit, !llvm.loop !32

._crit_edge.loopexit:                             ; preds = %.lr.ph21
  %.pre35 = load i32, ptr %12, align 4, !tbaa !18
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader17
  %48 = phi i32 [ %.pre35, %._crit_edge.loopexit ], [ %25, %.preheader17 ]
  %49 = phi ptr [ %43, %._crit_edge.loopexit ], [ %26, %.preheader17 ]
  %indvars.iv.next30 = add nuw nsw i64 %indvars.iv29, 1
  %50 = sext i32 %48 to i64
  %51 = icmp slt i64 %indvars.iv.next30, %50
  br i1 %51, label %.preheader17, label %.preheader, !llvm.loop !33

52:                                               ; preds = %.preheader, %52
  %indvars.iv32 = phi i64 [ 0, %.preheader ], [ %indvars.iv.next33, %52 ]
  %53 = load ptr, ptr %29, align 8, !tbaa !34
  %54 = getelementptr inbounds [16384 x i32], ptr %53, i64 0, i64 %indvars.iv32
  store i32 -1, ptr %54, align 4, !tbaa !21
  %55 = getelementptr inbounds i8, ptr %53, i64 65536
  %56 = getelementptr inbounds [16384 x ptr], ptr %55, i64 0, i64 %indvars.iv32
  %57 = load ptr, ptr %56, align 8, !tbaa !35
  tail call void @free(ptr noundef %57) #3
  %58 = load ptr, ptr %29, align 8, !tbaa !34
  %59 = getelementptr inbounds i8, ptr %58, i64 65536
  %60 = getelementptr inbounds [16384 x ptr], ptr %59, i64 0, i64 %indvars.iv32
  store ptr null, ptr %60, align 8, !tbaa !35
  %indvars.iv.next33 = add nuw nsw i64 %indvars.iv32, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next33, 16384
  br i1 %exitcond.not, label %.loopexit, label %52, !llvm.loop !36

.loopexit:                                        ; preds = %52, %1
  ret void
}

attributes #0 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { 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 #2 = { 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 #3 = { 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 104}
!6 = !{!"_ZTSN6basisu9ResamplerE", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !10, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !12, i64 64, !12, i64 65, !12, i64 66, !11, i64 72, !11, i64 80, !11, i64 88, !7, i64 96, !7, i64 100, !13, i64 104, !14, i64 108, !14, i64 112}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN6basisu9Resampler11Boundary_OpE", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"bool", !8, i64 0}
!13 = !{!"_ZTSN6basisu9Resampler6StatusE", !8, i64 0}
!14 = !{!"float", !8, i64 0}
!15 = !{!6, !7, i64 100}
!16 = !{!6, !7, i64 96}
!17 = !{!6, !7, i64 12}
!18 = !{!6, !7, i64 20}
!19 = !{!6, !11, i64 56}
!20 = !{!6, !11, i64 72}
!21 = !{!7, !7, i64 0}
!22 = !{!6, !11, i64 80}
!23 = !{!8, !8, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!27, !28, i64 0}
!27 = !{!"_ZTSN6basisu9Resampler12Contrib_ListE", !28, i64 0, !11, i64 8}
!28 = !{!"short", !8, i64 0}
!29 = !{!27, !11, i64 8}
!30 = !{!31, !28, i64 4}
!31 = !{!"_ZTSN6basisu9Resampler7ContribE", !14, i64 0, !28, i64 4}
!32 = distinct !{!32, !25}
!33 = distinct !{!33, !25}
!34 = !{!6, !11, i64 88}
!35 = !{!11, !11, i64 0}
!36 = distinct !{!36, !25}


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