; LLVM IR from goldest-star/seawave-animation :: src/vcl/shape/mesh/mesh_primitive (mesh_primitive)

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

%"struct.std::array" = type { [3 x i32] }
%"struct.vcl::mesh" = type { %"struct.vcl::buffer", %"struct.vcl::buffer", %"struct.vcl::buffer.5", %"struct.vcl::buffer.11", %"struct.vcl::buffer.17" }
%"struct.vcl::buffer" = type { %"class.std::vector.0" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::buffer.5" = type { %"class.std::vector.6" }
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 4>, std::allocator<vcl::buffer_stack<float, 4>>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 4>, std::allocator<vcl::buffer_stack<float, 4>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 4>, std::allocator<vcl::buffer_stack<float, 4>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 4>, std::allocator<vcl::buffer_stack<float, 4>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::buffer.11" = type { %"class.std::vector.12" }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 2>, std::allocator<vcl::buffer_stack<float, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 2>, std::allocator<vcl::buffer_stack<float, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 2>, std::allocator<vcl::buffer_stack<float, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 2>, std::allocator<vcl::buffer_stack<float, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::buffer.17" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::array<unsigned int, 3>, std::allocator<std::array<unsigned int, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::array<unsigned int, 3>, std::allocator<std::array<unsigned int, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::array<unsigned int, 3>, std::allocator<std::array<unsigned int, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::array<unsigned int, 3>, std::allocator<std::array<unsigned int, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::buffer_stack" = type { float, float, float }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::initializer_list.19" = type { ptr, i64 }
%"struct.vcl::buffer_stack.18" = type { float, float }
%"class.std::initializer_list.20" = type { ptr, i64 }

@constinit = external hidden constant [2 x %"struct.std::array"], align 4

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

declare i32 @__gxx_personality_v0(...)

; 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 uwtable
declare dso_local void @_ZN3vcl4meshC2Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3vcl9normalizeILm3EEENS_12buffer_stackIfXT_EEERKS2_(ptr noundef nonnull align 4 dereferenceable(12)) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

declare void @_ZN3vcl12buffer_stackIfLm2EEC1Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #4

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3vcl4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3vclmiIfLm3EEENS_12buffer_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #6

declare { <2 x float>, float } @_ZN3vcl5crossERKNS_12buffer_stackIfLm3EEES3_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vcl19mesh_primitive_quadERKNS_12buffer_stackIfLm3EEES3_S3_S3_(ptr dead_on_unwind noalias writable sret(%"struct.vcl::mesh") align 8 %0, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4) #2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"struct.vcl::buffer_stack", align 4
  %12 = alloca %"struct.vcl::buffer_stack", align 4
  %13 = alloca %"struct.vcl::buffer_stack", align 4
  %14 = alloca %"struct.vcl::buffer_stack", align 4
  %15 = alloca { <2 x float>, float }, align 8
  %16 = alloca { <2 x float>, float }, align 8
  %17 = alloca %"struct.vcl::buffer_stack", align 4
  %18 = alloca %"struct.vcl::buffer_stack", align 4
  %19 = alloca { <2 x float>, float }, align 8
  %20 = alloca { <2 x float>, float }, align 8
  %21 = alloca { <2 x float>, float }, align 8
  %22 = alloca { <2 x float>, float }, align 8
  %23 = alloca i1, align 1
  %24 = alloca %"struct.vcl::buffer", align 8
  %25 = alloca %"class.std::initializer_list", align 8
  %26 = alloca [4 x %"struct.vcl::buffer_stack"], align 4
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca %"struct.vcl::buffer", align 8
  %30 = alloca %"class.std::initializer_list", align 8
  %31 = alloca [4 x %"struct.vcl::buffer_stack"], align 4
  %32 = alloca %"struct.vcl::buffer.11", align 8
  %33 = alloca %"class.std::initializer_list.19", align 8
  %34 = alloca [4 x %"struct.vcl::buffer_stack.18"], align 4
  %35 = alloca %"struct.vcl::buffer.17", align 8
  %36 = alloca %"class.std::initializer_list.20", align 8
  %37 = alloca [2 x %"struct.std::array"], align 4
  store ptr %0, ptr %6, align 8
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #7
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = call { <2 x float>, float } @_ZN3vclmiIfLm3EEENS_12buffer_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %38, ptr noundef nonnull align 4 dereferenceable(12) %39)
  store { <2 x float>, float } %40, ptr %15, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 8 %15, i64 12, i1 false)
  %41 = call { <2 x float>, float } @_ZN3vcl9normalizeILm3EEENS_12buffer_stackIfXT_EEERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %14)
  store { <2 x float>, float } %41, ptr %16, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 8 %16, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #7
  %42 = load ptr, ptr %10, align 8, !tbaa !5
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = call { <2 x float>, float } @_ZN3vclmiIfLm3EEENS_12buffer_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %42, ptr noundef nonnull align 4 dereferenceable(12) %43)
  store { <2 x float>, float } %44, ptr %19, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 8 %19, i64 12, i1 false)
  %45 = call { <2 x float>, float } @_ZN3vcl9normalizeILm3EEENS_12buffer_stackIfXT_EEERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %18)
  store { <2 x float>, float } %45, ptr %20, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 8 %20, i64 12, i1 false)
  %46 = call { <2 x float>, float } @_ZN3vcl5crossERKNS_12buffer_stackIfLm3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %17)
  store { <2 x float>, float } %46, ptr %21, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 8 %21, i64 12, i1 false)
  %47 = call { <2 x float>, float } @_ZN3vcl9normalizeILm3EEENS_12buffer_stackIfXT_EEERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %12)
  store { <2 x float>, float } %47, ptr %22, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 8 %22, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #7
  store i1 false, ptr %23, align 1
  call void @_ZN3vcl4meshC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0)
  call void @llvm.lifetime.start.p0(i64 24, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %26) #7
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %48, i64 12, i1 false), !tbaa.struct !9
  %49 = getelementptr inbounds %"struct.vcl::buffer_stack", ptr %26, i64 1
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 4 %50, i64 12, i1 false), !tbaa.struct !9
  %51 = getelementptr inbounds %"struct.vcl::buffer_stack", ptr %26, i64 2
  %52 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %52, i64 12, i1 false), !tbaa.struct !9
  %53 = getelementptr inbounds %"struct.vcl::buffer_stack", ptr %26, i64 3
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 4 %54, i64 12, i1 false), !tbaa.struct !9
  %55 = getelementptr inbounds %"class.std::initializer_list", ptr %25, i32 0, i32 0
  store ptr %26, ptr %55, align 8, !tbaa !12
  %56 = getelementptr inbounds %"class.std::initializer_list", ptr %25, i32 0, i32 1
  store i64 4, ptr %56, align 8, !tbaa !15
  %57 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 0
  %58 = load ptr, ptr %57, align 8
  %59 = getelementptr inbounds { ptr, i64 }, ptr %25, i32 0, i32 1
  %60 = load i64, ptr %59, align 8
  invoke void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr %58, i64 %60)
          to label %61 unwind label %102

61:                                               ; preds = %5
  %62 = getelementptr inbounds %"struct.vcl::mesh", ptr %0, i32 0, i32 0
  %63 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %62, ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr %31) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %11, i64 12, i1 false), !tbaa.struct !9
  %64 = getelementptr inbounds %"struct.vcl::buffer_stack", ptr %31, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %64, ptr align 4 %11, i64 12, i1 false), !tbaa.struct !9
  %65 = getelementptr inbounds %"struct.vcl::buffer_stack", ptr %31, i64 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %65, ptr align 4 %11, i64 12, i1 false), !tbaa.struct !9
  %66 = getelementptr inbounds %"struct.vcl::buffer_stack", ptr %31, i64 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %66, ptr align 4 %11, i64 12, i1 false), !tbaa.struct !9
  %67 = getelementptr inbounds %"class.std::initializer_list", ptr %30, i32 0, i32 0
  store ptr %31, ptr %67, align 8, !tbaa !12
  %68 = getelementptr inbounds %"class.std::initializer_list", ptr %30, i32 0, i32 1
  store i64 4, ptr %68, align 8, !tbaa !15
  %69 = getelementptr inbounds { ptr, i64 }, ptr %30, i32 0, i32 0
  %70 = load ptr, ptr %69, align 8
  %71 = getelementptr inbounds { ptr, i64 }, ptr %30, i32 0, i32 1
  %72 = load i64, ptr %71, align 8
  invoke void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %29, ptr %70, i64 %72)
          to label %73 unwind label %106

73:                                               ; preds = %61
  %74 = getelementptr inbounds %"struct.vcl::mesh", ptr %0, i32 0, i32 1
  %75 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %74, ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %34) #7
  invoke void @_ZN3vcl12buffer_stackIfLm2EEC1Eff(ptr noundef nonnull align 4 dereferenceable(8) %34, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %76 unwind label %110

76:                                               ; preds = %73
  %77 = getelementptr inbounds %"struct.vcl::buffer_stack.18", ptr %34, i64 1
  invoke void @_ZN3vcl12buffer_stackIfLm2EEC1Eff(ptr noundef nonnull align 4 dereferenceable(8) %77, float noundef 1.000000e+00, float noundef 0.000000e+00)
          to label %78 unwind label %110

78:                                               ; preds = %76
  %79 = getelementptr inbounds %"struct.vcl::buffer_stack.18", ptr %34, i64 2
  invoke void @_ZN3vcl12buffer_stackIfLm2EEC1Eff(ptr noundef nonnull align 4 dereferenceable(8) %79, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %80 unwind label %110

80:                                               ; preds = %78
  %81 = getelementptr inbounds %"struct.vcl::buffer_stack.18", ptr %34, i64 3
  invoke void @_ZN3vcl12buffer_stackIfLm2EEC1Eff(ptr noundef nonnull align 4 dereferenceable(8) %81, float noundef 0.000000e+00, float noundef 1.000000e+00)
          to label %82 unwind label %110

82:                                               ; preds = %80
  %83 = getelementptr inbounds %"class.std::initializer_list.19", ptr %33, i32 0, i32 0
  store ptr %34, ptr %83, align 8, !tbaa !16
  %84 = getelementptr inbounds %"class.std::initializer_list.19", ptr %33, i32 0, i32 1
  store i64 4, ptr %84, align 8, !tbaa !18
  %85 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 0
  %86 = load ptr, ptr %85, align 8
  %87 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 1
  %88 = load i64, ptr %87, align 8
  invoke void @_ZN3vcl6bufferINS_12buffer_stackIfLm2EEEEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr %86, i64 %88)
          to label %89 unwind label %110

89:                                               ; preds = %82
  %90 = getelementptr inbounds %"struct.vcl::mesh", ptr %0, i32 0, i32 3
  %91 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3vcl6bufferINS_12buffer_stackIfLm2EEEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %90, ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm2EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 @constinit, i64 24, i1 false), !tbaa.struct !19
  %92 = getelementptr inbounds %"class.std::initializer_list.20", ptr %36, i32 0, i32 0
  store ptr %37, ptr %92, align 8, !tbaa !21
  %93 = getelementptr inbounds %"class.std::initializer_list.20", ptr %36, i32 0, i32 1
  store i64 2, ptr %93, align 8, !tbaa !23
  %94 = getelementptr inbounds { ptr, i64 }, ptr %36, i32 0, i32 0
  %95 = load ptr, ptr %94, align 8
  %96 = getelementptr inbounds { ptr, i64 }, ptr %36, i32 0, i32 1
  %97 = load i64, ptr %96, align 8
  invoke void @_ZN3vcl6bufferISt5arrayIjLm3EEEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr %95, i64 %97)
          to label %98 unwind label %114

98:                                               ; preds = %89
  %99 = getelementptr inbounds %"struct.vcl::mesh", ptr %0, i32 0, i32 4
  %100 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3vcl6bufferISt5arrayIjLm3EEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %99, ptr noundef nonnull align 8 dereferenceable(24) %35) #7
  call void @_ZN3vcl6bufferISt5arrayIjLm3EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #7
  store i1 true, ptr %23, align 1
  %101 = load i1, ptr %23, align 1
  br i1 %101, label %119, label %118

102:                                              ; preds = %5
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %27, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %24) #7
  br label %120

106:                                              ; preds = %61
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %27, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  br label %120

110:                                              ; preds = %82, %80, %78, %76, %73
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %27, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #7
  br label %120

114:                                              ; preds = %89
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %27, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %28, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #7
  br label %120

118:                                              ; preds = %98
  call void @_ZN3vcl4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #7
  br label %119

119:                                              ; preds = %118, %98
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #7
  ret void

120:                                              ; preds = %114, %110, %106, %102
  call void @_ZN3vcl4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #7
  br label %121

121:                                              ; preds = %120
  %122 = load ptr, ptr %27, align 8
  %123 = load i32, ptr %28, align 4
  %124 = insertvalue { ptr, i32 } poison, ptr %122, 0
  %125 = insertvalue { ptr, i32 } %124, i32 %123, 1
  resume { ptr, i32 } %125
}

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #6 = { 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 #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 = !{i64 0, i64 4, !10, i64 4, i64 4, !10, i64 8, i64 4, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"float", !7, i64 0}
!12 = !{!13, !6, i64 0}
!13 = !{!"_ZTSSt16initializer_listIN3vcl12buffer_stackIfLm3EEEE", !6, i64 0, !14, i64 8}
!14 = !{!"long", !7, i64 0}
!15 = !{!13, !14, i64 8}
!16 = !{!17, !6, i64 0}
!17 = !{!"_ZTSSt16initializer_listIN3vcl12buffer_stackIfLm2EEEE", !6, i64 0, !14, i64 8}
!18 = !{!17, !14, i64 8}
!19 = !{i64 0, i64 24, !20}
!20 = !{!7, !7, i64 0}
!21 = !{!22, !6, i64 0}
!22 = !{!"_ZTSSt16initializer_listISt5arrayIjLm3EEE", !6, i64 0, !14, i64 8}
!23 = !{!22, !14, i64 8}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::array" = type { [3 x i32] }
%"struct.vcl::mesh" = type { %"struct.vcl::buffer", %"struct.vcl::buffer", %"struct.vcl::buffer.5", %"struct.vcl::buffer.11", %"struct.vcl::buffer.17" }
%"struct.vcl::buffer" = type { %"class.std::vector.0" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::buffer.5" = type { %"class.std::vector.6" }
%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 4>, std::allocator<vcl::buffer_stack<float, 4>>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 4>, std::allocator<vcl::buffer_stack<float, 4>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 4>, std::allocator<vcl::buffer_stack<float, 4>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 4>, std::allocator<vcl::buffer_stack<float, 4>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::buffer.11" = type { %"class.std::vector.12" }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 2>, std::allocator<vcl::buffer_stack<float, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 2>, std::allocator<vcl::buffer_stack<float, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 2>, std::allocator<vcl::buffer_stack<float, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 2>, std::allocator<vcl::buffer_stack<float, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::buffer.17" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::array<unsigned int, 3>, std::allocator<std::array<unsigned int, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::array<unsigned int, 3>, std::allocator<std::array<unsigned int, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::array<unsigned int, 3>, std::allocator<std::array<unsigned int, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::array<unsigned int, 3>, std::allocator<std::array<unsigned int, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::buffer_stack" = type { float, float, float }
%"struct.vcl::buffer_stack.18" = type { float, float }

@constinit = external hidden local_unnamed_addr constant [2 x %"struct.std::array"], align 4

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

declare i32 @__gxx_personality_v0(...)

; 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 uwtable
declare dso_local void @_ZN3vcl4meshC2Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3vcl9normalizeILm3EEENS_12buffer_stackIfXT_EEERKS2_(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

declare void @_ZN3vcl12buffer_stackIfLm2EEC1Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #4

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3vcl4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3vclmiIfLm3EEENS_12buffer_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #6

declare { <2 x float>, float } @_ZN3vcl5crossERKNS_12buffer_stackIfLm3EEES3_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3vcl19mesh_primitive_quadERKNS_12buffer_stackIfLm3EEES3_S3_S3_(ptr dead_on_unwind noalias writable sret(%"struct.vcl::mesh") align 8 %0, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr nocapture noundef nonnull readonly align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"struct.vcl::buffer_stack", align 8
  %7 = alloca %"struct.vcl::buffer_stack", align 8
  %8 = alloca %"struct.vcl::buffer_stack", align 8
  %9 = alloca %"struct.vcl::buffer_stack", align 8
  %10 = alloca %"struct.vcl::buffer_stack", align 8
  %11 = alloca %"struct.vcl::buffer", align 8
  %12 = alloca [4 x %"struct.vcl::buffer_stack"], align 4
  %13 = alloca %"struct.vcl::buffer", align 8
  %14 = alloca [4 x %"struct.vcl::buffer_stack"], align 8
  %15 = alloca %"struct.vcl::buffer.11", align 8
  %16 = alloca [4 x %"struct.vcl::buffer_stack.18"], align 4
  %17 = alloca %"struct.vcl::buffer.17", align 8
  %18 = alloca [2 x %"struct.std::array"], align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #7
  %19 = tail call { <2 x float>, float } @_ZN3vclmiIfLm3EEENS_12buffer_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %1)
  %.fca.0.extract26 = extractvalue { <2 x float>, float } %19, 0
  %.fca.1.extract27 = extractvalue { <2 x float>, float } %19, 1
  store <2 x float> %.fca.0.extract26, ptr %8, align 8
  %.sroa.229.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 8
  store float %.fca.1.extract27, ptr %.sroa.229.0..sroa_idx, align 8
  %20 = call { <2 x float>, float } @_ZN3vcl9normalizeILm3EEENS_12buffer_stackIfXT_EEERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %8)
  %.fca.0.extract22 = extractvalue { <2 x float>, float } %20, 0
  %.fca.1.extract23 = extractvalue { <2 x float>, float } %20, 1
  store <2 x float> %.fca.0.extract22, ptr %7, align 8
  %.sroa.225.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  store float %.fca.1.extract23, ptr %.sroa.225.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #7
  %21 = call { <2 x float>, float } @_ZN3vclmiIfLm3EEENS_12buffer_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %1)
  %.fca.0.extract18 = extractvalue { <2 x float>, float } %21, 0
  %.fca.1.extract19 = extractvalue { <2 x float>, float } %21, 1
  store <2 x float> %.fca.0.extract18, ptr %10, align 8
  %.sroa.221.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 8
  store float %.fca.1.extract19, ptr %.sroa.221.0..sroa_idx, align 8
  %22 = call { <2 x float>, float } @_ZN3vcl9normalizeILm3EEENS_12buffer_stackIfXT_EEERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %10)
  %.fca.0.extract14 = extractvalue { <2 x float>, float } %22, 0
  %.fca.1.extract15 = extractvalue { <2 x float>, float } %22, 1
  store <2 x float> %.fca.0.extract14, ptr %9, align 8
  %.sroa.217.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  store float %.fca.1.extract15, ptr %.sroa.217.0..sroa_idx, align 8
  %23 = call { <2 x float>, float } @_ZN3vcl5crossERKNS_12buffer_stackIfLm3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %9)
  %.fca.0.extract10 = extractvalue { <2 x float>, float } %23, 0
  %.fca.1.extract11 = extractvalue { <2 x float>, float } %23, 1
  store <2 x float> %.fca.0.extract10, ptr %6, align 8
  %.sroa.213.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  store float %.fca.1.extract11, ptr %.sroa.213.0..sroa_idx, align 8
  %24 = call { <2 x float>, float } @_ZN3vcl9normalizeILm3EEENS_12buffer_stackIfXT_EEERKS2_(ptr noundef nonnull align 4 dereferenceable(12) %6)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #7
  call void @_ZN3vcl4meshC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %12, ptr noundef nonnull align 4 dereferenceable(12) %1, i64 12, i1 false), !tbaa.struct !5
  %25 = getelementptr inbounds i8, ptr %12, i64 12
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(12) %2, i64 12, i1 false), !tbaa.struct !5
  %26 = getelementptr inbounds i8, ptr %12, i64 24
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(12) %3, i64 12, i1 false), !tbaa.struct !5
  %27 = getelementptr inbounds i8, ptr %12, i64 36
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %27, ptr noundef nonnull align 4 dereferenceable(12) %4, i64 12, i1 false), !tbaa.struct !5
  invoke void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr nonnull %12, i64 4)
          to label %28 unwind label %49

28:                                               ; preds = %5
  %.fca.1.extract = extractvalue { <2 x float>, float } %24, 1
  %.fca.0.extract = extractvalue { <2 x float>, float } %24, 0
  %29 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %14) #7
  store <2 x float> %.fca.0.extract, ptr %14, align 8
  %.sroa.8.0..sroa_idx = getelementptr inbounds i8, ptr %14, i64 8
  store float %.fca.1.extract, ptr %.sroa.8.0..sroa_idx, align 8, !tbaa !6
  %30 = getelementptr inbounds i8, ptr %14, i64 12
  store <2 x float> %.fca.0.extract, ptr %30, align 4
  %.sroa.8.0..sroa_idx34 = getelementptr inbounds i8, ptr %14, i64 20
  store float %.fca.1.extract, ptr %.sroa.8.0..sroa_idx34, align 4, !tbaa !6
  %31 = getelementptr inbounds i8, ptr %14, i64 24
  store <2 x float> %.fca.0.extract, ptr %31, align 8
  %.sroa.8.0..sroa_idx36 = getelementptr inbounds i8, ptr %14, i64 32
  store float %.fca.1.extract, ptr %.sroa.8.0..sroa_idx36, align 8, !tbaa !6
  %32 = getelementptr inbounds i8, ptr %14, i64 36
  store <2 x float> %.fca.0.extract, ptr %32, align 4
  %.sroa.8.0..sroa_idx38 = getelementptr inbounds i8, ptr %14, i64 44
  store float %.fca.1.extract, ptr %.sroa.8.0..sroa_idx38, align 4, !tbaa !6
  invoke void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr nonnull %14, i64 4)
          to label %33 unwind label %51

33:                                               ; preds = %28
  %34 = getelementptr inbounds i8, ptr %0, i64 24
  %35 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #7
  invoke void @_ZN3vcl12buffer_stackIfLm2EEC1Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %36 unwind label %53

36:                                               ; preds = %33
  %37 = getelementptr inbounds i8, ptr %16, i64 8
  invoke void @_ZN3vcl12buffer_stackIfLm2EEC1Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef 1.000000e+00, float noundef 0.000000e+00)
          to label %38 unwind label %53

38:                                               ; preds = %36
  %39 = getelementptr inbounds i8, ptr %16, i64 16
  invoke void @_ZN3vcl12buffer_stackIfLm2EEC1Eff(ptr noundef nonnull align 4 dereferenceable(8) %39, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %40 unwind label %53

40:                                               ; preds = %38
  %41 = getelementptr inbounds i8, ptr %16, i64 24
  invoke void @_ZN3vcl12buffer_stackIfLm2EEC1Eff(ptr noundef nonnull align 4 dereferenceable(8) %41, float noundef 0.000000e+00, float noundef 1.000000e+00)
          to label %42 unwind label %53

42:                                               ; preds = %40
  invoke void @_ZN3vcl6bufferINS_12buffer_stackIfLm2EEEEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr nonnull %16, i64 4)
          to label %43 unwind label %53

43:                                               ; preds = %42
  %44 = getelementptr inbounds i8, ptr %0, i64 72
  %45 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3vcl6bufferINS_12buffer_stackIfLm2EEEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @_ZN3vcl6bufferINS_12buffer_stackIfLm2EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #7
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(24) %18, ptr noundef nonnull align 4 dereferenceable(24) @constinit, i64 24, i1 false), !tbaa.struct !10
  invoke void @_ZN3vcl6bufferISt5arrayIjLm3EEEC2ESt16initializer_listIS2_E(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr nonnull %18, i64 2)
          to label %46 unwind label %55

46:                                               ; preds = %43
  %47 = getelementptr inbounds i8, ptr %0, i64 96
  %48 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3vcl6bufferISt5arrayIjLm3EEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %47, ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @_ZN3vcl6bufferISt5arrayIjLm3EEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  ret void

49:                                               ; preds = %5
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  br label %57

51:                                               ; preds = %28
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  br label %57

53:                                               ; preds = %42, %40, %38, %36, %33
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  br label %57

55:                                               ; preds = %43
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  br label %57

57:                                               ; preds = %55, %53, %51, %49
  %.pn = phi { ptr, i32 } [ %56, %55 ], [ %54, %53 ], [ %52, %51 ], [ %50, %49 ]
  call void @_ZN3vcl4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #7
  resume { ptr, i32 } %.pn
}

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #6 = { 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 #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 = !{i64 0, i64 4, !6, i64 4, i64 4, !6, i64 8, i64 4, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{i64 0, i64 24, !11}
!11 = !{!8, !8, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass