; LLVM IR from microsoft/Multiverso :: Applications/WordEmbedding/src (wordembedding)

; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.wordembedding::WordEmbedding" = type { float, i64, ptr, ptr, ptr, ptr, %"class.std::unordered_set", %"class.std::unordered_set", i32, ptr }
%"class.std::unordered_set" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"struct.wordembedding::Option" = type <{ ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, [2 x i8], float, [4 x i8], i64, i32, i32, i32, i32, i32, i32, i64, i64, float, [4 x i8] }>

; 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: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13wordembedding13WordEmbedding13ParseSentenceEPiimPfS2_MS0_FvRSt6vectorIiSaIiEERS3_ISt4pairIiiESaIS8_EEPvSC_ES6_(ptr noundef nonnull align 8 dereferenceable(176) %0, ptr noundef %1, i32 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef byval({ i64, i64 }) align 8 %6, ptr noundef nonnull align 8 dereferenceable(24) %7) #2 align 2 personality ptr @__gxx_personality_v0 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca { i64, i64 }, align 8
  %16 = alloca ptr, align 8
  %17 = alloca [1001 x i32], align 16
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca %"class.std::vector.10", align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = load { i64, i64 }, ptr %6, align 8, !tbaa !5
  store ptr %0, ptr %9, align 8, !tbaa !8
  store ptr %1, ptr %10, align 8, !tbaa !8
  store i32 %2, ptr %11, align 4, !tbaa !10
  store i64 %3, ptr %12, align 8, !tbaa !12
  store ptr %4, ptr %13, align 8, !tbaa !8
  store ptr %5, ptr %14, align 8, !tbaa !8
  store { i64, i64 } %28, ptr %15, align 8, !tbaa !5
  store ptr %7, ptr %16, align 8, !tbaa !8
  %29 = load ptr, ptr %9, align 8
  %30 = load i32, ptr %11, align 4, !tbaa !10
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %32, label %33

32:                                               ; preds = %8
  br label %211

33:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 4004, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #5
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #5
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 0, ptr %20, align 4, !tbaa !10
  br label %34

34:                                               ; preds = %205, %33
  %35 = load i32, ptr %20, align 4, !tbaa !10
  %36 = load i32, ptr %11, align 4, !tbaa !10
  %37 = icmp slt i32 %35, %36
  br i1 %37, label %39, label %38

38:                                               ; preds = %34
  store i32 2, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %210

39:                                               ; preds = %34
  %40 = load ptr, ptr %10, align 8, !tbaa !8
  %41 = load i32, ptr %20, align 4, !tbaa !10
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds i32, ptr %40, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !10
  %45 = icmp eq i32 %44, -1
  br i1 %45, label %46, label %47

46:                                               ; preds = %39
  br label %205

47:                                               ; preds = %39
  %48 = getelementptr inbounds %"class.wordembedding::WordEmbedding", ptr %29, i32 0, i32 5
  %49 = load ptr, ptr %48, align 8, !tbaa !14
  %50 = load i64, ptr %12, align 8, !tbaa !12
  %51 = invoke noundef i64 @_ZN13wordembedding7Sampler13GetNextRandomEm(ptr noundef nonnull align 8 dereferenceable(8) %49, i64 noundef %50)
          to label %52 unwind label %74

52:                                               ; preds = %47
  store i64 %51, ptr %12, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %53 = load i64, ptr %12, align 8, !tbaa !12
  %54 = getelementptr inbounds %"class.wordembedding::WordEmbedding", ptr %29, i32 0, i32 2
  %55 = load ptr, ptr %54, align 8, !tbaa !21
  %56 = getelementptr inbounds %"struct.wordembedding::Option", ptr %55, i32 0, i32 17
  %57 = load i32, ptr %56, align 8, !tbaa !22
  %58 = sext i32 %57 to i64
  %59 = urem i64 %53, %58
  %60 = trunc i64 %59 to i32
  store i32 %60, ptr %24, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 0, ptr %25, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  %61 = load i32, ptr %24, align 4, !tbaa !10
  store i32 %61, ptr %26, align 4, !tbaa !10
  br label %62

62:                                               ; preds = %163, %52
  %63 = load i32, ptr %26, align 4, !tbaa !10
  %64 = getelementptr inbounds %"class.wordembedding::WordEmbedding", ptr %29, i32 0, i32 2
  %65 = load ptr, ptr %64, align 8, !tbaa !21
  %66 = getelementptr inbounds %"struct.wordembedding::Option", ptr %65, i32 0, i32 17
  %67 = load i32, ptr %66, align 8, !tbaa !22
  %68 = mul nsw i32 %67, 2
  %69 = add nsw i32 %68, 1
  %70 = load i32, ptr %24, align 4, !tbaa !10
  %71 = sub nsw i32 %69, %70
  %72 = icmp slt i32 %63, %71
  br i1 %72, label %78, label %73

73:                                               ; preds = %62
  store i32 5, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %166

74:                                               ; preds = %47
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %22, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %23, align 4
  br label %209

78:                                               ; preds = %62
  %79 = load i32, ptr %26, align 4, !tbaa !10
  %80 = getelementptr inbounds %"class.wordembedding::WordEmbedding", ptr %29, i32 0, i32 2
  %81 = load ptr, ptr %80, align 8, !tbaa !21
  %82 = getelementptr inbounds %"struct.wordembedding::Option", ptr %81, i32 0, i32 17
  %83 = load i32, ptr %82, align 8, !tbaa !22
  %84 = icmp ne i32 %79, %83
  br i1 %84, label %85, label %162

85:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %86 = load i32, ptr %20, align 4, !tbaa !10
  %87 = getelementptr inbounds %"class.wordembedding::WordEmbedding", ptr %29, i32 0, i32 2
  %88 = load ptr, ptr %87, align 8, !tbaa !21
  %89 = getelementptr inbounds %"struct.wordembedding::Option", ptr %88, i32 0, i32 17
  %90 = load i32, ptr %89, align 8, !tbaa !22
  %91 = sub nsw i32 %86, %90
  %92 = load i32, ptr %26, align 4, !tbaa !10
  %93 = add nsw i32 %91, %92
  store i32 %93, ptr %27, align 4, !tbaa !10
  %94 = load i32, ptr %27, align 4, !tbaa !10
  %95 = icmp slt i32 %94, 0
  br i1 %95, label %107, label %96

96:                                               ; preds = %85
  %97 = load i32, ptr %27, align 4, !tbaa !10
  %98 = load i32, ptr %11, align 4, !tbaa !10
  %99 = icmp sge i32 %97, %98
  br i1 %99, label %107, label %100

100:                                              ; preds = %96
  %101 = load ptr, ptr %10, align 8, !tbaa !8
  %102 = load i32, ptr %27, align 4, !tbaa !10
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds i32, ptr %101, i64 %103
  %105 = load i32, ptr %104, align 4, !tbaa !10
  %106 = icmp eq i32 %105, -1
  br i1 %106, label %107, label %108

107:                                              ; preds = %100, %96, %85
  store i32 7, ptr %21, align 4
  br label %159

108:                                              ; preds = %100
  %109 = load ptr, ptr %10, align 8, !tbaa !8
  %110 = load i32, ptr %27, align 4, !tbaa !10
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds i32, ptr %109, i64 %111
  %113 = load i32, ptr %112, align 4, !tbaa !10
  %114 = load i32, ptr %25, align 4, !tbaa !10
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %25, align 4, !tbaa !10
  %116 = sext i32 %114 to i64
  %117 = getelementptr inbounds [1001 x i32], ptr %17, i64 0, i64 %116
  store i32 %113, ptr %117, align 4, !tbaa !10
  %118 = getelementptr inbounds %"class.wordembedding::WordEmbedding", ptr %29, i32 0, i32 2
  %119 = load ptr, ptr %118, align 8, !tbaa !21
  %120 = getelementptr inbounds %"struct.wordembedding::Option", ptr %119, i32 0, i32 7
  %121 = load i8, ptr %120, align 2, !tbaa !25, !range !26, !noundef !27
  %122 = trunc i8 %121 to i1
  br i1 %122, label %158, label %123

123:                                              ; preds = %108
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  %124 = getelementptr inbounds [1001 x i32], ptr %17, i64 0, i64 0
  %125 = load i32, ptr %25, align 4, !tbaa !10
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds i32, ptr %124, i64 %126
  %128 = getelementptr inbounds i32, ptr %127, i64 -1
  %129 = load ptr, ptr %10, align 8, !tbaa !8
  %130 = load i32, ptr %20, align 4, !tbaa !10
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds i32, ptr %129, i64 %131
  %133 = load i32, ptr %132, align 4, !tbaa !10
  %134 = load ptr, ptr %16, align 8, !tbaa !8
  invoke void @_ZN13wordembedding13WordEmbedding5ParseEPiiiRmRSt6vectorIiSaIiEERS3_ISt4pairIiiESaIS8_EES6_(ptr noundef nonnull align 8 dereferenceable(176) %29, ptr noundef %128, i32 noundef 1, i32 noundef %133, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %134)
          to label %135 unwind label %147

135:                                              ; preds = %123
  %136 = load { i64, i64 }, ptr %15, align 8, !tbaa !5
  %137 = extractvalue { i64, i64 } %136, 1
  %138 = getelementptr inbounds i8, ptr %29, i64 %137
  %139 = extractvalue { i64, i64 } %136, 0
  %140 = and i64 %139, 1
  %141 = icmp ne i64 %140, 0
  br i1 %141, label %142, label %151

142:                                              ; preds = %135
  %143 = load ptr, ptr %138, align 8, !tbaa !28
  %144 = sub i64 %139, 1
  %145 = getelementptr i8, ptr %143, i64 %144, !nosanitize !27
  %146 = load ptr, ptr %145, align 8, !nosanitize !27
  br label %153

147:                                              ; preds = %153, %123
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %22, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %208

151:                                              ; preds = %135
  %152 = inttoptr i64 %139 to ptr
  br label %153

153:                                              ; preds = %151, %142
  %154 = phi ptr [ %146, %142 ], [ %152, %151 ]
  %155 = load ptr, ptr %13, align 8, !tbaa !8
  %156 = load ptr, ptr %14, align 8, !tbaa !8
  invoke void %154(ptr noundef nonnull align 8 dereferenceable(176) %138, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef %155, ptr noundef %156)
          to label %157 unwind label %147

157:                                              ; preds = %153
  br label %158

158:                                              ; preds = %157, %108
  store i32 0, ptr %21, align 4
  br label %159

159:                                              ; preds = %158, %107
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  %160 = load i32, ptr %21, align 4
  switch i32 %160, label %217 [
    i32 0, label %161
    i32 7, label %163
  ]

161:                                              ; preds = %159
  br label %162

162:                                              ; preds = %161, %78
  br label %163

163:                                              ; preds = %162, %159
  %164 = load i32, ptr %26, align 4, !tbaa !10
  %165 = add nsw i32 %164, 1
  store i32 %165, ptr %26, align 4, !tbaa !10
  br label %62, !llvm.loop !30

166:                                              ; preds = %73
  %167 = getelementptr inbounds %"class.wordembedding::WordEmbedding", ptr %29, i32 0, i32 2
  %168 = load ptr, ptr %167, align 8, !tbaa !21
  %169 = getelementptr inbounds %"struct.wordembedding::Option", ptr %168, i32 0, i32 7
  %170 = load i8, ptr %169, align 2, !tbaa !25, !range !26, !noundef !27
  %171 = trunc i8 %170 to i1
  br i1 %171, label %172, label %204

172:                                              ; preds = %166
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  %173 = getelementptr inbounds [1001 x i32], ptr %17, i64 0, i64 0
  %174 = load i32, ptr %25, align 4, !tbaa !10
  %175 = load ptr, ptr %10, align 8, !tbaa !8
  %176 = load i32, ptr %20, align 4, !tbaa !10
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds i32, ptr %175, i64 %177
  %179 = load i32, ptr %178, align 4, !tbaa !10
  %180 = load ptr, ptr %16, align 8, !tbaa !8
  invoke void @_ZN13wordembedding13WordEmbedding5ParseEPiiiRmRSt6vectorIiSaIiEERS3_ISt4pairIiiESaIS8_EES6_(ptr noundef nonnull align 8 dereferenceable(176) %29, ptr noundef %173, i32 noundef %174, i32 noundef %179, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %180)
          to label %181 unwind label %193

181:                                              ; preds = %172
  %182 = load { i64, i64 }, ptr %15, align 8, !tbaa !5
  %183 = extractvalue { i64, i64 } %182, 1
  %184 = getelementptr inbounds i8, ptr %29, i64 %183
  %185 = extractvalue { i64, i64 } %182, 0
  %186 = and i64 %185, 1
  %187 = icmp ne i64 %186, 0
  br i1 %187, label %188, label %197

188:                                              ; preds = %181
  %189 = load ptr, ptr %184, align 8, !tbaa !28
  %190 = sub i64 %185, 1
  %191 = getelementptr i8, ptr %189, i64 %190, !nosanitize !27
  %192 = load ptr, ptr %191, align 8, !nosanitize !27
  br label %199

193:                                              ; preds = %199, %172
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %22, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %23, align 4
  br label %208

197:                                              ; preds = %181
  %198 = inttoptr i64 %185 to ptr
  br label %199

199:                                              ; preds = %197, %188
  %200 = phi ptr [ %192, %188 ], [ %198, %197 ]
  %201 = load ptr, ptr %13, align 8, !tbaa !8
  %202 = load ptr, ptr %14, align 8, !tbaa !8
  invoke void %200(ptr noundef nonnull align 8 dereferenceable(176) %184, ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef %201, ptr noundef %202)
          to label %203 unwind label %193

203:                                              ; preds = %199
  br label %204

204:                                              ; preds = %203, %166
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %205

205:                                              ; preds = %204, %46
  %206 = load i32, ptr %20, align 4, !tbaa !10
  %207 = add nsw i32 %206, 1
  store i32 %207, ptr %20, align 4, !tbaa !10
  br label %34, !llvm.loop !32

208:                                              ; preds = %193, %147
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %209

209:                                              ; preds = %208, %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4004, ptr %17) #5
  br label %212

210:                                              ; preds = %38
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4004, ptr %17) #5
  br label %211

211:                                              ; preds = %210, %32
  ret void

212:                                              ; preds = %209
  %213 = load ptr, ptr %22, align 8
  %214 = load i32, ptr %23, align 4
  %215 = insertvalue { ptr, i32 } poison, ptr %213, 0
  %216 = insertvalue { ptr, i32 } %215, i32 %214, 1
  resume { ptr, i32 } %216

217:                                              ; preds = %159
  unreachable
}

declare noundef i64 @_ZN13wordembedding7Sampler13GetNextRandomEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #3

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN13wordembedding13WordEmbedding5ParseEPiiiRmRSt6vectorIiSaIiEERS3_ISt4pairIiiESaIS8_EES6_(ptr noundef nonnull align 8 dereferenceable(176), ptr noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #4 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !6, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !6, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !6, i64 0}
!14 = !{!15, !9, i64 40}
!15 = !{!"_ZTSN13wordembedding13WordEmbeddingE", !16, i64 0, !13, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !9, i64 40, !17, i64 48, !17, i64 104, !11, i64 160, !9, i64 168}
!16 = !{!"float", !6, i64 0}
!17 = !{!"_ZTSSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE", !18, i64 0}
!18 = !{!"_ZTSSt10_HashtableIiiSaIiENSt8__detail9_IdentityESt8equal_toIiESt4hashIiENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !9, i64 0, !13, i64 8, !19, i64 16, !13, i64 24, !20, i64 32, !9, i64 48}
!19 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !9, i64 0}
!20 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !16, i64 0, !13, i64 8}
!21 = !{!15, !9, i64 16}
!22 = !{!23, !11, i64 72}
!23 = !{!"_ZTSN13wordembedding6OptionE", !9, i64 0, !9, i64 8, !9, i64 16, !9, i64 24, !9, i64 32, !24, i64 40, !24, i64 41, !24, i64 42, !24, i64 43, !24, i64 44, !24, i64 45, !16, i64 48, !13, i64 56, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !13, i64 88, !13, i64 96, !16, i64 104}
!24 = !{!"bool", !6, i64 0}
!25 = !{!23, !24, i64 42}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = !{!29, !29, i64 0}
!29 = !{!"vtable pointer", !7, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}


; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; 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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13wordembedding13WordEmbedding13ParseSentenceEPiimPfS2_MS0_FvRSt6vectorIiSaIiEERS3_ISt4pairIiiESaIS8_EEPvSC_ES6_(ptr noundef nonnull align 8 dereferenceable(176) %0, ptr nocapture noundef readonly %1, i32 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, ptr nocapture noundef readonly byval({ i64, i64 }) align 8 %6, ptr noundef nonnull align 8 dereferenceable(24) %7) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %9 = alloca i64, align 8
  %10 = alloca [1001 x i32], align 16
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"class.std::vector.10", align 8
  %.unpack = load i64, ptr %6, align 8, !tbaa !5
  %.unpack.fr = freeze i64 %.unpack
  %.elt55 = getelementptr inbounds i8, ptr %6, i64 8
  %.unpack56 = load i64, ptr %.elt55, align 8, !tbaa !5
  store i64 %3, ptr %9, align 8, !tbaa !8
  %13 = icmp eq i32 %2, 0
  br i1 %13, label %124, label %14

14:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 4004, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #5
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #5
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  %15 = icmp sgt i32 %2, 0
  br i1 %15, label %.lr.ph73, label %._crit_edge74

.lr.ph73:                                         ; preds = %14
  %16 = getelementptr inbounds i8, ptr %0, i64 40
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  %invariant.gep = getelementptr i8, ptr %10, i64 -4
  %18 = getelementptr inbounds i8, ptr %0, i64 %.unpack56
  %19 = and i64 %.unpack.fr, 1
  %.not59 = icmp eq i64 %19, 0
  %20 = inttoptr i64 %.unpack.fr to ptr
  %wide.trip.count = zext nneg i32 %2 to i64
  br label %21

._crit_edge74:                                    ; preds = %122, %14
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4004, ptr nonnull %10) #5
  br label %124

21:                                               ; preds = %.lr.ph73, %122
  %indvars.iv = phi i64 [ 0, %.lr.ph73 ], [ %indvars.iv.next, %122 ]
  %22 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv
  %23 = load i32, ptr %22, align 4, !tbaa !10
  %24 = icmp eq i32 %23, -1
  br i1 %24, label %122, label %25

25:                                               ; preds = %21
  %26 = load ptr, ptr %16, align 8, !tbaa !12
  %27 = load i64, ptr %9, align 8, !tbaa !8
  %28 = invoke noundef i64 @_ZN13wordembedding7Sampler13GetNextRandomEm(ptr noundef nonnull align 8 dereferenceable(8) %26, i64 noundef %27)
          to label %29 unwind label %74

29:                                               ; preds = %25
  store i64 %28, ptr %9, align 8, !tbaa !8
  %30 = load ptr, ptr %17, align 8, !tbaa !20
  %31 = getelementptr inbounds i8, ptr %30, i64 72
  %32 = load i32, ptr %31, align 8, !tbaa !21
  %33 = sext i32 %32 to i64
  %34 = urem i64 %28, %33
  %35 = trunc i64 %34 to i32
  %36 = sub i32 1, %35
  %37 = shl nsw i32 %32, 1
  %38 = add i32 %36, %37
  %39 = icmp sgt i32 %38, %35
  br i1 %39, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %29
  %40 = trunc nuw nsw i64 %indvars.iv to i32
  br i1 %.not59, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %62
  %41 = phi ptr [ %63, %62 ], [ %30, %.lr.ph ]
  %42 = phi i32 [ %66, %62 ], [ %32, %.lr.ph ]
  %.04565.us = phi i32 [ %64, %62 ], [ %35, %.lr.ph ]
  %.04664.us = phi i32 [ %.2.us, %62 ], [ 0, %.lr.ph ]
  %.not57.us = icmp eq i32 %.04565.us, %42
  br i1 %.not57.us, label %62, label %43

43:                                               ; preds = %.lr.ph.split.us
  %44 = sub nsw i32 %40, %42
  %45 = add nsw i32 %44, %.04565.us
  %or.cond.us = icmp ult i32 %45, %2
  br i1 %or.cond.us, label %46, label %62

46:                                               ; preds = %43
  %47 = zext nneg i32 %45 to i64
  %48 = getelementptr inbounds i32, ptr %1, i64 %47
  %49 = load i32, ptr %48, align 4, !tbaa !10
  %50 = icmp eq i32 %49, -1
  br i1 %50, label %62, label %51

51:                                               ; preds = %46
  %52 = add nsw i32 %.04664.us, 1
  %53 = sext i32 %.04664.us to i64
  %54 = getelementptr inbounds [1001 x i32], ptr %10, i64 0, i64 %53
  store i32 %49, ptr %54, align 4, !tbaa !10
  %55 = getelementptr inbounds i8, ptr %41, i64 42
  %56 = load i8, ptr %55, align 2, !tbaa !24, !range !25, !noundef !26
  %57 = trunc nuw i8 %56 to i1
  br i1 %57, label %62, label %58

58:                                               ; preds = %51
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  %59 = sext i32 %52 to i64
  %gep.us = getelementptr i32, ptr %invariant.gep, i64 %59
  %60 = load i32, ptr %22, align 4, !tbaa !10
  invoke void @_ZN13wordembedding13WordEmbedding5ParseEPiiiRmRSt6vectorIiSaIiEERS3_ISt4pairIiiESaIS8_EES6_(ptr noundef nonnull align 8 dereferenceable(176) %0, ptr noundef nonnull %gep.us, i32 noundef 1, i32 noundef %60, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %61 unwind label %.split.us

61:                                               ; preds = %58
  invoke void %20(ptr noundef nonnull align 8 dereferenceable(176) %18, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef %4, ptr noundef %5)
          to label %._crit_edge80 unwind label %.split.us

._crit_edge80:                                    ; preds = %61
  %.pre81 = load ptr, ptr %17, align 8, !tbaa !20
  br label %62

62:                                               ; preds = %._crit_edge80, %51, %46, %43, %.lr.ph.split.us
  %63 = phi ptr [ %41, %.lr.ph.split.us ], [ %41, %46 ], [ %41, %43 ], [ %.pre81, %._crit_edge80 ], [ %41, %51 ]
  %.2.us = phi i32 [ %.04664.us, %.lr.ph.split.us ], [ %.04664.us, %46 ], [ %.04664.us, %43 ], [ %52, %._crit_edge80 ], [ %52, %51 ]
  %64 = add nsw i32 %.04565.us, 1
  %65 = getelementptr inbounds i8, ptr %63, i64 72
  %66 = load i32, ptr %65, align 8, !tbaa !21
  %67 = shl nsw i32 %66, 1
  %68 = add i32 %36, %67
  %69 = icmp slt i32 %64, %68
  br i1 %69, label %.lr.ph.split.us, label %._crit_edge, !llvm.loop !27

.split.us:                                        ; preds = %61, %58
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %123

._crit_edge:                                      ; preds = %102, %62, %29
  %.046.lcssa = phi i32 [ 0, %29 ], [ %.2.us, %62 ], [ %.2, %102 ]
  %.lcssa = phi ptr [ %30, %29 ], [ %63, %62 ], [ %103, %102 ]
  %71 = getelementptr inbounds i8, ptr %.lcssa, i64 42
  %72 = load i8, ptr %71, align 2, !tbaa !24, !range !25, !noundef !26
  %73 = trunc nuw i8 %72 to i1
  br i1 %73, label %110, label %122

74:                                               ; preds = %25
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %123

.lr.ph.split:                                     ; preds = %.lr.ph, %102
  %76 = phi ptr [ %103, %102 ], [ %30, %.lr.ph ]
  %77 = phi i32 [ %106, %102 ], [ %32, %.lr.ph ]
  %.04565 = phi i32 [ %104, %102 ], [ %35, %.lr.ph ]
  %.04664 = phi i32 [ %.2, %102 ], [ 0, %.lr.ph ]
  %.not57 = icmp eq i32 %.04565, %77
  br i1 %.not57, label %102, label %78

78:                                               ; preds = %.lr.ph.split
  %79 = sub nsw i32 %40, %77
  %80 = add nsw i32 %79, %.04565
  %or.cond = icmp ult i32 %80, %2
  br i1 %or.cond, label %81, label %102

81:                                               ; preds = %78
  %82 = zext nneg i32 %80 to i64
  %83 = getelementptr inbounds i32, ptr %1, i64 %82
  %84 = load i32, ptr %83, align 4, !tbaa !10
  %85 = icmp eq i32 %84, -1
  br i1 %85, label %102, label %86

86:                                               ; preds = %81
  %87 = add nsw i32 %.04664, 1
  %88 = sext i32 %.04664 to i64
  %89 = getelementptr inbounds [1001 x i32], ptr %10, i64 0, i64 %88
  store i32 %84, ptr %89, align 4, !tbaa !10
  %90 = getelementptr inbounds i8, ptr %76, i64 42
  %91 = load i8, ptr %90, align 2, !tbaa !24, !range !25, !noundef !26
  %92 = trunc nuw i8 %91 to i1
  br i1 %92, label %102, label %93

93:                                               ; preds = %86
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  %94 = sext i32 %87 to i64
  %gep = getelementptr i32, ptr %invariant.gep, i64 %94
  %95 = load i32, ptr %22, align 4, !tbaa !10
  invoke void @_ZN13wordembedding13WordEmbedding5ParseEPiiiRmRSt6vectorIiSaIiEERS3_ISt4pairIiiESaIS8_EES6_(ptr noundef nonnull align 8 dereferenceable(176) %0, ptr noundef nonnull %gep, i32 noundef 1, i32 noundef %95, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %96 unwind label %.split

96:                                               ; preds = %93
  %97 = load ptr, ptr %18, align 8, !tbaa !29
  %98 = getelementptr i8, ptr %97, i64 %.unpack.fr
  %99 = getelementptr i8, ptr %98, i64 -1
  %100 = load ptr, ptr %99, align 8, !nosanitize !26
  invoke void %100(ptr noundef nonnull align 8 dereferenceable(176) %18, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef %4, ptr noundef %5)
          to label %._crit_edge79 unwind label %.split

._crit_edge79:                                    ; preds = %96
  %.pre = load ptr, ptr %17, align 8, !tbaa !20
  br label %102

.split:                                           ; preds = %96, %93
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %123

102:                                              ; preds = %._crit_edge79, %81, %78, %86, %.lr.ph.split
  %103 = phi ptr [ %76, %.lr.ph.split ], [ %76, %81 ], [ %76, %78 ], [ %.pre, %._crit_edge79 ], [ %76, %86 ]
  %.2 = phi i32 [ %.04664, %.lr.ph.split ], [ %.04664, %81 ], [ %.04664, %78 ], [ %87, %._crit_edge79 ], [ %87, %86 ]
  %104 = add nsw i32 %.04565, 1
  %105 = getelementptr inbounds i8, ptr %103, i64 72
  %106 = load i32, ptr %105, align 8, !tbaa !21
  %107 = shl nsw i32 %106, 1
  %108 = add i32 %36, %107
  %109 = icmp slt i32 %104, %108
  br i1 %109, label %.lr.ph.split, label %._crit_edge, !llvm.loop !27

110:                                              ; preds = %._crit_edge
  call void @_ZNSt6vectorIiSaIiEE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  %111 = load i32, ptr %22, align 4, !tbaa !10
  invoke void @_ZN13wordembedding13WordEmbedding5ParseEPiiiRmRSt6vectorIiSaIiEERS3_ISt4pairIiiESaIS8_EES6_(ptr noundef nonnull align 8 dereferenceable(176) %0, ptr noundef nonnull %10, i32 noundef %.046.lcssa, i32 noundef %111, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %112 unwind label %118

112:                                              ; preds = %110
  br i1 %.not59, label %120, label %113

113:                                              ; preds = %112
  %114 = load ptr, ptr %18, align 8, !tbaa !29
  %115 = getelementptr i8, ptr %114, i64 %.unpack.fr
  %116 = getelementptr i8, ptr %115, i64 -1
  %117 = load ptr, ptr %116, align 8, !nosanitize !26
  br label %120

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

120:                                              ; preds = %112, %113
  %121 = phi ptr [ %117, %113 ], [ %20, %112 ]
  invoke void %121(ptr noundef nonnull align 8 dereferenceable(176) %18, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef %4, ptr noundef %5)
          to label %122 unwind label %118

122:                                              ; preds = %._crit_edge, %120, %21
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge74, label %21, !llvm.loop !31

123:                                              ; preds = %.split, %.split.us, %118, %74
  %.pn.pn = phi { ptr, i32 } [ %75, %74 ], [ %119, %118 ], [ %101, %.split ], [ %70, %.split.us ]
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 4004, ptr nonnull %10) #5
  resume { ptr, i32 } %.pn.pn

124:                                              ; preds = %8, %._crit_edge74
  ret void
}

declare noundef i64 @_ZN13wordembedding7Sampler13GetNextRandomEm(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #3

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN13wordembedding13WordEmbedding5ParseEPiiiRmRSt6vectorIiSaIiEERS3_ISt4pairIiiESaIS8_EES6_(ptr noundef nonnull align 8 dereferenceable(176), ptr noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"long", !6, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !6, i64 0}
!12 = !{!13, !15, i64 40}
!13 = !{!"_ZTSN13wordembedding13WordEmbeddingE", !14, i64 0, !9, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !16, i64 48, !16, i64 104, !11, i64 160, !15, i64 168}
!14 = !{!"float", !6, i64 0}
!15 = !{!"any pointer", !6, i64 0}
!16 = !{!"_ZTSSt13unordered_setIiSt4hashIiESt8equal_toIiESaIiEE", !17, i64 0}
!17 = !{!"_ZTSSt10_HashtableIiiSaIiENSt8__detail9_IdentityESt8equal_toIiESt4hashIiENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !15, i64 0, !9, i64 8, !18, i64 16, !9, i64 24, !19, i64 32, !15, i64 48}
!18 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !15, i64 0}
!19 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !14, i64 0, !9, i64 8}
!20 = !{!13, !15, i64 16}
!21 = !{!22, !11, i64 72}
!22 = !{!"_ZTSN13wordembedding6OptionE", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !23, i64 40, !23, i64 41, !23, i64 42, !23, i64 43, !23, i64 44, !23, i64 45, !14, i64 48, !9, i64 56, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !9, i64 88, !9, i64 96, !14, i64 104}
!23 = !{!"bool", !6, i64 0}
!24 = !{!22, !23, i64 42}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!30, !30, i64 0}
!30 = !{!"vtable pointer", !7, i64 0}
!31 = distinct !{!31, !28}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass