; LLVM IR from gem5/gem5 :: ext/mcpat/memoryctrl.ll (ZN5MCPHY11computeAreaEv)

; 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.MCPHY = type { %class.McPATComponent, %class.InputParameter, %class.uca_org_t, %class.MCParameters, %class.MCStatistics, %class.statsDef }
%class.McPATComponent = type { ptr, %class.Component, ptr, %class.InputParameter, %"class.std::__cxx11::basic_string", double, %"class.std::vector", %class.McPATOutput, %class.statsDef, %class.statsDef, %class.powerDef, %class.powerDef }
%class.Component = type { %class.Area, %class.powerDef, %class.powerDef, double, double }
%class.Area = type { double, double, double }
%"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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<McPATComponent *, std::allocator<McPATComponent *>>::_Vector_impl" }
%"struct.std::_Vector_base<McPATComponent *, std::allocator<McPATComponent *>>::_Vector_impl" = type { %"struct.std::_Vector_base<McPATComponent *, std::allocator<McPATComponent *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<McPATComponent *, std::allocator<McPATComponent *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.McPATOutput = type { double, double, double, double, double, double }
%class.powerDef = type { %class.powerComponents, %class.powerComponents, %class.powerComponents }
%class.powerComponents = type { double, double, double, double, double }
%class.InputParameter = type { i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i8, i8, i32, i32, i8, double, double, i8, i32, i32, i8 }
%class.uca_org_t = type { ptr, ptr, double, double, double, double, %class.powerDef, double, double, double, [100 x i8], double, i8, %struct.results_mem_array, %struct.results_mem_array }
%struct.results_mem_array = type { i32, i32, double, i32, i32, i32, i32, i32, i32, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, %class.powerDef, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%class.MCParameters = type { double, i32, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%class.MCStatistics = type { double, double, double, double }
%class.statsDef = type { %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents }
%class.statsComponents = type { double, double, double }

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3logIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5MCPHY11computeAreaEv(ptr noundef nonnull align 8 dereferenceable(10232) %0) unnamed_addr #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %4 = load ptr, ptr %2, align 8
  %5 = getelementptr inbounds %class.MCPHY, ptr %4, i32 0, i32 3
  %6 = getelementptr inbounds %class.MCParameters, ptr %5, i32 0, i32 1
  %7 = load i32, ptr %6, align 8, !tbaa !9
  %8 = icmp eq i32 %7, 0
  br i1 %8, label %9, label %78

9:                                                ; preds = %1
  %10 = getelementptr inbounds %class.MCPHY, ptr %4, i32 0, i32 3
  %11 = getelementptr inbounds %class.MCParameters, ptr %10, i32 0, i32 12
  %12 = load i32, ptr %11, align 4, !tbaa !36
  %13 = icmp eq i32 %12, 0
  br i1 %13, label %14, label %40

14:                                               ; preds = %9
  %15 = getelementptr inbounds %class.MCPHY, ptr %4, i32 0, i32 3
  %16 = getelementptr inbounds %class.MCParameters, ptr %15, i32 0, i32 15
  %17 = load i32, ptr %16, align 4, !tbaa !37
  %18 = mul nsw i32 %17, 2
  %19 = call noundef double @_ZSt3logIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %18)
  %20 = call double @llvm.fmuladd.f64(double 6.432300e+00, double %19, double -4.813400e+01)
  %21 = getelementptr inbounds %class.MCPHY, ptr %4, i32 0, i32 3
  %22 = getelementptr inbounds %class.MCParameters, ptr %21, i32 0, i32 5
  %23 = load i32, ptr %22, align 8, !tbaa !38
  %24 = sitofp i32 %23 to double
  %25 = fmul double %20, %24
  %26 = fdiv double %25, 1.280000e+02
  %27 = getelementptr inbounds %class.MCPHY, ptr %4, i32 0, i32 1
  %28 = getelementptr inbounds %class.InputParameter, ptr %27, i32 0, i32 13
  %29 = load double, ptr %28, align 8, !tbaa !39
  %30 = fdiv double %29, 0x3FB70A3D70A3D70A
  %31 = fmul double %26, %30
  %32 = getelementptr inbounds %class.MCPHY, ptr %4, i32 0, i32 3
  %33 = getelementptr inbounds %class.MCParameters, ptr %32, i32 0, i32 3
  %34 = load i32, ptr %33, align 8, !tbaa !40
  %35 = sitofp i32 %34 to double
  %36 = fmul double %31, %35
  %37 = fdiv double %36, 2.000000e+00
  %38 = getelementptr inbounds %class.McPATComponent, ptr %4, i32 0, i32 7
  %39 = getelementptr inbounds %class.McPATOutput, ptr %38, i32 0, i32 1
  store double %37, ptr %39, align 8, !tbaa !41
  br label %77

40:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  store double 2.000000e-01, ptr %3, align 8, !tbaa !42
  %41 = load double, ptr %3, align 8, !tbaa !42
  %42 = fmul double 1.300000e+00, %41
  %43 = fdiv double %42, 2.133000e+09
  %44 = getelementptr inbounds %class.MCPHY, ptr %4, i32 0, i32 3
  %45 = getelementptr inbounds %class.MCParameters, ptr %44, i32 0, i32 0
  %46 = load double, ptr %45, align 8, !tbaa !43
  %47 = fmul double %43, %46
  %48 = fdiv double %47, 1.706600e+04
  %49 = getelementptr inbounds %class.MCPHY, ptr %4, i32 0, i32 3
  %50 = getelementptr inbounds %class.MCParameters, ptr %49, i32 0, i32 15
  %51 = load i32, ptr %50, align 4, !tbaa !37
  %52 = sitofp i32 %51 to double
  %53 = fmul double %48, %52
  %54 = getelementptr inbounds %class.MCPHY, ptr %4, i32 0, i32 3
  %55 = getelementptr inbounds %class.MCParameters, ptr %54, i32 0, i32 5
  %56 = load i32, ptr %55, align 8, !tbaa !38
  %57 = sitofp i32 %56 to double
  %58 = fmul double %53, %57
  %59 = fdiv double %58, 1.600000e+01
  %60 = getelementptr inbounds %class.MCPHY, ptr %4, i32 0, i32 1
  %61 = getelementptr inbounds %class.InputParameter, ptr %60, i32 0, i32 13
  %62 = load double, ptr %61, align 8, !tbaa !39
  %63 = fdiv double %62, 4.000000e-02
  %64 = fmul double %59, %63
  %65 = getelementptr inbounds %class.MCPHY, ptr %4, i32 0, i32 1
  %66 = getelementptr inbounds %class.InputParameter, ptr %65, i32 0, i32 13
  %67 = load double, ptr %66, align 8, !tbaa !39
  %68 = fdiv double %67, 4.000000e-02
  %69 = fmul double %64, %68
  %70 = getelementptr inbounds %class.MCPHY, ptr %4, i32 0, i32 3
  %71 = getelementptr inbounds %class.MCParameters, ptr %70, i32 0, i32 3
  %72 = load i32, ptr %71, align 8, !tbaa !40
  %73 = sitofp i32 %72 to double
  %74 = fmul double %69, %73
  %75 = getelementptr inbounds %class.McPATComponent, ptr %4, i32 0, i32 7
  %76 = getelementptr inbounds %class.McPATOutput, ptr %75, i32 0, i32 1
  store double %74, ptr %76, align 8, !tbaa !41
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  br label %77

77:                                               ; preds = %40, %14
  br label %88

78:                                               ; preds = %1
  %79 = getelementptr inbounds %class.MCPHY, ptr %4, i32 0, i32 3
  %80 = getelementptr inbounds %class.MCParameters, ptr %79, i32 0, i32 5
  %81 = load i32, ptr %80, align 8, !tbaa !38
  %82 = sitofp i32 %81 to double
  %83 = fmul double 2.000000e+05, %82
  %84 = fdiv double %83, 8.000000e+00
  %85 = fdiv double %84, 1.000000e+06
  %86 = getelementptr inbounds %class.McPATComponent, ptr %4, i32 0, i32 7
  %87 = getelementptr inbounds %class.McPATOutput, ptr %86, i32 0, i32 1
  store double %85, ptr %87, align 8, !tbaa !41
  br label %88

88:                                               ; preds = %78, %77
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !34, i64 9928}
!10 = !{!"_ZTS5MCPHY", !11, i64 0, !17, i64 1352, !31, i64 1720, !33, i64 9920, !35, i64 10032, !29, i64 10064}
!11 = !{!"_ZTS14McPATComponent", !12, i64 8, !6, i64 288, !17, i64 296, !21, i64 664, !14, i64 696, !24, i64 704, !28, i64 728, !29, i64 776, !29, i64 944, !15, i64 1112, !15, i64 1232}
!12 = !{!"_ZTS9Component", !13, i64 0, !15, i64 24, !15, i64 144, !14, i64 264, !14, i64 272}
!13 = !{!"_ZTS4Area", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"double", !7, i64 0}
!15 = !{!"_ZTS8powerDef", !16, i64 0, !16, i64 40, !16, i64 80}
!16 = !{!"_ZTS15powerComponents", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32}
!17 = !{!"_ZTS14InputParameter", !18, i64 0, !18, i64 4, !18, i64 8, !18, i64 12, !18, i64 16, !19, i64 20, !18, i64 24, !18, i64 28, !18, i64 32, !18, i64 36, !18, i64 40, !18, i64 44, !14, i64 48, !14, i64 56, !18, i64 64, !18, i64 68, !18, i64 72, !18, i64 76, !18, i64 80, !19, i64 84, !19, i64 85, !19, i64 86, !19, i64 87, !19, i64 88, !18, i64 92, !18, i64 96, !18, i64 100, !18, i64 104, !18, i64 108, !18, i64 112, !18, i64 116, !18, i64 120, !18, i64 124, !18, i64 128, !18, i64 132, !18, i64 136, !18, i64 140, !18, i64 144, !18, i64 148, !20, i64 152, !18, i64 156, !19, i64 160, !18, i64 164, !18, i64 168, !18, i64 172, !18, i64 176, !18, i64 180, !18, i64 184, !18, i64 188, !19, i64 192, !18, i64 196, !18, i64 200, !18, i64 204, !18, i64 208, !18, i64 212, !18, i64 216, !18, i64 220, !18, i64 224, !18, i64 228, !18, i64 232, !18, i64 236, !18, i64 240, !18, i64 244, !18, i64 248, !18, i64 252, !18, i64 256, !18, i64 260, !18, i64 264, !18, i64 268, !18, i64 272, !18, i64 276, !18, i64 280, !18, i64 284, !18, i64 288, !18, i64 292, !18, i64 296, !19, i64 300, !18, i64 304, !18, i64 308, !18, i64 312, !19, i64 316, !19, i64 317, !18, i64 320, !18, i64 324, !19, i64 328, !14, i64 336, !14, i64 344, !19, i64 352, !18, i64 356, !18, i64 360, !19, i64 364}
!18 = !{!"int", !7, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTS9Wire_type", !7, i64 0}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !22, i64 0, !23, i64 8, !7, i64 16}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = !{!"_ZTSSt6vectorIP14McPATComponentSaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIP14McPATComponentSaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTS11McPATOutput", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40}
!29 = !{!"_ZTS8statsDef", !30, i64 0, !30, i64 24, !30, i64 48, !30, i64 72, !30, i64 96, !30, i64 120, !30, i64 144}
!30 = !{!"_ZTS15statsComponents", !14, i64 0, !14, i64 8, !14, i64 16}
!31 = !{!"_ZTS9uca_org_t", !6, i64 0, !6, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !15, i64 48, !14, i64 168, !14, i64 176, !14, i64 184, !7, i64 192, !14, i64 296, !19, i64 304, !32, i64 312, !32, i64 4256}
!32 = !{!"_ZTS17results_mem_array", !18, i64 0, !18, i64 4, !14, i64 8, !18, i64 16, !18, i64 20, !18, i64 24, !18, i64 28, !18, i64 32, !18, i64 36, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !14, i64 104, !14, i64 112, !14, i64 120, !14, i64 128, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !14, i64 224, !14, i64 232, !14, i64 240, !14, i64 248, !14, i64 256, !14, i64 264, !15, i64 272, !15, i64 392, !15, i64 512, !15, i64 632, !15, i64 752, !15, i64 872, !15, i64 992, !15, i64 1112, !15, i64 1232, !15, i64 1352, !15, i64 1472, !15, i64 1592, !15, i64 1712, !15, i64 1832, !15, i64 1952, !15, i64 2072, !15, i64 2192, !15, i64 2312, !15, i64 2432, !15, i64 2552, !15, i64 2672, !15, i64 2792, !15, i64 2912, !15, i64 3032, !15, i64 3152, !15, i64 3272, !15, i64 3392, !15, i64 3512, !15, i64 3632, !14, i64 3752, !14, i64 3760, !14, i64 3768, !14, i64 3776, !14, i64 3784, !14, i64 3792, !14, i64 3800, !14, i64 3808, !14, i64 3816, !14, i64 3824, !14, i64 3832, !14, i64 3840, !14, i64 3848, !14, i64 3856, !14, i64 3864, !14, i64 3872, !14, i64 3880, !14, i64 3888, !14, i64 3896, !14, i64 3904, !14, i64 3912, !14, i64 3920, !14, i64 3928, !14, i64 3936}
!33 = !{!"_ZTS12MCParameters", !14, i64 0, !34, i64 8, !14, i64 16, !18, i64 24, !18, i64 28, !18, i64 32, !18, i64 36, !18, i64 40, !18, i64 44, !18, i64 48, !18, i64 52, !18, i64 56, !18, i64 60, !19, i64 64, !19, i64 65, !18, i64 68, !18, i64 72, !18, i64 76, !18, i64 80, !18, i64 84, !18, i64 88, !18, i64 92, !18, i64 96, !18, i64 100, !18, i64 104}
!34 = !{!"_ZTS15MemoryCtrl_type", !7, i64 0}
!35 = !{!"_ZTS12MCStatistics", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!36 = !{!10, !18, i64 9980}
!37 = !{!10, !18, i64 9988}
!38 = !{!10, !18, i64 9952}
!39 = !{!10, !14, i64 1408}
!40 = !{!10, !18, i64 9944}
!41 = !{!11, !14, i64 736}
!42 = !{!14, !14, i64 0}
!43 = !{!10, !14, i64 9920}


; 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3logIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN5MCPHY11computeAreaEv(ptr nocapture noundef nonnull align 8 dereferenceable(10232) %0) unnamed_addr #2 align 2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 9920
  %3 = getelementptr inbounds i8, ptr %0, i64 9928
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = icmp eq i32 %4, 0
  br i1 %5, label %6, label %52

6:                                                ; preds = %1
  %7 = getelementptr inbounds i8, ptr %0, i64 9980
  %8 = load i32, ptr %7, align 4, !tbaa !35
  %9 = icmp eq i32 %8, 0
  br i1 %9, label %10, label %30

10:                                               ; preds = %6
  %11 = getelementptr inbounds i8, ptr %0, i64 9988
  %12 = load i32, ptr %11, align 4, !tbaa !36
  %13 = shl nsw i32 %12, 1
  %14 = tail call noundef double @_ZSt3logIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %13)
  %15 = tail call double @llvm.fmuladd.f64(double %14, double 6.432300e+00, double -4.813400e+01)
  %16 = getelementptr inbounds i8, ptr %0, i64 9952
  %17 = load i32, ptr %16, align 8, !tbaa !37
  %18 = sitofp i32 %17 to double
  %19 = fmul double %15, %18
  %20 = fmul double %19, 7.812500e-03
  %21 = getelementptr inbounds i8, ptr %0, i64 1408
  %22 = load double, ptr %21, align 8, !tbaa !38
  %23 = fdiv double %22, 0x3FB70A3D70A3D70A
  %24 = fmul double %23, %20
  %25 = getelementptr inbounds i8, ptr %0, i64 9944
  %26 = load i32, ptr %25, align 8, !tbaa !39
  %27 = sitofp i32 %26 to double
  %28 = fmul double %24, %27
  %29 = fmul double %28, 5.000000e-01
  br label %59

30:                                               ; preds = %6
  %31 = load double, ptr %2, align 8, !tbaa !40
  %32 = fmul double %31, 0x3DE0C0C3F5B4D0C5
  %33 = fdiv double %32, 1.706600e+04
  %34 = getelementptr inbounds i8, ptr %0, i64 9988
  %35 = load i32, ptr %34, align 4, !tbaa !36
  %36 = sitofp i32 %35 to double
  %37 = fmul double %33, %36
  %38 = getelementptr inbounds i8, ptr %0, i64 9952
  %39 = load i32, ptr %38, align 8, !tbaa !37
  %40 = sitofp i32 %39 to double
  %41 = fmul double %37, %40
  %42 = fmul double %41, 6.250000e-02
  %43 = getelementptr inbounds i8, ptr %0, i64 1408
  %44 = load double, ptr %43, align 8, !tbaa !38
  %45 = fdiv double %44, 4.000000e-02
  %46 = fmul double %45, %42
  %47 = fmul double %45, %46
  %48 = getelementptr inbounds i8, ptr %0, i64 9944
  %49 = load i32, ptr %48, align 8, !tbaa !39
  %50 = sitofp i32 %49 to double
  %51 = fmul double %47, %50
  br label %59

52:                                               ; preds = %1
  %53 = getelementptr inbounds i8, ptr %0, i64 9952
  %54 = load i32, ptr %53, align 8, !tbaa !37
  %55 = sitofp i32 %54 to double
  %56 = fmul double %55, 2.000000e+05
  %57 = fmul double %56, 1.250000e-01
  %58 = fdiv double %57, 1.000000e+06
  br label %59

59:                                               ; preds = %10, %30, %52
  %.sink = phi double [ %29, %10 ], [ %51, %30 ], [ %58, %52 ]
  %60 = getelementptr inbounds i8, ptr %0, i64 736
  store double %.sink, ptr %60, align 8, !tbaa !41
  ret void
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !33, i64 9928}
!6 = !{!"_ZTS5MCPHY", !7, i64 0, !16, i64 1352, !30, i64 1720, !32, i64 9920, !34, i64 10032, !28, i64 10064}
!7 = !{!"_ZTS14McPATComponent", !8, i64 8, !15, i64 288, !16, i64 296, !20, i64 664, !10, i64 696, !23, i64 704, !27, i64 728, !28, i64 776, !28, i64 944, !13, i64 1112, !13, i64 1232}
!8 = !{!"_ZTS9Component", !9, i64 0, !13, i64 24, !13, i64 144, !10, i64 264, !10, i64 272}
!9 = !{!"_ZTS4Area", !10, i64 0, !10, i64 8, !10, i64 16}
!10 = !{!"double", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTS8powerDef", !14, i64 0, !14, i64 40, !14, i64 80}
!14 = !{!"_ZTS15powerComponents", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!15 = !{!"any pointer", !11, i64 0}
!16 = !{!"_ZTS14InputParameter", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !17, i64 16, !18, i64 20, !17, i64 24, !17, i64 28, !17, i64 32, !17, i64 36, !17, i64 40, !17, i64 44, !10, i64 48, !10, i64 56, !17, i64 64, !17, i64 68, !17, i64 72, !17, i64 76, !17, i64 80, !18, i64 84, !18, i64 85, !18, i64 86, !18, i64 87, !18, i64 88, !17, i64 92, !17, i64 96, !17, i64 100, !17, i64 104, !17, i64 108, !17, i64 112, !17, i64 116, !17, i64 120, !17, i64 124, !17, i64 128, !17, i64 132, !17, i64 136, !17, i64 140, !17, i64 144, !17, i64 148, !19, i64 152, !17, i64 156, !18, i64 160, !17, i64 164, !17, i64 168, !17, i64 172, !17, i64 176, !17, i64 180, !17, i64 184, !17, i64 188, !18, i64 192, !17, i64 196, !17, i64 200, !17, i64 204, !17, i64 208, !17, i64 212, !17, i64 216, !17, i64 220, !17, i64 224, !17, i64 228, !17, i64 232, !17, i64 236, !17, i64 240, !17, i64 244, !17, i64 248, !17, i64 252, !17, i64 256, !17, i64 260, !17, i64 264, !17, i64 268, !17, i64 272, !17, i64 276, !17, i64 280, !17, i64 284, !17, i64 288, !17, i64 292, !17, i64 296, !18, i64 300, !17, i64 304, !17, i64 308, !17, i64 312, !18, i64 316, !18, i64 317, !17, i64 320, !17, i64 324, !18, i64 328, !10, i64 336, !10, i64 344, !18, i64 352, !17, i64 356, !17, i64 360, !18, i64 364}
!17 = !{!"int", !11, i64 0}
!18 = !{!"bool", !11, i64 0}
!19 = !{!"_ZTS9Wire_type", !11, i64 0}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !22, i64 8, !11, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !15, i64 0}
!22 = !{!"long", !11, i64 0}
!23 = !{!"_ZTSSt6vectorIP14McPATComponentSaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIP14McPATComponentSaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!27 = !{!"_ZTS11McPATOutput", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40}
!28 = !{!"_ZTS8statsDef", !29, i64 0, !29, i64 24, !29, i64 48, !29, i64 72, !29, i64 96, !29, i64 120, !29, i64 144}
!29 = !{!"_ZTS15statsComponents", !10, i64 0, !10, i64 8, !10, i64 16}
!30 = !{!"_ZTS9uca_org_t", !15, i64 0, !15, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !13, i64 48, !10, i64 168, !10, i64 176, !10, i64 184, !11, i64 192, !10, i64 296, !18, i64 304, !31, i64 312, !31, i64 4256}
!31 = !{!"_ZTS17results_mem_array", !17, i64 0, !17, i64 4, !10, i64 8, !17, i64 16, !17, i64 20, !17, i64 24, !17, i64 28, !17, i64 32, !17, i64 36, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !10, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !13, i64 272, !13, i64 392, !13, i64 512, !13, i64 632, !13, i64 752, !13, i64 872, !13, i64 992, !13, i64 1112, !13, i64 1232, !13, i64 1352, !13, i64 1472, !13, i64 1592, !13, i64 1712, !13, i64 1832, !13, i64 1952, !13, i64 2072, !13, i64 2192, !13, i64 2312, !13, i64 2432, !13, i64 2552, !13, i64 2672, !13, i64 2792, !13, i64 2912, !13, i64 3032, !13, i64 3152, !13, i64 3272, !13, i64 3392, !13, i64 3512, !13, i64 3632, !10, i64 3752, !10, i64 3760, !10, i64 3768, !10, i64 3776, !10, i64 3784, !10, i64 3792, !10, i64 3800, !10, i64 3808, !10, i64 3816, !10, i64 3824, !10, i64 3832, !10, i64 3840, !10, i64 3848, !10, i64 3856, !10, i64 3864, !10, i64 3872, !10, i64 3880, !10, i64 3888, !10, i64 3896, !10, i64 3904, !10, i64 3912, !10, i64 3920, !10, i64 3928, !10, i64 3936}
!32 = !{!"_ZTS12MCParameters", !10, i64 0, !33, i64 8, !10, i64 16, !17, i64 24, !17, i64 28, !17, i64 32, !17, i64 36, !17, i64 40, !17, i64 44, !17, i64 48, !17, i64 52, !17, i64 56, !17, i64 60, !18, i64 64, !18, i64 65, !17, i64 68, !17, i64 72, !17, i64 76, !17, i64 80, !17, i64 84, !17, i64 88, !17, i64 92, !17, i64 96, !17, i64 100, !17, i64 104}
!33 = !{!"_ZTS15MemoryCtrl_type", !11, i64 0}
!34 = !{!"_ZTS12MCStatistics", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!35 = !{!6, !17, i64 9980}
!36 = !{!6, !17, i64 9988}
!37 = !{!6, !17, i64 9952}
!38 = !{!6, !10, i64 1408}
!39 = !{!6, !17, i64 9944}
!40 = !{!6, !10, i64 9920}
!41 = !{!7, !10, i64 736}


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