; LLVM IR from rdguez-mariano/fast_imas_IPOL :: io_png/libs/png (pngwrite)

; 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.png_struct_def = type { [1 x %struct.__jmp_buf_tag], ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i8, i64, i64, i64, %struct.z_stream_s, ptr, i64, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, %struct.png_row_info_struct, i64, i64, ptr, i16, i16, [5 x i8], i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i8, float, %struct.png_color_16_struct, %struct.png_color_16_struct, ptr, i64, i64, i32, float, float, ptr, ptr, ptr, ptr, ptr, ptr, %struct.png_color_8_struct, %struct.png_color_8_struct, ptr, %struct.png_color_16_struct, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, i64, i64, i64, i64, i64, i32, i32, i64, i64, ptr, ptr, ptr, ptr, ptr, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, i64, ptr, ptr, i32, ptr, i8, i16, i16, i16, i64, i64, i8, i8, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i8, i64, i64, %struct.png_unknown_chunk_t, i64, i64, ptr }
%struct.__jmp_buf_tag = type { [8 x i64], i32, %struct.__sigset_t }
%struct.__sigset_t = type { [16 x i64] }
%struct.z_stream_s = type { ptr, i32, i64, ptr, i32, i64, ptr, ptr, ptr, ptr, ptr, i32, i64, i64 }
%struct.png_row_info_struct = type { i64, i64, i8, i8, i8, i8 }
%struct.png_color_8_struct = type { i8, i8, i8, i8, i8 }
%struct.png_color_16_struct = type { i8, i16, i16, i16, i16 }
%struct.png_unknown_chunk_t = type { [5 x i8], ptr, i64, i8 }

@.str.12 = external hidden unnamed_addr constant [54 x i8], align 1

declare void @png_error(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @png_write_row(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %5 = load ptr, ptr %3, align 8, !tbaa !5
  %6 = icmp eq ptr %5, null
  br i1 %6, label %7, label %8

7:                                                ; preds = %2
  br label %294

8:                                                ; preds = %2
  %9 = load ptr, ptr %3, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.png_struct_def, ptr %9, i32 0, i32 30
  %11 = load i64, ptr %10, align 8, !tbaa !9
  %12 = icmp eq i64 %11, 0
  br i1 %12, label %13, label %29

13:                                               ; preds = %8
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.png_struct_def, ptr %14, i32 0, i32 47
  %16 = load i8, ptr %15, align 4, !tbaa !20
  %17 = zext i8 %16 to i32
  %18 = icmp eq i32 %17, 0
  br i1 %18, label %19, label %29

19:                                               ; preds = %13
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.png_struct_def, ptr %20, i32 0, i32 12
  %22 = load i64, ptr %21, align 8, !tbaa !21
  %23 = and i64 %22, 1024
  %24 = icmp ne i64 %23, 0
  br i1 %24, label %27, label %25

25:                                               ; preds = %19
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_error(ptr noundef %26, ptr noundef @.str.12)
  br label %27

27:                                               ; preds = %25, %19
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_write_start_row(ptr noundef %28)
  br label %29

29:                                               ; preds = %27, %13, %8
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.png_struct_def, ptr %30, i32 0, i32 46
  %32 = load i8, ptr %31, align 1, !tbaa !22
  %33 = zext i8 %32 to i32
  %34 = icmp ne i32 %33, 0
  br i1 %34, label %35, label %125

35:                                               ; preds = %29
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.png_struct_def, ptr %36, i32 0, i32 14
  %38 = load i64, ptr %37, align 8, !tbaa !23
  %39 = and i64 %38, 2
  %40 = icmp ne i64 %39, 0
  br i1 %40, label %41, label %125

41:                                               ; preds = %35
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.png_struct_def, ptr %42, i32 0, i32 47
  %44 = load i8, ptr %43, align 4, !tbaa !20
  %45 = zext i8 %44 to i32
  switch i32 %45, label %124 [
    i32 0, label %46
    i32 1, label %55
    i32 2, label %69
    i32 3, label %78
    i32 4, label %92
    i32 5, label %101
    i32 6, label %115
  ]

46:                                               ; preds = %41
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.png_struct_def, ptr %47, i32 0, i32 30
  %49 = load i64, ptr %48, align 8, !tbaa !9
  %50 = and i64 %49, 7
  %51 = icmp ne i64 %50, 0
  br i1 %51, label %52, label %54

52:                                               ; preds = %46
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_write_finish_row(ptr noundef %53)
  br label %294

54:                                               ; preds = %46
  br label %124

55:                                               ; preds = %41
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.png_struct_def, ptr %56, i32 0, i32 30
  %58 = load i64, ptr %57, align 8, !tbaa !9
  %59 = and i64 %58, 7
  %60 = icmp ne i64 %59, 0
  br i1 %60, label %66, label %61

61:                                               ; preds = %55
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.png_struct_def, ptr %62, i32 0, i32 23
  %64 = load i64, ptr %63, align 8, !tbaa !24
  %65 = icmp ult i64 %64, 5
  br i1 %65, label %66, label %68

66:                                               ; preds = %61, %55
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_write_finish_row(ptr noundef %67)
  br label %294

68:                                               ; preds = %61
  br label %124

69:                                               ; preds = %41
  %70 = load ptr, ptr %3, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.png_struct_def, ptr %70, i32 0, i32 30
  %72 = load i64, ptr %71, align 8, !tbaa !9
  %73 = and i64 %72, 7
  %74 = icmp ne i64 %73, 4
  br i1 %74, label %75, label %77

75:                                               ; preds = %69
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_write_finish_row(ptr noundef %76)
  br label %294

77:                                               ; preds = %69
  br label %124

78:                                               ; preds = %41
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.png_struct_def, ptr %79, i32 0, i32 30
  %81 = load i64, ptr %80, align 8, !tbaa !9
  %82 = and i64 %81, 3
  %83 = icmp ne i64 %82, 0
  br i1 %83, label %89, label %84

84:                                               ; preds = %78
  %85 = load ptr, ptr %3, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.png_struct_def, ptr %85, i32 0, i32 23
  %87 = load i64, ptr %86, align 8, !tbaa !24
  %88 = icmp ult i64 %87, 3
  br i1 %88, label %89, label %91

89:                                               ; preds = %84, %78
  %90 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_write_finish_row(ptr noundef %90)
  br label %294

91:                                               ; preds = %84
  br label %124

92:                                               ; preds = %41
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.png_struct_def, ptr %93, i32 0, i32 30
  %95 = load i64, ptr %94, align 8, !tbaa !9
  %96 = and i64 %95, 3
  %97 = icmp ne i64 %96, 2
  br i1 %97, label %98, label %100

98:                                               ; preds = %92
  %99 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_write_finish_row(ptr noundef %99)
  br label %294

100:                                              ; preds = %92
  br label %124

101:                                              ; preds = %41
  %102 = load ptr, ptr %3, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.png_struct_def, ptr %102, i32 0, i32 30
  %104 = load i64, ptr %103, align 8, !tbaa !9
  %105 = and i64 %104, 1
  %106 = icmp ne i64 %105, 0
  br i1 %106, label %112, label %107

107:                                              ; preds = %101
  %108 = load ptr, ptr %3, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.png_struct_def, ptr %108, i32 0, i32 23
  %110 = load i64, ptr %109, align 8, !tbaa !24
  %111 = icmp ult i64 %110, 2
  br i1 %111, label %112, label %114

112:                                              ; preds = %107, %101
  %113 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_write_finish_row(ptr noundef %113)
  br label %294

114:                                              ; preds = %107
  br label %124

115:                                              ; preds = %41
  %116 = load ptr, ptr %3, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.png_struct_def, ptr %116, i32 0, i32 30
  %118 = load i64, ptr %117, align 8, !tbaa !9
  %119 = and i64 %118, 1
  %120 = icmp ne i64 %119, 0
  br i1 %120, label %123, label %121

121:                                              ; preds = %115
  %122 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_write_finish_row(ptr noundef %122)
  br label %294

123:                                              ; preds = %115
  br label %124

124:                                              ; preds = %123, %114, %100, %91, %77, %68, %54, %41
  br label %125

125:                                              ; preds = %124, %35, %29
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.png_struct_def, ptr %126, i32 0, i32 49
  %128 = load i8, ptr %127, align 2, !tbaa !25
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.png_struct_def, ptr %129, i32 0, i32 37
  %131 = getelementptr inbounds %struct.png_row_info_struct, ptr %130, i32 0, i32 2
  store i8 %128, ptr %131, align 8, !tbaa !26
  %132 = load ptr, ptr %3, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.png_struct_def, ptr %132, i32 0, i32 26
  %134 = load i64, ptr %133, align 8, !tbaa !27
  %135 = load ptr, ptr %3, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.png_struct_def, ptr %135, i32 0, i32 37
  %137 = getelementptr inbounds %struct.png_row_info_struct, ptr %136, i32 0, i32 0
  store i64 %134, ptr %137, align 8, !tbaa !28
  %138 = load ptr, ptr %3, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.png_struct_def, ptr %138, i32 0, i32 54
  %140 = load i8, ptr %139, align 1, !tbaa !29
  %141 = load ptr, ptr %3, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.png_struct_def, ptr %141, i32 0, i32 37
  %143 = getelementptr inbounds %struct.png_row_info_struct, ptr %142, i32 0, i32 4
  store i8 %140, ptr %143, align 2, !tbaa !30
  %144 = load ptr, ptr %3, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.png_struct_def, ptr %144, i32 0, i32 51
  %146 = load i8, ptr %145, align 8, !tbaa !31
  %147 = load ptr, ptr %3, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.png_struct_def, ptr %147, i32 0, i32 37
  %149 = getelementptr inbounds %struct.png_row_info_struct, ptr %148, i32 0, i32 3
  store i8 %146, ptr %149, align 1, !tbaa !32
  %150 = load ptr, ptr %3, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.png_struct_def, ptr %150, i32 0, i32 37
  %152 = getelementptr inbounds %struct.png_row_info_struct, ptr %151, i32 0, i32 3
  %153 = load i8, ptr %152, align 1, !tbaa !32
  %154 = zext i8 %153 to i32
  %155 = load ptr, ptr %3, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.png_struct_def, ptr %155, i32 0, i32 37
  %157 = getelementptr inbounds %struct.png_row_info_struct, ptr %156, i32 0, i32 4
  %158 = load i8, ptr %157, align 2, !tbaa !30
  %159 = zext i8 %158 to i32
  %160 = mul nsw i32 %154, %159
  %161 = trunc i32 %160 to i8
  %162 = load ptr, ptr %3, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.png_struct_def, ptr %162, i32 0, i32 37
  %164 = getelementptr inbounds %struct.png_row_info_struct, ptr %163, i32 0, i32 5
  store i8 %161, ptr %164, align 1, !tbaa !33
  %165 = load ptr, ptr %3, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.png_struct_def, ptr %165, i32 0, i32 37
  %167 = getelementptr inbounds %struct.png_row_info_struct, ptr %166, i32 0, i32 5
  %168 = load i8, ptr %167, align 1, !tbaa !33
  %169 = zext i8 %168 to i32
  %170 = icmp sge i32 %169, 8
  br i1 %170, label %171, label %183

171:                                              ; preds = %125
  %172 = load ptr, ptr %3, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.png_struct_def, ptr %172, i32 0, i32 37
  %174 = getelementptr inbounds %struct.png_row_info_struct, ptr %173, i32 0, i32 0
  %175 = load i64, ptr %174, align 8, !tbaa !28
  %176 = load ptr, ptr %3, align 8, !tbaa !5
  %177 = getelementptr inbounds %struct.png_struct_def, ptr %176, i32 0, i32 37
  %178 = getelementptr inbounds %struct.png_row_info_struct, ptr %177, i32 0, i32 5
  %179 = load i8, ptr %178, align 1, !tbaa !33
  %180 = zext i8 %179 to i64
  %181 = lshr i64 %180, 3
  %182 = mul i64 %175, %181
  br label %196

183:                                              ; preds = %125
  %184 = load ptr, ptr %3, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.png_struct_def, ptr %184, i32 0, i32 37
  %186 = getelementptr inbounds %struct.png_row_info_struct, ptr %185, i32 0, i32 0
  %187 = load i64, ptr %186, align 8, !tbaa !28
  %188 = load ptr, ptr %3, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.png_struct_def, ptr %188, i32 0, i32 37
  %190 = getelementptr inbounds %struct.png_row_info_struct, ptr %189, i32 0, i32 5
  %191 = load i8, ptr %190, align 1, !tbaa !33
  %192 = zext i8 %191 to i64
  %193 = mul i64 %187, %192
  %194 = add i64 %193, 7
  %195 = lshr i64 %194, 3
  br label %196

196:                                              ; preds = %183, %171
  %197 = phi i64 [ %182, %171 ], [ %195, %183 ]
  %198 = load ptr, ptr %3, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.png_struct_def, ptr %198, i32 0, i32 37
  %200 = getelementptr inbounds %struct.png_row_info_struct, ptr %199, i32 0, i32 1
  store i64 %197, ptr %200, align 8, !tbaa !34
  %201 = load ptr, ptr %3, align 8, !tbaa !5
  %202 = load ptr, ptr %3, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.png_struct_def, ptr %202, i32 0, i32 32
  %204 = load ptr, ptr %203, align 8, !tbaa !35
  %205 = getelementptr inbounds i8, ptr %204, i64 1
  %206 = load ptr, ptr %4, align 8, !tbaa !5
  %207 = load ptr, ptr %3, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.png_struct_def, ptr %207, i32 0, i32 37
  %209 = getelementptr inbounds %struct.png_row_info_struct, ptr %208, i32 0, i32 1
  %210 = load i64, ptr %209, align 8, !tbaa !34
  %211 = call ptr @png_memcpy_check(ptr noundef %201, ptr noundef %205, ptr noundef %206, i64 noundef %210)
  %212 = load ptr, ptr %3, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.png_struct_def, ptr %212, i32 0, i32 46
  %214 = load i8, ptr %213, align 1, !tbaa !22
  %215 = zext i8 %214 to i32
  %216 = icmp ne i32 %215, 0
  br i1 %216, label %217, label %248

217:                                              ; preds = %196
  %218 = load ptr, ptr %3, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.png_struct_def, ptr %218, i32 0, i32 47
  %220 = load i8, ptr %219, align 4, !tbaa !20
  %221 = zext i8 %220 to i32
  %222 = icmp slt i32 %221, 6
  br i1 %222, label %223, label %248

223:                                              ; preds = %217
  %224 = load ptr, ptr %3, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.png_struct_def, ptr %224, i32 0, i32 14
  %226 = load i64, ptr %225, align 8, !tbaa !23
  %227 = and i64 %226, 2
  %228 = icmp ne i64 %227, 0
  br i1 %228, label %229, label %248

229:                                              ; preds = %223
  %230 = load ptr, ptr %3, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.png_struct_def, ptr %230, i32 0, i32 37
  %232 = load ptr, ptr %3, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.png_struct_def, ptr %232, i32 0, i32 32
  %234 = load ptr, ptr %233, align 8, !tbaa !35
  %235 = getelementptr inbounds i8, ptr %234, i64 1
  %236 = load ptr, ptr %3, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.png_struct_def, ptr %236, i32 0, i32 47
  %238 = load i8, ptr %237, align 4, !tbaa !20
  %239 = zext i8 %238 to i32
  call void @png_do_write_interlace(ptr noundef %231, ptr noundef %235, i32 noundef %239)
  %240 = load ptr, ptr %3, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.png_struct_def, ptr %240, i32 0, i32 37
  %242 = getelementptr inbounds %struct.png_row_info_struct, ptr %241, i32 0, i32 0
  %243 = load i64, ptr %242, align 8, !tbaa !28
  %244 = icmp ne i64 %243, 0
  br i1 %244, label %247, label %245

245:                                              ; preds = %229
  %246 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_write_finish_row(ptr noundef %246)
  br label %294

247:                                              ; preds = %229
  br label %248

248:                                              ; preds = %247, %223, %217, %196
  %249 = load ptr, ptr %3, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.png_struct_def, ptr %249, i32 0, i32 14
  %251 = load i64, ptr %250, align 8, !tbaa !23
  %252 = icmp ne i64 %251, 0
  br i1 %252, label %253, label %255

253:                                              ; preds = %248
  %254 = load ptr, ptr %3, align 8, !tbaa !5
  call void @png_do_write_transformations(ptr noundef %254)
  br label %255

255:                                              ; preds = %253, %248
  %256 = load ptr, ptr %3, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.png_struct_def, ptr %256, i32 0, i32 118
  %258 = load i64, ptr %257, align 8, !tbaa !36
  %259 = and i64 %258, 4
  %260 = icmp ne i64 %259, 0
  br i1 %260, label %261, label %274

261:                                              ; preds = %255
  %262 = load ptr, ptr %3, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.png_struct_def, ptr %262, i32 0, i32 120
  %264 = load i8, ptr %263, align 8, !tbaa !37
  %265 = zext i8 %264 to i32
  %266 = icmp eq i32 %265, 64
  br i1 %266, label %267, label %274

267:                                              ; preds = %261
  %268 = load ptr, ptr %3, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.png_struct_def, ptr %268, i32 0, i32 37
  %270 = load ptr, ptr %3, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.png_struct_def, ptr %270, i32 0, i32 32
  %272 = load ptr, ptr %271, align 8, !tbaa !35
  %273 = getelementptr inbounds i8, ptr %272, i64 1
  call void @png_do_write_intrapixel(ptr noundef %269, ptr noundef %273)
  br label %274

274:                                              ; preds = %267, %261, %255
  %275 = load ptr, ptr %3, align 8, !tbaa !5
  %276 = load ptr, ptr %3, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.png_struct_def, ptr %276, i32 0, i32 37
  call void @png_write_find_filter(ptr noundef %275, ptr noundef %277)
  %278 = load ptr, ptr %3, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.png_struct_def, ptr %278, i32 0, i32 78
  %280 = load ptr, ptr %279, align 8, !tbaa !38
  %281 = icmp ne ptr %280, null
  br i1 %281, label %282, label %294

282:                                              ; preds = %274
  %283 = load ptr, ptr %3, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.png_struct_def, ptr %283, i32 0, i32 78
  %285 = load ptr, ptr %284, align 8, !tbaa !38
  %286 = load ptr, ptr %3, align 8, !tbaa !5
  %287 = load ptr, ptr %3, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.png_struct_def, ptr %287, i32 0, i32 30
  %289 = load i64, ptr %288, align 8, !tbaa !9
  %290 = load ptr, ptr %3, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.png_struct_def, ptr %290, i32 0, i32 47
  %292 = load i8, ptr %291, align 4, !tbaa !20
  %293 = zext i8 %292 to i32
  call void %285(ptr noundef %286, i64 noundef %289, i32 noundef %293)
  br label %294

294:                                              ; preds = %282, %274, %245, %121, %112, %98, %89, %75, %66, %52, %7
  ret void
}

declare void @png_write_start_row(ptr noundef) #0

declare void @png_write_finish_row(ptr noundef) #0

declare ptr @png_memcpy_check(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #0

declare void @png_do_write_interlace(ptr noundef, ptr noundef, i32 noundef) #0

declare void @png_do_write_transformations(ptr noundef) #0

declare void @png_do_write_intrapixel(ptr noundef, ptr noundef) #0

declare void @png_write_find_filter(ptr noundef, ptr noundef) #0

attributes #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 #1 = { 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" }

!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/C++ TBAA"}
!9 = !{!10, !11, i64 512}
!10 = !{!"png_struct_def", !7, i64 0, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !7, i64 272, !7, i64 273, !11, i64 280, !11, i64 288, !11, i64 296, !12, i64 304, !6, i64 416, !11, i64 424, !13, i64 432, !13, i64 436, !13, i64 440, !13, i64 444, !13, i64 448, !11, i64 456, !11, i64 464, !11, i64 472, !11, i64 480, !11, i64 488, !11, i64 496, !11, i64 504, !11, i64 512, !6, i64 520, !6, i64 528, !6, i64 536, !6, i64 544, !6, i64 552, !6, i64 560, !14, i64 568, !11, i64 592, !11, i64 600, !6, i64 608, !15, i64 616, !15, i64 618, !7, i64 620, !7, i64 625, !7, i64 626, !7, i64 627, !7, i64 628, !7, i64 629, !7, i64 630, !7, i64 631, !7, i64 632, !7, i64 633, !7, i64 634, !7, i64 635, !7, i64 636, !15, i64 638, !7, i64 640, !16, i64 644, !17, i64 648, !17, i64 658, !6, i64 672, !11, i64 680, !11, i64 688, !13, i64 696, !16, i64 700, !16, i64 704, !6, i64 712, !6, i64 720, !6, i64 728, !6, i64 736, !6, i64 744, !6, i64 752, !18, i64 760, !18, i64 765, !6, i64 776, !17, i64 784, !6, i64 800, !6, i64 808, !6, i64 816, !6, i64 824, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !11, i64 872, !11, i64 880, !11, i64 888, !11, i64 896, !11, i64 904, !11, i64 912, !13, i64 920, !13, i64 924, !11, i64 928, !11, i64 936, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !6, i64 976, !7, i64 984, !7, i64 985, !6, i64 992, !6, i64 1000, !6, i64 1008, !6, i64 1016, !6, i64 1024, !6, i64 1032, !11, i64 1040, !6, i64 1048, !6, i64 1056, !13, i64 1064, !6, i64 1072, !7, i64 1080, !15, i64 1082, !15, i64 1084, !15, i64 1086, !11, i64 1088, !11, i64 1096, !7, i64 1104, !7, i64 1105, !11, i64 1112, !11, i64 1120, !6, i64 1128, !6, i64 1136, !6, i64 1144, !6, i64 1152, !6, i64 1160, !6, i64 1168, !6, i64 1176, !7, i64 1184, !11, i64 1192, !11, i64 1200, !19, i64 1208, !11, i64 1240, !11, i64 1248, !6, i64 1256}
!11 = !{!"long", !7, i64 0}
!12 = !{!"z_stream_s", !6, i64 0, !13, i64 8, !11, i64 16, !6, i64 24, !13, i64 32, !11, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !13, i64 88, !11, i64 96, !11, i64 104}
!13 = !{!"int", !7, i64 0}
!14 = !{!"png_row_info_struct", !11, i64 0, !11, i64 8, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19}
!15 = !{!"short", !7, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = !{!"png_color_16_struct", !7, i64 0, !15, i64 2, !15, i64 4, !15, i64 6, !15, i64 8}
!18 = !{!"png_color_8_struct", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4}
!19 = !{!"png_unknown_chunk_t", !7, i64 0, !6, i64 8, !11, i64 16, !7, i64 24}
!20 = !{!10, !7, i64 628}
!21 = !{!10, !11, i64 280}
!22 = !{!10, !7, i64 627}
!23 = !{!10, !11, i64 296}
!24 = !{!10, !11, i64 456}
!25 = !{!10, !7, i64 630}
!26 = !{!10, !7, i64 584}
!27 = !{!10, !11, i64 480}
!28 = !{!10, !11, i64 568}
!29 = !{!10, !7, i64 635}
!30 = !{!10, !7, i64 586}
!31 = !{!10, !7, i64 632}
!32 = !{!10, !7, i64 585}
!33 = !{!10, !7, i64 587}
!34 = !{!10, !11, i64 576}
!35 = !{!10, !6, i64 528}
!36 = !{!10, !11, i64 1088}
!37 = !{!10, !7, i64 1104}
!38 = !{!10, !6, i64 808}


; 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"

@.str.12 = external hidden unnamed_addr constant [54 x i8], align 1

declare void @png_error(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @png_write_row(ptr noundef %0, ptr noundef %1) local_unnamed_addr #1 {
  %3 = icmp eq ptr %0, null
  br i1 %3, label %138, label %4

4:                                                ; preds = %2
  %5 = getelementptr inbounds i8, ptr %0, i64 512
  %6 = load i64, ptr %5, align 8, !tbaa !5
  %7 = icmp eq i64 %6, 0
  br i1 %7, label %8, label %18

8:                                                ; preds = %4
  %9 = getelementptr inbounds i8, ptr %0, i64 628
  %10 = load i8, ptr %9, align 4, !tbaa !19
  %11 = icmp eq i8 %10, 0
  br i1 %11, label %12, label %18

12:                                               ; preds = %8
  %13 = getelementptr inbounds i8, ptr %0, i64 280
  %14 = load i64, ptr %13, align 8, !tbaa !20
  %15 = and i64 %14, 1024
  %.not = icmp eq i64 %15, 0
  br i1 %.not, label %16, label %17

16:                                               ; preds = %12
  tail call void @png_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.12) #2
  br label %17

17:                                               ; preds = %16, %12
  tail call void @png_write_start_row(ptr noundef nonnull %0) #2
  br label %18

18:                                               ; preds = %17, %8, %4
  %19 = getelementptr inbounds i8, ptr %0, i64 627
  %20 = load i8, ptr %19, align 1, !tbaa !21
  %.not70 = icmp eq i8 %20, 0
  br i1 %.not70, label %68, label %21

21:                                               ; preds = %18
  %22 = getelementptr inbounds i8, ptr %0, i64 296
  %23 = load i64, ptr %22, align 8, !tbaa !22
  %24 = and i64 %23, 2
  %.not71 = icmp eq i64 %24, 0
  br i1 %.not71, label %68, label %25

25:                                               ; preds = %21
  %26 = getelementptr inbounds i8, ptr %0, i64 628
  %27 = load i8, ptr %26, align 4, !tbaa !19
  switch i8 %27, label %68 [
    i8 0, label %28
    i8 1, label %32
    i8 2, label %40
    i8 3, label %44
    i8 4, label %52
    i8 5, label %56
    i8 6, label %64
  ]

28:                                               ; preds = %25
  %29 = load i64, ptr %5, align 8, !tbaa !5
  %30 = and i64 %29, 7
  %.not78 = icmp eq i64 %30, 0
  br i1 %.not78, label %68, label %31

31:                                               ; preds = %28
  tail call void @png_write_finish_row(ptr noundef nonnull %0) #2
  br label %138

32:                                               ; preds = %25
  %33 = load i64, ptr %5, align 8, !tbaa !5
  %34 = and i64 %33, 7
  %.not77 = icmp eq i64 %34, 0
  br i1 %.not77, label %35, label %39

35:                                               ; preds = %32
  %36 = getelementptr inbounds i8, ptr %0, i64 456
  %37 = load i64, ptr %36, align 8, !tbaa !23
  %38 = icmp ult i64 %37, 5
  br i1 %38, label %39, label %68

39:                                               ; preds = %35, %32
  tail call void @png_write_finish_row(ptr noundef nonnull %0) #2
  br label %138

40:                                               ; preds = %25
  %41 = load i64, ptr %5, align 8, !tbaa !5
  %42 = and i64 %41, 7
  %.not76 = icmp eq i64 %42, 4
  br i1 %.not76, label %68, label %43

43:                                               ; preds = %40
  tail call void @png_write_finish_row(ptr noundef nonnull %0) #2
  br label %138

44:                                               ; preds = %25
  %45 = load i64, ptr %5, align 8, !tbaa !5
  %46 = and i64 %45, 3
  %.not75 = icmp eq i64 %46, 0
  br i1 %.not75, label %47, label %51

47:                                               ; preds = %44
  %48 = getelementptr inbounds i8, ptr %0, i64 456
  %49 = load i64, ptr %48, align 8, !tbaa !23
  %50 = icmp ult i64 %49, 3
  br i1 %50, label %51, label %68

51:                                               ; preds = %47, %44
  tail call void @png_write_finish_row(ptr noundef nonnull %0) #2
  br label %138

52:                                               ; preds = %25
  %53 = load i64, ptr %5, align 8, !tbaa !5
  %54 = and i64 %53, 3
  %.not74 = icmp eq i64 %54, 2
  br i1 %.not74, label %68, label %55

55:                                               ; preds = %52
  tail call void @png_write_finish_row(ptr noundef nonnull %0) #2
  br label %138

56:                                               ; preds = %25
  %57 = load i64, ptr %5, align 8, !tbaa !5
  %58 = and i64 %57, 1
  %.not73 = icmp eq i64 %58, 0
  br i1 %.not73, label %59, label %63

59:                                               ; preds = %56
  %60 = getelementptr inbounds i8, ptr %0, i64 456
  %61 = load i64, ptr %60, align 8, !tbaa !23
  %62 = icmp ult i64 %61, 2
  br i1 %62, label %63, label %68

63:                                               ; preds = %59, %56
  tail call void @png_write_finish_row(ptr noundef nonnull %0) #2
  br label %138

64:                                               ; preds = %25
  %65 = load i64, ptr %5, align 8, !tbaa !5
  %66 = and i64 %65, 1
  %.not72 = icmp eq i64 %66, 0
  br i1 %.not72, label %67, label %68

67:                                               ; preds = %64
  tail call void @png_write_finish_row(ptr noundef nonnull %0) #2
  br label %138

68:                                               ; preds = %25, %28, %35, %40, %47, %52, %59, %64, %21, %18
  %69 = getelementptr inbounds i8, ptr %0, i64 630
  %70 = load i8, ptr %69, align 2, !tbaa !24
  %71 = getelementptr inbounds i8, ptr %0, i64 568
  %72 = getelementptr inbounds i8, ptr %0, i64 584
  store i8 %70, ptr %72, align 8, !tbaa !25
  %73 = getelementptr inbounds i8, ptr %0, i64 480
  %74 = load i64, ptr %73, align 8, !tbaa !26
  store i64 %74, ptr %71, align 8, !tbaa !27
  %75 = getelementptr inbounds i8, ptr %0, i64 635
  %76 = load i8, ptr %75, align 1, !tbaa !28
  %77 = getelementptr inbounds i8, ptr %0, i64 586
  store i8 %76, ptr %77, align 2, !tbaa !29
  %78 = getelementptr inbounds i8, ptr %0, i64 632
  %79 = load i8, ptr %78, align 8, !tbaa !30
  %80 = getelementptr inbounds i8, ptr %0, i64 585
  store i8 %79, ptr %80, align 1, !tbaa !31
  %81 = mul i8 %79, %76
  %82 = getelementptr inbounds i8, ptr %0, i64 587
  store i8 %81, ptr %82, align 1, !tbaa !32
  %83 = icmp ugt i8 %81, 7
  br i1 %83, label %84, label %88

84:                                               ; preds = %68
  %85 = lshr i8 %81, 3
  %86 = zext nneg i8 %85 to i64
  %87 = mul i64 %74, %86
  br label %93

88:                                               ; preds = %68
  %89 = zext nneg i8 %81 to i64
  %90 = mul i64 %74, %89
  %91 = add i64 %90, 7
  %92 = lshr i64 %91, 3
  br label %93

93:                                               ; preds = %88, %84
  %94 = phi i64 [ %87, %84 ], [ %92, %88 ]
  %95 = getelementptr inbounds i8, ptr %0, i64 576
  store i64 %94, ptr %95, align 8, !tbaa !33
  %96 = getelementptr inbounds i8, ptr %0, i64 528
  %97 = load ptr, ptr %96, align 8, !tbaa !34
  %98 = getelementptr inbounds i8, ptr %97, i64 1
  %99 = tail call ptr @png_memcpy_check(ptr noundef nonnull %0, ptr noundef nonnull %98, ptr noundef %1, i64 noundef %94) #2
  %100 = load i8, ptr %19, align 1, !tbaa !21
  %.not79 = icmp eq i8 %100, 0
  br i1 %.not79, label %115, label %101

101:                                              ; preds = %93
  %102 = getelementptr inbounds i8, ptr %0, i64 628
  %103 = load i8, ptr %102, align 4, !tbaa !19
  %104 = zext i8 %103 to i32
  %105 = icmp ult i8 %103, 6
  br i1 %105, label %106, label %115

106:                                              ; preds = %101
  %107 = getelementptr inbounds i8, ptr %0, i64 296
  %108 = load i64, ptr %107, align 8, !tbaa !22
  %109 = and i64 %108, 2
  %.not80 = icmp eq i64 %109, 0
  br i1 %.not80, label %115, label %110

110:                                              ; preds = %106
  %111 = load ptr, ptr %96, align 8, !tbaa !34
  %112 = getelementptr inbounds i8, ptr %111, i64 1
  tail call void @png_do_write_interlace(ptr noundef nonnull %71, ptr noundef nonnull %112, i32 noundef %104) #2
  %113 = load i64, ptr %71, align 8, !tbaa !27
  %.not81 = icmp eq i64 %113, 0
  br i1 %.not81, label %114, label %115

114:                                              ; preds = %110
  tail call void @png_write_finish_row(ptr noundef nonnull %0) #2
  br label %138

115:                                              ; preds = %110, %106, %101, %93
  %116 = getelementptr inbounds i8, ptr %0, i64 296
  %117 = load i64, ptr %116, align 8, !tbaa !22
  %.not82 = icmp eq i64 %117, 0
  br i1 %.not82, label %119, label %118

118:                                              ; preds = %115
  tail call void @png_do_write_transformations(ptr noundef nonnull %0) #2
  br label %119

119:                                              ; preds = %118, %115
  %120 = getelementptr inbounds i8, ptr %0, i64 1088
  %121 = load i64, ptr %120, align 8, !tbaa !35
  %122 = and i64 %121, 4
  %.not83 = icmp eq i64 %122, 0
  br i1 %.not83, label %130, label %123

123:                                              ; preds = %119
  %124 = getelementptr inbounds i8, ptr %0, i64 1104
  %125 = load i8, ptr %124, align 8, !tbaa !36
  %126 = icmp eq i8 %125, 64
  br i1 %126, label %127, label %130

127:                                              ; preds = %123
  %128 = load ptr, ptr %96, align 8, !tbaa !34
  %129 = getelementptr inbounds i8, ptr %128, i64 1
  tail call void @png_do_write_intrapixel(ptr noundef nonnull %71, ptr noundef nonnull %129) #2
  br label %130

130:                                              ; preds = %127, %123, %119
  tail call void @png_write_find_filter(ptr noundef nonnull %0, ptr noundef nonnull %71) #2
  %131 = getelementptr inbounds i8, ptr %0, i64 808
  %132 = load ptr, ptr %131, align 8, !tbaa !37
  %.not84 = icmp eq ptr %132, null
  br i1 %.not84, label %138, label %133

133:                                              ; preds = %130
  %134 = load i64, ptr %5, align 8, !tbaa !5
  %135 = getelementptr inbounds i8, ptr %0, i64 628
  %136 = load i8, ptr %135, align 4, !tbaa !19
  %137 = zext i8 %136 to i32
  tail call void %132(ptr noundef nonnull %0, i64 noundef %134, i32 noundef %137) #2
  br label %138

138:                                              ; preds = %2, %133, %130, %114, %67, %63, %55, %51, %43, %39, %31
  ret void
}

declare void @png_write_start_row(ptr noundef) local_unnamed_addr #0

declare void @png_write_finish_row(ptr noundef) local_unnamed_addr #0

declare ptr @png_memcpy_check(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #0

declare void @png_do_write_interlace(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

declare void @png_do_write_transformations(ptr noundef) local_unnamed_addr #0

declare void @png_do_write_intrapixel(ptr noundef, ptr noundef) local_unnamed_addr #0

declare void @png_write_find_filter(ptr noundef, ptr noundef) local_unnamed_addr #0

attributes #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 #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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, !10, i64 512}
!6 = !{!"png_struct_def", !7, i64 0, !9, i64 200, !9, i64 208, !9, i64 216, !9, i64 224, !9, i64 232, !9, i64 240, !9, i64 248, !9, i64 256, !9, i64 264, !7, i64 272, !7, i64 273, !10, i64 280, !10, i64 288, !10, i64 296, !11, i64 304, !9, i64 416, !10, i64 424, !12, i64 432, !12, i64 436, !12, i64 440, !12, i64 444, !12, i64 448, !10, i64 456, !10, i64 464, !10, i64 472, !10, i64 480, !10, i64 488, !10, i64 496, !10, i64 504, !10, i64 512, !9, i64 520, !9, i64 528, !9, i64 536, !9, i64 544, !9, i64 552, !9, i64 560, !13, i64 568, !10, i64 592, !10, i64 600, !9, i64 608, !14, i64 616, !14, i64 618, !7, i64 620, !7, i64 625, !7, i64 626, !7, i64 627, !7, i64 628, !7, i64 629, !7, i64 630, !7, i64 631, !7, i64 632, !7, i64 633, !7, i64 634, !7, i64 635, !7, i64 636, !14, i64 638, !7, i64 640, !15, i64 644, !16, i64 648, !16, i64 658, !9, i64 672, !10, i64 680, !10, i64 688, !12, i64 696, !15, i64 700, !15, i64 704, !9, i64 712, !9, i64 720, !9, i64 728, !9, i64 736, !9, i64 744, !9, i64 752, !17, i64 760, !17, i64 765, !9, i64 776, !16, i64 784, !9, i64 800, !9, i64 808, !9, i64 816, !9, i64 824, !9, i64 832, !9, i64 840, !9, i64 848, !9, i64 856, !9, i64 864, !10, i64 872, !10, i64 880, !10, i64 888, !10, i64 896, !10, i64 904, !10, i64 912, !12, i64 920, !12, i64 924, !10, i64 928, !10, i64 936, !9, i64 944, !9, i64 952, !9, i64 960, !9, i64 968, !9, i64 976, !7, i64 984, !7, i64 985, !9, i64 992, !9, i64 1000, !9, i64 1008, !9, i64 1016, !9, i64 1024, !9, i64 1032, !10, i64 1040, !9, i64 1048, !9, i64 1056, !12, i64 1064, !9, i64 1072, !7, i64 1080, !14, i64 1082, !14, i64 1084, !14, i64 1086, !10, i64 1088, !10, i64 1096, !7, i64 1104, !7, i64 1105, !10, i64 1112, !10, i64 1120, !9, i64 1128, !9, i64 1136, !9, i64 1144, !9, i64 1152, !9, i64 1160, !9, i64 1168, !9, i64 1176, !7, i64 1184, !10, i64 1192, !10, i64 1200, !18, i64 1208, !10, i64 1240, !10, i64 1248, !9, i64 1256}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!"any pointer", !7, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!"z_stream_s", !9, i64 0, !12, i64 8, !10, i64 16, !9, i64 24, !12, i64 32, !10, i64 40, !9, i64 48, !9, i64 56, !9, i64 64, !9, i64 72, !9, i64 80, !12, i64 88, !10, i64 96, !10, i64 104}
!12 = !{!"int", !7, i64 0}
!13 = !{!"png_row_info_struct", !10, i64 0, !10, i64 8, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19}
!14 = !{!"short", !7, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = !{!"png_color_16_struct", !7, i64 0, !14, i64 2, !14, i64 4, !14, i64 6, !14, i64 8}
!17 = !{!"png_color_8_struct", !7, i64 0, !7, i64 1, !7, i64 2, !7, i64 3, !7, i64 4}
!18 = !{!"png_unknown_chunk_t", !7, i64 0, !9, i64 8, !10, i64 16, !7, i64 24}
!19 = !{!6, !7, i64 628}
!20 = !{!6, !10, i64 280}
!21 = !{!6, !7, i64 627}
!22 = !{!6, !10, i64 296}
!23 = !{!6, !10, i64 456}
!24 = !{!6, !7, i64 630}
!25 = !{!6, !7, i64 584}
!26 = !{!6, !10, i64 480}
!27 = !{!6, !10, i64 568}
!28 = !{!6, !7, i64 635}
!29 = !{!6, !7, i64 586}
!30 = !{!6, !7, i64 632}
!31 = !{!6, !7, i64 585}
!32 = !{!6, !7, i64 587}
!33 = !{!6, !10, i64 576}
!34 = !{!6, !9, i64 528}
!35 = !{!6, !10, i64 1088}
!36 = !{!6, !7, i64 1104}
!37 = !{!6, !9, i64 808}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass