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

; 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.GridIndexVector = type { i32, i32, i32, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.FluidMaterialGrid = type { i32, i32, i32, %class.SubdividedArray3d }
%class.SubdividedArray3d = type { i32, i32, i32, i32, i32, i32, %class.Array3d.2, i32, double }
%class.Array3d.2 = type { i32, i32, i32, ptr, i8, i8, i32 }

declare i32 @__gxx_personality_v0(...)

; 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: mustprogress uwtable
define dso_local void @_ZN15TurbulenceField24calculateTurbulenceFieldEP16MACVelocityFieldR17FluidMaterialGrid(ptr noundef nonnull align 8 dereferenceable(1560) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(88) %2) #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %class.GridIndexVector, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %14 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr %7) #5
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %16 = getelementptr inbounds %class.FluidMaterialGrid, ptr %15, i32 0, i32 0
  %17 = load i32, ptr %16, align 8, !tbaa !9
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = getelementptr inbounds %class.FluidMaterialGrid, ptr %18, i32 0, i32 1
  %20 = load i32, ptr %19, align 4, !tbaa !17
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds %class.FluidMaterialGrid, ptr %21, i32 0, i32 2
  %23 = load i32, ptr %22, align 8, !tbaa !18
  call void @_ZN15GridIndexVectorC1Eiii(ptr noundef nonnull align 8 dereferenceable(40) %7, i32 noundef %17, i32 noundef %20, i32 noundef %23)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !19
  br label %24

24:                                               ; preds = %72, %3
  %25 = load i32, ptr %8, align 4, !tbaa !19
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = getelementptr inbounds %class.FluidMaterialGrid, ptr %26, i32 0, i32 2
  %28 = load i32, ptr %27, align 8, !tbaa !18
  %29 = icmp slt i32 %25, %28
  br i1 %29, label %31, label %30

30:                                               ; preds = %24
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %75

31:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !19
  br label %32

32:                                               ; preds = %68, %31
  %33 = load i32, ptr %10, align 4, !tbaa !19
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %class.FluidMaterialGrid, ptr %34, i32 0, i32 1
  %36 = load i32, ptr %35, align 4, !tbaa !17
  %37 = icmp slt i32 %33, %36
  br i1 %37, label %39, label %38

38:                                               ; preds = %32
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %71

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

40:                                               ; preds = %64, %39
  %41 = load i32, ptr %11, align 4, !tbaa !19
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = getelementptr inbounds %class.FluidMaterialGrid, ptr %42, i32 0, i32 0
  %44 = load i32, ptr %43, align 8, !tbaa !9
  %45 = icmp slt i32 %41, %44
  br i1 %45, label %47, label %46

46:                                               ; preds = %40
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %67

47:                                               ; preds = %40
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = load i32, ptr %11, align 4, !tbaa !19
  %50 = load i32, ptr %10, align 4, !tbaa !19
  %51 = load i32, ptr %8, align 4, !tbaa !19
  %52 = invoke noundef zeroext i1 @_ZN17FluidMaterialGrid11isCellFluidEiii(ptr noundef nonnull align 8 dereferenceable(88) %48, i32 noundef %49, i32 noundef %50, i32 noundef %51)
          to label %53 unwind label %59

53:                                               ; preds = %47
  br i1 %52, label %54, label %63

54:                                               ; preds = %53
  %55 = load i32, ptr %11, align 4, !tbaa !19
  %56 = load i32, ptr %10, align 4, !tbaa !19
  %57 = load i32, ptr %8, align 4, !tbaa !19
  invoke void @_ZN15GridIndexVector9push_backEiii(ptr noundef nonnull align 8 dereferenceable(40) %7, i32 noundef %55, i32 noundef %56, i32 noundef %57)
          to label %58 unwind label %59

58:                                               ; preds = %54
  br label %63

59:                                               ; preds = %54, %47
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %12, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %82

63:                                               ; preds = %58, %53
  br label %64

64:                                               ; preds = %63
  %65 = load i32, ptr %11, align 4, !tbaa !19
  %66 = add nsw i32 %65, 1
  store i32 %66, ptr %11, align 4, !tbaa !19
  br label %40, !llvm.loop !20

67:                                               ; preds = %46
  br label %68

68:                                               ; preds = %67
  %69 = load i32, ptr %10, align 4, !tbaa !19
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %10, align 4, !tbaa !19
  br label %32, !llvm.loop !22

71:                                               ; preds = %38
  br label %72

72:                                               ; preds = %71
  %73 = load i32, ptr %8, align 4, !tbaa !19
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %8, align 4, !tbaa !19
  br label %24, !llvm.loop !23

75:                                               ; preds = %30
  %76 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN15TurbulenceField24calculateTurbulenceFieldEP16MACVelocityFieldR15GridIndexVector(ptr noundef nonnull align 8 dereferenceable(1560) %14, ptr noundef %76, ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %77 unwind label %78

77:                                               ; preds = %75
  call void @_ZN15GridIndexVectorD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #5
  ret void

78:                                               ; preds = %75
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %12, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %13, align 4
  br label %82

82:                                               ; preds = %78, %59
  call void @_ZN15GridIndexVectorD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #5
  br label %83

83:                                               ; preds = %82
  %84 = load ptr, ptr %12, align 8
  %85 = load i32, ptr %13, align 4
  %86 = insertvalue { ptr, i32 } poison, ptr %84, 0
  %87 = insertvalue { ptr, i32 } %86, i32 %85, 1
  resume { ptr, i32 } %87
}

declare void @_ZN15GridIndexVectorC1Eiii(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, i32 noundef) unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN15GridIndexVector9push_backEiii(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15TurbulenceField24calculateTurbulenceFieldEP16MACVelocityFieldR15GridIndexVector(ptr noundef nonnull align 8 dereferenceable(1560), ptr noundef, ptr noundef nonnull align 8 dereferenceable(40)) #1 align 2

; Function Attrs: nounwind
declare void @_ZN15GridIndexVectorD1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { 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, !11, i64 0}
!10 = !{!"_ZTS17FluidMaterialGrid", !11, i64 0, !11, i64 4, !11, i64 8, !12, i64 16}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS17SubdividedArray3dI8MaterialE", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !13, i64 24, !11, i64 56, !16, i64 64}
!13 = !{!"_ZTS7Array3dI8MaterialE", !11, i64 0, !11, i64 4, !11, i64 8, !6, i64 16, !14, i64 24, !15, i64 25, !11, i64 28}
!14 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTS8Material", !7, i64 0}
!16 = !{!"double", !7, i64 0}
!17 = !{!10, !11, i64 4}
!18 = !{!10, !11, i64 8}
!19 = !{!11, !11, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = distinct !{!23, !21}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%class.GridIndexVector = type { i32, i32, i32, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

; 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 uwtable
define dso_local void @_ZN15TurbulenceField24calculateTurbulenceFieldEP16MACVelocityFieldR17FluidMaterialGrid(ptr noundef nonnull align 8 dereferenceable(1560) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(88) %2) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.GridIndexVector, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #5
  %5 = load i32, ptr %2, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %2, i64 4
  %7 = load i32, ptr %6, align 4, !tbaa !16
  %8 = getelementptr inbounds i8, ptr %2, i64 8
  %9 = load i32, ptr %8, align 8, !tbaa !17
  call void @_ZN15GridIndexVectorC1Eiii(ptr noundef nonnull align 8 dereferenceable(40) %4, i32 noundef %5, i32 noundef %7, i32 noundef %9)
  %10 = load i32, ptr %8, align 8, !tbaa !17
  %11 = icmp sgt i32 %10, 0
  %12 = load i32, ptr %6, align 4
  %13 = icmp sgt i32 %12, 0
  %or.cond = select i1 %11, i1 %13, i1 false
  br i1 %or.cond, label %.preheader27, label %._crit_edge33

.preheader27:                                     ; preds = %3, %._crit_edge30
  %14 = phi i32 [ %23, %._crit_edge30 ], [ %10, %3 ]
  %15 = phi i32 [ %24, %._crit_edge30 ], [ %12, %3 ]
  %16 = phi i32 [ %25, %._crit_edge30 ], [ %12, %3 ]
  %.02531 = phi i32 [ %26, %._crit_edge30 ], [ 0, %3 ]
  %17 = icmp sgt i32 %16, 0
  %18 = load i32, ptr %2, align 8
  %19 = icmp sgt i32 %18, 0
  %or.cond40 = select i1 %17, i1 %19, i1 false
  br i1 %or.cond40, label %.preheader, label %._crit_edge30

._crit_edge33:                                    ; preds = %._crit_edge30, %3
  invoke void @_ZN15TurbulenceField24calculateTurbulenceFieldEP16MACVelocityFieldR15GridIndexVector(ptr noundef nonnull align 8 dereferenceable(1560) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(40) %4)
          to label %41 unwind label %42

.preheader:                                       ; preds = %.preheader27, %._crit_edge
  %20 = phi i32 [ %28, %._crit_edge ], [ %15, %.preheader27 ]
  %21 = phi i32 [ %29, %._crit_edge ], [ %18, %.preheader27 ]
  %.02429 = phi i32 [ %30, %._crit_edge ], [ 0, %.preheader27 ]
  %22 = icmp sgt i32 %21, 0
  br i1 %22, label %.lr.ph, label %._crit_edge

._crit_edge30.loopexit:                           ; preds = %._crit_edge
  %.pre36 = load i32, ptr %8, align 8, !tbaa !17
  br label %._crit_edge30

._crit_edge30:                                    ; preds = %._crit_edge30.loopexit, %.preheader27
  %23 = phi i32 [ %.pre36, %._crit_edge30.loopexit ], [ %14, %.preheader27 ]
  %24 = phi i32 [ %28, %._crit_edge30.loopexit ], [ %15, %.preheader27 ]
  %25 = phi i32 [ %28, %._crit_edge30.loopexit ], [ %16, %.preheader27 ]
  %26 = add nuw nsw i32 %.02531, 1
  %27 = icmp slt i32 %26, %23
  br i1 %27, label %.preheader27, label %._crit_edge33, !llvm.loop !18

._crit_edge.loopexit:                             ; preds = %37
  %.pre = load i32, ptr %6, align 4, !tbaa !16
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader
  %28 = phi i32 [ %.pre, %._crit_edge.loopexit ], [ %20, %.preheader ]
  %29 = phi i32 [ %39, %._crit_edge.loopexit ], [ %21, %.preheader ]
  %30 = add nuw nsw i32 %.02429, 1
  %31 = icmp slt i32 %30, %28
  br i1 %31, label %.preheader, label %._crit_edge30.loopexit, !llvm.loop !21

.lr.ph:                                           ; preds = %.preheader, %37
  %.02328 = phi i32 [ %38, %37 ], [ 0, %.preheader ]
  %32 = invoke noundef zeroext i1 @_ZN17FluidMaterialGrid11isCellFluidEiii(ptr noundef nonnull align 8 dereferenceable(88) %2, i32 noundef %.02328, i32 noundef %.02429, i32 noundef %.02531)
          to label %33 unwind label %35

33:                                               ; preds = %.lr.ph
  br i1 %32, label %34, label %37

34:                                               ; preds = %33
  invoke void @_ZN15GridIndexVector9push_backEiii(ptr noundef nonnull align 8 dereferenceable(40) %4, i32 noundef %.02328, i32 noundef %.02429, i32 noundef %.02531)
          to label %37 unwind label %35

35:                                               ; preds = %34, %.lr.ph
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %44

37:                                               ; preds = %33, %34
  %38 = add nuw nsw i32 %.02328, 1
  %39 = load i32, ptr %2, align 8, !tbaa !5
  %40 = icmp slt i32 %38, %39
  br i1 %40, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !22

41:                                               ; preds = %._crit_edge33
  call void @_ZN15GridIndexVectorD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #5
  ret void

42:                                               ; preds = %._crit_edge33
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %44

44:                                               ; preds = %42, %35
  %.pn = phi { ptr, i32 } [ %36, %35 ], [ %43, %42 ]
  call void @_ZN15GridIndexVectorD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn
}

declare void @_ZN15GridIndexVectorC1Eiii(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, i32 noundef) unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN15GridIndexVector9push_backEiii(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN15TurbulenceField24calculateTurbulenceFieldEP16MACVelocityFieldR15GridIndexVector(ptr noundef nonnull align 8 dereferenceable(1560), ptr noundef, ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

; Function Attrs: nounwind
declare void @_ZN15GridIndexVectorD1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { 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 0}
!6 = !{!"_ZTS17FluidMaterialGrid", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS17SubdividedArray3dI8MaterialE", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !11, i64 24, !7, i64 56, !15, i64 64}
!11 = !{!"_ZTS7Array3dI8MaterialE", !7, i64 0, !7, i64 4, !7, i64 8, !12, i64 16, !13, i64 24, !14, i64 25, !7, i64 28}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!"_ZTS8Material", !8, i64 0}
!15 = !{!"double", !8, i64 0}
!16 = !{!6, !7, i64 4}
!17 = !{!6, !7, i64 8}
!18 = distinct !{!18, !19, !20}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!"llvm.loop.unswitch.partial.disable"}
!21 = distinct !{!21, !19, !20}
!22 = distinct !{!22, !19}


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