; LLVM IR from erwincoumans/tiny-differentiable-simulator :: src/visualizer/opengl (tiny_gl_instancing_renderer)

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

%"struct.TINY::TinyQuaternion" = type { float, float, float, float }
%"struct.TINY::TinyVector3" = type { float, float, float, i32 }
%"struct.TINY::TinyPose" = type { %"struct.TINY::TinyVector3", %"struct.TINY::TinyQuaternion" }
%struct.PointerCaster = type { %union.anon.25 }
%union.anon.25 = type { ptr }
%class.TinyGLInstancingRenderer = type <{ ptr, %"class.std::vector", ptr, i8, i8, [2 x i8], i32, i32, i32, i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<b3GraphicsInstance *, std::allocator<b3GraphicsInstance *>>::_Vector_impl" }
%"struct.std::_Vector_base<b3GraphicsInstance *, std::allocator<b3GraphicsInstance *>>::_Vector_impl" = type { %"struct.std::_Vector_base<b3GraphicsInstance *, std::allocator<b3GraphicsInstance *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<b3GraphicsInstance *, std::allocator<b3GraphicsInstance *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.InternalDataRenderer = type <{ %struct.GLInstanceRendererInternalData.base, [4 x i8], %struct.TinyCamera, ptr, [16 x float], [16 x float], [16 x float], [16 x float], [16 x float], i8, [3 x i8], %"struct.TINY::TinyVector3", %"struct.TINY::TinyVector3", i32, %"class.std::vector.5", ptr, i32, i32, %class.TinyResizablePool, i32, i32, float, i8, [3 x i8] }>
%struct.GLInstanceRendererInternalData.base = type <{ %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0", i32, i32, i32, i32, i32 }>
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.TinyCamera = type { ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<InternalTextureHandle, std::allocator<InternalTextureHandle>>::_Vector_impl" }
%"struct.std::_Vector_base<InternalTextureHandle, std::allocator<InternalTextureHandle>>::_Vector_impl" = type { %"struct.std::_Vector_base<InternalTextureHandle, std::allocator<InternalTextureHandle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<InternalTextureHandle, std::allocator<InternalTextureHandle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.TinyResizablePool = type { ptr, %"class.std::vector.10", i32, i32 }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<TinyPoolBodyHandle<TinyPublicGraphicsInstanceData>, std::allocator<TinyPoolBodyHandle<TinyPublicGraphicsInstanceData>>>::_Vector_impl" }
%"struct.std::_Vector_base<TinyPoolBodyHandle<TinyPublicGraphicsInstanceData>, std::allocator<TinyPoolBodyHandle<TinyPublicGraphicsInstanceData>>>::_Vector_impl" = type { %"struct.std::_Vector_base<TinyPoolBodyHandle<TinyPublicGraphicsInstanceData>, std::allocator<TinyPoolBodyHandle<TinyPublicGraphicsInstanceData>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<TinyPoolBodyHandle<TinyPublicGraphicsInstanceData>, std::allocator<TinyPoolBodyHandle<TinyPublicGraphicsInstanceData>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@glad_glBindBuffer = external global ptr, align 8
@glad_glBufferSubData = external global ptr, align 8
@glad_glActiveTexture = external global ptr, align 8
@glad_glBindTexture = external global ptr, align 8
@glad_glBufferData = external global ptr, align 8
@glad_glBindVertexArray = external global ptr, align 8
@_ZL21triangleShaderProgram = external hidden global i32, align 4
@_ZL21triangle_mvp_location = external hidden global i32, align 4
@_ZL22triangle_vcol_location = external hidden global i32, align 4
@glad_glUseProgram = external global ptr, align 8
@_ZL25triangleVertexArrayObject = external hidden global i32, align 4
@_ZL26triangleVertexBufferObject = external hidden global i32, align 4
@_ZL16triangleIndexVbo = external hidden global i32, align 4
@.str.28 = external hidden unnamed_addr constant [17 x i8], align 1
@glad_glUniformMatrix4fv = external global ptr, align 8
@.str.29 = external hidden unnamed_addr constant [19 x i8], align 1
@glad_glUniform3f = external global ptr, align 8
@.str.30 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [13 x i8], align 1
@glad_glVertexAttribPointer = external global ptr, align 8
@.str.33 = external hidden unnamed_addr constant [22 x i8], align 1
@glad_glEnableVertexAttribArray = external global ptr, align 8
@glad_glVertexAttribDivisor = external global ptr, align 8
@.str.34 = external hidden unnamed_addr constant [22 x i8], align 1
@glad_glDrawElements = external global ptr, align 8
@.str.35 = external hidden unnamed_addr constant [15 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL10checkErrorPKc(ptr noundef) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4TINY15getOpenGLMatrixERKNS_8TinyPoseIfNS_10FloatUtilsEEEPf(ptr noundef nonnull align 4 dereferenceable(32), ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN24TinyGLInstancingRenderer27draw_textured_triangle_meshEPfS0_PKfiPKjiS0_ii(ptr noundef nonnull align 8 dereferenceable(60) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, ptr noundef %7, i32 noundef %8, i32 noundef %9) unnamed_addr #2 align 2 {
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"struct.TINY::TinyQuaternion", align 4
  %23 = alloca %"struct.TINY::TinyVector3", align 4
  %24 = alloca %"struct.TINY::TinyPose", align 4
  %25 = alloca [16 x float], align 16
  %26 = alloca [16 x float], align 16
  %27 = alloca i32, align 4
  %28 = alloca [16 x float], align 16
  %29 = alloca [16 x float], align 16
  %30 = alloca %struct.PointerCaster, align 8
  %31 = alloca %struct.PointerCaster, align 8
  %32 = alloca i32, align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store ptr %3, ptr %14, align 8, !tbaa !5
  store i32 %4, ptr %15, align 4, !tbaa !9
  store ptr %5, ptr %16, align 8, !tbaa !5
  store i32 %6, ptr %17, align 4, !tbaa !9
  store ptr %7, ptr %18, align 8, !tbaa !5
  store i32 %8, ptr %19, align 4, !tbaa !9
  store i32 %9, ptr %20, align 4, !tbaa !9
  %33 = load ptr, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 40, ptr %21, align 4, !tbaa !9
  %34 = load ptr, ptr @glad_glActiveTexture, align 8, !tbaa !5
  call void %34(i32 noundef 33984)
  %35 = load i32, ptr %19, align 4, !tbaa !9
  %36 = load ptr, ptr %33, align 8, !tbaa !11
  %37 = getelementptr inbounds ptr, ptr %36, i64 13
  %38 = load ptr, ptr %37, align 8
  call void %38(ptr noundef nonnull align 8 dereferenceable(60) %33, i32 noundef %35)
  call void @_ZL10checkErrorPKc(ptr noundef @.str.28)
  %39 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  call void %39(i32 noundef 34963, i32 noundef 0)
  %40 = load ptr, ptr @glad_glUseProgram, align 8, !tbaa !5
  %41 = load i32, ptr @_ZL21triangleShaderProgram, align 4, !tbaa !9
  call void %40(i32 noundef %41)
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #4
  %42 = load ptr, ptr %13, align 8, !tbaa !5
  %43 = getelementptr inbounds float, ptr %42, i64 0
  %44 = load float, ptr %43, align 4, !tbaa !13
  %45 = load ptr, ptr %13, align 8, !tbaa !5
  %46 = getelementptr inbounds float, ptr %45, i64 1
  %47 = load float, ptr %46, align 4, !tbaa !13
  %48 = load ptr, ptr %13, align 8, !tbaa !5
  %49 = getelementptr inbounds float, ptr %48, i64 2
  %50 = load float, ptr %49, align 4, !tbaa !13
  %51 = load ptr, ptr %13, align 8, !tbaa !5
  %52 = getelementptr inbounds float, ptr %51, i64 3
  %53 = load float, ptr %52, align 4, !tbaa !13
  call void @_ZN4TINY14TinyQuaternionIfNS_10FloatUtilsEEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %22, float noundef %44, float noundef %47, float noundef %50, float noundef %53)
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #4
  %54 = load ptr, ptr %12, align 8, !tbaa !5
  %55 = getelementptr inbounds float, ptr %54, i64 0
  %56 = load float, ptr %55, align 4, !tbaa !13
  %57 = load ptr, ptr %12, align 8, !tbaa !5
  %58 = getelementptr inbounds float, ptr %57, i64 1
  %59 = load float, ptr %58, align 4, !tbaa !13
  %60 = load ptr, ptr %12, align 8, !tbaa !5
  %61 = getelementptr inbounds float, ptr %60, i64 2
  %62 = load float, ptr %61, align 4, !tbaa !13
  call void @_ZN4TINY11TinyVector3IfNS_10FloatUtilsEEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %23, float noundef %56, float noundef %59, float noundef %62)
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #4
  call void @_ZN4TINY8TinyPoseIfNS_10FloatUtilsEEC2ERKNS_11TinyVector3IfS1_EERKNS_14TinyQuaternionIfS1_EE(ptr noundef nonnull align 4 dereferenceable(32) %24, ptr noundef nonnull align 4 dereferenceable(16) %23, ptr noundef nonnull align 4 dereferenceable(16) %22)
  call void @llvm.lifetime.start.p0(i64 64, ptr %25) #4
  %63 = getelementptr inbounds [16 x float], ptr %25, i64 0, i64 0
  call void @_ZN4TINY15getOpenGLMatrixERKNS_8TinyPoseIfNS_10FloatUtilsEEEPf(ptr noundef nonnull align 4 dereferenceable(32) %24, ptr noundef %63)
  call void @llvm.lifetime.start.p0(i64 64, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %64

64:                                               ; preds = %76, %10
  %65 = load i32, ptr %27, align 4, !tbaa !9
  %66 = icmp slt i32 %65, 16
  br i1 %66, label %68, label %67

67:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  br label %79

68:                                               ; preds = %64
  %69 = load i32, ptr %27, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [16 x float], ptr %25, i64 0, i64 %70
  %72 = load float, ptr %71, align 4, !tbaa !13
  %73 = load i32, ptr %27, align 4, !tbaa !9
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [16 x float], ptr %26, i64 0, i64 %74
  store float %72, ptr %75, align 4, !tbaa !13
  br label %76

76:                                               ; preds = %68
  %77 = load i32, ptr %27, align 4, !tbaa !9
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %27, align 4, !tbaa !9
  br label %64, !llvm.loop !15

79:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #4
  %80 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %33, i32 0, i32 2
  %81 = load ptr, ptr %80, align 8, !tbaa !17
  %82 = getelementptr inbounds %struct.InternalDataRenderer, ptr %81, i32 0, i32 4
  %83 = getelementptr inbounds [16 x float], ptr %82, i64 0, i64 0
  %84 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %33, i32 0, i32 2
  %85 = load ptr, ptr %84, align 8, !tbaa !17
  %86 = getelementptr inbounds %struct.InternalDataRenderer, ptr %85, i32 0, i32 5
  %87 = getelementptr inbounds [16 x float], ptr %86, i64 0, i64 0
  %88 = getelementptr inbounds [16 x float], ptr %28, i64 0, i64 0
  call void @_ZL16b3Matrix4x4Mul16PfS_S_(ptr noundef %83, ptr noundef %87, ptr noundef %88)
  call void @llvm.lifetime.start.p0(i64 64, ptr %29) #4
  %89 = getelementptr inbounds [16 x float], ptr %28, i64 0, i64 0
  %90 = getelementptr inbounds [16 x float], ptr %26, i64 0, i64 0
  %91 = getelementptr inbounds [16 x float], ptr %29, i64 0, i64 0
  call void @_ZL16b3Matrix4x4Mul16PfS_S_(ptr noundef %89, ptr noundef %90, ptr noundef %91)
  %92 = load ptr, ptr @glad_glUniformMatrix4fv, align 8, !tbaa !5
  %93 = load i32, ptr @_ZL21triangle_mvp_location, align 4, !tbaa !9
  %94 = getelementptr inbounds [16 x float], ptr %29, i64 0, i64 0
  call void %92(i32 noundef %93, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %94)
  call void @_ZL10checkErrorPKc(ptr noundef @.str.29)
  %95 = load ptr, ptr @glad_glUniform3f, align 8, !tbaa !5
  %96 = load i32, ptr @_ZL22triangle_vcol_location, align 4, !tbaa !9
  %97 = load ptr, ptr %18, align 8, !tbaa !5
  %98 = getelementptr inbounds float, ptr %97, i64 0
  %99 = load float, ptr %98, align 4, !tbaa !13
  %100 = load ptr, ptr %18, align 8, !tbaa !5
  %101 = getelementptr inbounds float, ptr %100, i64 1
  %102 = load float, ptr %101, align 4, !tbaa !13
  %103 = load ptr, ptr %18, align 8, !tbaa !5
  %104 = getelementptr inbounds float, ptr %103, i64 2
  %105 = load float, ptr %104, align 4, !tbaa !13
  call void %95(i32 noundef %96, float noundef %99, float noundef %102, float noundef %105)
  call void @_ZL10checkErrorPKc(ptr noundef @.str.30)
  %106 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !5
  %107 = load i32, ptr @_ZL25triangleVertexArrayObject, align 4, !tbaa !9
  call void %106(i32 noundef %107)
  call void @_ZL10checkErrorPKc(ptr noundef @.str.31)
  %108 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  %109 = load i32, ptr @_ZL26triangleVertexBufferObject, align 4, !tbaa !9
  call void %108(i32 noundef 34962, i32 noundef %109)
  call void @_ZL10checkErrorPKc(ptr noundef @.str.32)
  %110 = load ptr, ptr @glad_glBufferData, align 8, !tbaa !5
  %111 = load i32, ptr %15, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = mul i64 40, %112
  call void %110(i32 noundef 34962, i64 noundef %113, ptr noundef null, i32 noundef 35048)
  %114 = load ptr, ptr @glad_glBufferSubData, align 8, !tbaa !5
  %115 = load i32, ptr %15, align 4, !tbaa !9
  %116 = sext i32 %115 to i64
  %117 = mul i64 40, %116
  %118 = load ptr, ptr %14, align 8, !tbaa !5
  call void %114(i32 noundef 34962, i64 noundef 0, i64 noundef %117, ptr noundef %118)
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  call void @_ZN13PointerCasterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30)
  %119 = getelementptr inbounds %struct.PointerCaster, ptr %30, i32 0, i32 0
  store i32 0, ptr %119, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  call void @_ZN13PointerCasterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %31)
  %120 = getelementptr inbounds %struct.PointerCaster, ptr %31, i32 0, i32 0
  store i32 32, ptr %120, align 8, !tbaa !24
  %121 = load ptr, ptr @glad_glVertexAttribPointer, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.PointerCaster, ptr %30, i32 0, i32 0
  %123 = load ptr, ptr %122, align 8, !tbaa !24
  call void %121(i32 noundef 0, i32 noundef 3, i32 noundef 5126, i8 noundef zeroext 0, i32 noundef 40, ptr noundef %123)
  %124 = load ptr, ptr @glad_glVertexAttribPointer, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.PointerCaster, ptr %31, i32 0, i32 0
  %126 = load ptr, ptr %125, align 8, !tbaa !24
  call void %124(i32 noundef 1, i32 noundef 2, i32 noundef 5126, i8 noundef zeroext 0, i32 noundef 40, ptr noundef %126)
  call void @_ZL10checkErrorPKc(ptr noundef @.str.33)
  %127 = load ptr, ptr @glad_glEnableVertexAttribArray, align 8, !tbaa !5
  call void %127(i32 noundef 0)
  %128 = load ptr, ptr @glad_glEnableVertexAttribArray, align 8, !tbaa !5
  call void %128(i32 noundef 1)
  %129 = load ptr, ptr @glad_glVertexAttribDivisor, align 8, !tbaa !5
  call void %129(i32 noundef 0, i32 noundef 0)
  %130 = load ptr, ptr @glad_glVertexAttribDivisor, align 8, !tbaa !5
  call void %130(i32 noundef 1, i32 noundef 0)
  call void @_ZL10checkErrorPKc(ptr noundef @.str.34)
  %131 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  %132 = load i32, ptr @_ZL16triangleIndexVbo, align 4, !tbaa !9
  call void %131(i32 noundef 34963, i32 noundef %132)
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #4
  %133 = load i32, ptr %17, align 4, !tbaa !9
  %134 = sext i32 %133 to i64
  %135 = mul i64 %134, 4
  %136 = trunc i64 %135 to i32
  store i32 %136, ptr %32, align 4, !tbaa !9
  %137 = load ptr, ptr @glad_glBufferData, align 8, !tbaa !5
  %138 = load i32, ptr %17, align 4, !tbaa !9
  %139 = sext i32 %138 to i64
  %140 = mul i64 %139, 4
  call void %137(i32 noundef 34963, i64 noundef %140, ptr noundef null, i32 noundef 35048)
  %141 = load ptr, ptr @glad_glBufferSubData, align 8, !tbaa !5
  %142 = load i32, ptr %17, align 4, !tbaa !9
  %143 = sext i32 %142 to i64
  %144 = mul i64 %143, 4
  %145 = load ptr, ptr %16, align 8, !tbaa !5
  call void %141(i32 noundef 34963, i64 noundef 0, i64 noundef %144, ptr noundef %145)
  %146 = load ptr, ptr @glad_glDrawElements, align 8, !tbaa !5
  %147 = load i32, ptr %17, align 4, !tbaa !9
  call void %146(i32 noundef 4, i32 noundef %147, i32 noundef 5125, ptr noundef null)
  call void @_ZL10checkErrorPKc(ptr noundef @.str.35)
  %148 = load ptr, ptr @glad_glActiveTexture, align 8, !tbaa !5
  call void %148(i32 noundef 33984)
  %149 = load ptr, ptr @glad_glBindTexture, align 8, !tbaa !5
  call void %149(i32 noundef 3553, i32 noundef 0)
  %150 = load ptr, ptr @glad_glUseProgram, align 8, !tbaa !5
  call void %150(i32 noundef 0)
  %151 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  call void %151(i32 noundef 34963, i32 noundef 0)
  %152 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  call void %152(i32 noundef 34962, i32 noundef 0)
  %153 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !5
  call void %153(i32 noundef 0)
  call void @_ZL10checkErrorPKc(ptr noundef @.str.31)
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL16b3Matrix4x4Mul16PfS_S_(ptr noundef, ptr noundef, ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13PointerCasterC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

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


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

%"struct.TINY::TinyQuaternion" = type { float, float, float, float }
%"struct.TINY::TinyVector3" = type { float, float, float, i32 }
%"struct.TINY::TinyPose" = type { %"struct.TINY::TinyVector3", %"struct.TINY::TinyQuaternion" }
%struct.PointerCaster = type { %union.anon.25 }
%union.anon.25 = type { ptr }

@glad_glBindBuffer = external local_unnamed_addr global ptr, align 8
@glad_glBufferSubData = external local_unnamed_addr global ptr, align 8
@glad_glActiveTexture = external local_unnamed_addr global ptr, align 8
@glad_glBindTexture = external local_unnamed_addr global ptr, align 8
@glad_glBufferData = external local_unnamed_addr global ptr, align 8
@glad_glBindVertexArray = external local_unnamed_addr global ptr, align 8
@_ZL21triangleShaderProgram = external hidden local_unnamed_addr global i32, align 4
@_ZL21triangle_mvp_location = external hidden local_unnamed_addr global i32, align 4
@_ZL22triangle_vcol_location = external hidden local_unnamed_addr global i32, align 4
@glad_glUseProgram = external local_unnamed_addr global ptr, align 8
@_ZL25triangleVertexArrayObject = external hidden local_unnamed_addr global i32, align 4
@_ZL26triangleVertexBufferObject = external hidden local_unnamed_addr global i32, align 4
@_ZL16triangleIndexVbo = external hidden local_unnamed_addr global i32, align 4
@.str.28 = external hidden unnamed_addr constant [17 x i8], align 1
@glad_glUniformMatrix4fv = external local_unnamed_addr global ptr, align 8
@.str.29 = external hidden unnamed_addr constant [19 x i8], align 1
@glad_glUniform3f = external local_unnamed_addr global ptr, align 8
@.str.30 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [13 x i8], align 1
@glad_glVertexAttribPointer = external local_unnamed_addr global ptr, align 8
@.str.33 = external hidden unnamed_addr constant [22 x i8], align 1
@glad_glEnableVertexAttribArray = external local_unnamed_addr global ptr, align 8
@glad_glVertexAttribDivisor = external local_unnamed_addr global ptr, align 8
@.str.34 = external hidden unnamed_addr constant [22 x i8], align 1
@glad_glDrawElements = external local_unnamed_addr global ptr, align 8
@.str.35 = external hidden unnamed_addr constant [15 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL10checkErrorPKc(ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4TINY15getOpenGLMatrixERKNS_8TinyPoseIfNS_10FloatUtilsEEEPf(ptr noundef nonnull align 4 dereferenceable(32), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN24TinyGLInstancingRenderer27draw_textured_triangle_meshEPfS0_PKfiPKjiS0_ii(ptr noundef nonnull align 8 dereferenceable(60) %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7, i32 noundef %8, i32 noundef %9) unnamed_addr #2 align 2 {
  %11 = alloca %"struct.TINY::TinyQuaternion", align 4
  %12 = alloca %"struct.TINY::TinyVector3", align 4
  %13 = alloca %"struct.TINY::TinyPose", align 4
  %14 = alloca [16 x float], align 16
  %15 = alloca [16 x float], align 16
  %16 = alloca [16 x float], align 16
  %17 = alloca [16 x float], align 16
  %18 = alloca %struct.PointerCaster, align 8
  %19 = alloca %struct.PointerCaster, align 8
  %20 = load ptr, ptr @glad_glActiveTexture, align 8, !tbaa !5
  tail call void %20(i32 noundef 33984)
  %21 = load ptr, ptr %0, align 8, !tbaa !9
  %22 = getelementptr inbounds i8, ptr %21, i64 104
  %23 = load ptr, ptr %22, align 8
  tail call void %23(ptr noundef nonnull align 8 dereferenceable(60) %0, i32 noundef %8)
  tail call void @_ZL10checkErrorPKc(ptr noundef nonnull @.str.28)
  %24 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  tail call void %24(i32 noundef 34963, i32 noundef 0)
  %25 = load ptr, ptr @glad_glUseProgram, align 8, !tbaa !5
  %26 = load i32, ptr @_ZL21triangleShaderProgram, align 4, !tbaa !11
  tail call void %25(i32 noundef %26)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #5
  %27 = load float, ptr %2, align 4, !tbaa !13
  %28 = getelementptr inbounds i8, ptr %2, i64 4
  %29 = load float, ptr %28, align 4, !tbaa !13
  %30 = getelementptr inbounds i8, ptr %2, i64 8
  %31 = load float, ptr %30, align 4, !tbaa !13
  %32 = getelementptr inbounds i8, ptr %2, i64 12
  %33 = load float, ptr %32, align 4, !tbaa !13
  call void @_ZN4TINY14TinyQuaternionIfNS_10FloatUtilsEEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %11, float noundef %27, float noundef %29, float noundef %31, float noundef %33)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #5
  %34 = load float, ptr %1, align 4, !tbaa !13
  %35 = getelementptr inbounds i8, ptr %1, i64 4
  %36 = load float, ptr %35, align 4, !tbaa !13
  %37 = getelementptr inbounds i8, ptr %1, i64 8
  %38 = load float, ptr %37, align 4, !tbaa !13
  call void @_ZN4TINY11TinyVector3IfNS_10FloatUtilsEEC2Efff(ptr noundef nonnull align 4 dereferenceable(16) %12, float noundef %34, float noundef %36, float noundef %38)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #5
  call void @_ZN4TINY8TinyPoseIfNS_10FloatUtilsEEC2ERKNS_11TinyVector3IfS1_EERKNS_14TinyQuaternionIfS1_EE(ptr noundef nonnull align 4 dereferenceable(32) %13, ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(16) %11)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #5
  call void @_ZN4TINY15getOpenGLMatrixERKNS_8TinyPoseIfNS_10FloatUtilsEEEPf(ptr noundef nonnull align 4 dereferenceable(32) %13, ptr noundef nonnull %14)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %15) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %15, ptr noundef nonnull align 16 dereferenceable(64) %14, i64 64, i1 false), !tbaa !13
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #5
  %39 = getelementptr inbounds i8, ptr %0, i64 32
  %40 = load ptr, ptr %39, align 8, !tbaa !15
  %41 = getelementptr inbounds i8, ptr %40, i64 144
  %42 = getelementptr inbounds i8, ptr %40, i64 208
  call void @_ZL16b3Matrix4x4Mul16PfS_S_(ptr noundef nonnull %41, ptr noundef nonnull %42, ptr noundef nonnull %16)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #5
  call void @_ZL16b3Matrix4x4Mul16PfS_S_(ptr noundef nonnull %16, ptr noundef nonnull %15, ptr noundef nonnull %17)
  %43 = load ptr, ptr @glad_glUniformMatrix4fv, align 8, !tbaa !5
  %44 = load i32, ptr @_ZL21triangle_mvp_location, align 4, !tbaa !11
  call void %43(i32 noundef %44, i32 noundef 1, i8 noundef zeroext 0, ptr noundef nonnull %17)
  call void @_ZL10checkErrorPKc(ptr noundef nonnull @.str.29)
  %45 = load ptr, ptr @glad_glUniform3f, align 8, !tbaa !5
  %46 = load i32, ptr @_ZL22triangle_vcol_location, align 4, !tbaa !11
  %47 = load float, ptr %7, align 4, !tbaa !13
  %48 = getelementptr inbounds i8, ptr %7, i64 4
  %49 = load float, ptr %48, align 4, !tbaa !13
  %50 = getelementptr inbounds i8, ptr %7, i64 8
  %51 = load float, ptr %50, align 4, !tbaa !13
  call void %45(i32 noundef %46, float noundef %47, float noundef %49, float noundef %51)
  call void @_ZL10checkErrorPKc(ptr noundef nonnull @.str.30)
  %52 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !5
  %53 = load i32, ptr @_ZL25triangleVertexArrayObject, align 4, !tbaa !11
  call void %52(i32 noundef %53)
  call void @_ZL10checkErrorPKc(ptr noundef nonnull @.str.31)
  %54 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  %55 = load i32, ptr @_ZL26triangleVertexBufferObject, align 4, !tbaa !11
  call void %54(i32 noundef 34962, i32 noundef %55)
  call void @_ZL10checkErrorPKc(ptr noundef nonnull @.str.32)
  %56 = load ptr, ptr @glad_glBufferData, align 8, !tbaa !5
  %57 = sext i32 %4 to i64
  %58 = mul nsw i64 %57, 40
  call void %56(i32 noundef 34962, i64 noundef %58, ptr noundef null, i32 noundef 35048)
  %59 = load ptr, ptr @glad_glBufferSubData, align 8, !tbaa !5
  call void %59(i32 noundef 34962, i64 noundef 0, i64 noundef %58, ptr noundef %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  call void @_ZN13PointerCasterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18)
  store i32 0, ptr %18, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  call void @_ZN13PointerCasterC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19)
  store i32 32, ptr %19, align 8, !tbaa !22
  %60 = load ptr, ptr @glad_glVertexAttribPointer, align 8, !tbaa !5
  %61 = load ptr, ptr %18, align 8, !tbaa !22
  call void %60(i32 noundef 0, i32 noundef 3, i32 noundef 5126, i8 noundef zeroext 0, i32 noundef 40, ptr noundef %61)
  %62 = load ptr, ptr @glad_glVertexAttribPointer, align 8, !tbaa !5
  %63 = load ptr, ptr %19, align 8, !tbaa !22
  call void %62(i32 noundef 1, i32 noundef 2, i32 noundef 5126, i8 noundef zeroext 0, i32 noundef 40, ptr noundef %63)
  call void @_ZL10checkErrorPKc(ptr noundef nonnull @.str.33)
  %64 = load ptr, ptr @glad_glEnableVertexAttribArray, align 8, !tbaa !5
  call void %64(i32 noundef 0)
  %65 = load ptr, ptr @glad_glEnableVertexAttribArray, align 8, !tbaa !5
  call void %65(i32 noundef 1)
  %66 = load ptr, ptr @glad_glVertexAttribDivisor, align 8, !tbaa !5
  call void %66(i32 noundef 0, i32 noundef 0)
  %67 = load ptr, ptr @glad_glVertexAttribDivisor, align 8, !tbaa !5
  call void %67(i32 noundef 1, i32 noundef 0)
  call void @_ZL10checkErrorPKc(ptr noundef nonnull @.str.34)
  %68 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  %69 = load i32, ptr @_ZL16triangleIndexVbo, align 4, !tbaa !11
  call void %68(i32 noundef 34963, i32 noundef %69)
  %70 = sext i32 %6 to i64
  %71 = shl nsw i64 %70, 2
  %72 = load ptr, ptr @glad_glBufferData, align 8, !tbaa !5
  call void %72(i32 noundef 34963, i64 noundef %71, ptr noundef null, i32 noundef 35048)
  %73 = load ptr, ptr @glad_glBufferSubData, align 8, !tbaa !5
  call void %73(i32 noundef 34963, i64 noundef 0, i64 noundef %71, ptr noundef %5)
  %74 = load ptr, ptr @glad_glDrawElements, align 8, !tbaa !5
  call void %74(i32 noundef 4, i32 noundef %6, i32 noundef 5125, ptr noundef null)
  call void @_ZL10checkErrorPKc(ptr noundef nonnull @.str.35)
  %75 = load ptr, ptr @glad_glActiveTexture, align 8, !tbaa !5
  call void %75(i32 noundef 33984)
  %76 = load ptr, ptr @glad_glBindTexture, align 8, !tbaa !5
  call void %76(i32 noundef 3553, i32 noundef 0)
  %77 = load ptr, ptr @glad_glUseProgram, align 8, !tbaa !5
  call void %77(i32 noundef 0)
  %78 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  call void %78(i32 noundef 34963, i32 noundef 0)
  %79 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  call void %79(i32 noundef 34962, i32 noundef 0)
  %80 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !5
  call void %80(i32 noundef 0)
  call void @_ZL10checkErrorPKc(ptr noundef nonnull @.str.31)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #5
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL16b3Matrix4x4Mul16PfS_S_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !6, i64 32}
!16 = !{!"_ZTS24TinyGLInstancingRenderer", !17, i64 8, !6, i64 32, !21, i64 40, !21, i64 41, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56}
!17 = !{!"_ZTSSt6vectorIP18b3GraphicsInstanceSaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIP18b3GraphicsInstanceSaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIP18b3GraphicsInstanceSaIS1_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIP18b3GraphicsInstanceSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"bool", !7, i64 0}
!22 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopIdiomRecognizePass,LoopRotatePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass