; LLVM IR from buresjan/optim_lbm :: nomad/ext/sgtelib/src/Matrix.ll (ZNK7SGTELIB6Matrix16cholesky_inverseEPd)

; 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.SGTELIB::Matrix" = type { ptr, %"class.std::__cxx11::basic_string", i32, i32, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }

@.str.89 = external hidden unnamed_addr constant [2 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7SGTELIB6Matrix8choleskyEv(ptr dead_on_unwind noalias writable sret(%"class.SGTELIB::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(56)) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7SGTELIB6Matrix16cholesky_inverseEPd(ptr dead_on_unwind noalias writable sret(%"class.SGTELIB::Matrix") align 8 %0, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.SGTELIB::Matrix", align 8
  %8 = alloca %"class.SGTELIB::Matrix", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i1, align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca double, align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %20 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 56, ptr %7) #5
  call void @_ZNK7SGTELIB6Matrix8choleskyEv(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8 %7, ptr noundef nonnull align 8 dereferenceable(56) %20)
  call void @llvm.lifetime.start.p0(i64 56, ptr %8) #5
  invoke void @_ZN7SGTELIB6Matrix12tril_inverseERKS0_(ptr dead_on_unwind writable sret(%"class.SGTELIB::Matrix") align 8 %8, ptr noundef nonnull align 8 dereferenceable(56) %7)
          to label %21 unwind label %90

21:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %22 = getelementptr inbounds %"class.SGTELIB::Matrix", ptr %20, i32 0, i32 2
  %23 = load i32, ptr %22, align 8, !tbaa !9
  store i32 %23, ptr %11, align 4, !tbaa !15
  store i1 false, ptr %12, align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef @.str.89, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %24 unwind label %94

24:                                               ; preds = %21
  %25 = load i32, ptr %11, align 4, !tbaa !15
  %26 = load i32, ptr %11, align 4, !tbaa !15
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(32) %13, i32 noundef %25, i32 noundef %26)
          to label %27 unwind label %98

27:                                               ; preds = %24
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %15, align 4, !tbaa !15
  br label %28

28:                                               ; preds = %112, %27
  %29 = load i32, ptr %15, align 4, !tbaa !15
  %30 = load i32, ptr %11, align 4, !tbaa !15
  %31 = icmp slt i32 %29, %30
  br i1 %31, label %32, label %115

32:                                               ; preds = %28
  store i32 0, ptr %16, align 4, !tbaa !15
  br label %33

33:                                               ; preds = %108, %32
  %34 = load i32, ptr %16, align 4, !tbaa !15
  %35 = load i32, ptr %11, align 4, !tbaa !15
  %36 = icmp slt i32 %34, %35
  br i1 %36, label %37, label %111

37:                                               ; preds = %33
  %38 = getelementptr inbounds %"class.SGTELIB::Matrix", ptr %0, i32 0, i32 4
  %39 = load ptr, ptr %38, align 8, !tbaa !16
  %40 = load i32, ptr %15, align 4, !tbaa !15
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds ptr, ptr %39, i64 %41
  %43 = load ptr, ptr %42, align 8, !tbaa !5
  %44 = load i32, ptr %16, align 4, !tbaa !15
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds double, ptr %43, i64 %45
  store double 0.000000e+00, ptr %46, align 8, !tbaa !17
  %47 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %48 unwind label %103

48:                                               ; preds = %37
  %49 = load i32, ptr %47, align 4, !tbaa !15
  store i32 %49, ptr %18, align 4, !tbaa !15
  %50 = load i32, ptr %18, align 4, !tbaa !15
  store i32 %50, ptr %17, align 4, !tbaa !15
  br label %51

51:                                               ; preds = %87, %48
  %52 = load i32, ptr %17, align 4, !tbaa !15
  %53 = load i32, ptr %11, align 4, !tbaa !15
  %54 = icmp slt i32 %52, %53
  br i1 %54, label %55, label %107

55:                                               ; preds = %51
  %56 = getelementptr inbounds %"class.SGTELIB::Matrix", ptr %8, i32 0, i32 4
  %57 = load ptr, ptr %56, align 8, !tbaa !16
  %58 = load i32, ptr %17, align 4, !tbaa !15
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds ptr, ptr %57, i64 %59
  %61 = load ptr, ptr %60, align 8, !tbaa !5
  %62 = load i32, ptr %15, align 4, !tbaa !15
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds double, ptr %61, i64 %63
  %65 = load double, ptr %64, align 8, !tbaa !17
  %66 = getelementptr inbounds %"class.SGTELIB::Matrix", ptr %8, i32 0, i32 4
  %67 = load ptr, ptr %66, align 8, !tbaa !16
  %68 = load i32, ptr %17, align 4, !tbaa !15
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds ptr, ptr %67, i64 %69
  %71 = load ptr, ptr %70, align 8, !tbaa !5
  %72 = load i32, ptr %16, align 4, !tbaa !15
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds double, ptr %71, i64 %73
  %75 = load double, ptr %74, align 8, !tbaa !17
  %76 = getelementptr inbounds %"class.SGTELIB::Matrix", ptr %0, i32 0, i32 4
  %77 = load ptr, ptr %76, align 8, !tbaa !16
  %78 = load i32, ptr %15, align 4, !tbaa !15
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds ptr, ptr %77, i64 %79
  %81 = load ptr, ptr %80, align 8, !tbaa !5
  %82 = load i32, ptr %16, align 4, !tbaa !15
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds double, ptr %81, i64 %83
  %85 = load double, ptr %84, align 8, !tbaa !17
  %86 = call double @llvm.fmuladd.f64(double %65, double %75, double %85)
  store double %86, ptr %84, align 8, !tbaa !17
  br label %87

87:                                               ; preds = %55
  %88 = load i32, ptr %17, align 4, !tbaa !15
  %89 = add nsw i32 %88, 1
  store i32 %89, ptr %17, align 4, !tbaa !15
  br label %51, !llvm.loop !19

90:                                               ; preds = %3
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %9, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %10, align 4
  br label %160

94:                                               ; preds = %21
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %9, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %10, align 4
  br label %102

98:                                               ; preds = %24
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %9, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %10, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #5
  br label %102

102:                                              ; preds = %98, %94
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #5
  br label %159

103:                                              ; preds = %37
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %9, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %10, align 4
  br label %156

107:                                              ; preds = %51
  br label %108

108:                                              ; preds = %107
  %109 = load i32, ptr %16, align 4, !tbaa !15
  %110 = add nsw i32 %109, 1
  store i32 %110, ptr %16, align 4, !tbaa !15
  br label %33, !llvm.loop !21

111:                                              ; preds = %33
  br label %112

112:                                              ; preds = %111
  %113 = load i32, ptr %15, align 4, !tbaa !15
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %15, align 4, !tbaa !15
  br label %28, !llvm.loop !22

115:                                              ; preds = %28
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = icmp ne ptr %116, null
  br i1 %117, label %118, label %154

118:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  store double 1.000000e+00, ptr %19, align 8, !tbaa !17
  store i32 0, ptr %15, align 4, !tbaa !15
  br label %119

119:                                              ; preds = %136, %118
  %120 = load i32, ptr %15, align 4, !tbaa !15
  %121 = load i32, ptr %11, align 4, !tbaa !15
  %122 = icmp slt i32 %120, %121
  br i1 %122, label %123, label %139

123:                                              ; preds = %119
  %124 = getelementptr inbounds %"class.SGTELIB::Matrix", ptr %7, i32 0, i32 4
  %125 = load ptr, ptr %124, align 8, !tbaa !16
  %126 = load i32, ptr %15, align 4, !tbaa !15
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds ptr, ptr %125, i64 %127
  %129 = load ptr, ptr %128, align 8, !tbaa !5
  %130 = load i32, ptr %15, align 4, !tbaa !15
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds double, ptr %129, i64 %131
  %133 = load double, ptr %132, align 8, !tbaa !17
  %134 = load double, ptr %19, align 8, !tbaa !17
  %135 = fmul double %134, %133
  store double %135, ptr %19, align 8, !tbaa !17
  br label %136

136:                                              ; preds = %123
  %137 = load i32, ptr %15, align 4, !tbaa !15
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr %15, align 4, !tbaa !15
  br label %119, !llvm.loop !23

139:                                              ; preds = %119
  %140 = load double, ptr %19, align 8, !tbaa !17
  %141 = load double, ptr %19, align 8, !tbaa !17
  %142 = fmul double %141, %140
  store double %142, ptr %19, align 8, !tbaa !17
  %143 = load double, ptr %19, align 8, !tbaa !17
  %144 = invoke noundef zeroext i1 @_ZSt5isnand(double noundef %143)
          to label %145 unwind label %147

145:                                              ; preds = %139
  br i1 %144, label %146, label %151

146:                                              ; preds = %145
  store double 0x7FEFFFFFFFFFFFFF, ptr %19, align 8, !tbaa !17
  br label %151

147:                                              ; preds = %139
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %9, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %156

151:                                              ; preds = %146, %145
  %152 = load double, ptr %19, align 8, !tbaa !17
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  store double %152, ptr %153, align 8, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %154

154:                                              ; preds = %151, %115
  store i1 true, ptr %12, align 1
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  %155 = load i1, ptr %12, align 1
  br i1 %155, label %158, label %157

156:                                              ; preds = %147, %103
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #5
  br label %159

157:                                              ; preds = %154
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #5
  br label %158

158:                                              ; preds = %157, %154
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %8) #5
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %7) #5
  ret void

159:                                              ; preds = %156, %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %8) #5
  br label %160

160:                                              ; preds = %159, %90
  call void @llvm.lifetime.end.p0(i64 56, ptr %8) #5
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %7) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr %7) #5
  br label %161

161:                                              ; preds = %160
  %162 = load ptr, ptr %9, align 8
  %163 = load i32, ptr %10, align 4
  %164 = insertvalue { ptr, i32 } poison, ptr %162, 0
  %165 = insertvalue { ptr, i32 } %164, i32 %163, 1
  resume { ptr, i32 } %165
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7SGTELIB6Matrix12tril_inverseERKS0_(ptr dead_on_unwind noalias writable sret(%"class.SGTELIB::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(56)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt5isnand(double noundef) #1

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

declare void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr, ptr, i32, i32)

declare void @_ZN7SGTELIB6MatrixD1Ev(ptr)

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { inlinehint 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 #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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !14, i64 40}
!10 = !{!"_ZTSN7SGTELIB6MatrixE", !11, i64 8, !14, i64 40, !14, i64 44, !6, i64 48}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !13, i64 8, !7, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!10, !6, i64 48}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}


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

%"class.SGTELIB::Matrix" = type { ptr, %"class.std::__cxx11::basic_string", i32, i32, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }

@.str.89 = external hidden unnamed_addr constant [2 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

declare i32 @__gxx_personality_v0(...)

; 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 nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK7SGTELIB6Matrix8choleskyEv(ptr dead_on_unwind noalias writable sret(%"class.SGTELIB::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7SGTELIB6Matrix16cholesky_inverseEPd(ptr dead_on_unwind noalias writable sret(%"class.SGTELIB::Matrix") align 8 %0, ptr noundef nonnull align 8 dereferenceable(56) %1, ptr noundef writeonly %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.SGTELIB::Matrix", align 8
  %5 = alloca %"class.SGTELIB::Matrix", align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %4) #5
  call void @_ZNK7SGTELIB6Matrix8choleskyEv(ptr dead_on_unwind nonnull writable sret(%"class.SGTELIB::Matrix") align 8 %4, ptr noundef nonnull align 8 dereferenceable(56) %1)
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %5) #5
  invoke void @_ZN7SGTELIB6Matrix12tril_inverseERKS0_(ptr dead_on_unwind nonnull writable sret(%"class.SGTELIB::Matrix") align 8 %5, ptr noundef nonnull align 8 dereferenceable(56) %4)
          to label %10 unwind label %68

10:                                               ; preds = %3
  %11 = getelementptr inbounds i8, ptr %1, i64 40
  %12 = load i32, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #5
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @.str.89, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %13 unwind label %70

13:                                               ; preds = %10
  invoke void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 8 dereferenceable(32) %6, i32 noundef %12, i32 noundef %12)
          to label %14 unwind label %72

14:                                               ; preds = %13
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #5
  store i32 0, ptr %8, align 4, !tbaa !14
  %15 = icmp sgt i32 %12, 0
  br i1 %15, label %.preheader34.lr.ph, label %._crit_edge39.thread

.preheader34.lr.ph:                               ; preds = %14
  %16 = getelementptr inbounds i8, ptr %0, i64 48
  %17 = getelementptr inbounds i8, ptr %5, i64 48
  %wide.trip.count = zext nneg i32 %12 to i64
  %18 = add nsw i64 %wide.trip.count, -1
  br label %.preheader34.us

.preheader34.us:                                  ; preds = %._crit_edge38.us, %.preheader34.lr.ph
  store i32 0, ptr %9, align 4, !tbaa !14
  br label %19

19:                                               ; preds = %.preheader34.us, %._crit_edge.us
  %storemerge3336.us = phi i32 [ 0, %.preheader34.us ], [ %30, %._crit_edge.us ]
  %20 = load ptr, ptr %16, align 8, !tbaa !15
  %21 = load i32, ptr %8, align 4, !tbaa !14
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds ptr, ptr %20, i64 %22
  %24 = load ptr, ptr %23, align 8, !tbaa !16
  %25 = sext i32 %storemerge3336.us to i64
  %26 = getelementptr inbounds double, ptr %24, i64 %25
  store double 0.000000e+00, ptr %26, align 8, !tbaa !17
  %27 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %28 = load i32, ptr %27, align 4, !tbaa !14
  %29 = icmp slt i32 %28, %12
  %.pre = load i32, ptr %9, align 4, !tbaa !14
  br i1 %29, label %.lr.ph.us, label %._crit_edge.us

._crit_edge.us:                                   ; preds = %.prol.loopexit, %32, %19
  %30 = add nsw i32 %.pre, 1
  store i32 %30, ptr %9, align 4, !tbaa !14
  %31 = icmp slt i32 %30, %12
  br i1 %31, label %19, label %._crit_edge38.us, !llvm.loop !19

32:                                               ; preds = %32, %.lr.ph.us.new
  %indvars.iv = phi i64 [ %indvars.iv.unr, %.lr.ph.us.new ], [ %indvars.iv.next.1, %32 ]
  %33 = phi double [ %.unr, %.lr.ph.us.new ], [ %46, %32 ]
  %34 = getelementptr inbounds ptr, ptr %47, i64 %indvars.iv
  %35 = load ptr, ptr %34, align 8, !tbaa !16
  %36 = getelementptr inbounds double, ptr %35, i64 %49
  %37 = load double, ptr %36, align 8, !tbaa !17
  %38 = getelementptr inbounds double, ptr %35, i64 %50
  %39 = load double, ptr %38, align 8, !tbaa !17
  %40 = call double @llvm.fmuladd.f64(double %37, double %39, double %33)
  store double %40, ptr %54, align 8, !tbaa !17
  %gep = getelementptr ptr, ptr %invariant.gep, i64 %indvars.iv
  %41 = load ptr, ptr %gep, align 8, !tbaa !16
  %42 = getelementptr inbounds double, ptr %41, i64 %49
  %43 = load double, ptr %42, align 8, !tbaa !17
  %44 = getelementptr inbounds double, ptr %41, i64 %50
  %45 = load double, ptr %44, align 8, !tbaa !17
  %46 = call double @llvm.fmuladd.f64(double %43, double %45, double %40)
  store double %46, ptr %54, align 8, !tbaa !17
  %indvars.iv.next.1 = add nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %wide.trip.count
  br i1 %exitcond.not.1, label %._crit_edge.us, label %32, !llvm.loop !21

.lr.ph.us:                                        ; preds = %19
  %47 = load ptr, ptr %17, align 8, !tbaa !15
  %48 = load i32, ptr %8, align 4, !tbaa !14
  %49 = sext i32 %48 to i64
  %50 = sext i32 %.pre to i64
  %51 = load ptr, ptr %16, align 8, !tbaa !15
  %52 = getelementptr inbounds ptr, ptr %51, i64 %49
  %53 = load ptr, ptr %52, align 8, !tbaa !16
  %54 = getelementptr inbounds double, ptr %53, i64 %50
  %.promoted.us = load double, ptr %54, align 8, !tbaa !17
  %55 = sext i32 %28 to i64
  %56 = sub nsw i64 %wide.trip.count, %55
  %xtraiter = and i64 %56, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.prol.loopexit, label %.prol.loopexit.unr-lcssa

.prol.loopexit.unr-lcssa:                         ; preds = %.lr.ph.us
  %57 = getelementptr inbounds ptr, ptr %47, i64 %55
  %58 = load ptr, ptr %57, align 8, !tbaa !16
  %59 = getelementptr inbounds double, ptr %58, i64 %49
  %60 = load double, ptr %59, align 8, !tbaa !17
  %61 = getelementptr inbounds double, ptr %58, i64 %50
  %62 = load double, ptr %61, align 8, !tbaa !17
  %63 = call double @llvm.fmuladd.f64(double %60, double %62, double %.promoted.us)
  store double %63, ptr %54, align 8, !tbaa !17
  %indvars.iv.next.prol = add nsw i64 %55, 1
  br label %.prol.loopexit

.prol.loopexit:                                   ; preds = %.prol.loopexit.unr-lcssa, %.lr.ph.us
  %indvars.iv.unr = phi i64 [ %55, %.lr.ph.us ], [ %indvars.iv.next.prol, %.prol.loopexit.unr-lcssa ]
  %.unr = phi double [ %.promoted.us, %.lr.ph.us ], [ %63, %.prol.loopexit.unr-lcssa ]
  %64 = icmp eq i64 %18, %55
  br i1 %64, label %._crit_edge.us, label %.lr.ph.us.new

.lr.ph.us.new:                                    ; preds = %.prol.loopexit
  %invariant.gep = getelementptr i8, ptr %47, i64 8
  br label %32

._crit_edge38.us:                                 ; preds = %._crit_edge.us
  %65 = load i32, ptr %8, align 4, !tbaa !14
  %66 = add nsw i32 %65, 1
  store i32 %66, ptr %8, align 4, !tbaa !14
  %67 = icmp slt i32 %66, %12
  br i1 %67, label %.preheader34.us, label %._crit_edge39, !llvm.loop !22

68:                                               ; preds = %3
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %107

70:                                               ; preds = %10
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %74

72:                                               ; preds = %13
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  br label %74

74:                                               ; preds = %72, %70
  %.pn = phi { ptr, i32 } [ %73, %72 ], [ %71, %70 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #5
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #5
  br label %107

._crit_edge39:                                    ; preds = %._crit_edge38.us
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %106, label %.preheader

._crit_edge39.thread:                             ; preds = %14
  %.not50 = icmp eq ptr %2, null
  br i1 %.not50, label %106, label %._crit_edge

.preheader:                                       ; preds = %._crit_edge39
  br i1 %15, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader
  %75 = getelementptr inbounds i8, ptr %4, i64 48
  %76 = load ptr, ptr %75, align 8, !tbaa !15
  %xtraiter51 = and i64 %wide.trip.count, 3
  %77 = icmp ult i32 %12, 4
  br i1 %77, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %wide.trip.count, 2147483644
  br label %78

78:                                               ; preds = %78, %.lr.ph.new
  %indvars.iv45 = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next46.3, %78 ]
  %.041 = phi double [ 1.000000e+00, %.lr.ph.new ], [ %98, %78 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.3, %78 ]
  %79 = getelementptr inbounds ptr, ptr %76, i64 %indvars.iv45
  %80 = load ptr, ptr %79, align 8, !tbaa !16
  %81 = getelementptr inbounds double, ptr %80, i64 %indvars.iv45
  %82 = load double, ptr %81, align 8, !tbaa !17
  %83 = fmul double %.041, %82
  %indvars.iv.next46 = or disjoint i64 %indvars.iv45, 1
  %84 = getelementptr inbounds ptr, ptr %76, i64 %indvars.iv.next46
  %85 = load ptr, ptr %84, align 8, !tbaa !16
  %86 = getelementptr inbounds double, ptr %85, i64 %indvars.iv.next46
  %87 = load double, ptr %86, align 8, !tbaa !17
  %88 = fmul double %83, %87
  %indvars.iv.next46.1 = or disjoint i64 %indvars.iv45, 2
  %89 = getelementptr inbounds ptr, ptr %76, i64 %indvars.iv.next46.1
  %90 = load ptr, ptr %89, align 8, !tbaa !16
  %91 = getelementptr inbounds double, ptr %90, i64 %indvars.iv.next46.1
  %92 = load double, ptr %91, align 8, !tbaa !17
  %93 = fmul double %88, %92
  %indvars.iv.next46.2 = or disjoint i64 %indvars.iv45, 3
  %94 = getelementptr inbounds ptr, ptr %76, i64 %indvars.iv.next46.2
  %95 = load ptr, ptr %94, align 8, !tbaa !16
  %96 = getelementptr inbounds double, ptr %95, i64 %indvars.iv.next46.2
  %97 = load double, ptr %96, align 8, !tbaa !17
  %98 = fmul double %93, %97
  %indvars.iv.next46.3 = add nuw nsw i64 %indvars.iv45, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %78, !llvm.loop !23

._crit_edge.loopexit.unr-lcssa:                   ; preds = %78, %.lr.ph
  %.lcssa.ph = phi double [ poison, %.lr.ph ], [ %98, %78 ]
  %indvars.iv45.unr = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next46.3, %78 ]
  %.041.unr = phi double [ 1.000000e+00, %.lr.ph ], [ %98, %78 ]
  %lcmp.mod52.not = icmp eq i64 %xtraiter51, 0
  br i1 %lcmp.mod52.not, label %._crit_edge, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader
  %indvars.iv45.epil = phi i64 [ %indvars.iv.next46.epil, %.epil.preheader ], [ %indvars.iv45.unr, %._crit_edge.loopexit.unr-lcssa ]
  %.041.epil = phi double [ %103, %.epil.preheader ], [ %.041.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.epil.preheader ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %99 = getelementptr inbounds ptr, ptr %76, i64 %indvars.iv45.epil
  %100 = load ptr, ptr %99, align 8, !tbaa !16
  %101 = getelementptr inbounds double, ptr %100, i64 %indvars.iv45.epil
  %102 = load double, ptr %101, align 8, !tbaa !17
  %103 = fmul double %.041.epil, %102
  %indvars.iv.next46.epil = add nuw nsw i64 %indvars.iv45.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter51
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.epil.preheader, !llvm.loop !24

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.epil.preheader, %._crit_edge39.thread, %.preheader
  %storemerge32.lcssa = phi i32 [ 0, %.preheader ], [ 0, %._crit_edge39.thread ], [ %12, %.epil.preheader ], [ %12, %._crit_edge.loopexit.unr-lcssa ]
  %.0.lcssa = phi double [ 1.000000e+00, %.preheader ], [ 1.000000e+00, %._crit_edge39.thread ], [ %.lcssa.ph, %._crit_edge.loopexit.unr-lcssa ], [ %103, %.epil.preheader ]
  store i32 %storemerge32.lcssa, ptr %8, align 4, !tbaa !14
  %104 = fmul double %.0.lcssa, %.0.lcssa
  %105 = call noundef zeroext i1 @_ZSt5isnand(double noundef %104)
  %.1 = select i1 %105, double 0x7FEFFFFFFFFFFFFF, double %104
  store double %.1, ptr %2, align 8, !tbaa !17
  br label %106

106:                                              ; preds = %._crit_edge39.thread, %._crit_edge, %._crit_edge39
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #5
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %5) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #5
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %4) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #5
  ret void

107:                                              ; preds = %74, %68
  %.pn.pn = phi { ptr, i32 } [ %.pn, %74 ], [ %69, %68 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %5) #5
  call void @_ZN7SGTELIB6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %4) #5
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7SGTELIB6Matrix12tril_inverseERKS0_(ptr dead_on_unwind noalias writable sret(%"class.SGTELIB::Matrix") align 8, ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSt5isnand(double noundef) local_unnamed_addr #1

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

declare void @_ZN7SGTELIB6MatrixC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii(ptr, ptr, i32, i32) local_unnamed_addr

declare void @_ZN7SGTELIB6MatrixD1Ev(ptr) local_unnamed_addr

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { inlinehint 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 #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, !13, i64 40}
!6 = !{!"_ZTSN7SGTELIB6MatrixE", !7, i64 8, !13, i64 40, !13, i64 44, !9, i64 48}
!7 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !8, i64 0, !12, i64 8, !10, i64 16}
!8 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"int", !10, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!6, !9, i64 48}
!16 = !{!9, !9, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"double", !10, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.unroll.disable"}


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