; 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.Matrix33 = type { [9 x float] }
%class.Vector3 = type { [3 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::transform_t" = type { %class.Matrix33, %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 @_ZNK8Matrix33coEv(ptr dead_on_unwind noalias writable sret(%class.Matrix33) align 4, ptr noundef nonnull align 4 dereferenceable(36)) #1 align 2

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

declare void @_ZN8geometry9transform12forwardBoundERKNS_5types11transform_tERK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(84), ptr noundef nonnull align 4 dereferenceable(12)) #5

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

74:                                               ; preds = %4
  %75 = getelementptr inbounds %"struct.geometry::types::polyhedronFeature_t", ptr %0, i32 0, i32 0
  %76 = getelementptr inbounds %"struct.geometry::types::polygon50_t", ptr %75, i32 0, i32 0
  store i32 2, ptr %76, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 12, ptr %28) #7
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %30) #7
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.geometry::types::shapeCylinder_t", ptr %78, i32 0, i32 0
  call void @_ZNK7Vector3mlERKf(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %30, ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(4) %79)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %29, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %30)
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types11transform_tERK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %28, ptr noundef nonnull align 4 dereferenceable(84) %77, ptr noundef nonnull align 4 dereferenceable(12) %29)
  %80 = getelementptr inbounds %"struct.geometry::types::polyhedronFeature_t", ptr %0, i32 0, i32 0
  %81 = getelementptr inbounds %"struct.geometry::types::polygon50_t", ptr %80, i32 0, i32 1
  %82 = getelementptr inbounds [50 x %class.Vector3], ptr %81, i64 0, i64 0
  %83 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %82, ptr noundef nonnull align 4 dereferenceable(12) %28)
  call void @llvm.lifetime.end.p0(i64 12, ptr %30) #7
  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.start.p0(i64 12, ptr %31) #7
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %33) #7
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.geometry::types::shapeCylinder_t", ptr %85, i32 0, i32 0
  call void @_ZNK7Vector3mlERKf(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %33, ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(4) %86)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %32, ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %33)
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types11transform_tERK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4 %31, ptr noundef nonnull align 4 dereferenceable(84) %84, ptr noundef nonnull align 4 dereferenceable(12) %32)
  %87 = getelementptr inbounds %"struct.geometry::types::polyhedronFeature_t", ptr %0, i32 0, i32 0
  %88 = getelementptr inbounds %"struct.geometry::types::polygon50_t", ptr %87, i32 0, i32 1
  %89 = getelementptr inbounds [50 x %class.Vector3], ptr %88, i64 0, i64 1
  %90 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %89, ptr noundef nonnull align 4 dereferenceable(12) %31)
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %31) #7
  %91 = getelementptr inbounds %"struct.geometry::types::polyhedronFeature_t", ptr %0, i32 0, i32 1
  %92 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %91, ptr noundef nonnull align 4 dereferenceable(12) %22)
  br label %153

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

96:                                               ; preds = %140, %93
  %97 = load i32, ptr %34, align 4, !tbaa !18
  %98 = icmp slt i32 %97, 6
  br i1 %98, label %100, label %99

99:                                               ; preds = %96
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #7
  br label %143

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

140:                                              ; preds = %100
  %141 = load i32, ptr %34, align 4, !tbaa !18
  %142 = add nsw i32 %141, 1
  store i32 %142, ptr %34, align 4, !tbaa !18
  br label %96, !llvm.loop !20

143:                                              ; preds = %99
  %144 = getelementptr inbounds %"struct.geometry::types::polyhedronFeature_t", ptr %0, i32 0, i32 1
  %145 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %144, ptr noundef nonnull align 4 dereferenceable(12) %23)
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #7
  %146 = load float, ptr %26, align 4, !tbaa !12
  %147 = load float, ptr %27, align 4, !tbaa !12
  %148 = fcmp ogt float %146, %147
  %149 = zext i1 %148 to i64
  %150 = select i1 %148, float 1.000000e+00, float -1.000000e+00
  store float %150, ptr %37, align 4, !tbaa !12
  %151 = getelementptr inbounds %"struct.geometry::types::polyhedronFeature_t", ptr %0, i32 0, i32 1
  %152 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3mLERKf(ptr noundef nonnull align 4 dereferenceable(12) %151, ptr noundef nonnull align 4 dereferenceable(4) %37)
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #7
  br label %153

153:                                              ; preds = %143, %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 36, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #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 %9) #7
  ret void
}

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

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

; 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

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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind "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.Matrix33 = type { [9 x float] }
%class.Vector3 = type { [3 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 @_ZNK8Matrix33coEv(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 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 void @_ZNK8Matrix33mlERKS_(ptr dead_on_unwind noalias writable sret(%class.Matrix33) align 4, ptr noundef nonnull align 4 dereferenceable(36), ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #1 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

declare void @_ZN8geometry9transform12forwardBoundERKNS_5types11transform_tERK7Vector3(ptr dead_on_unwind writable sret(%class.Vector3) align 4, ptr noundef nonnull align 4 dereferenceable(84), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #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)) 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 uwtable
define dso_local void @_ZN8geometry19mostParallelFeatureERKNS_5types11transform_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(84) %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.Matrix33, align 4
  %8 = alloca %class.Matrix33, align 4
  %9 = alloca %class.Vector3, align 4
  %10 = alloca %class.Vector3, align 4
  %11 = alloca %class.Vector3, align 4
  %12 = alloca %class.Vector3, align 4
  %13 = alloca %class.Vector3, align 4
  %14 = alloca %class.Matrix33, align 4
  %15 = alloca %class.Matrix33, 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 %class.Vector3, align 4
  %22 = alloca %class.Vector3, align 4
  %23 = alloca %class.Vector3, 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 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 @llvm.lifetime.start.p0(i64 36, ptr nonnull %7) #6
  call void @_ZNK8Matrix339transposeEv(ptr dead_on_unwind nonnull writable sret(%class.Matrix33) align 4 %7, ptr noundef nonnull align 4 dereferenceable(36) %1)
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %8) #6
  %30 = getelementptr inbounds i8, ptr %1, i64 36
  call void @_ZNK8Matrix339transposeEv(ptr dead_on_unwind nonnull writable sret(%class.Matrix33) align 4 %8, ptr noundef nonnull align 4 dereferenceable(36) %30)
  call void @_ZNK8Matrix33mlERKS_(ptr dead_on_unwind nonnull writable sret(%class.Matrix33) align 4 %6, ptr noundef nonnull align 4 dereferenceable(36) %7, ptr noundef nonnull align 4 dereferenceable(36) %8)
  %31 = 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) %31)
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %6) #6
  %32 = 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 %9) #6
  %33 = getelementptr inbounds i8, ptr %2, i64 4
  %34 = load float, ptr %33, align 4, !tbaa !5
  %35 = fmul float %34, -5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %9, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %35)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #6
  %36 = load float, ptr %33, align 4, !tbaa !5
  %37 = fmul float %36, 5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %10, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %37)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #6
  call void @_ZNK7Vector3miERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %11, ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %9)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %13) #6
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %13, ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(12) %5)
  call void @_ZNK7Vector312crossProductERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %12, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %11)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %16) #6
  call void @_ZNK8Matrix33coEv(ptr dead_on_unwind nonnull writable sret(%class.Matrix33) align 4 %16, ptr noundef nonnull align 4 dereferenceable(36) %1)
  call void @_ZNK8Matrix339transposeEv(ptr dead_on_unwind nonnull writable sret(%class.Matrix33) align 4 %15, ptr noundef nonnull align 4 dereferenceable(36) %16)
  call void @_ZNK8Matrix33mlERKS_(ptr dead_on_unwind nonnull writable sret(%class.Matrix33) align 4 %14, ptr noundef nonnull align 4 dereferenceable(36) %30, ptr noundef nonnull align 4 dereferenceable(36) %15)
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %17) #6
  call void @_ZNK7Vector310unitVectorEv(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %17, ptr noundef nonnull align 4 dereferenceable(12) %12)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %18) #6
  call void @_ZNK8Matrix33mlERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %18, ptr noundef nonnull align 4 dereferenceable(36) %14, ptr noundef nonnull align 4 dereferenceable(12) %17)
  %38 = 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 nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %20) #6
  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 nonnull writable sret(%class.Vector3) align 4 %19, ptr noundef nonnull align 4 dereferenceable(36) %14, ptr noundef nonnull align 4 dereferenceable(12) %20)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %20) #6
  %39 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector39NormalizeEv(ptr noundef nonnull align 4 dereferenceable(12) %19)
  %40 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %31)
  %41 = call noundef float @_ZNK7Vector33dotERKS_(ptr noundef nonnull align 4 dereferenceable(12) %19, ptr noundef nonnull align 4 dereferenceable(12) %31)
  call void @_ZN8geometry5types19polyhedronFeature_tC2Ev(ptr noundef nonnull align 4 dereferenceable(616) %0)
  %42 = call float @llvm.fabs.f32(float %41)
  %43 = fcmp ogt float %40, %42
  br i1 %43, label %44, label %51

44:                                               ; preds = %4
  store i32 2, ptr %0, align 4, !tbaa !10
  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 @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #6
  call void @_ZNK7Vector3mlERKf(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %23, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %22, ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %23)
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types11transform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %21, ptr noundef nonnull align 4 dereferenceable(84) %1, ptr noundef nonnull align 4 dereferenceable(12) %22)
  %45 = getelementptr inbounds i8, ptr %0, i64 4
  %46 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %45, ptr noundef nonnull align 4 dereferenceable(12) %21)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #6
  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.start.p0(i64 12, ptr nonnull %24) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %25) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %26) #6
  call void @_ZNK7Vector3mlERKf(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %26, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @_ZNK7Vector3plERKS_(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %25, ptr noundef nonnull align 4 dereferenceable(12) %10, ptr noundef nonnull align 4 dereferenceable(12) %26)
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types11transform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %24, ptr noundef nonnull align 4 dereferenceable(84) %1, ptr noundef nonnull align 4 dereferenceable(12) %25)
  %47 = getelementptr inbounds i8, ptr %0, i64 16
  %48 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %47, ptr noundef nonnull align 4 dereferenceable(12) %24)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %26) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #6
  %49 = getelementptr inbounds i8, ptr %0, i64 604
  %50 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %49, ptr noundef nonnull align 4 dereferenceable(12) %18)
  br label %134

51:                                               ; preds = %4
  store i32 6, ptr %0, align 4, !tbaa !10
  %52 = fcmp ogt float %41, 0.000000e+00
  %53 = getelementptr inbounds i8, ptr %0, i64 4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %27) #6
  %54 = load float, ptr %2, align 4, !tbaa !15
  %55 = fmul float %54, 0.000000e+00
  %56 = load float, ptr %33, align 4, !tbaa !5
  %57 = getelementptr inbounds i8, ptr %0, i64 16
  br i1 %52, label %.split.us.preheader, label %.split.preheader

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

.split.us.preheader:                              ; preds = %51
  %94 = fmul float %56, 5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %27, float noundef %54, float noundef %55, float noundef %94)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %28) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types11transform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %28, ptr noundef nonnull align 4 dereferenceable(84) %1, ptr noundef nonnull align 4 dereferenceable(12) %27)
  %95 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %53, ptr noundef nonnull align 4 dereferenceable(12) %28)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %27) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %27) #6
  %96 = load float, ptr %2, align 4, !tbaa !15
  %97 = fmul float %96, 0x3FDFFFFFE0000000
  %98 = fmul float %96, 0x3FEBB67B00000000
  %99 = load float, ptr %33, align 4, !tbaa !5
  %100 = fmul float %99, 5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %27, float noundef %97, float noundef %98, float noundef %100)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %28) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types11transform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %28, ptr noundef nonnull align 4 dereferenceable(84) %1, ptr noundef nonnull align 4 dereferenceable(12) %27)
  %101 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %57, ptr noundef nonnull align 4 dereferenceable(12) %28)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %27) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %27) #6
  %102 = load float, ptr %2, align 4, !tbaa !15
  %103 = fmul float %102, 0xBFE0000020000000
  %104 = fmul float %102, 0x3FEBB67AE0000000
  %105 = load float, ptr %33, align 4, !tbaa !5
  %106 = fmul float %105, 5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %27, float noundef %103, float noundef %104, float noundef %106)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %28) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types11transform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %28, ptr noundef nonnull align 4 dereferenceable(84) %1, ptr noundef nonnull align 4 dereferenceable(12) %27)
  %107 = getelementptr inbounds i8, ptr %0, i64 28
  %108 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %107, ptr noundef nonnull align 4 dereferenceable(12) %28)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %27) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %27) #6
  %109 = load float, ptr %2, align 4, !tbaa !15
  %110 = fneg float %109
  %111 = fmul float %109, 0xBE7777A5C0000000
  %112 = load float, ptr %33, align 4, !tbaa !5
  %113 = fmul float %112, 5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %27, float noundef %110, float noundef %111, float noundef %113)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %28) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types11transform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %28, ptr noundef nonnull align 4 dereferenceable(84) %1, ptr noundef nonnull align 4 dereferenceable(12) %27)
  %114 = getelementptr inbounds i8, ptr %0, i64 40
  %115 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %114, ptr noundef nonnull align 4 dereferenceable(12) %28)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %27) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %27) #6
  %116 = load float, ptr %2, align 4, !tbaa !15
  %117 = fmul float %116, 0xBFDFFFFFA0000000
  %118 = fmul float %116, 0xBFEBB67B00000000
  %119 = load float, ptr %33, align 4, !tbaa !5
  %120 = fmul float %119, 5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %27, float noundef %117, float noundef %118, float noundef %120)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %28) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types11transform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %28, ptr noundef nonnull align 4 dereferenceable(84) %1, ptr noundef nonnull align 4 dereferenceable(12) %27)
  %121 = getelementptr inbounds i8, ptr %0, i64 52
  %122 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %121, ptr noundef nonnull align 4 dereferenceable(12) %28)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %27) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %27) #6
  %123 = load float, ptr %2, align 4, !tbaa !15
  %124 = fmul float %123, 0x3FDFFFFFA0000000
  %125 = fmul float %123, 0xBFEBB67B00000000
  %126 = load float, ptr %33, align 4, !tbaa !5
  %127 = fmul float %126, 5.000000e-01
  call void @_ZN7Vector3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %27, float noundef %124, float noundef %125, float noundef %127)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %28) #6
  call void @_ZN8geometry9transform12forwardBoundERKNS_5types11transform_tERK7Vector3(ptr dead_on_unwind nonnull writable sret(%class.Vector3) align 4 %28, ptr noundef nonnull align 4 dereferenceable(84) %1, ptr noundef nonnull align 4 dereferenceable(12) %27)
  %128 = getelementptr inbounds i8, ptr %0, i64 64
  %129 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %128, ptr noundef nonnull align 4 dereferenceable(12) %28)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %27) #6
  br label %.split30.us

.split30.us:                                      ; preds = %.split.preheader, %.split.us.preheader
  %130 = phi float [ -1.000000e+00, %.split.preheader ], [ 1.000000e+00, %.split.us.preheader ]
  %131 = getelementptr inbounds i8, ptr %0, i64 604
  %132 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3aSERKS_(ptr noundef nonnull align 4 dereferenceable(12) %131, ptr noundef nonnull align 4 dereferenceable(12) %19)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #6
  store float %130, ptr %29, align 4, !tbaa !16
  %133 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN7Vector3mLERKf(ptr noundef nonnull align 4 dereferenceable(12) %131, ptr noundef nonnull align 4 dereferenceable(4) %29)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #6
  br label %134

134:                                              ; preds = %.split30.us, %44
  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.end.p0(i64 36, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #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 %5) #6
  ret void
}

; 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: 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