; LLVM IR from moarseniy/CudaFEMproject :: FEMproject/DataKeeper/src/datakeeper.ll (ZN10dataKeeper13CreateMatrixDEv)

; 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.dataKeeper = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, i64, i64, i64, i64, i64, i64, i64, %"class.std::unordered_map", ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.MechanicalParams, %struct.dataPaths, %struct.WaveletParams, %"class.std::basic_fstream", %"class.std::basic_fstream", %"class.std::basic_fstream", %"class.std::basic_fstream", %"class.std::basic_fstream" }
%"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::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%struct.MechanicalParams = type { float, float, float, float, float, float, float, float, float }
%struct.dataPaths = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%struct.WaveletParams = type <{ %"class.std::__cxx11::basic_string", float, float, float, [4 x i8] }>
%"class.std::basic_fstream" = type { %"class.std::basic_iostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.0 }
%union.anon.0 = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }

@.str.32 = external hidden unnamed_addr constant [40 x i8], align 1
@_ZTISt13runtime_error = external constant ptr

; 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

declare noundef ptr @_ZN6Matrix9setMatrixE11DEVICE_NAMEmm(i32 noundef, i64 noundef, i64 noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10dataKeeper13CreateMatrixDEv(ptr noundef nonnull align 8 dereferenceable(3168) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca float, align 4
  %4 = alloca float, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %7 = load ptr, ptr %2, align 8
  %8 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 3
  %9 = load i64, ptr %8, align 8, !tbaa !9
  %10 = sub i64 %9, 1
  %11 = mul i64 3, %10
  %12 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 3
  %13 = load i64, ptr %12, align 8, !tbaa !9
  %14 = sub i64 %13, 1
  %15 = mul i64 3, %14
  %16 = call noundef ptr @_ZN6Matrix9setMatrixE11DEVICE_NAMEmm(i32 noundef 0, i64 noundef %11, i64 noundef %15)
  %17 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  store ptr %16, ptr %17, align 8, !tbaa !34
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  %18 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 23
  %19 = getelementptr inbounds %struct.MechanicalParams, ptr %18, i32 0, i32 0
  %20 = load float, ptr %19, align 8, !tbaa !35
  store float %20, ptr %3, align 4, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  %21 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 23
  %22 = getelementptr inbounds %struct.MechanicalParams, ptr %21, i32 0, i32 1
  %23 = load float, ptr %22, align 4, !tbaa !37
  store float %23, ptr %4, align 4, !tbaa !36
  %24 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 3
  %25 = load i64, ptr %24, align 8, !tbaa !9
  %26 = icmp eq i64 %25, 2
  br i1 %26, label %27, label %72

27:                                               ; preds = %1
  %28 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %29 = load ptr, ptr %28, align 8, !tbaa !34
  %30 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %29, i64 noundef 0, i64 noundef 0)
  store float 1.000000e+00, ptr %30, align 4, !tbaa !36
  %31 = load float, ptr %3, align 4, !tbaa !36
  %32 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %33 = load ptr, ptr %32, align 8, !tbaa !34
  %34 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %33, i64 noundef 0, i64 noundef 1)
  store float %31, ptr %34, align 4, !tbaa !36
  %35 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %36 = load ptr, ptr %35, align 8, !tbaa !34
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %36, i64 noundef 0, i64 noundef 2)
  store float 0.000000e+00, ptr %37, align 4, !tbaa !36
  %38 = load float, ptr %3, align 4, !tbaa !36
  %39 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %40 = load ptr, ptr %39, align 8, !tbaa !34
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %40, i64 noundef 1, i64 noundef 0)
  store float %38, ptr %41, align 4, !tbaa !36
  %42 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %43 = load ptr, ptr %42, align 8, !tbaa !34
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %43, i64 noundef 1, i64 noundef 1)
  store float 1.000000e+00, ptr %44, align 4, !tbaa !36
  %45 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %46 = load ptr, ptr %45, align 8, !tbaa !34
  %47 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %46, i64 noundef 1, i64 noundef 2)
  store float 0.000000e+00, ptr %47, align 4, !tbaa !36
  %48 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %49 = load ptr, ptr %48, align 8, !tbaa !34
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %49, i64 noundef 2, i64 noundef 0)
  store float 0.000000e+00, ptr %50, align 4, !tbaa !36
  %51 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %52 = load ptr, ptr %51, align 8, !tbaa !34
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %52, i64 noundef 2, i64 noundef 1)
  store float 0.000000e+00, ptr %53, align 4, !tbaa !36
  %54 = load float, ptr %3, align 4, !tbaa !36
  %55 = fsub float 1.000000e+00, %54
  %56 = fdiv float %55, 2.000000e+00
  %57 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %58 = load ptr, ptr %57, align 8, !tbaa !34
  %59 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %58, i64 noundef 2, i64 noundef 2)
  store float %56, ptr %59, align 4, !tbaa !36
  %60 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %61 = load ptr, ptr %60, align 8, !tbaa !34
  %62 = load float, ptr %4, align 4, !tbaa !36
  %63 = fpext float %62 to double
  %64 = load float, ptr %3, align 4, !tbaa !36
  %65 = call noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef %64, i32 noundef 2)
  %66 = fsub double 1.000000e+00, %65
  %67 = fdiv double %63, %66
  %68 = fptrunc double %67 to float
  %69 = load ptr, ptr %61, align 8, !tbaa !38
  %70 = getelementptr inbounds ptr, ptr %69, i64 8
  %71 = load ptr, ptr %70, align 8
  call void %71(ptr noundef nonnull align 8 dereferenceable(49) %61, float noundef %68)
  br label %151

72:                                               ; preds = %1
  %73 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 3
  %74 = load i64, ptr %73, align 8, !tbaa !9
  %75 = icmp eq i64 %74, 3
  br i1 %75, label %76, label %143

76:                                               ; preds = %72
  %77 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %78 = load ptr, ptr %77, align 8, !tbaa !34
  %79 = load ptr, ptr %78, align 8, !tbaa !38
  %80 = getelementptr inbounds ptr, ptr %79, i64 29
  %81 = load ptr, ptr %80, align 8
  call void %81(ptr noundef nonnull align 8 dereferenceable(49) %78, float noundef 0.000000e+00)
  %82 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %83 = load ptr, ptr %82, align 8, !tbaa !34
  %84 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %83, i64 noundef 2, i64 noundef 2)
  store float 1.000000e+00, ptr %84, align 4, !tbaa !36
  %85 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %86 = load ptr, ptr %85, align 8, !tbaa !34
  %87 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %86, i64 noundef 1, i64 noundef 1)
  store float 1.000000e+00, ptr %87, align 4, !tbaa !36
  %88 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %89 = load ptr, ptr %88, align 8, !tbaa !34
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %89, i64 noundef 0, i64 noundef 0)
  store float 1.000000e+00, ptr %90, align 4, !tbaa !36
  %91 = load float, ptr %3, align 4, !tbaa !36
  %92 = load float, ptr %3, align 4, !tbaa !36
  %93 = fsub float 1.000000e+00, %92
  %94 = fdiv float %91, %93
  %95 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %96 = load ptr, ptr %95, align 8, !tbaa !34
  %97 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %96, i64 noundef 1, i64 noundef 2)
  store float %94, ptr %97, align 4, !tbaa !36
  %98 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %99 = load ptr, ptr %98, align 8, !tbaa !34
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %99, i64 noundef 2, i64 noundef 1)
  store float %94, ptr %100, align 4, !tbaa !36
  %101 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %102 = load ptr, ptr %101, align 8, !tbaa !34
  %103 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %102, i64 noundef 2, i64 noundef 0)
  store float %94, ptr %103, align 4, !tbaa !36
  %104 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %105 = load ptr, ptr %104, align 8, !tbaa !34
  %106 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %105, i64 noundef 0, i64 noundef 2)
  store float %94, ptr %106, align 4, !tbaa !36
  %107 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %108 = load ptr, ptr %107, align 8, !tbaa !34
  %109 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %108, i64 noundef 1, i64 noundef 0)
  store float %94, ptr %109, align 4, !tbaa !36
  %110 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %111 = load ptr, ptr %110, align 8, !tbaa !34
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %111, i64 noundef 0, i64 noundef 1)
  store float %94, ptr %112, align 4, !tbaa !36
  %113 = load float, ptr %3, align 4, !tbaa !36
  %114 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %113, float 1.000000e+00)
  %115 = load float, ptr %3, align 4, !tbaa !36
  %116 = fsub float 1.000000e+00, %115
  %117 = fmul float 2.000000e+00, %116
  %118 = fdiv float %114, %117
  %119 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %120 = load ptr, ptr %119, align 8, !tbaa !34
  %121 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %120, i64 noundef 5, i64 noundef 5)
  store float %118, ptr %121, align 4, !tbaa !36
  %122 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %123 = load ptr, ptr %122, align 8, !tbaa !34
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %123, i64 noundef 4, i64 noundef 4)
  store float %118, ptr %124, align 4, !tbaa !36
  %125 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %126 = load ptr, ptr %125, align 8, !tbaa !34
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %126, i64 noundef 3, i64 noundef 3)
  store float %118, ptr %127, align 4, !tbaa !36
  %128 = getelementptr inbounds %class.dataKeeper, ptr %7, i32 0, i32 15
  %129 = load ptr, ptr %128, align 8, !tbaa !34
  %130 = load float, ptr %4, align 4, !tbaa !36
  %131 = load float, ptr %3, align 4, !tbaa !36
  %132 = fsub float 1.000000e+00, %131
  %133 = fmul float %130, %132
  %134 = load float, ptr %3, align 4, !tbaa !36
  %135 = fadd float 1.000000e+00, %134
  %136 = load float, ptr %3, align 4, !tbaa !36
  %137 = call float @llvm.fmuladd.f32(float -2.000000e+00, float %136, float 1.000000e+00)
  %138 = fmul float %135, %137
  %139 = fdiv float %133, %138
  %140 = load ptr, ptr %129, align 8, !tbaa !38
  %141 = getelementptr inbounds ptr, ptr %140, i64 8
  %142 = load ptr, ptr %141, align 8
  call void %142(ptr noundef nonnull align 8 dereferenceable(49) %129, float noundef %139)
  br label %150

143:                                              ; preds = %72
  %144 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %144, ptr noundef @.str.32)
          to label %145 unwind label %146

145:                                              ; preds = %143
  call void @__cxa_throw(ptr %144, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #7
  unreachable

146:                                              ; preds = %143
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %5, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %6, align 4
  call void @__cxa_free_exception(ptr %144) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %152

150:                                              ; preds = %76
  br label %151

151:                                              ; preds = %150, %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  ret void

152:                                              ; preds = %146
  %153 = load ptr, ptr %5, align 8
  %154 = load i32, ptr %6, align 4
  %155 = insertvalue { ptr, i32 } poison, ptr %153, 0
  %156 = insertvalue { ptr, i32 } %155, i32 %154, 1
  resume { ptr, i32 } %156
}

declare noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49), i64 noundef, i64 noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef, i32 noundef) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #1

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

declare void @__cxa_throw(ptr, ptr, ptr)

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

!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, !13, i64 72}
!10 = !{!"_ZTS10dataKeeper", !11, i64 0, !11, i64 32, !14, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !15, i64 128, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !20, i64 280, !21, i64 320, !22, i64 480, !23, i64 528, !23, i64 1056, !23, i64 1584, !23, i64 2112, !23, i64 2640}
!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 = !{!"bool", !7, i64 0}
!15 = !{!"_ZTSSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEE", !16, i64 0}
!16 = !{!"_ZTSSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !13, i64 8, !17, i64 16, !13, i64 24, !18, i64 32, !6, i64 48}
!17 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!18 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !19, i64 0, !13, i64 8}
!19 = !{!"float", !7, i64 0}
!20 = !{!"_ZTS16MechanicalParams", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12, !19, i64 16, !19, i64 20, !19, i64 24, !19, i64 28, !19, i64 32}
!21 = !{!"_ZTS9dataPaths", !11, i64 0, !11, i64 32, !11, i64 64, !11, i64 96, !11, i64 128}
!22 = !{!"_ZTS13WaveletParams", !11, i64 0, !19, i64 32, !19, i64 36, !19, i64 40}
!23 = !{!"_ZTSSt13basic_fstreamIcSt11char_traitsIcEE", !24, i64 0, !27, i64 24}
!24 = !{!"_ZTSSd", !25, i64 0, !26, i64 16}
!25 = !{!"_ZTSSi", !13, i64 8}
!26 = !{!"_ZTSSo"}
!27 = !{!"_ZTSSt13basic_filebufIcSt11char_traitsIcEE", !28, i64 0, !7, i64 64, !30, i64 104, !31, i64 120, !32, i64 124, !32, i64 132, !32, i64 140, !6, i64 152, !13, i64 160, !14, i64 168, !14, i64 169, !14, i64 170, !7, i64 171, !6, i64 176, !6, i64 184, !14, i64 192, !6, i64 200, !6, i64 208, !13, i64 216, !6, i64 224, !6, i64 232}
!28 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !29, i64 56}
!29 = !{!"_ZTSSt6locale", !6, i64 0}
!30 = !{!"_ZTSSt12__basic_fileIcE", !6, i64 0, !14, i64 8}
!31 = !{!"_ZTSSt13_Ios_Openmode", !7, i64 0}
!32 = !{!"_ZTS11__mbstate_t", !33, i64 0, !7, i64 4}
!33 = !{!"int", !7, i64 0}
!34 = !{!10, !6, i64 216}
!35 = !{!10, !19, i64 280}
!36 = !{!19, !19, i64 0}
!37 = !{!10, !19, i64 284}
!38 = !{!39, !39, i64 0}
!39 = !{!"vtable pointer", !8, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.32 = external hidden unnamed_addr constant [40 x i8], align 1
@_ZTISt13runtime_error = external constant ptr

declare i32 @__gxx_personality_v0(...)

declare noundef ptr @_ZN6Matrix9setMatrixE11DEVICE_NAMEmm(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10dataKeeper13CreateMatrixDEv(ptr nocapture noundef nonnull align 8 dereferenceable(3168) %0) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 72
  %3 = load i64, ptr %2, align 8, !tbaa !5
  %4 = mul i64 %3, 3
  %5 = add i64 %4, -3
  %6 = tail call noundef ptr @_ZN6Matrix9setMatrixE11DEVICE_NAMEmm(i32 noundef 0, i64 noundef %5, i64 noundef %5)
  %7 = getelementptr inbounds i8, ptr %0, i64 216
  store ptr %6, ptr %7, align 8, !tbaa !33
  %8 = getelementptr inbounds i8, ptr %0, i64 280
  %9 = load float, ptr %8, align 8, !tbaa !34
  %10 = getelementptr inbounds i8, ptr %0, i64 284
  %11 = load float, ptr %10, align 4, !tbaa !35
  %12 = load i64, ptr %2, align 8, !tbaa !5
  switch i64 %12, label %83 [
    i64 2, label %13
    i64 3, label %42
  ]

13:                                               ; preds = %1
  %14 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %6, i64 noundef 0, i64 noundef 0)
  store float 1.000000e+00, ptr %14, align 4, !tbaa !36
  %15 = load ptr, ptr %7, align 8, !tbaa !33
  %16 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %15, i64 noundef 0, i64 noundef 1)
  store float %9, ptr %16, align 4, !tbaa !36
  %17 = load ptr, ptr %7, align 8, !tbaa !33
  %18 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %17, i64 noundef 0, i64 noundef 2)
  store float 0.000000e+00, ptr %18, align 4, !tbaa !36
  %19 = load ptr, ptr %7, align 8, !tbaa !33
  %20 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %19, i64 noundef 1, i64 noundef 0)
  store float %9, ptr %20, align 4, !tbaa !36
  %21 = load ptr, ptr %7, align 8, !tbaa !33
  %22 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %21, i64 noundef 1, i64 noundef 1)
  store float 1.000000e+00, ptr %22, align 4, !tbaa !36
  %23 = load ptr, ptr %7, align 8, !tbaa !33
  %24 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %23, i64 noundef 1, i64 noundef 2)
  store float 0.000000e+00, ptr %24, align 4, !tbaa !36
  %25 = load ptr, ptr %7, align 8, !tbaa !33
  %26 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %25, i64 noundef 2, i64 noundef 0)
  store float 0.000000e+00, ptr %26, align 4, !tbaa !36
  %27 = load ptr, ptr %7, align 8, !tbaa !33
  %28 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %27, i64 noundef 2, i64 noundef 1)
  store float 0.000000e+00, ptr %28, align 4, !tbaa !36
  %29 = fsub float 1.000000e+00, %9
  %30 = fmul float %29, 5.000000e-01
  %31 = load ptr, ptr %7, align 8, !tbaa !33
  %32 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %31, i64 noundef 2, i64 noundef 2)
  store float %30, ptr %32, align 4, !tbaa !36
  %33 = load ptr, ptr %7, align 8, !tbaa !33
  %34 = fpext float %11 to double
  %35 = tail call noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef %9, i32 noundef 2)
  %36 = fsub double 1.000000e+00, %35
  %37 = fdiv double %34, %36
  %38 = fptrunc double %37 to float
  %39 = load ptr, ptr %33, align 8, !tbaa !37
  %40 = getelementptr inbounds i8, ptr %39, i64 64
  %41 = load ptr, ptr %40, align 8
  tail call void %41(ptr noundef nonnull align 8 dereferenceable(49) %33, float noundef %38)
  br label %88

42:                                               ; preds = %1
  %43 = load ptr, ptr %6, align 8, !tbaa !37
  %44 = getelementptr inbounds i8, ptr %43, i64 232
  %45 = load ptr, ptr %44, align 8
  tail call void %45(ptr noundef nonnull align 8 dereferenceable(49) %6, float noundef 0.000000e+00)
  %46 = load ptr, ptr %7, align 8, !tbaa !33
  %47 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %46, i64 noundef 2, i64 noundef 2)
  store float 1.000000e+00, ptr %47, align 4, !tbaa !36
  %48 = load ptr, ptr %7, align 8, !tbaa !33
  %49 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %48, i64 noundef 1, i64 noundef 1)
  store float 1.000000e+00, ptr %49, align 4, !tbaa !36
  %50 = load ptr, ptr %7, align 8, !tbaa !33
  %51 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %50, i64 noundef 0, i64 noundef 0)
  store float 1.000000e+00, ptr %51, align 4, !tbaa !36
  %52 = fsub float 1.000000e+00, %9
  %53 = fdiv float %9, %52
  %54 = load ptr, ptr %7, align 8, !tbaa !33
  %55 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %54, i64 noundef 1, i64 noundef 2)
  store float %53, ptr %55, align 4, !tbaa !36
  %56 = load ptr, ptr %7, align 8, !tbaa !33
  %57 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %56, i64 noundef 2, i64 noundef 1)
  store float %53, ptr %57, align 4, !tbaa !36
  %58 = load ptr, ptr %7, align 8, !tbaa !33
  %59 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %58, i64 noundef 2, i64 noundef 0)
  store float %53, ptr %59, align 4, !tbaa !36
  %60 = load ptr, ptr %7, align 8, !tbaa !33
  %61 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %60, i64 noundef 0, i64 noundef 2)
  store float %53, ptr %61, align 4, !tbaa !36
  %62 = load ptr, ptr %7, align 8, !tbaa !33
  %63 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %62, i64 noundef 1, i64 noundef 0)
  store float %53, ptr %63, align 4, !tbaa !36
  %64 = load ptr, ptr %7, align 8, !tbaa !33
  %65 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %64, i64 noundef 0, i64 noundef 1)
  store float %53, ptr %65, align 4, !tbaa !36
  %66 = tail call float @llvm.fmuladd.f32(float %9, float -2.000000e+00, float 1.000000e+00)
  %67 = fmul float %52, 2.000000e+00
  %68 = fdiv float %66, %67
  %69 = load ptr, ptr %7, align 8, !tbaa !33
  %70 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %69, i64 noundef 5, i64 noundef 5)
  store float %68, ptr %70, align 4, !tbaa !36
  %71 = load ptr, ptr %7, align 8, !tbaa !33
  %72 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %71, i64 noundef 4, i64 noundef 4)
  store float %68, ptr %72, align 4, !tbaa !36
  %73 = load ptr, ptr %7, align 8, !tbaa !33
  %74 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49) %73, i64 noundef 3, i64 noundef 3)
  store float %68, ptr %74, align 4, !tbaa !36
  %75 = load ptr, ptr %7, align 8, !tbaa !33
  %76 = fmul float %11, %52
  %77 = fadd float %9, 1.000000e+00
  %78 = fmul float %77, %66
  %79 = fdiv float %76, %78
  %80 = load ptr, ptr %75, align 8, !tbaa !37
  %81 = getelementptr inbounds i8, ptr %80, i64 64
  %82 = load ptr, ptr %81, align 8
  tail call void %82(ptr noundef nonnull align 8 dereferenceable(49) %75, float noundef %79)
  br label %88

83:                                               ; preds = %1
  %84 = tail call ptr @__cxa_allocate_exception(i64 16) #5
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %84, ptr noundef nonnull @.str.32)
          to label %85 unwind label %86

85:                                               ; preds = %83
  tail call void @__cxa_throw(ptr nonnull %84, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #6
  unreachable

86:                                               ; preds = %83
  %87 = landingpad { ptr, i32 }
          cleanup
  tail call void @__cxa_free_exception(ptr %84) #5
  resume { ptr, i32 } %87

88:                                               ; preds = %42, %13
  ret void
}

declare noundef nonnull align 4 dereferenceable(4) ptr @_ZN6MatrixclEmm(ptr noundef nonnull align 8 dereferenceable(49), i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIfiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(float noundef, i32 noundef) local_unnamed_addr #2

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #0

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

attributes #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 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

!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, !12, i64 72}
!6 = !{!"_ZTS10dataKeeper", !7, i64 0, !7, i64 32, !13, i64 64, !12, i64 72, !12, i64 80, !12, i64 88, !12, i64 96, !12, i64 104, !12, i64 112, !12, i64 120, !14, i64 128, !9, i64 184, !9, i64 192, !9, i64 200, !9, i64 208, !9, i64 216, !9, i64 224, !9, i64 232, !9, i64 240, !9, i64 248, !9, i64 256, !9, i64 264, !9, i64 272, !19, i64 280, !20, i64 320, !21, i64 480, !22, i64 528, !22, i64 1056, !22, i64 1584, !22, i64 2112, !22, i64 2640}
!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 = !{!"bool", !10, i64 0}
!14 = !{!"_ZTSSt13unordered_mapIiSt6vectorIiSaIiEESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEE", !15, i64 0}
!15 = !{!"_ZTSSt10_HashtableIiSt4pairIKiSt6vectorIiSaIiEEESaIS5_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb0ELb0ELb1EEEE", !9, i64 0, !12, i64 8, !16, i64 16, !12, i64 24, !17, i64 32, !9, i64 48}
!16 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !9, i64 0}
!17 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !18, i64 0, !12, i64 8}
!18 = !{!"float", !10, i64 0}
!19 = !{!"_ZTS16MechanicalParams", !18, i64 0, !18, i64 4, !18, i64 8, !18, i64 12, !18, i64 16, !18, i64 20, !18, i64 24, !18, i64 28, !18, i64 32}
!20 = !{!"_ZTS9dataPaths", !7, i64 0, !7, i64 32, !7, i64 64, !7, i64 96, !7, i64 128}
!21 = !{!"_ZTS13WaveletParams", !7, i64 0, !18, i64 32, !18, i64 36, !18, i64 40}
!22 = !{!"_ZTSSt13basic_fstreamIcSt11char_traitsIcEE", !23, i64 0, !26, i64 24}
!23 = !{!"_ZTSSd", !24, i64 0, !25, i64 16}
!24 = !{!"_ZTSSi", !12, i64 8}
!25 = !{!"_ZTSSo"}
!26 = !{!"_ZTSSt13basic_filebufIcSt11char_traitsIcEE", !27, i64 0, !10, i64 64, !29, i64 104, !30, i64 120, !31, i64 124, !31, i64 132, !31, i64 140, !9, i64 152, !12, i64 160, !13, i64 168, !13, i64 169, !13, i64 170, !10, i64 171, !9, i64 176, !9, i64 184, !13, i64 192, !9, i64 200, !9, i64 208, !12, i64 216, !9, i64 224, !9, i64 232}
!27 = !{!"_ZTSSt15basic_streambufIcSt11char_traitsIcEE", !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !28, i64 56}
!28 = !{!"_ZTSSt6locale", !9, i64 0}
!29 = !{!"_ZTSSt12__basic_fileIcE", !9, i64 0, !13, i64 8}
!30 = !{!"_ZTSSt13_Ios_Openmode", !10, i64 0}
!31 = !{!"_ZTS11__mbstate_t", !32, i64 0, !10, i64 4}
!32 = !{!"int", !10, i64 0}
!33 = !{!6, !9, i64 216}
!34 = !{!6, !18, i64 280}
!35 = !{!6, !18, i64 284}
!36 = !{!18, !18, i64 0}
!37 = !{!38, !38, i64 0}
!38 = !{!"vtable pointer", !11, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass