; LLVM IR from paroj/gltut :: glsdk/glmesh/source/GenMeshMisc.ll (ZN6glmesh3gen11GroundPlaneEiib)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<glmesh::AttribDesc, std::allocator<glmesh::AttribDesc>>::_Vector_impl" }
%"struct.std::_Vector_base<glmesh::AttribDesc, std::allocator<glmesh::AttribDesc>>::_Vector_impl" = type { %"struct.std::_Vector_base<glmesh::AttribDesc, std::allocator<glmesh::AttribDesc>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glmesh::AttribDesc, std::allocator<glmesh::AttribDesc>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.glmesh::AttribDesc" = type { i32, i32, i32, i32 }
%"class.glmesh::VertexFormat" = type { %"class.std::vector", %"class.std::vector.0", i64 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.glmesh::CpuDataWriter" = type { %"class.glmesh::VertexWriter", %"class.std::vector.5", %"class.std::vector.5", ptr, i64 }
%"class.glmesh::VertexWriter" = type { i64 }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.glm::detail::tvec4" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { i8, i8, i8, i8 }
%"struct.glm::detail::tvec2" = type { %union.anon.21 }
%union.anon.21 = type { %struct.anon.22 }
%struct.anon.22 = type { i16, i16 }
%"struct.glm::detail::tvec2.25" = type { %union.anon.26 }
%union.anon.26 = type { %struct.anon.27 }
%struct.anon.27 = type { i32, i32 }
%"struct.glm::detail::tvec2.30" = type { %union.anon.31 }
%union.anon.31 = type { %struct.anon.32 }
%struct.anon.32 = type { i16, i16 }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.12" = type { i8 }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.glmesh::RenderCmdList" = type { %"class.std::auto_ptr" }
%"class.std::auto_ptr" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.40 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.40 = type { i64, [8 x i8] }
%"class.std::allocator.7" = type { i8 }
%struct.anon.24 = type { i16, i16 }
%struct.anon.29 = type { i32, i32 }

@_ZN2gl10BindBufferE = external global ptr, align 8
@_ZN2gl10GenBuffersE = external global ptr, align 8
@_ZN2gl10BufferDataE = external global ptr, align 8
@.str = external hidden unnamed_addr constant [8 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: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN6glmesh10AttribDescESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

declare void @_ZN6glmesh10AttribDescC1EjjNS_14VertexDataTypeENS_14AttribDataTypeE(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN6glmesh12VertexFormatC1ERKSt6vectorINS_10AttribDescESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3

declare void @_ZN6glmesh13CpuDataWriterC1ERKNS_12VertexFormatEm(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(56), i64 noundef) unnamed_addr #3

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

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

declare noundef i32 @_ZNK6glmesh13CpuDataWriter16TransferToBufferEjjj(ptr noundef nonnull align 8 dereferenceable(72), i32 noundef, i32 noundef, i32 noundef) #3

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

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

declare void @_ZN6glmesh13RenderCmdListC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #4

declare void @_ZN6glmesh4MeshC1ERKSt6vectorIjSaIjEEjRKNS_13RenderCmdListERKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessISF_ESaISt4pairIKSF_jEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #5

; Function Attrs: nounwind
declare void @_ZN6glmesh13RenderCmdListD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #6

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6glmesh13CpuDataWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6glmesh12VertexFormatD2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #7 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN6glmesh3gen11GroundPlaneEiib(i32 noundef %0, i32 noundef %1, i1 noundef zeroext %2) #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca %"class.glmesh::AttribDesc", align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.glmesh::AttribDesc", align 4
  %14 = alloca %"class.glmesh::AttribDesc", align 4
  %15 = alloca %"class.glmesh::VertexFormat", align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.glmesh::CpuDataWriter", align 8
  %18 = alloca %"struct.glm::detail::tvec4", align 1
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca float, align 4
  %26 = alloca i32, align 4
  %27 = alloca float, align 4
  %28 = alloca %"struct.glm::detail::tvec2", align 2
  %29 = alloca float, align 4
  %30 = alloca float, align 4
  %31 = alloca %"struct.glm::detail::tvec2.25", align 4
  %32 = alloca %"struct.glm::detail::tvec2.30", align 2
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca %"struct.glm::detail::tvec4", align 1
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca float, align 4
  %42 = alloca i32, align 4
  %43 = alloca float, align 4
  %44 = alloca %"struct.glm::detail::tvec2", align 2
  %45 = alloca float, align 4
  %46 = alloca float, align 4
  %47 = alloca %"struct.glm::detail::tvec2.25", align 4
  %48 = alloca %"struct.glm::detail::tvec2.30", align 2
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca i32, align 4
  %53 = alloca %"class.std::vector.10", align 8
  %54 = alloca i32, align 4
  %55 = alloca i32, align 4
  %56 = alloca i32, align 4
  %57 = alloca i32, align 4
  %58 = alloca i32, align 4
  %59 = alloca i32, align 4
  %60 = alloca i32, align 4
  %61 = alloca i32, align 4
  %62 = alloca i32, align 4
  %63 = alloca %"class.std::vector.10", align 8
  %64 = alloca %"class.std::allocator.12", align 1
  %65 = alloca %"class.std::map", align 8
  %66 = alloca %"class.std::vector.35", align 8
  %67 = alloca i32, align 4
  %68 = alloca i32, align 4
  %69 = alloca %"class.glmesh::RenderCmdList", align 8
  %70 = alloca i32, align 4
  %71 = alloca %"class.std::__cxx11::basic_string", align 8
  %72 = alloca %"class.std::allocator.7", align 1
  %73 = alloca ptr, align 8
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !5
  %74 = zext i1 %2 to i8
  store i8 %74, ptr %6, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 2, ptr %7, align 4, !tbaa !5
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %76 = load i32, ptr %75, align 4, !tbaa !5
  store i32 %76, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 2, ptr %8, align 4, !tbaa !5
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %78 = load i32, ptr %77, align 4, !tbaa !5
  store i32 %78, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #8
  call void @_ZNSt6vectorIN6glmesh10AttribDescESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #8
  invoke void @_ZN6glmesh10AttribDescC1EjjNS_14VertexDataTypeENS_14AttribDataTypeE(ptr noundef nonnull align 4 dereferenceable(16) %10, i32 noundef 0, i32 noundef 2, i32 noundef 5, i32 noundef 1)
          to label %79 unwind label %107

79:                                               ; preds = %3
  invoke void @_ZNSt6vectorIN6glmesh10AttribDescESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 4 dereferenceable(16) %10)
          to label %80 unwind label %107

80:                                               ; preds = %79
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  invoke void @_ZN6glmesh10AttribDescC1EjjNS_14VertexDataTypeENS_14AttribDataTypeE(ptr noundef nonnull align 4 dereferenceable(16) %13, i32 noundef 2, i32 noundef 4, i32 noundef 3, i32 noundef 1)
          to label %81 unwind label %111

81:                                               ; preds = %80
  invoke void @_ZNSt6vectorIN6glmesh10AttribDescESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 4 dereferenceable(16) %13)
          to label %82 unwind label %111

82:                                               ; preds = %81
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #8
  invoke void @_ZN6glmesh10AttribDescC1EjjNS_14VertexDataTypeENS_14AttribDataTypeE(ptr noundef nonnull align 4 dereferenceable(16) %14, i32 noundef 5, i32 noundef 2, i32 noundef 6, i32 noundef 1)
          to label %83 unwind label %115

83:                                               ; preds = %82
  invoke void @_ZNSt6vectorIN6glmesh10AttribDescESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 4 dereferenceable(16) %14)
          to label %84 unwind label %115

84:                                               ; preds = %83
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr %15) #8
  invoke void @_ZN6glmesh12VertexFormatC1ERKSt6vectorINS_10AttribDescESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(56) %15, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %85 unwind label %119

85:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %86 = load i32, ptr %4, align 4, !tbaa !5
  %87 = load i32, ptr %5, align 4, !tbaa !5
  %88 = mul nsw i32 %86, %87
  store i32 %88, ptr %16, align 4, !tbaa !5
  %89 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %90 = trunc i8 %89 to i1
  br i1 %90, label %91, label %94

91:                                               ; preds = %85
  %92 = load i32, ptr %16, align 4, !tbaa !5
  %93 = mul nsw i32 %92, 2
  br label %96

94:                                               ; preds = %85
  %95 = load i32, ptr %16, align 4, !tbaa !5
  br label %96

96:                                               ; preds = %94, %91
  %97 = phi i32 [ %93, %91 ], [ %95, %94 ]
  store i32 %97, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 72, ptr %17) #8
  %98 = load i32, ptr %16, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  invoke void @_ZN6glmesh13CpuDataWriterC1ERKNS_12VertexFormatEm(ptr noundef nonnull align 8 dereferenceable(72) %17, ptr noundef nonnull align 8 dereferenceable(56) %15, i64 noundef %99)
          to label %100 unwind label %123

100:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  store i32 0, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  store i32 0, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 127, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 0, ptr %22, align 4, !tbaa !5
  invoke void @_ZN3glm6detail5tvec4IaEC2IiiiiEERKT_RKT0_RKT1_RKT2_(ptr noundef nonnull align 1 dereferenceable(4) %18, ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %21, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %101 unwind label %127

101:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %102

102:                                              ; preds = %210, %101
  %103 = load i32, ptr %23, align 4, !tbaa !5
  %104 = load i32, ptr %5, align 4, !tbaa !5
  %105 = icmp slt i32 %103, %104
  br i1 %105, label %131, label %106

106:                                              ; preds = %102
  store i32 2, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %213

107:                                              ; preds = %79, %3
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %11, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  br label %551

111:                                              ; preds = %81, %80
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %11, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  br label %551

115:                                              ; preds = %83, %82
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %11, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #8
  br label %551

119:                                              ; preds = %84
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %11, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %12, align 4
  br label %550

123:                                              ; preds = %96
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %11, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %12, align 4
  br label %549

127:                                              ; preds = %100
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %11, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %548

131:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  %132 = load i32, ptr %23, align 4, !tbaa !5
  %133 = load i32, ptr %5, align 4, !tbaa !5
  %134 = icmp eq i32 %132, %133
  br i1 %134, label %135, label %136

135:                                              ; preds = %131
  br label %143

136:                                              ; preds = %131
  %137 = load i32, ptr %23, align 4, !tbaa !5
  %138 = sitofp i32 %137 to float
  %139 = load i32, ptr %5, align 4, !tbaa !5
  %140 = sub nsw i32 %139, 1
  %141 = sitofp i32 %140 to float
  %142 = fdiv float %138, %141
  br label %143

143:                                              ; preds = %136, %135
  %144 = phi float [ 1.000000e+00, %135 ], [ %142, %136 ]
  store float %144, ptr %25, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #8
  store i32 0, ptr %26, align 4, !tbaa !5
  br label %145

145:                                              ; preds = %187, %143
  %146 = load i32, ptr %26, align 4, !tbaa !5
  %147 = load i32, ptr %4, align 4, !tbaa !5
  %148 = icmp slt i32 %146, %147
  br i1 %148, label %150, label %149

149:                                              ; preds = %145
  store i32 5, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  br label %209

150:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  %151 = load i32, ptr %26, align 4, !tbaa !5
  %152 = load i32, ptr %4, align 4, !tbaa !5
  %153 = icmp eq i32 %151, %152
  br i1 %153, label %154, label %155

154:                                              ; preds = %150
  br label %162

155:                                              ; preds = %150
  %156 = load i32, ptr %26, align 4, !tbaa !5
  %157 = sitofp i32 %156 to float
  %158 = load i32, ptr %4, align 4, !tbaa !5
  %159 = sub nsw i32 %158, 1
  %160 = sitofp i32 %159 to float
  %161 = fdiv float %157, %160
  br label %162

162:                                              ; preds = %155, %154
  %163 = phi float [ 1.000000e+00, %154 ], [ %161, %155 ]
  store float %163, ptr %27, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  %164 = load float, ptr %27, align 4, !tbaa !13
  %165 = fmul float 6.553500e+04, %164
  store float %165, ptr %29, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  %166 = load float, ptr %25, align 4, !tbaa !13
  %167 = fsub float 1.000000e+00, %166
  %168 = fmul float 6.553500e+04, %167
  store float %168, ptr %30, align 4, !tbaa !13
  invoke void @_ZN3glm6detail5tvec2ItEC2IffEERKT_RKT0_(ptr noundef nonnull align 2 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 4 dereferenceable(4) %30)
          to label %169 unwind label %190

169:                                              ; preds = %162
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #8
  %170 = getelementptr inbounds %"struct.glm::detail::tvec2", ptr %28, i32 0, i32 0
  %171 = getelementptr inbounds %struct.anon.24, ptr %170, i32 0, i32 0
  %172 = getelementptr inbounds %"struct.glm::detail::tvec2", ptr %28, i32 0, i32 0
  %173 = getelementptr inbounds %struct.anon.24, ptr %172, i32 0, i32 1
  invoke void @_ZN3glm6detail5tvec2IiEC2IttEERKT_RKT0_(ptr noundef nonnull align 4 dereferenceable(8) %31, ptr noundef nonnull align 2 dereferenceable(2) %171, ptr noundef nonnull align 2 dereferenceable(2) %173)
          to label %174 unwind label %194

174:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #8
  %175 = getelementptr inbounds %"struct.glm::detail::tvec2.25", ptr %31, i32 0, i32 0
  %176 = getelementptr inbounds %struct.anon.29, ptr %175, i32 0, i32 0
  %177 = load i32, ptr %176, align 4, !tbaa !15
  %178 = sub nsw i32 %177, 32768
  store i32 %178, ptr %33, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  %179 = getelementptr inbounds %"struct.glm::detail::tvec2.25", ptr %31, i32 0, i32 0
  %180 = getelementptr inbounds %struct.anon.29, ptr %179, i32 0, i32 1
  %181 = load i32, ptr %180, align 4, !tbaa !15
  %182 = sub nsw i32 %181, 32768
  store i32 %182, ptr %34, align 4, !tbaa !5
  invoke void @_ZN3glm6detail5tvec2IsEC2IiiEERKT_RKT0_(ptr noundef nonnull align 2 dereferenceable(4) %32, ptr noundef nonnull align 4 dereferenceable(4) %33, ptr noundef nonnull align 4 dereferenceable(4) %34)
          to label %183 unwind label %198

183:                                              ; preds = %174
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  invoke void @_ZN6glmesh12VertexWriterINS_13CpuDataWriterEE6AttribIsEEvRKN3glm6detail5tvec2IT_EE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 2 dereferenceable(4) %32)
          to label %184 unwind label %202

184:                                              ; preds = %183
  invoke void @_ZN6glmesh12VertexWriterINS_13CpuDataWriterEE6AttribIaEEvRKN3glm6detail5tvec4IT_EE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 1 dereferenceable(4) %18)
          to label %185 unwind label %202

185:                                              ; preds = %184
  invoke void @_ZN6glmesh12VertexWriterINS_13CpuDataWriterEE6AttribItEEvRKN3glm6detail5tvec2IT_EE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 2 dereferenceable(4) %28)
          to label %186 unwind label %202

186:                                              ; preds = %185
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %187

187:                                              ; preds = %186
  %188 = load i32, ptr %26, align 4, !tbaa !5
  %189 = add nsw i32 %188, 1
  store i32 %189, ptr %26, align 4, !tbaa !5
  br label %145, !llvm.loop !16

190:                                              ; preds = %162
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %11, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  br label %208

194:                                              ; preds = %169
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %11, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %12, align 4
  br label %207

198:                                              ; preds = %174
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %11, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  br label %206

202:                                              ; preds = %185, %184, %183
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %11, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %12, align 4
  br label %206

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

207:                                              ; preds = %206, %194
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #8
  br label %208

208:                                              ; preds = %207, %190
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %548

209:                                              ; preds = %149
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %210

210:                                              ; preds = %209
  %211 = load i32, ptr %23, align 4, !tbaa !5
  %212 = add nsw i32 %211, 1
  store i32 %212, ptr %23, align 4, !tbaa !5
  br label %102, !llvm.loop !18

213:                                              ; preds = %106
  %214 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %215 = trunc i8 %214 to i1
  br i1 %215, label %216, label %312

216:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  store i32 0, ptr %36, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  store i32 0, ptr %37, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #8
  store i32 -128, ptr %38, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  store i32 0, ptr %39, align 4, !tbaa !5
  invoke void @_ZN3glm6detail5tvec4IaEC2IiiiiEERKT_RKT0_RKT1_RKT2_(ptr noundef nonnull align 1 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 4 dereferenceable(4) %39)
          to label %217 unwind label %225

217:                                              ; preds = %216
  %218 = invoke noundef nonnull align 1 dereferenceable(4) ptr @_ZN3glm6detail5tvec4IaEaSERKS2_(ptr noundef nonnull align 1 dereferenceable(4) %18, ptr noundef nonnull align 1 dereferenceable(4) %35)
          to label %219 unwind label %225

219:                                              ; preds = %217
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #8
  store i32 0, ptr %40, align 4, !tbaa !5
  br label %220

220:                                              ; preds = %308, %219
  %221 = load i32, ptr %40, align 4, !tbaa !5
  %222 = load i32, ptr %5, align 4, !tbaa !5
  %223 = icmp slt i32 %221, %222
  br i1 %223, label %229, label %224

224:                                              ; preds = %220
  store i32 8, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  br label %311

225:                                              ; preds = %217, %216
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %11, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  br label %548

229:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #8
  %230 = load i32, ptr %40, align 4, !tbaa !5
  %231 = load i32, ptr %5, align 4, !tbaa !5
  %232 = icmp eq i32 %230, %231
  br i1 %232, label %233, label %234

233:                                              ; preds = %229
  br label %241

234:                                              ; preds = %229
  %235 = load i32, ptr %40, align 4, !tbaa !5
  %236 = sitofp i32 %235 to float
  %237 = load i32, ptr %5, align 4, !tbaa !5
  %238 = sub nsw i32 %237, 1
  %239 = sitofp i32 %238 to float
  %240 = fdiv float %236, %239
  br label %241

241:                                              ; preds = %234, %233
  %242 = phi float [ 1.000000e+00, %233 ], [ %240, %234 ]
  store float %242, ptr %41, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  store i32 0, ptr %42, align 4, !tbaa !5
  br label %243

243:                                              ; preds = %285, %241
  %244 = load i32, ptr %42, align 4, !tbaa !5
  %245 = load i32, ptr %4, align 4, !tbaa !5
  %246 = icmp slt i32 %244, %245
  br i1 %246, label %248, label %247

247:                                              ; preds = %243
  store i32 11, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  br label %307

248:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #8
  %249 = load i32, ptr %42, align 4, !tbaa !5
  %250 = load i32, ptr %4, align 4, !tbaa !5
  %251 = icmp eq i32 %249, %250
  br i1 %251, label %252, label %253

252:                                              ; preds = %248
  br label %260

253:                                              ; preds = %248
  %254 = load i32, ptr %42, align 4, !tbaa !5
  %255 = sitofp i32 %254 to float
  %256 = load i32, ptr %4, align 4, !tbaa !5
  %257 = sub nsw i32 %256, 1
  %258 = sitofp i32 %257 to float
  %259 = fdiv float %255, %258
  br label %260

260:                                              ; preds = %253, %252
  %261 = phi float [ 1.000000e+00, %252 ], [ %259, %253 ]
  store float %261, ptr %43, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #8
  %262 = load float, ptr %43, align 4, !tbaa !13
  %263 = fmul float 6.553500e+04, %262
  store float %263, ptr %45, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #8
  %264 = load float, ptr %41, align 4, !tbaa !13
  %265 = fsub float 1.000000e+00, %264
  %266 = fmul float 6.553500e+04, %265
  store float %266, ptr %46, align 4, !tbaa !13
  invoke void @_ZN3glm6detail5tvec2ItEC2IffEERKT_RKT0_(ptr noundef nonnull align 2 dereferenceable(4) %44, ptr noundef nonnull align 4 dereferenceable(4) %45, ptr noundef nonnull align 4 dereferenceable(4) %46)
          to label %267 unwind label %288

267:                                              ; preds = %260
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  %268 = getelementptr inbounds %"struct.glm::detail::tvec2", ptr %44, i32 0, i32 0
  %269 = getelementptr inbounds %struct.anon.24, ptr %268, i32 0, i32 0
  %270 = getelementptr inbounds %"struct.glm::detail::tvec2", ptr %44, i32 0, i32 0
  %271 = getelementptr inbounds %struct.anon.24, ptr %270, i32 0, i32 1
  invoke void @_ZN3glm6detail5tvec2IiEC2IttEERKT_RKT0_(ptr noundef nonnull align 4 dereferenceable(8) %47, ptr noundef nonnull align 2 dereferenceable(2) %269, ptr noundef nonnull align 2 dereferenceable(2) %271)
          to label %272 unwind label %292

272:                                              ; preds = %267
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #8
  %273 = getelementptr inbounds %"struct.glm::detail::tvec2.25", ptr %47, i32 0, i32 0
  %274 = getelementptr inbounds %struct.anon.29, ptr %273, i32 0, i32 0
  %275 = load i32, ptr %274, align 4, !tbaa !15
  %276 = sub nsw i32 %275, 32768
  store i32 %276, ptr %49, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #8
  %277 = getelementptr inbounds %"struct.glm::detail::tvec2.25", ptr %47, i32 0, i32 0
  %278 = getelementptr inbounds %struct.anon.29, ptr %277, i32 0, i32 1
  %279 = load i32, ptr %278, align 4, !tbaa !15
  %280 = sub nsw i32 %279, 32768
  store i32 %280, ptr %50, align 4, !tbaa !5
  invoke void @_ZN3glm6detail5tvec2IsEC2IiiEERKT_RKT0_(ptr noundef nonnull align 2 dereferenceable(4) %48, ptr noundef nonnull align 4 dereferenceable(4) %49, ptr noundef nonnull align 4 dereferenceable(4) %50)
          to label %281 unwind label %296

281:                                              ; preds = %272
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  invoke void @_ZN6glmesh12VertexWriterINS_13CpuDataWriterEE6AttribIsEEvRKN3glm6detail5tvec2IT_EE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 2 dereferenceable(4) %48)
          to label %282 unwind label %300

282:                                              ; preds = %281
  invoke void @_ZN6glmesh12VertexWriterINS_13CpuDataWriterEE6AttribIaEEvRKN3glm6detail5tvec4IT_EE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 1 dereferenceable(4) %18)
          to label %283 unwind label %300

283:                                              ; preds = %282
  invoke void @_ZN6glmesh12VertexWriterINS_13CpuDataWriterEE6AttribItEEvRKN3glm6detail5tvec2IT_EE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 2 dereferenceable(4) %44)
          to label %284 unwind label %300

284:                                              ; preds = %283
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  br label %285

285:                                              ; preds = %284
  %286 = load i32, ptr %42, align 4, !tbaa !5
  %287 = add nsw i32 %286, 1
  store i32 %287, ptr %42, align 4, !tbaa !5
  br label %243, !llvm.loop !19

288:                                              ; preds = %260
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %11, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #8
  br label %306

292:                                              ; preds = %267
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %11, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %12, align 4
  br label %305

296:                                              ; preds = %272
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %11, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  br label %304

300:                                              ; preds = %283, %282, %281
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %11, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %12, align 4
  br label %304

304:                                              ; preds = %300, %296
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #8
  br label %305

305:                                              ; preds = %304, %292
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  br label %306

306:                                              ; preds = %305, %288
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #8
  br label %548

307:                                              ; preds = %247
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  br label %308

308:                                              ; preds = %307
  %309 = load i32, ptr %40, align 4, !tbaa !5
  %310 = add nsw i32 %309, 1
  store i32 %310, ptr %40, align 4, !tbaa !5
  br label %220, !llvm.loop !20

311:                                              ; preds = %224
  br label %312

312:                                              ; preds = %311, %213
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #8
  %313 = load i32, ptr %5, align 4, !tbaa !5
  %314 = sub nsw i32 %313, 1
  store i32 %314, ptr %51, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #8
  %315 = load i32, ptr %51, align 4, !tbaa !5
  %316 = load i32, ptr %4, align 4, !tbaa !5
  %317 = mul nsw i32 %315, %316
  %318 = mul nsw i32 %317, 2
  %319 = add nsw i32 %318, 1
  store i32 %319, ptr %52, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %53) #8
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  %320 = load i32, ptr %52, align 4, !tbaa !5
  %321 = mul nsw i32 %320, 2
  %322 = sext i32 %321 to i64
  invoke void @_ZNSt6vectorIjSaIjEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %322)
          to label %323 unwind label %330

323:                                              ; preds = %312
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #8
  %324 = load i32, ptr %16, align 4, !tbaa !5
  store i32 %324, ptr %54, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #8
  store i32 0, ptr %55, align 4, !tbaa !5
  br label %325

325:                                              ; preds = %368, %323
  %326 = load i32, ptr %55, align 4, !tbaa !5
  %327 = load i32, ptr %51, align 4, !tbaa !5
  %328 = icmp slt i32 %326, %327
  br i1 %328, label %334, label %329

329:                                              ; preds = %325
  store i32 14, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #8
  br label %376

330:                                              ; preds = %312
  %331 = landingpad { ptr, i32 }
          cleanup
  %332 = extractvalue { ptr, i32 } %331, 0
  store ptr %332, ptr %11, align 8
  %333 = extractvalue { ptr, i32 } %331, 1
  store i32 %333, ptr %12, align 4
  br label %547

334:                                              ; preds = %325
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #8
  store i32 0, ptr %56, align 4, !tbaa !5
  br label %335

335:                                              ; preds = %354, %334
  %336 = load i32, ptr %56, align 4, !tbaa !5
  %337 = load i32, ptr %4, align 4, !tbaa !5
  %338 = icmp slt i32 %336, %337
  br i1 %338, label %340, label %339

339:                                              ; preds = %335
  store i32 17, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #8
  br label %366

340:                                              ; preds = %335
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #8
  %341 = load i32, ptr %55, align 4, !tbaa !5
  %342 = load i32, ptr %4, align 4, !tbaa !5
  %343 = mul nsw i32 %341, %342
  %344 = load i32, ptr %56, align 4, !tbaa !5
  %345 = add nsw i32 %343, %344
  store i32 %345, ptr %57, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 4 dereferenceable(4) %57)
          to label %346 unwind label %357

346:                                              ; preds = %340
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #8
  %347 = load i32, ptr %55, align 4, !tbaa !5
  %348 = add nsw i32 %347, 1
  %349 = load i32, ptr %4, align 4, !tbaa !5
  %350 = mul nsw i32 %348, %349
  %351 = load i32, ptr %56, align 4, !tbaa !5
  %352 = add nsw i32 %350, %351
  store i32 %352, ptr %58, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 4 dereferenceable(4) %58)
          to label %353 unwind label %361

353:                                              ; preds = %346
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #8
  br label %354

354:                                              ; preds = %353
  %355 = load i32, ptr %56, align 4, !tbaa !5
  %356 = add nsw i32 %355, 1
  store i32 %356, ptr %56, align 4, !tbaa !5
  br label %335, !llvm.loop !21

357:                                              ; preds = %340
  %358 = landingpad { ptr, i32 }
          cleanup
  %359 = extractvalue { ptr, i32 } %358, 0
  store ptr %359, ptr %11, align 8
  %360 = extractvalue { ptr, i32 } %358, 1
  store i32 %360, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #8
  br label %365

361:                                              ; preds = %346
  %362 = landingpad { ptr, i32 }
          cleanup
  %363 = extractvalue { ptr, i32 } %362, 0
  store ptr %363, ptr %11, align 8
  %364 = extractvalue { ptr, i32 } %362, 1
  store i32 %364, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #8
  br label %365

365:                                              ; preds = %361, %357
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #8
  br label %375

366:                                              ; preds = %339
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 4 dereferenceable(4) %54)
          to label %367 unwind label %371

367:                                              ; preds = %366
  br label %368

368:                                              ; preds = %367
  %369 = load i32, ptr %55, align 4, !tbaa !5
  %370 = add nsw i32 %369, 1
  store i32 %370, ptr %55, align 4, !tbaa !5
  br label %325, !llvm.loop !22

371:                                              ; preds = %366
  %372 = landingpad { ptr, i32 }
          cleanup
  %373 = extractvalue { ptr, i32 } %372, 0
  store ptr %373, ptr %11, align 8
  %374 = extractvalue { ptr, i32 } %372, 1
  store i32 %374, ptr %12, align 4
  br label %375

375:                                              ; preds = %371, %365
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #8
  br label %546

376:                                              ; preds = %329
  %377 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %378 = trunc i8 %377 to i1
  br i1 %378, label %379, label %434

379:                                              ; preds = %376
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #8
  store i32 0, ptr %59, align 4, !tbaa !5
  br label %380

380:                                              ; preds = %425, %379
  %381 = load i32, ptr %59, align 4, !tbaa !5
  %382 = load i32, ptr %51, align 4, !tbaa !5
  %383 = icmp slt i32 %381, %382
  br i1 %383, label %385, label %384

384:                                              ; preds = %380
  store i32 20, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #8
  br label %433

385:                                              ; preds = %380
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #8
  store i32 0, ptr %60, align 4, !tbaa !5
  br label %386

386:                                              ; preds = %411, %385
  %387 = load i32, ptr %60, align 4, !tbaa !5
  %388 = load i32, ptr %4, align 4, !tbaa !5
  %389 = icmp slt i32 %387, %388
  br i1 %389, label %391, label %390

390:                                              ; preds = %386
  store i32 23, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #8
  br label %423

391:                                              ; preds = %386
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #8
  %392 = load i32, ptr %59, align 4, !tbaa !5
  %393 = add nsw i32 %392, 1
  %394 = load i32, ptr %4, align 4, !tbaa !5
  %395 = mul nsw i32 %393, %394
  %396 = load i32, ptr %60, align 4, !tbaa !5
  %397 = add nsw i32 %395, %396
  %398 = load i32, ptr %16, align 4, !tbaa !5
  %399 = sdiv i32 %398, 2
  %400 = add nsw i32 %397, %399
  store i32 %400, ptr %61, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 4 dereferenceable(4) %61)
          to label %401 unwind label %414

401:                                              ; preds = %391
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #8
  %402 = load i32, ptr %59, align 4, !tbaa !5
  %403 = load i32, ptr %4, align 4, !tbaa !5
  %404 = mul nsw i32 %402, %403
  %405 = load i32, ptr %60, align 4, !tbaa !5
  %406 = add nsw i32 %404, %405
  %407 = load i32, ptr %16, align 4, !tbaa !5
  %408 = sdiv i32 %407, 2
  %409 = add nsw i32 %406, %408
  store i32 %409, ptr %62, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 4 dereferenceable(4) %62)
          to label %410 unwind label %418

410:                                              ; preds = %401
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #8
  br label %411

411:                                              ; preds = %410
  %412 = load i32, ptr %60, align 4, !tbaa !5
  %413 = add nsw i32 %412, 1
  store i32 %413, ptr %60, align 4, !tbaa !5
  br label %386, !llvm.loop !23

414:                                              ; preds = %391
  %415 = landingpad { ptr, i32 }
          cleanup
  %416 = extractvalue { ptr, i32 } %415, 0
  store ptr %416, ptr %11, align 8
  %417 = extractvalue { ptr, i32 } %415, 1
  store i32 %417, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #8
  br label %422

418:                                              ; preds = %401
  %419 = landingpad { ptr, i32 }
          cleanup
  %420 = extractvalue { ptr, i32 } %419, 0
  store ptr %420, ptr %11, align 8
  %421 = extractvalue { ptr, i32 } %419, 1
  store i32 %421, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #8
  br label %422

422:                                              ; preds = %418, %414
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #8
  br label %432

423:                                              ; preds = %390
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef nonnull align 4 dereferenceable(4) %54)
          to label %424 unwind label %428

424:                                              ; preds = %423
  br label %425

425:                                              ; preds = %424
  %426 = load i32, ptr %59, align 4, !tbaa !5
  %427 = add nsw i32 %426, 1
  store i32 %427, ptr %59, align 4, !tbaa !5
  br label %380, !llvm.loop !24

428:                                              ; preds = %423
  %429 = landingpad { ptr, i32 }
          cleanup
  %430 = extractvalue { ptr, i32 } %429, 0
  store ptr %430, ptr %11, align 8
  %431 = extractvalue { ptr, i32 } %429, 1
  store i32 %431, ptr %12, align 4
  br label %432

432:                                              ; preds = %428, %422
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #8
  br label %546

433:                                              ; preds = %384
  br label %434

434:                                              ; preds = %433, %376
  call void @llvm.lifetime.start.p0(i64 24, ptr %63) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %64) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #8
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef 2, ptr noundef nonnull align 1 dereferenceable(1) %64)
          to label %435 unwind label %478

435:                                              ; preds = %434
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #8
  %436 = load ptr, ptr @_ZN2gl10GenBuffersE, align 8, !tbaa !25
  %437 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef 0) #8
  invoke void %436(i32 noundef 2, ptr noundef %437)
          to label %438 unwind label %482

438:                                              ; preds = %435
  %439 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef 0) #8
  %440 = load i32, ptr %439, align 4, !tbaa !5
  %441 = invoke noundef i32 @_ZNK6glmesh13CpuDataWriter16TransferToBufferEjjj(ptr noundef nonnull align 8 dereferenceable(72) %17, i32 noundef 34962, i32 noundef 35044, i32 noundef %440)
          to label %442 unwind label %482

442:                                              ; preds = %438
  %443 = load ptr, ptr @_ZN2gl10BindBufferE, align 8, !tbaa !25
  %444 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef 1) #8
  %445 = load i32, ptr %444, align 4, !tbaa !5
  invoke void %443(i32 noundef 34963, i32 noundef %445)
          to label %446 unwind label %482

446:                                              ; preds = %442
  %447 = load ptr, ptr @_ZN2gl10BufferDataE, align 8, !tbaa !25
  %448 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  %449 = mul i64 %448, 4
  %450 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef 0) #8
  invoke void %447(i32 noundef 34963, i64 noundef %449, ptr noundef %450, i32 noundef 35044)
          to label %451 unwind label %482

451:                                              ; preds = %446
  %452 = load ptr, ptr @_ZN2gl10BindBufferE, align 8, !tbaa !25
  invoke void %452(i32 noundef 34963, i32 noundef 0)
          to label %453 unwind label %482

453:                                              ; preds = %451
  call void @llvm.lifetime.start.p0(i64 48, ptr %65) #8
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS5_ESaISt4pairIKS5_jEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %65) #8
  %454 = load ptr, ptr @_ZN2gl10BindBufferE, align 8, !tbaa !25
  %455 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef 0) #8
  %456 = load i32, ptr %455, align 4, !tbaa !5
  invoke void %454(i32 noundef 34962, i32 noundef %456)
          to label %457 unwind label %486

457:                                              ; preds = %453
  call void @llvm.lifetime.start.p0(i64 24, ptr %66) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %66) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #8
  store i32 2, ptr %67, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %66, ptr noundef nonnull align 4 dereferenceable(4) %67)
          to label %458 unwind label %490

458:                                              ; preds = %457
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %68) #8
  store i32 4, ptr %68, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %66, ptr noundef nonnull align 4 dereferenceable(4) %68)
          to label %459 unwind label %494

459:                                              ; preds = %458
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #8
  %460 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef 1) #8
  %461 = load i32, ptr %460, align 4, !tbaa !5
  invoke void @_ZN6glmesh3gen15BuildVariationsERSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS7_ESaISt4pairIKS7_jEEERKSt6vectorIiSaIiEERKNS_12VertexFormatEj(ptr noundef nonnull align 8 dereferenceable(48) %65, ptr noundef nonnull align 8 dereferenceable(24) %66, ptr noundef nonnull align 8 dereferenceable(56) %15, i32 noundef %461)
          to label %462 unwind label %498

462:                                              ; preds = %459
  %463 = load ptr, ptr @_ZN2gl10BindBufferE, align 8, !tbaa !25
  invoke void %463(i32 noundef 34962, i32 noundef 0)
          to label %464 unwind label %498

464:                                              ; preds = %462
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #8
  invoke void @_ZN6glmesh13RenderCmdListC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %69)
          to label %465 unwind label %502

465:                                              ; preds = %464
  %466 = load i32, ptr %54, align 4, !tbaa !5
  invoke void @_ZN6glmesh13RenderCmdList21PrimitiveRestartIndexEj(ptr noundef nonnull align 8 dereferenceable(8) %69, i32 noundef %466)
          to label %467 unwind label %506

467:                                              ; preds = %465
  %468 = load i32, ptr %52, align 4, !tbaa !5
  invoke void @_ZN6glmesh13RenderCmdList12DrawElementsEjijli(ptr noundef nonnull align 8 dereferenceable(8) %69, i32 noundef 5, i32 noundef %468, i32 noundef 5125, i64 noundef 0, i32 noundef 0)
          to label %469 unwind label %506

469:                                              ; preds = %467
  %470 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %471 = trunc i8 %470 to i1
  br i1 %471, label %472, label %510

472:                                              ; preds = %469
  %473 = load i32, ptr %52, align 4, !tbaa !5
  %474 = load i32, ptr %52, align 4, !tbaa !5
  %475 = sext i32 %474 to i64
  %476 = mul i64 %475, 4
  invoke void @_ZN6glmesh13RenderCmdList12DrawElementsEjijli(ptr noundef nonnull align 8 dereferenceable(8) %69, i32 noundef 5, i32 noundef %473, i32 noundef 5125, i64 noundef %476, i32 noundef 0)
          to label %477 unwind label %506

477:                                              ; preds = %472
  br label %510

478:                                              ; preds = %434
  %479 = landingpad { ptr, i32 }
          cleanup
  %480 = extractvalue { ptr, i32 } %479, 0
  store ptr %480, ptr %11, align 8
  %481 = extractvalue { ptr, i32 } %479, 1
  store i32 %481, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #8
  br label %545

482:                                              ; preds = %451, %446, %442, %438, %435
  %483 = landingpad { ptr, i32 }
          cleanup
  %484 = extractvalue { ptr, i32 } %483, 0
  store ptr %484, ptr %11, align 8
  %485 = extractvalue { ptr, i32 } %483, 1
  store i32 %485, ptr %12, align 4
  br label %544

486:                                              ; preds = %453
  %487 = landingpad { ptr, i32 }
          cleanup
  %488 = extractvalue { ptr, i32 } %487, 0
  store ptr %488, ptr %11, align 8
  %489 = extractvalue { ptr, i32 } %487, 1
  store i32 %489, ptr %12, align 4
  br label %543

490:                                              ; preds = %457
  %491 = landingpad { ptr, i32 }
          cleanup
  %492 = extractvalue { ptr, i32 } %491, 0
  store ptr %492, ptr %11, align 8
  %493 = extractvalue { ptr, i32 } %491, 1
  store i32 %493, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #8
  br label %542

494:                                              ; preds = %458
  %495 = landingpad { ptr, i32 }
          cleanup
  %496 = extractvalue { ptr, i32 } %495, 0
  store ptr %496, ptr %11, align 8
  %497 = extractvalue { ptr, i32 } %495, 1
  store i32 %497, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #8
  br label %542

498:                                              ; preds = %462, %459
  %499 = landingpad { ptr, i32 }
          cleanup
  %500 = extractvalue { ptr, i32 } %499, 0
  store ptr %500, ptr %11, align 8
  %501 = extractvalue { ptr, i32 } %499, 1
  store i32 %501, ptr %12, align 4
  br label %542

502:                                              ; preds = %464
  %503 = landingpad { ptr, i32 }
          cleanup
  %504 = extractvalue { ptr, i32 } %503, 0
  store ptr %504, ptr %11, align 8
  %505 = extractvalue { ptr, i32 } %503, 1
  store i32 %505, ptr %12, align 4
  br label %541

506:                                              ; preds = %510, %472, %467, %465
  %507 = landingpad { ptr, i32 }
          cleanup
  %508 = extractvalue { ptr, i32 } %507, 0
  store ptr %508, ptr %11, align 8
  %509 = extractvalue { ptr, i32 } %507, 1
  store i32 %509, ptr %12, align 4
  br label %540

510:                                              ; preds = %477, %469
  invoke void @_ZN6glmesh13RenderCmdList21PrimitiveRestartIndexEv(ptr noundef nonnull align 8 dereferenceable(8) %69)
          to label %511 unwind label %506

511:                                              ; preds = %510
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %71) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %72) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %71, ptr noundef @.str, ptr noundef nonnull align 1 dereferenceable(1) %72)
          to label %512 unwind label %521

512:                                              ; preds = %511
  %513 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS5_ESaISt4pairIKS5_jEEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %65, ptr noundef nonnull align 8 dereferenceable(32) %71)
          to label %514 unwind label %525

514:                                              ; preds = %512
  %515 = load i32, ptr %513, align 4, !tbaa !5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %72) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %71) #8
  store i32 %515, ptr %70, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #8
  %516 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 8) #9
          to label %517 unwind label %530

517:                                              ; preds = %514
  %518 = load i32, ptr %70, align 4, !tbaa !5
  invoke void @_ZN6glmesh4MeshC1ERKSt6vectorIjSaIjEEjRKNS_13RenderCmdListERKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessISF_ESaISt4pairIKSF_jEEE(ptr noundef nonnull align 8 dereferenceable(8) %516, ptr noundef nonnull align 8 dereferenceable(24) %63, i32 noundef %518, ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull align 8 dereferenceable(48) %65)
          to label %519 unwind label %534

519:                                              ; preds = %517
  store ptr %516, ptr %73, align 8, !tbaa !25
  %520 = load ptr, ptr %73, align 8, !tbaa !25
  store i32 1, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #8
  call void @_ZN6glmesh13RenderCmdListD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %69) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %66) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %66) #8
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS5_ESaISt4pairIKS5_jEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %65) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %65) #8
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %63) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %63) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #8
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @_ZN6glmesh13CpuDataWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %17) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @_ZN6glmesh12VertexFormatD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %15) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %15) #8
  call void @_ZNSt6vectorIN6glmesh10AttribDescESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #8
  ret ptr %520

521:                                              ; preds = %511
  %522 = landingpad { ptr, i32 }
          cleanup
  %523 = extractvalue { ptr, i32 } %522, 0
  store ptr %523, ptr %11, align 8
  %524 = extractvalue { ptr, i32 } %522, 1
  store i32 %524, ptr %12, align 4
  br label %529

525:                                              ; preds = %512
  %526 = landingpad { ptr, i32 }
          cleanup
  %527 = extractvalue { ptr, i32 } %526, 0
  store ptr %527, ptr %11, align 8
  %528 = extractvalue { ptr, i32 } %526, 1
  store i32 %528, ptr %12, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #8
  br label %529

529:                                              ; preds = %525, %521
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %72) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %71) #8
  br label %539

530:                                              ; preds = %514
  %531 = landingpad { ptr, i32 }
          cleanup
  %532 = extractvalue { ptr, i32 } %531, 0
  store ptr %532, ptr %11, align 8
  %533 = extractvalue { ptr, i32 } %531, 1
  store i32 %533, ptr %12, align 4
  br label %538

534:                                              ; preds = %517
  %535 = landingpad { ptr, i32 }
          cleanup
  %536 = extractvalue { ptr, i32 } %535, 0
  store ptr %536, ptr %11, align 8
  %537 = extractvalue { ptr, i32 } %535, 1
  store i32 %537, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %516, i64 noundef 8) #10
  br label %538

538:                                              ; preds = %534, %530
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #8
  br label %539

539:                                              ; preds = %538, %529
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #8
  br label %540

540:                                              ; preds = %539, %506
  call void @_ZN6glmesh13RenderCmdListD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %69) #8
  br label %541

541:                                              ; preds = %540, %502
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #8
  br label %542

542:                                              ; preds = %541, %498, %494, %490
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %66) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %66) #8
  br label %543

543:                                              ; preds = %542, %486
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS5_ESaISt4pairIKS5_jEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %65) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %65) #8
  br label %544

544:                                              ; preds = %543, %482
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %63) #8
  br label %545

545:                                              ; preds = %544, %478
  call void @llvm.lifetime.end.p0(i64 24, ptr %63) #8
  br label %546

546:                                              ; preds = %545, %432, %375
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #8
  br label %547

547:                                              ; preds = %546, %330
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #8
  br label %548

548:                                              ; preds = %547, %306, %225, %208, %127
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @_ZN6glmesh13CpuDataWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %17) #8
  br label %549

549:                                              ; preds = %548, %123
  call void @llvm.lifetime.end.p0(i64 72, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @_ZN6glmesh12VertexFormatD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %15) #8
  br label %550

550:                                              ; preds = %549, %119
  call void @llvm.lifetime.end.p0(i64 56, ptr %15) #8
  br label %551

551:                                              ; preds = %550, %115, %111, %107
  call void @_ZNSt6vectorIN6glmesh10AttribDescESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #8
  br label %552

552:                                              ; preds = %551
  %553 = load ptr, ptr %11, align 8
  %554 = load i32, ptr %12, align 4
  %555 = insertvalue { ptr, i32 } poison, ptr %553, 0
  %556 = insertvalue { ptr, i32 } %555, i32 %554, 1
  resume { ptr, i32 } %556
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #7

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZN6glmesh3gen15BuildVariationsERSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS7_ESaISt4pairIKS7_jEEERKSt6vectorIiSaIiEERKNS_12VertexFormatEj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) #3

declare void @_ZN6glmesh13RenderCmdList21PrimitiveRestartIndexEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3

declare void @_ZN6glmesh13RenderCmdList12DrawElementsEjijli(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) #3

declare void @_ZN6glmesh13RenderCmdList21PrimitiveRestartIndexEv(ptr noundef nonnull align 8 dereferenceable(8)) #3

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

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

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

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

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

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

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

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

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


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<glmesh::AttribDesc, std::allocator<glmesh::AttribDesc>>::_Vector_impl" }
%"struct.std::_Vector_base<glmesh::AttribDesc, std::allocator<glmesh::AttribDesc>>::_Vector_impl" = type { %"struct.std::_Vector_base<glmesh::AttribDesc, std::allocator<glmesh::AttribDesc>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glmesh::AttribDesc, std::allocator<glmesh::AttribDesc>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.glmesh::AttribDesc" = type { i32, i32, i32, i32 }
%"class.glmesh::VertexFormat" = type { %"class.std::vector", %"class.std::vector.0", i64 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.glmesh::CpuDataWriter" = type { %"class.glmesh::VertexWriter", %"class.std::vector.5", %"class.std::vector.5", ptr, i64 }
%"class.glmesh::VertexWriter" = type { i64 }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.glm::detail::tvec4" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { i8, i8, i8, i8 }
%"struct.glm::detail::tvec2" = type { %union.anon.21 }
%union.anon.21 = type { %struct.anon.22 }
%struct.anon.22 = type { i16, i16 }
%"struct.glm::detail::tvec2.25" = type { %union.anon.26 }
%union.anon.26 = type { %struct.anon.27 }
%struct.anon.27 = type { i32, i32 }
%"struct.glm::detail::tvec2.30" = type { %union.anon.31 }
%union.anon.31 = type { %struct.anon.32 }
%struct.anon.32 = type { i16, i16 }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.12" = type { i8 }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector.35" = type { %"struct.std::_Vector_base.36" }
%"struct.std::_Vector_base.36" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.glmesh::RenderCmdList" = type { %"class.std::auto_ptr" }
%"class.std::auto_ptr" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.40 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.40 = type { i64, [8 x i8] }
%"class.std::allocator.7" = type { i8 }

@_ZN2gl10BindBufferE = external local_unnamed_addr global ptr, align 8
@_ZN2gl10GenBuffersE = external local_unnamed_addr global ptr, align 8
@_ZN2gl10BufferDataE = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [8 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: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN6glmesh10AttribDescESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

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

declare void @_ZN6glmesh10AttribDescC1EjjNS_14VertexDataTypeENS_14AttribDataTypeE(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef, i32 noundef, i32 noundef) unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN6glmesh12VertexFormatC1ERKSt6vectorINS_10AttribDescESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3

declare void @_ZN6glmesh13CpuDataWriterC1ERKNS_12VertexFormatEm(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(56), i64 noundef) unnamed_addr #3

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

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

declare noundef i32 @_ZNK6glmesh13CpuDataWriter16TransferToBufferEjjj(ptr noundef nonnull align 8 dereferenceable(72), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

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

declare void @_ZN6glmesh13RenderCmdListC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #4

declare void @_ZN6glmesh4MeshC1ERKSt6vectorIjSaIjEEjRKNS_13RenderCmdListERKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessISF_ESaISt4pairIKSF_jEEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #5

; Function Attrs: nounwind
declare void @_ZN6glmesh13RenderCmdListD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #6

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6glmesh13CpuDataWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6glmesh12VertexFormatD2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #7 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN6glmesh3gen11GroundPlaneEiib(i32 noundef %0, i32 noundef %1, i1 noundef zeroext %2) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca %"class.glmesh::AttribDesc", align 4
  %10 = alloca %"class.glmesh::AttribDesc", align 4
  %11 = alloca %"class.glmesh::AttribDesc", align 4
  %12 = alloca %"class.glmesh::VertexFormat", align 8
  %13 = alloca %"class.glmesh::CpuDataWriter", align 8
  %14 = alloca %"struct.glm::detail::tvec4", align 1
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %"struct.glm::detail::tvec2", align 2
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca %"struct.glm::detail::tvec2.25", align 4
  %23 = alloca %"struct.glm::detail::tvec2.30", align 2
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca %"struct.glm::detail::tvec4", align 1
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca %"struct.glm::detail::tvec2", align 2
  %32 = alloca float, align 4
  %33 = alloca float, align 4
  %34 = alloca %"struct.glm::detail::tvec2.25", align 4
  %35 = alloca %"struct.glm::detail::tvec2.30", align 2
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca %"class.std::vector.10", align 8
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca %"class.std::vector.10", align 8
  %45 = alloca %"class.std::allocator.12", align 1
  %46 = alloca %"class.std::map", align 8
  %47 = alloca %"class.std::vector.35", align 8
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca %"class.glmesh::RenderCmdList", align 8
  %51 = alloca %"class.std::__cxx11::basic_string", align 8
  %52 = alloca %"class.std::allocator.7", align 1
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #8
  store i32 2, ptr %6, align 4, !tbaa !5
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %54 = load i32, ptr %53, align 4, !tbaa !5
  store i32 %54, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #8
  store i32 2, ptr %7, align 4, !tbaa !5
  %55 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %56 = load i32, ptr %55, align 4, !tbaa !5
  store i32 %56, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #8
  call void @_ZNSt6vectorIN6glmesh10AttribDescESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #8
  invoke void @_ZN6glmesh10AttribDescC1EjjNS_14VertexDataTypeENS_14AttribDataTypeE(ptr noundef nonnull align 4 dereferenceable(16) %9, i32 noundef 0, i32 noundef 2, i32 noundef 5, i32 noundef 1)
          to label %57 unwind label %78

57:                                               ; preds = %3
  invoke void @_ZNSt6vectorIN6glmesh10AttribDescESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(16) %9)
          to label %58 unwind label %78

58:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  invoke void @_ZN6glmesh10AttribDescC1EjjNS_14VertexDataTypeENS_14AttribDataTypeE(ptr noundef nonnull align 4 dereferenceable(16) %10, i32 noundef 2, i32 noundef 4, i32 noundef 3, i32 noundef 1)
          to label %59 unwind label %80

59:                                               ; preds = %58
  invoke void @_ZNSt6vectorIN6glmesh10AttribDescESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(16) %10)
          to label %60 unwind label %80

60:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #8
  invoke void @_ZN6glmesh10AttribDescC1EjjNS_14VertexDataTypeENS_14AttribDataTypeE(ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef 5, i32 noundef 2, i32 noundef 6, i32 noundef 1)
          to label %61 unwind label %82

61:                                               ; preds = %60
  invoke void @_ZNSt6vectorIN6glmesh10AttribDescESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(16) %11)
          to label %62 unwind label %82

62:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %12) #8
  invoke void @_ZN6glmesh12VertexFormatC1ERKSt6vectorINS_10AttribDescESaIS2_EE(ptr noundef nonnull align 8 dereferenceable(56) %12, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %63 unwind label %84

63:                                               ; preds = %62
  %64 = load i32, ptr %4, align 4, !tbaa !5
  %65 = load i32, ptr %5, align 4, !tbaa !5
  %66 = mul nsw i32 %65, %64
  %67 = zext i1 %2 to i32
  %68 = shl nsw i32 %66, %67
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %13) #8
  %69 = sext i32 %68 to i64
  invoke void @_ZN6glmesh13CpuDataWriterC1ERKNS_12VertexFormatEm(ptr noundef nonnull align 8 dereferenceable(72) %13, ptr noundef nonnull align 8 dereferenceable(56) %12, i64 noundef %69)
          to label %70 unwind label %86

70:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #8
  store i32 0, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #8
  store i32 0, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #8
  store i32 127, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #8
  store i32 0, ptr %18, align 4, !tbaa !5
  call void @_ZN3glm6detail5tvec4IaEC2IiiiiEERKT_RKT0_RKT1_RKT2_(ptr noundef nonnull align 1 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 4 dereferenceable(4) %18)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #8
  %71 = load i32, ptr %5, align 4, !tbaa !5
  %72 = icmp sgt i32 %71, 0
  br i1 %72, label %.lr.ph117, label %._crit_edge118

.lr.ph117:                                        ; preds = %70
  %73 = getelementptr inbounds i8, ptr %19, i64 2
  %74 = getelementptr inbounds i8, ptr %22, i64 4
  %75 = load i32, ptr %4, align 4, !tbaa !5
  %76 = icmp sgt i32 %75, 0
  br i1 %76, label %.lr.ph117.split, label %._crit_edge118

._crit_edge118:                                   ; preds = %._crit_edge, %.lr.ph117, %70
  %77 = phi i32 [ %71, %70 ], [ %71, %.lr.ph117 ], [ %97, %._crit_edge ]
  br i1 %2, label %120, label %._crit_edge118..loopexit113_crit_edge

._crit_edge118..loopexit113_crit_edge:            ; preds = %._crit_edge118
  %.pre139 = load i32, ptr %4, align 4, !tbaa !5
  br label %.loopexit113

78:                                               ; preds = %57, %3
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  br label %301

80:                                               ; preds = %59, %58
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  br label %301

82:                                               ; preds = %61, %60
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #8
  br label %301

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

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

.lr.ph117.split:                                  ; preds = %.lr.ph117, %._crit_edge
  %88 = phi i32 [ %97, %._crit_edge ], [ %71, %.lr.ph117 ]
  %89 = phi i32 [ %98, %._crit_edge ], [ %75, %.lr.ph117 ]
  %.079115 = phi i32 [ %99, %._crit_edge ], [ 0, %.lr.ph117 ]
  %90 = icmp sgt i32 %89, 0
  br i1 %90, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.lr.ph117.split
  %91 = uitofp nneg i32 %.079115 to float
  %92 = add nsw i32 %88, -1
  %93 = sitofp i32 %92 to float
  %94 = fdiv float %91, %93
  %95 = fsub float 1.000000e+00, %94
  %96 = fmul float %95, 6.553500e+04
  br label %101

._crit_edge.loopexit:                             ; preds = %114
  %.pre = load i32, ptr %5, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.lr.ph117.split
  %97 = phi i32 [ %.pre, %._crit_edge.loopexit ], [ %88, %.lr.ph117.split ]
  %98 = phi i32 [ %116, %._crit_edge.loopexit ], [ %89, %.lr.ph117.split ]
  %99 = add nuw nsw i32 %.079115, 1
  %100 = icmp slt i32 %99, %97
  br i1 %100, label %.lr.ph117.split, label %._crit_edge118, !llvm.loop !9

101:                                              ; preds = %.lr.ph, %114
  %102 = phi i32 [ %89, %.lr.ph ], [ %116, %114 ]
  %.081114 = phi i32 [ 0, %.lr.ph ], [ %115, %114 ]
  %103 = uitofp nneg i32 %.081114 to float
  %104 = add nsw i32 %102, -1
  %105 = sitofp i32 %104 to float
  %106 = fdiv float %103, %105
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #8
  %107 = fmul float %106, 6.553500e+04
  store float %107, ptr %20, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #8
  store float %96, ptr %21, align 4, !tbaa !12
  call void @_ZN3glm6detail5tvec2ItEC2IffEERKT_RKT0_(ptr noundef nonnull align 2 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(4) %21)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #8
  call void @_ZN3glm6detail5tvec2IiEC2IttEERKT_RKT0_(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 2 dereferenceable(2) %19, ptr noundef nonnull align 2 dereferenceable(2) %73)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #8
  %108 = load i32, ptr %22, align 4, !tbaa !14
  %109 = add nsw i32 %108, -32768
  store i32 %109, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %25) #8
  %110 = load i32, ptr %74, align 4, !tbaa !14
  %111 = add nsw i32 %110, -32768
  store i32 %111, ptr %25, align 4, !tbaa !5
  call void @_ZN3glm6detail5tvec2IsEC2IiiEERKT_RKT0_(ptr noundef nonnull align 2 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(4) %25)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #8
  invoke void @_ZN6glmesh12VertexWriterINS_13CpuDataWriterEE6AttribIsEEvRKN3glm6detail5tvec2IT_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 2 dereferenceable(4) %23)
          to label %112 unwind label %118

112:                                              ; preds = %101
  invoke void @_ZN6glmesh12VertexWriterINS_13CpuDataWriterEE6AttribIaEEvRKN3glm6detail5tvec4IT_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 1 dereferenceable(4) %14)
          to label %113 unwind label %118

113:                                              ; preds = %112
  invoke void @_ZN6glmesh12VertexWriterINS_13CpuDataWriterEE6AttribItEEvRKN3glm6detail5tvec2IT_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 2 dereferenceable(4) %19)
          to label %114 unwind label %118

114:                                              ; preds = %113
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #8
  %115 = add nuw nsw i32 %.081114, 1
  %116 = load i32, ptr %4, align 4, !tbaa !5
  %117 = icmp slt i32 %115, %116
  br i1 %117, label %101, label %._crit_edge.loopexit, !llvm.loop !15

118:                                              ; preds = %113, %112, %101
  %119 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #8
  br label %298

120:                                              ; preds = %._crit_edge118
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %26) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #8
  store i32 0, ptr %27, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #8
  store i32 0, ptr %28, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #8
  store i32 -128, ptr %29, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #8
  store i32 0, ptr %30, align 4, !tbaa !5
  call void @_ZN3glm6detail5tvec4IaEC2IiiiiEERKT_RKT0_RKT1_RKT2_(ptr noundef nonnull align 1 dereferenceable(4) %26, ptr noundef nonnull align 4 dereferenceable(4) %27, ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %29, ptr noundef nonnull align 4 dereferenceable(4) %30)
  %121 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN3glm6detail5tvec4IaEaSERKS2_(ptr noundef nonnull align 1 dereferenceable(4) %14, ptr noundef nonnull align 1 dereferenceable(4) %26)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %26) #8
  %122 = load i32, ptr %5, align 4, !tbaa !5
  %123 = icmp sgt i32 %122, 0
  %.pre140 = load i32, ptr %4, align 4, !tbaa !5
  br i1 %123, label %.lr.ph125, label %.loopexit113

.lr.ph125:                                        ; preds = %120
  %124 = getelementptr inbounds i8, ptr %31, i64 2
  %125 = getelementptr inbounds i8, ptr %34, i64 4
  %126 = icmp sgt i32 %.pre140, 0
  br i1 %126, label %.lr.ph125.split, label %.loopexit113

.lr.ph125.split:                                  ; preds = %.lr.ph125, %._crit_edge122
  %127 = phi i32 [ %136, %._crit_edge122 ], [ %122, %.lr.ph125 ]
  %128 = phi i32 [ %137, %._crit_edge122 ], [ %.pre140, %.lr.ph125 ]
  %.082123 = phi i32 [ %138, %._crit_edge122 ], [ 0, %.lr.ph125 ]
  %129 = icmp sgt i32 %128, 0
  br i1 %129, label %.lr.ph121, label %._crit_edge122

.lr.ph121:                                        ; preds = %.lr.ph125.split
  %130 = uitofp nneg i32 %.082123 to float
  %131 = add nsw i32 %127, -1
  %132 = sitofp i32 %131 to float
  %133 = fdiv float %130, %132
  %134 = fsub float 1.000000e+00, %133
  %135 = fmul float %134, 6.553500e+04
  br label %140

._crit_edge122.loopexit:                          ; preds = %153
  %.pre138 = load i32, ptr %5, align 4, !tbaa !5
  br label %._crit_edge122

._crit_edge122:                                   ; preds = %._crit_edge122.loopexit, %.lr.ph125.split
  %136 = phi i32 [ %.pre138, %._crit_edge122.loopexit ], [ %127, %.lr.ph125.split ]
  %137 = phi i32 [ %155, %._crit_edge122.loopexit ], [ %128, %.lr.ph125.split ]
  %138 = add nuw nsw i32 %.082123, 1
  %139 = icmp slt i32 %138, %136
  br i1 %139, label %.lr.ph125.split, label %.loopexit113, !llvm.loop !16

140:                                              ; preds = %.lr.ph121, %153
  %141 = phi i32 [ %128, %.lr.ph121 ], [ %155, %153 ]
  %.080119 = phi i32 [ 0, %.lr.ph121 ], [ %154, %153 ]
  %142 = uitofp nneg i32 %.080119 to float
  %143 = add nsw i32 %141, -1
  %144 = sitofp i32 %143 to float
  %145 = fdiv float %142, %144
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %32) #8
  %146 = fmul float %145, 6.553500e+04
  store float %146, ptr %32, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %33) #8
  store float %135, ptr %33, align 4, !tbaa !12
  call void @_ZN3glm6detail5tvec2ItEC2IffEERKT_RKT0_(ptr noundef nonnull align 2 dereferenceable(4) %31, ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 4 dereferenceable(4) %33)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #8
  call void @_ZN3glm6detail5tvec2IiEC2IttEERKT_RKT0_(ptr noundef nonnull align 4 dereferenceable(8) %34, ptr noundef nonnull align 2 dereferenceable(2) %31, ptr noundef nonnull align 2 dereferenceable(2) %124)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %35) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %36) #8
  %147 = load i32, ptr %34, align 4, !tbaa !14
  %148 = add nsw i32 %147, -32768
  store i32 %148, ptr %36, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %37) #8
  %149 = load i32, ptr %125, align 4, !tbaa !14
  %150 = add nsw i32 %149, -32768
  store i32 %150, ptr %37, align 4, !tbaa !5
  call void @_ZN3glm6detail5tvec2IsEC2IiiEERKT_RKT0_(ptr noundef nonnull align 2 dereferenceable(4) %35, ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef nonnull align 4 dereferenceable(4) %37)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %36) #8
  invoke void @_ZN6glmesh12VertexWriterINS_13CpuDataWriterEE6AttribIsEEvRKN3glm6detail5tvec2IT_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 2 dereferenceable(4) %35)
          to label %151 unwind label %157

151:                                              ; preds = %140
  invoke void @_ZN6glmesh12VertexWriterINS_13CpuDataWriterEE6AttribIaEEvRKN3glm6detail5tvec4IT_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 1 dereferenceable(4) %14)
          to label %152 unwind label %157

152:                                              ; preds = %151
  invoke void @_ZN6glmesh12VertexWriterINS_13CpuDataWriterEE6AttribItEEvRKN3glm6detail5tvec2IT_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 2 dereferenceable(4) %31)
          to label %153 unwind label %157

153:                                              ; preds = %152
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #8
  %154 = add nuw nsw i32 %.080119, 1
  %155 = load i32, ptr %4, align 4, !tbaa !5
  %156 = icmp slt i32 %154, %155
  br i1 %156, label %140, label %._crit_edge122.loopexit, !llvm.loop !17

157:                                              ; preds = %152, %151, %140
  %158 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #8
  br label %298

.loopexit113:                                     ; preds = %._crit_edge122, %.lr.ph125, %._crit_edge118..loopexit113_crit_edge, %120
  %159 = phi i32 [ %.pre140, %120 ], [ %.pre139, %._crit_edge118..loopexit113_crit_edge ], [ %.pre140, %.lr.ph125 ], [ %137, %._crit_edge122 ]
  %160 = phi i32 [ %122, %120 ], [ %77, %._crit_edge118..loopexit113_crit_edge ], [ %122, %.lr.ph125 ], [ %136, %._crit_edge122 ]
  %161 = add i32 %160, -1
  %162 = shl i32 %159, 1
  %163 = mul i32 %162, %161
  %164 = or disjoint i32 %163, 1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %38) #8
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  %165 = shl nsw i32 %164, 1
  %166 = sext i32 %165 to i64
  invoke void @_ZNSt6vectorIjSaIjEE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %166)
          to label %167 unwind label %173

167:                                              ; preds = %.loopexit113
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %39) #8
  store i32 %68, ptr %39, align 4, !tbaa !5
  %168 = icmp sgt i32 %160, 1
  br i1 %168, label %.preheader112, label %.loopexit

.preheader112:                                    ; preds = %167, %191
  %.078129 = phi i32 [ %192, %191 ], [ 0, %167 ]
  %169 = load i32, ptr %4, align 4, !tbaa !5
  %170 = icmp sgt i32 %169, 0
  br i1 %170, label %.lr.ph127, label %._crit_edge128

.lr.ph127:                                        ; preds = %.preheader112
  %171 = add nuw nsw i32 %.078129, 1
  br label %175

._crit_edge130:                                   ; preds = %191
  %or.cond = and i1 %168, %2
  br i1 %or.cond, label %.preheader.lr.ph, label %.loopexit

.preheader.lr.ph:                                 ; preds = %._crit_edge130
  %172 = sdiv i32 %68, 2
  br label %.preheader

173:                                              ; preds = %.loopexit113
  %174 = landingpad { ptr, i32 }
          cleanup
  br label %297

._crit_edge128:                                   ; preds = %183, %.preheader112
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 4 dereferenceable(4) %39)
          to label %191 unwind label %193

175:                                              ; preds = %.lr.ph127, %183
  %176 = phi i32 [ %169, %.lr.ph127 ], [ %185, %183 ]
  %.077126 = phi i32 [ 0, %.lr.ph127 ], [ %184, %183 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %40) #8
  %177 = mul nsw i32 %176, %.078129
  %178 = add nsw i32 %177, %.077126
  store i32 %178, ptr %40, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 4 dereferenceable(4) %40)
          to label %179 unwind label %187

179:                                              ; preds = %175
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %40) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %41) #8
  %180 = load i32, ptr %4, align 4, !tbaa !5
  %181 = mul nsw i32 %180, %171
  %182 = add nsw i32 %181, %.077126
  store i32 %182, ptr %41, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 4 dereferenceable(4) %41)
          to label %183 unwind label %189

183:                                              ; preds = %179
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #8
  %184 = add nuw nsw i32 %.077126, 1
  %185 = load i32, ptr %4, align 4, !tbaa !5
  %186 = icmp slt i32 %184, %185
  br i1 %186, label %175, label %._crit_edge128, !llvm.loop !18

187:                                              ; preds = %175
  %188 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %40) #8
  br label %296

189:                                              ; preds = %179
  %190 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #8
  br label %296

191:                                              ; preds = %._crit_edge128
  %192 = add nuw nsw i32 %.078129, 1
  %exitcond.not = icmp eq i32 %192, %161
  br i1 %exitcond.not, label %._crit_edge130, label %.preheader112, !llvm.loop !19

193:                                              ; preds = %._crit_edge128
  %194 = landingpad { ptr, i32 }
          cleanup
  br label %296

.preheader:                                       ; preds = %.preheader.lr.ph, %215
  %.076134 = phi i32 [ 0, %.preheader.lr.ph ], [ %216, %215 ]
  %195 = load i32, ptr %4, align 4, !tbaa !5
  %196 = icmp sgt i32 %195, 0
  br i1 %196, label %.lr.ph132, label %._crit_edge133

.lr.ph132:                                        ; preds = %.preheader
  %197 = add nuw nsw i32 %.076134, 1
  br label %198

._crit_edge133:                                   ; preds = %207, %.preheader
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 4 dereferenceable(4) %39)
          to label %215 unwind label %217

198:                                              ; preds = %.lr.ph132, %207
  %199 = phi i32 [ %195, %.lr.ph132 ], [ %209, %207 ]
  %.075131 = phi i32 [ 0, %.lr.ph132 ], [ %208, %207 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %42) #8
  %200 = mul nsw i32 %199, %197
  %201 = add i32 %.075131, %172
  %202 = add i32 %201, %200
  store i32 %202, ptr %42, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 4 dereferenceable(4) %42)
          to label %203 unwind label %211

203:                                              ; preds = %198
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %43) #8
  %204 = load i32, ptr %4, align 4, !tbaa !5
  %205 = mul nsw i32 %204, %.076134
  %206 = add i32 %201, %205
  store i32 %206, ptr %43, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 4 dereferenceable(4) %43)
          to label %207 unwind label %213

207:                                              ; preds = %203
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %43) #8
  %208 = add nuw nsw i32 %.075131, 1
  %209 = load i32, ptr %4, align 4, !tbaa !5
  %210 = icmp slt i32 %208, %209
  br i1 %210, label %198, label %._crit_edge133, !llvm.loop !20

211:                                              ; preds = %198
  %212 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %42) #8
  br label %296

213:                                              ; preds = %203
  %214 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %43) #8
  br label %296

215:                                              ; preds = %._crit_edge133
  %216 = add nuw nsw i32 %.076134, 1
  %exitcond137.not = icmp eq i32 %216, %161
  br i1 %exitcond137.not, label %.loopexit, label %.preheader, !llvm.loop !21

217:                                              ; preds = %._crit_edge133
  %218 = landingpad { ptr, i32 }
          cleanup
  br label %296

.loopexit:                                        ; preds = %215, %167, %._crit_edge130
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %44) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %45) #8
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #8
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef 2, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %219 unwind label %256

219:                                              ; preds = %.loopexit
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #8
  %220 = load ptr, ptr @_ZN2gl10GenBuffersE, align 8, !tbaa !22
  %221 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef 0) #8
  invoke void %220(i32 noundef 2, ptr noundef nonnull %221)
          to label %222 unwind label %258

222:                                              ; preds = %219
  %223 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef 0) #8
  %224 = load i32, ptr %223, align 4, !tbaa !5
  %225 = invoke noundef i32 @_ZNK6glmesh13CpuDataWriter16TransferToBufferEjjj(ptr noundef nonnull align 8 dereferenceable(72) %13, i32 noundef 34962, i32 noundef 35044, i32 noundef %224)
          to label %226 unwind label %258

226:                                              ; preds = %222
  %227 = load ptr, ptr @_ZN2gl10BindBufferE, align 8, !tbaa !22
  %228 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef 1) #8
  %229 = load i32, ptr %228, align 4, !tbaa !5
  invoke void %227(i32 noundef 34963, i32 noundef %229)
          to label %230 unwind label %258

230:                                              ; preds = %226
  %231 = load ptr, ptr @_ZN2gl10BufferDataE, align 8, !tbaa !22
  %232 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  %233 = shl i64 %232, 2
  %234 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef 0) #8
  invoke void %231(i32 noundef 34963, i64 noundef %233, ptr noundef nonnull %234, i32 noundef 35044)
          to label %235 unwind label %258

235:                                              ; preds = %230
  %236 = load ptr, ptr @_ZN2gl10BindBufferE, align 8, !tbaa !22
  invoke void %236(i32 noundef 34963, i32 noundef 0)
          to label %237 unwind label %258

237:                                              ; preds = %235
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %46) #8
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS5_ESaISt4pairIKS5_jEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #8
  %238 = load ptr, ptr @_ZN2gl10BindBufferE, align 8, !tbaa !22
  %239 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef 0) #8
  %240 = load i32, ptr %239, align 4, !tbaa !5
  invoke void %238(i32 noundef 34962, i32 noundef %240)
          to label %241 unwind label %260

241:                                              ; preds = %237
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %47) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %48) #8
  store i32 2, ptr %48, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %47, ptr noundef nonnull align 4 dereferenceable(4) %48)
          to label %242 unwind label %262

242:                                              ; preds = %241
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %48) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %49) #8
  store i32 4, ptr %49, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %47, ptr noundef nonnull align 4 dereferenceable(4) %49)
          to label %243 unwind label %264

243:                                              ; preds = %242
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %49) #8
  %244 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef 1) #8
  %245 = load i32, ptr %244, align 4, !tbaa !5
  invoke void @_ZN6glmesh3gen15BuildVariationsERSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS7_ESaISt4pairIKS7_jEEERKSt6vectorIiSaIiEERKNS_12VertexFormatEj(ptr noundef nonnull align 8 dereferenceable(48) %46, ptr noundef nonnull align 8 dereferenceable(24) %47, ptr noundef nonnull align 8 dereferenceable(56) %12, i32 noundef %245)
          to label %246 unwind label %266

246:                                              ; preds = %243
  %247 = load ptr, ptr @_ZN2gl10BindBufferE, align 8, !tbaa !22
  invoke void %247(i32 noundef 34962, i32 noundef 0)
          to label %248 unwind label %266

248:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %50) #8
  invoke void @_ZN6glmesh13RenderCmdListC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %50)
          to label %249 unwind label %268

249:                                              ; preds = %248
  %250 = load i32, ptr %39, align 4, !tbaa !5
  invoke void @_ZN6glmesh13RenderCmdList21PrimitiveRestartIndexEj(ptr noundef nonnull align 8 dereferenceable(8) %50, i32 noundef %250)
          to label %251 unwind label %270

251:                                              ; preds = %249
  invoke void @_ZN6glmesh13RenderCmdList12DrawElementsEjijli(ptr noundef nonnull align 8 dereferenceable(8) %50, i32 noundef 5, i32 noundef %164, i32 noundef 5125, i64 noundef 0, i32 noundef 0)
          to label %252 unwind label %270

252:                                              ; preds = %251
  br i1 %2, label %253, label %272

253:                                              ; preds = %252
  %254 = sext i32 %164 to i64
  %255 = shl nsw i64 %254, 2
  invoke void @_ZN6glmesh13RenderCmdList12DrawElementsEjijli(ptr noundef nonnull align 8 dereferenceable(8) %50, i32 noundef 5, i32 noundef %164, i32 noundef 5125, i64 noundef %255, i32 noundef 0)
          to label %272 unwind label %270

256:                                              ; preds = %.loopexit
  %257 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #8
  br label %295

258:                                              ; preds = %235, %230, %226, %222, %219
  %259 = landingpad { ptr, i32 }
          cleanup
  br label %294

260:                                              ; preds = %237
  %261 = landingpad { ptr, i32 }
          cleanup
  br label %293

262:                                              ; preds = %241
  %263 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %48) #8
  br label %292

264:                                              ; preds = %242
  %265 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %49) #8
  br label %292

266:                                              ; preds = %246, %243
  %267 = landingpad { ptr, i32 }
          cleanup
  br label %292

268:                                              ; preds = %248
  %269 = landingpad { ptr, i32 }
          cleanup
  br label %291

270:                                              ; preds = %272, %253, %251, %249
  %271 = landingpad { ptr, i32 }
          cleanup
  br label %290

272:                                              ; preds = %253, %252
  invoke void @_ZN6glmesh13RenderCmdList21PrimitiveRestartIndexEv(ptr noundef nonnull align 8 dereferenceable(8) %50)
          to label %273 unwind label %270

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

274:                                              ; preds = %273
  %275 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS5_ESaISt4pairIKS5_jEEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48) %46, ptr noundef nonnull align 8 dereferenceable(32) %51)
          to label %276 unwind label %283

276:                                              ; preds = %274
  %277 = load i32, ptr %275, align 4, !tbaa !5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %52) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #8
  %278 = invoke noalias noundef nonnull dereferenceable(8) ptr @_Znwm(i64 noundef 8) #9
          to label %279 unwind label %286

279:                                              ; preds = %276
  invoke void @_ZN6glmesh4MeshC1ERKSt6vectorIjSaIjEEjRKNS_13RenderCmdListERKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessISF_ESaISt4pairIKSF_jEEE(ptr noundef nonnull align 8 dereferenceable(8) %278, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %277, ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(48) %46)
          to label %280 unwind label %288

280:                                              ; preds = %279
  call void @_ZN6glmesh13RenderCmdListD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %50) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %47) #8
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS5_ESaISt4pairIKS5_jEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %46) #8
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %44) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %39) #8
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  call void @_ZN6glmesh13CpuDataWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %13) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %13) #8
  call void @_ZN6glmesh12VertexFormatD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %12) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %12) #8
  call void @_ZNSt6vectorIN6glmesh10AttribDescESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  ret ptr %278

281:                                              ; preds = %273
  %282 = landingpad { ptr, i32 }
          cleanup
  br label %285

283:                                              ; preds = %274
  %284 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #8
  br label %285

285:                                              ; preds = %283, %281
  %.pn = phi { ptr, i32 } [ %284, %283 ], [ %282, %281 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %52) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #8
  br label %290

286:                                              ; preds = %276
  %287 = landingpad { ptr, i32 }
          cleanup
  br label %290

288:                                              ; preds = %279
  %289 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %278, i64 noundef 8) #10
  br label %290

290:                                              ; preds = %285, %288, %286, %270
  %.pn89.pn.pn = phi { ptr, i32 } [ %271, %270 ], [ %.pn, %285 ], [ %289, %288 ], [ %287, %286 ]
  call void @_ZN6glmesh13RenderCmdListD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %50) #8
  br label %291

291:                                              ; preds = %290, %268
  %.pn89.pn.pn.pn = phi { ptr, i32 } [ %.pn89.pn.pn, %290 ], [ %269, %268 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %50) #8
  br label %292

292:                                              ; preds = %291, %266, %264, %262
  %.pn89.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn89.pn.pn.pn, %291 ], [ %267, %266 ], [ %265, %264 ], [ %263, %262 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %47) #8
  br label %293

293:                                              ; preds = %292, %260
  %.pn89.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn89.pn.pn.pn.pn, %292 ], [ %261, %260 ]
  call void @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS5_ESaISt4pairIKS5_jEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %46) #8
  br label %294

294:                                              ; preds = %293, %258
  %.pn89.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn89.pn.pn.pn.pn.pn, %293 ], [ %259, %258 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #8
  br label %295

295:                                              ; preds = %294, %256
  %.pn89.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn89.pn.pn.pn.pn.pn.pn, %294 ], [ %257, %256 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %44) #8
  br label %296

296:                                              ; preds = %217, %213, %211, %193, %189, %187, %295
  %.pn101.pn.pn = phi { ptr, i32 } [ %.pn89.pn.pn.pn.pn.pn.pn.pn, %295 ], [ %194, %193 ], [ %190, %189 ], [ %188, %187 ], [ %218, %217 ], [ %214, %213 ], [ %212, %211 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %39) #8
  br label %297

297:                                              ; preds = %296, %173
  %.pn101.pn.pn.pn = phi { ptr, i32 } [ %.pn101.pn.pn, %296 ], [ %174, %173 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %38) #8
  br label %298

298:                                              ; preds = %297, %157, %118
  %.pn106 = phi { ptr, i32 } [ %119, %118 ], [ %158, %157 ], [ %.pn101.pn.pn.pn, %297 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  call void @_ZN6glmesh13CpuDataWriterD2Ev(ptr noundef nonnull align 8 dereferenceable(72) %13) #8
  br label %299

299:                                              ; preds = %298, %86
  %.pn106.pn = phi { ptr, i32 } [ %.pn106, %298 ], [ %87, %86 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %13) #8
  call void @_ZN6glmesh12VertexFormatD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %12) #8
  br label %300

300:                                              ; preds = %299, %84
  %.pn106.pn.pn = phi { ptr, i32 } [ %.pn106.pn, %299 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %12) #8
  br label %301

301:                                              ; preds = %300, %82, %80, %78
  %.pn106.pn.pn.pn = phi { ptr, i32 } [ %.pn106.pn.pn, %300 ], [ %83, %82 ], [ %81, %80 ], [ %79, %78 ]
  call void @_ZNSt6vectorIN6glmesh10AttribDescESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #8
  resume { ptr, i32 } %.pn106.pn.pn.pn
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #7

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZN6glmesh3gen15BuildVariationsERSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS7_ESaISt4pairIKS7_jEEERKSt6vectorIiSaIiEERKNS_12VertexFormatEj(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) local_unnamed_addr #3

declare void @_ZN6glmesh13RenderCmdList21PrimitiveRestartIndexEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3

declare void @_ZN6glmesh13RenderCmdList12DrawElementsEjijli(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #3

declare void @_ZN6glmesh13RenderCmdList21PrimitiveRestartIndexEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4lessIS5_ESaISt4pairIKS5_jEEEixEOS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass