; LLVM IR from erwincoumans/tiny-differentiable-simulator :: src/visualizer/opengl (tiny_gl_primitive_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.PrimVec2 = type { [2 x float] }
%class.TinyGLPrimitiveRenderer = type { ptr, i32, i32, ptr, ptr }
%struct.PrimInternalData = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }

@.str.2 = external hidden unnamed_addr constant [129 x i8], align 1
@glad_glBindVertexArray = external global ptr, align 8
@glad_glBindBuffer = external global ptr, align 8
@glad_glGetError = external global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [28 x i8], align 1
@glad_glEnableVertexAttribArray = external global ptr, align 8
@glad_glVertexAttribPointer = external global ptr, align 8
@glad_glUseProgram = external global ptr, align 8
@glad_glUniformMatrix4fv = external global ptr, align 8
@glad_glTexParameteri = external global ptr, align 8
@glad_glBufferSubData = external global ptr, align 8
@glad_glUniform2fv = external global ptr, align 8
@glad_glDrawElements = external global ptr, align 8
@__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib = external hidden unnamed_addr constant [78 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #0

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef %1, i32 noundef %2, i1 noundef zeroext %3) #3 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i8, align 1
  %9 = alloca [16 x float], align 16
  %10 = alloca i8, align 1
  %11 = alloca %struct.PrimVec2, align 4
  %12 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  %13 = zext i1 %3 to i8
  store i8 %13, ptr %8, align 1, !tbaa !11
  %14 = load ptr, ptr %5, align 8
  %15 = load i32, ptr %7, align 4, !tbaa !9
  %16 = icmp eq i32 %15, 0
  br i1 %16, label %17, label %18

17:                                               ; preds = %4
  br label %220

18:                                               ; preds = %4
  %19 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %20 = call i32 %19()
  %21 = icmp eq i32 %20, 0
  br i1 %21, label %22, label %23

22:                                               ; preds = %18
  br label %25

23:                                               ; preds = %18
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 333, ptr noundef @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

24:                                               ; No predecessors!
  br label %25

25:                                               ; preds = %24, %22
  call void @llvm.lifetime.start.p0(i64 64, ptr %9) #6
  call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 64, i1 false)
  %26 = getelementptr inbounds [16 x float], ptr %9, i32 0, i32 0
  store float 1.000000e+00, ptr %26, align 16
  %27 = getelementptr inbounds [16 x float], ptr %9, i32 0, i32 5
  store float 1.000000e+00, ptr %27, align 4
  %28 = getelementptr inbounds [16 x float], ptr %9, i32 0, i32 10
  store float 1.000000e+00, ptr %28, align 8
  %29 = getelementptr inbounds [16 x float], ptr %9, i32 0, i32 15
  store float 1.000000e+00, ptr %29, align 4
  %30 = load ptr, ptr @glad_glUseProgram, align 8, !tbaa !5
  %31 = getelementptr inbounds %class.TinyGLPrimitiveRenderer, ptr %14, i32 0, i32 3
  %32 = load ptr, ptr %31, align 8, !tbaa !13
  %33 = getelementptr inbounds %struct.PrimInternalData, ptr %32, i32 0, i32 0
  %34 = load i32, ptr %33, align 4, !tbaa !15
  call void %30(i32 noundef %34)
  %35 = load ptr, ptr @glad_glUniformMatrix4fv, align 8, !tbaa !5
  %36 = getelementptr inbounds %class.TinyGLPrimitiveRenderer, ptr %14, i32 0, i32 3
  %37 = load ptr, ptr %36, align 8, !tbaa !13
  %38 = getelementptr inbounds %struct.PrimInternalData, ptr %37, i32 0, i32 1
  %39 = load i32, ptr %38, align 4, !tbaa !17
  %40 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 0
  call void %35(i32 noundef %39, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %40)
  %41 = load ptr, ptr @glad_glUniformMatrix4fv, align 8, !tbaa !5
  %42 = getelementptr inbounds %class.TinyGLPrimitiveRenderer, ptr %14, i32 0, i32 3
  %43 = load ptr, ptr %42, align 8, !tbaa !13
  %44 = getelementptr inbounds %struct.PrimInternalData, ptr %43, i32 0, i32 2
  %45 = load i32, ptr %44, align 4, !tbaa !18
  %46 = getelementptr inbounds [16 x float], ptr %9, i64 0, i64 0
  call void %41(i32 noundef %45, i32 noundef 1, i8 noundef zeroext 0, ptr noundef %46)
  %47 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %48 = call i32 %47()
  %49 = icmp eq i32 %48, 0
  br i1 %49, label %50, label %51

50:                                               ; preds = %25
  br label %53

51:                                               ; preds = %25
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 341, ptr noundef @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

52:                                               ; No predecessors!
  br label %53

53:                                               ; preds = %52, %50
  %54 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  %55 = getelementptr inbounds %class.TinyGLPrimitiveRenderer, ptr %14, i32 0, i32 3
  %56 = load ptr, ptr %55, align 8, !tbaa !13
  %57 = getelementptr inbounds %struct.PrimInternalData, ptr %56, i32 0, i32 8
  %58 = load i32, ptr %57, align 4, !tbaa !19
  call void %54(i32 noundef 34962, i32 noundef %58)
  %59 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !5
  %60 = getelementptr inbounds %class.TinyGLPrimitiveRenderer, ptr %14, i32 0, i32 3
  %61 = load ptr, ptr %60, align 8, !tbaa !13
  %62 = getelementptr inbounds %struct.PrimInternalData, ptr %61, i32 0, i32 10
  %63 = load i32, ptr %62, align 4, !tbaa !20
  call void %59(i32 noundef %63)
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #6
  store i8 0, ptr %10, align 1, !tbaa !11
  %64 = load i8, ptr %10, align 1, !tbaa !11, !range !21, !noundef !22
  %65 = trunc i8 %64 to i1
  br i1 %65, label %66, label %69

66:                                               ; preds = %53
  %67 = load ptr, ptr @glad_glTexParameteri, align 8, !tbaa !5
  call void %67(i32 noundef 3553, i32 noundef 10241, i32 noundef 9987)
  %68 = load ptr, ptr @glad_glTexParameteri, align 8, !tbaa !5
  call void %68(i32 noundef 3553, i32 noundef 10240, i32 noundef 9729)
  br label %72

69:                                               ; preds = %53
  %70 = load ptr, ptr @glad_glTexParameteri, align 8, !tbaa !5
  call void %70(i32 noundef 3553, i32 noundef 10241, i32 noundef 9728)
  %71 = load ptr, ptr @glad_glTexParameteri, align 8, !tbaa !5
  call void %71(i32 noundef 3553, i32 noundef 10240, i32 noundef 9728)
  br label %72

72:                                               ; preds = %69, %66
  %73 = load ptr, ptr @glad_glBufferSubData, align 8, !tbaa !5
  %74 = load i32, ptr %7, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = mul i64 %75, 40
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  call void %73(i32 noundef 34962, i64 noundef 0, i64 noundef %76, ptr noundef %77)
  %78 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %79 = call i32 %78()
  %80 = icmp eq i32 %79, 0
  br i1 %80, label %81, label %82

81:                                               ; preds = %72
  br label %84

82:                                               ; preds = %72
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 364, ptr noundef @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

83:                                               ; No predecessors!
  br label %84

84:                                               ; preds = %83, %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @_ZN8PrimVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %85 = load i8, ptr %8, align 1, !tbaa !11, !range !21, !noundef !22
  %86 = trunc i8 %85 to i1
  br i1 %86, label %87, label %92

87:                                               ; preds = %84
  %88 = getelementptr inbounds %struct.PrimVec2, ptr %11, i32 0, i32 0
  %89 = getelementptr inbounds [2 x float], ptr %88, i64 0, i64 0
  store float 1.000000e+00, ptr %89, align 4, !tbaa !23
  %90 = getelementptr inbounds %struct.PrimVec2, ptr %11, i32 0, i32 0
  %91 = getelementptr inbounds [2 x float], ptr %90, i64 0, i64 1
  store float 1.000000e+00, ptr %91, align 4, !tbaa !23
  br label %92

92:                                               ; preds = %87, %84
  %93 = load ptr, ptr @glad_glUniform2fv, align 8, !tbaa !5
  %94 = getelementptr inbounds %class.TinyGLPrimitiveRenderer, ptr %14, i32 0, i32 3
  %95 = load ptr, ptr %94, align 8, !tbaa !13
  %96 = getelementptr inbounds %struct.PrimInternalData, ptr %95, i32 0, i32 3
  %97 = load i32, ptr %96, align 4, !tbaa !25
  call void %93(i32 noundef %97, i32 noundef 1, ptr noundef %11)
  %98 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  call void %98(i32 noundef 34963, i32 noundef 0)
  %99 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %100 = call i32 %99()
  %101 = icmp eq i32 %100, 0
  br i1 %101, label %102, label %103

102:                                              ; preds = %92
  br label %105

103:                                              ; preds = %92
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 376, ptr noundef @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

104:                                              ; No predecessors!
  br label %105

105:                                              ; preds = %104, %102
  %106 = load ptr, ptr @glad_glEnableVertexAttribArray, align 8, !tbaa !5
  %107 = getelementptr inbounds %class.TinyGLPrimitiveRenderer, ptr %14, i32 0, i32 3
  %108 = load ptr, ptr %107, align 8, !tbaa !13
  %109 = getelementptr inbounds %struct.PrimInternalData, ptr %108, i32 0, i32 5
  %110 = load i32, ptr %109, align 4, !tbaa !26
  call void %106(i32 noundef %110)
  %111 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %112 = call i32 %111()
  %113 = icmp eq i32 %112, 0
  br i1 %113, label %114, label %115

114:                                              ; preds = %105
  br label %117

115:                                              ; preds = %105
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 379, ptr noundef @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

116:                                              ; No predecessors!
  br label %117

117:                                              ; preds = %116, %114
  %118 = load ptr, ptr @glad_glEnableVertexAttribArray, align 8, !tbaa !5
  %119 = getelementptr inbounds %class.TinyGLPrimitiveRenderer, ptr %14, i32 0, i32 3
  %120 = load ptr, ptr %119, align 8, !tbaa !13
  %121 = getelementptr inbounds %struct.PrimInternalData, ptr %120, i32 0, i32 4
  %122 = load i32, ptr %121, align 4, !tbaa !27
  call void %118(i32 noundef %122)
  %123 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %124 = call i32 %123()
  %125 = icmp eq i32 %124, 0
  br i1 %125, label %126, label %127

126:                                              ; preds = %117
  br label %129

127:                                              ; preds = %117
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 382, ptr noundef @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

128:                                              ; No predecessors!
  br label %129

129:                                              ; preds = %128, %126
  %130 = load ptr, ptr @glad_glEnableVertexAttribArray, align 8, !tbaa !5
  %131 = getelementptr inbounds %class.TinyGLPrimitiveRenderer, ptr %14, i32 0, i32 3
  %132 = load ptr, ptr %131, align 8, !tbaa !13
  %133 = getelementptr inbounds %struct.PrimInternalData, ptr %132, i32 0, i32 6
  %134 = load i32, ptr %133, align 4, !tbaa !28
  call void %130(i32 noundef %134)
  %135 = load ptr, ptr @glad_glVertexAttribPointer, align 8, !tbaa !5
  %136 = getelementptr inbounds %class.TinyGLPrimitiveRenderer, ptr %14, i32 0, i32 3
  %137 = load ptr, ptr %136, align 8, !tbaa !13
  %138 = getelementptr inbounds %struct.PrimInternalData, ptr %137, i32 0, i32 5
  %139 = load i32, ptr %138, align 4, !tbaa !26
  call void %135(i32 noundef %139, i32 noundef 4, i32 noundef 5126, i8 noundef zeroext 0, i32 noundef 40, ptr noundef null)
  %140 = load ptr, ptr @glad_glVertexAttribPointer, align 8, !tbaa !5
  %141 = getelementptr inbounds %class.TinyGLPrimitiveRenderer, ptr %14, i32 0, i32 3
  %142 = load ptr, ptr %141, align 8, !tbaa !13
  %143 = getelementptr inbounds %struct.PrimInternalData, ptr %142, i32 0, i32 4
  %144 = load i32, ptr %143, align 4, !tbaa !27
  call void %140(i32 noundef %144, i32 noundef 4, i32 noundef 5126, i8 noundef zeroext 0, i32 noundef 40, ptr noundef inttoptr (i64 16 to ptr))
  %145 = load ptr, ptr @glad_glVertexAttribPointer, align 8, !tbaa !5
  %146 = getelementptr inbounds %class.TinyGLPrimitiveRenderer, ptr %14, i32 0, i32 3
  %147 = load ptr, ptr %146, align 8, !tbaa !13
  %148 = getelementptr inbounds %struct.PrimInternalData, ptr %147, i32 0, i32 6
  %149 = load i32, ptr %148, align 4, !tbaa !28
  call void %145(i32 noundef %149, i32 noundef 2, i32 noundef 5126, i8 noundef zeroext 0, i32 noundef 40, ptr noundef inttoptr (i64 32 to ptr))
  %150 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %151 = call i32 %150()
  %152 = icmp eq i32 %151, 0
  br i1 %152, label %153, label %154

153:                                              ; preds = %129
  br label %156

154:                                              ; preds = %129
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 393, ptr noundef @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

155:                                              ; No predecessors!
  br label %156

156:                                              ; preds = %155, %153
  %157 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  %158 = getelementptr inbounds %class.TinyGLPrimitiveRenderer, ptr %14, i32 0, i32 3
  %159 = load ptr, ptr %158, align 8, !tbaa !13
  %160 = getelementptr inbounds %struct.PrimInternalData, ptr %159, i32 0, i32 12
  %161 = load i32, ptr %160, align 4, !tbaa !29
  call void %157(i32 noundef 34963, i32 noundef %161)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %162 = load i32, ptr %7, align 4, !tbaa !9
  %163 = sdiv i32 %162, 4
  %164 = mul nsw i32 %163, 6
  store i32 %164, ptr %12, align 4, !tbaa !9
  %165 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %166 = call i32 %165()
  %167 = icmp eq i32 %166, 0
  br i1 %167, label %168, label %169

168:                                              ; preds = %156
  br label %171

169:                                              ; preds = %156
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 399, ptr noundef @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

170:                                              ; No predecessors!
  br label %171

171:                                              ; preds = %170, %168
  %172 = load ptr, ptr @glad_glDrawElements, align 8, !tbaa !5
  %173 = load i32, ptr %12, align 4, !tbaa !9
  call void %172(i32 noundef 4, i32 noundef %173, i32 noundef 5125, ptr noundef null)
  %174 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %175 = call i32 %174()
  %176 = icmp eq i32 %175, 0
  br i1 %176, label %177, label %178

177:                                              ; preds = %171
  br label %180

178:                                              ; preds = %171
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 402, ptr noundef @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

179:                                              ; No predecessors!
  br label %180

180:                                              ; preds = %179, %177
  %181 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !5
  call void %181(i32 noundef 0)
  %182 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %183 = call i32 %182()
  %184 = icmp eq i32 %183, 0
  br i1 %184, label %185, label %186

185:                                              ; preds = %180
  br label %188

186:                                              ; preds = %180
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 405, ptr noundef @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

187:                                              ; No predecessors!
  br label %188

188:                                              ; preds = %187, %185
  %189 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  call void %189(i32 noundef 34962, i32 noundef 0)
  %190 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %191 = call i32 %190()
  %192 = icmp eq i32 %191, 0
  br i1 %192, label %193, label %194

193:                                              ; preds = %188
  br label %196

194:                                              ; preds = %188
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 408, ptr noundef @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

195:                                              ; No predecessors!
  br label %196

196:                                              ; preds = %195, %193
  %197 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  call void %197(i32 noundef 34963, i32 noundef 0)
  %198 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %199 = call i32 %198()
  %200 = icmp eq i32 %199, 0
  br i1 %200, label %201, label %202

201:                                              ; preds = %196
  br label %204

202:                                              ; preds = %196
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 411, ptr noundef @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

203:                                              ; No predecessors!
  br label %204

204:                                              ; preds = %203, %201
  %205 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %206 = call i32 %205()
  %207 = icmp eq i32 %206, 0
  br i1 %207, label %208, label %209

208:                                              ; preds = %204
  br label %211

209:                                              ; preds = %204
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 414, ptr noundef @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

210:                                              ; No predecessors!
  br label %211

211:                                              ; preds = %210, %208
  %212 = load ptr, ptr @glad_glUseProgram, align 8, !tbaa !5
  call void %212(i32 noundef 0)
  %213 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %214 = call i32 %213()
  %215 = icmp eq i32 %214, 0
  br i1 %215, label %216, label %217

216:                                              ; preds = %211
  br label %219

217:                                              ; preds = %211
  call void @__assert_fail(ptr noundef @.str.8, ptr noundef @.str.2, i32 noundef 418, ptr noundef @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

218:                                              ; No predecessors!
  br label %219

219:                                              ; preds = %218, %216
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr %9) #6
  br label %220

220:                                              ; preds = %219, %17
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

attributes #0 = { noreturn 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { noreturn nounwind }
attributes #6 = { 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 = !{!"bool", !7, i64 0}
!13 = !{!14, !6, i64 16}
!14 = !{!"_ZTS23TinyGLPrimitiveRenderer", !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 24}
!15 = !{!16, !10, i64 0}
!16 = !{!"_ZTS16PrimInternalData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52}
!17 = !{!16, !10, i64 4}
!18 = !{!16, !10, i64 8}
!19 = !{!16, !10, i64 32}
!20 = !{!16, !10, i64 40}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!24, !24, i64 0}
!24 = !{!"float", !7, i64 0}
!25 = !{!16, !10, i64 12}
!26 = !{!16, !10, i64 20}
!27 = !{!16, !10, i64 16}
!28 = !{!16, !10, i64 24}
!29 = !{!16, !10, i64 48}


; 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.PrimVec2 = type { [2 x float] }

@.str.2 = external hidden unnamed_addr constant [129 x i8], align 1
@glad_glBindVertexArray = external local_unnamed_addr global ptr, align 8
@glad_glBindBuffer = external local_unnamed_addr global ptr, align 8
@glad_glGetError = external local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [28 x i8], align 1
@glad_glEnableVertexAttribArray = external local_unnamed_addr global ptr, align 8
@glad_glVertexAttribPointer = external local_unnamed_addr global ptr, align 8
@glad_glUseProgram = external local_unnamed_addr global ptr, align 8
@glad_glUniformMatrix4fv = external local_unnamed_addr global ptr, align 8
@glad_glTexParameteri = external local_unnamed_addr global ptr, align 8
@glad_glBufferSubData = external local_unnamed_addr global ptr, align 8
@glad_glUniform2fv = external local_unnamed_addr global ptr, align 8
@glad_glDrawElements = external local_unnamed_addr global ptr, align 8
@__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib = external hidden unnamed_addr constant [78 x i8], align 1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib(ptr nocapture noundef nonnull readonly align 8 dereferenceable(32) %0, ptr noundef %1, i32 noundef %2, i1 noundef zeroext %3) local_unnamed_addr #3 align 2 {
  %5 = alloca [16 x float], align 16
  %6 = alloca %struct.PrimVec2, align 8
  %7 = icmp eq i32 %2, 0
  br i1 %7, label %149, label %8

8:                                                ; preds = %4
  %9 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %10 = tail call i32 %9()
  %11 = icmp eq i32 %10, 0
  br i1 %11, label %13, label %12

12:                                               ; preds = %8
  tail call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 333, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

13:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %5, i8 0, i64 64, i1 false)
  store float 1.000000e+00, ptr %5, align 16
  %14 = getelementptr inbounds i8, ptr %5, i64 20
  store float 1.000000e+00, ptr %14, align 4
  %15 = getelementptr inbounds i8, ptr %5, i64 40
  store float 1.000000e+00, ptr %15, align 8
  %16 = getelementptr inbounds i8, ptr %5, i64 60
  store float 1.000000e+00, ptr %16, align 4
  %17 = load ptr, ptr @glad_glUseProgram, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %0, i64 16
  %19 = load ptr, ptr %18, align 8, !tbaa !9
  %20 = load i32, ptr %19, align 4, !tbaa !12
  tail call void %17(i32 noundef %20)
  %21 = load ptr, ptr @glad_glUniformMatrix4fv, align 8, !tbaa !5
  %22 = load ptr, ptr %18, align 8, !tbaa !9
  %23 = getelementptr inbounds i8, ptr %22, i64 4
  %24 = load i32, ptr %23, align 4, !tbaa !14
  call void %21(i32 noundef %24, i32 noundef 1, i8 noundef zeroext 0, ptr noundef nonnull %5)
  %25 = load ptr, ptr @glad_glUniformMatrix4fv, align 8, !tbaa !5
  %26 = load ptr, ptr %18, align 8, !tbaa !9
  %27 = getelementptr inbounds i8, ptr %26, i64 8
  %28 = load i32, ptr %27, align 4, !tbaa !15
  call void %25(i32 noundef %28, i32 noundef 1, i8 noundef zeroext 0, ptr noundef nonnull %5)
  %29 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %30 = call i32 %29()
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %33, label %32

32:                                               ; preds = %13
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 341, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

33:                                               ; preds = %13
  %34 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  %35 = load ptr, ptr %18, align 8, !tbaa !9
  %36 = getelementptr inbounds i8, ptr %35, i64 32
  %37 = load i32, ptr %36, align 4, !tbaa !16
  call void %34(i32 noundef 34962, i32 noundef %37)
  %38 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !5
  %39 = load ptr, ptr %18, align 8, !tbaa !9
  %40 = getelementptr inbounds i8, ptr %39, i64 40
  %41 = load i32, ptr %40, align 4, !tbaa !17
  call void %38(i32 noundef %41)
  %42 = load ptr, ptr @glad_glTexParameteri, align 8, !tbaa !5
  call void %42(i32 noundef 3553, i32 noundef 10241, i32 noundef 9728)
  %43 = load ptr, ptr @glad_glTexParameteri, align 8, !tbaa !5
  call void %43(i32 noundef 3553, i32 noundef 10240, i32 noundef 9728)
  %44 = load ptr, ptr @glad_glBufferSubData, align 8, !tbaa !5
  %45 = sext i32 %2 to i64
  %46 = mul nsw i64 %45, 40
  call void %44(i32 noundef 34962, i64 noundef 0, i64 noundef %46, ptr noundef %1)
  %47 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %48 = call i32 %47()
  %49 = icmp eq i32 %48, 0
  br i1 %49, label %51, label %50

50:                                               ; preds = %33
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 364, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

51:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  call void @_ZN8PrimVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef 0.000000e+00)
  br i1 %3, label %52, label %53

52:                                               ; preds = %51
  store <2 x float> <float 1.000000e+00, float 1.000000e+00>, ptr %6, align 8, !tbaa !18
  br label %53

53:                                               ; preds = %52, %51
  %54 = load ptr, ptr @glad_glUniform2fv, align 8, !tbaa !5
  %55 = load ptr, ptr %18, align 8, !tbaa !9
  %56 = getelementptr inbounds i8, ptr %55, i64 12
  %57 = load i32, ptr %56, align 4, !tbaa !20
  call void %54(i32 noundef %57, i32 noundef 1, ptr noundef nonnull %6)
  %58 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  call void %58(i32 noundef 34963, i32 noundef 0)
  %59 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %60 = call i32 %59()
  %61 = icmp eq i32 %60, 0
  br i1 %61, label %63, label %62

62:                                               ; preds = %53
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 376, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

63:                                               ; preds = %53
  %64 = load ptr, ptr @glad_glEnableVertexAttribArray, align 8, !tbaa !5
  %65 = load ptr, ptr %18, align 8, !tbaa !9
  %66 = getelementptr inbounds i8, ptr %65, i64 20
  %67 = load i32, ptr %66, align 4, !tbaa !21
  call void %64(i32 noundef %67)
  %68 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %69 = call i32 %68()
  %70 = icmp eq i32 %69, 0
  br i1 %70, label %72, label %71

71:                                               ; preds = %63
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 379, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

72:                                               ; preds = %63
  %73 = load ptr, ptr @glad_glEnableVertexAttribArray, align 8, !tbaa !5
  %74 = load ptr, ptr %18, align 8, !tbaa !9
  %75 = getelementptr inbounds i8, ptr %74, i64 16
  %76 = load i32, ptr %75, align 4, !tbaa !22
  call void %73(i32 noundef %76)
  %77 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %78 = call i32 %77()
  %79 = icmp eq i32 %78, 0
  br i1 %79, label %81, label %80

80:                                               ; preds = %72
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 382, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

81:                                               ; preds = %72
  %82 = load ptr, ptr @glad_glEnableVertexAttribArray, align 8, !tbaa !5
  %83 = load ptr, ptr %18, align 8, !tbaa !9
  %84 = getelementptr inbounds i8, ptr %83, i64 24
  %85 = load i32, ptr %84, align 4, !tbaa !23
  call void %82(i32 noundef %85)
  %86 = load ptr, ptr @glad_glVertexAttribPointer, align 8, !tbaa !5
  %87 = load ptr, ptr %18, align 8, !tbaa !9
  %88 = getelementptr inbounds i8, ptr %87, i64 20
  %89 = load i32, ptr %88, align 4, !tbaa !21
  call void %86(i32 noundef %89, i32 noundef 4, i32 noundef 5126, i8 noundef zeroext 0, i32 noundef 40, ptr noundef null)
  %90 = load ptr, ptr @glad_glVertexAttribPointer, align 8, !tbaa !5
  %91 = load ptr, ptr %18, align 8, !tbaa !9
  %92 = getelementptr inbounds i8, ptr %91, i64 16
  %93 = load i32, ptr %92, align 4, !tbaa !22
  call void %90(i32 noundef %93, i32 noundef 4, i32 noundef 5126, i8 noundef zeroext 0, i32 noundef 40, ptr noundef nonnull inttoptr (i64 16 to ptr))
  %94 = load ptr, ptr @glad_glVertexAttribPointer, align 8, !tbaa !5
  %95 = load ptr, ptr %18, align 8, !tbaa !9
  %96 = getelementptr inbounds i8, ptr %95, i64 24
  %97 = load i32, ptr %96, align 4, !tbaa !23
  call void %94(i32 noundef %97, i32 noundef 2, i32 noundef 5126, i8 noundef zeroext 0, i32 noundef 40, ptr noundef nonnull inttoptr (i64 32 to ptr))
  %98 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %99 = call i32 %98()
  %100 = icmp eq i32 %99, 0
  br i1 %100, label %102, label %101

101:                                              ; preds = %81
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 393, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

102:                                              ; preds = %81
  %103 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  %104 = load ptr, ptr %18, align 8, !tbaa !9
  %105 = getelementptr inbounds i8, ptr %104, i64 48
  %106 = load i32, ptr %105, align 4, !tbaa !24
  call void %103(i32 noundef 34963, i32 noundef %106)
  %107 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %108 = call i32 %107()
  %109 = icmp eq i32 %108, 0
  br i1 %109, label %111, label %110

110:                                              ; preds = %102
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 399, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

111:                                              ; preds = %102
  %112 = sdiv i32 %2, 4
  %113 = mul nsw i32 %112, 6
  %114 = load ptr, ptr @glad_glDrawElements, align 8, !tbaa !5
  call void %114(i32 noundef 4, i32 noundef %113, i32 noundef 5125, ptr noundef null)
  %115 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %116 = call i32 %115()
  %117 = icmp eq i32 %116, 0
  br i1 %117, label %119, label %118

118:                                              ; preds = %111
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 402, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

119:                                              ; preds = %111
  %120 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !5
  call void %120(i32 noundef 0)
  %121 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %122 = call i32 %121()
  %123 = icmp eq i32 %122, 0
  br i1 %123, label %125, label %124

124:                                              ; preds = %119
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 405, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

125:                                              ; preds = %119
  %126 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  call void %126(i32 noundef 34962, i32 noundef 0)
  %127 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %128 = call i32 %127()
  %129 = icmp eq i32 %128, 0
  br i1 %129, label %131, label %130

130:                                              ; preds = %125
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 408, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

131:                                              ; preds = %125
  %132 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  call void %132(i32 noundef 34963, i32 noundef 0)
  %133 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %134 = call i32 %133()
  %135 = icmp eq i32 %134, 0
  br i1 %135, label %137, label %136

136:                                              ; preds = %131
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 411, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

137:                                              ; preds = %131
  %138 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %139 = call i32 %138()
  %140 = icmp eq i32 %139, 0
  br i1 %140, label %142, label %141

141:                                              ; preds = %137
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 414, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

142:                                              ; preds = %137
  %143 = load ptr, ptr @glad_glUseProgram, align 8, !tbaa !5
  call void %143(i32 noundef 0)
  %144 = load ptr, ptr @glad_glGetError, align 8, !tbaa !5
  %145 = call i32 %144()
  %146 = icmp eq i32 %145, 0
  br i1 %146, label %148, label %147

147:                                              ; preds = %142
  call void @__assert_fail(ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 418, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN23TinyGLPrimitiveRenderer22draw_textured_rect_3d2EP10PrimVertexib) #5
  unreachable

148:                                              ; preds = %142
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #6
  br label %149

149:                                              ; preds = %4, %148
  ret void
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

attributes #0 = { noreturn 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { noreturn nounwind }
attributes #6 = { 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, !6, i64 16}
!10 = !{!"_ZTS23TinyGLPrimitiveRenderer", !11, i64 8, !11, i64 12, !6, i64 16, !6, i64 24}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !11, i64 0}
!13 = !{!"_ZTS16PrimInternalData", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52}
!14 = !{!13, !11, i64 4}
!15 = !{!13, !11, i64 8}
!16 = !{!13, !11, i64 32}
!17 = !{!13, !11, i64 40}
!18 = !{!19, !19, i64 0}
!19 = !{!"float", !7, i64 0}
!20 = !{!13, !11, i64 12}
!21 = !{!13, !11, i64 20}
!22 = !{!13, !11, i64 16}
!23 = !{!13, !11, i64 24}
!24 = !{!13, !11, i64 48}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass