; LLVM IR from erwincoumans/tiny-differentiable-simulator :: third_party/dear_imgui/opengl3 (imgui_impl_opengl3)

; 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.ImVec2 = type { float, float }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawData = type { i8, ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, ptr }
%struct.ImDrawList = type { %struct.ImVector.0, %struct.ImVector, %struct.ImVector.1, i32, ptr, ptr, i32, ptr, ptr, %struct.ImVector.2, %struct.ImVector.3, %struct.ImVector.4, %struct.ImDrawCmd, %struct.ImDrawListSplitter }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }

@glad_glGetIntegerv = external global ptr, align 8
@_ZL11g_GlVersion = external hidden global i32, align 4
@glad_glActiveTexture = external global ptr, align 8
@glad_glIsEnabled = external global ptr, align 8
@glad_glGenVertexArrays = external global ptr, align 8
@glad_glBufferData = external global ptr, align 8
@glad_glScissor = external global ptr, align 8
@glad_glBindTexture = external global ptr, align 8
@glad_glDrawElementsBaseVertex = external global ptr, align 8
@glad_glDrawElements = external global ptr, align 8
@glad_glDeleteVertexArrays = external global ptr, align 8
@glad_glUseProgram = external global ptr, align 8
@glad_glBindSampler = external global ptr, align 8
@glad_glBindVertexArray = external global ptr, align 8
@glad_glBindBuffer = external global ptr, align 8
@glad_glBlendEquationSeparate = external global ptr, align 8
@glad_glBlendFuncSeparate = external global ptr, align 8
@glad_glEnable = external global ptr, align 8
@glad_glDisable = external global ptr, align 8
@glad_glPolygonMode = external global ptr, align 8
@glad_glViewport = external global ptr, align 8

; 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 uwtable
define dso_local void @_Z32ImGui_ImplOpenGL3_RenderDrawDataP10ImDrawData(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca [2 x i32], align 4
  %13 = alloca [4 x i32], align 16
  %14 = alloca [4 x i32], align 16
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i8, align 1
  %22 = alloca i8, align 1
  %23 = alloca i8, align 1
  %24 = alloca i8, align 1
  %25 = alloca i32, align 4
  %26 = alloca %struct.ImVec2, align 4
  %27 = alloca %struct.ImVec2, align 4
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca i32, align 4
  %31 = alloca ptr, align 8
  %32 = alloca %struct.ImVec4, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.ImDrawData, ptr %33, i32 0, i32 6
  %35 = getelementptr inbounds %struct.ImVec2, ptr %34, i32 0, i32 0
  %36 = load float, ptr %35, align 4, !tbaa !9
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.ImDrawData, ptr %37, i32 0, i32 7
  %39 = getelementptr inbounds %struct.ImVec2, ptr %38, i32 0, i32 0
  %40 = load float, ptr %39, align 4, !tbaa !15
  %41 = fmul float %36, %40
  %42 = fptosi float %41 to i32
  store i32 %42, ptr %3, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %43 = load ptr, ptr %2, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.ImDrawData, ptr %43, i32 0, i32 6
  %45 = getelementptr inbounds %struct.ImVec2, ptr %44, i32 0, i32 1
  %46 = load float, ptr %45, align 4, !tbaa !17
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.ImDrawData, ptr %47, i32 0, i32 7
  %49 = getelementptr inbounds %struct.ImVec2, ptr %48, i32 0, i32 1
  %50 = load float, ptr %49, align 4, !tbaa !18
  %51 = fmul float %46, %50
  %52 = fptosi float %51 to i32
  store i32 %52, ptr %4, align 4, !tbaa !16
  %53 = load i32, ptr %3, align 4, !tbaa !16
  %54 = icmp sle i32 %53, 0
  br i1 %54, label %58, label %55

55:                                               ; preds = %1
  %56 = load i32, ptr %4, align 4, !tbaa !16
  %57 = icmp sle i32 %56, 0
  br i1 %57, label %58, label %59

58:                                               ; preds = %55, %1
  store i32 1, ptr %5, align 4
  br label %368

59:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %60 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %60(i32 noundef 34016, ptr noundef %6)
  %61 = load ptr, ptr @glad_glActiveTexture, align 8, !tbaa !5
  call void %61(i32 noundef 33984)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %62 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %62(i32 noundef 35725, ptr noundef %7)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %63 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %63(i32 noundef 32873, ptr noundef %8)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %64 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %64(i32 noundef 35097, ptr noundef %9)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %65 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %65(i32 noundef 34964, ptr noundef %10)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %66 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %66(i32 noundef 34229, ptr noundef %11)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %67 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  %68 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 0
  call void %67(i32 noundef 2880, ptr noundef %68)
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #5
  %69 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  %70 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 0
  call void %69(i32 noundef 2978, ptr noundef %70)
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  %71 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  %72 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 0
  call void %71(i32 noundef 3088, ptr noundef %72)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %73 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %73(i32 noundef 32969, ptr noundef %15)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %74 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %74(i32 noundef 32968, ptr noundef %16)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %75 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %75(i32 noundef 32971, ptr noundef %17)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %76 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %76(i32 noundef 32970, ptr noundef %18)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %77 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %77(i32 noundef 32777, ptr noundef %19)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %78 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !5
  call void %78(i32 noundef 34877, ptr noundef %20)
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #5
  %79 = load ptr, ptr @glad_glIsEnabled, align 8, !tbaa !5
  %80 = call zeroext i8 %79(i32 noundef 3042)
  store i8 %80, ptr %21, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  %81 = load ptr, ptr @glad_glIsEnabled, align 8, !tbaa !5
  %82 = call zeroext i8 %81(i32 noundef 2884)
  store i8 %82, ptr %22, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #5
  %83 = load ptr, ptr @glad_glIsEnabled, align 8, !tbaa !5
  %84 = call zeroext i8 %83(i32 noundef 2929)
  store i8 %84, ptr %23, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #5
  %85 = load ptr, ptr @glad_glIsEnabled, align 8, !tbaa !5
  %86 = call zeroext i8 %85(i32 noundef 3089)
  store i8 %86, ptr %24, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 0, ptr %25, align 4, !tbaa !16
  %87 = load ptr, ptr @glad_glGenVertexArrays, align 8, !tbaa !5
  call void %87(i32 noundef 1, ptr noundef %25)
  %88 = load ptr, ptr %2, align 8, !tbaa !5
  %89 = load i32, ptr %3, align 4, !tbaa !16
  %90 = load i32, ptr %4, align 4, !tbaa !16
  %91 = load i32, ptr %25, align 4, !tbaa !16
  call void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef %88, i32 noundef %89, i32 noundef %90, i32 noundef %91)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %92 = load ptr, ptr %2, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.ImDrawData, ptr %92, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %93, i64 8, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %94 = load ptr, ptr %2, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.ImDrawData, ptr %94, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %95, i64 8, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  store i32 0, ptr %28, align 4, !tbaa !16
  br label %96

96:                                               ; preds = %294, %59
  %97 = load i32, ptr %28, align 4, !tbaa !16
  %98 = load ptr, ptr %2, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.ImDrawData, ptr %98, i32 0, i32 2
  %100 = load i32, ptr %99, align 8, !tbaa !22
  %101 = icmp slt i32 %97, %100
  br i1 %101, label %103, label %102

102:                                              ; preds = %96
  store i32 2, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %297

103:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %104 = load ptr, ptr %2, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.ImDrawData, ptr %104, i32 0, i32 1
  %106 = load ptr, ptr %105, align 8, !tbaa !23
  %107 = load i32, ptr %28, align 4, !tbaa !16
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds ptr, ptr %106, i64 %108
  %110 = load ptr, ptr %109, align 8, !tbaa !5
  store ptr %110, ptr %29, align 8, !tbaa !5
  %111 = load ptr, ptr @glad_glBufferData, align 8, !tbaa !5
  %112 = load ptr, ptr %29, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.ImDrawList, ptr %112, i32 0, i32 2
  %114 = getelementptr inbounds %struct.ImVector.1, ptr %113, i32 0, i32 0
  %115 = load i32, ptr %114, align 8, !tbaa !24
  %116 = sext i32 %115 to i64
  %117 = mul nsw i64 %116, 20
  %118 = load ptr, ptr %29, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImDrawList, ptr %118, i32 0, i32 2
  %120 = getelementptr inbounds %struct.ImVector.1, ptr %119, i32 0, i32 2
  %121 = load ptr, ptr %120, align 8, !tbaa !36
  call void %111(i32 noundef 34962, i64 noundef %117, ptr noundef %121, i32 noundef 35040)
  %122 = load ptr, ptr @glad_glBufferData, align 8, !tbaa !5
  %123 = load ptr, ptr %29, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.ImDrawList, ptr %123, i32 0, i32 1
  %125 = getelementptr inbounds %struct.ImVector, ptr %124, i32 0, i32 0
  %126 = load i32, ptr %125, align 8, !tbaa !37
  %127 = sext i32 %126 to i64
  %128 = mul nsw i64 %127, 2
  %129 = load ptr, ptr %29, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ImDrawList, ptr %129, i32 0, i32 1
  %131 = getelementptr inbounds %struct.ImVector, ptr %130, i32 0, i32 2
  %132 = load ptr, ptr %131, align 8, !tbaa !38
  call void %122(i32 noundef 34963, i64 noundef %128, ptr noundef %132, i32 noundef 35040)
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  store i32 0, ptr %30, align 4, !tbaa !16
  br label %133

133:                                              ; preds = %290, %103
  %134 = load i32, ptr %30, align 4, !tbaa !16
  %135 = load ptr, ptr %29, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.ImDrawList, ptr %135, i32 0, i32 0
  %137 = getelementptr inbounds %struct.ImVector.0, ptr %136, i32 0, i32 0
  %138 = load i32, ptr %137, align 8, !tbaa !39
  %139 = icmp slt i32 %134, %138
  br i1 %139, label %141, label %140

140:                                              ; preds = %133
  store i32 5, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  br label %293

141:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %142 = load ptr, ptr %29, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.ImDrawList, ptr %142, i32 0, i32 0
  %144 = load i32, ptr %30, align 4, !tbaa !16
  %145 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %143, i32 noundef %144)
  store ptr %145, ptr %31, align 8, !tbaa !5
  %146 = load ptr, ptr %31, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.ImDrawCmd, ptr %146, i32 0, i32 5
  %148 = load ptr, ptr %147, align 8, !tbaa !40
  %149 = icmp ne ptr %148, null
  br i1 %149, label %150, label %167

150:                                              ; preds = %141
  %151 = load ptr, ptr %31, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.ImDrawCmd, ptr %151, i32 0, i32 5
  %153 = load ptr, ptr %152, align 8, !tbaa !40
  %154 = icmp eq ptr %153, inttoptr (i64 -1 to ptr)
  br i1 %154, label %155, label %160

155:                                              ; preds = %150
  %156 = load ptr, ptr %2, align 8, !tbaa !5
  %157 = load i32, ptr %3, align 4, !tbaa !16
  %158 = load i32, ptr %4, align 4, !tbaa !16
  %159 = load i32, ptr %25, align 4, !tbaa !16
  call void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef %156, i32 noundef %157, i32 noundef %158, i32 noundef %159)
  br label %166

160:                                              ; preds = %150
  %161 = load ptr, ptr %31, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.ImDrawCmd, ptr %161, i32 0, i32 5
  %163 = load ptr, ptr %162, align 8, !tbaa !40
  %164 = load ptr, ptr %29, align 8, !tbaa !5
  %165 = load ptr, ptr %31, align 8, !tbaa !5
  call void %163(ptr noundef %164, ptr noundef %165)
  br label %166

166:                                              ; preds = %160, %155
  br label %289

167:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #5
  call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %32)
  %168 = load ptr, ptr %31, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.ImDrawCmd, ptr %168, i32 0, i32 0
  %170 = getelementptr inbounds %struct.ImVec4, ptr %169, i32 0, i32 0
  %171 = load float, ptr %170, align 8, !tbaa !41
  %172 = getelementptr inbounds %struct.ImVec2, ptr %26, i32 0, i32 0
  %173 = load float, ptr %172, align 4, !tbaa !42
  %174 = fsub float %171, %173
  %175 = getelementptr inbounds %struct.ImVec2, ptr %27, i32 0, i32 0
  %176 = load float, ptr %175, align 4, !tbaa !42
  %177 = fmul float %174, %176
  %178 = getelementptr inbounds %struct.ImVec4, ptr %32, i32 0, i32 0
  store float %177, ptr %178, align 4, !tbaa !43
  %179 = load ptr, ptr %31, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.ImDrawCmd, ptr %179, i32 0, i32 0
  %181 = getelementptr inbounds %struct.ImVec4, ptr %180, i32 0, i32 1
  %182 = load float, ptr %181, align 4, !tbaa !44
  %183 = getelementptr inbounds %struct.ImVec2, ptr %26, i32 0, i32 1
  %184 = load float, ptr %183, align 4, !tbaa !45
  %185 = fsub float %182, %184
  %186 = getelementptr inbounds %struct.ImVec2, ptr %27, i32 0, i32 1
  %187 = load float, ptr %186, align 4, !tbaa !45
  %188 = fmul float %185, %187
  %189 = getelementptr inbounds %struct.ImVec4, ptr %32, i32 0, i32 1
  store float %188, ptr %189, align 4, !tbaa !46
  %190 = load ptr, ptr %31, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.ImDrawCmd, ptr %190, i32 0, i32 0
  %192 = getelementptr inbounds %struct.ImVec4, ptr %191, i32 0, i32 2
  %193 = load float, ptr %192, align 8, !tbaa !47
  %194 = getelementptr inbounds %struct.ImVec2, ptr %26, i32 0, i32 0
  %195 = load float, ptr %194, align 4, !tbaa !42
  %196 = fsub float %193, %195
  %197 = getelementptr inbounds %struct.ImVec2, ptr %27, i32 0, i32 0
  %198 = load float, ptr %197, align 4, !tbaa !42
  %199 = fmul float %196, %198
  %200 = getelementptr inbounds %struct.ImVec4, ptr %32, i32 0, i32 2
  store float %199, ptr %200, align 4, !tbaa !48
  %201 = load ptr, ptr %31, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.ImDrawCmd, ptr %201, i32 0, i32 0
  %203 = getelementptr inbounds %struct.ImVec4, ptr %202, i32 0, i32 3
  %204 = load float, ptr %203, align 4, !tbaa !49
  %205 = getelementptr inbounds %struct.ImVec2, ptr %26, i32 0, i32 1
  %206 = load float, ptr %205, align 4, !tbaa !45
  %207 = fsub float %204, %206
  %208 = getelementptr inbounds %struct.ImVec2, ptr %27, i32 0, i32 1
  %209 = load float, ptr %208, align 4, !tbaa !45
  %210 = fmul float %207, %209
  %211 = getelementptr inbounds %struct.ImVec4, ptr %32, i32 0, i32 3
  store float %210, ptr %211, align 4, !tbaa !50
  %212 = getelementptr inbounds %struct.ImVec4, ptr %32, i32 0, i32 0
  %213 = load float, ptr %212, align 4, !tbaa !43
  %214 = load i32, ptr %3, align 4, !tbaa !16
  %215 = sitofp i32 %214 to float
  %216 = fcmp olt float %213, %215
  br i1 %216, label %217, label %288

217:                                              ; preds = %167
  %218 = getelementptr inbounds %struct.ImVec4, ptr %32, i32 0, i32 1
  %219 = load float, ptr %218, align 4, !tbaa !46
  %220 = load i32, ptr %4, align 4, !tbaa !16
  %221 = sitofp i32 %220 to float
  %222 = fcmp olt float %219, %221
  br i1 %222, label %223, label %288

223:                                              ; preds = %217
  %224 = getelementptr inbounds %struct.ImVec4, ptr %32, i32 0, i32 2
  %225 = load float, ptr %224, align 4, !tbaa !48
  %226 = fcmp oge float %225, 0.000000e+00
  br i1 %226, label %227, label %288

227:                                              ; preds = %223
  %228 = getelementptr inbounds %struct.ImVec4, ptr %32, i32 0, i32 3
  %229 = load float, ptr %228, align 4, !tbaa !50
  %230 = fcmp oge float %229, 0.000000e+00
  br i1 %230, label %231, label %288

231:                                              ; preds = %227
  %232 = load ptr, ptr @glad_glScissor, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.ImVec4, ptr %32, i32 0, i32 0
  %234 = load float, ptr %233, align 4, !tbaa !43
  %235 = fptosi float %234 to i32
  %236 = load i32, ptr %4, align 4, !tbaa !16
  %237 = sitofp i32 %236 to float
  %238 = getelementptr inbounds %struct.ImVec4, ptr %32, i32 0, i32 3
  %239 = load float, ptr %238, align 4, !tbaa !50
  %240 = fsub float %237, %239
  %241 = fptosi float %240 to i32
  %242 = getelementptr inbounds %struct.ImVec4, ptr %32, i32 0, i32 2
  %243 = load float, ptr %242, align 4, !tbaa !48
  %244 = getelementptr inbounds %struct.ImVec4, ptr %32, i32 0, i32 0
  %245 = load float, ptr %244, align 4, !tbaa !43
  %246 = fsub float %243, %245
  %247 = fptosi float %246 to i32
  %248 = getelementptr inbounds %struct.ImVec4, ptr %32, i32 0, i32 3
  %249 = load float, ptr %248, align 4, !tbaa !50
  %250 = getelementptr inbounds %struct.ImVec4, ptr %32, i32 0, i32 1
  %251 = load float, ptr %250, align 4, !tbaa !46
  %252 = fsub float %249, %251
  %253 = fptosi float %252 to i32
  call void %232(i32 noundef %235, i32 noundef %241, i32 noundef %247, i32 noundef %253)
  %254 = load ptr, ptr @glad_glBindTexture, align 8, !tbaa !5
  %255 = load ptr, ptr %31, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.ImDrawCmd, ptr %255, i32 0, i32 1
  %257 = load ptr, ptr %256, align 8, !tbaa !51
  %258 = ptrtoint ptr %257 to i64
  %259 = trunc i64 %258 to i32
  call void %254(i32 noundef 3553, i32 noundef %259)
  %260 = load i32, ptr @_ZL11g_GlVersion, align 4, !tbaa !16
  %261 = icmp uge i32 %260, 320
  br i1 %261, label %262, label %276

262:                                              ; preds = %231
  %263 = load ptr, ptr @glad_glDrawElementsBaseVertex, align 8, !tbaa !5
  %264 = load ptr, ptr %31, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.ImDrawCmd, ptr %264, i32 0, i32 4
  %266 = load i32, ptr %265, align 8, !tbaa !52
  %267 = load ptr, ptr %31, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.ImDrawCmd, ptr %267, i32 0, i32 3
  %269 = load i32, ptr %268, align 4, !tbaa !53
  %270 = zext i32 %269 to i64
  %271 = mul i64 %270, 2
  %272 = inttoptr i64 %271 to ptr
  %273 = load ptr, ptr %31, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.ImDrawCmd, ptr %273, i32 0, i32 2
  %275 = load i32, ptr %274, align 8, !tbaa !54
  call void %263(i32 noundef 4, i32 noundef %266, i32 noundef 5123, ptr noundef %272, i32 noundef %275)
  br label %287

276:                                              ; preds = %231
  %277 = load ptr, ptr @glad_glDrawElements, align 8, !tbaa !5
  %278 = load ptr, ptr %31, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.ImDrawCmd, ptr %278, i32 0, i32 4
  %280 = load i32, ptr %279, align 8, !tbaa !52
  %281 = load ptr, ptr %31, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.ImDrawCmd, ptr %281, i32 0, i32 3
  %283 = load i32, ptr %282, align 4, !tbaa !53
  %284 = zext i32 %283 to i64
  %285 = mul i64 %284, 2
  %286 = inttoptr i64 %285 to ptr
  call void %277(i32 noundef 4, i32 noundef %280, i32 noundef 5123, ptr noundef %286)
  br label %287

287:                                              ; preds = %276, %262
  br label %288

288:                                              ; preds = %287, %227, %223, %217, %167
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #5
  br label %289

289:                                              ; preds = %288, %166
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  br label %290

290:                                              ; preds = %289
  %291 = load i32, ptr %30, align 4, !tbaa !16
  %292 = add nsw i32 %291, 1
  store i32 %292, ptr %30, align 4, !tbaa !16
  br label %133, !llvm.loop !55

293:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  br label %294

294:                                              ; preds = %293
  %295 = load i32, ptr %28, align 4, !tbaa !16
  %296 = add nsw i32 %295, 1
  store i32 %296, ptr %28, align 4, !tbaa !16
  br label %96, !llvm.loop !57

297:                                              ; preds = %102
  %298 = load ptr, ptr @glad_glDeleteVertexArrays, align 8, !tbaa !5
  call void %298(i32 noundef 1, ptr noundef %25)
  %299 = load ptr, ptr @glad_glUseProgram, align 8, !tbaa !5
  %300 = load i32, ptr %7, align 4, !tbaa !16
  call void %299(i32 noundef %300)
  %301 = load ptr, ptr @glad_glBindTexture, align 8, !tbaa !5
  %302 = load i32, ptr %8, align 4, !tbaa !16
  call void %301(i32 noundef 3553, i32 noundef %302)
  %303 = load ptr, ptr @glad_glBindSampler, align 8, !tbaa !5
  %304 = load i32, ptr %9, align 4, !tbaa !16
  call void %303(i32 noundef 0, i32 noundef %304)
  %305 = load ptr, ptr @glad_glActiveTexture, align 8, !tbaa !5
  %306 = load i32, ptr %6, align 4, !tbaa !16
  call void %305(i32 noundef %306)
  %307 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !5
  %308 = load i32, ptr %11, align 4, !tbaa !16
  call void %307(i32 noundef %308)
  %309 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !5
  %310 = load i32, ptr %10, align 4, !tbaa !16
  call void %309(i32 noundef 34962, i32 noundef %310)
  %311 = load ptr, ptr @glad_glBlendEquationSeparate, align 8, !tbaa !5
  %312 = load i32, ptr %19, align 4, !tbaa !16
  %313 = load i32, ptr %20, align 4, !tbaa !16
  call void %311(i32 noundef %312, i32 noundef %313)
  %314 = load ptr, ptr @glad_glBlendFuncSeparate, align 8, !tbaa !5
  %315 = load i32, ptr %15, align 4, !tbaa !16
  %316 = load i32, ptr %16, align 4, !tbaa !16
  %317 = load i32, ptr %17, align 4, !tbaa !16
  %318 = load i32, ptr %18, align 4, !tbaa !16
  call void %314(i32 noundef %315, i32 noundef %316, i32 noundef %317, i32 noundef %318)
  %319 = load i8, ptr %21, align 1, !tbaa !19
  %320 = icmp ne i8 %319, 0
  br i1 %320, label %321, label %323

321:                                              ; preds = %297
  %322 = load ptr, ptr @glad_glEnable, align 8, !tbaa !5
  call void %322(i32 noundef 3042)
  br label %325

323:                                              ; preds = %297
  %324 = load ptr, ptr @glad_glDisable, align 8, !tbaa !5
  call void %324(i32 noundef 3042)
  br label %325

325:                                              ; preds = %323, %321
  %326 = load i8, ptr %22, align 1, !tbaa !19
  %327 = icmp ne i8 %326, 0
  br i1 %327, label %328, label %330

328:                                              ; preds = %325
  %329 = load ptr, ptr @glad_glEnable, align 8, !tbaa !5
  call void %329(i32 noundef 2884)
  br label %332

330:                                              ; preds = %325
  %331 = load ptr, ptr @glad_glDisable, align 8, !tbaa !5
  call void %331(i32 noundef 2884)
  br label %332

332:                                              ; preds = %330, %328
  %333 = load i8, ptr %23, align 1, !tbaa !19
  %334 = icmp ne i8 %333, 0
  br i1 %334, label %335, label %337

335:                                              ; preds = %332
  %336 = load ptr, ptr @glad_glEnable, align 8, !tbaa !5
  call void %336(i32 noundef 2929)
  br label %339

337:                                              ; preds = %332
  %338 = load ptr, ptr @glad_glDisable, align 8, !tbaa !5
  call void %338(i32 noundef 2929)
  br label %339

339:                                              ; preds = %337, %335
  %340 = load i8, ptr %24, align 1, !tbaa !19
  %341 = icmp ne i8 %340, 0
  br i1 %341, label %342, label %344

342:                                              ; preds = %339
  %343 = load ptr, ptr @glad_glEnable, align 8, !tbaa !5
  call void %343(i32 noundef 3089)
  br label %346

344:                                              ; preds = %339
  %345 = load ptr, ptr @glad_glDisable, align 8, !tbaa !5
  call void %345(i32 noundef 3089)
  br label %346

346:                                              ; preds = %344, %342
  %347 = load ptr, ptr @glad_glPolygonMode, align 8, !tbaa !5
  %348 = getelementptr inbounds [2 x i32], ptr %12, i64 0, i64 0
  %349 = load i32, ptr %348, align 4, !tbaa !16
  call void %347(i32 noundef 1032, i32 noundef %349)
  %350 = load ptr, ptr @glad_glViewport, align 8, !tbaa !5
  %351 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 0
  %352 = load i32, ptr %351, align 16, !tbaa !16
  %353 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 1
  %354 = load i32, ptr %353, align 4, !tbaa !16
  %355 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 2
  %356 = load i32, ptr %355, align 8, !tbaa !16
  %357 = getelementptr inbounds [4 x i32], ptr %13, i64 0, i64 3
  %358 = load i32, ptr %357, align 4, !tbaa !16
  call void %350(i32 noundef %352, i32 noundef %354, i32 noundef %356, i32 noundef %358)
  %359 = load ptr, ptr @glad_glScissor, align 8, !tbaa !5
  %360 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 0
  %361 = load i32, ptr %360, align 16, !tbaa !16
  %362 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 1
  %363 = load i32, ptr %362, align 4, !tbaa !16
  %364 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 2
  %365 = load i32, ptr %364, align 8, !tbaa !16
  %366 = getelementptr inbounds [4 x i32], ptr %14, i64 0, i64 3
  %367 = load i32, ptr %366, align 4, !tbaa !16
  call void %359(i32 noundef %361, i32 noundef %363, i32 noundef %365, i32 noundef %367)
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  store i32 0, ptr %5, align 4
  br label %368

368:                                              ; preds = %346, %58
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  %369 = load i32, ptr %5, align 4
  switch i32 %369, label %371 [
    i32 0, label %370
    i32 1, label %370
  ]

370:                                              ; preds = %368, %368
  ret void

371:                                              ; preds = %368
  unreachable
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #3 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !14, i64 36}
!10 = !{!"_ZTS10ImDrawData", !11, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !13, i64 28, !13, i64 36, !13, i64 44, !6, i64 56}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !7, i64 0}
!15 = !{!10, !14, i64 44}
!16 = !{!12, !12, i64 0}
!17 = !{!10, !14, i64 40}
!18 = !{!10, !14, i64 48}
!19 = !{!7, !7, i64 0}
!20 = !{i64 0, i64 4, !21, i64 4, i64 4, !21}
!21 = !{!14, !14, i64 0}
!22 = !{!10, !12, i64 16}
!23 = !{!10, !6, i64 8}
!24 = !{!25, !12, i64 32}
!25 = !{!"_ZTS10ImDrawList", !26, i64 0, !27, i64 16, !28, i64 32, !12, i64 48, !6, i64 56, !6, i64 64, !12, i64 72, !6, i64 80, !6, i64 88, !29, i64 96, !30, i64 112, !31, i64 128, !32, i64 144, !34, i64 200}
!26 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorItE", !12, i64 0, !12, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !6, i64 8}
!31 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !6, i64 8}
!32 = !{!"_ZTS9ImDrawCmd", !33, i64 0, !6, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !6, i64 40, !6, i64 48}
!33 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!34 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !35, i64 8}
!35 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !6, i64 8}
!36 = !{!25, !6, i64 40}
!37 = !{!25, !12, i64 16}
!38 = !{!25, !6, i64 24}
!39 = !{!25, !12, i64 0}
!40 = !{!32, !6, i64 40}
!41 = !{!32, !14, i64 0}
!42 = !{!13, !14, i64 0}
!43 = !{!33, !14, i64 0}
!44 = !{!32, !14, i64 4}
!45 = !{!13, !14, i64 4}
!46 = !{!33, !14, i64 4}
!47 = !{!32, !14, i64 8}
!48 = !{!33, !14, i64 8}
!49 = !{!32, !14, i64 12}
!50 = !{!33, !14, i64 12}
!51 = !{!32, !6, i64 16}
!52 = !{!32, !12, i64 32}
!53 = !{!32, !12, i64 28}
!54 = !{!32, !12, i64 24}
!55 = distinct !{!55, !56}
!56 = !{!"llvm.loop.mustprogress"}
!57 = distinct !{!57, !56}


; 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.ImVec4 = type { float, float, float, float }

@glad_glGetIntegerv = external local_unnamed_addr global ptr, align 8
@_ZL11g_GlVersion = external hidden local_unnamed_addr global i32, align 4
@glad_glActiveTexture = external local_unnamed_addr global ptr, align 8
@glad_glIsEnabled = external local_unnamed_addr global ptr, align 8
@glad_glGenVertexArrays = external local_unnamed_addr global ptr, align 8
@glad_glBufferData = external local_unnamed_addr global ptr, align 8
@glad_glScissor = external local_unnamed_addr global ptr, align 8
@glad_glBindTexture = external local_unnamed_addr global ptr, align 8
@glad_glDrawElementsBaseVertex = external local_unnamed_addr global ptr, align 8
@glad_glDrawElements = external local_unnamed_addr global ptr, align 8
@glad_glDeleteVertexArrays = external local_unnamed_addr global ptr, align 8
@glad_glUseProgram = external local_unnamed_addr global ptr, align 8
@glad_glBindSampler = external local_unnamed_addr global ptr, align 8
@glad_glBindVertexArray = external local_unnamed_addr global ptr, align 8
@glad_glBindBuffer = external local_unnamed_addr global ptr, align 8
@glad_glBlendEquationSeparate = external local_unnamed_addr global ptr, align 8
@glad_glBlendFuncSeparate = external local_unnamed_addr global ptr, align 8
@glad_glEnable = external local_unnamed_addr global ptr, align 8
@glad_glDisable = external local_unnamed_addr global ptr, align 8
@glad_glPolygonMode = external local_unnamed_addr global ptr, align 8
@glad_glViewport = external local_unnamed_addr global ptr, align 8

; 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 uwtable
define dso_local void @_Z32ImGui_ImplOpenGL3_RenderDrawDataP10ImDrawData(ptr noundef %0) local_unnamed_addr #1 {
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca [2 x i32], align 4
  %9 = alloca [4 x i32], align 16
  %10 = alloca [4 x i32], align 16
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca %struct.ImVec4, align 8
  %19 = getelementptr inbounds i8, ptr %0, i64 36
  %20 = getelementptr inbounds i8, ptr %0, i64 44
  %21 = load <2 x float>, ptr %19, align 4, !tbaa !5
  %22 = load <2 x float>, ptr %20, align 4, !tbaa !5
  %23 = fmul <2 x float> %21, %22
  %24 = fptosi <2 x float> %23 to <2 x i32>
  %25 = icmp slt <2 x i32> %24, <i32 1, i32 1>
  %26 = extractelement <2 x i1> %25, i64 0
  %27 = extractelement <2 x i1> %25, i64 1
  %or.cond = select i1 %26, i1 true, i1 %27
  br i1 %or.cond, label %191, label %28

28:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  %29 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !9
  call void %29(i32 noundef 34016, ptr noundef nonnull %2)
  %30 = load ptr, ptr @glad_glActiveTexture, align 8, !tbaa !9
  call void %30(i32 noundef 33984)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  %31 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !9
  call void %31(i32 noundef 35725, ptr noundef nonnull %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  %32 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !9
  call void %32(i32 noundef 32873, ptr noundef nonnull %4)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %33 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !9
  call void %33(i32 noundef 35097, ptr noundef nonnull %5)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  %34 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !9
  call void %34(i32 noundef 34964, ptr noundef nonnull %6)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
  %35 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !9
  call void %35(i32 noundef 34229, ptr noundef nonnull %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %36 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !9
  call void %36(i32 noundef 2880, ptr noundef nonnull %8)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #4
  %37 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !9
  call void %37(i32 noundef 2978, ptr noundef nonnull %9)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #4
  %38 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !9
  call void %38(i32 noundef 3088, ptr noundef nonnull %10)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
  %39 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !9
  call void %39(i32 noundef 32969, ptr noundef nonnull %11)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  %40 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !9
  call void %40(i32 noundef 32968, ptr noundef nonnull %12)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4
  %41 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !9
  call void %41(i32 noundef 32971, ptr noundef nonnull %13)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #4
  %42 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !9
  call void %42(i32 noundef 32970, ptr noundef nonnull %14)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #4
  %43 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !9
  call void %43(i32 noundef 32777, ptr noundef nonnull %15)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #4
  %44 = load ptr, ptr @glad_glGetIntegerv, align 8, !tbaa !9
  call void %44(i32 noundef 34877, ptr noundef nonnull %16)
  %45 = load ptr, ptr @glad_glIsEnabled, align 8, !tbaa !9
  %46 = call zeroext i8 %45(i32 noundef 3042)
  %47 = load ptr, ptr @glad_glIsEnabled, align 8, !tbaa !9
  %48 = call zeroext i8 %47(i32 noundef 2884)
  %49 = load ptr, ptr @glad_glIsEnabled, align 8, !tbaa !9
  %50 = call zeroext i8 %49(i32 noundef 2929)
  %51 = load ptr, ptr @glad_glIsEnabled, align 8, !tbaa !9
  %52 = call zeroext i8 %51(i32 noundef 3089)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #4
  store i32 0, ptr %17, align 4, !tbaa !11
  %53 = load ptr, ptr @glad_glGenVertexArrays, align 8, !tbaa !9
  call void %53(i32 noundef 1, ptr noundef nonnull %17)
  %54 = load i32, ptr %17, align 4, !tbaa !11
  %55 = extractelement <2 x i32> %24, i64 0
  %56 = extractelement <2 x i32> %24, i64 1
  call void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef nonnull %0, i32 noundef %55, i32 noundef %56, i32 noundef %54)
  %57 = getelementptr inbounds i8, ptr %0, i64 28
  %58 = load <2 x float>, ptr %57, align 4, !tbaa !5
  %59 = load <2 x float>, ptr %20, align 4, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %0, i64 16
  %61 = load i32, ptr %60, align 8, !tbaa !13
  %62 = icmp sgt i32 %61, 0
  br i1 %62, label %.lr.ph78, label %._crit_edge79

.lr.ph78:                                         ; preds = %28
  %63 = getelementptr inbounds i8, ptr %0, i64 8
  %64 = getelementptr inbounds i8, ptr %18, i64 8
  %65 = uitofp nneg i32 %55 to float
  %66 = uitofp nneg i32 %56 to float
  br label %110

._crit_edge79:                                    ; preds = %._crit_edge, %28
  %67 = load ptr, ptr @glad_glDeleteVertexArrays, align 8, !tbaa !9
  call void %67(i32 noundef 1, ptr noundef nonnull %17)
  %68 = load ptr, ptr @glad_glUseProgram, align 8, !tbaa !9
  %69 = load i32, ptr %3, align 4, !tbaa !11
  call void %68(i32 noundef %69)
  %70 = load ptr, ptr @glad_glBindTexture, align 8, !tbaa !9
  %71 = load i32, ptr %4, align 4, !tbaa !11
  call void %70(i32 noundef 3553, i32 noundef %71)
  %72 = load ptr, ptr @glad_glBindSampler, align 8, !tbaa !9
  %73 = load i32, ptr %5, align 4, !tbaa !11
  call void %72(i32 noundef 0, i32 noundef %73)
  %74 = load ptr, ptr @glad_glActiveTexture, align 8, !tbaa !9
  %75 = load i32, ptr %2, align 4, !tbaa !11
  call void %74(i32 noundef %75)
  %76 = load ptr, ptr @glad_glBindVertexArray, align 8, !tbaa !9
  %77 = load i32, ptr %7, align 4, !tbaa !11
  call void %76(i32 noundef %77)
  %78 = load ptr, ptr @glad_glBindBuffer, align 8, !tbaa !9
  %79 = load i32, ptr %6, align 4, !tbaa !11
  call void %78(i32 noundef 34962, i32 noundef %79)
  %80 = load ptr, ptr @glad_glBlendEquationSeparate, align 8, !tbaa !9
  %81 = load i32, ptr %15, align 4, !tbaa !11
  %82 = load i32, ptr %16, align 4, !tbaa !11
  call void %80(i32 noundef %81, i32 noundef %82)
  %83 = load ptr, ptr @glad_glBlendFuncSeparate, align 8, !tbaa !9
  %84 = load i32, ptr %11, align 4, !tbaa !11
  %85 = load i32, ptr %12, align 4, !tbaa !11
  %86 = load i32, ptr %13, align 4, !tbaa !11
  %87 = load i32, ptr %14, align 4, !tbaa !11
  call void %83(i32 noundef %84, i32 noundef %85, i32 noundef %86, i32 noundef %87)
  %.not = icmp eq i8 %46, 0
  %glad_glDisable.val = load ptr, ptr @glad_glDisable, align 8
  %glad_glEnable.val = load ptr, ptr @glad_glEnable, align 8
  %88 = select i1 %.not, ptr %glad_glDisable.val, ptr %glad_glEnable.val
  call void %88(i32 noundef 3042)
  %.not71 = icmp eq i8 %48, 0
  %glad_glDisable.val84 = load ptr, ptr @glad_glDisable, align 8
  %glad_glEnable.val85 = load ptr, ptr @glad_glEnable, align 8
  %89 = select i1 %.not71, ptr %glad_glDisable.val84, ptr %glad_glEnable.val85
  call void %89(i32 noundef 2884)
  %.not72 = icmp eq i8 %50, 0
  %glad_glDisable.val86 = load ptr, ptr @glad_glDisable, align 8
  %glad_glEnable.val87 = load ptr, ptr @glad_glEnable, align 8
  %90 = select i1 %.not72, ptr %glad_glDisable.val86, ptr %glad_glEnable.val87
  call void %90(i32 noundef 2929)
  %.not73 = icmp eq i8 %52, 0
  %glad_glDisable.val88 = load ptr, ptr @glad_glDisable, align 8
  %glad_glEnable.val89 = load ptr, ptr @glad_glEnable, align 8
  %91 = select i1 %.not73, ptr %glad_glDisable.val88, ptr %glad_glEnable.val89
  call void %91(i32 noundef 3089)
  %92 = load ptr, ptr @glad_glPolygonMode, align 8, !tbaa !9
  %93 = load i32, ptr %8, align 4, !tbaa !11
  call void %92(i32 noundef 1032, i32 noundef %93)
  %94 = load ptr, ptr @glad_glViewport, align 8, !tbaa !9
  %95 = load i32, ptr %9, align 16, !tbaa !11
  %96 = getelementptr inbounds i8, ptr %9, i64 4
  %97 = load i32, ptr %96, align 4, !tbaa !11
  %98 = getelementptr inbounds i8, ptr %9, i64 8
  %99 = load i32, ptr %98, align 8, !tbaa !11
  %100 = getelementptr inbounds i8, ptr %9, i64 12
  %101 = load i32, ptr %100, align 4, !tbaa !11
  call void %94(i32 noundef %95, i32 noundef %97, i32 noundef %99, i32 noundef %101)
  %102 = load ptr, ptr @glad_glScissor, align 8, !tbaa !9
  %103 = load i32, ptr %10, align 16, !tbaa !11
  %104 = getelementptr inbounds i8, ptr %10, i64 4
  %105 = load i32, ptr %104, align 4, !tbaa !11
  %106 = getelementptr inbounds i8, ptr %10, i64 8
  %107 = load i32, ptr %106, align 8, !tbaa !11
  %108 = getelementptr inbounds i8, ptr %10, i64 12
  %109 = load i32, ptr %108, align 4, !tbaa !11
  call void %102(i32 noundef %103, i32 noundef %105, i32 noundef %107, i32 noundef %109)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  br label %191

110:                                              ; preds = %.lr.ph78, %._crit_edge
  %indvars.iv = phi i64 [ 0, %.lr.ph78 ], [ %indvars.iv.next, %._crit_edge ]
  %111 = load ptr, ptr %63, align 8, !tbaa !17
  %112 = getelementptr inbounds ptr, ptr %111, i64 %indvars.iv
  %113 = load ptr, ptr %112, align 8, !tbaa !9
  %114 = load ptr, ptr @glad_glBufferData, align 8, !tbaa !9
  %115 = getelementptr inbounds i8, ptr %113, i64 32
  %116 = load i32, ptr %115, align 8, !tbaa !18
  %117 = sext i32 %116 to i64
  %118 = mul nsw i64 %117, 20
  %119 = getelementptr inbounds i8, ptr %113, i64 40
  %120 = load ptr, ptr %119, align 8, !tbaa !30
  call void %114(i32 noundef 34962, i64 noundef %118, ptr noundef %120, i32 noundef 35040)
  %121 = load ptr, ptr @glad_glBufferData, align 8, !tbaa !9
  %122 = getelementptr inbounds i8, ptr %113, i64 16
  %123 = load i32, ptr %122, align 8, !tbaa !31
  %124 = sext i32 %123 to i64
  %125 = shl nsw i64 %124, 1
  %126 = getelementptr inbounds i8, ptr %113, i64 24
  %127 = load ptr, ptr %126, align 8, !tbaa !32
  call void %121(i32 noundef 34963, i64 noundef %125, ptr noundef %127, i32 noundef 35040)
  %128 = load i32, ptr %113, align 8, !tbaa !33
  %129 = icmp sgt i32 %128, 0
  br i1 %129, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %187, %110
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %130 = load i32, ptr %60, align 8, !tbaa !13
  %131 = sext i32 %130 to i64
  %132 = icmp slt i64 %indvars.iv.next, %131
  br i1 %132, label %110, label %._crit_edge79, !llvm.loop !34

.lr.ph:                                           ; preds = %110, %187
  %.075 = phi i32 [ %188, %187 ], [ 0, %110 ]
  %133 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16) %113, i32 noundef %.075)
  %134 = getelementptr inbounds i8, ptr %133, i64 40
  %135 = load ptr, ptr %134, align 8, !tbaa !36
  %magicptr = ptrtoint ptr %135 to i64
  switch i64 %magicptr, label %138 [
    i64 0, label %139
    i64 -1, label %136
  ]

136:                                              ; preds = %.lr.ph
  %137 = load i32, ptr %17, align 4, !tbaa !11
  call void @_ZL34ImGui_ImplOpenGL3_SetupRenderStateP10ImDrawDataiij(ptr noundef %0, i32 noundef %55, i32 noundef %56, i32 noundef %137)
  br label %187

138:                                              ; preds = %.lr.ph
  call void %135(ptr noundef nonnull %113, ptr noundef nonnull %133)
  br label %187

139:                                              ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #4
  call void @_ZN6ImVec4C2Ev(ptr noundef nonnull align 4 dereferenceable(16) %18)
  %140 = load <2 x float>, ptr %133, align 8, !tbaa !5
  %141 = fsub <2 x float> %140, %58
  %142 = fmul <2 x float> %59, %141
  store <2 x float> %142, ptr %18, align 8, !tbaa !5
  %143 = getelementptr inbounds i8, ptr %133, i64 8
  %144 = load <2 x float>, ptr %143, align 8, !tbaa !5
  %145 = fsub <2 x float> %144, %58
  %146 = fmul <2 x float> %59, %145
  store <2 x float> %146, ptr %64, align 8, !tbaa !5
  %147 = extractelement <2 x float> %142, i64 0
  %148 = fcmp olt float %147, %65
  br i1 %148, label %149, label %186

149:                                              ; preds = %139
  %150 = extractelement <2 x float> %142, i64 1
  %151 = fcmp olt float %150, %66
  %152 = fcmp oge <2 x float> %146, zeroinitializer
  %153 = extractelement <2 x i1> %152, i64 0
  %or.cond4 = select i1 %151, i1 %153, i1 false
  %154 = extractelement <2 x i1> %152, i64 1
  %or.cond7 = select i1 %or.cond4, i1 %154, i1 false
  br i1 %or.cond7, label %155, label %186

155:                                              ; preds = %149
  %156 = load ptr, ptr @glad_glScissor, align 8, !tbaa !9
  %157 = fptosi float %147 to i32
  %158 = extractelement <2 x float> %146, i64 1
  %159 = fsub float %66, %158
  %160 = fptosi float %159 to i32
  %161 = fsub <2 x float> %146, %142
  %162 = extractelement <2 x float> %161, i64 0
  %163 = fptosi float %162 to i32
  %164 = fsub float %158, %150
  %165 = fptosi float %164 to i32
  call void %156(i32 noundef %157, i32 noundef %160, i32 noundef %163, i32 noundef %165)
  %166 = load ptr, ptr @glad_glBindTexture, align 8, !tbaa !9
  %167 = getelementptr inbounds i8, ptr %133, i64 16
  %168 = load ptr, ptr %167, align 8, !tbaa !37
  %169 = ptrtoint ptr %168 to i64
  %170 = trunc i64 %169 to i32
  call void %166(i32 noundef 3553, i32 noundef %170)
  %171 = load i32, ptr @_ZL11g_GlVersion, align 4, !tbaa !11
  %172 = icmp ugt i32 %171, 319
  %173 = getelementptr inbounds i8, ptr %133, i64 32
  %174 = load i32, ptr %173, align 8, !tbaa !38
  %175 = getelementptr inbounds i8, ptr %133, i64 28
  %176 = load i32, ptr %175, align 4, !tbaa !39
  %177 = zext i32 %176 to i64
  %178 = shl nuw nsw i64 %177, 1
  %179 = inttoptr i64 %178 to ptr
  br i1 %172, label %180, label %184

180:                                              ; preds = %155
  %181 = load ptr, ptr @glad_glDrawElementsBaseVertex, align 8, !tbaa !9
  %182 = getelementptr inbounds i8, ptr %133, i64 24
  %183 = load i32, ptr %182, align 8, !tbaa !40
  call void %181(i32 noundef 4, i32 noundef %174, i32 noundef 5123, ptr noundef %179, i32 noundef %183)
  br label %186

184:                                              ; preds = %155
  %185 = load ptr, ptr @glad_glDrawElements, align 8, !tbaa !9
  call void %185(i32 noundef 4, i32 noundef %174, i32 noundef 5123, ptr noundef %179)
  br label %186

186:                                              ; preds = %180, %184, %149, %139
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #4
  br label %187

187:                                              ; preds = %136, %138, %186
  %188 = add nuw nsw i32 %.075, 1
  %189 = load i32, ptr %113, align 8, !tbaa !33
  %190 = icmp slt i32 %188, %189
  br i1 %190, label %.lr.ph, label %._crit_edge, !llvm.loop !41

191:                                              ; preds = %1, %._crit_edge79
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZNK8ImVectorI9ImDrawCmdEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #2 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 16}
!14 = !{!"_ZTS10ImDrawData", !15, i64 0, !10, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !16, i64 28, !16, i64 36, !16, i64 44, !10, i64 56}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTS6ImVec2", !6, i64 0, !6, i64 4}
!17 = !{!14, !10, i64 8}
!18 = !{!19, !12, i64 32}
!19 = !{!"_ZTS10ImDrawList", !20, i64 0, !21, i64 16, !22, i64 32, !12, i64 48, !10, i64 56, !10, i64 64, !12, i64 72, !10, i64 80, !10, i64 88, !23, i64 96, !24, i64 112, !25, i64 128, !26, i64 144, !28, i64 200}
!20 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !10, i64 8}
!21 = !{!"_ZTS8ImVectorItE", !12, i64 0, !12, i64 4, !10, i64 8}
!22 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !10, i64 8}
!23 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !10, i64 8}
!24 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !10, i64 8}
!25 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !10, i64 8}
!26 = !{!"_ZTS9ImDrawCmd", !27, i64 0, !10, i64 16, !12, i64 24, !12, i64 28, !12, i64 32, !10, i64 40, !10, i64 48}
!27 = !{!"_ZTS6ImVec4", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!28 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !29, i64 8}
!29 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !10, i64 8}
!30 = !{!19, !10, i64 40}
!31 = !{!19, !12, i64 16}
!32 = !{!19, !10, i64 24}
!33 = !{!19, !12, i64 0}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!26, !10, i64 40}
!37 = !{!26, !10, i64 16}
!38 = !{!26, !12, i64 32}
!39 = !{!26, !12, i64 28}
!40 = !{!26, !12, i64 24}
!41 = distinct !{!41, !35}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,VectorCombinePass