; LLVM IR from aap/librw :: src/d3d/d3d.ll (ZN2rw3d3d13createTextureEiiijj)

; 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.rw::RasterLevels" = type { i32, i32, [1 x %"struct.rw::RasterLevels::Level"] }
%"struct.rw::RasterLevels::Level" = type { i32, i32, i32, ptr }

@.str.2 = external hidden unnamed_addr constant [75 x i8], align 1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN2rw14mustmalloc_LOCEmjPKc(i64 noundef, i32 noundef, ptr noundef) #0

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

20:                                               ; preds = %44, %5
  %21 = load i32, ptr %14, align 4, !tbaa !5
  %22 = load i32, ptr %8, align 4, !tbaa !5
  %23 = icmp slt i32 %21, %22
  br i1 %23, label %25, label %24

24:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %47

25:                                               ; preds = %20
  %26 = load i32, ptr %11, align 4, !tbaa !5
  %27 = load i32, ptr %12, align 4, !tbaa !5
  %28 = load i32, ptr %10, align 4, !tbaa !5
  %29 = call noundef i32 @_ZN2rw3d3dL20calculateTextureSizeEjjjj(i32 noundef %26, i32 noundef %27, i32 noundef 1, i32 noundef %28)
  %30 = load i32, ptr %13, align 4, !tbaa !5
  %31 = add i32 %30, %29
  store i32 %31, ptr %13, align 4, !tbaa !5
  %32 = load i32, ptr %11, align 4, !tbaa !5
  %33 = sdiv i32 %32, 2
  store i32 %33, ptr %11, align 4, !tbaa !5
  %34 = load i32, ptr %11, align 4, !tbaa !5
  %35 = icmp eq i32 %34, 0
  br i1 %35, label %36, label %37

36:                                               ; preds = %25
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %37

37:                                               ; preds = %36, %25
  %38 = load i32, ptr %12, align 4, !tbaa !5
  %39 = sdiv i32 %38, 2
  store i32 %39, ptr %12, align 4, !tbaa !5
  %40 = load i32, ptr %12, align 4, !tbaa !5
  %41 = icmp eq i32 %40, 0
  br i1 %41, label %42, label %43

42:                                               ; preds = %37
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %42, %37
  br label %44

44:                                               ; preds = %43
  %45 = load i32, ptr %14, align 4, !tbaa !5
  %46 = add nsw i32 %45, 1
  store i32 %46, ptr %14, align 4, !tbaa !5
  br label %20, !llvm.loop !9

47:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %48 = load i32, ptr %8, align 4, !tbaa !5
  %49 = sub nsw i32 %48, 1
  %50 = sext i32 %49 to i64
  %51 = mul i64 24, %50
  %52 = add i64 32, %51
  %53 = load i32, ptr %13, align 4, !tbaa !5
  %54 = sext i32 %53 to i64
  %55 = add i64 %52, %54
  %56 = call noundef ptr @_ZN2rw14mustmalloc_LOCEmjPKc(i64 noundef %55, i32 noundef 199424, ptr noundef @.str.2)
  store ptr %56, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %57 = load ptr, ptr %15, align 8, !tbaa !11
  store ptr %57, ptr %16, align 8, !tbaa !11
  %58 = load i32, ptr %8, align 4, !tbaa !5
  %59 = sub nsw i32 %58, 1
  %60 = sext i32 %59 to i64
  %61 = mul i64 24, %60
  %62 = add i64 32, %61
  %63 = load ptr, ptr %15, align 8, !tbaa !11
  %64 = getelementptr inbounds i8, ptr %63, i64 %62
  store ptr %64, ptr %15, align 8, !tbaa !11
  %65 = load i32, ptr %8, align 4, !tbaa !5
  %66 = load ptr, ptr %16, align 8, !tbaa !11
  %67 = getelementptr inbounds %"struct.rw::RasterLevels", ptr %66, i32 0, i32 0
  store i32 %65, ptr %67, align 8, !tbaa !13
  %68 = load i32, ptr %10, align 4, !tbaa !5
  %69 = load ptr, ptr %16, align 8, !tbaa !11
  %70 = getelementptr inbounds %"struct.rw::RasterLevels", ptr %69, i32 0, i32 1
  store i32 %68, ptr %70, align 4, !tbaa !15
  %71 = load i32, ptr %6, align 4, !tbaa !5
  store i32 %71, ptr %11, align 4, !tbaa !5
  %72 = load i32, ptr %7, align 4, !tbaa !5
  store i32 %72, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %73

73:                                               ; preds = %132, %47
  %74 = load i32, ptr %17, align 4, !tbaa !5
  %75 = load i32, ptr %8, align 4, !tbaa !5
  %76 = icmp slt i32 %74, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %73
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %135

78:                                               ; preds = %73
  %79 = load i32, ptr %11, align 4, !tbaa !5
  %80 = load ptr, ptr %16, align 8, !tbaa !11
  %81 = getelementptr inbounds %"struct.rw::RasterLevels", ptr %80, i32 0, i32 2
  %82 = load i32, ptr %17, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [1 x %"struct.rw::RasterLevels::Level"], ptr %81, i64 0, i64 %83
  %85 = getelementptr inbounds %"struct.rw::RasterLevels::Level", ptr %84, i32 0, i32 0
  store i32 %79, ptr %85, align 8, !tbaa !16
  %86 = load i32, ptr %12, align 4, !tbaa !5
  %87 = load ptr, ptr %16, align 8, !tbaa !11
  %88 = getelementptr inbounds %"struct.rw::RasterLevels", ptr %87, i32 0, i32 2
  %89 = load i32, ptr %17, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [1 x %"struct.rw::RasterLevels::Level"], ptr %88, i64 0, i64 %90
  %92 = getelementptr inbounds %"struct.rw::RasterLevels::Level", ptr %91, i32 0, i32 1
  store i32 %86, ptr %92, align 4, !tbaa !18
  %93 = load ptr, ptr %15, align 8, !tbaa !11
  %94 = load ptr, ptr %16, align 8, !tbaa !11
  %95 = getelementptr inbounds %"struct.rw::RasterLevels", ptr %94, i32 0, i32 2
  %96 = load i32, ptr %17, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [1 x %"struct.rw::RasterLevels::Level"], ptr %95, i64 0, i64 %97
  %99 = getelementptr inbounds %"struct.rw::RasterLevels::Level", ptr %98, i32 0, i32 3
  store ptr %93, ptr %99, align 8, !tbaa !19
  %100 = load i32, ptr %11, align 4, !tbaa !5
  %101 = load i32, ptr %12, align 4, !tbaa !5
  %102 = load i32, ptr %10, align 4, !tbaa !5
  %103 = call noundef i32 @_ZN2rw3d3dL20calculateTextureSizeEjjjj(i32 noundef %100, i32 noundef %101, i32 noundef 1, i32 noundef %102)
  %104 = load ptr, ptr %16, align 8, !tbaa !11
  %105 = getelementptr inbounds %"struct.rw::RasterLevels", ptr %104, i32 0, i32 2
  %106 = load i32, ptr %17, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [1 x %"struct.rw::RasterLevels::Level"], ptr %105, i64 0, i64 %107
  %109 = getelementptr inbounds %"struct.rw::RasterLevels::Level", ptr %108, i32 0, i32 2
  store i32 %103, ptr %109, align 8, !tbaa !20
  %110 = load ptr, ptr %16, align 8, !tbaa !11
  %111 = getelementptr inbounds %"struct.rw::RasterLevels", ptr %110, i32 0, i32 2
  %112 = load i32, ptr %17, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [1 x %"struct.rw::RasterLevels::Level"], ptr %111, i64 0, i64 %113
  %115 = getelementptr inbounds %"struct.rw::RasterLevels::Level", ptr %114, i32 0, i32 2
  %116 = load i32, ptr %115, align 8, !tbaa !20
  %117 = load ptr, ptr %15, align 8, !tbaa !11
  %118 = sext i32 %116 to i64
  %119 = getelementptr inbounds i8, ptr %117, i64 %118
  store ptr %119, ptr %15, align 8, !tbaa !11
  %120 = load i32, ptr %11, align 4, !tbaa !5
  %121 = sdiv i32 %120, 2
  store i32 %121, ptr %11, align 4, !tbaa !5
  %122 = load i32, ptr %11, align 4, !tbaa !5
  %123 = icmp eq i32 %122, 0
  br i1 %123, label %124, label %125

124:                                              ; preds = %78
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %125

125:                                              ; preds = %124, %78
  %126 = load i32, ptr %12, align 4, !tbaa !5
  %127 = sdiv i32 %126, 2
  store i32 %127, ptr %12, align 4, !tbaa !5
  %128 = load i32, ptr %12, align 4, !tbaa !5
  %129 = icmp eq i32 %128, 0
  br i1 %129, label %130, label %131

130:                                              ; preds = %125
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %131

131:                                              ; preds = %130, %125
  br label %132

132:                                              ; preds = %131
  %133 = load i32, ptr %17, align 4, !tbaa !5
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %17, align 4, !tbaa !5
  br label %73, !llvm.loop !21

135:                                              ; preds = %77
  %136 = load ptr, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  ret ptr %136
}

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN2rw3d3dL20calculateTextureSizeEjjjj(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSN2rw12RasterLevelsE", !6, i64 0, !6, i64 4, !7, i64 8}
!15 = !{!14, !6, i64 4}
!16 = !{!17, !6, i64 0}
!17 = !{!"_ZTSN2rw12RasterLevels5LevelE", !6, i64 0, !6, i64 4, !6, i64 8, !12, i64 16}
!18 = !{!17, !6, i64 4}
!19 = !{!17, !12, i64 16}
!20 = !{!17, !6, i64 8}
!21 = distinct !{!21, !10}


; 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.rw::RasterLevels::Level" = type { i32, i32, i32, ptr }

@.str.2 = external hidden unnamed_addr constant [75 x i8], align 1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN2rw14mustmalloc_LOCEmjPKc(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN2rw3d3d13createTextureEiiijj(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #1 {
  %6 = icmp sgt i32 %2, 0
  br i1 %6, label %.lr.ph, label %._crit_edge

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %7 = sext i32 %18 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %5
  %.054.lcssa = phi i64 [ 0, %5 ], [ %7, %._crit_edge.loopexit ]
  %8 = add nsw i32 %2, -1
  %9 = sext i32 %8 to i64
  %10 = mul nsw i64 %9, 24
  %11 = add nsw i64 %10, 32
  %12 = add nsw i64 %11, %.054.lcssa
  %13 = tail call noundef ptr @_ZN2rw14mustmalloc_LOCEmjPKc(i64 noundef %12, i32 noundef 199424, ptr noundef nonnull @.str.2)
  store i32 %2, ptr %13, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %13, i64 4
  store i32 %4, ptr %14, align 4, !tbaa !10
  br i1 %6, label %.lr.ph67, label %._crit_edge68

.lr.ph67:                                         ; preds = %._crit_edge
  %15 = getelementptr inbounds i8, ptr %13, i64 %11
  %16 = getelementptr inbounds i8, ptr %13, i64 8
  %wide.trip.count = zext nneg i32 %2 to i64
  br label %24

.lr.ph:                                           ; preds = %5, %.lr.ph
  %.05161 = phi i32 [ %spec.store.select, %.lr.ph ], [ %0, %5 ]
  %.05360 = phi i32 [ %23, %.lr.ph ], [ 0, %5 ]
  %.05459 = phi i32 [ %18, %.lr.ph ], [ 0, %5 ]
  %.05558 = phi i32 [ %spec.store.select2, %.lr.ph ], [ %1, %5 ]
  %17 = tail call noundef i32 @_ZN2rw3d3dL20calculateTextureSizeEjjjj(i32 noundef %.05161, i32 noundef %.05558, i32 noundef 1, i32 noundef %4)
  %18 = add i32 %17, %.05459
  %19 = sdiv i32 %.05161, 2
  %.051.off = add i32 %.05161, 1
  %20 = icmp ult i32 %.051.off, 3
  %spec.store.select = select i1 %20, i32 1, i32 %19
  %21 = sdiv i32 %.05558, 2
  %.055.off = add i32 %.05558, 1
  %22 = icmp ult i32 %.055.off, 3
  %spec.store.select2 = select i1 %22, i32 1, i32 %21
  %23 = add nuw nsw i32 %.05360, 1
  %exitcond.not = icmp eq i32 %23, %2
  br i1 %exitcond.not, label %._crit_edge.loopexit, label %.lr.ph, !llvm.loop !11

._crit_edge68:                                    ; preds = %24, %._crit_edge
  ret ptr %13

24:                                               ; preds = %.lr.ph67, %24
  %indvars.iv = phi i64 [ 0, %.lr.ph67 ], [ %indvars.iv.next, %24 ]
  %.164 = phi i32 [ %0, %.lr.ph67 ], [ %spec.store.select1, %24 ]
  %.05263 = phi ptr [ %15, %.lr.ph67 ], [ %31, %24 ]
  %.15662 = phi i32 [ %1, %.lr.ph67 ], [ %spec.store.select3, %24 ]
  %25 = getelementptr inbounds [1 x %"struct.rw::RasterLevels::Level"], ptr %16, i64 0, i64 %indvars.iv
  store i32 %.164, ptr %25, align 8, !tbaa !13
  %26 = getelementptr inbounds i8, ptr %25, i64 4
  store i32 %.15662, ptr %26, align 4, !tbaa !16
  %27 = getelementptr inbounds i8, ptr %25, i64 16
  store ptr %.05263, ptr %27, align 8, !tbaa !17
  %28 = tail call noundef i32 @_ZN2rw3d3dL20calculateTextureSizeEjjjj(i32 noundef %.164, i32 noundef %.15662, i32 noundef 1, i32 noundef %4)
  %29 = getelementptr inbounds i8, ptr %25, i64 8
  store i32 %28, ptr %29, align 8, !tbaa !18
  %30 = sext i32 %28 to i64
  %31 = getelementptr inbounds i8, ptr %.05263, i64 %30
  %32 = sdiv i32 %.164, 2
  %.1.off = add i32 %.164, 1
  %33 = icmp ult i32 %.1.off, 3
  %spec.store.select1 = select i1 %33, i32 1, i32 %32
  %34 = sdiv i32 %.15662, 2
  %.156.off = add i32 %.15662, 1
  %35 = icmp ult i32 %.156.off, 3
  %spec.store.select3 = select i1 %35, i32 1, i32 %34
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond70.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond70.not, label %._crit_edge68, label %24, !llvm.loop !19
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN2rw3d3dL20calculateTextureSizeEjjjj(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

attributes #0 = { inlinehint mustprogress 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 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 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" }

!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 = !{!"_ZTSN2rw12RasterLevelsE", !7, i64 0, !7, i64 4, !8, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !7, i64 0}
!14 = !{!"_ZTSN2rw12RasterLevels5LevelE", !7, i64 0, !7, i64 4, !7, i64 8, !15, i64 16}
!15 = !{!"any pointer", !8, i64 0}
!16 = !{!14, !7, i64 4}
!17 = !{!14, !15, i64 16}
!18 = !{!14, !7, i64 8}
!19 = distinct !{!19, !12}


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