; LLVM IR from jrouwe/JoltPhysics :: Samples/Tests/ConvexCollision (ClosestPointTest)

; 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::Color" = type { %union.anon.4 }
%union.anon.4 = type { i32 }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.std::basic_string_view" = type { i64, ptr }
%class.Test = type { ptr, ptr, ptr, ptr, ptr, ptr, i8, %"class.std::unordered_map" }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }

@_ZN3JPH5Color6sWhiteE = external global %"class.JPH::Color", align 4
@_ZN3JPH5Color4sRedE = external global %"class.JPH::Color", align 4
@_ZN3JPH5Color7sYellowE = external global %"class.JPH::Color", align 4
@_ZN3JPH5Color6sGreenE = external global %"class.JPH::Color", align 4
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1

; 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 @_ZN16ClosestPointTest8TestLineEN3JPH4Vec3ES1_S1_(ptr noundef nonnull align 8 dereferenceable(112) %0, double %1, double %2, double %3, double %4, double %5, double %6) #2 align 2 {
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca %"class.JPH::Vec3", align 16
  %11 = alloca ptr, align 8
  %12 = alloca %"class.JPH::Vec3", align 16
  %13 = alloca %"class.JPH::Vec3", align 16
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.JPH::Vec3", align 16
  %16 = alloca i32, align 4
  %17 = alloca %"class.JPH::Vec3", align 16
  %18 = alloca %"class.JPH::Vec3", align 16
  %19 = alloca %"class.JPH::Vec3", align 16
  %20 = alloca %"class.JPH::Vec3", align 16
  %21 = alloca %"class.JPH::Vec3", align 16
  %22 = alloca %"class.JPH::Vec3", align 16
  %23 = alloca %"class.JPH::Vec3", align 16
  %24 = alloca %"class.JPH::Color", align 4
  %25 = alloca %"class.JPH::Vec3", align 16
  %26 = alloca %"class.JPH::Color", align 4
  %27 = alloca %"class.JPH::Vec3", align 16
  %28 = alloca %"class.JPH::Color", align 4
  %29 = alloca %"class.JPH::Vec3", align 16
  %30 = alloca %"class.JPH::Color", align 4
  %31 = alloca %"class.JPH::Vec3", align 16
  %32 = alloca %"class.JPH::Vec3", align 16
  %33 = alloca %"class.JPH::Vec3", align 16
  %34 = alloca %"class.JPH::Vec3", align 16
  %35 = alloca float, align 4
  %36 = alloca float, align 4
  %37 = alloca %"class.JPH::Vec3", align 16
  %38 = alloca %"class.JPH::Vec3", align 16
  %39 = alloca %"class.JPH::Vec3", align 16
  %40 = alloca %"class.JPH::Vec3", align 16
  %41 = alloca %"class.JPH::Vec3", align 16
  %42 = alloca %"class.JPH::Vec3", align 16
  %43 = alloca %"class.JPH::Vec3", align 16
  %44 = alloca %"class.JPH::Color", align 4
  %45 = alloca %"class.JPH::Vec3", align 16
  %46 = alloca %"class.std::basic_string_view", align 8
  %47 = alloca %"class.JPH::Color", align 4
  %48 = alloca %"class.JPH::Vec3", align 16
  %49 = alloca %"class.std::basic_string_view", align 8
  %50 = alloca %"class.JPH::Color", align 4
  %51 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 0
  store double %1, ptr %51, align 16
  %52 = getelementptr inbounds { double, double }, ptr %8, i32 0, i32 1
  store double %2, ptr %52, align 8
  %53 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 0
  store double %3, ptr %53, align 16
  %54 = getelementptr inbounds { double, double }, ptr %9, i32 0, i32 1
  store double %4, ptr %54, align 8
  %55 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 0
  store double %5, ptr %55, align 16
  %56 = getelementptr inbounds { double, double }, ptr %10, i32 0, i32 1
  store double %6, ptr %56, align 8
  store ptr %0, ptr %11, align 8, !tbaa !5
  %57 = load ptr, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !9
  %58 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 0
  %59 = load double, ptr %58, align 16
  %60 = getelementptr inbounds { double, double }, ptr %13, i32 0, i32 1
  %61 = load double, ptr %60, align 8
  %62 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %9, double %59, double %61)
  %63 = getelementptr inbounds %"class.JPH::Vec3", ptr %12, i32 0, i32 0
  %64 = getelementptr inbounds %union.anon, ptr %63, i32 0, i32 0
  %65 = getelementptr inbounds { double, double }, ptr %64, i32 0, i32 0
  %66 = extractvalue { double, double } %62, 0
  store double %66, ptr %65, align 16
  %67 = getelementptr inbounds { double, double }, ptr %64, i32 0, i32 1
  %68 = extractvalue { double, double } %62, 1
  store double %68, ptr %67, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %15, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !9
  %69 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 0
  %70 = load double, ptr %69, align 16
  %71 = getelementptr inbounds { double, double }, ptr %15, i32 0, i32 1
  %72 = load double, ptr %71, align 8
  %73 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %10, double %70, double %72)
  %74 = getelementptr inbounds %"class.JPH::Vec3", ptr %14, i32 0, i32 0
  %75 = getelementptr inbounds %union.anon, ptr %74, i32 0, i32 0
  %76 = getelementptr inbounds { double, double }, ptr %75, i32 0, i32 0
  %77 = extractvalue { double, double } %73, 0
  store double %77, ptr %76, align 16
  %78 = getelementptr inbounds { double, double }, ptr %75, i32 0, i32 1
  %79 = extractvalue { double, double } %73, 1
  store double %79, ptr %78, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 %12, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %14, i64 16, i1 false), !tbaa.struct !9
  %80 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 0
  %81 = load double, ptr %80, align 16
  %82 = getelementptr inbounds { double, double }, ptr %19, i32 0, i32 1
  %83 = load double, ptr %82, align 8
  %84 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 0
  %85 = load double, ptr %84, align 16
  %86 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 1
  %87 = load double, ptr %86, align 8
  %88 = call { double, double } @_ZN3JPH12ClosestPoint21GetClosestPointOnLineENS_4Vec3ES1_Rj(double %81, double %83, double %85, double %87, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %89 = getelementptr inbounds %"class.JPH::Vec3", ptr %18, i32 0, i32 0
  %90 = getelementptr inbounds %union.anon, 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 %21, ptr align 16 %8, i64 16, i1 false), !tbaa.struct !9
  %95 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 0
  %96 = load double, ptr %95, align 16
  %97 = getelementptr inbounds { double, double }, ptr %21, i32 0, i32 1
  %98 = load double, ptr %97, align 8
  %99 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %18, double %96, double %98)
  %100 = getelementptr inbounds %"class.JPH::Vec3", ptr %17, i32 0, i32 0
  %101 = getelementptr inbounds %union.anon, ptr %100, i32 0, i32 0
  %102 = getelementptr inbounds { double, double }, ptr %101, i32 0, i32 0
  %103 = extractvalue { double, double } %99, 0
  store double %103, ptr %102, align 16
  %104 = getelementptr inbounds { double, double }, ptr %101, i32 0, i32 1
  %105 = extractvalue { double, double } %99, 1
  store double %105, ptr %104, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #6
  %106 = getelementptr inbounds %class.Test, ptr %57, i32 0, i32 4
  %107 = load ptr, ptr %106, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %22, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %23, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 @_ZN3JPH5Color6sWhiteE, i64 4, i1 false), !tbaa.struct !20
  %108 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 0
  %109 = load double, ptr %108, align 16
  %110 = getelementptr inbounds { double, double }, ptr %22, i32 0, i32 1
  %111 = load double, ptr %110, align 8
  %112 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 0
  %113 = load double, ptr %112, align 16
  %114 = getelementptr inbounds { double, double }, ptr %23, i32 0, i32 1
  %115 = load double, ptr %114, align 8
  %116 = getelementptr inbounds %"class.JPH::Color", ptr %24, i32 0, i32 0
  %117 = getelementptr inbounds %union.anon.4, ptr %116, i32 0, i32 0
  %118 = load i32, ptr %117, align 4
  call void @_Z10DrawLineSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorE(ptr noundef %107, double %109, double %111, double %113, double %115, i32 %118)
  %119 = getelementptr inbounds %class.Test, ptr %57, i32 0, i32 4
  %120 = load ptr, ptr %119, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 16 %17, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 @_ZN3JPH5Color4sRedE, i64 4, i1 false), !tbaa.struct !20
  %121 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 0
  %122 = load double, ptr %121, align 16
  %123 = getelementptr inbounds { double, double }, ptr %25, i32 0, i32 1
  %124 = load double, ptr %123, align 8
  %125 = getelementptr inbounds %"class.JPH::Color", ptr %26, i32 0, i32 0
  %126 = getelementptr inbounds %union.anon.4, ptr %125, i32 0, i32 0
  %127 = load i32, ptr %126, align 4
  call void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %120, double %122, double %124, i32 %127, float noundef 0x3FB99999A0000000)
  %128 = load i32, ptr %16, align 4, !tbaa !21
  %129 = and i32 %128, 1
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %131, label %141

131:                                              ; preds = %7
  %132 = getelementptr inbounds %class.Test, ptr %57, i32 0, i32 4
  %133 = load ptr, ptr %132, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %27, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 @_ZN3JPH5Color7sYellowE, i64 4, i1 false), !tbaa.struct !20
  %134 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 0
  %135 = load double, ptr %134, align 16
  %136 = getelementptr inbounds { double, double }, ptr %27, i32 0, i32 1
  %137 = load double, ptr %136, align 8
  %138 = getelementptr inbounds %"class.JPH::Color", ptr %28, i32 0, i32 0
  %139 = getelementptr inbounds %union.anon.4, ptr %138, i32 0, i32 0
  %140 = load i32, ptr %139, align 4
  call void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %133, double %135, double %137, i32 %140, float noundef 5.000000e-01)
  br label %141

141:                                              ; preds = %131, %7
  %142 = load i32, ptr %16, align 4, !tbaa !21
  %143 = and i32 %142, 2
  %144 = icmp ne i32 %143, 0
  br i1 %144, label %145, label %155

145:                                              ; preds = %141
  %146 = getelementptr inbounds %class.Test, ptr %57, i32 0, i32 4
  %147 = load ptr, ptr %146, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %29, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 @_ZN3JPH5Color7sYellowE, i64 4, i1 false), !tbaa.struct !20
  %148 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 0
  %149 = load double, ptr %148, align 16
  %150 = getelementptr inbounds { double, double }, ptr %29, i32 0, i32 1
  %151 = load double, ptr %150, align 8
  %152 = getelementptr inbounds %"class.JPH::Color", ptr %30, i32 0, i32 0
  %153 = getelementptr inbounds %union.anon.4, ptr %152, i32 0, i32 0
  %154 = load i32, ptr %153, align 4
  call void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %147, double %149, double %151, i32 %154, float noundef 5.000000e-01)
  br label %155

155:                                              ; preds = %145, %141
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %32, ptr align 16 %17, i64 16, i1 false), !tbaa.struct !9
  %156 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 0
  %157 = load double, ptr %156, align 16
  %158 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 1
  %159 = load double, ptr %158, align 8
  %160 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %9, double %157, double %159)
  %161 = getelementptr inbounds %"class.JPH::Vec3", ptr %31, i32 0, i32 0
  %162 = getelementptr inbounds %union.anon, ptr %161, i32 0, i32 0
  %163 = getelementptr inbounds { double, double }, ptr %162, i32 0, i32 0
  %164 = extractvalue { double, double } %160, 0
  store double %164, ptr %163, align 16
  %165 = getelementptr inbounds { double, double }, ptr %162, i32 0, i32 1
  %166 = extractvalue { double, double } %160, 1
  store double %166, ptr %165, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %34, ptr align 16 %17, i64 16, i1 false), !tbaa.struct !9
  %167 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 0
  %168 = load double, ptr %167, align 16
  %169 = getelementptr inbounds { double, double }, ptr %34, i32 0, i32 1
  %170 = load double, ptr %169, align 8
  %171 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %10, double %168, double %170)
  %172 = getelementptr inbounds %"class.JPH::Vec3", ptr %33, i32 0, i32 0
  %173 = getelementptr inbounds %union.anon, ptr %172, i32 0, i32 0
  %174 = getelementptr inbounds { double, double }, ptr %173, i32 0, i32 0
  %175 = extractvalue { double, double } %171, 0
  store double %175, ptr %174, align 16
  %176 = getelementptr inbounds { double, double }, ptr %173, i32 0, i32 1
  %177 = extractvalue { double, double } %171, 1
  store double %177, ptr %176, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %37, ptr align 16 %31, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %38, ptr align 16 %33, i64 16, i1 false), !tbaa.struct !9
  %178 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 0
  %179 = load double, ptr %178, align 16
  %180 = getelementptr inbounds { double, double }, ptr %37, i32 0, i32 1
  %181 = load double, ptr %180, align 8
  %182 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 0
  %183 = load double, ptr %182, align 16
  %184 = getelementptr inbounds { double, double }, ptr %38, i32 0, i32 1
  %185 = load double, ptr %184, align 8
  %186 = call noundef zeroext i1 @_ZN3JPH12ClosestPoint25GetBaryCentricCoordinatesENS_4Vec3ES1_RfS2_(double %179, double %181, double %183, double %185, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %36)
  %187 = getelementptr inbounds %class.Test, ptr %57, i32 0, i32 4
  %188 = load ptr, ptr %187, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #6
  %189 = load float, ptr %35, align 4, !tbaa !23
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %41, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !9
  %190 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 0
  %191 = load double, ptr %190, align 16
  %192 = getelementptr inbounds { double, double }, ptr %41, i32 0, i32 1
  %193 = load double, ptr %192, align 8
  %194 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %189, double %191, double %193)
  %195 = getelementptr inbounds %"class.JPH::Vec3", ptr %40, i32 0, i32 0
  %196 = getelementptr inbounds %union.anon, ptr %195, i32 0, i32 0
  %197 = getelementptr inbounds { double, double }, ptr %196, i32 0, i32 0
  %198 = extractvalue { double, double } %194, 0
  store double %198, ptr %197, align 16
  %199 = getelementptr inbounds { double, double }, ptr %196, i32 0, i32 1
  %200 = extractvalue { double, double } %194, 1
  store double %200, ptr %199, align 8
  %201 = load float, ptr %36, align 4, !tbaa !23
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %43, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !9
  %202 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 0
  %203 = load double, ptr %202, align 16
  %204 = getelementptr inbounds { double, double }, ptr %43, i32 0, i32 1
  %205 = load double, ptr %204, align 8
  %206 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %201, double %203, double %205)
  %207 = getelementptr inbounds %"class.JPH::Vec3", ptr %42, i32 0, i32 0
  %208 = getelementptr inbounds %union.anon, ptr %207, i32 0, i32 0
  %209 = getelementptr inbounds { double, double }, ptr %208, i32 0, i32 0
  %210 = extractvalue { double, double } %206, 0
  store double %210, ptr %209, align 16
  %211 = getelementptr inbounds { double, double }, ptr %208, i32 0, i32 1
  %212 = extractvalue { double, double } %206, 1
  store double %212, ptr %211, align 8
  %213 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 0
  %214 = load double, ptr %213, align 16
  %215 = getelementptr inbounds { double, double }, ptr %42, i32 0, i32 1
  %216 = load double, ptr %215, align 8
  %217 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %40, double %214, double %216)
  %218 = getelementptr inbounds %"class.JPH::Vec3", ptr %39, i32 0, i32 0
  %219 = getelementptr inbounds %union.anon, ptr %218, i32 0, i32 0
  %220 = getelementptr inbounds { double, double }, ptr %219, i32 0, i32 0
  %221 = extractvalue { double, double } %217, 0
  store double %221, ptr %220, align 16
  %222 = getelementptr inbounds { double, double }, ptr %219, i32 0, i32 1
  %223 = extractvalue { double, double } %217, 1
  store double %223, ptr %222, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 4 @_ZN3JPH5Color6sGreenE, i64 4, i1 false), !tbaa.struct !20
  %224 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 0
  %225 = load double, ptr %224, align 16
  %226 = getelementptr inbounds { double, double }, ptr %39, i32 0, i32 1
  %227 = load double, ptr %226, align 8
  %228 = getelementptr inbounds %"class.JPH::Color", ptr %44, i32 0, i32 0
  %229 = getelementptr inbounds %union.anon.4, ptr %228, i32 0, i32 0
  %230 = load i32, ptr %229, align 4
  call void @_Z16DrawWireSphereSPPN3JPH13DebugRendererENS_4Vec3EfNS_5ColorEi(ptr noundef %188, double %225, double %227, float noundef 0x3FA99999A0000000, i32 %230, i32 noundef 3)
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #6
  %231 = getelementptr inbounds %class.Test, ptr %57, i32 0, i32 4
  %232 = load ptr, ptr %231, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %45, ptr align 16 %9, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %46, ptr noundef @.str.1) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 4 @_ZN3JPH5Color6sWhiteE, i64 4, i1 false), !tbaa.struct !20
  %233 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 0
  %234 = load double, ptr %233, align 16
  %235 = getelementptr inbounds { double, double }, ptr %45, i32 0, i32 1
  %236 = load double, ptr %235, align 8
  %237 = getelementptr inbounds %"class.JPH::Color", ptr %47, i32 0, i32 0
  %238 = getelementptr inbounds %union.anon.4, ptr %237, i32 0, i32 0
  %239 = load i32, ptr %238, align 4
  call void @_Z12DrawText3DSPPN3JPH13DebugRendererENS_4Vec3ERKSt17basic_string_viewIcSt11char_traitsIcEENS_5ColorEf(ptr noundef %232, double %234, double %236, ptr noundef nonnull align 8 dereferenceable(16) %46, i32 %239, float noundef 5.000000e-01)
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #6
  %240 = getelementptr inbounds %class.Test, ptr %57, i32 0, i32 4
  %241 = load ptr, ptr %240, align 8, !tbaa !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %48, ptr align 16 %10, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #6
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr noundef @.str.2) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 4 @_ZN3JPH5Color6sWhiteE, i64 4, i1 false), !tbaa.struct !20
  %242 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 0
  %243 = load double, ptr %242, align 16
  %244 = getelementptr inbounds { double, double }, ptr %48, i32 0, i32 1
  %245 = load double, ptr %244, align 8
  %246 = getelementptr inbounds %"class.JPH::Color", ptr %50, i32 0, i32 0
  %247 = getelementptr inbounds %union.anon.4, ptr %246, i32 0, i32 0
  %248 = load i32, ptr %247, align 4
  call void @_Z12DrawText3DSPPN3JPH13DebugRendererENS_4Vec3ERKSt17basic_string_viewIcSt11char_traitsIcEENS_5ColorEf(ptr noundef %241, double %243, double %245, ptr noundef nonnull align 8 dereferenceable(16) %49, i32 %248, float noundef 5.000000e-01)
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  ret void
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH12ClosestPoint21GetClosestPointOnLineENS_4Vec3ES1_Rj(double, double, double, double, ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z10DrawLineSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorE(ptr noundef, double, double, double, double, i32) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef, double, double, i32, float noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH12ClosestPoint25GetBaryCentricCoordinatesENS_4Vec3ES1_RfS2_(double, double, double, double, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z16DrawWireSphereSPPN3JPH13DebugRendererENS_4Vec3EfNS_5ColorEi(ptr noundef, double, double, float noundef, i32, i32 noundef) #4

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef, double, double) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z12DrawText3DSPPN3JPH13DebugRendererENS_4Vec3ERKSt17basic_string_viewIcSt11char_traitsIcEENS_5ColorEf(ptr noundef, double, double, ptr noundef nonnull align 8 dereferenceable(16), i32, float noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull) unnamed_addr #5 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 = { 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 #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 = { 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 = { 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 = !{i64 0, i64 16, !10}
!10 = !{!7, !7, i64 0}
!11 = !{!12, !6, i64 32}
!12 = !{!"_ZTS4Test", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !13, i64 48, !14, i64 56}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !15, i64 0}
!15 = !{!"_ZTSSt10_HashtableIN3JPH6BodyIDESt4pairIKS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEEESaISB_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !16, i64 8, !17, i64 16, !16, i64 24, !18, i64 32, !6, i64 48}
!16 = !{!"long", !7, i64 0}
!17 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!18 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !19, i64 0, !16, i64 8}
!19 = !{!"float", !7, i64 0}
!20 = !{i64 0, i64 4, !10}
!21 = !{!22, !22, i64 0}
!22 = !{!"int", !7, i64 0}
!23 = !{!19, !19, i64 0}


; 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::Color" = type { %union.anon.4 }
%union.anon.4 = type { i32 }
%"class.JPH::Vec3" = type { %union.anon }
%union.anon = type { <4 x float> }
%"class.std::basic_string_view" = type { i64, ptr }

@_ZN3JPH5Color6sWhiteE = external local_unnamed_addr global %"class.JPH::Color", align 4
@_ZN3JPH5Color4sRedE = external local_unnamed_addr global %"class.JPH::Color", align 4
@_ZN3JPH5Color7sYellowE = external local_unnamed_addr global %"class.JPH::Color", align 4
@_ZN3JPH5Color6sGreenE = external local_unnamed_addr global %"class.JPH::Color", align 4
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1

; 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 @_ZN16ClosestPointTest8TestLineEN3JPH4Vec3ES1_S1_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(112) %0, double %1, double %2, double %3, double %4, double %5, double %6) local_unnamed_addr #1 align 2 {
  %8 = alloca %"class.JPH::Vec3", align 16
  %9 = alloca %"class.JPH::Vec3", align 16
  %10 = alloca i32, align 4
  %11 = alloca %"class.JPH::Vec3", align 16
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca %"class.JPH::Vec3", align 16
  %15 = alloca %"class.std::basic_string_view", align 8
  %16 = alloca %"class.std::basic_string_view", align 8
  store double %3, ptr %8, align 16
  %17 = getelementptr inbounds i8, ptr %8, i64 8
  store double %4, ptr %17, align 8
  store double %5, ptr %9, align 16
  %18 = getelementptr inbounds i8, ptr %9, i64 8
  store double %6, ptr %18, align 8
  %19 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %8, double %1, double %2)
  %20 = extractvalue { double, double } %19, 0
  %21 = extractvalue { double, double } %19, 1
  %22 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %9, double %1, double %2)
  %23 = extractvalue { double, double } %22, 0
  %24 = extractvalue { double, double } %22, 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #5
  %25 = call { double, double } @_ZN3JPH12ClosestPoint21GetClosestPointOnLineENS_4Vec3ES1_Rj(double %20, double %21, double %23, double %24, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %26 = extractvalue { double, double } %25, 0
  store double %26, ptr %11, align 16
  %27 = getelementptr inbounds i8, ptr %11, i64 8
  %28 = extractvalue { double, double } %25, 1
  store double %28, ptr %27, align 8
  %29 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %11, double %1, double %2)
  %30 = extractvalue { double, double } %29, 0
  %31 = extractvalue { double, double } %29, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #5
  %32 = getelementptr inbounds i8, ptr %0, i64 32
  %33 = load ptr, ptr %32, align 8, !tbaa !5
  %.sroa.037.0.copyload = load double, ptr %8, align 16
  %.sroa.238.0.copyload = load double, ptr %17, align 8, !tbaa !17
  %.sroa.035.0.copyload = load double, ptr %9, align 16
  %.sroa.236.0.copyload = load double, ptr %18, align 8, !tbaa !17
  %.sroa.034.0.copyload = load i32, ptr @_ZN3JPH5Color6sWhiteE, align 4, !tbaa !17
  call void @_Z10DrawLineSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorE(ptr noundef %33, double %.sroa.037.0.copyload, double %.sroa.238.0.copyload, double %.sroa.035.0.copyload, double %.sroa.236.0.copyload, i32 %.sroa.034.0.copyload)
  %34 = load ptr, ptr %32, align 8, !tbaa !5
  %.sroa.031.0.copyload = load i32, ptr @_ZN3JPH5Color4sRedE, align 4, !tbaa !17
  call void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %34, double %30, double %31, i32 %.sroa.031.0.copyload, float noundef 0x3FB99999A0000000)
  %35 = load i32, ptr %10, align 4, !tbaa !18
  %36 = and i32 %35, 1
  %.not = icmp eq i32 %36, 0
  br i1 %.not, label %39, label %37

37:                                               ; preds = %7
  %38 = load ptr, ptr %32, align 8, !tbaa !5
  %.sroa.029.0.copyload = load double, ptr %8, align 16
  %.sroa.230.0.copyload = load double, ptr %17, align 8, !tbaa !17
  %.sroa.028.0.copyload = load i32, ptr @_ZN3JPH5Color7sYellowE, align 4, !tbaa !17
  call void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %38, double %.sroa.029.0.copyload, double %.sroa.230.0.copyload, i32 %.sroa.028.0.copyload, float noundef 5.000000e-01)
  %.pre = load i32, ptr %10, align 4, !tbaa !18
  br label %39

39:                                               ; preds = %37, %7
  %40 = phi i32 [ %.pre, %37 ], [ %35, %7 ]
  %41 = and i32 %40, 2
  %.not56 = icmp eq i32 %41, 0
  br i1 %.not56, label %44, label %42

42:                                               ; preds = %39
  %43 = load ptr, ptr %32, align 8, !tbaa !5
  %.sroa.026.0.copyload = load double, ptr %9, align 16
  %.sroa.227.0.copyload = load double, ptr %18, align 8, !tbaa !17
  %.sroa.025.0.copyload = load i32, ptr @_ZN3JPH5Color7sYellowE, align 4, !tbaa !17
  call void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef %43, double %.sroa.026.0.copyload, double %.sroa.227.0.copyload, i32 %.sroa.025.0.copyload, float noundef 5.000000e-01)
  br label %44

44:                                               ; preds = %42, %39
  %45 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %8, double %30, double %31)
  %46 = extractvalue { double, double } %45, 0
  %47 = extractvalue { double, double } %45, 1
  %48 = call { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16) %9, double %30, double %31)
  %49 = extractvalue { double, double } %48, 0
  %50 = extractvalue { double, double } %48, 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #5
  %51 = call noundef zeroext i1 @_ZN3JPH12ClosestPoint25GetBaryCentricCoordinatesENS_4Vec3ES1_RfS2_(double %46, double %47, double %49, double %50, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %52 = load ptr, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #5
  %53 = load float, ptr %12, align 4, !tbaa !20
  %.sroa.010.0.copyload = load double, ptr %8, align 16
  %.sroa.211.0.copyload = load double, ptr %17, align 8, !tbaa !17
  %54 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %53, double %.sroa.010.0.copyload, double %.sroa.211.0.copyload)
  %55 = extractvalue { double, double } %54, 0
  store double %55, ptr %14, align 16
  %56 = getelementptr inbounds i8, ptr %14, i64 8
  %57 = extractvalue { double, double } %54, 1
  store double %57, ptr %56, align 8
  %58 = load float, ptr %13, align 4, !tbaa !20
  %.sroa.06.0.copyload = load double, ptr %9, align 16
  %.sroa.27.0.copyload = load double, ptr %18, align 8, !tbaa !17
  %59 = call { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef %58, double %.sroa.06.0.copyload, double %.sroa.27.0.copyload)
  %60 = extractvalue { double, double } %59, 0
  %61 = extractvalue { double, double } %59, 1
  %62 = call { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16) %14, double %60, double %61)
  %63 = extractvalue { double, double } %62, 0
  %64 = extractvalue { double, double } %62, 1
  %.sroa.05.0.copyload = load i32, ptr @_ZN3JPH5Color6sGreenE, align 4, !tbaa !17
  call void @_Z16DrawWireSphereSPPN3JPH13DebugRendererENS_4Vec3EfNS_5ColorEi(ptr noundef %52, double %63, double %64, float noundef 0x3FA99999A0000000, i32 %.sroa.05.0.copyload, i32 noundef 3)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  %65 = load ptr, ptr %32, align 8, !tbaa !5
  %.sroa.03.0.copyload = load double, ptr %8, align 16
  %.sroa.24.0.copyload = load double, ptr %17, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef @.str.1) #5
  %.sroa.02.0.copyload = load i32, ptr @_ZN3JPH5Color6sWhiteE, align 4, !tbaa !17
  call void @_Z12DrawText3DSPPN3JPH13DebugRendererENS_4Vec3ERKSt17basic_string_viewIcSt11char_traitsIcEENS_5ColorEf(ptr noundef %65, double %.sroa.03.0.copyload, double %.sroa.24.0.copyload, ptr noundef nonnull align 8 dereferenceable(16) %15, i32 %.sroa.02.0.copyload, float noundef 5.000000e-01)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #5
  %66 = load ptr, ptr %32, align 8, !tbaa !5
  %.sroa.01.0.copyload = load double, ptr %9, align 16
  %.sroa.2.0.copyload = load double, ptr %18, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #5
  call void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef @.str.2) #5
  %.sroa.0.0.copyload = load i32, ptr @_ZN3JPH5Color6sWhiteE, align 4, !tbaa !17
  call void @_Z12DrawText3DSPPN3JPH13DebugRendererENS_4Vec3ERKSt17basic_string_viewIcSt11char_traitsIcEENS_5ColorEf(ptr noundef %66, double %.sroa.01.0.copyload, double %.sroa.2.0.copyload, ptr noundef nonnull align 8 dereferenceable(16) %16, i32 %.sroa.0.0.copyload, float noundef 5.000000e-01)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  ret void
}

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3miES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZN3JPH12ClosestPoint21GetClosestPointOnLineENS_4Vec3ES1_Rj(double, double, double, double, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZNK3JPH4Vec3plES0_(ptr noundef nonnull align 16 dereferenceable(16), double, double) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z10DrawLineSPPN3JPH13DebugRendererENS_4Vec3ES2_NS_5ColorE(ptr noundef, double, double, double, double, i32) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z12DrawMarkerSPPN3JPH13DebugRendererENS_4Vec3ENS_5ColorEf(ptr noundef, double, double, i32, float noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN3JPH12ClosestPoint25GetBaryCentricCoordinatesENS_4Vec3ES1_RfS2_(double, double, double, double, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z16DrawWireSphereSPPN3JPH13DebugRendererENS_4Vec3EfNS_5ColorEi(ptr noundef, double, double, float noundef, i32, i32 noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN3JPHmlEfNS_4Vec3E(float noundef, double, double) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z12DrawText3DSPPN3JPH13DebugRendererENS_4Vec3ERKSt17basic_string_viewIcSt11char_traitsIcEENS_5ColorEf(ptr noundef, double, double, ptr noundef nonnull align 8 dereferenceable(16), i32, float noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt17basic_string_viewIcSt11char_traitsIcEEC2EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull) unnamed_addr #4 align 2

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 = { 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 = { 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 = { 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, !7, i64 32}
!6 = !{!"_ZTS4Test", !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !10, i64 48, !11, i64 56}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"_ZTSSt13unordered_mapIN3JPH6BodyIDENSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEESt4hashIS1_ESt8equal_toIS1_ESaISt4pairIKS1_S8_EEE", !12, i64 0}
!12 = !{!"_ZTSSt10_HashtableIN3JPH6BodyIDESt4pairIKS1_NSt7__cxx1112basic_stringIcSt11char_traitsIcENS0_12STLAllocatorIcEEEEESaISB_ENSt8__detail10_Select1stESt8equal_toIS1_ESt4hashIS1_ENSD_18_Mod_range_hashingENSD_20_Default_ranged_hashENSD_20_Prime_rehash_policyENSD_17_Hashtable_traitsILb1ELb0ELb1EEEE", !7, i64 0, !13, i64 8, !14, i64 16, !13, i64 24, !15, i64 32, !7, i64 48}
!13 = !{!"long", !8, i64 0}
!14 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !7, i64 0}
!15 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !16, i64 0, !13, i64 8}
!16 = !{!"float", !8, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"int", !8, i64 0}
!20 = !{!16, !16, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass