; LLVM IR from SourangshuGhosh/Fluid-Simulation-for-Computer-Graphics :: src (macvelocityfield)

; 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.GridIndex = type { i32, i32, i32 }
%class.Array3d.0 = type <{ i32, i32, i32, [4 x i8], ptr, i8, [3 x i8], i32, i32, [4 x i8] }>
%class.MACVelocityField = type <{ float, i32, i32, i32, double, %class.Array3d, %class.Array3d, %class.Array3d, i32, [4 x i8] }>
%class.Array3d = type <{ i32, i32, i32, [4 x i8], ptr, i8, [3 x i8], float, i32, [4 x i8] }>

; 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: 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) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16MACVelocityField25_updateExtrapolationLayerEiR17FluidMaterialGridR7Array3dIiE(ptr noundef nonnull align 8 dereferenceable(148) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(88) %2, ptr noundef nonnull align 8 dereferenceable(36) %3) #2 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca [6 x %struct.GridIndex], align 16
  %10 = alloca %struct.GridIndex, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca %struct.GridIndex, align 4
  %17 = alloca { i64, i32 }, align 4
  %18 = alloca %struct.GridIndex, align 4
  %19 = alloca { i64, i32 }, align 4
  %20 = alloca %struct.GridIndex, align 4
  %21 = alloca { i64, i32 }, align 4
  %22 = alloca %struct.GridIndex, align 4
  %23 = alloca { i64, i32 }, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %24 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 72, ptr %9) #7
  %25 = getelementptr inbounds [6 x %struct.GridIndex], ptr %9, i32 0, i32 0
  %26 = getelementptr inbounds %struct.GridIndex, ptr %25, i64 6
  br label %27

27:                                               ; preds = %27, %4
  %28 = phi ptr [ %25, %4 ], [ %29, %27 ]
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %28)
  %29 = getelementptr inbounds %struct.GridIndex, ptr %28, i64 1
  %30 = icmp eq ptr %29, %26
  br i1 %30, label %31, label %27

31:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 12, ptr %10) #7
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %10)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %32

32:                                               ; preds = %130, %31
  %33 = load i32, ptr %11, align 4, !tbaa !9
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = getelementptr inbounds %class.Array3d.0, ptr %34, i32 0, i32 2
  %36 = load i32, ptr %35, align 8, !tbaa !11
  %37 = icmp slt i32 %33, %36
  br i1 %37, label %39, label %38

38:                                               ; preds = %32
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %133

39:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %40

40:                                               ; preds = %126, %39
  %41 = load i32, ptr %13, align 4, !tbaa !9
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = getelementptr inbounds %class.Array3d.0, ptr %42, i32 0, i32 1
  %44 = load i32, ptr %43, align 4, !tbaa !14
  %45 = icmp slt i32 %41, %44
  br i1 %45, label %47, label %46

46:                                               ; preds = %40
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %129

47:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %48

48:                                               ; preds = %122, %47
  %49 = load i32, ptr %14, align 4, !tbaa !9
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = getelementptr inbounds %class.Array3d.0, ptr %50, i32 0, i32 0
  %52 = load i32, ptr %51, align 8, !tbaa !15
  %53 = icmp slt i32 %49, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %48
  store i32 8, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %125

55:                                               ; preds = %48
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = load i32, ptr %14, align 4, !tbaa !9
  %58 = load i32, ptr %13, align 4, !tbaa !9
  %59 = load i32, ptr %11, align 4, !tbaa !9
  %60 = call noundef i32 @_ZN7Array3dIiEclEiii(ptr noundef nonnull align 8 dereferenceable(36) %56, i32 noundef %57, i32 noundef %58, i32 noundef %59)
  %61 = load i32, ptr %6, align 4, !tbaa !9
  %62 = sub nsw i32 %61, 1
  %63 = icmp eq i32 %60, %62
  br i1 %63, label %64, label %121

64:                                               ; preds = %55
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = load i32, ptr %14, align 4, !tbaa !9
  %67 = load i32, ptr %13, align 4, !tbaa !9
  %68 = load i32, ptr %11, align 4, !tbaa !9
  %69 = call noundef zeroext i1 @_ZN17FluidMaterialGrid11isCellSolidEiii(ptr noundef nonnull align 8 dereferenceable(88) %65, i32 noundef %66, i32 noundef %67, i32 noundef %68)
  br i1 %69, label %121, label %70

70:                                               ; preds = %64
  %71 = load i32, ptr %14, align 4, !tbaa !9
  %72 = load i32, ptr %13, align 4, !tbaa !9
  %73 = load i32, ptr %11, align 4, !tbaa !9
  %74 = getelementptr inbounds [6 x %struct.GridIndex], ptr %9, i64 0, i64 0
  call void @_ZN6Grid3d24getNeighbourGridIndices6EiiiP9GridIndex(i32 noundef %71, i32 noundef %72, i32 noundef %73, ptr noundef %74)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %75

75:                                               ; preds = %117, %70
  %76 = load i32, ptr %15, align 4, !tbaa !9
  %77 = icmp slt i32 %76, 6
  br i1 %77, label %79, label %78

78:                                               ; preds = %75
  store i32 11, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %120

79:                                               ; preds = %75
  %80 = load i32, ptr %15, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [6 x %struct.GridIndex], ptr %9, i64 0, i64 %81
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %82, i64 12, i1 false), !tbaa.struct !16
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %10, i64 12, i1 false), !tbaa.struct !16
  %83 = getelementptr inbounds %class.MACVelocityField, ptr %24, i32 0, i32 1
  %84 = load i32, ptr %83, align 4, !tbaa !17
  %85 = getelementptr inbounds %class.MACVelocityField, ptr %24, i32 0, i32 2
  %86 = load i32, ptr %85, align 8, !tbaa !22
  %87 = getelementptr inbounds %class.MACVelocityField, ptr %24, i32 0, i32 3
  %88 = load i32, ptr %87, align 4, !tbaa !23
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %16, i64 12, i1 false)
  %89 = getelementptr inbounds { i64, i32 }, ptr %17, i32 0, i32 0
  %90 = load i64, ptr %89, align 4
  %91 = getelementptr inbounds { i64, i32 }, ptr %17, i32 0, i32 1
  %92 = load i32, ptr %91, align 4
  %93 = call noundef zeroext i1 @_ZN6Grid3d18isGridIndexInRangeE9GridIndexiii(i64 %90, i32 %92, i32 noundef %84, i32 noundef %86, i32 noundef %88)
  br i1 %93, label %94, label %116

94:                                               ; preds = %79
  %95 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %10, i64 12, i1 false), !tbaa.struct !16
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %18, i64 12, i1 false)
  %96 = getelementptr inbounds { i64, i32 }, ptr %19, i32 0, i32 0
  %97 = load i64, ptr %96, align 4
  %98 = getelementptr inbounds { i64, i32 }, ptr %19, i32 0, i32 1
  %99 = load i32, ptr %98, align 4
  %100 = call noundef i32 @_ZN7Array3dIiEclE9GridIndex(ptr noundef nonnull align 8 dereferenceable(36) %95, i64 %97, i32 %99)
  %101 = icmp eq i32 %100, -1
  br i1 %101, label %102, label %116

102:                                              ; preds = %94
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %10, i64 12, i1 false), !tbaa.struct !16
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 4 %20, i64 12, i1 false)
  %104 = getelementptr inbounds { i64, i32 }, ptr %21, i32 0, i32 0
  %105 = load i64, ptr %104, align 4
  %106 = getelementptr inbounds { i64, i32 }, ptr %21, i32 0, i32 1
  %107 = load i32, ptr %106, align 4
  %108 = call noundef zeroext i1 @_ZN17FluidMaterialGrid11isCellSolidE9GridIndex(ptr noundef nonnull align 8 dereferenceable(88) %103, i64 %105, i32 %107)
  br i1 %108, label %116, label %109

109:                                              ; preds = %102
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %10, i64 12, i1 false), !tbaa.struct !16
  %111 = load i32, ptr %6, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %22, i64 12, i1 false)
  %112 = getelementptr inbounds { i64, i32 }, ptr %23, i32 0, i32 0
  %113 = load i64, ptr %112, align 4
  %114 = getelementptr inbounds { i64, i32 }, ptr %23, i32 0, i32 1
  %115 = load i32, ptr %114, align 4
  call void @_ZN7Array3dIiE3setE9GridIndexi(ptr noundef nonnull align 8 dereferenceable(36) %110, i64 %113, i32 %115, i32 noundef %111)
  br label %116

116:                                              ; preds = %109, %102, %94, %79
  br label %117

117:                                              ; preds = %116
  %118 = load i32, ptr %15, align 4, !tbaa !9
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %15, align 4, !tbaa !9
  br label %75, !llvm.loop !24

120:                                              ; preds = %78
  br label %121

121:                                              ; preds = %120, %64, %55
  br label %122

122:                                              ; preds = %121
  %123 = load i32, ptr %14, align 4, !tbaa !9
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %14, align 4, !tbaa !9
  br label %48, !llvm.loop !26

125:                                              ; preds = %54
  br label %126

126:                                              ; preds = %125
  %127 = load i32, ptr %13, align 4, !tbaa !9
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %13, align 4, !tbaa !9
  br label %40, !llvm.loop !27

129:                                              ; preds = %46
  br label %130

130:                                              ; preds = %129
  %131 = load i32, ptr %11, align 4, !tbaa !9
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %11, align 4, !tbaa !9
  br label %32, !llvm.loop !28

133:                                              ; preds = %38
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %9) #7
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7Array3dIiEclEiii(ptr noundef nonnull align 8 dereferenceable(36), i32 noundef, i32 noundef, i32 noundef) #2 align 2

declare noundef zeroext i1 @_ZN17FluidMaterialGrid11isCellSolidEiii(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, i32 noundef, i32 noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6Grid3d24getNeighbourGridIndices6EiiiP9GridIndex(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6Grid3d18isGridIndexInRangeE9GridIndexiii(i64, i32, i32 noundef, i32 noundef, i32 noundef) #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7Array3dIiEclE9GridIndex(ptr noundef nonnull align 8 dereferenceable(36), i64, i32) #2 align 2

declare noundef zeroext i1 @_ZN17FluidMaterialGrid11isCellSolidE9GridIndex(ptr noundef nonnull align 8 dereferenceable(88), i64, i32) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Array3dIiE3setE9GridIndexi(ptr noundef nonnull align 8 dereferenceable(36), i64, i32, i32 noundef) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 = { "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 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 = { 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 #7 = { 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, !10, i64 8}
!12 = !{!"_ZTS7Array3dIiE", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16, !13, i64 24, !10, i64 28, !10, i64 32}
!13 = !{!"bool", !7, i64 0}
!14 = !{!12, !10, i64 4}
!15 = !{!12, !10, i64 0}
!16 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9}
!17 = !{!18, !10, i64 4}
!18 = !{!"_ZTS16MACVelocityField", !19, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !20, i64 16, !21, i64 24, !21, i64 64, !21, i64 104, !10, i64 144}
!19 = !{!"float", !7, i64 0}
!20 = !{!"double", !7, i64 0}
!21 = !{!"_ZTS7Array3dIfE", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16, !13, i64 24, !19, i64 28, !10, i64 32}
!22 = !{!18, !10, i64 8}
!23 = !{!18, !10, i64 12}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = distinct !{!27, !25}
!28 = distinct !{!28, !25}


; 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.GridIndex = type { i32, i32, i32 }

; 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: 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) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN16MACVelocityField25_updateExtrapolationLayerEiR17FluidMaterialGridR7Array3dIiE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(148) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(88) %2, ptr noundef nonnull align 8 dereferenceable(36) %3) local_unnamed_addr #2 align 2 {
  %5 = alloca [6 x %struct.GridIndex], align 16
  %6 = alloca %struct.GridIndex, align 8
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #7
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %5)
  %.ptr.1 = getelementptr inbounds i8, ptr %5, i64 12
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %.ptr.1)
  %.ptr.2 = getelementptr inbounds i8, ptr %5, i64 24
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %.ptr.2)
  %.ptr.3 = getelementptr inbounds i8, ptr %5, i64 36
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %.ptr.3)
  %.ptr.4 = getelementptr inbounds i8, ptr %5, i64 48
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %.ptr.4)
  %.ptr.5 = getelementptr inbounds i8, ptr %5, i64 60
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %.ptr.5)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #7
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %6)
  %7 = getelementptr inbounds i8, ptr %3, i64 8
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = icmp sgt i32 %8, 0
  br i1 %9, label %.preheader46.lr.ph, label %._crit_edge53

.preheader46.lr.ph:                               ; preds = %4
  %10 = getelementptr inbounds i8, ptr %3, i64 4
  %11 = add nsw i32 %1, -1
  %.sroa.214.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  %12 = getelementptr inbounds i8, ptr %0, i64 4
  %13 = getelementptr inbounds i8, ptr %0, i64 8
  %14 = getelementptr inbounds i8, ptr %0, i64 12
  %15 = load i32, ptr %10, align 4, !tbaa !12
  %16 = icmp sgt i32 %15, 0
  br i1 %16, label %.preheader46, label %._crit_edge53

.preheader46:                                     ; preds = %.preheader46.lr.ph, %._crit_edge50
  %17 = phi i32 [ %26, %._crit_edge50 ], [ %8, %.preheader46.lr.ph ]
  %18 = phi i32 [ %27, %._crit_edge50 ], [ %15, %.preheader46.lr.ph ]
  %19 = phi i32 [ %28, %._crit_edge50 ], [ %15, %.preheader46.lr.ph ]
  %.051 = phi i32 [ %29, %._crit_edge50 ], [ 0, %.preheader46.lr.ph ]
  %20 = icmp sgt i32 %19, 0
  %21 = load i32, ptr %3, align 8
  %22 = icmp sgt i32 %21, 0
  %or.cond = select i1 %20, i1 %22, i1 false
  br i1 %or.cond, label %.preheader, label %._crit_edge50

._crit_edge53:                                    ; preds = %._crit_edge50, %.preheader46.lr.ph, %4
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #7
  ret void

.preheader:                                       ; preds = %.preheader46, %._crit_edge
  %23 = phi i32 [ %31, %._crit_edge ], [ %18, %.preheader46 ]
  %24 = phi i32 [ %32, %._crit_edge ], [ %21, %.preheader46 ]
  %.04249 = phi i32 [ %33, %._crit_edge ], [ 0, %.preheader46 ]
  %25 = icmp sgt i32 %24, 0
  br i1 %25, label %.lr.ph, label %._crit_edge

._crit_edge50.loopexit:                           ; preds = %._crit_edge
  %.pre57 = load i32, ptr %7, align 8, !tbaa !5
  br label %._crit_edge50

._crit_edge50:                                    ; preds = %._crit_edge50.loopexit, %.preheader46
  %26 = phi i32 [ %.pre57, %._crit_edge50.loopexit ], [ %17, %.preheader46 ]
  %27 = phi i32 [ %31, %._crit_edge50.loopexit ], [ %18, %.preheader46 ]
  %28 = phi i32 [ %31, %._crit_edge50.loopexit ], [ %19, %.preheader46 ]
  %29 = add nuw nsw i32 %.051, 1
  %30 = icmp slt i32 %29, %26
  br i1 %30, label %.preheader46, label %._crit_edge53, !llvm.loop !13

._crit_edge.loopexit:                             ; preds = %.loopexit
  %.pre = load i32, ptr %10, align 4, !tbaa !12
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader
  %31 = phi i32 [ %.pre, %._crit_edge.loopexit ], [ %23, %.preheader ]
  %32 = phi i32 [ %106, %._crit_edge.loopexit ], [ %24, %.preheader ]
  %33 = add nuw nsw i32 %.04249, 1
  %34 = icmp slt i32 %33, %31
  br i1 %34, label %.preheader, label %._crit_edge50.loopexit, !llvm.loop !16

.lr.ph:                                           ; preds = %.preheader, %.loopexit
  %.04348 = phi i32 [ %105, %.loopexit ], [ 0, %.preheader ]
  %35 = call noundef i32 @_ZN7Array3dIiEclEiii(ptr noundef nonnull align 8 dereferenceable(36) %3, i32 noundef %.04348, i32 noundef %.04249, i32 noundef %.051)
  %36 = icmp eq i32 %35, %11
  br i1 %36, label %37, label %.loopexit

37:                                               ; preds = %.lr.ph
  %38 = call noundef zeroext i1 @_ZN17FluidMaterialGrid11isCellSolidEiii(ptr noundef nonnull align 8 dereferenceable(88) %2, i32 noundef %.04348, i32 noundef %.04249, i32 noundef %.051)
  br i1 %38, label %.loopexit, label %39

39:                                               ; preds = %37
  call void @_ZN6Grid3d24getNeighbourGridIndices6EiiiP9GridIndex(i32 noundef %.04348, i32 noundef %.04249, i32 noundef %.051, ptr noundef nonnull %5)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %6, ptr noundef nonnull align 16 dereferenceable(12) %5, i64 12, i1 false), !tbaa.struct !17
  %.sroa.013.0.copyload = load i64, ptr %6, align 8
  %.sroa.214.0.copyload = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %40 = load i32, ptr %12, align 4, !tbaa !19
  %41 = load i32, ptr %13, align 8, !tbaa !24
  %42 = load i32, ptr %14, align 4, !tbaa !25
  %43 = call noundef zeroext i1 @_ZN6Grid3d18isGridIndexInRangeE9GridIndexiii(i64 %.sroa.013.0.copyload, i32 %.sroa.214.0.copyload, i32 noundef %40, i32 noundef %41, i32 noundef %42)
  br i1 %43, label %44, label %50

44:                                               ; preds = %39
  %.sroa.09.0.copyload = load i64, ptr %6, align 8
  %.sroa.210.0.copyload = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %45 = call noundef i32 @_ZN7Array3dIiEclE9GridIndex(ptr noundef nonnull align 8 dereferenceable(36) %3, i64 %.sroa.09.0.copyload, i32 %.sroa.210.0.copyload)
  %46 = icmp eq i32 %45, -1
  br i1 %46, label %47, label %50

47:                                               ; preds = %44
  %.sroa.05.0.copyload = load i64, ptr %6, align 8
  %.sroa.26.0.copyload = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %48 = call noundef zeroext i1 @_ZN17FluidMaterialGrid11isCellSolidE9GridIndex(ptr noundef nonnull align 8 dereferenceable(88) %2, i64 %.sroa.05.0.copyload, i32 %.sroa.26.0.copyload)
  br i1 %48, label %50, label %49

49:                                               ; preds = %47
  %.sroa.01.0.copyload = load i64, ptr %6, align 8
  %.sroa.22.0.copyload = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  call void @_ZN7Array3dIiE3setE9GridIndexi(ptr noundef nonnull align 8 dereferenceable(36) %3, i64 %.sroa.01.0.copyload, i32 %.sroa.22.0.copyload, i32 noundef %1)
  br label %50

50:                                               ; preds = %39, %44, %47, %49
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %.ptr.1, i64 12, i1 false), !tbaa.struct !17
  %.sroa.013.0.copyload.1 = load i64, ptr %6, align 8
  %.sroa.214.0.copyload.1 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %51 = load i32, ptr %12, align 4, !tbaa !19
  %52 = load i32, ptr %13, align 8, !tbaa !24
  %53 = load i32, ptr %14, align 4, !tbaa !25
  %54 = call noundef zeroext i1 @_ZN6Grid3d18isGridIndexInRangeE9GridIndexiii(i64 %.sroa.013.0.copyload.1, i32 %.sroa.214.0.copyload.1, i32 noundef %51, i32 noundef %52, i32 noundef %53)
  br i1 %54, label %55, label %61

55:                                               ; preds = %50
  %.sroa.09.0.copyload.1 = load i64, ptr %6, align 8
  %.sroa.210.0.copyload.1 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %56 = call noundef i32 @_ZN7Array3dIiEclE9GridIndex(ptr noundef nonnull align 8 dereferenceable(36) %3, i64 %.sroa.09.0.copyload.1, i32 %.sroa.210.0.copyload.1)
  %57 = icmp eq i32 %56, -1
  br i1 %57, label %58, label %61

58:                                               ; preds = %55
  %.sroa.05.0.copyload.1 = load i64, ptr %6, align 8
  %.sroa.26.0.copyload.1 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %59 = call noundef zeroext i1 @_ZN17FluidMaterialGrid11isCellSolidE9GridIndex(ptr noundef nonnull align 8 dereferenceable(88) %2, i64 %.sroa.05.0.copyload.1, i32 %.sroa.26.0.copyload.1)
  br i1 %59, label %61, label %60

60:                                               ; preds = %58
  %.sroa.01.0.copyload.1 = load i64, ptr %6, align 8
  %.sroa.22.0.copyload.1 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  call void @_ZN7Array3dIiE3setE9GridIndexi(ptr noundef nonnull align 8 dereferenceable(36) %3, i64 %.sroa.01.0.copyload.1, i32 %.sroa.22.0.copyload.1, i32 noundef %1)
  br label %61

61:                                               ; preds = %60, %58, %55, %50
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %6, ptr noundef nonnull align 8 dereferenceable(12) %.ptr.2, i64 12, i1 false), !tbaa.struct !17
  %.sroa.013.0.copyload.2 = load i64, ptr %6, align 8
  %.sroa.214.0.copyload.2 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %62 = load i32, ptr %12, align 4, !tbaa !19
  %63 = load i32, ptr %13, align 8, !tbaa !24
  %64 = load i32, ptr %14, align 4, !tbaa !25
  %65 = call noundef zeroext i1 @_ZN6Grid3d18isGridIndexInRangeE9GridIndexiii(i64 %.sroa.013.0.copyload.2, i32 %.sroa.214.0.copyload.2, i32 noundef %62, i32 noundef %63, i32 noundef %64)
  br i1 %65, label %66, label %72

66:                                               ; preds = %61
  %.sroa.09.0.copyload.2 = load i64, ptr %6, align 8
  %.sroa.210.0.copyload.2 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %67 = call noundef i32 @_ZN7Array3dIiEclE9GridIndex(ptr noundef nonnull align 8 dereferenceable(36) %3, i64 %.sroa.09.0.copyload.2, i32 %.sroa.210.0.copyload.2)
  %68 = icmp eq i32 %67, -1
  br i1 %68, label %69, label %72

69:                                               ; preds = %66
  %.sroa.05.0.copyload.2 = load i64, ptr %6, align 8
  %.sroa.26.0.copyload.2 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %70 = call noundef zeroext i1 @_ZN17FluidMaterialGrid11isCellSolidE9GridIndex(ptr noundef nonnull align 8 dereferenceable(88) %2, i64 %.sroa.05.0.copyload.2, i32 %.sroa.26.0.copyload.2)
  br i1 %70, label %72, label %71

71:                                               ; preds = %69
  %.sroa.01.0.copyload.2 = load i64, ptr %6, align 8
  %.sroa.22.0.copyload.2 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  call void @_ZN7Array3dIiE3setE9GridIndexi(ptr noundef nonnull align 8 dereferenceable(36) %3, i64 %.sroa.01.0.copyload.2, i32 %.sroa.22.0.copyload.2, i32 noundef %1)
  br label %72

72:                                               ; preds = %71, %69, %66, %61
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %.ptr.3, i64 12, i1 false), !tbaa.struct !17
  %.sroa.013.0.copyload.3 = load i64, ptr %6, align 8
  %.sroa.214.0.copyload.3 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %73 = load i32, ptr %12, align 4, !tbaa !19
  %74 = load i32, ptr %13, align 8, !tbaa !24
  %75 = load i32, ptr %14, align 4, !tbaa !25
  %76 = call noundef zeroext i1 @_ZN6Grid3d18isGridIndexInRangeE9GridIndexiii(i64 %.sroa.013.0.copyload.3, i32 %.sroa.214.0.copyload.3, i32 noundef %73, i32 noundef %74, i32 noundef %75)
  br i1 %76, label %77, label %83

77:                                               ; preds = %72
  %.sroa.09.0.copyload.3 = load i64, ptr %6, align 8
  %.sroa.210.0.copyload.3 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %78 = call noundef i32 @_ZN7Array3dIiEclE9GridIndex(ptr noundef nonnull align 8 dereferenceable(36) %3, i64 %.sroa.09.0.copyload.3, i32 %.sroa.210.0.copyload.3)
  %79 = icmp eq i32 %78, -1
  br i1 %79, label %80, label %83

80:                                               ; preds = %77
  %.sroa.05.0.copyload.3 = load i64, ptr %6, align 8
  %.sroa.26.0.copyload.3 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %81 = call noundef zeroext i1 @_ZN17FluidMaterialGrid11isCellSolidE9GridIndex(ptr noundef nonnull align 8 dereferenceable(88) %2, i64 %.sroa.05.0.copyload.3, i32 %.sroa.26.0.copyload.3)
  br i1 %81, label %83, label %82

82:                                               ; preds = %80
  %.sroa.01.0.copyload.3 = load i64, ptr %6, align 8
  %.sroa.22.0.copyload.3 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  call void @_ZN7Array3dIiE3setE9GridIndexi(ptr noundef nonnull align 8 dereferenceable(36) %3, i64 %.sroa.01.0.copyload.3, i32 %.sroa.22.0.copyload.3, i32 noundef %1)
  br label %83

83:                                               ; preds = %82, %80, %77, %72
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %6, ptr noundef nonnull align 16 dereferenceable(12) %.ptr.4, i64 12, i1 false), !tbaa.struct !17
  %.sroa.013.0.copyload.4 = load i64, ptr %6, align 8
  %.sroa.214.0.copyload.4 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %84 = load i32, ptr %12, align 4, !tbaa !19
  %85 = load i32, ptr %13, align 8, !tbaa !24
  %86 = load i32, ptr %14, align 4, !tbaa !25
  %87 = call noundef zeroext i1 @_ZN6Grid3d18isGridIndexInRangeE9GridIndexiii(i64 %.sroa.013.0.copyload.4, i32 %.sroa.214.0.copyload.4, i32 noundef %84, i32 noundef %85, i32 noundef %86)
  br i1 %87, label %88, label %94

88:                                               ; preds = %83
  %.sroa.09.0.copyload.4 = load i64, ptr %6, align 8
  %.sroa.210.0.copyload.4 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %89 = call noundef i32 @_ZN7Array3dIiEclE9GridIndex(ptr noundef nonnull align 8 dereferenceable(36) %3, i64 %.sroa.09.0.copyload.4, i32 %.sroa.210.0.copyload.4)
  %90 = icmp eq i32 %89, -1
  br i1 %90, label %91, label %94

91:                                               ; preds = %88
  %.sroa.05.0.copyload.4 = load i64, ptr %6, align 8
  %.sroa.26.0.copyload.4 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %92 = call noundef zeroext i1 @_ZN17FluidMaterialGrid11isCellSolidE9GridIndex(ptr noundef nonnull align 8 dereferenceable(88) %2, i64 %.sroa.05.0.copyload.4, i32 %.sroa.26.0.copyload.4)
  br i1 %92, label %94, label %93

93:                                               ; preds = %91
  %.sroa.01.0.copyload.4 = load i64, ptr %6, align 8
  %.sroa.22.0.copyload.4 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  call void @_ZN7Array3dIiE3setE9GridIndexi(ptr noundef nonnull align 8 dereferenceable(36) %3, i64 %.sroa.01.0.copyload.4, i32 %.sroa.22.0.copyload.4, i32 noundef %1)
  br label %94

94:                                               ; preds = %93, %91, %88, %83
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %6, ptr noundef nonnull align 4 dereferenceable(12) %.ptr.5, i64 12, i1 false), !tbaa.struct !17
  %.sroa.013.0.copyload.5 = load i64, ptr %6, align 8
  %.sroa.214.0.copyload.5 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %95 = load i32, ptr %12, align 4, !tbaa !19
  %96 = load i32, ptr %13, align 8, !tbaa !24
  %97 = load i32, ptr %14, align 4, !tbaa !25
  %98 = call noundef zeroext i1 @_ZN6Grid3d18isGridIndexInRangeE9GridIndexiii(i64 %.sroa.013.0.copyload.5, i32 %.sroa.214.0.copyload.5, i32 noundef %95, i32 noundef %96, i32 noundef %97)
  br i1 %98, label %99, label %.loopexit

99:                                               ; preds = %94
  %.sroa.09.0.copyload.5 = load i64, ptr %6, align 8
  %.sroa.210.0.copyload.5 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %100 = call noundef i32 @_ZN7Array3dIiEclE9GridIndex(ptr noundef nonnull align 8 dereferenceable(36) %3, i64 %.sroa.09.0.copyload.5, i32 %.sroa.210.0.copyload.5)
  %101 = icmp eq i32 %100, -1
  br i1 %101, label %102, label %.loopexit

102:                                              ; preds = %99
  %.sroa.05.0.copyload.5 = load i64, ptr %6, align 8
  %.sroa.26.0.copyload.5 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  %103 = call noundef zeroext i1 @_ZN17FluidMaterialGrid11isCellSolidE9GridIndex(ptr noundef nonnull align 8 dereferenceable(88) %2, i64 %.sroa.05.0.copyload.5, i32 %.sroa.26.0.copyload.5)
  br i1 %103, label %.loopexit, label %104

104:                                              ; preds = %102
  %.sroa.01.0.copyload.5 = load i64, ptr %6, align 8
  %.sroa.22.0.copyload.5 = load i32, ptr %.sroa.214.0..sroa_idx, align 8, !tbaa !18
  call void @_ZN7Array3dIiE3setE9GridIndexi(ptr noundef nonnull align 8 dereferenceable(36) %3, i64 %.sroa.01.0.copyload.5, i32 %.sroa.22.0.copyload.5, i32 noundef %1)
  br label %.loopexit

.loopexit:                                        ; preds = %94, %99, %102, %104, %.lr.ph, %37
  %105 = add nuw nsw i32 %.04348, 1
  %106 = load i32, ptr %3, align 8, !tbaa !26
  %107 = icmp slt i32 %105, %106
  br i1 %107, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !27
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7Array3dIiEclEiii(ptr noundef nonnull align 8 dereferenceable(36), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 align 2

declare noundef zeroext i1 @_ZN17FluidMaterialGrid11isCellSolidEiii(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6Grid3d24getNeighbourGridIndices6EiiiP9GridIndex(i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN6Grid3d18isGridIndexInRangeE9GridIndexiii(i64, i32, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN7Array3dIiEclE9GridIndex(ptr noundef nonnull align 8 dereferenceable(36), i64, i32) local_unnamed_addr #2 align 2

declare noundef zeroext i1 @_ZN17FluidMaterialGrid11isCellSolidE9GridIndex(ptr noundef nonnull align 8 dereferenceable(88), i64, i32) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Array3dIiE3setE9GridIndexi(ptr noundef nonnull align 8 dereferenceable(36), i64, i32, i32 noundef) local_unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 = { "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 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 = { 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 #7 = { 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, !7, i64 8}
!6 = !{!"_ZTS7Array3dIiE", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !11, i64 24, !7, i64 28, !7, i64 32}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!6, !7, i64 4}
!13 = distinct !{!13, !14, !15}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!"llvm.loop.unswitch.partial.disable"}
!16 = distinct !{!16, !14, !15}
!17 = !{i64 0, i64 4, !18, i64 4, i64 4, !18, i64 8, i64 4, !18}
!18 = !{!7, !7, i64 0}
!19 = !{!20, !7, i64 4}
!20 = !{!"_ZTS16MACVelocityField", !21, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !22, i64 16, !23, i64 24, !23, i64 64, !23, i64 104, !7, i64 144}
!21 = !{!"float", !8, i64 0}
!22 = !{!"double", !8, i64 0}
!23 = !{!"_ZTS7Array3dIfE", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !11, i64 24, !21, i64 28, !7, i64 32}
!24 = !{!20, !7, i64 8}
!25 = !{!20, !7, i64 12}
!26 = !{!6, !7, i64 0}
!27 = distinct !{!27, !14}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass