; LLVM IR from yangfengzzz/DigitalVox3 :: vox.geometry/surfaces (cylinder3)

; 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.vox::geometry::MatrixElemWiseBinaryOp" = type <{ ptr, ptr, [8 x i8] }>
%"class.vox::geometry::Matrix" = type { double, double, double }
%"class.vox::geometry::Matrix.4" = type { double, double }
%"class.vox::geometry::Box" = type { %"class.vox::geometry::Surface.base.10", %"class.vox::geometry::BoundingBox" }
%"class.vox::geometry::Surface.base.10" = type <{ ptr, %"class.vox::geometry::Transform.8", i8 }>
%"class.vox::geometry::Transform.8" = type { %"class.vox::geometry::Matrix.4", %"class.vox::geometry::Orientation.9" }
%"class.vox::geometry::Orientation.9" = type { double, double, double }
%"class.vox::geometry::BoundingBox" = type { %"class.vox::geometry::Matrix.4", %"class.vox::geometry::Matrix.4" }
%"class.vox::geometry::MatrixScalarElemWiseBinaryOp" = type <{ ptr, double, [8 x i8] }>
%"class.vox::geometry::Cylinder3" = type { %"class.vox::geometry::Surface.base", %"class.vox::geometry::Matrix", double, double }
%"class.vox::geometry::Surface.base" = type <{ ptr, %"class.vox::geometry::Transform", i8 }>
%"class.vox::geometry::Transform" = type { %"class.vox::geometry::Matrix", %"class.vox::geometry::Orientation" }
%"class.vox::geometry::Orientation" = type { %"class.vox::geometry::Quaternion", %"class.vox::geometry::Matrix.0", %"class.vox::geometry::Matrix.0" }
%"class.vox::geometry::Quaternion" = type { double, double, double, double }
%"class.vox::geometry::Matrix.0" = type { %"struct.std::array" }
%"struct.std::array" = type { [9 x double] }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox8geometrymiIdLm3ELm1ENS0_6MatrixIdLm3ELm1EEES3_EEDaRKNS0_16MatrixExpressionIT_XT0_EXT1_ET2_EERKNS4_IS5_XT0_EXT1_ET3_EE(ptr dead_on_unwind noalias writable sret(%"class.vox::geometry::MatrixElemWiseBinaryOp") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ILm3ELm1ENS0_22MatrixElemWiseBinaryOpIdLm3ELm1ERKS2_S6_St5minusIdEEEEERKNS0_16MatrixExpressionIdXT_EXT0_ET1_EE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind
declare double @sqrt(double noundef) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5

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

declare void @_ZN3vox8geometry3BoxILm2EEC1ERKNS0_6MatrixIdLm2ELm1EEES6_RKNS0_9TransformILm2EEEb(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(40), i1 noundef zeroext) unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3vox8geometry9Cylinder318closestNormalLocalERKNS0_6MatrixIdLm3ELm1EEE(ptr dead_on_unwind noalias writable sret(%"class.vox::geometry::Matrix") align 8 %0, ptr noundef nonnull align 8 dereferenceable(256) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.vox::geometry::Matrix", align 8
  %8 = alloca %"class.vox::geometry::MatrixElemWiseBinaryOp", align 8
  %9 = alloca %"class.vox::geometry::Matrix.4", align 8
  %10 = alloca double, align 8
  %11 = alloca %"class.vox::geometry::Box", align 8
  %12 = alloca %"class.vox::geometry::Matrix.4", align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca %"class.vox::geometry::Matrix.4", align 8
  %16 = alloca double, align 8
  %17 = alloca %"class.vox::geometry::Transform.8", align 8
  %18 = alloca %"class.vox::geometry::Matrix.4", align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca i32, align 4
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca %"class.vox::geometry::MatrixScalarElemWiseBinaryOp", align 8
  %29 = alloca %"class.vox::geometry::Matrix", align 8
  %30 = alloca double, align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %31 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #7
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = getelementptr inbounds %"class.vox::geometry::Cylinder3", ptr %31, i32 0, i32 1
  call void @_ZN3vox8geometrymiIdLm3ELm1ENS0_6MatrixIdLm3ELm1EEES3_EEDaRKNS0_16MatrixExpressionIT_XT0_EXT1_ET2_EERKNS4_IS5_XT0_EXT1_ET3_EE(ptr dead_on_unwind writable sret(%"class.vox::geometry::MatrixElemWiseBinaryOp") align 8 %8, ptr noundef nonnull align 1 dereferenceable(1) %32, ptr noundef nonnull align 1 dereferenceable(1) %33)
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ILm3ELm1ENS0_22MatrixElemWiseBinaryOpIdLm3ELm1ERKS2_S6_St5minusIdEEEEERKNS0_16MatrixExpressionIdXT_EXT0_ET1_EE(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 1 dereferenceable(1) %8)
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %34 = getelementptr inbounds %"class.vox::geometry::Matrix", ptr %7, i32 0, i32 0
  %35 = load double, ptr %34, align 8, !tbaa !9
  %36 = getelementptr inbounds %"class.vox::geometry::Matrix", ptr %7, i32 0, i32 0
  %37 = load double, ptr %36, align 8, !tbaa !9
  %38 = getelementptr inbounds %"class.vox::geometry::Matrix", ptr %7, i32 0, i32 2
  %39 = load double, ptr %38, align 8, !tbaa !12
  %40 = getelementptr inbounds %"class.vox::geometry::Matrix", ptr %7, i32 0, i32 2
  %41 = load double, ptr %40, align 8, !tbaa !12
  %42 = fmul double %39, %41
  %43 = call double @llvm.fmuladd.f64(double %35, double %37, double %42)
  %44 = call double @sqrt(double noundef %43) #7
  store double %44, ptr %10, align 8, !tbaa !13
  %45 = getelementptr inbounds %"class.vox::geometry::Matrix", ptr %7, i32 0, i32 1
  call void @_ZN3vox8geometry6MatrixIdLm2ELm1EEC2ERKdS4_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %45)
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 88, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %46 = getelementptr inbounds %"class.vox::geometry::Cylinder3", ptr %31, i32 0, i32 2
  %47 = load double, ptr %46, align 8, !tbaa !14
  %48 = fneg double %47
  store double %48, ptr %13, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %49 = getelementptr inbounds %"class.vox::geometry::Cylinder3", ptr %31, i32 0, i32 3
  %50 = load double, ptr %49, align 8, !tbaa !23
  %51 = fmul double -5.000000e-01, %50
  store double %51, ptr %14, align 8, !tbaa !13
  call void @_ZN3vox8geometry6MatrixIdLm2ELm1EEC2ERKdS4_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #7
  %52 = getelementptr inbounds %"class.vox::geometry::Cylinder3", ptr %31, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %53 = getelementptr inbounds %"class.vox::geometry::Cylinder3", ptr %31, i32 0, i32 3
  %54 = load double, ptr %53, align 8, !tbaa !23
  %55 = fmul double 5.000000e-01, %54
  store double %55, ptr %16, align 8, !tbaa !13
  call void @_ZN3vox8geometry6MatrixIdLm2ELm1EEC2ERKdS4_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(8) %16)
  call void @llvm.lifetime.start.p0(i64 40, ptr %17) #7
  call void @llvm.memset.p0.i64(ptr align 8 %17, i8 0, i64 40, i1 false)
  call void @_ZN3vox8geometry9TransformILm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17)
  call void @_ZN3vox8geometry3BoxILm2EEC1ERKNS0_6MatrixIdLm2ELm1EEES6_RKNS0_9TransformILm2EEEb(ptr noundef nonnull align 8 dereferenceable(88) %11, ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(40) %17, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #7
  invoke void @_ZNK3vox8geometry7SurfaceILm2EE13closestNormalERKNS0_6MatrixIdLm2ELm1EEE(ptr dead_on_unwind writable sret(%"class.vox::geometry::Matrix.4") align 8 %18, ptr noundef nonnull align 8 dereferenceable(49) %11, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %56 unwind label %62

56:                                               ; preds = %3
  %57 = getelementptr inbounds %"class.vox::geometry::Matrix.4", ptr %18, i32 0, i32 1
  %58 = load double, ptr %57, align 8, !tbaa !24
  %59 = fcmp ogt double %58, 0.000000e+00
  br i1 %59, label %60, label %70

60:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  store double 0.000000e+00, ptr %21, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  store double 1.000000e+00, ptr %22, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  store double 0.000000e+00, ptr %23, align 8, !tbaa !13
  invoke void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKdS4_S4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23)
          to label %61 unwind label %66

61:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  store i32 1, ptr %24, align 4
  br label %90

62:                                               ; preds = %3
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %19, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %20, align 4
  br label %91

66:                                               ; preds = %60
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %19, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %91

70:                                               ; preds = %56
  %71 = getelementptr inbounds %"class.vox::geometry::Matrix.4", ptr %18, i32 0, i32 1
  %72 = load double, ptr %71, align 8, !tbaa !24
  %73 = fcmp olt double %72, 0.000000e+00
  br i1 %73, label %74, label %80

74:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  store double 0.000000e+00, ptr %25, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  store double -1.000000e+00, ptr %26, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  store double 0.000000e+00, ptr %27, align 8, !tbaa !13
  invoke void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKdS4_S4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %75 unwind label %76

75:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  store i32 1, ptr %24, align 4
  br label %90

76:                                               ; preds = %74
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %19, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %91

80:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #7
  %81 = getelementptr inbounds %"class.vox::geometry::Matrix", ptr %7, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  store double 0.000000e+00, ptr %30, align 8, !tbaa !13
  %82 = getelementptr inbounds %"class.vox::geometry::Matrix", ptr %7, i32 0, i32 2
  invoke void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKdS4_S4_(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %82)
          to label %83 unwind label %86

83:                                               ; preds = %80
  invoke void @_ZNK3vox8geometry16MatrixExpressionIdLm3ELm1ENS0_6MatrixIdLm3ELm1EEEE10normalizedEv(ptr dead_on_unwind writable sret(%"class.vox::geometry::MatrixScalarElemWiseBinaryOp") align 8 %28, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %84 unwind label %86

84:                                               ; preds = %83
  invoke void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ILm3ELm1ENS0_28MatrixScalarElemWiseBinaryOpIdLm3ELm1ERKS2_St7dividesIdEEEEERKNS0_16MatrixExpressionIdXT_EXT0_ET1_EE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %85 unwind label %86

85:                                               ; preds = %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #7
  store i32 1, ptr %24, align 4
  br label %90

86:                                               ; preds = %84, %83, %80
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %19, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #7
  br label %91

90:                                               ; preds = %85, %75, %61
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  call void @_ZN3vox8geometry7SurfaceILm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %11) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  ret void

91:                                               ; preds = %86, %76, %66, %62
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  call void @_ZN3vox8geometry7SurfaceILm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %11) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  br label %92

92:                                               ; preds = %91
  %93 = load ptr, ptr %19, align 8
  %94 = load i32, ptr %20, align 4
  %95 = insertvalue { ptr, i32 } poison, ptr %93, 0
  %96 = insertvalue { ptr, i32 } %95, i32 %94, 1
  resume { ptr, i32 } %96
}

declare void @_ZNK3vox8geometry7SurfaceILm2EE13closestNormalERKNS0_6MatrixIdLm2ELm1EEE(ptr dead_on_unwind writable sret(%"class.vox::geometry::Matrix.4") align 8, ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(16)) #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3vox8geometry16MatrixExpressionIdLm3ELm1ENS0_6MatrixIdLm3ELm1EEEE10normalizedEv(ptr dead_on_unwind noalias writable sret(%"class.vox::geometry::MatrixScalarElemWiseBinaryOp") align 8, ptr noundef nonnull align 1 dereferenceable(1)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ILm3ELm1ENS0_28MatrixScalarElemWiseBinaryOpIdLm3ELm1ERKS2_St7dividesIdEEEEERKNS0_16MatrixExpressionIdXT_EXT0_ET1_EE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #6 = { "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, !11, i64 0}
!10 = !{!"_ZTSN3vox8geometry6MatrixIdLm3ELm1EEE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"double", !7, i64 0}
!12 = !{!10, !11, i64 16}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !11, i64 240}
!15 = !{!"_ZTSN3vox8geometry9Cylinder3E", !16, i64 0, !10, i64 216, !11, i64 240, !11, i64 248}
!16 = !{!"_ZTSN3vox8geometry7SurfaceILm3EEE", !17, i64 8, !22, i64 208}
!17 = !{!"_ZTSN3vox8geometry9TransformILm3EEE", !10, i64 0, !18, i64 24}
!18 = !{!"_ZTSN3vox8geometry11OrientationILm3EEE", !19, i64 0, !20, i64 32, !20, i64 104}
!19 = !{!"_ZTSN3vox8geometry10QuaternionIdEE", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!20 = !{!"_ZTSN3vox8geometry6MatrixIdLm3ELm3EEE", !21, i64 0}
!21 = !{!"_ZTSSt5arrayIdLm9EE", !7, i64 0}
!22 = !{!"bool", !7, i64 0}
!23 = !{!15, !11, i64 248}
!24 = !{!25, !11, i64 8}
!25 = !{!"_ZTSN3vox8geometry6MatrixIdLm2ELm1EEE", !11, i64 0, !11, i64 8}


; 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.vox::geometry::MatrixElemWiseBinaryOp" = type <{ ptr, ptr, [8 x i8] }>
%"class.vox::geometry::Matrix" = type { double, double, double }
%"class.vox::geometry::Matrix.4" = type { double, double }
%"class.vox::geometry::Box" = type { %"class.vox::geometry::Surface.base.10", %"class.vox::geometry::BoundingBox" }
%"class.vox::geometry::Surface.base.10" = type <{ ptr, %"class.vox::geometry::Transform.8", i8 }>
%"class.vox::geometry::Transform.8" = type { %"class.vox::geometry::Matrix.4", %"class.vox::geometry::Orientation.9" }
%"class.vox::geometry::Orientation.9" = type { double, double, double }
%"class.vox::geometry::BoundingBox" = type { %"class.vox::geometry::Matrix.4", %"class.vox::geometry::Matrix.4" }
%"class.vox::geometry::MatrixScalarElemWiseBinaryOp" = type <{ ptr, double, [8 x i8] }>

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox8geometrymiIdLm3ELm1ENS0_6MatrixIdLm3ELm1EEES3_EEDaRKNS0_16MatrixExpressionIT_XT0_EXT1_ET2_EERKNS4_IS5_XT0_EXT1_ET3_EE(ptr dead_on_unwind noalias writable sret(%"class.vox::geometry::MatrixElemWiseBinaryOp") align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ILm3ELm1ENS0_22MatrixElemWiseBinaryOpIdLm3ELm1ERKS2_S6_St5minusIdEEEEERKNS0_16MatrixExpressionIdXT_EXT0_ET1_EE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; 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 nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

declare void @_ZN3vox8geometry3BoxILm2EEC1ERKNS0_6MatrixIdLm2ELm1EEES6_RKNS0_9TransformILm2EEEb(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(40), i1 noundef zeroext) unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKdS4_S4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3vox8geometry7SurfaceILm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(49)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3vox8geometry9Cylinder318closestNormalLocalERKNS0_6MatrixIdLm3ELm1EEE(ptr dead_on_unwind noalias writable sret(%"class.vox::geometry::Matrix") align 8 %0, ptr noundef nonnull align 8 dereferenceable(256) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.vox::geometry::Matrix", align 8
  %5 = alloca %"class.vox::geometry::MatrixElemWiseBinaryOp", align 8
  %6 = alloca %"class.vox::geometry::Matrix.4", align 8
  %7 = alloca double, align 8
  %8 = alloca %"class.vox::geometry::Box", align 8
  %9 = alloca %"class.vox::geometry::Matrix.4", align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca %"class.vox::geometry::Matrix.4", align 8
  %13 = alloca double, align 8
  %14 = alloca %"class.vox::geometry::Transform.8", align 8
  %15 = alloca %"class.vox::geometry::Matrix.4", align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca %"class.vox::geometry::MatrixScalarElemWiseBinaryOp", align 8
  %23 = alloca %"class.vox::geometry::Matrix", align 8
  %24 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  %25 = getelementptr inbounds i8, ptr %1, i64 216
  call void @_ZN3vox8geometrymiIdLm3ELm1ENS0_6MatrixIdLm3ELm1EEES3_EEDaRKNS0_16MatrixExpressionIT_XT0_EXT1_ET2_EERKNS4_IS5_XT0_EXT1_ET3_EE(ptr dead_on_unwind nonnull writable sret(%"class.vox::geometry::MatrixElemWiseBinaryOp") align 8 %5, ptr noundef nonnull align 1 dereferenceable(1) %2, ptr noundef nonnull align 1 dereferenceable(1) %25)
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ILm3ELm1ENS0_22MatrixElemWiseBinaryOpIdLm3ELm1ERKS2_S6_St5minusIdEEEEERKNS0_16MatrixExpressionIdXT_EXT0_ET1_EE(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 1 dereferenceable(1) %5)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %26 = load double, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %4, i64 16
  %28 = load double, ptr %27, align 8, !tbaa !10
  %29 = fmul double %28, %28
  %30 = call double @llvm.fmuladd.f64(double %26, double %26, double %29)
  %sqrt = call double @llvm.sqrt.f64(double %30)
  store double %sqrt, ptr %7, align 8, !tbaa !11
  %31 = getelementptr inbounds i8, ptr %4, i64 8
  call void @_ZN3vox8geometry6MatrixIdLm2ELm1EEC2ERKdS4_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %31)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #7
  %32 = getelementptr inbounds i8, ptr %1, i64 240
  %33 = load double, ptr %32, align 8, !tbaa !12
  %34 = fneg double %33
  store double %34, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %35 = getelementptr inbounds i8, ptr %1, i64 248
  %36 = load double, ptr %35, align 8, !tbaa !21
  %37 = fmul double %36, -5.000000e-01
  store double %37, ptr %11, align 8, !tbaa !11
  call void @_ZN3vox8geometry6MatrixIdLm2ELm1EEC2ERKdS4_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %38 = load double, ptr %35, align 8, !tbaa !21
  %39 = fmul double %38, 5.000000e-01
  store double %39, ptr %13, align 8, !tbaa !11
  call void @_ZN3vox8geometry6MatrixIdLm2ELm1EEC2ERKdS4_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #7
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %14, i8 0, i64 40, i1 false)
  call void @_ZN3vox8geometry9TransformILm2EEC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14)
  call void @_ZN3vox8geometry3BoxILm2EEC1ERKNS0_6MatrixIdLm2ELm1EEES6_RKNS0_9TransformILm2EEEb(ptr noundef nonnull align 8 dereferenceable(88) %8, ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(40) %14, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  invoke void @_ZNK3vox8geometry7SurfaceILm2EE13closestNormalERKNS0_6MatrixIdLm2ELm1EEE(ptr dead_on_unwind nonnull writable sret(%"class.vox::geometry::Matrix.4") align 8 %15, ptr noundef nonnull align 8 dereferenceable(49) %8, ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %40 unwind label %45

40:                                               ; preds = %3
  %41 = getelementptr inbounds i8, ptr %15, i64 8
  %42 = load double, ptr %41, align 8, !tbaa !22
  %43 = fcmp ogt double %42, 0.000000e+00
  br i1 %43, label %44, label %47

44:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #7
  store double 0.000000e+00, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  store double 1.000000e+00, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  store double 0.000000e+00, ptr %18, align 8, !tbaa !11
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKdS4_S4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #7
  br label %55

45:                                               ; preds = %3
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %56

47:                                               ; preds = %40
  %48 = fcmp olt double %42, 0.000000e+00
  br i1 %48, label %49, label %50

49:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  store double 0.000000e+00, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  store double -1.000000e+00, ptr %20, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  store double 0.000000e+00, ptr %21, align 8, !tbaa !11
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKdS4_S4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  br label %55

50:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #7
  store double 0.000000e+00, ptr %24, align 8, !tbaa !11
  call void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ERKdS4_S4_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %27)
  invoke void @_ZNK3vox8geometry16MatrixExpressionIdLm3ELm1ENS0_6MatrixIdLm3ELm1EEEE10normalizedEv(ptr dead_on_unwind nonnull writable sret(%"class.vox::geometry::MatrixScalarElemWiseBinaryOp") align 8 %22, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %51 unwind label %53

51:                                               ; preds = %50
  invoke void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ILm3ELm1ENS0_28MatrixScalarElemWiseBinaryOpIdLm3ELm1ERKS2_St7dividesIdEEEEERKNS0_16MatrixExpressionIdXT_EXT0_ET1_EE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %52 unwind label %53

52:                                               ; preds = %51
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #7
  br label %55

53:                                               ; preds = %51, %50
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #7
  br label %56

55:                                               ; preds = %52, %49, %44
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  call void @_ZN3vox8geometry7SurfaceILm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %8) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  ret void

56:                                               ; preds = %53, %45
  %.pn = phi { ptr, i32 } [ %54, %53 ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  call void @_ZN3vox8geometry7SurfaceILm2EED2Ev(ptr noundef nonnull align 8 dereferenceable(88) %8) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn
}

declare void @_ZNK3vox8geometry7SurfaceILm2EE13closestNormalERKNS0_6MatrixIdLm2ELm1EEE(ptr dead_on_unwind writable sret(%"class.vox::geometry::Matrix.4") align 8, ptr noundef nonnull align 8 dereferenceable(49), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3vox8geometry16MatrixExpressionIdLm3ELm1ENS0_6MatrixIdLm3ELm1EEEE10normalizedEv(ptr dead_on_unwind noalias writable sret(%"class.vox::geometry::MatrixScalarElemWiseBinaryOp") align 8, ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3vox8geometry6MatrixIdLm3ELm1EEC2ILm3ELm1ENS0_28MatrixScalarElemWiseBinaryOpIdLm3ELm1ERKS2_St7dividesIdEEEEERKNS0_16MatrixExpressionIdXT_EXT0_ET1_EE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.sqrt.f64(double) #6

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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN3vox8geometry6MatrixIdLm3ELm1EEE", !7, i64 0, !7, i64 8, !7, i64 16}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 16}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !7, i64 240}
!13 = !{!"_ZTSN3vox8geometry9Cylinder3E", !14, i64 0, !6, i64 216, !7, i64 240, !7, i64 248}
!14 = !{!"_ZTSN3vox8geometry7SurfaceILm3EEE", !15, i64 8, !20, i64 208}
!15 = !{!"_ZTSN3vox8geometry9TransformILm3EEE", !6, i64 0, !16, i64 24}
!16 = !{!"_ZTSN3vox8geometry11OrientationILm3EEE", !17, i64 0, !18, i64 32, !18, i64 104}
!17 = !{!"_ZTSN3vox8geometry10QuaternionIdEE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!18 = !{!"_ZTSN3vox8geometry6MatrixIdLm3ELm3EEE", !19, i64 0}
!19 = !{!"_ZTSSt5arrayIdLm9EE", !8, i64 0}
!20 = !{!"bool", !8, i64 0}
!21 = !{!13, !7, i64 248}
!22 = !{!23, !7, i64 8}
!23 = !{!"_ZTSN3vox8geometry6MatrixIdLm2ELm1EEE", !7, i64 0, !7, i64 8}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass