; LLVM IR from ggml-org/ggml :: src/ggml-rpc (ggml-rpc)

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

%struct.ggml_init_params = type { i64, ptr, i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.6" }
%"struct.std::_Head_base.6" = type { ptr }
%struct.rpc_msg_set_tensor_hash_rsp = type { i8 }
%struct.ggml_tensor = type { i32, ptr, [4 x i64], [4 x i64], i32, [16 x i32], i32, [10 x ptr], ptr, i64, ptr, [64 x i8], ptr, [8 x i8] }
%struct.rpc_tensor = type <{ i64, i32, i64, [4 x i32], [4 x i32], i32, [16 x i32], i32, [10 x i64], i64, i64, i64, [64 x i8], [4 x i8] }>

@.str.3 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [33 x i8], align 1
@__func__._ZN10rpc_server15set_tensor_hashERKSt6vectorIhSaIhEER27rpc_msg_set_tensor_hash_rsp = external hidden unnamed_addr constant [16 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [108 x i8], align 1

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

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

; 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

declare i64 @ggml_tensor_overhead() #2

declare ptr @ggml_init(ptr noundef byval(%struct.ggml_init_params) align 8) #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneI12ggml_context20ggml_context_deleterEbRKSt10unique_ptrIT_T0_EDn(ptr noundef nonnull align 8 dereferenceable(8), ptr) #4

; Function Attrs: noreturn
declare void @ggml_abort(ptr noundef, i32 noundef, ptr noundef, ...) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN10rpc_server18deserialize_tensorEP12ggml_contextPK10rpc_tensor(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef, ptr noundef) #6 align 2

declare void @ggml_log_internal(i32 noundef, ptr noundef, ...) #2

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

declare ptr @ggml_backend_buffer_get_base(ptr noundef) #2

declare i64 @ggml_backend_buffer_get_size(ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

declare void @ggml_backend_tensor_set(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10rpc_server15get_cached_fileEmRSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(72), i64 noundef, ptr noundef nonnull align 8 dereferenceable(24)) #6 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN10rpc_server15set_tensor_hashERKSt6vectorIhSaIhEER27rpc_msg_set_tensor_hash_rsp(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 1 dereferenceable(1) %2) #6 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %16 = alloca %struct.ggml_init_params, align 8
  %17 = alloca %"class.std::unique_ptr", align 8
  %18 = alloca %struct.ggml_init_params, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %23 = load ptr, ptr %5, align 8
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %24) #7
  %26 = icmp ne i64 %25, 312
  br i1 %26, label %27, label %28

27:                                               ; preds = %3
  store i1 false, ptr %4, align 1
  br label %164

28:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = call noundef ptr @_ZNKSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  store ptr %30, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = call noundef ptr @_ZNKSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  %33 = getelementptr inbounds i8, ptr %32, i64 296
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 1 %33, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = call noundef ptr @_ZNKSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  %36 = getelementptr inbounds i8, ptr %35, i64 296
  %37 = getelementptr inbounds i8, ptr %36, i64 8
  store ptr %37, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #7
  call void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  %39 = load i64, ptr %38, align 8, !tbaa !9
  %40 = invoke noundef zeroext i1 @_ZN10rpc_server15get_cached_fileEmRSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(72) %23, i64 noundef %39, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %41 unwind label %45

41:                                               ; preds = %28
  br i1 %40, label %49, label %42

42:                                               ; preds = %41
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.rpc_msg_set_tensor_hash_rsp, ptr %43, i32 0, i32 0
  store i8 0, ptr %44, align 1, !tbaa !11
  store i1 true, ptr %4, align 1
  store i32 1, ptr %14, align 4
  br label %162

45:                                               ; preds = %28
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %12, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %13, align 4
  br label %163

49:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %50 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  store i64 %50, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #7
  %51 = getelementptr inbounds %struct.ggml_init_params, ptr %16, i32 0, i32 0
  %52 = invoke i64 @ggml_tensor_overhead()
          to label %53 unwind label %61

53:                                               ; preds = %49
  store i64 %52, ptr %51, align 8, !tbaa !13
  %54 = getelementptr inbounds %struct.ggml_init_params, ptr %16, i32 0, i32 1
  store ptr null, ptr %54, align 8, !tbaa !16
  %55 = getelementptr inbounds %struct.ggml_init_params, ptr %16, i32 0, i32 2
  store i8 1, ptr %55, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %18, ptr align 8 %16, i64 24, i1 false), !tbaa.struct !18
  %56 = invoke ptr @ggml_init(ptr noundef byval(%struct.ggml_init_params) align 8 %18)
          to label %57 unwind label %65

57:                                               ; preds = %53
  call void @_ZNSt10unique_ptrI12ggml_context20ggml_context_deleterEC2IS1_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef %56) #7
  %58 = call noundef zeroext i1 @_ZStneI12ggml_context20ggml_context_deleterEbRKSt10unique_ptrIT_T0_EDn(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr null) #7
  br i1 %58, label %73, label %59

59:                                               ; preds = %57
  invoke void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str.3, i32 noundef 1126, ptr noundef @.str.4, ptr noundef @.str.5) #8
          to label %60 unwind label %69

60:                                               ; preds = %59
  unreachable

61:                                               ; preds = %49
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %12, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %13, align 4
  br label %161

65:                                               ; preds = %53
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %12, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %13, align 4
  br label %160

69:                                               ; preds = %59
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %12, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %13, align 4
  br label %159

73:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %74 = call noundef ptr @_ZNKSt10unique_ptrI12ggml_context20ggml_context_deleterE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  store ptr %74, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %75 = load ptr, ptr %19, align 8, !tbaa !5
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = invoke noundef ptr @_ZN10rpc_server18deserialize_tensorEP12ggml_contextPK10rpc_tensor(ptr noundef nonnull align 8 dereferenceable(72) %23, ptr noundef %75, ptr noundef %76)
          to label %78 unwind label %83

78:                                               ; preds = %73
  store ptr %77, ptr %20, align 8, !tbaa !5
  %79 = load ptr, ptr %20, align 8, !tbaa !5
  %80 = icmp eq ptr %79, null
  br i1 %80, label %81, label %87

81:                                               ; preds = %78
  invoke void (i32, ptr, ...) @ggml_log_internal(i32 noundef 4, ptr noundef @.str.13, ptr noundef @__func__._ZN10rpc_server15set_tensor_hashERKSt6vectorIhSaIhEER27rpc_msg_set_tensor_hash_rsp)
          to label %82 unwind label %83

82:                                               ; preds = %81
  store i1 false, ptr %4, align 1
  store i32 1, ptr %14, align 4
  br label %157

83:                                               ; preds = %148, %81, %73
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %12, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %13, align 4
  br label %158

87:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %88 = load ptr, ptr %20, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.ggml_tensor, ptr %88, i32 0, i32 1
  %90 = load ptr, ptr %89, align 8, !tbaa !20
  %91 = invoke ptr @ggml_backend_buffer_get_base(ptr noundef %90)
          to label %92 unwind label %137

92:                                               ; preds = %87
  %93 = ptrtoint ptr %91 to i64
  store i64 %93, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %94 = load i64, ptr %21, align 8, !tbaa !9
  %95 = load ptr, ptr %20, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.ggml_tensor, ptr %95, i32 0, i32 1
  %97 = load ptr, ptr %96, align 8, !tbaa !20
  %98 = invoke i64 @ggml_backend_buffer_get_size(ptr noundef %97)
          to label %99 unwind label %141

99:                                               ; preds = %92
  %100 = add i64 %94, %98
  store i64 %100, ptr %22, align 8, !tbaa !9
  %101 = load ptr, ptr %8, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.rpc_tensor, ptr %101, i32 0, i32 11
  %103 = load i64, ptr %102, align 1, !tbaa !25
  %104 = load i64, ptr %9, align 8, !tbaa !9
  %105 = add i64 %103, %104
  %106 = load i64, ptr %21, align 8, !tbaa !9
  %107 = icmp ult i64 %105, %106
  br i1 %107, label %126, label %108

108:                                              ; preds = %99
  %109 = load ptr, ptr %8, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.rpc_tensor, ptr %109, i32 0, i32 11
  %111 = load i64, ptr %110, align 1, !tbaa !25
  %112 = load i64, ptr %9, align 8, !tbaa !9
  %113 = add i64 %111, %112
  %114 = load i64, ptr %22, align 8, !tbaa !9
  %115 = icmp uge i64 %113, %114
  br i1 %115, label %126, label %116

116:                                              ; preds = %108
  %117 = load i64, ptr %15, align 8, !tbaa !9
  %118 = load i64, ptr %22, align 8, !tbaa !9
  %119 = load ptr, ptr %8, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.rpc_tensor, ptr %119, i32 0, i32 11
  %121 = load i64, ptr %120, align 1, !tbaa !25
  %122 = sub i64 %118, %121
  %123 = load i64, ptr %9, align 8, !tbaa !9
  %124 = sub i64 %122, %123
  %125 = icmp ugt i64 %117, %124
  br i1 %125, label %126, label %145

126:                                              ; preds = %116, %108, %99
  %127 = load ptr, ptr %8, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.rpc_tensor, ptr %127, i32 0, i32 11
  %129 = load i64, ptr %128, align 1, !tbaa !25
  %130 = load i64, ptr %9, align 8, !tbaa !9
  %131 = load i64, ptr %15, align 8, !tbaa !9
  %132 = load ptr, ptr %10, align 8, !tbaa !5
  %133 = load i64, ptr %132, align 8, !tbaa !9
  %134 = load i64, ptr %21, align 8, !tbaa !9
  %135 = load i64, ptr %22, align 8, !tbaa !9
  invoke void (i32, ptr, ...) @ggml_log_internal(i32 noundef 4, ptr noundef @.str.17, ptr noundef @__func__._ZN10rpc_server15set_tensor_hashERKSt6vectorIhSaIhEER27rpc_msg_set_tensor_hash_rsp, i64 noundef %129, i64 noundef %130, i64 noundef %131, i64 noundef %133, i64 noundef %134, i64 noundef %135)
          to label %136 unwind label %141

136:                                              ; preds = %126
  store i1 false, ptr %4, align 1
  store i32 1, ptr %14, align 4
  br label %146

137:                                              ; preds = %87
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %12, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %13, align 4
  br label %156

141:                                              ; preds = %126, %92
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %12, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %156

145:                                              ; preds = %116
  store i32 0, ptr %14, align 4
  br label %146

146:                                              ; preds = %145, %136
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  %147 = load i32, ptr %14, align 4
  switch i32 %147, label %157 [
    i32 0, label %148
  ]

148:                                              ; preds = %146
  %149 = load ptr, ptr %20, align 8, !tbaa !5
  %150 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  %151 = load i64, ptr %9, align 8, !tbaa !9
  %152 = load i64, ptr %15, align 8, !tbaa !9
  invoke void @ggml_backend_tensor_set(ptr noundef %149, ptr noundef %150, i64 noundef %151, i64 noundef %152)
          to label %153 unwind label %83

153:                                              ; preds = %148
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.rpc_msg_set_tensor_hash_rsp, ptr %154, i32 0, i32 0
  store i8 1, ptr %155, align 1, !tbaa !11
  store i1 true, ptr %4, align 1
  store i32 1, ptr %14, align 4
  br label %157

156:                                              ; preds = %141, %137
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  br label %158

157:                                              ; preds = %153, %146, %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @_ZNSt10unique_ptrI12ggml_context20ggml_context_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %162

158:                                              ; preds = %156, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %159

159:                                              ; preds = %158, %69
  call void @_ZNSt10unique_ptrI12ggml_context20ggml_context_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  br label %160

160:                                              ; preds = %159, %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %161

161:                                              ; preds = %160, %61
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %163

162:                                              ; preds = %157, %42
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %164

163:                                              ; preds = %161, %45
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  br label %166

164:                                              ; preds = %162, %27
  %165 = load i1, ptr %4, align 1
  ret i1 %165

166:                                              ; preds = %163
  %167 = load ptr, ptr %12, align 8
  %168 = load i32, ptr %13, align 4
  %169 = insertvalue { ptr, i32 } poison, ptr %167, 0
  %170 = insertvalue { ptr, i32 } %169, i32 %168, 1
  resume { ptr, i32 } %170
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint 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 = { noreturn "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 }
attributes #8 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !7, i64 0}
!12 = !{!"_ZTS27rpc_msg_set_tensor_hash_rsp", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"_ZTS16ggml_init_params", !10, i64 0, !6, i64 8, !15, i64 16}
!15 = !{!"bool", !7, i64 0}
!16 = !{!14, !6, i64 8}
!17 = !{!14, !15, i64 16}
!18 = !{i64 0, i64 8, !9, i64 8, i64 8, !5, i64 16, i64 1, !19}
!19 = !{!15, !15, i64 0}
!20 = !{!21, !6, i64 8}
!21 = !{!"_ZTS11ggml_tensor", !22, i64 0, !6, i64 8, !7, i64 16, !7, i64 48, !23, i64 80, !7, i64 84, !24, i64 148, !7, i64 152, !6, i64 232, !10, i64 240, !6, i64 248, !7, i64 256, !6, i64 320, !7, i64 328}
!22 = !{!"_ZTS9ggml_type", !7, i64 0}
!23 = !{!"_ZTS7ggml_op", !7, i64 0}
!24 = !{!"int", !7, i64 0}
!25 = !{!26, !10, i64 220}
!26 = !{!"_ZTS10rpc_tensor", !10, i64 0, !24, i64 8, !10, i64 12, !7, i64 20, !7, i64 36, !24, i64 52, !7, i64 56, !24, i64 120, !7, i64 124, !10, i64 204, !10, i64 212, !10, i64 220, !7, i64 228, !7, i64 292}


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

%struct.ggml_init_params = type { i64, ptr, i8 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.6" }
%"struct.std::_Head_base.6" = type { ptr }

@.str.3 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [33 x i8], align 1
@__func__._ZN10rpc_server15set_tensor_hashERKSt6vectorIhSaIhEER27rpc_msg_set_tensor_hash_rsp = external hidden unnamed_addr constant [16 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [108 x i8], align 1

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

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

declare i64 @ggml_tensor_overhead() local_unnamed_addr #1

declare ptr @ggml_init(ptr noundef byval(%struct.ggml_init_params) align 8) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneI12ggml_context20ggml_context_deleterEbRKSt10unique_ptrIT_T0_EDn(ptr noundef nonnull align 8 dereferenceable(8), ptr) local_unnamed_addr #3

; Function Attrs: noreturn
declare void @ggml_abort(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #4

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

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

declare void @ggml_log_internal(i32 noundef, ptr noundef, ...) local_unnamed_addr #1

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

declare ptr @ggml_backend_buffer_get_base(ptr noundef) local_unnamed_addr #1

declare i64 @ggml_backend_buffer_get_size(ptr noundef) local_unnamed_addr #1

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

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

declare void @ggml_backend_tensor_set(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN10rpc_server15get_cached_fileEmRSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(72), i64 noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN10rpc_server15set_tensor_hashERKSt6vectorIhSaIhEER27rpc_msg_set_tensor_hash_rsp(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr nocapture noundef nonnull writeonly align 1 dereferenceable(1) %2) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %"class.std::unique_ptr", align 8
  %6 = alloca %struct.ggml_init_params, align 8
  %7 = tail call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %.not = icmp eq i64 %7, 312
  br i1 %.not, label %8, label %73

8:                                                ; preds = %3
  %9 = tail call noundef ptr @_ZNKSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %10 = tail call noundef ptr @_ZNKSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %11 = getelementptr inbounds i8, ptr %10, i64 296
  %.0.copyload = load i64, ptr %11, align 1
  %12 = tail call noundef ptr @_ZNKSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %13 = getelementptr inbounds i8, ptr %12, i64 304
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  call void @_ZNSt6vectorIhSaIhEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %14 = load i64, ptr %13, align 8, !tbaa !5
  %15 = invoke noundef zeroext i1 @_ZN10rpc_server15get_cached_fileEmRSt6vectorIhSaIhEE(ptr noundef nonnull align 8 dereferenceable(72) %0, i64 noundef %14, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %16 unwind label %18

16:                                               ; preds = %8
  br i1 %15, label %20, label %17

17:                                               ; preds = %16
  store i8 0, ptr %2, align 1, !tbaa !9
  br label %71

18:                                               ; preds = %8
  %19 = landingpad { ptr, i32 }
          cleanup
  br label %72

20:                                               ; preds = %16
  %21 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %22 = invoke i64 @ggml_tensor_overhead()
          to label %23 unwind label %29

23:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  store i64 %22, ptr %6, align 8, !tbaa !5
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  store ptr null, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !11
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 16
  store i8 1, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !13
  %24 = invoke ptr @ggml_init(ptr noundef nonnull byval(%struct.ggml_init_params) align 8 %6)
          to label %25 unwind label %31

25:                                               ; preds = %23
  call void @_ZNSt10unique_ptrI12ggml_context20ggml_context_deleterEC2IS1_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef %24) #6
  %26 = call noundef zeroext i1 @_ZStneI12ggml_context20ggml_context_deleterEbRKSt10unique_ptrIT_T0_EDn(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr null) #6
  br i1 %26, label %35, label %27

27:                                               ; preds = %25
  invoke void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str.3, i32 noundef 1126, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5) #7
          to label %28 unwind label %33

28:                                               ; preds = %27
  unreachable

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

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

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

35:                                               ; preds = %25
  %36 = call noundef ptr @_ZNKSt10unique_ptrI12ggml_context20ggml_context_deleterE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  %37 = invoke noundef ptr @_ZN10rpc_server18deserialize_tensorEP12ggml_contextPK10rpc_tensor(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef %36, ptr noundef %9)
          to label %38 unwind label %41

38:                                               ; preds = %35
  %39 = icmp eq ptr %37, null
  br i1 %39, label %40, label %43

40:                                               ; preds = %38
  invoke void (i32, ptr, ...) @ggml_log_internal(i32 noundef 4, ptr noundef nonnull @.str.13, ptr noundef nonnull @__func__._ZN10rpc_server15set_tensor_hashERKSt6vectorIhSaIhEER27rpc_msg_set_tensor_hash_rsp)
          to label %.critedge unwind label %41

41:                                               ; preds = %66, %40, %35
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %69

43:                                               ; preds = %38
  %44 = getelementptr inbounds i8, ptr %37, i64 8
  %45 = load ptr, ptr %44, align 8, !tbaa !15
  %46 = invoke ptr @ggml_backend_buffer_get_base(ptr noundef %45)
          to label %47 unwind label %62

47:                                               ; preds = %43
  %48 = ptrtoint ptr %46 to i64
  %49 = load ptr, ptr %44, align 8, !tbaa !15
  %50 = invoke i64 @ggml_backend_buffer_get_size(ptr noundef %49)
          to label %51 unwind label %64

51:                                               ; preds = %47
  %52 = add i64 %50, %48
  %53 = getelementptr inbounds i8, ptr %9, i64 220
  %54 = load i64, ptr %53, align 1, !tbaa !20
  %55 = add i64 %54, %.0.copyload
  %56 = icmp ult i64 %55, %48
  %.not49 = icmp uge i64 %55, %52
  %57 = sub i64 %52, %55
  %58 = icmp ugt i64 %21, %57
  %59 = or i1 %.not49, %58
  %or.cond58 = select i1 %56, i1 true, i1 %59
  br i1 %or.cond58, label %60, label %66

60:                                               ; preds = %51
  %61 = load i64, ptr %13, align 8, !tbaa !5
  invoke void (i32, ptr, ...) @ggml_log_internal(i32 noundef 4, ptr noundef nonnull @.str.17, ptr noundef nonnull @__func__._ZN10rpc_server15set_tensor_hashERKSt6vectorIhSaIhEER27rpc_msg_set_tensor_hash_rsp, i64 noundef %54, i64 noundef %.0.copyload, i64 noundef %21, i64 noundef %61, i64 noundef %48, i64 noundef %52)
          to label %.critedge unwind label %64

62:                                               ; preds = %43
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %69

64:                                               ; preds = %60, %47
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %69

66:                                               ; preds = %51
  %67 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  invoke void @ggml_backend_tensor_set(ptr noundef nonnull %37, ptr noundef %67, i64 noundef %.0.copyload, i64 noundef %21)
          to label %68 unwind label %41

68:                                               ; preds = %66
  store i8 1, ptr %2, align 1, !tbaa !9
  br label %.critedge

.critedge:                                        ; preds = %60, %40, %68
  %.1 = phi i1 [ true, %68 ], [ false, %40 ], [ false, %60 ]
  call void @_ZNSt10unique_ptrI12ggml_context20ggml_context_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %71

69:                                               ; preds = %41, %64, %62, %33
  %.pn51.pn = phi { ptr, i32 } [ %34, %33 ], [ %42, %41 ], [ %65, %64 ], [ %63, %62 ]
  call void @_ZNSt10unique_ptrI12ggml_context20ggml_context_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br label %70

70:                                               ; preds = %69, %31
  %.pn51.pn.pn = phi { ptr, i32 } [ %.pn51.pn, %69 ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %72

71:                                               ; preds = %.critedge, %17
  %.2 = phi i1 [ %.1, %.critedge ], [ true, %17 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  br label %73

72:                                               ; preds = %29, %70, %18
  %.pn51.pn.pn.pn.pn = phi { ptr, i32 } [ %19, %18 ], [ %.pn51.pn.pn, %70 ], [ %30, %29 ]
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn51.pn.pn.pn.pn

73:                                               ; preds = %3, %71
  %.3 = phi i1 [ %.2, %71 ], [ false, %3 ]
  ret i1 %.3
}

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !7, i64 0}
!10 = !{!"_ZTS27rpc_msg_set_tensor_hash_rsp", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!16, !12, i64 8}
!16 = !{!"_ZTS11ggml_tensor", !17, i64 0, !12, i64 8, !7, i64 16, !7, i64 48, !18, i64 80, !7, i64 84, !19, i64 148, !7, i64 152, !12, i64 232, !6, i64 240, !12, i64 248, !7, i64 256, !12, i64 320, !7, i64 328}
!17 = !{!"_ZTS9ggml_type", !7, i64 0}
!18 = !{!"_ZTS7ggml_op", !7, i64 0}
!19 = !{!"int", !7, i64 0}
!20 = !{!21, !6, i64 220}
!21 = !{!"_ZTS10rpc_tensor", !6, i64 0, !19, i64 8, !6, i64 12, !7, i64 20, !7, i64 36, !19, i64 52, !7, i64 56, !19, i64 120, !7, i64 124, !6, i64 204, !6, i64 212, !6, i64 220, !7, i64 228, !7, i64 292}


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