; LLVM IR from mkazhdan/DMG :: Util/ZLIB (gzio)

; 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.gz_stream = type { %struct.z_stream_s, i32, i32, ptr, ptr, ptr, i64, ptr, ptr, i32, i8, i64 }
%struct.z_stream_s = type { ptr, i32, i64, ptr, i32, i64, ptr, ptr, ptr, ptr, ptr, i32, i64, i64 }

; 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: nounwind uwtable
define dso_local i32 @gzread(ptr noundef %0, ptr noundef %1, i32 noundef %2) #1 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %15, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %16, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %17 = load ptr, ptr %8, align 8, !tbaa !5
  %18 = icmp eq ptr %17, null
  br i1 %18, label %25, label %19

19:                                               ; preds = %3
  %20 = load ptr, ptr %8, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.gz_stream, ptr %20, i32 0, i32 10
  %22 = load i8, ptr %21, align 4, !tbaa !11
  %23 = sext i8 %22 to i32
  %24 = icmp ne i32 %23, 114
  br i1 %24, label %25, label %26

25:                                               ; preds = %19, %3
  store i32 -2, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %329

26:                                               ; preds = %19
  %27 = load ptr, ptr %8, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.gz_stream, ptr %27, i32 0, i32 1
  %29 = load i32, ptr %28, align 8, !tbaa !15
  %30 = icmp eq i32 %29, -3
  br i1 %30, label %36, label %31

31:                                               ; preds = %26
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.gz_stream, ptr %32, i32 0, i32 1
  %34 = load i32, ptr %33, align 8, !tbaa !15
  %35 = icmp eq i32 %34, -1
  br i1 %35, label %36, label %37

36:                                               ; preds = %31, %26
  store i32 -1, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %329

37:                                               ; preds = %31
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.gz_stream, ptr %38, i32 0, i32 1
  %40 = load i32, ptr %39, align 8, !tbaa !15
  %41 = icmp eq i32 %40, 1
  br i1 %41, label %42, label %43

42:                                               ; preds = %37
  store i32 0, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %329

43:                                               ; preds = %37
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %44, ptr %10, align 8, !tbaa !5
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.gz_stream, ptr %46, i32 0, i32 0
  %48 = getelementptr inbounds %struct.z_stream_s, ptr %47, i32 0, i32 3
  store ptr %45, ptr %48, align 8, !tbaa !16
  %49 = load i32, ptr %7, align 4, !tbaa !9
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.gz_stream, ptr %50, i32 0, i32 0
  %52 = getelementptr inbounds %struct.z_stream_s, ptr %51, i32 0, i32 4
  store i32 %49, ptr %52, align 8, !tbaa !17
  br label %53

53:                                               ; preds = %305, %43
  %54 = load ptr, ptr %8, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.gz_stream, ptr %54, i32 0, i32 0
  %56 = getelementptr inbounds %struct.z_stream_s, ptr %55, i32 0, i32 4
  %57 = load i32, ptr %56, align 8, !tbaa !17
  %58 = icmp ne i32 %57, 0
  br i1 %58, label %59, label %306

59:                                               ; preds = %53
  %60 = load ptr, ptr %8, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.gz_stream, ptr %60, i32 0, i32 9
  %62 = load i32, ptr %61, align 8, !tbaa !18
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %64, label %173

64:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.gz_stream, ptr %65, i32 0, i32 0
  %67 = getelementptr inbounds %struct.z_stream_s, ptr %66, i32 0, i32 1
  %68 = load i32, ptr %67, align 8, !tbaa !19
  store i32 %68, ptr %12, align 4, !tbaa !9
  %69 = load i32, ptr %12, align 4, !tbaa !9
  %70 = load ptr, ptr %8, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.gz_stream, ptr %70, i32 0, i32 0
  %72 = getelementptr inbounds %struct.z_stream_s, ptr %71, i32 0, i32 4
  %73 = load i32, ptr %72, align 8, !tbaa !17
  %74 = icmp ugt i32 %69, %73
  br i1 %74, label %75, label %80

75:                                               ; preds = %64
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.gz_stream, ptr %76, i32 0, i32 0
  %78 = getelementptr inbounds %struct.z_stream_s, ptr %77, i32 0, i32 4
  %79 = load i32, ptr %78, align 8, !tbaa !17
  store i32 %79, ptr %12, align 4, !tbaa !9
  br label %80

80:                                               ; preds = %75, %64
  %81 = load i32, ptr %12, align 4, !tbaa !9
  %82 = icmp ugt i32 %81, 0
  br i1 %82, label %83, label %121

83:                                               ; preds = %80
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.gz_stream, ptr %84, i32 0, i32 0
  %86 = getelementptr inbounds %struct.z_stream_s, ptr %85, i32 0, i32 3
  %87 = load ptr, ptr %86, align 8, !tbaa !16
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.gz_stream, ptr %88, i32 0, i32 0
  %90 = getelementptr inbounds %struct.z_stream_s, ptr %89, i32 0, i32 0
  %91 = load ptr, ptr %90, align 8, !tbaa !20
  %92 = load i32, ptr %12, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %87, ptr align 1 %91, i64 %93, i1 false)
  %94 = load i32, ptr %12, align 4, !tbaa !9
  %95 = load ptr, ptr %10, align 8, !tbaa !5
  %96 = zext i32 %94 to i64
  %97 = getelementptr inbounds i8, ptr %95, i64 %96
  store ptr %97, ptr %10, align 8, !tbaa !5
  %98 = load ptr, ptr %10, align 8, !tbaa !5
  %99 = load ptr, ptr %8, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.gz_stream, ptr %99, i32 0, i32 0
  %101 = getelementptr inbounds %struct.z_stream_s, ptr %100, i32 0, i32 3
  store ptr %98, ptr %101, align 8, !tbaa !16
  %102 = load i32, ptr %12, align 4, !tbaa !9
  %103 = load ptr, ptr %8, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.gz_stream, ptr %103, i32 0, i32 0
  %105 = getelementptr inbounds %struct.z_stream_s, ptr %104, i32 0, i32 0
  %106 = load ptr, ptr %105, align 8, !tbaa !20
  %107 = zext i32 %102 to i64
  %108 = getelementptr inbounds i8, ptr %106, i64 %107
  store ptr %108, ptr %105, align 8, !tbaa !20
  %109 = load i32, ptr %12, align 4, !tbaa !9
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.gz_stream, ptr %110, i32 0, i32 0
  %112 = getelementptr inbounds %struct.z_stream_s, ptr %111, i32 0, i32 4
  %113 = load i32, ptr %112, align 8, !tbaa !17
  %114 = sub i32 %113, %109
  store i32 %114, ptr %112, align 8, !tbaa !17
  %115 = load i32, ptr %12, align 4, !tbaa !9
  %116 = load ptr, ptr %8, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.gz_stream, ptr %116, i32 0, i32 0
  %118 = getelementptr inbounds %struct.z_stream_s, ptr %117, i32 0, i32 1
  %119 = load i32, ptr %118, align 8, !tbaa !19
  %120 = sub i32 %119, %115
  store i32 %120, ptr %118, align 8, !tbaa !19
  br label %121

121:                                              ; preds = %83, %80
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.gz_stream, ptr %122, i32 0, i32 0
  %124 = getelementptr inbounds %struct.z_stream_s, ptr %123, i32 0, i32 4
  %125 = load i32, ptr %124, align 8, !tbaa !17
  %126 = icmp ugt i32 %125, 0
  br i1 %126, label %127, label %145

127:                                              ; preds = %121
  %128 = load ptr, ptr %10, align 8, !tbaa !5
  %129 = load ptr, ptr %8, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.gz_stream, ptr %129, i32 0, i32 0
  %131 = getelementptr inbounds %struct.z_stream_s, ptr %130, i32 0, i32 4
  %132 = load i32, ptr %131, align 8, !tbaa !17
  %133 = zext i32 %132 to i64
  %134 = load ptr, ptr %8, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.gz_stream, ptr %134, i32 0, i32 3
  %136 = load ptr, ptr %135, align 8, !tbaa !21
  %137 = call i64 @fread(ptr noundef %128, i64 noundef 1, i64 noundef %133, ptr noundef %136)
  %138 = load ptr, ptr %8, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.gz_stream, ptr %138, i32 0, i32 0
  %140 = getelementptr inbounds %struct.z_stream_s, ptr %139, i32 0, i32 4
  %141 = load i32, ptr %140, align 8, !tbaa !17
  %142 = zext i32 %141 to i64
  %143 = sub i64 %142, %137
  %144 = trunc i64 %143 to i32
  store i32 %144, ptr %140, align 8, !tbaa !17
  br label %145

145:                                              ; preds = %127, %121
  %146 = load ptr, ptr %8, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.gz_stream, ptr %146, i32 0, i32 0
  %148 = getelementptr inbounds %struct.z_stream_s, ptr %147, i32 0, i32 4
  %149 = load i32, ptr %148, align 8, !tbaa !17
  %150 = load i32, ptr %7, align 4, !tbaa !9
  %151 = sub i32 %150, %149
  store i32 %151, ptr %7, align 4, !tbaa !9
  %152 = load i32, ptr %7, align 4, !tbaa !9
  %153 = zext i32 %152 to i64
  %154 = load ptr, ptr %8, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.gz_stream, ptr %154, i32 0, i32 0
  %156 = getelementptr inbounds %struct.z_stream_s, ptr %155, i32 0, i32 2
  %157 = load i64, ptr %156, align 8, !tbaa !22
  %158 = add i64 %157, %153
  store i64 %158, ptr %156, align 8, !tbaa !22
  %159 = load i32, ptr %7, align 4, !tbaa !9
  %160 = zext i32 %159 to i64
  %161 = load ptr, ptr %8, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.gz_stream, ptr %161, i32 0, i32 0
  %163 = getelementptr inbounds %struct.z_stream_s, ptr %162, i32 0, i32 5
  %164 = load i64, ptr %163, align 8, !tbaa !23
  %165 = add i64 %164, %160
  store i64 %165, ptr %163, align 8, !tbaa !23
  %166 = load i32, ptr %7, align 4, !tbaa !9
  %167 = icmp eq i32 %166, 0
  br i1 %167, label %168, label %171

168:                                              ; preds = %145
  %169 = load ptr, ptr %8, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.gz_stream, ptr %169, i32 0, i32 2
  store i32 1, ptr %170, align 4, !tbaa !24
  br label %171

171:                                              ; preds = %168, %145
  %172 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %172, ptr %4, align 4
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %329

173:                                              ; preds = %59
  %174 = load ptr, ptr %8, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.gz_stream, ptr %174, i32 0, i32 0
  %176 = getelementptr inbounds %struct.z_stream_s, ptr %175, i32 0, i32 1
  %177 = load i32, ptr %176, align 8, !tbaa !19
  %178 = icmp eq i32 %177, 0
  br i1 %178, label %179, label %221

179:                                              ; preds = %173
  %180 = load ptr, ptr %8, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.gz_stream, ptr %180, i32 0, i32 2
  %182 = load i32, ptr %181, align 4, !tbaa !24
  %183 = icmp ne i32 %182, 0
  br i1 %183, label %221, label %184

184:                                              ; preds = %179
  %185 = call ptr @__errno_location() #7
  store i32 0, ptr %185, align 4, !tbaa !9
  %186 = load ptr, ptr %8, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.gz_stream, ptr %186, i32 0, i32 4
  %188 = load ptr, ptr %187, align 8, !tbaa !25
  %189 = load ptr, ptr %8, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.gz_stream, ptr %189, i32 0, i32 3
  %191 = load ptr, ptr %190, align 8, !tbaa !21
  %192 = call i64 @fread(ptr noundef %188, i64 noundef 1, i64 noundef 16384, ptr noundef %191)
  %193 = trunc i64 %192 to i32
  %194 = load ptr, ptr %8, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.gz_stream, ptr %194, i32 0, i32 0
  %196 = getelementptr inbounds %struct.z_stream_s, ptr %195, i32 0, i32 1
  store i32 %193, ptr %196, align 8, !tbaa !19
  %197 = load ptr, ptr %8, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.gz_stream, ptr %197, i32 0, i32 0
  %199 = getelementptr inbounds %struct.z_stream_s, ptr %198, i32 0, i32 1
  %200 = load i32, ptr %199, align 8, !tbaa !19
  %201 = icmp eq i32 %200, 0
  br i1 %201, label %202, label %214

202:                                              ; preds = %184
  %203 = load ptr, ptr %8, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.gz_stream, ptr %203, i32 0, i32 2
  store i32 1, ptr %204, align 4, !tbaa !24
  %205 = load ptr, ptr %8, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.gz_stream, ptr %205, i32 0, i32 3
  %207 = load ptr, ptr %206, align 8, !tbaa !21
  %208 = call i32 @ferror(ptr noundef %207) #6
  %209 = icmp ne i32 %208, 0
  br i1 %209, label %210, label %213

210:                                              ; preds = %202
  %211 = load ptr, ptr %8, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.gz_stream, ptr %211, i32 0, i32 1
  store i32 -1, ptr %212, align 8, !tbaa !15
  br label %306

213:                                              ; preds = %202
  br label %214

214:                                              ; preds = %213, %184
  %215 = load ptr, ptr %8, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.gz_stream, ptr %215, i32 0, i32 4
  %217 = load ptr, ptr %216, align 8, !tbaa !25
  %218 = load ptr, ptr %8, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.gz_stream, ptr %218, i32 0, i32 0
  %220 = getelementptr inbounds %struct.z_stream_s, ptr %219, i32 0, i32 0
  store ptr %217, ptr %220, align 8, !tbaa !20
  br label %221

221:                                              ; preds = %214, %179, %173
  %222 = load ptr, ptr %8, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.gz_stream, ptr %222, i32 0, i32 0
  %224 = call i32 @inflate(ptr noundef %223, i32 noundef 0)
  %225 = load ptr, ptr %8, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.gz_stream, ptr %225, i32 0, i32 1
  store i32 %224, ptr %226, align 8, !tbaa !15
  %227 = load ptr, ptr %8, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.gz_stream, ptr %227, i32 0, i32 1
  %229 = load i32, ptr %228, align 8, !tbaa !15
  %230 = icmp eq i32 %229, 1
  br i1 %230, label %231, label %294

231:                                              ; preds = %221
  %232 = load ptr, ptr %8, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.gz_stream, ptr %232, i32 0, i32 6
  %234 = load i64, ptr %233, align 8, !tbaa !26
  %235 = load ptr, ptr %9, align 8, !tbaa !5
  %236 = load ptr, ptr %8, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.gz_stream, ptr %236, i32 0, i32 0
  %238 = getelementptr inbounds %struct.z_stream_s, ptr %237, i32 0, i32 3
  %239 = load ptr, ptr %238, align 8, !tbaa !16
  %240 = load ptr, ptr %9, align 8, !tbaa !5
  %241 = ptrtoint ptr %239 to i64
  %242 = ptrtoint ptr %240 to i64
  %243 = sub i64 %241, %242
  %244 = trunc i64 %243 to i32
  %245 = call i64 @crc32(i64 noundef %234, ptr noundef %235, i32 noundef %244)
  %246 = load ptr, ptr %8, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.gz_stream, ptr %246, i32 0, i32 6
  store i64 %245, ptr %247, align 8, !tbaa !26
  %248 = load ptr, ptr %8, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.gz_stream, ptr %248, i32 0, i32 0
  %250 = getelementptr inbounds %struct.z_stream_s, ptr %249, i32 0, i32 3
  %251 = load ptr, ptr %250, align 8, !tbaa !16
  store ptr %251, ptr %9, align 8, !tbaa !5
  %252 = load ptr, ptr %8, align 8, !tbaa !5
  %253 = call i64 @getLong(ptr noundef %252)
  %254 = load ptr, ptr %8, align 8, !tbaa !5
  %255 = getelementptr inbounds %struct.gz_stream, ptr %254, i32 0, i32 6
  %256 = load i64, ptr %255, align 8, !tbaa !26
  %257 = icmp ne i64 %253, %256
  br i1 %257, label %258, label %261

258:                                              ; preds = %231
  %259 = load ptr, ptr %8, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.gz_stream, ptr %259, i32 0, i32 1
  store i32 -3, ptr %260, align 8, !tbaa !15
  br label %293

261:                                              ; preds = %231
  %262 = load ptr, ptr %8, align 8, !tbaa !5
  %263 = call i64 @getLong(ptr noundef %262)
  %264 = load ptr, ptr %8, align 8, !tbaa !5
  call void @check_header(ptr noundef %264)
  %265 = load ptr, ptr %8, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.gz_stream, ptr %265, i32 0, i32 1
  %267 = load i32, ptr %266, align 8, !tbaa !15
  %268 = icmp eq i32 %267, 0
  br i1 %268, label %269, label %292

269:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %270 = load ptr, ptr %8, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.gz_stream, ptr %270, i32 0, i32 0
  %272 = getelementptr inbounds %struct.z_stream_s, ptr %271, i32 0, i32 2
  %273 = load i64, ptr %272, align 8, !tbaa !22
  store i64 %273, ptr %13, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %274 = load ptr, ptr %8, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.gz_stream, ptr %274, i32 0, i32 0
  %276 = getelementptr inbounds %struct.z_stream_s, ptr %275, i32 0, i32 5
  %277 = load i64, ptr %276, align 8, !tbaa !23
  store i64 %277, ptr %14, align 8, !tbaa !27
  %278 = load ptr, ptr %8, align 8, !tbaa !5
  %279 = getelementptr inbounds %struct.gz_stream, ptr %278, i32 0, i32 0
  %280 = call i32 @inflateReset(ptr noundef %279)
  %281 = load i64, ptr %13, align 8, !tbaa !27
  %282 = load ptr, ptr %8, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.gz_stream, ptr %282, i32 0, i32 0
  %284 = getelementptr inbounds %struct.z_stream_s, ptr %283, i32 0, i32 2
  store i64 %281, ptr %284, align 8, !tbaa !22
  %285 = load i64, ptr %14, align 8, !tbaa !27
  %286 = load ptr, ptr %8, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.gz_stream, ptr %286, i32 0, i32 0
  %288 = getelementptr inbounds %struct.z_stream_s, ptr %287, i32 0, i32 5
  store i64 %285, ptr %288, align 8, !tbaa !23
  %289 = call i64 @crc32(i64 noundef 0, ptr noundef null, i32 noundef 0)
  %290 = load ptr, ptr %8, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.gz_stream, ptr %290, i32 0, i32 6
  store i64 %289, ptr %291, align 8, !tbaa !26
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %292

292:                                              ; preds = %269, %261
  br label %293

293:                                              ; preds = %292, %258
  br label %294

294:                                              ; preds = %293, %221
  %295 = load ptr, ptr %8, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.gz_stream, ptr %295, i32 0, i32 1
  %297 = load i32, ptr %296, align 8, !tbaa !15
  %298 = icmp ne i32 %297, 0
  br i1 %298, label %304, label %299

299:                                              ; preds = %294
  %300 = load ptr, ptr %8, align 8, !tbaa !5
  %301 = getelementptr inbounds %struct.gz_stream, ptr %300, i32 0, i32 2
  %302 = load i32, ptr %301, align 4, !tbaa !24
  %303 = icmp ne i32 %302, 0
  br i1 %303, label %304, label %305

304:                                              ; preds = %299, %294
  br label %306

305:                                              ; preds = %299
  br label %53, !llvm.loop !28

306:                                              ; preds = %304, %210, %53
  %307 = load ptr, ptr %8, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.gz_stream, ptr %307, i32 0, i32 6
  %309 = load i64, ptr %308, align 8, !tbaa !26
  %310 = load ptr, ptr %9, align 8, !tbaa !5
  %311 = load ptr, ptr %8, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.gz_stream, ptr %311, i32 0, i32 0
  %313 = getelementptr inbounds %struct.z_stream_s, ptr %312, i32 0, i32 3
  %314 = load ptr, ptr %313, align 8, !tbaa !16
  %315 = load ptr, ptr %9, align 8, !tbaa !5
  %316 = ptrtoint ptr %314 to i64
  %317 = ptrtoint ptr %315 to i64
  %318 = sub i64 %316, %317
  %319 = trunc i64 %318 to i32
  %320 = call i64 @crc32(i64 noundef %309, ptr noundef %310, i32 noundef %319)
  %321 = load ptr, ptr %8, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.gz_stream, ptr %321, i32 0, i32 6
  store i64 %320, ptr %322, align 8, !tbaa !26
  %323 = load i32, ptr %7, align 4, !tbaa !9
  %324 = load ptr, ptr %8, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.gz_stream, ptr %324, i32 0, i32 0
  %326 = getelementptr inbounds %struct.z_stream_s, ptr %325, i32 0, i32 4
  %327 = load i32, ptr %326, align 8, !tbaa !17
  %328 = sub i32 %323, %327
  store i32 %328, ptr %4, align 4
  store i32 1, ptr %11, align 4
  br label %329

329:                                              ; preds = %306, %171, %42, %36, %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  %330 = load i32, ptr %4, align 4
  ret i32 %330
}

; 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

declare i64 @fread(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #3

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #4

; Function Attrs: nounwind
declare i32 @ferror(ptr noundef) #5

declare i32 @inflate(ptr noundef, i32 noundef) #3

declare i64 @crc32(i64 noundef, ptr noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
declare hidden i64 @getLong(ptr noundef) #1

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

declare i32 @inflateReset(ptr noundef) #3

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

!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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !7, i64 172}
!12 = !{!"gz_stream", !13, i64 0, !10, i64 112, !10, i64 116, !6, i64 120, !6, i64 128, !6, i64 136, !14, i64 144, !6, i64 152, !6, i64 160, !10, i64 168, !7, i64 172, !14, i64 176}
!13 = !{!"z_stream_s", !6, i64 0, !10, i64 8, !14, i64 16, !6, i64 24, !10, i64 32, !14, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !10, i64 88, !14, i64 96, !14, i64 104}
!14 = !{!"long", !7, i64 0}
!15 = !{!12, !10, i64 112}
!16 = !{!12, !6, i64 24}
!17 = !{!12, !10, i64 32}
!18 = !{!12, !10, i64 168}
!19 = !{!12, !10, i64 8}
!20 = !{!12, !6, i64 0}
!21 = !{!12, !6, i64 120}
!22 = !{!12, !14, i64 16}
!23 = !{!12, !14, i64 40}
!24 = !{!12, !10, i64 116}
!25 = !{!12, !6, i64 128}
!26 = !{!12, !14, i64 144}
!27 = !{!14, !14, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}


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

; Function Attrs: nounwind uwtable
define dso_local i32 @gzread(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = icmp eq ptr %0, null
  br i1 %4, label %107, label %5

5:                                                ; preds = %3
  %6 = getelementptr inbounds i8, ptr %0, i64 172
  %7 = load i8, ptr %6, align 4, !tbaa !5
  %.not = icmp eq i8 %7, 114
  br i1 %.not, label %8, label %107

8:                                                ; preds = %5
  %9 = getelementptr inbounds i8, ptr %0, i64 112
  %10 = load i32, ptr %9, align 8, !tbaa !13
  switch i32 %10, label %12 [
    i32 -3, label %107
    i32 -1, label %107
    i32 1, label %11
  ]

11:                                               ; preds = %8
  br label %107

12:                                               ; preds = %8
  %13 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr %1, ptr %13, align 8, !tbaa !14
  %14 = getelementptr inbounds i8, ptr %0, i64 32
  store i32 %2, ptr %14, align 8, !tbaa !15
  %.not97118 = icmp eq i32 %2, 0
  br i1 %.not97118, label %.thread, label %.lr.ph

.lr.ph:                                           ; preds = %12
  %15 = getelementptr inbounds i8, ptr %0, i64 168
  %16 = getelementptr inbounds i8, ptr %0, i64 8
  %17 = getelementptr inbounds i8, ptr %0, i64 116
  %18 = getelementptr inbounds i8, ptr %0, i64 128
  %19 = getelementptr inbounds i8, ptr %0, i64 120
  %20 = getelementptr inbounds i8, ptr %0, i64 144
  %21 = getelementptr inbounds i8, ptr %0, i64 16
  %22 = getelementptr inbounds i8, ptr %0, i64 40
  %23 = load i32, ptr %15, align 8, !tbaa !16
  %.not98146 = icmp eq i32 %23, 0
  br i1 %.not98146, label %.lr.ph149, label %._crit_edge

thread-pre-split:                                 ; preds = %95
  %.pr = load i32, ptr %14, align 8, !tbaa !15
  %.not97 = icmp eq i32 %.pr, 0
  br i1 %.not97, label %.thread, label %24

24:                                               ; preds = %thread-pre-split
  %25 = load i32, ptr %15, align 8, !tbaa !16
  %.not98 = icmp eq i32 %25, 0
  br i1 %.not98, label %.lr.ph149, label %._crit_edge

._crit_edge:                                      ; preds = %24, %.lr.ph
  %.pr107.lcssa = phi i32 [ %2, %.lr.ph ], [ %.pr, %24 ]
  %26 = load i32, ptr %16, align 8, !tbaa !17
  %.not104 = icmp eq i32 %26, 0
  br i1 %.not104, label %thread-pre-split106.thread, label %thread-pre-split106

thread-pre-split106:                              ; preds = %._crit_edge
  %spec.select = tail call i32 @llvm.umin.i32(i32 %26, i32 %.pr107.lcssa)
  %27 = load ptr, ptr %13, align 8, !tbaa !14
  %28 = load ptr, ptr %0, align 8, !tbaa !18
  %29 = zext i32 %spec.select to i64
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %27, ptr align 1 %28, i64 %29, i1 false)
  %30 = getelementptr inbounds i8, ptr %1, i64 %29
  store ptr %30, ptr %13, align 8, !tbaa !14
  %31 = load ptr, ptr %0, align 8, !tbaa !18
  %32 = getelementptr inbounds i8, ptr %31, i64 %29
  store ptr %32, ptr %0, align 8, !tbaa !18
  %33 = load i32, ptr %14, align 8, !tbaa !15
  %34 = sub i32 %33, %spec.select
  store i32 %34, ptr %14, align 8, !tbaa !15
  %35 = load i32, ptr %16, align 8, !tbaa !17
  %36 = sub i32 %35, %spec.select
  store i32 %36, ptr %16, align 8, !tbaa !17
  %.not105 = icmp eq i32 %34, 0
  br i1 %.not105, label %44, label %thread-pre-split106.thread

thread-pre-split106.thread:                       ; preds = %._crit_edge, %thread-pre-split106
  %.090136 = phi ptr [ %30, %thread-pre-split106 ], [ %1, %._crit_edge ]
  %37 = phi i32 [ %34, %thread-pre-split106 ], [ %.pr107.lcssa, %._crit_edge ]
  %38 = zext i32 %37 to i64
  %39 = load ptr, ptr %19, align 8, !tbaa !19
  %40 = tail call i64 @fread(ptr noundef %.090136, i64 noundef 1, i64 noundef %38, ptr noundef %39)
  %41 = load i32, ptr %14, align 8, !tbaa !15
  %42 = trunc i64 %40 to i32
  %43 = sub i32 %41, %42
  store i32 %43, ptr %14, align 8, !tbaa !15
  br label %44

44:                                               ; preds = %thread-pre-split106.thread, %thread-pre-split106
  %45 = phi i32 [ %43, %thread-pre-split106.thread ], [ 0, %thread-pre-split106 ]
  %46 = sub i32 %2, %45
  %47 = zext i32 %46 to i64
  %48 = load i64, ptr %21, align 8, !tbaa !20
  %49 = add i64 %48, %47
  store i64 %49, ptr %21, align 8, !tbaa !20
  %50 = load i64, ptr %22, align 8, !tbaa !21
  %51 = add i64 %50, %47
  store i64 %51, ptr %22, align 8, !tbaa !21
  %52 = icmp eq i32 %46, 0
  br i1 %52, label %53, label %107

53:                                               ; preds = %44
  store i32 1, ptr %17, align 4, !tbaa !22
  br label %107

.lr.ph149:                                        ; preds = %.lr.ph, %24
  %.091119147 = phi ptr [ %.1, %24 ], [ %1, %.lr.ph ]
  %54 = load i32, ptr %16, align 8, !tbaa !17
  %55 = icmp eq i32 %54, 0
  br i1 %55, label %56, label %70

56:                                               ; preds = %.lr.ph149
  %57 = load i32, ptr %17, align 4, !tbaa !22
  %.not99 = icmp eq i32 %57, 0
  br i1 %.not99, label %58, label %70

58:                                               ; preds = %56
  %59 = tail call ptr @__errno_location() #7
  store i32 0, ptr %59, align 4, !tbaa !23
  %60 = load ptr, ptr %18, align 8, !tbaa !24
  %61 = load ptr, ptr %19, align 8, !tbaa !19
  %62 = tail call i64 @fread(ptr noundef %60, i64 noundef 1, i64 noundef 16384, ptr noundef %61)
  %63 = trunc i64 %62 to i32
  store i32 %63, ptr %16, align 8, !tbaa !17
  %64 = icmp eq i32 %63, 0
  br i1 %64, label %65, label %68

65:                                               ; preds = %58
  store i32 1, ptr %17, align 4, !tbaa !22
  %66 = load ptr, ptr %19, align 8, !tbaa !19
  %67 = tail call i32 @ferror(ptr noundef %66) #8
  %.not100 = icmp eq i32 %67, 0
  br i1 %.not100, label %68, label %.thread.sink.split

68:                                               ; preds = %65, %58
  %69 = load ptr, ptr %18, align 8, !tbaa !24
  store ptr %69, ptr %0, align 8, !tbaa !18
  br label %70

70:                                               ; preds = %68, %56, %.lr.ph149
  %71 = tail call i32 @inflate(ptr noundef nonnull %0, i32 noundef 0) #8
  store i32 %71, ptr %9, align 8, !tbaa !13
  %72 = icmp eq i32 %71, 1
  br i1 %72, label %73, label %93

73:                                               ; preds = %70
  %74 = load i64, ptr %20, align 8, !tbaa !25
  %75 = load ptr, ptr %13, align 8, !tbaa !14
  %76 = ptrtoint ptr %75 to i64
  %77 = ptrtoint ptr %.091119147 to i64
  %78 = sub i64 %76, %77
  %79 = trunc i64 %78 to i32
  %80 = tail call i64 @crc32(i64 noundef %74, ptr noundef %.091119147, i32 noundef %79) #8
  store i64 %80, ptr %20, align 8, !tbaa !25
  %81 = load ptr, ptr %13, align 8, !tbaa !14
  %82 = tail call i64 @getLong(ptr noundef nonnull %0)
  %83 = load i64, ptr %20, align 8, !tbaa !25
  %.not101 = icmp eq i64 %82, %83
  br i1 %.not101, label %84, label %.thread.sink.split

84:                                               ; preds = %73
  %85 = tail call i64 @getLong(ptr noundef nonnull %0)
  tail call void @check_header(ptr noundef nonnull %0)
  %86 = load i32, ptr %9, align 8, !tbaa !13
  %87 = icmp eq i32 %86, 0
  br i1 %87, label %88, label %.thread

88:                                               ; preds = %84
  %89 = load i64, ptr %21, align 8, !tbaa !20
  %90 = load i64, ptr %22, align 8, !tbaa !21
  %91 = tail call i32 @inflateReset(ptr noundef nonnull %0) #8
  store i64 %89, ptr %21, align 8, !tbaa !20
  store i64 %90, ptr %22, align 8, !tbaa !21
  %92 = tail call i64 @crc32(i64 noundef 0, ptr noundef null, i32 noundef 0) #8
  store i64 %92, ptr %20, align 8, !tbaa !25
  %.pr108 = load i32, ptr %9, align 8, !tbaa !13
  br label %93

93:                                               ; preds = %88, %70
  %94 = phi i32 [ %.pr108, %88 ], [ %71, %70 ]
  %.1 = phi ptr [ %81, %88 ], [ %.091119147, %70 ]
  %.not102 = icmp eq i32 %94, 0
  br i1 %.not102, label %95, label %.thread

95:                                               ; preds = %93
  %96 = load i32, ptr %17, align 4, !tbaa !22
  %.not103 = icmp eq i32 %96, 0
  br i1 %.not103, label %thread-pre-split, label %.thread, !llvm.loop !26

.thread.sink.split:                               ; preds = %73, %65
  %.sink = phi i32 [ -1, %65 ], [ -3, %73 ]
  %.2.ph = phi ptr [ %.091119147, %65 ], [ %81, %73 ]
  store i32 %.sink, ptr %9, align 8, !tbaa !13
  br label %.thread

.thread:                                          ; preds = %thread-pre-split, %95, %93, %84, %.thread.sink.split, %12
  %.2 = phi ptr [ %1, %12 ], [ %.2.ph, %.thread.sink.split ], [ %.1, %thread-pre-split ], [ %.1, %95 ], [ %.1, %93 ], [ %81, %84 ]
  %97 = getelementptr inbounds i8, ptr %0, i64 144
  %98 = load i64, ptr %97, align 8, !tbaa !25
  %99 = load ptr, ptr %13, align 8, !tbaa !14
  %100 = ptrtoint ptr %99 to i64
  %101 = ptrtoint ptr %.2 to i64
  %102 = sub i64 %100, %101
  %103 = trunc i64 %102 to i32
  %104 = tail call i64 @crc32(i64 noundef %98, ptr noundef %.2, i32 noundef %103) #8
  store i64 %104, ptr %97, align 8, !tbaa !25
  %105 = load i32, ptr %14, align 8, !tbaa !15
  %106 = sub i32 %2, %105
  br label %107

107:                                              ; preds = %44, %53, %8, %8, %3, %5, %.thread, %11
  %.0 = phi i32 [ 0, %11 ], [ %106, %.thread ], [ -2, %5 ], [ -2, %3 ], [ -1, %8 ], [ -1, %8 ], [ 0, %53 ], [ %46, %44 ]
  ret i32 %.0
}

; Function Attrs: mustprogress 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) #1

; Function Attrs: nofree nounwind
declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #3

; Function Attrs: nofree nounwind memory(read)
declare noundef i32 @ferror(ptr nocapture noundef) local_unnamed_addr #4

declare i32 @inflate(ptr noundef, i32 noundef) local_unnamed_addr #5

declare i64 @crc32(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare hidden i64 @getLong(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden void @check_header(ptr noundef) local_unnamed_addr #0

declare i32 @inflateReset(ptr noundef) local_unnamed_addr #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umin.i32(i32, i32) #6

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 = { nofree nounwind memory(read) "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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nounwind willreturn memory(none) }
attributes #8 = { 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, !9, i64 172}
!6 = !{!"gz_stream", !7, i64 0, !11, i64 112, !11, i64 116, !8, i64 120, !8, i64 128, !8, i64 136, !12, i64 144, !8, i64 152, !8, i64 160, !11, i64 168, !9, i64 172, !12, i64 176}
!7 = !{!"z_stream_s", !8, i64 0, !11, i64 8, !12, i64 16, !8, i64 24, !11, i64 32, !12, i64 40, !8, i64 48, !8, i64 56, !8, i64 64, !8, i64 72, !8, i64 80, !11, i64 88, !12, i64 96, !12, i64 104}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C/C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"long", !9, i64 0}
!13 = !{!6, !11, i64 112}
!14 = !{!6, !8, i64 24}
!15 = !{!6, !11, i64 32}
!16 = !{!6, !11, i64 168}
!17 = !{!6, !11, i64 8}
!18 = !{!6, !8, i64 0}
!19 = !{!6, !8, i64 120}
!20 = !{!6, !12, i64 16}
!21 = !{!6, !12, i64 40}
!22 = !{!6, !11, i64 116}
!23 = !{!11, !11, i64 0}
!24 = !{!6, !8, i64 128}
!25 = !{!6, !12, i64 144}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass