; LLVM IR from Slingshot-Physics/slingshot-community :: common/geometry/src (shape_features)

; 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.Vector3 = type { [3 x float] }
%class.Matrix33 = type { [9 x float] }
%"struct.geometry::types::polyhedronFeature_t" = type { %"struct.geometry::types::polygon50_t", %class.Vector3 }
%"struct.geometry::types::polygon50_t" = type { i32, [50 x %class.Vector3] }
%"struct.geometry::types::isometricTransform_t" = type { %class.Matrix33, %class.Vector3 }
%"struct.geometry::types::plane_t" = type { %class.Vector3, %class.Vector3 }
%"struct.geometry::types::shapeCylinder_t" = type { float, float }

; 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 @_ZNK8Matrix33mlERK7Vector3(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8Matrix339transposeEv(ptr dead_on_unwind noalias writable sret(%class.Matrix33) align 4, ptr noundef nonnull align 4 dereferenceable(36)) #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: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8geometry5types19polyhedronFeature_tC2Ev(ptr noundef nonnull align 4 dereferenceable(616)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector39NormalizeEv(ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Vector3miERKS_(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Vector310unitVectorEv(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Vector3plERKS_(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Vector3mlERKf(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4)) #1 align 2

; Function Attrs: nounwind
declare float @cosf(float noundef) #5

; Function Attrs: nounwind
declare float @sinf(float noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3mLERKf(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

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

declare void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(12)) #6

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8geometry19mostParallelFeatureERKNS_5types20isometricTransform_tERKNS0_15shapeCylinder_tERKNS0_7plane_tE(ptr dead_on_unwind noalias writable sret(%"struct.geometry::types::polyhedronFeature_t") align 4 %0, ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(24) %3) #1 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %class.Vector3, align 4
  %10 = alloca %class.Matrix33, align 4
  %11 = alloca %class.Vector3, align 4
  %12 = alloca %class.Vector3, align 4
  %13 = alloca %class.Vector3, align 4
  %14 = alloca %class.Vector3, align 4
  %15 = alloca %class.Vector3, align 4
  %16 = alloca %class.Matrix33, align 4
  %17 = alloca %class.Vector3, align 4
  %18 = alloca %class.Vector3, align 4
  %19 = alloca %class.Vector3, align 4
  %20 = alloca %class.Vector3, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca %class.Vector3, align 4
  %25 = alloca %class.Vector3, align 4
  %26 = alloca %class.Vector3, align 4
  %27 = alloca %class.Vector3, align 4
  %28 = alloca %class.Vector3, align 4
  %29 = alloca %class.Vector3, align 4
  %30 = alloca i32, align 4
  %31 = alloca %class.Vector3, align 4
  %32 = alloca %class.Vector3, align 4
  %33 = alloca float, align 4
  store ptr %0, ptr %5, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 36, ptr %10) #7
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %"struct.geometry::types::isometricTransform_t", ptr %34, i32 0, i32 0
  call void @_ZNK8Matrix339transposeEv(ptr dead_on_unwind writable sret(%class.Matrix33) align 4 %10, ptr noundef nonnull align 4 dereferenceable(36) %35)
  %36 = load ptr, ptr %8, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.geometry::types::plane_t", ptr %36, i32 0, i32 1
  call void @_ZNK8Matrix33mlERK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %9, ptr noundef nonnull align 4 dereferenceable(36) %10, ptr noundef nonnull align 4 dereferenceable(12) %37)
  call void @llvm.lifetime.end.p0(i64 36, ptr %10) #7
  %38 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector39NormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %9)
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #7
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.geometry::types::shapeCylinder_t", ptr %39, i32 0, i32 1
  %41 = load float, ptr %40, align 4, !tbaa !9
  %42 = fneg float %41
  %43 = fdiv float %42, 2.000000e+00
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %11, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %43)
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #7
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.geometry::types::shapeCylinder_t", ptr %44, i32 0, i32 1
  %46 = load float, ptr %45, align 4, !tbaa !9
  %47 = fdiv float %46, 2.000000e+00
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %12, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %47)
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #7
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %13, ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(12) %11)
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %15) #7
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %15, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %9)
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %14, ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %13)
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 36, ptr %16) #7
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.geometry::types::isometricTransform_t", ptr %48, i32 0, i32 0
  call void @_ZN8Matrix33C2ERKS_(ptr noundef nonnull align 4 dereferenceable(36) %16, ptr noundef nonnull align 4 dereferenceable(36) %49)
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #7
  call void @_ZNK7Vector310unitVectorEv(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %17, ptr noundef nonnull align 4 dereferenceable(12) %14)
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #7
  call void @_ZNK8Matrix33mlERK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %18, ptr noundef nonnull align 4 dereferenceable(36) %16, ptr noundef nonnull align 4 dereferenceable(12) %17)
  %50 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector39NormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %18)
  call void @llvm.lifetime.start.p0(i64 12, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %20) #7
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %20, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @_ZNK8Matrix33mlERK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %19, ptr noundef nonnull align 4 dereferenceable(36) %16, ptr noundef nonnull align 4 dereferenceable(12) %20)
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #7
  %51 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector39NormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %19)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.geometry::types::plane_t", ptr %52, i32 0, i32 1
  %54 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %53)
  store float %54, ptr %21, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.geometry::types::plane_t", ptr %55, i32 0, i32 1
  %57 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %19, ptr noundef nonnull align 4 dereferenceable(12) %56)
  store float %57, ptr %22, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %58 = load float, ptr %22, align 4, !tbaa !12
  %59 = fmul float -1.000000e+00, %58
  store float %59, ptr %23, align 4, !tbaa !12
  call void @_ZN8geometry5types19polyhedronFeature_tC2Ev(ptr noundef nonnull align 4 dereferenceable(616) %0)
  %60 = load float, ptr %21, align 4, !tbaa !12
  %61 = fpext float %60 to double
  %62 = load float, ptr %22, align 4, !tbaa !12
  %63 = fpext float %62 to double
  %64 = call double @llvm.fabs.f64(double %63)
  %65 = fcmp ogt double %61, %64
  br i1 %65, label %66, label %85

66:                                               ; preds = %4
  %67 = getelementptr inbounds %"struct.geometry::types::polyhedronFeature_t", ptr %0, i32 0, i32 0
  %68 = getelementptr inbounds %"struct.geometry::types::polygon50_t", ptr %67, i32 0, i32 0
  store i32 2, ptr %68, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 12, ptr %24) #7
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %26) #7
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.geometry::types::shapeCylinder_t", ptr %70, i32 0, i32 0
  call void @_ZNK7Vector3mlERKf(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %26, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(4) %71)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %25, ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(12) %26)
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %24, ptr noundef nonnull align 4 dereferenceable(48) %69, ptr noundef nonnull align 4 dereferenceable(12) %25)
  %72 = getelementptr inbounds %"struct.geometry::types::polyhedronFeature_t", ptr %0, i32 0, i32 0
  %73 = getelementptr inbounds %"struct.geometry::types::polygon50_t", ptr %72, i32 0, i32 1
  %74 = getelementptr inbounds [50 x %class.Vector3], ptr %73, i64 0, i64 0
  %75 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %74, ptr noundef nonnull align 4 dereferenceable(12) %24)
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %27) #7
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %29) #7
  %77 = load ptr, ptr %7, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.geometry::types::shapeCylinder_t", ptr %77, i32 0, i32 0
  call void @_ZNK7Vector3mlERKf(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %29, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(4) %78)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %28, ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(12) %29)
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %27, ptr noundef nonnull align 4 dereferenceable(48) %76, ptr noundef nonnull align 4 dereferenceable(12) %28)
  %79 = getelementptr inbounds %"struct.geometry::types::polyhedronFeature_t", ptr %0, i32 0, i32 0
  %80 = getelementptr inbounds %"struct.geometry::types::polygon50_t", ptr %79, i32 0, i32 1
  %81 = getelementptr inbounds [50 x %class.Vector3], ptr %80, i64 0, i64 1
  %82 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %81, ptr noundef nonnull align 4 dereferenceable(12) %27)
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %27) #7
  %83 = getelementptr inbounds %"struct.geometry::types::polyhedronFeature_t", ptr %0, i32 0, i32 1
  %84 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %83, ptr noundef nonnull align 4 dereferenceable(12) %18)
  br label %145

85:                                               ; preds = %4
  %86 = getelementptr inbounds %"struct.geometry::types::polyhedronFeature_t", ptr %0, i32 0, i32 0
  %87 = getelementptr inbounds %"struct.geometry::types::polygon50_t", ptr %86, i32 0, i32 0
  store i32 6, ptr %87, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  store i32 0, ptr %30, align 4, !tbaa !18
  br label %88

88:                                               ; preds = %132, %85
  %89 = load i32, ptr %30, align 4, !tbaa !18
  %90 = icmp slt i32 %89, 6
  br i1 %90, label %92, label %91

91:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  br label %135

92:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 12, ptr %31) #7
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = getelementptr inbounds %"struct.geometry::types::shapeCylinder_t", ptr %93, i32 0, i32 0
  %95 = load float, ptr %94, align 4, !tbaa !19
  %96 = load i32, ptr %30, align 4, !tbaa !18
  %97 = mul nsw i32 2, %96
  %98 = sitofp i32 %97 to double
  %99 = fmul double %98, 0x400921FB54442D18
  %100 = fdiv double %99, 6.000000e+00
  %101 = fptrunc double %100 to float
  %102 = call float @cosf(float noundef %101) #7
  %103 = fmul float %95, %102
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = getelementptr inbounds %"struct.geometry::types::shapeCylinder_t", ptr %104, i32 0, i32 0
  %106 = load float, ptr %105, align 4, !tbaa !19
  %107 = load i32, ptr %30, align 4, !tbaa !18
  %108 = mul nsw i32 2, %107
  %109 = sitofp i32 %108 to double
  %110 = fmul double %109, 0x400921FB54442D18
  %111 = fdiv double %110, 6.000000e+00
  %112 = fptrunc double %111 to float
  %113 = call float @sinf(float noundef %112) #7
  %114 = fmul float %106, %113
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.geometry::types::shapeCylinder_t", ptr %115, i32 0, i32 1
  %117 = load float, ptr %116, align 4, !tbaa !9
  %118 = fdiv float %117, 2.000000e+00
  %119 = load float, ptr %22, align 4, !tbaa !12
  %120 = load float, ptr %23, align 4, !tbaa !12
  %121 = fcmp ogt float %119, %120
  %122 = zext i1 %121 to i64
  %123 = select i1 %121, float 1.000000e+00, float -1.000000e+00
  %124 = fmul float %118, %123
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %31, float noundef %103, float noundef %114, float noundef %124)
  call void @llvm.lifetime.start.p0(i64 12, ptr %32) #7
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %32, ptr noundef nonnull align 4 dereferenceable(48) %125, ptr noundef nonnull align 4 dereferenceable(12) %31)
  %126 = getelementptr inbounds %"struct.geometry::types::polyhedronFeature_t", ptr %0, i32 0, i32 0
  %127 = getelementptr inbounds %"struct.geometry::types::polygon50_t", ptr %126, i32 0, i32 1
  %128 = load i32, ptr %30, align 4, !tbaa !18
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [50 x %class.Vector3], ptr %127, i64 0, i64 %129
  %131 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %130, ptr noundef nonnull align 4 dereferenceable(12) %32)
  call void @llvm.lifetime.end.p0(i64 12, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %31) #7
  br label %132

132:                                              ; preds = %92
  %133 = load i32, ptr %30, align 4, !tbaa !18
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %30, align 4, !tbaa !18
  br label %88, !llvm.loop !20

135:                                              ; preds = %91
  %136 = getelementptr inbounds %"struct.geometry::types::polyhedronFeature_t", ptr %0, i32 0, i32 1
  %137 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %136, ptr noundef nonnull align 4 dereferenceable(12) %19)
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #7
  %138 = load float, ptr %22, align 4, !tbaa !12
  %139 = load float, ptr %23, align 4, !tbaa !12
  %140 = fcmp ogt float %138, %139
  %141 = zext i1 %140 to i64
  %142 = select i1 %140, float 1.000000e+00, float -1.000000e+00
  store float %142, ptr %33, align 4, !tbaa !12
  %143 = getelementptr inbounds %"struct.geometry::types::polyhedronFeature_t", ptr %0, i32 0, i32 1
  %144 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3mLERKf(ptr noundef nonnull align 4 dereferenceable(12) %143, ptr noundef nonnull align 4 dereferenceable(4) %33)
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #7
  br label %145

145:                                              ; preds = %135, %66
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 36, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %9) #7
  ret void
}

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 = { 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 #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #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 4}
!10 = !{!"_ZTSN8geometry5types15shapeCylinder_tE", !11, i64 0, !11, i64 4}
!11 = !{!"float", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !16, i64 0}
!14 = !{!"_ZTSN8geometry5types19polyhedronFeature_tE", !15, i64 0, !17, i64 604}
!15 = !{!"_ZTSN8geometry5types11polygon50_tE", !16, i64 0, !7, i64 4}
!16 = !{!"int", !7, i64 0}
!17 = !{!"_ZTS7Vector3", !7, i64 0}
!18 = !{!16, !16, i64 0}
!19 = !{!10, !11, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"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.Vector3 = type { [3 x float] }
%class.Matrix33 = type { [9 x float] }
%"struct.geometry::types::polyhedronFeature_t" = type { %"struct.geometry::types::polygon50_t", %class.Vector3 }
%"struct.geometry::types::polygon50_t" = type { i32, [50 x %class.Vector3] }

; 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 @_ZNK8Matrix33mlERK7Vector3(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8Matrix339transposeEv(ptr dead_on_unwind noalias writable sret(%class.Matrix33) align 4, ptr noundef nonnull align 4 dereferenceable(36)) local_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 nounwind uwtable
declare dso_local noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8geometry5types19polyhedronFeature_tC2Ev(ptr noundef nonnull align 4 dereferenceable(616)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector39NormalizeEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Vector3miERKS_(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Vector310unitVectorEv(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Vector3plERKS_(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7Vector3mlERKf(ptr dead_on_unwind noalias writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3mLERKf(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

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

declare void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8geometry19mostParallelFeatureERKNS_5types20isometricTransform_tERKNS0_15shapeCylinder_tERKNS0_7plane_tE(ptr dead_on_unwind noalias writable sret(%"struct.geometry::types::polyhedronFeature_t") align 4 %0, ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(24) %3) local_unnamed_addr #1 {
  %5 = alloca %class.Vector3, align 4
  %6 = alloca %class.Matrix33, align 4
  %7 = alloca %class.Vector3, align 4
  %8 = alloca %class.Vector3, align 4
  %9 = alloca %class.Vector3, align 4
  %10 = alloca %class.Vector3, align 4
  %11 = alloca %class.Vector3, align 4
  %12 = alloca %class.Matrix33, align 4
  %13 = alloca %class.Vector3, align 4
  %14 = alloca %class.Vector3, align 4
  %15 = alloca %class.Vector3, align 4
  %16 = alloca %class.Vector3, align 4
  %17 = alloca %class.Vector3, align 4
  %18 = alloca %class.Vector3, align 4
  %19 = alloca %class.Vector3, align 4
  %20 = alloca %class.Vector3, align 4
  %21 = alloca %class.Vector3, align 4
  %22 = alloca %class.Vector3, align 4
  %23 = alloca %class.Vector3, align 4
  %24 = alloca %class.Vector3, align 4
  %25 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %6) #6
  call void @_ZNK8Matrix339transposeEv(ptr dead_on_unwind nonnull writable sret(%class.Matrix33) align 4 %6, ptr noundef nonnull align 4 dereferenceable(36) %1)
  %26 = getelementptr inbounds i8, ptr %3, i64 12
  call void @_ZNK8Matrix33mlERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %5, ptr noundef nonnull align 4 dereferenceable(36) %6, ptr noundef nonnull align 4 dereferenceable(12) %26)
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %6) #6
  %27 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector39NormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %5)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #6
  %28 = getelementptr inbounds i8, ptr %2, i64 4
  %29 = load float, ptr %28, align 4, !tbaa !5
  %30 = fmul float %29, -5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %7, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %30)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #6
  %31 = load float, ptr %28, align 4, !tbaa !5
  %32 = fmul float %31, 5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %8, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %32)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #6
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %9, ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %7)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #6
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %11, ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %5)
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %10, ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(12) %9)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %12) #6
  call void @_ZN8Matrix33C2ERKS_(ptr noundef nonnull align 4 dereferenceable(36) %12, ptr noundef nonnull align 4 dereferenceable(36) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %13) #6
  call void @_ZNK7Vector310unitVectorEv(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %13, ptr noundef nonnull align 4 dereferenceable(12) %10)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %14) #6
  call void @_ZNK8Matrix33mlERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %14, ptr noundef nonnull align 4 dereferenceable(36) %12, ptr noundef nonnull align 4 dereferenceable(12) %13)
  %33 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector39NormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %14)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %16) #6
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %16, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00)
  call void @_ZNK8Matrix33mlERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %15, ptr noundef nonnull align 4 dereferenceable(36) %12, ptr noundef nonnull align 4 dereferenceable(12) %16)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #6
  %34 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector39NormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %15)
  %35 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %26)
  %36 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %26)
  call void @_ZN8geometry5types19polyhedronFeature_tC2Ev(ptr noundef nonnull align 4 dereferenceable(616) %0)
  %37 = call float @llvm.fabs.f32(float %36)
  %38 = fcmp ogt float %35, %37
  br i1 %38, label %39, label %46

39:                                               ; preds = %4
  store i32 2, ptr %0, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %19) #6
  call void @_ZNK7Vector3mlERKf(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %19, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %18, ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %19)
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %17, ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(12) %18)
  %40 = getelementptr inbounds i8, ptr %0, i64 4
  %41 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %40, ptr noundef nonnull align 4 dereferenceable(12) %17)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %18) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %21) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %22) #6
  call void @_ZNK7Vector3mlERKf(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %22, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %21, ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %22)
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %20, ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(12) %21)
  %42 = getelementptr inbounds i8, ptr %0, i64 16
  %43 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %42, ptr noundef nonnull align 4 dereferenceable(12) %20)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %22) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #6
  %44 = getelementptr inbounds i8, ptr %0, i64 604
  %45 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %44, ptr noundef nonnull align 4 dereferenceable(12) %14)
  br label %129

46:                                               ; preds = %4
  store i32 6, ptr %0, align 4, !tbaa !10
  %47 = fcmp ogt float %36, 0.000000e+00
  %48 = getelementptr inbounds i8, ptr %0, i64 4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #6
  %49 = load float, ptr %2, align 4, !tbaa !15
  %50 = fmul float %49, 0.000000e+00
  %51 = load float, ptr %28, align 4, !tbaa !5
  %52 = getelementptr inbounds i8, ptr %0, i64 16
  br i1 %47, label %.split.us.preheader, label %.split.preheader

.split.preheader:                                 ; preds = %46
  %53 = fmul float %51, -5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %23, float noundef %49, float noundef %50, float noundef %53)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %24, ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(12) %23)
  %54 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %48, ptr noundef nonnull align 4 dereferenceable(12) %24)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #6
  %55 = load float, ptr %2, align 4, !tbaa !15
  %56 = fmul float %55, 0x3FDFFFFFE0000000
  %57 = fmul float %55, 0x3FEBB67B00000000
  %58 = load float, ptr %28, align 4, !tbaa !5
  %59 = fmul float %58, -5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %23, float noundef %56, float noundef %57, float noundef %59)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %24, ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(12) %23)
  %60 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %52, ptr noundef nonnull align 4 dereferenceable(12) %24)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #6
  %61 = load float, ptr %2, align 4, !tbaa !15
  %62 = fmul float %61, 0xBFE0000020000000
  %63 = fmul float %61, 0x3FEBB67AE0000000
  %64 = load float, ptr %28, align 4, !tbaa !5
  %65 = fmul float %64, -5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %23, float noundef %62, float noundef %63, float noundef %65)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %24, ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(12) %23)
  %66 = getelementptr inbounds i8, ptr %0, i64 28
  %67 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %66, ptr noundef nonnull align 4 dereferenceable(12) %24)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #6
  %68 = load float, ptr %2, align 4, !tbaa !15
  %69 = fneg float %68
  %70 = fmul float %68, 0xBE7777A5C0000000
  %71 = load float, ptr %28, align 4, !tbaa !5
  %72 = fmul float %71, -5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %23, float noundef %69, float noundef %70, float noundef %72)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %24, ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(12) %23)
  %73 = getelementptr inbounds i8, ptr %0, i64 40
  %74 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %73, ptr noundef nonnull align 4 dereferenceable(12) %24)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #6
  %75 = load float, ptr %2, align 4, !tbaa !15
  %76 = fmul float %75, 0xBFDFFFFFA0000000
  %77 = fmul float %75, 0xBFEBB67B00000000
  %78 = load float, ptr %28, align 4, !tbaa !5
  %79 = fmul float %78, -5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %23, float noundef %76, float noundef %77, float noundef %79)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %24, ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(12) %23)
  %80 = getelementptr inbounds i8, ptr %0, i64 52
  %81 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %80, ptr noundef nonnull align 4 dereferenceable(12) %24)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #6
  %82 = load float, ptr %2, align 4, !tbaa !15
  %83 = fmul float %82, 0x3FDFFFFFA0000000
  %84 = fmul float %82, 0xBFEBB67B00000000
  %85 = load float, ptr %28, align 4, !tbaa !5
  %86 = fmul float %85, -5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %23, float noundef %83, float noundef %84, float noundef %86)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %24, ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(12) %23)
  %87 = getelementptr inbounds i8, ptr %0, i64 64
  %88 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %87, ptr noundef nonnull align 4 dereferenceable(12) %24)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #6
  br label %.split28.us

.split.us.preheader:                              ; preds = %46
  %89 = fmul float %51, 5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %23, float noundef %49, float noundef %50, float noundef %89)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %24, ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(12) %23)
  %90 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %48, ptr noundef nonnull align 4 dereferenceable(12) %24)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #6
  %91 = load float, ptr %2, align 4, !tbaa !15
  %92 = fmul float %91, 0x3FDFFFFFE0000000
  %93 = fmul float %91, 0x3FEBB67B00000000
  %94 = load float, ptr %28, align 4, !tbaa !5
  %95 = fmul float %94, 5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %23, float noundef %92, float noundef %93, float noundef %95)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %24, ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(12) %23)
  %96 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %52, ptr noundef nonnull align 4 dereferenceable(12) %24)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #6
  %97 = load float, ptr %2, align 4, !tbaa !15
  %98 = fmul float %97, 0xBFE0000020000000
  %99 = fmul float %97, 0x3FEBB67AE0000000
  %100 = load float, ptr %28, align 4, !tbaa !5
  %101 = fmul float %100, 5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %23, float noundef %98, float noundef %99, float noundef %101)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %24, ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(12) %23)
  %102 = getelementptr inbounds i8, ptr %0, i64 28
  %103 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %102, ptr noundef nonnull align 4 dereferenceable(12) %24)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #6
  %104 = load float, ptr %2, align 4, !tbaa !15
  %105 = fneg float %104
  %106 = fmul float %104, 0xBE7777A5C0000000
  %107 = load float, ptr %28, align 4, !tbaa !5
  %108 = fmul float %107, 5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %23, float noundef %105, float noundef %106, float noundef %108)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %24, ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(12) %23)
  %109 = getelementptr inbounds i8, ptr %0, i64 40
  %110 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %109, ptr noundef nonnull align 4 dereferenceable(12) %24)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #6
  %111 = load float, ptr %2, align 4, !tbaa !15
  %112 = fmul float %111, 0xBFDFFFFFA0000000
  %113 = fmul float %111, 0xBFEBB67B00000000
  %114 = load float, ptr %28, align 4, !tbaa !5
  %115 = fmul float %114, 5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %23, float noundef %112, float noundef %113, float noundef %115)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %24, ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(12) %23)
  %116 = getelementptr inbounds i8, ptr %0, i64 52
  %117 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %116, ptr noundef nonnull align 4 dereferenceable(12) %24)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #6
  %118 = load float, ptr %2, align 4, !tbaa !15
  %119 = fmul float %118, 0x3FDFFFFFA0000000
  %120 = fmul float %118, 0xBFEBB67B00000000
  %121 = load float, ptr %28, align 4, !tbaa !5
  %122 = fmul float %121, 5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %23, float noundef %119, float noundef %120, float noundef %122)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types20isometricTransform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %24, ptr noundef nonnull align 4 dereferenceable(48) %1, ptr noundef nonnull align 4 dereferenceable(12) %23)
  %123 = getelementptr inbounds i8, ptr %0, i64 64
  %124 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %123, ptr noundef nonnull align 4 dereferenceable(12) %24)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #6
  br label %.split28.us

.split28.us:                                      ; preds = %.split.preheader, %.split.us.preheader
  %125 = phi float [ -1.000000e+00, %.split.preheader ], [ 1.000000e+00, %.split.us.preheader ]
  %126 = getelementptr inbounds i8, ptr %0, i64 604
  %127 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %126, ptr noundef nonnull align 4 dereferenceable(12) %15)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #6
  store float %125, ptr %25, align 4, !tbaa !16
  %128 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3mLERKf(ptr noundef nonnull align 4 dereferenceable(12) %126, ptr noundef nonnull align 4 dereferenceable(4) %25)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #6
  br label %129

129:                                              ; preds = %.split28.us, %39
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #6
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #5

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 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 #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 = { "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 nosync nounwind speculatable willreturn memory(none) }
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, !7, i64 4}
!6 = !{!"_ZTSN8geometry5types15shapeCylinder_tE", !7, i64 0, !7, i64 4}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !13, i64 0}
!11 = !{!"_ZTSN8geometry5types19polyhedronFeature_tE", !12, i64 0, !14, i64 604}
!12 = !{!"_ZTSN8geometry5types11polygon50_tE", !13, i64 0, !8, i64 4}
!13 = !{!"int", !8, i64 0}
!14 = !{!"_ZTS7Vector3", !8, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,SROAPass,SimplifyCFGPass