; LLVM IR from paintdream/DontStarveLuaJIT :: src/luajit/src (lj_meta)

; 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.anon.1 = type { %union.anon.2, i32 }
%union.anon.2 = type { %struct.GCRef }
%struct.GCRef = type { i32 }
%union.TValue = type { i64 }
%struct.GCstr = type { %struct.GCRef, i8, i8, i8, i8, i32, i32 }
%struct.lua_State = type { %union.anon }
%union.anon = type { %struct.anon, [320 x i8] }
%struct.anon = type { %struct.GCRef, i8, i8, i8, i8, %struct.MRef, %struct.GCRef, ptr, ptr, %struct.MRef, %struct.MRef, %struct.GCRef, %struct.GCRef, ptr, i32 }
%struct.MRef = type { i32 }
%struct.global_State = type { ptr, i32, i32, ptr, ptr, %struct.GCState, i32, %struct.SBuf, %struct.GCstr, i8, i8, i8, i8, %struct.GCRef, %union.TValue, %union.TValue, %union.TValue, %struct.Node, %struct.GCupval, i32, i32, ptr, ptr, ptr, i32, i32, %struct.GCRef, %struct.MRef, %struct.MRef, [38 x %struct.GCRef] }
%struct.GCState = type { i32, i32, i8, i8, i8, i8, i32, %struct.GCRef, %struct.MRef, %struct.GCRef, %struct.GCRef, %struct.GCRef, %struct.GCRef, i32, i32, i32, i32 }
%struct.SBuf = type { %struct.MRef, %struct.MRef, %struct.MRef, %struct.MRef }
%struct.Node = type { %union.TValue, %union.TValue, %struct.MRef, %struct.MRef }
%struct.GCupval = type { %struct.GCRef, i8, i8, i8, i8, %union.anon.0, %struct.MRef, i32 }
%union.anon.0 = type { %union.TValue }
%struct.anon.3 = type { %struct.GCRef, %union.FrameLink }
%union.FrameLink = type { i32 }
%struct.GCfuncL = type { %struct.GCRef, i8, i8, i8, i8, %struct.GCRef, %struct.GCRef, %struct.MRef, [1 x %struct.GCRef] }
%struct.GCproto = type { %struct.GCRef, i8, i8, i8, i8, i32, %struct.GCRef, %struct.MRef, %struct.MRef, i32, i32, i32, i8, i8, i16, %struct.GCRef, i32, i32, %struct.MRef, %struct.MRef, %struct.MRef }

@lj_vm_asm_begin = external hidden global [0 x i8], align 1

; 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
declare hidden ptr @lj_meta_lookup(ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @copyTV(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(none)
declare i64 @llvm.expect.i64(i64, i64) #3

; Function Attrs: noreturn
declare hidden void @lj_err_optype(ptr noundef, ptr noundef, i32 noundef) #4

; Function Attrs: noreturn
declare hidden void @lj_err_msg(ptr noundef, i32 noundef) #4

; Function Attrs: nounwind uwtable
define hidden ptr @lj_meta_cat(ptr noundef %0, ptr noundef %1, i32 noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !9
  %17 = load i32, ptr %7, align 4, !tbaa !9
  %18 = icmp slt i32 %17, 0
  br i1 %18, label %19, label %22

19:                                               ; preds = %3
  %20 = load i32, ptr %7, align 4, !tbaa !9
  %21 = sub nsw i32 0, %20
  store i32 %21, ptr %7, align 4, !tbaa !9
  store i32 1, ptr %8, align 4, !tbaa !9
  br label %22

22:                                               ; preds = %19, %3
  br label %23

23:                                               ; preds = %217, %22
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.anon.1, ptr %24, i32 0, i32 1
  %26 = load i32, ptr %25, align 4, !tbaa !11
  %27 = icmp eq i32 %26, -5
  br i1 %27, label %33, label %28

28:                                               ; preds = %23
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.anon.1, ptr %29, i32 0, i32 1
  %31 = load i32, ptr %30, align 4, !tbaa !11
  %32 = icmp ule i32 %31, -65537
  br i1 %32, label %33, label %45

33:                                               ; preds = %28, %23
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %union.TValue, ptr %34, i64 -1
  %36 = getelementptr inbounds %struct.anon.1, ptr %35, i32 0, i32 1
  %37 = load i32, ptr %36, align 4, !tbaa !11
  %38 = icmp eq i32 %37, -5
  br i1 %38, label %102, label %39

39:                                               ; preds = %33
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = getelementptr inbounds %union.TValue, ptr %40, i64 -1
  %42 = getelementptr inbounds %struct.anon.1, ptr %41, i32 0, i32 1
  %43 = load i32, ptr %42, align 4, !tbaa !11
  %44 = icmp ule i32 %43, -65537
  br i1 %44, label %102, label %45

45:                                               ; preds = %39, %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %union.TValue, ptr %47, i64 -1
  %49 = call ptr @lj_meta_lookup(ptr noundef %46, ptr noundef %48, i32 noundef 8)
  store ptr %49, ptr %9, align 8, !tbaa !5
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.anon.1, ptr %50, i32 0, i32 1
  %52 = load i32, ptr %51, align 4, !tbaa !11
  %53 = icmp eq i32 %52, -1
  br i1 %53, label %54, label %82

54:                                               ; preds = %45
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  %57 = call ptr @lj_meta_lookup(ptr noundef %55, ptr noundef %56, i32 noundef 8)
  store ptr %57, ptr %9, align 8, !tbaa !5
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.anon.1, ptr %58, i32 0, i32 1
  %60 = load i32, ptr %59, align 4, !tbaa !11
  %61 = icmp eq i32 %60, -1
  br i1 %61, label %62, label %81

62:                                               ; preds = %54
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  %64 = getelementptr inbounds %union.TValue, ptr %63, i64 -1
  %65 = getelementptr inbounds %struct.anon.1, ptr %64, i32 0, i32 1
  %66 = load i32, ptr %65, align 4, !tbaa !11
  %67 = icmp eq i32 %66, -5
  br i1 %67, label %74, label %68

68:                                               ; preds = %62
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = getelementptr inbounds %union.TValue, ptr %69, i64 -1
  %71 = getelementptr inbounds %struct.anon.1, ptr %70, i32 0, i32 1
  %72 = load i32, ptr %71, align 4, !tbaa !11
  %73 = icmp ule i32 %72, -65537
  br i1 %73, label %74, label %77

74:                                               ; preds = %68, %62
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = getelementptr inbounds %union.TValue, ptr %75, i32 1
  store ptr %76, ptr %6, align 8, !tbaa !5
  br label %77

77:                                               ; preds = %74, %68
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = getelementptr inbounds %union.TValue, ptr %79, i64 -1
  call void @lj_err_optype(ptr noundef %78, ptr noundef %80, i32 noundef 431) #7
  unreachable

81:                                               ; preds = %54
  br label %82

82:                                               ; preds = %81, %45
  %83 = load ptr, ptr %5, align 8, !tbaa !5
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = getelementptr inbounds %union.TValue, ptr %84, i64 0
  %86 = getelementptr inbounds %union.TValue, ptr %85, i64 2
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  call void @copyTV(ptr noundef %83, ptr noundef %86, ptr noundef %87)
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  %90 = getelementptr inbounds %union.TValue, ptr %89, i64 0
  %91 = getelementptr inbounds %union.TValue, ptr %90, i64 1
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = getelementptr inbounds %union.TValue, ptr %92, i64 -1
  call void @copyTV(ptr noundef %88, ptr noundef %91, ptr noundef %93)
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = load ptr, ptr %6, align 8, !tbaa !5
  %96 = getelementptr inbounds %union.TValue, ptr %95, i64 0
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  call void @copyTV(ptr noundef %94, ptr noundef %96, ptr noundef %97)
  %98 = load ptr, ptr %6, align 8, !tbaa !5
  %99 = getelementptr inbounds %union.TValue, ptr %98, i64 -1
  store i64 sub (i64 ptrtoint (ptr @lj_cont_cat to i64), i64 ptrtoint (ptr @lj_vm_asm_begin to i64)), ptr %99, align 8, !tbaa !11
  %100 = load ptr, ptr %6, align 8, !tbaa !5
  %101 = getelementptr inbounds %union.TValue, ptr %100, i64 1
  store ptr %101, ptr %4, align 8
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %284

102:                                              ; preds = %39, %33
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %103, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %104 = load ptr, ptr %12, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.anon.1, ptr %104, i32 0, i32 1
  %106 = load i32, ptr %105, align 4, !tbaa !11
  %107 = icmp eq i32 %106, -5
  br i1 %107, label %108, label %117

108:                                              ; preds = %102
  %109 = load ptr, ptr %12, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.anon.1, ptr %109, i32 0, i32 0
  %111 = getelementptr inbounds %struct.GCRef, ptr %110, i32 0, i32 0
  %112 = load i32, ptr %111, align 8, !tbaa !11
  %113 = zext i32 %112 to i64
  %114 = inttoptr i64 %113 to ptr
  %115 = getelementptr inbounds %struct.GCstr, ptr %114, i32 0, i32 6
  %116 = load i32, ptr %115, align 4, !tbaa !11
  br label %118

117:                                              ; preds = %102
  br label %118

118:                                              ; preds = %117, %108
  %119 = phi i32 [ %116, %108 ], [ 32, %117 ]
  %120 = zext i32 %119 to i64
  store i64 %120, ptr %13, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  br label %121

121:                                              ; preds = %161, %118
  %122 = load ptr, ptr %12, align 8, !tbaa !5
  %123 = getelementptr inbounds %union.TValue, ptr %122, i32 -1
  store ptr %123, ptr %12, align 8, !tbaa !5
  %124 = load ptr, ptr %12, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.anon.1, ptr %124, i32 0, i32 1
  %126 = load i32, ptr %125, align 4, !tbaa !11
  %127 = icmp eq i32 %126, -5
  br i1 %127, label %128, label %137

128:                                              ; preds = %121
  %129 = load ptr, ptr %12, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.anon.1, ptr %129, i32 0, i32 0
  %131 = getelementptr inbounds %struct.GCRef, ptr %130, i32 0, i32 0
  %132 = load i32, ptr %131, align 8, !tbaa !11
  %133 = zext i32 %132 to i64
  %134 = inttoptr i64 %133 to ptr
  %135 = getelementptr inbounds %struct.GCstr, ptr %134, i32 0, i32 6
  %136 = load i32, ptr %135, align 4, !tbaa !11
  br label %138

137:                                              ; preds = %121
  br label %138

138:                                              ; preds = %137, %128
  %139 = phi i32 [ %136, %128 ], [ 32, %137 ]
  %140 = zext i32 %139 to i64
  %141 = load i64, ptr %13, align 8, !tbaa !12
  %142 = add i64 %141, %140
  store i64 %142, ptr %13, align 8, !tbaa !12
  br label %143

143:                                              ; preds = %138
  %144 = load i32, ptr %7, align 4, !tbaa !9
  %145 = add nsw i32 %144, -1
  store i32 %145, ptr %7, align 4, !tbaa !9
  %146 = icmp sgt i32 %145, 0
  br i1 %146, label %147, label %161

147:                                              ; preds = %143
  %148 = load ptr, ptr %12, align 8, !tbaa !5
  %149 = getelementptr inbounds %union.TValue, ptr %148, i64 -1
  %150 = getelementptr inbounds %struct.anon.1, ptr %149, i32 0, i32 1
  %151 = load i32, ptr %150, align 4, !tbaa !11
  %152 = icmp eq i32 %151, -5
  br i1 %152, label %159, label %153

153:                                              ; preds = %147
  %154 = load ptr, ptr %12, align 8, !tbaa !5
  %155 = getelementptr inbounds %union.TValue, ptr %154, i64 -1
  %156 = getelementptr inbounds %struct.anon.1, ptr %155, i32 0, i32 1
  %157 = load i32, ptr %156, align 4, !tbaa !11
  %158 = icmp ule i32 %157, -65537
  br label %159

159:                                              ; preds = %153, %147
  %160 = phi i1 [ true, %147 ], [ %158, %153 ]
  br label %161

161:                                              ; preds = %159, %143
  %162 = phi i1 [ false, %143 ], [ %160, %159 ]
  br i1 %162, label %121, label %163, !llvm.loop !14

163:                                              ; preds = %161
  %164 = load i64, ptr %13, align 8, !tbaa !12
  %165 = icmp uge i64 %164, 2147483392
  br i1 %165, label %166, label %168

166:                                              ; preds = %163
  %167 = load ptr, ptr %5, align 8, !tbaa !5
  call void @lj_err_msg(ptr noundef %167, i32 noundef 56) #7
  unreachable

168:                                              ; preds = %163
  %169 = load ptr, ptr %5, align 8, !tbaa !5
  %170 = call ptr @lj_buf_tmp_(ptr noundef %169)
  store ptr %170, ptr %14, align 8, !tbaa !5
  %171 = load ptr, ptr %14, align 8, !tbaa !5
  %172 = load i64, ptr %13, align 8, !tbaa !12
  %173 = trunc i64 %172 to i32
  %174 = call ptr @lj_buf_more(ptr noundef %171, i32 noundef %173)
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %175, ptr %11, align 8, !tbaa !5
  %176 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %176, ptr %6, align 8, !tbaa !5
  br label %177

177:                                              ; preds = %207, %168
  %178 = load ptr, ptr %12, align 8, !tbaa !5
  %179 = load ptr, ptr %11, align 8, !tbaa !5
  %180 = icmp ule ptr %178, %179
  br i1 %180, label %181, label %210

181:                                              ; preds = %177
  %182 = load ptr, ptr %12, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.anon.1, ptr %182, i32 0, i32 1
  %184 = load i32, ptr %183, align 4, !tbaa !11
  %185 = icmp eq i32 %184, -5
  br i1 %185, label %186, label %201

186:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %187 = load ptr, ptr %12, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.anon.1, ptr %187, i32 0, i32 0
  %189 = getelementptr inbounds %struct.GCRef, ptr %188, i32 0, i32 0
  %190 = load i32, ptr %189, align 8, !tbaa !11
  %191 = zext i32 %190 to i64
  %192 = inttoptr i64 %191 to ptr
  store ptr %192, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %193 = load ptr, ptr %15, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.GCstr, ptr %193, i32 0, i32 6
  %195 = load i32, ptr %194, align 4, !tbaa !16
  store i32 %195, ptr %16, align 4, !tbaa !9
  %196 = load ptr, ptr %14, align 8, !tbaa !5
  %197 = load ptr, ptr %15, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.GCstr, ptr %197, i64 1
  %199 = load i32, ptr %16, align 4, !tbaa !9
  %200 = call ptr @lj_buf_putmem(ptr noundef %196, ptr noundef %198, i32 noundef %199)
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %206

201:                                              ; preds = %181
  %202 = load ptr, ptr %14, align 8, !tbaa !5
  %203 = load ptr, ptr %12, align 8, !tbaa !5
  %204 = load double, ptr %203, align 8, !tbaa !11
  %205 = call ptr @lj_strfmt_putfnum(ptr noundef %202, i32 noundef 251658293, double noundef %204)
  br label %206

206:                                              ; preds = %201, %186
  br label %207

207:                                              ; preds = %206
  %208 = load ptr, ptr %12, align 8, !tbaa !5
  %209 = getelementptr inbounds %union.TValue, ptr %208, i32 1
  store ptr %209, ptr %12, align 8, !tbaa !5
  br label %177, !llvm.loop !19

210:                                              ; preds = %177
  %211 = load ptr, ptr %5, align 8, !tbaa !5
  %212 = load ptr, ptr %6, align 8, !tbaa !5
  %213 = load ptr, ptr %5, align 8, !tbaa !5
  %214 = load ptr, ptr %14, align 8, !tbaa !5
  %215 = call ptr @lj_buf_str(ptr noundef %213, ptr noundef %214)
  call void @setstrV(ptr noundef %211, ptr noundef %212, ptr noundef %215)
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %216

216:                                              ; preds = %210
  br label %217

217:                                              ; preds = %216
  %218 = load i32, ptr %7, align 4, !tbaa !9
  %219 = icmp sge i32 %218, 1
  br i1 %219, label %23, label %220, !llvm.loop !20

220:                                              ; preds = %217
  %221 = load ptr, ptr %5, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.lua_State, ptr %221, i32 0, i32 0
  %223 = getelementptr inbounds %struct.anon, ptr %222, i32 0, i32 5
  %224 = getelementptr inbounds %struct.MRef, ptr %223, i32 0, i32 0
  %225 = load i32, ptr %224, align 8, !tbaa !11
  %226 = zext i32 %225 to i64
  %227 = inttoptr i64 %226 to ptr
  %228 = getelementptr inbounds %struct.global_State, ptr %227, i32 0, i32 5
  %229 = getelementptr inbounds %struct.GCState, ptr %228, i32 0, i32 0
  %230 = load i32, ptr %229, align 8, !tbaa !21
  %231 = load ptr, ptr %5, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.lua_State, ptr %231, i32 0, i32 0
  %233 = getelementptr inbounds %struct.anon, ptr %232, i32 0, i32 5
  %234 = getelementptr inbounds %struct.MRef, ptr %233, i32 0, i32 0
  %235 = load i32, ptr %234, align 8, !tbaa !11
  %236 = zext i32 %235 to i64
  %237 = inttoptr i64 %236 to ptr
  %238 = getelementptr inbounds %struct.global_State, ptr %237, i32 0, i32 5
  %239 = getelementptr inbounds %struct.GCState, ptr %238, i32 0, i32 1
  %240 = load i32, ptr %239, align 4, !tbaa !28
  %241 = icmp uge i32 %230, %240
  %242 = xor i1 %241, true
  %243 = xor i1 %242, true
  %244 = zext i1 %243 to i32
  %245 = sext i32 %244 to i64
  %246 = call i64 @llvm.expect.i64(i64 %245, i64 0)
  %247 = icmp ne i64 %246, 0
  br i1 %247, label %248, label %283

248:                                              ; preds = %220
  %249 = load i32, ptr %8, align 4, !tbaa !9
  %250 = icmp ne i32 %249, 0
  br i1 %250, label %280, label %251

251:                                              ; preds = %248
  %252 = load ptr, ptr %5, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.lua_State, ptr %252, i32 0, i32 0
  %254 = getelementptr inbounds %struct.anon, ptr %253, i32 0, i32 7
  %255 = load ptr, ptr %254, align 8, !tbaa !11
  %256 = load ptr, ptr %5, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.lua_State, ptr %256, i32 0, i32 0
  %258 = getelementptr inbounds %struct.anon, ptr %257, i32 0, i32 7
  %259 = load ptr, ptr %258, align 8, !tbaa !11
  %260 = getelementptr inbounds %union.TValue, ptr %259, i64 -1
  %261 = getelementptr inbounds %struct.anon.3, ptr %260, i32 0, i32 0
  %262 = getelementptr inbounds %struct.GCRef, ptr %261, i32 0, i32 0
  %263 = load i32, ptr %262, align 8, !tbaa !11
  %264 = zext i32 %263 to i64
  %265 = inttoptr i64 %264 to ptr
  %266 = getelementptr inbounds %struct.GCfuncL, ptr %265, i32 0, i32 7
  %267 = getelementptr inbounds %struct.MRef, ptr %266, i32 0, i32 0
  %268 = load i32, ptr %267, align 8, !tbaa !11
  %269 = zext i32 %268 to i64
  %270 = inttoptr i64 %269 to ptr
  %271 = getelementptr inbounds i8, ptr %270, i64 -64
  %272 = getelementptr inbounds %struct.GCproto, ptr %271, i32 0, i32 4
  %273 = load i8, ptr %272, align 1, !tbaa !29
  %274 = zext i8 %273 to i32
  %275 = sext i32 %274 to i64
  %276 = getelementptr inbounds %union.TValue, ptr %255, i64 %275
  %277 = load ptr, ptr %5, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.lua_State, ptr %277, i32 0, i32 0
  %279 = getelementptr inbounds %struct.anon, ptr %278, i32 0, i32 8
  store ptr %276, ptr %279, align 8, !tbaa !11
  br label %280

280:                                              ; preds = %251, %248
  %281 = load ptr, ptr %5, align 8, !tbaa !5
  %282 = call i32 @lj_gc_step(ptr noundef %281)
  br label %283

283:                                              ; preds = %280, %220
  store ptr null, ptr %4, align 8
  store i32 1, ptr %10, align 4
  br label %284

284:                                              ; preds = %283, %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  %285 = load ptr, ptr %4, align 8
  ret ptr %285
}

declare hidden void @lj_cont_cat() #5

; Function Attrs: alwaysinline nounwind uwtable
declare hidden ptr @lj_buf_tmp_(ptr noundef) #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden ptr @lj_buf_more(ptr noundef, i32 noundef) #2

declare hidden ptr @lj_buf_putmem(ptr noundef, ptr noundef, i32 noundef) #5

declare hidden ptr @lj_strfmt_putfnum(ptr noundef, i32 noundef, double noundef) #5

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @setstrV(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: alwaysinline nounwind uwtable
declare hidden ptr @lj_buf_str(ptr noundef, ptr noundef) #2

declare hidden i32 @lj_gc_step(ptr noundef) #5

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

!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 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!17, !10, i64 12}
!17 = !{!"GCstr", !18, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !10, i64 8, !10, i64 12}
!18 = !{!"GCRef", !10, i64 0}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}
!21 = !{!22, !10, i64 32}
!22 = !{!"global_State", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16, !6, i64 24, !23, i64 32, !10, i64 88, !25, i64 92, !17, i64 108, !7, i64 124, !7, i64 125, !7, i64 126, !7, i64 127, !18, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !26, i64 160, !27, i64 184, !10, i64 208, !10, i64 212, !6, i64 216, !6, i64 224, !6, i64 232, !10, i64 240, !10, i64 244, !18, i64 248, !24, i64 252, !24, i64 256, !7, i64 260}
!23 = !{!"GCState", !10, i64 0, !10, i64 4, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11, !10, i64 12, !18, i64 16, !24, i64 20, !18, i64 24, !18, i64 28, !18, i64 32, !18, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52}
!24 = !{!"MRef", !10, i64 0}
!25 = !{!"SBuf", !24, i64 0, !24, i64 4, !24, i64 8, !24, i64 12}
!26 = !{!"Node", !7, i64 0, !7, i64 8, !24, i64 16, !24, i64 20}
!27 = !{!"GCupval", !18, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !7, i64 8, !24, i64 16, !10, i64 20}
!28 = !{!22, !10, i64 36}
!29 = !{!30, !7, i64 7}
!30 = !{!"GCproto", !18, i64 0, !7, i64 4, !7, i64 5, !7, i64 6, !7, i64 7, !10, i64 8, !18, i64 12, !24, i64 16, !24, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !7, i64 36, !7, i64 37, !31, i64 38, !18, i64 40, !10, i64 44, !10, i64 48, !24, i64 52, !24, i64 56, !24, i64 60}
!31 = !{!"short", !7, i64 0}


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

%union.TValue = type { i64 }

@lj_vm_asm_begin = external hidden global [0 x i8], align 1

; Function Attrs: nounwind uwtable
declare hidden ptr @lj_meta_lookup(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @copyTV(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: noreturn
declare hidden void @lj_err_optype(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: noreturn
declare hidden void @lj_err_msg(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define hidden noundef ptr @lj_meta_cat(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = icmp sgt i32 %2, -1
  %spec.select = tail call i32 @llvm.abs.i32(i32 %2, i1 true)
  br label %5

5:                                                ; preds = %._crit_edge, %3
  %.172 = phi i32 [ %spec.select, %3 ], [ %.lcssa100, %._crit_edge ]
  %.070 = phi ptr [ %1, %3 ], [ %46, %._crit_edge ]
  %6 = getelementptr inbounds i8, ptr %.070, i64 4
  %7 = load i32, ptr %6, align 4, !tbaa !5
  %8 = icmp eq i32 %7, -5
  %9 = icmp ult i32 %7, -65536
  %or.cond = or i1 %8, %9
  br i1 %or.cond, label %10, label %15

10:                                               ; preds = %5
  %11 = getelementptr inbounds i8, ptr %.070, i64 -4
  %12 = load i32, ptr %11, align 4, !tbaa !5
  %13 = icmp eq i32 %12, -5
  %14 = icmp ult i32 %12, -65536
  %or.cond89 = or i1 %13, %14
  br i1 %or.cond89, label %35, label %15

15:                                               ; preds = %10, %5
  %16 = getelementptr inbounds i8, ptr %.070, i64 -8
  %17 = tail call ptr @lj_meta_lookup(ptr noundef %0, ptr noundef nonnull %16, i32 noundef 8)
  %18 = getelementptr inbounds i8, ptr %17, i64 4
  %19 = load i32, ptr %18, align 4, !tbaa !5
  %20 = icmp eq i32 %19, -1
  br i1 %20, label %21, label %32

21:                                               ; preds = %15
  %22 = tail call ptr @lj_meta_lookup(ptr noundef %0, ptr noundef nonnull %.070, i32 noundef 8)
  %23 = getelementptr inbounds i8, ptr %22, i64 4
  %24 = load i32, ptr %23, align 4, !tbaa !5
  %25 = icmp eq i32 %24, -1
  br i1 %25, label %26, label %32

26:                                               ; preds = %21
  %27 = getelementptr inbounds i8, ptr %.070, i64 -4
  %28 = load i32, ptr %27, align 4, !tbaa !5
  %29 = icmp eq i32 %28, -5
  %30 = icmp ult i32 %28, -65536
  %or.cond90 = or i1 %29, %30
  %.1.idx = select i1 %or.cond90, i64 8, i64 0
  %.1 = getelementptr inbounds i8, ptr %.070, i64 %.1.idx
  %31 = getelementptr inbounds i8, ptr %.1, i64 -8
  tail call void @lj_err_optype(ptr noundef %0, ptr noundef nonnull %31, i32 noundef 431) #5
  unreachable

32:                                               ; preds = %21, %15
  %.077 = phi ptr [ %22, %21 ], [ %17, %15 ]
  %33 = getelementptr inbounds i8, ptr %.070, i64 16
  tail call void @copyTV(ptr noundef %0, ptr noundef nonnull %33, ptr noundef nonnull %.070)
  %34 = getelementptr inbounds i8, ptr %.070, i64 8
  tail call void @copyTV(ptr noundef %0, ptr noundef nonnull %34, ptr noundef nonnull %16)
  tail call void @copyTV(ptr noundef %0, ptr noundef nonnull %.070, ptr noundef nonnull %.077)
  store i64 sub (i64 ptrtoint (ptr @lj_cont_cat to i64), i64 ptrtoint (ptr @lj_vm_asm_begin to i64)), ptr %16, align 8, !tbaa !5
  br label %118

35:                                               ; preds = %10
  br i1 %8, label %36, label %42

36:                                               ; preds = %35
  %37 = load i32, ptr %.070, align 8, !tbaa !5
  %38 = zext i32 %37 to i64
  %39 = inttoptr i64 %38 to ptr
  %40 = getelementptr inbounds i8, ptr %39, i64 12
  %41 = load i32, ptr %40, align 4, !tbaa !5
  br label %42

42:                                               ; preds = %35, %36
  %43 = phi i32 [ %41, %36 ], [ 32, %35 ]
  %44 = zext i32 %43 to i64
  %smin = tail call i32 @llvm.smin.i32(i32 %.172, i32 1)
  %45 = add i32 %smin, -1
  br label %.critedge2

.critedge2:                                       ; preds = %61, %42
  %.074 = phi ptr [ %.070, %42 ], [ %46, %61 ]
  %.073 = phi i64 [ %44, %42 ], [ %59, %61 ]
  %.2 = phi i32 [ %.172, %42 ], [ %62, %61 ]
  %46 = getelementptr inbounds i8, ptr %.074, i64 -8
  %47 = getelementptr inbounds i8, ptr %.074, i64 -4
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = icmp eq i32 %48, -5
  br i1 %49, label %50, label %56

50:                                               ; preds = %.critedge2
  %51 = load i32, ptr %46, align 8, !tbaa !5
  %52 = zext i32 %51 to i64
  %53 = inttoptr i64 %52 to ptr
  %54 = getelementptr inbounds i8, ptr %53, i64 12
  %55 = load i32, ptr %54, align 4, !tbaa !5
  br label %56

56:                                               ; preds = %.critedge2, %50
  %57 = phi i32 [ %55, %50 ], [ 32, %.critedge2 ]
  %58 = zext i32 %57 to i64
  %59 = add i64 %.073, %58
  %60 = icmp sgt i32 %.2, 1
  br i1 %60, label %61, label %.critedge

61:                                               ; preds = %56
  %62 = add nsw i32 %.2, -1
  %63 = getelementptr inbounds i8, ptr %.074, i64 -12
  %64 = load i32, ptr %63, align 4, !tbaa !5
  %65 = icmp eq i32 %64, -5
  %66 = icmp ult i32 %64, -65536
  %or.cond91 = or i1 %65, %66
  br i1 %or.cond91, label %.critedge2, label %.critedge, !llvm.loop !8

.critedge:                                        ; preds = %61, %56
  %.lcssa100 = phi i32 [ %62, %61 ], [ %45, %56 ]
  %67 = icmp ugt i64 %59, 2147483391
  br i1 %67, label %68, label %69

68:                                               ; preds = %.critedge
  tail call void @lj_err_msg(ptr noundef %0, i32 noundef 56) #5
  unreachable

69:                                               ; preds = %.critedge
  %70 = tail call ptr @lj_buf_tmp_(ptr noundef %0)
  %71 = trunc nuw nsw i64 %59 to i32
  %72 = tail call ptr @lj_buf_more(ptr noundef %70, i32 noundef %71)
  %.not97 = icmp ugt ptr %46, %.070
  br i1 %.not97, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %69, %87
  %.17598 = phi ptr [ %88, %87 ], [ %46, %69 ]
  %73 = getelementptr inbounds i8, ptr %.17598, i64 4
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = icmp eq i32 %74, -5
  br i1 %75, label %76, label %84

76:                                               ; preds = %.lr.ph
  %77 = load i32, ptr %.17598, align 8, !tbaa !5
  %78 = zext i32 %77 to i64
  %79 = inttoptr i64 %78 to ptr
  %80 = getelementptr inbounds i8, ptr %79, i64 12
  %81 = load i32, ptr %80, align 4, !tbaa !10
  %82 = getelementptr inbounds i8, ptr %79, i64 16
  %83 = tail call ptr @lj_buf_putmem(ptr noundef %70, ptr noundef nonnull %82, i32 noundef %81) #6
  br label %87

84:                                               ; preds = %.lr.ph
  %85 = load double, ptr %.17598, align 8, !tbaa !5
  %86 = tail call ptr @lj_strfmt_putfnum(ptr noundef %70, i32 noundef 251658293, double noundef %85) #6
  br label %87

87:                                               ; preds = %76, %84
  %88 = getelementptr inbounds i8, ptr %.17598, i64 8
  %.not = icmp ugt ptr %88, %.070
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !14

._crit_edge:                                      ; preds = %87, %69
  %89 = tail call ptr @lj_buf_str(ptr noundef %0, ptr noundef %70)
  tail call void @setstrV(ptr noundef %0, ptr noundef nonnull %46, ptr noundef %89)
  br i1 %60, label %5, label %90, !llvm.loop !15

90:                                               ; preds = %._crit_edge
  %91 = getelementptr inbounds i8, ptr %0, i64 8
  %92 = load i32, ptr %91, align 8, !tbaa !5
  %93 = zext i32 %92 to i64
  %94 = inttoptr i64 %93 to ptr
  %95 = getelementptr inbounds i8, ptr %94, i64 32
  %96 = load i32, ptr %95, align 8, !tbaa !16
  %97 = getelementptr inbounds i8, ptr %94, i64 36
  %98 = load i32, ptr %97, align 4, !tbaa !24
  %.not87 = icmp ult i32 %96, %98
  br i1 %.not87, label %118, label %99, !prof !25

99:                                               ; preds = %90
  br i1 %4, label %100, label %116

100:                                              ; preds = %99
  %101 = getelementptr inbounds i8, ptr %0, i64 16
  %102 = load ptr, ptr %101, align 8, !tbaa !5
  %103 = getelementptr inbounds i8, ptr %102, i64 -8
  %104 = load i32, ptr %103, align 8, !tbaa !5
  %105 = zext i32 %104 to i64
  %106 = inttoptr i64 %105 to ptr
  %107 = getelementptr inbounds i8, ptr %106, i64 16
  %108 = load i32, ptr %107, align 8, !tbaa !5
  %109 = zext i32 %108 to i64
  %110 = inttoptr i64 %109 to ptr
  %111 = getelementptr inbounds i8, ptr %110, i64 -57
  %112 = load i8, ptr %111, align 1, !tbaa !26
  %113 = zext i8 %112 to i64
  %114 = getelementptr inbounds %union.TValue, ptr %102, i64 %113
  %115 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr %114, ptr %115, align 8, !tbaa !5
  br label %116

116:                                              ; preds = %100, %99
  %117 = tail call i32 @lj_gc_step(ptr noundef nonnull %0) #6
  br label %118

118:                                              ; preds = %90, %116, %32
  %.0 = phi ptr [ %34, %32 ], [ null, %116 ], [ null, %90 ]
  ret ptr %.0
}

declare hidden void @lj_cont_cat() #3

; Function Attrs: alwaysinline nounwind uwtable
declare hidden ptr @lj_buf_tmp_(ptr noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline nounwind uwtable
declare hidden ptr @lj_buf_more(ptr noundef, i32 noundef) local_unnamed_addr #1

declare hidden ptr @lj_buf_putmem(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

declare hidden ptr @lj_strfmt_putfnum(ptr noundef, i32 noundef, double noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @setstrV(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline nounwind uwtable
declare hidden ptr @lj_buf_str(ptr noundef, ptr noundef) local_unnamed_addr #1

declare hidden i32 @lj_gc_step(ptr noundef) local_unnamed_addr #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #4

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = !{!11, !13, i64 12}
!11 = !{!"GCstr", !12, i64 0, !6, i64 4, !6, i64 5, !6, i64 6, !6, i64 7, !13, i64 8, !13, i64 12}
!12 = !{!"GCRef", !13, i64 0}
!13 = !{!"int", !6, i64 0}
!14 = distinct !{!14, !9}
!15 = distinct !{!15, !9}
!16 = !{!17, !13, i64 32}
!17 = !{!"global_State", !18, i64 0, !13, i64 8, !13, i64 12, !18, i64 16, !18, i64 24, !19, i64 32, !13, i64 88, !21, i64 92, !11, i64 108, !6, i64 124, !6, i64 125, !6, i64 126, !6, i64 127, !12, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !22, i64 160, !23, i64 184, !13, i64 208, !13, i64 212, !18, i64 216, !18, i64 224, !18, i64 232, !13, i64 240, !13, i64 244, !12, i64 248, !20, i64 252, !20, i64 256, !6, i64 260}
!18 = !{!"any pointer", !6, i64 0}
!19 = !{!"GCState", !13, i64 0, !13, i64 4, !6, i64 8, !6, i64 9, !6, i64 10, !6, i64 11, !13, i64 12, !12, i64 16, !20, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !13, i64 40, !13, i64 44, !13, i64 48, !13, i64 52}
!20 = !{!"MRef", !13, i64 0}
!21 = !{!"SBuf", !20, i64 0, !20, i64 4, !20, i64 8, !20, i64 12}
!22 = !{!"Node", !6, i64 0, !6, i64 8, !20, i64 16, !20, i64 20}
!23 = !{!"GCupval", !12, i64 0, !6, i64 4, !6, i64 5, !6, i64 6, !6, i64 7, !6, i64 8, !20, i64 16, !13, i64 20}
!24 = !{!17, !13, i64 36}
!25 = !{!"branch_weights", !"expected", i32 2000, i32 1}
!26 = !{!27, !6, i64 7}
!27 = !{!"GCproto", !12, i64 0, !6, i64 4, !6, i64 5, !6, i64 6, !6, i64 7, !13, i64 8, !12, i64 12, !20, i64 16, !20, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !6, i64 36, !6, i64 37, !28, i64 38, !12, i64 40, !13, i64 44, !13, i64 48, !20, i64 52, !20, i64 56, !20, i64 60}
!28 = !{!"short", !6, i64 0}


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