; LLVM IR from nikitakaraevv/ray-tracing-engine :: source/Main.ll (ZN8Renderer5shadeERK3RayR4Vec3IiERmRfS7_S7_RS3_IfES9_S9_R6kdtree)

; 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.Vec3 = type { [3 x float] }
%class.Material = type { ptr, float, float, %class.Vec3, %class.Vec3 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Particle, std::allocator<Particle>>::_Vector_impl" }
%"struct.std::_Vector_base<Particle, std::allocator<Particle>>::_Vector_impl" = type { %"struct.std::_Vector_base<Particle, std::allocator<Particle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Particle, std::allocator<Particle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Particle = type { %class.Vec3, %class.Vec3, float }
%"class.__gnu_cxx::__normal_iterator.31" = type { ptr }
%class.Renderer = type <{ ptr, i32, i32, i32, i32, %class.PhotonMap, %class.PhotonMap, %class.RayTracer, %class.Scene, float, [4 x i8] }>
%class.PhotonMap = type <{ %class.RayTracer, %"class.std::vector", i32, [4 x i8] }>
%class.RayTracer = type { ptr }
%class.Scene = type { ptr, %class.Camera, %"class.std::vector.0", %"class.std::vector.5" }
%class.Camera = type { float, float, %class.Vec3, %class.Vec3, %class.Vec3, %class.Vec3 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<LightSource, std::allocator<LightSource>>::_Vector_impl" }
%"struct.std::_Vector_base<LightSource, std::allocator<LightSource>>::_Vector_impl" = type { %"struct.std::_Vector_base<LightSource, std::allocator<LightSource>>::_Vector_impl_data" }
%"struct.std::_Vector_base<LightSource, std::allocator<LightSource>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<Mesh, std::allocator<Mesh>>::_Vector_impl" }
%"struct.std::_Vector_base<Mesh, std::allocator<Mesh>>::_Vector_impl" = type { %"struct.std::_Vector_base<Mesh, std::allocator<Mesh>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Mesh, std::allocator<Mesh>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(208) ptr @_ZNSt6vectorI4MeshSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(56) ptr @_ZN5Scene6cameraEv(ptr noundef nonnull align 8 dereferenceable(112)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z9normalizeIfE4Vec3IT_ERKS2_(ptr dead_on_unwind noalias writable sret(%class.Vec3) align 4, ptr noundef nonnull align 4 dereferenceable(12)) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8Renderer6dotArrERKSt6vectorI4Vec3IfESaIS2_EERS1_IiEfff(ptr dead_on_unwind noalias writable sret(%class.Vec3) align 4, ptr noundef nonnull align 8 dereferenceable(228), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #2 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4Vec3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNK4Mesh8materialEv(ptr noundef nonnull align 8 dereferenceable(208)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8MaterialC2ERKS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Renderer5shadeERK3RayR4Vec3IiERmRfS7_S7_RS3_IfES9_S9_R6kdtree(ptr noundef nonnull align 8 dereferenceable(228) %0, ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 8 dereferenceable(80) %10) #4 align 2 personality ptr @__gxx_personality_v0 {
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca float, align 4
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca %class.Vec3, align 4
  %29 = alloca %class.Vec3, align 4
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca %class.Vec3, align 4
  %33 = alloca %class.Vec3, align 4
  %34 = alloca %class.Vec3, align 4
  %35 = alloca %class.Material, align 8
  %36 = alloca %class.Vec3, align 4
  %37 = alloca %"class.std::vector", align 8
  %38 = alloca %class.Particle, align 4
  %39 = alloca float, align 4
  %40 = alloca float, align 4
  %41 = alloca %class.Vec3, align 4
  %42 = alloca ptr, align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %45 = alloca %class.Particle, align 4
  %46 = alloca %class.Vec3, align 4
  %47 = alloca %class.Vec3, align 4
  %48 = alloca %class.Vec3, align 4
  %49 = alloca %class.Vec3, align 4
  %50 = alloca %class.Vec3, align 4
  store ptr %0, ptr %12, align 8, !tbaa !5
  store ptr %1, ptr %13, align 8, !tbaa !5
  store ptr %2, ptr %14, align 8, !tbaa !5
  store ptr %3, ptr %15, align 8, !tbaa !5
  store ptr %4, ptr %16, align 8, !tbaa !5
  store ptr %5, ptr %17, align 8, !tbaa !5
  store ptr %6, ptr %18, align 8, !tbaa !5
  store ptr %7, ptr %19, align 8, !tbaa !5
  store ptr %8, ptr %20, align 8, !tbaa !5
  store ptr %9, ptr %21, align 8, !tbaa !5
  store ptr %10, ptr %22, align 8, !tbaa !5
  %51 = load ptr, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %52 = load ptr, ptr %16, align 8, !tbaa !5
  %53 = load float, ptr %52, align 4, !tbaa !9
  %54 = fsub float 1.000000e+00, %53
  %55 = load ptr, ptr %17, align 8, !tbaa !5
  %56 = load float, ptr %55, align 4, !tbaa !9
  %57 = fsub float %54, %56
  store float %57, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %58 = getelementptr inbounds %class.Renderer, ptr %51, i32 0, i32 8
  %59 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN5Scene6meshesEv(ptr noundef nonnull align 8 dereferenceable(112) %58)
  %60 = load ptr, ptr %15, align 8, !tbaa !5
  %61 = load i64, ptr %60, align 8, !tbaa !11
  %62 = call noundef nonnull align 8 dereferenceable(208) ptr @_ZNSt6vectorI4MeshSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %61) #5
  store ptr %62, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %63 = load ptr, ptr %24, align 8, !tbaa !5
  %64 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Mesh15vertexPositionsEv(ptr noundef nonnull align 8 dereferenceable(208) %63)
  store ptr %64, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %65 = load ptr, ptr %24, align 8, !tbaa !5
  %66 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Mesh13vertexNormalsEv(ptr noundef nonnull align 8 dereferenceable(208) %65)
  store ptr %66, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %67 = getelementptr inbounds %class.Renderer, ptr %51, i32 0, i32 8
  %68 = call noundef nonnull align 4 dereferenceable(56) ptr @_ZN5Scene6cameraEv(ptr noundef nonnull align 8 dereferenceable(112) %67)
  store ptr %68, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %29) #5
  %69 = load ptr, ptr %26, align 8, !tbaa !5
  %70 = load ptr, ptr %14, align 8, !tbaa !5
  %71 = load float, ptr %23, align 4, !tbaa !9
  %72 = load ptr, ptr %16, align 8, !tbaa !5
  %73 = load float, ptr %72, align 4, !tbaa !9
  %74 = load ptr, ptr %17, align 8, !tbaa !5
  %75 = load float, ptr %74, align 4, !tbaa !9
  call void @_ZN8Renderer6dotArrERKSt6vectorI4Vec3IfESaIS2_EERS1_IiEfff(ptr dead_on_unwind writable sret(%class.Vec3) align 4 %29, ptr noundef nonnull align 8 dereferenceable(228) %51, ptr noundef nonnull align 8 dereferenceable(24) %69, ptr noundef nonnull align 4 dereferenceable(12) %70, float noundef %71, float noundef %73, float noundef %75)
  invoke void @_Z9normalizeIfE4Vec3IT_ERKS2_(ptr dead_on_unwind writable sret(%class.Vec3) align 4 %28, ptr noundef nonnull align 4 dereferenceable(12) %29)
          to label %76 unwind label %137

76:                                               ; preds = %11
  %77 = load ptr, ptr %19, align 8, !tbaa !5
  %78 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %77, ptr noundef nonnull align 4 dereferenceable(12) %28)
          to label %79 unwind label %141

79:                                               ; preds = %76
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %28) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %29) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %32) #5
  %80 = load ptr, ptr %25, align 8, !tbaa !5
  %81 = load ptr, ptr %14, align 8, !tbaa !5
  %82 = load float, ptr %23, align 4, !tbaa !9
  %83 = load ptr, ptr %16, align 8, !tbaa !5
  %84 = load float, ptr %83, align 4, !tbaa !9
  %85 = load ptr, ptr %17, align 8, !tbaa !5
  %86 = load float, ptr %85, align 4, !tbaa !9
  call void @_ZN8Renderer6dotArrERKSt6vectorI4Vec3IfESaIS2_EERS1_IiEfff(ptr dead_on_unwind writable sret(%class.Vec3) align 4 %32, ptr noundef nonnull align 8 dereferenceable(228) %51, ptr noundef nonnull align 8 dereferenceable(24) %80, ptr noundef nonnull align 4 dereferenceable(12) %81, float noundef %82, float noundef %84, float noundef %86)
  %87 = load ptr, ptr %20, align 8, !tbaa !5
  %88 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %87, ptr noundef nonnull align 4 dereferenceable(12) %32)
          to label %89 unwind label %146

89:                                               ; preds = %79
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %32) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %32) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %33) #5
  call void @_ZN4Vec3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %33)
  call void @llvm.lifetime.start.p0(i64 12, ptr %34) #5
  invoke void @_ZN4Vec3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %34)
          to label %90 unwind label %150

90:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 40, ptr %35) #5
  %91 = load ptr, ptr %24, align 8, !tbaa !5
  %92 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZNK4Mesh8materialEv(ptr noundef nonnull align 8 dereferenceable(208) %91)
          to label %93 unwind label %154

93:                                               ; preds = %90
  invoke void @_ZN8MaterialC2ERKS_(ptr noundef nonnull align 8 dereferenceable(40) %35, ptr noundef nonnull align 8 dereferenceable(40) %92)
          to label %94 unwind label %154

94:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 12, ptr %36) #5
  %95 = load ptr, ptr %27, align 8, !tbaa !5
  %96 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK6Camera8positionEv(ptr noundef nonnull align 4 dereferenceable(56) %95)
          to label %97 unwind label %158

97:                                               ; preds = %94
  %98 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_ZNK4Vec3IfEmiERKS0_(ptr dead_on_unwind writable sret(%class.Vec3) align 4 %36, ptr noundef nonnull align 4 dereferenceable(12) %96, ptr noundef nonnull align 4 dereferenceable(12) %98)
          to label %99 unwind label %158

99:                                               ; preds = %97
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #5
  call void @_ZNSt6vectorI8ParticleSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #5
  call void @llvm.lifetime.start.p0(i64 28, ptr %38) #5
  invoke void @_ZN8ParticleC2Ev(ptr noundef nonnull align 4 dereferenceable(28) %38)
          to label %100 unwind label %162

100:                                              ; preds = %99
  %101 = load ptr, ptr %20, align 8, !tbaa !5
  %102 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN8Particle8positionEv(ptr noundef nonnull align 4 dereferenceable(28) %38)
          to label %103 unwind label %166

103:                                              ; preds = %100
  %104 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %102, ptr noundef nonnull align 4 dereferenceable(12) %101)
          to label %105 unwind label %166

105:                                              ; preds = %103
  %106 = load ptr, ptr %22, align 8, !tbaa !5
  %107 = getelementptr inbounds %class.Renderer, ptr %51, i32 0, i32 4
  %108 = load i32, ptr %107, align 4, !tbaa !13
  invoke void @_ZN6kdtree8knearestERK8ParticleiRSt6vectorIS0_SaIS0_EE(ptr noundef nonnull align 8 dereferenceable(80) %106, ptr noundef nonnull align 4 dereferenceable(28) %38, i32 noundef %108, ptr noundef nonnull align 8 dereferenceable(24) %37)
          to label %109 unwind label %166

109:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #5
  %110 = getelementptr inbounds %class.Renderer, ptr %51, i32 0, i32 4
  %111 = load i32, ptr %110, align 4, !tbaa !13
  %112 = sub nsw i32 %111, 1
  %113 = sext i32 %112 to i64
  %114 = call noundef nonnull align 4 dereferenceable(28) ptr @_ZNSt6vectorI8ParticleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %113) #5
  %115 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN8Particle8positionEv(ptr noundef nonnull align 4 dereferenceable(28) %114)
          to label %116 unwind label %170

116:                                              ; preds = %109
  %117 = load ptr, ptr %20, align 8, !tbaa !5
  %118 = invoke noundef float @_Z4distIfET_RK4Vec3IS0_ES4_(ptr noundef nonnull align 4 dereferenceable(12) %115, ptr noundef nonnull align 4 dereferenceable(12) %117)
          to label %119 unwind label %170

119:                                              ; preds = %116
  store float %118, ptr %39, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #5
  %120 = load float, ptr %39, align 4, !tbaa !9
  %121 = fpext float %120 to double
  %122 = fmul double 0x400921FB54442D18, %121
  %123 = load float, ptr %39, align 4, !tbaa !9
  %124 = fpext float %123 to double
  %125 = fmul double %122, %124
  %126 = fptrunc double %125 to float
  store float %126, ptr %40, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %41) #5
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %41, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %127 unwind label %174

127:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #5
  store ptr %37, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #5
  %128 = load ptr, ptr %42, align 8, !tbaa !5
  %129 = call ptr @_ZNSt6vectorI8ParticleSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %128) #5
  %130 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %43, i32 0, i32 0
  store ptr %129, ptr %130, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #5
  %131 = load ptr, ptr %42, align 8, !tbaa !5
  %132 = call ptr @_ZNSt6vectorI8ParticleSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %131) #5
  %133 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.31", ptr %44, i32 0, i32 0
  store ptr %132, ptr %133, align 8
  br label %134

134:                                              ; preds = %188, %127
  %135 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP8ParticleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %44) #5
  br i1 %135, label %178, label %136

136:                                              ; preds = %134
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  br label %209

137:                                              ; preds = %11
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %30, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %31, align 4
  br label %145

141:                                              ; preds = %76
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %30, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %31, align 4
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %28) #5
  br label %145

145:                                              ; preds = %141, %137
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %29) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %28) #5
  br label %275

146:                                              ; preds = %79
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %30, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %31, align 4
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %32) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %32) #5
  br label %275

150:                                              ; preds = %89
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %30, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %31, align 4
  br label %274

154:                                              ; preds = %93, %90
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %30, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %31, align 4
  br label %273

158:                                              ; preds = %97, %94
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %30, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %31, align 4
  br label %272

162:                                              ; preds = %99
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %30, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %31, align 4
  br label %271

166:                                              ; preds = %105, %103, %100
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %30, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %31, align 4
  br label %270

170:                                              ; preds = %116, %109
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %30, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %31, align 4
  br label %269

174:                                              ; preds = %119
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %30, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %31, align 4
  br label %268

178:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 28, ptr %45) #5
  %179 = call noundef nonnull align 4 dereferenceable(28) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP8ParticleSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #5
  invoke void @_ZN8ParticleC2ERKS_(ptr noundef nonnull align 4 dereferenceable(28) %45, ptr noundef nonnull align 4 dereferenceable(28) %179)
          to label %180 unwind label %190

180:                                              ; preds = %178
  %181 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN8Particle15incomeDirectionEv(ptr noundef nonnull align 4 dereferenceable(28) %45)
          to label %182 unwind label %194

182:                                              ; preds = %180
  %183 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEpLERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %41, ptr noundef nonnull align 4 dereferenceable(12) %181)
          to label %184 unwind label %194

184:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 12, ptr %46) #5
  invoke void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %46, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %185 unwind label %198

185:                                              ; preds = %184
  %186 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEpLERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %33, ptr noundef nonnull align 4 dereferenceable(12) %46)
          to label %187 unwind label %202

187:                                              ; preds = %185
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %46) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %46) #5
  call void @_ZN8ParticleD2Ev(ptr noundef nonnull align 4 dereferenceable(28) %45) #5
  call void @llvm.lifetime.end.p0(i64 28, ptr %45) #5
  br label %188

188:                                              ; preds = %187
  %189 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP8ParticleSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #5
  br label %134

190:                                              ; preds = %178
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %30, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %31, align 4
  br label %208

194:                                              ; preds = %182, %180
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %30, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %31, align 4
  br label %207

198:                                              ; preds = %184
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %30, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %31, align 4
  br label %206

202:                                              ; preds = %185
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %30, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %31, align 4
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %46) #5
  br label %206

206:                                              ; preds = %202, %198
  call void @llvm.lifetime.end.p0(i64 12, ptr %46) #5
  br label %207

207:                                              ; preds = %206, %194
  call void @_ZN8ParticleD2Ev(ptr noundef nonnull align 4 dereferenceable(28) %45) #5
  br label %208

208:                                              ; preds = %207, %190
  call void @llvm.lifetime.end.p0(i64 28, ptr %45) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #5
  br label %267

209:                                              ; preds = %136
  %210 = load float, ptr %40, align 4, !tbaa !9
  %211 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEdVEf(ptr noundef nonnull align 4 dereferenceable(12) %33, float noundef %210)
          to label %212 unwind label %235

212:                                              ; preds = %209
  %213 = getelementptr inbounds %class.Renderer, ptr %51, i32 0, i32 3
  %214 = load i32, ptr %213, align 8, !tbaa !33
  %215 = sitofp i32 %214 to float
  %216 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEdVEf(ptr noundef nonnull align 4 dereferenceable(12) %33, float noundef %215)
          to label %217 unwind label %235

217:                                              ; preds = %212
  %218 = getelementptr inbounds %class.Renderer, ptr %51, i32 0, i32 9
  %219 = load float, ptr %218, align 8, !tbaa !34
  %220 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEmLEf(ptr noundef nonnull align 4 dereferenceable(12) %33, float noundef %219)
          to label %221 unwind label %235

221:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 12, ptr %47) #5
  %222 = load ptr, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %48) #5
  invoke void @_Z9normalizeIfE4Vec3IT_ERKS2_(ptr dead_on_unwind writable sret(%class.Vec3) align 4 %48, ptr noundef nonnull align 4 dereferenceable(12) %41)
          to label %223 unwind label %239

223:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 12, ptr %49) #5
  %224 = load ptr, ptr %13, align 8, !tbaa !5
  %225 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %224)
          to label %226 unwind label %243

226:                                              ; preds = %223
  invoke void @_ZNK4Vec3IfEngEv(ptr dead_on_unwind writable sret(%class.Vec3) align 4 %49, ptr noundef nonnull align 4 dereferenceable(12) %225)
          to label %227 unwind label %243

227:                                              ; preds = %226
  invoke void @_ZN8Material21evaluateColorResponseERK4Vec3IfES3_S3_(ptr dead_on_unwind writable sret(%class.Vec3) align 4 %47, ptr noundef nonnull align 8 dereferenceable(40) %35, ptr noundef nonnull align 4 dereferenceable(12) %222, ptr noundef nonnull align 4 dereferenceable(12) %48, ptr noundef nonnull align 4 dereferenceable(12) %49)
          to label %228 unwind label %247

228:                                              ; preds = %227
  %229 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %34, ptr noundef nonnull align 4 dereferenceable(12) %47)
          to label %230 unwind label %251

230:                                              ; preds = %228
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %47) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %49) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %49) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %48) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %47) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %50) #5
  invoke void @_ZNK4Vec3IfEmlERKS0_(ptr dead_on_unwind writable sret(%class.Vec3) align 4 %50, ptr noundef nonnull align 4 dereferenceable(12) %33, ptr noundef nonnull align 4 dereferenceable(12) %34)
          to label %231 unwind label %258

231:                                              ; preds = %230
  %232 = load ptr, ptr %21, align 8, !tbaa !5
  %233 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEpLERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %232, ptr noundef nonnull align 4 dereferenceable(12) %50)
          to label %234 unwind label %262

234:                                              ; preds = %231
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %50) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %50) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %41) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  call void @_ZN8ParticleD2Ev(ptr noundef nonnull align 4 dereferenceable(28) %38) #5
  call void @llvm.lifetime.end.p0(i64 28, ptr %38) #5
  call void @_ZNSt6vectorI8ParticleSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %36) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %36) #5
  call void @_ZN8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %35) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %35) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %34) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %34) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %33) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  ret void

235:                                              ; preds = %217, %212, %209
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %30, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %31, align 4
  br label %267

239:                                              ; preds = %221
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %30, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %31, align 4
  br label %257

243:                                              ; preds = %226, %223
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %30, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %31, align 4
  br label %256

247:                                              ; preds = %227
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %30, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %31, align 4
  br label %255

251:                                              ; preds = %228
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %30, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %31, align 4
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %47) #5
  br label %255

255:                                              ; preds = %251, %247
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %49) #5
  br label %256

256:                                              ; preds = %255, %243
  call void @llvm.lifetime.end.p0(i64 12, ptr %49) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %48) #5
  br label %257

257:                                              ; preds = %256, %239
  call void @llvm.lifetime.end.p0(i64 12, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %47) #5
  br label %267

258:                                              ; preds = %230
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %30, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %31, align 4
  br label %266

262:                                              ; preds = %231
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %30, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %31, align 4
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %50) #5
  br label %266

266:                                              ; preds = %262, %258
  call void @llvm.lifetime.end.p0(i64 12, ptr %50) #5
  br label %267

267:                                              ; preds = %266, %257, %235, %208
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %41) #5
  br label %268

268:                                              ; preds = %267, %174
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #5
  br label %269

269:                                              ; preds = %268, %170
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  br label %270

270:                                              ; preds = %269, %166
  call void @_ZN8ParticleD2Ev(ptr noundef nonnull align 4 dereferenceable(28) %38) #5
  br label %271

271:                                              ; preds = %270, %162
  call void @llvm.lifetime.end.p0(i64 28, ptr %38) #5
  call void @_ZNSt6vectorI8ParticleSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %36) #5
  br label %272

272:                                              ; preds = %271, %158
  call void @llvm.lifetime.end.p0(i64 12, ptr %36) #5
  call void @_ZN8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %35) #5
  br label %273

273:                                              ; preds = %272, %154
  call void @llvm.lifetime.end.p0(i64 40, ptr %35) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %34) #5
  br label %274

274:                                              ; preds = %273, %150
  call void @llvm.lifetime.end.p0(i64 12, ptr %34) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %33) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #5
  br label %275

275:                                              ; preds = %274, %146, %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %276

276:                                              ; preds = %275
  %277 = load ptr, ptr %30, align 8
  %278 = load i32, ptr %31, align 4
  %279 = insertvalue { ptr, i32 } poison, ptr %277, 0
  %280 = insertvalue { ptr, i32 } %279, i32 %278, 1
  resume { ptr, i32 } %280
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8ParticleC2Ev(ptr noundef nonnull align 4 dereferenceable(28)) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6kdtree8knearestERK8ParticleiRSt6vectorIS0_SaIS0_EE(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 4 dereferenceable(28), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_Z4distIfET_RK4Vec3IS0_ES4_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(28) ptr @_ZNSt6vectorI8ParticleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #2 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIP8ParticleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(28) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP8ParticleSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !15, i64 20}
!14 = !{!"_ZTS8Renderer", !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !16, i64 24, !16, i64 64, !17, i64 104, !22, i64 112, !10, i64 224}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTS9PhotonMap", !17, i64 0, !18, i64 8, !15, i64 32}
!17 = !{!"_ZTS9RayTracer"}
!18 = !{!"_ZTSSt6vectorI8ParticleSaIS0_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseI8ParticleSaIS0_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseI8ParticleSaIS0_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseI8ParticleSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTS5Scene", !23, i64 8, !25, i64 64, !29, i64 88}
!23 = !{!"_ZTS6Camera", !10, i64 0, !10, i64 4, !24, i64 8, !24, i64 20, !24, i64 32, !24, i64 44}
!24 = !{!"_ZTS4Vec3IfE", !7, i64 0}
!25 = !{!"_ZTSSt6vectorI11LightSourceSaIS0_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseI11LightSourceSaIS0_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseI11LightSourceSaIS0_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseI11LightSourceSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTSSt6vectorI4MeshSaIS0_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseI4MeshSaIS0_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseI4MeshSaIS0_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseI4MeshSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!14, !15, i64 16}
!34 = !{!14, !10, i64 224}


; 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.Vec3 = type { [3 x float] }
%class.Material = type { ptr, float, float, %class.Vec3, %class.Vec3 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Particle, std::allocator<Particle>>::_Vector_impl" }
%"struct.std::_Vector_base<Particle, std::allocator<Particle>>::_Vector_impl" = type { %"struct.std::_Vector_base<Particle, std::allocator<Particle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Particle, std::allocator<Particle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Particle = type { %class.Vec3, %class.Vec3, float }
%"class.__gnu_cxx::__normal_iterator.31" = type { ptr }

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(208) ptr @_ZNSt6vectorI4MeshSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(56) ptr @_ZN5Scene6cameraEv(ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z9normalizeIfE4Vec3IT_ERKS2_(ptr dead_on_unwind noalias writable sret(%class.Vec3) align 4, ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8Renderer6dotArrERKSt6vectorI4Vec3IfESaIS2_EERS1_IiEfff(ptr dead_on_unwind noalias writable sret(%class.Vec3) align 4, ptr noundef nonnull align 8 dereferenceable(228), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #2 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4Vec3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNK4Mesh8materialEv(ptr noundef nonnull align 8 dereferenceable(208)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8MaterialC2ERKS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Renderer5shadeERK3RayR4Vec3IiERmRfS7_S7_RS3_IfES9_S9_R6kdtree(ptr noundef nonnull align 8 dereferenceable(228) %0, ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %3, ptr nocapture noundef nonnull readonly align 4 dereferenceable(4) %4, ptr nocapture noundef nonnull readonly align 4 dereferenceable(4) %5, ptr nocapture noundef nonnull readnone align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 8 dereferenceable(80) %10) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %12 = alloca %class.Vec3, align 4
  %13 = alloca %class.Vec3, align 4
  %14 = alloca %class.Vec3, align 4
  %15 = alloca %class.Vec3, align 4
  %16 = alloca %class.Vec3, align 4
  %17 = alloca %class.Material, align 8
  %18 = alloca %class.Vec3, align 4
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca %class.Particle, align 4
  %21 = alloca %class.Vec3, align 4
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.31", align 8
  %24 = alloca %class.Particle, align 4
  %25 = alloca %class.Vec3, align 4
  %26 = alloca %class.Vec3, align 4
  %27 = alloca %class.Vec3, align 4
  %28 = alloca %class.Vec3, align 4
  %29 = alloca %class.Vec3, align 4
  %30 = load float, ptr %4, align 4, !tbaa !5
  %31 = fsub float 1.000000e+00, %30
  %32 = load float, ptr %5, align 4, !tbaa !5
  %33 = fsub float %31, %32
  %34 = getelementptr inbounds i8, ptr %0, i64 112
  %35 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN5Scene6meshesEv(ptr noundef nonnull align 8 dereferenceable(112) %34)
  %36 = load i64, ptr %3, align 8, !tbaa !9
  %37 = tail call noundef nonnull align 8 dereferenceable(208) ptr @_ZNSt6vectorI4MeshSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %36) #5
  %38 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Mesh15vertexPositionsEv(ptr noundef nonnull align 8 dereferenceable(208) %37)
  %39 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK4Mesh13vertexNormalsEv(ptr noundef nonnull align 8 dereferenceable(208) %37)
  %40 = tail call noundef nonnull align 4 dereferenceable(56) ptr @_ZN5Scene6cameraEv(ptr noundef nonnull align 8 dereferenceable(112) %34)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %13) #5
  %41 = load float, ptr %4, align 4, !tbaa !5
  %42 = load float, ptr %5, align 4, !tbaa !5
  call void @_ZN8Renderer6dotArrERKSt6vectorI4Vec3IfESaIS2_EERS1_IiEfff(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 4 %13, ptr noundef nonnull align 8 dereferenceable(228) %0, ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 4 dereferenceable(12) %2, float noundef %33, float noundef %41, float noundef %42)
  invoke void @_Z9normalizeIfE4Vec3IT_ERKS2_(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 4 %12, ptr noundef nonnull align 4 dereferenceable(12) %13)
          to label %43 unwind label %80

43:                                               ; preds = %11
  %44 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %12)
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %12) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %13) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %14) #5
  %45 = load float, ptr %4, align 4, !tbaa !5
  %46 = load float, ptr %5, align 4, !tbaa !5
  call void @_ZN8Renderer6dotArrERKSt6vectorI4Vec3IfESaIS2_EERS1_IiEfff(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 4 %14, ptr noundef nonnull align 8 dereferenceable(228) %0, ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 4 dereferenceable(12) %2, float noundef %33, float noundef %45, float noundef %46)
  %47 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %14)
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %14) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #5
  call void @_ZN4Vec3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %15)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %16) #5
  call void @_ZN4Vec3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %16)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #5
  %48 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK4Mesh8materialEv(ptr noundef nonnull align 8 dereferenceable(208) %37)
  invoke void @_ZN8MaterialC2ERKS_(ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef nonnull align 8 dereferenceable(40) %48)
          to label %49 unwind label %82

49:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %18) #5
  %50 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK6Camera8positionEv(ptr noundef nonnull align 4 dereferenceable(56) %40)
  invoke void @_ZNK4Vec3IfEmiERKS0_(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 4 %18, ptr noundef nonnull align 4 dereferenceable(12) %50, ptr noundef nonnull align 4 dereferenceable(12) %8)
          to label %51 unwind label %84

51:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #5
  call void @_ZNSt6vectorI8ParticleSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %20) #5
  invoke void @_ZN8ParticleC2Ev(ptr noundef nonnull align 4 dereferenceable(28) %20)
          to label %52 unwind label %86

52:                                               ; preds = %51
  %53 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8Particle8positionEv(ptr noundef nonnull align 4 dereferenceable(28) %20)
  %54 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %53, ptr noundef nonnull align 4 dereferenceable(12) %8)
  %55 = getelementptr inbounds i8, ptr %0, i64 20
  %56 = load i32, ptr %55, align 4, !tbaa !11
  invoke void @_ZN6kdtree8knearestERK8ParticleiRSt6vectorIS0_SaIS0_EE(ptr noundef nonnull align 8 dereferenceable(80) %10, ptr noundef nonnull align 4 dereferenceable(28) %20, i32 noundef %56, ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %57 unwind label %88

57:                                               ; preds = %52
  %58 = load i32, ptr %55, align 4, !tbaa !11
  %59 = add nsw i32 %58, -1
  %60 = sext i32 %59 to i64
  %61 = call noundef nonnull align 4 dereferenceable(28) ptr @_ZNSt6vectorI8ParticleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %60) #5
  %62 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8Particle8positionEv(ptr noundef nonnull align 4 dereferenceable(28) %61)
  %63 = invoke noundef float @_Z4distIfET_RK4Vec3IS0_ES4_(ptr noundef nonnull align 4 dereferenceable(12) %62, ptr noundef nonnull align 4 dereferenceable(12) %8)
          to label %64 unwind label %90

64:                                               ; preds = %57
  %65 = fpext float %63 to double
  %66 = fmul double %65, 0x400921FB54442D18
  %67 = fmul double %66, %65
  %68 = fptrunc double %67 to float
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %21) #5
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %21, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #5
  %69 = call ptr @_ZNSt6vectorI8ParticleSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  store ptr %69, ptr %22, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #5
  %70 = call ptr @_ZNSt6vectorI8ParticleSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  store ptr %70, ptr %23, align 8
  %71 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP8ParticleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  br i1 %71, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %93, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  %72 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEdVEf(ptr noundef nonnull align 4 dereferenceable(12) %15, float noundef %68)
  %73 = getelementptr inbounds i8, ptr %0, i64 16
  %74 = load i32, ptr %73, align 8, !tbaa !32
  %75 = sitofp i32 %74 to float
  %76 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEdVEf(ptr noundef nonnull align 4 dereferenceable(12) %15, float noundef %75)
  %77 = getelementptr inbounds i8, ptr %0, i64 224
  %78 = load float, ptr %77, align 8, !tbaa !33
  %79 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEmLEf(ptr noundef nonnull align 4 dereferenceable(12) %15, float noundef %78)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %26) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %27) #5
  invoke void @_Z9normalizeIfE4Vec3IT_ERKS2_(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 4 %27, ptr noundef nonnull align 4 dereferenceable(12) %21)
          to label %101 unwind label %108

80:                                               ; preds = %11
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %13) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #5
  br label %123

82:                                               ; preds = %43
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %122

84:                                               ; preds = %49
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %121

86:                                               ; preds = %51
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %120

88:                                               ; preds = %52
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %119

90:                                               ; preds = %57
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %119

.lr.ph:                                           ; preds = %64, %93
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %24) #5
  %92 = call noundef nonnull align 4 dereferenceable(28) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP8ParticleSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  invoke void @_ZN8ParticleC2ERKS_(ptr noundef nonnull align 4 dereferenceable(28) %24, ptr noundef nonnull align 4 dereferenceable(28) %92)
          to label %93 unwind label %99

93:                                               ; preds = %.lr.ph
  %94 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN8Particle15incomeDirectionEv(ptr noundef nonnull align 4 dereferenceable(28) %24)
  %95 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEpLERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(12) %94)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %25) #5
  call void @_ZN4Vec3IfEC2Efff(ptr noundef nonnull align 4 dereferenceable(12) %25, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %96 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEpLERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %25)
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %25) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #5
  call void @_ZN8ParticleD2Ev(ptr noundef nonnull align 4 dereferenceable(28) %24) #5
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %24) #5
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP8ParticleSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  %98 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP8ParticleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  br i1 %98, label %.lr.ph, label %._crit_edge

99:                                               ; preds = %.lr.ph
  %100 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  br label %118

101:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %28) #5
  %102 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  invoke void @_ZNK4Vec3IfEngEv(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 4 %28, ptr noundef nonnull align 4 dereferenceable(12) %102)
          to label %103 unwind label %110

103:                                              ; preds = %101
  invoke void @_ZN8Material21evaluateColorResponseERK4Vec3IfES3_S3_(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 4 %26, ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %27, ptr noundef nonnull align 4 dereferenceable(12) %28)
          to label %104 unwind label %112

104:                                              ; preds = %103
  %105 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %26)
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %26) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %28) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %27) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %26) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %29) #5
  invoke void @_ZNK4Vec3IfEmlERKS0_(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 4 %29, ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %16)
          to label %106 unwind label %116

106:                                              ; preds = %104
  %107 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEpLERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %29)
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %29) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %29) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %21) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #5
  call void @_ZN8ParticleD2Ev(ptr noundef nonnull align 4 dereferenceable(28) %20) #5
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %20) #5
  call void @_ZNSt6vectorI8ParticleSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %18) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %18) #5
  call void @_ZN8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %16) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %15) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #5
  ret void

108:                                              ; preds = %._crit_edge
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %115

110:                                              ; preds = %101
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %114

112:                                              ; preds = %103
  %113 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %28) #5
  br label %114

114:                                              ; preds = %112, %110
  %.pn = phi { ptr, i32 } [ %113, %112 ], [ %111, %110 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %27) #5
  br label %115

115:                                              ; preds = %114, %108
  %.pn.pn = phi { ptr, i32 } [ %.pn, %114 ], [ %109, %108 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %27) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %26) #5
  br label %118

116:                                              ; preds = %104
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %29) #5
  br label %118

118:                                              ; preds = %116, %115, %99
  %.pn44 = phi { ptr, i32 } [ %100, %99 ], [ %117, %116 ], [ %.pn.pn, %115 ]
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %21) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %21) #5
  br label %119

119:                                              ; preds = %90, %118, %88
  %.pn44.pn.pn = phi { ptr, i32 } [ %89, %88 ], [ %.pn44, %118 ], [ %91, %90 ]
  call void @_ZN8ParticleD2Ev(ptr noundef nonnull align 4 dereferenceable(28) %20) #5
  br label %120

120:                                              ; preds = %119, %86
  %.pn44.pn.pn.pn = phi { ptr, i32 } [ %.pn44.pn.pn, %119 ], [ %87, %86 ]
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %20) #5
  call void @_ZNSt6vectorI8ParticleSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %18) #5
  br label %121

121:                                              ; preds = %120, %84
  %.pn44.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn44.pn.pn.pn, %120 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %18) #5
  call void @_ZN8MaterialD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #5
  br label %122

122:                                              ; preds = %121, %82
  %.pn44.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn44.pn.pn.pn.pn, %121 ], [ %83, %82 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %16) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #5
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %15) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #5
  br label %123

123:                                              ; preds = %122, %80
  %.pn44.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn44.pn.pn.pn.pn.pn, %122 ], [ %81, %80 ]
  resume { ptr, i32 } %.pn44.pn.pn.pn.pn.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8ParticleC2Ev(ptr noundef nonnull align 4 dereferenceable(28)) unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6kdtree8knearestERK8ParticleiRSt6vectorIS0_SaIS0_EE(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 4 dereferenceable(28), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef float @_Z4distIfET_RK4Vec3IS0_ES4_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(28) ptr @_ZNSt6vectorI8ParticleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #2 align 2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIP8ParticleSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(28) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP8ParticleSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !13, i64 20}
!12 = !{!"_ZTS8Renderer", !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !14, i64 24, !14, i64 64, !15, i64 104, !21, i64 112, !6, i64 224}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS9PhotonMap", !15, i64 0, !16, i64 8, !13, i64 32}
!15 = !{!"_ZTS9RayTracer"}
!16 = !{!"_ZTSSt6vectorI8ParticleSaIS0_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseI8ParticleSaIS0_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseI8ParticleSaIS0_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseI8ParticleSaIS0_EE17_Vector_impl_dataE", !20, i64 0, !20, i64 8, !20, i64 16}
!20 = !{!"any pointer", !7, i64 0}
!21 = !{!"_ZTS5Scene", !22, i64 8, !24, i64 64, !28, i64 88}
!22 = !{!"_ZTS6Camera", !6, i64 0, !6, i64 4, !23, i64 8, !23, i64 20, !23, i64 32, !23, i64 44}
!23 = !{!"_ZTS4Vec3IfE", !7, i64 0}
!24 = !{!"_ZTSSt6vectorI11LightSourceSaIS0_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseI11LightSourceSaIS0_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseI11LightSourceSaIS0_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseI11LightSourceSaIS0_EE17_Vector_impl_dataE", !20, i64 0, !20, i64 8, !20, i64 16}
!28 = !{!"_ZTSSt6vectorI4MeshSaIS0_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseI4MeshSaIS0_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseI4MeshSaIS0_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseI4MeshSaIS0_EE17_Vector_impl_dataE", !20, i64 0, !20, i64 8, !20, i64 16}
!32 = !{!12, !13, i64 16}
!33 = !{!12, !6, i64 224}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass