; LLVM IR from jrouwe/JoltPhysics :: Jolt/Physics/Collision/Shape (HeightFieldShape)

; 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.JPH::AssertLastParam" = type { i8 }
%"class.JPH::HeightFieldShape" = type <{ %"class.JPH::Shape.base", [6 x i8], %"class.JPH::Vec3", %"class.JPH::Vec3", i32, i32, i32, i32, i32, i8, i8, i16, i16, [6 x i8], ptr, ptr, ptr, %"class.JPH::Array.9", %"class.JPH::Array.6", i32, [4 x i8] }>
%"class.JPH::Shape.base" = type <{ ptr, %"class.JPH::RefTarget.12", [4 x i8], i64, i8, i8 }>
%"class.JPH::RefTarget.12" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::Vec3" = type { %union.anon.3 }
%union.anon.3 = type { <4 x float> }
%"class.JPH::Array.9" = type { i64, i64, ptr }
%"class.JPH::Array.6" = type { i64, i64, ptr }
%"struct.JPH::HeightFieldShape::RangeBlock" = type { [4 x i16], [4 x i16] }

@_ZN3JPH16HeightFieldShape12sGridOffsetsE = external dso_local constant [15 x i32], align 16
@.str.2 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [80 x i8], align 1
@_ZN3JPH15AlignedAllocateE = external global ptr, align 8

; 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: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3JPH6SquareIjEET_S1_(i32 noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH16HeightFieldShape15AllocateBuffersEv(ptr noundef nonnull align 16 dereferenceable(176) %0) #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"struct.JPH::AssertLastParam", align 1
  %6 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %7 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  %8 = call noundef i32 @_ZNK3JPH16HeightFieldShape12GetNumBlocksEv(ptr noundef nonnull align 16 dereferenceable(176) %7)
  store i32 %8, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %9 = load i32, ptr %3, align 4, !tbaa !9
  %10 = add i32 %9, 1
  %11 = lshr i32 %10, 1
  store i32 %11, ptr %4, align 4, !tbaa !9
  %12 = load i32, ptr %3, align 4, !tbaa !9
  %13 = call noundef i32 @_ZN3JPH16HeightFieldShape12sGetMaxLevelEj(i32 noundef %12)
  %14 = sub i32 %13, 1
  %15 = zext i32 %14 to i64
  %16 = getelementptr inbounds [15 x i32], ptr @_ZN3JPH16HeightFieldShape12sGridOffsetsE, i64 0, i64 %15
  %17 = load i32, ptr %16, align 4, !tbaa !9
  %18 = load i32, ptr %4, align 4, !tbaa !9
  %19 = call noundef i32 @_ZN3JPH6SquareIjEET_S1_(i32 noundef %18)
  %20 = add i32 %17, %19
  %21 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 7
  store i32 %20, ptr %21, align 4, !tbaa !11
  %22 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 4
  %23 = load i32, ptr %22, align 16, !tbaa !24
  %24 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 4
  %25 = load i32, ptr %24, align 16, !tbaa !24
  %26 = mul i32 %23, %25
  %27 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 9
  %28 = load i8, ptr %27, align 4, !tbaa !25
  %29 = zext i8 %28 to i32
  %30 = mul i32 %26, %29
  %31 = add i32 %30, 7
  %32 = udiv i32 %31, 8
  %33 = add i32 %32, 1
  %34 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 6
  store i32 %33, ptr %34, align 8, !tbaa !26
  %35 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 4
  %36 = load i32, ptr %35, align 16, !tbaa !24
  %37 = sub i32 %36, 1
  %38 = call noundef i32 @_ZN3JPH6SquareIjEET_S1_(i32 noundef %37)
  %39 = mul i32 %38, 3
  %40 = add i32 %39, 7
  %41 = udiv i32 %40, 8
  %42 = add i32 %41, 1
  %43 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 8
  store i32 %42, ptr %43, align 16, !tbaa !27
  br label %44

44:                                               ; preds = %1
  %45 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 14
  %46 = load ptr, ptr %45, align 16, !tbaa !28
  %47 = icmp eq ptr %46, null
  br i1 %47, label %48, label %56

48:                                               ; preds = %44
  %49 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 15
  %50 = load ptr, ptr %49, align 8, !tbaa !29
  %51 = icmp eq ptr %50, null
  br i1 %51, label %52, label %56

52:                                               ; preds = %48
  %53 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 16
  %54 = load ptr, ptr %53, align 16, !tbaa !30
  %55 = icmp eq ptr %54, null
  br i1 %55, label %59, label %56

56:                                               ; preds = %52, %48, %44
  %57 = call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef @.str.6, ptr noundef @.str.2, i32 noundef 430)
  br i1 %57, label %58, label %59

58:                                               ; preds = %56
  call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #5, !srcloc !31
  br label %59

59:                                               ; preds = %58, %56, %52
  br label %60

60:                                               ; preds = %59
  br label %61

61:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %62 = load ptr, ptr @_ZN3JPH15AlignedAllocateE, align 8, !tbaa !5
  %63 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 7
  %64 = load i32, ptr %63, align 4, !tbaa !11
  %65 = zext i32 %64 to i64
  %66 = mul i64 %65, 16
  %67 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 6
  %68 = load i32, ptr %67, align 8, !tbaa !26
  %69 = zext i32 %68 to i64
  %70 = add i64 %66, %69
  %71 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 8
  %72 = load i32, ptr %71, align 16, !tbaa !27
  %73 = zext i32 %72 to i64
  %74 = add i64 %70, %73
  %75 = call noundef ptr %62(i64 noundef %74, i64 noundef 16)
  store ptr %75, ptr %6, align 8, !tbaa !5
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 14
  store ptr %76, ptr %77, align 16, !tbaa !28
  %78 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 14
  %79 = load ptr, ptr %78, align 16, !tbaa !28
  %80 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 7
  %81 = load i32, ptr %80, align 4, !tbaa !11
  %82 = zext i32 %81 to i64
  %83 = getelementptr inbounds %"struct.JPH::HeightFieldShape::RangeBlock", ptr %79, i64 %82
  %84 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 15
  store ptr %83, ptr %84, align 8, !tbaa !29
  %85 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 15
  %86 = load ptr, ptr %85, align 8, !tbaa !29
  %87 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 6
  %88 = load i32, ptr %87, align 8, !tbaa !26
  %89 = zext i32 %88 to i64
  %90 = getelementptr inbounds i8, ptr %86, i64 %89
  %91 = getelementptr inbounds %"class.JPH::HeightFieldShape", ptr %7, i32 0, i32 16
  store ptr %90, ptr %91, align 16, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3JPH16HeightFieldShape12GetNumBlocksEv(ptr noundef nonnull align 16 dereferenceable(176)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3JPH16HeightFieldShape12sGetMaxLevelEj(i32 noundef) #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { 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 #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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 76}
!12 = !{!"_ZTSN3JPH16HeightFieldShapeE", !13, i64 0, !20, i64 32, !20, i64 48, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !7, i64 84, !7, i64 85, !21, i64 86, !21, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !22, i64 120, !23, i64 144, !10, i64 168}
!13 = !{!"_ZTSN3JPH5ShapeE", !14, i64 8, !17, i64 16, !18, i64 24, !19, i64 25}
!14 = !{!"_ZTSN3JPH9RefTargetINS_5ShapeEEE", !15, i64 0}
!15 = !{!"_ZTSSt6atomicIjE", !16, i64 0}
!16 = !{!"_ZTSSt13__atomic_baseIjE", !10, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSN3JPH10EShapeTypeE", !7, i64 0}
!19 = !{!"_ZTSN3JPH13EShapeSubTypeE", !7, i64 0}
!20 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!21 = !{!"short", !7, i64 0}
!22 = !{!"_ZTSN3JPH5ArrayINS_8RefConstINS_15PhysicsMaterialEEENS_12STLAllocatorIS3_EEEE", !17, i64 0, !17, i64 8, !6, i64 16}
!23 = !{!"_ZTSN3JPH5ArrayIhNS_12STLAllocatorIhEEEE", !17, i64 0, !17, i64 8, !6, i64 16}
!24 = !{!12, !10, i64 64}
!25 = !{!12, !7, i64 84}
!26 = !{!12, !10, i64 72}
!27 = !{!12, !10, i64 80}
!28 = !{!12, !6, i64 96}
!29 = !{!12, !6, i64 104}
!30 = !{!12, !6, i64 112}
!31 = !{i64 2158605812}


; 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.JPH::HeightFieldShape::RangeBlock" = type { [4 x i16], [4 x i16] }

@_ZN3JPH16HeightFieldShape12sGridOffsetsE = external dso_local local_unnamed_addr constant [15 x i32], align 16
@.str.2 = external hidden unnamed_addr constant [102 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [80 x i8], align 1
@_ZN3JPH15AlignedAllocateE = external local_unnamed_addr global ptr, align 8

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3JPH6SquareIjEET_S1_(i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH16HeightFieldShape15AllocateBuffersEv(ptr noundef nonnull align 16 dereferenceable(176) %0) local_unnamed_addr #2 align 2 {
  %2 = tail call noundef i32 @_ZNK3JPH16HeightFieldShape12GetNumBlocksEv(ptr noundef nonnull align 16 dereferenceable(176) %0)
  %3 = add i32 %2, 1
  %4 = lshr i32 %3, 1
  %5 = tail call noundef i32 @_ZN3JPH16HeightFieldShape12sGetMaxLevelEj(i32 noundef %2)
  %6 = add i32 %5, -1
  %7 = zext i32 %6 to i64
  %8 = getelementptr inbounds [15 x i32], ptr @_ZN3JPH16HeightFieldShape12sGridOffsetsE, i64 0, i64 %7
  %9 = load i32, ptr %8, align 4, !tbaa !5
  %10 = tail call noundef i32 @_ZN3JPH6SquareIjEET_S1_(i32 noundef %4)
  %11 = add i32 %10, %9
  %12 = getelementptr inbounds i8, ptr %0, i64 76
  store i32 %11, ptr %12, align 4, !tbaa !9
  %13 = getelementptr inbounds i8, ptr %0, i64 64
  %14 = load i32, ptr %13, align 16, !tbaa !23
  %15 = mul i32 %14, %14
  %16 = getelementptr inbounds i8, ptr %0, i64 84
  %17 = load i8, ptr %16, align 4, !tbaa !24
  %18 = zext i8 %17 to i32
  %19 = mul i32 %15, %18
  %20 = add i32 %19, 7
  %21 = lshr i32 %20, 3
  %22 = add nuw nsw i32 %21, 1
  %23 = getelementptr inbounds i8, ptr %0, i64 72
  store i32 %22, ptr %23, align 8, !tbaa !25
  %24 = add i32 %14, -1
  %25 = tail call noundef i32 @_ZN3JPH6SquareIjEET_S1_(i32 noundef %24)
  %26 = mul i32 %25, 3
  %27 = add i32 %26, 7
  %28 = lshr i32 %27, 3
  %29 = add nuw nsw i32 %28, 1
  %30 = getelementptr inbounds i8, ptr %0, i64 80
  store i32 %29, ptr %30, align 16, !tbaa !26
  %31 = getelementptr inbounds i8, ptr %0, i64 96
  %32 = load ptr, ptr %31, align 16, !tbaa !27
  %33 = icmp eq ptr %32, null
  %34 = getelementptr inbounds i8, ptr %0, i64 104
  %35 = load ptr, ptr %34, align 8
  %36 = icmp eq ptr %35, null
  %or.cond = select i1 %33, i1 %36, i1 false
  %37 = getelementptr inbounds i8, ptr %0, i64 112
  %38 = load ptr, ptr %37, align 16
  %39 = icmp eq ptr %38, null
  %or.cond8 = select i1 %or.cond, i1 %39, i1 false
  br i1 %or.cond8, label %43, label %40

40:                                               ; preds = %1
  %41 = tail call noundef zeroext i1 @_ZN3JPH23AssertFailedParamHelperEPKcS1_jNS_15AssertLastParamE(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.2, i32 noundef 430)
  br i1 %41, label %42, label %43

42:                                               ; preds = %40
  tail call void asm sideeffect "int $$0x3", "~{dirflag},~{fpsr},~{flags}"() #4, !srcloc !28
  br label %43

43:                                               ; preds = %1, %42, %40
  %44 = load ptr, ptr @_ZN3JPH15AlignedAllocateE, align 8, !tbaa !29
  %45 = load i32, ptr %12, align 4, !tbaa !9
  %46 = zext i32 %45 to i64
  %47 = shl nuw nsw i64 %46, 4
  %48 = load i32, ptr %23, align 8, !tbaa !25
  %49 = zext i32 %48 to i64
  %50 = add nuw nsw i64 %47, %49
  %51 = load i32, ptr %30, align 16, !tbaa !26
  %52 = zext i32 %51 to i64
  %53 = add nuw nsw i64 %50, %52
  %54 = tail call noundef ptr %44(i64 noundef %53, i64 noundef 16)
  store ptr %54, ptr %31, align 16, !tbaa !27
  %55 = load i32, ptr %12, align 4, !tbaa !9
  %56 = zext i32 %55 to i64
  %57 = getelementptr inbounds %"struct.JPH::HeightFieldShape::RangeBlock", ptr %54, i64 %56
  store ptr %57, ptr %34, align 8, !tbaa !30
  %58 = load i32, ptr %23, align 8, !tbaa !25
  %59 = zext i32 %58 to i64
  %60 = getelementptr inbounds i8, ptr %57, i64 %59
  store ptr %60, ptr %37, align 16, !tbaa !31
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3JPH16HeightFieldShape12GetNumBlocksEv(ptr noundef nonnull align 16 dereferenceable(176)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3JPH16HeightFieldShape12sGetMaxLevelEj(i32 noundef) local_unnamed_addr #3 align 2

attributes #0 = { 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 #1 = { 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 #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 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 76}
!10 = !{!"_ZTSN3JPH16HeightFieldShapeE", !11, i64 0, !18, i64 32, !18, i64 48, !6, i64 64, !6, i64 68, !6, i64 72, !6, i64 76, !6, i64 80, !7, i64 84, !7, i64 85, !19, i64 86, !19, i64 88, !20, i64 96, !20, i64 104, !20, i64 112, !21, i64 120, !22, i64 144, !6, i64 168}
!11 = !{!"_ZTSN3JPH5ShapeE", !12, i64 8, !15, i64 16, !16, i64 24, !17, i64 25}
!12 = !{!"_ZTSN3JPH9RefTargetINS_5ShapeEEE", !13, i64 0}
!13 = !{!"_ZTSSt6atomicIjE", !14, i64 0}
!14 = !{!"_ZTSSt13__atomic_baseIjE", !6, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTSN3JPH10EShapeTypeE", !7, i64 0}
!17 = !{!"_ZTSN3JPH13EShapeSubTypeE", !7, i64 0}
!18 = !{!"_ZTSN3JPH4Vec3E", !7, i64 0}
!19 = !{!"short", !7, i64 0}
!20 = !{!"any pointer", !7, i64 0}
!21 = !{!"_ZTSN3JPH5ArrayINS_8RefConstINS_15PhysicsMaterialEEENS_12STLAllocatorIS3_EEEE", !15, i64 0, !15, i64 8, !20, i64 16}
!22 = !{!"_ZTSN3JPH5ArrayIhNS_12STLAllocatorIhEEEE", !15, i64 0, !15, i64 8, !20, i64 16}
!23 = !{!10, !6, i64 64}
!24 = !{!10, !7, i64 84}
!25 = !{!10, !6, i64 72}
!26 = !{!10, !6, i64 80}
!27 = !{!10, !20, i64 96}
!28 = !{i64 2158605812}
!29 = !{!20, !20, i64 0}
!30 = !{!10, !20, i64 104}
!31 = !{!10, !20, i64 112}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass