; 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::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::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_stack" = type { float, float, float }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.12" = type { i8 }
%"struct.cgp::numarray_stack.16" = type { float, float }
%"struct.cgp::numarray_stack.19" = type { i32, i32, i32 }

@.str.2 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [31 x i8], align 1
@__func__._ZN3cgp24mesh_primitive_ellipsoidENS_14numarray_stackIfLi3EEERKS1_ii = external hidden unnamed_addr constant [25 x i8], align 1

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

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

; Function Attrs: noreturn
declare void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3cosf(float noundef) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3sinf(float noundef) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp14numarray_stackIfLi3EEC2ERKfS3_S3_(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 { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #5

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3cgpL17connectivity_gridEmm(ptr dead_on_unwind noalias writable sret(%"struct.cgp::numarray.6") align 8, i64 noundef, i64 noundef) #4

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

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

declare noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh17flip_connectivityEv(ptr noundef nonnull align 8 dereferenceable(120)) #7

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

declare noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh16fill_empty_fieldEv(ptr noundef nonnull align 8 dereferenceable(120)) #7

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp14numarray_stackIfLi3EEC2IiifEERKT_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: mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp14numarray_stackIjLi3EEC2ImmmEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cgp24mesh_primitive_ellipsoidENS_14numarray_stackIfLi3EEERKS1_ii(ptr dead_on_unwind noalias writable sret(%"struct.cgp::mesh") align 8 %0, <2 x float> %1, float %2, ptr noundef nonnull align 4 dereferenceable(12) %3, i32 noundef %4, i32 noundef %5) #9 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.cgp::numarray_stack", align 4
  %9 = alloca { <2 x float>, float }, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.12", align 1
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator.12", align 1
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator.12", align 1
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator.12", align 1
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator.12", align 1
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::allocator.12", align 1
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator.12", align 1
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca %"class.std::allocator.12", align 1
  %31 = alloca i1, align 1
  %32 = alloca i64, align 8
  %33 = alloca i32, align 4
  %34 = alloca i64, align 8
  %35 = alloca float, align 4
  %36 = alloca float, align 4
  %37 = alloca float, align 4
  %38 = alloca float, align 4
  %39 = alloca float, align 4
  %40 = alloca %"struct.cgp::numarray_stack", align 4
  %41 = alloca float, align 4
  %42 = alloca float, align 4
  %43 = alloca float, align 4
  %44 = alloca %"struct.cgp::numarray_stack", align 4
  %45 = alloca %"struct.cgp::numarray_stack", align 4
  %46 = alloca { <2 x float>, float }, align 8
  %47 = alloca { <2 x float>, float }, align 8
  %48 = alloca %"struct.cgp::numarray_stack.16", align 4
  %49 = alloca %"struct.cgp::numarray.6", align 8
  %50 = alloca i64, align 8
  %51 = alloca %"struct.cgp::numarray_stack", align 4
  %52 = alloca %"struct.cgp::numarray_stack", align 4
  %53 = alloca %"struct.cgp::numarray_stack", align 4
  %54 = alloca i32, align 4
  %55 = alloca i32, align 4
  %56 = alloca float, align 4
  %57 = alloca { <2 x float>, float }, align 8
  %58 = alloca { <2 x float>, float }, align 8
  %59 = alloca %"struct.cgp::numarray_stack", align 4
  %60 = alloca i32, align 4
  %61 = alloca i32, align 4
  %62 = alloca float, align 4
  %63 = alloca %"struct.cgp::numarray_stack.16", align 4
  %64 = alloca float, align 4
  %65 = alloca float, align 4
  %66 = alloca i64, align 8
  %67 = alloca %"struct.cgp::numarray_stack.19", align 4
  %68 = alloca i64, align 8
  %69 = alloca i64, align 8
  %70 = alloca i64, align 8
  %71 = alloca i64, align 8
  %72 = alloca %"struct.cgp::numarray_stack", align 4
  %73 = alloca %"struct.cgp::numarray_stack", align 4
  %74 = alloca %"struct.cgp::numarray_stack", align 4
  %75 = alloca i32, align 4
  %76 = alloca i32, align 4
  %77 = alloca float, align 4
  %78 = alloca { <2 x float>, float }, align 8
  %79 = alloca { <2 x float>, float }, align 8
  %80 = alloca %"struct.cgp::numarray_stack", align 4
  %81 = alloca i32, align 4
  %82 = alloca i32, align 4
  %83 = alloca float, align 4
  %84 = alloca %"struct.cgp::numarray_stack.16", align 4
  %85 = alloca float, align 4
  %86 = alloca float, align 4
  %87 = alloca i64, align 8
  %88 = alloca %"struct.cgp::numarray_stack.19", align 4
  %89 = alloca i64, align 8
  %90 = alloca i64, align 8
  %91 = alloca i64, align 8
  store ptr %0, ptr %7, align 8
  %92 = getelementptr inbounds { <2 x float>, float }, ptr %9, i32 0, i32 0
  store <2 x float> %1, ptr %92, align 4
  %93 = getelementptr inbounds { <2 x float>, float }, ptr %9, i32 0, i32 1
  store float %2, ptr %93, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 %9, i64 12, i1 false)
  store ptr %3, ptr %10, align 8, !tbaa !5
  store i32 %4, ptr %11, align 4, !tbaa !9
  store i32 %5, ptr %12, align 4, !tbaa !9
  %94 = getelementptr inbounds %"struct.cgp::numarray_stack", ptr %8, i32 0, i32 0
  %95 = load float, ptr %94, align 4, !tbaa !11
  %96 = fcmp ogt float %95, 0.000000e+00
  br i1 %96, label %97, label %105

97:                                               ; preds = %6
  %98 = getelementptr inbounds %"struct.cgp::numarray_stack", ptr %8, i32 0, i32 1
  %99 = load float, ptr %98, align 4, !tbaa !14
  %100 = fcmp ogt float %99, 0.000000e+00
  br i1 %100, label %101, label %105

101:                                              ; preds = %97
  %102 = getelementptr inbounds %"struct.cgp::numarray_stack", ptr %8, i32 0, i32 2
  %103 = load float, ptr %102, align 4, !tbaa !15
  %104 = fcmp ogt float %103, 0.000000e+00
  br label %105

105:                                              ; preds = %101, %97, %6
  %106 = phi i1 [ false, %97 ], [ false, %6 ], [ %104, %101 ]
  %107 = zext i1 %106 to i32
  %108 = icmp eq i32 %107, 0
  br i1 %108, label %109, label %139

109:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %110 unwind label %115

110:                                              ; preds = %109
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef @.str.13, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %111 unwind label %119

111:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %112 unwind label %123

112:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @__func__._ZN3cgp24mesh_primitive_ellipsoidENS_14numarray_stackIfLi3EEERKS1_ii, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %113 unwind label %127

113:                                              ; preds = %112
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %21, i32 noundef 188) #11
          to label %114 unwind label %131

114:                                              ; preds = %113
  unreachable

115:                                              ; preds = %109
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %15, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %16, align 4
  br label %138

119:                                              ; preds = %110
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %15, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %16, align 4
  br label %137

123:                                              ; preds = %111
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %15, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %16, align 4
  br label %136

127:                                              ; preds = %112
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %15, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %16, align 4
  br label %135

131:                                              ; preds = %113
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %15, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %16, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  br label %135

135:                                              ; preds = %131, %127
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #10
  br label %136

136:                                              ; preds = %135, %123
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #10
  br label %137

137:                                              ; preds = %136, %119
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  br label %138

138:                                              ; preds = %137, %115
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #10
  br label %492

139:                                              ; preds = %105
  %140 = load i32, ptr %11, align 4, !tbaa !9
  %141 = icmp sgt i32 %140, 2
  br i1 %141, label %142, label %145

142:                                              ; preds = %139
  %143 = load i32, ptr %12, align 4, !tbaa !9
  %144 = icmp sgt i32 %143, 2
  br label %145

145:                                              ; preds = %142, %139
  %146 = phi i1 [ false, %139 ], [ %144, %142 ]
  %147 = zext i1 %146 to i32
  %148 = icmp eq i32 %147, 0
  br i1 %148, label %149, label %179

149:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %150 unwind label %155

150:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %151 unwind label %159

151:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %152 unwind label %163

152:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #10
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #10
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef @__func__._ZN3cgp24mesh_primitive_ellipsoidENS_14numarray_stackIfLi3EEERKS1_ii, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %153 unwind label %167

153:                                              ; preds = %152
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(32) %29, i32 noundef 189) #11
          to label %154 unwind label %171

154:                                              ; preds = %153
  unreachable

155:                                              ; preds = %149
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %15, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %16, align 4
  br label %178

159:                                              ; preds = %150
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %15, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %16, align 4
  br label %177

163:                                              ; preds = %151
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %15, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %16, align 4
  br label %176

167:                                              ; preds = %152
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %15, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %16, align 4
  br label %175

171:                                              ; preds = %153
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %15, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %16, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #10
  br label %175

175:                                              ; preds = %171, %167
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #10
  br label %176

176:                                              ; preds = %175, %163
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #10
  br label %177

177:                                              ; preds = %176, %159
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #10
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #10
  br label %178

178:                                              ; preds = %177, %155
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #10
  br label %492

179:                                              ; preds = %145
  store i1 false, ptr %31, align 1
  call void @_ZN3cgp4meshC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #10
  store i64 0, ptr %32, align 8, !tbaa !16
  br label %180

180:                                              ; preds = %288, %179
  %181 = load i64, ptr %32, align 8, !tbaa !16
  %182 = load i32, ptr %11, align 4, !tbaa !9
  %183 = sext i32 %182 to i64
  %184 = icmp ult i64 %181, %183
  br i1 %184, label %186, label %185

185:                                              ; preds = %180
  store i32 2, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  br label %291

186:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #10
  store i64 0, ptr %34, align 8, !tbaa !16
  br label %187

187:                                              ; preds = %260, %186
  %188 = load i64, ptr %34, align 8, !tbaa !16
  %189 = load i32, ptr %12, align 4, !tbaa !9
  %190 = sext i32 %189 to i64
  %191 = icmp ult i64 %188, %190
  br i1 %191, label %193, label %192

192:                                              ; preds = %187
  store i32 5, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  br label %287

193:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #10
  %194 = load i64, ptr %32, align 8, !tbaa !16
  %195 = uitofp i64 %194 to float
  %196 = load i32, ptr %11, align 4, !tbaa !9
  %197 = sitofp i32 %196 to float
  %198 = fsub float %197, 1.000000e+00
  %199 = fdiv float %195, %198
  store float %199, ptr %35, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #10
  %200 = load i64, ptr %34, align 8, !tbaa !16
  %201 = uitofp i64 %200 to float
  %202 = load i32, ptr %12, align 4, !tbaa !9
  %203 = sitofp i32 %202 to float
  %204 = fsub float %203, 1.000000e+00
  %205 = fdiv float %201, %204
  store float %205, ptr %36, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #10
  %206 = load i32, ptr %12, align 4, !tbaa !9
  %207 = sitofp i32 %206 to float
  %208 = fadd float %207, 1.000000e+00
  %209 = fdiv float 1.000000e+00, %208
  %210 = load float, ptr %36, align 4, !tbaa !18
  %211 = fsub float 1.000000e+00, %210
  %212 = load float, ptr %36, align 4, !tbaa !18
  %213 = load i32, ptr %12, align 4, !tbaa !9
  %214 = sitofp i32 %213 to float
  %215 = fmul float %212, %214
  %216 = load i32, ptr %12, align 4, !tbaa !9
  %217 = sitofp i32 %216 to float
  %218 = fadd float %217, 1.000000e+00
  %219 = fdiv float %215, %218
  %220 = call float @llvm.fmuladd.f32(float %209, float %211, float %219)
  store float %220, ptr %37, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #10
  %221 = load float, ptr %35, align 4, !tbaa !18
  %222 = fsub float %221, 5.000000e-01
  %223 = fmul float 0x401921FA00000000, %222
  store float %223, ptr %38, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #10
  %224 = load float, ptr %37, align 4, !tbaa !18
  %225 = fsub float %224, 5.000000e-01
  %226 = fmul float 0x400921FA00000000, %225
  store float %226, ptr %39, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 12, ptr %40) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #10
  %227 = load float, ptr %39, align 4, !tbaa !18
  %228 = invoke noundef float @_ZSt3cosf(float noundef %227)
          to label %229 unwind label %263

229:                                              ; preds = %193
  %230 = load float, ptr %38, align 4, !tbaa !18
  %231 = invoke noundef float @_ZSt3cosf(float noundef %230)
          to label %232 unwind label %263

232:                                              ; preds = %229
  %233 = fmul float %228, %231
  store float %233, ptr %41, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #10
  %234 = load float, ptr %39, align 4, !tbaa !18
  %235 = invoke noundef float @_ZSt3cosf(float noundef %234)
          to label %236 unwind label %267

236:                                              ; preds = %232
  %237 = load float, ptr %38, align 4, !tbaa !18
  %238 = invoke noundef float @_ZSt3sinf(float noundef %237)
          to label %239 unwind label %267

239:                                              ; preds = %236
  %240 = fmul float %235, %238
  store float %240, ptr %42, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #10
  %241 = load float, ptr %39, align 4, !tbaa !18
  %242 = invoke noundef float @_ZSt3sinf(float noundef %241)
          to label %243 unwind label %271

243:                                              ; preds = %239
  store float %242, ptr %43, align 4, !tbaa !18
  invoke void @_ZN3cgp14numarray_stackIfLi3EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %40, ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 4 dereferenceable(4) %43)
          to label %244 unwind label %271

244:                                              ; preds = %243
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %44) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %45) #10
  %245 = invoke { <2 x float>, float } @_ZN3cgpmlIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %40)
          to label %246 unwind label %277

246:                                              ; preds = %244
  store { <2 x float>, float } %245, ptr %46, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %45, ptr align 8 %46, i64 12, i1 false)
  %247 = load ptr, ptr %10, align 8, !tbaa !5
  %248 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %45, ptr noundef nonnull align 4 dereferenceable(12) %247)
          to label %249 unwind label %277

249:                                              ; preds = %246
  store { <2 x float>, float } %248, ptr %47, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 8 %47, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %45) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #10
  invoke void @_ZN3cgp14numarray_stackIfLi2EEC2ERKfS3_(ptr noundef nonnull align 4 dereferenceable(8) %48, ptr noundef nonnull align 4 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %37)
          to label %250 unwind label %281

250:                                              ; preds = %249
  %251 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 0
  %252 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %251, ptr noundef nonnull align 4 dereferenceable(12) %44)
          to label %253 unwind label %281

253:                                              ; preds = %250
  %254 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 1
  %255 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %254, ptr noundef nonnull align 4 dereferenceable(12) %40)
          to label %256 unwind label %281

256:                                              ; preds = %253
  %257 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 3
  %258 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi2EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %257, ptr noundef nonnull align 4 dereferenceable(8) %48)
          to label %259 unwind label %281

259:                                              ; preds = %256
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %44) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %40) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #10
  br label %260

260:                                              ; preds = %259
  %261 = load i64, ptr %34, align 8, !tbaa !16
  %262 = add i64 %261, 1
  store i64 %262, ptr %34, align 8, !tbaa !16
  br label %187, !llvm.loop !19

263:                                              ; preds = %229, %193
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %15, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %16, align 4
  br label %276

267:                                              ; preds = %236, %232
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %15, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %16, align 4
  br label %275

271:                                              ; preds = %243, %239
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %15, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #10
  br label %275

275:                                              ; preds = %271, %267
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #10
  br label %276

276:                                              ; preds = %275, %263
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #10
  br label %286

277:                                              ; preds = %246, %244
  %278 = landingpad { ptr, i32 }
          cleanup
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %15, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %45) #10
  br label %285

281:                                              ; preds = %256, %253, %250, %249
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %15, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #10
  br label %285

285:                                              ; preds = %281, %277
  call void @llvm.lifetime.end.p0(i64 12, ptr %44) #10
  br label %286

286:                                              ; preds = %285, %276
  call void @llvm.lifetime.end.p0(i64 12, ptr %40) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  br label %491

287:                                              ; preds = %192
  br label %288

288:                                              ; preds = %287
  %289 = load i64, ptr %32, align 8, !tbaa !16
  %290 = add i64 %289, 1
  store i64 %290, ptr %32, align 8, !tbaa !16
  br label %180, !llvm.loop !21

291:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 24, ptr %49) #10
  %292 = load i32, ptr %11, align 4, !tbaa !9
  %293 = sext i32 %292 to i64
  %294 = load i32, ptr %12, align 4, !tbaa !9
  %295 = sext i32 %294 to i64
  invoke void @_ZN3cgpL17connectivity_gridEmm(ptr dead_on_unwind writable sret(%"struct.cgp::numarray.6") align 8 %49, i64 noundef %293, i64 noundef %295)
          to label %296 unwind label %306

296:                                              ; preds = %291
  %297 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 4
  %298 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %297, ptr noundef nonnull align 8 dereferenceable(24) %49) #10
  call void @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #10
  store i64 0, ptr %50, align 8, !tbaa !16
  br label %299

299:                                              ; preds = %334, %296
  %300 = load i64, ptr %50, align 8, !tbaa !16
  %301 = load i32, ptr %11, align 4, !tbaa !9
  %302 = sub nsw i32 %301, 1
  %303 = sext i32 %302 to i64
  %304 = icmp ult i64 %300, %303
  br i1 %304, label %310, label %305

305:                                              ; preds = %299
  store i32 8, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #10
  br label %350

306:                                              ; preds = %291
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %15, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %49) #10
  br label %491

310:                                              ; preds = %299
  %311 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 12, ptr %51) #10
  %312 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %52) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %53) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #10
  store i32 0, ptr %54, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #10
  store i32 0, ptr %55, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #10
  store float -1.000000e+00, ptr %56, align 4, !tbaa !18
  invoke void @_ZN3cgp14numarray_stackIfLi3EEC2IiifEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %53, ptr noundef nonnull align 4 dereferenceable(4) %54, ptr noundef nonnull align 4 dereferenceable(4) %55, ptr noundef nonnull align 4 dereferenceable(4) %56)
          to label %313 unwind label %337

313:                                              ; preds = %310
  %314 = invoke { <2 x float>, float } @_ZN3cgpmlIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %53)
          to label %315 unwind label %337

315:                                              ; preds = %313
  store { <2 x float>, float } %314, ptr %57, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %52, ptr align 8 %57, i64 12, i1 false)
  %316 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %312, ptr noundef nonnull align 4 dereferenceable(12) %52)
          to label %317 unwind label %337

317:                                              ; preds = %315
  store { <2 x float>, float } %316, ptr %58, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 8 %58, i64 12, i1 false)
  %318 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %311, ptr noundef nonnull align 4 dereferenceable(12) %51)
          to label %319 unwind label %337

319:                                              ; preds = %317
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %53) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %52) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %51) #10
  %320 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 12, ptr %59) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #10
  store i32 0, ptr %60, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #10
  store i32 0, ptr %61, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #10
  store float -1.000000e+00, ptr %62, align 4, !tbaa !18
  invoke void @_ZN3cgp14numarray_stackIfLi3EEC2IiifEERKT_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)
          to label %321 unwind label %341

321:                                              ; preds = %319
  %322 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %320, ptr noundef nonnull align 4 dereferenceable(12) %59)
          to label %323 unwind label %341

323:                                              ; preds = %321
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %59) #10
  %324 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #10
  %325 = load i64, ptr %50, align 8, !tbaa !16
  %326 = uitofp i64 %325 to float
  %327 = load i32, ptr %11, align 4, !tbaa !9
  %328 = sitofp i32 %327 to float
  %329 = fsub float %328, 1.000000e+00
  %330 = fdiv float %326, %329
  store float %330, ptr %64, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #10
  store float 0.000000e+00, ptr %65, align 4, !tbaa !18
  invoke void @_ZN3cgp14numarray_stackIfLi2EEC2ERKfS3_(ptr noundef nonnull align 4 dereferenceable(8) %63, ptr noundef nonnull align 4 dereferenceable(4) %64, ptr noundef nonnull align 4 dereferenceable(4) %65)
          to label %331 unwind label %345

331:                                              ; preds = %323
  %332 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi2EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %324, ptr noundef nonnull align 4 dereferenceable(8) %63)
          to label %333 unwind label %345

333:                                              ; preds = %331
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #10
  br label %334

334:                                              ; preds = %333
  %335 = load i64, ptr %50, align 8, !tbaa !16
  %336 = add i64 %335, 1
  store i64 %336, ptr %50, align 8, !tbaa !16
  br label %299, !llvm.loop !22

337:                                              ; preds = %317, %315, %313, %310
  %338 = landingpad { ptr, i32 }
          cleanup
  %339 = extractvalue { ptr, i32 } %338, 0
  store ptr %339, ptr %15, align 8
  %340 = extractvalue { ptr, i32 } %338, 1
  store i32 %340, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %53) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %52) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %51) #10
  br label %349

341:                                              ; preds = %321, %319
  %342 = landingpad { ptr, i32 }
          cleanup
  %343 = extractvalue { ptr, i32 } %342, 0
  store ptr %343, ptr %15, align 8
  %344 = extractvalue { ptr, i32 } %342, 1
  store i32 %344, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %59) #10
  br label %349

345:                                              ; preds = %331, %323
  %346 = landingpad { ptr, i32 }
          cleanup
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %15, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #10
  br label %349

349:                                              ; preds = %345, %341, %337
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #10
  br label %491

350:                                              ; preds = %305
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #10
  store i64 0, ptr %66, align 8, !tbaa !16
  br label %351

351:                                              ; preds = %378, %350
  %352 = load i64, ptr %66, align 8, !tbaa !16
  %353 = load i32, ptr %11, align 4, !tbaa !9
  %354 = sub nsw i32 %353, 1
  %355 = sext i32 %354 to i64
  %356 = icmp ult i64 %352, %355
  br i1 %356, label %358, label %357

357:                                              ; preds = %351
  store i32 11, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #10
  br label %385

358:                                              ; preds = %351
  %359 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 12, ptr %67) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #10
  %360 = load i32, ptr %11, align 4, !tbaa !9
  %361 = load i32, ptr %12, align 4, !tbaa !9
  %362 = mul nsw i32 %360, %361
  %363 = sext i32 %362 to i64
  %364 = load i64, ptr %66, align 8, !tbaa !16
  %365 = add i64 %363, %364
  store i64 %365, ptr %68, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #10
  %366 = load i32, ptr %12, align 4, !tbaa !9
  %367 = sext i32 %366 to i64
  %368 = load i64, ptr %66, align 8, !tbaa !16
  %369 = mul i64 %367, %368
  store i64 %369, ptr %69, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #10
  %370 = load i32, ptr %12, align 4, !tbaa !9
  %371 = sext i32 %370 to i64
  %372 = load i64, ptr %66, align 8, !tbaa !16
  %373 = add i64 %372, 1
  %374 = mul i64 %371, %373
  store i64 %374, ptr %70, align 8, !tbaa !16
  invoke void @_ZN3cgp14numarray_stackIjLi3EEC2ImmmEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %67, ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull align 8 dereferenceable(8) %70)
          to label %375 unwind label %381

375:                                              ; preds = %358
  %376 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %359, ptr noundef nonnull align 4 dereferenceable(12) %67)
          to label %377 unwind label %381

377:                                              ; preds = %375
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %67) #10
  br label %378

378:                                              ; preds = %377
  %379 = load i64, ptr %66, align 8, !tbaa !16
  %380 = add i64 %379, 1
  store i64 %380, ptr %66, align 8, !tbaa !16
  br label %351, !llvm.loop !23

381:                                              ; preds = %375, %358
  %382 = landingpad { ptr, i32 }
          cleanup
  %383 = extractvalue { ptr, i32 } %382, 0
  store ptr %383, ptr %15, align 8
  %384 = extractvalue { ptr, i32 } %382, 1
  store i32 %384, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %67) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #10
  br label %491

385:                                              ; preds = %357
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #10
  store i64 0, ptr %71, align 8, !tbaa !16
  br label %386

386:                                              ; preds = %417, %385
  %387 = load i64, ptr %71, align 8, !tbaa !16
  %388 = load i32, ptr %11, align 4, !tbaa !9
  %389 = sub nsw i32 %388, 1
  %390 = sext i32 %389 to i64
  %391 = icmp ult i64 %387, %390
  br i1 %391, label %393, label %392

392:                                              ; preds = %386
  store i32 14, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #10
  br label %433

393:                                              ; preds = %386
  %394 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 12, ptr %72) #10
  %395 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %73) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %74) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #10
  store i32 0, ptr %75, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %76) #10
  store i32 0, ptr %76, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %77) #10
  store float 1.000000e+00, ptr %77, align 4, !tbaa !18
  invoke void @_ZN3cgp14numarray_stackIfLi3EEC2IiifEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %74, ptr noundef nonnull align 4 dereferenceable(4) %75, ptr noundef nonnull align 4 dereferenceable(4) %76, ptr noundef nonnull align 4 dereferenceable(4) %77)
          to label %396 unwind label %420

396:                                              ; preds = %393
  %397 = invoke { <2 x float>, float } @_ZN3cgpmlIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %8, ptr noundef nonnull align 4 dereferenceable(12) %74)
          to label %398 unwind label %420

398:                                              ; preds = %396
  store { <2 x float>, float } %397, ptr %78, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %73, ptr align 8 %78, i64 12, i1 false)
  %399 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %395, ptr noundef nonnull align 4 dereferenceable(12) %73)
          to label %400 unwind label %420

400:                                              ; preds = %398
  store { <2 x float>, float } %399, ptr %79, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %72, ptr align 8 %79, i64 12, i1 false)
  %401 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %394, ptr noundef nonnull align 4 dereferenceable(12) %72)
          to label %402 unwind label %420

402:                                              ; preds = %400
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %76) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %74) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %73) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %72) #10
  %403 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 12, ptr %80) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %81) #10
  store i32 0, ptr %81, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %82) #10
  store i32 0, ptr %82, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %83) #10
  store float 1.000000e+00, ptr %83, align 4, !tbaa !18
  invoke void @_ZN3cgp14numarray_stackIfLi3EEC2IiifEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %80, ptr noundef nonnull align 4 dereferenceable(4) %81, ptr noundef nonnull align 4 dereferenceable(4) %82, ptr noundef nonnull align 4 dereferenceable(4) %83)
          to label %404 unwind label %424

404:                                              ; preds = %402
  %405 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %403, ptr noundef nonnull align 4 dereferenceable(12) %80)
          to label %406 unwind label %424

406:                                              ; preds = %404
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %82) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %80) #10
  %407 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %85) #10
  %408 = load i64, ptr %71, align 8, !tbaa !16
  %409 = uitofp i64 %408 to float
  %410 = load i32, ptr %11, align 4, !tbaa !9
  %411 = sitofp i32 %410 to float
  %412 = fsub float %411, 1.000000e+00
  %413 = fdiv float %409, %412
  store float %413, ptr %85, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %86) #10
  store float 1.000000e+00, ptr %86, align 4, !tbaa !18
  invoke void @_ZN3cgp14numarray_stackIfLi2EEC2ERKfS3_(ptr noundef nonnull align 4 dereferenceable(8) %84, ptr noundef nonnull align 4 dereferenceable(4) %85, ptr noundef nonnull align 4 dereferenceable(4) %86)
          to label %414 unwind label %428

414:                                              ; preds = %406
  %415 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi2EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %407, ptr noundef nonnull align 4 dereferenceable(8) %84)
          to label %416 unwind label %428

416:                                              ; preds = %414
  call void @llvm.lifetime.end.p0(i64 4, ptr %86) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %85) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #10
  br label %417

417:                                              ; preds = %416
  %418 = load i64, ptr %71, align 8, !tbaa !16
  %419 = add i64 %418, 1
  store i64 %419, ptr %71, align 8, !tbaa !16
  br label %386, !llvm.loop !24

420:                                              ; preds = %400, %398, %396, %393
  %421 = landingpad { ptr, i32 }
          cleanup
  %422 = extractvalue { ptr, i32 } %421, 0
  store ptr %422, ptr %15, align 8
  %423 = extractvalue { ptr, i32 } %421, 1
  store i32 %423, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %76) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %74) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %73) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %72) #10
  br label %432

424:                                              ; preds = %404, %402
  %425 = landingpad { ptr, i32 }
          cleanup
  %426 = extractvalue { ptr, i32 } %425, 0
  store ptr %426, ptr %15, align 8
  %427 = extractvalue { ptr, i32 } %425, 1
  store i32 %427, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %82) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %80) #10
  br label %432

428:                                              ; preds = %414, %406
  %429 = landingpad { ptr, i32 }
          cleanup
  %430 = extractvalue { ptr, i32 } %429, 0
  store ptr %430, ptr %15, align 8
  %431 = extractvalue { ptr, i32 } %429, 1
  store i32 %431, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %86) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %85) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #10
  br label %432

432:                                              ; preds = %428, %424, %420
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #10
  br label %491

433:                                              ; preds = %392
  call void @llvm.lifetime.start.p0(i64 8, ptr %87) #10
  store i64 0, ptr %87, align 8, !tbaa !16
  br label %434

434:                                              ; preds = %472, %433
  %435 = load i64, ptr %87, align 8, !tbaa !16
  %436 = load i32, ptr %11, align 4, !tbaa !9
  %437 = sub nsw i32 %436, 1
  %438 = sext i32 %437 to i64
  %439 = icmp ult i64 %435, %438
  br i1 %439, label %441, label %440

440:                                              ; preds = %434
  store i32 17, ptr %33, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #10
  br label %479

441:                                              ; preds = %434
  %442 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 12, ptr %88) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %89) #10
  %443 = load i32, ptr %11, align 4, !tbaa !9
  %444 = load i32, ptr %12, align 4, !tbaa !9
  %445 = mul nsw i32 %443, %444
  %446 = load i32, ptr %11, align 4, !tbaa !9
  %447 = add nsw i32 %445, %446
  %448 = sub nsw i32 %447, 1
  %449 = sext i32 %448 to i64
  %450 = load i64, ptr %87, align 8, !tbaa !16
  %451 = add i64 %449, %450
  store i64 %451, ptr %89, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %90) #10
  %452 = load i32, ptr %12, align 4, !tbaa !9
  %453 = sub nsw i32 %452, 1
  %454 = sext i32 %453 to i64
  %455 = load i32, ptr %12, align 4, !tbaa !9
  %456 = sext i32 %455 to i64
  %457 = load i64, ptr %87, align 8, !tbaa !16
  %458 = add i64 %457, 1
  %459 = mul i64 %456, %458
  %460 = add i64 %454, %459
  store i64 %460, ptr %90, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %91) #10
  %461 = load i32, ptr %12, align 4, !tbaa !9
  %462 = sub nsw i32 %461, 1
  %463 = sext i32 %462 to i64
  %464 = load i32, ptr %12, align 4, !tbaa !9
  %465 = sext i32 %464 to i64
  %466 = load i64, ptr %87, align 8, !tbaa !16
  %467 = mul i64 %465, %466
  %468 = add i64 %463, %467
  store i64 %468, ptr %91, align 8, !tbaa !16
  invoke void @_ZN3cgp14numarray_stackIjLi3EEC2ImmmEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %88, ptr noundef nonnull align 8 dereferenceable(8) %89, ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef nonnull align 8 dereferenceable(8) %91)
          to label %469 unwind label %475

469:                                              ; preds = %441
  %470 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %442, ptr noundef nonnull align 4 dereferenceable(12) %88)
          to label %471 unwind label %475

471:                                              ; preds = %469
  call void @llvm.lifetime.end.p0(i64 8, ptr %91) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %90) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %89) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %88) #10
  br label %472

472:                                              ; preds = %471
  %473 = load i64, ptr %87, align 8, !tbaa !16
  %474 = add i64 %473, 1
  store i64 %474, ptr %87, align 8, !tbaa !16
  br label %434, !llvm.loop !25

475:                                              ; preds = %469, %441
  %476 = landingpad { ptr, i32 }
          cleanup
  %477 = extractvalue { ptr, i32 } %476, 0
  store ptr %477, ptr %15, align 8
  %478 = extractvalue { ptr, i32 } %476, 1
  store i32 %478, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %91) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %90) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %89) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %88) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #10
  br label %491

479:                                              ; preds = %440
  %480 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh16fill_empty_fieldEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %481 unwind label %485

481:                                              ; preds = %479
  %482 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh17flip_connectivityEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %483 unwind label %485

483:                                              ; preds = %481
  store i1 true, ptr %31, align 1
  store i32 1, ptr %33, align 4
  %484 = load i1, ptr %31, align 1
  br i1 %484, label %490, label %489

485:                                              ; preds = %481, %479
  %486 = landingpad { ptr, i32 }
          cleanup
  %487 = extractvalue { ptr, i32 } %486, 0
  store ptr %487, ptr %15, align 8
  %488 = extractvalue { ptr, i32 } %486, 1
  store i32 %488, ptr %16, align 4
  br label %491

489:                                              ; preds = %483
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #10
  br label %490

490:                                              ; preds = %489, %483
  ret void

491:                                              ; preds = %485, %475, %432, %381, %349, %306, %286
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #10
  br label %492

492:                                              ; preds = %491, %178, %138
  %493 = load ptr, ptr %15, align 8
  %494 = load i32, ptr %16, align 4
  %495 = insertvalue { ptr, i32 } poison, ptr %493, 0
  %496 = insertvalue { ptr, i32 } %495, i32 %494, 1
  resume { ptr, i32 } %496
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSN3cgp14numarray_stackIfLi3EEE", !13, i64 0, !13, i64 4, !13, i64 8}
!13 = !{!"float", !7, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{!12, !13, i64 8}
!16 = !{!17, !17, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!13, !13, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}
!24 = distinct !{!24, !20}
!25 = distinct !{!25, !20}


; 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::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::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_stack" = type { float, float, float }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.12" = type { i8 }
%"struct.cgp::numarray_stack.16" = type { float, float }
%"struct.cgp::numarray_stack.19" = type { i32, i32, i32 }

@.str.2 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [31 x i8], align 1
@__func__._ZN3cgp24mesh_primitive_ellipsoidENS_14numarray_stackIfLi3EEERKS1_ii = external hidden unnamed_addr constant [25 x i8], align 1

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

; Function Attrs: noreturn
declare void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3cosf(float noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3sinf(float noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp14numarray_stackIfLi3EEC2ERKfS3_S3_(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 { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi2EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN3cgpL17connectivity_gridEmm(ptr dead_on_unwind noalias writable sret(%"struct.cgp::numarray.6") align 8, i64 noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEEaSEOS3_(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 @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #5 align 2

declare noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh17flip_connectivityEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #6

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

declare noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh16fill_empty_fieldEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #6

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp14numarray_stackIfLi3EEC2IiifEERKT_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: mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp14numarray_stackIjLi3EEC2ImmmEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cgp24mesh_primitive_ellipsoidENS_14numarray_stackIfLi3EEERKS1_ii(ptr dead_on_unwind noalias writable sret(%"struct.cgp::mesh") align 8 %0, <2 x float> %1, float %2, ptr noundef nonnull align 4 dereferenceable(12) %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #8 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"struct.cgp::numarray_stack", align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator.12", align 1
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::allocator.12", align 1
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator.12", align 1
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator.12", align 1
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator.12", align 1
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator.12", align 1
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::allocator.12", align 1
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::allocator.12", align 1
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca %"struct.cgp::numarray_stack", align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca %"struct.cgp::numarray_stack", align 8
  %31 = alloca %"struct.cgp::numarray_stack", align 8
  %32 = alloca %"struct.cgp::numarray_stack.16", align 4
  %33 = alloca %"struct.cgp::numarray.6", align 8
  %34 = alloca %"struct.cgp::numarray_stack", align 8
  %35 = alloca %"struct.cgp::numarray_stack", align 8
  %36 = alloca %"struct.cgp::numarray_stack", align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca float, align 4
  %40 = alloca %"struct.cgp::numarray_stack", align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca float, align 4
  %44 = alloca %"struct.cgp::numarray_stack.16", align 4
  %45 = alloca float, align 4
  %46 = alloca float, align 4
  %47 = alloca %"struct.cgp::numarray_stack.19", align 4
  %48 = alloca i64, align 8
  %49 = alloca i64, align 8
  %50 = alloca i64, align 8
  %51 = alloca %"struct.cgp::numarray_stack", align 8
  %52 = alloca %"struct.cgp::numarray_stack", align 8
  %53 = alloca %"struct.cgp::numarray_stack", align 4
  %54 = alloca i32, align 4
  %55 = alloca i32, align 4
  %56 = alloca float, align 4
  %57 = alloca %"struct.cgp::numarray_stack", align 4
  %58 = alloca i32, align 4
  %59 = alloca i32, align 4
  %60 = alloca float, align 4
  %61 = alloca %"struct.cgp::numarray_stack.16", align 4
  %62 = alloca float, align 4
  %63 = alloca float, align 4
  %64 = alloca %"struct.cgp::numarray_stack.19", align 4
  %65 = alloca i64, align 8
  %66 = alloca i64, align 8
  %67 = alloca i64, align 8
  store <2 x float> %1, ptr %7, align 8
  %.sroa.285.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  store float %2, ptr %.sroa.285.0..sroa_idx, align 8
  %68 = extractelement <2 x float> %1, i64 0
  %69 = fcmp ogt float %68, 0.000000e+00
  %70 = extractelement <2 x float> %1, i64 1
  %71 = fcmp ogt float %70, 0.000000e+00
  %or.cond = select i1 %69, i1 %71, i1 false
  %72 = fcmp ogt float %2, 0.000000e+00
  %spec.select = select i1 %or.cond, i1 %72, i1 false
  br i1 %spec.select, label %93, label %73

73:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @.str.12, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %74 unwind label %79

74:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.13, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %75 unwind label %81

75:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %76 unwind label %83

76:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @__func__._ZN3cgp24mesh_primitive_ellipsoidENS_14numarray_stackIfLi3EEERKS1_ii, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %77 unwind label %85

77:                                               ; preds = %76
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %14, i32 noundef 188) #10
          to label %78 unwind label %87

78:                                               ; preds = %77
  unreachable

79:                                               ; preds = %73
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %92

81:                                               ; preds = %74
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %91

83:                                               ; preds = %75
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %90

85:                                               ; preds = %76
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %89

87:                                               ; preds = %77
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  br label %89

89:                                               ; preds = %87, %85
  %.pn120 = phi { ptr, i32 } [ %88, %87 ], [ %86, %85 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  br label %90

90:                                               ; preds = %89, %83
  %.pn120.pn = phi { ptr, i32 } [ %.pn120, %89 ], [ %84, %83 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  br label %91

91:                                               ; preds = %90, %81
  %.pn120.pn.pn = phi { ptr, i32 } [ %.pn120.pn, %90 ], [ %82, %81 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  br label %92

92:                                               ; preds = %91, %79
  %.pn120.pn.pn.pn = phi { ptr, i32 } [ %.pn120.pn.pn, %91 ], [ %80, %79 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  br label %243

93:                                               ; preds = %6
  %94 = icmp slt i32 %4, 3
  %95 = icmp slt i32 %5, 3
  %.not108 = or i1 %94, %95
  br i1 %.not108, label %96, label %.preheader128.us.preheader

96:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull @.str.10, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %97 unwind label %102

97:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.11, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %98 unwind label %104

98:                                               ; preds = %97
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %99 unwind label %106

99:                                               ; preds = %98
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull @__func__._ZN3cgp24mesh_primitive_ellipsoidENS_14numarray_stackIfLi3EEERKS1_ii, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %100 unwind label %108

100:                                              ; preds = %99
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %22, i32 noundef 189) #10
          to label %101 unwind label %110

101:                                              ; preds = %100
  unreachable

102:                                              ; preds = %96
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %115

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

106:                                              ; preds = %98
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %113

108:                                              ; preds = %99
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %112

110:                                              ; preds = %100
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  br label %112

112:                                              ; preds = %110, %108
  %.pn115 = phi { ptr, i32 } [ %111, %110 ], [ %109, %108 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  br label %113

113:                                              ; preds = %112, %106
  %.pn115.pn = phi { ptr, i32 } [ %.pn115, %112 ], [ %107, %106 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  br label %114

114:                                              ; preds = %113, %104
  %.pn115.pn.pn = phi { ptr, i32 } [ %.pn115.pn, %113 ], [ %105, %104 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  br label %115

115:                                              ; preds = %114, %102
  %.pn115.pn.pn.pn = phi { ptr, i32 } [ %.pn115.pn.pn, %114 ], [ %103, %102 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #9
  br label %243

.preheader128.us.preheader:                       ; preds = %93
  tail call void @_ZN3cgp4meshC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0)
  %116 = zext nneg i32 %4 to i64
  %117 = zext nneg i32 %5 to i64
  %118 = uitofp nneg i32 %4 to float
  %119 = fadd float %118, -1.000000e+00
  %120 = uitofp nneg i32 %5 to float
  %121 = fadd float %120, -1.000000e+00
  %122 = fadd float %120, 1.000000e+00
  %123 = fdiv float 1.000000e+00, %122
  %.sroa.237.0..sroa_idx = getelementptr inbounds i8, ptr %31, i64 8
  %.sroa.233.0..sroa_idx = getelementptr inbounds i8, ptr %30, i64 8
  %124 = getelementptr inbounds i8, ptr %0, i64 24
  %125 = getelementptr inbounds i8, ptr %0, i64 72
  br label %.preheader128.us

.preheader128.us:                                 ; preds = %.preheader128.us.preheader, %._crit_edge.us
  %.0100136.us = phi i64 [ %157, %._crit_edge.us ], [ 0, %.preheader128.us.preheader ]
  %126 = uitofp nneg i64 %.0100136.us to float
  %127 = fdiv float %126, %119
  %128 = fadd float %127, -5.000000e-01
  %129 = fmul float %128, 0x401921FA00000000
  br label %130

130:                                              ; preds = %.preheader128.us, %155
  %.0103135.us = phi i64 [ 0, %.preheader128.us ], [ %156, %155 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #9
  store float %127, ptr %24, align 4, !tbaa !5
  %131 = uitofp nneg i64 %.0103135.us to float
  %132 = fdiv float %131, %121
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #9
  %133 = fsub float 1.000000e+00, %132
  %134 = fmul float %132, %120
  %135 = fdiv float %134, %122
  %136 = call float @llvm.fmuladd.f32(float %123, float %133, float %135)
  store float %136, ptr %25, align 4, !tbaa !5
  %137 = fadd float %136, -5.000000e-01
  %138 = fmul float %137, 0x400921FA00000000
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %26) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #9
  %139 = call noundef float @_ZSt3cosf(float noundef %138)
  %140 = call noundef float @_ZSt3cosf(float noundef %129)
  %141 = fmul float %139, %140
  store float %141, ptr %27, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #9
  %142 = call noundef float @_ZSt3cosf(float noundef %138)
  %143 = call noundef float @_ZSt3sinf(float noundef %129)
  %144 = fmul float %142, %143
  store float %144, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #9
  %145 = call noundef float @_ZSt3sinf(float noundef %138)
  store float %145, ptr %29, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi3EEC2ERKfS3_S3_(ptr noundef nonnull align 4 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %29)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %30) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %31) #9
  %146 = invoke { <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) %26)
          to label %147 unwind label %.split140.us

147:                                              ; preds = %130
  %.fca.0.extract34.us = extractvalue { <2 x float>, float } %146, 0
  %.fca.1.extract35.us = extractvalue { <2 x float>, float } %146, 1
  store <2 x float> %.fca.0.extract34.us, ptr %31, align 8
  store float %.fca.1.extract35.us, ptr %.sroa.237.0..sroa_idx, align 8
  %148 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %31, ptr noundef nonnull align 4 dereferenceable(12) %3)
          to label %149 unwind label %.split140.us

149:                                              ; preds = %147
  %.fca.0.extract30.us = extractvalue { <2 x float>, float } %148, 0
  %.fca.1.extract31.us = extractvalue { <2 x float>, float } %148, 1
  store <2 x float> %.fca.0.extract30.us, ptr %30, align 8
  store float %.fca.1.extract31.us, ptr %.sroa.233.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %31) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #9
  call void @_ZN3cgp14numarray_stackIfLi2EEC2ERKfS3_(ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(4) %25)
  %150 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %30)
          to label %151 unwind label %.split143.us

151:                                              ; preds = %149
  %152 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %124, ptr noundef nonnull align 4 dereferenceable(12) %26)
          to label %153 unwind label %.split143.us

153:                                              ; preds = %151
  %154 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi2EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %125, ptr noundef nonnull align 4 dereferenceable(8) %32)
          to label %155 unwind label %.split143.us

155:                                              ; preds = %153
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %30) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #9
  %156 = add nuw nsw i64 %.0103135.us, 1
  %exitcond.not = icmp eq i64 %156, %117
  br i1 %exitcond.not, label %._crit_edge.us, label %130, !llvm.loop !9

._crit_edge.us:                                   ; preds = %155
  %157 = add nuw nsw i64 %.0100136.us, 1
  %exitcond156.not = icmp eq i64 %157, %116
  br i1 %exitcond156.not, label %.split138.us, label %.preheader128.us, !llvm.loop !11

.split140.us:                                     ; preds = %147, %130
  %158 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %31) #9
  br label %160

.split143.us:                                     ; preds = %153, %151, %149
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #9
  br label %160

.split138.us:                                     ; preds = %._crit_edge.us
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #9
  invoke void @_ZN3cgpL17connectivity_gridEmm(ptr dead_on_unwind nonnull writable sret(%"struct.cgp::numarray.6") align 8 %33, i64 noundef %116, i64 noundef %117)
          to label %161 unwind label %168

160:                                              ; preds = %.split143.us, %.split140.us
  %.pn112 = phi { ptr, i32 } [ %159, %.split143.us ], [ %158, %.split140.us ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %30) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #9
  br label %242

161:                                              ; preds = %.split138.us
  %162 = getelementptr inbounds i8, ptr %0, i64 96
  %163 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %162, ptr noundef nonnull align 8 dereferenceable(24) %33) #9
  call void @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #9
  %164 = add nsw i32 %4, -1
  %165 = sext i32 %164 to i64
  %.not = icmp eq i32 %164, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %161
  %.sroa.226.0..sroa_idx = getelementptr inbounds i8, ptr %35, i64 8
  %.sroa.222.0..sroa_idx = getelementptr inbounds i8, ptr %34, i64 8
  br label %170

.preheader127:                                    ; preds = %182
  br i1 %.not, label %._crit_edge, label %.lr.ph147

.lr.ph147:                                        ; preds = %.preheader127
  %166 = mul nuw nsw i32 %5, %4
  %167 = zext nneg i32 %166 to i64
  br label %190

168:                                              ; preds = %.split138.us
  %169 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #9
  br label %242

170:                                              ; preds = %.lr.ph, %182
  %.0104145 = phi i64 [ 0, %.lr.ph ], [ %183, %182 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %34) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %35) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %36) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %37) #9
  store i32 0, ptr %37, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %38) #9
  store i32 0, ptr %38, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %39) #9
  store float -1.000000e+00, ptr %39, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiifEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %36, ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 4 dereferenceable(4) %39)
  %171 = invoke { <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) %36)
          to label %172 unwind label %184

172:                                              ; preds = %170
  %.fca.0.extract23 = extractvalue { <2 x float>, float } %171, 0
  %.fca.1.extract24 = extractvalue { <2 x float>, float } %171, 1
  store <2 x float> %.fca.0.extract23, ptr %35, align 8
  store float %.fca.1.extract24, ptr %.sroa.226.0..sroa_idx, align 8
  %173 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %35)
          to label %174 unwind label %184

174:                                              ; preds = %172
  %.fca.0.extract19 = extractvalue { <2 x float>, float } %173, 0
  %.fca.1.extract20 = extractvalue { <2 x float>, float } %173, 1
  store <2 x float> %.fca.0.extract19, ptr %34, align 8
  store float %.fca.1.extract20, ptr %.sroa.222.0..sroa_idx, align 8
  %175 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %34)
          to label %176 unwind label %184

176:                                              ; preds = %174
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %39) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %38) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %37) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %36) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %35) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %34) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %40) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %41) #9
  store i32 0, ptr %41, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %42) #9
  store i32 0, ptr %42, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %43) #9
  store float -1.000000e+00, ptr %43, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiifEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %40, ptr noundef nonnull align 4 dereferenceable(4) %41, ptr noundef nonnull align 4 dereferenceable(4) %42, ptr noundef nonnull align 4 dereferenceable(4) %43)
  %177 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %124, ptr noundef nonnull align 4 dereferenceable(12) %40)
          to label %178 unwind label %186

178:                                              ; preds = %176
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %43) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %40) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %44) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %45) #9
  %179 = uitofp i64 %.0104145 to float
  %180 = fdiv float %179, %119
  store float %180, ptr %45, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %46) #9
  store float 0.000000e+00, ptr %46, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi2EEC2ERKfS3_(ptr noundef nonnull align 4 dereferenceable(8) %44, ptr noundef nonnull align 4 dereferenceable(4) %45, ptr noundef nonnull align 4 dereferenceable(4) %46)
  %181 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi2EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %125, ptr noundef nonnull align 4 dereferenceable(8) %44)
          to label %182 unwind label %188

182:                                              ; preds = %178
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %46) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #9
  %183 = add nuw i64 %.0104145, 1
  %exitcond157.not = icmp eq i64 %183, %165
  br i1 %exitcond157.not, label %.preheader127, label %170, !llvm.loop !14

184:                                              ; preds = %174, %172, %170
  %185 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %39) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %38) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %37) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %36) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %35) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %34) #9
  br label %242

186:                                              ; preds = %176
  %187 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %43) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %40) #9
  br label %242

188:                                              ; preds = %178
  %189 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %46) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %45) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #9
  br label %242

.preheader126:                                    ; preds = %196
  br i1 %.not, label %._crit_edge, label %.lr.ph149

.lr.ph149:                                        ; preds = %.preheader126
  %.sroa.210.0..sroa_idx = getelementptr inbounds i8, ptr %52, i64 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %51, i64 8
  br label %205

190:                                              ; preds = %.lr.ph147, %196
  %.0102146 = phi i64 [ 0, %.lr.ph147 ], [ %193, %196 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %47) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %48) #9
  %191 = add i64 %.0102146, %167
  store i64 %191, ptr %48, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %49) #9
  %192 = mul i64 %.0102146, %117
  store i64 %192, ptr %49, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %50) #9
  %193 = add nuw i64 %.0102146, 1
  %194 = mul i64 %193, %117
  store i64 %194, ptr %50, align 8, !tbaa !15
  call void @_ZN3cgp14numarray_stackIjLi3EEC2ImmmEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %47, ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(8) %50)
  %195 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %162, ptr noundef nonnull align 4 dereferenceable(12) %47)
          to label %196 unwind label %197

196:                                              ; preds = %190
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %50) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %47) #9
  %exitcond159.not = icmp eq i64 %193, %165
  br i1 %exitcond159.not, label %.preheader126, label %190, !llvm.loop !17

197:                                              ; preds = %190
  %198 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %50) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %47) #9
  br label %242

.preheader:                                       ; preds = %217
  br i1 %.not, label %._crit_edge, label %.lr.ph151

.lr.ph151:                                        ; preds = %.preheader
  %199 = add nuw i32 %5, 1
  %200 = mul i32 %199, %4
  %201 = add nsw i32 %200, -1
  %202 = sext i32 %201 to i64
  %203 = add nsw i32 %5, -1
  %204 = sext i32 %203 to i64
  br label %226

205:                                              ; preds = %.lr.ph149, %217
  %.0101148 = phi i64 [ 0, %.lr.ph149 ], [ %218, %217 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %51) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %52) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %53) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %54) #9
  store i32 0, ptr %54, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %55) #9
  store i32 0, ptr %55, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %56) #9
  store float 1.000000e+00, ptr %56, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiifEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %53, ptr noundef nonnull align 4 dereferenceable(4) %54, ptr noundef nonnull align 4 dereferenceable(4) %55, ptr noundef nonnull align 4 dereferenceable(4) %56)
  %206 = invoke { <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) %53)
          to label %207 unwind label %219

207:                                              ; preds = %205
  %.fca.0.extract7 = extractvalue { <2 x float>, float } %206, 0
  %.fca.1.extract8 = extractvalue { <2 x float>, float } %206, 1
  store <2 x float> %.fca.0.extract7, ptr %52, align 8
  store float %.fca.1.extract8, ptr %.sroa.210.0..sroa_idx, align 8
  %208 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %52)
          to label %209 unwind label %219

209:                                              ; preds = %207
  %.fca.0.extract = extractvalue { <2 x float>, float } %208, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %208, 1
  store <2 x float> %.fca.0.extract, ptr %51, align 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  %210 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %51)
          to label %211 unwind label %219

211:                                              ; preds = %209
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %55) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %54) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %53) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %52) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %51) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %57) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %58) #9
  store i32 0, ptr %58, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %59) #9
  store i32 0, ptr %59, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %60) #9
  store float 1.000000e+00, ptr %60, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi3EEC2IiifEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %57, ptr noundef nonnull align 4 dereferenceable(4) %58, ptr noundef nonnull align 4 dereferenceable(4) %59, ptr noundef nonnull align 4 dereferenceable(4) %60)
  %212 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %124, ptr noundef nonnull align 4 dereferenceable(12) %57)
          to label %213 unwind label %221

213:                                              ; preds = %211
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %60) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %59) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %58) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %57) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %61) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %62) #9
  %214 = uitofp i64 %.0101148 to float
  %215 = fdiv float %214, %119
  store float %215, ptr %62, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %63) #9
  store float 1.000000e+00, ptr %63, align 4, !tbaa !5
  call void @_ZN3cgp14numarray_stackIfLi2EEC2ERKfS3_(ptr noundef nonnull align 4 dereferenceable(8) %61, ptr noundef nonnull align 4 dereferenceable(4) %62, ptr noundef nonnull align 4 dereferenceable(4) %63)
  %216 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi2EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %125, ptr noundef nonnull align 4 dereferenceable(8) %61)
          to label %217 unwind label %223

217:                                              ; preds = %213
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %63) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %62) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %61) #9
  %218 = add nuw i64 %.0101148, 1
  %exitcond161.not = icmp eq i64 %218, %165
  br i1 %exitcond161.not, label %.preheader, label %205, !llvm.loop !18

219:                                              ; preds = %209, %207, %205
  %220 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %56) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %55) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %54) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %53) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %52) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %51) #9
  br label %242

221:                                              ; preds = %211
  %222 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %60) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %59) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %58) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %57) #9
  br label %242

223:                                              ; preds = %213
  %224 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %63) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %62) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %61) #9
  br label %242

._crit_edge:                                      ; preds = %234, %161, %.preheader127, %.preheader126, %.preheader
  %225 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh16fill_empty_fieldEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %237 unwind label %239

226:                                              ; preds = %.lr.ph151, %234
  %.0150 = phi i64 [ 0, %.lr.ph151 ], [ %228, %234 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %64) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %65) #9
  %227 = add i64 %.0150, %202
  store i64 %227, ptr %65, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %66) #9
  %228 = add nuw i64 %.0150, 1
  %229 = mul i64 %228, %117
  %230 = add i64 %229, %204
  store i64 %230, ptr %66, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %67) #9
  %231 = mul i64 %.0150, %117
  %232 = add i64 %231, %204
  store i64 %232, ptr %67, align 8, !tbaa !15
  call void @_ZN3cgp14numarray_stackIjLi3EEC2ImmmEERKT_RKT0_RKT1_(ptr noundef nonnull align 4 dereferenceable(12) %64, ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull align 8 dereferenceable(8) %67)
  %233 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %162, ptr noundef nonnull align 4 dereferenceable(12) %64)
          to label %234 unwind label %235

234:                                              ; preds = %226
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %67) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %66) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %65) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %64) #9
  %exitcond163.not = icmp eq i64 %228, %165
  br i1 %exitcond163.not, label %._crit_edge, label %226, !llvm.loop !19

235:                                              ; preds = %226
  %236 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %67) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %66) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %65) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %64) #9
  br label %242

237:                                              ; preds = %._crit_edge
  %238 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh17flip_connectivityEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %241 unwind label %239

239:                                              ; preds = %237, %._crit_edge
  %240 = landingpad { ptr, i32 }
          cleanup
  br label %242

241:                                              ; preds = %237
  ret void

242:                                              ; preds = %219, %221, %223, %184, %186, %188, %239, %235, %197, %168, %160
  %.pn112.pn = phi { ptr, i32 } [ %.pn112, %160 ], [ %198, %197 ], [ %236, %235 ], [ %240, %239 ], [ %169, %168 ], [ %189, %188 ], [ %187, %186 ], [ %185, %184 ], [ %224, %223 ], [ %222, %221 ], [ %220, %219 ]
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #9
  br label %243

243:                                              ; preds = %242, %115, %92
  %.pn120.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn120.pn.pn.pn, %92 ], [ %.pn115.pn.pn.pn, %115 ], [ %.pn112.pn, %242 ]
  resume { ptr, i32 } %.pn120.pn.pn.pn.pn
}

; 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 #3

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = distinct !{!14, !10}
!15 = !{!16, !16, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass