; LLVM IR from gem5/gem5 :: ext/mcpat/noc.ll (ZN13OnChipNetworkC2EP7XMLNodeiP14InputParameter)

; 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.TechnologyParameter = type { 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, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i64, %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::InterconnectType", %"class.TechnologyParameter::InterconnectType", %"class.TechnologyParameter::InterconnectType", %"class.TechnologyParameter::ScalingFactor", %"class.TechnologyParameter::MemoryType", %"class.TechnologyParameter::MemoryType", %"class.TechnologyParameter::MemoryType" }
%"class.TechnologyParameter::DeviceType" = type { double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%"class.TechnologyParameter::InterconnectType" = type { double, double, double, double, double, double, double, double }
%"class.TechnologyParameter::ScalingFactor" = type { double, double, double }
%"class.TechnologyParameter::MemoryType" = type { double, double, double, double, double, double }
%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 }
%class.powerDef = type { %class.powerComponents, %class.powerComponents, %class.powerComponents }
%class.powerComponents = type { double, double, double, double, double }
%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.OnChipNetwork = type { %class.McPATComponent, ptr, ptr, %class.Component, i32, %class.InputParameter, double, double, double, double, %class.OnChipNetworkParameters, %class.OnChipNetworkStatistics, %class.uca_org_t, %class.statsDef, i8, i8, %"class.std::__cxx11::basic_string" }
%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.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.Component = type { %class.Area, %class.powerDef, %class.powerDef, double, double }
%class.Area = type { 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.OnChipNetworkParameters = type { double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double, i8, i8, double, double, double, i32 }
%class.OnChipNetworkStatistics = type { 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 }
%"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] }

@_ZTV13OnChipNetwork = external dso_local unnamed_addr constant { [6 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [16 x i8], align 1
@g_tp = external global %class.TechnologyParameter, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13OnChipNetworkC2EP7XMLNodeiP14InputParameter(ptr noundef nonnull align 8 dereferenceable(10600) %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %class.uca_org_t, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  %12 = load ptr, ptr %5, align 8
  %13 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN14McPATComponentC2EP7XMLNode(ptr noundef nonnull align 8 dereferenceable(1352) %12, ptr noundef %13)
  store ptr getelementptr inbounds inrange(-16, 32) ({ [6 x ptr] }, ptr @_ZTV13OnChipNetwork, i32 0, i32 0, i32 2), ptr %12, align 8, !tbaa !11
  %14 = getelementptr inbounds %class.OnChipNetwork, ptr %12, i32 0, i32 1
  store ptr null, ptr %14, align 8, !tbaa !13
  %15 = getelementptr inbounds %class.OnChipNetwork, ptr %12, i32 0, i32 2
  store ptr null, ptr %15, align 8, !tbaa !38
  %16 = getelementptr inbounds %class.OnChipNetwork, ptr %12, i32 0, i32 3
  invoke void @_ZN9ComponentC1Ev(ptr noundef nonnull align 8 dereferenceable(280) %16)
          to label %17 unwind label %49

17:                                               ; preds = %4
  %18 = getelementptr inbounds %class.OnChipNetwork, ptr %12, i32 0, i32 4
  %19 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %19, ptr %18, align 8, !tbaa !39
  %20 = getelementptr inbounds %class.OnChipNetwork, ptr %12, i32 0, i32 5
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %21, i64 368, i1 false), !tbaa.struct !40
  %22 = getelementptr inbounds %class.OnChipNetwork, ptr %12, i32 0, i32 10
  %23 = getelementptr inbounds %class.OnChipNetwork, ptr %12, i32 0, i32 11
  %24 = getelementptr inbounds %class.OnChipNetwork, ptr %12, i32 0, i32 12
  invoke void @_ZN9uca_org_tC1Ev(ptr noundef nonnull align 8 dereferenceable(8200) %24)
          to label %25 unwind label %53

25:                                               ; preds = %17
  %26 = getelementptr inbounds %class.OnChipNetwork, ptr %12, i32 0, i32 13
  invoke void @_ZN8statsDefC2Ev(ptr noundef nonnull align 8 dereferenceable(168) %26)
          to label %27 unwind label %57

27:                                               ; preds = %25
  %28 = getelementptr inbounds %class.OnChipNetwork, ptr %12, i32 0, i32 14
  store i8 0, ptr %28, align 8, !tbaa !44
  %29 = getelementptr inbounds %class.OnChipNetwork, ptr %12, i32 0, i32 15
  store i8 0, ptr %29, align 1, !tbaa !45
  %30 = getelementptr inbounds %class.OnChipNetwork, ptr %12, i32 0, i32 16
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  %31 = getelementptr inbounds %class.McPATComponent, ptr %12, i32 0, i32 4
  %32 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef @.str)
          to label %33 unwind label %61

33:                                               ; preds = %27
  invoke void @_ZN13OnChipNetwork15set_param_statsEv(ptr noundef nonnull align 8 dereferenceable(10600) %12)
          to label %34 unwind label %61

34:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 8200, ptr %11) #7
  %35 = getelementptr inbounds %class.OnChipNetwork, ptr %12, i32 0, i32 5
  %36 = getelementptr inbounds %class.McPATComponent, ptr %12, i32 0, i32 4
  invoke void @_Z14init_interfaceP14InputParameterRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%class.uca_org_t) align 8 %11, ptr noundef %35, ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %37 unwind label %65

37:                                               ; preds = %34
  %38 = getelementptr inbounds %class.OnChipNetwork, ptr %12, i32 0, i32 12
  %39 = invoke noundef nonnull align 8 dereferenceable(8200) ptr @_ZN9uca_org_taSERKS_(ptr noundef nonnull align 8 dereferenceable(8200) %38, ptr noundef nonnull align 8 dereferenceable(8200) %11)
          to label %40 unwind label %69

40:                                               ; preds = %37
  call void @_ZN9uca_org_tD2Ev(ptr noundef nonnull align 8 dereferenceable(8200) %11) #7
  call void @llvm.lifetime.end.p0(i64 8200, ptr %11) #7
  %41 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 42), align 8, !tbaa !46
  %42 = getelementptr inbounds %class.OnChipNetwork, ptr %12, i32 0, i32 7
  store double %41, ptr %42, align 8, !tbaa !52
  %43 = getelementptr inbounds %class.OnChipNetwork, ptr %12, i32 0, i32 10
  %44 = getelementptr inbounds %class.OnChipNetworkParameters, ptr %43, i32 0, i32 16
  %45 = load i8, ptr %44, align 1, !tbaa !53, !range !54, !noundef !55
  %46 = trunc i8 %45 to i1
  br i1 %46, label %47, label %74

47:                                               ; preds = %40
  invoke void @_ZN13OnChipNetwork11init_routerEv(ptr noundef nonnull align 8 dereferenceable(10600) %12)
          to label %48 unwind label %61

48:                                               ; preds = %47
  br label %76

49:                                               ; preds = %4
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %9, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %10, align 4
  br label %80

53:                                               ; preds = %17
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %9, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %10, align 4
  br label %79

57:                                               ; preds = %25
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %9, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %10, align 4
  br label %78

61:                                               ; preds = %74, %47, %33, %27
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %9, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %10, align 4
  br label %77

65:                                               ; preds = %34
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %9, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %10, align 4
  br label %73

69:                                               ; preds = %37
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %9, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %10, align 4
  call void @_ZN9uca_org_tD2Ev(ptr noundef nonnull align 8 dereferenceable(8200) %11) #7
  br label %73

73:                                               ; preds = %69, %65
  call void @llvm.lifetime.end.p0(i64 8200, ptr %11) #7
  br label %77

74:                                               ; preds = %40
  invoke void @_ZN13OnChipNetwork13init_link_busEv(ptr noundef nonnull align 8 dereferenceable(10600) %12)
          to label %75 unwind label %61

75:                                               ; preds = %74
  br label %76

76:                                               ; preds = %75, %48
  ret void

77:                                               ; preds = %73, %61
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #7
  br label %78

78:                                               ; preds = %77, %57
  call void @_ZN9uca_org_tD2Ev(ptr noundef nonnull align 8 dereferenceable(8200) %24) #7
  br label %79

79:                                               ; preds = %78, %53
  call void @_ZN9ComponentD1Ev(ptr noundef nonnull align 8 dereferenceable(280) %16) #7
  br label %80

80:                                               ; preds = %79, %49
  call void @_ZN14McPATComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(1352) %12) #7
  br label %81

81:                                               ; preds = %80
  %82 = load ptr, ptr %9, align 8
  %83 = load i32, ptr %10, align 4
  %84 = insertvalue { ptr, i32 } poison, ptr %82, 0
  %85 = insertvalue { ptr, i32 } %84, i32 %83, 1
  resume { ptr, i32 } %85
}

declare void @_ZN14McPATComponentC2EP7XMLNode(ptr noundef nonnull align 8 dereferenceable(1352), ptr noundef) unnamed_addr #1

declare void @_ZN9ComponentC1Ev(ptr noundef nonnull align 8 dereferenceable(280)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

declare void @_ZN9uca_org_tC1Ev(ptr noundef nonnull align 8 dereferenceable(8200)) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8statsDefC2Ev(ptr noundef nonnull align 8 dereferenceable(168)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13OnChipNetwork15set_param_statsEv(ptr noundef nonnull align 8 dereferenceable(10600)) #0 align 2

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

declare void @_Z14init_interfaceP14InputParameterRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%class.uca_org_t) align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8200) ptr @_ZN9uca_org_taSERKS_(ptr noundef nonnull align 8 dereferenceable(8200), ptr noundef nonnull align 8 dereferenceable(8200)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9uca_org_tD2Ev(ptr noundef nonnull align 8 dereferenceable(8200)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13OnChipNetwork11init_routerEv(ptr noundef nonnull align 8 dereferenceable(10600)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13OnChipNetwork13init_link_busEv(ptr noundef nonnull align 8 dereferenceable(10600)) #0 align 2

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

; Function Attrs: nounwind
declare void @_ZN9ComponentD1Ev(ptr noundef nonnull align 8 dereferenceable(280)) unnamed_addr #6

; Function Attrs: nounwind
declare void @_ZN14McPATComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(1352)) unnamed_addr #6

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !6, i64 1352}
!14 = !{!"_ZTS13OnChipNetwork", !15, i64 0, !6, i64 1352, !6, i64 1360, !16, i64 1368, !10, i64 1648, !21, i64 1656, !18, i64 2024, !18, i64 2032, !18, i64 2040, !18, i64 2048, !34, i64 2056, !35, i64 2176, !36, i64 2192, !32, i64 10392, !22, i64 10560, !22, i64 10561, !24, i64 10568}
!15 = !{!"_ZTS14McPATComponent", !16, i64 8, !6, i64 288, !21, i64 296, !24, i64 664, !18, i64 696, !27, i64 704, !31, i64 728, !32, i64 776, !32, i64 944, !19, i64 1112, !19, i64 1232}
!16 = !{!"_ZTS9Component", !17, i64 0, !19, i64 24, !19, i64 144, !18, i64 264, !18, i64 272}
!17 = !{!"_ZTS4Area", !18, i64 0, !18, i64 8, !18, i64 16}
!18 = !{!"double", !7, i64 0}
!19 = !{!"_ZTS8powerDef", !20, i64 0, !20, i64 40, !20, i64 80}
!20 = !{!"_ZTS15powerComponents", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !18, i64 32}
!21 = !{!"_ZTS14InputParameter", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !22, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !18, i64 48, !18, i64 56, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !22, i64 84, !22, i64 85, !22, i64 86, !22, i64 87, !22, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !23, i64 152, !10, i64 156, !22, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !22, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !10, i64 268, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !22, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !22, i64 316, !22, i64 317, !10, i64 320, !10, i64 324, !22, i64 328, !18, i64 336, !18, i64 344, !22, i64 352, !10, i64 356, !10, i64 360, !22, i64 364}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"_ZTS9Wire_type", !7, i64 0}
!24 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !25, i64 0, !26, i64 8, !7, i64 16}
!25 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!26 = !{!"long", !7, i64 0}
!27 = !{!"_ZTSSt6vectorIP14McPATComponentSaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIP14McPATComponentSaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!31 = !{!"_ZTS11McPATOutput", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40}
!32 = !{!"_ZTS8statsDef", !33, i64 0, !33, i64 24, !33, i64 48, !33, i64 72, !33, i64 96, !33, i64 120, !33, i64 144}
!33 = !{!"_ZTS15statsComponents", !18, i64 0, !18, i64 8, !18, i64 16}
!34 = !{!"_ZTS23OnChipNetworkParameters", !18, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !18, i64 48, !18, i64 56, !18, i64 64, !18, i64 72, !22, i64 80, !22, i64 81, !18, i64 88, !18, i64 96, !18, i64 104, !10, i64 112}
!35 = !{!"_ZTS23OnChipNetworkStatistics", !18, i64 0, !18, i64 8}
!36 = !{!"_ZTS9uca_org_t", !6, i64 0, !6, i64 8, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !19, i64 48, !18, i64 168, !18, i64 176, !18, i64 184, !7, i64 192, !18, i64 296, !22, i64 304, !37, i64 312, !37, i64 4256}
!37 = !{!"_ZTS17results_mem_array", !10, i64 0, !10, i64 4, !18, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !18, i64 40, !18, i64 48, !18, i64 56, !18, i64 64, !18, i64 72, !18, i64 80, !18, i64 88, !18, i64 96, !18, i64 104, !18, i64 112, !18, i64 120, !18, i64 128, !18, i64 136, !18, i64 144, !18, i64 152, !18, i64 160, !18, i64 168, !18, i64 176, !18, i64 184, !18, i64 192, !18, i64 200, !18, i64 208, !18, i64 216, !18, i64 224, !18, i64 232, !18, i64 240, !18, i64 248, !18, i64 256, !18, i64 264, !19, i64 272, !19, i64 392, !19, i64 512, !19, i64 632, !19, i64 752, !19, i64 872, !19, i64 992, !19, i64 1112, !19, i64 1232, !19, i64 1352, !19, i64 1472, !19, i64 1592, !19, i64 1712, !19, i64 1832, !19, i64 1952, !19, i64 2072, !19, i64 2192, !19, i64 2312, !19, i64 2432, !19, i64 2552, !19, i64 2672, !19, i64 2792, !19, i64 2912, !19, i64 3032, !19, i64 3152, !19, i64 3272, !19, i64 3392, !19, i64 3512, !19, i64 3632, !18, i64 3752, !18, i64 3760, !18, i64 3768, !18, i64 3776, !18, i64 3784, !18, i64 3792, !18, i64 3800, !18, i64 3808, !18, i64 3816, !18, i64 3824, !18, i64 3832, !18, i64 3840, !18, i64 3848, !18, i64 3856, !18, i64 3864, !18, i64 3872, !18, i64 3880, !18, i64 3888, !18, i64 3896, !18, i64 3904, !18, i64 3912, !18, i64 3920, !18, i64 3928, !18, i64 3936}
!38 = !{!14, !6, i64 1360}
!39 = !{!14, !10, i64 1648}
!40 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9, i64 12, i64 4, !9, i64 16, i64 4, !9, i64 20, i64 1, !41, i64 24, i64 4, !9, i64 28, i64 4, !9, i64 32, i64 4, !9, i64 36, i64 4, !9, i64 40, i64 4, !9, i64 44, i64 4, !9, i64 48, i64 8, !42, i64 56, i64 8, !42, i64 64, i64 4, !9, i64 68, i64 4, !9, i64 72, i64 4, !9, i64 76, i64 4, !9, i64 80, i64 4, !9, i64 84, i64 1, !41, i64 85, i64 1, !41, i64 86, i64 1, !41, i64 87, i64 1, !41, i64 88, i64 1, !41, i64 92, i64 4, !9, i64 96, i64 4, !9, i64 100, i64 4, !9, i64 104, i64 4, !9, i64 108, i64 4, !9, i64 112, i64 4, !9, i64 116, i64 4, !9, i64 120, i64 4, !9, i64 124, i64 4, !9, i64 128, i64 4, !9, i64 132, i64 4, !9, i64 136, i64 4, !9, i64 140, i64 4, !9, i64 144, i64 4, !9, i64 148, i64 4, !9, i64 152, i64 4, !43, i64 156, i64 4, !9, i64 160, i64 1, !41, i64 164, i64 4, !9, i64 168, i64 4, !9, i64 172, i64 4, !9, i64 176, i64 4, !9, i64 180, i64 4, !9, i64 184, i64 4, !9, i64 188, i64 4, !9, i64 192, i64 1, !41, i64 196, i64 4, !9, i64 200, i64 4, !9, i64 204, i64 4, !9, i64 208, i64 4, !9, i64 212, i64 4, !9, i64 216, i64 4, !9, i64 220, i64 4, !9, i64 224, i64 4, !9, i64 228, i64 4, !9, i64 232, i64 4, !9, i64 236, i64 4, !9, i64 240, i64 4, !9, i64 244, i64 4, !9, i64 248, i64 4, !9, i64 252, i64 4, !9, i64 256, i64 4, !9, i64 260, i64 4, !9, i64 264, i64 4, !9, i64 268, i64 4, !9, i64 272, i64 4, !9, i64 276, i64 4, !9, i64 280, i64 4, !9, i64 284, i64 4, !9, i64 288, i64 4, !9, i64 292, i64 4, !9, i64 296, i64 4, !9, i64 300, i64 1, !41, i64 304, i64 4, !9, i64 308, i64 4, !9, i64 312, i64 4, !9, i64 316, i64 1, !41, i64 317, i64 1, !41, i64 320, i64 4, !9, i64 324, i64 4, !9, i64 328, i64 1, !41, i64 336, i64 8, !42, i64 344, i64 8, !42, i64 352, i64 1, !41, i64 356, i64 4, !9, i64 360, i64 4, !9, i64 364, i64 1, !41}
!41 = !{!22, !22, i64 0}
!42 = !{!18, !18, i64 0}
!43 = !{!23, !23, i64 0}
!44 = !{!14, !22, i64 10560}
!45 = !{!14, !22, i64 10561}
!46 = !{!47, !18, i64 336}
!47 = !{!"_ZTS19TechnologyParameter", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !18, i64 48, !18, i64 56, !18, i64 64, !18, i64 72, !18, i64 80, !18, i64 88, !18, i64 96, !18, i64 104, !18, i64 112, !18, i64 120, !18, i64 128, !18, i64 136, !18, i64 144, !18, i64 152, !18, i64 160, !18, i64 168, !18, i64 176, !18, i64 184, !18, i64 192, !18, i64 200, !18, i64 208, !18, i64 216, !18, i64 224, !18, i64 232, !18, i64 240, !18, i64 248, !18, i64 256, !18, i64 264, !18, i64 272, !18, i64 280, !18, i64 288, !18, i64 296, !18, i64 304, !18, i64 312, !18, i64 320, !18, i64 328, !18, i64 336, !18, i64 344, !26, i64 352, !48, i64 360, !48, i64 528, !48, i64 696, !48, i64 864, !48, i64 1032, !49, i64 1200, !49, i64 1264, !49, i64 1328, !50, i64 1392, !51, i64 1416, !51, i64 1464, !51, i64 1512}
!48 = !{!"_ZTSN19TechnologyParameter10DeviceTypeE", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !18, i64 48, !18, i64 56, !18, i64 64, !18, i64 72, !18, i64 80, !18, i64 88, !18, i64 96, !18, i64 104, !18, i64 112, !18, i64 120, !18, i64 128, !18, i64 136, !18, i64 144, !18, i64 152, !18, i64 160}
!49 = !{!"_ZTSN19TechnologyParameter16InterconnectTypeE", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !18, i64 48, !18, i64 56}
!50 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !18, i64 0, !18, i64 8, !18, i64 16}
!51 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40}
!52 = !{!14, !18, i64 2032}
!53 = !{!14, !22, i64 2137}
!54 = !{i8 0, i8 2}
!55 = !{}


; 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.TechnologyParameter = type { 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, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i64, %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::DeviceType", %"class.TechnologyParameter::InterconnectType", %"class.TechnologyParameter::InterconnectType", %"class.TechnologyParameter::InterconnectType", %"class.TechnologyParameter::ScalingFactor", %"class.TechnologyParameter::MemoryType", %"class.TechnologyParameter::MemoryType", %"class.TechnologyParameter::MemoryType" }
%"class.TechnologyParameter::DeviceType" = type { double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double }
%"class.TechnologyParameter::InterconnectType" = type { double, double, double, double, double, double, double, double }
%"class.TechnologyParameter::ScalingFactor" = type { double, double, double }
%"class.TechnologyParameter::MemoryType" = type { double, double, double, double, double, double }
%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 }
%class.powerDef = type { %class.powerComponents, %class.powerComponents, %class.powerComponents }
%class.powerComponents = type { double, double, double, double, double }
%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 }

@_ZTV13OnChipNetwork = external dso_local unnamed_addr constant { [6 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [16 x i8], align 1
@g_tp = external local_unnamed_addr global %class.TechnologyParameter, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13OnChipNetworkC2EP7XMLNodeiP14InputParameter(ptr noundef nonnull align 8 dereferenceable(10600) %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %class.uca_org_t, align 8
  tail call void @_ZN14McPATComponentC2EP7XMLNode(ptr noundef nonnull align 8 dereferenceable(1352) %0, ptr noundef %1)
  store ptr getelementptr inbounds inrange(-16, 32) (i8, ptr @_ZTV13OnChipNetwork, i64 16), ptr %0, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 1352
  %7 = getelementptr inbounds i8, ptr %0, i64 1368
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, i8 0, i64 16, i1 false)
  invoke void @_ZN9ComponentC1Ev(ptr noundef nonnull align 8 dereferenceable(280) %7)
          to label %8 unwind label %31

8:                                                ; preds = %4
  %9 = getelementptr inbounds i8, ptr %0, i64 1648
  store i32 %2, ptr %9, align 8, !tbaa !8
  %10 = getelementptr inbounds i8, ptr %0, i64 1656
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(368) %10, ptr noundef nonnull align 8 dereferenceable(368) %3, i64 368, i1 false), !tbaa.struct !36
  %11 = getelementptr inbounds i8, ptr %0, i64 2192
  invoke void @_ZN9uca_org_tC1Ev(ptr noundef nonnull align 8 dereferenceable(8200) %11)
          to label %12 unwind label %33

12:                                               ; preds = %8
  %13 = getelementptr inbounds i8, ptr %0, i64 10392
  invoke void @_ZN8statsDefC2Ev(ptr noundef nonnull align 8 dereferenceable(168) %13)
          to label %14 unwind label %35

14:                                               ; preds = %12
  %15 = getelementptr inbounds i8, ptr %0, i64 10560
  store i8 0, ptr %15, align 8, !tbaa !41
  %16 = getelementptr inbounds i8, ptr %0, i64 10561
  store i8 0, ptr %16, align 1, !tbaa !42
  %17 = getelementptr inbounds i8, ptr %0, i64 10568
  tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  %18 = getelementptr inbounds i8, ptr %0, i64 664
  %19 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str)
          to label %20 unwind label %37

20:                                               ; preds = %14
  invoke void @_ZN13OnChipNetwork15set_param_statsEv(ptr noundef nonnull align 8 dereferenceable(10600) %0)
          to label %21 unwind label %37

21:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 8200, ptr nonnull %5) #8
  invoke void @_Z14init_interfaceP14InputParameterRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%class.uca_org_t) align 8 %5, ptr noundef nonnull %10, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %22 unwind label %39

22:                                               ; preds = %21
  %23 = invoke noundef nonnull align 8 dereferenceable(8200) ptr @_ZN9uca_org_taSERKS_(ptr noundef nonnull align 8 dereferenceable(8200) %11, ptr noundef nonnull align 8 dereferenceable(8200) %5)
          to label %24 unwind label %41

24:                                               ; preds = %22
  call void @_ZN9uca_org_tD2Ev(ptr noundef nonnull align 8 dereferenceable(8200) %5) #8
  call void @llvm.lifetime.end.p0(i64 8200, ptr nonnull %5) #8
  %25 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 336), align 8, !tbaa !43
  %26 = getelementptr inbounds i8, ptr %0, i64 2032
  store double %25, ptr %26, align 8, !tbaa !49
  %27 = getelementptr inbounds i8, ptr %0, i64 2137
  %28 = load i8, ptr %27, align 1, !tbaa !50, !range !51, !noundef !52
  %29 = trunc nuw i8 %28 to i1
  br i1 %29, label %30, label %44

30:                                               ; preds = %24
  invoke void @_ZN13OnChipNetwork11init_routerEv(ptr noundef nonnull align 8 dereferenceable(10600) %0)
          to label %45 unwind label %37

31:                                               ; preds = %4
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %49

33:                                               ; preds = %8
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %48

35:                                               ; preds = %12
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %47

37:                                               ; preds = %44, %30, %20, %14
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %46

39:                                               ; preds = %21
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %43

41:                                               ; preds = %22
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9uca_org_tD2Ev(ptr noundef nonnull align 8 dereferenceable(8200) %5) #8
  br label %43

43:                                               ; preds = %41, %39
  %.pn = phi { ptr, i32 } [ %42, %41 ], [ %40, %39 ]
  call void @llvm.lifetime.end.p0(i64 8200, ptr nonnull %5) #8
  br label %46

44:                                               ; preds = %24
  invoke void @_ZN13OnChipNetwork13init_link_busEv(ptr noundef nonnull align 8 dereferenceable(10600) %0)
          to label %45 unwind label %37

45:                                               ; preds = %44, %30
  ret void

46:                                               ; preds = %43, %37
  %.pn11 = phi { ptr, i32 } [ %38, %37 ], [ %.pn, %43 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #8
  br label %47

47:                                               ; preds = %46, %35
  %.pn11.pn = phi { ptr, i32 } [ %.pn11, %46 ], [ %36, %35 ]
  call void @_ZN9uca_org_tD2Ev(ptr noundef nonnull align 8 dereferenceable(8200) %11) #8
  br label %48

48:                                               ; preds = %47, %33
  %.pn11.pn.pn = phi { ptr, i32 } [ %.pn11.pn, %47 ], [ %34, %33 ]
  call void @_ZN9ComponentD1Ev(ptr noundef nonnull align 8 dereferenceable(280) %7) #8
  br label %49

49:                                               ; preds = %48, %31
  %.pn11.pn.pn.pn = phi { ptr, i32 } [ %.pn11.pn.pn, %48 ], [ %32, %31 ]
  call void @_ZN14McPATComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(1352) %0) #8
  resume { ptr, i32 } %.pn11.pn.pn.pn
}

declare void @_ZN14McPATComponentC2EP7XMLNode(ptr noundef nonnull align 8 dereferenceable(1352), ptr noundef) unnamed_addr #1

declare void @_ZN9ComponentC1Ev(ptr noundef nonnull align 8 dereferenceable(280)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

declare void @_ZN9uca_org_tC1Ev(ptr noundef nonnull align 8 dereferenceable(8200)) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8statsDefC2Ev(ptr noundef nonnull align 8 dereferenceable(168)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13OnChipNetwork15set_param_statsEv(ptr noundef nonnull align 8 dereferenceable(10600)) local_unnamed_addr #0 align 2

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

declare void @_Z14init_interfaceP14InputParameterRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%class.uca_org_t) align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8200) ptr @_ZN9uca_org_taSERKS_(ptr noundef nonnull align 8 dereferenceable(8200), ptr noundef nonnull align 8 dereferenceable(8200)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9uca_org_tD2Ev(ptr noundef nonnull align 8 dereferenceable(8200)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13OnChipNetwork11init_routerEv(ptr noundef nonnull align 8 dereferenceable(10600)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13OnChipNetwork13init_link_busEv(ptr noundef nonnull align 8 dereferenceable(10600)) local_unnamed_addr #0 align 2

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

; Function Attrs: nounwind
declare void @_ZN9ComponentD1Ev(ptr noundef nonnull align 8 dereferenceable(280)) unnamed_addr #6

; Function Attrs: nounwind
declare void @_ZN14McPATComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(1352)) unnamed_addr #6

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !19, i64 1648}
!9 = !{!"_ZTS13OnChipNetwork", !10, i64 0, !17, i64 1352, !17, i64 1360, !11, i64 1368, !19, i64 1648, !18, i64 1656, !13, i64 2024, !13, i64 2032, !13, i64 2040, !13, i64 2048, !32, i64 2056, !33, i64 2176, !34, i64 2192, !30, i64 10392, !20, i64 10560, !20, i64 10561, !22, i64 10568}
!10 = !{!"_ZTS14McPATComponent", !11, i64 8, !17, i64 288, !18, i64 296, !22, i64 664, !13, i64 696, !25, i64 704, !29, i64 728, !30, i64 776, !30, i64 944, !15, i64 1112, !15, i64 1232}
!11 = !{!"_ZTS9Component", !12, i64 0, !15, i64 24, !15, i64 144, !13, i64 264, !13, i64 272}
!12 = !{!"_ZTS4Area", !13, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"double", !14, i64 0}
!14 = !{!"omnipotent char", !7, i64 0}
!15 = !{!"_ZTS8powerDef", !16, i64 0, !16, i64 40, !16, i64 80}
!16 = !{!"_ZTS15powerComponents", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32}
!17 = !{!"any pointer", !14, i64 0}
!18 = !{!"_ZTS14InputParameter", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12, !19, i64 16, !20, i64 20, !19, i64 24, !19, i64 28, !19, i64 32, !19, i64 36, !19, i64 40, !19, i64 44, !13, i64 48, !13, i64 56, !19, i64 64, !19, i64 68, !19, i64 72, !19, i64 76, !19, i64 80, !20, i64 84, !20, i64 85, !20, i64 86, !20, i64 87, !20, i64 88, !19, i64 92, !19, i64 96, !19, i64 100, !19, i64 104, !19, i64 108, !19, i64 112, !19, i64 116, !19, i64 120, !19, i64 124, !19, i64 128, !19, i64 132, !19, i64 136, !19, i64 140, !19, i64 144, !19, i64 148, !21, i64 152, !19, i64 156, !20, i64 160, !19, i64 164, !19, i64 168, !19, i64 172, !19, i64 176, !19, i64 180, !19, i64 184, !19, i64 188, !20, i64 192, !19, i64 196, !19, i64 200, !19, i64 204, !19, i64 208, !19, i64 212, !19, i64 216, !19, i64 220, !19, i64 224, !19, i64 228, !19, i64 232, !19, i64 236, !19, i64 240, !19, i64 244, !19, i64 248, !19, i64 252, !19, i64 256, !19, i64 260, !19, i64 264, !19, i64 268, !19, i64 272, !19, i64 276, !19, i64 280, !19, i64 284, !19, i64 288, !19, i64 292, !19, i64 296, !20, i64 300, !19, i64 304, !19, i64 308, !19, i64 312, !20, i64 316, !20, i64 317, !19, i64 320, !19, i64 324, !20, i64 328, !13, i64 336, !13, i64 344, !20, i64 352, !19, i64 356, !19, i64 360, !20, i64 364}
!19 = !{!"int", !14, i64 0}
!20 = !{!"bool", !14, i64 0}
!21 = !{!"_ZTS9Wire_type", !14, i64 0}
!22 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !23, i64 0, !24, i64 8, !14, i64 16}
!23 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !17, i64 0}
!24 = !{!"long", !14, i64 0}
!25 = !{!"_ZTSSt6vectorIP14McPATComponentSaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIP14McPATComponentSaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!29 = !{!"_ZTS11McPATOutput", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40}
!30 = !{!"_ZTS8statsDef", !31, i64 0, !31, i64 24, !31, i64 48, !31, i64 72, !31, i64 96, !31, i64 120, !31, i64 144}
!31 = !{!"_ZTS15statsComponents", !13, i64 0, !13, i64 8, !13, i64 16}
!32 = !{!"_ZTS23OnChipNetworkParameters", !13, i64 0, !19, i64 8, !19, i64 12, !19, i64 16, !19, i64 20, !19, i64 24, !19, i64 28, !19, i64 32, !19, i64 36, !19, i64 40, !19, i64 44, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !20, i64 80, !20, i64 81, !13, i64 88, !13, i64 96, !13, i64 104, !19, i64 112}
!33 = !{!"_ZTS23OnChipNetworkStatistics", !13, i64 0, !13, i64 8}
!34 = !{!"_ZTS9uca_org_t", !17, i64 0, !17, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !15, i64 48, !13, i64 168, !13, i64 176, !13, i64 184, !14, i64 192, !13, i64 296, !20, i64 304, !35, i64 312, !35, i64 4256}
!35 = !{!"_ZTS17results_mem_array", !19, i64 0, !19, i64 4, !13, i64 8, !19, i64 16, !19, i64 20, !19, i64 24, !19, i64 28, !19, i64 32, !19, i64 36, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !13, i64 216, !13, i64 224, !13, i64 232, !13, i64 240, !13, i64 248, !13, i64 256, !13, 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, !13, i64 3752, !13, i64 3760, !13, i64 3768, !13, i64 3776, !13, i64 3784, !13, i64 3792, !13, i64 3800, !13, i64 3808, !13, i64 3816, !13, i64 3824, !13, i64 3832, !13, i64 3840, !13, i64 3848, !13, i64 3856, !13, i64 3864, !13, i64 3872, !13, i64 3880, !13, i64 3888, !13, i64 3896, !13, i64 3904, !13, i64 3912, !13, i64 3920, !13, i64 3928, !13, i64 3936}
!36 = !{i64 0, i64 4, !37, i64 4, i64 4, !37, i64 8, i64 4, !37, i64 12, i64 4, !37, i64 16, i64 4, !37, i64 20, i64 1, !38, i64 24, i64 4, !37, i64 28, i64 4, !37, i64 32, i64 4, !37, i64 36, i64 4, !37, i64 40, i64 4, !37, i64 44, i64 4, !37, i64 48, i64 8, !39, i64 56, i64 8, !39, i64 64, i64 4, !37, i64 68, i64 4, !37, i64 72, i64 4, !37, i64 76, i64 4, !37, i64 80, i64 4, !37, i64 84, i64 1, !38, i64 85, i64 1, !38, i64 86, i64 1, !38, i64 87, i64 1, !38, i64 88, i64 1, !38, i64 92, i64 4, !37, i64 96, i64 4, !37, i64 100, i64 4, !37, i64 104, i64 4, !37, i64 108, i64 4, !37, i64 112, i64 4, !37, i64 116, i64 4, !37, i64 120, i64 4, !37, i64 124, i64 4, !37, i64 128, i64 4, !37, i64 132, i64 4, !37, i64 136, i64 4, !37, i64 140, i64 4, !37, i64 144, i64 4, !37, i64 148, i64 4, !37, i64 152, i64 4, !40, i64 156, i64 4, !37, i64 160, i64 1, !38, i64 164, i64 4, !37, i64 168, i64 4, !37, i64 172, i64 4, !37, i64 176, i64 4, !37, i64 180, i64 4, !37, i64 184, i64 4, !37, i64 188, i64 4, !37, i64 192, i64 1, !38, i64 196, i64 4, !37, i64 200, i64 4, !37, i64 204, i64 4, !37, i64 208, i64 4, !37, i64 212, i64 4, !37, i64 216, i64 4, !37, i64 220, i64 4, !37, i64 224, i64 4, !37, i64 228, i64 4, !37, i64 232, i64 4, !37, i64 236, i64 4, !37, i64 240, i64 4, !37, i64 244, i64 4, !37, i64 248, i64 4, !37, i64 252, i64 4, !37, i64 256, i64 4, !37, i64 260, i64 4, !37, i64 264, i64 4, !37, i64 268, i64 4, !37, i64 272, i64 4, !37, i64 276, i64 4, !37, i64 280, i64 4, !37, i64 284, i64 4, !37, i64 288, i64 4, !37, i64 292, i64 4, !37, i64 296, i64 4, !37, i64 300, i64 1, !38, i64 304, i64 4, !37, i64 308, i64 4, !37, i64 312, i64 4, !37, i64 316, i64 1, !38, i64 317, i64 1, !38, i64 320, i64 4, !37, i64 324, i64 4, !37, i64 328, i64 1, !38, i64 336, i64 8, !39, i64 344, i64 8, !39, i64 352, i64 1, !38, i64 356, i64 4, !37, i64 360, i64 4, !37, i64 364, i64 1, !38}
!37 = !{!19, !19, i64 0}
!38 = !{!20, !20, i64 0}
!39 = !{!13, !13, i64 0}
!40 = !{!21, !21, i64 0}
!41 = !{!9, !20, i64 10560}
!42 = !{!9, !20, i64 10561}
!43 = !{!44, !13, i64 336}
!44 = !{!"_ZTS19TechnologyParameter", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !13, i64 184, !13, i64 192, !13, i64 200, !13, i64 208, !13, i64 216, !13, i64 224, !13, i64 232, !13, i64 240, !13, i64 248, !13, i64 256, !13, i64 264, !13, i64 272, !13, i64 280, !13, i64 288, !13, i64 296, !13, i64 304, !13, i64 312, !13, i64 320, !13, i64 328, !13, i64 336, !13, i64 344, !24, i64 352, !45, i64 360, !45, i64 528, !45, i64 696, !45, i64 864, !45, i64 1032, !46, i64 1200, !46, i64 1264, !46, i64 1328, !47, i64 1392, !48, i64 1416, !48, i64 1464, !48, i64 1512}
!45 = !{!"_ZTSN19TechnologyParameter10DeviceTypeE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160}
!46 = !{!"_ZTSN19TechnologyParameter16InterconnectTypeE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56}
!47 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !13, i64 0, !13, i64 8, !13, i64 16}
!48 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40}
!49 = !{!9, !13, i64 2032}
!50 = !{!9, !20, i64 2137}
!51 = !{i8 0, i8 2}
!52 = !{}


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