; 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 }
%"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" = type { float, float, float }
%"struct.cgp::numarray_stack.16" = type { float, float }

@.str.2 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [23 x i8], align 1
@__func__._ZN3cgp19mesh_primitive_gridERKNS_14numarray_stackIfLi3EEES3_S3_S3_ii = external hidden unnamed_addr constant [20 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [5 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: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3cgpmiERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #1

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cgp19mesh_primitive_gridERKNS_14numarray_stackIfLi3EEES3_S3_S3_ii(ptr dead_on_unwind noalias writable sret(%"struct.cgp::mesh") align 8 %0, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4, i32 noundef %5, i32 noundef %6) #8 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::allocator.12", align 1
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %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 %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator.12", align 1
  %33 = alloca i1, align 1
  %34 = alloca i64, align 8
  %35 = alloca i32, align 4
  %36 = alloca i64, align 8
  %37 = alloca float, align 4
  %38 = alloca float, align 4
  %39 = alloca %"struct.cgp::numarray_stack", align 4
  %40 = alloca %"struct.cgp::numarray_stack", align 4
  %41 = alloca %"struct.cgp::numarray_stack", align 4
  %42 = alloca %"struct.cgp::numarray_stack", align 4
  %43 = alloca { <2 x float>, float }, align 8
  %44 = alloca %"struct.cgp::numarray_stack", align 4
  %45 = alloca { <2 x float>, float }, align 8
  %46 = alloca { <2 x float>, float }, align 8
  %47 = alloca %"struct.cgp::numarray_stack", align 4
  %48 = alloca { <2 x float>, float }, align 8
  %49 = alloca { <2 x float>, float }, align 8
  %50 = alloca %"struct.cgp::numarray_stack", align 4
  %51 = alloca { <2 x float>, float }, align 8
  %52 = alloca { <2 x float>, float }, align 8
  %53 = alloca %"struct.cgp::numarray_stack", align 4
  %54 = alloca %"struct.cgp::numarray_stack", align 4
  %55 = alloca %"struct.cgp::numarray_stack", align 4
  %56 = alloca %"struct.cgp::numarray_stack", align 4
  %57 = alloca { <2 x float>, float }, align 8
  %58 = alloca { <2 x float>, float }, align 8
  %59 = alloca { <2 x float>, float }, align 8
  %60 = alloca %"struct.cgp::numarray_stack", align 4
  %61 = alloca %"struct.cgp::numarray_stack", align 4
  %62 = alloca %"struct.cgp::numarray_stack", align 4
  %63 = alloca { <2 x float>, float }, align 8
  %64 = alloca { <2 x float>, float }, align 8
  %65 = alloca { <2 x float>, float }, align 8
  %66 = alloca { <2 x float>, float }, align 8
  %67 = alloca %"struct.cgp::numarray_stack", align 4
  %68 = alloca %"struct.cgp::numarray_stack", align 4
  %69 = alloca %"struct.cgp::numarray_stack", align 4
  %70 = alloca %"struct.cgp::numarray_stack", align 4
  %71 = alloca { <2 x float>, float }, align 8
  %72 = alloca { <2 x float>, float }, align 8
  %73 = alloca { <2 x float>, float }, align 8
  %74 = alloca %"struct.cgp::numarray_stack", align 4
  %75 = alloca %"struct.cgp::numarray_stack", align 4
  %76 = alloca { <2 x float>, float }, align 8
  %77 = alloca { <2 x float>, float }, align 8
  %78 = alloca { <2 x float>, float }, align 8
  %79 = alloca %"struct.cgp::numarray_stack", align 4
  %80 = alloca %"struct.cgp::numarray_stack", align 4
  %81 = alloca { <2 x float>, float }, align 8
  %82 = alloca { <2 x float>, float }, align 8
  %83 = alloca %"struct.cgp::numarray_stack.16", align 4
  %84 = alloca %"struct.cgp::numarray.6", align 8
  store ptr %0, ptr %8, align 8
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !5
  store i32 %5, ptr %13, align 4, !tbaa !9
  store i32 %6, ptr %14, align 4, !tbaa !9
  %85 = load i32, ptr %13, align 4, !tbaa !9
  %86 = icmp sgt i32 %85, 1
  %87 = zext i1 %86 to i32
  %88 = icmp eq i32 %87, 0
  br i1 %88, label %89, label %119

89:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef @.str.14, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %90 unwind label %95

90:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @.str.15, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %91 unwind label %99

91:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %92 unwind label %103

92:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef @__func__._ZN3cgp19mesh_primitive_gridERKNS_14numarray_stackIfLi3EEES3_S3_S3_ii, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %93 unwind label %107

93:                                               ; preds = %92
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %23, i32 noundef 248) #10
          to label %94 unwind label %111

94:                                               ; preds = %93
  unreachable

95:                                               ; preds = %89
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %17, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %18, align 4
  br label %118

99:                                               ; preds = %90
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %17, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %18, align 4
  br label %117

103:                                              ; preds = %91
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %17, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %18, align 4
  br label %116

107:                                              ; preds = %92
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %17, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %18, align 4
  br label %115

111:                                              ; preds = %93
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %17, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %18, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  br label %115

115:                                              ; preds = %111, %107
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  br label %116

116:                                              ; preds = %115, %103
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  br label %117

117:                                              ; preds = %116, %99
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  br label %118

118:                                              ; preds = %117, %95
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #9
  br label %349

119:                                              ; preds = %7
  %120 = load i32, ptr %14, align 4, !tbaa !9
  %121 = icmp sgt i32 %120, 1
  %122 = zext i1 %121 to i32
  %123 = icmp eq i32 %122, 0
  br i1 %123, label %124, label %154

124:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef @.str.16, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %125 unwind label %130

125:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.15, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %126 unwind label %134

126:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %127 unwind label %138

127:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef @__func__._ZN3cgp19mesh_primitive_gridERKNS_14numarray_stackIfLi3EEES3_S3_S3_ii, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %128 unwind label %142

128:                                              ; preds = %127
  invoke void @_ZN3cgp10call_errorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_S7_S7_i(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %31, i32 noundef 249) #10
          to label %129 unwind label %146

129:                                              ; preds = %128
  unreachable

130:                                              ; preds = %124
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %17, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %18, align 4
  br label %153

134:                                              ; preds = %125
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %17, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %18, align 4
  br label %152

138:                                              ; preds = %126
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %17, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %18, align 4
  br label %151

142:                                              ; preds = %127
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %17, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %18, align 4
  br label %150

146:                                              ; preds = %128
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %17, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %18, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  br label %150

150:                                              ; preds = %146, %142
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #9
  br label %151

151:                                              ; preds = %150, %138
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  br label %152

152:                                              ; preds = %151, %134
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  br label %153

153:                                              ; preds = %152, %130
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #9
  br label %349

154:                                              ; preds = %119
  store i1 false, ptr %33, align 1
  call void @_ZN3cgp4meshC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  store i64 0, ptr %34, align 8, !tbaa !11
  br label %155

155:                                              ; preds = %322, %154
  %156 = load i64, ptr %34, align 8, !tbaa !11
  %157 = load i32, ptr %13, align 4, !tbaa !9
  %158 = sext i32 %157 to i64
  %159 = icmp ult i64 %156, %158
  br i1 %159, label %161, label %160

160:                                              ; preds = %155
  store i32 2, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  br label %325

161:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  store i64 0, ptr %36, align 8, !tbaa !11
  br label %162

162:                                              ; preds = %269, %161
  %163 = load i64, ptr %36, align 8, !tbaa !11
  %164 = load i32, ptr %14, align 4, !tbaa !9
  %165 = sext i32 %164 to i64
  %166 = icmp ult i64 %163, %165
  br i1 %166, label %168, label %167

167:                                              ; preds = %162
  store i32 5, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  br label %321

168:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #9
  %169 = load i64, ptr %34, align 8, !tbaa !11
  %170 = uitofp i64 %169 to float
  %171 = load i32, ptr %13, align 4, !tbaa !9
  %172 = sitofp i32 %171 to float
  %173 = fsub float %172, 1.000000e+00
  %174 = fdiv float %170, %173
  store float %174, ptr %37, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #9
  %175 = load i64, ptr %36, align 8, !tbaa !11
  %176 = uitofp i64 %175 to float
  %177 = load i32, ptr %14, align 4, !tbaa !9
  %178 = sitofp i32 %177 to float
  %179 = fsub float %178, 1.000000e+00
  %180 = fdiv float %176, %179
  store float %180, ptr %38, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 12, ptr %39) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr %40) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr %41) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr %42) #9
  %181 = load float, ptr %37, align 4, !tbaa !13
  %182 = fsub float 1.000000e+00, %181
  %183 = load float, ptr %38, align 4, !tbaa !13
  %184 = fsub float 1.000000e+00, %183
  %185 = fmul float %182, %184
  %186 = load ptr, ptr %9, align 8, !tbaa !5
  %187 = invoke { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %185, ptr noundef nonnull align 4 dereferenceable(12) %186)
          to label %188 unwind label %272

188:                                              ; preds = %168
  store { <2 x float>, float } %187, ptr %43, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 8 %43, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %44) #9
  %189 = load float, ptr %37, align 4, !tbaa !13
  %190 = load float, ptr %38, align 4, !tbaa !13
  %191 = fsub float 1.000000e+00, %190
  %192 = fmul float %189, %191
  %193 = load ptr, ptr %10, align 8, !tbaa !5
  %194 = invoke { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %192, ptr noundef nonnull align 4 dereferenceable(12) %193)
          to label %195 unwind label %276

195:                                              ; preds = %188
  store { <2 x float>, float } %194, ptr %45, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 8 %45, i64 12, i1 false)
  %196 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %42, ptr noundef nonnull align 4 dereferenceable(12) %44)
          to label %197 unwind label %276

197:                                              ; preds = %195
  store { <2 x float>, float } %196, ptr %46, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 8 %46, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %47) #9
  %198 = load float, ptr %37, align 4, !tbaa !13
  %199 = load float, ptr %38, align 4, !tbaa !13
  %200 = fmul float %198, %199
  %201 = load ptr, ptr %11, align 8, !tbaa !5
  %202 = invoke { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %200, ptr noundef nonnull align 4 dereferenceable(12) %201)
          to label %203 unwind label %280

203:                                              ; preds = %197
  store { <2 x float>, float } %202, ptr %48, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 8 %48, i64 12, i1 false)
  %204 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %41, ptr noundef nonnull align 4 dereferenceable(12) %47)
          to label %205 unwind label %280

205:                                              ; preds = %203
  store { <2 x float>, float } %204, ptr %49, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 8 %49, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %50) #9
  %206 = load float, ptr %37, align 4, !tbaa !13
  %207 = fsub float 1.000000e+00, %206
  %208 = load float, ptr %38, align 4, !tbaa !13
  %209 = fmul float %207, %208
  %210 = load ptr, ptr %12, align 8, !tbaa !5
  %211 = invoke { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %209, ptr noundef nonnull align 4 dereferenceable(12) %210)
          to label %212 unwind label %284

212:                                              ; preds = %205
  store { <2 x float>, float } %211, ptr %51, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 8 %51, i64 12, i1 false)
  %213 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %40, ptr noundef nonnull align 4 dereferenceable(12) %50)
          to label %214 unwind label %284

214:                                              ; preds = %212
  store { <2 x float>, float } %213, ptr %52, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 8 %52, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %40) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr %53) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr %54) #9
  %215 = load float, ptr %37, align 4, !tbaa !13
  %216 = fsub float 1.000000e+00, %215
  call void @llvm.lifetime.start.p0(i64 12, ptr %55) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr %56) #9
  %217 = load ptr, ptr %9, align 8, !tbaa !5
  %218 = invoke { <2 x float>, float } @_ZN3cgpngERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12) %217)
          to label %219 unwind label %291

219:                                              ; preds = %214
  store { <2 x float>, float } %218, ptr %57, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %56, ptr align 8 %57, i64 12, i1 false)
  %220 = load ptr, ptr %12, align 8, !tbaa !5
  %221 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %56, ptr noundef nonnull align 4 dereferenceable(12) %220)
          to label %222 unwind label %291

222:                                              ; preds = %219
  store { <2 x float>, float } %221, ptr %58, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 8 %58, i64 12, i1 false)
  %223 = invoke { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %216, ptr noundef nonnull align 4 dereferenceable(12) %55)
          to label %224 unwind label %291

224:                                              ; preds = %222
  store { <2 x float>, float } %223, ptr %59, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 8 %59, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %60) #9
  %225 = load float, ptr %37, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 12, ptr %61) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr %62) #9
  %226 = load ptr, ptr %10, align 8, !tbaa !5
  %227 = invoke { <2 x float>, float } @_ZN3cgpngERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12) %226)
          to label %228 unwind label %295

228:                                              ; preds = %224
  store { <2 x float>, float } %227, ptr %63, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %62, ptr align 8 %63, i64 12, i1 false)
  %229 = load ptr, ptr %11, align 8, !tbaa !5
  %230 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %62, ptr noundef nonnull align 4 dereferenceable(12) %229)
          to label %231 unwind label %295

231:                                              ; preds = %228
  store { <2 x float>, float } %230, ptr %64, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %61, ptr align 8 %64, i64 12, i1 false)
  %232 = invoke { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %225, ptr noundef nonnull align 4 dereferenceable(12) %61)
          to label %233 unwind label %295

233:                                              ; preds = %231
  store { <2 x float>, float } %232, ptr %65, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %60, ptr align 8 %65, i64 12, i1 false)
  %234 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %54, ptr noundef nonnull align 4 dereferenceable(12) %60)
          to label %235 unwind label %295

235:                                              ; preds = %233
  store { <2 x float>, float } %234, ptr %66, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 8 %66, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %62) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %61) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %60) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %56) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %55) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %54) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr %67) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr %68) #9
  %236 = load float, ptr %38, align 4, !tbaa !13
  %237 = fsub float 1.000000e+00, %236
  call void @llvm.lifetime.start.p0(i64 12, ptr %69) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr %70) #9
  %238 = load ptr, ptr %9, align 8, !tbaa !5
  %239 = invoke { <2 x float>, float } @_ZN3cgpngERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12) %238)
          to label %240 unwind label %300

240:                                              ; preds = %235
  store { <2 x float>, float } %239, ptr %71, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %70, ptr align 8 %71, i64 12, i1 false)
  %241 = load ptr, ptr %10, align 8, !tbaa !5
  %242 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %70, ptr noundef nonnull align 4 dereferenceable(12) %241)
          to label %243 unwind label %300

243:                                              ; preds = %240
  store { <2 x float>, float } %242, ptr %72, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %69, ptr align 8 %72, i64 12, i1 false)
  %244 = invoke { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %237, ptr noundef nonnull align 4 dereferenceable(12) %69)
          to label %245 unwind label %300

245:                                              ; preds = %243
  store { <2 x float>, float } %244, ptr %73, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %68, ptr align 8 %73, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %74) #9
  %246 = load float, ptr %38, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 12, ptr %75) #9
  %247 = load ptr, ptr %11, align 8, !tbaa !5
  %248 = load ptr, ptr %12, align 8, !tbaa !5
  %249 = invoke { <2 x float>, float } @_ZN3cgpmiERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %247, ptr noundef nonnull align 4 dereferenceable(12) %248)
          to label %250 unwind label %304

250:                                              ; preds = %245
  store { <2 x float>, float } %249, ptr %76, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %75, ptr align 8 %76, i64 12, i1 false)
  %251 = invoke { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %246, ptr noundef nonnull align 4 dereferenceable(12) %75)
          to label %252 unwind label %304

252:                                              ; preds = %250
  store { <2 x float>, float } %251, ptr %77, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %74, ptr align 8 %77, i64 12, i1 false)
  %253 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %68, ptr noundef nonnull align 4 dereferenceable(12) %74)
          to label %254 unwind label %304

254:                                              ; preds = %252
  store { <2 x float>, float } %253, ptr %78, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %67, ptr align 8 %78, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %75) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %74) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %70) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %69) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %68) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr %79) #9
  call void @llvm.lifetime.start.p0(i64 12, ptr %80) #9
  %255 = invoke { <2 x float>, float } @_ZN3cgp5crossERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %67, ptr noundef nonnull align 4 dereferenceable(12) %53)
          to label %256 unwind label %309

256:                                              ; preds = %254
  store { <2 x float>, float } %255, ptr %81, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %80, ptr align 8 %81, i64 12, i1 false)
  %257 = invoke { <2 x float>, float } @_ZN3cgp9normalizeIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_(ptr noundef nonnull align 4 dereferenceable(12) %80)
          to label %258 unwind label %309

258:                                              ; preds = %256
  store { <2 x float>, float } %257, ptr %82, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %79, ptr align 8 %82, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr %80) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #9
  invoke void @_ZN3cgp14numarray_stackIfLi2EEC2ERKfS3_(ptr noundef nonnull align 4 dereferenceable(8) %83, ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 4 dereferenceable(4) %38)
          to label %259 unwind label %313

259:                                              ; preds = %258
  %260 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 0
  %261 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %260, ptr noundef nonnull align 4 dereferenceable(12) %39)
          to label %262 unwind label %313

262:                                              ; preds = %259
  %263 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 1
  %264 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %263, ptr noundef nonnull align 4 dereferenceable(12) %79)
          to label %265 unwind label %313

265:                                              ; preds = %262
  %266 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 3
  %267 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi2EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %266, ptr noundef nonnull align 4 dereferenceable(8) %83)
          to label %268 unwind label %313

268:                                              ; preds = %265
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %79) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %67) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %53) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #9
  br label %269

269:                                              ; preds = %268
  %270 = load i64, ptr %36, align 8, !tbaa !11
  %271 = add i64 %270, 1
  store i64 %271, ptr %36, align 8, !tbaa !11
  br label %162, !llvm.loop !15

272:                                              ; preds = %168
  %273 = landingpad { ptr, i32 }
          cleanup
  %274 = extractvalue { ptr, i32 } %273, 0
  store ptr %274, ptr %17, align 8
  %275 = extractvalue { ptr, i32 } %273, 1
  store i32 %275, ptr %18, align 4
  br label %290

276:                                              ; preds = %195, %188
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %17, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %18, align 4
  br label %289

280:                                              ; preds = %203, %197
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %17, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %18, align 4
  br label %288

284:                                              ; preds = %212, %205
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %17, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %50) #9
  br label %288

288:                                              ; preds = %284, %280
  call void @llvm.lifetime.end.p0(i64 12, ptr %47) #9
  br label %289

289:                                              ; preds = %288, %276
  call void @llvm.lifetime.end.p0(i64 12, ptr %44) #9
  br label %290

290:                                              ; preds = %289, %272
  call void @llvm.lifetime.end.p0(i64 12, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %40) #9
  br label %320

291:                                              ; preds = %222, %219, %214
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %17, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %18, align 4
  br label %299

295:                                              ; preds = %233, %231, %228, %224
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %17, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %62) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %61) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %60) #9
  br label %299

299:                                              ; preds = %295, %291
  call void @llvm.lifetime.end.p0(i64 12, ptr %56) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %55) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %54) #9
  br label %319

300:                                              ; preds = %243, %240, %235
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %17, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %18, align 4
  br label %308

304:                                              ; preds = %252, %250, %245
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %17, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %75) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %74) #9
  br label %308

308:                                              ; preds = %304, %300
  call void @llvm.lifetime.end.p0(i64 12, ptr %70) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %69) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %68) #9
  br label %318

309:                                              ; preds = %256, %254
  %310 = landingpad { ptr, i32 }
          cleanup
  %311 = extractvalue { ptr, i32 } %310, 0
  store ptr %311, ptr %17, align 8
  %312 = extractvalue { ptr, i32 } %310, 1
  store i32 %312, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 12, ptr %80) #9
  br label %317

313:                                              ; preds = %265, %262, %259, %258
  %314 = landingpad { ptr, i32 }
          cleanup
  %315 = extractvalue { ptr, i32 } %314, 0
  store ptr %315, ptr %17, align 8
  %316 = extractvalue { ptr, i32 } %314, 1
  store i32 %316, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #9
  br label %317

317:                                              ; preds = %313, %309
  call void @llvm.lifetime.end.p0(i64 12, ptr %79) #9
  br label %318

318:                                              ; preds = %317, %308
  call void @llvm.lifetime.end.p0(i64 12, ptr %67) #9
  br label %319

319:                                              ; preds = %318, %299
  call void @llvm.lifetime.end.p0(i64 12, ptr %53) #9
  br label %320

320:                                              ; preds = %319, %290
  call void @llvm.lifetime.end.p0(i64 12, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  br label %348

321:                                              ; preds = %167
  br label %322

322:                                              ; preds = %321
  %323 = load i64, ptr %34, align 8, !tbaa !11
  %324 = add i64 %323, 1
  store i64 %324, ptr %34, align 8, !tbaa !11
  br label %155, !llvm.loop !17

325:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 24, ptr %84) #9
  %326 = load i32, ptr %13, align 4, !tbaa !9
  %327 = sext i32 %326 to i64
  %328 = load i32, ptr %14, align 4, !tbaa !9
  %329 = sext i32 %328 to i64
  invoke void @_ZN3cgpL17connectivity_gridEmm(ptr dead_on_unwind writable sret(%"struct.cgp::numarray.6") align 8 %84, i64 noundef %327, i64 noundef %329)
          to label %330 unwind label %338

330:                                              ; preds = %325
  %331 = getelementptr inbounds %"struct.cgp::mesh", ptr %0, i32 0, i32 4
  %332 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %331, ptr noundef nonnull align 8 dereferenceable(24) %84) #9
  call void @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %84) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %84) #9
  %333 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh16fill_empty_fieldEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %334 unwind label %342

334:                                              ; preds = %330
  %335 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh17flip_connectivityEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %336 unwind label %342

336:                                              ; preds = %334
  store i1 true, ptr %33, align 1
  store i32 1, ptr %35, align 4
  %337 = load i1, ptr %33, align 1
  br i1 %337, label %347, label %346

338:                                              ; preds = %325
  %339 = landingpad { ptr, i32 }
          cleanup
  %340 = extractvalue { ptr, i32 } %339, 0
  store ptr %340, ptr %17, align 8
  %341 = extractvalue { ptr, i32 } %339, 1
  store i32 %341, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %84) #9
  br label %348

342:                                              ; preds = %334, %330
  %343 = landingpad { ptr, i32 }
          cleanup
  %344 = extractvalue { ptr, i32 } %343, 0
  store ptr %344, ptr %17, align 8
  %345 = extractvalue { ptr, i32 } %343, 1
  store i32 %345, ptr %18, align 4
  br label %348

346:                                              ; preds = %336
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #9
  br label %347

347:                                              ; preds = %346, %336
  ret void

348:                                              ; preds = %342, %338, %320
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #9
  br label %349

349:                                              ; preds = %348, %153, %118
  %350 = load ptr, ptr %17, align 8
  %351 = load i32, ptr %18, align 4
  %352 = insertvalue { ptr, i32 } poison, ptr %350, 0
  %353 = insertvalue { ptr, i32 } %352, i32 %351, 1
  resume { ptr, i32 } %353
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="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 = { 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 = !{!"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, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


; 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 }
%"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" = type { float, float, float }
%"struct.cgp::numarray_stack.16" = type { float, float }

@.str.2 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [23 x i8], align 1
@__func__._ZN3cgp19mesh_primitive_gridERKNS_14numarray_stackIfLi3EEES3_S3_S3_ii = external hidden unnamed_addr constant [20 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [5 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: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3cgpmiERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1

; 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 #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: 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 #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3cgp19mesh_primitive_gridERKNS_14numarray_stackIfLi3EEES3_S3_S3_ii(ptr dead_on_unwind noalias writable sret(%"struct.cgp::mesh") align 8 %0, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4, i32 noundef %5, i32 noundef %6) local_unnamed_addr #7 personality ptr @__gxx_personality_v0 {
  %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 8
  %27 = alloca %"struct.cgp::numarray_stack", align 8
  %28 = alloca %"struct.cgp::numarray_stack", align 8
  %29 = alloca %"struct.cgp::numarray_stack", align 8
  %30 = alloca %"struct.cgp::numarray_stack", align 8
  %31 = alloca %"struct.cgp::numarray_stack", align 8
  %32 = alloca %"struct.cgp::numarray_stack", align 8
  %33 = alloca %"struct.cgp::numarray_stack", 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 8
  %37 = alloca %"struct.cgp::numarray_stack", align 8
  %38 = alloca %"struct.cgp::numarray_stack", align 8
  %39 = alloca %"struct.cgp::numarray_stack", align 8
  %40 = alloca %"struct.cgp::numarray_stack", align 8
  %41 = alloca %"struct.cgp::numarray_stack", align 8
  %42 = alloca %"struct.cgp::numarray_stack", align 8
  %43 = alloca %"struct.cgp::numarray_stack", align 8
  %44 = alloca %"struct.cgp::numarray_stack", align 8
  %45 = alloca %"struct.cgp::numarray_stack", align 8
  %46 = alloca %"struct.cgp::numarray_stack", align 8
  %47 = alloca %"struct.cgp::numarray_stack", align 8
  %48 = alloca %"struct.cgp::numarray_stack.16", align 4
  %49 = alloca %"struct.cgp::numarray.6", align 8
  %50 = icmp slt i32 %5, 2
  br i1 %50, label %51, label %71

51:                                               ; preds = %7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @.str.14, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %52 unwind label %57

52:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.15, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %53 unwind label %59

53:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %13) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  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 %54 unwind label %61

54:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @__func__._ZN3cgp19mesh_primitive_gridERKNS_14numarray_stackIfLi3EEES3_S3_S3_ii, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %55 unwind label %63

55:                                               ; preds = %54
  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 248) #9
          to label %56 unwind label %65

56:                                               ; preds = %55
  unreachable

57:                                               ; preds = %51
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %70

59:                                               ; preds = %52
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %69

61:                                               ; preds = %53
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %68

63:                                               ; preds = %54
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %67

65:                                               ; preds = %55
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  br label %67

67:                                               ; preds = %65, %63
  %.pn152 = phi { ptr, i32 } [ %66, %65 ], [ %64, %63 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  br label %68

68:                                               ; preds = %67, %61
  %.pn152.pn = phi { ptr, i32 } [ %.pn152, %67 ], [ %62, %61 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  br label %69

69:                                               ; preds = %68, %59
  %.pn152.pn.pn = phi { ptr, i32 } [ %.pn152.pn, %68 ], [ %60, %59 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  br label %70

70:                                               ; preds = %69, %57
  %.pn152.pn.pn.pn = phi { ptr, i32 } [ %.pn152.pn.pn, %69 ], [ %58, %57 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br label %222

71:                                               ; preds = %7
  %72 = icmp slt i32 %6, 2
  br i1 %72, label %73, label %93

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

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

75:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #8
  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 %76 unwind label %83

76:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull @__func__._ZN3cgp19mesh_primitive_gridERKNS_14numarray_stackIfLi3EEES3_S3_S3_ii, ptr noundef nonnull align 1 dereferenceable(1) %23)
          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) %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 249) #9
          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) %22) #8
  br label %89

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

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

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

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

93:                                               ; preds = %71
  tail call void @_ZN3cgp4meshC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0)
  %94 = zext nneg i32 %5 to i64
  %95 = zext nneg i32 %6 to i64
  %96 = uitofp nneg i32 %5 to float
  %97 = fadd float %96, -1.000000e+00
  %98 = uitofp nneg i32 %6 to float
  %99 = fadd float %98, -1.000000e+00
  %.sroa.284.0..sroa_idx = getelementptr inbounds i8, ptr %29, i64 8
  %.sroa.280.0..sroa_idx = getelementptr inbounds i8, ptr %30, i64 8
  %.sroa.276.0..sroa_idx = getelementptr inbounds i8, ptr %28, i64 8
  %.sroa.272.0..sroa_idx = getelementptr inbounds i8, ptr %31, i64 8
  %.sroa.268.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 8
  %.sroa.264.0..sroa_idx = getelementptr inbounds i8, ptr %32, i64 8
  %.sroa.260.0..sroa_idx = getelementptr inbounds i8, ptr %26, i64 8
  %.sroa.256.0..sroa_idx = getelementptr inbounds i8, ptr %36, i64 8
  %.sroa.252.0..sroa_idx = getelementptr inbounds i8, ptr %35, i64 8
  %.sroa.248.0..sroa_idx = getelementptr inbounds i8, ptr %34, i64 8
  %.sroa.244.0..sroa_idx = getelementptr inbounds i8, ptr %39, i64 8
  %.sroa.240.0..sroa_idx = getelementptr inbounds i8, ptr %38, i64 8
  %.sroa.236.0..sroa_idx = getelementptr inbounds i8, ptr %37, i64 8
  %.sroa.232.0..sroa_idx = getelementptr inbounds i8, ptr %33, i64 8
  %.sroa.228.0..sroa_idx = getelementptr inbounds i8, ptr %43, i64 8
  %.sroa.224.0..sroa_idx = getelementptr inbounds i8, ptr %42, i64 8
  %.sroa.220.0..sroa_idx = getelementptr inbounds i8, ptr %41, i64 8
  %.sroa.216.0..sroa_idx = getelementptr inbounds i8, ptr %45, i64 8
  %.sroa.212.0..sroa_idx = getelementptr inbounds i8, ptr %44, i64 8
  %.sroa.28.0..sroa_idx = getelementptr inbounds i8, ptr %40, i64 8
  %.sroa.24.0..sroa_idx = getelementptr inbounds i8, ptr %47, i64 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %46, i64 8
  %100 = getelementptr inbounds i8, ptr %0, i64 24
  %101 = getelementptr inbounds i8, ptr %0, i64 72
  br label %.preheader

.preheader:                                       ; preds = %93, %106
  %.0131169 = phi i64 [ 0, %93 ], [ %107, %106 ]
  %102 = uitofp nneg i64 %.0131169 to float
  %103 = fdiv float %102, %97
  %104 = fsub float 1.000000e+00, %103
  br label %108

105:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %49) #8
  invoke void @_ZN3cgpL17connectivity_gridEmm(ptr dead_on_unwind nonnull writable sret(%"struct.cgp::numarray.6") align 8 %49, i64 noundef %94, i64 noundef %95)
          to label %210 unwind label %216

106:                                              ; preds = %179
  %107 = add nuw nsw i64 %.0131169, 1
  %exitcond170.not = icmp eq i64 %107, %94
  br i1 %exitcond170.not, label %105, label %.preheader, !llvm.loop !5

108:                                              ; preds = %.preheader, %179
  %.0132168 = phi i64 [ 0, %.preheader ], [ %180, %179 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #8
  store float %103, ptr %24, align 4, !tbaa !7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #8
  %109 = uitofp nneg i64 %.0132168 to float
  %110 = fdiv float %109, %99
  store float %110, ptr %25, align 4, !tbaa !7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %26) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %27) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %28) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %29) #8
  %111 = fsub float 1.000000e+00, %110
  %112 = fmul float %104, %111
  %113 = invoke { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %112, ptr noundef nonnull align 4 dereferenceable(12) %1)
          to label %114 unwind label %181

114:                                              ; preds = %108
  %.fca.0.extract81 = extractvalue { <2 x float>, float } %113, 0
  %.fca.1.extract82 = extractvalue { <2 x float>, float } %113, 1
  store <2 x float> %.fca.0.extract81, ptr %29, align 8
  store float %.fca.1.extract82, ptr %.sroa.284.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %30) #8
  %115 = load float, ptr %24, align 4, !tbaa !7
  %116 = load float, ptr %25, align 4, !tbaa !7
  %117 = fsub float 1.000000e+00, %116
  %118 = fmul float %115, %117
  %119 = invoke { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %118, ptr noundef nonnull align 4 dereferenceable(12) %2)
          to label %120 unwind label %183

120:                                              ; preds = %114
  %.fca.0.extract77 = extractvalue { <2 x float>, float } %119, 0
  %.fca.1.extract78 = extractvalue { <2 x float>, float } %119, 1
  store <2 x float> %.fca.0.extract77, ptr %30, align 8
  store float %.fca.1.extract78, ptr %.sroa.280.0..sroa_idx, align 8
  %121 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %29, ptr noundef nonnull align 4 dereferenceable(12) %30)
          to label %122 unwind label %183

122:                                              ; preds = %120
  %.fca.0.extract73 = extractvalue { <2 x float>, float } %121, 0
  %.fca.1.extract74 = extractvalue { <2 x float>, float } %121, 1
  store <2 x float> %.fca.0.extract73, ptr %28, align 8
  store float %.fca.1.extract74, ptr %.sroa.276.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %31) #8
  %123 = load float, ptr %24, align 4, !tbaa !7
  %124 = load float, ptr %25, align 4, !tbaa !7
  %125 = fmul float %123, %124
  %126 = invoke { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %125, ptr noundef nonnull align 4 dereferenceable(12) %3)
          to label %127 unwind label %185

127:                                              ; preds = %122
  %.fca.0.extract69 = extractvalue { <2 x float>, float } %126, 0
  %.fca.1.extract70 = extractvalue { <2 x float>, float } %126, 1
  store <2 x float> %.fca.0.extract69, ptr %31, align 8
  store float %.fca.1.extract70, ptr %.sroa.272.0..sroa_idx, align 8
  %128 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %28, ptr noundef nonnull align 4 dereferenceable(12) %31)
          to label %129 unwind label %185

129:                                              ; preds = %127
  %.fca.0.extract65 = extractvalue { <2 x float>, float } %128, 0
  %.fca.1.extract66 = extractvalue { <2 x float>, float } %128, 1
  store <2 x float> %.fca.0.extract65, ptr %27, align 8
  store float %.fca.1.extract66, ptr %.sroa.268.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %32) #8
  %130 = load float, ptr %24, align 4, !tbaa !7
  %131 = fsub float 1.000000e+00, %130
  %132 = load float, ptr %25, align 4, !tbaa !7
  %133 = fmul float %131, %132
  %134 = invoke { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %133, ptr noundef nonnull align 4 dereferenceable(12) %4)
          to label %135 unwind label %187

135:                                              ; preds = %129
  %.fca.0.extract61 = extractvalue { <2 x float>, float } %134, 0
  %.fca.1.extract62 = extractvalue { <2 x float>, float } %134, 1
  store <2 x float> %.fca.0.extract61, ptr %32, align 8
  store float %.fca.1.extract62, ptr %.sroa.264.0..sroa_idx, align 8
  %136 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %27, ptr noundef nonnull align 4 dereferenceable(12) %32)
          to label %137 unwind label %187

137:                                              ; preds = %135
  %.fca.0.extract57 = extractvalue { <2 x float>, float } %136, 0
  %.fca.1.extract58 = extractvalue { <2 x float>, float } %136, 1
  store <2 x float> %.fca.0.extract57, ptr %26, align 8
  store float %.fca.1.extract58, ptr %.sroa.260.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %32) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %31) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %30) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %27) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %33) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %34) #8
  %138 = load float, ptr %24, align 4, !tbaa !7
  %139 = fsub float 1.000000e+00, %138
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %35) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %36) #8
  %140 = invoke { <2 x float>, float } @_ZN3cgpngERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12) %1)
          to label %141 unwind label %192

141:                                              ; preds = %137
  %.fca.0.extract53 = extractvalue { <2 x float>, float } %140, 0
  %.fca.1.extract54 = extractvalue { <2 x float>, float } %140, 1
  store <2 x float> %.fca.0.extract53, ptr %36, align 8
  store float %.fca.1.extract54, ptr %.sroa.256.0..sroa_idx, align 8
  %142 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %36, ptr noundef nonnull align 4 dereferenceable(12) %4)
          to label %143 unwind label %192

143:                                              ; preds = %141
  %.fca.0.extract49 = extractvalue { <2 x float>, float } %142, 0
  %.fca.1.extract50 = extractvalue { <2 x float>, float } %142, 1
  store <2 x float> %.fca.0.extract49, ptr %35, align 8
  store float %.fca.1.extract50, ptr %.sroa.252.0..sroa_idx, align 8
  %144 = invoke { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %139, ptr noundef nonnull align 4 dereferenceable(12) %35)
          to label %145 unwind label %192

145:                                              ; preds = %143
  %.fca.0.extract45 = extractvalue { <2 x float>, float } %144, 0
  %.fca.1.extract46 = extractvalue { <2 x float>, float } %144, 1
  store <2 x float> %.fca.0.extract45, ptr %34, align 8
  store float %.fca.1.extract46, ptr %.sroa.248.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %37) #8
  %146 = load float, ptr %24, align 4, !tbaa !7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %38) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %39) #8
  %147 = invoke { <2 x float>, float } @_ZN3cgpngERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12) %2)
          to label %148 unwind label %194

148:                                              ; preds = %145
  %.fca.0.extract41 = extractvalue { <2 x float>, float } %147, 0
  %.fca.1.extract42 = extractvalue { <2 x float>, float } %147, 1
  store <2 x float> %.fca.0.extract41, ptr %39, align 8
  store float %.fca.1.extract42, ptr %.sroa.244.0..sroa_idx, align 8
  %149 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %39, ptr noundef nonnull align 4 dereferenceable(12) %3)
          to label %150 unwind label %194

150:                                              ; preds = %148
  %.fca.0.extract37 = extractvalue { <2 x float>, float } %149, 0
  %.fca.1.extract38 = extractvalue { <2 x float>, float } %149, 1
  store <2 x float> %.fca.0.extract37, ptr %38, align 8
  store float %.fca.1.extract38, ptr %.sroa.240.0..sroa_idx, align 8
  %151 = invoke { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %146, ptr noundef nonnull align 4 dereferenceable(12) %38)
          to label %152 unwind label %194

152:                                              ; preds = %150
  %.fca.0.extract33 = extractvalue { <2 x float>, float } %151, 0
  %.fca.1.extract34 = extractvalue { <2 x float>, float } %151, 1
  store <2 x float> %.fca.0.extract33, ptr %37, align 8
  store float %.fca.1.extract34, ptr %.sroa.236.0..sroa_idx, align 8
  %153 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %34, ptr noundef nonnull align 4 dereferenceable(12) %37)
          to label %154 unwind label %194

154:                                              ; preds = %152
  %.fca.0.extract29 = extractvalue { <2 x float>, float } %153, 0
  %.fca.1.extract30 = extractvalue { <2 x float>, float } %153, 1
  store <2 x float> %.fca.0.extract29, ptr %33, align 8
  store float %.fca.1.extract30, ptr %.sroa.232.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %39) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %38) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %37) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %36) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %35) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %34) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %40) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %41) #8
  %155 = load float, ptr %25, align 4, !tbaa !7
  %156 = fsub float 1.000000e+00, %155
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %42) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %43) #8
  %157 = invoke { <2 x float>, float } @_ZN3cgpngERKNS_14numarray_stackIfLi3EEE(ptr noundef nonnull align 4 dereferenceable(12) %1)
          to label %158 unwind label %197

158:                                              ; preds = %154
  %.fca.0.extract25 = extractvalue { <2 x float>, float } %157, 0
  %.fca.1.extract26 = extractvalue { <2 x float>, float } %157, 1
  store <2 x float> %.fca.0.extract25, ptr %43, align 8
  store float %.fca.1.extract26, ptr %.sroa.228.0..sroa_idx, align 8
  %159 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %43, ptr noundef nonnull align 4 dereferenceable(12) %2)
          to label %160 unwind label %197

160:                                              ; preds = %158
  %.fca.0.extract21 = extractvalue { <2 x float>, float } %159, 0
  %.fca.1.extract22 = extractvalue { <2 x float>, float } %159, 1
  store <2 x float> %.fca.0.extract21, ptr %42, align 8
  store float %.fca.1.extract22, ptr %.sroa.224.0..sroa_idx, align 8
  %161 = invoke { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %156, ptr noundef nonnull align 4 dereferenceable(12) %42)
          to label %162 unwind label %197

162:                                              ; preds = %160
  %.fca.0.extract17 = extractvalue { <2 x float>, float } %161, 0
  %.fca.1.extract18 = extractvalue { <2 x float>, float } %161, 1
  store <2 x float> %.fca.0.extract17, ptr %41, align 8
  store float %.fca.1.extract18, ptr %.sroa.220.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %44) #8
  %163 = load float, ptr %25, align 4, !tbaa !7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %45) #8
  %164 = invoke { <2 x float>, float } @_ZN3cgpmiERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4)
          to label %165 unwind label %199

165:                                              ; preds = %162
  %.fca.0.extract13 = extractvalue { <2 x float>, float } %164, 0
  %.fca.1.extract14 = extractvalue { <2 x float>, float } %164, 1
  store <2 x float> %.fca.0.extract13, ptr %45, align 8
  store float %.fca.1.extract14, ptr %.sroa.216.0..sroa_idx, align 8
  %166 = invoke { <2 x float>, float } @_ZN3cgpmlEfRKNS_14numarray_stackIfLi3EEE(float noundef %163, ptr noundef nonnull align 4 dereferenceable(12) %45)
          to label %167 unwind label %199

167:                                              ; preds = %165
  %.fca.0.extract9 = extractvalue { <2 x float>, float } %166, 0
  %.fca.1.extract10 = extractvalue { <2 x float>, float } %166, 1
  store <2 x float> %.fca.0.extract9, ptr %44, align 8
  store float %.fca.1.extract10, ptr %.sroa.212.0..sroa_idx, align 8
  %168 = invoke { <2 x float>, float } @_ZN3cgpplERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %41, ptr noundef nonnull align 4 dereferenceable(12) %44)
          to label %169 unwind label %199

169:                                              ; preds = %167
  %.fca.0.extract5 = extractvalue { <2 x float>, float } %168, 0
  %.fca.1.extract6 = extractvalue { <2 x float>, float } %168, 1
  store <2 x float> %.fca.0.extract5, ptr %40, align 8
  store float %.fca.1.extract6, ptr %.sroa.28.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %45) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %44) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %43) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %42) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %41) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %46) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %47) #8
  %170 = invoke { <2 x float>, float } @_ZN3cgp5crossERKNS_14numarray_stackIfLi3EEES3_(ptr noundef nonnull align 4 dereferenceable(12) %40, ptr noundef nonnull align 4 dereferenceable(12) %33)
          to label %171 unwind label %202

171:                                              ; preds = %169
  %.fca.0.extract1 = extractvalue { <2 x float>, float } %170, 0
  %.fca.1.extract2 = extractvalue { <2 x float>, float } %170, 1
  store <2 x float> %.fca.0.extract1, ptr %47, align 8
  store float %.fca.1.extract2, ptr %.sroa.24.0..sroa_idx, align 8
  %172 = invoke { <2 x float>, float } @_ZN3cgp9normalizeIfLi3EEENS_14numarray_stackIT_XT0_EEERKS3_(ptr noundef nonnull align 4 dereferenceable(12) %47)
          to label %173 unwind label %202

173:                                              ; preds = %171
  %.fca.0.extract = extractvalue { <2 x float>, float } %172, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %172, 1
  store <2 x float> %.fca.0.extract, ptr %46, align 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %47) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %48) #8
  call void @_ZN3cgp14numarray_stackIfLi2EEC2ERKfS3_(ptr noundef nonnull align 4 dereferenceable(8) %48, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(4) %25)
  %174 = 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) %26)
          to label %175 unwind label %204

175:                                              ; preds = %173
  %176 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi3EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %100, ptr noundef nonnull align 4 dereferenceable(12) %46)
          to label %177 unwind label %204

177:                                              ; preds = %175
  %178 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIfLi2EEEE9push_backERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %101, ptr noundef nonnull align 4 dereferenceable(8) %48)
          to label %179 unwind label %204

179:                                              ; preds = %177
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %46) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %40) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %33) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #8
  %180 = add nuw nsw i64 %.0132168, 1
  %exitcond.not = icmp eq i64 %180, %95
  br i1 %exitcond.not, label %106, label %108, !llvm.loop !11

181:                                              ; preds = %108
  %182 = landingpad { ptr, i32 }
          cleanup
  br label %191

183:                                              ; preds = %120, %114
  %184 = landingpad { ptr, i32 }
          cleanup
  br label %190

185:                                              ; preds = %127, %122
  %186 = landingpad { ptr, i32 }
          cleanup
  br label %189

187:                                              ; preds = %135, %129
  %188 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %32) #8
  br label %189

189:                                              ; preds = %187, %185
  %.pn = phi { ptr, i32 } [ %188, %187 ], [ %186, %185 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %31) #8
  br label %190

190:                                              ; preds = %189, %183
  %.pn.pn = phi { ptr, i32 } [ %.pn, %189 ], [ %184, %183 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %30) #8
  br label %191

191:                                              ; preds = %190, %181
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %190 ], [ %182, %181 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %27) #8
  br label %209

192:                                              ; preds = %143, %141, %137
  %193 = landingpad { ptr, i32 }
          cleanup
  br label %196

194:                                              ; preds = %152, %150, %148, %145
  %195 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %39) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %38) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %37) #8
  br label %196

196:                                              ; preds = %194, %192
  %.pn137 = phi { ptr, i32 } [ %195, %194 ], [ %193, %192 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %36) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %35) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %34) #8
  br label %208

197:                                              ; preds = %160, %158, %154
  %198 = landingpad { ptr, i32 }
          cleanup
  br label %201

199:                                              ; preds = %167, %165, %162
  %200 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %45) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %44) #8
  br label %201

201:                                              ; preds = %199, %197
  %.pn139 = phi { ptr, i32 } [ %200, %199 ], [ %198, %197 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %43) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %42) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %41) #8
  br label %207

202:                                              ; preds = %171, %169
  %203 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %47) #8
  br label %206

204:                                              ; preds = %177, %175, %173
  %205 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #8
  br label %206

206:                                              ; preds = %204, %202
  %.pn141 = phi { ptr, i32 } [ %205, %204 ], [ %203, %202 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %46) #8
  br label %207

207:                                              ; preds = %206, %201
  %.pn141.pn = phi { ptr, i32 } [ %.pn141, %206 ], [ %.pn139, %201 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %40) #8
  br label %208

208:                                              ; preds = %207, %196
  %.pn141.pn.pn = phi { ptr, i32 } [ %.pn141.pn, %207 ], [ %.pn137, %196 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %33) #8
  br label %209

209:                                              ; preds = %208, %191
  %.pn141.pn.pn.pn = phi { ptr, i32 } [ %.pn141.pn.pn, %208 ], [ %.pn.pn.pn, %191 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #8
  br label %221

210:                                              ; preds = %105
  %211 = getelementptr inbounds i8, ptr %0, i64 96
  %212 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %211, ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  call void @_ZN3cgp8numarrayINS_14numarray_stackIjLi3EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #8
  %213 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh16fill_empty_fieldEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %214 unwind label %218

214:                                              ; preds = %210
  %215 = invoke noundef nonnull align 8 dereferenceable(120) ptr @_ZN3cgp4mesh17flip_connectivityEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
          to label %220 unwind label %218

216:                                              ; preds = %105
  %217 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #8
  br label %221

218:                                              ; preds = %214, %210
  %219 = landingpad { ptr, i32 }
          cleanup
  br label %221

220:                                              ; preds = %214
  ret void

221:                                              ; preds = %218, %216, %209
  %.pn141.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn141.pn.pn.pn, %209 ], [ %219, %218 ], [ %217, %216 ]
  call void @_ZN3cgp4meshD2Ev(ptr noundef nonnull align 8 dereferenceable(120) %0) #8
  br label %222

222:                                              ; preds = %221, %92, %70
  %.pn152.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn152.pn.pn.pn, %70 ], [ %.pn147.pn.pn.pn, %92 ], [ %.pn141.pn.pn.pn.pn, %221 ]
  resume { ptr, i32 } %.pn152.pn.pn.pn.pn
}

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

; 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 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 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 #8 = { nounwind }
attributes #9 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"float", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = distinct !{!11, !6}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass