; 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.std::__detail::_Node_iterator.42" = type { %"struct.std::__detail::_Node_iterator_base.43" }
%"struct.std::__detail::_Node_iterator_base.43" = type { ptr }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base.64" }
%"struct.std::__detail::_Node_iterator_base.64" = type { ptr }
%"struct.std::pair.79" = type { i64, ptr }
%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] }>
%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] }

@.str.23 = external hidden unnamed_addr constant [67 x i8], align 1
@__func__._ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE = external hidden unnamed_addr constant [12 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [71 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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE(ptr noundef nonnull align 8 dereferenceable(72) %0, i64 noundef %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %4) #1 align 2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"struct.std::__detail::_Node_iterator.42", align 8
  %13 = alloca %"struct.std::__detail::_Node_iterator.42", align 8
  %14 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %15 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i64 %1, ptr %8, align 8, !tbaa !9
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %20 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %21 = load ptr, ptr %11, align 8, !tbaa !5
  %22 = call ptr @_ZNSt13unordered_mapImP11ggml_tensorSt4hashImESt8equal_toImESaISt4pairIKmS1_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(56) %21, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %23 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.42", ptr %12, i32 0, i32 0
  %24 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.43", ptr %23, i32 0, i32 0
  store ptr %22, ptr %24, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %25 = load ptr, ptr %11, align 8, !tbaa !5
  %26 = call ptr @_ZNSt13unordered_mapImP11ggml_tensorSt4hashImESt8equal_toImESaISt4pairIKmS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %25) #4
  %27 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.42", ptr %13, i32 0, i32 0
  %28 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.43", ptr %27, i32 0, i32 0
  store ptr %26, ptr %28, align 8
  %29 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKmP11ggml_tensorELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  br i1 %29, label %30, label %34

30:                                               ; preds = %5
  %31 = load ptr, ptr %11, align 8, !tbaa !5
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapImP11ggml_tensorSt4hashImESt8equal_toImESaISt4pairIKmS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %31, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %33 = load ptr, ptr %32, align 8, !tbaa !5
  store ptr %33, ptr %6, align 8
  br label %153

34:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  %36 = call ptr @_ZNKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS2_EEE4findERS8_(ptr noundef nonnull align 8 dereferenceable(56) %35, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %37 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %14, i32 0, i32 0
  %38 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.64", ptr %37, i32 0, i32 0
  store ptr %36, ptr %38, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %39 = load ptr, ptr %10, align 8, !tbaa !5
  %40 = call ptr @_ZNKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %39) #4
  %41 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator", ptr %15, i32 0, i32 0
  %42 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.64", ptr %41, i32 0, i32 0
  store ptr %40, ptr %42, align 8
  %43 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKmPK10rpc_tensorELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  br i1 %43, label %44, label %45

44:                                               ; preds = %34
  store ptr null, ptr %6, align 8
  store i32 1, ptr %16, align 4
  br label %152

45:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %46 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKmPK10rpc_tensorELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #4
  %47 = getelementptr inbounds %"struct.std::pair.79", ptr %46, i32 0, i32 1
  %48 = load ptr, ptr %47, align 8, !tbaa !11
  store ptr %48, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = load ptr, ptr %17, align 8, !tbaa !5
  %51 = call noundef ptr @_ZN10rpc_server18deserialize_tensorEP12ggml_contextPK10rpc_tensor(ptr noundef nonnull align 8 dereferenceable(72) %20, ptr noundef %49, ptr noundef %50)
  store ptr %51, ptr %18, align 8, !tbaa !5
  %52 = load ptr, ptr %18, align 8, !tbaa !5
  %53 = icmp eq ptr %52, null
  br i1 %53, label %54, label %55

54:                                               ; preds = %45
  store ptr null, ptr %6, align 8
  store i32 1, ptr %16, align 4
  br label %151

55:                                               ; preds = %45
  %56 = load ptr, ptr %18, align 8, !tbaa !5
  %57 = load ptr, ptr %11, align 8, !tbaa !5
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapImP11ggml_tensorSt4hashImESt8equal_toImESaISt4pairIKmS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %57, ptr noundef nonnull align 8 dereferenceable(8) %8)
  store ptr %56, ptr %58, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 0, ptr %19, align 4, !tbaa !13
  br label %59

59:                                               ; preds = %111, %55
  %60 = load i32, ptr %19, align 4, !tbaa !13
  %61 = icmp slt i32 %60, 10
  br i1 %61, label %63, label %62

62:                                               ; preds = %59
  store i32 2, ptr %16, align 4
  br label %114

63:                                               ; preds = %59
  %64 = load ptr, ptr %17, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.rpc_tensor, ptr %64, i32 0, i32 8
  %66 = load i32, ptr %19, align 4, !tbaa !13
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [10 x i64], ptr %65, i64 0, i64 %67
  %69 = load i64, ptr %68, align 1, !tbaa !9
  %70 = icmp eq i64 %69, 0
  br i1 %70, label %71, label %77

71:                                               ; preds = %63
  %72 = load ptr, ptr %18, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.ggml_tensor, ptr %72, i32 0, i32 7
  %74 = load i32, ptr %19, align 4, !tbaa !13
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [10 x ptr], ptr %73, i64 0, i64 %75
  store ptr null, ptr %76, align 8, !tbaa !5
  br label %110

77:                                               ; preds = %63
  %78 = load ptr, ptr %17, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.rpc_tensor, ptr %78, i32 0, i32 8
  %80 = load i32, ptr %19, align 4, !tbaa !13
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [10 x i64], ptr %79, i64 0, i64 %81
  %83 = load i64, ptr %82, align 1, !tbaa !9
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  %86 = load ptr, ptr %11, align 8, !tbaa !5
  %87 = call noundef ptr @_ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE(ptr noundef nonnull align 8 dereferenceable(72) %20, i64 noundef %83, ptr noundef %84, ptr noundef nonnull align 8 dereferenceable(56) %85, ptr noundef nonnull align 8 dereferenceable(56) %86)
  %88 = load ptr, ptr %18, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.ggml_tensor, ptr %88, i32 0, i32 7
  %90 = load i32, ptr %19, align 4, !tbaa !13
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [10 x ptr], ptr %89, i64 0, i64 %91
  store ptr %87, ptr %92, align 8, !tbaa !5
  %93 = load ptr, ptr %18, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.ggml_tensor, ptr %93, i32 0, i32 7
  %95 = load i32, ptr %19, align 4, !tbaa !13
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [10 x ptr], ptr %94, i64 0, i64 %96
  %98 = load ptr, ptr %97, align 8, !tbaa !5
  %99 = icmp eq ptr %98, null
  br i1 %99, label %100, label %109

100:                                              ; preds = %77
  %101 = load i32, ptr %19, align 4, !tbaa !13
  %102 = load ptr, ptr %17, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.rpc_tensor, ptr %102, i32 0, i32 8
  %104 = load i32, ptr %19, align 4, !tbaa !13
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [10 x i64], ptr %103, i64 0, i64 %105
  %107 = load i64, ptr %106, align 1, !tbaa !9
  %108 = load i64, ptr %8, align 8, !tbaa !9
  call void (i32, ptr, ...) @ggml_log_internal(i32 noundef 4, ptr noundef @.str.23, ptr noundef @__func__._ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE, i32 noundef %101, i64 noundef %107, i64 noundef %108)
  store ptr null, ptr %6, align 8
  store i32 1, ptr %16, align 4
  br label %114

109:                                              ; preds = %77
  br label %110

110:                                              ; preds = %109, %71
  br label %111

111:                                              ; preds = %110
  %112 = load i32, ptr %19, align 4, !tbaa !13
  %113 = add nsw i32 %112, 1
  store i32 %113, ptr %19, align 4, !tbaa !13
  br label %59, !llvm.loop !15

114:                                              ; preds = %100, %62
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  %115 = load i32, ptr %16, align 4
  switch i32 %115, label %151 [
    i32 2, label %116
  ]

116:                                              ; preds = %114
  %117 = load ptr, ptr %17, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.rpc_tensor, ptr %117, i32 0, i32 9
  %119 = load i64, ptr %118, align 1, !tbaa !17
  %120 = icmp eq i64 %119, 0
  br i1 %120, label %121, label %124

121:                                              ; preds = %116
  %122 = load ptr, ptr %18, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.ggml_tensor, ptr %122, i32 0, i32 8
  store ptr null, ptr %123, align 8, !tbaa !19
  br label %144

124:                                              ; preds = %116
  %125 = load ptr, ptr %17, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.rpc_tensor, ptr %125, i32 0, i32 9
  %127 = load i64, ptr %126, align 1, !tbaa !17
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  %129 = load ptr, ptr %10, align 8, !tbaa !5
  %130 = load ptr, ptr %11, align 8, !tbaa !5
  %131 = call noundef ptr @_ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE(ptr noundef nonnull align 8 dereferenceable(72) %20, i64 noundef %127, ptr noundef %128, ptr noundef nonnull align 8 dereferenceable(56) %129, ptr noundef nonnull align 8 dereferenceable(56) %130)
  %132 = load ptr, ptr %18, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.ggml_tensor, ptr %132, i32 0, i32 8
  store ptr %131, ptr %133, align 8, !tbaa !19
  %134 = load ptr, ptr %18, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.ggml_tensor, ptr %134, i32 0, i32 8
  %136 = load ptr, ptr %135, align 8, !tbaa !19
  %137 = icmp eq ptr %136, null
  br i1 %137, label %138, label %143

138:                                              ; preds = %124
  %139 = load ptr, ptr %17, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.rpc_tensor, ptr %139, i32 0, i32 9
  %141 = load i64, ptr %140, align 1, !tbaa !17
  %142 = load i64, ptr %8, align 8, !tbaa !9
  call void (i32, ptr, ...) @ggml_log_internal(i32 noundef 4, ptr noundef @.str.24, ptr noundef @__func__._ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE, i64 noundef %141, i64 noundef %142)
  store ptr null, ptr %6, align 8
  store i32 1, ptr %16, align 4
  br label %151

143:                                              ; preds = %124
  br label %144

144:                                              ; preds = %143, %121
  %145 = load ptr, ptr %17, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.rpc_tensor, ptr %145, i32 0, i32 10
  %147 = load i64, ptr %146, align 1, !tbaa !23
  %148 = load ptr, ptr %18, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.ggml_tensor, ptr %148, i32 0, i32 9
  store i64 %147, ptr %149, align 8, !tbaa !24
  %150 = load ptr, ptr %18, align 8, !tbaa !5
  store ptr %150, ptr %6, align 8
  store i32 1, ptr %16, align 4
  br label %151

151:                                              ; preds = %144, %138, %114, %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br label %152

152:                                              ; preds = %151, %44
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %153

153:                                              ; preds = %152, %30
  %154 = load ptr, ptr %6, align 8
  ret ptr %154
}

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_mapImP11ggml_tensorSt4hashImESt8equal_toImESaISt4pairIKmS1_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapImP11ggml_tensorSt4hashImESt8equal_toImESaISt4pairIKmS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS2_EEE4findERS8_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 8}
!12 = !{!"_ZTSSt4pairIKmPK10rpc_tensorE", !10, i64 0, !6, i64 8}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !10, i64 204}
!18 = !{!"_ZTS10rpc_tensor", !10, i64 0, !14, i64 8, !10, i64 12, !7, i64 20, !7, i64 36, !14, i64 52, !7, i64 56, !14, i64 120, !7, i64 124, !10, i64 204, !10, i64 212, !10, i64 220, !7, i64 228, !7, i64 292}
!19 = !{!20, !6, i64 232}
!20 = !{!"_ZTS11ggml_tensor", !21, i64 0, !6, i64 8, !7, i64 16, !7, i64 48, !22, i64 80, !7, i64 84, !14, i64 148, !7, i64 152, !6, i64 232, !10, i64 240, !6, i64 248, !7, i64 256, !6, i64 320, !7, i64 328}
!21 = !{!"_ZTS9ggml_type", !7, i64 0}
!22 = !{!"_ZTS7ggml_op", !7, i64 0}
!23 = !{!18, !10, i64 212}
!24 = !{!20, !10, i64 240}


; 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.std::__detail::_Node_iterator.42" = type { %"struct.std::__detail::_Node_iterator_base.43" }
%"struct.std::__detail::_Node_iterator_base.43" = type { ptr }
%"struct.std::__detail::_Node_const_iterator" = type { %"struct.std::__detail::_Node_iterator_base.64" }
%"struct.std::__detail::_Node_iterator_base.64" = type { ptr }

@.str.23 = external hidden unnamed_addr constant [67 x i8], align 1
@__func__._ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE = external hidden unnamed_addr constant [12 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [71 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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE(ptr noundef nonnull align 8 dereferenceable(72) %0, i64 noundef %1, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %4) local_unnamed_addr #1 align 2 {
  %6 = alloca i64, align 8
  %7 = alloca %"struct.std::__detail::_Node_iterator.42", align 8
  %8 = alloca %"struct.std::__detail::_Node_iterator.42", align 8
  %9 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  %10 = alloca %"struct.std::__detail::_Node_const_iterator", align 8
  store i64 %1, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  %11 = call ptr @_ZNSt13unordered_mapImP11ggml_tensorSt4hashImESt8equal_toImESaISt4pairIKmS1_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(8) %6)
  store ptr %11, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  %12 = call ptr @_ZNSt13unordered_mapImP11ggml_tensorSt4hashImESt8equal_toImESaISt4pairIKmS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %4) #4
  store ptr %12, ptr %8, align 8
  %13 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKmP11ggml_tensorELb0EEES8_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  br i1 %13, label %14, label %17

14:                                               ; preds = %5
  %15 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapImP11ggml_tensorSt4hashImESt8equal_toImESaISt4pairIKmS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(8) %6)
  %16 = load ptr, ptr %15, align 8, !tbaa !9
  br label %149

17:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  %18 = call ptr @_ZNKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS2_EEE4findERS8_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(8) %6)
  store ptr %18, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  %19 = call ptr @_ZNKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %3) #4
  store ptr %19, ptr %10, align 8
  %20 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIKmPK10rpc_tensorELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  br i1 %20, label %148, label %21

21:                                               ; preds = %17
  %22 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKmPK10rpc_tensorELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #4
  %23 = getelementptr inbounds i8, ptr %22, i64 8
  %24 = load ptr, ptr %23, align 8, !tbaa !11
  %25 = call noundef ptr @_ZN10rpc_server18deserialize_tensorEP12ggml_contextPK10rpc_tensor(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef %2, ptr noundef %24)
  %26 = icmp eq ptr %25, null
  br i1 %26, label %148, label %27

27:                                               ; preds = %21
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapImP11ggml_tensorSt4hashImESt8equal_toImESaISt4pairIKmS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(8) %6)
  store ptr %25, ptr %28, align 8, !tbaa !9
  %29 = getelementptr inbounds i8, ptr %24, i64 124
  %30 = getelementptr inbounds i8, ptr %25, i64 152
  %31 = load i64, ptr %29, align 1, !tbaa !5
  %32 = icmp eq i64 %31, 0
  br i1 %32, label %33, label %34

33:                                               ; preds = %27
  store ptr null, ptr %30, align 8, !tbaa !9
  br label %42

34:                                               ; preds = %27
  %35 = call noundef ptr @_ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE(ptr noundef nonnull align 8 dereferenceable(72) %0, i64 noundef %31, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %4)
  store ptr %35, ptr %30, align 8, !tbaa !9
  %36 = icmp eq ptr %35, null
  br i1 %36, label %37, label %42

37:                                               ; preds = %126, %116, %106, %96, %86, %76, %66, %56, %46, %34
  %.050.lcssa.wide = phi i64 [ 0, %34 ], [ 1, %46 ], [ 2, %56 ], [ 3, %66 ], [ 4, %76 ], [ 5, %86 ], [ 6, %96 ], [ 7, %106 ], [ 8, %116 ], [ 9, %126 ]
  %38 = trunc nuw nsw i64 %.050.lcssa.wide to i32
  %39 = getelementptr inbounds [10 x i64], ptr %29, i64 0, i64 %.050.lcssa.wide
  %40 = load i64, ptr %39, align 1, !tbaa !5
  %41 = load i64, ptr %6, align 8, !tbaa !5
  call void (i32, ptr, ...) @ggml_log_internal(i32 noundef 4, ptr noundef nonnull @.str.23, ptr noundef nonnull @__func__._ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE, i32 noundef %38, i64 noundef %40, i64 noundef %41)
  br label %148

42:                                               ; preds = %33, %34
  %43 = getelementptr inbounds i8, ptr %24, i64 132
  %44 = load i64, ptr %43, align 1, !tbaa !5
  %45 = icmp eq i64 %44, 0
  br i1 %45, label %50, label %46

46:                                               ; preds = %42
  %47 = call noundef ptr @_ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE(ptr noundef nonnull align 8 dereferenceable(72) %0, i64 noundef %44, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %4)
  %48 = getelementptr inbounds i8, ptr %25, i64 160
  store ptr %47, ptr %48, align 8, !tbaa !9
  %49 = icmp eq ptr %47, null
  br i1 %49, label %37, label %52

50:                                               ; preds = %42
  %51 = getelementptr inbounds i8, ptr %25, i64 160
  store ptr null, ptr %51, align 8, !tbaa !9
  br label %52

52:                                               ; preds = %50, %46
  %53 = getelementptr inbounds i8, ptr %24, i64 140
  %54 = load i64, ptr %53, align 1, !tbaa !5
  %55 = icmp eq i64 %54, 0
  br i1 %55, label %60, label %56

56:                                               ; preds = %52
  %57 = call noundef ptr @_ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE(ptr noundef nonnull align 8 dereferenceable(72) %0, i64 noundef %54, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %4)
  %58 = getelementptr inbounds i8, ptr %25, i64 168
  store ptr %57, ptr %58, align 8, !tbaa !9
  %59 = icmp eq ptr %57, null
  br i1 %59, label %37, label %62

60:                                               ; preds = %52
  %61 = getelementptr inbounds i8, ptr %25, i64 168
  store ptr null, ptr %61, align 8, !tbaa !9
  br label %62

62:                                               ; preds = %60, %56
  %63 = getelementptr inbounds i8, ptr %24, i64 148
  %64 = load i64, ptr %63, align 1, !tbaa !5
  %65 = icmp eq i64 %64, 0
  br i1 %65, label %70, label %66

66:                                               ; preds = %62
  %67 = call noundef ptr @_ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE(ptr noundef nonnull align 8 dereferenceable(72) %0, i64 noundef %64, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %4)
  %68 = getelementptr inbounds i8, ptr %25, i64 176
  store ptr %67, ptr %68, align 8, !tbaa !9
  %69 = icmp eq ptr %67, null
  br i1 %69, label %37, label %72

70:                                               ; preds = %62
  %71 = getelementptr inbounds i8, ptr %25, i64 176
  store ptr null, ptr %71, align 8, !tbaa !9
  br label %72

72:                                               ; preds = %70, %66
  %73 = getelementptr inbounds i8, ptr %24, i64 156
  %74 = load i64, ptr %73, align 1, !tbaa !5
  %75 = icmp eq i64 %74, 0
  br i1 %75, label %80, label %76

76:                                               ; preds = %72
  %77 = call noundef ptr @_ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE(ptr noundef nonnull align 8 dereferenceable(72) %0, i64 noundef %74, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %4)
  %78 = getelementptr inbounds i8, ptr %25, i64 184
  store ptr %77, ptr %78, align 8, !tbaa !9
  %79 = icmp eq ptr %77, null
  br i1 %79, label %37, label %82

80:                                               ; preds = %72
  %81 = getelementptr inbounds i8, ptr %25, i64 184
  store ptr null, ptr %81, align 8, !tbaa !9
  br label %82

82:                                               ; preds = %80, %76
  %83 = getelementptr inbounds i8, ptr %24, i64 164
  %84 = load i64, ptr %83, align 1, !tbaa !5
  %85 = icmp eq i64 %84, 0
  br i1 %85, label %90, label %86

86:                                               ; preds = %82
  %87 = call noundef ptr @_ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE(ptr noundef nonnull align 8 dereferenceable(72) %0, i64 noundef %84, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %4)
  %88 = getelementptr inbounds i8, ptr %25, i64 192
  store ptr %87, ptr %88, align 8, !tbaa !9
  %89 = icmp eq ptr %87, null
  br i1 %89, label %37, label %92

90:                                               ; preds = %82
  %91 = getelementptr inbounds i8, ptr %25, i64 192
  store ptr null, ptr %91, align 8, !tbaa !9
  br label %92

92:                                               ; preds = %90, %86
  %93 = getelementptr inbounds i8, ptr %24, i64 172
  %94 = load i64, ptr %93, align 1, !tbaa !5
  %95 = icmp eq i64 %94, 0
  br i1 %95, label %100, label %96

96:                                               ; preds = %92
  %97 = call noundef ptr @_ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE(ptr noundef nonnull align 8 dereferenceable(72) %0, i64 noundef %94, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %4)
  %98 = getelementptr inbounds i8, ptr %25, i64 200
  store ptr %97, ptr %98, align 8, !tbaa !9
  %99 = icmp eq ptr %97, null
  br i1 %99, label %37, label %102

100:                                              ; preds = %92
  %101 = getelementptr inbounds i8, ptr %25, i64 200
  store ptr null, ptr %101, align 8, !tbaa !9
  br label %102

102:                                              ; preds = %100, %96
  %103 = getelementptr inbounds i8, ptr %24, i64 180
  %104 = load i64, ptr %103, align 1, !tbaa !5
  %105 = icmp eq i64 %104, 0
  br i1 %105, label %110, label %106

106:                                              ; preds = %102
  %107 = call noundef ptr @_ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE(ptr noundef nonnull align 8 dereferenceable(72) %0, i64 noundef %104, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %4)
  %108 = getelementptr inbounds i8, ptr %25, i64 208
  store ptr %107, ptr %108, align 8, !tbaa !9
  %109 = icmp eq ptr %107, null
  br i1 %109, label %37, label %112

110:                                              ; preds = %102
  %111 = getelementptr inbounds i8, ptr %25, i64 208
  store ptr null, ptr %111, align 8, !tbaa !9
  br label %112

112:                                              ; preds = %110, %106
  %113 = getelementptr inbounds i8, ptr %24, i64 188
  %114 = load i64, ptr %113, align 1, !tbaa !5
  %115 = icmp eq i64 %114, 0
  br i1 %115, label %120, label %116

116:                                              ; preds = %112
  %117 = call noundef ptr @_ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE(ptr noundef nonnull align 8 dereferenceable(72) %0, i64 noundef %114, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %4)
  %118 = getelementptr inbounds i8, ptr %25, i64 216
  store ptr %117, ptr %118, align 8, !tbaa !9
  %119 = icmp eq ptr %117, null
  br i1 %119, label %37, label %122

120:                                              ; preds = %112
  %121 = getelementptr inbounds i8, ptr %25, i64 216
  store ptr null, ptr %121, align 8, !tbaa !9
  br label %122

122:                                              ; preds = %120, %116
  %123 = getelementptr inbounds i8, ptr %24, i64 196
  %124 = load i64, ptr %123, align 1, !tbaa !5
  %125 = icmp eq i64 %124, 0
  br i1 %125, label %130, label %126

126:                                              ; preds = %122
  %127 = call noundef ptr @_ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE(ptr noundef nonnull align 8 dereferenceable(72) %0, i64 noundef %124, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %4)
  %128 = getelementptr inbounds i8, ptr %25, i64 224
  store ptr %127, ptr %128, align 8, !tbaa !9
  %129 = icmp eq ptr %127, null
  br i1 %129, label %37, label %.critedge

130:                                              ; preds = %122
  %131 = getelementptr inbounds i8, ptr %25, i64 224
  store ptr null, ptr %131, align 8, !tbaa !9
  br label %.critedge

.critedge:                                        ; preds = %130, %126
  %132 = getelementptr inbounds i8, ptr %24, i64 204
  %133 = load i64, ptr %132, align 1, !tbaa !13
  %134 = icmp eq i64 %133, 0
  br i1 %134, label %135, label %137

135:                                              ; preds = %.critedge
  %136 = getelementptr inbounds i8, ptr %25, i64 232
  store ptr null, ptr %136, align 8, !tbaa !16
  br label %144

137:                                              ; preds = %.critedge
  %138 = call noundef ptr @_ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE(ptr noundef nonnull align 8 dereferenceable(72) %0, i64 noundef %133, ptr noundef %2, ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %4)
  %139 = getelementptr inbounds i8, ptr %25, i64 232
  store ptr %138, ptr %139, align 8, !tbaa !16
  %140 = icmp eq ptr %138, null
  br i1 %140, label %141, label %144

141:                                              ; preds = %137
  %142 = load i64, ptr %132, align 1, !tbaa !13
  %143 = load i64, ptr %6, align 8, !tbaa !5
  call void (i32, ptr, ...) @ggml_log_internal(i32 noundef 4, ptr noundef nonnull @.str.24, ptr noundef nonnull @__func__._ZN10rpc_server11create_nodeEmP12ggml_contextRKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS5_EEERS2_ImP11ggml_tensorS7_S9_SaISA_ISB_SI_EEE, i64 noundef %142, i64 noundef %143)
  br label %148

144:                                              ; preds = %137, %135
  %145 = getelementptr inbounds i8, ptr %24, i64 212
  %146 = load i64, ptr %145, align 1, !tbaa !20
  %147 = getelementptr inbounds i8, ptr %25, i64 240
  store i64 %146, ptr %147, align 8, !tbaa !21
  br label %148

148:                                              ; preds = %37, %141, %144, %21, %17
  %.2 = phi ptr [ null, %17 ], [ %25, %144 ], [ null, %141 ], [ null, %37 ], [ null, %21 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  br label %149

149:                                              ; preds = %148, %14
  %.3 = phi ptr [ %16, %14 ], [ %.2, %148 ]
  ret ptr %.3
}

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt13unordered_mapImP11ggml_tensorSt4hashImESt8equal_toImESaISt4pairIKmS1_EEE4findERS7_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapImP11ggml_tensorSt4hashImESt8equal_toImESaISt4pairIKmS1_EEEixERS7_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNKSt13unordered_mapImPK10rpc_tensorSt4hashImESt8equal_toImESaISt4pairIKmS2_EEE4findERS8_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"_ZTSSt4pairIKmPK10rpc_tensorE", !6, i64 0, !10, i64 8}
!13 = !{!14, !6, i64 204}
!14 = !{!"_ZTS10rpc_tensor", !6, i64 0, !15, i64 8, !6, i64 12, !7, i64 20, !7, i64 36, !15, i64 52, !7, i64 56, !15, i64 120, !7, i64 124, !6, i64 204, !6, i64 212, !6, i64 220, !7, i64 228, !7, i64 292}
!15 = !{!"int", !7, i64 0}
!16 = !{!17, !10, i64 232}
!17 = !{!"_ZTS11ggml_tensor", !18, i64 0, !10, i64 8, !7, i64 16, !7, i64 48, !19, i64 80, !7, i64 84, !15, i64 148, !7, i64 152, !10, i64 232, !6, i64 240, !10, i64 248, !7, i64 256, !10, i64 320, !7, i64 328}
!18 = !{!"_ZTS9ggml_type", !7, i64 0}
!19 = !{!"_ZTS7ggml_op", !7, i64 0}
!20 = !{!14, !6, i64 212}
!21 = !{!17, !6, i64 240}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,SROAPass,SimplifyCFGPass