; LLVM IR from buaazp/zimg :: deps/libevhtp (evhtp)

; 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.evhtp_request_s = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i16, i32, i32, i32, ptr, ptr, i32, %struct.anon }
%struct.anon = type { ptr, ptr }

@.str.48 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [3 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: nounwind uwtable
declare dso_local ptr @evhtp_kv_new(ptr noundef, ptr noundef, i8 noundef signext, i8 noundef signext) #1

; Function Attrs: nounwind uwtable
declare dso_local void @evhtp_kvs_add_kv(ptr noundef, ptr noundef) #1

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

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local void @evhtp_kv_rm_and_free(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @evhtp_kvs_find_kv(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @evhtp_send_reply_start(ptr noundef, i16 noundef zeroext) #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @evhtp_response_needs_body(i16 noundef zeroext, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @evhtp_send_reply_chunk_start(ptr noundef %0, i16 noundef zeroext %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca i16, align 2
  %5 = alloca ptr, align 8
  %6 = alloca [128 x i8], align 16
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i16 %1, ptr %4, align 2, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %9 = load i16, ptr %4, align 2, !tbaa !9
  %10 = load ptr, ptr %3, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.evhtp_request_s, ptr %10, i32 0, i32 9
  %12 = load i32, ptr %11, align 4, !tbaa !11
  %13 = call i32 @evhtp_response_needs_body(i16 noundef zeroext %9, i32 noundef %12)
  %14 = icmp ne i32 %13, 0
  br i1 %14, label %15, label %45

15:                                               ; preds = %2
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.evhtp_request_s, ptr %16, i32 0, i32 7
  %18 = load ptr, ptr %17, align 8, !tbaa !15
  %19 = call ptr @evhtp_kvs_find_kv(ptr noundef %18, ptr noundef @.str.48)
  store ptr %19, ptr %5, align 8, !tbaa !5
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.evhtp_request_s, ptr %20, i32 0, i32 8
  %22 = load i32, ptr %21, align 8, !tbaa !16
  switch i32 %22, label %41 [
    i32 2, label %23
    i32 1, label %30
  ]

23:                                               ; preds = %15
  %24 = load ptr, ptr %3, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.evhtp_request_s, ptr %24, i32 0, i32 7
  %26 = load ptr, ptr %25, align 8, !tbaa !15
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  call void @evhtp_kv_rm_and_free(ptr noundef %26, ptr noundef %27)
  %28 = load ptr, ptr %3, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.evhtp_request_s, ptr %28, i32 0, i32 13
  store i32 1, ptr %29, align 4, !tbaa !17
  br label %44

30:                                               ; preds = %15
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.evhtp_request_s, ptr %31, i32 0, i32 7
  %33 = load ptr, ptr %32, align 8, !tbaa !15
  %34 = load ptr, ptr %5, align 8, !tbaa !5
  call void @evhtp_kv_rm_and_free(ptr noundef %33, ptr noundef %34)
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.evhtp_request_s, ptr %35, i32 0, i32 7
  %37 = load ptr, ptr %36, align 8, !tbaa !15
  %38 = call ptr @evhtp_kv_new(ptr noundef @.str.48, ptr noundef @.str.49, i8 noundef signext 0, i8 noundef signext 0)
  call void @evhtp_kvs_add_kv(ptr noundef %37, ptr noundef %38)
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.evhtp_request_s, ptr %39, i32 0, i32 13
  store i32 1, ptr %40, align 4, !tbaa !17
  br label %44

41:                                               ; preds = %15
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.evhtp_request_s, ptr %42, i32 0, i32 13
  store i32 0, ptr %43, align 4, !tbaa !17
  br label %44

44:                                               ; preds = %41, %30, %23
  br label %48

45:                                               ; preds = %2
  %46 = load ptr, ptr %3, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.evhtp_request_s, ptr %46, i32 0, i32 13
  store i32 0, ptr %47, align 4, !tbaa !17
  br label %48

48:                                               ; preds = %45, %44
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.evhtp_request_s, ptr %49, i32 0, i32 13
  %51 = load i32, ptr %50, align 4, !tbaa !17
  %52 = icmp eq i32 %51, 1
  br i1 %52, label %53, label %94

53:                                               ; preds = %48
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.evhtp_request_s, ptr %54, i32 0, i32 7
  %56 = load ptr, ptr %55, align 8, !tbaa !15
  %57 = call ptr @evhtp_kv_new(ptr noundef @.str.50, ptr noundef @.str.51, i8 noundef signext 0, i8 noundef signext 0)
  call void @evhtp_kvs_add_kv(ptr noundef %56, ptr noundef %57)
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.evhtp_request_s, ptr %58, i32 0, i32 5
  %60 = load ptr, ptr %59, align 8, !tbaa !18
  %61 = call i64 @evbuffer_get_length(ptr noundef %60)
  %62 = icmp ugt i64 %61, 0
  br i1 %62, label %63, label %93

63:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 128, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %64 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0
  %65 = load ptr, ptr %3, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.evhtp_request_s, ptr %65, i32 0, i32 5
  %67 = load ptr, ptr %66, align 8, !tbaa !18
  %68 = call i64 @evbuffer_get_length(ptr noundef %67)
  %69 = trunc i64 %68 to i32
  %70 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %64, i64 noundef 128, ptr noundef @.str.52, i32 noundef %69) #5
  store i32 %70, ptr %7, align 4, !tbaa !19
  %71 = load i32, ptr %7, align 4, !tbaa !19
  %72 = sext i32 %71 to i64
  %73 = icmp uge i64 %72, 128
  br i1 %73, label %77, label %74

74:                                               ; preds = %63
  %75 = load i32, ptr %7, align 4, !tbaa !19
  %76 = icmp slt i32 %75, 0
  br i1 %76, label %77, label %78

77:                                               ; preds = %74, %63
  store i32 3, ptr %8, align 4
  br label %90

78:                                               ; preds = %74
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.evhtp_request_s, ptr %79, i32 0, i32 5
  %81 = load ptr, ptr %80, align 8, !tbaa !18
  %82 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0
  %83 = getelementptr inbounds [128 x i8], ptr %6, i64 0, i64 0
  %84 = call i64 @strlen(ptr noundef %83) #6
  %85 = call i32 @evbuffer_prepend(ptr noundef %81, ptr noundef %82, i64 noundef %84)
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.evhtp_request_s, ptr %86, i32 0, i32 5
  %88 = load ptr, ptr %87, align 8, !tbaa !18
  %89 = call i32 @evbuffer_add(ptr noundef %88, ptr noundef @.str.53, i64 noundef 2)
  store i32 0, ptr %8, align 4
  br label %90

90:                                               ; preds = %78, %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 128, ptr %6) #5
  %91 = load i32, ptr %8, align 4
  switch i32 %91, label %98 [
    i32 0, label %92
    i32 3, label %95
  ]

92:                                               ; preds = %90
  br label %93

93:                                               ; preds = %92, %53
  br label %94

94:                                               ; preds = %93, %48
  br label %95

95:                                               ; preds = %94, %90
  %96 = load ptr, ptr %3, align 8, !tbaa !5
  %97 = load i16, ptr %4, align 2, !tbaa !9
  call void @evhtp_send_reply_start(ptr noundef %96, i16 noundef zeroext %97)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  ret void

98:                                               ; preds = %90
  unreachable
}

declare i64 @evbuffer_get_length(ptr noundef) #3

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { nounwind willreturn memory(read) }

!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 = !{!"short", !7, i64 0}
!11 = !{!12, !13, i64 68}
!12 = !{!"evhtp_request_s", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !13, i64 64, !13, i64 68, !10, i64 72, !13, i64 76, !13, i64 80, !13, i64 84, !6, i64 88, !6, i64 96, !13, i64 104, !14, i64 112}
!13 = !{!"int", !7, i64 0}
!14 = !{!"", !6, i64 0, !6, i64 8}
!15 = !{!12, !6, i64 56}
!16 = !{!12, !13, i64 64}
!17 = !{!12, !13, i64 84}
!18 = !{!12, !6, i64 40}
!19 = !{!13, !13, 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"

@.str.48 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [3 x i8], align 1

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @evhtp_kv_new(ptr noundef, ptr noundef, i8 noundef signext, i8 noundef signext) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @evhtp_kvs_add_kv(ptr noundef, ptr noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local void @evhtp_kv_rm_and_free(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @evhtp_kvs_find_kv(ptr noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @evhtp_send_reply_start(ptr noundef, i16 noundef zeroext) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local i32 @evhtp_response_needs_body(i16 noundef zeroext, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @evhtp_send_reply_chunk_start(ptr noundef %0, i16 noundef zeroext %1) local_unnamed_addr #1 {
  %3 = alloca [128 x i8], align 16
  %4 = getelementptr inbounds i8, ptr %0, i64 68
  %5 = load i32, ptr %4, align 4, !tbaa !5
  %6 = tail call i32 @evhtp_response_needs_body(i16 noundef zeroext %1, i32 noundef %5)
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %21, label %7

7:                                                ; preds = %2
  %8 = getelementptr inbounds i8, ptr %0, i64 56
  %9 = load ptr, ptr %8, align 8, !tbaa !13
  %10 = tail call ptr @evhtp_kvs_find_kv(ptr noundef %9, ptr noundef nonnull @.str.48)
  %11 = getelementptr inbounds i8, ptr %0, i64 64
  %12 = load i32, ptr %11, align 8, !tbaa !14
  switch i32 %12, label %19 [
    i32 2, label %13
    i32 1, label %15
  ]

13:                                               ; preds = %7
  %14 = load ptr, ptr %8, align 8, !tbaa !13
  tail call void @evhtp_kv_rm_and_free(ptr noundef %14, ptr noundef %10)
  br label %23

15:                                               ; preds = %7
  %16 = load ptr, ptr %8, align 8, !tbaa !13
  tail call void @evhtp_kv_rm_and_free(ptr noundef %16, ptr noundef %10)
  %17 = load ptr, ptr %8, align 8, !tbaa !13
  %18 = tail call ptr @evhtp_kv_new(ptr noundef nonnull @.str.48, ptr noundef nonnull @.str.49, i8 noundef signext 0, i8 noundef signext 0)
  tail call void @evhtp_kvs_add_kv(ptr noundef %17, ptr noundef %18)
  br label %23

19:                                               ; preds = %7
  %20 = getelementptr inbounds i8, ptr %0, i64 84
  store i32 0, ptr %20, align 4, !tbaa !15
  br label %44

21:                                               ; preds = %2
  %22 = getelementptr inbounds i8, ptr %0, i64 84
  store i32 0, ptr %22, align 4, !tbaa !15
  br label %44

23:                                               ; preds = %13, %15
  %24 = getelementptr inbounds i8, ptr %0, i64 84
  store i32 1, ptr %24, align 4, !tbaa !15
  %25 = getelementptr inbounds i8, ptr %0, i64 56
  %26 = load ptr, ptr %25, align 8, !tbaa !13
  %27 = tail call ptr @evhtp_kv_new(ptr noundef nonnull @.str.50, ptr noundef nonnull @.str.51, i8 noundef signext 0, i8 noundef signext 0)
  tail call void @evhtp_kvs_add_kv(ptr noundef %26, ptr noundef %27)
  %28 = getelementptr inbounds i8, ptr %0, i64 40
  %29 = load ptr, ptr %28, align 8, !tbaa !16
  %30 = tail call i64 @evbuffer_get_length(ptr noundef %29) #5
  %.not23 = icmp eq i64 %30, 0
  br i1 %.not23, label %44, label %31

31:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %3) #5
  %32 = load ptr, ptr %28, align 8, !tbaa !16
  %33 = tail call i64 @evbuffer_get_length(ptr noundef %32) #5
  %34 = trunc i64 %33 to i32
  %35 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %3, i64 noundef 128, ptr noundef nonnull @.str.52, i32 noundef %34) #5
  %36 = icmp ugt i32 %35, 127
  br i1 %36, label %43, label %37

37:                                               ; preds = %31
  %38 = load ptr, ptr %28, align 8, !tbaa !16
  %39 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %3) #6
  %40 = call i32 @evbuffer_prepend(ptr noundef %38, ptr noundef nonnull %3, i64 noundef %39) #5
  %41 = load ptr, ptr %28, align 8, !tbaa !16
  %42 = call i32 @evbuffer_add(ptr noundef %41, ptr noundef nonnull @.str.53, i64 noundef 2) #5
  br label %43

43:                                               ; preds = %31, %37
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %3) #5
  br label %44

44:                                               ; preds = %21, %19, %43, %23
  call void @evhtp_send_reply_start(ptr noundef nonnull %0, i16 noundef zeroext %1)
  ret void
}

declare i64 @evbuffer_get_length(ptr noundef) local_unnamed_addr #3

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

declare i32 @evbuffer_prepend(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3

declare i32 @evbuffer_add(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 68}
!6 = !{!"evhtp_request_s", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !10, i64 64, !10, i64 68, !11, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !7, i64 88, !7, i64 96, !10, i64 104, !12, i64 112}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"short", !8, i64 0}
!12 = !{!"", !7, i64 0, !7, i64 8}
!13 = !{!6, !7, i64 56}
!14 = !{!6, !10, i64 64}
!15 = !{!6, !10, i64 84}
!16 = !{!6, !7, i64 40}


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