; LLVM IR from AF-GRILL/DISPluginForUnreal :: Source/ThirdParty/include/dis7 (DirectedEnergyPrecisionAimpoint)

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

%"class.DIS::DirectedEnergyPrecisionAimpoint" = type { ptr, i32, i16, i16, %"class.DIS::Vector3Double", %"class.DIS::Vector3Float", %"class.DIS::Vector3Float", %"class.DIS::Vector3Float", %"class.DIS::EntityID", i8, i8, float, float, float }
%"class.DIS::Vector3Double" = type { ptr, double, double, double }
%"class.DIS::Vector3Float" = type <{ ptr, float, float, float, [4 x i8] }>
%"class.DIS::EntityID" = type <{ ptr, %"class.DIS::SimulationAddress", i16, [6 x i8] }>
%"class.DIS::SimulationAddress" = type <{ ptr, i16, i16, [4 x i8] }>

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3DIS31DirectedEnergyPrecisionAimpointeqERKS0_(ptr noundef nonnull align 8 dereferenceable(168) %0, ptr noundef nonnull align 8 dereferenceable(168) %1) #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %6 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #3
  store i8 1, ptr %5, align 1, !tbaa !9
  %7 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %6, i32 0, i32 1
  %8 = load i32, ptr %7, align 8, !tbaa !11
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  %10 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %9, i32 0, i32 1
  %11 = load i32, ptr %10, align 8, !tbaa !11
  %12 = icmp eq i32 %8, %11
  br i1 %12, label %14, label %13

13:                                               ; preds = %2
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %14

14:                                               ; preds = %13, %2
  %15 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %6, i32 0, i32 2
  %16 = load i16, ptr %15, align 4, !tbaa !21
  %17 = zext i16 %16 to i32
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %18, i32 0, i32 2
  %20 = load i16, ptr %19, align 4, !tbaa !21
  %21 = zext i16 %20 to i32
  %22 = icmp eq i32 %17, %21
  br i1 %22, label %24, label %23

23:                                               ; preds = %14
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %24

24:                                               ; preds = %23, %14
  %25 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %6, i32 0, i32 3
  %26 = load i16, ptr %25, align 2, !tbaa !22
  %27 = zext i16 %26 to i32
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %28, i32 0, i32 3
  %30 = load i16, ptr %29, align 2, !tbaa !22
  %31 = zext i16 %30 to i32
  %32 = icmp eq i32 %27, %31
  br i1 %32, label %34, label %33

33:                                               ; preds = %24
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %34

34:                                               ; preds = %33, %24
  %35 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %6, i32 0, i32 4
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %36, i32 0, i32 4
  %38 = call noundef zeroext i1 @_ZNK3DIS13Vector3DoubleeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %37)
  br i1 %38, label %40, label %39

39:                                               ; preds = %34
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %40

40:                                               ; preds = %39, %34
  %41 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %6, i32 0, i32 5
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %42, i32 0, i32 5
  %44 = call noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %41, ptr noundef nonnull align 8 dereferenceable(20) %43)
  br i1 %44, label %46, label %45

45:                                               ; preds = %40
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %46

46:                                               ; preds = %45, %40
  %47 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %6, i32 0, i32 6
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %48, i32 0, i32 6
  %50 = call noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %47, ptr noundef nonnull align 8 dereferenceable(20) %49)
  br i1 %50, label %52, label %51

51:                                               ; preds = %46
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %52

52:                                               ; preds = %51, %46
  %53 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %6, i32 0, i32 7
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %54, i32 0, i32 7
  %56 = call noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %53, ptr noundef nonnull align 8 dereferenceable(20) %55)
  br i1 %56, label %58, label %57

57:                                               ; preds = %52
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %58

58:                                               ; preds = %57, %52
  %59 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %6, i32 0, i32 8
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %60, i32 0, i32 8
  %62 = call noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(26) %59, ptr noundef nonnull align 8 dereferenceable(26) %61)
  br i1 %62, label %64, label %63

63:                                               ; preds = %58
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %64

64:                                               ; preds = %63, %58
  %65 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %6, i32 0, i32 9
  %66 = load i8, ptr %65, align 8, !tbaa !23
  %67 = zext i8 %66 to i32
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %68, i32 0, i32 9
  %70 = load i8, ptr %69, align 8, !tbaa !23
  %71 = zext i8 %70 to i32
  %72 = icmp eq i32 %67, %71
  br i1 %72, label %74, label %73

73:                                               ; preds = %64
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %74

74:                                               ; preds = %73, %64
  %75 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %6, i32 0, i32 10
  %76 = load i8, ptr %75, align 1, !tbaa !24
  %77 = zext i8 %76 to i32
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %78, i32 0, i32 10
  %80 = load i8, ptr %79, align 1, !tbaa !24
  %81 = zext i8 %80 to i32
  %82 = icmp eq i32 %77, %81
  br i1 %82, label %84, label %83

83:                                               ; preds = %74
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %84

84:                                               ; preds = %83, %74
  %85 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %6, i32 0, i32 11
  %86 = load float, ptr %85, align 4, !tbaa !25
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  %88 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %87, i32 0, i32 11
  %89 = load float, ptr %88, align 4, !tbaa !25
  %90 = fcmp oeq float %86, %89
  br i1 %90, label %92, label %91

91:                                               ; preds = %84
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %92

92:                                               ; preds = %91, %84
  %93 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %6, i32 0, i32 12
  %94 = load float, ptr %93, align 8, !tbaa !26
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %95, i32 0, i32 12
  %97 = load float, ptr %96, align 8, !tbaa !26
  %98 = fcmp oeq float %94, %97
  br i1 %98, label %100, label %99

99:                                               ; preds = %92
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %100

100:                                              ; preds = %99, %92
  %101 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %6, i32 0, i32 13
  %102 = load float, ptr %101, align 4, !tbaa !27
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  %104 = getelementptr inbounds %"class.DIS::DirectedEnergyPrecisionAimpoint", ptr %103, i32 0, i32 13
  %105 = load float, ptr %104, align 4, !tbaa !27
  %106 = fcmp oeq float %102, %105
  br i1 %106, label %108, label %107

107:                                              ; preds = %100
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %108

108:                                              ; preds = %107, %100
  %109 = load i8, ptr %5, align 1, !tbaa !9, !range !28, !noundef !29
  %110 = trunc i8 %109 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #3
  ret i1 %110
}

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

declare noundef zeroext i1 @_ZNK3DIS13Vector3DoubleeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #2

declare noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) #2

declare noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(26)) #2

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

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"_ZTSN3DIS31DirectedEnergyPrecisionAimpointE", !13, i64 8, !14, i64 12, !14, i64 14, !15, i64 16, !17, i64 48, !17, i64 72, !17, i64 96, !19, i64 120, !7, i64 152, !7, i64 153, !18, i64 156, !18, i64 160, !18, i64 164}
!13 = !{!"int", !7, i64 0}
!14 = !{!"short", !7, i64 0}
!15 = !{!"_ZTSN3DIS13Vector3DoubleE", !16, i64 8, !16, i64 16, !16, i64 24}
!16 = !{!"double", !7, i64 0}
!17 = !{!"_ZTSN3DIS12Vector3FloatE", !18, i64 8, !18, i64 12, !18, i64 16}
!18 = !{!"float", !7, i64 0}
!19 = !{!"_ZTSN3DIS8EntityIDE", !20, i64 8, !14, i64 24}
!20 = !{!"_ZTSN3DIS17SimulationAddressE", !14, i64 8, !14, i64 10}
!21 = !{!12, !14, i64 12}
!22 = !{!12, !14, i64 14}
!23 = !{!12, !7, i64 152}
!24 = !{!12, !7, i64 153}
!25 = !{!12, !18, i64 156}
!26 = !{!12, !18, i64 160}
!27 = !{!12, !18, i64 164}
!28 = !{i8 0, i8 2}
!29 = !{}


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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3DIS31DirectedEnergyPrecisionAimpointeqERKS0_(ptr noundef nonnull align 8 dereferenceable(168) %0, ptr noundef nonnull align 8 dereferenceable(168) %1) local_unnamed_addr #0 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %1, i64 8
  %6 = load i32, ptr %5, align 8, !tbaa !5
  %7 = icmp eq i32 %4, %6
  %8 = getelementptr inbounds i8, ptr %0, i64 12
  %9 = load i16, ptr %8, align 4, !tbaa !17
  %10 = getelementptr inbounds i8, ptr %1, i64 12
  %11 = load i16, ptr %10, align 4, !tbaa !17
  %12 = icmp eq i16 %9, %11
  %13 = getelementptr inbounds i8, ptr %0, i64 14
  %14 = load i16, ptr %13, align 2, !tbaa !18
  %15 = getelementptr inbounds i8, ptr %1, i64 14
  %16 = load i16, ptr %15, align 2, !tbaa !18
  %17 = icmp eq i16 %14, %16
  %18 = getelementptr inbounds i8, ptr %0, i64 16
  %19 = getelementptr inbounds i8, ptr %1, i64 16
  %20 = tail call noundef zeroext i1 @_ZNK3DIS13Vector3DoubleeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %19)
  %21 = getelementptr inbounds i8, ptr %0, i64 48
  %22 = getelementptr inbounds i8, ptr %1, i64 48
  %23 = tail call noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %21, ptr noundef nonnull align 8 dereferenceable(20) %22)
  %24 = and i1 %20, %23
  %25 = getelementptr inbounds i8, ptr %0, i64 72
  %26 = getelementptr inbounds i8, ptr %1, i64 72
  %27 = tail call noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %25, ptr noundef nonnull align 8 dereferenceable(20) %26)
  %28 = and i1 %27, %24
  %29 = getelementptr inbounds i8, ptr %0, i64 96
  %30 = getelementptr inbounds i8, ptr %1, i64 96
  %31 = tail call noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20) %29, ptr noundef nonnull align 8 dereferenceable(20) %30)
  %32 = and i1 %31, %28
  %33 = getelementptr inbounds i8, ptr %0, i64 120
  %34 = getelementptr inbounds i8, ptr %1, i64 120
  %35 = tail call noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(26) %33, ptr noundef nonnull align 8 dereferenceable(26) %34)
  %36 = and i1 %35, %32
  %37 = getelementptr inbounds i8, ptr %0, i64 152
  %38 = load i8, ptr %37, align 8, !tbaa !19
  %39 = getelementptr inbounds i8, ptr %1, i64 152
  %40 = load i8, ptr %39, align 8, !tbaa !19
  %41 = icmp eq i8 %38, %40
  %42 = and i1 %36, %41
  %43 = getelementptr inbounds i8, ptr %0, i64 153
  %44 = load i8, ptr %43, align 1, !tbaa !20
  %45 = getelementptr inbounds i8, ptr %1, i64 153
  %46 = load i8, ptr %45, align 1, !tbaa !20
  %47 = icmp eq i8 %44, %46
  %48 = select i1 %47, i1 %42, i1 false
  %49 = select i1 %48, i1 %17, i1 false
  %50 = select i1 %49, i1 %12, i1 false
  %spec.select17 = select i1 %50, i1 %7, i1 false
  %51 = getelementptr inbounds i8, ptr %0, i64 156
  %52 = load float, ptr %51, align 4, !tbaa !21
  %53 = getelementptr inbounds i8, ptr %1, i64 156
  %54 = load float, ptr %53, align 4, !tbaa !21
  %55 = fcmp oeq float %52, %54
  br i1 %55, label %57, label %56

56:                                               ; preds = %2
  br label %57

57:                                               ; preds = %56, %2
  %.9 = phi i1 [ %spec.select17, %2 ], [ false, %56 ]
  %58 = getelementptr inbounds i8, ptr %0, i64 160
  %59 = load float, ptr %58, align 8, !tbaa !22
  %60 = getelementptr inbounds i8, ptr %1, i64 160
  %61 = load float, ptr %60, align 8, !tbaa !22
  %62 = fcmp oeq float %59, %61
  %.10 = select i1 %62, i1 %.9, i1 false
  %63 = getelementptr inbounds i8, ptr %0, i64 164
  %64 = load float, ptr %63, align 4, !tbaa !23
  %65 = getelementptr inbounds i8, ptr %1, i64 164
  %66 = load float, ptr %65, align 4, !tbaa !23
  %67 = fcmp oeq float %64, %66
  br i1 %67, label %69, label %68

68:                                               ; preds = %57
  br label %69

69:                                               ; preds = %68, %57
  %.11 = phi i1 [ %.10, %57 ], [ false, %68 ]
  ret i1 %.11
}

declare noundef zeroext i1 @_ZNK3DIS13Vector3DoubleeqERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

declare noundef zeroext i1 @_ZNK3DIS12Vector3FloateqERKS0_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #1

declare noundef zeroext i1 @_ZNK3DIS8EntityIDeqERKS0_(ptr noundef nonnull align 8 dereferenceable(26), ptr noundef nonnull align 8 dereferenceable(26)) local_unnamed_addr #1

attributes #0 = { 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 = { "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 8}
!6 = !{!"_ZTSN3DIS31DirectedEnergyPrecisionAimpointE", !7, i64 8, !10, i64 12, !10, i64 14, !11, i64 16, !13, i64 48, !13, i64 72, !13, i64 96, !15, i64 120, !8, i64 152, !8, i64 153, !14, i64 156, !14, i64 160, !14, i64 164}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"short", !8, i64 0}
!11 = !{!"_ZTSN3DIS13Vector3DoubleE", !12, i64 8, !12, i64 16, !12, i64 24}
!12 = !{!"double", !8, i64 0}
!13 = !{!"_ZTSN3DIS12Vector3FloatE", !14, i64 8, !14, i64 12, !14, i64 16}
!14 = !{!"float", !8, i64 0}
!15 = !{!"_ZTSN3DIS8EntityIDE", !16, i64 8, !10, i64 24}
!16 = !{!"_ZTSN3DIS17SimulationAddressE", !10, i64 8, !10, i64 10}
!17 = !{!6, !10, i64 12}
!18 = !{!6, !10, i64 14}
!19 = !{!6, !8, i64 152}
!20 = !{!6, !8, i64 153}
!21 = !{!6, !14, i64 156}
!22 = !{!6, !14, i64 160}
!23 = !{!6, !14, i64 164}


; Effective O3 passes: GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass