; LLVM IR from drohmer/cgp :: library/cgp/11_mesh/primitive (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.cgp::mesh" = type { %"struct.cgp::numarray", %"struct.cgp::numarray", %"struct.cgp::numarray", %"struct.cgp::numarray.0", %"struct.cgp::numarray.6" }
%"struct.cgp::numarray" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::numarray.0" = type { %"class.std::vector.1" }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::numarray.6" = type { %"class.std::vector.7" }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::numarray_stack" = type { float, float, float }

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

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

; 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) #2

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 { <2 x float>, float } @_ZN3cgpdvERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) #1

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

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

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

declare noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind noalias writable sret(%"struct.cgp::mesh") align 8, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #6

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cgp19mesh_primitive_cubeERKNS_14numarray_stackIfLi3EEEf(ptr dead_on_unwind noalias writable sret(%"struct.cgp::mesh") align 8 %0, ptr noundef nonnull align 4 dereferenceable(12) %1, float noundef %2) #6 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca float, align 4
  %7 = alloca %"struct.cgp::numarray_stack", align 4
  %8 = alloca %"struct.cgp::numarray_stack", align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca { <2 x float>, float }, align 8
  %13 = alloca %"struct.cgp::numarray_stack", align 4
  %14 = alloca %"struct.cgp::numarray_stack", align 4
  %15 = alloca { <2 x float>, float }, align 8
  %16 = alloca { <2 x float>, float }, align 8
  %17 = alloca %"struct.cgp::numarray_stack", align 4
  %18 = alloca %"struct.cgp::numarray_stack", align 4
  %19 = alloca %"struct.cgp::numarray_stack", align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca { <2 x float>, float }, align 8
  %24 = alloca { <2 x float>, float }, align 8
  %25 = alloca %"struct.cgp::numarray_stack", align 4
  %26 = alloca %"struct.cgp::numarray_stack", align 4
  %27 = alloca %"struct.cgp::numarray_stack", align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca { <2 x float>, float }, align 8
  %32 = alloca { <2 x float>, float }, align 8
  %33 = alloca %"struct.cgp::numarray_stack", align 4
  %34 = alloca %"struct.cgp::numarray_stack", align 4
  %35 = alloca %"struct.cgp::numarray_stack", align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca { <2 x float>, float }, align 8
  %40 = alloca { <2 x float>, float }, align 8
  %41 = alloca %"struct.cgp::numarray_stack", align 4
  %42 = alloca %"struct.cgp::numarray_stack", align 4
  %43 = alloca %"struct.cgp::numarray_stack", align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca { <2 x float>, float }, align 8
  %48 = alloca { <2 x float>, float }, align 8
  %49 = alloca %"struct.cgp::numarray_stack", align 4
  %50 = alloca %"struct.cgp::numarray_stack", align 4
  %51 = alloca %"struct.cgp::numarray_stack", align 4
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca i32, align 4
  %55 = alloca { <2 x float>, float }, align 8
  %56 = alloca { <2 x float>, float }, align 8
  %57 = alloca %"struct.cgp::numarray_stack", align 4
  %58 = alloca %"struct.cgp::numarray_stack", align 4
  %59 = alloca %"struct.cgp::numarray_stack", align 4
  %60 = alloca i32, align 4
  %61 = alloca i32, align 4
  %62 = alloca i32, align 4
  %63 = alloca { <2 x float>, float }, align 8
  %64 = alloca { <2 x float>, float }, align 8
  %65 = alloca %"struct.cgp::numarray_stack", align 4
  %66 = alloca %"struct.cgp::numarray_stack", align 4
  %67 = alloca %"struct.cgp::numarray_stack", align 4
  %68 = alloca i32, align 4
  %69 = alloca i32, align 4
  %70 = alloca i32, align 4
  %71 = alloca { <2 x float>, float }, align 8
  %72 = alloca { <2 x float>, float }, align 8
  %73 = alloca i1, align 1
  %74 = alloca %"struct.cgp::mesh", align 8
  %75 = alloca ptr, align 8
  %76 = alloca i32, align 4
  %77 = alloca %"struct.cgp::mesh", align 8
  %78 = alloca %"struct.cgp::mesh", align 8
  %79 = alloca %"struct.cgp::mesh", align 8
  %80 = alloca %"struct.cgp::mesh", align 8
  %81 = alloca %"struct.cgp::mesh", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store float %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %7) #8
  %82 = load float, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 1, ptr %9, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 1, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 1, ptr %11, align 4, !tbaa !11
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %83 = call { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %82, ptr noundef nonnull align 4 dereferenceable(12) %8)
  store { <2 x float>, float } %83, ptr %12, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 8 %12, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %13) #8
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #8
  %85 = call { <2 x float>, float } @_ZN3cgpdvERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12) %7, float noundef 2.000000e+00)
  store { <2 x float>, float } %85, ptr %15, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 8 %15, i64 12, i1 false)
  %86 = call { <2 x float>, float } @_ZN3cgpmiERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %84, ptr noundef nonnull align 4 dereferenceable(12) %14)
  store { <2 x float>, float } %86, 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.end.p0(i64 12, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 1, ptr %20, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 0, ptr %21, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 0, ptr %22, align 4, !tbaa !11
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %22)
  %87 = call { <2 x float>, float } @_ZN3cgpmlIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %19)
  store { <2 x float>, float } %87, ptr %23, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 8 %23, i64 12, i1 false)
  %88 = call { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %18)
  store { <2 x float>, float } %88, ptr %24, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 8 %24, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  store i32 1, ptr %28, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  store i32 1, ptr %29, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  store i32 0, ptr %30, align 4, !tbaa !11
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %27, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 4 dereferenceable(4) %30)
  %89 = call { <2 x float>, float } @_ZN3cgpmlIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %27)
  store { <2 x float>, float } %89, ptr %31, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 8 %31, i64 12, i1 false)
  %90 = call { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %26)
  store { <2 x float>, float } %90, ptr %32, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 8 %32, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %33) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %35) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  store i32 0, ptr %36, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  store i32 1, ptr %37, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #8
  store i32 0, ptr %38, align 4, !tbaa !11
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %35, ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 4 dereferenceable(4) %38)
  %91 = call { <2 x float>, float } @_ZN3cgpmlIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %35)
  store { <2 x float>, float } %91, ptr %39, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 8 %39, i64 12, i1 false)
  %92 = call { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %34)
  store { <2 x float>, float } %92, ptr %40, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 8 %40, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %41) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %42) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %43) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #8
  store i32 0, ptr %44, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #8
  store i32 0, ptr %45, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #8
  store i32 1, ptr %46, align 4, !tbaa !11
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %43, ptr noundef nonnull align 4 dereferenceable(4) %44, ptr noundef nonnull align 4 dereferenceable(4) %45, ptr noundef nonnull align 4 dereferenceable(4) %46)
  %93 = call { <2 x float>, float } @_ZN3cgpmlIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %43)
  store { <2 x float>, float } %93, ptr %47, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 8 %47, i64 12, i1 false)
  %94 = call { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %42)
  store { <2 x float>, float } %94, ptr %48, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 8 %48, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %49) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %50) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %51) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #8
  store i32 1, ptr %52, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #8
  store i32 0, ptr %53, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #8
  store i32 1, ptr %54, align 4, !tbaa !11
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %51, ptr noundef nonnull align 4 dereferenceable(4) %52, ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull align 4 dereferenceable(4) %54)
  %95 = call { <2 x float>, float } @_ZN3cgpmlIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %51)
  store { <2 x float>, float } %95, ptr %55, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 8 %55, i64 12, i1 false)
  %96 = call { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %50)
  store { <2 x float>, float } %96, ptr %56, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 8 %56, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %50) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %57) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %58) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %59) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #8
  store i32 1, ptr %60, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #8
  store i32 1, ptr %61, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #8
  store i32 1, ptr %62, align 4, !tbaa !11
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %59, ptr noundef nonnull align 4 dereferenceable(4) %60, ptr noundef nonnull align 4 dereferenceable(4) %61, ptr noundef nonnull align 4 dereferenceable(4) %62)
  %97 = call { <2 x float>, float } @_ZN3cgpmlIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %59)
  store { <2 x float>, float } %97, ptr %63, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %58, ptr align 8 %63, i64 12, i1 false)
  %98 = call { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %58)
  store { <2 x float>, float } %98, ptr %64, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %57, ptr align 8 %64, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %59) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %58) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %65) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %66) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %67) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %68) #8
  store i32 0, ptr %68, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %69) #8
  store i32 1, ptr %69, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #8
  store i32 1, ptr %70, align 4, !tbaa !11
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %67, ptr noundef nonnull align 4 dereferenceable(4) %68, ptr noundef nonnull align 4 dereferenceable(4) %69, ptr noundef nonnull align 4 dereferenceable(4) %70)
  %99 = call { <2 x float>, float } @_ZN3cgpmlIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %67)
  store { <2 x float>, float } %99, ptr %71, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %66, ptr align 8 %71, i64 12, i1 false)
  %100 = call { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %66)
  store { <2 x float>, float } %100, ptr %72, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %65, ptr align 8 %72, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %67) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %66) #8
  store i1 false, ptr %73, align 1
  call void @_ZN3cgp4meshC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0)
  call void @llvm.lifetime.start.p0(i64 120, ptr %74) #8
  invoke void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8 %74, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %49, ptr noundef nonnull align 4 dereferenceable(12) %41)
          to label %101 unwind label %120

101:                                              ; preds = %3
  %102 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(120) %74)
          to label %103 unwind label %124

103:                                              ; preds = %101
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %74) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr %74) #8
  call void @llvm.lifetime.start.p0(i64 120, ptr %77) #8
  invoke void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8 %77, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(12) %57, ptr noundef nonnull align 4 dereferenceable(12) %49)
          to label %104 unwind label %129

104:                                              ; preds = %103
  %105 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(120) %77)
          to label %106 unwind label %133

106:                                              ; preds = %104
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %77) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr %77) #8
  call void @llvm.lifetime.start.p0(i64 120, ptr %78) #8
  invoke void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8 %78, ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(12) %33, ptr noundef nonnull align 4 dereferenceable(12) %65, ptr noundef nonnull align 4 dereferenceable(12) %57)
          to label %107 unwind label %138

107:                                              ; preds = %106
  %108 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(120) %78)
          to label %109 unwind label %142

109:                                              ; preds = %107
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %78) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr %78) #8
  call void @llvm.lifetime.start.p0(i64 120, ptr %79) #8
  invoke void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8 %79, ptr noundef nonnull align 4 dereferenceable(12) %33, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %41, ptr noundef nonnull align 4 dereferenceable(12) %65)
          to label %110 unwind label %147

110:                                              ; preds = %109
  %111 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(120) %79)
          to label %112 unwind label %151

112:                                              ; preds = %110
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %79) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr %79) #8
  call void @llvm.lifetime.start.p0(i64 120, ptr %80) #8
  invoke void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8 %80, ptr noundef nonnull align 4 dereferenceable(12) %41, ptr noundef nonnull align 4 dereferenceable(12) %49, ptr noundef nonnull align 4 dereferenceable(12) %57, ptr noundef nonnull align 4 dereferenceable(12) %65)
          to label %113 unwind label %156

113:                                              ; preds = %112
  %114 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(120) %80)
          to label %115 unwind label %160

115:                                              ; preds = %113
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %80) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr %80) #8
  call void @llvm.lifetime.start.p0(i64 120, ptr %81) #8
  invoke void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind writable sret(%"struct.cgp::mesh") align 8 %81, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(12) %33, ptr noundef nonnull align 4 dereferenceable(12) %25)
          to label %116 unwind label %165

116:                                              ; preds = %115
  %117 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(120) %81)
          to label %118 unwind label %169

118:                                              ; preds = %116
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %81) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr %81) #8
  store i1 true, ptr %73, align 1
  %119 = load i1, ptr %73, align 1
  br i1 %119, label %175, label %174

120:                                              ; preds = %3
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %75, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %76, align 4
  br label %128

124:                                              ; preds = %101
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %75, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %76, align 4
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %74) #8
  br label %128

128:                                              ; preds = %124, %120
  call void @llvm.lifetime.end.p0(i64 120, ptr %74) #8
  br label %176

129:                                              ; preds = %103
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %75, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %76, align 4
  br label %137

133:                                              ; preds = %104
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %75, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %76, align 4
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %77) #8
  br label %137

137:                                              ; preds = %133, %129
  call void @llvm.lifetime.end.p0(i64 120, ptr %77) #8
  br label %176

138:                                              ; preds = %106
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %75, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %76, align 4
  br label %146

142:                                              ; preds = %107
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %75, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %76, align 4
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %78) #8
  br label %146

146:                                              ; preds = %142, %138
  call void @llvm.lifetime.end.p0(i64 120, ptr %78) #8
  br label %176

147:                                              ; preds = %109
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %75, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %76, align 4
  br label %155

151:                                              ; preds = %110
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %75, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %76, align 4
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %79) #8
  br label %155

155:                                              ; preds = %151, %147
  call void @llvm.lifetime.end.p0(i64 120, ptr %79) #8
  br label %176

156:                                              ; preds = %112
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %75, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %76, align 4
  br label %164

160:                                              ; preds = %113
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %75, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %76, align 4
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %80) #8
  br label %164

164:                                              ; preds = %160, %156
  call void @llvm.lifetime.end.p0(i64 120, ptr %80) #8
  br label %176

165:                                              ; preds = %115
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %75, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %76, align 4
  br label %173

169:                                              ; preds = %116
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %75, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %76, align 4
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %81) #8
  br label %173

173:                                              ; preds = %169, %165
  call void @llvm.lifetime.end.p0(i64 120, ptr %81) #8
  br label %176

174:                                              ; preds = %118
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #8
  br label %175

175:                                              ; preds = %174, %118
  call void @llvm.lifetime.end.p0(i64 12, ptr %65) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %7) #8
  ret void

176:                                              ; preds = %173, %164, %155, %146, %137, %128
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %65) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %7) #8
  br label %177

177:                                              ; preds = %176
  %178 = load ptr, ptr %75, align 8
  %179 = load i32, ptr %76, align 4
  %180 = insertvalue { ptr, i32 } poison, ptr %178, 0
  %181 = insertvalue { ptr, i32 } %180, i32 %179, 1
  resume { ptr, i32 } %181
}

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


; 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.cgp::mesh" = type { %"struct.cgp::numarray", %"struct.cgp::numarray", %"struct.cgp::numarray", %"struct.cgp::numarray.0", %"struct.cgp::numarray.6" }
%"struct.cgp::numarray" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 3>, std::allocator<cgp::numarray_stack<float, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::numarray.0" = type { %"class.std::vector.1" }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<float, 2>, std::allocator<cgp::numarray_stack<float, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::numarray.6" = type { %"class.std::vector.7" }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<cgp::numarray_stack<unsigned int, 3>, std::allocator<cgp::numarray_stack<unsigned int, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.cgp::numarray_stack" = type { float, float, float }

; 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 uwtable
declare dso_local { <2 x float>, float } @_ZN3cgpmiERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1

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 { <2 x float>, float } @_ZN3cgpdvERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #1

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

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

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

declare noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind noalias writable sret(%"struct.cgp::mesh") align 8, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cgp19mesh_primitive_cubeERKNS_14numarray_stackIfLi3EEEf(ptr dead_on_unwind noalias writable sret(%"struct.cgp::mesh") align 8 %0, ptr noundef nonnull align 4 dereferenceable(12) %1, float noundef %2) local_unnamed_addr #5 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"struct.cgp::numarray_stack", align 8
  %5 = alloca %"struct.cgp::numarray_stack", align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"struct.cgp::numarray_stack", align 8
  %10 = alloca %"struct.cgp::numarray_stack", align 8
  %11 = alloca %"struct.cgp::numarray_stack", align 8
  %12 = alloca %"struct.cgp::numarray_stack", align 8
  %13 = alloca %"struct.cgp::numarray_stack", align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %"struct.cgp::numarray_stack", align 8
  %18 = alloca %"struct.cgp::numarray_stack", align 8
  %19 = alloca %"struct.cgp::numarray_stack", align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca %"struct.cgp::numarray_stack", align 8
  %24 = alloca %"struct.cgp::numarray_stack", align 8
  %25 = alloca %"struct.cgp::numarray_stack", align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca %"struct.cgp::numarray_stack", align 8
  %30 = alloca %"struct.cgp::numarray_stack", align 8
  %31 = alloca %"struct.cgp::numarray_stack", align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca %"struct.cgp::numarray_stack", align 8
  %36 = alloca %"struct.cgp::numarray_stack", align 8
  %37 = alloca %"struct.cgp::numarray_stack", align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca %"struct.cgp::numarray_stack", align 8
  %42 = alloca %"struct.cgp::numarray_stack", align 8
  %43 = alloca %"struct.cgp::numarray_stack", align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca %"struct.cgp::numarray_stack", align 8
  %48 = alloca %"struct.cgp::numarray_stack", align 8
  %49 = alloca %"struct.cgp::numarray_stack", align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca i32, align 4
  %53 = alloca %"struct.cgp::mesh", align 8
  %54 = alloca %"struct.cgp::mesh", align 8
  %55 = alloca %"struct.cgp::mesh", align 8
  %56 = alloca %"struct.cgp::mesh", align 8
  %57 = alloca %"struct.cgp::mesh", align 8
  %58 = alloca %"struct.cgp::mesh", align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  store i32 1, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  store i32 1, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  store i32 1, ptr %8, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %59 = call { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %2, ptr noundef nonnull align 4 dereferenceable(12) %5)
  %.fca.0.extract62 = extractvalue { <2 x float>, float } %59, 0
  %.fca.1.extract63 = extractvalue { <2 x float>, float } %59, 1
  store <2 x float> %.fca.0.extract62, ptr %4, align 8
  %.sroa.265.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  store float %.fca.1.extract63, ptr %.sroa.265.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #7
  %60 = call { <2 x float>, float } @_ZN3cgpdvERKNS_14numarray_stackIfLi3EEEf(ptr noundef nonnull align 4 dereferenceable(12) %4, float noundef 2.000000e+00)
  %.fca.0.extract58 = extractvalue { <2 x float>, float } %60, 0
  %.fca.1.extract59 = extractvalue { <2 x float>, float } %60, 1
  store <2 x float> %.fca.0.extract58, ptr %10, align 8
  %.sroa.261.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 8
  store float %.fca.1.extract59, ptr %.sroa.261.0..sroa_idx, align 8
  %61 = call { <2 x float>, float } @_ZN3cgpmiERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %10)
  %.fca.0.extract54 = extractvalue { <2 x float>, float } %61, 0
  %.fca.1.extract55 = extractvalue { <2 x float>, float } %61, 1
  store <2 x float> %.fca.0.extract54, ptr %9, align 8
  %.sroa.257.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  store float %.fca.1.extract55, ptr %.sroa.257.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #7
  store i32 1, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #7
  store i32 0, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #7
  store i32 0, ptr %16, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %13, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %62 = call { <2 x float>, float } @_ZN3cgpmlIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %13)
  %.fca.0.extract50 = extractvalue { <2 x float>, float } %62, 0
  %.fca.1.extract51 = extractvalue { <2 x float>, float } %62, 1
  store <2 x float> %.fca.0.extract50, ptr %12, align 8
  %.sroa.253.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 8
  store float %.fca.1.extract51, ptr %.sroa.253.0..sroa_idx, align 8
  %63 = call { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %12)
  %.fca.0.extract46 = extractvalue { <2 x float>, float } %63, 0
  %.fca.1.extract47 = extractvalue { <2 x float>, float } %63, 1
  store <2 x float> %.fca.0.extract46, ptr %11, align 8
  %.sroa.249.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  store float %.fca.1.extract47, ptr %.sroa.249.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #7
  store i32 1, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #7
  store i32 1, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #7
  store i32 0, ptr %22, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %22)
  %64 = call { <2 x float>, float } @_ZN3cgpmlIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %19)
  %.fca.0.extract42 = extractvalue { <2 x float>, float } %64, 0
  %.fca.1.extract43 = extractvalue { <2 x float>, float } %64, 1
  store <2 x float> %.fca.0.extract42, ptr %18, align 8
  %.sroa.245.0..sroa_idx = getelementptr inbounds i8, ptr %18, i64 8
  store float %.fca.1.extract43, ptr %.sroa.245.0..sroa_idx, align 8
  %65 = call { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %18)
  %.fca.0.extract38 = extractvalue { <2 x float>, float } %65, 0
  %.fca.1.extract39 = extractvalue { <2 x float>, float } %65, 1
  store <2 x float> %.fca.0.extract38, ptr %17, align 8
  %.sroa.241.0..sroa_idx = getelementptr inbounds i8, ptr %17, i64 8
  store float %.fca.1.extract39, ptr %.sroa.241.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %25) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #7
  store i32 0, ptr %26, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #7
  store i32 1, ptr %27, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #7
  store i32 0, ptr %28, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %28)
  %66 = call { <2 x float>, float } @_ZN3cgpmlIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %25)
  %.fca.0.extract34 = extractvalue { <2 x float>, float } %66, 0
  %.fca.1.extract35 = extractvalue { <2 x float>, float } %66, 1
  store <2 x float> %.fca.0.extract34, ptr %24, align 8
  %.sroa.237.0..sroa_idx = getelementptr inbounds i8, ptr %24, i64 8
  store float %.fca.1.extract35, ptr %.sroa.237.0..sroa_idx, align 8
  %67 = call { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %24)
  %.fca.0.extract30 = extractvalue { <2 x float>, float } %67, 0
  %.fca.1.extract31 = extractvalue { <2 x float>, float } %67, 1
  store <2 x float> %.fca.0.extract30, ptr %23, align 8
  %.sroa.233.0..sroa_idx = getelementptr inbounds i8, ptr %23, i64 8
  store float %.fca.1.extract31, ptr %.sroa.233.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %29) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %30) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %31) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %32) #7
  store i32 0, ptr %32, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %33) #7
  store i32 0, ptr %33, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %34) #7
  store i32 1, ptr %34, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %31, ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 4 dereferenceable(4) %33, ptr noundef nonnull align 4 dereferenceable(4) %34)
  %68 = call { <2 x float>, float } @_ZN3cgpmlIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %31)
  %.fca.0.extract26 = extractvalue { <2 x float>, float } %68, 0
  %.fca.1.extract27 = extractvalue { <2 x float>, float } %68, 1
  store <2 x float> %.fca.0.extract26, ptr %30, align 8
  %.sroa.229.0..sroa_idx = getelementptr inbounds i8, ptr %30, i64 8
  store float %.fca.1.extract27, ptr %.sroa.229.0..sroa_idx, align 8
  %69 = call { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %30)
  %.fca.0.extract22 = extractvalue { <2 x float>, float } %69, 0
  %.fca.1.extract23 = extractvalue { <2 x float>, float } %69, 1
  store <2 x float> %.fca.0.extract22, ptr %29, align 8
  %.sroa.225.0..sroa_idx = getelementptr inbounds i8, ptr %29, i64 8
  store float %.fca.1.extract23, ptr %.sroa.225.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %30) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %35) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %36) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %37) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %38) #7
  store i32 1, ptr %38, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %39) #7
  store i32 0, ptr %39, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %40) #7
  store i32 1, ptr %40, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %37, ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 4 dereferenceable(4) %39, ptr noundef nonnull align 4 dereferenceable(4) %40)
  %70 = call { <2 x float>, float } @_ZN3cgpmlIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %37)
  %.fca.0.extract18 = extractvalue { <2 x float>, float } %70, 0
  %.fca.1.extract19 = extractvalue { <2 x float>, float } %70, 1
  store <2 x float> %.fca.0.extract18, ptr %36, align 8
  %.sroa.221.0..sroa_idx = getelementptr inbounds i8, ptr %36, i64 8
  store float %.fca.1.extract19, ptr %.sroa.221.0..sroa_idx, align 8
  %71 = call { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %36)
  %.fca.0.extract14 = extractvalue { <2 x float>, float } %71, 0
  %.fca.1.extract15 = extractvalue { <2 x float>, float } %71, 1
  store <2 x float> %.fca.0.extract14, ptr %35, align 8
  %.sroa.217.0..sroa_idx = getelementptr inbounds i8, ptr %35, i64 8
  store float %.fca.1.extract15, ptr %.sroa.217.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %40) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %39) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %38) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %37) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %36) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %41) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %42) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %43) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %44) #7
  store i32 1, ptr %44, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %45) #7
  store i32 1, ptr %45, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %46) #7
  store i32 1, ptr %46, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %43, ptr noundef nonnull align 4 dereferenceable(4) %44, ptr noundef nonnull align 4 dereferenceable(4) %45, ptr noundef nonnull align 4 dereferenceable(4) %46)
  %72 = call { <2 x float>, float } @_ZN3cgpmlIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %43)
  %.fca.0.extract10 = extractvalue { <2 x float>, float } %72, 0
  %.fca.1.extract11 = extractvalue { <2 x float>, float } %72, 1
  store <2 x float> %.fca.0.extract10, ptr %42, align 8
  %.sroa.213.0..sroa_idx = getelementptr inbounds i8, ptr %42, i64 8
  store float %.fca.1.extract11, ptr %.sroa.213.0..sroa_idx, align 8
  %73 = call { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %42)
  %.fca.0.extract6 = extractvalue { <2 x float>, float } %73, 0
  %.fca.1.extract7 = extractvalue { <2 x float>, float } %73, 1
  store <2 x float> %.fca.0.extract6, ptr %41, align 8
  %.sroa.29.0..sroa_idx = getelementptr inbounds i8, ptr %41, i64 8
  store float %.fca.1.extract7, ptr %.sroa.29.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %46) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %44) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %43) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %42) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %47) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %48) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %49) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %50) #7
  store i32 0, ptr %50, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %51) #7
  store i32 1, ptr %51, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %52) #7
  store i32 1, ptr %52, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiiiEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %49, ptr noundef nonnull align 4 dereferenceable(4) %50, ptr noundef nonnull align 4 dereferenceable(4) %51, ptr noundef nonnull align 4 dereferenceable(4) %52)
  %74 = call { <2 x float>, float } @_ZN3cgpmlIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %49)
  %.fca.0.extract2 = extractvalue { <2 x float>, float } %74, 0
  %.fca.1.extract3 = extractvalue { <2 x float>, float } %74, 1
  store <2 x float> %.fca.0.extract2, ptr %48, align 8
  %.sroa.25.0..sroa_idx = getelementptr inbounds i8, ptr %48, i64 8
  store float %.fca.1.extract3, ptr %.sroa.25.0..sroa_idx, align 8
  %75 = call { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %48)
  %.fca.0.extract = extractvalue { <2 x float>, float } %75, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %75, 1
  store <2 x float> %.fca.0.extract, ptr %47, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %47, i64 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %52) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %51) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %50) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %49) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %48) #7
  call void @_ZN3cgp4meshC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0)
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %53) #7
  invoke void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind nonnull writable sret(%"struct.cgp::mesh") align 8 %53, ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(12) %35, ptr noundef nonnull align 4 dereferenceable(12) %29)
          to label %76 unwind label %94

76:                                               ; preds = %3
  %77 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(120) %53)
          to label %78 unwind label %96

78:                                               ; preds = %76
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %53) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %53) #7
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %54) #7
  invoke void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind nonnull writable sret(%"struct.cgp::mesh") align 8 %54, ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %41, ptr noundef nonnull align 4 dereferenceable(12) %35)
          to label %79 unwind label %99

79:                                               ; preds = %78
  %80 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(120) %54)
          to label %81 unwind label %101

81:                                               ; preds = %79
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %54) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %54) #7
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %55) #7
  invoke void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind nonnull writable sret(%"struct.cgp::mesh") align 8 %55, ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %23, ptr noundef nonnull align 4 dereferenceable(12) %47, ptr noundef nonnull align 4 dereferenceable(12) %41)
          to label %82 unwind label %104

82:                                               ; preds = %81
  %83 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(120) %55)
          to label %84 unwind label %106

84:                                               ; preds = %82
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %55) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %55) #7
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %56) #7
  invoke void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind nonnull writable sret(%"struct.cgp::mesh") align 8 %56, ptr noundef nonnull align 4 dereferenceable(12) %23, ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %29, ptr noundef nonnull align 4 dereferenceable(12) %47)
          to label %85 unwind label %109

85:                                               ; preds = %84
  %86 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(120) %56)
          to label %87 unwind label %111

87:                                               ; preds = %85
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %56) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %56) #7
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %57) #7
  invoke void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind nonnull writable sret(%"struct.cgp::mesh") align 8 %57, ptr noundef nonnull align 4 dereferenceable(12) %29, ptr noundef nonnull align 4 dereferenceable(12) %35, ptr noundef nonnull align 4 dereferenceable(12) %41, ptr noundef nonnull align 4 dereferenceable(12) %47)
          to label %88 unwind label %114

88:                                               ; preds = %87
  %89 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(120) %57)
          to label %90 unwind label %116

90:                                               ; preds = %88
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %57) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %57) #7
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %58) #7
  invoke void @_ZN3cgp25mesh_primitive_quadrangleERKNS_14numarray_stackIfLi3EEES3_S3_S3_(ptr dead_on_unwind nonnull writable sret(%"struct.cgp::mesh") align 8 %58, ptr noundef nonnull align 4 dereferenceable(12) %11, ptr noundef nonnull align 4 dereferenceable(12) %9, ptr noundef nonnull align 4 dereferenceable(12) %23, ptr noundef nonnull align 4 dereferenceable(12) %17)
          to label %91 unwind label %119

91:                                               ; preds = %90
  %92 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(120) %58)
          to label %93 unwind label %121

93:                                               ; preds = %91
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %58) #7
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %58) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %47) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %41) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %35) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #7
  ret void

94:                                               ; preds = %3
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %98

96:                                               ; preds = %76
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %53) #7
  br label %98

98:                                               ; preds = %96, %94
  %.pn = phi { ptr, i32 } [ %97, %96 ], [ %95, %94 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %53) #7
  br label %124

99:                                               ; preds = %78
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %103

101:                                              ; preds = %79
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %54) #7
  br label %103

103:                                              ; preds = %101, %99
  %.pn76 = phi { ptr, i32 } [ %102, %101 ], [ %100, %99 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %54) #7
  br label %124

104:                                              ; preds = %81
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %108

106:                                              ; preds = %82
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %55) #7
  br label %108

108:                                              ; preds = %106, %104
  %.pn78 = phi { ptr, i32 } [ %107, %106 ], [ %105, %104 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %55) #7
  br label %124

109:                                              ; preds = %84
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %113

111:                                              ; preds = %85
  %112 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %56) #7
  br label %113

113:                                              ; preds = %111, %109
  %.pn80 = phi { ptr, i32 } [ %112, %111 ], [ %110, %109 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %56) #7
  br label %124

114:                                              ; preds = %87
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %118

116:                                              ; preds = %88
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %57) #7
  br label %118

118:                                              ; preds = %116, %114
  %.pn82 = phi { ptr, i32 } [ %117, %116 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %57) #7
  br label %124

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

121:                                              ; preds = %91
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %58) #7
  br label %123

123:                                              ; preds = %121, %119
  %.pn84 = phi { ptr, i32 } [ %122, %121 ], [ %120, %119 ]
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %58) #7
  br label %124

124:                                              ; preds = %123, %118, %113, %108, %103, %98
  %.pn84.pn = phi { ptr, i32 } [ %.pn84, %123 ], [ %.pn82, %118 ], [ %.pn80, %113 ], [ %.pn78, %108 ], [ %.pn76, %103 ], [ %.pn, %98 ]
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %47) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %41) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %35) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #7
  resume { ptr, i32 } %.pn84.pn
}

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 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 = { "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 = { 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 #5 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


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