; LLVM IR from gem5/gem5 :: ext/mcpat/logic.ll (ZN8PipelineC2EP7XMLNodePK14InputParameterRK14CoreParameters9Device_tybb)

; 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.Pipeline = type { %class.McPATComponent, %class.InputParameter, %class.uca_org_t, %class.CoreParameters, i32, i8, i8, double, i8, double, double, double }
%class.McPATComponent = type { ptr, %class.Component, ptr, %class.InputParameter, %"class.std::__cxx11::basic_string", double, %"class.std::vector", %class.McPATOutput, %class.statsDef, %class.statsDef, %class.powerDef, %class.powerDef }
%class.Component = type { %class.Area, %class.powerDef, %class.powerDef, double, double }
%class.Area = type { double, double, double }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<McPATComponent *, std::allocator<McPATComponent *>>::_Vector_impl" }
%"struct.std::_Vector_base<McPATComponent *, std::allocator<McPATComponent *>>::_Vector_impl" = type { %"struct.std::_Vector_base<McPATComponent *, std::allocator<McPATComponent *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<McPATComponent *, std::allocator<McPATComponent *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.McPATOutput = type { double, double, double, double, double, double }
%class.statsDef = type { %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents, %class.statsComponents }
%class.statsComponents = 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.CoreParameters = type { i8, i8, i8, i32, i32, i32, double, 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, i32, i32, i32, i32, i32, i32, double, i32, i32, i32, i32, i8, i8, [4 x double], i32, i32, i32, i32, i32, i32, i32, double, double, 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, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, i32, double, double }

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

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

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

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) #1

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

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)) #0

; 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)) #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8PipelineC2EP7XMLNodePK14InputParameterRK14CoreParameters9Device_tybb(ptr noundef nonnull align 8 dereferenceable(10448) %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(480) %3, i32 noundef %4, i1 noundef zeroext %5, i1 noundef zeroext %6) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %class.uca_org_t, align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %3, ptr %11, align 8, !tbaa !5
  store i32 %4, ptr %12, align 4, !tbaa !9
  %18 = zext i1 %5 to i8
  store i8 %18, ptr %13, align 1, !tbaa !11
  %19 = zext i1 %6 to i8
  store i8 %19, ptr %14, align 1, !tbaa !11
  %20 = load ptr, ptr %8, align 8
  %21 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN14McPATComponentC2EP7XMLNode(ptr noundef nonnull align 8 dereferenceable(1352) %20, ptr noundef %21)
  store ptr getelementptr inbounds inrange(-16, 32) ({ [6 x ptr] }, ptr @_ZTV8Pipeline, i32 0, i32 0, i32 2), ptr %20, align 8, !tbaa !13
  %22 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 1
  %23 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %23, i64 368, i1 false), !tbaa.struct !15
  %24 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 2
  invoke void @_ZN9uca_org_tC1Ev(ptr noundef nonnull align 8 dereferenceable(8200) %24)
          to label %25 unwind label %54

25:                                               ; preds = %7
  %26 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 3
  %27 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %26, ptr align 8 %27, i64 480, i1 false), !tbaa.struct !22
  %28 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 4
  %29 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %29, ptr %28, align 8, !tbaa !30
  %30 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 5
  %31 = load i8, ptr %13, align 1, !tbaa !11, !range !51, !noundef !52
  %32 = trunc i8 %31 to i1
  %33 = zext i1 %32 to i8
  store i8 %33, ptr %30, align 4, !tbaa !53
  %34 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 6
  %35 = load i8, ptr %14, align 1, !tbaa !11, !range !51, !noundef !52
  %36 = trunc i8 %35 to i1
  %37 = zext i1 %36 to i8
  store i8 %37, ptr %34, align 1, !tbaa !54
  %38 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 7
  store double 0.000000e+00, ptr %38, align 8, !tbaa !55
  %39 = getelementptr inbounds %class.McPATComponent, ptr %20, i32 0, i32 4
  %40 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef @.str)
          to label %41 unwind label %58

41:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8200, ptr %17) #7
  %42 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 1
  %43 = getelementptr inbounds %class.McPATComponent, ptr %20, i32 0, i32 4
  invoke void @_Z14init_interfaceP14InputParameterRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind writable sret(%class.uca_org_t) align 8 %17, ptr noundef %42, ptr noundef nonnull align 8 dereferenceable(32) %43)
          to label %44 unwind label %62

44:                                               ; preds = %41
  %45 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 2
  %46 = invoke noundef nonnull align 8 dereferenceable(8200) ptr @_ZN9uca_org_taSERKS_(ptr noundef nonnull align 8 dereferenceable(8200) %45, ptr noundef nonnull align 8 dereferenceable(8200) %17)
          to label %47 unwind label %66

47:                                               ; preds = %44
  call void @_ZN9uca_org_tD2Ev(ptr noundef nonnull align 8 dereferenceable(8200) %17) #7
  call void @llvm.lifetime.end.p0(i64 8200, ptr %17) #7
  %48 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 3
  %49 = getelementptr inbounds %class.CoreParameters, ptr %48, i32 0, i32 2
  %50 = load i8, ptr %49, align 2, !tbaa !56, !range !51, !noundef !52
  %51 = trunc i8 %50 to i1
  br i1 %51, label %71, label %52

52:                                               ; preds = %47
  %53 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 8
  store i8 1, ptr %53, align 8, !tbaa !57
  br label %73

54:                                               ; preds = %7
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %15, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %16, align 4
  br label %114

58:                                               ; preds = %109, %100, %95, %25
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %15, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %16, align 4
  br label %113

62:                                               ; preds = %41
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %15, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %16, align 4
  br label %70

66:                                               ; preds = %44
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %15, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %16, align 4
  call void @_ZN9uca_org_tD2Ev(ptr noundef nonnull align 8 dereferenceable(8200) %17) #7
  br label %70

70:                                               ; preds = %66, %62
  call void @llvm.lifetime.end.p0(i64 8200, ptr %17) #7
  br label %113

71:                                               ; preds = %47
  %72 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 8
  store i8 0, ptr %72, align 8, !tbaa !57
  br label %73

73:                                               ; preds = %71, %52
  %74 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 8
  %75 = load i8, ptr %74, align 8, !tbaa !57, !range !51, !noundef !52
  %76 = trunc i8 %75 to i1
  br i1 %76, label %77, label %82

77:                                               ; preds = %73
  %78 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 1
  %79 = getelementptr inbounds %class.InputParameter, ptr %78, i32 0, i32 13
  %80 = load double, ptr %79, align 8, !tbaa !58
  %81 = fmul double 2.500000e+01, %80
  br label %84

82:                                               ; preds = %73
  %83 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !59
  br label %84

84:                                               ; preds = %82, %77
  %85 = phi double [ %81, %77 ], [ %83, %82 ]
  %86 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 9
  store double %85, ptr %86, align 8, !tbaa !65
  %87 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 8
  %88 = load i8, ptr %87, align 8, !tbaa !57, !range !51, !noundef !52
  %89 = trunc i8 %88 to i1
  br i1 %89, label %90, label %95

90:                                               ; preds = %84
  %91 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 1
  %92 = getelementptr inbounds %class.InputParameter, ptr %91, i32 0, i32 13
  %93 = load double, ptr %92, align 8, !tbaa !58
  %94 = fmul double 3.750000e+01, %93
  br label %100

95:                                               ; preds = %84
  %96 = load double, ptr getelementptr inbounds (%class.TechnologyParameter, ptr @g_tp, i32 0, i32 1), align 8, !tbaa !59
  %97 = invoke noundef double @_Z21pmos_to_nmos_sz_ratiobb(i1 noundef zeroext false, i1 noundef zeroext false)
          to label %98 unwind label %58

98:                                               ; preds = %95
  %99 = fmul double %96, %97
  br label %100

100:                                              ; preds = %98, %90
  %101 = phi double [ %94, %90 ], [ %99, %98 ]
  %102 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 10
  store double %101, ptr %102, align 8, !tbaa !66
  %103 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 9
  %104 = load double, ptr %103, align 8, !tbaa !65
  %105 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 10
  %106 = load double, ptr %105, align 8, !tbaa !66
  %107 = fadd double %104, %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 %58

109:                                              ; preds = %100
  %110 = fmul double 2.000000e+00, %108
  %111 = getelementptr inbounds %class.Pipeline, ptr %20, i32 0, i32 11
  store double %110, ptr %111, align 8, !tbaa !67
  invoke void @_ZN8Pipeline7computeEv(ptr noundef nonnull align 8 dereferenceable(10448) %20)
          to label %112 unwind label %58

112:                                              ; preds = %109
  ret void

113:                                              ; preds = %70, %58
  call void @_ZN9uca_org_tD2Ev(ptr noundef nonnull align 8 dereferenceable(8200) %24) #7
  br label %114

114:                                              ; preds = %113, %54
  call void @_ZN14McPATComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(1352) %20) #7
  br label %115

115:                                              ; preds = %114
  %116 = load ptr, ptr %15, align 8
  %117 = load i32, ptr %16, align 4
  %118 = insertvalue { ptr, i32 } poison, ptr %116, 0
  %119 = insertvalue { ptr, i32 } %118, i32 %117, 1
  resume { ptr, i32 } %119
}

; 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) #6 align 2

declare noundef double @_Z21pmos_to_nmos_sz_ratiobb(i1 noundef zeroext, i1 noundef zeroext) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8Pipeline7computeEv(ptr noundef nonnull align 8 dereferenceable(10448)) #6 align 2

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 nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #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 = !{!"_ZTS9Device_ty", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{i64 0, i64 4, !16, i64 4, i64 4, !16, i64 8, i64 4, !16, i64 12, i64 4, !16, i64 16, i64 4, !16, i64 20, i64 1, !11, i64 24, i64 4, !16, i64 28, i64 4, !16, i64 32, i64 4, !16, i64 36, i64 4, !16, i64 40, i64 4, !16, i64 44, i64 4, !16, i64 48, i64 8, !18, i64 56, i64 8, !18, i64 64, i64 4, !16, i64 68, i64 4, !16, i64 72, i64 4, !16, i64 76, i64 4, !16, i64 80, i64 4, !16, i64 84, i64 1, !11, i64 85, i64 1, !11, i64 86, i64 1, !11, i64 87, i64 1, !11, i64 88, i64 1, !11, i64 92, i64 4, !16, i64 96, i64 4, !16, i64 100, i64 4, !16, i64 104, i64 4, !16, i64 108, i64 4, !16, i64 112, i64 4, !16, i64 116, i64 4, !16, i64 120, i64 4, !16, i64 124, i64 4, !16, i64 128, i64 4, !16, i64 132, i64 4, !16, i64 136, i64 4, !16, i64 140, i64 4, !16, i64 144, i64 4, !16, i64 148, i64 4, !16, i64 152, i64 4, !20, i64 156, i64 4, !16, i64 160, i64 1, !11, i64 164, i64 4, !16, i64 168, i64 4, !16, i64 172, i64 4, !16, i64 176, i64 4, !16, i64 180, i64 4, !16, i64 184, i64 4, !16, i64 188, i64 4, !16, i64 192, i64 1, !11, i64 196, i64 4, !16, i64 200, i64 4, !16, i64 204, i64 4, !16, i64 208, i64 4, !16, i64 212, i64 4, !16, i64 216, i64 4, !16, i64 220, i64 4, !16, i64 224, i64 4, !16, i64 228, i64 4, !16, i64 232, i64 4, !16, i64 236, i64 4, !16, i64 240, i64 4, !16, i64 244, i64 4, !16, i64 248, i64 4, !16, i64 252, i64 4, !16, i64 256, i64 4, !16, i64 260, i64 4, !16, i64 264, i64 4, !16, i64 268, i64 4, !16, i64 272, i64 4, !16, i64 276, i64 4, !16, i64 280, i64 4, !16, i64 284, i64 4, !16, i64 288, i64 4, !16, i64 292, i64 4, !16, i64 296, i64 4, !16, i64 300, i64 1, !11, i64 304, i64 4, !16, i64 308, i64 4, !16, i64 312, i64 4, !16, i64 316, i64 1, !11, i64 317, i64 1, !11, i64 320, i64 4, !16, i64 324, i64 4, !16, i64 328, i64 1, !11, i64 336, i64 8, !18, i64 344, i64 8, !18, i64 352, i64 1, !11, i64 356, i64 4, !16, i64 360, i64 4, !16, i64 364, i64 1, !11}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"double", !7, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"_ZTS9Wire_type", !7, i64 0}
!22 = !{i64 0, i64 1, !11, i64 1, i64 1, !11, i64 2, i64 1, !11, i64 4, i64 4, !23, i64 8, i64 4, !25, i64 12, i64 4, !27, i64 16, i64 8, !18, i64 24, i64 4, !16, i64 28, i64 4, !16, i64 32, i64 4, !16, i64 36, i64 4, !16, i64 40, i64 4, !16, i64 44, i64 4, !16, i64 48, i64 4, !16, i64 52, i64 4, !16, i64 56, i64 4, !16, i64 60, i64 4, !16, i64 64, i64 4, !16, i64 68, i64 4, !16, i64 72, i64 4, !16, i64 76, i64 4, !16, i64 80, i64 4, !16, i64 84, i64 4, !16, i64 88, i64 4, !16, i64 92, i64 4, !16, i64 96, i64 4, !16, i64 100, i64 4, !16, i64 104, i64 4, !16, i64 108, i64 4, !16, i64 112, i64 4, !16, i64 116, i64 4, !16, i64 120, i64 4, !16, i64 124, i64 4, !16, i64 128, i64 4, !16, i64 132, i64 4, !16, i64 136, i64 4, !16, i64 140, i64 4, !16, i64 144, i64 4, !16, i64 148, i64 4, !16, i64 152, i64 8, !18, i64 160, i64 4, !16, i64 164, i64 4, !16, i64 168, i64 4, !16, i64 172, i64 4, !16, i64 176, i64 1, !11, i64 177, i64 1, !11, i64 184, i64 32, !29, i64 216, i64 4, !16, i64 220, i64 4, !16, i64 224, i64 4, !16, i64 228, i64 4, !16, i64 232, i64 4, !16, i64 236, i64 4, !16, i64 240, i64 4, !16, i64 248, i64 8, !18, i64 256, i64 8, !18, i64 264, i64 4, !16, i64 268, i64 4, !16, i64 272, i64 4, !16, i64 276, i64 4, !16, i64 280, i64 4, !16, i64 284, i64 4, !16, i64 288, i64 4, !16, i64 292, i64 4, !16, i64 296, i64 4, !16, i64 300, i64 4, !16, i64 304, i64 4, !16, i64 308, i64 4, !16, i64 312, i64 4, !16, i64 316, i64 4, !16, i64 320, i64 4, !16, i64 324, i64 4, !16, i64 328, i64 4, !16, i64 332, i64 4, !16, i64 336, i64 4, !16, i64 340, i64 4, !16, i64 344, i64 4, !16, i64 348, i64 4, !16, i64 352, i64 4, !16, i64 356, i64 4, !16, i64 360, i64 4, !16, i64 364, i64 4, !16, i64 368, i64 4, !16, i64 372, i64 4, !16, i64 376, i64 4, !16, i64 380, i64 4, !16, i64 384, i64 4, !16, i64 388, i64 4, !16, i64 392, i64 4, !16, i64 396, i64 4, !16, i64 400, i64 4, !16, i64 404, i64 4, !16, i64 408, i64 4, !16, i64 412, i64 4, !16, i64 416, i64 4, !16, i64 420, i64 4, !16, i64 424, i64 4, !20, i64 428, i64 4, !20, i64 432, i64 4, !16, i64 440, i64 8, !18, i64 448, i64 8, !18, i64 456, i64 4, !16, i64 464, i64 8, !18, i64 472, i64 8, !18}
!23 = !{!24, !24, i64 0}
!24 = !{!"_ZTS9Core_type", !7, i64 0}
!25 = !{!26, !26, i64 0}
!26 = !{!"_ZTS13Renaming_type", !7, i64 0}
!27 = !{!28, !28, i64 0}
!28 = !{!"_ZTS14Scheduler_type", !7, i64 0}
!29 = !{!7, !7, i64 0}
!30 = !{!31, !10, i64 10400}
!31 = !{!"_ZTS8Pipeline", !32, i64 0, !37, i64 1352, !48, i64 1720, !50, i64 9920, !10, i64 10400, !12, i64 10404, !12, i64 10405, !19, i64 10408, !12, i64 10416, !19, i64 10424, !19, i64 10432, !19, i64 10440}
!32 = !{!"_ZTS14McPATComponent", !33, i64 8, !6, i64 288, !37, i64 296, !38, i64 664, !19, i64 696, !41, i64 704, !45, i64 728, !46, i64 776, !46, i64 944, !35, i64 1112, !35, i64 1232}
!33 = !{!"_ZTS9Component", !34, i64 0, !35, i64 24, !35, i64 144, !19, i64 264, !19, i64 272}
!34 = !{!"_ZTS4Area", !19, i64 0, !19, i64 8, !19, i64 16}
!35 = !{!"_ZTS8powerDef", !36, i64 0, !36, i64 40, !36, i64 80}
!36 = !{!"_ZTS15powerComponents", !19, i64 0, !19, i64 8, !19, i64 16, !19, i64 24, !19, i64 32}
!37 = !{!"_ZTS14InputParameter", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !17, i64 16, !12, i64 20, !17, i64 24, !17, i64 28, !17, i64 32, !17, i64 36, !17, i64 40, !17, i64 44, !19, i64 48, !19, i64 56, !17, i64 64, !17, i64 68, !17, i64 72, !17, i64 76, !17, i64 80, !12, i64 84, !12, i64 85, !12, i64 86, !12, i64 87, !12, i64 88, !17, i64 92, !17, i64 96, !17, i64 100, !17, i64 104, !17, i64 108, !17, i64 112, !17, i64 116, !17, i64 120, !17, i64 124, !17, i64 128, !17, i64 132, !17, i64 136, !17, i64 140, !17, i64 144, !17, i64 148, !21, i64 152, !17, i64 156, !12, i64 160, !17, i64 164, !17, i64 168, !17, i64 172, !17, i64 176, !17, i64 180, !17, i64 184, !17, i64 188, !12, i64 192, !17, i64 196, !17, i64 200, !17, i64 204, !17, i64 208, !17, i64 212, !17, i64 216, !17, i64 220, !17, i64 224, !17, i64 228, !17, i64 232, !17, i64 236, !17, i64 240, !17, i64 244, !17, i64 248, !17, i64 252, !17, i64 256, !17, i64 260, !17, i64 264, !17, i64 268, !17, i64 272, !17, i64 276, !17, i64 280, !17, i64 284, !17, i64 288, !17, i64 292, !17, i64 296, !12, i64 300, !17, i64 304, !17, i64 308, !17, i64 312, !12, i64 316, !12, i64 317, !17, i64 320, !17, i64 324, !12, i64 328, !19, i64 336, !19, i64 344, !12, i64 352, !17, i64 356, !17, i64 360, !12, i64 364}
!38 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !39, i64 0, !40, i64 8, !7, i64 16}
!39 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!40 = !{!"long", !7, i64 0}
!41 = !{!"_ZTSSt6vectorIP14McPATComponentSaIS1_EE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseIP14McPATComponentSaIS1_EE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!45 = !{!"_ZTS11McPATOutput", !19, i64 0, !19, i64 8, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40}
!46 = !{!"_ZTS8statsDef", !47, i64 0, !47, i64 24, !47, i64 48, !47, i64 72, !47, i64 96, !47, i64 120, !47, i64 144}
!47 = !{!"_ZTS15statsComponents", !19, i64 0, !19, i64 8, !19, i64 16}
!48 = !{!"_ZTS9uca_org_t", !6, i64 0, !6, i64 8, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !35, i64 48, !19, i64 168, !19, i64 176, !19, i64 184, !7, i64 192, !19, i64 296, !12, i64 304, !49, i64 312, !49, i64 4256}
!49 = !{!"_ZTS17results_mem_array", !17, i64 0, !17, i64 4, !19, i64 8, !17, i64 16, !17, i64 20, !17, i64 24, !17, i64 28, !17, i64 32, !17, i64 36, !19, i64 40, !19, i64 48, !19, i64 56, !19, i64 64, !19, i64 72, !19, i64 80, !19, i64 88, !19, i64 96, !19, i64 104, !19, i64 112, !19, i64 120, !19, i64 128, !19, i64 136, !19, i64 144, !19, i64 152, !19, i64 160, !19, i64 168, !19, i64 176, !19, i64 184, !19, i64 192, !19, i64 200, !19, i64 208, !19, i64 216, !19, i64 224, !19, i64 232, !19, i64 240, !19, i64 248, !19, i64 256, !19, i64 264, !35, i64 272, !35, i64 392, !35, i64 512, !35, i64 632, !35, i64 752, !35, i64 872, !35, i64 992, !35, i64 1112, !35, i64 1232, !35, i64 1352, !35, i64 1472, !35, i64 1592, !35, i64 1712, !35, i64 1832, !35, i64 1952, !35, i64 2072, !35, i64 2192, !35, i64 2312, !35, i64 2432, !35, i64 2552, !35, i64 2672, !35, i64 2792, !35, i64 2912, !35, i64 3032, !35, i64 3152, !35, i64 3272, !35, i64 3392, !35, i64 3512, !35, i64 3632, !19, i64 3752, !19, i64 3760, !19, i64 3768, !19, i64 3776, !19, i64 3784, !19, i64 3792, !19, i64 3800, !19, i64 3808, !19, i64 3816, !19, i64 3824, !19, i64 3832, !19, i64 3840, !19, i64 3848, !19, i64 3856, !19, i64 3864, !19, i64 3872, !19, i64 3880, !19, i64 3888, !19, i64 3896, !19, i64 3904, !19, i64 3912, !19, i64 3920, !19, i64 3928, !19, i64 3936}
!50 = !{!"_ZTS14CoreParameters", !12, i64 0, !12, i64 1, !12, i64 2, !24, i64 4, !26, i64 8, !28, i64 12, !19, i64 16, !17, i64 24, !17, i64 28, !17, i64 32, !17, i64 36, !17, i64 40, !17, i64 44, !17, i64 48, !17, i64 52, !17, i64 56, !17, i64 60, !17, i64 64, !17, i64 68, !17, i64 72, !17, i64 76, !17, i64 80, !17, i64 84, !17, i64 88, !17, i64 92, !17, i64 96, !17, i64 100, !17, i64 104, !17, i64 108, !17, i64 112, !17, i64 116, !17, i64 120, !17, i64 124, !17, i64 128, !17, i64 132, !17, i64 136, !17, i64 140, !17, i64 144, !17, i64 148, !19, i64 152, !17, i64 160, !17, i64 164, !17, i64 168, !17, i64 172, !12, i64 176, !12, i64 177, !7, i64 184, !17, i64 216, !17, i64 220, !17, i64 224, !17, i64 228, !17, i64 232, !17, i64 236, !17, i64 240, !19, i64 248, !19, i64 256, !17, i64 264, !17, i64 268, !17, i64 272, !17, i64 276, !17, i64 280, !17, i64 284, !17, i64 288, !17, i64 292, !17, i64 296, !17, i64 300, !17, i64 304, !17, i64 308, !17, i64 312, !17, i64 316, !17, i64 320, !17, i64 324, !17, i64 328, !17, i64 332, !17, i64 336, !17, i64 340, !17, i64 344, !17, i64 348, !17, i64 352, !17, i64 356, !17, i64 360, !17, i64 364, !17, i64 368, !17, i64 372, !17, i64 376, !17, i64 380, !17, i64 384, !17, i64 388, !17, i64 392, !17, i64 396, !17, i64 400, !17, i64 404, !17, i64 408, !17, i64 412, !17, i64 416, !17, i64 420, !21, i64 424, !21, i64 428, !17, i64 432, !19, i64 440, !19, i64 448, !17, i64 456, !19, i64 464, !19, i64 472}
!51 = !{i8 0, i8 2}
!52 = !{}
!53 = !{!31, !12, i64 10404}
!54 = !{!31, !12, i64 10405}
!55 = !{!31, !19, i64 10408}
!56 = !{!31, !12, i64 9922}
!57 = !{!31, !12, i64 10416}
!58 = !{!31, !19, i64 1408}
!59 = !{!60, !19, i64 8}
!60 = !{!"_ZTS19TechnologyParameter", !19, i64 0, !19, i64 8, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !19, i64 48, !19, i64 56, !19, i64 64, !19, i64 72, !19, i64 80, !19, i64 88, !19, i64 96, !19, i64 104, !19, i64 112, !19, i64 120, !19, i64 128, !19, i64 136, !19, i64 144, !19, i64 152, !19, i64 160, !19, i64 168, !19, i64 176, !19, i64 184, !19, i64 192, !19, i64 200, !19, i64 208, !19, i64 216, !19, i64 224, !19, i64 232, !19, i64 240, !19, i64 248, !19, i64 256, !19, i64 264, !19, i64 272, !19, i64 280, !19, i64 288, !19, i64 296, !19, i64 304, !19, i64 312, !19, i64 320, !19, i64 328, !19, i64 336, !19, i64 344, !40, i64 352, !61, i64 360, !61, i64 528, !61, i64 696, !61, i64 864, !61, i64 1032, !62, i64 1200, !62, i64 1264, !62, i64 1328, !63, i64 1392, !64, i64 1416, !64, i64 1464, !64, i64 1512}
!61 = !{!"_ZTSN19TechnologyParameter10DeviceTypeE", !19, i64 0, !19, i64 8, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !19, i64 48, !19, i64 56, !19, i64 64, !19, i64 72, !19, i64 80, !19, i64 88, !19, i64 96, !19, i64 104, !19, i64 112, !19, i64 120, !19, i64 128, !19, i64 136, !19, i64 144, !19, i64 152, !19, i64 160}
!62 = !{!"_ZTSN19TechnologyParameter16InterconnectTypeE", !19, i64 0, !19, i64 8, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !19, i64 48, !19, i64 56}
!63 = !{!"_ZTSN19TechnologyParameter13ScalingFactorE", !19, i64 0, !19, i64 8, !19, i64 16}
!64 = !{!"_ZTSN19TechnologyParameter10MemoryTypeE", !19, i64 0, !19, i64 8, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40}
!65 = !{!31, !19, i64 10424}
!66 = !{!31, !19, i64 10432}
!67 = !{!31, !19, i64 10440}


; 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 }

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

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

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

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) #1

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

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 #0

; 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 #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8PipelineC2EP7XMLNodePK14InputParameterRK14CoreParameters9Device_tybb(ptr noundef nonnull align 8 dereferenceable(10448) %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef nonnull readonly align 8 dereferenceable(480) %3, i32 noundef %4, i1 noundef zeroext %5, i1 noundef zeroext %6) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %8 = 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 @_ZTV8Pipeline, i64 16), ptr %0, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 1352
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(368) %9, ptr noundef nonnull align 8 dereferenceable(368) %2, i64 368, i1 false), !tbaa.struct !8
  %10 = getelementptr inbounds i8, ptr %0, i64 1720
  invoke void @_ZN9uca_org_tC1Ev(ptr noundef nonnull align 8 dereferenceable(8200) %10)
          to label %11 unwind label %29

11:                                               ; preds = %7
  %12 = zext i1 %6 to i8
  %13 = zext i1 %5 to i8
  %14 = getelementptr inbounds i8, ptr %0, i64 9920
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(480) %14, ptr noundef nonnull align 8 dereferenceable(480) %3, i64 480, i1 false), !tbaa.struct !18
  %15 = getelementptr inbounds i8, ptr %0, i64 10400
  store i32 %4, ptr %15, align 8, !tbaa !26
  %16 = getelementptr inbounds i8, ptr %0, i64 10404
  store i8 %13, ptr %16, align 4, !tbaa !49
  %17 = getelementptr inbounds i8, ptr %0, i64 10405
  store i8 %12, ptr %17, align 1, !tbaa !50
  %18 = getelementptr inbounds i8, ptr %0, i64 10408
  store double 0.000000e+00, ptr %18, align 8, !tbaa !51
  %19 = getelementptr inbounds i8, ptr %0, i64 664
  %20 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str)
          to label %21 unwind label %31

21:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 8200, ptr nonnull %8) #7
  invoke void @_Z14init_interfaceP14InputParameterRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr dead_on_unwind nonnull writable sret(%class.uca_org_t) align 8 %8, ptr noundef nonnull %9, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %22 unwind label %33

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

24:                                               ; preds = %22
  call void @_ZN9uca_org_tD2Ev(ptr noundef nonnull align 8 dereferenceable(8200) %8) #7
  call void @llvm.lifetime.end.p0(i64 8200, ptr nonnull %8) #7
  %25 = getelementptr inbounds i8, ptr %0, i64 9922
  %26 = load i8, ptr %25, align 2, !tbaa !52, !range !53, !noundef !54
  %27 = trunc nuw i8 %26 to i1
  %28 = getelementptr inbounds i8, ptr %0, i64 10416
  br i1 %27, label %44, label %38

29:                                               ; preds = %7
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %61

31:                                               ; preds = %56, %50, %44, %11
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %60

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

35:                                               ; preds = %22
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN9uca_org_tD2Ev(ptr noundef nonnull align 8 dereferenceable(8200) %8) #7
  br label %37

37:                                               ; preds = %35, %33
  %.pn = phi { ptr, i32 } [ %36, %35 ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 8200, ptr nonnull %8) #7
  br label %60

38:                                               ; preds = %24
  %39 = getelementptr inbounds i8, ptr %0, i64 1408
  store i8 1, ptr %28, align 8
  %40 = load double, ptr %39, align 8
  %41 = fmul double %40, 2.500000e+01
  %42 = getelementptr inbounds i8, ptr %0, i64 10424
  store double %41, ptr %42, align 8, !tbaa !55
  %43 = fmul double %40, 3.750000e+01
  br label %50

44:                                               ; preds = %24
  store i8 0, ptr %28, align 8
  %45 = load double, ptr getelementptr inbounds (i8, ptr @g_tp, i64 8), align 8
  %46 = getelementptr inbounds i8, ptr %0, i64 10424
  store double %45, ptr %46, align 8, !tbaa !55
  %47 = invoke noundef double @_Z21pmos_to_nmos_sz_ratiobb(i1 noundef zeroext false, i1 noundef zeroext false)
          to label %48 unwind label %31

48:                                               ; preds = %44
  %49 = fmul double %45, %47
  %.pre = load double, ptr %46, align 8, !tbaa !55
  br label %50

50:                                               ; preds = %48, %38
  %51 = phi double [ %41, %38 ], [ %.pre, %48 ]
  %52 = phi double [ %43, %38 ], [ %49, %48 ]
  %53 = getelementptr inbounds i8, ptr %0, i64 10432
  store double %52, ptr %53, align 8, !tbaa !56
  %54 = fadd double %52, %51
  %55 = invoke noundef double @_Z6gate_Cddbbb(double noundef %54, double noundef 0.000000e+00, i1 noundef zeroext false, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %56 unwind label %31

56:                                               ; preds = %50
  %57 = fmul double %55, 2.000000e+00
  %58 = getelementptr inbounds i8, ptr %0, i64 10440
  store double %57, ptr %58, align 8, !tbaa !57
  invoke void @_ZN8Pipeline7computeEv(ptr noundef nonnull align 8 dereferenceable(10448) %0)
          to label %59 unwind label %31

59:                                               ; preds = %56
  ret void

60:                                               ; preds = %37, %31
  %.pn12 = phi { ptr, i32 } [ %32, %31 ], [ %.pn, %37 ]
  call void @_ZN9uca_org_tD2Ev(ptr noundef nonnull align 8 dereferenceable(8200) %10) #7
  br label %61

61:                                               ; preds = %60, %29
  %.pn12.pn = phi { ptr, i32 } [ %.pn12, %60 ], [ %30, %29 ]
  call void @_ZN14McPATComponentD2Ev(ptr noundef nonnull align 8 dereferenceable(1352) %0) #7
  resume { ptr, i32 } %.pn12.pn
}

; 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 #6 align 2

declare noundef double @_Z21pmos_to_nmos_sz_ratiobb(i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8Pipeline7computeEv(ptr noundef nonnull align 8 dereferenceable(10448)) local_unnamed_addr #6 align 2

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 nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{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, !12, 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, !14, i64 56, i64 8, !14, 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, !12, i64 85, i64 1, !12, i64 86, i64 1, !12, i64 87, i64 1, !12, i64 88, i64 1, !12, 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, !16, i64 156, i64 4, !9, i64 160, i64 1, !12, 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, !12, 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, !12, i64 304, i64 4, !9, i64 308, i64 4, !9, i64 312, i64 4, !9, i64 316, i64 1, !12, i64 317, i64 1, !12, i64 320, i64 4, !9, i64 324, i64 4, !9, i64 328, i64 1, !12, i64 336, i64 8, !14, i64 344, i64 8, !14, i64 352, i64 1, !12, i64 356, i64 4, !9, i64 360, i64 4, !9, i64 364, i64 1, !12}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"bool", !11, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !11, i64 0}
!16 = !{!17, !17, i64 0}
!17 = !{!"_ZTS9Wire_type", !11, i64 0}
!18 = !{i64 0, i64 1, !12, i64 1, i64 1, !12, i64 2, i64 1, !12, i64 4, i64 4, !19, i64 8, i64 4, !21, i64 12, i64 4, !23, i64 16, i64 8, !14, 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 4, !9, i64 52, i64 4, !9, i64 56, i64 4, !9, i64 60, i64 4, !9, 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 4, !9, i64 88, i64 4, !9, 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 8, !14, i64 160, i64 4, !9, i64 164, i64 4, !9, i64 168, i64 4, !9, i64 172, i64 4, !9, i64 176, i64 1, !12, i64 177, i64 1, !12, i64 184, i64 32, !25, 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 248, i64 8, !14, i64 256, i64 8, !14, 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 4, !9, i64 304, i64 4, !9, i64 308, i64 4, !9, i64 312, i64 4, !9, i64 316, i64 4, !9, i64 320, i64 4, !9, i64 324, i64 4, !9, i64 328, i64 4, !9, i64 332, i64 4, !9, i64 336, i64 4, !9, i64 340, i64 4, !9, i64 344, i64 4, !9, i64 348, i64 4, !9, i64 352, i64 4, !9, i64 356, i64 4, !9, i64 360, i64 4, !9, i64 364, i64 4, !9, i64 368, i64 4, !9, i64 372, i64 4, !9, i64 376, i64 4, !9, i64 380, i64 4, !9, i64 384, i64 4, !9, i64 388, i64 4, !9, i64 392, i64 4, !9, i64 396, i64 4, !9, i64 400, i64 4, !9, i64 404, i64 4, !9, i64 408, i64 4, !9, i64 412, i64 4, !9, i64 416, i64 4, !9, i64 420, i64 4, !9, i64 424, i64 4, !16, i64 428, i64 4, !16, i64 432, i64 4, !9, i64 440, i64 8, !14, i64 448, i64 8, !14, i64 456, i64 4, !9, i64 464, i64 8, !14, i64 472, i64 8, !14}
!19 = !{!20, !20, i64 0}
!20 = !{!"_ZTS9Core_type", !11, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"_ZTS13Renaming_type", !11, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"_ZTS14Scheduler_type", !11, i64 0}
!25 = !{!11, !11, i64 0}
!26 = !{!27, !48, i64 10400}
!27 = !{!"_ZTS8Pipeline", !28, i64 0, !34, i64 1352, !45, i64 1720, !47, i64 9920, !48, i64 10400, !13, i64 10404, !13, i64 10405, !15, i64 10408, !13, i64 10416, !15, i64 10424, !15, i64 10432, !15, i64 10440}
!28 = !{!"_ZTS14McPATComponent", !29, i64 8, !33, i64 288, !34, i64 296, !35, i64 664, !15, i64 696, !38, i64 704, !42, i64 728, !43, i64 776, !43, i64 944, !31, i64 1112, !31, i64 1232}
!29 = !{!"_ZTS9Component", !30, i64 0, !31, i64 24, !31, i64 144, !15, i64 264, !15, i64 272}
!30 = !{!"_ZTS4Area", !15, i64 0, !15, i64 8, !15, i64 16}
!31 = !{!"_ZTS8powerDef", !32, i64 0, !32, i64 40, !32, i64 80}
!32 = !{!"_ZTS15powerComponents", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32}
!33 = !{!"any pointer", !11, i64 0}
!34 = !{!"_ZTS14InputParameter", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !13, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !15, i64 48, !15, i64 56, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !13, i64 84, !13, i64 85, !13, i64 86, !13, i64 87, !13, 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, !17, i64 152, !10, i64 156, !13, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !13, 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, !13, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !13, i64 316, !13, i64 317, !10, i64 320, !10, i64 324, !13, i64 328, !15, i64 336, !15, i64 344, !13, i64 352, !10, i64 356, !10, i64 360, !13, i64 364}
!35 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !36, i64 0, !37, i64 8, !11, i64 16}
!36 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !33, i64 0}
!37 = !{!"long", !11, i64 0}
!38 = !{!"_ZTSSt6vectorIP14McPATComponentSaIS1_EE", !39, i64 0}
!39 = !{!"_ZTSSt12_Vector_baseIP14McPATComponentSaIS1_EE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE12_Vector_implE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIP14McPATComponentSaIS1_EE17_Vector_impl_dataE", !33, i64 0, !33, i64 8, !33, i64 16}
!42 = !{!"_ZTS11McPATOutput", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40}
!43 = !{!"_ZTS8statsDef", !44, i64 0, !44, i64 24, !44, i64 48, !44, i64 72, !44, i64 96, !44, i64 120, !44, i64 144}
!44 = !{!"_ZTS15statsComponents", !15, i64 0, !15, i64 8, !15, i64 16}
!45 = !{!"_ZTS9uca_org_t", !33, i64 0, !33, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !31, i64 48, !15, i64 168, !15, i64 176, !15, i64 184, !11, i64 192, !15, i64 296, !13, i64 304, !46, i64 312, !46, i64 4256}
!46 = !{!"_ZTS17results_mem_array", !10, i64 0, !10, i64 4, !15, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64, !15, i64 72, !15, i64 80, !15, i64 88, !15, i64 96, !15, i64 104, !15, i64 112, !15, i64 120, !15, i64 128, !15, i64 136, !15, i64 144, !15, i64 152, !15, i64 160, !15, i64 168, !15, i64 176, !15, i64 184, !15, i64 192, !15, i64 200, !15, i64 208, !15, i64 216, !15, i64 224, !15, i64 232, !15, i64 240, !15, i64 248, !15, i64 256, !15, i64 264, !31, i64 272, !31, i64 392, !31, i64 512, !31, i64 632, !31, i64 752, !31, i64 872, !31, i64 992, !31, i64 1112, !31, i64 1232, !31, i64 1352, !31, i64 1472, !31, i64 1592, !31, i64 1712, !31, i64 1832, !31, i64 1952, !31, i64 2072, !31, i64 2192, !31, i64 2312, !31, i64 2432, !31, i64 2552, !31, i64 2672, !31, i64 2792, !31, i64 2912, !31, i64 3032, !31, i64 3152, !31, i64 3272, !31, i64 3392, !31, i64 3512, !31, i64 3632, !15, i64 3752, !15, i64 3760, !15, i64 3768, !15, i64 3776, !15, i64 3784, !15, i64 3792, !15, i64 3800, !15, i64 3808, !15, i64 3816, !15, i64 3824, !15, i64 3832, !15, i64 3840, !15, i64 3848, !15, i64 3856, !15, i64 3864, !15, i64 3872, !15, i64 3880, !15, i64 3888, !15, i64 3896, !15, i64 3904, !15, i64 3912, !15, i64 3920, !15, i64 3928, !15, i64 3936}
!47 = !{!"_ZTS14CoreParameters", !13, i64 0, !13, i64 1, !13, i64 2, !20, i64 4, !22, i64 8, !24, i64 12, !15, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, 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, !15, i64 152, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !13, i64 176, !13, i64 177, !11, i64 184, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !15, i64 248, !15, i64 256, !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, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !10, i64 380, !10, i64 384, !10, i64 388, !10, i64 392, !10, i64 396, !10, i64 400, !10, i64 404, !10, i64 408, !10, i64 412, !10, i64 416, !10, i64 420, !17, i64 424, !17, i64 428, !10, i64 432, !15, i64 440, !15, i64 448, !10, i64 456, !15, i64 464, !15, i64 472}
!48 = !{!"_ZTS9Device_ty", !11, i64 0}
!49 = !{!27, !13, i64 10404}
!50 = !{!27, !13, i64 10405}
!51 = !{!27, !15, i64 10408}
!52 = !{!27, !13, i64 9922}
!53 = !{i8 0, i8 2}
!54 = !{}
!55 = !{!27, !15, i64 10424}
!56 = !{!27, !15, i64 10432}
!57 = !{!27, !15, i64 10440}


; Effective O3 passes: ADCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass