; LLVM IR from NervanaSystems/ngraph :: src/tools/nbench (benchmark_utils)

; 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.ngraph::element::Type" = type { i32 }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }

@.str = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt13runtime_error = external constant ptr

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorIcEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i8 noundef signext, i8 noundef signext) #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorIaEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i8 noundef signext, i8 noundef signext) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorIhEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z11random_initSt10shared_ptrIN6ngraph7runtime6TensorEE(ptr noundef %0) #0 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.ngraph::element::Type", align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::shared_ptr", align 8
  %7 = alloca %"class.std::shared_ptr", align 8
  %8 = alloca %"class.std::shared_ptr", align 8
  %9 = alloca %"class.std::shared_ptr", align 8
  %10 = alloca %"class.std::shared_ptr", align 8
  %11 = alloca %"class.std::shared_ptr", align 8
  %12 = alloca %"class.std::shared_ptr", align 8
  %13 = alloca %"class.std::shared_ptr", align 8
  %14 = alloca %"class.std::shared_ptr", align 8
  %15 = alloca %"class.std::shared_ptr", align 8
  %16 = alloca %"class.std::shared_ptr", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  %17 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %0) #6
  %18 = load ptr, ptr %17, align 8, !tbaa !9
  %19 = getelementptr inbounds ptr, ptr %18, i64 4
  %20 = load ptr, ptr %19, align 8
  %21 = call noundef nonnull align 4 dereferenceable(4) ptr %20(ptr noundef nonnull align 8 dereferenceable(64) %17)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 %21, i64 4, i1 false), !tbaa.struct !11
  %22 = invoke noundef i32 @_ZNK6ngraph7element4TypecvNS0_6Type_tEEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %23 unwind label %24

23:                                               ; preds = %1
  switch i32 %22, label %95 [
    i32 2, label %28
    i32 5, label %34
    i32 6, label %40
    i32 7, label %46
    i32 8, label %52
    i32 9, label %58
    i32 10, label %64
    i32 12, label %70
    i32 13, label %76
    i32 14, label %82
    i32 15, label %88
    i32 0, label %94
    i32 1, label %94
    i32 11, label %94
    i32 3, label %94
    i32 4, label %94
  ]

24:                                               ; preds = %97, %1
  %25 = landingpad { ptr, i32 }
          cleanup
  %26 = extractvalue { ptr, i32 } %25, 0
  store ptr %26, ptr %4, align 8
  %27 = extractvalue { ptr, i32 } %25, 1
  store i32 %27, ptr %5, align 4
  br label %103

28:                                               ; preds = %23
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  invoke void @_Z15init_int_tensorIcEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef %6, i8 noundef signext 0, i8 noundef signext 1)
          to label %29 unwind label %30

29:                                               ; preds = %28
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  br label %102

30:                                               ; preds = %28
  %31 = landingpad { ptr, i32 }
          cleanup
  %32 = extractvalue { ptr, i32 } %31, 0
  store ptr %32, ptr %4, align 8
  %33 = extractvalue { ptr, i32 } %31, 1
  store i32 %33, ptr %5, align 4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #6
  br label %103

34:                                               ; preds = %23
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  invoke void @_Z16init_real_tensorIfEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef %7, float noundef -1.000000e+00, float noundef 1.000000e+00)
          to label %35 unwind label %36

35:                                               ; preds = %34
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br label %102

36:                                               ; preds = %34
  %37 = landingpad { ptr, i32 }
          cleanup
  %38 = extractvalue { ptr, i32 } %37, 0
  store ptr %38, ptr %4, align 8
  %39 = extractvalue { ptr, i32 } %37, 1
  store i32 %39, ptr %5, align 4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  br label %103

40:                                               ; preds = %23
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  invoke void @_Z16init_real_tensorIdEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef %8, double noundef -1.000000e+00, double noundef 1.000000e+00)
          to label %41 unwind label %42

41:                                               ; preds = %40
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  br label %102

42:                                               ; preds = %40
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %4, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %5, align 4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  br label %103

46:                                               ; preds = %23
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  invoke void @_Z15init_int_tensorIaEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef %9, i8 noundef signext -1, i8 noundef signext 1)
          to label %47 unwind label %48

47:                                               ; preds = %46
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  br label %102

48:                                               ; preds = %46
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %4, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %5, align 4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #6
  br label %103

52:                                               ; preds = %23
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  invoke void @_Z15init_int_tensorIsEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef %10, i16 noundef signext -1, i16 noundef signext 1)
          to label %53 unwind label %54

53:                                               ; preds = %52
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  br label %102

54:                                               ; preds = %52
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %4, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %5, align 4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  br label %103

58:                                               ; preds = %23
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  invoke void @_Z15init_int_tensorIiEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef %11, i32 noundef 0, i32 noundef 1)
          to label %59 unwind label %60

59:                                               ; preds = %58
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  br label %102

60:                                               ; preds = %58
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %4, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %5, align 4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #6
  br label %103

64:                                               ; preds = %23
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  invoke void @_Z15init_int_tensorIlEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef %12, i64 noundef 0, i64 noundef 1)
          to label %65 unwind label %66

65:                                               ; preds = %64
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  br label %102

66:                                               ; preds = %64
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %4, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %5, align 4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #6
  br label %103

70:                                               ; preds = %23
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  invoke void @_Z15init_int_tensorIhEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef %13, i8 noundef zeroext 0, i8 noundef zeroext 1)
          to label %71 unwind label %72

71:                                               ; preds = %70
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  br label %102

72:                                               ; preds = %70
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  store ptr %74, ptr %4, align 8
  %75 = extractvalue { ptr, i32 } %73, 1
  store i32 %75, ptr %5, align 4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #6
  br label %103

76:                                               ; preds = %23
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  invoke void @_Z15init_int_tensorItEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef %14, i16 noundef zeroext 0, i16 noundef zeroext 1)
          to label %77 unwind label %78

77:                                               ; preds = %76
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  br label %102

78:                                               ; preds = %76
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %4, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %5, align 4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  br label %103

82:                                               ; preds = %23
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  invoke void @_Z15init_int_tensorIjEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef %15, i32 noundef 0, i32 noundef 1)
          to label %83 unwind label %84

83:                                               ; preds = %82
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  br label %102

84:                                               ; preds = %82
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %4, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %5, align 4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #6
  br label %103

88:                                               ; preds = %23
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %0) #6
  invoke void @_Z15init_int_tensorImEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef %16, i64 noundef 0, i64 noundef 1)
          to label %89 unwind label %90

89:                                               ; preds = %88
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  br label %102

90:                                               ; preds = %88
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %4, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %5, align 4
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #6
  br label %103

94:                                               ; preds = %23, %23, %23, %23, %23
  br label %95

95:                                               ; preds = %94, %23
  %96 = call ptr @__cxa_allocate_exception(i64 16) #6
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %96, ptr noundef @.str)
          to label %97 unwind label %98

97:                                               ; preds = %95
  invoke void @__cxa_throw(ptr %96, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #7
          to label %109 unwind label %24

98:                                               ; preds = %95
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %4, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %5, align 4
  call void @__cxa_free_exception(ptr %96) #6
  br label %103

102:                                              ; preds = %89, %83, %77, %71, %65, %59, %53, %47, %41, %35, %29
  call void @_ZN6ngraph7element4TypeD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  ret void

103:                                              ; preds = %98, %90, %84, %78, %72, %66, %60, %54, %48, %42, %36, %30, %24
  call void @_ZN6ngraph7element4TypeD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %104

104:                                              ; preds = %103
  %105 = load ptr, ptr %4, align 8
  %106 = load i32, ptr %5, align 4
  %107 = insertvalue { ptr, i32 } poison, ptr %105, 0
  %108 = insertvalue { ptr, i32 } %107, i32 %106, 1
  resume { ptr, i32 } %108

109:                                              ; preds = %97
  unreachable
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6ngraph7element4TypecvNS0_6Type_tEEv(ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z16init_real_tensorIfEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, float noundef, float noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z16init_real_tensorIdEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, double noundef, double noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorIsEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i16 noundef signext, i16 noundef signext) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorIiEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorIlEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i64 noundef, i64 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorItEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i16 noundef zeroext, i16 noundef zeroext) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorIjEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorImEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i64 noundef, i64 noundef) #0

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #4

declare void @__cxa_free_exception(ptr)

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

declare void @__cxa_throw(ptr, ptr, ptr)

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

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 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "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 = { nounwind }
attributes #7 = { noreturn }

!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 = !{!"vtable pointer", !8, i64 0}
!11 = !{i64 0, i64 4, !12}
!12 = !{!13, !13, i64 0}
!13 = !{!"_ZTSN6ngraph7element6Type_tE", !7, i64 0}


; 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.ngraph::element::Type" = type { i32 }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }

@.str = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt13runtime_error = external constant ptr

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorIcEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i8 noundef signext, i8 noundef signext) local_unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorIaEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i8 noundef signext, i8 noundef signext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorIhEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z11random_initSt10shared_ptrIN6ngraph7runtime6TensorEE(ptr noundef nonnull %0) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.ngraph::element::Type", align 4
  %3 = alloca %"class.std::shared_ptr", align 8
  %4 = alloca %"class.std::shared_ptr", align 8
  %5 = alloca %"class.std::shared_ptr", align 8
  %6 = alloca %"class.std::shared_ptr", align 8
  %7 = alloca %"class.std::shared_ptr", align 8
  %8 = alloca %"class.std::shared_ptr", align 8
  %9 = alloca %"class.std::shared_ptr", align 8
  %10 = alloca %"class.std::shared_ptr", align 8
  %11 = alloca %"class.std::shared_ptr", align 8
  %12 = alloca %"class.std::shared_ptr", align 8
  %13 = alloca %"class.std::shared_ptr", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  %14 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %0) #5
  %15 = load ptr, ptr %14, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %15, i64 32
  %17 = load ptr, ptr %16, align 8
  %18 = tail call noundef nonnull align 4 dereferenceable(4) ptr %17(ptr noundef nonnull align 8 dereferenceable(64) %14)
  %19 = load i32, ptr %18, align 4, !tbaa !8
  store i32 %19, ptr %2, align 4, !tbaa !8
  %20 = call noundef i32 @_ZNK6ngraph7element4TypecvNS0_6Type_tEEv(ptr noundef nonnull align 4 dereferenceable(4) %2)
  switch i32 %20, label %56 [
    i32 2, label %23
    i32 5, label %26
    i32 6, label %29
    i32 7, label %32
    i32 8, label %35
    i32 9, label %38
    i32 10, label %41
    i32 12, label %44
    i32 13, label %47
    i32 14, label %50
    i32 15, label %53
  ]

21:                                               ; preds = %58
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %62

23:                                               ; preds = %1
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  invoke void @_Z15init_int_tensorIcEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef nonnull %3, i8 noundef signext 0, i8 noundef signext 1)
          to label %61 unwind label %24

24:                                               ; preds = %23
  %25 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #5
  br label %62

26:                                               ; preds = %1
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  invoke void @_Z16init_real_tensorIfEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef nonnull %4, float noundef -1.000000e+00, float noundef 1.000000e+00)
          to label %61 unwind label %27

27:                                               ; preds = %26
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #5
  br label %62

29:                                               ; preds = %1
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  invoke void @_Z16init_real_tensorIdEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef nonnull %5, double noundef -1.000000e+00, double noundef 1.000000e+00)
          to label %61 unwind label %30

30:                                               ; preds = %29
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %5) #5
  br label %62

32:                                               ; preds = %1
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  invoke void @_Z15init_int_tensorIaEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef nonnull %6, i8 noundef signext -1, i8 noundef signext 1)
          to label %61 unwind label %33

33:                                               ; preds = %32
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #5
  br label %62

35:                                               ; preds = %1
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  invoke void @_Z15init_int_tensorIsEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef nonnull %7, i16 noundef signext -1, i16 noundef signext 1)
          to label %61 unwind label %36

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

38:                                               ; preds = %1
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  invoke void @_Z15init_int_tensorIiEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef nonnull %8, i32 noundef 0, i32 noundef 1)
          to label %61 unwind label %39

39:                                               ; preds = %38
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #5
  br label %62

41:                                               ; preds = %1
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  invoke void @_Z15init_int_tensorIlEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef nonnull %9, i64 noundef 0, i64 noundef 1)
          to label %61 unwind label %42

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

44:                                               ; preds = %1
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  invoke void @_Z15init_int_tensorIhEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef nonnull %10, i8 noundef zeroext 0, i8 noundef zeroext 1)
          to label %61 unwind label %45

45:                                               ; preds = %44
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #5
  br label %62

47:                                               ; preds = %1
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  invoke void @_Z15init_int_tensorItEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef nonnull %11, i16 noundef zeroext 0, i16 noundef zeroext 1)
          to label %61 unwind label %48

48:                                               ; preds = %47
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #5
  br label %62

50:                                               ; preds = %1
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  invoke void @_Z15init_int_tensorIjEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef nonnull %12, i32 noundef 0, i32 noundef 1)
          to label %61 unwind label %51

51:                                               ; preds = %50
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #5
  br label %62

53:                                               ; preds = %1
  call void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %0) #5
  invoke void @_Z15init_int_tensorImEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef nonnull %13, i64 noundef 0, i64 noundef 1)
          to label %61 unwind label %54

54:                                               ; preds = %53
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #5
  br label %62

56:                                               ; preds = %1
  %57 = call ptr @__cxa_allocate_exception(i64 16) #5
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %57, ptr noundef nonnull @.str)
          to label %58 unwind label %59

58:                                               ; preds = %56
  invoke void @__cxa_throw(ptr nonnull %57, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #6
          to label %63 unwind label %21

59:                                               ; preds = %56
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %57) #5
  br label %62

61:                                               ; preds = %53, %50, %47, %44, %41, %38, %35, %32, %29, %26, %23
  %.sink = phi ptr [ %3, %23 ], [ %4, %26 ], [ %5, %29 ], [ %6, %32 ], [ %7, %35 ], [ %8, %38 ], [ %9, %41 ], [ %10, %44 ], [ %11, %47 ], [ %12, %50 ], [ %13, %53 ]
  call void @_ZNSt12__shared_ptrIN6ngraph7runtime6TensorELN9__gnu_cxx12_Lock_policyE2EED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %.sink) #5
  call void @_ZN6ngraph7element4TypeD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  ret void

62:                                               ; preds = %59, %54, %51, %48, %45, %42, %39, %36, %33, %30, %27, %24, %21
  %.pn = phi { ptr, i32 } [ %22, %21 ], [ %60, %59 ], [ %55, %54 ], [ %52, %51 ], [ %49, %48 ], [ %46, %45 ], [ %43, %42 ], [ %40, %39 ], [ %37, %36 ], [ %34, %33 ], [ %31, %30 ], [ %28, %27 ], [ %25, %24 ]
  call void @_ZN6ngraph7element4TypeD2Ev(ptr noundef nonnull align 4 dereferenceable(4) %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  resume { ptr, i32 } %.pn

63:                                               ; preds = %58
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6ngraph7element4TypecvNS0_6Type_tEEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10shared_ptrIN6ngraph7runtime6TensorEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z16init_real_tensorIfEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, float noundef, float noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z16init_real_tensorIdEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, double noundef, double noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorIsEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i16 noundef signext, i16 noundef signext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorIiEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorIlEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorItEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i16 noundef zeroext, i16 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorIjEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15init_int_tensorImEvSt10shared_ptrIN6ngraph7runtime6TensorEET_S5_(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #0

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #3

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

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 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "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 }
attributes #6 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"_ZTSN6ngraph7element6Type_tE", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}


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