; LLVM IR from jingweizhanghuai/Morn :: src/util (morn_memory)

; 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.MAFInfo = type { ptr, ptr, ptr, i32, i32, i32 }
%struct.MAFBlock = type { ptr, i16, i16, i32, i32, [0 x i8] }

@morn_alloc_free_size = external dso_local global [32 x i16], align 16
@morn_alloc_free_size_idx = external dso_local global [512 x i8], align 16
@morn_alloc_free_ref_flag1 = external dso_local global [16 x i16], align 16
@morn_alloc_free_valid_idx = external dso_local global [256 x i32], align 16
@morn_alloc_free_info = external dso_local thread_local global ptr, align 8
@morn_alloc_free_info_num = external hidden global i32, align 4
@.str = external hidden unnamed_addr constant [21 x i8], align 1
@morn_alloc_free_info_list = external hidden global [512 x ptr], align 16

; Function Attrs: nounwind uwtable
define dso_local ptr @m_Malloc(i32 noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #9
  %14 = load i32, ptr %3, align 4, !tbaa !5
  %15 = add nsw i32 %14, 16
  store i32 %15, ptr %3, align 4, !tbaa !5
  %16 = load i32, ptr %3, align 4, !tbaa !5
  %17 = icmp sgt i32 %16, 16400
  br i1 %17, label %18, label %26

18:                                               ; preds = %1
  %19 = load i32, ptr %3, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = call noalias ptr @malloc(i64 noundef %20) #10
  store ptr %21, ptr %4, align 8, !tbaa !9
  %22 = load ptr, ptr %4, align 8, !tbaa !9
  %23 = getelementptr inbounds i64, ptr %22, i64 0
  store i64 0, ptr %23, align 8, !tbaa !11
  %24 = load ptr, ptr %4, align 8, !tbaa !9
  %25 = getelementptr inbounds i8, ptr %24, i64 16
  store ptr %25, ptr %2, align 8
  store i32 1, ptr %5, align 4
  br label %302

26:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  %27 = load i32, ptr %3, align 4, !tbaa !5
  %28 = sub nsw i32 %27, 17
  %29 = sdiv i32 %28, 32
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [512 x i8], ptr @morn_alloc_free_size_idx, i64 0, i64 %30
  %32 = load i8, ptr %31, align 1, !tbaa !13
  %33 = sext i8 %32 to i32
  store i32 %33, ptr %6, align 4, !tbaa !5
  %34 = load i32, ptr %6, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [32 x i16], ptr @morn_alloc_free_size, i64 0, i64 %35
  %37 = load i16, ptr %36, align 2, !tbaa !14
  %38 = sext i16 %37 to i32
  store i32 %38, ptr %3, align 4, !tbaa !5
  %39 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @morn_alloc_free_info)
  %40 = load ptr, ptr %39, align 8, !tbaa !9
  %41 = icmp eq ptr %40, null
  br i1 %41, label %42, label %60

42:                                               ; preds = %26
  %43 = call noalias ptr @malloc(i64 noundef 1280) #10
  %44 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @morn_alloc_free_info)
  store ptr %43, ptr %44, align 8, !tbaa !9
  %45 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @morn_alloc_free_info)
  %46 = load ptr, ptr %45, align 8, !tbaa !9
  call void @llvm.memset.p0.i64(ptr align 8 %46, i8 0, i64 1280, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  %47 = load i32, ptr @morn_alloc_free_info_num, align 4, !tbaa !5
  store i32 %47, ptr %7, align 4, !tbaa !5
  %48 = load i32, ptr %7, align 4, !tbaa !5
  %49 = icmp sge i32 %48, 512
  br i1 %49, label %50, label %52

50:                                               ; preds = %42
  %51 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  call void @exit(i32 noundef 0) #11
  unreachable

52:                                               ; preds = %42
  %53 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @morn_alloc_free_info)
  %54 = load ptr, ptr %53, align 8, !tbaa !9
  %55 = load i32, ptr %7, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [512 x ptr], ptr @morn_alloc_free_info_list, i64 0, i64 %56
  store ptr %54, ptr %57, align 8, !tbaa !9
  %58 = load i32, ptr %7, align 4, !tbaa !5
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %7, align 4, !tbaa !5
  store i32 %58, ptr @morn_alloc_free_info_num, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  br label %60

60:                                               ; preds = %52, %26
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  %61 = call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @morn_alloc_free_info)
  %62 = load ptr, ptr %61, align 8, !tbaa !9
  %63 = load i32, ptr %6, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds %struct.MAFInfo, ptr %62, i64 %64
  store ptr %65, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  %66 = load ptr, ptr %8, align 8, !tbaa !9
  %67 = getelementptr inbounds %struct.MAFInfo, ptr %66, i32 0, i32 1
  %68 = load ptr, ptr %67, align 8, !tbaa !16
  %69 = icmp eq ptr %68, null
  %70 = zext i1 %69 to i32
  store i32 %70, ptr %9, align 4, !tbaa !5
  %71 = load i32, ptr %9, align 4, !tbaa !5
  %72 = icmp ne i32 %71, 0
  br i1 %72, label %81, label %73

73:                                               ; preds = %60
  %74 = load ptr, ptr %8, align 8, !tbaa !9
  %75 = getelementptr inbounds %struct.MAFInfo, ptr %74, i32 0, i32 1
  %76 = load ptr, ptr %75, align 8, !tbaa !16
  %77 = getelementptr inbounds %struct.MAFBlock, ptr %76, i32 0, i32 3
  %78 = load volatile i32, ptr %77, align 4, !tbaa !18
  %79 = icmp eq i32 %78, 0
  %80 = zext i1 %79 to i32
  store i32 %80, ptr %9, align 4, !tbaa !5
  br label %81

81:                                               ; preds = %73, %60
  %82 = load i32, ptr %9, align 4, !tbaa !5
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %99

84:                                               ; preds = %81
  %85 = load ptr, ptr %8, align 8, !tbaa !9
  %86 = getelementptr inbounds %struct.MAFInfo, ptr %85, i32 0, i32 2
  %87 = load ptr, ptr %86, align 8, !tbaa !20
  %88 = load ptr, ptr %8, align 8, !tbaa !9
  %89 = getelementptr inbounds %struct.MAFInfo, ptr %88, i32 0, i32 1
  %90 = load ptr, ptr %89, align 8, !tbaa !16
  %91 = icmp ne ptr %87, %90
  br i1 %91, label %92, label %98

92:                                               ; preds = %84
  %93 = load ptr, ptr %8, align 8, !tbaa !9
  %94 = getelementptr inbounds %struct.MAFInfo, ptr %93, i32 0, i32 2
  %95 = load ptr, ptr %94, align 8, !tbaa !20
  %96 = load ptr, ptr %8, align 8, !tbaa !9
  %97 = getelementptr inbounds %struct.MAFInfo, ptr %96, i32 0, i32 1
  store ptr %95, ptr %97, align 8, !tbaa !16
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %98

98:                                               ; preds = %92, %84
  br label %99

99:                                               ; preds = %98, %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  %100 = load ptr, ptr %8, align 8, !tbaa !9
  %101 = getelementptr inbounds %struct.MAFInfo, ptr %100, i32 0, i32 1
  %102 = load ptr, ptr %101, align 8, !tbaa !16
  store ptr %102, ptr %10, align 8, !tbaa !9
  %103 = load i32, ptr %9, align 4, !tbaa !5
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %161, label %105

105:                                              ; preds = %99
  %106 = load ptr, ptr %10, align 8, !tbaa !9
  %107 = getelementptr inbounds %struct.MAFBlock, ptr %106, i32 0, i32 3
  %108 = atomicrmw sub ptr %107, i32 1 seq_cst, align 4
  %109 = sub i32 %108, 1
  %110 = load ptr, ptr %10, align 8, !tbaa !9
  %111 = getelementptr inbounds %struct.MAFBlock, ptr %110, i32 0, i32 2
  %112 = load volatile i16, ptr %111, align 2, !tbaa !21
  %113 = zext i16 %112 to i32
  %114 = icmp sge i32 %113, 65280
  br i1 %114, label %115, label %124

115:                                              ; preds = %105
  %116 = load ptr, ptr %10, align 8, !tbaa !9
  %117 = getelementptr inbounds %struct.MAFBlock, ptr %116, i32 0, i32 2
  %118 = load volatile i16, ptr %117, align 2, !tbaa !21
  %119 = zext i16 %118 to i32
  %120 = and i32 %119, 255
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [256 x i32], ptr @morn_alloc_free_valid_idx, i64 0, i64 %121
  %123 = load i32, ptr %122, align 4, !tbaa !5
  br label %134

124:                                              ; preds = %105
  %125 = load ptr, ptr %10, align 8, !tbaa !9
  %126 = getelementptr inbounds %struct.MAFBlock, ptr %125, i32 0, i32 2
  %127 = load volatile i16, ptr %126, align 2, !tbaa !21
  %128 = zext i16 %127 to i32
  %129 = ashr i32 %128, 8
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [256 x i32], ptr @morn_alloc_free_valid_idx, i64 0, i64 %130
  %132 = load i32, ptr %131, align 4, !tbaa !5
  %133 = add nsw i32 8, %132
  br label %134

134:                                              ; preds = %124, %115
  %135 = phi i32 [ %123, %115 ], [ %133, %124 ]
  store i32 %135, ptr %6, align 4, !tbaa !5
  %136 = load ptr, ptr %10, align 8, !tbaa !9
  %137 = getelementptr inbounds %struct.MAFBlock, ptr %136, i32 0, i32 2
  %138 = load i32, ptr %6, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [16 x i16], ptr @morn_alloc_free_ref_flag1, i64 0, i64 %139
  %141 = load i16, ptr %140, align 2, !tbaa !14
  %142 = atomicrmw or ptr %137, i16 %141 seq_cst, align 2
  %143 = load ptr, ptr %10, align 8, !tbaa !9
  %144 = getelementptr inbounds %struct.MAFBlock, ptr %143, i32 0, i32 5
  %145 = getelementptr inbounds [0 x i8], ptr %144, i64 0, i64 0
  %146 = load i32, ptr %3, align 4, !tbaa !5
  %147 = load i32, ptr %6, align 4, !tbaa !5
  %148 = mul nsw i32 %146, %147
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds i8, ptr %145, i64 %149
  store ptr %150, ptr %4, align 8, !tbaa !9
  %151 = load ptr, ptr %10, align 8, !tbaa !9
  %152 = ptrtoint ptr %151 to i64
  %153 = load ptr, ptr %4, align 8, !tbaa !9
  %154 = getelementptr inbounds i64, ptr %153, i64 0
  store i64 %152, ptr %154, align 8, !tbaa !11
  %155 = load i32, ptr %6, align 4, !tbaa !5
  %156 = sext i32 %155 to i64
  %157 = load ptr, ptr %4, align 8, !tbaa !9
  %158 = getelementptr inbounds i64, ptr %157, i64 1
  store i64 %156, ptr %158, align 8, !tbaa !11
  %159 = load ptr, ptr %4, align 8, !tbaa !9
  %160 = getelementptr inbounds i8, ptr %159, i64 16
  store ptr %160, ptr %2, align 8
  store i32 1, ptr %5, align 4
  br label %301

161:                                              ; preds = %99
  %162 = load i32, ptr %3, align 4, !tbaa !5
  %163 = mul nsw i32 16, %162
  %164 = sext i32 %163 to i64
  %165 = add i64 24, %164
  %166 = trunc i64 %165 to i32
  %167 = call ptr @m_Malloc(i32 noundef %166)
  store ptr %167, ptr %10, align 8, !tbaa !9
  %168 = load i32, ptr %3, align 4, !tbaa !5
  %169 = trunc i32 %168 to i16
  %170 = load ptr, ptr %10, align 8, !tbaa !9
  %171 = getelementptr inbounds %struct.MAFBlock, ptr %170, i32 0, i32 1
  store i16 %169, ptr %171, align 8, !tbaa !22
  %172 = load ptr, ptr %8, align 8, !tbaa !9
  %173 = load ptr, ptr %10, align 8, !tbaa !9
  %174 = getelementptr inbounds %struct.MAFBlock, ptr %173, i32 0, i32 0
  store ptr %172, ptr %174, align 8, !tbaa !23
  %175 = load ptr, ptr %10, align 8, !tbaa !9
  %176 = getelementptr inbounds %struct.MAFBlock, ptr %175, i32 0, i32 2
  store volatile i16 1, ptr %176, align 2, !tbaa !21
  %177 = load ptr, ptr %10, align 8, !tbaa !9
  %178 = getelementptr inbounds %struct.MAFBlock, ptr %177, i32 0, i32 3
  store volatile i32 15, ptr %178, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  %179 = load ptr, ptr %8, align 8, !tbaa !9
  %180 = getelementptr inbounds %struct.MAFInfo, ptr %179, i32 0, i32 3
  %181 = load i32, ptr %180, align 8, !tbaa !24
  store i32 %181, ptr %11, align 4, !tbaa !5
  %182 = load i32, ptr %11, align 4, !tbaa !5
  %183 = load ptr, ptr %8, align 8, !tbaa !9
  %184 = getelementptr inbounds %struct.MAFInfo, ptr %183, i32 0, i32 4
  %185 = load i32, ptr %184, align 4, !tbaa !25
  %186 = icmp sge i32 %182, %185
  br i1 %186, label %187, label %223

187:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  %188 = load i32, ptr %11, align 4, !tbaa !5
  %189 = add nsw i32 %188, 64
  %190 = sext i32 %189 to i64
  %191 = mul i64 %190, 8
  %192 = call noalias ptr @malloc(i64 noundef %191) #10
  store ptr %192, ptr %12, align 8, !tbaa !9
  %193 = load ptr, ptr %8, align 8, !tbaa !9
  %194 = getelementptr inbounds %struct.MAFInfo, ptr %193, i32 0, i32 0
  %195 = load ptr, ptr %194, align 8, !tbaa !26
  %196 = icmp ne ptr %195, null
  br i1 %196, label %197, label %208

197:                                              ; preds = %187
  %198 = load ptr, ptr %12, align 8, !tbaa !9
  %199 = load ptr, ptr %8, align 8, !tbaa !9
  %200 = getelementptr inbounds %struct.MAFInfo, ptr %199, i32 0, i32 0
  %201 = load ptr, ptr %200, align 8, !tbaa !26
  %202 = load i32, ptr %11, align 4, !tbaa !5
  %203 = sext i32 %202 to i64
  %204 = mul i64 %203, 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %198, ptr align 8 %201, i64 %204, i1 false)
  %205 = load ptr, ptr %8, align 8, !tbaa !9
  %206 = getelementptr inbounds %struct.MAFInfo, ptr %205, i32 0, i32 0
  %207 = load ptr, ptr %206, align 8, !tbaa !26
  call void @free(ptr noundef %207) #9
  br label %208

208:                                              ; preds = %197, %187
  %209 = load ptr, ptr %12, align 8, !tbaa !9
  %210 = load ptr, ptr %8, align 8, !tbaa !9
  %211 = getelementptr inbounds %struct.MAFInfo, ptr %210, i32 0, i32 0
  store ptr %209, ptr %211, align 8, !tbaa !26
  %212 = load ptr, ptr %12, align 8, !tbaa !9
  %213 = load i32, ptr %11, align 4, !tbaa !5
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds ptr, ptr %212, i64 %214
  call void @llvm.memset.p0.i64(ptr align 8 %215, i8 0, i64 512, i1 false)
  %216 = load i32, ptr %11, align 4, !tbaa !5
  %217 = add nsw i32 %216, 64
  %218 = load ptr, ptr %8, align 8, !tbaa !9
  %219 = getelementptr inbounds %struct.MAFInfo, ptr %218, i32 0, i32 4
  store i32 %217, ptr %219, align 4, !tbaa !25
  %220 = load i32, ptr %11, align 4, !tbaa !5
  %221 = load ptr, ptr %8, align 8, !tbaa !9
  %222 = getelementptr inbounds %struct.MAFInfo, ptr %221, i32 0, i32 5
  store i32 %220, ptr %222, align 8, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  br label %223

223:                                              ; preds = %208, %161
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  %224 = load ptr, ptr %8, align 8, !tbaa !9
  %225 = getelementptr inbounds %struct.MAFInfo, ptr %224, i32 0, i32 5
  %226 = load i32, ptr %225, align 8, !tbaa !27
  store i32 %226, ptr %13, align 4, !tbaa !5
  br label %227

227:                                              ; preds = %273, %223
  br label %228

228:                                              ; preds = %227
  %229 = load ptr, ptr %8, align 8, !tbaa !9
  %230 = getelementptr inbounds %struct.MAFInfo, ptr %229, i32 0, i32 0
  %231 = load ptr, ptr %230, align 8, !tbaa !26
  %232 = load i32, ptr %13, align 4, !tbaa !5
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds ptr, ptr %231, i64 %233
  %235 = load ptr, ptr %234, align 8, !tbaa !9
  %236 = icmp eq ptr %235, null
  br i1 %236, label %237, label %264

237:                                              ; preds = %228
  %238 = load ptr, ptr %10, align 8, !tbaa !9
  %239 = load ptr, ptr %8, align 8, !tbaa !9
  %240 = getelementptr inbounds %struct.MAFInfo, ptr %239, i32 0, i32 0
  %241 = load ptr, ptr %240, align 8, !tbaa !26
  %242 = load i32, ptr %13, align 4, !tbaa !5
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds ptr, ptr %241, i64 %243
  store ptr %238, ptr %244, align 8, !tbaa !9
  %245 = load i32, ptr %13, align 4, !tbaa !5
  %246 = load ptr, ptr %10, align 8, !tbaa !9
  %247 = getelementptr inbounds %struct.MAFBlock, ptr %246, i32 0, i32 4
  store i32 %245, ptr %247, align 8, !tbaa !28
  %248 = load i32, ptr %13, align 4, !tbaa !5
  %249 = add nsw i32 %248, 1
  store i32 %249, ptr %13, align 4, !tbaa !5
  %250 = load i32, ptr %13, align 4, !tbaa !5
  %251 = load ptr, ptr %8, align 8, !tbaa !9
  %252 = getelementptr inbounds %struct.MAFInfo, ptr %251, i32 0, i32 4
  %253 = load i32, ptr %252, align 4, !tbaa !25
  %254 = icmp sge i32 %250, %253
  br i1 %254, label %255, label %256

255:                                              ; preds = %237
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %256

256:                                              ; preds = %255, %237
  %257 = load i32, ptr %13, align 4, !tbaa !5
  %258 = load ptr, ptr %8, align 8, !tbaa !9
  %259 = getelementptr inbounds %struct.MAFInfo, ptr %258, i32 0, i32 5
  store i32 %257, ptr %259, align 8, !tbaa !27
  %260 = load i32, ptr %11, align 4, !tbaa !5
  %261 = add nsw i32 %260, 1
  %262 = load ptr, ptr %8, align 8, !tbaa !9
  %263 = getelementptr inbounds %struct.MAFInfo, ptr %262, i32 0, i32 3
  store i32 %261, ptr %263, align 8, !tbaa !24
  br label %274

264:                                              ; preds = %228
  %265 = load i32, ptr %13, align 4, !tbaa !5
  %266 = add nsw i32 %265, 1
  store i32 %266, ptr %13, align 4, !tbaa !5
  %267 = load i32, ptr %13, align 4, !tbaa !5
  %268 = load ptr, ptr %8, align 8, !tbaa !9
  %269 = getelementptr inbounds %struct.MAFInfo, ptr %268, i32 0, i32 4
  %270 = load i32, ptr %269, align 4, !tbaa !25
  %271 = icmp sge i32 %267, %270
  br i1 %271, label %272, label %273

272:                                              ; preds = %264
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %273

273:                                              ; preds = %272, %264
  br label %227

274:                                              ; preds = %256
  %275 = load ptr, ptr %10, align 8, !tbaa !9
  %276 = getelementptr inbounds %struct.MAFBlock, ptr %275, i32 0, i32 5
  %277 = getelementptr inbounds [0 x i8], ptr %276, i64 0, i64 0
  store ptr %277, ptr %4, align 8, !tbaa !9
  %278 = load ptr, ptr %10, align 8, !tbaa !9
  %279 = ptrtoint ptr %278 to i64
  %280 = load ptr, ptr %4, align 8, !tbaa !9
  %281 = getelementptr inbounds i64, ptr %280, i64 0
  store i64 %279, ptr %281, align 8, !tbaa !11
  %282 = load ptr, ptr %4, align 8, !tbaa !9
  %283 = getelementptr inbounds i64, ptr %282, i64 1
  store i64 0, ptr %283, align 8, !tbaa !11
  %284 = load ptr, ptr %8, align 8, !tbaa !9
  %285 = getelementptr inbounds %struct.MAFInfo, ptr %284, i32 0, i32 1
  %286 = load ptr, ptr %285, align 8, !tbaa !16
  %287 = load ptr, ptr %8, align 8, !tbaa !9
  %288 = getelementptr inbounds %struct.MAFInfo, ptr %287, i32 0, i32 2
  %289 = load ptr, ptr %288, align 8, !tbaa !20
  %290 = icmp eq ptr %286, %289
  br i1 %290, label %291, label %295

291:                                              ; preds = %274
  %292 = load ptr, ptr %10, align 8, !tbaa !9
  %293 = load ptr, ptr %8, align 8, !tbaa !9
  %294 = getelementptr inbounds %struct.MAFInfo, ptr %293, i32 0, i32 2
  store ptr %292, ptr %294, align 8, !tbaa !20
  br label %295

295:                                              ; preds = %291, %274
  %296 = load ptr, ptr %10, align 8, !tbaa !9
  %297 = load ptr, ptr %8, align 8, !tbaa !9
  %298 = getelementptr inbounds %struct.MAFInfo, ptr %297, i32 0, i32 1
  store ptr %296, ptr %298, align 8, !tbaa !16
  %299 = load ptr, ptr %4, align 8, !tbaa !9
  %300 = getelementptr inbounds i8, ptr %299, i64 16
  store ptr %300, ptr %2, align 8
  store i32 1, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  br label %301

301:                                              ; preds = %295, %134
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  br label %302

302:                                              ; preds = %301, %18
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #9
  %303 = load ptr, ptr %2, align 8
  ret ptr %303
}

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #3

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

declare i32 @printf(ptr noundef, ...) #5

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #6

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #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) #7

; Function Attrs: nounwind
declare void @free(ptr noundef) #8

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind allocsize(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { 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 #9 = { nounwind }
attributes #10 = { nounwind allocsize(0) }
attributes #11 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"short", !7, i64 0}
!16 = !{!17, !10, i64 8}
!17 = !{!"MAFInfo", !10, i64 0, !10, i64 8, !10, i64 16, !6, i64 24, !6, i64 28, !6, i64 32}
!18 = !{!19, !6, i64 12}
!19 = !{!"MAFBlock", !10, i64 0, !15, i64 8, !15, i64 10, !6, i64 12, !6, i64 16, !7, i64 20}
!20 = !{!17, !10, i64 16}
!21 = !{!19, !15, i64 10}
!22 = !{!19, !15, i64 8}
!23 = !{!19, !10, i64 0}
!24 = !{!17, !6, i64 24}
!25 = !{!17, !6, i64 28}
!26 = !{!17, !10, i64 0}
!27 = !{!17, !6, i64 32}
!28 = !{!19, !6, i64 16}


; 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.MAFInfo = type { ptr, ptr, ptr, i32, i32, i32 }

@morn_alloc_free_size = external dso_local local_unnamed_addr global [32 x i16], align 16
@morn_alloc_free_size_idx = external dso_local local_unnamed_addr global [512 x i8], align 16
@morn_alloc_free_ref_flag1 = external dso_local local_unnamed_addr global [16 x i16], align 16
@morn_alloc_free_valid_idx = external dso_local local_unnamed_addr global [256 x i32], align 16
@morn_alloc_free_info = external dso_local thread_local local_unnamed_addr global ptr, align 8
@morn_alloc_free_info_num = external hidden local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [21 x i8], align 1
@morn_alloc_free_info_list = external hidden local_unnamed_addr global [512 x ptr], align 16

; Function Attrs: nounwind uwtable
define dso_local nonnull ptr @m_Malloc(i32 noundef %0) local_unnamed_addr #0 {
  %2 = icmp sgt i32 %0, 16384
  br i1 %2, label %3, label %8

3:                                                ; preds = %1
  %4 = add nuw nsw i32 %0, 16
  %5 = zext nneg i32 %4 to i64
  %6 = tail call noalias ptr @malloc(i64 noundef %5) #9
  store i64 0, ptr %6, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %6, i64 16
  br label %116

8:                                                ; preds = %1
  %9 = add nsw i32 %0, -1
  %10 = sdiv i32 %9, 32
  %11 = sext i32 %10 to i64
  %12 = getelementptr inbounds [512 x i8], ptr @morn_alloc_free_size_idx, i64 0, i64 %11
  %13 = load i8, ptr %12, align 1, !tbaa !9
  %14 = sext i8 %13 to i64
  %15 = getelementptr inbounds [32 x i16], ptr @morn_alloc_free_size, i64 0, i64 %14
  %16 = load i16, ptr %15, align 2, !tbaa !10
  %17 = sext i16 %16 to i32
  %18 = tail call align 8 ptr @llvm.threadlocal.address.p0(ptr align 8 @morn_alloc_free_info)
  %19 = load ptr, ptr %18, align 8, !tbaa !12
  %20 = icmp eq ptr %19, null
  br i1 %20, label %21, label %29

21:                                               ; preds = %8
  %calloc = tail call dereferenceable_or_null(1280) ptr @calloc(i64 1, i64 1280)
  store ptr %calloc, ptr %18, align 8, !tbaa !12
  %22 = load i32, ptr @morn_alloc_free_info_num, align 4, !tbaa !14
  %23 = icmp sgt i32 %22, 511
  br i1 %23, label %24, label %26

24:                                               ; preds = %21
  %25 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  tail call void @exit(i32 noundef 0) #10
  unreachable

26:                                               ; preds = %21
  %27 = sext i32 %22 to i64
  %28 = getelementptr inbounds [512 x ptr], ptr @morn_alloc_free_info_list, i64 0, i64 %27
  store ptr %calloc, ptr %28, align 8, !tbaa !12
  br label %29

29:                                               ; preds = %26, %8
  %30 = phi ptr [ %calloc, %26 ], [ %19, %8 ]
  %31 = getelementptr inbounds %struct.MAFInfo, ptr %30, i64 %14
  %32 = getelementptr inbounds i8, ptr %31, i64 8
  %33 = load ptr, ptr %32, align 8, !tbaa !16
  %34 = icmp eq ptr %33, null
  br i1 %34, label %.thread, label %35

35:                                               ; preds = %29
  %36 = getelementptr inbounds i8, ptr %33, i64 12
  %37 = load volatile i32, ptr %36, align 4, !tbaa !18
  %38 = icmp eq i32 %37, 0
  br i1 %38, label %.thread, label %42

.thread:                                          ; preds = %29, %35
  %39 = getelementptr inbounds i8, ptr %31, i64 16
  %40 = load ptr, ptr %39, align 8, !tbaa !20
  %.not = icmp eq ptr %40, %33
  br i1 %.not, label %74, label %41

41:                                               ; preds = %.thread
  store ptr %40, ptr %32, align 8, !tbaa !16
  br label %42

42:                                               ; preds = %41, %35
  %43 = phi ptr [ %40, %41 ], [ %33, %35 ]
  %44 = getelementptr inbounds i8, ptr %43, i64 12
  %45 = atomicrmw sub ptr %44, i32 1 seq_cst, align 4
  %46 = getelementptr inbounds i8, ptr %43, i64 10
  %47 = load volatile i16, ptr %46, align 2, !tbaa !21
  %48 = icmp ugt i16 %47, -257
  %49 = load volatile i16, ptr %46, align 2, !tbaa !21
  br i1 %48, label %50, label %55

50:                                               ; preds = %42
  %51 = and i16 %49, 255
  %52 = zext nneg i16 %51 to i64
  %53 = getelementptr inbounds [256 x i32], ptr @morn_alloc_free_valid_idx, i64 0, i64 %52
  %54 = load i32, ptr %53, align 4, !tbaa !14
  br label %61

55:                                               ; preds = %42
  %56 = lshr i16 %49, 8
  %57 = zext nneg i16 %56 to i64
  %58 = getelementptr inbounds [256 x i32], ptr @morn_alloc_free_valid_idx, i64 0, i64 %57
  %59 = load i32, ptr %58, align 4, !tbaa !14
  %60 = add nsw i32 %59, 8
  br label %61

61:                                               ; preds = %55, %50
  %62 = phi i32 [ %54, %50 ], [ %60, %55 ]
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [16 x i16], ptr @morn_alloc_free_ref_flag1, i64 0, i64 %63
  %65 = load i16, ptr %64, align 2, !tbaa !10
  %66 = atomicrmw or ptr %46, i16 %65 seq_cst, align 2
  %67 = getelementptr inbounds i8, ptr %43, i64 20
  %68 = mul nsw i32 %62, %17
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds i8, ptr %67, i64 %69
  %71 = ptrtoint ptr %43 to i64
  store i64 %71, ptr %70, align 8, !tbaa !5
  %72 = getelementptr inbounds i8, ptr %70, i64 8
  store i64 %63, ptr %72, align 8, !tbaa !5
  %73 = getelementptr inbounds i8, ptr %70, i64 16
  br label %116

74:                                               ; preds = %.thread
  %75 = shl nsw i32 %17, 4
  %narrow = add nsw i32 %75, 24
  %76 = tail call ptr @m_Malloc(i32 noundef %narrow)
  %77 = getelementptr inbounds i8, ptr %76, i64 8
  store i16 %16, ptr %77, align 8, !tbaa !22
  store ptr %31, ptr %76, align 8, !tbaa !23
  %78 = getelementptr inbounds i8, ptr %76, i64 10
  store volatile i16 1, ptr %78, align 2, !tbaa !21
  %79 = getelementptr inbounds i8, ptr %76, i64 12
  store volatile i32 15, ptr %79, align 4, !tbaa !18
  %80 = getelementptr inbounds i8, ptr %31, i64 24
  %81 = load i32, ptr %80, align 8, !tbaa !24
  %82 = getelementptr inbounds i8, ptr %31, i64 28
  %83 = load i32, ptr %82, align 4, !tbaa !25
  %.not100 = icmp slt i32 %81, %83
  br i1 %.not100, label %93, label %84

84:                                               ; preds = %74
  %85 = add nsw i32 %81, 64
  %86 = sext i32 %85 to i64
  %87 = shl nsw i64 %86, 3
  %88 = tail call noalias ptr @malloc(i64 noundef %87) #9
  %89 = load ptr, ptr %31, align 8, !tbaa !26
  %.not101 = icmp eq ptr %89, null
  %.pre118 = sext i32 %81 to i64
  br i1 %.not101, label %.thread120, label %90

90:                                               ; preds = %84
  %91 = shl nsw i64 %.pre118, 3
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 8 %88, ptr nonnull align 8 %89, i64 %91, i1 false)
  tail call void @free(ptr noundef nonnull %89) #11
  br label %.thread120

.thread120:                                       ; preds = %84, %90
  store ptr %88, ptr %31, align 8, !tbaa !26
  %92 = getelementptr inbounds ptr, ptr %88, i64 %.pre118
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(512) %92, i8 0, i64 512, i1 false)
  store i32 %85, ptr %82, align 4, !tbaa !25
  br label %._crit_edge

93:                                               ; preds = %74
  %.phi.trans.insert = getelementptr inbounds i8, ptr %31, i64 32
  %.pre = load i32, ptr %.phi.trans.insert, align 8, !tbaa !27
  %.pre113 = load ptr, ptr %31, align 8, !tbaa !26
  %.phi.trans.insert114 = sext i32 %.pre to i64
  %.phi.trans.insert115 = getelementptr inbounds ptr, ptr %.pre113, i64 %.phi.trans.insert114
  %.pre116 = load ptr, ptr %.phi.trans.insert115, align 8, !tbaa !12
  %94 = icmp eq ptr %.pre116, null
  br i1 %94, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %.thread120, %93
  %95 = phi ptr [ %.pre113, %93 ], [ %88, %.thread120 ], [ %.pre113, %.lr.ph ]
  %96 = phi i32 [ %83, %93 ], [ %85, %.thread120 ], [ %83, %.lr.ph ]
  %.lcssa108 = phi i64 [ %.phi.trans.insert114, %93 ], [ %.pre118, %.thread120 ], [ %109, %.lr.ph ]
  %.0.lcssa = phi i32 [ %.pre, %93 ], [ %81, %.thread120 ], [ %spec.store.select1, %.lr.ph ]
  %97 = getelementptr inbounds i8, ptr %31, i64 32
  %98 = getelementptr inbounds ptr, ptr %95, i64 %.lcssa108
  store ptr %76, ptr %98, align 8, !tbaa !12
  %99 = getelementptr inbounds i8, ptr %76, i64 16
  store i32 %.0.lcssa, ptr %99, align 8, !tbaa !28
  %100 = add nsw i32 %.0.lcssa, 1
  %.not103 = icmp slt i32 %100, %96
  %spec.store.select = select i1 %.not103, i32 %100, i32 0
  store i32 %spec.store.select, ptr %97, align 8, !tbaa !27
  %101 = add nsw i32 %81, 1
  store i32 %101, ptr %80, align 8, !tbaa !24
  %102 = getelementptr inbounds i8, ptr %76, i64 20
  %103 = ptrtoint ptr %76 to i64
  store i64 %103, ptr %102, align 8, !tbaa !5
  %104 = getelementptr inbounds i8, ptr %76, i64 28
  store i64 0, ptr %104, align 8, !tbaa !5
  %105 = load ptr, ptr %32, align 8, !tbaa !16
  %106 = load ptr, ptr %39, align 8, !tbaa !20
  %107 = icmp eq ptr %105, %106
  br i1 %107, label %113, label %114

.lr.ph:                                           ; preds = %93, %.lr.ph
  %.0109 = phi i32 [ %spec.store.select1, %.lr.ph ], [ %.pre, %93 ]
  %108 = add nsw i32 %.0109, 1
  %.not102 = icmp slt i32 %108, %83
  %spec.store.select1 = select i1 %.not102, i32 %108, i32 0
  %109 = sext i32 %spec.store.select1 to i64
  %110 = getelementptr inbounds ptr, ptr %.pre113, i64 %109
  %111 = load ptr, ptr %110, align 8, !tbaa !12
  %112 = icmp eq ptr %111, null
  br i1 %112, label %._crit_edge, label %.lr.ph

113:                                              ; preds = %._crit_edge
  store ptr %76, ptr %39, align 8, !tbaa !20
  br label %114

114:                                              ; preds = %113, %._crit_edge
  store ptr %76, ptr %32, align 8, !tbaa !16
  %115 = getelementptr inbounds i8, ptr %76, i64 36
  br label %116

116:                                              ; preds = %61, %114, %3
  %.1 = phi ptr [ %7, %3 ], [ %115, %114 ], [ %73, %61 ]
  ret ptr %.1
}

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #2

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #4

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #5

; 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) #6

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #7

; Function Attrs: nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #8

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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 #5 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 #8 = { nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" }
attributes #9 = { nounwind allocsize(0) }
attributes #10 = { noreturn nounwind }
attributes #11 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"short", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!17, !13, i64 8}
!17 = !{!"MAFInfo", !13, i64 0, !13, i64 8, !13, i64 16, !15, i64 24, !15, i64 28, !15, i64 32}
!18 = !{!19, !15, i64 12}
!19 = !{!"MAFBlock", !13, i64 0, !11, i64 8, !11, i64 10, !15, i64 12, !15, i64 16, !7, i64 20}
!20 = !{!17, !13, i64 16}
!21 = !{!19, !11, i64 10}
!22 = !{!19, !11, i64 8}
!23 = !{!19, !13, i64 0}
!24 = !{!17, !15, i64 24}
!25 = !{!17, !15, i64 28}
!26 = !{!17, !13, i64 0}
!27 = !{!17, !15, i64 32}
!28 = !{!19, !15, i64 16}


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