; LLVM IR from gem5/gem5 :: ext/mcpat/cacti/crossbar.ll (ZN8Crossbar13output_bufferEv)

; 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.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 }
%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.Crossbar = type { %class.Component, double, double, double, double, double, double, double, double, ptr, double, double, double, double }
%class.InputParameter = type { i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, double, double, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i8, i8, i32, i32, i8, double, double, i8, i32, i32, i8 }

@g_tp = external global %class.TechnologyParameter, align 8
@g_ip = external global ptr, align 8

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN8Crossbar13output_bufferEv(ptr noundef nonnull align 8 dereferenceable(384) %0) #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca double, align 8
  %4 = alloca %class.Wire, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %12 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %13 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 1
  %14 = load double, ptr %13, align 8, !tbaa !9
  %15 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 3
  %16 = load double, ptr %15, align 8, !tbaa !16
  %17 = fmul double %14, %16
  %18 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 52), align 8, !tbaa !17
  %19 = fmul double %17, %18
  store double %19, ptr %3, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 1264, ptr %4) #5
  %20 = load ptr, ptr @g_ip, align 8, !tbaa !5
  %21 = getelementptr inbounds %class.InputParameter, ptr %20, i32 0, i32 39
  %22 = load i32, ptr %21, align 8, !tbaa !25
  %23 = load double, ptr %3, align 8, !tbaa !24
  call void @_ZN4WireC1E9Wire_typedidd14Wire_placementdPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(1264) %4, i32 noundef %22, double noundef %23, 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))
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %24 = getelementptr inbounds %class.Wire, ptr %4, i32 0, i32 5
  %25 = load double, ptr %24, align 8, !tbaa !30
  %26 = load double, ptr %3, align 8, !tbaa !24
  %27 = getelementptr inbounds %class.Wire, ptr %4, i32 0, i32 6
  %28 = load double, ptr %27, align 8, !tbaa !38
  %29 = fcmp olt double %26, %28
  br i1 %29, label %30, label %36

30:                                               ; preds = %1
  %31 = load double, ptr %3, align 8, !tbaa !24
  %32 = fmul double %31, 1.000000e+00
  %33 = getelementptr inbounds %class.Wire, ptr %4, i32 0, i32 6
  %34 = load double, ptr %33, align 8, !tbaa !38
  %35 = fdiv double %32, %34
  br label %37

36:                                               ; preds = %1
  br label %37

37:                                               ; preds = %36, %30
  %38 = phi double [ %35, %30 ], [ 1.000000e+00, %36 ]
  %39 = fmul double %25, %38
  store double %39, ptr %5, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %40 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 9
  %41 = load ptr, ptr %40, align 8, !tbaa !39
  %42 = getelementptr inbounds %"class.TechnologyParameter::DeviceType", ptr %41, i32 0, i32 19
  %43 = load double, ptr %42, align 8, !tbaa !40
  store double %43, ptr %6, align 8, !tbaa !24
  %44 = load double, ptr %5, align 8, !tbaa !24
  %45 = load double, ptr %6, align 8, !tbaa !24
  %46 = fadd double 1.000000e+00, %45
  %47 = fmul double %44, %46
  %48 = load double, ptr %6, align 8, !tbaa !24
  %49 = fadd double 2.000000e+00, %48
  %50 = fadd double %49, 1.000000e+00
  %51 = load double, ptr %6, align 8, !tbaa !24
  %52 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %51, double %50)
  %53 = fdiv double %47, %52
  %54 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 10
  store double %53, ptr %54, align 8, !tbaa !41
  %55 = load double, ptr %5, align 8, !tbaa !24
  %56 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 11
  store double %55, ptr %56, align 8, !tbaa !42
  %57 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 10
  %58 = load double, ptr %57, align 8, !tbaa !41
  %59 = fcmp olt double %58, 1.000000e+00
  br i1 %59, label %60, label %62

60:                                               ; preds = %37
  %61 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 10
  store double 1.000000e+00, ptr %61, align 8, !tbaa !41
  br label %62

62:                                               ; preds = %60, %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %63 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 10
  %64 = load double, ptr %63, align 8, !tbaa !41
  %65 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 12
  %66 = load double, ptr %65, align 8, !tbaa !43
  %67 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !44
  %68 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %66, double %67)
  %69 = fmul double %64, %68
  %70 = invoke noundef double @_Z6gate_Cddbbb(double noundef %69, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %71 unwind label %168

71:                                               ; preds = %62
  %72 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 10
  %73 = load double, ptr %72, align 8, !tbaa !41
  %74 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 12
  %75 = load double, ptr %74, align 8, !tbaa !43
  %76 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !44
  %77 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %76, double %75)
  %78 = fmul double %73, %77
  %79 = invoke noundef double @_Z6gate_Cddbbb(double noundef %78, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %80 unwind label %168

80:                                               ; preds = %71
  %81 = fadd double %70, %79
  store double %81, ptr %7, align 8, !tbaa !24
  %82 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 10
  %83 = load double, ptr %82, align 8, !tbaa !41
  %84 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !44
  %85 = fmul double %83, %84
  %86 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !45
  %87 = invoke noundef double @_Z8drain_C_diiidbbb(double noundef %85, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %86, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %88 unwind label %168

88:                                               ; preds = %80
  %89 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 10
  %90 = load double, ptr %89, align 8, !tbaa !41
  %91 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 12
  %92 = load double, ptr %91, align 8, !tbaa !43
  %93 = fmul double %90, %92
  %94 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !45
  %95 = invoke noundef double @_Z8drain_C_diiidbbb(double noundef %93, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %94, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %96 unwind label %168

96:                                               ; preds = %88
  %97 = call double @llvm.fmuladd.f64(double %95, double 2.000000e+00, double %87)
  %98 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 11
  %99 = load double, ptr %98, align 8, !tbaa !42
  %100 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !44
  %101 = fmul double %99, %100
  %102 = invoke noundef double @_Z6gate_Cddbbb(double noundef %101, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %103 unwind label %168

103:                                              ; preds = %96
  %104 = fadd double %97, %102
  %105 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 10
  %106 = load double, ptr %105, align 8, !tbaa !41
  %107 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 12
  %108 = load double, ptr %107, align 8, !tbaa !43
  %109 = fmul double %106, %108
  %110 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !45
  %111 = invoke noundef double @_Z8drain_C_diiidbbb(double noundef %109, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %110, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %112 unwind label %168

112:                                              ; preds = %103
  %113 = call double @llvm.fmuladd.f64(double %111, double 2.000000e+00, double %104)
  %114 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 10
  %115 = load double, ptr %114, align 8, !tbaa !41
  %116 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 12
  %117 = load double, ptr %116, align 8, !tbaa !43
  %118 = fmul double %115, %117
  %119 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !45
  %120 = invoke noundef double @_Z8drain_C_diiidbbb(double noundef %118, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %119, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %121 unwind label %168

121:                                              ; preds = %112
  %122 = fadd double %113, %120
  %123 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 11
  %124 = load double, ptr %123, align 8, !tbaa !42
  %125 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 12
  %126 = load double, ptr %125, align 8, !tbaa !43
  %127 = fmul double %124, %126
  %128 = invoke noundef double @_Z6gate_Cddbbb(double noundef %127, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %129 unwind label %168

129:                                              ; preds = %121
  %130 = fadd double %122, %128
  %131 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 7
  store double %130, ptr %131, align 8, !tbaa !46
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %132 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 11
  %133 = load double, ptr %132, align 8, !tbaa !42
  %134 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !44
  %135 = fmul double %133, %134
  %136 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !45
  %137 = invoke noundef double @_Z8drain_C_diiidbbb(double noundef %135, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %136, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %138 unwind label %172

138:                                              ; preds = %129
  %139 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 11
  %140 = load double, ptr %139, align 8, !tbaa !42
  %141 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 12
  %142 = load double, ptr %141, align 8, !tbaa !43
  %143 = fmul double %140, %142
  %144 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 39), align 8, !tbaa !45
  %145 = invoke noundef double @_Z8drain_C_diiidbbb(double noundef %143, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %144, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %146 unwind label %172

146:                                              ; preds = %138
  %147 = fadd double %137, %145
  store double %147, ptr %10, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %148 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 11
  %149 = load double, ptr %148, align 8, !tbaa !42
  %150 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 12
  %151 = load double, ptr %150, align 8, !tbaa !43
  %152 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !44
  %153 = fadd double %151, %152
  %154 = fmul double %149, %153
  %155 = invoke noundef double @_Z6gate_Cddbbb(double noundef %154, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %156 unwind label %176

156:                                              ; preds = %146
  store double %155, ptr %11, align 8, !tbaa !24
  %157 = load double, ptr %7, align 8, !tbaa !24
  %158 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 4
  store double %157, ptr %158, align 8, !tbaa !47
  %159 = load double, ptr %10, align 8, !tbaa !24
  %160 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 5
  store double %159, ptr %160, align 8, !tbaa !48
  %161 = load double, ptr %11, align 8, !tbaa !24
  %162 = getelementptr inbounds %class.Crossbar, ptr %12, i32 0, i32 6
  store double %161, ptr %162, align 8, !tbaa !49
  %163 = load double, ptr %7, align 8, !tbaa !24
  %164 = load double, ptr %10, align 8, !tbaa !24
  %165 = fadd double %163, %164
  %166 = load double, ptr %11, align 8, !tbaa !24
  %167 = fadd double %165, %166
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @_ZN4WireD1Ev(ptr noundef nonnull align 8 dereferenceable(1264) %4) #5
  call void @llvm.lifetime.end.p0(i64 1264, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret double %167

168:                                              ; preds = %121, %112, %103, %96, %88, %80, %71, %62
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %8, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %9, align 4
  br label %181

172:                                              ; preds = %138, %129
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %8, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %9, align 4
  br label %180

176:                                              ; preds = %146
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %8, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %180

180:                                              ; preds = %176, %172
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %181

181:                                              ; preds = %180, %168
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @_ZN4WireD1Ev(ptr noundef nonnull align 8 dereferenceable(1264) %4) #5
  call void @llvm.lifetime.end.p0(i64 1264, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %182

182:                                              ; preds = %181
  %183 = load ptr, ptr %8, align 8
  %184 = load i32, ptr %9, align 4
  %185 = insertvalue { ptr, i32 } poison, ptr %183, 0
  %186 = insertvalue { ptr, i32 } %185, i32 %184, 1
  resume { ptr, i32 } %186
}

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

declare void @_ZN4WireC1E9Wire_typedidd14Wire_placementdPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(1264), i32 noundef, double noundef, i32 noundef, double noundef, double noundef, i32 noundef, double noundef, ptr noundef) unnamed_addr #2

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

declare noundef double @_Z6gate_Cddbbb(double noundef, double noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) #2

declare i32 @__gxx_personality_v0(...)

declare noundef double @_Z8drain_C_diiidbbb(double noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) #2

; 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 @_ZN4WireD1Ev(ptr noundef nonnull align 8 dereferenceable(1264)) unnamed_addr #4

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

!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 280}
!10 = !{!"_ZTS8Crossbar", !11, i64 0, !13, i64 280, !13, i64 288, !13, i64 296, !13, i64 304, !13, i64 312, !13, i64 320, !13, i64 328, !13, i64 336, !6, i64 344, !13, i64 352, !13, i64 360, !13, i64 368, !13, i64 376}
!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 = !{!10, !13, i64 296}
!17 = !{!18, !13, i64 1328}
!18 = !{!"_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, !19, i64 352, !20, i64 360, !20, i64 528, !20, i64 696, !20, i64 864, !20, i64 1032, !21, i64 1200, !21, i64 1264, !21, i64 1328, !22, i64 1392, !23, i64 1416, !23, i64 1464, !23, i64 1512}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_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}
!21 = !{!"_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}
!22 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !13, i64 0, !13, i64 8, !13, i64 16}
!23 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40}
!24 = !{!13, !13, i64 0}
!25 = !{!26, !29, i64 152}
!26 = !{!"_ZTS14InputParameter", !27, i64 0, !27, i64 4, !27, i64 8, !27, i64 12, !27, i64 16, !28, i64 20, !27, i64 24, !27, i64 28, !27, i64 32, !27, i64 36, !27, i64 40, !27, i64 44, !13, i64 48, !13, i64 56, !27, i64 64, !27, i64 68, !27, i64 72, !27, i64 76, !27, i64 80, !28, i64 84, !28, i64 85, !28, i64 86, !28, i64 87, !28, i64 88, !27, i64 92, !27, i64 96, !27, i64 100, !27, i64 104, !27, i64 108, !27, i64 112, !27, i64 116, !27, i64 120, !27, i64 124, !27, i64 128, !27, i64 132, !27, i64 136, !27, i64 140, !27, i64 144, !27, i64 148, !29, i64 152, !27, i64 156, !28, i64 160, !27, i64 164, !27, i64 168, !27, i64 172, !27, i64 176, !27, i64 180, !27, i64 184, !27, i64 188, !28, i64 192, !27, i64 196, !27, i64 200, !27, i64 204, !27, i64 208, !27, i64 212, !27, i64 216, !27, i64 220, !27, i64 224, !27, i64 228, !27, i64 232, !27, i64 236, !27, i64 240, !27, i64 244, !27, i64 248, !27, i64 252, !27, i64 256, !27, i64 260, !27, i64 264, !27, i64 268, !27, i64 272, !27, i64 276, !27, i64 280, !27, i64 284, !27, i64 288, !27, i64 292, !27, i64 296, !28, i64 300, !27, i64 304, !27, i64 308, !27, i64 312, !28, i64 316, !28, i64 317, !27, i64 320, !27, i64 324, !28, i64 328, !13, i64 336, !13, i64 344, !28, i64 352, !27, i64 356, !27, i64 360, !28, i64 364}
!27 = !{!"int", !7, i64 0}
!28 = !{!"bool", !7, i64 0}
!29 = !{!"_ZTS9Wire_type", !7, i64 0}
!30 = !{!31, !13, i64 312}
!31 = !{!"_ZTS4Wire", !11, i64 0, !29, i64 280, !13, i64 288, !13, i64 296, !32, i64 304, !13, i64 312, !13, i64 320, !13, i64 328, !13, i64 336, !13, i64 344, !27, i64 352, !13, i64 360, !13, i64 368, !13, i64 376, !33, i64 384, !11, i64 408, !11, i64 688, !11, i64 968, !13, i64 1248, !6, i64 1256}
!32 = !{!"_ZTS14Wire_placement", !7, i64 0}
!33 = !{!"_ZTSNSt7__cxx114listI9ComponentSaIS1_EEE", !34, i64 0}
!34 = !{!"_ZTSNSt7__cxx1110_List_baseI9ComponentSaIS1_EEE", !35, i64 0}
!35 = !{!"_ZTSNSt7__cxx1110_List_baseI9ComponentSaIS1_EE10_List_implE", !36, i64 0}
!36 = !{!"_ZTSNSt8__detail17_List_node_headerE", !37, i64 0, !19, i64 16}
!37 = !{!"_ZTSNSt8__detail15_List_node_baseE", !6, i64 0, !6, i64 8}
!38 = !{!31, !13, i64 320}
!39 = !{!10, !6, i64 344}
!40 = !{!20, !13, i64 152}
!41 = !{!10, !13, i64 352}
!42 = !{!10, !13, i64 360}
!43 = !{!10, !13, i64 368}
!44 = !{!18, !13, i64 8}
!45 = !{!18, !13, i64 312}
!46 = !{!10, !13, i64 328}
!47 = !{!10, !13, i64 304}
!48 = !{!10, !13, i64 312}
!49 = !{!10, !13, i64 320}


; 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.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 }
%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
@g_ip = external local_unnamed_addr global ptr, align 8

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN8Crossbar13output_bufferEv(ptr nocapture noundef nonnull align 8 dereferenceable(384) %0) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %class.Wire, align 8
  %3 = getelementptr inbounds i8, ptr %0, i64 280
  %4 = load double, ptr %3, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 296
  %6 = load double, ptr %5, align 8, !tbaa !15
  %7 = fmul double %4, %6
  %8 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 1328), align 8, !tbaa !16
  %9 = fmul double %7, %8
  call void @llvm.lifetime.start.p0(i64 1264, ptr nonnull %2) #5
  %10 = load ptr, ptr @g_ip, align 8, !tbaa !23
  %11 = getelementptr inbounds i8, ptr %10, i64 152
  %12 = load i32, ptr %11, align 8, !tbaa !24
  call void @_ZN4WireC1E9Wire_typedidd14Wire_placementdPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(1264) %2, i32 noundef %12, double noundef %9, 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))
  %13 = getelementptr inbounds i8, ptr %2, i64 312
  %14 = load double, ptr %13, align 8, !tbaa !29
  %15 = getelementptr inbounds i8, ptr %2, i64 320
  %16 = load double, ptr %15, align 8
  %17 = fcmp olt double %9, %16
  %18 = fdiv double %9, %16
  %19 = select i1 %17, double %18, double 1.000000e+00
  %20 = fmul double %14, %19
  %21 = getelementptr inbounds i8, ptr %0, i64 344
  %22 = load ptr, ptr %21, align 8, !tbaa !37
  %23 = getelementptr inbounds i8, ptr %22, i64 152
  %24 = load double, ptr %23, align 8, !tbaa !38
  %25 = fadd double %24, 1.000000e+00
  %26 = fmul double %20, %25
  %27 = fadd double %24, 2.000000e+00
  %28 = fadd double %27, 1.000000e+00
  %29 = call double @llvm.fmuladd.f64(double %24, double 2.000000e+00, double %28)
  %30 = fdiv double %26, %29
  %31 = getelementptr inbounds i8, ptr %0, i64 352
  store double %30, ptr %31, align 8, !tbaa !39
  %32 = getelementptr inbounds i8, ptr %0, i64 360
  store double %20, ptr %32, align 8, !tbaa !40
  %33 = fcmp olt double %30, 1.000000e+00
  br i1 %33, label %34, label %35

34:                                               ; preds = %1
  store double 1.000000e+00, ptr %31, align 8, !tbaa !39
  br label %35

35:                                               ; preds = %34, %1
  %36 = phi double [ 1.000000e+00, %34 ], [ %30, %1 ]
  %37 = getelementptr inbounds i8, ptr %0, i64 368
  %38 = load double, ptr %37, align 8, !tbaa !41
  %39 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !42
  %40 = call double @llvm.fmuladd.f64(double %38, double 2.000000e+00, double %39)
  %41 = fmul double %36, %40
  %42 = invoke noundef double @_Z6gate_Cddbbb(double noundef %41, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %43 unwind label %117

43:                                               ; preds = %35
  %44 = load double, ptr %31, align 8, !tbaa !39
  %45 = load double, ptr %37, align 8, !tbaa !41
  %46 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !42
  %47 = call double @llvm.fmuladd.f64(double %46, double 2.000000e+00, double %45)
  %48 = fmul double %44, %47
  %49 = invoke noundef double @_Z6gate_Cddbbb(double noundef %48, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %50 unwind label %117

50:                                               ; preds = %43
  %51 = load double, ptr %31, align 8, !tbaa !39
  %52 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !42
  %53 = fmul double %51, %52
  %54 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !43
  %55 = invoke noundef double @_Z8drain_C_diiidbbb(double noundef %53, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %54, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %56 unwind label %117

56:                                               ; preds = %50
  %57 = load double, ptr %31, align 8, !tbaa !39
  %58 = load double, ptr %37, align 8, !tbaa !41
  %59 = fmul double %57, %58
  %60 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !43
  %61 = invoke noundef double @_Z8drain_C_diiidbbb(double noundef %59, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %60, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %62 unwind label %117

62:                                               ; preds = %56
  %63 = load double, ptr %32, align 8, !tbaa !40
  %64 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !42
  %65 = fmul double %63, %64
  %66 = invoke noundef double @_Z6gate_Cddbbb(double noundef %65, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %67 unwind label %117

67:                                               ; preds = %62
  %68 = load double, ptr %31, align 8, !tbaa !39
  %69 = load double, ptr %37, align 8, !tbaa !41
  %70 = fmul double %68, %69
  %71 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !43
  %72 = invoke noundef double @_Z8drain_C_diiidbbb(double noundef %70, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %71, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %73 unwind label %117

73:                                               ; preds = %67
  %74 = load double, ptr %31, align 8, !tbaa !39
  %75 = load double, ptr %37, align 8, !tbaa !41
  %76 = fmul double %74, %75
  %77 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !43
  %78 = invoke noundef double @_Z8drain_C_diiidbbb(double noundef %76, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %77, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %79 unwind label %117

79:                                               ; preds = %73
  %80 = load double, ptr %32, align 8, !tbaa !40
  %81 = load double, ptr %37, align 8, !tbaa !41
  %82 = fmul double %80, %81
  %83 = invoke noundef double @_Z6gate_Cddbbb(double noundef %82, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %84 unwind label %117

84:                                               ; preds = %79
  %85 = call double @llvm.fmuladd.f64(double %61, double 2.000000e+00, double %55)
  %86 = fadd double %85, %66
  %87 = call double @llvm.fmuladd.f64(double %72, double 2.000000e+00, double %86)
  %88 = fadd double %87, %78
  %89 = fadd double %88, %83
  %90 = getelementptr inbounds i8, ptr %0, i64 328
  store double %89, ptr %90, align 8, !tbaa !44
  %91 = load double, ptr %32, align 8, !tbaa !40
  %92 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !42
  %93 = fmul double %91, %92
  %94 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !43
  %95 = invoke noundef double @_Z8drain_C_diiidbbb(double noundef %93, i32 noundef 1, i32 noundef 1, i32 noundef 1, double noundef %94, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %96 unwind label %119

96:                                               ; preds = %84
  %97 = load double, ptr %32, align 8, !tbaa !40
  %98 = load double, ptr %37, align 8, !tbaa !41
  %99 = fmul double %97, %98
  %100 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 312), align 8, !tbaa !43
  %101 = invoke noundef double @_Z8drain_C_diiidbbb(double noundef %99, i32 noundef 0, i32 noundef 1, i32 noundef 1, double noundef %100, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %102 unwind label %119

102:                                              ; preds = %96
  %103 = load double, ptr %32, align 8, !tbaa !40
  %104 = load double, ptr %37, align 8, !tbaa !41
  %105 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8, !tbaa !42
  %106 = fadd double %104, %105
  %107 = fmul double %103, %106
  %108 = invoke noundef double @_Z6gate_Cddbbb(double noundef %107, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %109 unwind label %121

109:                                              ; preds = %102
  %110 = fadd double %95, %101
  %111 = fadd double %42, %49
  %112 = getelementptr inbounds i8, ptr %0, i64 304
  store double %111, ptr %112, align 8, !tbaa !45
  %113 = getelementptr inbounds i8, ptr %0, i64 312
  store double %110, ptr %113, align 8, !tbaa !46
  %114 = getelementptr inbounds i8, ptr %0, i64 320
  store double %108, ptr %114, align 8, !tbaa !47
  %115 = fadd double %111, %110
  %116 = fadd double %115, %108
  call void @_ZN4WireD1Ev(ptr noundef nonnull align 8 dereferenceable(1264) %2) #5
  call void @llvm.lifetime.end.p0(i64 1264, ptr nonnull %2) #5
  ret double %116

117:                                              ; preds = %79, %73, %67, %62, %56, %50, %43, %35
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %123

119:                                              ; preds = %96, %84
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %123

121:                                              ; preds = %102
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %123

123:                                              ; preds = %119, %121, %117
  %.pn.pn = phi { ptr, i32 } [ %118, %117 ], [ %122, %121 ], [ %120, %119 ]
  call void @_ZN4WireD1Ev(ptr noundef nonnull align 8 dereferenceable(1264) %2) #5
  call void @llvm.lifetime.end.p0(i64 1264, ptr nonnull %2) #5
  resume { ptr, i32 } %.pn.pn
}

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

declare void @_ZN4WireC1E9Wire_typedidd14Wire_placementdPN19TechnologyParameter10DeviceTypeE(ptr noundef nonnull align 8 dereferenceable(1264), i32 noundef, double noundef, i32 noundef, double noundef, double noundef, i32 noundef, double noundef, ptr noundef) unnamed_addr #2

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

declare noundef double @_Z6gate_Cddbbb(double noundef, double noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

declare noundef double @_Z8drain_C_diiidbbb(double noundef, i32 noundef, i32 noundef, i32 noundef, double noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #2

; 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 @_ZN4WireD1Ev(ptr noundef nonnull align 8 dereferenceable(1264)) unnamed_addr #4

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

!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 280}
!6 = !{!"_ZTS8Crossbar", !7, i64 0, !9, i64 280, !9, i64 288, !9, i64 296, !9, i64 304, !9, i64 312, !9, i64 320, !9, i64 328, !9, i64 336, !14, i64 344, !9, i64 352, !9, i64 360, !9, i64 368, !9, i64 376}
!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 = !{!"any pointer", !10, i64 0}
!15 = !{!6, !9, i64 296}
!16 = !{!17, !9, i64 1328}
!17 = !{!"_ZTS19TechnologyParameter", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !9, i64 56, !9, i64 64, !9, i64 72, !9, i64 80, !9, i64 88, !9, i64 96, !9, i64 104, !9, i64 112, !9, i64 120, !9, i64 128, !9, i64 136, !9, i64 144, !9, i64 152, !9, i64 160, !9, i64 168, !9, i64 176, !9, i64 184, !9, i64 192, !9, i64 200, !9, i64 208, !9, i64 216, !9, i64 224, !9, i64 232, !9, i64 240, !9, i64 248, !9, i64 256, !9, i64 264, !9, i64 272, !9, i64 280, !9, i64 288, !9, i64 296, !9, i64 304, !9, i64 312, !9, i64 320, !9, i64 328, !9, i64 336, !9, i64 344, !18, i64 352, !19, i64 360, !19, i64 528, !19, i64 696, !19, i64 864, !19, i64 1032, !20, i64 1200, !20, i64 1264, !20, i64 1328, !21, i64 1392, !22, i64 1416, !22, i64 1464, !22, i64 1512}
!18 = !{!"long", !10, i64 0}
!19 = !{!"_ZTSN19TechnologyParameter10DeviceTypeE", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !9, i64 56, !9, i64 64, !9, i64 72, !9, i64 80, !9, i64 88, !9, i64 96, !9, i64 104, !9, i64 112, !9, i64 120, !9, i64 128, !9, i64 136, !9, i64 144, !9, i64 152, !9, i64 160}
!20 = !{!"_ZTSN19TechnologyParameter16InterconnectTypeE", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !9, i64 48, !9, i64 56}
!21 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !9, i64 0, !9, i64 8, !9, i64 16}
!22 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40}
!23 = !{!14, !14, i64 0}
!24 = !{!25, !28, i64 152}
!25 = !{!"_ZTS14InputParameter", !26, i64 0, !26, i64 4, !26, i64 8, !26, i64 12, !26, i64 16, !27, i64 20, !26, i64 24, !26, i64 28, !26, i64 32, !26, i64 36, !26, i64 40, !26, i64 44, !9, i64 48, !9, i64 56, !26, i64 64, !26, i64 68, !26, i64 72, !26, i64 76, !26, i64 80, !27, i64 84, !27, i64 85, !27, i64 86, !27, i64 87, !27, i64 88, !26, i64 92, !26, i64 96, !26, i64 100, !26, i64 104, !26, i64 108, !26, i64 112, !26, i64 116, !26, i64 120, !26, i64 124, !26, i64 128, !26, i64 132, !26, i64 136, !26, i64 140, !26, i64 144, !26, i64 148, !28, i64 152, !26, i64 156, !27, i64 160, !26, i64 164, !26, i64 168, !26, i64 172, !26, i64 176, !26, i64 180, !26, i64 184, !26, i64 188, !27, i64 192, !26, i64 196, !26, i64 200, !26, i64 204, !26, i64 208, !26, i64 212, !26, i64 216, !26, i64 220, !26, i64 224, !26, i64 228, !26, i64 232, !26, i64 236, !26, i64 240, !26, i64 244, !26, i64 248, !26, i64 252, !26, i64 256, !26, i64 260, !26, i64 264, !26, i64 268, !26, i64 272, !26, i64 276, !26, i64 280, !26, i64 284, !26, i64 288, !26, i64 292, !26, i64 296, !27, i64 300, !26, i64 304, !26, i64 308, !26, i64 312, !27, i64 316, !27, i64 317, !26, i64 320, !26, i64 324, !27, i64 328, !9, i64 336, !9, i64 344, !27, i64 352, !26, i64 356, !26, i64 360, !27, i64 364}
!26 = !{!"int", !10, i64 0}
!27 = !{!"bool", !10, i64 0}
!28 = !{!"_ZTS9Wire_type", !10, i64 0}
!29 = !{!30, !9, i64 312}
!30 = !{!"_ZTS4Wire", !7, i64 0, !28, i64 280, !9, i64 288, !9, i64 296, !31, i64 304, !9, i64 312, !9, i64 320, !9, i64 328, !9, i64 336, !9, i64 344, !26, i64 352, !9, i64 360, !9, i64 368, !9, i64 376, !32, i64 384, !7, i64 408, !7, i64 688, !7, i64 968, !9, i64 1248, !14, i64 1256}
!31 = !{!"_ZTS14Wire_placement", !10, i64 0}
!32 = !{!"_ZTSNSt7__cxx114listI9ComponentSaIS1_EEE", !33, i64 0}
!33 = !{!"_ZTSNSt7__cxx1110_List_baseI9ComponentSaIS1_EEE", !34, i64 0}
!34 = !{!"_ZTSNSt7__cxx1110_List_baseI9ComponentSaIS1_EE10_List_implE", !35, i64 0}
!35 = !{!"_ZTSNSt8__detail17_List_node_headerE", !36, i64 0, !18, i64 16}
!36 = !{!"_ZTSNSt8__detail15_List_node_baseE", !14, i64 0, !14, i64 8}
!37 = !{!6, !14, i64 344}
!38 = !{!19, !9, i64 152}
!39 = !{!6, !9, i64 352}
!40 = !{!6, !9, i64 360}
!41 = !{!6, !9, i64 368}
!42 = !{!17, !9, i64 8}
!43 = !{!17, !9, i64 312}
!44 = !{!6, !9, i64 328}
!45 = !{!6, !9, i64 304}
!46 = !{!6, !9, i64 312}
!47 = !{!6, !9, i64 320}


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