; LLVM IR from gem5/gem5 :: ext/mcpat/cacti/wire.ll (ZN4Wire9init_wireEv)

; 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.Component = type { %class.Area, %class.powerDef, %class.powerDef, double, double }
%class.Area = type { double, double, double }
%class.powerDef = type { %class.powerComponents, %class.powerComponents, %class.powerComponents }
%class.powerComponents = type { double, double, double, double, double }
%class.Wire = type { %class.Component, i32, double, double, i32, double, double, double, double, double, i32, double, double, double, %"class.std::__cxx11::list", %class.Component, %class.Component, %class.Component, double, ptr }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<Component, std::allocator<Component>>::_List_impl" }
%"struct.std::__cxx11::_List_base<Component, std::allocator<Component>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }

@g_tp = external global %class.TechnologyParameter, align 8
@_ZN4Wire6globalE = external dso_local global %class.Component, align 8
@_ZN4Wire9low_swingE = external dso_local global %class.Component, align 8

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Wire9init_wireEv(ptr noundef nonnull align 8 dereferenceable(1264) %0) #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca %class.powerDef, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca %class.Component, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %class.powerDef, align 8
  %13 = alloca %class.Component, align 8
  %14 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %15 = load ptr, ptr %2, align 8
  %16 = getelementptr inbounds %class.Wire, ptr %15, i32 0, i32 7
  store double 1.000000e+00, ptr %16, align 8, !tbaa !9
  call void @_ZN4Wire18delay_optimal_wireEv(ptr noundef nonnull align 8 dereferenceable(1264) %15)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  call void @llvm.lifetime.start.p0(i64 120, ptr %5) #8
  call void @_ZN8powerDefC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %5)
  %17 = getelementptr inbounds %class.Wire, ptr %15, i32 0, i32 5
  %18 = load double, ptr %17, align 8, !tbaa !25
  store double %18, ptr %4, align 8, !tbaa !26
  %19 = getelementptr inbounds %class.Wire, ptr %15, i32 0, i32 6
  %20 = load double, ptr %19, align 8, !tbaa !27
  store double %20, ptr %3, align 8, !tbaa !26
  %21 = load double, ptr %3, align 8, !tbaa !26
  %22 = fmul double %21, 1.000000e+06
  store double %22, ptr %3, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %23 = getelementptr inbounds %class.Wire, ptr %15, i32 0, i32 14
  call void @llvm.lifetime.start.p0(i64 280, ptr %9) #8
  call void @_ZN9ComponentC1Ev(ptr noundef nonnull align 8 dereferenceable(280) %9)
  invoke void @_ZNSt7__cxx114listI9ComponentSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(280) %9)
          to label %24 unwind label %54

24:                                               ; preds = %1
  call void @_ZN9ComponentD1Ev(ptr noundef nonnull align 8 dereferenceable(280) %9) #8
  call void @llvm.lifetime.end.p0(i64 280, ptr %9) #8
  %25 = load double, ptr %3, align 8, !tbaa !26
  store double %25, ptr %7, align 8, !tbaa !26
  br label %26

26:                                               ; preds = %90, %24
  %27 = load double, ptr %7, align 8, !tbaa !26
  %28 = load double, ptr %3, align 8, !tbaa !26
  %29 = fmul double 4.000000e+00, %28
  %30 = fcmp olt double %27, %29
  br i1 %30, label %31, label %93

31:                                               ; preds = %26
  %32 = load double, ptr %4, align 8, !tbaa !26
  store double %32, ptr %6, align 8, !tbaa !26
  br label %33

33:                                               ; preds = %82, %31
  %34 = load double, ptr %6, align 8, !tbaa !26
  %35 = fcmp ogt double %34, 1.000000e+00
  br i1 %35, label %36, label %89

36:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 120, ptr %12) #8
  %37 = load double, ptr %7, align 8, !tbaa !26
  %38 = fmul double %37, 0x3EB0C6F7A0B5ED8D
  %39 = load double, ptr %6, align 8, !tbaa !26
  call void @_ZN4Wire10wire_modelEddPd(ptr dead_on_unwind writable sret(%class.powerDef) align 8 %12, ptr noundef nonnull align 8 dereferenceable(1264) %15, double noundef %38, double noundef %39, ptr noundef %8)
  %40 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZN8powerDefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120) %5, ptr noundef nonnull align 8 dereferenceable(120) %12)
  call void @llvm.lifetime.end.p0(i64 120, ptr %12) #8
  %41 = load double, ptr %7, align 8, !tbaa !26
  %42 = load double, ptr %3, align 8, !tbaa !26
  %43 = fcmp oeq double %41, %42
  br i1 %43, label %44, label %58

44:                                               ; preds = %36
  %45 = load double, ptr %6, align 8, !tbaa !26
  %46 = load double, ptr %4, align 8, !tbaa !26
  %47 = fcmp oeq double %45, %46
  br i1 %47, label %48, label %58

48:                                               ; preds = %44
  %49 = load double, ptr %8, align 8, !tbaa !26
  store double %49, ptr getelementptr inbounds (%class.Component, ptr @_ZN4Wire6globalE, i32 0, i32 3), align 8, !tbaa !28
  %50 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZN8powerDefaSERKS_(ptr noundef nonnull align 8 dereferenceable(120) getelementptr inbounds (%class.Component, ptr @_ZN4Wire6globalE, i32 0, i32 1), ptr noundef nonnull align 8 dereferenceable(120) %5)
  %51 = load double, ptr %4, align 8, !tbaa !26
  store double %51, ptr getelementptr inbounds (%class.Area, ptr @_ZN4Wire6globalE, i32 0, i32 1), align 8, !tbaa !29
  %52 = load double, ptr %3, align 8, !tbaa !26
  %53 = fmul double %52, 0x3EB0C6F7A0B5ED8D
  store double %53, ptr @_ZN4Wire6globalE, align 8, !tbaa !30
  br label %58

54:                                               ; preds = %1
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %10, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %11, align 4
  call void @_ZN9ComponentD1Ev(ptr noundef nonnull align 8 dereferenceable(280) %9) #8
  call void @llvm.lifetime.end.p0(i64 280, ptr %9) #8
  br label %111

58:                                               ; preds = %48, %44, %36
  %59 = load double, ptr %8, align 8, !tbaa !26
  %60 = getelementptr inbounds %class.Wire, ptr %15, i32 0, i32 14
  %61 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZNSt7__cxx114listI9ComponentSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %60) #8
  %62 = getelementptr inbounds %class.Component, ptr %61, i32 0, i32 3
  store double %59, ptr %62, align 8, !tbaa !28
  %63 = getelementptr inbounds %class.powerDef, ptr %5, i32 0, i32 0
  %64 = getelementptr inbounds %class.Wire, ptr %15, i32 0, i32 14
  %65 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZNSt7__cxx114listI9ComponentSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #8
  %66 = getelementptr inbounds %class.Component, ptr %65, i32 0, i32 1
  %67 = getelementptr inbounds %class.powerDef, ptr %66, i32 0, i32 0
  %68 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN15powerComponentsaSERKS_(ptr noundef nonnull align 8 dereferenceable(40) %67, ptr noundef nonnull align 8 dereferenceable(40) %63)
  %69 = load double, ptr %7, align 8, !tbaa !26
  %70 = fmul double %69, 0x3EB0C6F7A0B5ED8D
  %71 = getelementptr inbounds %class.Wire, ptr %15, i32 0, i32 14
  %72 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZNSt7__cxx114listI9ComponentSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #8
  %73 = getelementptr inbounds %class.Component, ptr %72, i32 0, i32 0
  %74 = getelementptr inbounds %class.Area, ptr %73, i32 0, i32 0
  store double %70, ptr %74, align 8, !tbaa !30
  %75 = load double, ptr %6, align 8, !tbaa !26
  %76 = getelementptr inbounds %class.Wire, ptr %15, i32 0, i32 14
  %77 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZNSt7__cxx114listI9ComponentSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %76) #8
  %78 = getelementptr inbounds %class.Component, ptr %77, i32 0, i32 0
  %79 = getelementptr inbounds %class.Area, ptr %78, i32 0, i32 1
  store double %75, ptr %79, align 8, !tbaa !29
  %80 = getelementptr inbounds %class.Wire, ptr %15, i32 0, i32 14
  call void @llvm.lifetime.start.p0(i64 280, ptr %13) #8
  call void @_ZN9ComponentC1Ev(ptr noundef nonnull align 8 dereferenceable(280) %13)
  invoke void @_ZNSt7__cxx114listI9ComponentSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %80, ptr noundef nonnull align 8 dereferenceable(280) %13)
          to label %81 unwind label %85

81:                                               ; preds = %58
  call void @_ZN9ComponentD1Ev(ptr noundef nonnull align 8 dereferenceable(280) %13) #8
  call void @llvm.lifetime.end.p0(i64 280, ptr %13) #8
  br label %82

82:                                               ; preds = %81
  %83 = load double, ptr %6, align 8, !tbaa !26
  %84 = fadd double %83, -1.000000e+00
  store double %84, ptr %6, align 8, !tbaa !26
  br label %33, !llvm.loop !31

85:                                               ; preds = %58
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %10, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %11, align 4
  call void @_ZN9ComponentD1Ev(ptr noundef nonnull align 8 dereferenceable(280) %13) #8
  call void @llvm.lifetime.end.p0(i64 280, ptr %13) #8
  br label %111

89:                                               ; preds = %33
  br label %90

90:                                               ; preds = %89
  %91 = load double, ptr %7, align 8, !tbaa !26
  %92 = fadd double %91, 1.000000e+02
  store double %92, ptr %7, align 8, !tbaa !26
  br label %26, !llvm.loop !33

93:                                               ; preds = %26
  %94 = getelementptr inbounds %class.Wire, ptr %15, i32 0, i32 14
  call void @_ZNSt7__cxx114listI9ComponentSaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %94) #8
  call void @_ZN4Wire16update_fullswingEv(ptr noundef nonnull align 8 dereferenceable(1264) %15)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %95 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 1264) #9
  invoke void @_ZN4WireC1E9Wire_typedidd14Wire_placementdPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(1264) %95, i32 noundef 5, double noundef 1.000000e-03, i32 noundef 1, double noundef 1.000000e+00, double noundef 1.000000e+00, i32 noundef 0, double noundef 2.200000e-02, ptr noundef getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 48))
          to label %96 unwind label %107

96:                                               ; preds = %93
  store ptr %95, ptr %14, align 8, !tbaa !5
  %97 = load ptr, ptr %14, align 8, !tbaa !5
  %98 = getelementptr inbounds %class.Component, ptr %97, i32 0, i32 3
  %99 = load double, ptr %98, align 8, !tbaa !28
  store double %99, ptr getelementptr inbounds (%class.Component, ptr @_ZN4Wire9low_swingE, i32 0, i32 3), align 8, !tbaa !28
  %100 = load ptr, ptr %14, align 8, !tbaa !5
  %101 = getelementptr inbounds %class.Component, ptr %100, i32 0, i32 1
  %102 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZN8powerDefaSERKS_(ptr noundef nonnull align 8 dereferenceable(120) getelementptr inbounds (%class.Component, ptr @_ZN4Wire9low_swingE, i32 0, i32 1), ptr noundef nonnull align 8 dereferenceable(120) %101)
  %103 = load ptr, ptr %14, align 8, !tbaa !5
  %104 = icmp eq ptr %103, null
  br i1 %104, label %106, label %105

105:                                              ; preds = %96
  call void @_ZN4WireD1Ev(ptr noundef nonnull align 8 dereferenceable(1264) %103) #8
  call void @_ZdlPvm(ptr noundef %103, i64 noundef 1264) #10
  br label %106

106:                                              ; preds = %105, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  ret void

107:                                              ; preds = %93
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %10, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %11, align 4
  call void @_ZdlPvm(ptr noundef %95, i64 noundef 1264) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %111

111:                                              ; preds = %107, %85, %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  br label %112

112:                                              ; preds = %111
  %113 = load ptr, ptr %10, align 8
  %114 = load i32, ptr %11, align 4
  %115 = insertvalue { ptr, i32 } poison, ptr %113, 0
  %116 = insertvalue { ptr, i32 } %115, i32 %114, 1
  resume { ptr, i32 } %116
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Wire18delay_optimal_wireEv(ptr noundef nonnull align 8 dereferenceable(1264)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx114listI9ComponentSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(280)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Wire10wire_modelEddPd(ptr dead_on_unwind noalias writable sret(%class.powerDef) align 8, ptr noundef nonnull align 8 dereferenceable(1264), double noundef, double noundef, ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(120) ptr @_ZN8powerDefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(120) ptr @_ZN8powerDefaSERKS_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(280) ptr @_ZNSt7__cxx114listI9ComponentSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN15powerComponentsaSERKS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7__cxx114listI9ComponentSaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Wire16update_fullswingEv(ptr noundef nonnull align 8 dereferenceable(1264)) #3 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #6

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #7

declare void @_ZN4WireC1E9Wire_typedidd14Wire_placementdPN19TechnologyParameter10DeviceTypeE(ptr, i32, double, i32, double, double, i32, double, ptr)

declare void @_ZN4WireD1Ev(ptr)

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { 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 #5 = { 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 #6 = { nobuiltin allocsize(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 #7 = { nobuiltin 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin 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, !13, i64 328}
!10 = !{!"_ZTS4Wire", !11, i64 0, !16, i64 280, !13, i64 288, !13, i64 296, !17, i64 304, !13, i64 312, !13, i64 320, !13, i64 328, !13, i64 336, !13, i64 344, !18, i64 352, !13, i64 360, !13, i64 368, !13, i64 376, !19, i64 384, !11, i64 408, !11, i64 688, !11, i64 968, !13, i64 1248, !6, i64 1256}
!11 = !{!"_ZTS9Component", !12, i64 0, !14, i64 24, !14, i64 144, !13, i64 264, !13, i64 272}
!12 = !{!"_ZTS4Area", !13, i64 0, !13, i64 8, !13, i64 16}
!13 = !{!"double", !7, i64 0}
!14 = !{!"_ZTS8powerDef", !15, i64 0, !15, i64 40, !15, i64 80}
!15 = !{!"_ZTS15powerComponents", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32}
!16 = !{!"_ZTS9Wire_type", !7, i64 0}
!17 = !{!"_ZTS14Wire_placement", !7, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!"_ZTSNSt7__cxx114listI9ComponentSaIS1_EEE", !20, i64 0}
!20 = !{!"_ZTSNSt7__cxx1110_List_baseI9ComponentSaIS1_EEE", !21, i64 0}
!21 = !{!"_ZTSNSt7__cxx1110_List_baseI9ComponentSaIS1_EE10_List_implE", !22, i64 0}
!22 = !{!"_ZTSNSt8__detail17_List_node_headerE", !23, i64 0, !24, i64 16}
!23 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!24 = !{!"long", !7, i64 0}
!25 = !{!10, !13, i64 312}
!26 = !{!13, !13, i64 0}
!27 = !{!10, !13, i64 320}
!28 = !{!11, !13, i64 264}
!29 = !{!11, !13, i64 8}
!30 = !{!11, !13, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = distinct !{!33, !32}


; 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.Component = type { %class.Area, %class.powerDef, %class.powerDef, double, double }
%class.Area = type { double, double, double }
%class.powerDef = type { %class.powerComponents, %class.powerComponents, %class.powerComponents }
%class.powerComponents = type { double, double, double, double, double }

@g_tp = external global %class.TechnologyParameter, align 8
@_ZN4Wire6globalE = external dso_local global %class.Component, align 8
@_ZN4Wire9low_swingE = external dso_local global %class.Component, align 8

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Wire9init_wireEv(ptr noundef nonnull align 8 dereferenceable(1264) %0) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %class.powerDef, align 8
  %3 = alloca double, align 8
  %4 = alloca %class.Component, align 8
  %5 = alloca %class.powerDef, align 8
  %6 = alloca %class.Component, align 8
  %7 = getelementptr inbounds i8, ptr %0, i64 328
  store double 1.000000e+00, ptr %7, align 8, !tbaa !5
  tail call void @_ZN4Wire18delay_optimal_wireEv(ptr noundef nonnull align 8 dereferenceable(1264) %0)
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %2) #8
  call void @_ZN8powerDefC2Ev(ptr noundef nonnull align 8 dereferenceable(120) %2)
  %8 = getelementptr inbounds i8, ptr %0, i64 312
  %9 = load double, ptr %8, align 8, !tbaa !24
  %10 = getelementptr inbounds i8, ptr %0, i64 320
  %11 = load double, ptr %10, align 8, !tbaa !25
  %12 = fmul double %11, 1.000000e+06
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  %13 = getelementptr inbounds i8, ptr %0, i64 384
  call void @llvm.lifetime.start.p0(i64 280, ptr nonnull %4) #8
  call void @_ZN9ComponentC1Ev(ptr noundef nonnull align 8 dereferenceable(280) %4)
  invoke void @_ZNSt7__cxx114listI9ComponentSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(280) %4)
          to label %14 unwind label %56

14:                                               ; preds = %1
  call void @_ZN9ComponentD1Ev(ptr noundef nonnull align 8 dereferenceable(280) %4) #8
  call void @llvm.lifetime.end.p0(i64 280, ptr nonnull %4) #8
  %15 = fmul double %12, 4.000000e+00
  %16 = fcmp olt double %12, %15
  br i1 %16, label %.preheader.lr.ph, label %._crit_edge31

.preheader.lr.ph:                                 ; preds = %14
  %17 = fcmp ogt double %9, 1.000000e+00
  %18 = fmul double %12, 0x3EB0C6F7A0B5ED8D
  br i1 %17, label %.preheader.us, label %._crit_edge31

.preheader.us:                                    ; preds = %.preheader.lr.ph, %._crit_edge.us
  %.02430.us = phi double [ %39, %._crit_edge.us ], [ %12, %.preheader.lr.ph ]
  %19 = fmul double %.02430.us, 0x3EB0C6F7A0B5ED8D
  %20 = fcmp oeq double %.02430.us, %12
  %.fr.us = freeze i1 %20
  br i1 %.fr.us, label %.lr.ph.split.us34, label %.lr.ph.split.us.us

.lr.ph.split.us34:                                ; preds = %.preheader.us, %36
  %.02529.us32 = phi double [ %37, %36 ], [ %9, %.preheader.us ]
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %5) #8
  call void @_ZN4Wire10wire_modelEddPd(ptr dead_on_unwind nonnull writable sret(%class.powerDef) align 8 %5, ptr noundef nonnull align 8 dereferenceable(1264) %0, double noundef %19, double noundef %.02529.us32, ptr noundef nonnull %3)
  %21 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZN8powerDefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120) %2, ptr noundef nonnull align 8 dereferenceable(120) %5)
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %5) #8
  %22 = fcmp oeq double %.02529.us32, %9
  br i1 %22, label %23, label %26

23:                                               ; preds = %.lr.ph.split.us34
  %24 = load double, ptr %3, align 8, !tbaa !26
  store double %24, ptr getelementptr inbounds (i8, ptr @_ZN4Wire6globalE, i64 264), align 8, !tbaa !27
  %25 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZN8powerDefaSERKS_(ptr noundef nonnull align 8 dereferenceable(120) getelementptr inbounds (i8, ptr @_ZN4Wire6globalE, i64 24), ptr noundef nonnull align 8 dereferenceable(120) %2)
  store double %9, ptr getelementptr inbounds (i8, ptr @_ZN4Wire6globalE, i64 8), align 8, !tbaa !28
  store double %18, ptr @_ZN4Wire6globalE, align 8, !tbaa !29
  br label %26

26:                                               ; preds = %23, %.lr.ph.split.us34
  %27 = load double, ptr %3, align 8, !tbaa !26
  %28 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZNSt7__cxx114listI9ComponentSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  %29 = getelementptr inbounds i8, ptr %28, i64 264
  store double %27, ptr %29, align 8, !tbaa !27
  %30 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZNSt7__cxx114listI9ComponentSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  %31 = getelementptr inbounds i8, ptr %30, i64 24
  %32 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN15powerComponentsaSERKS_(ptr noundef nonnull align 8 dereferenceable(40) %31, ptr noundef nonnull align 8 dereferenceable(40) %2)
  %33 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZNSt7__cxx114listI9ComponentSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  store double %19, ptr %33, align 8, !tbaa !29
  %34 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZNSt7__cxx114listI9ComponentSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  %35 = getelementptr inbounds i8, ptr %34, i64 8
  store double %.02529.us32, ptr %35, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 280, ptr nonnull %6) #8
  call void @_ZN9ComponentC1Ev(ptr noundef nonnull align 8 dereferenceable(280) %6)
  invoke void @_ZNSt7__cxx114listI9ComponentSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(280) %6)
          to label %36 unwind label %.split.split.us

36:                                               ; preds = %26
  call void @_ZN9ComponentD1Ev(ptr noundef nonnull align 8 dereferenceable(280) %6) #8
  call void @llvm.lifetime.end.p0(i64 280, ptr nonnull %6) #8
  %37 = fadd double %.02529.us32, -1.000000e+00
  %38 = fcmp ogt double %37, 1.000000e+00
  br i1 %38, label %.lr.ph.split.us34, label %._crit_edge.us, !llvm.loop !30

._crit_edge.us:                                   ; preds = %51, %36
  %39 = fadd double %.02430.us, 1.000000e+02
  %40 = fcmp olt double %39, %15
  br i1 %40, label %.preheader.us, label %._crit_edge31, !llvm.loop !32

.lr.ph.split.us.us:                               ; preds = %.preheader.us, %51
  %.02529.us.us = phi double [ %52, %51 ], [ %9, %.preheader.us ]
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %5) #8
  call void @_ZN4Wire10wire_modelEddPd(ptr dead_on_unwind nonnull writable sret(%class.powerDef) align 8 %5, ptr noundef nonnull align 8 dereferenceable(1264) %0, double noundef %19, double noundef %.02529.us.us, ptr noundef nonnull %3)
  %41 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZN8powerDefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120) %2, ptr noundef nonnull align 8 dereferenceable(120) %5)
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %5) #8
  %42 = load double, ptr %3, align 8, !tbaa !26
  %43 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZNSt7__cxx114listI9ComponentSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  %44 = getelementptr inbounds i8, ptr %43, i64 264
  store double %42, ptr %44, align 8, !tbaa !27
  %45 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZNSt7__cxx114listI9ComponentSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  %46 = getelementptr inbounds i8, ptr %45, i64 24
  %47 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN15powerComponentsaSERKS_(ptr noundef nonnull align 8 dereferenceable(40) %46, ptr noundef nonnull align 8 dereferenceable(40) %2)
  %48 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZNSt7__cxx114listI9ComponentSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  store double %19, ptr %48, align 8, !tbaa !29
  %49 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZNSt7__cxx114listI9ComponentSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  %50 = getelementptr inbounds i8, ptr %49, i64 8
  store double %.02529.us.us, ptr %50, align 8, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 280, ptr nonnull %6) #8
  call void @_ZN9ComponentC1Ev(ptr noundef nonnull align 8 dereferenceable(280) %6)
  invoke void @_ZNSt7__cxx114listI9ComponentSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(280) %6)
          to label %51 unwind label %.split.us.split.us

51:                                               ; preds = %.lr.ph.split.us.us
  call void @_ZN9ComponentD1Ev(ptr noundef nonnull align 8 dereferenceable(280) %6) #8
  call void @llvm.lifetime.end.p0(i64 280, ptr nonnull %6) #8
  %52 = fadd double %.02529.us.us, -1.000000e+00
  %53 = fcmp ogt double %52, 1.000000e+00
  br i1 %53, label %.lr.ph.split.us.us, label %._crit_edge.us, !llvm.loop !30

.split.split.us:                                  ; preds = %26
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %58

.split.us.split.us:                               ; preds = %.lr.ph.split.us.us
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %58

56:                                               ; preds = %1
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9ComponentD1Ev(ptr noundef nonnull align 8 dereferenceable(280) %4) #8
  call void @llvm.lifetime.end.p0(i64 280, ptr nonnull %4) #8
  br label %67

58:                                               ; preds = %.split.us.split.us, %.split.split.us
  %.us-phi = phi { ptr, i32 } [ %54, %.split.split.us ], [ %55, %.split.us.split.us ]
  call void @_ZN9ComponentD1Ev(ptr noundef nonnull align 8 dereferenceable(280) %6) #8
  call void @llvm.lifetime.end.p0(i64 280, ptr nonnull %6) #8
  br label %67

._crit_edge31:                                    ; preds = %._crit_edge.us, %.preheader.lr.ph, %14
  call void @_ZNSt7__cxx114listI9ComponentSaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @_ZN4Wire16update_fullswingEv(ptr noundef nonnull align 8 dereferenceable(1264) %0)
  %59 = call noalias noundef nonnull dereferenceable(1264) ptr @_Znwm(i64 noundef 1264) #9
  invoke void @_ZN4WireC1E9Wire_typedidd14Wire_placementdPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(1264) %59, i32 noundef 5, double noundef 1.000000e-03, i32 noundef 1, double noundef 1.000000e+00, double noundef 1.000000e+00, i32 noundef 0, double noundef 2.200000e-02, ptr noundef nonnull getelementptr inbounds (i8, ptr @g_tp, i64 864))
          to label %60 unwind label %65

60:                                               ; preds = %._crit_edge31
  %61 = getelementptr inbounds i8, ptr %59, i64 264
  %62 = load double, ptr %61, align 8, !tbaa !27
  store double %62, ptr getelementptr inbounds (i8, ptr @_ZN4Wire9low_swingE, i64 264), align 8, !tbaa !27
  %63 = getelementptr inbounds i8, ptr %59, i64 24
  %64 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZN8powerDefaSERKS_(ptr noundef nonnull align 8 dereferenceable(120) getelementptr inbounds (i8, ptr @_ZN4Wire9low_swingE, i64 24), ptr noundef nonnull align 8 dereferenceable(120) %63)
  call void @_ZN4WireD1Ev(ptr noundef nonnull align 8 dereferenceable(1264) %59) #8
  call void @_ZdlPvm(ptr noundef nonnull %59, i64 noundef 1264) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %2) #8
  ret void

65:                                               ; preds = %._crit_edge31
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %59, i64 noundef 1264) #10
  br label %67

67:                                               ; preds = %65, %58, %56
  %.pn = phi { ptr, i32 } [ %.us-phi, %58 ], [ %66, %65 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %2) #8
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Wire18delay_optimal_wireEv(ptr noundef nonnull align 8 dereferenceable(1264)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx114listI9ComponentSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(280)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Wire10wire_modelEddPd(ptr dead_on_unwind noalias writable sret(%class.powerDef) align 8, ptr noundef nonnull align 8 dereferenceable(1264), double noundef, double noundef, ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(120) ptr @_ZN8powerDefaSEOS_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(120) ptr @_ZN8powerDefaSERKS_(ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(280) ptr @_ZNSt7__cxx114listI9ComponentSaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN15powerComponentsaSERKS_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7__cxx114listI9ComponentSaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Wire16update_fullswingEv(ptr noundef nonnull align 8 dereferenceable(1264)) local_unnamed_addr #3 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #6

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #7

declare void @_ZN4WireC1E9Wire_typedidd14Wire_placementdPN19TechnologyParameter10DeviceTypeE(ptr, i32, double, i32, double, double, i32, double, ptr) local_unnamed_addr

declare void @_ZN4WireD1Ev(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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { 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 #5 = { 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 #6 = { nobuiltin allocsize(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 #7 = { nobuiltin 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin 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, !9, i64 328}
!6 = !{!"_ZTS4Wire", !7, i64 0, !14, i64 280, !9, i64 288, !9, i64 296, !15, i64 304, !9, i64 312, !9, i64 320, !9, i64 328, !9, i64 336, !9, i64 344, !16, i64 352, !9, i64 360, !9, i64 368, !9, i64 376, !17, i64 384, !7, i64 408, !7, i64 688, !7, i64 968, !9, i64 1248, !22, i64 1256}
!7 = !{!"_ZTS9Component", !8, i64 0, !12, i64 24, !12, i64 144, !9, i64 264, !9, i64 272}
!8 = !{!"_ZTS4Area", !9, i64 0, !9, i64 8, !9, i64 16}
!9 = !{!"double", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTS8powerDef", !13, i64 0, !13, i64 40, !13, i64 80}
!13 = !{!"_ZTS15powerComponents", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32}
!14 = !{!"_ZTS9Wire_type", !10, i64 0}
!15 = !{!"_ZTS14Wire_placement", !10, i64 0}
!16 = !{!"int", !10, i64 0}
!17 = !{!"_ZTSNSt7__cxx114listI9ComponentSaIS1_EEE", !18, i64 0}
!18 = !{!"_ZTSNSt7__cxx1110_List_baseI9ComponentSaIS1_EEE", !19, i64 0}
!19 = !{!"_ZTSNSt7__cxx1110_List_baseI9ComponentSaIS1_EE10_List_implE", !20, i64 0}
!20 = !{!"_ZTSNSt8__detail17_List_node_headerE", !21, i64 0, !23, i64 16}
!21 = !{!"_ZTSNSt8__detail15_List_node_baseE", !22, i64 0, !22, i64 8}
!22 = !{!"any pointer", !10, i64 0}
!23 = !{!"long", !10, i64 0}
!24 = !{!6, !9, i64 312}
!25 = !{!6, !9, i64 320}
!26 = !{!9, !9, i64 0}
!27 = !{!7, !9, i64 264}
!28 = !{!7, !9, i64 8}
!29 = !{!7, !9, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass