; LLVM IR from ihucos/plash :: tests/C (pl_parse_subid)

; 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.fork_exec_newmap_t = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.siginfo_t = type { i32, i32, i32, i32, %union.anon }
%union.anon = type { %struct.anon.2, [80 x i8] }
%struct.anon.2 = type { i32, i32, i32, i64, i64 }
%struct.__sigset_t = type { [16 x i64] }
%struct.passwd = type { ptr, ptr, i32, i32, ptr, ptr, ptr }
%struct.group = type { ptr, ptr, i32, ptr }

@.str.6 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @pl_fatal(ptr noundef, ...) #0

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

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

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

; Function Attrs: nounwind
declare i32 @asprintf(ptr noundef, ptr noundef, ...) #4

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @pl_printf_to_file(ptr noundef, ptr noundef, ...) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @pl_fork_exec_newmap(ptr noundef byval(%struct.fork_exec_newmap_t) align 8) #0

; Function Attrs: nounwind
declare i32 @fork() #4

; Function Attrs: nounwind uwtable
define dso_local void @pl_setup_user_ns() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %struct.siginfo_t, align 8
  %7 = alloca %struct.siginfo_t, align 8
  %8 = alloca %struct.siginfo_t, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %struct.fork_exec_newmap_t, align 8
  %19 = alloca %struct.fork_exec_newmap_t, align 8
  %20 = alloca %struct.__sigset_t, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 128, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 128, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 128, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %21 = call i32 @getuid() #6
  store i32 %21, ptr %9, align 4, !tbaa !5
  %22 = call i32 @getgid() #6
  store i32 %22, ptr %10, align 4, !tbaa !5
  %23 = load i32, ptr %9, align 4, !tbaa !5
  %24 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %11, ptr noundef @.str.21, i32 noundef %23) #6
  %25 = icmp ne i32 %24, -1
  br i1 %25, label %29, label %26

26:                                               ; preds = %0
  %27 = call i32 (ptr, ...) @pl_fatal(ptr noundef @.str.6)
  %28 = icmp ne i32 %27, 0
  br label %29

29:                                               ; preds = %26, %0
  %30 = phi i1 [ true, %0 ], [ %28, %26 ]
  %31 = zext i1 %30 to i32
  %32 = load i32, ptr %10, align 4, !tbaa !5
  %33 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %12, ptr noundef @.str.21, i32 noundef %32) #6
  %34 = icmp ne i32 %33, -1
  br i1 %34, label %38, label %35

35:                                               ; preds = %29
  %36 = call i32 (ptr, ...) @pl_fatal(ptr noundef @.str.6)
  %37 = icmp ne i32 %36, 0
  br label %38

38:                                               ; preds = %35, %29
  %39 = phi i1 [ true, %29 ], [ %37, %35 ]
  %40 = zext i1 %39 to i32
  %41 = call i32 @getpid() #6
  %42 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef %13, ptr noundef @.str.21, i32 noundef %41) #6
  %43 = icmp ne i32 %42, -1
  br i1 %43, label %47, label %44

44:                                               ; preds = %38
  %45 = call i32 (ptr, ...) @pl_fatal(ptr noundef @.str.6)
  %46 = icmp ne i32 %45, 0
  br label %47

47:                                               ; preds = %44, %38
  %48 = phi i1 [ true, %38 ], [ %46, %44 ]
  %49 = zext i1 %48 to i32
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %50 = load i32, ptr %9, align 4, !tbaa !5
  %51 = call ptr @getpwuid(i32 noundef %50)
  store ptr %51, ptr %16, align 8, !tbaa !9
  %52 = load ptr, ptr %16, align 8, !tbaa !9
  %53 = icmp ne ptr %52, null
  br i1 %53, label %54, label %58

54:                                               ; preds = %47
  %55 = load ptr, ptr %16, align 8, !tbaa !9
  %56 = getelementptr inbounds %struct.passwd, ptr %55, i32 0, i32 0
  %57 = load ptr, ptr %56, align 8, !tbaa !11
  br label %59

58:                                               ; preds = %47
  br label %59

