; LLVM IR from SourangshuGhosh/Fluid-Simulation-for-Computer-Graphics :: src/polygonizer3d.ll (ZN13Polygonizer3d16_isCellOnSurfaceE9GridIndex)

; 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.GridIndex = type { i32, i32, i32 }
%class.Polygonizer3d = type <{ i32, i32, i32, [4 x i8], double, double, ptr, i8, [7 x i8], ptr, i8, [7 x i8] }>

; 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: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN13Polygonizer3d16_isCellOnSurfaceE9GridIndex(ptr noundef nonnull align 8 dereferenceable(57) %0, i64 %1, i32 %2) #2 align 2 {
  %4 = alloca i1, align 1
  %5 = alloca %struct.GridIndex, align 4
  %6 = alloca { i64, i32 }, align 4
  %7 = alloca ptr, align 8
  %8 = alloca [8 x %struct.GridIndex], align 16
  %9 = alloca %struct.GridIndex, align 4
  %10 = alloca { i64, i32 }, align 4
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca i32, align 4
  %14 = alloca %struct.GridIndex, align 4
  %15 = alloca { i64, i32 }, align 4
  %16 = alloca i32, align 4
  %17 = getelementptr inbounds { i64, i32 }, ptr %6, i32 0, i32 0
  store i64 %1, ptr %17, align 4
  %18 = getelementptr inbounds { i64, i32 }, ptr %6, i32 0, i32 1
  store i32 %2, ptr %18, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 %6, i64 12, i1 false)
  store ptr %0, ptr %7, align 8, !tbaa !5
  %19 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 96, ptr %8) #6
  %20 = getelementptr inbounds [8 x %struct.GridIndex], ptr %8, i32 0, i32 0
  %21 = getelementptr inbounds %struct.GridIndex, ptr %20, i64 8
  br label %22

22:                                               ; preds = %22, %3
  %23 = phi ptr [ %20, %3 ], [ %24, %22 ]
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %23)
  %24 = getelementptr inbounds %struct.GridIndex, ptr %23, i64 1
  %25 = icmp eq ptr %24, %21
  br i1 %25, label %26, label %22

26:                                               ; preds = %22
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %5, i64 12, i1 false), !tbaa.struct !9
  %27 = getelementptr inbounds [8 x %struct.GridIndex], ptr %8, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %9, i64 12, i1 false)
  %28 = getelementptr inbounds { i64, i32 }, ptr %10, i32 0, i32 0
  %29 = load i64, ptr %28, align 4
  %30 = getelementptr inbounds { i64, i32 }, ptr %10, i32 0, i32 1
  %31 = load i32, ptr %30, align 4
  call void @_ZN6Grid3d20getGridIndexVerticesE9GridIndexPS0_(i64 %29, i32 %31, ptr noundef %27)
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #6
  store i8 0, ptr %11, align 1, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  store i8 0, ptr %12, align 1, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !10
  br label %32

32:                                               ; preds = %53, %26
  %33 = load i32, ptr %13, align 4, !tbaa !10
  %34 = icmp slt i32 %33, 8
  br i1 %34, label %36, label %35

35:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %56

36:                                               ; preds = %32
  %37 = getelementptr inbounds %class.Polygonizer3d, ptr %19, i32 0, i32 6
  %38 = load ptr, ptr %37, align 8, !tbaa !14
  %39 = load i32, ptr %13, align 4, !tbaa !10
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [8 x %struct.GridIndex], ptr %8, i64 0, i64 %40
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %41, i64 12, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %14, i64 12, i1 false)
  %42 = getelementptr inbounds { i64, i32 }, ptr %15, i32 0, i32 0
  %43 = load i64, ptr %42, align 4
  %44 = getelementptr inbounds { i64, i32 }, ptr %15, i32 0, i32 1
  %45 = load i32, ptr %44, align 4
  %46 = call noundef double @_ZN11ScalarField19getScalarFieldValueE9GridIndex(ptr noundef nonnull align 8 dereferenceable(248) %38, i64 %43, i32 %45)
  %47 = getelementptr inbounds %class.Polygonizer3d, ptr %19, i32 0, i32 5
  %48 = load double, ptr %47, align 8, !tbaa !17
  %49 = fcmp ogt double %46, %48
  br i1 %49, label %50, label %51

50:                                               ; preds = %36
  store i8 1, ptr %11, align 1, !tbaa !12
  br label %52

51:                                               ; preds = %36
  store i8 1, ptr %12, align 1, !tbaa !12
  br label %52

52:                                               ; preds = %51, %50
  br label %53

53:                                               ; preds = %52
  %54 = load i32, ptr %13, align 4, !tbaa !10
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %13, align 4, !tbaa !10
  br label %32, !llvm.loop !18

56:                                               ; preds = %35
  %57 = load i8, ptr %11, align 1, !tbaa !12, !range !20, !noundef !21
  %58 = trunc i8 %57 to i1
  br i1 %58, label %59, label %63

59:                                               ; preds = %56
  %60 = load i8, ptr %12, align 1, !tbaa !12, !range !20, !noundef !21
  %61 = trunc i8 %60 to i1
  br i1 %61, label %62, label %63

62:                                               ; preds = %59
  store i1 true, ptr %4, align 1
  store i32 1, ptr %16, align 4
  br label %64

63:                                               ; preds = %59, %56
  store i1 false, ptr %4, align 1
  store i32 1, ptr %16, align 4
  br label %64

64:                                               ; preds = %63, %62
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 96, ptr %8) #6
  %65 = load i1, ptr %4, align 1
  ret i1 %65
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6Grid3d20getGridIndexVerticesE9GridIndexPS0_(i64, i32, ptr noundef) #4

declare noundef double @_ZN11ScalarField19getScalarFieldValueE9GridIndex(ptr noundef nonnull align 8 dereferenceable(248), i64, i32) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { 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 #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 }

!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++ TBAA"}
!9 = !{i64 0, i64 4, !10, i64 4, i64 4, !10, i64 8, i64 4, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!15, !6, i64 32}
!15 = !{!"_ZTS13Polygonizer3d", !11, i64 0, !11, i64 4, !11, i64 8, !16, i64 16, !16, i64 24, !6, i64 32, !13, i64 40, !6, i64 48, !13, i64 56}
!16 = !{!"double", !7, i64 0}
!17 = !{!15, !16, i64 24}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{i8 0, i8 2}
!21 = !{}


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

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

; 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 uwtable
define dso_local noundef zeroext i1 @_ZN13Polygonizer3d16_isCellOnSurfaceE9GridIndex(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %0, i64 %1, i32 %2) local_unnamed_addr #1 align 2 {
  %4 = alloca [8 x %struct.GridIndex], align 16
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %4) #5
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %4)
  %.ptr.1 = getelementptr inbounds i8, ptr %4, i64 12
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %.ptr.1)
  %.ptr.2 = getelementptr inbounds i8, ptr %4, i64 24
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %.ptr.2)
  %.ptr.3 = getelementptr inbounds i8, ptr %4, i64 36
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %.ptr.3)
  %.ptr.4 = getelementptr inbounds i8, ptr %4, i64 48
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %.ptr.4)
  %.ptr.5 = getelementptr inbounds i8, ptr %4, i64 60
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %.ptr.5)
  %.ptr.6 = getelementptr inbounds i8, ptr %4, i64 72
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %.ptr.6)
  %.ptr.7 = getelementptr inbounds i8, ptr %4, i64 84
  call void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %.ptr.7)
  call void @_ZN6Grid3d20getGridIndexVerticesE9GridIndexPS0_(i64 %1, i32 %2, ptr noundef nonnull %4)
  %5 = getelementptr inbounds i8, ptr %0, i64 32
  %6 = getelementptr inbounds i8, ptr %0, i64 24
  %7 = load ptr, ptr %5, align 8, !tbaa !5
  %.sroa.01.0.copyload = load i64, ptr %4, align 16
  %.sroa.22.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  %.sroa.22.0.copyload = load i32, ptr %.sroa.22.0..sroa_idx, align 8, !tbaa !13
  %8 = call noundef double @_ZN11ScalarField19getScalarFieldValueE9GridIndex(ptr noundef nonnull align 8 dereferenceable(248) %7, i64 %.sroa.01.0.copyload, i32 %.sroa.22.0.copyload)
  %9 = load double, ptr %6, align 8, !tbaa !14
  %10 = fcmp ogt double %8, %9
  %11 = load ptr, ptr %5, align 8, !tbaa !5
  %.sroa.01.0.copyload.1 = load i64, ptr %.ptr.1, align 4
  %.sroa.22.0..sroa_idx.1 = getelementptr inbounds i8, ptr %4, i64 20
  %.sroa.22.0.copyload.1 = load i32, ptr %.sroa.22.0..sroa_idx.1, align 4, !tbaa !13
  %12 = call noundef double @_ZN11ScalarField19getScalarFieldValueE9GridIndex(ptr noundef nonnull align 8 dereferenceable(248) %11, i64 %.sroa.01.0.copyload.1, i32 %.sroa.22.0.copyload.1)
  %13 = load double, ptr %6, align 8, !tbaa !14
  %14 = fcmp ogt double %12, %13
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %.sroa.01.0.copyload.2 = load i64, ptr %.ptr.2, align 8
  %.sroa.22.0..sroa_idx.2 = getelementptr inbounds i8, ptr %4, i64 32
  %.sroa.22.0.copyload.2 = load i32, ptr %.sroa.22.0..sroa_idx.2, align 16, !tbaa !13
  %16 = call noundef double @_ZN11ScalarField19getScalarFieldValueE9GridIndex(ptr noundef nonnull align 8 dereferenceable(248) %15, i64 %.sroa.01.0.copyload.2, i32 %.sroa.22.0.copyload.2)
  %17 = load double, ptr %6, align 8, !tbaa !14
  %18 = fcmp ogt double %16, %17
  %19 = load ptr, ptr %5, align 8, !tbaa !5
  %.sroa.01.0.copyload.3 = load i64, ptr %.ptr.3, align 4
  %.sroa.22.0..sroa_idx.3 = getelementptr inbounds i8, ptr %4, i64 44
  %.sroa.22.0.copyload.3 = load i32, ptr %.sroa.22.0..sroa_idx.3, align 4, !tbaa !13
  %20 = call noundef double @_ZN11ScalarField19getScalarFieldValueE9GridIndex(ptr noundef nonnull align 8 dereferenceable(248) %19, i64 %.sroa.01.0.copyload.3, i32 %.sroa.22.0.copyload.3)
  %21 = load double, ptr %6, align 8, !tbaa !14
  %22 = fcmp ogt double %20, %21
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %.sroa.01.0.copyload.4 = load i64, ptr %.ptr.4, align 16
  %.sroa.22.0..sroa_idx.4 = getelementptr inbounds i8, ptr %4, i64 56
  %.sroa.22.0.copyload.4 = load i32, ptr %.sroa.22.0..sroa_idx.4, align 8, !tbaa !13
  %24 = call noundef double @_ZN11ScalarField19getScalarFieldValueE9GridIndex(ptr noundef nonnull align 8 dereferenceable(248) %23, i64 %.sroa.01.0.copyload.4, i32 %.sroa.22.0.copyload.4)
  %25 = load double, ptr %6, align 8, !tbaa !14
  %26 = fcmp ogt double %24, %25
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %.sroa.01.0.copyload.5 = load i64, ptr %.ptr.5, align 4
  %.sroa.22.0..sroa_idx.5 = getelementptr inbounds i8, ptr %4, i64 68
  %.sroa.22.0.copyload.5 = load i32, ptr %.sroa.22.0..sroa_idx.5, align 4, !tbaa !13
  %28 = call noundef double @_ZN11ScalarField19getScalarFieldValueE9GridIndex(ptr noundef nonnull align 8 dereferenceable(248) %27, i64 %.sroa.01.0.copyload.5, i32 %.sroa.22.0.copyload.5)
  %29 = load double, ptr %6, align 8, !tbaa !14
  %30 = fcmp ogt double %28, %29
  %31 = load ptr, ptr %5, align 8, !tbaa !5
  %.sroa.01.0.copyload.6 = load i64, ptr %.ptr.6, align 8
  %.sroa.22.0..sroa_idx.6 = getelementptr inbounds i8, ptr %4, i64 80
  %.sroa.22.0.copyload.6 = load i32, ptr %.sroa.22.0..sroa_idx.6, align 16, !tbaa !13
  %32 = call noundef double @_ZN11ScalarField19getScalarFieldValueE9GridIndex(ptr noundef nonnull align 8 dereferenceable(248) %31, i64 %.sroa.01.0.copyload.6, i32 %.sroa.22.0.copyload.6)
  %33 = load double, ptr %6, align 8, !tbaa !14
  %34 = fcmp ogt double %32, %33
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %.sroa.01.0.copyload.7 = load i64, ptr %.ptr.7, align 4
  %.sroa.22.0..sroa_idx.7 = getelementptr inbounds i8, ptr %4, i64 92
  %.sroa.22.0.copyload.7 = load i32, ptr %.sroa.22.0..sroa_idx.7, align 4, !tbaa !13
  %36 = call noundef double @_ZN11ScalarField19getScalarFieldValueE9GridIndex(ptr noundef nonnull align 8 dereferenceable(248) %35, i64 %.sroa.01.0.copyload.7, i32 %.sroa.22.0.copyload.7)
  %37 = load double, ptr %6, align 8, !tbaa !14
  %38 = fcmp ogt double %36, %37
  %39 = select i1 %38, i1 %34, i1 false
  %40 = select i1 %39, i1 %30, i1 false
  %41 = select i1 %40, i1 %26, i1 false
  %42 = select i1 %41, i1 %22, i1 false
  %43 = select i1 %42, i1 %18, i1 false
  %44 = select i1 %43, i1 %14, i1 false
  %45 = select i1 %44, i1 %10, i1 false
  %.017..7 = xor i1 %45, true
  %46 = select i1 %38, i1 true, i1 %34
  %47 = select i1 %46, i1 true, i1 %30
  %48 = select i1 %47, i1 true, i1 %26
  %49 = select i1 %48, i1 true, i1 %22
  %50 = select i1 %49, i1 true, i1 %18
  %51 = select i1 %50, i1 true, i1 %14
  %..016.7 = select i1 %51, i1 true, i1 %10
  %52 = select i1 %..016.7, i1 %.017..7, i1 false
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #5
  ret i1 %52
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9GridIndexC2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN6Grid3d20getGridIndexVerticesE9GridIndexPS0_(i64, i32, ptr noundef) local_unnamed_addr #3

declare noundef double @_ZN11ScalarField19getScalarFieldValueE9GridIndex(ptr noundef nonnull align 8 dereferenceable(248), i64, i32) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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" }
attributes #3 = { 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 #4 = { "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 }

!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, !11, i64 32}
!6 = !{!"_ZTS13Polygonizer3d", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !11, i64 32, !12, i64 40, !11, i64 48, !12, i64 56}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"bool", !8, i64 0}
!13 = !{!7, !7, i64 0}
!14 = !{!6, !10, i64 24}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass