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

; 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.JPH::Vec4" = type { %union.anon.14 }
%union.anon.14 = type { <4 x float> }
%"class.JPH::Vec3" = type { %union.anon.6 }
%union.anon.6 = type { <4 x float> }
%"class.JPH::MutableCompoundShape" = type { %"class.JPH::CompoundShape.base", %"class.JPH::Array.10", [8 x i8] }
%"class.JPH::CompoundShape.base" = type <{ %"class.JPH::Shape.base", [6 x i8], %"class.JPH::Vec3", %"class.JPH::AABox", %"class.JPH::Array.7", float }>
%"class.JPH::Shape.base" = type <{ ptr, %"class.JPH::RefTarget.5", [4 x i8], i64, i8, i8 }>
%"class.JPH::RefTarget.5" = type { %"struct.std::atomic" }
%"struct.std::atomic" = type { %"struct.std::__atomic_base" }
%"struct.std::__atomic_base" = type { i32 }
%"class.JPH::AABox" = type { %"class.JPH::Vec3", %"class.JPH::Vec3" }
%"class.JPH::Array.7" = type { i64, i64, ptr }
%"class.JPH::Array.10" = type { i64, i64, ptr }
%"struct.JPH::MutableCompoundShape::Bounds" = type { %"class.JPH::Vec4", %"class.JPH::Vec4", %"class.JPH::Vec4", %"class.JPH::Vec4", %"class.JPH::Vec4", %"class.JPH::Vec4" }
%"class.JPH::CompoundShape" = type <{ %"class.JPH::Shape.base", [6 x i8], %"class.JPH::Vec3", %"class.JPH::AABox", %"class.JPH::Array.7", float, [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: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec35sZeroEv() #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH20MutableCompoundShape20CalculateLocalBoundsEv(ptr noundef nonnull align 16 dereferenceable(144) %0) #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca %"class.JPH::Vec4", align 16
  %6 = alloca %"class.JPH::Vec4", align 16
  %7 = alloca %"class.JPH::Vec4", align 16
  %8 = alloca %"class.JPH::Vec4", align 16
  %9 = alloca %"class.JPH::Vec4", align 16
  %10 = alloca %"class.JPH::Vec4", align 16
  %11 = alloca ptr, align 8
  %12 = alloca %"class.JPH::Vec4", align 16
  %13 = alloca %"class.JPH::Vec4", align 16
  %14 = alloca %"class.JPH::Vec4", align 16
  %15 = alloca %"class.JPH::Vec4", align 16
  %16 = alloca %"class.JPH::Vec4", align 16
  %17 = alloca %"class.JPH::Vec4", align 16
  %18 = alloca %"class.JPH::Vec4", align 16
  %19 = alloca %"class.JPH::Vec4", align 16
  %20 = alloca %"class.JPH::Vec4", align 16
  %21 = alloca %"class.JPH::Vec4", align 16
  %22 = alloca %"class.JPH::Vec4", align 16
  %23 = alloca %"class.JPH::Vec4", align 16
  %24 = alloca %"class.JPH::Vec4", align 16
  %25 = alloca %"class.JPH::Vec4", align 16
  %26 = alloca %"class.JPH::Vec4", align 16
  %27 = alloca %"class.JPH::Vec4", align 16
  %28 = alloca %"class.JPH::Vec4", align 16
  %29 = alloca %"class.JPH::Vec4", align 16
  %30 = alloca %"class.JPH::Vec3", align 16
  store ptr %0, ptr %2, align 8, !tbaa !5
  %31 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  %32 = call noundef i32 @_ZNK3JPH20MutableCompoundShape12GetNumBlocksEv(ptr noundef nonnull align 16 dereferenceable(144) %31)
  store i32 %32, ptr %3, align 4, !tbaa !9
  %33 = load i32, ptr %3, align 4, !tbaa !9
  %34 = icmp ugt i32 %33, 0
  br i1 %34, label %35, label %185

35:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  %36 = getelementptr inbounds %"class.JPH::MutableCompoundShape", ptr %31, i32 0, i32 1
  %37 = call noundef ptr @_ZN3JPH5ArrayINS_20MutableCompoundShape6BoundsENS_12STLAllocatorIS2_EEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %36)
  store ptr %37, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #7
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %38, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 %39, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #7
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %40, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 %41, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #7
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %42, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 %43, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #7
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %44, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 %45, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %46, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 %47, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %48, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 %49, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = load i32, ptr %3, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %50, i64 %52
  store ptr %53, ptr %11, align 8, !tbaa !5
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %54, i32 1
  store ptr %55, ptr %4, align 8, !tbaa !5
  br label %56

56:                                               ; preds = %163, %35
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = load ptr, ptr %11, align 8, !tbaa !5
  %59 = icmp ult ptr %57, %58
  br i1 %59, label %60, label %166

60:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 %5, i64 16, i1 false), !tbaa.struct !11
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %61, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 %62, i64 16, i1 false), !tbaa.struct !11
  %63 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 0
  %64 = load double, ptr %63, align 16
  %65 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 1
  %66 = load double, ptr %65, align 8
  %67 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 0
  %68 = load double, ptr %67, align 16
  %69 = getelementptr inbounds { double, double }, ptr %14, i32 0, i32 1
  %70 = load double, ptr %69, align 8
  %71 = call { double, double } @_ZN3JPH4Vec44sMinES0_S0_(double %64, double %66, double %68, double %70)
  %72 = getelementptr inbounds %"class.JPH::Vec4", ptr %12, i32 0, i32 0
  %73 = getelementptr inbounds %union.anon.14, ptr %72, i32 0, i32 0
  %74 = getelementptr inbounds { double, double }, ptr %73, i32 0, i32 0
  %75 = extractvalue { double, double } %71, 0
  store double %75, ptr %74, align 16
  %76 = getelementptr inbounds { double, double }, ptr %73, i32 0, i32 1
  %77 = extractvalue { double, double } %71, 1
  store double %77, ptr %76, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 %12, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %16, ptr align 16 %6, i64 16, i1 false), !tbaa.struct !11
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %78, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %17, ptr align 16 %79, i64 16, i1 false), !tbaa.struct !11
  %80 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 0
  %81 = load double, ptr %80, align 16
  %82 = getelementptr inbounds { double, double }, ptr %16, i32 0, i32 1
  %83 = load double, ptr %82, align 8
  %84 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 0
  %85 = load double, ptr %84, align 16
  %86 = getelementptr inbounds { double, double }, ptr %17, i32 0, i32 1
  %87 = load double, ptr %86, align 8
  %88 = call { double, double } @_ZN3JPH4Vec44sMinES0_S0_(double %81, double %83, double %85, double %87)
  %89 = getelementptr inbounds %"class.JPH::Vec4", ptr %15, i32 0, i32 0
  %90 = getelementptr inbounds %union.anon.14, ptr %89, i32 0, i32 0
  %91 = getelementptr inbounds { double, double }, ptr %90, i32 0, i32 0
  %92 = extractvalue { double, double } %88, 0
  store double %92, ptr %91, align 16
  %93 = getelementptr inbounds { double, double }, ptr %90, i32 0, i32 1
  %94 = extractvalue { double, double } %88, 1
  store double %94, ptr %93, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 %15, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 %7, i64 16, i1 false), !tbaa.struct !11
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %95, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %96, i64 16, i1 false), !tbaa.struct !11
  %97 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 0
  %98 = load double, ptr %97, align 16
  %99 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 1
  %100 = load double, ptr %99, align 8
  %101 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 0
  %102 = load double, ptr %101, align 16
  %103 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 1
  %104 = load double, ptr %103, align 8
  %105 = call { double, double } @_ZN3JPH4Vec44sMinES0_S0_(double %98, double %100, double %102, double %104)
  %106 = getelementptr inbounds %"class.JPH::Vec4", ptr %18, i32 0, i32 0
  %107 = getelementptr inbounds %union.anon.14, ptr %106, i32 0, i32 0
  %108 = getelementptr inbounds { double, double }, ptr %107, i32 0, i32 0
  %109 = extractvalue { double, double } %105, 0
  store double %109, ptr %108, align 16
  %110 = getelementptr inbounds { double, double }, ptr %107, i32 0, i32 1
  %111 = extractvalue { double, double } %105, 1
  store double %111, ptr %110, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 %18, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %22, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !11
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %112, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %23, ptr align 16 %113, i64 16, i1 false), !tbaa.struct !11
  %114 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 0
  %115 = load double, ptr %114, align 16
  %116 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 1
  %117 = load double, ptr %116, align 8
  %118 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 0
  %119 = load double, ptr %118, align 16
  %120 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 1
  %121 = load double, ptr %120, align 8
  %122 = call { double, double } @_ZN3JPH4Vec44sMaxES0_S0_(double %115, double %117, double %119, double %121)
  %123 = getelementptr inbounds %"class.JPH::Vec4", ptr %21, i32 0, i32 0
  %124 = getelementptr inbounds %union.anon.14, ptr %123, i32 0, i32 0
  %125 = getelementptr inbounds { double, double }, ptr %124, i32 0, i32 0
  %126 = extractvalue { double, double } %122, 0
  store double %126, ptr %125, align 16
  %127 = getelementptr inbounds { double, double }, ptr %124, i32 0, i32 1
  %128 = extractvalue { double, double } %122, 1
  store double %128, ptr %127, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 %21, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !11
  %129 = load ptr, ptr %4, align 8, !tbaa !5
  %130 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %129, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %26, ptr align 16 %130, i64 16, i1 false), !tbaa.struct !11
  %131 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %132 = load double, ptr %131, align 16
  %133 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %134 = load double, ptr %133, align 8
  %135 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 0
  %136 = load double, ptr %135, align 16
  %137 = getelementptr inbounds { double, double }, ptr %26, i32 0, i32 1
  %138 = load double, ptr %137, align 8
  %139 = call { double, double } @_ZN3JPH4Vec44sMaxES0_S0_(double %132, double %134, double %136, double %138)
  %140 = getelementptr inbounds %"class.JPH::Vec4", ptr %24, i32 0, i32 0
  %141 = getelementptr inbounds %union.anon.14, ptr %140, i32 0, i32 0
  %142 = getelementptr inbounds { double, double }, ptr %141, i32 0, i32 0
  %143 = extractvalue { double, double } %139, 0
  store double %143, ptr %142, align 16
  %144 = getelementptr inbounds { double, double }, ptr %141, i32 0, i32 1
  %145 = extractvalue { double, double } %139, 1
  store double %145, ptr %144, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 %24, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %28, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !11
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %146, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %29, ptr align 16 %147, i64 16, i1 false), !tbaa.struct !11
  %148 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 0
  %149 = load double, ptr %148, align 16
  %150 = getelementptr inbounds { double, double }, ptr %28, i32 0, i32 1
  %151 = load double, ptr %150, align 8
  %152 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %153 = load double, ptr %152, align 16
  %154 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %155 = load double, ptr %154, align 8
  %156 = call { double, double } @_ZN3JPH4Vec44sMaxES0_S0_(double %149, double %151, double %153, double %155)
  %157 = getelementptr inbounds %"class.JPH::Vec4", ptr %27, i32 0, i32 0
  %158 = getelementptr inbounds %union.anon.14, ptr %157, i32 0, i32 0
  %159 = getelementptr inbounds { double, double }, ptr %158, i32 0, i32 0
  %160 = extractvalue { double, double } %156, 0
  store double %160, ptr %159, align 16
  %161 = getelementptr inbounds { double, double }, ptr %158, i32 0, i32 1
  %162 = extractvalue { double, double } %156, 1
  store double %162, ptr %161, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 %27, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #7
  br label %163

163:                                              ; preds = %60
  %164 = load ptr, ptr %4, align 8, !tbaa !5
  %165 = getelementptr inbounds %"struct.JPH::MutableCompoundShape::Bounds", ptr %164, i32 1
  store ptr %165, ptr %4, align 8, !tbaa !5
  br label %56, !llvm.loop !13

166:                                              ; preds = %56
  %167 = getelementptr inbounds %"class.JPH::CompoundShape", ptr %31, i32 0, i32 3
  %168 = getelementptr inbounds %"class.JPH::AABox", ptr %167, i32 0, i32 0
  %169 = call noundef float @_ZNK3JPH4Vec49ReduceMinEv(ptr noundef nonnull align 16 dereferenceable(16) %5)
  call void @_ZN3JPH4Vec34SetXEf(ptr noundef nonnull align 16 dereferenceable(16) %168, float noundef %169)
  %170 = getelementptr inbounds %"class.JPH::CompoundShape", ptr %31, i32 0, i32 3
  %171 = getelementptr inbounds %"class.JPH::AABox", ptr %170, i32 0, i32 0
  %172 = call noundef float @_ZNK3JPH4Vec49ReduceMinEv(ptr noundef nonnull align 16 dereferenceable(16) %6)
  call void @_ZN3JPH4Vec34SetYEf(ptr noundef nonnull align 16 dereferenceable(16) %171, float noundef %172)
  %173 = getelementptr inbounds %"class.JPH::CompoundShape", ptr %31, i32 0, i32 3
  %174 = getelementptr inbounds %"class.JPH::AABox", ptr %173, i32 0, i32 0
  %175 = call noundef float @_ZNK3JPH4Vec49ReduceMinEv(ptr noundef nonnull align 16 dereferenceable(16) %7)
  call void @_ZN3JPH4Vec34SetZEf(ptr noundef nonnull align 16 dereferenceable(16) %174, float noundef %175)
  %176 = getelementptr inbounds %"class.JPH::CompoundShape", ptr %31, i32 0, i32 3
  %177 = getelementptr inbounds %"class.JPH::AABox", ptr %176, i32 0, i32 1
  %178 = call noundef float @_ZNK3JPH4Vec49ReduceMaxEv(ptr noundef nonnull align 16 dereferenceable(16) %8)
  call void @_ZN3JPH4Vec34SetXEf(ptr noundef nonnull align 16 dereferenceable(16) %177, float noundef %178)
  %179 = getelementptr inbounds %"class.JPH::CompoundShape", ptr %31, i32 0, i32 3
  %180 = getelementptr inbounds %"class.JPH::AABox", ptr %179, i32 0, i32 1
  %181 = call noundef float @_ZNK3JPH4Vec49ReduceMaxEv(ptr noundef nonnull align 16 dereferenceable(16) %9)
  call void @_ZN3JPH4Vec34SetYEf(ptr noundef nonnull align 16 dereferenceable(16) %180, float noundef %181)
  %182 = getelementptr inbounds %"class.JPH::CompoundShape", ptr %31, i32 0, i32 3
  %183 = getelementptr inbounds %"class.JPH::AABox", ptr %182, i32 0, i32 1
  %184 = call noundef float @_ZNK3JPH4Vec49ReduceMaxEv(ptr noundef nonnull align 16 dereferenceable(16) %10)
  call void @_ZN3JPH4Vec34SetZEf(ptr noundef nonnull align 16 dereferenceable(16) %183, float noundef %184)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  br label %197

185:                                              ; preds = %1
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #7
  %186 = call { double, double } @_ZN3JPH4Vec35sZeroEv()
  %187 = getelementptr inbounds %"class.JPH::Vec3", ptr %30, i32 0, i32 0
  %188 = getelementptr inbounds %union.anon.6, ptr %187, i32 0, i32 0
  %189 = getelementptr inbounds { double, double }, ptr %188, i32 0, i32 0
  %190 = extractvalue { double, double } %186, 0
  store double %190, ptr %189, align 16
  %191 = getelementptr inbounds { double, double }, ptr %188, i32 0, i32 1
  %192 = extractvalue { double, double } %186, 1
  store double %192, ptr %191, align 8
  %193 = getelementptr inbounds %"class.JPH::CompoundShape", ptr %31, i32 0, i32 3
  %194 = getelementptr inbounds %"class.JPH::AABox", ptr %193, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %194, ptr align 16 %30, i64 16, i1 false), !tbaa.struct !11
  %195 = getelementptr inbounds %"class.JPH::CompoundShape", ptr %31, i32 0, i32 3
  %196 = getelementptr inbounds %"class.JPH::AABox", ptr %195, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %196, ptr align 16 %194, i64 16, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #7
  br label %197

197:                                              ; preds = %185, %166
  call void @_ZN3JPH13CompoundShape20CalculateInnerRadiusEv(ptr noundef nonnull align 16 dereferenceable(108) %31)
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH5ArrayINS_20MutableCompoundShape6BoundsENS_12STLAllocatorIS2_EEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec44sMinES0_S0_(double, double, double, double) #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec44sMaxES0_S0_(double, double, double, double) #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH4Vec34SetXEf(ptr noundef nonnull align 16 dereferenceable(16), float noundef) #6 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZNK3JPH4Vec49ReduceMinEv(ptr noundef nonnull align 16 dereferenceable(16)) #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH4Vec34SetYEf(ptr noundef nonnull align 16 dereferenceable(16), float noundef) #6 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH4Vec34SetZEf(ptr noundef nonnull align 16 dereferenceable(16), float noundef) #6 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZNK3JPH4Vec49ReduceMaxEv(ptr noundef nonnull align 16 dereferenceable(16)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH13CompoundShape20CalculateInnerRadiusEv(ptr noundef nonnull align 16 dereferenceable(108)) #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 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 = { 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 #6 = { 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 #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 = !{i64 0, i64 16, !12}
!12 = !{!7, !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; 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.JPH::Vec4" = type { %union.anon.14 }
%union.anon.14 = type { <4 x float> }

; 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: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec35sZeroEv() local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3JPH20MutableCompoundShape20CalculateLocalBoundsEv(ptr noundef nonnull align 16 dereferenceable(144) %0) local_unnamed_addr #3 align 2 {
  %2 = alloca %"class.JPH::Vec4", align 16
  %3 = alloca %"class.JPH::Vec4", align 16
  %4 = alloca %"class.JPH::Vec4", align 16
  %5 = alloca %"class.JPH::Vec4", align 16
  %6 = alloca %"class.JPH::Vec4", align 16
  %7 = alloca %"class.JPH::Vec4", align 16
  %8 = tail call noundef i32 @_ZNK3JPH20MutableCompoundShape12GetNumBlocksEv(ptr noundef nonnull align 16 dereferenceable(144) %0)
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %64, label %9

9:                                                ; preds = %1
  %10 = getelementptr inbounds i8, ptr %0, i64 112
  %11 = tail call noundef ptr @_ZN3JPH5ArrayINS_20MutableCompoundShape6BoundsENS_12STLAllocatorIS2_EEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %10)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %2, ptr noundef nonnull align 16 dereferenceable(16) %11, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  %12 = getelementptr inbounds i8, ptr %11, i64 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) %12, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  %13 = getelementptr inbounds i8, ptr %11, i64 32
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %4, ptr noundef nonnull align 16 dereferenceable(16) %13, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  %14 = getelementptr inbounds i8, ptr %11, i64 48
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) %14, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  %15 = getelementptr inbounds i8, ptr %11, i64 64
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %6, ptr noundef nonnull align 16 dereferenceable(16) %15, i64 16, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  %16 = getelementptr inbounds i8, ptr %11, i64 80
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %7, ptr noundef nonnull align 16 dereferenceable(16) %16, i64 16, i1 false), !tbaa.struct !5
  %17 = zext i32 %8 to i64
  %.idx = mul nuw nsw i64 %17, 96
  %18 = getelementptr inbounds i8, ptr %11, i64 %.idx
  %.promoted = load double, ptr %2, align 16
  %.promoted55 = load double, ptr %3, align 16
  %.promoted57 = load double, ptr %4, align 16
  %.promoted59 = load double, ptr %5, align 16
  %.promoted61 = load double, ptr %6, align 16
  %.promoted63 = load double, ptr %7, align 16
  %.not73 = icmp eq i32 %8, 1
  br i1 %.not73, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %9
  %.065 = getelementptr inbounds i8, ptr %11, i64 96
  %.sroa.233.0..sroa_idx = getelementptr inbounds i8, ptr %2, i64 8
  %.sroa.227.0..sroa_idx = getelementptr inbounds i8, ptr %3, i64 8
  %.sroa.221.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  %.sroa.215.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  %.sroa.29.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  %.sroa.23.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  %.sroa.233.0..sroa_idx.promoted = load double, ptr %.sroa.233.0..sroa_idx, align 8, !tbaa !6
  %.sroa.227.0..sroa_idx.promoted = load double, ptr %.sroa.227.0..sroa_idx, align 8, !tbaa !6
  %.sroa.221.0..sroa_idx.promoted = load double, ptr %.sroa.221.0..sroa_idx, align 8, !tbaa !6
  %.sroa.215.0..sroa_idx.promoted = load double, ptr %.sroa.215.0..sroa_idx, align 8, !tbaa !6
  %.sroa.29.0..sroa_idx.promoted = load double, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !6
  %.sroa.23.0..sroa_idx.promoted = load double, ptr %.sroa.23.0..sroa_idx, align 8, !tbaa !6
  br label %19

19:                                               ; preds = %.lr.ph, %19
  %20 = phi double [ %.sroa.23.0..sroa_idx.promoted, %.lr.ph ], [ %54, %19 ]
  %21 = phi double [ %.sroa.29.0..sroa_idx.promoted, %.lr.ph ], [ %50, %19 ]
  %22 = phi double [ %.sroa.215.0..sroa_idx.promoted, %.lr.ph ], [ %46, %19 ]
  %23 = phi double [ %.sroa.221.0..sroa_idx.promoted, %.lr.ph ], [ %42, %19 ]
  %24 = phi double [ %.sroa.227.0..sroa_idx.promoted, %.lr.ph ], [ %38, %19 ]
  %25 = phi double [ %.sroa.233.0..sroa_idx.promoted, %.lr.ph ], [ %34, %19 ]
  %.067 = phi ptr [ %.065, %.lr.ph ], [ %.0, %19 ]
  %.pn66 = phi ptr [ %11, %.lr.ph ], [ %.067, %19 ]
  %26 = phi double [ %.promoted, %.lr.ph ], [ %33, %19 ]
  %27 = phi double [ %.promoted55, %.lr.ph ], [ %37, %19 ]
  %28 = phi double [ %.promoted57, %.lr.ph ], [ %41, %19 ]
  %29 = phi double [ %.promoted59, %.lr.ph ], [ %45, %19 ]
  %30 = phi double [ %.promoted61, %.lr.ph ], [ %49, %19 ]
  %31 = phi double [ %.promoted63, %.lr.ph ], [ %53, %19 ]
  %.sroa.030.0.copyload = load double, ptr %.067, align 16
  %.sroa.231.0..sroa_idx = getelementptr inbounds i8, ptr %.pn66, i64 104
  %.sroa.231.0.copyload = load double, ptr %.sroa.231.0..sroa_idx, align 8, !tbaa !6
  %32 = tail call { double, double } @_ZN3JPH4Vec44sMinES0_S0_(double %26, double %25, double %.sroa.030.0.copyload, double %.sroa.231.0.copyload)
  %33 = extractvalue { double, double } %32, 0
  %34 = extractvalue { double, double } %32, 1
  store double %34, ptr %.sroa.233.0..sroa_idx, align 8, !tbaa !6
  %35 = getelementptr inbounds i8, ptr %.pn66, i64 112
  %.sroa.024.0.copyload = load double, ptr %35, align 16
  %.sroa.225.0..sroa_idx = getelementptr inbounds i8, ptr %.pn66, i64 120
  %.sroa.225.0.copyload = load double, ptr %.sroa.225.0..sroa_idx, align 8, !tbaa !6
  %36 = tail call { double, double } @_ZN3JPH4Vec44sMinES0_S0_(double %27, double %24, double %.sroa.024.0.copyload, double %.sroa.225.0.copyload)
  %37 = extractvalue { double, double } %36, 0
  %38 = extractvalue { double, double } %36, 1
  store double %38, ptr %.sroa.227.0..sroa_idx, align 8, !tbaa !6
  %39 = getelementptr inbounds i8, ptr %.pn66, i64 128
  %.sroa.018.0.copyload = load double, ptr %39, align 16
  %.sroa.219.0..sroa_idx = getelementptr inbounds i8, ptr %.pn66, i64 136
  %.sroa.219.0.copyload = load double, ptr %.sroa.219.0..sroa_idx, align 8, !tbaa !6
  %40 = tail call { double, double } @_ZN3JPH4Vec44sMinES0_S0_(double %28, double %23, double %.sroa.018.0.copyload, double %.sroa.219.0.copyload)
  %41 = extractvalue { double, double } %40, 0
  %42 = extractvalue { double, double } %40, 1
  store double %42, ptr %.sroa.221.0..sroa_idx, align 8, !tbaa !6
  %43 = getelementptr inbounds i8, ptr %.pn66, i64 144
  %.sroa.012.0.copyload = load double, ptr %43, align 16
  %.sroa.213.0..sroa_idx = getelementptr inbounds i8, ptr %.pn66, i64 152
  %.sroa.213.0.copyload = load double, ptr %.sroa.213.0..sroa_idx, align 8, !tbaa !6
  %44 = tail call { double, double } @_ZN3JPH4Vec44sMaxES0_S0_(double %29, double %22, double %.sroa.012.0.copyload, double %.sroa.213.0.copyload)
  %45 = extractvalue { double, double } %44, 0
  %46 = extractvalue { double, double } %44, 1
  store double %46, ptr %.sroa.215.0..sroa_idx, align 8, !tbaa !6
  %47 = getelementptr inbounds i8, ptr %.pn66, i64 160
  %.sroa.06.0.copyload = load double, ptr %47, align 16
  %.sroa.27.0..sroa_idx = getelementptr inbounds i8, ptr %.pn66, i64 168
  %.sroa.27.0.copyload = load double, ptr %.sroa.27.0..sroa_idx, align 8, !tbaa !6
  %48 = tail call { double, double } @_ZN3JPH4Vec44sMaxES0_S0_(double %30, double %21, double %.sroa.06.0.copyload, double %.sroa.27.0.copyload)
  %49 = extractvalue { double, double } %48, 0
  %50 = extractvalue { double, double } %48, 1
  store double %50, ptr %.sroa.29.0..sroa_idx, align 8, !tbaa !6
  %51 = getelementptr inbounds i8, ptr %.pn66, i64 176
  %.sroa.01.0.copyload = load double, ptr %51, align 16
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %.pn66, i64 184
  %.sroa.2.0.copyload = load double, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !6
  %52 = tail call { double, double } @_ZN3JPH4Vec44sMaxES0_S0_(double %31, double %20, double %.sroa.01.0.copyload, double %.sroa.2.0.copyload)
  %53 = extractvalue { double, double } %52, 0
  %54 = extractvalue { double, double } %52, 1
  store double %54, ptr %.sroa.23.0..sroa_idx, align 8, !tbaa !6
  %.0 = getelementptr inbounds i8, ptr %.067, i64 96
  %55 = icmp ult ptr %.0, %18
  br i1 %55, label %19, label %._crit_edge, !llvm.loop !9

._crit_edge:                                      ; preds = %19, %9
  %.lcssa64 = phi double [ %.promoted63, %9 ], [ %53, %19 ]
  %.lcssa62 = phi double [ %.promoted61, %9 ], [ %49, %19 ]
  %.lcssa60 = phi double [ %.promoted59, %9 ], [ %45, %19 ]
  %.lcssa58 = phi double [ %.promoted57, %9 ], [ %41, %19 ]
  %.lcssa56 = phi double [ %.promoted55, %9 ], [ %37, %19 ]
  %.lcssa = phi double [ %.promoted, %9 ], [ %33, %19 ]
  store double %.lcssa, ptr %2, align 16
  store double %.lcssa56, ptr %3, align 16
  store double %.lcssa58, ptr %4, align 16
  store double %.lcssa60, ptr %5, align 16
  store double %.lcssa62, ptr %6, align 16
  store double %.lcssa64, ptr %7, align 16
  %56 = getelementptr inbounds i8, ptr %0, i64 48
  %57 = call noundef float @_ZNK3JPH4Vec49ReduceMinEv(ptr noundef nonnull align 16 dereferenceable(16) %2)
  call void @_ZN3JPH4Vec34SetXEf(ptr noundef nonnull align 16 dereferenceable(16) %56, float noundef %57)
  %58 = call noundef float @_ZNK3JPH4Vec49ReduceMinEv(ptr noundef nonnull align 16 dereferenceable(16) %3)
  call void @_ZN3JPH4Vec34SetYEf(ptr noundef nonnull align 16 dereferenceable(16) %56, float noundef %58)
  %59 = call noundef float @_ZNK3JPH4Vec49ReduceMinEv(ptr noundef nonnull align 16 dereferenceable(16) %4)
  call void @_ZN3JPH4Vec34SetZEf(ptr noundef nonnull align 16 dereferenceable(16) %56, float noundef %59)
  %60 = getelementptr inbounds i8, ptr %0, i64 64
  %61 = call noundef float @_ZNK3JPH4Vec49ReduceMaxEv(ptr noundef nonnull align 16 dereferenceable(16) %5)
  call void @_ZN3JPH4Vec34SetXEf(ptr noundef nonnull align 16 dereferenceable(16) %60, float noundef %61)
  %62 = call noundef float @_ZNK3JPH4Vec49ReduceMaxEv(ptr noundef nonnull align 16 dereferenceable(16) %6)
  call void @_ZN3JPH4Vec34SetYEf(ptr noundef nonnull align 16 dereferenceable(16) %60, float noundef %62)
  %63 = call noundef float @_ZNK3JPH4Vec49ReduceMaxEv(ptr noundef nonnull align 16 dereferenceable(16) %7)
  call void @_ZN3JPH4Vec34SetZEf(ptr noundef nonnull align 16 dereferenceable(16) %60, float noundef %63)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #7
  br label %70

64:                                               ; preds = %1
  %65 = tail call { double, double } @_ZN3JPH4Vec35sZeroEv()
  %66 = extractvalue { double, double } %65, 0
  %67 = extractvalue { double, double } %65, 1
  %68 = getelementptr inbounds i8, ptr %0, i64 48
  %69 = getelementptr inbounds i8, ptr %0, i64 64
  store double %66, ptr %69, align 16
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 72
  store double %67, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !6
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %68, ptr noundef nonnull align 16 dereferenceable(16) %69, i64 16, i1 false), !tbaa.struct !5
  br label %70

70:                                               ; preds = %64, %._crit_edge
  call void @_ZN3JPH13CompoundShape20CalculateInnerRadiusEv(ptr noundef nonnull align 16 dereferenceable(108) %0)
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK3JPH20MutableCompoundShape12GetNumBlocksEv(ptr noundef nonnull align 16 dereferenceable(144)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN3JPH5ArrayINS_20MutableCompoundShape6BoundsENS_12STLAllocatorIS2_EEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec44sMinES0_S0_(double, double, double, double) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH4Vec44sMaxES0_S0_(double, double, double, double) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH4Vec34SetXEf(ptr noundef nonnull align 16 dereferenceable(16), float noundef) local_unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZNK3JPH4Vec49ReduceMinEv(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH4Vec34SetYEf(ptr noundef nonnull align 16 dereferenceable(16), float noundef) local_unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN3JPH4Vec34SetZEf(ptr noundef nonnull align 16 dereferenceable(16), float noundef) local_unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef float @_ZNK3JPH4Vec49ReduceMaxEv(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3JPH13CompoundShape20CalculateInnerRadiusEv(ptr noundef nonnull align 16 dereferenceable(108)) local_unnamed_addr #4 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 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 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 = { 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 #6 = { 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 #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 = !{i64 0, i64 16, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


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