59:                                               ; preds = %58, %54
  %60 = phi ptr [ %57, %54 ], [ null, %58 ]
  store ptr %60, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %61 = load i32, ptr %10, align 4, !tbaa !5
  %62 = call ptr @getgrgid(i32 noundef %61)
  store ptr %62, ptr %17, align 8, !tbaa !9
  %63 = load ptr, ptr %17, align 8, !tbaa !9
  %64 = icmp ne ptr %63, null
  br i1 %64, label %65, label %69

65:                                               ; preds = %59
  %66 = load ptr, ptr %17, align 8, !tbaa !9
  %67 = getelementptr inbounds %struct.group, ptr %66, i32 0, i32 0
  %68 = load ptr, ptr %67, align 8, !tbaa !13
  br label %70

69:                                               ; preds = %59
  br label %70

70:                                               ; preds = %69, %65
  %71 = phi ptr [ %68, %65 ], [ null, %69 ]
  store ptr %71, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 48, ptr %18) #6
  %72 = getelementptr inbounds %struct.fork_exec_newmap_t, ptr %18, i32 0, i32 0
  store ptr @.str.22, ptr %72, align 8, !tbaa !15
  %73 = getelementptr inbounds %struct.fork_exec_newmap_t, ptr %18, i32 0, i32 1
  %74 = load ptr, ptr %11, align 8, !tbaa !9
  store ptr %74, ptr %73, align 8, !tbaa !17
  %75 = getelementptr inbounds %struct.fork_exec_newmap_t, ptr %18, i32 0, i32 2
  %76 = load ptr, ptr %13, align 8, !tbaa !9
  store ptr %76, ptr %75, align 8, !tbaa !18
  %77 = getelementptr inbounds %struct.fork_exec_newmap_t, ptr %18, i32 0, i32 3
  store ptr @.str.23, ptr %77, align 8, !tbaa !19
  %78 = getelementptr inbounds %struct.fork_exec_newmap_t, ptr %18, i32 0, i32 4
  %79 = load ptr, ptr %11, align 8, !tbaa !9
  store ptr %79, ptr %78, align 8, !tbaa !20
  %80 = getelementptr inbounds %struct.fork_exec_newmap_t, ptr %18, i32 0, i32 5
  %81 = load ptr, ptr %14, align 8, !tbaa !9
  store ptr %81, ptr %80, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #6
  %82 = getelementptr inbounds %struct.fork_exec_newmap_t, ptr %19, i32 0, i32 0
  store ptr @.str.24, ptr %82, align 8, !tbaa !15
  %83 = getelementptr inbounds %struct.fork_exec_newmap_t, ptr %19, i32 0, i32 1
  %84 = load ptr, ptr %12, align 8, !tbaa !9
  store ptr %84, ptr %83, align 8, !tbaa !17
  %85 = getelementptr inbounds %struct.fork_exec_newmap_t, ptr %19, i32 0, i32 2
  %86 = load ptr, ptr %13, align 8, !tbaa !9
  store ptr %86, ptr %85, align 8, !tbaa !18
  %87 = getelementptr inbounds %struct.fork_exec_newmap_t, ptr %19, i32 0, i32 3
  store ptr @.str.25, ptr %87, align 8, !tbaa !19
  %88 = getelementptr inbounds %struct.fork_exec_newmap_t, ptr %19, i32 0, i32 4
  %89 = load ptr, ptr %12, align 8, !tbaa !9
  store ptr %89, ptr %88, align 8, !tbaa !20
  %90 = getelementptr inbounds %struct.fork_exec_newmap_t, ptr %19, i32 0, i32 5
  %91 = load ptr, ptr %15, align 8, !tbaa !9
  store ptr %91, ptr %90, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 128, ptr %20) #6
  %92 = call i32 @sigemptyset(ptr noundef %20) #6
  %93 = call i32 @sigaddset(ptr noundef %20, i32 noundef 10) #6
  %94 = call i32 @sigprocmask(i32 noundef 0, ptr noundef %20, ptr noundef null) #6
  %95 = call i32 @fork() #6
  store i32 %95, ptr %3, align 4, !tbaa !5
  %96 = icmp ne i32 %95, -1
  br i1 %96, label %100, label %97

97:                                               ; preds = %70
  %98 = call i32 (ptr, ...) @pl_fatal(ptr noundef @.str.26)
  %99 = icmp ne i32 %98, 0
  br label %100

100:                                              ; preds = %97, %70
  %101 = phi i1 [ true, %70 ], [ %99, %97 ]
  %102 = zext i1 %101 to i32
  %103 = load i32, ptr %3, align 4, !tbaa !5
  %104 = icmp ne i32 %103, 0
  br i1 %104, label %148, label %105

105:                                              ; preds = %100
  %106 = call i32 @sigwait(ptr noundef %20, ptr noundef %2)
  %107 = call i32 @pl_fork_exec_newmap(ptr noundef byval(%struct.fork_exec_newmap_t) align 8 %18)
  store i32 %107, ptr %4, align 4, !tbaa !5
  %108 = call i32 @pl_fork_exec_newmap(ptr noundef byval(%struct.fork_exec_newmap_t) align 8 %19)
  store i32 %108, ptr %5, align 4, !tbaa !5
  %109 = load i32, ptr %4, align 4, !tbaa !5
  %110 = call i32 @waitid(i32 noundef 1, i32 noundef %109, ptr noundef %6, i32 noundef 4)
  %111 = icmp ne i32 %110, -1
  br i1 %111, label %115, label %112

112:                                              ; preds = %105
  %113 = call i32 (ptr, ...) @pl_fatal(ptr noundef @.str.27)
  %114 = icmp ne i32 %113, 0
  br label %115

115:                                              ; preds = %112, %105
  %116 = phi i1 [ true, %105 ], [ %114, %112 ]
  %117 = zext i1 %116 to i32
  %118 = load i32, ptr %5, align 4, !tbaa !5
  %119 = call i32 @waitid(i32 noundef 1, i32 noundef %118, ptr noundef %7, i32 noundef 4)
  %120 = icmp ne i32 %119, -1
  br i1 %120, label %124, label %121

121:                                              ; preds = %115
  %122 = call i32 (ptr, ...) @pl_fatal(ptr noundef @.str.27)
  %123 = icmp ne i32 %122, 0
  br label %124

124:                                              ; preds = %121, %115
  %125 = phi i1 [ true, %115 ], [ %123, %121 ]
  %126 = zext i1 %125 to i32
  %127 = getelementptr inbounds %struct.siginfo_t, ptr %6, i32 0, i32 4
  %128 = getelementptr inbounds %struct.anon.2, ptr %127, i32 0, i32 2
  %129 = load i32, ptr %128, align 8, !tbaa !22
  switch i32 %129, label %133 [
    i32 0, label %136
    i32 127, label %130
  ]

130:                                              ; preds = %124
  %131 = load i32, ptr %1, align 4, !tbaa !5
  %132 = or i32 %131, 1
  store i32 %132, ptr %1, align 4, !tbaa !5
  br label %136

133:                                              ; preds = %124
  %134 = load i32, ptr %1, align 4, !tbaa !5
  %135 = or i32 %134, 4
  store i32 %135, ptr %1, align 4, !tbaa !5
  br label %136

136:                                              ; preds = %133, %130, %124
  %137 = getelementptr inbounds %struct.siginfo_t, ptr %7, i32 0, i32 4
  %138 = getelementptr inbounds %struct.anon.2, ptr %137, i32 0, i32 2
  %139 = load i32, ptr %138, align 8, !tbaa !22
  switch i32 %139, label %143 [
    i32 0, label %146
    i32 127, label %140
  ]

140:                                              ; preds = %136
  %141 = load i32, ptr %1, align 4, !tbaa !5
  %142 = or i32 %141, 2
  store i32 %142, ptr %1, align 4, !tbaa !5
  br label %146

143:                                              ; preds = %136
  %144 = load i32, ptr %1, align 4, !tbaa !5
  %145 = or i32 %144, 4
  store i32 %145, ptr %1, align 4, !tbaa !5
  br label %146

146:                                              ; preds = %143, %140, %136
  %147 = load i32, ptr %1, align 4, !tbaa !5
  call void @exit(i32 noundef %147) #7
  unreachable

148:                                              ; preds = %100
  %149 = call i32 @unshare(i32 noundef 268435456) #6
  %150 = icmp ne i32 %149, -1
  br i1 %150, label %154, label %151

151:                                              ; preds = %148
  %152 = call i32 (ptr, ...) @pl_fatal(ptr noundef @.str.28)
  %153 = icmp ne i32 %152, 0
  br label %154

154:                                              ; preds = %151, %148
  %155 = phi i1 [ true, %148 ], [ %153, %151 ]
  %156 = zext i1 %155 to i32
  %157 = load i32, ptr %3, align 4, !tbaa !5
  %158 = call i32 @kill(i32 noundef %157, i32 noundef 10) #6
  %159 = load i32, ptr %3, align 4, !tbaa !5
  %160 = call i32 @waitid(i32 noundef 1, i32 noundef %159, ptr noundef %8, i32 noundef 4)
  %161 = icmp ne i32 %160, -1
  br i1 %161, label %165, label %162

162:                                              ; preds = %154
  %163 = call i32 (ptr, ...) @pl_fatal(ptr noundef @.str.27)
  %164 = icmp ne i32 %163, 0
  br label %165

165:                                              ; preds = %162, %154
  %166 = phi i1 [ true, %154 ], [ %164, %162 ]
  %167 = zext i1 %166 to i32
  %168 = getelementptr inbounds %struct.siginfo_t, ptr %8, i32 0, i32 4
  %169 = getelementptr inbounds %struct.anon.2, ptr %168, i32 0, i32 2
  %170 = load i32, ptr %169, align 8, !tbaa !22
  %171 = and i32 %170, 4
  %172 = icmp ne i32 %171, 0
  br i1 %172, label %173, label %175

173:                                              ; preds = %165
  %174 = call i32 (ptr, ...) @pl_fatal(ptr noundef @.str.29)
  br label %175

175:                                              ; preds = %173, %165
  %176 = getelementptr inbounds %struct.siginfo_t, ptr %8, i32 0, i32 4
  %177 = getelementptr inbounds %struct.anon.2, ptr %176, i32 0, i32 2
  %178 = load i32, ptr %177, align 8, !tbaa !22
  %179 = and i32 %178, 1
  %180 = icmp ne i32 %179, 0
  br i1 %180, label %181, label %191

181:                                              ; preds = %175
  %182 = load ptr, ptr %11, align 8, !tbaa !9
  %183 = call i32 (ptr, ptr, ...) @pl_printf_to_file(ptr noundef @.str.30, ptr noundef @.str.31, ptr noundef %182)
  %184 = icmp ne i32 %183, 0
  br i1 %184, label %188, label %185

185:                                              ; preds = %181
  %186 = call i32 (ptr, ...) @pl_fatal(ptr noundef @.str.32)
  %187 = icmp ne i32 %186, 0
  br label %188

188:                                              ; preds = %185, %181
  %189 = phi i1 [ true, %181 ], [ %187, %185 ]
  %190 = zext i1 %189 to i32
  br label %191

191:                                              ; preds = %188, %175
  %192 = getelementptr inbounds %struct.siginfo_t, ptr %8, i32 0, i32 4
  %193 = getelementptr inbounds %struct.anon.2, ptr %192, i32 0, i32 2
  %194 = load i32, ptr %193, align 8, !tbaa !22
  %195 = and i32 %194, 2
  %196 = icmp ne i32 %195, 0
  br i1 %196, label %197, label %217

197:                                              ; preds = %191
  %198 = call i32 (ptr, ptr, ...) @pl_printf_to_file(ptr noundef @.str.33, ptr noundef @.str.34)
  %199 = icmp ne i32 %198, 0
  br i1 %199, label %207, label %200

200:                                              ; preds = %197
  %201 = call ptr @__errno_location() #8
  %202 = load i32, ptr %201, align 4, !tbaa !5
  %203 = icmp ne i32 %202, 2
  br i1 %203, label %204, label %206

204:                                              ; preds = %200
  %205 = call i32 (ptr, ...) @pl_fatal(ptr noundef @.str.35)
  br label %206

206:                                              ; preds = %204, %200
  br label %207

207:                                              ; preds = %206, %197
  %208 = load ptr, ptr %12, align 8, !tbaa !9
  %209 = call i32 (ptr, ptr, ...) @pl_printf_to_file(ptr noundef @.str.36, ptr noundef @.str.31, ptr noundef %208)
  %210 = icmp ne i32 %209, 0
  br i1 %210, label %214, label %211

211:                                              ; preds = %207
  %212 = call i32 (ptr, ...) @pl_fatal(ptr noundef @.str.37)
  %213 = icmp ne i32 %212, 0
  br label %214

214:                                              ; preds = %211, %207
  %215 = phi i1 [ true, %207 ], [ %213, %211 ]
  %216 = zext i1 %215 to i32
  br label %217

217:                                              ; preds = %214, %191
  %218 = load ptr, ptr %11, align 8, !tbaa !9
  call void @free(ptr noundef %218) #6
  %219 = load ptr, ptr %12, align 8, !tbaa !9
  call void @free(ptr noundef %219) #6
  %220 = load ptr, ptr %13, align 8, !tbaa !9
  call void @free(ptr noundef %220) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  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
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret void
}

; Function Attrs: nounwind
declare i32 @getuid() #4

; Function Attrs: nounwind
declare i32 @getgid() #4

; Function Attrs: nounwind
declare i32 @getpid() #4

declare ptr @getpwuid(i32 noundef) #5

declare ptr @getgrgid(i32 noundef) #5

; Function Attrs: nounwind
declare i32 @sigemptyset(ptr noundef) #4

; Function Attrs: nounwind
declare i32 @sigaddset(ptr noundef, i32 noundef) #4

; Function Attrs: nounwind
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) #4

declare i32 @sigwait(ptr noundef, ptr noundef) #5

declare i32 @waitid(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #5

; Function Attrs: nounwind
declare i32 @unshare(i32 noundef) #4

; Function Attrs: nounwind
declare i32 @kill(i32 noundef, i32 noundef) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 = { "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 nounwind }
attributes #8 = { 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 = !{!"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, !10, i64 0}
!12 = !{!"passwd", !10, i64 0, !10, i64 8, !6, i64 16, !6, i64 20, !10, i64 24, !10, i64 32, !10, i64 40}
!13 = !{!14, !10, i64 0}
!14 = !{!"group", !10, i64 0, !10, i64 8, !6, i64 16, !10, i64 24}
!15 = !{!16, !10, i64 0}
!16 = !{!"", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!17 = !{!16, !10, i64 8}
!18 = !{!16, !10, i64 16}
!19 = !{!16, !10, i64 24}
!20 = !{!16, !10, i64 32}
!21 = !{!16, !10, i64 40}
!22 = !{!7, !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"

%struct.fork_exec_newmap_t = type { ptr, ptr, ptr, ptr, ptr, ptr }
%struct.siginfo_t = type { i32, i32, i32, i32, %union.anon }
%union.anon = type { %struct.anon.2, [80 x i8] }
%struct.anon.2 = type { i32, i32, i32, i64, i64 }
%struct.__sigset_t = type { [16 x i64] }

@.str.6 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [92 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local i32 @pl_fatal(ptr noundef, ...) local_unnamed_addr #0

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

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

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

; Function Attrs: nounwind
declare i32 @asprintf(ptr noundef, ptr noundef, ...) local_unnamed_addr #4

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @pl_printf_to_file(ptr noundef, ptr noundef, ...) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @pl_fork_exec_newmap(ptr noundef byval(%struct.fork_exec_newmap_t) align 8) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare i32 @fork() local_unnamed_addr #6

; Function Attrs: nounwind uwtable
define dso_local void @pl_setup_user_ns() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca %struct.siginfo_t, align 8
  %3 = alloca %struct.siginfo_t, align 8
  %4 = alloca %struct.siginfo_t, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %struct.fork_exec_newmap_t, align 8
  %9 = alloca %struct.fork_exec_newmap_t, align 8
  %10 = alloca %struct.__sigset_t, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #8
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %11 = tail call i32 @getuid() #8
  %12 = tail call i32 @getgid() #8
  %13 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef nonnull %5, ptr noundef nonnull @.str.21, i32 noundef %11) #8
  %.not = icmp eq i32 %13, -1
  br i1 %.not, label %14, label %16

14:                                               ; preds = %0
  %15 = call i32 (ptr, ...) @pl_fatal(ptr noundef nonnull @.str.6)
  br label %16

16:                                               ; preds = %14, %0
  %17 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef nonnull %6, ptr noundef nonnull @.str.21, i32 noundef %12) #8
  %.not22 = icmp eq i32 %17, -1
  br i1 %.not22, label %18, label %20

18:                                               ; preds = %16
  %19 = call i32 (ptr, ...) @pl_fatal(ptr noundef nonnull @.str.6)
  br label %20

20:                                               ; preds = %18, %16
  %21 = call i32 @getpid() #8
  %22 = call i32 (ptr, ptr, ...) @asprintf(ptr noundef nonnull %7, ptr noundef nonnull @.str.21, i32 noundef %21) #8
  %.not23 = icmp eq i32 %22, -1
  br i1 %.not23, label %23, label %25

23:                                               ; preds = %20
  %24 = call i32 (ptr, ...) @pl_fatal(ptr noundef nonnull @.str.6)
  br label %25

25:                                               ; preds = %23, %20
  %26 = call ptr @getpwuid(i32 noundef %11) #8
  %.not24 = icmp eq ptr %26, null
  br i1 %.not24, label %29, label %27

27:                                               ; preds = %25
  %28 = load ptr, ptr %26, align 8, !tbaa !5
  br label %29

29:                                               ; preds = %25, %27
  %30 = phi ptr [ %28, %27 ], [ null, %25 ]
  %31 = call ptr @getgrgid(i32 noundef %12) #8
  %.not25 = icmp eq ptr %31, null
  br i1 %.not25, label %34, label %32

32:                                               ; preds = %29
  %33 = load ptr, ptr %31, align 8, !tbaa !11
  br label %34

34:                                               ; preds = %29, %32
  %35 = phi ptr [ %33, %32 ], [ null, %29 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #8
  store ptr @.str.22, ptr %8, align 8, !tbaa !13
  %36 = getelementptr inbounds i8, ptr %8, i64 8
  %37 = load ptr, ptr %5, align 8, !tbaa !15
  store ptr %37, ptr %36, align 8, !tbaa !16
  %38 = getelementptr inbounds i8, ptr %8, i64 16
  %39 = load ptr, ptr %7, align 8, !tbaa !15
  store ptr %39, ptr %38, align 8, !tbaa !17
  %40 = getelementptr inbounds i8, ptr %8, i64 24
  store ptr @.str.23, ptr %40, align 8, !tbaa !18
  %41 = getelementptr inbounds i8, ptr %8, i64 32
  store ptr %37, ptr %41, align 8, !tbaa !19
  %42 = getelementptr inbounds i8, ptr %8, i64 40
  store ptr %30, ptr %42, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9) #8
  store ptr @.str.24, ptr %9, align 8, !tbaa !13
  %43 = getelementptr inbounds i8, ptr %9, i64 8
  %44 = load ptr, ptr %6, align 8, !tbaa !15
  store ptr %44, ptr %43, align 8, !tbaa !16
  %45 = getelementptr inbounds i8, ptr %9, i64 16
  store ptr %39, ptr %45, align 8, !tbaa !17
  %46 = getelementptr inbounds i8, ptr %9, i64 24
  store ptr @.str.25, ptr %46, align 8, !tbaa !18
  %47 = getelementptr inbounds i8, ptr %9, i64 32
  store ptr %44, ptr %47, align 8, !tbaa !19
  %48 = getelementptr inbounds i8, ptr %9, i64 40
  store ptr %35, ptr %48, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %10) #8
  %49 = call i32 @sigemptyset(ptr noundef nonnull %10) #8
  %50 = call i32 @sigaddset(ptr noundef nonnull %10, i32 noundef 10) #8
  %51 = call i32 @sigprocmask(i32 noundef 0, ptr noundef nonnull %10, ptr noundef null) #8
  %52 = call i32 @fork() #8
  switch i32 %52, label %74 [
    i32 -1, label %53
    i32 0, label %55
  ]

53:                                               ; preds = %34
  %54 = call i32 (ptr, ...) @pl_fatal(ptr noundef nonnull @.str.26)
  br label %74

55:                                               ; preds = %34
  %56 = call i32 @sigwait(ptr noundef nonnull %10, ptr noundef nonnull %1) #8
  %57 = call i32 @pl_fork_exec_newmap(ptr noundef nonnull byval(%struct.fork_exec_newmap_t) align 8 %8)
  %58 = call i32 @pl_fork_exec_newmap(ptr noundef nonnull byval(%struct.fork_exec_newmap_t) align 8 %9)
  %59 = call i32 @waitid(i32 noundef 1, i32 noundef %57, ptr noundef nonnull %2, i32 noundef 4) #8
  %.not28 = icmp eq i32 %59, -1
  br i1 %.not28, label %60, label %62

60:                                               ; preds = %55
  %61 = call i32 (ptr, ...) @pl_fatal(ptr noundef nonnull @.str.27)
  br label %62

62:                                               ; preds = %60, %55
  %63 = call i32 @waitid(i32 noundef 1, i32 noundef %58, ptr noundef nonnull %3, i32 noundef 4) #8
  %.not29 = icmp eq i32 %63, -1
  br i1 %.not29, label %64, label %66

64:                                               ; preds = %62
  %65 = call i32 (ptr, ...) @pl_fatal(ptr noundef nonnull @.str.27)
  br label %66

66:                                               ; preds = %64, %62
  %67 = getelementptr inbounds i8, ptr %2, i64 24
  %68 = load i32, ptr %67, align 8, !tbaa !21
  %switch.selectcmp = icmp eq i32 %68, 127
  %switch.select = select i1 %switch.selectcmp, i32 1, i32 4
  %switch.selectcmp39 = icmp eq i32 %68, 0
  %switch.select40 = select i1 %switch.selectcmp39, i32 0, i32 %switch.select
  %69 = getelementptr inbounds i8, ptr %3, i64 24
  %70 = load i32, ptr %69, align 8, !tbaa !21
  switch i32 %70, label %71 [
    i32 0, label %73
    i32 127, label %.sink.split
  ]

71:                                               ; preds = %66
  br label %.sink.split

.sink.split:                                      ; preds = %66, %71
  %.sink = phi i32 [ 4, %71 ], [ 2, %66 ]
  %72 = or i32 %switch.select40, %.sink
  br label %73

73:                                               ; preds = %.sink.split, %66
  %.1 = phi i32 [ %switch.select40, %66 ], [ %72, %.sink.split ]
  call void @exit(i32 noundef %.1) #9
  unreachable

74:                                               ; preds = %53, %34
  %75 = call i32 @unshare(i32 noundef 268435456) #8
  %.not30 = icmp eq i32 %75, -1
  br i1 %.not30, label %76, label %78

76:                                               ; preds = %74
  %77 = call i32 (ptr, ...) @pl_fatal(ptr noundef nonnull @.str.28)
  br label %78

78:                                               ; preds = %76, %74
  %79 = call i32 @kill(i32 noundef %52, i32 noundef 10) #8
  %80 = call i32 @waitid(i32 noundef 1, i32 noundef %52, ptr noundef nonnull %4, i32 noundef 4) #8
  %.not31 = icmp eq i32 %80, -1
  br i1 %.not31, label %81, label %83

81:                                               ; preds = %78
  %82 = call i32 (ptr, ...) @pl_fatal(ptr noundef nonnull @.str.27)
  br label %83

83:                                               ; preds = %81, %78
  %84 = getelementptr inbounds i8, ptr %4, i64 24
  %85 = load i32, ptr %84, align 8, !tbaa !21
  %86 = and i32 %85, 4
  %.not32 = icmp eq i32 %86, 0
  br i1 %.not32, label %89, label %87

87:                                               ; preds = %83
  %88 = call i32 (ptr, ...) @pl_fatal(ptr noundef nonnull @.str.29)
  %.pre = load i32, ptr %84, align 8, !tbaa !21
  br label %89

89:                                               ; preds = %87, %83
  %90 = phi i32 [ %.pre, %87 ], [ %85, %83 ]
  %91 = and i32 %90, 1
  %.not33 = icmp eq i32 %91, 0
  br i1 %.not33, label %97, label %92

92:                                               ; preds = %89
  %93 = load ptr, ptr %5, align 8, !tbaa !15
  %94 = call i32 (ptr, ptr, ...) @pl_printf_to_file(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.31, ptr noundef %93)
  %.not34 = icmp eq i32 %94, 0
  br i1 %.not34, label %95, label %97

95:                                               ; preds = %92
  %96 = call i32 (ptr, ...) @pl_fatal(ptr noundef nonnull @.str.32)
  br label %97

97:                                               ; preds = %92, %95, %89
  %98 = load i32, ptr %84, align 8, !tbaa !21
  %99 = and i32 %98, 2
  %.not35 = icmp eq i32 %99, 0
  br i1 %.not35, label %112, label %100

100:                                              ; preds = %97
  %101 = call i32 (ptr, ptr, ...) @pl_printf_to_file(ptr noundef nonnull @.str.33, ptr noundef nonnull @.str.34)
  %.not36 = icmp eq i32 %101, 0
  br i1 %.not36, label %102, label %107

102:                                              ; preds = %100
  %103 = tail call ptr @__errno_location() #10
  %104 = load i32, ptr %103, align 4, !tbaa !22
  %.not37 = icmp eq i32 %104, 2
  br i1 %.not37, label %107, label %105

105:                                              ; preds = %102
  %106 = call i32 (ptr, ...) @pl_fatal(ptr noundef nonnull @.str.35)
  br label %107

107:                                              ; preds = %102, %105, %100
  %108 = load ptr, ptr %6, align 8, !tbaa !15
  %109 = call i32 (ptr, ptr, ...) @pl_printf_to_file(ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.31, ptr noundef %108)
  %.not38 = icmp eq i32 %109, 0
  br i1 %.not38, label %110, label %112

110:                                              ; preds = %107
  %111 = call i32 (ptr, ...) @pl_fatal(ptr noundef nonnull @.str.37)
  br label %112

112:                                              ; preds = %107, %110, %97
  %113 = load ptr, ptr %5, align 8, !tbaa !15
  call void @free(ptr noundef %113) #8
  %114 = load ptr, ptr %6, align 8, !tbaa !15
  call void @free(ptr noundef %114) #8
  %115 = load ptr, ptr %7, align 8, !tbaa !15
  call void @free(ptr noundef %115) #8
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #8
  ret void
}

; Function Attrs: nounwind
declare i32 @getuid() local_unnamed_addr #4

; Function Attrs: nounwind
declare i32 @getgid() local_unnamed_addr #4

; Function Attrs: nounwind
declare i32 @getpid() local_unnamed_addr #4

declare ptr @getpwuid(i32 noundef) local_unnamed_addr #7

declare ptr @getgrgid(i32 noundef) local_unnamed_addr #7

; Function Attrs: nounwind
declare i32 @sigemptyset(ptr noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare i32 @sigaddset(ptr noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare i32 @sigprocmask(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @sigwait(ptr noundef, ptr noundef) local_unnamed_addr #7

declare i32 @waitid(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: nounwind
declare i32 @unshare(i32 noundef) local_unnamed_addr #4

; Function Attrs: nounwind
declare i32 @kill(i32 noundef, i32 noundef) local_unnamed_addr #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { 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 #4 = { 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 = { 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 #6 = { 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 #7 = { "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 = { nounwind }
attributes #9 = { noreturn nounwind }
attributes #10 = { 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, !7, i64 0}
!6 = !{!"passwd", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !7, i64 24, !7, i64 32, !7, i64 40}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"group", !7, i64 0, !7, i64 8, !10, i64 16, !7, i64 24}
!13 = !{!14, !7, i64 0}
!14 = !{!"", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40}
!15 = !{!7, !7, i64 0}
!16 = !{!14, !7, i64 8}
!17 = !{!14, !7, i64 16}
!18 = !{!14, !7, i64 24}
!19 = !{!14, !7, i64 32}
!20 = !{!14, !7, i64 40}
!21 = !{!8, !8, i64 0}
!22 = !{!10, !10, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass