diff --git a/bench/nuklear/optimized/unity.c.ll b/bench/nuklear/optimized/unity.c.ll index 3a7765c58e1..87a567cd3c2 100644 --- a/bench/nuklear/optimized/unity.c.ll +++ b/bench/nuklear/optimized/unity.c.ll @@ -303,7 +303,7 @@ entry: ret <2 x float> %1 } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_triangle_from_direction(ptr nocapture noundef writeonly %result, <2 x float> %r.coerce0, <2 x float> %r.coerce1, float noundef %pad_x, float noundef %pad_y, i32 noundef %direction) local_unnamed_addr #4 { entry: %0 = insertelement <2 x float> poison, float %pad_x, i64 0 @@ -471,8 +471,8 @@ return: ; preds = %entry, %if.end23 ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define double @nk_strtod(ptr noundef %str, ptr noundef writeonly %endptr) local_unnamed_addr #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define double @nk_strtod(ptr noundef %str, ptr noundef writeonly %endptr) local_unnamed_addr #7 { entry: %tobool.not = icmp eq ptr %str, null br i1 %tobool.not, label %return, label %while.cond @@ -611,8 +611,8 @@ return: ; preds = %if.end79, %if.then8 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #5 -; Function Attrs: nofree nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define float @nk_strtof(ptr noundef %str, ptr noundef %endptr) local_unnamed_addr #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define float @nk_strtof(ptr noundef %str, ptr noundef %endptr) local_unnamed_addr #7 { entry: %call = tail call double @nk_strtod(ptr noundef %str, ptr noundef %endptr) %conv = fptrunc double %call to float @@ -738,7 +738,7 @@ return: ; preds = %do.cond, %do.body, } ; Function Attrs: nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @nk_strfilter(ptr noundef readonly %text, ptr noundef readonly %regexp) local_unnamed_addr #9 { +define i32 @nk_strfilter(ptr noundef readonly %text, ptr noundef readonly %regexp) local_unnamed_addr #8 { entry: %0 = load i8, ptr %regexp, align 1 %cmp = icmp eq i8 %0, 94 @@ -767,7 +767,7 @@ return: ; preds = %do.cond, %do.body, } ; Function Attrs: nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal fastcc i32 @nk_str_match_here(ptr noundef readonly %regexp, ptr noundef readonly %text) unnamed_addr #9 { +define internal fastcc i32 @nk_str_match_here(ptr noundef readonly %regexp, ptr noundef readonly %text) unnamed_addr #8 { entry: %0 = load i8, ptr %regexp, align 1 %cmp22 = icmp eq i8 %0, 0 @@ -847,8 +847,8 @@ return: ; preds = %if.then36, %land.lh ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define i32 @nk_strmatch_fuzzy_text(ptr noundef readonly %str, i32 noundef %str_len, ptr noundef readonly %pattern, ptr noundef writeonly %out_score) local_unnamed_addr #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define i32 @nk_strmatch_fuzzy_text(ptr noundef readonly %str, i32 noundef %str_len, ptr noundef readonly %pattern, ptr noundef writeonly %out_score) local_unnamed_addr #7 { entry: %tobool = icmp ne ptr %str, null %tobool1 = icmp ne i32 %str_len, 0 @@ -1023,8 +1023,8 @@ return: ; preds = %if.end113, %if.then ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define i32 @nk_strmatch_fuzzy_string(ptr noundef %str, ptr noundef %pattern, ptr noundef %out_score) local_unnamed_addr #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define i32 @nk_strmatch_fuzzy_string(ptr noundef %str, ptr noundef %pattern, ptr noundef %out_score) local_unnamed_addr #7 { entry: %tobool.not3.i = icmp eq ptr %str, null br i1 %tobool.not3.i, label %nk_strlen.exit, label %land.rhs.i.preheader @@ -1049,8 +1049,8 @@ nk_strlen.exit: ; preds = %while.body.i, %land ret i32 %call1 } -; Function Attrs: nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @nk_murmur_hash(ptr noundef readonly %key, i32 noundef %len, i32 noundef %seed) local_unnamed_addr #9 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +define i32 @nk_murmur_hash(ptr noundef readonly %key, i32 noundef %len, i32 noundef %seed) local_unnamed_addr #6 { entry: %div = sdiv i32 %len, 4 %tobool.not = icmp eq ptr %key, null @@ -1201,8 +1201,8 @@ return: ; preds = %entry, %if.end ret i32 %retval.sroa.0.0.insert.insert } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable -define i32 @nk_rgba(i32 noundef %r, i32 noundef %g, i32 noundef %b, i32 noundef %a) local_unnamed_addr #10 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable +define i32 @nk_rgba(i32 noundef %r, i32 noundef %g, i32 noundef %b, i32 noundef %a) local_unnamed_addr #0 { entry: %cond = tail call i32 @llvm.smin.i32(i32 %r, i32 255) %cond10 = tail call i32 @llvm.smax.i32(i32 %cond, i32 0) @@ -1224,7 +1224,7 @@ entry: } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable -define i32 @nk_rgb_hex(ptr nocapture noundef readonly %rgb) local_unnamed_addr #11 { +define i32 @nk_rgb_hex(ptr nocapture noundef readonly %rgb) local_unnamed_addr #9 { entry: %0 = load i8, ptr %rgb, align 1 %cmp = icmp eq i8 %0, 35 @@ -1357,7 +1357,7 @@ nk_parse_hex.exit44: ; preds = %if.end36.i37 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable -define i32 @nk_rgba_hex(ptr nocapture noundef readonly %rgb) local_unnamed_addr #11 { +define i32 @nk_rgba_hex(ptr nocapture noundef readonly %rgb) local_unnamed_addr #9 { entry: %0 = load i8, ptr %rgb, align 1 %cmp = icmp eq i8 %0, 35 @@ -1531,7 +1531,7 @@ nk_parse_hex.exit65: ; preds = %if.end36.i58 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_color_hex_rgba(ptr nocapture noundef writeonly %output, i32 %col.coerce) local_unnamed_addr #12 { +define void @nk_color_hex_rgba(ptr nocapture noundef writeonly %output, i32 %col.coerce) local_unnamed_addr #10 { entry: %col.sroa.7.0.extract.shift = lshr i32 %col.coerce, 8 %col.sroa.13.0.extract.shift = lshr i32 %col.coerce, 16 @@ -1588,7 +1588,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_color_hex_rgb(ptr nocapture noundef writeonly %output, i32 %col.coerce) local_unnamed_addr #12 { +define void @nk_color_hex_rgb(ptr nocapture noundef writeonly %output, i32 %col.coerce) local_unnamed_addr #10 { entry: %col.sroa.7.0.extract.shift = lshr i32 %col.coerce, 8 %col.sroa.13.0.extract.shift = lshr i32 %col.coerce, 16 @@ -1627,8 +1627,8 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_rgba_iv(ptr nocapture noundef readonly %c) local_unnamed_addr #13 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define i32 @nk_rgba_iv(ptr nocapture noundef readonly %c) local_unnamed_addr #11 { entry: %0 = load i32, ptr %c, align 4 %arrayidx1 = getelementptr inbounds i32, ptr %c, i64 1 @@ -1657,14 +1657,14 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_rgba_bv(ptr nocapture noundef readonly %c) local_unnamed_addr #14 { +define i32 @nk_rgba_bv(ptr nocapture noundef readonly %c) local_unnamed_addr #11 { entry: %0 = load i32, ptr %c, align 1 ret i32 %0 } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable -define i32 @nk_rgb(i32 noundef %r, i32 noundef %g, i32 noundef %b) local_unnamed_addr #10 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable +define i32 @nk_rgb(i32 noundef %r, i32 noundef %g, i32 noundef %b) local_unnamed_addr #0 { entry: %cond = tail call i32 @llvm.smin.i32(i32 %r, i32 255) %cond10 = tail call i32 @llvm.smax.i32(i32 %cond, i32 0) @@ -1681,8 +1681,8 @@ entry: ret i32 %retval.sroa.0.0.insert.insert } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_rgb_iv(ptr nocapture noundef readonly %c) local_unnamed_addr #13 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define i32 @nk_rgb_iv(ptr nocapture noundef readonly %c) local_unnamed_addr #11 { entry: %0 = load i32, ptr %c, align 4 %arrayidx1 = getelementptr inbounds i32, ptr %c, i64 1 @@ -1705,7 +1705,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_rgb_bv(ptr nocapture noundef readonly %c) local_unnamed_addr #14 { +define i32 @nk_rgb_bv(ptr nocapture noundef readonly %c) local_unnamed_addr #11 { entry: %0 = load i8, ptr %c, align 1 %conv = zext i8 %0 to i32 @@ -1765,7 +1765,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_rgba_fv(ptr nocapture noundef readonly %c) local_unnamed_addr #14 { +define i32 @nk_rgba_fv(ptr nocapture noundef readonly %c) local_unnamed_addr #11 { entry: %0 = load <4 x float>, ptr %c, align 4 %1 = fcmp ogt <4 x float> %0, @@ -1873,7 +1873,7 @@ cond.end49: ; preds = %entry, %cond.true41 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_rgb_fv(ptr nocapture noundef readonly %c) local_unnamed_addr #14 { +define i32 @nk_rgb_fv(ptr nocapture noundef readonly %c) local_unnamed_addr #11 { entry: %0 = load float, ptr %c, align 4 %arrayidx1 = getelementptr inbounds float, ptr %c, i64 1 @@ -1956,8 +1956,8 @@ nk_rgb_f.exit: ; preds = %entry, %cond.true41 ret i32 %retval.sroa.0.0.insert.insert.i } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable -define i32 @nk_hsv(i32 noundef %h, i32 noundef %s, i32 noundef %v) local_unnamed_addr #15 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable +define i32 @nk_hsv(i32 noundef %h, i32 noundef %s, i32 noundef %v) local_unnamed_addr #2 { entry: %cond16.i = tail call i32 @llvm.smin.i32(i32 %s, i32 255) %cond28.i = tail call i32 @llvm.smax.i32(i32 %cond16.i, i32 0) @@ -2059,8 +2059,8 @@ nk_hsva.exit: ; preds = %if.then.i.i.i, %sw. ret i32 %retval.sroa.0.0.insert.insert.i.i.i } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable -define i32 @nk_hsva(i32 noundef %h, i32 noundef %s, i32 noundef %v, i32 noundef %a) local_unnamed_addr #15 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable +define i32 @nk_hsva(i32 noundef %h, i32 noundef %s, i32 noundef %v, i32 noundef %a) local_unnamed_addr #2 { entry: %cond16 = tail call i32 @llvm.smin.i32(i32 %s, i32 255) %cond28 = tail call i32 @llvm.smax.i32(i32 %cond16, i32 0) @@ -2174,8 +2174,8 @@ nk_hsva_f.exit: ; preds = %if.then.i.i, %sw.ep ret i32 %retval.sroa.0.0.insert.insert.i.i } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_hsv_iv(ptr nocapture noundef readonly %c) local_unnamed_addr #16 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define i32 @nk_hsv_iv(ptr nocapture noundef readonly %c) local_unnamed_addr #3 { entry: %arrayidx1 = getelementptr inbounds i32, ptr %c, i64 1 %0 = load i32, ptr %arrayidx1, align 4 @@ -2282,8 +2282,8 @@ nk_hsv.exit: ; preds = %if.then.i.i.i.i, %s ret i32 %retval.sroa.0.0.insert.insert.i.i.i.i } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_hsv_bv(ptr nocapture noundef readonly %c) local_unnamed_addr #16 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define i32 @nk_hsv_bv(ptr nocapture noundef readonly %c) local_unnamed_addr #3 { entry: %arrayidx1 = getelementptr inbounds i8, ptr %c, i64 1 %0 = load i8, ptr %arrayidx1, align 1 @@ -2384,8 +2384,8 @@ nk_hsv.exit: ; preds = %if.then.i.i.i.i, %s ret i32 %retval.sroa.0.0.insert.insert.i.i.i.i } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable -define i32 @nk_hsv_f(float noundef %h, float noundef %s, float noundef %v) local_unnamed_addr #15 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable +define i32 @nk_hsv_f(float noundef %h, float noundef %s, float noundef %v) local_unnamed_addr #2 { entry: %cmp.i.i = fcmp ugt float %s, 0.000000e+00 br i1 %cmp.i.i, label %if.end.i.i, label %if.then.i.i @@ -2475,8 +2475,8 @@ nk_hsva_f.exit: ; preds = %if.then.i.i, %sw.ep ret i32 %retval.sroa.0.0.insert.insert.i.i } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable -define i32 @nk_hsva_f(float noundef %h, float noundef %s, float noundef %v, float noundef %a) local_unnamed_addr #15 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable +define i32 @nk_hsva_f(float noundef %h, float noundef %s, float noundef %v, float noundef %a) local_unnamed_addr #2 { entry: %cmp.i = fcmp ugt float %s, 0.000000e+00 br i1 %cmp.i, label %if.end.i, label %if.then.i @@ -2574,8 +2574,8 @@ nk_hsva_colorf.exit: ; preds = %if.then.i, %sw.epil ret i32 %retval.sroa.0.0.insert.insert.i } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_hsv_fv(ptr nocapture noundef readonly %c) local_unnamed_addr #16 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define i32 @nk_hsv_fv(ptr nocapture noundef readonly %c) local_unnamed_addr #3 { entry: %arrayidx1 = getelementptr inbounds float, ptr %c, i64 1 %0 = load float, ptr %arrayidx1, align 4 @@ -2670,8 +2670,8 @@ nk_hsv_f.exit: ; preds = %if.then.i.i.i, %sw. ret i32 %retval.sroa.0.0.insert.insert.i.i.i } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_hsva_iv(ptr nocapture noundef readonly %c) local_unnamed_addr #16 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define i32 @nk_hsva_iv(ptr nocapture noundef readonly %c) local_unnamed_addr #3 { entry: %arrayidx1 = getelementptr inbounds i32, ptr %c, i64 1 %0 = load i32, ptr %arrayidx1, align 4 @@ -2792,8 +2792,8 @@ nk_hsva.exit: ; preds = %if.then.i.i.i, %sw. ret i32 %retval.sroa.0.0.insert.insert.i.i.i } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_hsva_bv(ptr nocapture noundef readonly %c) local_unnamed_addr #16 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define i32 @nk_hsva_bv(ptr nocapture noundef readonly %c) local_unnamed_addr #3 { entry: %arrayidx1 = getelementptr inbounds i8, ptr %c, i64 1 %0 = load i8, ptr %arrayidx1, align 1 @@ -2906,8 +2906,8 @@ nk_hsva.exit: ; preds = %if.then.i.i.i, %sw. ret i32 %retval.sroa.0.0.insert.insert.i.i.i } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable -define { <2 x float>, <2 x float> } @nk_hsva_colorf(float noundef %h, float noundef %s, float noundef %v, float noundef %a) local_unnamed_addr #10 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable +define { <2 x float>, <2 x float> } @nk_hsva_colorf(float noundef %h, float noundef %s, float noundef %v, float noundef %a) local_unnamed_addr #0 { entry: %cmp = fcmp ugt float %s, 0.000000e+00 br i1 %cmp, label %if.end, label %if.then @@ -2972,10 +2972,10 @@ return: ; preds = %sw.epilog, %if.then } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #17 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #12 -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: read) uwtable -define { <2 x float>, <2 x float> } @nk_hsva_colorfv(ptr nocapture noundef readonly %c) local_unnamed_addr #16 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define { <2 x float>, <2 x float> } @nk_hsva_colorfv(ptr nocapture noundef readonly %c) local_unnamed_addr #3 { entry: %arrayidx1 = getelementptr inbounds float, ptr %c, i64 1 %0 = load float, ptr %arrayidx1, align 4 @@ -3046,8 +3046,8 @@ nk_hsva_colorf.exit: ; preds = %if.then.i, %sw.epil ret { <2 x float>, <2 x float> } %.fca.1.insert.i } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_hsva_fv(ptr nocapture noundef readonly %c) local_unnamed_addr #16 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define i32 @nk_hsva_fv(ptr nocapture noundef readonly %c) local_unnamed_addr #3 { entry: %arrayidx1 = getelementptr inbounds float, ptr %c, i64 1 %0 = load float, ptr %arrayidx1, align 4 @@ -3159,7 +3159,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_color_f(ptr nocapture noundef writeonly %r, ptr nocapture noundef writeonly %g, ptr nocapture noundef writeonly %b, ptr nocapture noundef writeonly %a, i32 %in.coerce) local_unnamed_addr #12 { +define void @nk_color_f(ptr nocapture noundef writeonly %r, ptr nocapture noundef writeonly %g, ptr nocapture noundef writeonly %b, ptr nocapture noundef writeonly %a, i32 %in.coerce) local_unnamed_addr #10 { entry: %in.sroa.0.0.extract.trunc = trunc i32 %in.coerce to i8 %in.sroa.2.0.extract.shift = lshr i32 %in.coerce, 8 @@ -3184,7 +3184,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_color_fv(ptr nocapture noundef writeonly %c, i32 %in.coerce) local_unnamed_addr #12 { +define void @nk_color_fv(ptr nocapture noundef writeonly %c, i32 %in.coerce) local_unnamed_addr #10 { entry: %in.sroa.2.0.extract.shift.i = lshr i32 %in.coerce, 8 %in.sroa.3.0.extract.shift.i = lshr i32 %in.coerce, 16 @@ -3221,7 +3221,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_color_d(ptr nocapture noundef writeonly %r, ptr nocapture noundef writeonly %g, ptr nocapture noundef writeonly %b, ptr nocapture noundef writeonly %a, i32 %in.coerce) local_unnamed_addr #12 { +define void @nk_color_d(ptr nocapture noundef writeonly %r, ptr nocapture noundef writeonly %g, ptr nocapture noundef writeonly %b, ptr nocapture noundef writeonly %a, i32 %in.coerce) local_unnamed_addr #10 { entry: %in.sroa.0.0.extract.trunc = trunc i32 %in.coerce to i8 %in.sroa.2.0.extract.shift = lshr i32 %in.coerce, 8 @@ -3246,7 +3246,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_color_dv(ptr nocapture noundef writeonly %c, i32 %in.coerce) local_unnamed_addr #12 { +define void @nk_color_dv(ptr nocapture noundef writeonly %c, i32 %in.coerce) local_unnamed_addr #10 { entry: %arrayidx2 = getelementptr inbounds double, ptr %c, i64 2 %arrayidx3 = getelementptr inbounds double, ptr %c, i64 3 @@ -3270,7 +3270,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_color_hsv_f(ptr nocapture noundef writeonly %out_h, ptr nocapture noundef writeonly %out_s, ptr nocapture noundef writeonly %out_v, i32 %in.coerce) local_unnamed_addr #4 { entry: %in.sroa.0.0.extract.trunc.i.i = trunc i32 %in.coerce to i8 @@ -3321,7 +3321,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_color_hsva_f(ptr nocapture noundef writeonly %out_h, ptr nocapture noundef writeonly %out_s, ptr nocapture noundef writeonly %out_v, ptr nocapture noundef writeonly %out_a, i32 %in.coerce) local_unnamed_addr #4 { entry: %in.sroa.0.0.extract.trunc.i = trunc i32 %in.coerce to i8 @@ -3379,7 +3379,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_color_hsv_fv(ptr nocapture noundef writeonly %out, i32 %in.coerce) local_unnamed_addr #4 { entry: %arrayidx1 = getelementptr inbounds float, ptr %out, i64 1 @@ -3432,7 +3432,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_colorf_hsva_f(ptr nocapture noundef writeonly %out_h, ptr nocapture noundef writeonly %out_s, ptr nocapture noundef writeonly %out_v, ptr nocapture noundef writeonly %out_a, <2 x float> %in.coerce0, <2 x float> %in.coerce1) local_unnamed_addr #4 { entry: %in.sroa.0.4.vec.extract = extractelement <2 x float> %in.coerce0, i64 1 @@ -3473,7 +3473,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_colorf_hsva_fv(ptr nocapture noundef writeonly %hsva, <2 x float> %in.coerce0, <2 x float> %in.coerce1) local_unnamed_addr #4 { entry: %arrayidx1 = getelementptr inbounds float, ptr %hsva, i64 1 @@ -3517,7 +3517,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_color_hsva_fv(ptr nocapture noundef writeonly %out, i32 %in.coerce) local_unnamed_addr #4 { entry: %arrayidx1 = getelementptr inbounds float, ptr %out, i64 1 @@ -3578,7 +3578,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_color_hsva_i(ptr nocapture noundef writeonly %out_h, ptr nocapture noundef writeonly %out_s, ptr nocapture noundef writeonly %out_v, ptr nocapture noundef writeonly %out_a, i32 %in.coerce) local_unnamed_addr #4 { entry: %in.sroa.0.0.extract.trunc.i.i = trunc i32 %in.coerce to i8 @@ -3648,7 +3648,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_color_hsva_iv(ptr nocapture noundef writeonly %out, i32 %in.coerce) local_unnamed_addr #4 { entry: %in.sroa.0.0.extract.trunc.i.i.i = trunc i32 %in.coerce to i8 @@ -3708,7 +3708,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_color_hsva_bv(ptr nocapture noundef writeonly %out, i32 %in.coerce) local_unnamed_addr #4 { entry: %in.sroa.0.0.extract.trunc.i.i.i = trunc i32 %in.coerce to i8 @@ -3767,7 +3767,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_color_hsva_b(ptr nocapture noundef writeonly %h, ptr nocapture noundef writeonly %s, ptr nocapture noundef writeonly %v, ptr nocapture noundef writeonly %a, i32 %in.coerce) local_unnamed_addr #4 { entry: %in.sroa.0.0.extract.trunc.i.i.i = trunc i32 %in.coerce to i8 @@ -3833,7 +3833,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_color_hsv_i(ptr nocapture noundef writeonly %out_h, ptr nocapture noundef writeonly %out_s, ptr nocapture noundef writeonly %out_v, i32 %in.coerce) local_unnamed_addr #4 { entry: %in.sroa.0.0.extract.trunc.i.i.i = trunc i32 %in.coerce to i8 @@ -3893,7 +3893,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_color_hsv_b(ptr nocapture noundef writeonly %out_h, ptr nocapture noundef writeonly %out_s, ptr nocapture noundef writeonly %out_v, i32 %in.coerce) local_unnamed_addr #4 { entry: %in.sroa.0.0.extract.trunc.i.i.i = trunc i32 %in.coerce to i8 @@ -3950,7 +3950,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_color_hsv_iv(ptr nocapture noundef writeonly %out, i32 %in.coerce) local_unnamed_addr #4 { entry: %arrayidx2 = getelementptr inbounds i32, ptr %out, i64 2 @@ -4009,7 +4009,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_color_hsv_bv(ptr nocapture noundef writeonly %out, i32 %in.coerce) local_unnamed_addr #4 { entry: %in.sroa.0.0.extract.trunc.i.i.i.i = trunc i32 %in.coerce to i8 @@ -4069,7 +4069,7 @@ entry: } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define i32 @nk_utf_decode(ptr noundef readonly %c, ptr noundef writeonly %u, i32 noundef %clen) local_unnamed_addr #18 { +define i32 @nk_utf_decode(ptr noundef readonly %c, ptr noundef writeonly %u, i32 noundef %clen) local_unnamed_addr #13 { entry: %tobool = icmp eq ptr %c, null %tobool1 = icmp eq ptr %u, null @@ -4197,7 +4197,7 @@ return: ; preds = %for.inc.i, %return. } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: write) uwtable -define i32 @nk_utf_encode(i32 noundef %u, ptr nocapture noundef writeonly %c, i32 noundef %clen) local_unnamed_addr #19 { +define i32 @nk_utf_encode(i32 noundef %u, ptr nocapture noundef writeonly %c, i32 noundef %clen) local_unnamed_addr #14 { entry: %cmp3.i = icmp ugt i32 %u, 1114110 %0 = add i32 %u, -55296 @@ -4269,7 +4269,7 @@ return: ; preds = %nk_utf_validate.exi } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable -define i32 @nk_utf_len(ptr noundef readonly %str, i32 noundef %len) local_unnamed_addr #11 { +define i32 @nk_utf_len(ptr noundef readonly %str, i32 noundef %len) local_unnamed_addr #9 { entry: %tobool = icmp ne ptr %str, null %tobool1 = icmp ne i32 %len, 0 @@ -4472,7 +4472,7 @@ return: ; preds = %while.body, %nk_utf } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define ptr @nk_utf_at(ptr noundef readonly %buffer, i32 noundef %length, i32 noundef %index, ptr noundef writeonly %unicode, ptr noundef writeonly %len) local_unnamed_addr #18 { +define ptr @nk_utf_at(ptr noundef readonly %buffer, i32 noundef %length, i32 noundef %index, ptr noundef writeonly %unicode, ptr noundef writeonly %len) local_unnamed_addr #13 { entry: %tobool = icmp ne ptr %buffer, null %tobool1 = icmp ne ptr %unicode, null @@ -4772,7 +4772,7 @@ return: ; preds = %while.end, %entry, } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: write, inaccessiblemem: readwrite) uwtable -define void @nk_buffer_init_default(ptr noundef %buffer) local_unnamed_addr #20 { +define void @nk_buffer_init_default(ptr noundef %buffer) local_unnamed_addr #15 { entry: %tobool.i.not = icmp eq ptr %buffer, null br i1 %tobool.i.not, label %nk_buffer_init.exit, label %if.end.i @@ -4799,7 +4799,7 @@ if.end19.i.i.i: ; preds = %if.end.i nk_zero.exit.i: ; preds = %if.end19.i.i.i, %if.end19.i.i.thread.i %type.i = getelementptr inbounds %struct.nk_buffer, ptr %buffer, i64 0, i32 2 store i32 1, ptr %type.i, align 8 - %call.i1 = tail call noalias dereferenceable_or_null(4096) ptr @malloc(i64 noundef 4096) #62 + %call.i1 = tail call noalias dereferenceable_or_null(4096) ptr @malloc(i64 noundef 4096) #50 %memory.i = getelementptr inbounds %struct.nk_buffer, ptr %buffer, i64 0, i32 3 store ptr %call.i1, ptr %memory.i, align 8 %size.i = getelementptr inbounds %struct.nk_buffer, ptr %buffer, i64 0, i32 3, i32 1 @@ -4821,21 +4821,21 @@ nk_buffer_init.exit: ; preds = %entry, %nk_zero.exi } ; Function Attrs: mustprogress nofree nounwind willreturn memory(inaccessiblemem: readwrite) uwtable -define internal noalias ptr @nk_malloc(ptr nocapture readnone %unused.coerce, ptr nocapture readnone %old, i64 noundef %size) #21 { +define internal noalias ptr @nk_malloc(ptr nocapture readnone %unused.coerce, ptr nocapture readnone %old, i64 noundef %size) #16 { entry: - %call = tail call noalias ptr @malloc(i64 noundef %size) #62 + %call = tail call noalias ptr @malloc(i64 noundef %size) #50 ret ptr %call } ; Function Attrs: mustprogress nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define internal void @nk_mfree(ptr nocapture readnone %unused.coerce, ptr nocapture noundef %ptr) #22 { +define internal void @nk_mfree(ptr nocapture readnone %unused.coerce, ptr nocapture noundef %ptr) #17 { entry: - tail call void @free(ptr noundef %ptr) #63 + tail call void @free(ptr noundef %ptr) #51 ret void } ; Function Attrs: nounwind uwtable -define void @nk_buffer_init(ptr noundef %b, ptr noundef readonly %a, i64 noundef %initial_size) local_unnamed_addr #23 { +define void @nk_buffer_init(ptr noundef %b, ptr noundef readonly %a, i64 noundef %initial_size) local_unnamed_addr #18 { entry: %tobool = icmp ne ptr %b, null %tobool1 = icmp ne ptr %a, null @@ -4869,7 +4869,7 @@ nk_zero.exit: ; preds = %if.end19.i.i.thread %alloc = getelementptr inbounds %struct.nk_allocator, ptr %a, i64 0, i32 1 %1 = load ptr, ptr %alloc, align 8 %2 = load ptr, ptr %a, align 8 - %call = tail call ptr %1(ptr %2, ptr noundef null, i64 noundef %initial_size) #63 + %call = tail call ptr %1(ptr %2, ptr noundef null, i64 noundef %initial_size) #51 %memory = getelementptr inbounds %struct.nk_buffer, ptr %b, i64 0, i32 3 store ptr %call, ptr %memory, align 8 %size = getelementptr inbounds %struct.nk_buffer, ptr %b, i64 0, i32 3, i32 1 @@ -4886,8 +4886,8 @@ return: ; preds = %entry, %nk_zero.exi ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_buffer_init_fixed(ptr noundef %b, ptr noundef %m, i64 noundef %size) local_unnamed_addr #24 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable +define void @nk_buffer_init_fixed(ptr noundef %b, ptr noundef %m, i64 noundef %size) local_unnamed_addr #10 { entry: %tobool = icmp ne ptr %b, null %tobool1 = icmp ne ptr %m, null @@ -4931,7 +4931,7 @@ return: ; preds = %entry, %nk_zero.exi } ; Function Attrs: nounwind uwtable -define void @nk_buffer_push(ptr noundef %b, i32 noundef %type, ptr noundef %memory, i64 noundef %size, i64 noundef %align) local_unnamed_addr #23 { +define void @nk_buffer_push(ptr noundef %b, i32 noundef %type, ptr noundef %memory, i64 noundef %size, i64 noundef %align) local_unnamed_addr #18 { entry: %call = tail call fastcc ptr @nk_buffer_alloc(ptr noundef %b, i32 noundef %type, i64 noundef %size, i64 noundef %align) %tobool.not = icmp eq ptr %call, null @@ -4946,7 +4946,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: nounwind uwtable -define internal fastcc ptr @nk_buffer_alloc(ptr noundef %b, i32 noundef %type, i64 noundef %size, i64 noundef %align) unnamed_addr #23 { +define internal fastcc ptr @nk_buffer_alloc(ptr noundef %b, i32 noundef %type, i64 noundef %size, i64 noundef %align) unnamed_addr #18 { entry: %tobool = icmp ne ptr %b, null %tobool1 = icmp ne i64 %size, 0 @@ -5076,7 +5076,7 @@ if.end45: ; preds = %lor.lhs.false41 %spec.select = tail call i64 @llvm.umax.i64(i64 %conv49, i64 %conv54) %pool.i = getelementptr inbounds %struct.nk_buffer, ptr %b, i64 0, i32 1 %20 = load ptr, ptr %pool.i, align 8 - %call.i = tail call ptr %16(ptr %20, ptr noundef %1, i64 noundef %spec.select) #63 + %call.i = tail call ptr %16(ptr %20, ptr noundef %1, i64 noundef %spec.select) #51 %tobool12.not.i = icmp eq ptr %call.i, null br i1 %tobool12.not.i, label %nk_buffer_realloc.exit.thread, label %if.end14.i @@ -5095,7 +5095,7 @@ if.then17.i: ; preds = %if.end14.i %22 = load ptr, ptr %free, align 8 %23 = load ptr, ptr %memory46, align 8 %24 = load ptr, ptr %pool.i, align 8 - tail call void %22(ptr %24, ptr noundef %23) #63 + tail call void %22(ptr %24, ptr noundef %23) #51 br label %if.end28.i if.end28.i: ; preds = %if.then17.i, %if.end14.i @@ -5202,7 +5202,7 @@ return: ; preds = %nk_buffer_realloc.e } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc ptr @nk_memcopy(ptr noundef returned %dst0, ptr noundef %src0, i64 noundef %length) unnamed_addr #25 { +define internal fastcc ptr @nk_memcopy(ptr noundef returned %dst0, ptr noundef %src0, i64 noundef %length) unnamed_addr #19 { entry: %cmp = icmp eq i64 %length, 0 %cmp1 = icmp eq ptr %dst0, %src0 @@ -5373,7 +5373,7 @@ done: ; preds = %do.body75, %do.body } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @nk_buffer_mark(ptr noundef %buffer, i32 noundef %type) local_unnamed_addr #26 { +define void @nk_buffer_mark(ptr noundef %buffer, i32 noundef %type) local_unnamed_addr #20 { entry: %tobool.not = icmp eq ptr %buffer, null br i1 %tobool.not, label %if.end9, label %if.end @@ -5396,7 +5396,7 @@ if.end9: ; preds = %if.end, %entry } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define void @nk_buffer_reset(ptr noundef %buffer, i32 noundef %type) local_unnamed_addr #27 { +define void @nk_buffer_reset(ptr noundef %buffer, i32 noundef %type) local_unnamed_addr #21 { entry: %tobool.not = icmp eq ptr %buffer, null br i1 %tobool.not, label %if.end47, label %if.end @@ -5450,8 +5450,8 @@ if.end47: ; preds = %if.end47.sink.split ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @nk_buffer_clear(ptr noundef %b) local_unnamed_addr #28 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define void @nk_buffer_clear(ptr noundef %b) local_unnamed_addr #22 { entry: %tobool.not = icmp eq ptr %b, null br i1 %tobool.not, label %return, label %if.end @@ -5472,7 +5472,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: nounwind uwtable -define void @nk_buffer_free(ptr noundef readonly %b) local_unnamed_addr #23 { +define void @nk_buffer_free(ptr noundef readonly %b) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %b, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -5498,7 +5498,7 @@ if.end3: ; preds = %if.end if.end6: ; preds = %if.end3 %pool = getelementptr inbounds %struct.nk_buffer, ptr %b, i64 0, i32 1 %3 = load ptr, ptr %pool, align 8 - tail call void %2(ptr %3, ptr noundef nonnull %0) #63 + tail call void %2(ptr %3, ptr noundef nonnull %0) #51 br label %return return: ; preds = %if.end3, %if.end, %entry, %lor.lhs.false, %if.end6 @@ -5506,7 +5506,7 @@ return: ; preds = %if.end3, %if.end, % } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @nk_buffer_info(ptr noundef writeonly %s, ptr noundef readonly %b) local_unnamed_addr #29 { +define void @nk_buffer_info(ptr noundef writeonly %s, ptr noundef readonly %b) local_unnamed_addr #22 { entry: %tobool = icmp ne ptr %s, null %tobool1 = icmp ne ptr %b, null @@ -5540,7 +5540,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define ptr @nk_buffer_memory(ptr noundef readonly %buffer) local_unnamed_addr #14 { +define ptr @nk_buffer_memory(ptr noundef readonly %buffer) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %buffer, null br i1 %tobool.not, label %return, label %if.end @@ -5556,7 +5556,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define ptr @nk_buffer_memory_const(ptr noundef readonly %buffer) local_unnamed_addr #14 { +define ptr @nk_buffer_memory_const(ptr noundef readonly %buffer) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %buffer, null br i1 %tobool.not, label %return, label %if.end @@ -5572,7 +5572,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i64 @nk_buffer_total(ptr noundef readonly %buffer) local_unnamed_addr #14 { +define i64 @nk_buffer_total(ptr noundef readonly %buffer) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %buffer, null br i1 %tobool.not, label %return, label %if.end @@ -5588,7 +5588,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: write, inaccessiblemem: readwrite) uwtable -define void @nk_str_init_default(ptr noundef %str) local_unnamed_addr #20 { +define void @nk_str_init_default(ptr noundef %str) local_unnamed_addr #15 { entry: %tobool.i.not = icmp eq ptr %str, null br i1 %tobool.i.not, label %nk_buffer_init.exit, label %if.end.i @@ -5615,7 +5615,7 @@ if.end19.i.i.i: ; preds = %if.end.i nk_zero.exit.i: ; preds = %if.end19.i.i.i, %if.end19.i.i.thread.i %type.i = getelementptr inbounds %struct.nk_buffer, ptr %str, i64 0, i32 2 store i32 1, ptr %type.i, align 8 - %call.i2 = tail call noalias dereferenceable_or_null(32) ptr @malloc(i64 noundef 32) #62 + %call.i2 = tail call noalias dereferenceable_or_null(32) ptr @malloc(i64 noundef 32) #50 %memory.i = getelementptr inbounds %struct.nk_buffer, ptr %str, i64 0, i32 3 store ptr %call.i2, ptr %memory.i, align 8 %size.i = getelementptr inbounds %struct.nk_buffer, ptr %str, i64 0, i32 3, i32 1 @@ -5639,7 +5639,7 @@ nk_buffer_init.exit: ; preds = %entry, %nk_zero.exi } ; Function Attrs: nounwind uwtable -define void @nk_str_init(ptr noundef %str, ptr noundef readonly %alloc, i64 noundef %size) local_unnamed_addr #23 { +define void @nk_str_init(ptr noundef %str, ptr noundef readonly %alloc, i64 noundef %size) local_unnamed_addr #18 { entry: %tobool.i = icmp ne ptr %str, null %tobool1.i = icmp ne ptr %alloc, null @@ -5673,7 +5673,7 @@ nk_zero.exit.i: ; preds = %if.end19.i.i.i, %if %alloc.i = getelementptr inbounds %struct.nk_allocator, ptr %alloc, i64 0, i32 1 %1 = load ptr, ptr %alloc.i, align 8 %2 = load ptr, ptr %alloc, align 8 - %call.i = tail call ptr %1(ptr %2, ptr noundef null, i64 noundef %size) #63 + %call.i = tail call ptr %1(ptr %2, ptr noundef null, i64 noundef %size) #51 %memory.i = getelementptr inbounds %struct.nk_buffer, ptr %str, i64 0, i32 3 store ptr %call.i, ptr %memory.i, align 8 %size.i = getelementptr inbounds %struct.nk_buffer, ptr %str, i64 0, i32 3, i32 1 @@ -5692,8 +5692,8 @@ nk_buffer_init.exit: ; preds = %entry, %nk_zero.exi ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_str_init_fixed(ptr noundef %str, ptr noundef %memory, i64 noundef %size) local_unnamed_addr #24 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable +define void @nk_str_init_fixed(ptr noundef %str, ptr noundef %memory, i64 noundef %size) local_unnamed_addr #10 { entry: %tobool.i = icmp ne ptr %str, null %tobool1.i = icmp ne ptr %memory, null @@ -5739,7 +5739,7 @@ nk_buffer_init_fixed.exit: ; preds = %entry, %nk_zero.exi } ; Function Attrs: nounwind uwtable -define i32 @nk_str_append_text_char(ptr noundef %s, ptr noundef %str, i32 noundef %len) local_unnamed_addr #23 { +define i32 @nk_str_append_text_char(ptr noundef %s, ptr noundef %str, i32 noundef %len) local_unnamed_addr #18 { entry: %tobool = icmp ne ptr %s, null %tobool1 = icmp ne ptr %str, null @@ -5769,7 +5769,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: nounwind uwtable -define i32 @nk_str_append_str_char(ptr noundef %s, ptr noundef %str) local_unnamed_addr #23 { +define i32 @nk_str_append_str_char(ptr noundef %s, ptr noundef %str) local_unnamed_addr #18 { entry: %tobool.not3.i = icmp eq ptr %str, null br i1 %tobool.not3.i, label %nk_str_append_text_char.exit, label %land.rhs.i.preheader @@ -5813,7 +5813,7 @@ nk_str_append_text_char.exit: ; preds = %land.rhs.i.preheade } ; Function Attrs: nounwind uwtable -define i32 @nk_str_append_text_utf8(ptr noundef %str, ptr noundef %text, i32 noundef %len) local_unnamed_addr #23 { +define i32 @nk_str_append_text_utf8(ptr noundef %str, ptr noundef %text, i32 noundef %len) local_unnamed_addr #18 { entry: %tobool = icmp ne ptr %str, null %tobool1 = icmp ne ptr %text, null @@ -5946,7 +5946,7 @@ return: ; preds = %for.cond.preheader, } ; Function Attrs: nounwind uwtable -define i32 @nk_str_append_str_utf8(ptr noundef %str, ptr noundef %text) local_unnamed_addr #23 { +define i32 @nk_str_append_str_utf8(ptr noundef %str, ptr noundef %text) local_unnamed_addr #18 { entry: %tobool = icmp ne ptr %str, null %tobool1 = icmp ne ptr %text, null @@ -6226,7 +6226,7 @@ return: ; preds = %for.end.i, %if.end6 } ; Function Attrs: nounwind uwtable -define i32 @nk_str_append_text_runes(ptr noundef %str, ptr noundef readonly %text, i32 noundef %len) local_unnamed_addr #23 { +define i32 @nk_str_append_text_runes(ptr noundef %str, ptr noundef readonly %text, i32 noundef %len) local_unnamed_addr #18 { entry: %glyph = alloca [4 x i8], align 1 %tobool = icmp ne ptr %str, null @@ -6332,7 +6332,7 @@ return: ; preds = %nk_str_append_text_ } ; Function Attrs: nounwind uwtable -define i32 @nk_str_append_str_runes(ptr noundef %str, ptr noundef readonly %runes) local_unnamed_addr #23 { +define i32 @nk_str_append_str_runes(ptr noundef %str, ptr noundef readonly %runes) local_unnamed_addr #18 { entry: %glyph = alloca [4 x i8], align 1 %tobool = icmp ne ptr %str, null @@ -6441,7 +6441,7 @@ return: ; preds = %return.loopexit, %w } ; Function Attrs: nounwind uwtable -define i32 @nk_str_insert_at_char(ptr noundef %s, i32 noundef %pos, ptr noundef %str, i32 noundef %len) local_unnamed_addr #23 { +define i32 @nk_str_insert_at_char(ptr noundef %s, i32 noundef %pos, ptr noundef %str, i32 noundef %len) local_unnamed_addr #18 { entry: %tobool = icmp ne ptr %s, null %tobool1 = icmp ne ptr %str, null @@ -6546,7 +6546,7 @@ return: ; preds = %if.end6.i, %if.end. } ; Function Attrs: nounwind uwtable -define i32 @nk_str_insert_at_rune(ptr noundef %str, i32 noundef %pos, ptr noundef %cstr, i32 noundef %len) local_unnamed_addr #23 { +define i32 @nk_str_insert_at_rune(ptr noundef %str, i32 noundef %pos, ptr noundef %cstr, i32 noundef %len) local_unnamed_addr #18 { entry: %tobool = icmp ne ptr %str, null %tobool1 = icmp ne ptr %cstr, null @@ -6825,7 +6825,7 @@ return: ; preds = %if.end6.i, %if.end. } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define ptr @nk_str_at_rune(ptr noundef readonly %str, i32 noundef %pos, ptr noundef %unicode, ptr noundef writeonly %len) local_unnamed_addr #25 { +define ptr @nk_str_at_rune(ptr noundef readonly %str, i32 noundef %pos, ptr noundef %unicode, ptr noundef writeonly %len) local_unnamed_addr #19 { entry: %tobool = icmp ne ptr %str, null %tobool1 = icmp ne ptr %unicode, null @@ -6892,7 +6892,7 @@ return: ; preds = %while.end, %entry, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define ptr @nk_str_get_const(ptr noundef readonly %s) local_unnamed_addr #14 { +define ptr @nk_str_get_const(ptr noundef readonly %s) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %s, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -6920,7 +6920,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_str_insert_text_char(ptr noundef %str, i32 noundef %pos, ptr noundef %text, i32 noundef %len) local_unnamed_addr #23 { +define i32 @nk_str_insert_text_char(ptr noundef %str, i32 noundef %pos, ptr noundef %text, i32 noundef %len) local_unnamed_addr #18 { entry: %tobool.i = icmp ne ptr %str, null %tobool1.i = icmp ne ptr %text, null @@ -7042,7 +7042,7 @@ nk_str_insert_text_utf8.exit: ; preds = %entry, %for.end.i } ; Function Attrs: nounwind uwtable -define i32 @nk_str_insert_text_utf8(ptr noundef %str, i32 noundef %pos, ptr noundef %text, i32 noundef %len) local_unnamed_addr #23 { +define i32 @nk_str_insert_text_utf8(ptr noundef %str, i32 noundef %pos, ptr noundef %text, i32 noundef %len) local_unnamed_addr #18 { entry: %tobool = icmp ne ptr %str, null %tobool1 = icmp ne ptr %text, null @@ -7161,7 +7161,7 @@ return: ; preds = %entry, %for.end } ; Function Attrs: nounwind uwtable -define i32 @nk_str_insert_str_char(ptr noundef %str, i32 noundef %pos, ptr noundef %text) local_unnamed_addr #23 { +define i32 @nk_str_insert_str_char(ptr noundef %str, i32 noundef %pos, ptr noundef %text) local_unnamed_addr #18 { entry: %tobool.not3.i = icmp eq ptr %text, null br i1 %tobool.not3.i, label %nk_str_insert_text_utf8.exit, label %land.rhs.i.preheader @@ -7292,7 +7292,7 @@ nk_str_insert_text_utf8.exit: ; preds = %land.rhs.i.preheade } ; Function Attrs: nounwind uwtable -define i32 @nk_str_insert_str_utf8(ptr noundef %str, i32 noundef %pos, ptr noundef %text) local_unnamed_addr #23 { +define i32 @nk_str_insert_str_utf8(ptr noundef %str, i32 noundef %pos, ptr noundef %text) local_unnamed_addr #18 { entry: %tobool = icmp ne ptr %str, null %tobool1 = icmp ne ptr %text, null @@ -7557,7 +7557,7 @@ return: ; preds = %entry, %while.end } ; Function Attrs: nounwind uwtable -define i32 @nk_str_insert_text_runes(ptr noundef %str, i32 noundef %pos, ptr noundef readonly %runes, i32 noundef %len) local_unnamed_addr #23 { +define i32 @nk_str_insert_text_runes(ptr noundef %str, i32 noundef %pos, ptr noundef readonly %runes, i32 noundef %len) local_unnamed_addr #18 { entry: %glyph = alloca [4 x i8], align 1 %tobool = icmp ne ptr %str, null @@ -7652,7 +7652,7 @@ return: ; preds = %nk_utf_encode.exit, } ; Function Attrs: nounwind uwtable -define i32 @nk_str_insert_str_runes(ptr noundef %str, i32 noundef %pos, ptr noundef readonly %runes) local_unnamed_addr #23 { +define i32 @nk_str_insert_str_runes(ptr noundef %str, i32 noundef %pos, ptr noundef readonly %runes) local_unnamed_addr #18 { entry: %glyph = alloca [4 x i8], align 1 %tobool = icmp ne ptr %str, null @@ -7792,36 +7792,32 @@ if.end: ; preds = %entry %len1 = getelementptr inbounds %struct.nk_str, ptr %str, i64 0, i32 1 %0 = load i32, ptr %len1, align 8 %cmp2.not = icmp sgt i32 %0, %len - br i1 %cmp2.not, label %if.end.i, label %return.sink.split + br i1 %cmp2.not, label %if.end5.i, label %return.sink.split -if.end.i: ; preds = %if.end +if.end5.i: ; preds = %if.end %sub = sub nsw i32 %0, %len - %cmp.i = icmp slt i32 %sub, 0 - %memory.phi.trans.insert = getelementptr inbounds %struct.nk_buffer, ptr %str, i64 0, i32 3 - %.pre = load ptr, ptr %memory.phi.trans.insert, align 8 - %allocated.phi.trans.insert = getelementptr inbounds %struct.nk_buffer, ptr %str, i64 0, i32 5 - %.pre122 = load i64, ptr %allocated.phi.trans.insert, align 8 - br i1 %cmp.i, label %nk_str_at_rune.exit, label %if.end5.i - -if.end5.i: ; preds = %if.end.i - %conv.i = trunc i64 %.pre122 to i32 - %tobool.i19 = icmp eq ptr %.pre, null + %memory.i = getelementptr inbounds %struct.nk_buffer, ptr %str, i64 0, i32 3 + %1 = load ptr, ptr %memory.i, align 8 + %allocated.i = getelementptr inbounds %struct.nk_buffer, ptr %str, i64 0, i32 5 + %2 = load i64, ptr %allocated.i, align 8 + %conv.i = trunc i64 %2 to i32 + %tobool.i19 = icmp eq ptr %1, null %tobool2.not.i20 = icmp eq i32 %conv.i, 0 %or.cond14.i21 = or i1 %tobool.i19, %tobool2.not.i20 br i1 %or.cond14.i21, label %while.end.i, label %if.end4.i22 if.end4.i22: ; preds = %if.end5.i - %1 = load i8, ptr %.pre, align 1 + %3 = load i8, ptr %1, align 1 br label %for.body.i.i23 for.body.i.i23: ; preds = %for.inc.i.i29, %if.end4.i22 %indvars.iv.i.i24 = phi i64 [ %indvars.iv.next.i.i30, %for.inc.i.i29 ], [ 0, %if.end4.i22 ] %arrayidx.i.i25 = getelementptr inbounds [5 x i8], ptr @nk_utfmask, i64 0, i64 %indvars.iv.i.i24 - %2 = load i8, ptr %arrayidx.i.i25, align 1 - %and8.i.i26 = and i8 %2, %1 + %4 = load i8, ptr %arrayidx.i.i25, align 1 + %and8.i.i26 = and i8 %4, %3 %arrayidx3.i.i27 = getelementptr inbounds [5 x i8], ptr @nk_utfbyte, i64 0, i64 %indvars.iv.i.i24 - %3 = load i8, ptr %arrayidx3.i.i27, align 1 - %cmp5.i.i28 = icmp eq i8 %and8.i.i26, %3 + %5 = load i8, ptr %arrayidx3.i.i27, align 1 + %cmp5.i.i28 = icmp eq i8 %and8.i.i26, %5 br i1 %cmp5.i.i28, label %nk_utf_decode_byte.exit.i33, label %for.inc.i.i29 for.inc.i.i29: ; preds = %for.body.i.i23 @@ -7830,36 +7826,36 @@ for.inc.i.i29: ; preds = %for.body.i.i23 br i1 %exitcond.not.i.i31, label %while.body.i.preheader, label %for.body.i.i23, !llvm.loop !20 nk_utf_decode_byte.exit.i33: ; preds = %for.body.i.i23 - %4 = trunc i64 %indvars.iv.i.i24 to i32 - %5 = add i32 %4, -1 - %or.cond1.i34 = icmp ult i32 %5, 3 + %6 = trunc i64 %indvars.iv.i.i24 to i32 + %7 = add i32 %6, -1 + %or.cond1.i34 = icmp ult i32 %7, 3 br i1 %or.cond1.i34, label %for.cond.preheader.i35, label %while.body.i.preheader for.cond.preheader.i35: ; preds = %nk_utf_decode_byte.exit.i33 %cmp861.i39 = icmp sgt i32 %conv.i, 1 - %cmp962.i40 = icmp ugt i32 %4, 1 - %6 = and i1 %cmp861.i39, %cmp962.i40 - br i1 %6, label %for.body.preheader.i54, label %for.end.i41 + %cmp962.i40 = icmp ugt i32 %6, 1 + %8 = and i1 %cmp861.i39, %cmp962.i40 + br i1 %8, label %for.body.preheader.i54, label %for.end.i41 for.body.preheader.i54: ; preds = %for.cond.preheader.i35 - %7 = and i64 %.pre122, 4294967295 + %9 = and i64 %2, 4294967295 %zext = and i64 %indvars.iv.i.i24, 4294967295 br label %for.body.i55 for.body.i55: ; preds = %for.inc.i74, %for.body.preheader.i54 %indvars.iv.i56 = phi i64 [ 1, %for.body.preheader.i54 ], [ %indvars.iv.next.i80, %for.inc.i74 ] - %arrayidx10.i58 = getelementptr inbounds i8, ptr %.pre, i64 %indvars.iv.i56 - %8 = load i8, ptr %arrayidx10.i58, align 1 + %arrayidx10.i58 = getelementptr inbounds i8, ptr %1, i64 %indvars.iv.i56 + %10 = load i8, ptr %arrayidx10.i58, align 1 br label %for.body.i15.i59 for.body.i15.i59: ; preds = %for.inc.i21.i65, %for.body.i55 %indvars.iv.i16.i60 = phi i64 [ %indvars.iv.next.i22.i66, %for.inc.i21.i65 ], [ 0, %for.body.i55 ] %arrayidx.i17.i61 = getelementptr inbounds [5 x i8], ptr @nk_utfmask, i64 0, i64 %indvars.iv.i16.i60 - %9 = load i8, ptr %arrayidx.i17.i61, align 1 - %and8.i18.i62 = and i8 %9, %8 + %11 = load i8, ptr %arrayidx.i17.i61, align 1 + %and8.i18.i62 = and i8 %11, %10 %arrayidx3.i19.i63 = getelementptr inbounds [5 x i8], ptr @nk_utfbyte, i64 0, i64 %indvars.iv.i16.i60 - %10 = load i8, ptr %arrayidx3.i19.i63, align 1 - %cmp5.i20.i64 = icmp eq i8 %and8.i18.i62, %10 + %12 = load i8, ptr %arrayidx3.i19.i63, align 1 + %cmp5.i20.i64 = icmp eq i8 %and8.i18.i62, %12 br i1 %cmp5.i20.i64, label %nk_utf_decode_byte.exit30.i70, label %for.inc.i21.i65 for.inc.i21.i65: ; preds = %for.body.i15.i59 @@ -7868,19 +7864,19 @@ for.inc.i21.i65: ; preds = %for.body.i15.i59 br i1 %exitcond.not.i23.i67, label %return.loopexit.i68, label %for.body.i15.i59, !llvm.loop !20 nk_utf_decode_byte.exit30.i70: ; preds = %for.body.i15.i59 - %11 = and i64 %indvars.iv.i16.i60, 4294967295 - %cmp12.not.i71 = icmp eq i64 %11, 0 + %13 = and i64 %indvars.iv.i16.i60, 4294967295 + %cmp12.not.i71 = icmp eq i64 %13, 0 br i1 %cmp12.not.i71, label %for.inc.i74, label %return.loopexit81.i72 for.inc.i74: ; preds = %nk_utf_decode_byte.exit30.i70 %indvars.iv.next.i80 = add nuw nsw i64 %indvars.iv.i56, 1 - %cmp8.i82 = icmp ult i64 %indvars.iv.next.i80, %7 - %12 = icmp ult i64 %indvars.iv.next.i80, %zext - %13 = and i1 %cmp8.i82, %12 - br i1 %13, label %for.body.i55, label %for.end.i41, !llvm.loop !21 + %cmp8.i82 = icmp ult i64 %indvars.iv.next.i80, %9 + %14 = icmp ult i64 %indvars.iv.next.i80, %zext + %15 = and i1 %cmp8.i82, %14 + br i1 %15, label %for.body.i55, label %for.end.i41, !llvm.loop !21 for.end.i41: ; preds = %for.inc.i74, %for.cond.preheader.i35 - %cmp9.lcssa.i43 = phi i1 [ %cmp962.i40, %for.cond.preheader.i35 ], [ %12, %for.inc.i74 ] + %cmp9.lcssa.i43 = phi i1 [ %cmp962.i40, %for.cond.preheader.i35 ], [ %14, %for.inc.i74 ] br i1 %cmp9.lcssa.i43, label %while.end.i, label %nk_utf_decode.exit84 return.loopexit.i68: ; preds = %for.inc.i21.i65 @@ -7892,7 +7888,7 @@ return.loopexit81.i72: ; preds = %nk_utf_decode_byte. br label %nk_utf_decode.exit84 nk_utf_decode.exit84: ; preds = %for.end.i41, %return.loopexit.i68, %return.loopexit81.i72 - %retval.0.i32 = phi i32 [ %indvars78.le91.i69, %return.loopexit.i68 ], [ %indvars78.le.i73, %return.loopexit81.i72 ], [ %4, %for.end.i41 ] + %retval.0.i32 = phi i32 [ %indvars78.le91.i69, %return.loopexit.i68 ], [ %indvars78.le.i73, %return.loopexit81.i72 ], [ %6, %for.end.i41 ] %tobool7.not26.i = icmp eq i32 %retval.0.i32, 0 br i1 %tobool7.not26.i, label %while.end.i, label %while.body.i.preheader @@ -7911,23 +7907,23 @@ if.end11.i: ; preds = %while.body.i %inc.i = add nuw nsw i32 %i.029.i, 1 %add.i = add nsw i32 %src_len.027.i, %glyph_len.028.i %idx.ext.i = sext i32 %add.i to i64 - %add.ptr.i = getelementptr inbounds i8, ptr %.pre, i64 %idx.ext.i + %add.ptr.i = getelementptr inbounds i8, ptr %1, i64 %idx.ext.i %sub.i = sub nsw i32 %conv.i, %add.i %tobool2.not.i = icmp eq i32 %add.i, %conv.i br i1 %tobool2.not.i, label %while.end.i, label %if.end4.i if.end4.i: ; preds = %if.end11.i - %14 = load i8, ptr %add.ptr.i, align 1 + %16 = load i8, ptr %add.ptr.i, align 1 br label %for.body.i.i for.body.i.i: ; preds = %for.inc.i.i, %if.end4.i %indvars.iv.i.i = phi i64 [ %indvars.iv.next.i.i, %for.inc.i.i ], [ 0, %if.end4.i ] %arrayidx.i.i = getelementptr inbounds [5 x i8], ptr @nk_utfmask, i64 0, i64 %indvars.iv.i.i - %15 = load i8, ptr %arrayidx.i.i, align 1 - %and8.i.i = and i8 %15, %14 + %17 = load i8, ptr %arrayidx.i.i, align 1 + %and8.i.i = and i8 %17, %16 %arrayidx3.i.i = getelementptr inbounds [5 x i8], ptr @nk_utfbyte, i64 0, i64 %indvars.iv.i.i - %16 = load i8, ptr %arrayidx3.i.i, align 1 - %cmp5.i.i = icmp eq i8 %and8.i.i, %16 + %18 = load i8, ptr %arrayidx3.i.i, align 1 + %cmp5.i.i = icmp eq i8 %and8.i.i, %18 br i1 %cmp5.i.i, label %nk_utf_decode_byte.exit.i, label %for.inc.i.i for.inc.i.i: ; preds = %for.body.i.i @@ -7936,36 +7932,36 @@ for.inc.i.i: ; preds = %for.body.i.i br i1 %exitcond.not.i.i, label %nk_utf_decode.exit, label %for.body.i.i, !llvm.loop !20 nk_utf_decode_byte.exit.i: ; preds = %for.body.i.i - %17 = trunc i64 %indvars.iv.i.i to i32 - %18 = add i32 %17, -1 - %or.cond1.i = icmp ult i32 %18, 3 + %19 = trunc i64 %indvars.iv.i.i to i32 + %20 = add i32 %19, -1 + %or.cond1.i = icmp ult i32 %20, 3 br i1 %or.cond1.i, label %for.cond.preheader.i, label %nk_utf_decode.exit for.cond.preheader.i: ; preds = %nk_utf_decode_byte.exit.i %cmp861.i = icmp sgt i32 %sub.i, 1 - %cmp962.i = icmp ugt i32 %17, 1 - %19 = and i1 %cmp861.i, %cmp962.i - br i1 %19, label %for.body.preheader.i, label %for.end.i + %cmp962.i = icmp ugt i32 %19, 1 + %21 = and i1 %cmp861.i, %cmp962.i + br i1 %21, label %for.body.preheader.i, label %for.end.i for.body.preheader.i: ; preds = %for.cond.preheader.i - %20 = zext nneg i32 %sub.i to i64 + %22 = zext nneg i32 %sub.i to i64 %zext121 = and i64 %indvars.iv.i.i, 4294967295 br label %for.body.i for.body.i: ; preds = %for.inc.i, %for.body.preheader.i %indvars.iv.i = phi i64 [ 1, %for.body.preheader.i ], [ %indvars.iv.next.i, %for.inc.i ] %arrayidx10.i = getelementptr inbounds i8, ptr %add.ptr.i, i64 %indvars.iv.i - %21 = load i8, ptr %arrayidx10.i, align 1 + %23 = load i8, ptr %arrayidx10.i, align 1 br label %for.body.i15.i for.body.i15.i: ; preds = %for.inc.i21.i, %for.body.i %indvars.iv.i16.i = phi i64 [ %indvars.iv.next.i22.i, %for.inc.i21.i ], [ 0, %for.body.i ] %arrayidx.i17.i = getelementptr inbounds [5 x i8], ptr @nk_utfmask, i64 0, i64 %indvars.iv.i16.i - %22 = load i8, ptr %arrayidx.i17.i, align 1 - %and8.i18.i = and i8 %22, %21 + %24 = load i8, ptr %arrayidx.i17.i, align 1 + %and8.i18.i = and i8 %24, %23 %arrayidx3.i19.i = getelementptr inbounds [5 x i8], ptr @nk_utfbyte, i64 0, i64 %indvars.iv.i16.i - %23 = load i8, ptr %arrayidx3.i19.i, align 1 - %cmp5.i20.i = icmp eq i8 %and8.i18.i, %23 + %25 = load i8, ptr %arrayidx3.i19.i, align 1 + %cmp5.i20.i = icmp eq i8 %and8.i18.i, %25 br i1 %cmp5.i20.i, label %nk_utf_decode_byte.exit30.i, label %for.inc.i21.i for.inc.i21.i: ; preds = %for.body.i15.i @@ -7974,19 +7970,19 @@ for.inc.i21.i: ; preds = %for.body.i15.i br i1 %exitcond.not.i23.i, label %return.loopexit.i, label %for.body.i15.i, !llvm.loop !20 nk_utf_decode_byte.exit30.i: ; preds = %for.body.i15.i - %24 = and i64 %indvars.iv.i16.i, 4294967295 - %cmp12.not.i = icmp eq i64 %24, 0 + %26 = and i64 %indvars.iv.i16.i, 4294967295 + %cmp12.not.i = icmp eq i64 %26, 0 br i1 %cmp12.not.i, label %for.inc.i, label %return.loopexit81.i for.inc.i: ; preds = %nk_utf_decode_byte.exit30.i %indvars.iv.next.i = add nuw nsw i64 %indvars.iv.i, 1 - %cmp8.i18 = icmp ult i64 %indvars.iv.next.i, %20 - %25 = icmp ult i64 %indvars.iv.next.i, %zext121 - %26 = and i1 %cmp8.i18, %25 - br i1 %26, label %for.body.i, label %for.end.i, !llvm.loop !21 + %cmp8.i18 = icmp ult i64 %indvars.iv.next.i, %22 + %27 = icmp ult i64 %indvars.iv.next.i, %zext121 + %28 = and i1 %cmp8.i18, %27 + br i1 %28, label %for.body.i, label %for.end.i, !llvm.loop !21 for.end.i: ; preds = %for.inc.i, %for.cond.preheader.i - %cmp9.lcssa.i = phi i1 [ %cmp962.i, %for.cond.preheader.i ], [ %25, %for.inc.i ] + %cmp9.lcssa.i = phi i1 [ %cmp962.i, %for.cond.preheader.i ], [ %27, %for.inc.i ] br i1 %cmp9.lcssa.i, label %while.end.i, label %nk_utf_decode.exit return.loopexit.i: ; preds = %for.inc.i21.i @@ -7998,7 +7994,7 @@ return.loopexit81.i: ; preds = %nk_utf_decode_byte. br label %nk_utf_decode.exit nk_utf_decode.exit: ; preds = %for.inc.i.i, %for.end.i, %nk_utf_decode_byte.exit.i, %return.loopexit.i, %return.loopexit81.i - %retval.0.i17 = phi i32 [ 1, %nk_utf_decode_byte.exit.i ], [ %indvars78.le91.i, %return.loopexit.i ], [ %indvars78.le.i, %return.loopexit81.i ], [ %17, %for.end.i ], [ 1, %for.inc.i.i ] + %retval.0.i17 = phi i32 [ 1, %nk_utf_decode_byte.exit.i ], [ %indvars78.le91.i, %return.loopexit.i ], [ %indvars78.le.i, %return.loopexit81.i ], [ %19, %for.end.i ], [ 1, %for.inc.i.i ] %tobool7.not.i = icmp eq i32 %retval.0.i17, 0 br i1 %tobool7.not.i, label %while.end.i, label %while.body.i, !llvm.loop !37 @@ -8011,14 +8007,13 @@ while.end.i: ; preds = %for.end.i, %if.end1 if.end16.i: ; preds = %while.body.i, %while.end.i %src_len.02537.i = phi i32 [ %src_len.025.i, %while.end.i ], [ %src_len.027.i, %while.body.i ] %idx.ext17.i = sext i32 %src_len.02537.i to i64 - %add.ptr18.i = getelementptr inbounds i8, ptr %.pre, i64 %idx.ext17.i - %27 = ptrtoint ptr %add.ptr18.i to i64 + %add.ptr18.i = getelementptr inbounds i8, ptr %1, i64 %idx.ext17.i + %29 = ptrtoint ptr %add.ptr18.i to i64 br label %nk_str_at_rune.exit -nk_str_at_rune.exit: ; preds = %if.end.i, %while.end.i, %if.end16.i - %retval.0.i = phi i64 [ %27, %if.end16.i ], [ 0, %while.end.i ], [ 0, %if.end.i ] - %allocated = getelementptr inbounds %struct.nk_buffer, ptr %str, i64 0, i32 5 - %add.ptr = getelementptr inbounds i8, ptr %.pre, i64 %.pre122 +nk_str_at_rune.exit: ; preds = %while.end.i, %if.end16.i + %retval.0.i = phi i64 [ %29, %if.end16.i ], [ 0, %while.end.i ] + %add.ptr = getelementptr inbounds i8, ptr %1, i64 %2 %sub.ptr.lhs.cast = ptrtoint ptr %add.ptr to i64 %sub.ptr.sub = sub i64 %sub.ptr.lhs.cast, %retval.0.i %conv = trunc i64 %sub.ptr.sub to i32 @@ -8028,14 +8023,14 @@ nk_str_at_rune.exit: ; preds = %if.end.i, %while.en lor.lhs.false1.i: ; preds = %nk_str_at_rune.exit %add = add i64 %sub.ptr.sub, 1 %conv.i10 = and i64 %add, 4294967295 - %cmp2.i = icmp ult i64 %.pre122, %conv.i10 + %cmp2.i = icmp ult i64 %2, %conv.i10 br i1 %cmp2.i, label %return, label %if.end.i12 if.end.i12: ; preds = %lor.lhs.false1.i - %sub.i13 = sub i64 %.pre122, %conv.i10 - store i64 %sub.i13, ptr %allocated, align 8 + %sub.i13 = sub i64 %2, %conv.i10 + store i64 %sub.i13, ptr %allocated.i, align 8 %conv10.i = trunc i64 %sub.i13 to i32 - %call.i15 = tail call i32 @nk_utf_len(ptr noundef %.pre, i32 noundef %conv10.i) + %call.i15 = tail call i32 @nk_utf_len(ptr noundef %1, i32 noundef %conv10.i) br label %return.sink.split return.sink.split: ; preds = %if.end, %if.end.i12 @@ -8048,7 +8043,7 @@ return: ; preds = %return.sink.split, } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_str_delete_chars(ptr noundef %s, i32 noundef %pos, i32 noundef %len) local_unnamed_addr #25 { +define void @nk_str_delete_chars(ptr noundef %s, i32 noundef %pos, i32 noundef %len) local_unnamed_addr #19 { entry: %tobool = icmp ne ptr %s, null %tobool1 = icmp ne i32 %len, 0 @@ -8119,8 +8114,8 @@ return: ; preds = %entry, %lor.lhs.fal ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_str_delete_runes(ptr nocapture noundef %s, i32 noundef %pos, i32 noundef %len) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_str_delete_runes(ptr nocapture noundef %s, i32 noundef %pos, i32 noundef %len) local_unnamed_addr #19 { entry: %len1 = getelementptr inbounds %struct.nk_str, ptr %s, i64 0, i32 1 %0 = load i32, ptr %len1, align 8 @@ -8627,7 +8622,7 @@ return: ; preds = %if.end.i, %while.en } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define ptr @nk_str_at_char(ptr noundef readonly %s, i32 noundef %pos) local_unnamed_addr #14 { +define ptr @nk_str_at_char(ptr noundef readonly %s, i32 noundef %pos) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %s, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -8652,7 +8647,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define ptr @nk_str_at_char_const(ptr noundef readonly %s, i32 noundef %pos) local_unnamed_addr #14 { +define ptr @nk_str_at_char_const(ptr noundef readonly %s, i32 noundef %pos) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %s, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -8677,7 +8672,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define ptr @nk_str_at_const(ptr noundef readonly %str, i32 noundef %pos, ptr noundef %unicode, ptr noundef writeonly %len) local_unnamed_addr #25 { +define ptr @nk_str_at_const(ptr noundef readonly %str, i32 noundef %pos, ptr noundef %unicode, ptr noundef writeonly %len) local_unnamed_addr #19 { entry: %tobool = icmp ne ptr %str, null %tobool1 = icmp ne ptr %unicode, null @@ -9017,7 +9012,7 @@ nk_str_at_const.exit: ; preds = %nk_utf_decode.exit, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define ptr @nk_str_get(ptr noundef readonly %s) local_unnamed_addr #14 { +define ptr @nk_str_get(ptr noundef readonly %s) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %s, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -9045,7 +9040,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_str_len(ptr noundef readonly %s) local_unnamed_addr #14 { +define i32 @nk_str_len(ptr noundef readonly %s) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %s, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -9069,7 +9064,7 @@ return: ; preds = %lor.lhs.false2, %en } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_str_len_char(ptr noundef readonly %s) local_unnamed_addr #14 { +define i32 @nk_str_len_char(ptr noundef readonly %s) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %s, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -9091,8 +9086,8 @@ return: ; preds = %lor.lhs.false2, %en ret i32 %retval.0 } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @nk_str_clear(ptr noundef %str) local_unnamed_addr #28 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define void @nk_str_clear(ptr noundef %str) local_unnamed_addr #22 { entry: %tobool.not.i = icmp eq ptr %str, null br i1 %tobool.not.i, label %nk_buffer_clear.exit, label %if.end.i @@ -9115,7 +9110,7 @@ nk_buffer_clear.exit: ; preds = %entry, %if.end.i } ; Function Attrs: nounwind uwtable -define void @nk_str_free(ptr noundef %str) local_unnamed_addr #23 { +define void @nk_str_free(ptr noundef %str) local_unnamed_addr #18 { entry: %tobool.not.i = icmp eq ptr %str, null br i1 %tobool.not.i, label %nk_buffer_free.exit, label %lor.lhs.false.i @@ -9141,7 +9136,7 @@ if.end3.i: ; preds = %if.end.i if.end6.i: ; preds = %if.end3.i %pool.i = getelementptr inbounds %struct.nk_buffer, ptr %str, i64 0, i32 1 %3 = load ptr, ptr %pool.i, align 8 - tail call void %2(ptr %3, ptr noundef nonnull %0) #63 + tail call void %2(ptr %3, ptr noundef nonnull %0) #51 br label %nk_buffer_free.exit nk_buffer_free.exit: ; preds = %entry, %lor.lhs.false.i, %if.end.i, %if.end3.i, %if.end6.i @@ -9151,7 +9146,7 @@ nk_buffer_free.exit: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define void @nk_push_scissor(ptr noundef %b, <2 x float> %r.coerce0, <2 x float> %r.coerce1) local_unnamed_addr #31 { +define void @nk_push_scissor(ptr noundef %b, <2 x float> %r.coerce0, <2 x float> %r.coerce1) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %b, null br i1 %tobool.not, label %return, label %if.end @@ -9205,7 +9200,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: nounwind uwtable -define void @nk_stroke_line(ptr noundef %b, float noundef %x0, float noundef %y0, float noundef %x1, float noundef %y1, float noundef %line_thickness, i32 %c.coerce) local_unnamed_addr #23 { +define void @nk_stroke_line(ptr noundef %b, float noundef %x0, float noundef %y0, float noundef %x1, float noundef %y1, float noundef %line_thickness, i32 %c.coerce) local_unnamed_addr #18 { entry: %tobool = icmp eq ptr %b, null %cmp = fcmp ole float %line_thickness, 0.000000e+00 @@ -9263,7 +9258,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: nounwind uwtable -define void @nk_stroke_curve(ptr noundef %b, float noundef %ax, float noundef %ay, float noundef %ctrl0x, float noundef %ctrl0y, float noundef %ctrl1x, float noundef %ctrl1y, float noundef %bx, float noundef %by, float noundef %line_thickness, i32 %col.coerce) local_unnamed_addr #23 { +define void @nk_stroke_curve(ptr noundef %b, float noundef %ax, float noundef %ay, float noundef %ctrl0x, float noundef %ctrl0y, float noundef %ctrl1x, float noundef %ctrl1y, float noundef %bx, float noundef %by, float noundef %line_thickness, i32 %col.coerce) local_unnamed_addr #18 { entry: %col.sroa.0.0.extract.trunc = trunc i32 %col.coerce to i24 %col.sroa.2.0.extract.shift = lshr i32 %col.coerce, 24 @@ -9332,7 +9327,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: nounwind uwtable -define void @nk_stroke_rect(ptr noundef %b, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1, float noundef %rounding, float noundef %line_thickness, i32 %c.coerce) local_unnamed_addr #31 { +define void @nk_stroke_rect(ptr noundef %b, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1, float noundef %rounding, float noundef %line_thickness, i32 %c.coerce) local_unnamed_addr #23 { entry: %0 = extractelement <2 x float> %rect.coerce1, i64 1 %1 = extractelement <2 x float> %rect.coerce1, i64 0 @@ -9441,7 +9436,7 @@ return: ; preds = %if.end39, %if.then1 } ; Function Attrs: nounwind uwtable -define void @nk_fill_rect(ptr noundef %b, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1, float noundef %rounding, i32 %c.coerce) local_unnamed_addr #31 { +define void @nk_fill_rect(ptr noundef %b, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1, float noundef %rounding, i32 %c.coerce) local_unnamed_addr #23 { entry: %c.sroa.0.0.extract.trunc = trunc i32 %c.coerce to i24 %c.sroa.2.0.extract.shift = lshr i32 %c.coerce, 24 @@ -9550,7 +9545,7 @@ return: ; preds = %if.end36, %if.then9 } ; Function Attrs: nounwind uwtable -define void @nk_fill_rect_multi_color(ptr noundef %b, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1, i32 %left.coerce, i32 %top.coerce, i32 %right.coerce, i32 %bottom.coerce) local_unnamed_addr #31 { +define void @nk_fill_rect_multi_color(ptr noundef %b, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1, i32 %left.coerce, i32 %top.coerce, i32 %right.coerce, i32 %bottom.coerce) local_unnamed_addr #23 { entry: %0 = extractelement <2 x float> %rect.coerce1, i64 1 %1 = extractelement <2 x float> %rect.coerce1, i64 0 @@ -9651,7 +9646,7 @@ return: ; preds = %if.end27, %if.then4 } ; Function Attrs: nounwind uwtable -define void @nk_stroke_circle(ptr noundef %b, <2 x float> %r.coerce0, <2 x float> %r.coerce1, float noundef %line_thickness, i32 %c.coerce) local_unnamed_addr #31 { +define void @nk_stroke_circle(ptr noundef %b, <2 x float> %r.coerce0, <2 x float> %r.coerce1, float noundef %line_thickness, i32 %c.coerce) local_unnamed_addr #23 { entry: %tobool = icmp eq ptr %b, null %r.sroa.7.8.vec.extract31 = extractelement <2 x float> %r.coerce1, i64 0 @@ -9755,7 +9750,7 @@ return: ; preds = %if.end29, %if.then6 } ; Function Attrs: nounwind uwtable -define void @nk_fill_circle(ptr noundef %b, <2 x float> %r.coerce0, <2 x float> %r.coerce1, i32 %c.coerce) local_unnamed_addr #31 { +define void @nk_fill_circle(ptr noundef %b, <2 x float> %r.coerce0, <2 x float> %r.coerce1, i32 %c.coerce) local_unnamed_addr #23 { entry: %0 = extractelement <2 x float> %r.coerce1, i64 1 %1 = extractelement <2 x float> %r.coerce1, i64 0 @@ -9857,7 +9852,7 @@ return: ; preds = %if.end36, %if.then9 } ; Function Attrs: nounwind uwtable -define void @nk_stroke_arc(ptr noundef %b, float noundef %cx, float noundef %cy, float noundef %radius, float noundef %a_min, float noundef %a_max, float noundef %line_thickness, i32 %c.coerce) local_unnamed_addr #23 { +define void @nk_stroke_arc(ptr noundef %b, float noundef %cx, float noundef %cy, float noundef %radius, float noundef %a_min, float noundef %a_max, float noundef %line_thickness, i32 %c.coerce) local_unnamed_addr #18 { entry: %c.sroa.0.0.extract.trunc = trunc i32 %c.coerce to i24 %c.sroa.2.0.extract.shift = lshr i32 %c.coerce, 24 @@ -9923,7 +9918,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: nounwind uwtable -define void @nk_fill_arc(ptr noundef %b, float noundef %cx, float noundef %cy, float noundef %radius, float noundef %a_min, float noundef %a_max, i32 %c.coerce) local_unnamed_addr #23 { +define void @nk_fill_arc(ptr noundef %b, float noundef %cx, float noundef %cy, float noundef %radius, float noundef %a_min, float noundef %a_max, i32 %c.coerce) local_unnamed_addr #18 { entry: %c.sroa.0.0.extract.trunc = trunc i32 %c.coerce to i24 %c.sroa.2.0.extract.shift = lshr i32 %c.coerce, 24 @@ -9986,7 +9981,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: nounwind uwtable -define void @nk_stroke_triangle(ptr noundef %b, float noundef %x0, float noundef %y0, float noundef %x1, float noundef %y1, float noundef %x2, float noundef %y2, float noundef %line_thickness, i32 %c.coerce) local_unnamed_addr #23 { +define void @nk_stroke_triangle(ptr noundef %b, float noundef %x0, float noundef %y0, float noundef %x1, float noundef %y1, float noundef %x2, float noundef %y2, float noundef %line_thickness, i32 %c.coerce) local_unnamed_addr #18 { entry: %c.sroa.0.0.extract.trunc = trunc i32 %c.coerce to i24 %c.sroa.2.0.extract.shift = lshr i32 %c.coerce, 24 @@ -10136,7 +10131,7 @@ return: ; preds = %if.end63, %land.lhs } ; Function Attrs: nounwind uwtable -define void @nk_fill_triangle(ptr noundef %b, float noundef %x0, float noundef %y0, float noundef %x1, float noundef %y1, float noundef %x2, float noundef %y2, i32 %c.coerce) local_unnamed_addr #23 { +define void @nk_fill_triangle(ptr noundef %b, float noundef %x0, float noundef %y0, float noundef %x1, float noundef %y1, float noundef %x2, float noundef %y2, i32 %c.coerce) local_unnamed_addr #18 { entry: %c.sroa.0.0.extract.trunc = trunc i32 %c.coerce to i24 %c.sroa.2.0.extract.shift = lshr i32 %c.coerce, 24 @@ -10279,7 +10274,7 @@ return: ; preds = %if.end63, %land.lhs } ; Function Attrs: nounwind uwtable -define void @nk_stroke_polygon(ptr noundef %b, ptr nocapture noundef readonly %points, i32 noundef %point_count, float noundef %line_thickness, i32 %col.coerce) local_unnamed_addr #23 { +define void @nk_stroke_polygon(ptr noundef %b, ptr nocapture noundef readonly %points, i32 noundef %point_count, float noundef %line_thickness, i32 %col.coerce) local_unnamed_addr #18 { entry: %col.sroa.0.0.extract.trunc = trunc i32 %col.coerce to i24 %col.sroa.2.0.extract.shift = lshr i32 %col.coerce, 24 @@ -10364,7 +10359,7 @@ for.end: ; preds = %for.body, %if.end8, } ; Function Attrs: nounwind uwtable -define void @nk_fill_polygon(ptr noundef %b, ptr nocapture noundef readonly %points, i32 noundef %point_count, i32 %col.coerce) local_unnamed_addr #23 { +define void @nk_fill_polygon(ptr noundef %b, ptr nocapture noundef readonly %points, i32 noundef %point_count, i32 %col.coerce) local_unnamed_addr #18 { entry: %col.sroa.0.0.extract.trunc = trunc i32 %col.coerce to i24 %col.sroa.2.0.extract.shift = lshr i32 %col.coerce, 24 @@ -10444,7 +10439,7 @@ for.end: ; preds = %for.body, %if.end5, } ; Function Attrs: nounwind uwtable -define void @nk_stroke_polyline(ptr noundef %b, ptr nocapture noundef readonly %points, i32 noundef %point_count, float noundef %line_thickness, i32 %col.coerce) local_unnamed_addr #23 { +define void @nk_stroke_polyline(ptr noundef %b, ptr nocapture noundef readonly %points, i32 noundef %point_count, float noundef %line_thickness, i32 %col.coerce) local_unnamed_addr #18 { entry: %col.sroa.0.0.extract.trunc = trunc i32 %col.coerce to i24 %col.sroa.2.0.extract.shift = lshr i32 %col.coerce, 24 @@ -10529,7 +10524,7 @@ for.end: ; preds = %for.body, %if.end8, } ; Function Attrs: nounwind uwtable -define void @nk_draw_image(ptr noundef %b, <2 x float> %r.coerce0, <2 x float> %r.coerce1, ptr nocapture noundef readonly %img, i32 %col.coerce) local_unnamed_addr #31 { +define void @nk_draw_image(ptr noundef %b, <2 x float> %r.coerce0, <2 x float> %r.coerce1, ptr nocapture noundef readonly %img, i32 %col.coerce) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %b, null br i1 %tobool.not, label %return, label %if.end @@ -10625,7 +10620,7 @@ return: ; preds = %if.end26, %if.then2 } ; Function Attrs: nounwind uwtable -define void @nk_draw_nine_slice(ptr noundef %b, <2 x float> %r.coerce0, <2 x float> %r.coerce1, ptr nocapture noundef readonly %slc, i32 %col.coerce) local_unnamed_addr #31 { +define void @nk_draw_nine_slice(ptr noundef %b, <2 x float> %r.coerce0, <2 x float> %r.coerce1, ptr nocapture noundef readonly %slc, i32 %col.coerce) local_unnamed_addr #23 { entry: %0 = extractelement <2 x float> %r.coerce1, i64 1 %1 = extractelement <2 x float> %r.coerce1, i64 0 @@ -10817,7 +10812,7 @@ entry: } ; Function Attrs: nounwind uwtable -define void @nk_push_custom(ptr noundef %b, <2 x float> %r.coerce0, <2 x float> %r.coerce1, ptr noundef %cb, ptr %usr.coerce) local_unnamed_addr #31 { +define void @nk_push_custom(ptr noundef %b, <2 x float> %r.coerce0, <2 x float> %r.coerce1, ptr noundef %cb, ptr %usr.coerce) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %b, null br i1 %tobool.not, label %return, label %if.end @@ -10913,7 +10908,7 @@ return: ; preds = %if.end26, %if.then2 } ; Function Attrs: nounwind uwtable -define void @nk_draw_text(ptr noundef %b, <2 x float> %r.coerce0, <2 x float> %r.coerce1, ptr noundef %string, i32 noundef %length, ptr noundef %font, i32 %bg.coerce, i32 %fg.coerce) local_unnamed_addr #31 { +define void @nk_draw_text(ptr noundef %b, <2 x float> %r.coerce0, <2 x float> %r.coerce1, ptr noundef %string, i32 noundef %length, ptr noundef %font, i32 %bg.coerce, i32 %fg.coerce) local_unnamed_addr #23 { entry: %glyphs = alloca i32, align 4 %txt_width = alloca float, align 4 @@ -10990,7 +10985,7 @@ if.end44: ; preds = %if.end.if.end44_cri %height = getelementptr inbounds %struct.nk_user_font, ptr %font, i64 0, i32 1 %8 = load float, ptr %height, align 8 %9 = load ptr, ptr %font, align 8 - %call = tail call float %7(ptr %9, float noundef %8, ptr noundef nonnull %string, i32 noundef %length) #63 + %call = tail call float %7(ptr %9, float noundef %8, ptr noundef nonnull %string, i32 noundef %length) #51 %cmp46 = fcmp ogt float %call, %r.sroa.7.8.vec.extract49.pre-phi br i1 %cmp46, label %if.end51, label %if.end54 @@ -11065,7 +11060,7 @@ return: ; preds = %if.end54, %if.end51 } ; Function Attrs: nounwind uwtable -define internal fastcc i32 @nk_text_clamp(ptr nocapture noundef readonly %font, ptr noundef %text, i32 noundef %text_len, float noundef %space, ptr nocapture noundef writeonly %glyphs, ptr nocapture noundef writeonly %text_width, ptr nocapture noundef readonly %sep_list, i32 noundef %sep_count) unnamed_addr #23 { +define internal fastcc i32 @nk_text_clamp(ptr nocapture noundef readonly %font, ptr noundef %text, i32 noundef %text_len, float noundef %space, ptr nocapture noundef writeonly %glyphs, ptr nocapture noundef writeonly %text_width, ptr nocapture noundef readonly %sep_list, i32 noundef %sep_count) unnamed_addr #18 { entry: %tobool.i = icmp eq ptr %text, null %tobool2.not.i = icmp eq i32 %text_len, 0 @@ -11201,7 +11196,7 @@ while.body.us: ; preds = %while.body.lr.ph %16 = load ptr, ptr %width3, align 8 %17 = load float, ptr %height, align 8 %18 = load ptr, ptr %font, align 8 - %call4.us = tail call float %16(ptr %18, float noundef %17, ptr noundef null, i32 noundef %retval.0.i) #63 + %call4.us = tail call float %16(ptr %18, float noundef %17, ptr noundef null, i32 noundef %retval.0.i) #51 br label %for.cond.us for.cond.us: ; preds = %for.body.us, %while.body.us @@ -11236,7 +11231,7 @@ while.body: ; preds = %while.body.lr.ph, % %20 = load ptr, ptr %width3, align 8 %21 = load float, ptr %height, align 8 %22 = load ptr, ptr %font, align 8 - %call4 = tail call float %20(ptr %22, float noundef %21, ptr noundef nonnull %text, i32 noundef %add) #63 + %call4 = tail call float %20(ptr %22, float noundef %21, ptr noundef nonnull %text, i32 noundef %add) #51 br label %for.cond for.cond: ; preds = %for.body, %while.body @@ -11426,8 +11421,8 @@ return: ; preds = %if.else, %for.end.i ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(argmem: write) uwtable -define void @nk_draw_list_init(ptr noundef %list) local_unnamed_addr #32 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: write) uwtable +define void @nk_draw_list_init(ptr noundef %list) local_unnamed_addr #14 { entry: %tobool.not = icmp eq ptr %list, null br i1 %tobool.not, label %for.end, label %if.end @@ -11481,8 +11476,8 @@ for.end: ; preds = %for.body, %entry ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @nk_draw_list_setup(ptr noundef writeonly %canvas, ptr noundef readonly %config, ptr noundef %cmds, ptr noundef %vertices, ptr noundef %elements, i32 noundef %line_aa, i32 noundef %shape_aa) local_unnamed_addr #28 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define void @nk_draw_list_setup(ptr noundef writeonly %canvas, ptr noundef readonly %config, ptr noundef %cmds, ptr noundef %vertices, ptr noundef %elements, i32 noundef %line_aa, i32 noundef %shape_aa) local_unnamed_addr #22 { entry: %0 = insertelement <4 x ptr> poison, ptr %config, i64 0 %1 = insertelement <4 x ptr> %0, ptr %canvas, i64 1 @@ -11526,7 +11521,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define ptr @nk__draw_list_begin(ptr nocapture noundef readonly %canvas, ptr noundef readonly %buffer) local_unnamed_addr #14 { +define ptr @nk__draw_list_begin(ptr nocapture noundef readonly %canvas, ptr noundef readonly %buffer) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %buffer, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -11560,7 +11555,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define ptr @nk__draw_list_end(ptr noundef readonly %canvas, ptr noundef readonly %buffer) local_unnamed_addr #14 { +define ptr @nk__draw_list_end(ptr noundef readonly %canvas, ptr noundef readonly %buffer) local_unnamed_addr #11 { entry: %tobool = icmp ne ptr %buffer, null %tobool1 = icmp ne ptr %canvas, null @@ -11590,7 +11585,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define ptr @nk__draw_list_next(ptr noundef readnone %cmd, ptr noundef readonly %buffer, ptr noundef readonly %canvas) local_unnamed_addr #14 { +define ptr @nk__draw_list_next(ptr noundef readnone %cmd, ptr noundef readonly %buffer, ptr noundef readonly %canvas) local_unnamed_addr #11 { entry: %tobool = icmp ne ptr %cmd, null %tobool1 = icmp ne ptr %buffer, null @@ -11625,7 +11620,7 @@ return: ; preds = %nk__draw_list_end.e } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_stroke_poly_line(ptr noundef %list, ptr nocapture noundef readonly %points, i32 noundef %points_count, i32 %color.coerce, i32 noundef %closed, float noundef %thickness, i32 noundef %aliasing) local_unnamed_addr #31 { +define void @nk_draw_list_stroke_poly_line(ptr noundef %list, ptr nocapture noundef readonly %points, i32 noundef %points_count, i32 %color.coerce, i32 noundef %closed, float noundef %thickness, i32 noundef %aliasing) local_unnamed_addr #23 { entry: %tobool = icmp eq ptr %list, null %cmp = icmp ult i32 %points_count, 2 @@ -12344,8 +12339,8 @@ if.end912: ; preds = %if.end845, %nk_draw ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc ptr @nk_draw_vertex(ptr noundef %dst, ptr nocapture readonly %config.40.val, i64 %config.48.val, <2 x float> %pos.coerce, <2 x float> %uv.coerce, <2 x float> %color.coerce0, <2 x float> %color.coerce1) unnamed_addr #33 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define internal fastcc ptr @nk_draw_vertex(ptr noundef %dst, ptr nocapture readonly %config.40.val, i64 %config.48.val, <2 x float> %pos.coerce, <2 x float> %uv.coerce, <2 x float> %color.coerce0, <2 x float> %color.coerce1) unnamed_addr #24 { entry: %val.i = alloca [4 x float], align 16 %col.i = alloca %struct.nk_color, align 4 @@ -12568,7 +12563,7 @@ while.end: ; preds = %nk_draw_vertex_layo } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_fill_poly_convex(ptr noundef %list, ptr nocapture noundef readonly %points, i32 noundef %points_count, i32 %color.coerce, i32 noundef %aliasing) local_unnamed_addr #31 { +define void @nk_draw_list_fill_poly_convex(ptr noundef %list, ptr nocapture noundef readonly %points, i32 noundef %points_count, i32 %color.coerce, i32 noundef %aliasing) local_unnamed_addr #23 { entry: %tobool = icmp eq ptr %list, null %cmp = icmp ult i32 %points_count, 3 @@ -12957,7 +12952,7 @@ if.end252: ; preds = %for.body238, %for.c } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_draw_list_path_clear(ptr noundef %list) local_unnamed_addr #34 { +define void @nk_draw_list_path_clear(ptr noundef %list) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %list, null br i1 %tobool.not, label %return, label %if.end @@ -12997,7 +12992,7 @@ return: ; preds = %entry, %nk_buffer_r } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_path_line_to(ptr noundef %list, <2 x float> %pos.coerce) local_unnamed_addr #31 { +define void @nk_draw_list_path_line_to(ptr noundef %list, <2 x float> %pos.coerce) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %list, null br i1 %tobool.not, label %return, label %if.end @@ -13091,7 +13086,7 @@ return: ; preds = %if.end10, %entry, % } ; Function Attrs: nounwind uwtable -define internal fastcc void @nk_draw_list_add_clip(ptr noundef %list, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1) unnamed_addr #31 { +define internal fastcc void @nk_draw_list_add_clip(ptr noundef %list, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1) unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %list, null br i1 %tobool.not, label %if.end9, label %if.end @@ -13233,7 +13228,7 @@ if.end9: ; preds = %if.end9.sink.split, } ; Function Attrs: nounwind uwtable -define internal fastcc void @nk_draw_list_push_image(ptr nocapture noundef %list, ptr %texture.coerce) unnamed_addr #31 { +define internal fastcc void @nk_draw_list_push_image(ptr nocapture noundef %list, ptr %texture.coerce) unnamed_addr #23 { entry: %cmd_count = getelementptr inbounds %struct.nk_draw_list, ptr %list, i64 0, i32 8 %0 = load i32, ptr %cmd_count, align 8 @@ -13386,7 +13381,7 @@ if.end15: ; preds = %if.end7.i23, %if.th } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_path_arc_to_fast(ptr noundef %list, <2 x float> %center.coerce, float noundef %radius, i32 noundef %a_min, i32 noundef %a_max) local_unnamed_addr #31 { +define void @nk_draw_list_path_arc_to_fast(ptr noundef %list, <2 x float> %center.coerce, float noundef %radius, i32 noundef %a_min, i32 noundef %a_max) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %list, null %cmp.not = icmp sgt i32 %a_min, %a_max @@ -13417,7 +13412,7 @@ if.end7: ; preds = %for.body, %entry } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_path_arc_to(ptr noundef %list, <2 x float> %center.coerce, float noundef %radius, float noundef %a_min, float noundef %a_max, i32 noundef %segments) local_unnamed_addr #31 { +define void @nk_draw_list_path_arc_to(ptr noundef %list, <2 x float> %center.coerce, float noundef %radius, float noundef %a_min, float noundef %a_max, i32 noundef %segments) local_unnamed_addr #23 { entry: %tobool = icmp eq ptr %list, null %cmp = fcmp oeq float %radius, 0.000000e+00 @@ -13483,7 +13478,7 @@ for.end: ; preds = %for.body, %entry } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_path_rect_to(ptr noundef %list, <2 x float> %a.coerce, <2 x float> %b.coerce, float noundef %rounding) local_unnamed_addr #31 { +define void @nk_draw_list_path_rect_to(ptr noundef %list, <2 x float> %a.coerce, <2 x float> %b.coerce, float noundef %rounding) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %list, null br i1 %tobool.not, label %if.end93, label %if.end @@ -13585,7 +13580,7 @@ if.end93: ; preds = %for.body.i134, %ent } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_path_curve_to(ptr noundef %list, <2 x float> %p2.coerce, <2 x float> %p3.coerce, <2 x float> %p4.coerce, i32 noundef %num_segments) local_unnamed_addr #31 { +define void @nk_draw_list_path_curve_to(ptr noundef %list, <2 x float> %p2.coerce, <2 x float> %p3.coerce, <2 x float> %p4.coerce, i32 noundef %num_segments) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %list, null br i1 %tobool.not, label %for.end, label %lor.lhs.false @@ -13650,7 +13645,7 @@ for.end: ; preds = %for.body, %entry, % } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_path_fill(ptr noundef %list, i32 %color.coerce) local_unnamed_addr #23 { +define void @nk_draw_list_path_fill(ptr noundef %list, i32 %color.coerce) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %list, null br i1 %tobool.not, label %return, label %if.end @@ -13705,7 +13700,7 @@ return: ; preds = %entry, %nk_draw_lis } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_path_stroke(ptr noundef %list, i32 %color.coerce, i32 noundef %closed, float noundef %thickness) local_unnamed_addr #23 { +define void @nk_draw_list_path_stroke(ptr noundef %list, i32 %color.coerce, i32 noundef %closed, float noundef %thickness) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %list, null br i1 %tobool.not, label %return, label %if.end @@ -13760,7 +13755,7 @@ return: ; preds = %entry, %nk_draw_lis } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_stroke_line(ptr noundef %list, <2 x float> %a.coerce, <2 x float> %b.coerce, i32 %col.coerce, float noundef %thickness) local_unnamed_addr #31 { +define void @nk_draw_list_stroke_line(ptr noundef %list, <2 x float> %a.coerce, <2 x float> %b.coerce, i32 %col.coerce, float noundef %thickness) local_unnamed_addr #23 { entry: %tobool = icmp ne ptr %list, null %tobool2 = icmp ugt i32 %col.coerce, 16777215 @@ -13835,7 +13830,7 @@ return: ; preds = %entry, %nk_draw_lis } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_fill_rect(ptr noundef %list, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1, i32 %col.coerce, float noundef %rounding) local_unnamed_addr #31 { +define void @nk_draw_list_fill_rect(ptr noundef %list, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1, i32 %col.coerce, float noundef %rounding) local_unnamed_addr #23 { entry: %0 = extractelement <2 x float> %rect.coerce0, i64 1 %tobool = icmp ne ptr %list, null @@ -13905,7 +13900,7 @@ return: ; preds = %entry, %nk_draw_lis } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_stroke_rect(ptr noundef %list, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1, i32 %col.coerce, float noundef %rounding, float noundef %thickness) local_unnamed_addr #31 { +define void @nk_draw_list_stroke_rect(ptr noundef %list, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1, i32 %col.coerce, float noundef %rounding, float noundef %thickness) local_unnamed_addr #23 { entry: %0 = extractelement <2 x float> %rect.coerce0, i64 1 %tobool = icmp ne ptr %list, null @@ -13975,7 +13970,7 @@ return: ; preds = %entry, %nk_draw_lis } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_fill_rect_multi_color(ptr noundef %list, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1, i32 %left.coerce, i32 %top.coerce, i32 %right.coerce, i32 %bottom.coerce) local_unnamed_addr #31 { +define void @nk_draw_list_fill_rect_multi_color(ptr noundef %list, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1, i32 %left.coerce, i32 %top.coerce, i32 %right.coerce, i32 %bottom.coerce) local_unnamed_addr #23 { entry: %in.sroa.2.0.extract.shift.i.i = lshr i32 %left.coerce, 8 %in.sroa.3.0.extract.shift.i.i = lshr i32 %left.coerce, 16 @@ -14144,7 +14139,7 @@ return: ; preds = %nk_draw_list_alloc_ } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_fill_triangle(ptr noundef %list, <2 x float> %a.coerce, <2 x float> %b.coerce, <2 x float> %c.coerce, i32 %col.coerce) local_unnamed_addr #31 { +define void @nk_draw_list_fill_triangle(ptr noundef %list, <2 x float> %a.coerce, <2 x float> %b.coerce, <2 x float> %c.coerce, i32 %col.coerce) local_unnamed_addr #23 { entry: %tobool = icmp ne ptr %list, null %tobool2 = icmp ugt i32 %col.coerce, 16777215 @@ -14204,7 +14199,7 @@ return: ; preds = %entry, %nk_draw_lis } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_stroke_triangle(ptr noundef %list, <2 x float> %a.coerce, <2 x float> %b.coerce, <2 x float> %c.coerce, i32 %col.coerce, float noundef %thickness) local_unnamed_addr #31 { +define void @nk_draw_list_stroke_triangle(ptr noundef %list, <2 x float> %a.coerce, <2 x float> %b.coerce, <2 x float> %c.coerce, i32 %col.coerce, float noundef %thickness) local_unnamed_addr #23 { entry: %tobool = icmp ne ptr %list, null %tobool2 = icmp ugt i32 %col.coerce, 16777215 @@ -14264,7 +14259,7 @@ return: ; preds = %entry, %nk_draw_lis } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_fill_circle(ptr noundef %list, <2 x float> %center.coerce, float noundef %radius, i32 %col.coerce, i32 noundef %segs) local_unnamed_addr #31 { +define void @nk_draw_list_fill_circle(ptr noundef %list, <2 x float> %center.coerce, float noundef %radius, i32 %col.coerce, i32 noundef %segs) local_unnamed_addr #23 { entry: %tobool = icmp ne ptr %list, null %tobool1 = icmp ugt i32 %col.coerce, 16777215 @@ -14370,7 +14365,7 @@ return: ; preds = %entry, %nk_draw_lis } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_stroke_circle(ptr noundef %list, <2 x float> %center.coerce, float noundef %radius, i32 %col.coerce, i32 noundef %segs, float noundef %thickness) local_unnamed_addr #31 { +define void @nk_draw_list_stroke_circle(ptr noundef %list, <2 x float> %center.coerce, float noundef %radius, i32 %col.coerce, i32 noundef %segs, float noundef %thickness) local_unnamed_addr #23 { entry: %tobool = icmp ne ptr %list, null %tobool1 = icmp ugt i32 %col.coerce, 16777215 @@ -14476,7 +14471,7 @@ return: ; preds = %entry, %nk_draw_lis } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_stroke_curve(ptr noundef %list, <2 x float> %p0.coerce, <2 x float> %cp0.coerce, <2 x float> %cp1.coerce, <2 x float> %p1.coerce, i32 %col.coerce, i32 noundef %segments, float noundef %thickness) local_unnamed_addr #31 { +define void @nk_draw_list_stroke_curve(ptr noundef %list, <2 x float> %p0.coerce, <2 x float> %cp0.coerce, <2 x float> %cp1.coerce, <2 x float> %p1.coerce, i32 %col.coerce, i32 noundef %segments, float noundef %thickness) local_unnamed_addr #23 { entry: %tobool = icmp ne ptr %list, null %tobool1 = icmp ugt i32 %col.coerce, 16777215 @@ -14588,7 +14583,7 @@ return: ; preds = %entry, %nk_draw_lis } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_add_image(ptr noundef %list, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %texture, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1, i32 %color.coerce) local_unnamed_addr #31 { +define void @nk_draw_list_add_image(ptr noundef %list, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %texture, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1, i32 %color.coerce) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %list, null br i1 %tobool.not, label %if.end65, label %if.end @@ -14631,7 +14626,7 @@ if.end65: ; preds = %entry, %if.else, %i } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_image_is_subimage(ptr nocapture noundef readonly %img) local_unnamed_addr #14 { +define i32 @nk_image_is_subimage(ptr nocapture noundef readonly %img) local_unnamed_addr #11 { entry: %w = getelementptr inbounds %struct.nk_image, ptr %img, i64 0, i32 1 %0 = load i16, ptr %w, align 8 @@ -14651,7 +14646,7 @@ land.end: ; preds = %land.rhs, %entry } ; Function Attrs: nounwind uwtable -define internal fastcc void @nk_draw_list_push_rect_uv(ptr nocapture noundef %list, <2 x float> %a.coerce, <2 x float> %c.coerce, <2 x float> %uva.coerce, <2 x float> %uvc.coerce, i32 %color.coerce) unnamed_addr #31 { +define internal fastcc void @nk_draw_list_push_rect_uv(ptr nocapture noundef %list, <2 x float> %a.coerce, <2 x float> %c.coerce, <2 x float> %uva.coerce, <2 x float> %uvc.coerce, i32 %color.coerce) unnamed_addr #23 { entry: %in.sroa.2.0.extract.shift.i.i = lshr i32 %color.coerce, 8 %in.sroa.3.0.extract.shift.i.i = lshr i32 %color.coerce, 16 @@ -14761,7 +14756,7 @@ return: ; preds = %nk_draw_list_alloc_ } ; Function Attrs: nounwind uwtable -define void @nk_draw_list_add_text(ptr noundef %list, ptr nocapture noundef readonly %font, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1, ptr noundef readonly %text, i32 noundef %len, float noundef %font_height, i32 %fg.coerce) local_unnamed_addr #31 { +define void @nk_draw_list_add_text(ptr noundef %list, ptr nocapture noundef readonly %font, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1, ptr noundef readonly %text, i32 noundef %len, float noundef %font_height, i32 %fg.coerce) local_unnamed_addr #23 { entry: %g = alloca %struct.nk_user_font_glyph, align 8 %fg.sroa.2.0.extract.shift = lshr i32 %fg.coerce, 24 @@ -15074,7 +15069,7 @@ nk_utf_decode.exit102.thread: ; preds = %for.inc.i.i47, %if. %40 = phi i32 [ %spec.select, %nk_utf_decode.exit102 ], [ 0, %return.loopexit81.i90 ], [ 0, %return.loopexit.i86 ], [ 0, %for.end.i59 ], [ 0, %nk_utf_decode_byte.exit.i51 ], [ 0, %land.lhs.true.i.i66 ], [ 0, %if.end.i.i62 ], [ 0, %for.inc.i.i47 ] %41 = load ptr, ptr %.in, align 8 %42 = load ptr, ptr %font, align 8 - call void %41(ptr %42, float noundef %font_height, ptr noundef nonnull %g, i32 noundef %unicode.1144, i32 noundef %40) #63 + call void %41(ptr %42, float noundef %font_height, ptr noundef nonnull %g, i32 noundef %unicode.1144, i32 noundef %40) #51 %43 = load float, ptr %xadvance, align 8 %44 = load <2 x float>, ptr %offset, align 8 %45 = insertelement <2 x float> %rect.coerce0, float %x.0147, i64 0 @@ -15098,7 +15093,7 @@ while.end: ; preds = %for.inc.i.i, %nk_ut } ; Function Attrs: nounwind uwtable -define i32 @nk_convert(ptr noundef %ctx, ptr noundef %cmds, ptr noundef %vertices, ptr noundef %elements, ptr noundef readonly %config) local_unnamed_addr #31 { +define i32 @nk_convert(ptr noundef %ctx, ptr noundef %cmds, ptr noundef %vertices, ptr noundef %elements, ptr noundef readonly %config) local_unnamed_addr #23 { entry: %0 = insertelement <4 x ptr> poison, ptr %cmds, i64 0 %1 = insertelement <4 x ptr> %0, ptr %ctx, i64 1 @@ -16173,7 +16168,7 @@ sw.bb365: ; preds = %for.body %364 = load i16, ptr %h371, align 2 %callback_data = getelementptr inbounds %struct.nk_command_custom, ptr %cmd.0536, i64 0, i32 5 %365 = load ptr, ptr %callback_data, align 8 - tail call void %360(ptr noundef nonnull %draw_list, i16 noundef signext %361, i16 noundef signext %362, i16 noundef zeroext %363, i16 noundef zeroext %364, ptr %365) #63 + tail call void %360(ptr noundef nonnull %draw_list, i16 noundef signext %361, i16 noundef signext %362, i16 noundef zeroext %363, i16 noundef zeroext %364, ptr %365) #51 br label %lor.lhs.false2.i for.inc372: ; preds = %if.end.i7.i.i209, %if.end.i.i.i.i213 @@ -16234,7 +16229,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define ptr @nk__begin(ptr noundef %ctx) local_unnamed_addr #31 { +define ptr @nk__begin(ptr noundef %ctx) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -16495,7 +16490,7 @@ return: ; preds = %while.body, %if.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define ptr @nk__next(ptr noundef readonly %ctx, ptr noundef readonly %cmd) local_unnamed_addr #14 { +define ptr @nk__next(ptr noundef readonly %ctx, ptr noundef readonly %cmd) local_unnamed_addr #11 { entry: %tobool = icmp ne ptr %ctx, null %tobool1 = icmp ne ptr %cmd, null @@ -16528,7 +16523,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define ptr @nk__draw_begin(ptr nocapture noundef readonly %ctx, ptr noundef readonly %buffer) local_unnamed_addr #14 { +define ptr @nk__draw_begin(ptr nocapture noundef readonly %ctx, ptr noundef readonly %buffer) local_unnamed_addr #11 { entry: %tobool.not.i = icmp eq ptr %buffer, null br i1 %tobool.not.i, label %nk__draw_list_begin.exit, label %lor.lhs.false.i @@ -16562,7 +16557,7 @@ nk__draw_list_begin.exit: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define ptr @nk__draw_end(ptr nocapture noundef readonly %ctx, ptr noundef readonly %buffer) local_unnamed_addr #14 { +define ptr @nk__draw_end(ptr nocapture noundef readonly %ctx, ptr noundef readonly %buffer) local_unnamed_addr #11 { entry: %tobool.i.not = icmp eq ptr %buffer, null br i1 %tobool.i.not, label %nk__draw_list_end.exit, label %if.end.i @@ -16590,7 +16585,7 @@ nk__draw_list_end.exit: ; preds = %entry, %if.end.i } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define ptr @nk__draw_next(ptr noundef readnone %cmd, ptr noundef readonly %buffer, ptr nocapture noundef readonly %ctx) local_unnamed_addr #14 { +define ptr @nk__draw_next(ptr noundef readnone %cmd, ptr noundef readonly %buffer, ptr nocapture noundef readonly %ctx) local_unnamed_addr #11 { entry: %tobool.i = icmp ne ptr %cmd, null %tobool1.i = icmp ne ptr %buffer, null @@ -16623,7 +16618,7 @@ nk__draw_list_next.exit: ; preds = %entry, %nk__draw_li } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @stbrp_setup_heuristic(ptr nocapture noundef %context, i32 noundef %heuristic) local_unnamed_addr #29 { +define void @stbrp_setup_heuristic(ptr nocapture noundef %context, i32 noundef %heuristic) local_unnamed_addr #22 { entry: %init_mode = getelementptr inbounds %struct.stbrp_context, ptr %context, i64 0, i32 3 %0 = load i32, ptr %init_mode, align 4 @@ -16640,7 +16635,7 @@ sw.epilog: ; preds = %entry, %sw.bb } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @stbrp_setup_allow_out_of_mem(ptr nocapture noundef %context, i32 noundef %allow_out_of_mem) local_unnamed_addr #29 { +define void @stbrp_setup_allow_out_of_mem(ptr nocapture noundef %context, i32 noundef %allow_out_of_mem) local_unnamed_addr #22 { entry: %tobool.not = icmp eq i32 %allow_out_of_mem, 0 br i1 %tobool.not, label %if.else, label %if.end @@ -16662,7 +16657,7 @@ if.end: ; preds = %entry, %if.else } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: write) uwtable -define void @stbrp_init_target(ptr noundef %context, i32 noundef %width, i32 noundef %height, ptr noundef %nodes, i32 noundef %num_nodes) local_unnamed_addr #19 { +define void @stbrp_init_target(ptr noundef %context, i32 noundef %width, i32 noundef %height, ptr noundef %nodes, i32 noundef %num_nodes) local_unnamed_addr #14 { entry: %sub = add i32 %num_nodes, -1 %cmp25 = icmp sgt i32 %num_nodes, 1 @@ -16722,14 +16717,14 @@ for.end: ; preds = %entry, %for.end.loo } ; Function Attrs: nofree nounwind uwtable -define i32 @stbrp_pack_rects(ptr noundef %context, ptr noundef %rects, i32 noundef %num_rects) local_unnamed_addr #35 { +define i32 @stbrp_pack_rects(ptr noundef %context, ptr noundef %rects, i32 noundef %num_rects) local_unnamed_addr #26 { entry: %cmp53 = icmp sgt i32 %num_rects, 0 br i1 %cmp53, label %for.body.preheader, label %for.end.thread for.end.thread: ; preds = %entry %conv73 = sext i32 %num_rects to i64 - tail call void @qsort(ptr noundef %rects, i64 noundef %conv73, i64 noundef 24, ptr noundef nonnull @rect_height_compare) #63 + tail call void @qsort(ptr noundef %rects, i64 noundef %conv73, i64 noundef 24, ptr noundef nonnull @rect_height_compare) #51 br label %for.end42.thread for.body.preheader: ; preds = %entry @@ -16747,7 +16742,7 @@ for.body: ; preds = %for.body.preheader, for.end: ; preds = %for.body %conv = zext nneg i32 %num_rects to i64 - tail call void @qsort(ptr noundef nonnull %rects, i64 noundef %conv, i64 noundef 24, ptr noundef nonnull @rect_height_compare) #63 + tail call void @qsort(ptr noundef nonnull %rects, i64 noundef %conv, i64 noundef 24, ptr noundef nonnull @rect_height_compare) #51 br i1 %cmp53, label %for.body4.lr.ph, label %for.end42.thread for.body4.lr.ph: ; preds = %for.end @@ -17200,11 +17195,11 @@ for.inc40: ; preds = %if.then, %if.else32 for.end42.thread: ; preds = %for.end.thread, %for.end %conv74.ph = phi i64 [ %conv, %for.end ], [ %conv73, %for.end.thread ] - tail call void @qsort(ptr noundef %rects, i64 noundef %conv74.ph, i64 noundef 24, ptr noundef nonnull @rect_original_order) #63 + tail call void @qsort(ptr noundef %rects, i64 noundef %conv74.ph, i64 noundef 24, ptr noundef nonnull @rect_original_order) #51 br label %for.end69 for.end42: ; preds = %for.inc40 - tail call void @qsort(ptr noundef nonnull %rects, i64 noundef %conv, i64 noundef 24, ptr noundef nonnull @rect_original_order) #63 + tail call void @qsort(ptr noundef nonnull %rects, i64 noundef %conv, i64 noundef 24, ptr noundef nonnull @rect_original_order) #51 br i1 %cmp53, label %for.body47.preheader, label %for.end69 for.body47.preheader: ; preds = %for.end42 @@ -17243,10 +17238,10 @@ for.end69: ; preds = %for.cond44, %for.en } ; Function Attrs: nofree -declare void @qsort(ptr noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #36 +declare void @qsort(ptr noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #27 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define internal i32 @rect_height_compare(ptr nocapture noundef readonly %a, ptr nocapture noundef readonly %b) #14 { +define internal i32 @rect_height_compare(ptr nocapture noundef readonly %a, ptr nocapture noundef readonly %b) #11 { entry: %h = getelementptr inbounds %struct.stbrp_rect, ptr %a, i64 0, i32 2 %0 = load i32, ptr %h, align 4 @@ -17276,7 +17271,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define internal i32 @rect_original_order(ptr nocapture noundef readonly %a, ptr nocapture noundef readonly %b) #14 { +define internal i32 @rect_original_order(ptr nocapture noundef readonly %a, ptr nocapture noundef readonly %b) #11 { entry: %was_packed = getelementptr inbounds %struct.stbrp_rect, ptr %a, i64 0, i32 5 %0 = load i32, ptr %was_packed, align 4 @@ -17671,7 +17666,7 @@ return: ; preds = %if.end269, %if.then } ; Function Attrs: nounwind uwtable -define i32 @stbtt_GetCodepointShape(ptr nocapture noundef readonly %info, i32 noundef %unicode_codepoint, ptr nocapture noundef writeonly %vertices) local_unnamed_addr #23 { +define i32 @stbtt_GetCodepointShape(ptr nocapture noundef readonly %info, i32 noundef %unicode_codepoint, ptr nocapture noundef writeonly %vertices) local_unnamed_addr #18 { entry: %call = tail call i32 @stbtt_FindGlyphIndex(ptr noundef %info, i32 noundef %unicode_codepoint) %call1 = tail call i32 @stbtt_GetGlyphShape(ptr noundef %info, i32 noundef %call, ptr noundef %vertices) @@ -17679,7 +17674,7 @@ entry: } ; Function Attrs: nounwind uwtable -define i32 @stbtt_GetGlyphShape(ptr nocapture noundef readonly %info, i32 noundef %glyph_index, ptr nocapture noundef writeonly %pvertices) local_unnamed_addr #23 { +define i32 @stbtt_GetGlyphShape(ptr nocapture noundef readonly %info, i32 noundef %glyph_index, ptr nocapture noundef writeonly %pvertices) local_unnamed_addr #18 { entry: %count_ctx.i = alloca %struct.stbtt__csctx, align 8 %output_ctx.i = alloca %struct.stbtt__csctx, align 8 @@ -17832,7 +17827,7 @@ if.then5.i: ; preds = %if.end.i %.val.i = load ptr, ptr %24, align 8 %25 = getelementptr i8, ptr %24, i64 8 %.val248.i = load ptr, ptr %25, align 8 - %call.i133 = tail call ptr %.val248.i(ptr %.val.i, ptr noundef null, i64 noundef %mul38.i) #63 + %call.i133 = tail call ptr %.val248.i(ptr %.val.i, ptr noundef null, i64 noundef %mul38.i) #51 %cmp40.i = icmp eq ptr %call.i133, null br i1 %cmp40.i, label %stbtt__GetGlyphShapeTT.exit, label %if.end43.i @@ -18545,7 +18540,7 @@ for.end461.i: ; preds = %for.body398.i %.val249.i = load ptr, ptr %132, align 8 %133 = getelementptr i8, ptr %132, i64 8 %.val250.i = load ptr, ptr %133, align 8 - %call.i11 = tail call ptr %.val250.i(ptr %.val249.i, ptr noundef null, i64 noundef %mul464.i) #63 + %call.i11 = tail call ptr %.val250.i(ptr %.val249.i, ptr noundef null, i64 noundef %mul464.i) #51 %tobool467.not.i = icmp eq ptr %call.i11, null br i1 %tobool467.not.i, label %if.then468.i, label %if.end477.i @@ -18558,7 +18553,7 @@ if.then470.i: ; preds = %if.then468.i %.val251.i = load ptr, ptr %134, align 8 %135 = getelementptr i8, ptr %134, i64 16 %.val252.i = load ptr, ptr %135, align 8 - tail call void %.val252.i(ptr %.val251.i, ptr noundef nonnull %vertices.0.i168) #63 + tail call void %.val252.i(ptr %.val251.i, ptr noundef nonnull %vertices.0.i168) #51 br label %if.then474.i if.then474.i: ; preds = %if.then468.i, %if.then470.i @@ -18566,7 +18561,7 @@ if.then474.i: ; preds = %if.then468.i, %if.t %.val253.i = load ptr, ptr %136, align 8 %137 = getelementptr i8, ptr %136, i64 16 %.val254.i = load ptr, ptr %137, align 8 - tail call void %.val254.i(ptr %.val253.i, ptr noundef nonnull %112) #63 + tail call void %.val254.i(ptr %.val253.i, ptr noundef nonnull %112) #51 br label %stbtt__GetGlyphShapeTT.exit if.end477.i: ; preds = %for.end461.i @@ -18596,7 +18591,7 @@ if.then490.i: ; preds = %if.end484.i.thread, %.val255.i = load ptr, ptr %138, align 8 %139 = getelementptr i8, ptr %138, i64 16 %.val256.i = load ptr, ptr %139, align 8 - tail call void %.val256.i(ptr %.val255.i, ptr noundef nonnull %vertices.0.i168) #63 + tail call void %.val256.i(ptr %.val255.i, ptr noundef nonnull %vertices.0.i168) #51 br label %if.end492.i if.end492.i: ; preds = %if.then490.i, %if.end484.i @@ -18604,7 +18599,7 @@ if.end492.i: ; preds = %if.then490.i, %if.e %.val257.i = load ptr, ptr %140, align 8 %141 = getelementptr i8, ptr %140, i64 16 %.val258.i = load ptr, ptr %141, align 8 - tail call void %.val258.i(ptr %.val257.i, ptr noundef nonnull %112) #63 + tail call void %.val258.i(ptr %.val257.i, ptr noundef nonnull %112) #51 br label %if.end495.i if.end495.i: ; preds = %if.end492.i, %if.end371.i @@ -18644,7 +18639,7 @@ if.then.i: ; preds = %if.else %.val.i8 = load ptr, ptr %143, align 8 %144 = getelementptr i8, ptr %143, i64 8 %.val6.i = load ptr, ptr %144, align 8 - %call.i.i = tail call ptr %.val6.i(ptr %.val.i8, ptr noundef null, i64 noundef %mul.i7) #63 + %call.i.i = tail call ptr %.val6.i(ptr %.val.i8, ptr noundef null, i64 noundef %mul.i7) #51 store ptr %call.i.i, ptr %pvertices, align 8 %pvertices2.i = getelementptr inbounds %struct.stbtt__csctx, ptr %output_ctx.i, i64 0, i32 10 store ptr %call.i.i, ptr %pvertices2.i, align 8 @@ -18672,8 +18667,8 @@ return: ; preds = %stbtt__GetGlyphShap ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define i32 @stbtt_GetGlyphBox(ptr nocapture noundef readonly %info, i32 noundef %glyph_index, ptr noundef writeonly %x0, ptr noundef writeonly %y0, ptr noundef writeonly %x1, ptr noundef writeonly %y1) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define i32 @stbtt_GetGlyphBox(ptr nocapture noundef readonly %info, i32 noundef %glyph_index, ptr noundef writeonly %x0, ptr noundef writeonly %y0, ptr noundef writeonly %x1, ptr noundef writeonly %y1) local_unnamed_addr #19 { entry: %c.i = alloca %struct.stbtt__csctx, align 8 %size = getelementptr inbounds %struct.stbtt_fontinfo, ptr %info, i64 0, i32 14, i32 2 @@ -18918,16 +18913,16 @@ return: ; preds = %if.end44.i, %if.end ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define i32 @stbtt_GetCodepointBox(ptr nocapture noundef readonly %info, i32 noundef %codepoint, ptr noundef %x0, ptr noundef %y0, ptr noundef %x1, ptr noundef %y1) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define i32 @stbtt_GetCodepointBox(ptr nocapture noundef readonly %info, i32 noundef %codepoint, ptr noundef %x0, ptr noundef %y0, ptr noundef %x1, ptr noundef %y1) local_unnamed_addr #19 { entry: %call = tail call i32 @stbtt_FindGlyphIndex(ptr noundef %info, i32 noundef %codepoint) %call1 = tail call i32 @stbtt_GetGlyphBox(ptr noundef %info, i32 noundef %call, ptr noundef %x0, ptr noundef %y0, ptr noundef %x1, ptr noundef %y1), !range !14 ret i32 %call1 } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define i32 @stbtt_IsGlyphEmpty(ptr nocapture noundef readonly %info, i32 noundef %glyph_index) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define i32 @stbtt_IsGlyphEmpty(ptr nocapture noundef readonly %info, i32 noundef %glyph_index) local_unnamed_addr #19 { entry: %c.i = alloca %struct.stbtt__csctx, align 8 %size = getelementptr inbounds %struct.stbtt_fontinfo, ptr %info, i64 0, i32 14, i32 2 @@ -19065,7 +19060,7 @@ return: ; preds = %if.end44.i, %if.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @stbtt_GetGlyphHMetrics(ptr nocapture noundef readonly %info, i32 noundef %glyph_index, ptr noundef writeonly %advanceWidth, ptr noundef writeonly %leftSideBearing) local_unnamed_addr #26 { +define void @stbtt_GetGlyphHMetrics(ptr nocapture noundef readonly %info, i32 noundef %glyph_index, ptr noundef writeonly %advanceWidth, ptr noundef writeonly %leftSideBearing) local_unnamed_addr #20 { entry: %data = getelementptr inbounds %struct.stbtt_fontinfo, ptr %info, i64 0, i32 1 %0 = load ptr, ptr %data, align 8 @@ -19185,7 +19180,7 @@ if.end55: ; preds = %if.end55.sink.split } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define i32 @stbtt_GetKerningTableLength(ptr nocapture noundef readonly %info) local_unnamed_addr #37 { +define i32 @stbtt_GetKerningTableLength(ptr nocapture noundef readonly %info) local_unnamed_addr #28 { entry: %data1 = getelementptr inbounds %struct.stbtt_fontinfo, ptr %info, i64 0, i32 1 %0 = load ptr, ptr %data1, align 8 @@ -19236,8 +19231,8 @@ return: ; preds = %if.end6, %if.end, % ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define i32 @stbtt_GetKerningTable(ptr nocapture noundef readonly %info, ptr nocapture noundef writeonly %table, i32 noundef %table_length) local_unnamed_addr #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define i32 @stbtt_GetKerningTable(ptr nocapture noundef readonly %info, ptr nocapture noundef writeonly %table, i32 noundef %table_length) local_unnamed_addr #7 { entry: %data1 = getelementptr inbounds %struct.stbtt_fontinfo, ptr %info, i64 0, i32 1 %0 = load ptr, ptr %data1, align 8 @@ -20074,7 +20069,7 @@ stbtt_GetGlyphHMetrics.exit: ; preds = %if.end.i, %if.end36 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @stbtt_GetFontVMetrics(ptr nocapture noundef readonly %info, ptr noundef writeonly %ascent, ptr noundef writeonly %descent, ptr noundef writeonly %lineGap) local_unnamed_addr #26 { +define void @stbtt_GetFontVMetrics(ptr nocapture noundef readonly %info, ptr noundef writeonly %ascent, ptr noundef writeonly %descent, ptr noundef writeonly %lineGap) local_unnamed_addr #20 { entry: %tobool.not = icmp eq ptr %ascent, null br i1 %tobool.not, label %if.end, label %if.then @@ -20294,7 +20289,7 @@ return: ; preds = %for.inc.i, %entry, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @stbtt_GetFontBoundingBox(ptr nocapture noundef readonly %info, ptr nocapture noundef writeonly %x0, ptr nocapture noundef writeonly %y0, ptr nocapture noundef writeonly %x1, ptr nocapture noundef writeonly %y1) local_unnamed_addr #26 { +define void @stbtt_GetFontBoundingBox(ptr nocapture noundef readonly %info, ptr nocapture noundef writeonly %x0, ptr nocapture noundef writeonly %y0, ptr nocapture noundef writeonly %x1, ptr nocapture noundef writeonly %y1) local_unnamed_addr #20 { entry: %data = getelementptr inbounds %struct.stbtt_fontinfo, ptr %info, i64 0, i32 1 %0 = load ptr, ptr %data, align 8 @@ -20358,7 +20353,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define float @stbtt_ScaleForPixelHeight(ptr nocapture noundef readonly %info, float noundef %height) local_unnamed_addr #37 { +define float @stbtt_ScaleForPixelHeight(ptr nocapture noundef readonly %info, float noundef %height) local_unnamed_addr #28 { entry: %data = getelementptr inbounds %struct.stbtt_fontinfo, ptr %info, i64 0, i32 1 %0 = load ptr, ptr %data, align 8 @@ -20391,7 +20386,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define float @stbtt_ScaleForMappingEmToPixels(ptr nocapture noundef readonly %info, float noundef %pixels) local_unnamed_addr #37 { +define float @stbtt_ScaleForMappingEmToPixels(ptr nocapture noundef readonly %info, float noundef %pixels) local_unnamed_addr #28 { entry: %data = getelementptr inbounds %struct.stbtt_fontinfo, ptr %info, i64 0, i32 1 %0 = load ptr, ptr %data, align 8 @@ -20413,13 +20408,13 @@ entry: } ; Function Attrs: nounwind uwtable -define void @stbtt_FreeShape(ptr nocapture noundef readonly %info, ptr noundef %v) local_unnamed_addr #23 { +define void @stbtt_FreeShape(ptr nocapture noundef readonly %info, ptr noundef %v) local_unnamed_addr #18 { entry: %0 = load ptr, ptr %info, align 8 %.val = load ptr, ptr %0, align 8 %1 = getelementptr i8, ptr %0, i64 16 %.val1 = load ptr, ptr %1, align 8 - tail call void %.val1(ptr %.val, ptr noundef %v) #63 + tail call void %.val1(ptr %.val, ptr noundef %v) #51 ret void } @@ -20723,8 +20718,8 @@ stbtt_GetGlyphSVG.exit: ; preds = %entry, %if.end.i, % ret i32 %retval.0.i } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @stbtt_GetGlyphBitmapBoxSubpixel(ptr nocapture noundef readonly %font, i32 noundef %glyph, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, ptr noundef writeonly %ix0, ptr noundef writeonly %iy0, ptr noundef writeonly %ix1, ptr noundef writeonly %iy1) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define void @stbtt_GetGlyphBitmapBoxSubpixel(ptr nocapture noundef readonly %font, i32 noundef %glyph, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, ptr noundef writeonly %ix0, ptr noundef writeonly %iy0, ptr noundef writeonly %ix1, ptr noundef writeonly %iy1) local_unnamed_addr #19 { entry: %x0 = alloca i32, align 4 %y0 = alloca i32, align 4 @@ -20825,8 +20820,8 @@ if.end36: ; preds = %if.end36.sink.split ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @stbtt_GetGlyphBitmapBox(ptr nocapture noundef readonly %font, i32 noundef %glyph, float noundef %scale_x, float noundef %scale_y, ptr noundef writeonly %ix0, ptr noundef writeonly %iy0, ptr noundef writeonly %ix1, ptr noundef writeonly %iy1) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define void @stbtt_GetGlyphBitmapBox(ptr nocapture noundef readonly %font, i32 noundef %glyph, float noundef %scale_x, float noundef %scale_y, ptr noundef writeonly %ix0, ptr noundef writeonly %iy0, ptr noundef writeonly %ix1, ptr noundef writeonly %iy1) local_unnamed_addr #19 { entry: %x0.i = alloca i32, align 4 %y0.i = alloca i32, align 4 @@ -20935,8 +20930,8 @@ stbtt_GetGlyphBitmapBoxSubpixel.exit: ; preds = %if.end8.i, %if.end2 ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @stbtt_GetCodepointBitmapBoxSubpixel(ptr nocapture noundef readonly %font, i32 noundef %codepoint, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, ptr noundef writeonly %ix0, ptr noundef writeonly %iy0, ptr noundef writeonly %ix1, ptr noundef writeonly %iy1) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define void @stbtt_GetCodepointBitmapBoxSubpixel(ptr nocapture noundef readonly %font, i32 noundef %codepoint, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, ptr noundef writeonly %ix0, ptr noundef writeonly %iy0, ptr noundef writeonly %ix1, ptr noundef writeonly %iy1) local_unnamed_addr #19 { entry: %x0.i = alloca i32, align 4 %y0.i = alloca i32, align 4 @@ -21046,15 +21041,15 @@ stbtt_GetGlyphBitmapBoxSubpixel.exit: ; preds = %if.end8.i, %if.end2 ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @stbtt_GetCodepointBitmapBox(ptr nocapture noundef readonly %font, i32 noundef %codepoint, float noundef %scale_x, float noundef %scale_y, ptr noundef %ix0, ptr noundef %iy0, ptr noundef %ix1, ptr noundef %iy1) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define void @stbtt_GetCodepointBitmapBox(ptr nocapture noundef readonly %font, i32 noundef %codepoint, float noundef %scale_x, float noundef %scale_y, ptr noundef %ix0, ptr noundef %iy0, ptr noundef %ix1, ptr noundef %iy1) local_unnamed_addr #19 { entry: tail call void @stbtt_GetCodepointBitmapBoxSubpixel(ptr noundef %font, i32 noundef %codepoint, float noundef %scale_x, float noundef %scale_y, float noundef 0.000000e+00, float noundef 0.000000e+00, ptr noundef %ix0, ptr noundef %iy0, ptr noundef %ix1, ptr noundef %iy1) ret void } ; Function Attrs: nounwind uwtable -define void @stbtt_Rasterize(ptr nocapture noundef readonly %result, float noundef %flatness_in_pixels, ptr nocapture noundef readonly %vertices, i32 noundef %num_verts, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, i32 noundef %x_off, i32 noundef %y_off, i32 noundef %invert, ptr nocapture noundef readonly %userdata) local_unnamed_addr #23 { +define void @stbtt_Rasterize(ptr nocapture noundef readonly %result, float noundef %flatness_in_pixels, ptr nocapture noundef readonly %vertices, i32 noundef %num_verts, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, i32 noundef %x_off, i32 noundef %y_off, i32 noundef %invert, ptr nocapture noundef readonly %userdata) local_unnamed_addr #18 { entry: %active.i.i = alloca ptr, align 8 %scanline_data.i.i = alloca [129 x float], align 16 @@ -21094,7 +21089,7 @@ if.end7.i: ; preds = %for.end.i %userdata.val.i = load ptr, ptr %userdata, align 8 %1 = getelementptr i8, ptr %userdata, i64 8 %userdata.val78.i = load ptr, ptr %1, align 8 - %call.i.i = tail call ptr %userdata.val78.i(ptr %userdata.val.i, ptr noundef null, i64 noundef %mul9.i) #63 + %call.i.i = tail call ptr %userdata.val78.i(ptr %userdata.val.i, ptr noundef null, i64 noundef %mul9.i) #51 %cmp10.i = icmp eq ptr %call.i.i, null br i1 %cmp10.i, label %stbtt_FlattenCurves.exit.thread, label %for.body17.us.i @@ -21111,7 +21106,7 @@ if.then20.us.i: ; preds = %for.body17.us.i %mul22.us.i = shl nsw i64 %conv21.us.i, 3 %userdata.val79.us.i = load ptr, ptr %userdata, align 8 %userdata.val80.us.i = load ptr, ptr %1, align 8 - %call.i85.us.i = tail call ptr %userdata.val80.us.i(ptr %userdata.val79.us.i, ptr noundef null, i64 noundef %mul22.us.i) #63 + %call.i85.us.i = tail call ptr %userdata.val80.us.i(ptr %userdata.val79.us.i, ptr noundef null, i64 noundef %mul22.us.i) #51 %cmp24.us.i = icmp eq ptr %call.i85.us.i, null br i1 %cmp24.us.i, label %error.i, label %if.end28.us.i @@ -21240,10 +21235,10 @@ error.i: ; preds = %if.then20.us.i %userdata.val83.i = load ptr, ptr %userdata, align 8 %30 = getelementptr i8, ptr %userdata, i64 16 %userdata.val84.i = load ptr, ptr %30, align 8 - tail call void %userdata.val84.i(ptr %userdata.val83.i, ptr noundef null) #63 + tail call void %userdata.val84.i(ptr %userdata.val83.i, ptr noundef null) #51 %userdata.val81.i = load ptr, ptr %userdata, align 8 %userdata.val82.i = load ptr, ptr %30, align 8 - tail call void %userdata.val82.i(ptr %userdata.val81.i, ptr noundef nonnull %call.i.i) #63 + tail call void %userdata.val82.i(ptr %userdata.val81.i, ptr noundef nonnull %call.i.i) #51 br label %stbtt_FlattenCurves.exit.thread stbtt_FlattenCurves.exit.thread: ; preds = %entry, %if.end7.i, %error.i, %for.end.i @@ -21276,7 +21271,7 @@ for.end.i13: ; preds = %for.body.i21 %34 = mul nsw i64 %33, 20 %userdata.val.i14 = load ptr, ptr %userdata, align 8 %userdata.val63.i = load ptr, ptr %1, align 8 - %call.i.i15 = tail call ptr %userdata.val63.i(ptr %userdata.val.i14, ptr noundef null, i64 noundef %34) #63 + %call.i.i15 = tail call ptr %userdata.val63.i(ptr %userdata.val.i14, ptr noundef null, i64 noundef %34) #51 %cmp2.i = icmp eq ptr %call.i.i15, null br i1 %cmp2.i, label %stbtt__rasterize.exit, label %for.body7.lr.ph.i @@ -21539,7 +21534,7 @@ if.then.i.i: ; preds = %stbtt__sort_edges.e %mul2.i.i = shl nuw nsw i64 %conv.i.i, 2 %userdata.val.i.i = load ptr, ptr %userdata, align 8 %userdata.val63.i.i = load ptr, ptr %1, align 8 - %call.i.i.i = tail call ptr %userdata.val63.i.i(ptr %userdata.val.i.i, ptr noundef null, i64 noundef %mul2.i.i) #63 + %call.i.i.i = tail call ptr %userdata.val63.i.i(ptr %userdata.val.i.i, ptr noundef null, i64 noundef %mul2.i.i) #51 %.pre.i.i = load i32, ptr %result, align 8 br label %if.end.i.i @@ -21657,7 +21652,7 @@ if.else.if.end12_crit_edge.i.i.i.i: ; preds = %if.else.i.i.i.i if.then3.i.i.i.i: ; preds = %if.else.i.i.i.i %userdata.val.i.i.i.i = load ptr, ptr %userdata, align 8 %userdata.val17.i.i.i.i = load ptr, ptr %1, align 8 - %call.i.i.i.i.i = tail call ptr %userdata.val17.i.i.i.i(ptr %userdata.val.i.i.i.i, ptr noundef null, i64 noundef 25608) #63 + %call.i.i.i.i.i = tail call ptr %userdata.val17.i.i.i.i(ptr %userdata.val.i.i.i.i, ptr noundef null, i64 noundef 25608) #51 %cmp7.i.i.i.i = icmp eq ptr %call.i.i.i.i.i, null br i1 %cmp7.i.i.i.i, label %if.end57.i.i, label %if.end.i.i.i.i @@ -23499,7 +23494,7 @@ while.body.i77.i.i: ; preds = %while.body.i77.i.i, %286 = load ptr, ptr %c.02.i.i.i, align 8 %userdata.val.i.i.i = load ptr, ptr %userdata, align 8 %userdata.val3.i.i.i = load ptr, ptr %285, align 8 - tail call void %userdata.val3.i.i.i(ptr %userdata.val.i.i.i, ptr noundef nonnull %c.02.i.i.i) #63 + tail call void %userdata.val3.i.i.i(ptr %userdata.val.i.i.i, ptr noundef nonnull %c.02.i.i.i) #51 %tobool.not.i78.i.i = icmp eq ptr %286, null br i1 %tobool.not.i78.i.i, label %stbtt__hheap_cleanup.exit.i.i, label %while.body.i77.i.i, !llvm.loop !119 @@ -23511,7 +23506,7 @@ if.then99.i.i: ; preds = %stbtt__hheap_cleanu %userdata.val64.i.i = load ptr, ptr %userdata, align 8 %287 = getelementptr i8, ptr %userdata, i64 16 %userdata.val65.i.i = load ptr, ptr %287, align 8 - call void %userdata.val65.i.i(ptr %userdata.val64.i.i, ptr noundef %scanline.0.i.i) #63 + call void %userdata.val65.i.i(ptr %userdata.val64.i.i, ptr noundef %scanline.0.i.i) #51 br label %stbtt__rasterize_sorted_edges.exit.i stbtt__rasterize_sorted_edges.exit.i: ; preds = %if.then99.i.i, %stbtt__hheap_cleanup.exit.i.i @@ -23520,17 +23515,17 @@ stbtt__rasterize_sorted_edges.exit.i: ; preds = %if.then99.i.i, %stb %userdata.val64.i = load ptr, ptr %userdata, align 8 %288 = getelementptr i8, ptr %userdata, i64 16 %userdata.val65.i = load ptr, ptr %288, align 8 - call void %userdata.val65.i(ptr %userdata.val64.i, ptr noundef nonnull %call.i.i15) #63 + call void %userdata.val65.i(ptr %userdata.val64.i, ptr noundef nonnull %call.i.i15) #51 br label %stbtt__rasterize.exit stbtt__rasterize.exit: ; preds = %for.end.i13, %stbtt__rasterize_sorted_edges.exit.i %userdata.val11 = load ptr, ptr %userdata, align 8 %289 = getelementptr i8, ptr %userdata, i64 16 %userdata.val12 = load ptr, ptr %289, align 8 - call void %userdata.val12(ptr %userdata.val11, ptr noundef nonnull %call.i.i) #63 + call void %userdata.val12(ptr %userdata.val11, ptr noundef nonnull %call.i.i) #51 %userdata.val = load ptr, ptr %userdata, align 8 %userdata.val10 = load ptr, ptr %289, align 8 - call void %userdata.val10(ptr %userdata.val, ptr noundef nonnull %points.1.us.i) #63 + call void %userdata.val10(ptr %userdata.val, ptr noundef nonnull %points.1.us.i) #51 br label %if.end if.end: ; preds = %stbtt_FlattenCurves.exit.thread, %stbtt__rasterize.exit, %stbtt_FlattenCurves.exit @@ -23538,17 +23533,17 @@ if.end: ; preds = %stbtt_FlattenCurves } ; Function Attrs: nounwind uwtable -define void @stbtt_FreeBitmap(ptr noundef %bitmap, ptr nocapture noundef readonly %userdata) local_unnamed_addr #23 { +define void @stbtt_FreeBitmap(ptr noundef %bitmap, ptr nocapture noundef readonly %userdata) local_unnamed_addr #18 { entry: %userdata.val = load ptr, ptr %userdata, align 8 %0 = getelementptr i8, ptr %userdata, i64 16 %userdata.val1 = load ptr, ptr %0, align 8 - tail call void %userdata.val1(ptr %userdata.val, ptr noundef %bitmap) #63 + tail call void %userdata.val1(ptr %userdata.val, ptr noundef %bitmap) #51 ret void } ; Function Attrs: nounwind uwtable -define ptr @stbtt_GetGlyphBitmapSubpixel(ptr nocapture noundef readonly %info, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, i32 noundef %glyph, ptr noundef writeonly %width, ptr noundef writeonly %height, ptr noundef writeonly %xoff, ptr noundef writeonly %yoff) local_unnamed_addr #23 { +define ptr @stbtt_GetGlyphBitmapSubpixel(ptr nocapture noundef readonly %info, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, i32 noundef %glyph, ptr noundef writeonly %width, ptr noundef writeonly %height, ptr noundef writeonly %xoff, ptr noundef writeonly %yoff) local_unnamed_addr #18 { entry: %x0.i = alloca i32, align 4 %y0.i = alloca i32, align 4 @@ -23572,7 +23567,7 @@ if.then4: ; preds = %if.then2 %.val24 = load ptr, ptr %1, align 8 %2 = getelementptr i8, ptr %1, i64 16 %.val25 = load ptr, ptr %2, align 8 - tail call void %.val25(ptr %.val24, ptr noundef %0) #63 + tail call void %.val25(ptr %.val24, ptr noundef %0) #51 br label %return if.end6: ; preds = %if.then2, %entry @@ -23678,7 +23673,7 @@ if.then25: ; preds = %if.end20 %.val = load ptr, ptr %36, align 8 %37 = getelementptr i8, ptr %36, i64 8 %.val21 = load ptr, ptr %37, align 8 - %call.i26 = call ptr %.val21(ptr %.val, ptr noundef null, i64 noundef %conv) #63 + %call.i26 = call ptr %.val21(ptr %.val, ptr noundef null, i64 noundef %conv) #51 store ptr %call.i26, ptr %pixels, align 8 %tobool32.not = icmp eq ptr %call.i26, null %.pre31 = load ptr, ptr %vertices, align 8 @@ -23700,7 +23695,7 @@ if.end37: ; preds = %if.end20.if.end37_c %.val22 = load ptr, ptr %43, align 8 %44 = getelementptr i8, ptr %43, i64 16 %.val23 = load ptr, ptr %44, align 8 - call void %.val23(ptr %.val22, ptr noundef %42) #63 + call void %.val23(ptr %.val22, ptr noundef %42) #51 br label %return return: ; preds = %if.end37, %if.then4 @@ -23709,14 +23704,14 @@ return: ; preds = %if.end37, %if.then4 } ; Function Attrs: nounwind uwtable -define ptr @stbtt_GetGlyphBitmap(ptr nocapture noundef readonly %info, float noundef %scale_x, float noundef %scale_y, i32 noundef %glyph, ptr noundef %width, ptr noundef %height, ptr noundef %xoff, ptr noundef %yoff) local_unnamed_addr #23 { +define ptr @stbtt_GetGlyphBitmap(ptr nocapture noundef readonly %info, float noundef %scale_x, float noundef %scale_y, i32 noundef %glyph, ptr noundef %width, ptr noundef %height, ptr noundef %xoff, ptr noundef %yoff) local_unnamed_addr #18 { entry: %call = tail call ptr @stbtt_GetGlyphBitmapSubpixel(ptr noundef %info, float noundef %scale_x, float noundef %scale_y, float noundef 0.000000e+00, float noundef 0.000000e+00, i32 noundef %glyph, ptr noundef %width, ptr noundef %height, ptr noundef %xoff, ptr noundef %yoff) ret ptr %call } ; Function Attrs: nounwind uwtable -define void @stbtt_MakeGlyphBitmapSubpixel(ptr nocapture noundef readonly %info, ptr noundef %output, i32 noundef %out_w, i32 noundef %out_h, i32 noundef %out_stride, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, i32 noundef %glyph) local_unnamed_addr #23 { +define void @stbtt_MakeGlyphBitmapSubpixel(ptr nocapture noundef readonly %info, ptr noundef %output, i32 noundef %out_w, i32 noundef %out_h, i32 noundef %out_stride, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, i32 noundef %glyph) local_unnamed_addr #18 { entry: %x0.i = alloca i32, align 4 %y0.i = alloca i32, align 4 @@ -23781,19 +23776,19 @@ if.end: ; preds = %if.then, %stbtt_Get %.val = load ptr, ptr %16, align 8 %17 = getelementptr i8, ptr %16, i64 16 %.val9 = load ptr, ptr %17, align 8 - call void %.val9(ptr %.val, ptr noundef %.pre) #63 + call void %.val9(ptr %.val, ptr noundef %.pre) #51 ret void } ; Function Attrs: nounwind uwtable -define void @stbtt_MakeGlyphBitmap(ptr nocapture noundef readonly %info, ptr noundef %output, i32 noundef %out_w, i32 noundef %out_h, i32 noundef %out_stride, float noundef %scale_x, float noundef %scale_y, i32 noundef %glyph) local_unnamed_addr #23 { +define void @stbtt_MakeGlyphBitmap(ptr nocapture noundef readonly %info, ptr noundef %output, i32 noundef %out_w, i32 noundef %out_h, i32 noundef %out_stride, float noundef %scale_x, float noundef %scale_y, i32 noundef %glyph) local_unnamed_addr #18 { entry: tail call void @stbtt_MakeGlyphBitmapSubpixel(ptr noundef %info, ptr noundef %output, i32 noundef %out_w, i32 noundef %out_h, i32 noundef %out_stride, float noundef %scale_x, float noundef %scale_y, float noundef 0.000000e+00, float noundef 0.000000e+00, i32 noundef %glyph) ret void } ; Function Attrs: nounwind uwtable -define ptr @stbtt_GetCodepointBitmapSubpixel(ptr nocapture noundef readonly %info, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, i32 noundef %codepoint, ptr noundef %width, ptr noundef %height, ptr noundef %xoff, ptr noundef %yoff) local_unnamed_addr #23 { +define ptr @stbtt_GetCodepointBitmapSubpixel(ptr nocapture noundef readonly %info, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, i32 noundef %codepoint, ptr noundef %width, ptr noundef %height, ptr noundef %xoff, ptr noundef %yoff) local_unnamed_addr #18 { entry: %call = tail call i32 @stbtt_FindGlyphIndex(ptr noundef %info, i32 noundef %codepoint) %call1 = tail call ptr @stbtt_GetGlyphBitmapSubpixel(ptr noundef %info, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, i32 noundef %call, ptr noundef %width, ptr noundef %height, ptr noundef %xoff, ptr noundef %yoff) @@ -23801,7 +23796,7 @@ entry: } ; Function Attrs: nounwind uwtable -define void @stbtt_MakeCodepointBitmapSubpixelPrefilter(ptr nocapture noundef readonly %info, ptr noundef %output, i32 noundef %out_w, i32 noundef %out_h, i32 noundef %out_stride, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, i32 noundef %oversample_x, i32 noundef %oversample_y, ptr nocapture noundef writeonly %sub_x, ptr nocapture noundef writeonly %sub_y, i32 noundef %codepoint) local_unnamed_addr #23 { +define void @stbtt_MakeCodepointBitmapSubpixelPrefilter(ptr nocapture noundef readonly %info, ptr noundef %output, i32 noundef %out_w, i32 noundef %out_h, i32 noundef %out_stride, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, i32 noundef %oversample_x, i32 noundef %oversample_y, ptr nocapture noundef writeonly %sub_x, ptr nocapture noundef writeonly %sub_y, i32 noundef %codepoint) local_unnamed_addr #18 { entry: %call = tail call i32 @stbtt_FindGlyphIndex(ptr noundef %info, i32 noundef %codepoint) %sub.neg.i = add i32 %out_w, 1 @@ -23857,7 +23852,7 @@ stbtt_MakeGlyphBitmapSubpixelPrefilter.exit: ; preds = %stbtt__oversample_s } ; Function Attrs: nounwind uwtable -define void @stbtt_MakeGlyphBitmapSubpixelPrefilter(ptr nocapture noundef readonly %info, ptr noundef %output, i32 noundef %out_w, i32 noundef %out_h, i32 noundef %out_stride, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, i32 noundef %prefilter_x, i32 noundef %prefilter_y, ptr nocapture noundef writeonly %sub_x, ptr nocapture noundef writeonly %sub_y, i32 noundef %glyph) local_unnamed_addr #23 { +define void @stbtt_MakeGlyphBitmapSubpixelPrefilter(ptr nocapture noundef readonly %info, ptr noundef %output, i32 noundef %out_w, i32 noundef %out_h, i32 noundef %out_stride, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, i32 noundef %prefilter_x, i32 noundef %prefilter_y, ptr nocapture noundef writeonly %sub_x, ptr nocapture noundef writeonly %sub_y, i32 noundef %glyph) local_unnamed_addr #18 { entry: %sub.neg = add i32 %out_w, 1 %sub1 = sub i32 %sub.neg, %prefilter_x @@ -23912,7 +23907,7 @@ stbtt__oversample_shift.exit23: ; preds = %stbtt__oversample_s } ; Function Attrs: nounwind uwtable -define void @stbtt_MakeCodepointBitmapSubpixel(ptr nocapture noundef readonly %info, ptr noundef %output, i32 noundef %out_w, i32 noundef %out_h, i32 noundef %out_stride, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, i32 noundef %codepoint) local_unnamed_addr #23 { +define void @stbtt_MakeCodepointBitmapSubpixel(ptr nocapture noundef readonly %info, ptr noundef %output, i32 noundef %out_w, i32 noundef %out_h, i32 noundef %out_stride, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, i32 noundef %codepoint) local_unnamed_addr #18 { entry: %call = tail call i32 @stbtt_FindGlyphIndex(ptr noundef %info, i32 noundef %codepoint) tail call void @stbtt_MakeGlyphBitmapSubpixel(ptr noundef %info, ptr noundef %output, i32 noundef %out_w, i32 noundef %out_h, i32 noundef %out_stride, float noundef %scale_x, float noundef %scale_y, float noundef %shift_x, float noundef %shift_y, i32 noundef %call) @@ -23920,7 +23915,7 @@ entry: } ; Function Attrs: nounwind uwtable -define ptr @stbtt_GetCodepointBitmap(ptr nocapture noundef readonly %info, float noundef %scale_x, float noundef %scale_y, i32 noundef %codepoint, ptr noundef %width, ptr noundef %height, ptr noundef %xoff, ptr noundef %yoff) local_unnamed_addr #23 { +define ptr @stbtt_GetCodepointBitmap(ptr nocapture noundef readonly %info, float noundef %scale_x, float noundef %scale_y, i32 noundef %codepoint, ptr noundef %width, ptr noundef %height, ptr noundef %xoff, ptr noundef %yoff) local_unnamed_addr #18 { entry: %call.i = tail call i32 @stbtt_FindGlyphIndex(ptr noundef %info, i32 noundef %codepoint) %call1.i = tail call ptr @stbtt_GetGlyphBitmapSubpixel(ptr noundef %info, float noundef %scale_x, float noundef %scale_y, float noundef 0.000000e+00, float noundef 0.000000e+00, i32 noundef %call.i, ptr noundef %width, ptr noundef %height, ptr noundef %xoff, ptr noundef %yoff) @@ -23928,15 +23923,15 @@ entry: } ; Function Attrs: nounwind uwtable -define void @stbtt_MakeCodepointBitmap(ptr nocapture noundef readonly %info, ptr noundef %output, i32 noundef %out_w, i32 noundef %out_h, i32 noundef %out_stride, float noundef %scale_x, float noundef %scale_y, i32 noundef %codepoint) local_unnamed_addr #23 { +define void @stbtt_MakeCodepointBitmap(ptr nocapture noundef readonly %info, ptr noundef %output, i32 noundef %out_w, i32 noundef %out_h, i32 noundef %out_stride, float noundef %scale_x, float noundef %scale_y, i32 noundef %codepoint) local_unnamed_addr #18 { entry: %call.i = tail call i32 @stbtt_FindGlyphIndex(ptr noundef %info, i32 noundef %codepoint) tail call void @stbtt_MakeGlyphBitmapSubpixel(ptr noundef %info, ptr noundef %output, i32 noundef %out_w, i32 noundef %out_h, i32 noundef %out_stride, float noundef %scale_x, float noundef %scale_y, float noundef 0.000000e+00, float noundef 0.000000e+00, i32 noundef %call.i) ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @stbtt_GetBakedQuad(ptr nocapture noundef readonly %chardata, i32 noundef %pw, i32 noundef %ph, i32 noundef %char_index, ptr nocapture noundef %xpos, ptr nocapture noundef readonly %ypos, ptr nocapture noundef writeonly %q, i32 noundef %opengl_fillrule) local_unnamed_addr #28 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define void @stbtt_GetBakedQuad(ptr nocapture noundef readonly %chardata, i32 noundef %pw, i32 noundef %ph, i32 noundef %char_index, ptr nocapture noundef %xpos, ptr nocapture noundef readonly %ypos, ptr nocapture noundef writeonly %q, i32 noundef %opengl_fillrule) local_unnamed_addr #22 { entry: %tobool.not = icmp eq i32 %opengl_fillrule, 0 %cond = select i1 %tobool.not, float -5.000000e-01, float 0.000000e+00 @@ -24015,18 +24010,18 @@ entry: } ; Function Attrs: nounwind uwtable -define i32 @stbtt_PackBegin(ptr nocapture noundef writeonly %spc, ptr noundef %pixels, i32 noundef %pw, i32 noundef %ph, i32 noundef %stride_in_bytes, i32 noundef %padding, ptr noundef %alloc_context) local_unnamed_addr #23 { +define i32 @stbtt_PackBegin(ptr nocapture noundef writeonly %spc, ptr noundef %pixels, i32 noundef %pw, i32 noundef %ph, i32 noundef %stride_in_bytes, i32 noundef %padding, ptr noundef %alloc_context) local_unnamed_addr #18 { entry: %alloc_context.val37 = load ptr, ptr %alloc_context, align 8 %0 = getelementptr i8, ptr %alloc_context, i64 8 %alloc_context.val38 = load ptr, ptr %0, align 8 - %call.i = tail call ptr %alloc_context.val38(ptr %alloc_context.val37, ptr noundef null, i64 noundef 72) #63 + %call.i = tail call ptr %alloc_context.val38(ptr %alloc_context.val37, ptr noundef null, i64 noundef 72) #51 %sub = sub nsw i32 %pw, %padding %conv = sext i32 %sub to i64 %mul = shl nsw i64 %conv, 4 %alloc_context.val = load ptr, ptr %alloc_context, align 8 %alloc_context.val36 = load ptr, ptr %0, align 8 - %call.i43 = tail call ptr %alloc_context.val36(ptr %alloc_context.val, ptr noundef null, i64 noundef %mul) #63 + %call.i43 = tail call ptr %alloc_context.val36(ptr %alloc_context.val, ptr noundef null, i64 noundef %mul) #51 %cmp = icmp eq ptr %call.i, null %cmp3 = icmp eq ptr %call.i43, null %or.cond = select i1 %cmp, i1 true, i1 %cmp3 @@ -24039,7 +24034,7 @@ if.then7: ; preds = %if.then %alloc_context.val41 = load ptr, ptr %alloc_context, align 8 %1 = getelementptr i8, ptr %alloc_context, i64 16 %alloc_context.val42 = load ptr, ptr %1, align 8 - tail call void %alloc_context.val42(ptr %alloc_context.val41, ptr noundef nonnull %call.i) #63 + tail call void %alloc_context.val42(ptr %alloc_context.val41, ptr noundef nonnull %call.i) #51 br label %if.end if.end: ; preds = %if.then7, %if.then @@ -24049,7 +24044,7 @@ if.then10: ; preds = %if.end %alloc_context.val39 = load ptr, ptr %alloc_context, align 8 %2 = getelementptr i8, ptr %alloc_context, i64 16 %alloc_context.val40 = load ptr, ptr %2, align 8 - tail call void %alloc_context.val40(ptr %alloc_context.val39, ptr noundef nonnull %call.i43) #63 + tail call void %alloc_context.val40(ptr %alloc_context.val39, ptr noundef nonnull %call.i43) #51 br label %return if.end12: ; preds = %entry @@ -24142,7 +24137,7 @@ return: ; preds = %stbrp_init_target.e } ; Function Attrs: nounwind uwtable -define void @stbtt_PackEnd(ptr nocapture noundef readonly %spc) local_unnamed_addr #23 { +define void @stbtt_PackEnd(ptr nocapture noundef readonly %spc) local_unnamed_addr #18 { entry: %nodes = getelementptr inbounds %struct.stbtt_pack_context, ptr %spc, i64 0, i32 10 %0 = load ptr, ptr %nodes, align 8 @@ -24150,19 +24145,19 @@ entry: %.val5 = load ptr, ptr %1, align 8 %2 = getelementptr i8, ptr %1, i64 16 %.val6 = load ptr, ptr %2, align 8 - tail call void %.val6(ptr %.val5, ptr noundef %0) #63 + tail call void %.val6(ptr %.val5, ptr noundef %0) #51 %pack_info = getelementptr inbounds %struct.stbtt_pack_context, ptr %spc, i64 0, i32 1 %3 = load ptr, ptr %pack_info, align 8 %4 = load ptr, ptr %spc, align 8 %.val = load ptr, ptr %4, align 8 %5 = getelementptr i8, ptr %4, i64 16 %.val4 = load ptr, ptr %5, align 8 - tail call void %.val4(ptr %.val, ptr noundef %3) #63 + tail call void %.val4(ptr %.val, ptr noundef %3) #51 ret void } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @stbtt_PackSetOversampling(ptr nocapture noundef writeonly %spc, i32 noundef %h_oversample, i32 noundef %v_oversample) local_unnamed_addr #12 { +define void @stbtt_PackSetOversampling(ptr nocapture noundef writeonly %spc, i32 noundef %h_oversample, i32 noundef %v_oversample) local_unnamed_addr #10 { entry: %cmp = icmp ult i32 %h_oversample, 9 br i1 %cmp, label %if.then, label %if.end @@ -24186,15 +24181,15 @@ if.end5: ; preds = %if.then3, %if.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @stbtt_PackSetSkipMissingCodepoints(ptr nocapture noundef writeonly %spc, i32 noundef %skip) local_unnamed_addr #12 { +define void @stbtt_PackSetSkipMissingCodepoints(ptr nocapture noundef writeonly %spc, i32 noundef %skip) local_unnamed_addr #10 { entry: %skip_missing = getelementptr inbounds %struct.stbtt_pack_context, ptr %spc, i64 0, i32 6 store i32 %skip, ptr %skip_missing, align 8 ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define i32 @stbtt_PackFontRangesGatherRects(ptr nocapture noundef readonly %spc, ptr nocapture noundef readonly %info, ptr nocapture noundef %ranges, i32 noundef %num_ranges, ptr nocapture noundef writeonly %rects) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define i32 @stbtt_PackFontRangesGatherRects(ptr nocapture noundef readonly %spc, ptr nocapture noundef readonly %info, ptr nocapture noundef %ranges, i32 noundef %num_ranges, ptr nocapture noundef writeonly %rects) local_unnamed_addr #19 { entry: %c.i.i = alloca %struct.stbtt__csctx, align 8 %cmp85 = icmp sgt i32 %num_ranges, 0 @@ -24569,8 +24564,8 @@ for.end67: ; preds = %for.inc65, %entry ret i32 %k.0.lcssa } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @stbtt__h_prefilter(ptr nocapture noundef %pixels, i32 noundef %w, i32 noundef %h, i32 noundef %stride_in_bytes, i32 noundef %kernel_width) unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define internal fastcc void @stbtt__h_prefilter(ptr nocapture noundef %pixels, i32 noundef %w, i32 noundef %h, i32 noundef %stride_in_bytes, i32 noundef %kernel_width) unnamed_addr #19 { entry: %buffer = alloca [8 x i8], align 8 store i64 0, ptr %buffer, align 8 @@ -24771,8 +24766,8 @@ for.end145: ; preds = %for.end142, %entry ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @stbtt__v_prefilter(ptr nocapture noundef %pixels, i32 noundef %w, i32 noundef %h, i32 noundef %stride_in_bytes, i32 noundef %kernel_width) unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define internal fastcc void @stbtt__v_prefilter(ptr nocapture noundef %pixels, i32 noundef %w, i32 noundef %h, i32 noundef %stride_in_bytes, i32 noundef %kernel_width) unnamed_addr #19 { entry: %buffer = alloca [8 x i8], align 8 store i64 0, ptr %buffer, align 8 @@ -24980,7 +24975,7 @@ for.end160: ; preds = %for.end157, %entry } ; Function Attrs: nounwind uwtable -define i32 @stbtt_PackFontRangesRenderIntoRects(ptr nocapture noundef %spc, ptr nocapture noundef readonly %info, ptr nocapture noundef readonly %ranges, i32 noundef %num_ranges, ptr nocapture noundef %rects) local_unnamed_addr #23 { +define i32 @stbtt_PackFontRangesRenderIntoRects(ptr nocapture noundef %spc, ptr nocapture noundef readonly %info, ptr nocapture noundef readonly %ranges, i32 noundef %num_ranges, ptr nocapture noundef %rects) local_unnamed_addr #18 { entry: %c.i.i230 = alloca %struct.stbtt__csctx, align 8 %c.i.i = alloca %struct.stbtt__csctx, align 8 @@ -25550,7 +25545,7 @@ stbtt_MakeGlyphBitmapSubpixel.exit: ; preds = %stbtt_GetGlyphBitma %.val.i = load ptr, ptr %142, align 8 %143 = getelementptr i8, ptr %142, i64 16 %.val9.i = load ptr, ptr %143, align 8 - tail call void %.val9.i(ptr %.val.i, ptr noundef %.pre.i) #63 + tail call void %.val9.i(ptr %.val.i, ptr noundef %.pre.i) #51 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %vertices.i) call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %gbm.i) %144 = load i32, ptr %h_oversample, align 4 @@ -26085,7 +26080,7 @@ for.end187: ; preds = %for.inc185, %entry } ; Function Attrs: nofree nounwind uwtable -define void @stbtt_PackFontRangesPackRects(ptr nocapture noundef readonly %spc, ptr noundef %rects, i32 noundef %num_rects) local_unnamed_addr #35 { +define void @stbtt_PackFontRangesPackRects(ptr nocapture noundef readonly %spc, ptr noundef %rects, i32 noundef %num_rects) local_unnamed_addr #26 { entry: %pack_info = getelementptr inbounds %struct.stbtt_pack_context, ptr %spc, i64 0, i32 1 %0 = load ptr, ptr %pack_info, align 8 @@ -26094,7 +26089,7 @@ entry: } ; Function Attrs: nounwind uwtable -define i32 @stbtt_PackFontRanges(ptr nocapture noundef %spc, ptr noundef %fontdata, i32 noundef %font_index, ptr nocapture noundef %ranges, i32 noundef %num_ranges) local_unnamed_addr #23 { +define i32 @stbtt_PackFontRanges(ptr nocapture noundef %spc, ptr noundef %fontdata, i32 noundef %font_index, ptr nocapture noundef %ranges, i32 noundef %num_ranges) local_unnamed_addr #18 { entry: %info = alloca %struct.stbtt_fontinfo, align 8 %cmp43 = icmp sgt i32 %num_ranges, 0 @@ -26168,7 +26163,7 @@ for.end34: ; preds = %entry, %for.end34.l %.val = load ptr, ptr %10, align 8 %11 = getelementptr i8, ptr %10, i64 8 %.val37 = load ptr, ptr %11, align 8 - %call.i = tail call ptr %.val37(ptr %.val, ptr noundef null, i64 noundef %n.0.lcssa) #63 + %call.i = tail call ptr %.val37(ptr %.val, ptr noundef null, i64 noundef %n.0.lcssa) #51 %cmp35 = icmp eq ptr %call.i, null br i1 %cmp35, label %return, label %if.end @@ -26186,7 +26181,7 @@ if.end: ; preds = %for.end34 %.val38 = load ptr, ptr %14, align 8 %15 = getelementptr i8, ptr %14, i64 16 %.val39 = load ptr, ptr %15, align 8 - tail call void %.val39(ptr %.val38, ptr noundef nonnull %call.i) #63 + tail call void %.val39(ptr %.val38, ptr noundef nonnull %call.i) #51 br label %return return: ; preds = %for.end34, %if.end @@ -26194,8 +26189,8 @@ return: ; preds = %for.end34, %if.end ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define i32 @stbtt_InitFont(ptr nocapture noundef %info, ptr noundef %data, i32 noundef %offset) local_unnamed_addr #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define i32 @stbtt_InitFont(ptr nocapture noundef %info, ptr noundef %data, i32 noundef %offset) local_unnamed_addr #7 { entry: %b.i = alloca %struct.stbtt__buf, align 8 %topdict.i = alloca %struct.stbtt__buf, align 8 @@ -27629,7 +27624,7 @@ stbtt_InitFont_internal.exit: ; preds = %for.inc.i469.i, %st } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @stbtt_GetFontOffsetForIndex(ptr nocapture noundef readonly %data, i32 noundef %index) local_unnamed_addr #14 { +define i32 @stbtt_GetFontOffsetForIndex(ptr nocapture noundef readonly %data, i32 noundef %index) local_unnamed_addr #11 { entry: %call.i = tail call fastcc i32 @stbtt__isfont(ptr noundef %data), !range !14 %tobool.not.i = icmp eq i32 %call.i, 0 @@ -27739,7 +27734,7 @@ stbtt_GetFontOffsetForIndex_internal.exit: ; preds = %if.then.i, %if.end. } ; Function Attrs: nounwind uwtable -define i32 @stbtt_PackFontRange(ptr nocapture noundef %spc, ptr noundef %fontdata, i32 noundef %font_index, float noundef %font_size, i32 noundef %first_unicode_codepoint_in_range, i32 noundef %num_chars_in_range, ptr noundef %chardata_for_range) local_unnamed_addr #23 { +define i32 @stbtt_PackFontRange(ptr nocapture noundef %spc, ptr noundef %fontdata, i32 noundef %font_index, float noundef %font_size, i32 noundef %first_unicode_codepoint_in_range, i32 noundef %num_chars_in_range, ptr noundef %chardata_for_range) local_unnamed_addr #18 { entry: %range = alloca %struct.stbtt_pack_range, align 8 %first_unicode_codepoint_in_range1 = getelementptr inbounds %struct.stbtt_pack_range, ptr %range, i64 0, i32 1 @@ -27755,8 +27750,8 @@ entry: ret i32 %call } -; Function Attrs: nofree nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @stbtt_GetScaledFontVMetrics(ptr noundef %fontdata, i32 noundef %index, float noundef %size, ptr nocapture noundef writeonly %ascent, ptr nocapture noundef writeonly %descent, ptr nocapture noundef writeonly %lineGap) local_unnamed_addr #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define void @stbtt_GetScaledFontVMetrics(ptr noundef %fontdata, i32 noundef %index, float noundef %size, ptr nocapture noundef writeonly %ascent, ptr nocapture noundef writeonly %descent, ptr nocapture noundef writeonly %lineGap) local_unnamed_addr #7 { entry: %info = alloca %struct.stbtt_fontinfo, align 8 %call = tail call i32 @stbtt_GetFontOffsetForIndex(ptr noundef %fontdata, i32 noundef %index) @@ -27861,8 +27856,8 @@ cond.end: ; preds = %cond.false, %cond.t ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @stbtt_GetPackedQuad(ptr nocapture noundef readonly %chardata, i32 noundef %pw, i32 noundef %ph, i32 noundef %char_index, ptr nocapture noundef %xpos, ptr nocapture noundef readonly %ypos, ptr nocapture noundef writeonly %q, i32 noundef %align_to_integer) local_unnamed_addr #28 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define void @stbtt_GetPackedQuad(ptr nocapture noundef readonly %chardata, i32 noundef %pw, i32 noundef %ph, i32 noundef %char_index, ptr nocapture noundef %xpos, ptr nocapture noundef readonly %ypos, ptr nocapture noundef writeonly %q, i32 noundef %align_to_integer) local_unnamed_addr #22 { entry: %idx.ext = sext i32 %char_index to i64 %tobool.not = icmp eq i32 %align_to_integer, 0 @@ -27961,7 +27956,7 @@ if.end: ; preds = %if.else, %if.then } ; Function Attrs: nounwind uwtable -define ptr @stbtt_GetGlyphSDF(ptr nocapture noundef readonly %info, float noundef %scale, i32 noundef %glyph, i32 noundef %padding, i8 noundef zeroext %onedge_value, float noundef %pixel_dist_scale, ptr noundef writeonly %width, ptr noundef writeonly %height, ptr noundef writeonly %xoff, ptr noundef writeonly %yoff) local_unnamed_addr #23 { +define ptr @stbtt_GetGlyphSDF(ptr nocapture noundef readonly %info, float noundef %scale, i32 noundef %glyph, i32 noundef %padding, i8 noundef zeroext %onedge_value, float noundef %pixel_dist_scale, ptr noundef writeonly %width, ptr noundef writeonly %height, ptr noundef writeonly %xoff, ptr noundef writeonly %yoff) local_unnamed_addr #18 { entry: %x0.i = alloca i32, align 4 %y0.i = alloca i32, align 4 @@ -28071,14 +28066,14 @@ if.end19: ; preds = %if.then18, %if.end1 %.val361 = load ptr, ptr %25, align 8 %26 = getelementptr i8, ptr %25, i64 8 %.val362 = load ptr, ptr %26, align 8 - %call.i367 = call ptr %.val362(ptr %.val361, ptr noundef null, i64 noundef %conv) #63 + %call.i367 = call ptr %.val362(ptr %.val361, ptr noundef null, i64 noundef %conv) #51 %conv21 = sext i32 %call to i64 %mul22 = shl nsw i64 %conv21, 2 %27 = load ptr, ptr %info, align 8 %.val = load ptr, ptr %27, align 8 %28 = getelementptr i8, ptr %27, i64 8 %.val360 = load ptr, ptr %28, align 8 - %call.i368 = call ptr %.val360(ptr %.val, ptr noundef null, i64 noundef %mul22) #63 + %call.i368 = call ptr %.val360(ptr %.val, ptr noundef null, i64 noundef %mul22) #51 %cmp26411 = icmp sgt i32 %call, 0 %.pre.pre = load ptr, ptr %verts, align 8 br i1 %cmp26411, label %for.body.lr.ph, label %for.cond137.preheader @@ -28123,7 +28118,7 @@ for.body144.us: ; preds = %for.cond141.prehead %conv145.us = sitofp i32 %32 to float %add146.us = fadd float %conv145.us, 5.000000e-01 %div149.us = fdiv float %add146.us, %scale - %call.i370.us = call double @fmod(double noundef %conv.i369.us, double noundef 1.000000e+00) #63 + %call.i370.us = call double @fmod(double noundef %conv.i369.us, double noundef 1.000000e+00) #51 %conv1.i.us = fptrunc double %call.i370.us to float %cmp.i.us = fcmp olt float %conv1.i.us, 0x3F847AE140000000 br i1 %cmp.i.us, label %if.end6.i.us, label %if.else.i371.us @@ -28283,7 +28278,7 @@ if.then.i.i.us: ; preds = %if.else261.i.us if.then30.i.i.us: ; preds = %if.then.i.i.us %div.i.i.us = fdiv float -1.000000e+00, %add.i.i.us - %sqrtf.i.i.us = call float @sqrtf(float noundef %59) #38 + %sqrtf.i.i.us = call float @sqrtf(float noundef %59) #29 %add33.i.i.us = fadd float %sub.i.i.us, %sqrtf.i.i.us %mul.i.i.us = fmul float %div.i.i.us, %add33.i.i.us %sub34.i.i.us = fsub float %sub.i.i.us, %sqrtf.i.i.us @@ -28568,7 +28563,7 @@ if.else438.us: ; preds = %if.then369.us br i1 %cmp.i379.us, label %if.else.i384.us, label %if.then.i380.us if.then.i380.us: ; preds = %if.else438.us - %sqrtf31.i.us = call float @sqrtf(float noundef %132) #38 + %sqrtf31.i.us = call float @sqrtf(float noundef %132) #29 %fneg13.i.us = fneg float %add.i378.us %add14.i.us = fsub float %sqrtf31.i.us, %add.i378.us %div15.i.us = fmul float %add14.i.us, 5.000000e-01 @@ -28579,14 +28574,14 @@ if.then.i380.us: ; preds = %if.else438.us if.else.i.i382.us: ; preds = %if.then.i380.us %conv3.i.i.us = fpext float %div15.i.us to double - %call4.i.i.us = call double @pow(double noundef %conv3.i.i.us, double noundef 0x3FD5555560000000) #63 + %call4.i.i.us = call double @pow(double noundef %conv3.i.i.us, double noundef 0x3FD5555560000000) #51 %conv5.i.i.us = fptrunc double %call4.i.i.us to float br label %stbtt__cuberoot.exit.i.us if.then.i.i383.us: ; preds = %if.then.i380.us %fneg.i.i.us = fneg float %div15.i.us %conv.i.i.us = fpext float %fneg.i.i.us to double - %call.i.i.us = call double @pow(double noundef %conv.i.i.us, double noundef 0x3FD5555560000000) #63 + %call.i.i.us = call double @pow(double noundef %conv.i.i.us, double noundef 0x3FD5555560000000) #51 %conv1.i.i.us = fptrunc double %call.i.i.us to float %fneg2.i.i.us = fneg float %conv1.i.i.us br label %stbtt__cuberoot.exit.i.us @@ -28598,14 +28593,14 @@ stbtt__cuberoot.exit.i.us: ; preds = %if.then.i.i383.us, if.else.i33.i.us: ; preds = %stbtt__cuberoot.exit.i.us %conv3.i34.i.us = fpext float %div18.i.us to double - %call4.i35.i.us = call double @pow(double noundef %conv3.i34.i.us, double noundef 0x3FD5555560000000) #63 + %call4.i35.i.us = call double @pow(double noundef %conv3.i34.i.us, double noundef 0x3FD5555560000000) #51 %conv5.i36.i.us = fptrunc double %call4.i35.i.us to float br label %stbtt__cuberoot.exit44.i.us if.then.i38.i.us: ; preds = %stbtt__cuberoot.exit.i.us %fneg.i39.i.us = fneg float %div18.i.us %conv.i40.i.us = fpext float %fneg.i39.i.us to double - %call.i41.i.us = call double @pow(double noundef %conv.i40.i.us, double noundef 0x3FD5555560000000) #63 + %call.i41.i.us = call double @pow(double noundef %conv.i40.i.us, double noundef 0x3FD5555560000000) #51 %conv1.i42.i.us = fptrunc double %call.i41.i.us to float %fneg2.i43.i.us = fneg float %conv1.i42.i.us br label %stbtt__cuberoot.exit44.i.us @@ -28618,22 +28613,22 @@ stbtt__cuberoot.exit44.i.us: ; preds = %if.then.i38.i.us, % if.else.i384.us: ; preds = %if.else438.us %div25.i.us = fdiv float %sub.i377.us, -3.000000e+00 - %sqrtf.i.us = call float @sqrtf(float noundef %div25.i.us) #38 + %sqrtf.i.us = call float @sqrtf(float noundef %div25.i.us) #29 %div30.i.us = fdiv float -2.700000e+01, %mul8.i.us %conv31.i.us = fpext float %div30.i.us to double - %call32.i.us = call double @sqrt(double noundef %conv31.i.us) #63 + %call32.i.us = call double @sqrt(double noundef %conv31.i.us) #51 %fneg33.i.us = fneg double %call32.i.us %conv34.i385.us = fpext float %add.i378.us to double %mul35.i.us = fmul double %conv34.i385.us, %fneg33.i.us %div36.i.us = fmul double %mul35.i.us, 5.000000e-01 - %call37.i.us = call double @acos(double noundef %div36.i.us) #63 + %call37.i.us = call double @acos(double noundef %div36.i.us) #51 %conv38.i.us = fptrunc double %call37.i.us to float %div39.i.us = fdiv float %conv38.i.us, 3.000000e+00 %conv40.i.us = fpext float %div39.i.us to double - %call41.i.us = call double @cos(double noundef %conv40.i.us) #63 + %call41.i.us = call double @cos(double noundef %conv40.i.us) #51 %conv42.i.us = fptrunc double %call41.i.us to float %sub44.i.us = fadd double %conv40.i.us, 0xBFF921FAFC8B007A - %call45.i.us = call double @cos(double noundef %sub44.i.us) #63 + %call45.i.us = call double @cos(double noundef %sub44.i.us) #51 %conv46.i.us = fptrunc double %call45.i.us to float %mul47.i.us = fmul float %conv46.i.us, 0x3FFBB67AE0000000 %mul48.i.us = fmul float %sqrtf.i.us, 2.000000e+00 @@ -28664,7 +28659,7 @@ if.else414.us: ; preds = %if.then389.us br i1 %cmp419.us, label %if.end455.us, label %if.else422.us if.else422.us: ; preds = %if.else414.us - %sqrtf.us = call float @sqrtf(float noundef %141) #38 + %sqrtf.us = call float @sqrtf(float noundef %141) #29 %fneg426.us = fneg float %138 %sub427.us = fsub float %fneg426.us, %sqrtf.us %mul428.us = fmul float %mul392.us, 2.000000e+00 @@ -28944,12 +28939,12 @@ for.end631: ; preds = %for.cond141.for.inc %.val365 = load ptr, ptr %197, align 8 %198 = getelementptr i8, ptr %197, i64 16 %.val366 = load ptr, ptr %198, align 8 - call void %.val366(ptr %.val365, ptr noundef %call.i368) #63 + call void %.val366(ptr %.val365, ptr noundef %call.i368) #51 %199 = load ptr, ptr %info, align 8 %.val363 = load ptr, ptr %199, align 8 %200 = getelementptr i8, ptr %199, i64 16 %.val364 = load ptr, ptr %200, align 8 - call void %.val364(ptr %.val363, ptr noundef %.pre.pre) #63 + call void %.val364(ptr %.val363, ptr noundef %.pre.pre) #51 br label %return return: ; preds = %stbtt_GetGlyphBitmapBoxSubpixel.exit.thread, %stbtt_GetGlyphBitmapBoxSubpixel.exit, %entry, %for.end631 @@ -28958,10 +28953,10 @@ return: ; preds = %stbtt_GetGlyphBitma } ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare double @sqrt(double noundef) local_unnamed_addr #38 +declare double @sqrt(double noundef) local_unnamed_addr #29 ; Function Attrs: nounwind uwtable -define ptr @stbtt_GetCodepointSDF(ptr nocapture noundef readonly %info, float noundef %scale, i32 noundef %codepoint, i32 noundef %padding, i8 noundef zeroext %onedge_value, float noundef %pixel_dist_scale, ptr noundef %width, ptr noundef %height, ptr noundef %xoff, ptr noundef %yoff) local_unnamed_addr #23 { +define ptr @stbtt_GetCodepointSDF(ptr nocapture noundef readonly %info, float noundef %scale, i32 noundef %codepoint, i32 noundef %padding, i8 noundef zeroext %onedge_value, float noundef %pixel_dist_scale, ptr noundef %width, ptr noundef %height, ptr noundef %xoff, ptr noundef %yoff) local_unnamed_addr #18 { entry: %call = tail call i32 @stbtt_FindGlyphIndex(ptr noundef %info, i32 noundef %codepoint) %call1 = tail call ptr @stbtt_GetGlyphSDF(ptr noundef %info, float noundef %scale, i32 noundef %call, i32 noundef %padding, i8 noundef zeroext %onedge_value, float noundef %pixel_dist_scale, ptr noundef %width, ptr noundef %height, ptr noundef %xoff, ptr noundef %yoff) @@ -28969,12 +28964,12 @@ entry: } ; Function Attrs: nounwind uwtable -define void @stbtt_FreeSDF(ptr noundef %bitmap, ptr nocapture noundef readonly %userdata) local_unnamed_addr #23 { +define void @stbtt_FreeSDF(ptr noundef %bitmap, ptr nocapture noundef readonly %userdata) local_unnamed_addr #18 { entry: %userdata.val = load ptr, ptr %userdata, align 8 %0 = getelementptr i8, ptr %userdata, i64 16 %userdata.val1 = load ptr, ptr %0, align 8 - tail call void %userdata.val1(ptr %userdata.val, ptr noundef %bitmap) #63 + tail call void %userdata.val1(ptr %userdata.val, ptr noundef %bitmap) #51 ret void } @@ -29174,7 +29169,7 @@ return: ; preds = %for.inc.i, %for.inc } ; Function Attrs: nounwind uwtable -define i32 @stbtt_BakeFontBitmap(ptr noundef %data, i32 noundef %offset, float noundef %pixel_height, ptr noundef %pixels, i32 noundef %pw, i32 noundef %ph, i32 noundef %first_char, i32 noundef %num_chars, ptr nocapture noundef writeonly %chardata) local_unnamed_addr #23 { +define i32 @stbtt_BakeFontBitmap(ptr noundef %data, i32 noundef %offset, float noundef %pixel_height, ptr noundef %pixels, i32 noundef %pw, i32 noundef %ph, i32 noundef %first_char, i32 noundef %num_chars, ptr nocapture noundef writeonly %chardata) local_unnamed_addr #18 { entry: %x0.i.i.i = alloca i32, align 4 %y0.i.i.i = alloca i32, align 4 @@ -29362,7 +29357,7 @@ stbtt_BakeFontBitmap_internal.exit: ; preds = %if.end17.i, %entry, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @stbtt_GetNumberOfFonts(ptr nocapture noundef readonly %data) local_unnamed_addr #14 { +define i32 @stbtt_GetNumberOfFonts(ptr nocapture noundef readonly %data) local_unnamed_addr #11 { entry: %call.i = tail call fastcc i32 @stbtt__isfont(ptr noundef %data), !range !14 %tobool.not.i = icmp eq i32 %call.i, 0 @@ -29442,7 +29437,7 @@ stbtt_GetNumberOfFonts_internal.exit: ; preds = %entry, %if.end.i, % } ; Function Attrs: nofree nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @stbtt_FindMatchingFont(ptr nocapture noundef readonly %fontdata, ptr nocapture noundef readonly %name, i32 noundef %flags) local_unnamed_addr #39 { +define i32 @stbtt_FindMatchingFont(ptr nocapture noundef readonly %fontdata, ptr nocapture noundef readonly %name, i32 noundef %flags) local_unnamed_addr #30 { entry: %invariant.gep.i = getelementptr i8, ptr %fontdata, i64 45 %call10.i = tail call i32 @stbtt_GetFontOffsetForIndex(ptr noundef %fontdata, i32 noundef 0) @@ -29450,7 +29445,7 @@ entry: br i1 %cmp11.i, label %stbtt_FindMatchingFont_internal.exit, label %if.end.lr.ph.i if.end.lr.ph.i: ; preds = %entry - %call.i.i = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %name) #64 + %call.i.i = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %name) #52 %conv.i.i = trunc i64 %call.i.i to i32 %tobool2.not.i.i = icmp eq i32 %flags, 0 %and10.i.i = and i32 %flags, 7 @@ -29782,7 +29777,7 @@ return: ; preds = %do.cond, %entry, %l ret ptr %retval.0 } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_font_config(ptr noalias nocapture writeonly sret(%struct.nk_font_config) align 8 %agg.result, float noundef %pixel_height) local_unnamed_addr #4 { entry: %size = getelementptr inbounds %struct.nk_font_config, ptr %agg.result, i64 0, i32 9 @@ -29803,8 +29798,8 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_font_atlas_init_default(ptr noundef %atlas) local_unnamed_addr #24 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable +define void @nk_font_atlas_init_default(ptr noundef %atlas) local_unnamed_addr #10 { entry: %tobool.not = icmp eq ptr %atlas, null br i1 %tobool.not, label %return, label %if.end @@ -29847,8 +29842,8 @@ return: ; preds = %entry, %nk_zero.exi ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @nk_font_atlas_init(ptr noundef %atlas, ptr noundef readonly %alloc) local_unnamed_addr #28 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define void @nk_font_atlas_init(ptr noundef %atlas, ptr noundef readonly %alloc) local_unnamed_addr #22 { entry: %tobool = icmp ne ptr %atlas, null %tobool1 = icmp ne ptr %alloc, null @@ -29885,8 +29880,8 @@ return: ; preds = %entry, %nk_zero.exi ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @nk_font_atlas_init_custom(ptr noundef %atlas, ptr noundef readonly %permanent, ptr noundef readonly %temporary) local_unnamed_addr #28 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define void @nk_font_atlas_init_custom(ptr noundef %atlas, ptr noundef readonly %permanent, ptr noundef readonly %temporary) local_unnamed_addr #22 { entry: %tobool = icmp ne ptr %atlas, null %tobool1 = icmp ne ptr %permanent, null @@ -29926,7 +29921,7 @@ return: ; preds = %entry, %nk_zero.exi } ; Function Attrs: nounwind uwtable -define void @nk_font_atlas_begin(ptr noundef %atlas) local_unnamed_addr #23 { +define void @nk_font_atlas_begin(ptr noundef %atlas) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %atlas, null br i1 %tobool.not, label %if.end29, label %lor.lhs.false @@ -29964,7 +29959,7 @@ if.end: ; preds = %lor.lhs.false8 if.then13: ; preds = %if.end %5 = load ptr, ptr %permanent, align 8 - tail call void %1(ptr %5, ptr noundef nonnull %4) #63 + tail call void %1(ptr %5, ptr noundef nonnull %4) #51 store ptr null, ptr %glyphs, align 8 br label %if.end19 @@ -29976,7 +29971,7 @@ if.end19: ; preds = %if.then13, %if.end if.then21: ; preds = %if.end19 %7 = load ptr, ptr %free, align 8 %8 = load ptr, ptr %permanent, align 8 - tail call void %7(ptr %8, ptr noundef nonnull %6) #63 + tail call void %7(ptr %8, ptr noundef nonnull %6) #51 store ptr null, ptr %atlas, align 8 br label %if.end29 @@ -29985,7 +29980,7 @@ if.end29: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define ptr @nk_font_atlas_add(ptr noundef %atlas, ptr noundef %config) local_unnamed_addr #23 { +define ptr @nk_font_atlas_add(ptr noundef %atlas, ptr noundef %config) local_unnamed_addr #18 { entry: %tobool = icmp ne ptr %atlas, null %tobool1 = icmp ne ptr %config, null @@ -30037,7 +30032,7 @@ lor.lhs.false15: ; preds = %lor.lhs.false12 if.end: ; preds = %lor.lhs.false15 %7 = load ptr, ptr %permanent, align 8 - %call = tail call ptr %3(ptr %7, ptr noundef null, i64 noundef 88) #63 + %call = tail call ptr %3(ptr %7, ptr noundef null, i64 noundef 88) #51 %call22 = tail call fastcc ptr @nk_memcopy(ptr noundef %call, ptr noundef nonnull %config, i64 noundef 88) %n = getelementptr inbounds %struct.nk_font_config, ptr %call, i64 0, i32 15 store ptr %call, ptr %n, align 8 @@ -30066,7 +30061,7 @@ if.end35: ; preds = %while.cond, %if.the store ptr null, ptr %call, align 8 %11 = load ptr, ptr %alloc, align 8 %12 = load ptr, ptr %permanent, align 8 - %call41 = tail call ptr %11(ptr %12, ptr noundef null, i64 noundef 128) #63 + %call41 = tail call ptr %11(ptr %12, ptr noundef null, i64 noundef 128) #51 %13 = ptrtoint ptr %call41 to i64 %and.i.i = and i64 %13, 3 %cmp10.not.i.i = icmp eq i64 %and.i.i, 0 @@ -30137,7 +30132,7 @@ if.then76: ; preds = %if.end74 %ttf_size81 = getelementptr inbounds %struct.nk_font_config, ptr %call, i64 0, i32 2 %21 = load i64, ptr %ttf_size81, align 8 %22 = load ptr, ptr %permanent, align 8 - %call83 = tail call ptr %20(ptr %22, ptr noundef null, i64 noundef %21) #63 + %call83 = tail call ptr %20(ptr %22, ptr noundef null, i64 noundef %21) #51 %ttf_blob84 = getelementptr inbounds %struct.nk_font_config, ptr %call, i64 0, i32 1 store ptr %call83, ptr %ttf_blob84, align 8 %tobool86.not = icmp eq ptr %call83, null @@ -30165,7 +30160,7 @@ return: ; preds = %return.sink.split, } ; Function Attrs: nounwind uwtable -define ptr @nk_font_atlas_add_from_memory(ptr noundef %atlas, ptr noundef %memory, i64 noundef %size, float noundef %height, ptr noundef readonly %config) local_unnamed_addr #31 { +define ptr @nk_font_atlas_add_from_memory(ptr noundef %atlas, ptr noundef %memory, i64 noundef %size, float noundef %height, ptr noundef readonly %config) local_unnamed_addr #23 { entry: %cfg = alloca %struct.nk_font_config, align 8 %tobool.not = icmp eq ptr %atlas, null @@ -30247,7 +30242,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define ptr @nk_font_atlas_add_from_file(ptr noundef %atlas, ptr noundef readonly %file_path, float noundef %height, ptr noundef readonly %config) local_unnamed_addr #31 { +define ptr @nk_font_atlas_add_from_file(ptr noundef %atlas, ptr noundef readonly %file_path, float noundef %height, ptr noundef readonly %config) local_unnamed_addr #23 { entry: %cfg = alloca %struct.nk_font_config, align 8 %tobool = icmp ne ptr %atlas, null @@ -30272,7 +30267,7 @@ if.end11.i: ; preds = %if.end6.i %alloc13.i = getelementptr inbounds %struct.nk_font_atlas, ptr %atlas, i64 0, i32 3, i32 1 %0 = load ptr, ptr %alloc13.i, align 8 %1 = load ptr, ptr %permanent, align 8 - %call14.i = tail call ptr %0(ptr %1, ptr noundef null, i64 noundef %call8.i) #63 + %call14.i = tail call ptr %0(ptr %1, ptr noundef null, i64 noundef %call8.i) #51 %tobool15.not.i = icmp eq ptr %call14.i, null br i1 %tobool15.not.i, label %nk_file_load.exit.thread16, label %if.end4 @@ -30330,7 +30325,7 @@ return: ; preds = %if.end, %nk_file_lo } ; Function Attrs: nounwind uwtable -define ptr @nk_font_atlas_add_compressed(ptr noundef %atlas, ptr noundef %compressed_data, i64 noundef %compressed_size, float noundef %height, ptr noundef readonly %config) local_unnamed_addr #31 { +define ptr @nk_font_atlas_add_compressed(ptr noundef %atlas, ptr noundef %compressed_data, i64 noundef %compressed_size, float noundef %height, ptr noundef readonly %config) local_unnamed_addr #23 { entry: %cfg = alloca %struct.nk_font_config, align 8 %tobool = icmp ne ptr %atlas, null @@ -30383,7 +30378,7 @@ if.end: ; preds = %lor.lhs.false10 %conv9.i = zext i8 %7 to i64 %add10.i = or disjoint i64 %add7.i, %conv9.i %8 = load ptr, ptr %permanent, align 8 - %call17 = tail call ptr %2(ptr %8, ptr noundef null, i64 noundef %add10.i) #63 + %call17 = tail call ptr %2(ptr %8, ptr noundef null, i64 noundef %add10.i) #51 %tobool18.not = icmp eq ptr %call17, null br i1 %tobool18.not, label %return, label %if.end20 @@ -30987,7 +30982,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: nounwind uwtable -define ptr @nk_font_atlas_add_compressed_base85(ptr noundef %atlas, ptr noundef readonly %data_base85, float noundef %height, ptr noundef %config) local_unnamed_addr #23 { +define ptr @nk_font_atlas_add_compressed_base85(ptr noundef %atlas, ptr noundef readonly %data_base85, float noundef %height, ptr noundef %config) local_unnamed_addr #18 { entry: %tobool = icmp ne ptr %atlas, null %tobool1 = icmp ne ptr %data_base85, null @@ -31043,7 +31038,7 @@ nk_strlen.exit.loopexit: ; preds = %while.body.i nk_strlen.exit: ; preds = %nk_strlen.exit.loopexit, %land.rhs.i.preheader %siz.05.i.lcssa = phi i64 [ 0, %land.rhs.i.preheader ], [ %9, %nk_strlen.exit.loopexit ] %10 = load ptr, ptr %temporary, align 8 - %call17 = tail call ptr %0(ptr %10, ptr noundef null, i64 noundef %siz.05.i.lcssa) #63 + %call17 = tail call ptr %0(ptr %10, ptr noundef null, i64 noundef %siz.05.i.lcssa) #51 %tobool18.not = icmp eq ptr %call17, null br i1 %tobool18.not, label %return, label %if.end20 @@ -31116,7 +31111,7 @@ nk_decode_85.exit: ; preds = %while.body.i16, %if %call22 = tail call ptr @nk_font_atlas_add_compressed(ptr noundef nonnull %atlas, ptr noundef nonnull %call17, i64 noundef %siz.05.i.lcssa, float noundef %height, ptr noundef %config) %18 = load ptr, ptr %free, align 8 %19 = load ptr, ptr %temporary, align 8 - tail call void %18(ptr %19, ptr noundef nonnull %call17) #63 + tail call void %18(ptr %19, ptr noundef nonnull %call17) #51 br label %return return: ; preds = %nk_strlen.exit, %entry, %lor.lhs.false2, %lor.lhs.false4, %lor.lhs.false7, %lor.lhs.false10, %nk_decode_85.exit @@ -31125,14 +31120,14 @@ return: ; preds = %nk_strlen.exit, %en } ; Function Attrs: nounwind uwtable -define ptr @nk_font_atlas_add_default(ptr noundef %atlas, float noundef %pixel_height, ptr noundef %config) local_unnamed_addr #23 { +define ptr @nk_font_atlas_add_default(ptr noundef %atlas, float noundef %pixel_height, ptr noundef %config) local_unnamed_addr #18 { entry: %call = tail call ptr @nk_font_atlas_add_compressed_base85(ptr noundef %atlas, ptr noundef nonnull @nk_proggy_clean_ttf_compressed_data_base85, float noundef %pixel_height, ptr noundef %config) ret ptr %call } ; Function Attrs: nounwind uwtable -define ptr @nk_font_atlas_bake(ptr noundef %atlas, ptr noundef %width, ptr noundef %height, i32 noundef %fmt) local_unnamed_addr #23 { +define ptr @nk_font_atlas_bake(ptr noundef %atlas, ptr noundef %width, ptr noundef %height, i32 noundef %fmt) local_unnamed_addr #18 { entry: %baked.i = alloca %struct.nk_baked_font, align 8 %img_size = alloca i64, align 8 @@ -31286,7 +31281,7 @@ nk_font_baker_memory.exit: ; preds = %if.end22, %for.end. %tmp_size.0 = phi i64 [ %add22.i, %for.end.i ], [ 0, %if.end22 ] %17 = load ptr, ptr %alloc, align 8 %18 = load ptr, ptr %temporary, align 8 - %call27 = tail call ptr %17(ptr %18, ptr noundef null, i64 noundef %tmp_size.0) #63 + %call27 = tail call ptr %17(ptr %18, ptr noundef null, i64 noundef %tmp_size.0) #51 %tobool28.not = icmp eq ptr %call27, null br i1 %tobool28.not, label %if.end172, label %if.end30 @@ -31371,7 +31366,7 @@ nk_memset.exit: ; preds = %while.cond.preheade %conv = sext i32 %33 to i64 %mul = mul nsw i64 %conv, 48 %34 = load ptr, ptr %permanent, align 8 - %call41 = tail call ptr %32(ptr %34, ptr noundef null, i64 noundef %mul) #63 + %call41 = tail call ptr %32(ptr %34, ptr noundef null, i64 noundef %mul) #51 %glyphs = getelementptr inbounds %struct.nk_font_atlas, ptr %atlas, i64 0, i32 8 store ptr %call41, ptr %glyphs, align 8 %tobool43.not = icmp eq ptr %call41, null @@ -31393,7 +31388,7 @@ if.end54: ; preds = %if.end45 %37 = load ptr, ptr %alloc, align 8 %38 = load i64, ptr %img_size, align 8 %39 = load ptr, ptr %temporary, align 8 - %call60 = call ptr %37(ptr %39, ptr noundef null, i64 noundef %38) #63 + %call60 = call ptr %37(ptr %39, ptr noundef null, i64 noundef %38) #51 store ptr %call60, ptr %atlas, align 8 %tobool62.not = icmp eq ptr %call60, null br i1 %tobool62.not, label %if.then166, label %if.end64 @@ -31422,7 +31417,7 @@ if.then73: ; preds = %if.end64 %mul79 = mul i32 %mul78, %52 %conv80 = sext i32 %mul79 to i64 %53 = load ptr, ptr %temporary, align 8 - %call82 = call ptr %50(ptr %53, ptr noundef null, i64 noundef %conv80) #63 + %call82 = call ptr %50(ptr %53, ptr noundef null, i64 noundef %conv80) #51 %tobool83.not = icmp eq ptr %call82, null br i1 %tobool83.not, label %if.then166, label %if.end85 @@ -31463,7 +31458,7 @@ nk_font_bake_convert.exit: ; preds = %nk_font_bake_conver %58 = phi ptr [ %.pre, %nk_font_bake_convert.exit.loopexit ], [ %56, %if.end85 ] %59 = load ptr, ptr %free, align 8 %60 = load ptr, ptr %temporary, align 8 - call void %59(ptr %60, ptr noundef %58) #63 + call void %59(ptr %60, ptr noundef %58) #51 store ptr %call82, ptr %atlas, align 8 br label %if.end94 @@ -31640,14 +31635,14 @@ for.body106: ; preds = %for.cond103.prehead for.end158: ; preds = %for.body106 %87 = load ptr, ptr %free, align 8 %88 = load ptr, ptr %temporary, align 8 - call void %87(ptr %88, ptr noundef nonnull %call27) #63 + call void %87(ptr %88, ptr noundef nonnull %call27) #51 %89 = load ptr, ptr %atlas, align 8 br label %return if.then166: ; preds = %nk_memset.exit, %if.end45, %if.end54, %if.then73 %90 = load ptr, ptr %free, align 8 %91 = load ptr, ptr %temporary, align 8 - call void %90(ptr %91, ptr noundef nonnull %call27) #63 + call void %90(ptr %91, ptr noundef nonnull %call27) #51 br label %if.end172 if.end172: ; preds = %nk_font_baker_memory.exit, %if.then166 @@ -31659,7 +31654,7 @@ if.end172: ; preds = %nk_font_baker_memor if.then175: ; preds = %if.end172 %93 = load ptr, ptr %free14, align 8 %94 = load ptr, ptr %permanent, align 8 - call void %93(ptr %94, ptr noundef nonnull %92) #63 + call void %93(ptr %94, ptr noundef nonnull %92) #51 store ptr null, ptr %glyphs173, align 8 br label %if.end183 @@ -31671,7 +31666,7 @@ if.end183: ; preds = %if.then175, %if.end if.then186: ; preds = %if.end183 %96 = load ptr, ptr %free, align 8 %97 = load ptr, ptr %temporary, align 8 - call void %96(ptr %97, ptr noundef nonnull %95) #63 + call void %96(ptr %97, ptr noundef nonnull %95) #51 store ptr null, ptr %atlas, align 8 br label %return @@ -31681,7 +31676,7 @@ return: ; preds = %if.end183, %if.then } ; Function Attrs: nounwind uwtable -define internal fastcc i32 @nk_font_bake_pack(ptr nocapture noundef %baker, ptr noundef writeonly %image_memory, ptr nocapture noundef %width, ptr nocapture noundef %height, ptr noundef %custom, ptr noundef readonly %config_list, i32 noundef %count, ptr noundef %alloc) unnamed_addr #23 { +define internal fastcc i32 @nk_font_bake_pack(ptr nocapture noundef %baker, ptr noundef writeonly %image_memory, ptr nocapture noundef %width, ptr nocapture noundef %height, ptr noundef %custom, ptr noundef readonly %config_list, i32 noundef %count, ptr noundef %alloc) unnamed_addr #18 { entry: %custom_space = alloca %struct.stbrp_rect, align 4 %tobool = icmp ne ptr %image_memory, null @@ -32062,7 +32057,7 @@ return: ; preds = %do.body15, %entry, } ; Function Attrs: nounwind uwtable -define internal fastcc void @nk_font_bake(ptr nocapture noundef %baker, ptr noundef %image_memory, i32 noundef %width, i32 noundef %height, ptr noundef writeonly %glyphs, i32 noundef %glyphs_count, ptr noundef readonly %config_list, i32 noundef %font_count) unnamed_addr #23 { +define internal fastcc void @nk_font_bake(ptr nocapture noundef %baker, ptr noundef %image_memory, i32 noundef %width, i32 noundef %height, ptr noundef writeonly %glyphs, i32 noundef %glyphs_count, ptr noundef readonly %config_list, i32 noundef %font_count) unnamed_addr #18 { entry: %tobool1 = icmp ne i32 %width, 0 %tobool3 = icmp ne i32 %height, 0 @@ -32192,14 +32187,14 @@ for.end: ; preds = %for.inc, %nk_zero.e %.val5.i = load ptr, ptr %13, align 8 %14 = getelementptr i8, ptr %13, i64 16 %.val6.i = load ptr, ptr %14, align 8 - tail call void %.val6.i(ptr %.val5.i, ptr noundef %12) #63 + tail call void %.val6.i(ptr %.val5.i, ptr noundef %12) #51 %pack_info.i = getelementptr inbounds %struct.nk_font_baker, ptr %baker, i64 0, i32 1, i32 1 %15 = load ptr, ptr %pack_info.i, align 8 %16 = load ptr, ptr %spc, align 8 %.val.i = load ptr, ptr %16, align 8 %17 = getelementptr i8, ptr %16, i64 16 %.val4.i = load ptr, ptr %17, align 8 - tail call void %.val4.i(ptr %.val.i, ptr noundef %15) #63 + tail call void %.val4.i(ptr %.val.i, ptr noundef %15) #51 br i1 %cmp128, label %do.body31.preheader.lr.ph, label %for.end140 do.body31.preheader.lr.ph: ; preds = %for.end @@ -32430,7 +32425,7 @@ for.end140: ; preds = %for.inc138, %for.en } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: write) uwtable -define internal fastcc void @nk_font_bake_custom_data(ptr noundef writeonly %img_memory, i32 noundef %img_width, i32 noundef %img_height, i64 %img_dst.coerce) unnamed_addr #19 { +define internal fastcc void @nk_font_bake_custom_data(ptr noundef writeonly %img_memory, i32 noundef %img_width, i32 noundef %img_height, i64 %img_dst.coerce) unnamed_addr #14 { entry: %tobool = icmp ne ptr %img_memory, null %tobool1 = icmp ne i32 %img_width, 0 @@ -32493,7 +32488,7 @@ entry: } ; Function Attrs: nounwind uwtable -define void @nk_font_atlas_end(ptr noundef %atlas, ptr %texture.coerce, ptr noundef writeonly %tex_null) local_unnamed_addr #31 { +define void @nk_font_atlas_end(ptr noundef %atlas, ptr %texture.coerce, ptr noundef writeonly %tex_null) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %atlas, null %tobool1.not = icmp eq ptr %tex_null, null @@ -32567,7 +32562,7 @@ for.end29: ; preds = %for.body26 %4 = load ptr, ptr %free, align 8 %5 = load ptr, ptr %atlas, align 8 %6 = load ptr, ptr %temporary, align 8 - tail call void %4(ptr %6, ptr noundef %5) #63 + tail call void %4(ptr %6, ptr noundef %5) #51 %custom35 = getelementptr inbounds %struct.nk_font_atlas, ptr %atlas, i64 0, i32 5 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %atlas, i8 0, i64 16, i1 false) store i64 0, ptr %custom35, align 8 @@ -32578,7 +32573,7 @@ return: ; preds = %if.then, %for.end29 } ; Function Attrs: nounwind uwtable -define void @nk_font_atlas_cleanup(ptr noundef readonly %atlas) local_unnamed_addr #23 { +define void @nk_font_atlas_cleanup(ptr noundef readonly %atlas) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %atlas, null br i1 %tobool.not, label %if.end25, label %lor.lhs.false @@ -32615,7 +32610,7 @@ for.body10: ; preds = %for.cond9.preheader %ttf_blob = getelementptr inbounds %struct.nk_font_config, ptr %i.020, i64 0, i32 1 %4 = load ptr, ptr %ttf_blob, align 8 %5 = load ptr, ptr %permanent, align 8 - tail call void %3(ptr %5, ptr noundef %4) #63 + tail call void %3(ptr %5, ptr noundef %4) #51 store ptr null, ptr %ttf_blob, align 8 %i.0.in = getelementptr inbounds %struct.nk_font_config, ptr %i.020, i64 0, i32 15 %i.0 = load ptr, ptr %i.0.in, align 8 @@ -32627,7 +32622,7 @@ for.end: ; preds = %for.body10, %for.co %ttf_blob20 = getelementptr inbounds %struct.nk_font_config, ptr %iter.021, i64 0, i32 1 %7 = load ptr, ptr %ttf_blob20, align 8 %8 = load ptr, ptr %permanent, align 8 - tail call void %6(ptr %8, ptr noundef %7) #63 + tail call void %6(ptr %8, ptr noundef %7) #51 store ptr null, ptr %ttf_blob20, align 8 %9 = load ptr, ptr %iter.021, align 8 %tobool8.not = icmp eq ptr %9, null @@ -32638,7 +32633,7 @@ if.end25: ; preds = %for.end, %entry, %l } ; Function Attrs: nounwind uwtable -define void @nk_font_atlas_clear(ptr noundef %atlas) local_unnamed_addr #23 { +define void @nk_font_atlas_clear(ptr noundef %atlas) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %atlas, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -32681,14 +32676,14 @@ for.body11: ; preds = %for.body, %if.end19 if.then14: ; preds = %for.body11 %6 = load ptr, ptr %permanent, align 8 - tail call void %.pre48(ptr %6, ptr noundef nonnull %5) #63 + tail call void %.pre48(ptr %6, ptr noundef nonnull %5) #51 %.pre = load ptr, ptr %free, align 8 br label %if.end19 if.end19: ; preds = %if.then14, %for.body11 %7 = phi ptr [ %.pre, %if.then14 ], [ %.pre48, %for.body11 ] %8 = load ptr, ptr %permanent, align 8 - tail call void %7(ptr %8, ptr noundef nonnull %i.045) #63 + tail call void %7(ptr %8, ptr noundef nonnull %i.045) #51 %cmp.not = icmp eq ptr %4, %iter.046 br i1 %cmp.not, label %for.end, label %for.body11, !llvm.loop !184 @@ -32702,14 +32697,14 @@ for.end: ; preds = %if.end19, %for.body if.then28: ; preds = %for.end %11 = load ptr, ptr %permanent, align 8 - tail call void %.pre50(ptr %11, ptr noundef nonnull %10) #63 + tail call void %.pre50(ptr %11, ptr noundef nonnull %10) #51 %.pre49 = load ptr, ptr %free, align 8 br label %if.end35 if.end35: ; preds = %if.then28, %for.end %12 = phi ptr [ %.pre49, %if.then28 ], [ %.pre50, %for.end ] %13 = load ptr, ptr %permanent, align 8 - tail call void %12(ptr %13, ptr noundef nonnull %iter.046) #63 + tail call void %12(ptr %13, ptr noundef nonnull %iter.046) #51 %tobool8.not = icmp eq ptr %9, null br i1 %tobool8.not, label %for.end42, label %for.body, !llvm.loop !185 @@ -32728,7 +32723,7 @@ for.body52: ; preds = %if.end44, %for.body %15 = load ptr, ptr %iter47.047, align 8 %16 = load ptr, ptr %free, align 8 %17 = load ptr, ptr %permanent, align 8 - tail call void %16(ptr %17, ptr noundef nonnull %iter47.047) #63 + tail call void %16(ptr %17, ptr noundef nonnull %iter47.047) #51 %tobool51.not = icmp eq ptr %15, null br i1 %tobool51.not, label %for.end60, label %for.body52, !llvm.loop !186 @@ -32745,7 +32740,7 @@ if.end62: ; preds = %for.end60, %if.end4 if.then64: ; preds = %if.end62 %19 = load ptr, ptr %free, align 8 %20 = load ptr, ptr %permanent, align 8 - tail call void %19(ptr %20, ptr noundef nonnull %18) #63 + tail call void %19(ptr %20, ptr noundef nonnull %18) #51 br label %if.end71 if.end71: ; preds = %if.then64, %if.end62 @@ -32772,7 +32767,7 @@ return: ; preds = %if.end19.i.i, %if.e } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @nk_input_begin(ptr noundef %ctx) local_unnamed_addr #40 { +define void @nk_input_begin(ptr noundef %ctx) local_unnamed_addr #31 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %for.end24, label %for.cond.preheader @@ -32815,7 +32810,7 @@ for.end24: ; preds = %for.body17, %entry } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @nk_input_end(ptr noundef %ctx) local_unnamed_addr #29 { +define void @nk_input_end(ptr noundef %ctx) local_unnamed_addr #22 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %if.end14, label %if.end @@ -32848,7 +32843,7 @@ if.end14: ; preds = %entry, %if.then8, % } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @nk_input_motion(ptr noundef %ctx, i32 noundef %x, i32 noundef %y) local_unnamed_addr #29 { +define void @nk_input_motion(ptr noundef %ctx, i32 noundef %x, i32 noundef %y) local_unnamed_addr #22 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -32871,7 +32866,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @nk_input_key(ptr noundef %ctx, i32 noundef %key, i32 noundef %down) local_unnamed_addr #29 { +define void @nk_input_key(ptr noundef %ctx, i32 noundef %key, i32 noundef %down) local_unnamed_addr #22 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -32891,7 +32886,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @nk_input_button(ptr noundef %ctx, i32 noundef %id, i32 noundef %x, i32 noundef %y, i32 noundef %down) local_unnamed_addr #29 { +define void @nk_input_button(ptr noundef %ctx, i32 noundef %id, i32 noundef %x, i32 noundef %y, i32 noundef %down) local_unnamed_addr #22 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -32924,7 +32919,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @nk_input_scroll(ptr noundef %ctx, <2 x float> %val.coerce) local_unnamed_addr #41 { +define void @nk_input_scroll(ptr noundef %ctx, <2 x float> %val.coerce) local_unnamed_addr #32 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -32940,8 +32935,8 @@ return: ; preds = %entry, %if.end ret void } -; Function Attrs: nofree nosync nounwind memory(argmem: readwrite) uwtable -define void @nk_input_glyph(ptr noundef %ctx, ptr noundef readonly %glyph) local_unnamed_addr #42 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @nk_input_glyph(ptr noundef %ctx, ptr noundef readonly %glyph) local_unnamed_addr #13 { entry: %tobool.not = icmp eq ptr %ctx, null %tobool.i = icmp eq ptr %glyph, null @@ -33149,8 +33144,8 @@ if.end12: ; preds = %for.end.i, %entry, ret void } -; Function Attrs: nofree nosync nounwind memory(argmem: readwrite) uwtable -define void @nk_input_char(ptr noundef %ctx, i8 noundef signext %c) local_unnamed_addr #42 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @nk_input_char(ptr noundef %ctx, i8 noundef signext %c) local_unnamed_addr #13 { entry: %glyph = alloca [4 x i8], align 1 %tobool.not = icmp eq ptr %ctx, null @@ -33165,8 +33160,8 @@ return: ; preds = %entry, %if.end ret void } -; Function Attrs: nofree nosync nounwind memory(argmem: readwrite) uwtable -define void @nk_input_unicode(ptr noundef %ctx, i32 noundef %unicode) local_unnamed_addr #42 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @nk_input_unicode(ptr noundef %ctx, i32 noundef %unicode) local_unnamed_addr #13 { entry: %rune = alloca [4 x i8], align 1 %tobool.not = icmp eq ptr %ctx, null @@ -33244,7 +33239,7 @@ return: ; preds = %entry, %nk_utf_enco } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_input_has_mouse_click(ptr noundef readonly %i, i32 noundef %id) local_unnamed_addr #14 { +define i32 @nk_input_has_mouse_click(ptr noundef readonly %i, i32 noundef %id) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %i, null br i1 %tobool.not, label %return, label %if.end @@ -33480,7 +33475,7 @@ return: ; preds = %if.end.i.i, %nk_inp } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable -define i32 @nk_input_any_mouse_click_in_rect(ptr noundef readonly %in, <2 x float> %b.coerce0, <2 x float> %b.coerce1) local_unnamed_addr #43 { +define i32 @nk_input_any_mouse_click_in_rect(ptr noundef readonly %in, <2 x float> %b.coerce0, <2 x float> %b.coerce1) local_unnamed_addr #33 { entry: %tobool.not.i = icmp eq ptr %in, null %mouse.i.i.i = getelementptr inbounds %struct.nk_input, ptr %in, i64 0, i32 1 @@ -33675,7 +33670,7 @@ return: ; preds = %land.rhs.i, %if.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_input_is_mouse_down(ptr noundef readonly %i, i32 noundef %id) local_unnamed_addr #14 { +define i32 @nk_input_is_mouse_down(ptr noundef readonly %i, i32 noundef %id) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %i, null br i1 %tobool.not, label %return, label %if.end @@ -33693,7 +33688,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_input_is_mouse_pressed(ptr noundef readonly %i, i32 noundef %id) local_unnamed_addr #14 { +define i32 @nk_input_is_mouse_pressed(ptr noundef readonly %i, i32 noundef %id) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %i, null br i1 %tobool.not, label %return, label %if.end @@ -33721,7 +33716,7 @@ return: ; preds = %land.lhs.true, %ent } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_input_is_mouse_released(ptr noundef readonly %i, i32 noundef %id) local_unnamed_addr #14 { +define i32 @nk_input_is_mouse_released(ptr noundef readonly %i, i32 noundef %id) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %i, null br i1 %tobool.not, label %return, label %if.end @@ -33747,7 +33742,7 @@ return: ; preds = %if.end, %land.rhs, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_input_is_key_pressed(ptr noundef readonly %i, i32 noundef %key) local_unnamed_addr #14 { +define i32 @nk_input_is_key_pressed(ptr noundef readonly %i, i32 noundef %key) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %i, null br i1 %tobool.not, label %return, label %if.end @@ -33778,7 +33773,7 @@ return: ; preds = %land.lhs.true, %lan } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_input_is_key_released(ptr noundef readonly %i, i32 noundef %key) local_unnamed_addr #14 { +define i32 @nk_input_is_key_released(ptr noundef readonly %i, i32 noundef %key) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %i, null br i1 %tobool.not, label %return, label %if.end @@ -33809,7 +33804,7 @@ return: ; preds = %land.lhs.true, %lan } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_input_is_key_down(ptr noundef readonly %i, i32 noundef %key) local_unnamed_addr #14 { +define i32 @nk_input_is_key_down(ptr noundef readonly %i, i32 noundef %key) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %i, null br i1 %tobool.not, label %return, label %if.end @@ -33827,15 +33822,15 @@ return: ; preds = %if.end, %entry ret i32 %retval.0 } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_style_default(ptr noundef %ctx) local_unnamed_addr #44 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_style_default(ptr noundef %ctx) local_unnamed_addr #25 { entry: tail call void @nk_style_from_table(ptr noundef %ctx, ptr noundef null) ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @nk_style_from_table(ptr noundef %ctx, ptr noundef readonly %table) local_unnamed_addr #45 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define void @nk_style_from_table(ptr noundef %ctx, ptr noundef readonly %table) local_unnamed_addr #34 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -35423,7 +35418,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_style_item_color(ptr noalias nocapture writeonly sret(%struct.nk_style_item) align 8 %agg.result, i32 %col.coerce) local_unnamed_addr #12 { +define void @nk_style_item_color(ptr noalias nocapture writeonly sret(%struct.nk_style_item) align 8 %agg.result, i32 %col.coerce) local_unnamed_addr #10 { entry: store i32 0, ptr %agg.result, align 8 %data = getelementptr inbounds %struct.nk_style_item, ptr %agg.result, i64 0, i32 1 @@ -35431,8 +35426,8 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @nk_style_item_image(ptr noalias nocapture writeonly sret(%struct.nk_style_item) align 8 %agg.result, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img) local_unnamed_addr #28 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define void @nk_style_item_image(ptr noalias nocapture writeonly sret(%struct.nk_style_item) align 8 %agg.result, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img) local_unnamed_addr #22 { entry: store i32 1, ptr %agg.result, align 8 %data = getelementptr inbounds %struct.nk_style_item, ptr %agg.result, i64 0, i32 1 @@ -35440,8 +35435,8 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @nk_style_item_nine_slice(ptr noalias nocapture writeonly sret(%struct.nk_style_item) align 8 %agg.result, ptr nocapture noundef readonly byval(%struct.nk_nine_slice) align 8 %slice) local_unnamed_addr #28 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define void @nk_style_item_nine_slice(ptr noalias nocapture writeonly sret(%struct.nk_style_item) align 8 %agg.result, ptr nocapture noundef readonly byval(%struct.nk_nine_slice) align 8 %slice) local_unnamed_addr #22 { entry: store i32 2, ptr %agg.result, align 8 %data = getelementptr inbounds %struct.nk_style_item, ptr %agg.result, i64 0, i32 1 @@ -35450,7 +35445,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_style_item_hide(ptr noalias nocapture writeonly sret(%struct.nk_style_item) align 8 %agg.result) local_unnamed_addr #12 { +define void @nk_style_item_hide(ptr noalias nocapture writeonly sret(%struct.nk_style_item) align 8 %agg.result) local_unnamed_addr #10 { entry: store i32 0, ptr %agg.result, align 8 %data = getelementptr inbounds %struct.nk_style_item, ptr %agg.result, i64 0, i32 1 @@ -35458,8 +35453,8 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_style_set_font(ptr noundef %ctx, ptr noundef %font) local_unnamed_addr #44 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_style_set_font(ptr noundef %ctx, ptr noundef %font) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %if.end5, label %if.end @@ -35499,8 +35494,8 @@ if.end5: ; preds = %if.end.i, %lor.lhs. ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_layout_reset_min_row_height(ptr noundef readonly %ctx) local_unnamed_addr #44 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_layout_reset_min_row_height(ptr noundef readonly %ctx) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -35539,7 +35534,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define i32 @nk_style_push_font(ptr noundef %ctx, ptr noundef %font) local_unnamed_addr #29 { +define i32 @nk_style_push_font(ptr noundef %ctx, ptr noundef %font) local_unnamed_addr #22 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -35569,7 +35564,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define i32 @nk_style_pop_font(ptr noundef %ctx) local_unnamed_addr #27 { +define i32 @nk_style_pop_font(ptr noundef %ctx) local_unnamed_addr #21 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -35596,8 +35591,8 @@ return: ; preds = %if.end, %entry, %if ret i32 %retval.0 } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: readwrite) uwtable -define i32 @nk_style_push_style_item(ptr noundef %ctx, ptr noundef %address, ptr nocapture noundef readonly byval(%struct.nk_style_item) align 8 %value) local_unnamed_addr #28 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define i32 @nk_style_push_style_item(ptr noundef %ctx, ptr noundef %address, ptr nocapture noundef readonly byval(%struct.nk_style_item) align 8 %value) local_unnamed_addr #22 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -35625,7 +35620,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define i32 @nk_style_push_float(ptr noundef %ctx, ptr noundef %address, float noundef %value) local_unnamed_addr #29 { +define i32 @nk_style_push_float(ptr noundef %ctx, ptr noundef %address, float noundef %value) local_unnamed_addr #22 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -35654,7 +35649,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define i32 @nk_style_push_vec2(ptr noundef %ctx, ptr noundef %address, <2 x float> %value.coerce) local_unnamed_addr #41 { +define i32 @nk_style_push_vec2(ptr noundef %ctx, ptr noundef %address, <2 x float> %value.coerce) local_unnamed_addr #32 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -35683,7 +35678,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define i32 @nk_style_push_flags(ptr noundef %ctx, ptr noundef %address, i32 noundef %value) local_unnamed_addr #29 { +define i32 @nk_style_push_flags(ptr noundef %ctx, ptr noundef %address, i32 noundef %value) local_unnamed_addr #22 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -35712,7 +35707,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define i32 @nk_style_push_color(ptr noundef %ctx, ptr noundef %address, i32 %value.coerce) local_unnamed_addr #29 { +define i32 @nk_style_push_color(ptr noundef %ctx, ptr noundef %address, i32 %value.coerce) local_unnamed_addr #22 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -35740,8 +35735,8 @@ return: ; preds = %if.end, %entry, %if ret i32 %retval.0 } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define i32 @nk_style_pop_style_item(ptr noundef %ctx) local_unnamed_addr #44 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable +define i32 @nk_style_pop_style_item(ptr noundef %ctx) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -35768,7 +35763,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define i32 @nk_style_pop_float(ptr noundef %ctx) local_unnamed_addr #27 { +define i32 @nk_style_pop_float(ptr noundef %ctx) local_unnamed_addr #21 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -35796,7 +35791,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define i32 @nk_style_pop_vec2(ptr noundef %ctx) local_unnamed_addr #27 { +define i32 @nk_style_pop_vec2(ptr noundef %ctx) local_unnamed_addr #21 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -35824,7 +35819,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define i32 @nk_style_pop_flags(ptr noundef %ctx) local_unnamed_addr #27 { +define i32 @nk_style_pop_flags(ptr noundef %ctx) local_unnamed_addr #21 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -35852,7 +35847,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define i32 @nk_style_pop_color(ptr noundef %ctx) local_unnamed_addr #27 { +define i32 @nk_style_pop_color(ptr noundef %ctx) local_unnamed_addr #21 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -35880,7 +35875,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define i32 @nk_style_set_cursor(ptr noundef %ctx, i32 noundef %c) local_unnamed_addr #29 { +define i32 @nk_style_set_cursor(ptr noundef %ctx, i32 noundef %c) local_unnamed_addr #22 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -35903,7 +35898,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_style_show_cursor(ptr nocapture noundef writeonly %ctx) local_unnamed_addr #12 { +define void @nk_style_show_cursor(ptr nocapture noundef writeonly %ctx) local_unnamed_addr #10 { entry: %cursor_visible = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 4 store i32 1, ptr %cursor_visible, align 8 @@ -35911,7 +35906,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_style_hide_cursor(ptr nocapture noundef writeonly %ctx) local_unnamed_addr #12 { +define void @nk_style_hide_cursor(ptr nocapture noundef writeonly %ctx) local_unnamed_addr #10 { entry: %cursor_visible = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 4 store i32 0, ptr %cursor_visible, align 8 @@ -35919,7 +35914,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_style_load_cursor(ptr noundef writeonly %ctx, i32 noundef %cursor, ptr noundef %c) local_unnamed_addr #12 { +define void @nk_style_load_cursor(ptr noundef writeonly %ctx, i32 noundef %cursor, ptr noundef %c) local_unnamed_addr #10 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -35935,7 +35930,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: write) uwtable -define void @nk_style_load_all_cursors(ptr noundef writeonly %ctx, ptr noundef %cursors) local_unnamed_addr #19 { +define void @nk_style_load_all_cursors(ptr noundef writeonly %ctx, ptr noundef %cursors) local_unnamed_addr #14 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %for.body @@ -35959,7 +35954,7 @@ return: ; preds = %entry, %for.end } ; Function Attrs: nounwind uwtable -define i32 @nk_init_default(ptr noundef %ctx, ptr noundef %font) local_unnamed_addr #23 { +define i32 @nk_init_default(ptr noundef %ctx, ptr noundef %font) local_unnamed_addr #18 { entry: %alloc = alloca %struct.nk_allocator, align 8 store ptr null, ptr %alloc, align 8 @@ -35972,7 +35967,7 @@ entry: } ; Function Attrs: nounwind uwtable -define i32 @nk_init(ptr noundef %ctx, ptr noundef readonly %alloc, ptr noundef %font) local_unnamed_addr #23 { +define i32 @nk_init(ptr noundef %ctx, ptr noundef readonly %alloc, ptr noundef %font) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %alloc, null br i1 %tobool.not, label %return, label %if.end @@ -36084,7 +36079,7 @@ nk_buffer_init.exit: ; preds = %if.end19.i.i.thread %alloc.i = getelementptr inbounds %struct.nk_allocator, ptr %alloc, i64 0, i32 1 %14 = load ptr, ptr %alloc.i, align 8 %15 = load ptr, ptr %alloc, align 8 - %call.i = tail call ptr %14(ptr %15, ptr noundef null, i64 noundef 4096) #63 + %call.i = tail call ptr %14(ptr %15, ptr noundef null, i64 noundef 4096) #51 %memory.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 2, i32 3 store ptr %call.i, ptr %memory.i, align 8 %size.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 2, i32 3, i32 1 @@ -36131,8 +36126,8 @@ return: ; preds = %entry, %nk_pool_ini ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define i32 @nk_init_fixed(ptr noundef %ctx, ptr noundef %memory, i64 noundef %size, ptr noundef %font) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define i32 @nk_init_fixed(ptr noundef %ctx, ptr noundef %memory, i64 noundef %size, ptr noundef %font) local_unnamed_addr #19 { entry: %tobool.not = icmp eq ptr %memory, null br i1 %tobool.not, label %return, label %if.end @@ -36263,8 +36258,8 @@ return: ; preds = %entry, %nk_buffer_i ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define i32 @nk_init_custom(ptr noundef %ctx, ptr noundef readonly %cmds, ptr noundef readonly %pool, ptr noundef %font) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define i32 @nk_init_custom(ptr noundef %ctx, ptr noundef readonly %cmds, ptr noundef readonly %pool, ptr noundef %font) local_unnamed_addr #19 { entry: %tobool = icmp ne ptr %cmds, null %tobool1 = icmp ne ptr %pool, null @@ -36445,7 +36440,7 @@ return: ; preds = %entry, %if.end8 } ; Function Attrs: nounwind uwtable -define void @nk_free(ptr noundef %ctx) local_unnamed_addr #23 { +define void @nk_free(ptr noundef %ctx) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -36472,7 +36467,7 @@ if.end3.i: ; preds = %if.end.i if.end6.i: ; preds = %if.end3.i %pool.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 2, i32 1 %3 = load ptr, ptr %pool.i, align 8 - tail call void %2(ptr %3, ptr noundef nonnull %0) #63 + tail call void %2(ptr %3, ptr noundef nonnull %0) #51 br label %nk_buffer_free.exit nk_buffer_free.exit: ; preds = %if.end, %if.end.i, %if.end3.i, %if.end6.i @@ -36502,7 +36497,7 @@ while.body.i: ; preds = %while.body.i, %whil %7 = load ptr, ptr %next4.i, align 8 %8 = load ptr, ptr %free.i18, align 8 %9 = load ptr, ptr %pool, align 8 - tail call void %8(ptr %9, ptr noundef nonnull %iter.0.i) #63 + tail call void %8(ptr %9, ptr noundef nonnull %iter.0.i) #51 %tobool3.old.not.i = icmp eq ptr %7, null br i1 %tobool3.old.not.i, label %if.end3, label %while.body.i @@ -36576,7 +36571,7 @@ return: ; preds = %entry, %nk_zero.exi } ; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_clear(ptr noundef %ctx) local_unnamed_addr #30 { +define void @nk_clear(ptr noundef %ctx) local_unnamed_addr #35 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -36973,7 +36968,7 @@ return: ; preds = %entry, %while.end80 } ; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @nk_free_window(ptr nocapture noundef %ctx, ptr noundef %win) unnamed_addr #30 { +define internal fastcc void @nk_free_window(ptr nocapture noundef %ctx, ptr noundef %win) unnamed_addr #35 { entry: %tables = getelementptr inbounds %struct.nk_window, ptr %win, i64 0, i32 14 %0 = load ptr, ptr %tables, align 8 @@ -37149,8 +37144,8 @@ nk_free_page_element.exit: ; preds = %nk_link_page_elemen ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @nk_remove_window(ptr nocapture noundef %ctx, ptr noundef %win) unnamed_addr #44 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable +define internal fastcc void @nk_remove_window(ptr nocapture noundef %ctx, ptr noundef %win) unnamed_addr #25 { entry: %begin = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 14 %0 = load ptr, ptr %begin, align 8 @@ -37249,14 +37244,14 @@ if.end49: ; preds = %if.end36, %if.then4 } ; Function Attrs: nounwind uwtable -define i32 @nk_begin(ptr noundef %ctx, ptr noundef %title, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1, i32 noundef %flags) local_unnamed_addr #31 { +define i32 @nk_begin(ptr noundef %ctx, ptr noundef %title, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1, i32 noundef %flags) local_unnamed_addr #23 { entry: %call = tail call i32 @nk_begin_titled(ptr noundef %ctx, ptr noundef %title, ptr noundef %title, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1, i32 noundef %flags), !range !14 ret i32 %call } ; Function Attrs: nounwind uwtable -define i32 @nk_begin_titled(ptr noundef %ctx, ptr noundef %name, ptr noundef %title, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1, i32 noundef %flags) local_unnamed_addr #31 { +define i32 @nk_begin_titled(ptr noundef %ctx, ptr noundef %name, ptr noundef %title, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1, i32 noundef %flags) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -38013,8 +38008,8 @@ return: ; preds = %if.then10, %entry, ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @nk_insert_window(ptr nocapture noundef %ctx, ptr noundef %win, i32 noundef %loc) unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define internal fastcc void @nk_insert_window(ptr nocapture noundef %ctx, ptr noundef %win, i32 noundef %loc) unnamed_addr #19 { entry: %begin = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 14 %iter.033 = load ptr, ptr %begin, align 8 @@ -38095,7 +38090,7 @@ return: ; preds = %while.body, %if.end } ; Function Attrs: nounwind uwtable -define internal fastcc i32 @nk_panel_begin(ptr noundef %ctx, ptr noundef %title, i32 noundef %panel_type) unnamed_addr #31 { +define internal fastcc i32 @nk_panel_begin(ptr noundef %ctx, ptr noundef %title, i32 noundef %panel_type) unnamed_addr #23 { entry: %ws = alloca i32, align 4 %ws336 = alloca i32, align 4 @@ -38758,7 +38753,7 @@ nk_strlen.exit: ; preds = %while.body.i, %if.e %110 = load ptr, ptr %width, align 8 %111 = load float, ptr %height180, align 8 %112 = load ptr, ptr %10, align 8 - %call428 = call float %110(ptr %112, float noundef %111, ptr noundef nonnull %title, i32 noundef %siz.05.i.lcssa) #63 + %call428 = call float %110(ptr %112, float noundef %111, ptr noundef nonnull %title, i32 noundef %siz.05.i.lcssa) #51 %113 = load float, ptr %padding183, align 4 %114 = load float, ptr %label_padding188, align 4 %115 = load float, ptr %y189, align 4 @@ -38772,7 +38767,7 @@ nk_strlen.exit: ; preds = %while.body.i, %if.e %mul.b.sroa.14.12.vec.extract.i = select i1 %cmp.i381, float 0.000000e+00, float %117 %121 = load ptr, ptr %width, align 8 %122 = load ptr, ptr %10, align 8 - %call.i = call float %121(ptr %122, float noundef %116, ptr noundef nonnull %title, i32 noundef %siz.05.i.lcssa) #63 + %call.i = call float %121(ptr %122, float noundef %116, ptr noundef nonnull %title, i32 noundef %siz.05.i.lcssa) #51 %div164.i = fmul float %mul.b.sroa.14.12.vec.extract.i, 5.000000e-01 %123 = load float, ptr %height180, align 8 %div167.i = fmul float %123, 5.000000e-01 @@ -38921,7 +38916,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define void @nk_end(ptr noundef %ctx) local_unnamed_addr #31 { +define void @nk_end(ptr noundef %ctx) local_unnamed_addr #23 { entry: %scroll.i.i = alloca %struct.nk_rect, align 8 %cursor.i.i = alloca %struct.nk_rect, align 8 @@ -39535,7 +39530,7 @@ if.end52.i.i: ; preds = %if.then19.i.i, %if. if.then148.i.i: ; preds = %if.end52.i.i %userdata.i.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 17, i32 20 %117 = load ptr, ptr %userdata.i.i, align 8 - call void %116(ptr noundef nonnull %buffer.i26, ptr %117) #63 + call void %116(ptr noundef nonnull %buffer.i26, ptr %117) #51 br label %if.end150.i.i if.end150.i.i: ; preds = %if.then148.i.i, %if.end52.i.i @@ -39549,7 +39544,7 @@ if.end150.i.i: ; preds = %if.then148.i.i, %if if.then152.i.i: ; preds = %if.end150.i.i %userdata154.i.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 17, i32 20 %120 = load ptr, ptr %userdata154.i.i, align 8 - call void %119(ptr noundef nonnull %buffer.i26, ptr %120) #63 + call void %119(ptr noundef nonnull %buffer.i26, ptr %120) #51 br label %nk_do_scrollbarh.exit.i nk_do_scrollbarh.exit.i: ; preds = %if.then152.i.i, %if.end150.i.i, %if.end249.i @@ -40256,7 +40251,7 @@ return: ; preds = %return.sink.split, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define { <2 x float>, <2 x float> } @nk_window_get_bounds(ptr noundef readonly %ctx) local_unnamed_addr #46 { +define { <2 x float>, <2 x float> } @nk_window_get_bounds(ptr noundef readonly %ctx) local_unnamed_addr #36 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -40283,7 +40278,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define <2 x float> @nk_window_get_position(ptr noundef readonly %ctx) local_unnamed_addr #46 { +define <2 x float> @nk_window_get_position(ptr noundef readonly %ctx) local_unnamed_addr #36 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -40305,7 +40300,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define <2 x float> @nk_window_get_size(ptr noundef readonly %ctx) local_unnamed_addr #46 { +define <2 x float> @nk_window_get_size(ptr noundef readonly %ctx) local_unnamed_addr #36 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -40327,7 +40322,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define float @nk_window_get_width(ptr noundef readonly %ctx) local_unnamed_addr #37 { +define float @nk_window_get_width(ptr noundef readonly %ctx) local_unnamed_addr #28 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -40349,7 +40344,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define float @nk_window_get_height(ptr noundef readonly %ctx) local_unnamed_addr #37 { +define float @nk_window_get_height(ptr noundef readonly %ctx) local_unnamed_addr #28 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -40371,7 +40366,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define { <2 x float>, <2 x float> } @nk_window_get_content_region(ptr noundef readonly %ctx) local_unnamed_addr #46 { +define { <2 x float>, <2 x float> } @nk_window_get_content_region(ptr noundef readonly %ctx) local_unnamed_addr #36 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -40400,7 +40395,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define <2 x float> @nk_window_get_content_region_min(ptr noundef readonly %ctx) local_unnamed_addr #46 { +define <2 x float> @nk_window_get_content_region_min(ptr noundef readonly %ctx) local_unnamed_addr #36 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -40424,7 +40419,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define <2 x float> @nk_window_get_content_region_max(ptr noundef readonly %ctx) local_unnamed_addr #46 { +define <2 x float> @nk_window_get_content_region_max(ptr noundef readonly %ctx) local_unnamed_addr #36 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -40451,7 +40446,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define <2 x float> @nk_window_get_content_region_size(ptr noundef readonly %ctx) local_unnamed_addr #46 { +define <2 x float> @nk_window_get_content_region_size(ptr noundef readonly %ctx) local_unnamed_addr #36 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -40475,7 +40470,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define ptr @nk_window_get_canvas(ptr noundef readonly %ctx) local_unnamed_addr #14 { +define ptr @nk_window_get_canvas(ptr noundef readonly %ctx) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -40494,7 +40489,7 @@ return: ; preds = %lor.lhs.false, %ent } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define ptr @nk_window_get_panel(ptr noundef readonly %ctx) local_unnamed_addr #37 { +define ptr @nk_window_get_panel(ptr noundef readonly %ctx) local_unnamed_addr #28 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -40516,7 +40511,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @nk_window_get_scroll(ptr noundef readonly %ctx, ptr noundef writeonly %offset_x, ptr noundef writeonly %offset_y) local_unnamed_addr #26 { +define void @nk_window_get_scroll(ptr noundef readonly %ctx, ptr noundef writeonly %offset_x, ptr noundef writeonly %offset_y) local_unnamed_addr #20 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %if.end9, label %lor.lhs.false @@ -40552,7 +40547,7 @@ if.end9: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_window_has_focus(ptr noundef readonly %ctx) local_unnamed_addr #14 { +define i32 @nk_window_has_focus(ptr noundef readonly %ctx) local_unnamed_addr #11 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -40576,7 +40571,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define i32 @nk_window_is_hovered(ptr noundef readonly %ctx) local_unnamed_addr #46 { +define i32 @nk_window_is_hovered(ptr noundef readonly %ctx) local_unnamed_addr #36 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -40646,8 +40641,8 @@ return: ; preds = %land.rhs11.i, %land ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @nk_window_is_any_hovered(ptr noundef readonly %ctx) local_unnamed_addr #47 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +define i32 @nk_window_is_any_hovered(ptr noundef readonly %ctx) local_unnamed_addr #37 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -40766,8 +40761,8 @@ return: ; preds = %if.end32, %land.rhs ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @nk_item_is_any_active(ptr noundef readonly %ctx) local_unnamed_addr #47 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +define i32 @nk_item_is_any_active(ptr noundef readonly %ctx) local_unnamed_addr #37 { entry: %tobool.not.i = icmp eq ptr %ctx, null br i1 %tobool.not.i, label %nk_window_is_any_hovered.exit, label %if.end.i @@ -40896,8 +40891,8 @@ nk_window_is_any_hovered.exit: ; preds = %land.rhs.i.i, %land ret i32 %lor.ext } -; Function Attrs: nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @nk_window_is_collapsed(ptr noundef readonly %ctx, ptr noundef readonly %name) local_unnamed_addr #9 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +define i32 @nk_window_is_collapsed(ptr noundef readonly %ctx, ptr noundef readonly %name) local_unnamed_addr #6 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -41012,8 +41007,8 @@ return: ; preds = %if.end7.i, %nk_strl ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @nk_window_is_closed(ptr noundef readonly %ctx, ptr noundef readonly %name) local_unnamed_addr #9 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +define i32 @nk_window_is_closed(ptr noundef readonly %ctx, ptr noundef readonly %name) local_unnamed_addr #6 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -41128,8 +41123,8 @@ return: ; preds = %if.end7.i, %nk_strl ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @nk_window_is_hidden(ptr noundef readonly %ctx, ptr noundef readonly %name) local_unnamed_addr #9 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +define i32 @nk_window_is_hidden(ptr noundef readonly %ctx, ptr noundef readonly %name) local_unnamed_addr #6 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -41244,8 +41239,8 @@ return: ; preds = %if.end7.i, %nk_strl ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @nk_window_is_active(ptr noundef readonly %ctx, ptr noundef readonly %name) local_unnamed_addr #9 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +define i32 @nk_window_is_active(ptr noundef readonly %ctx, ptr noundef readonly %name) local_unnamed_addr #6 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -41361,8 +41356,8 @@ return: ; preds = %if.end7.i, %nk_strl ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable -define ptr @nk_window_find(ptr nocapture noundef readonly %ctx, ptr noundef readonly %name) local_unnamed_addr #9 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +define ptr @nk_window_find(ptr nocapture noundef readonly %ctx, ptr noundef readonly %name) local_unnamed_addr #6 { entry: %tobool.not3.i = icmp eq ptr %name, null br i1 %tobool.not3.i, label %nk_strlen.exit, label %land.rhs.i.preheader @@ -41467,8 +41462,8 @@ nk_find_window.exit: ; preds = %if.end7.i, %do.body ret ptr %iter.012.i } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_window_close(ptr noundef readonly %ctx, ptr noundef readonly %name) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_window_close(ptr noundef readonly %ctx, ptr noundef readonly %name) local_unnamed_addr #19 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -41589,8 +41584,8 @@ return: ; preds = %if.end7.i.i, %nk_st ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_window_set_bounds(ptr noundef readonly %ctx, ptr noundef readonly %name, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1) local_unnamed_addr #33 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_window_set_bounds(ptr noundef readonly %ctx, ptr noundef readonly %name, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1) local_unnamed_addr #24 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -41705,8 +41700,8 @@ return: ; preds = %if.end7.i.i, %nk_st ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_window_set_position(ptr nocapture noundef readonly %ctx, ptr noundef readonly %name, <2 x float> %pos.coerce) local_unnamed_addr #33 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_window_set_position(ptr nocapture noundef readonly %ctx, ptr noundef readonly %name, <2 x float> %pos.coerce) local_unnamed_addr #24 { entry: %tobool.not3.i.i = icmp eq ptr %name, null br i1 %tobool.not3.i.i, label %nk_strlen.exit.i, label %land.rhs.i.preheader.i @@ -41815,8 +41810,8 @@ return: ; preds = %if.end7.i.i, %nk_st ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_window_set_size(ptr nocapture noundef readonly %ctx, ptr noundef readonly %name, <2 x float> %size.coerce) local_unnamed_addr #33 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_window_set_size(ptr nocapture noundef readonly %ctx, ptr noundef readonly %name, <2 x float> %size.coerce) local_unnamed_addr #24 { entry: %tobool.not3.i.i = icmp eq ptr %name, null br i1 %tobool.not3.i.i, label %nk_strlen.exit.i, label %land.rhs.i.preheader.i @@ -41926,7 +41921,7 @@ return: ; preds = %if.end7.i.i, %nk_st } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define void @nk_window_set_scroll(ptr noundef readonly %ctx, i32 noundef %offset_x, i32 noundef %offset_y) local_unnamed_addr #27 { +define void @nk_window_set_scroll(ptr noundef readonly %ctx, i32 noundef %offset_x, i32 noundef %offset_y) local_unnamed_addr #21 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -41948,8 +41943,8 @@ return: ; preds = %entry, %lor.lhs.fal ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_window_collapse(ptr noundef readonly %ctx, ptr noundef readonly %name, i32 noundef %c) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_window_collapse(ptr noundef readonly %ctx, ptr noundef readonly %name, i32 noundef %c) local_unnamed_addr #19 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %if.end8, label %if.end @@ -42067,8 +42062,8 @@ if.end8: ; preds = %if.end7.i, %if.end5 ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_window_collapse_if(ptr noundef %ctx, ptr noundef %name, i32 noundef %c, i32 noundef %cond) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_window_collapse_if(ptr noundef %ctx, ptr noundef %name, i32 noundef %c, i32 noundef %cond) local_unnamed_addr #19 { entry: %tobool = icmp ne ptr %ctx, null %tobool1 = icmp ne i32 %cond, 0 @@ -42083,8 +42078,8 @@ return: ; preds = %entry, %if.end ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_window_show(ptr noundef readonly %ctx, ptr noundef readonly %name, i32 noundef %s) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_window_show(ptr noundef readonly %ctx, ptr noundef readonly %name, i32 noundef %s) local_unnamed_addr #19 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %if.end8, label %if.end @@ -42202,8 +42197,8 @@ if.end8: ; preds = %if.end7.i, %if.end5 ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_window_show_if(ptr noundef %ctx, ptr noundef %name, i32 noundef %s, i32 noundef %cond) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_window_show_if(ptr noundef %ctx, ptr noundef %name, i32 noundef %s, i32 noundef %cond) local_unnamed_addr #19 { entry: %tobool = icmp ne ptr %ctx, null %tobool1 = icmp ne i32 %cond, 0 @@ -42218,8 +42213,8 @@ return: ; preds = %entry, %if.end ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_window_set_focus(ptr noundef %ctx, ptr noundef readonly %name) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_window_set_focus(ptr noundef %ctx, ptr noundef readonly %name) local_unnamed_addr #19 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -42473,7 +42468,7 @@ return: ; preds = %entry, %if.end5 } ; Function Attrs: nounwind uwtable -define void @nk_rule_horizontal(ptr noundef %ctx, i32 %color.coerce, i32 noundef %rounding) local_unnamed_addr #31 { +define void @nk_rule_horizontal(ptr noundef %ctx, i32 %color.coerce, i32 noundef %rounding) local_unnamed_addr #23 { entry: %space = alloca %struct.nk_rect, align 8 %call = call i32 @nk_widget(ptr noundef nonnull %space, ptr noundef %ctx), !range !202 @@ -42512,7 +42507,7 @@ return: ; preds = %nk_window_get_canva } ; Function Attrs: nounwind uwtable -define i32 @nk_widget(ptr nocapture noundef %bounds, ptr noundef %ctx) local_unnamed_addr #23 { +define i32 @nk_widget(ptr nocapture noundef %bounds, ptr noundef %ctx) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -42622,7 +42617,7 @@ return: ; preds = %land.lhs.true85, %i } ; Function Attrs: nounwind uwtable -define i32 @nk_popup_begin(ptr noundef %ctx, i32 noundef %type, ptr noundef %title, i32 noundef %flags, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1) local_unnamed_addr #31 { +define i32 @nk_popup_begin(ptr noundef %ctx, i32 noundef %type, ptr noundef %title, i32 noundef %flags, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -42940,7 +42935,7 @@ return: ; preds = %if.then20, %entry, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_popup_close(ptr noundef readonly %ctx) local_unnamed_addr #34 { +define void @nk_popup_close(ptr noundef readonly %ctx) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -42963,7 +42958,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define void @nk_popup_end(ptr noundef %ctx) local_unnamed_addr #31 { +define void @nk_popup_end(ptr noundef %ctx) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -43114,7 +43109,7 @@ return: ; preds = %if.end10.i26, %nk_p } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @nk_popup_get_scroll(ptr noundef readonly %ctx, ptr noundef writeonly %offset_x, ptr noundef writeonly %offset_y) local_unnamed_addr #26 { +define void @nk_popup_get_scroll(ptr noundef readonly %ctx, ptr noundef writeonly %offset_x, ptr noundef writeonly %offset_y) local_unnamed_addr #20 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %if.end12, label %lor.lhs.false @@ -43156,7 +43151,7 @@ if.end12: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_popup_set_scroll(ptr noundef readonly %ctx, i32 noundef %offset_x, i32 noundef %offset_y) local_unnamed_addr #34 { +define void @nk_popup_set_scroll(ptr noundef readonly %ctx, i32 noundef %offset_x, i32 noundef %offset_y) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -43185,7 +43180,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_contextual_begin(ptr noundef %ctx, i32 noundef %flags, <2 x float> %size.coerce, <2 x float> %trigger_bounds.coerce0, <2 x float> %trigger_bounds.coerce1) local_unnamed_addr #31 { +define i32 @nk_contextual_begin(ptr noundef %ctx, i32 noundef %flags, <2 x float> %size.coerce, <2 x float> %trigger_bounds.coerce0, <2 x float> %trigger_bounds.coerce1) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -43362,7 +43357,7 @@ return: ; preds = %land.end, %if.else6 } ; Function Attrs: nounwind uwtable -define internal fastcc i32 @nk_nonblock_begin(ptr noundef %ctx, i32 noundef %flags, <2 x float> %body.coerce0, <2 x float> %body.coerce1, <2 x float> %header.coerce0, <2 x float> %header.coerce1, i32 noundef %panel_type) unnamed_addr #31 { +define internal fastcc i32 @nk_nonblock_begin(ptr noundef %ctx, i32 noundef %flags, <2 x float> %body.coerce0, <2 x float> %body.coerce1, <2 x float> %header.coerce0, <2 x float> %header.coerce1, i32 noundef %panel_type) unnamed_addr #23 { entry: %current = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 17 %0 = load ptr, ptr %current, align 8 @@ -43634,7 +43629,7 @@ return: ; preds = %while.body, %while. } ; Function Attrs: nounwind uwtable -define i32 @nk_contextual_item_text(ptr noundef %ctx, ptr noundef %text, i32 noundef %len, i32 noundef %alignment) local_unnamed_addr #31 { +define i32 @nk_contextual_item_text(ptr noundef %ctx, ptr noundef %text, i32 noundef %len, i32 noundef %alignment) local_unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -43706,7 +43701,7 @@ return: ; preds = %nk_popup_close.exit } ; Function Attrs: nounwind uwtable -define i32 @nk_widget_fitting(ptr nocapture noundef %bounds, ptr noundef %ctx, <2 x float> %item_padding.coerce) local_unnamed_addr #31 { +define i32 @nk_widget_fitting(ptr nocapture noundef %bounds, ptr noundef %ctx, <2 x float> %item_padding.coerce) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -43733,7 +43728,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define internal fastcc i32 @nk_do_button_text(ptr nocapture noundef %state, ptr noundef %out, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1, ptr noundef %string, i32 noundef %len, i32 noundef %align, i32 noundef %behavior, ptr noundef %style, ptr noundef %in, ptr noundef %font) unnamed_addr #31 { +define internal fastcc i32 @nk_do_button_text(ptr nocapture noundef %state, ptr noundef %out, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1, ptr noundef %string, i32 noundef %len, i32 noundef %align, i32 noundef %behavior, ptr noundef %style, ptr noundef %in, ptr noundef %font) unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 store <2 x float> %bounds.coerce0, ptr %bounds, align 8 @@ -43786,7 +43781,7 @@ nk_do_button.exit: ; preds = %entry if.then7: ; preds = %nk_do_button.exit %userdata = getelementptr inbounds %struct.nk_style_button, ptr %style, i64 0, i32 17 %22 = load ptr, ptr %userdata, align 8 - tail call void %21(ptr noundef nonnull %out, ptr %22) #63 + tail call void %21(ptr noundef nonnull %out, ptr %22) #51 br label %if.end9 if.end9: ; preds = %if.then7, %nk_do_button.exit @@ -43869,7 +43864,7 @@ if.end.i10.i: ; preds = %if.end13.i, %if.end %width.i.i = getelementptr inbounds %struct.nk_user_font, ptr %font, i64 0, i32 2 %27 = load ptr, ptr %width.i.i, align 8 %28 = load ptr, ptr %font, align 8 - %call.i.i = tail call float %27(ptr %28, float noundef %26, ptr noundef nonnull %string, i32 noundef %len) #63 + %call.i.i = tail call float %27(ptr %28, float noundef %26, ptr noundef nonnull %string, i32 noundef %len) #51 %29 = fadd float %call.i.i, 0.000000e+00 %and.i.i = and i32 %align, 1 %tobool30.not.i.i = icmp eq i32 %and.i.i, 0 @@ -43975,7 +43970,7 @@ nk_draw_button_text.exit: ; preds = %if.else119.i.i, %if if.then11: ; preds = %nk_draw_button_text.exit %userdata13 = getelementptr inbounds %struct.nk_style_button, ptr %style, i64 0, i32 17 %33 = load ptr, ptr %userdata13, align 8 - tail call void %32(ptr noundef nonnull %out, ptr %33) #63 + tail call void %32(ptr noundef nonnull %out, ptr %33) #51 br label %return return: ; preds = %nk_draw_button_text.exit, %if.then11, %entry @@ -43984,7 +43979,7 @@ return: ; preds = %nk_draw_button_text } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_contextual_close(ptr noundef readonly %ctx) local_unnamed_addr #34 { +define void @nk_contextual_close(ptr noundef readonly %ctx) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -44013,7 +44008,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_contextual_item_label(ptr noundef %ctx, ptr noundef %label, i32 noundef %align) local_unnamed_addr #31 { +define i32 @nk_contextual_item_label(ptr noundef %ctx, ptr noundef %label, i32 noundef %align) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %tobool.not3.i = icmp eq ptr %label, null @@ -44106,7 +44101,7 @@ nk_contextual_item_text.exit: ; preds = %nk_strlen.exit, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_contextual_item_image_text(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #31 { +define i32 @nk_contextual_item_image_text(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -44178,7 +44173,7 @@ return: ; preds = %nk_popup_close.exit } ; Function Attrs: nounwind uwtable -define internal fastcc i32 @nk_do_button_text_image(ptr nocapture noundef %state, ptr noundef %out, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %str, i32 noundef %len, i32 noundef %align, i32 noundef %behavior, ptr noundef %style, ptr noundef %font, ptr noundef %in) unnamed_addr #31 { +define internal fastcc i32 @nk_do_button_text_image(ptr nocapture noundef %state, ptr noundef %out, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %str, i32 noundef %len, i32 noundef %align, i32 noundef %behavior, ptr noundef %style, ptr noundef %font, ptr noundef %in) unnamed_addr #23 { entry: %0 = extractelement <2 x float> %bounds.coerce0, i64 0 %bounds = alloca %struct.nk_rect, align 8 @@ -44263,7 +44258,7 @@ if.end26: ; preds = %if.else, %if.then12 if.then41: ; preds = %if.end26 %userdata = getelementptr inbounds %struct.nk_style_button, ptr %style, i64 0, i32 17 %36 = load ptr, ptr %userdata, align 8 - tail call void %35(ptr noundef nonnull %out, ptr %36) #63 + tail call void %35(ptr noundef nonnull %out, ptr %36) #51 br label %if.end43 if.end43: ; preds = %if.then41, %if.end26 @@ -44341,7 +44336,7 @@ nk_draw_button_text_image.exit: ; preds = %if.end.i.i, %if.end %width.i.i = getelementptr inbounds %struct.nk_user_font, ptr %font, i64 0, i32 2 %41 = load ptr, ptr %width.i.i, align 8 %42 = load ptr, ptr %font, align 8 - %call.i.i = tail call float %41(ptr %42, float noundef %40, ptr noundef nonnull %str, i32 noundef %len) #63 + %call.i.i = tail call float %41(ptr %42, float noundef %40, ptr noundef nonnull %str, i32 noundef %len) #51 %43 = fadd float %call.i.i, 0.000000e+00 %cmp57.i.i = fcmp ogt float %43, 1.000000e+00 %cond64.i.i = select i1 %cmp57.i.i, float %43, float 1.000000e+00 @@ -44391,7 +44386,7 @@ nk_draw_button_text_image.exit: ; preds = %if.end.i.i, %if.end if.then45: ; preds = %nk_draw_button_text_image.exit %userdata47 = getelementptr inbounds %struct.nk_style_button, ptr %style, i64 0, i32 17 %52 = load ptr, ptr %userdata47, align 8 - tail call void %51(ptr noundef nonnull %out, ptr %52) #63 + tail call void %51(ptr noundef nonnull %out, ptr %52) #51 br label %return return: ; preds = %nk_draw_button_text_image.exit, %if.then45, %entry @@ -44400,7 +44395,7 @@ return: ; preds = %nk_draw_button_text } ; Function Attrs: nounwind uwtable -define i32 @nk_contextual_item_image_label(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %label, i32 noundef %align) local_unnamed_addr #31 { +define i32 @nk_contextual_item_image_label(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %label, i32 noundef %align) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %tobool.not3.i = icmp eq ptr %label, null @@ -44493,7 +44488,7 @@ nk_contextual_item_image_text.exit: ; preds = %nk_strlen.exit, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_contextual_item_symbol_text(ptr noundef %ctx, i32 noundef %symbol, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #31 { +define i32 @nk_contextual_item_symbol_text(ptr noundef %ctx, i32 noundef %symbol, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -44565,7 +44560,7 @@ return: ; preds = %nk_popup_close.exit } ; Function Attrs: nounwind uwtable -define internal fastcc i32 @nk_do_button_text_symbol(ptr nocapture noundef %state, ptr noundef %out, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1, i32 noundef %symbol, ptr noundef %str, i32 noundef %len, i32 noundef %align, i32 noundef %behavior, ptr noundef %style, ptr noundef %font, ptr noundef %in) unnamed_addr #31 { +define internal fastcc i32 @nk_do_button_text_symbol(ptr nocapture noundef %state, ptr noundef %out, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1, i32 noundef %symbol, ptr noundef %str, i32 noundef %len, i32 noundef %align, i32 noundef %behavior, ptr noundef %style, ptr noundef %font, ptr noundef %in) unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 store <2 x float> %bounds.coerce0, ptr %bounds, align 8 @@ -44646,7 +44641,7 @@ if.end24: ; preds = %if.else, %if.then10 if.then26: ; preds = %if.end24 %userdata = getelementptr inbounds %struct.nk_style_button, ptr %style, i64 0, i32 17 %21 = load ptr, ptr %userdata, align 8 - tail call void %20(ptr noundef nonnull %out, ptr %21) #63 + tail call void %20(ptr noundef nonnull %out, ptr %21) #51 br label %if.end28 if.end28: ; preds = %if.then26, %if.end24 @@ -44751,7 +44746,7 @@ nk_draw_button_text_symbol.exit: ; preds = %if.end.i26.i, %nk_r %width.i.i = getelementptr inbounds %struct.nk_user_font, ptr %font, i64 0, i32 2 %31 = load ptr, ptr %width.i.i, align 8 %32 = load ptr, ptr %font, align 8 - %call.i.i = tail call float %31(ptr %32, float noundef %30, ptr noundef %str, i32 noundef %len) #63 + %call.i.i = tail call float %31(ptr %32, float noundef %30, ptr noundef %str, i32 noundef %len) #51 %33 = fadd float %call.i.i, 0.000000e+00 %cmp57.i.i = fcmp ogt float %33, 1.000000e+00 %cond64.i.i = select i1 %cmp57.i.i, float %33, float 1.000000e+00 @@ -44791,7 +44786,7 @@ nk_draw_button_text_symbol.exit: ; preds = %if.end.i26.i, %nk_r if.then30: ; preds = %nk_draw_button_text_symbol.exit %userdata32 = getelementptr inbounds %struct.nk_style_button, ptr %style, i64 0, i32 17 %38 = load ptr, ptr %userdata32, align 8 - tail call void %37(ptr noundef nonnull %out, ptr %38) #63 + tail call void %37(ptr noundef nonnull %out, ptr %38) #51 br label %return return: ; preds = %nk_draw_button_text_symbol.exit, %if.then30, %entry @@ -44800,7 +44795,7 @@ return: ; preds = %nk_draw_button_text } ; Function Attrs: nounwind uwtable -define i32 @nk_contextual_item_symbol_label(ptr noundef %ctx, i32 noundef %symbol, ptr noundef %text, i32 noundef %align) local_unnamed_addr #31 { +define i32 @nk_contextual_item_symbol_label(ptr noundef %ctx, i32 noundef %symbol, ptr noundef %text, i32 noundef %align) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %tobool.not3.i = icmp eq ptr %text, null @@ -44893,7 +44888,7 @@ nk_contextual_item_symbol_text.exit: ; preds = %nk_strlen.exit, %lo } ; Function Attrs: nounwind uwtable -define void @nk_contextual_end(ptr noundef %ctx) local_unnamed_addr #31 { +define void @nk_contextual_end(ptr noundef %ctx) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -45056,7 +45051,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_menubar_begin(ptr noundef readonly %ctx) local_unnamed_addr #34 { +define void @nk_menubar_begin(ptr noundef readonly %ctx) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -45114,7 +45109,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: nounwind uwtable -define void @nk_menubar_end(ptr noundef readonly %ctx) local_unnamed_addr #31 { +define void @nk_menubar_end(ptr noundef readonly %ctx) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -45232,7 +45227,7 @@ return: ; preds = %if.end10.i, %if.end } ; Function Attrs: nounwind uwtable -define i32 @nk_menu_begin_text(ptr noundef %ctx, ptr noundef %title, i32 noundef %len, i32 noundef %align, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_menu_begin_text(ptr noundef %ctx, ptr noundef %title, i32 noundef %len, i32 noundef %align, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %header = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -45353,7 +45348,7 @@ return: ; preds = %if.end38.i, %if.end } ; Function Attrs: nounwind uwtable -define i32 @nk_menu_begin_label(ptr noundef %ctx, ptr noundef %text, i32 noundef %align, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_menu_begin_label(ptr noundef %ctx, ptr noundef %text, i32 noundef %align, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %tobool.not3.i = icmp eq ptr %text, null br i1 %tobool.not3.i, label %nk_strlen.exit, label %land.rhs.i.preheader @@ -45379,7 +45374,7 @@ nk_strlen.exit: ; preds = %while.body.i, %land } ; Function Attrs: nounwind uwtable -define i32 @nk_menu_begin_image(ptr noundef %ctx, ptr noundef %id, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_menu_begin_image(ptr noundef %ctx, ptr noundef %id, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %img14 = alloca %struct.nk_image, align 8 @@ -45464,7 +45459,7 @@ cond.end: ; preds = %lor.lhs.false11, %i if.then13.i: ; preds = %cond.end %userdata.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 8, i32 17 %30 = load ptr, ptr %userdata.i, align 8 - tail call void %29(ptr noundef nonnull %buffer, ptr %30) #63 + tail call void %29(ptr noundef nonnull %buffer, ptr %30) #51 br label %if.end15.i if.end15.i: ; preds = %if.then13.i, %cond.end @@ -45488,7 +45483,7 @@ if.end15.i: ; preds = %if.then13.i, %cond. if.then17.i: ; preds = %if.end15.i %userdata19.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 8, i32 17 %37 = load ptr, ptr %userdata19.i, align 8 - tail call void %36(ptr noundef nonnull %buffer, ptr %37) #63 + tail call void %36(ptr noundef nonnull %buffer, ptr %37) #51 br label %nk_do_button_image.exit nk_do_button_image.exit: ; preds = %if.end15.i, %if.then17.i @@ -45571,7 +45566,7 @@ return: ; preds = %if.end38.i, %if.end } ; Function Attrs: nounwind uwtable -define i32 @nk_menu_begin_symbol(ptr noundef %ctx, ptr noundef %id, i32 noundef %sym, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_menu_begin_symbol(ptr noundef %ctx, ptr noundef %id, i32 noundef %sym, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %header = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -45693,7 +45688,7 @@ return: ; preds = %if.end38.i, %if.end } ; Function Attrs: nounwind uwtable -define internal fastcc i32 @nk_do_button_symbol(ptr noundef %state, ptr noundef %out, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1, i32 noundef %symbol, i32 noundef %behavior, ptr noundef %style, ptr noundef %in, ptr noundef %font) unnamed_addr #31 { +define internal fastcc i32 @nk_do_button_symbol(ptr noundef %state, ptr noundef %out, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1, i32 noundef %symbol, i32 noundef %behavior, ptr noundef %style, ptr noundef %in, ptr noundef %font) unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 store <2 x float> %bounds.coerce0, ptr %bounds, align 8 @@ -45740,7 +45735,7 @@ nk_do_button.exit: ; preds = %entry if.then7: ; preds = %nk_do_button.exit %userdata = getelementptr inbounds %struct.nk_style_button, ptr %style, i64 0, i32 17 %27 = load ptr, ptr %userdata, align 8 - tail call void %26(ptr noundef nonnull %out, ptr %27) #63 + tail call void %26(ptr noundef nonnull %out, ptr %27) #51 br label %if.end9 if.end9: ; preds = %if.then7, %nk_do_button.exit @@ -45820,7 +45815,7 @@ nk_draw_button_symbol.exit: ; preds = %if.end9.i, %if.end. if.then11: ; preds = %nk_draw_button_symbol.exit %userdata13 = getelementptr inbounds %struct.nk_style_button, ptr %style, i64 0, i32 17 %32 = load ptr, ptr %userdata13, align 8 - tail call void %31(ptr noundef nonnull %out, ptr %32) #63 + tail call void %31(ptr noundef nonnull %out, ptr %32) #51 br label %return return: ; preds = %nk_draw_button_symbol.exit, %if.then11, %entry @@ -45829,7 +45824,7 @@ return: ; preds = %nk_draw_button_symb } ; Function Attrs: nounwind uwtable -define i32 @nk_menu_begin_image_text(ptr noundef %ctx, ptr noundef %title, i32 noundef %len, i32 noundef %align, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_menu_begin_image_text(ptr noundef %ctx, ptr noundef %title, i32 noundef %len, i32 noundef %align, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %header = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -45951,7 +45946,7 @@ return: ; preds = %if.end38.i, %if.end } ; Function Attrs: nounwind uwtable -define i32 @nk_menu_begin_image_label(ptr noundef %ctx, ptr noundef %title, i32 noundef %align, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_menu_begin_image_label(ptr noundef %ctx, ptr noundef %title, i32 noundef %align, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %tobool.not3.i = icmp eq ptr %title, null br i1 %tobool.not3.i, label %nk_strlen.exit, label %land.rhs.i.preheader @@ -45977,7 +45972,7 @@ nk_strlen.exit: ; preds = %while.body.i, %land } ; Function Attrs: nounwind uwtable -define i32 @nk_menu_begin_symbol_text(ptr noundef %ctx, ptr noundef %title, i32 noundef %len, i32 noundef %align, i32 noundef %sym, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_menu_begin_symbol_text(ptr noundef %ctx, ptr noundef %title, i32 noundef %len, i32 noundef %align, i32 noundef %sym, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %header = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -46099,7 +46094,7 @@ return: ; preds = %if.end38.i, %if.end } ; Function Attrs: nounwind uwtable -define i32 @nk_menu_begin_symbol_label(ptr noundef %ctx, ptr noundef %title, i32 noundef %align, i32 noundef %sym, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_menu_begin_symbol_label(ptr noundef %ctx, ptr noundef %title, i32 noundef %align, i32 noundef %sym, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %tobool.not3.i = icmp eq ptr %title, null br i1 %tobool.not3.i, label %nk_strlen.exit, label %land.rhs.i.preheader @@ -46125,7 +46120,7 @@ nk_strlen.exit: ; preds = %while.body.i, %land } ; Function Attrs: nounwind uwtable -define i32 @nk_menu_item_text(ptr noundef %ctx, ptr noundef %title, i32 noundef %len, i32 noundef %align) local_unnamed_addr #31 { +define i32 @nk_menu_item_text(ptr noundef %ctx, ptr noundef %title, i32 noundef %len, i32 noundef %align) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %bounds.i) @@ -46199,21 +46194,21 @@ nk_contextual_item_text.exit: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_menu_item_label(ptr noundef %ctx, ptr noundef %label, i32 noundef %align) local_unnamed_addr #23 { +define i32 @nk_menu_item_label(ptr noundef %ctx, ptr noundef %label, i32 noundef %align) local_unnamed_addr #18 { entry: %call = tail call i32 @nk_contextual_item_label(ptr noundef %ctx, ptr noundef %label, i32 noundef %align), !range !14 ret i32 %call } ; Function Attrs: nounwind uwtable -define i32 @nk_menu_item_image_label(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %label, i32 noundef %align) local_unnamed_addr #23 { +define i32 @nk_menu_item_image_label(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %label, i32 noundef %align) local_unnamed_addr #18 { entry: %call = tail call i32 @nk_contextual_item_image_label(ptr noundef %ctx, ptr noundef nonnull byval(%struct.nk_image) align 8 %img, ptr noundef %label, i32 noundef %align), !range !14 ret i32 %call } ; Function Attrs: nounwind uwtable -define i32 @nk_menu_item_image_text(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #31 { +define i32 @nk_menu_item_image_text(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %bounds.i) @@ -46287,7 +46282,7 @@ nk_contextual_item_image_text.exit: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_menu_item_symbol_text(ptr noundef %ctx, i32 noundef %sym, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #31 { +define i32 @nk_menu_item_symbol_text(ptr noundef %ctx, i32 noundef %sym, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %bounds.i) @@ -46361,14 +46356,14 @@ nk_contextual_item_symbol_text.exit: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_menu_item_symbol_label(ptr noundef %ctx, i32 noundef %sym, ptr noundef %label, i32 noundef %align) local_unnamed_addr #23 { +define i32 @nk_menu_item_symbol_label(ptr noundef %ctx, i32 noundef %sym, ptr noundef %label, i32 noundef %align) local_unnamed_addr #18 { entry: %call = tail call i32 @nk_contextual_item_symbol_label(ptr noundef %ctx, i32 noundef %sym, ptr noundef %label, i32 noundef %align), !range !14 ret i32 %call } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_menu_close(ptr noundef readonly %ctx) local_unnamed_addr #34 { +define void @nk_menu_close(ptr noundef readonly %ctx) local_unnamed_addr #25 { entry: %tobool.not.i = icmp eq ptr %ctx, null br i1 %tobool.not.i, label %nk_contextual_close.exit, label %lor.lhs.false.i @@ -46397,14 +46392,14 @@ nk_contextual_close.exit: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define void @nk_menu_end(ptr noundef %ctx) local_unnamed_addr #23 { +define void @nk_menu_end(ptr noundef %ctx) local_unnamed_addr #18 { entry: tail call void @nk_contextual_end(ptr noundef %ctx) ret void } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_layout_set_min_row_height(ptr noundef readonly %ctx, float noundef %height) local_unnamed_addr #34 { +define void @nk_layout_set_min_row_height(ptr noundef readonly %ctx, float noundef %height) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -46431,7 +46426,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define float @nk_layout_ratio_from_pixel(ptr noundef readonly %ctx, float noundef %pixel_width) local_unnamed_addr #37 { +define float @nk_layout_ratio_from_pixel(ptr noundef readonly %ctx, float noundef %pixel_width) local_unnamed_addr #28 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -46469,7 +46464,7 @@ return: ; preds = %if.end, %cond.true1 } ; Function Attrs: nounwind uwtable -define void @nk_layout_row_dynamic(ptr noundef readonly %ctx, float noundef %height, i32 noundef %cols) local_unnamed_addr #31 { +define void @nk_layout_row_dynamic(ptr noundef readonly %ctx, float noundef %height, i32 noundef %cols) local_unnamed_addr #23 { entry: %tobool.not.i = icmp eq ptr %ctx, null br i1 %tobool.not.i, label %nk_row_layout.exit, label %lor.lhs.false.i @@ -46561,7 +46556,7 @@ nk_row_layout.exit: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define void @nk_layout_row_static(ptr noundef readonly %ctx, float noundef %height, i32 noundef %item_width, i32 noundef %cols) local_unnamed_addr #31 { +define void @nk_layout_row_static(ptr noundef readonly %ctx, float noundef %height, i32 noundef %item_width, i32 noundef %cols) local_unnamed_addr #23 { entry: %tobool.not.i = icmp eq ptr %ctx, null br i1 %tobool.not.i, label %nk_row_layout.exit, label %lor.lhs.false.i @@ -46654,7 +46649,7 @@ nk_row_layout.exit: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define void @nk_layout_row_begin(ptr noundef readonly %ctx, i32 noundef %fmt, float noundef %row_height, i32 noundef %cols) local_unnamed_addr #31 { +define void @nk_layout_row_begin(ptr noundef readonly %ctx, i32 noundef %fmt, float noundef %row_height, i32 noundef %cols) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -46741,7 +46736,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_layout_row_push(ptr noundef readonly %ctx, float noundef %ratio_or_width) local_unnamed_addr #34 { +define void @nk_layout_row_push(ptr noundef readonly %ctx, float noundef %ratio_or_width) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %if.end43, label %lor.lhs.false @@ -46799,7 +46794,7 @@ if.end43: ; preds = %if.end43.sink.split } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_layout_row_end(ptr noundef readonly %ctx) local_unnamed_addr #34 { +define void @nk_layout_row_end(ptr noundef readonly %ctx) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -46836,7 +46831,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: nounwind uwtable -define void @nk_layout_row(ptr noundef readonly %ctx, i32 noundef %fmt, float noundef %height, i32 noundef %cols, ptr noundef %ratio) local_unnamed_addr #31 { +define void @nk_layout_row(ptr noundef readonly %ctx, i32 noundef %fmt, float noundef %height, i32 noundef %cols, ptr noundef %ratio) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -46967,7 +46962,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define void @nk_layout_row_template_begin(ptr noundef readonly %ctx, float noundef %height) local_unnamed_addr #31 { +define void @nk_layout_row_template_begin(ptr noundef readonly %ctx, float noundef %height) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -47049,7 +47044,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_layout_row_template_push_dynamic(ptr noundef readonly %ctx) local_unnamed_addr #34 { +define void @nk_layout_row_template_push_dynamic(ptr noundef readonly %ctx) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -47091,7 +47086,7 @@ return: ; preds = %if.end9, %if.end, % } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_layout_row_template_push_variable(ptr noundef readonly %ctx, float noundef %min_width) local_unnamed_addr #34 { +define void @nk_layout_row_template_push_variable(ptr noundef readonly %ctx, float noundef %min_width) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -47134,7 +47129,7 @@ return: ; preds = %if.end9, %if.end, % } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_layout_row_template_push_static(ptr noundef readonly %ctx, float noundef %width) local_unnamed_addr #34 { +define void @nk_layout_row_template_push_static(ptr noundef readonly %ctx, float noundef %width) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -47175,8 +47170,8 @@ return: ; preds = %if.end9, %if.end, % ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_layout_row_template_end(ptr noundef readonly %ctx) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_layout_row_template_end(ptr noundef readonly %ctx) local_unnamed_addr #19 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %if.end80, label %lor.lhs.false @@ -47332,7 +47327,7 @@ if.end80: ; preds = %for.body57.us, %con } ; Function Attrs: nounwind uwtable -define void @nk_layout_space_begin(ptr noundef readonly %ctx, i32 noundef %fmt, float noundef %height, i32 noundef %widget_count) local_unnamed_addr #31 { +define void @nk_layout_space_begin(ptr noundef readonly %ctx, i32 noundef %fmt, float noundef %height, i32 noundef %widget_count) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -47417,8 +47412,8 @@ return: ; preds = %entry, %lor.lhs.fal ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_layout_space_end(ptr noundef readonly %ctx) local_unnamed_addr #44 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_layout_space_end(ptr noundef readonly %ctx) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -47464,7 +47459,7 @@ return: ; preds = %if.end19.i.i, %if.e } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_layout_space_push(ptr noundef readonly %ctx, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1) local_unnamed_addr #48 { +define void @nk_layout_space_push(ptr noundef readonly %ctx, <2 x float> %rect.coerce0, <2 x float> %rect.coerce1) local_unnamed_addr #38 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -47493,7 +47488,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define { <2 x float>, <2 x float> } @nk_layout_space_bounds(ptr nocapture noundef readonly %ctx) local_unnamed_addr #37 { +define { <2 x float>, <2 x float> } @nk_layout_space_bounds(ptr nocapture noundef readonly %ctx) local_unnamed_addr #28 { entry: %current = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 17 %0 = load ptr, ptr %current, align 8 @@ -47513,7 +47508,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define { <2 x float>, <2 x float> } @nk_layout_widget_bounds(ptr nocapture noundef readonly %ctx) local_unnamed_addr #37 { +define { <2 x float>, <2 x float> } @nk_layout_widget_bounds(ptr nocapture noundef readonly %ctx) local_unnamed_addr #28 { entry: %current = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 17 %0 = load ptr, ptr %current, align 8 @@ -47540,7 +47535,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define <2 x float> @nk_layout_space_to_screen(ptr nocapture noundef readonly %ctx, <2 x float> %ret.coerce) local_unnamed_addr #46 { +define <2 x float> @nk_layout_space_to_screen(ptr nocapture noundef readonly %ctx, <2 x float> %ret.coerce) local_unnamed_addr #36 { entry: %current = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 17 %0 = load ptr, ptr %current, align 8 @@ -47563,7 +47558,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define <2 x float> @nk_layout_space_to_local(ptr nocapture noundef readonly %ctx, <2 x float> %ret.coerce) local_unnamed_addr #46 { +define <2 x float> @nk_layout_space_to_local(ptr nocapture noundef readonly %ctx, <2 x float> %ret.coerce) local_unnamed_addr #36 { entry: %current = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 17 %0 = load ptr, ptr %current, align 8 @@ -47586,7 +47581,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define { <2 x float>, <2 x float> } @nk_layout_space_rect_to_screen(ptr nocapture noundef readonly %ctx, <2 x float> %ret.coerce0, <2 x float> %ret.coerce1) local_unnamed_addr #46 { +define { <2 x float>, <2 x float> } @nk_layout_space_rect_to_screen(ptr nocapture noundef readonly %ctx, <2 x float> %ret.coerce0, <2 x float> %ret.coerce1) local_unnamed_addr #36 { entry: %current = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 17 %0 = load ptr, ptr %current, align 8 @@ -47611,7 +47606,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define { <2 x float>, <2 x float> } @nk_layout_space_rect_to_local(ptr nocapture noundef readonly %ctx, <2 x float> %ret.coerce0, <2 x float> %ret.coerce1) local_unnamed_addr #46 { +define { <2 x float>, <2 x float> } @nk_layout_space_rect_to_local(ptr nocapture noundef readonly %ctx, <2 x float> %ret.coerce0, <2 x float> %ret.coerce1) local_unnamed_addr #36 { entry: %current = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 17 %0 = load ptr, ptr %current, align 8 @@ -47636,7 +47631,7 @@ entry: } ; Function Attrs: nounwind uwtable -define void @nk_spacer(ptr noundef %ctx) local_unnamed_addr #23 { +define void @nk_spacer(ptr noundef %ctx) local_unnamed_addr #18 { entry: %dummy_rect = alloca %struct.nk_rect, align 4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %dummy_rect, i8 0, i64 16, i1 false) @@ -47645,7 +47640,7 @@ entry: } ; Function Attrs: nounwind uwtable -define internal fastcc void @nk_panel_alloc_space(ptr nocapture noundef %bounds, ptr noundef readonly %ctx) unnamed_addr #31 { +define internal fastcc void @nk_panel_alloc_space(ptr nocapture noundef %bounds, ptr noundef readonly %ctx) unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -47732,14 +47727,14 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_tree_state_push(ptr noundef %ctx, i32 noundef %type, ptr noundef %title, ptr nocapture noundef %state) local_unnamed_addr #23 { +define i32 @nk_tree_state_push(ptr noundef %ctx, i32 noundef %type, ptr noundef %title, ptr nocapture noundef %state) local_unnamed_addr #18 { entry: %call = tail call fastcc i32 @nk_tree_state_base(ptr noundef %ctx, i32 noundef %type, ptr noundef null, ptr noundef %title, ptr noundef %state), !range !14 ret i32 %call } ; Function Attrs: nounwind uwtable -define internal fastcc i32 @nk_tree_state_base(ptr noundef %ctx, i32 noundef %type, ptr noundef readonly %img, ptr noundef %title, ptr nocapture noundef %state) unnamed_addr #31 { +define internal fastcc i32 @nk_tree_state_base(ptr noundef %ctx, i32 noundef %type, ptr noundef readonly %img, ptr noundef %title, ptr nocapture noundef %state) unnamed_addr #23 { entry: %header = alloca %struct.nk_rect, align 8 %ws = alloca i32, align 4 @@ -48202,7 +48197,7 @@ nk_strlen.exit: ; preds = %while.body.i, %land %width.i = getelementptr inbounds %struct.nk_user_font, ptr %74, i64 0, i32 2 %81 = load ptr, ptr %width.i, align 8 %82 = load ptr, ptr %74, align 8 - %call.i = call float %81(ptr %82, float noundef %73, ptr noundef %title, i32 noundef %siz.0.lcssa.i) #63 + %call.i = call float %81(ptr %82, float noundef %73, ptr noundef %title, i32 noundef %siz.0.lcssa.i) #51 %add35.i = fadd float %add121, 0.000000e+00 %83 = insertelement <2 x float> poison, float %add35.i, i64 0 %div164.i = fmul float %mul.b.sroa.14.12.vec.extract.i, 5.000000e-01 @@ -48258,14 +48253,14 @@ return: ; preds = %nk_strlen.exit, %en } ; Function Attrs: nounwind uwtable -define i32 @nk_tree_state_image_push(ptr noundef %ctx, i32 noundef %type, ptr noundef byval(%struct.nk_image) align 8 %img, ptr noundef %title, ptr nocapture noundef %state) local_unnamed_addr #23 { +define i32 @nk_tree_state_image_push(ptr noundef %ctx, i32 noundef %type, ptr noundef byval(%struct.nk_image) align 8 %img, ptr noundef %title, ptr nocapture noundef %state) local_unnamed_addr #18 { entry: %call = call fastcc i32 @nk_tree_state_base(ptr noundef %ctx, i32 noundef %type, ptr noundef nonnull %img, ptr noundef %title, ptr noundef %state), !range !14 ret i32 %call } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_tree_state_pop(ptr noundef readonly %ctx) local_unnamed_addr #34 { +define void @nk_tree_state_pop(ptr noundef readonly %ctx) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -48313,14 +48308,14 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_tree_push_hashed(ptr noundef %ctx, i32 noundef %type, ptr noundef %title, i32 noundef %initial_state, ptr noundef %hash, i32 noundef %len, i32 noundef %line) local_unnamed_addr #23 { +define i32 @nk_tree_push_hashed(ptr noundef %ctx, i32 noundef %type, ptr noundef %title, i32 noundef %initial_state, ptr noundef %hash, i32 noundef %len, i32 noundef %line) local_unnamed_addr #18 { entry: %call = tail call fastcc i32 @nk_tree_base(ptr noundef %ctx, i32 noundef %type, ptr noundef null, ptr noundef %title, i32 noundef %initial_state, ptr noundef %hash, i32 noundef %len, i32 noundef %line), !range !14 ret i32 %call } ; Function Attrs: nounwind uwtable -define internal fastcc i32 @nk_tree_base(ptr noundef %ctx, i32 noundef %type, ptr noundef %img, ptr noundef %title, i32 noundef %initial_state, ptr noundef %hash, i32 noundef %len, i32 noundef %line) unnamed_addr #23 { +define internal fastcc i32 @nk_tree_base(ptr noundef %ctx, i32 noundef %type, ptr noundef %img, ptr noundef %title, i32 noundef %initial_state, ptr noundef %hash, i32 noundef %len, i32 noundef %line) unnamed_addr #18 { entry: %current = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 17 %0 = load ptr, ptr %current, align 8 @@ -48502,14 +48497,14 @@ if.end7: ; preds = %nk_find_value.exit, } ; Function Attrs: nounwind uwtable -define i32 @nk_tree_image_push_hashed(ptr noundef %ctx, i32 noundef %type, ptr noundef byval(%struct.nk_image) align 8 %img, ptr noundef %title, i32 noundef %initial_state, ptr noundef %hash, i32 noundef %len, i32 noundef %seed) local_unnamed_addr #23 { +define i32 @nk_tree_image_push_hashed(ptr noundef %ctx, i32 noundef %type, ptr noundef byval(%struct.nk_image) align 8 %img, ptr noundef %title, i32 noundef %initial_state, ptr noundef %hash, i32 noundef %len, i32 noundef %seed) local_unnamed_addr #18 { entry: %call = call fastcc i32 @nk_tree_base(ptr noundef %ctx, i32 noundef %type, ptr noundef nonnull %img, ptr noundef %title, i32 noundef %initial_state, ptr noundef %hash, i32 noundef %len, i32 noundef %seed), !range !14 ret i32 %call } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_tree_pop(ptr noundef readonly %ctx) local_unnamed_addr #34 { +define void @nk_tree_pop(ptr noundef readonly %ctx) local_unnamed_addr #25 { entry: %tobool.not.i = icmp eq ptr %ctx, null br i1 %tobool.not.i, label %nk_tree_state_pop.exit, label %lor.lhs.false.i @@ -48557,14 +48552,14 @@ nk_tree_state_pop.exit: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_tree_element_push_hashed(ptr noundef %ctx, i32 noundef %type, ptr noundef %title, i32 noundef %initial_state, ptr noundef %selected, ptr noundef %hash, i32 noundef %len, i32 noundef %seed) local_unnamed_addr #23 { +define i32 @nk_tree_element_push_hashed(ptr noundef %ctx, i32 noundef %type, ptr noundef %title, i32 noundef %initial_state, ptr noundef %selected, ptr noundef %hash, i32 noundef %len, i32 noundef %seed) local_unnamed_addr #18 { entry: %call = tail call fastcc i32 @nk_tree_element_base(ptr noundef %ctx, i32 noundef %type, ptr noundef null, ptr noundef %title, i32 noundef %initial_state, ptr noundef %selected, ptr noundef %hash, i32 noundef %len, i32 noundef %seed), !range !14 ret i32 %call } ; Function Attrs: nounwind uwtable -define internal fastcc i32 @nk_tree_element_base(ptr noundef %ctx, i32 noundef %type, ptr noundef %img, ptr noundef %title, i32 noundef %initial_state, ptr noundef %selected, ptr noundef %hash, i32 noundef %len, i32 noundef %line) unnamed_addr #31 { +define internal fastcc i32 @nk_tree_element_base(ptr noundef %ctx, i32 noundef %type, ptr noundef %img, ptr noundef %title, i32 noundef %initial_state, ptr noundef %selected, ptr noundef %hash, i32 noundef %len, i32 noundef %line) unnamed_addr #23 { entry: %bounds.i.i = alloca %struct.nk_rect, align 8 %header.i = alloca %struct.nk_rect, align 8 @@ -49133,7 +49128,7 @@ nk_strlen.exit.i: ; preds = %while.body.i.i, %la %height88.i = getelementptr inbounds %struct.nk_user_font, ptr %91, i64 0, i32 1 %93 = load float, ptr %height88.i, align 8 %94 = load ptr, ptr %91, align 8 - %call89.i = call float %92(ptr %94, float noundef %93, ptr noundef %title, i32 noundef %siz.0.lcssa.i.i) #63 + %call89.i = call float %92(ptr %94, float noundef %93, ptr noundef %title, i32 noundef %siz.0.lcssa.i.i) #51 %95 = call float @llvm.fmuladd.f32(float %padding.sroa.0.0.copyload.i, float 4.000000e+00, float %call89.i) %w91.i = getelementptr inbounds %struct.nk_rect, ptr %header.i, i64 0, i32 2 %96 = load float, ptr %w91.i, align 8 @@ -49204,7 +49199,7 @@ if.end27.i.i: ; preds = %if.then25.i.i, %if. if.then29.i.i: ; preds = %if.end27.i.i %userdata.i.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 11, i32 20 %112 = load ptr, ptr %userdata.i.i, align 8 - call void %111(ptr noundef nonnull %buffer.i, ptr %112) #63 + call void %111(ptr noundef nonnull %buffer.i, ptr %112) #51 %.pre.i36 = load i32, ptr %selected, align 4 br label %if.end31.i.i @@ -49220,7 +49215,7 @@ if.end31.i.i: ; preds = %if.then29.i.i, %if. if.then33.i.i: ; preds = %if.end31.i.i %userdata35.i.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 11, i32 20 %116 = load ptr, ptr %userdata35.i.i, align 8 - call void %115(ptr noundef nonnull %buffer.i, ptr %116) #63 + call void %115(ptr noundef nonnull %buffer.i, ptr %116) #51 br label %nk_do_selectable.exit.i nk_do_selectable.exit.i: ; preds = %if.then33.i.i, %if.end31.i.i, %if.else142.i @@ -49270,14 +49265,14 @@ nk_tree_element_image_push_hashed_base.exit: ; preds = %nk_strlen.exit26, % } ; Function Attrs: nounwind uwtable -define i32 @nk_tree_element_image_push_hashed(ptr noundef %ctx, i32 noundef %type, ptr noundef byval(%struct.nk_image) align 8 %img, ptr noundef %title, i32 noundef %initial_state, ptr noundef %selected, ptr noundef %hash, i32 noundef %len, i32 noundef %seed) local_unnamed_addr #23 { +define i32 @nk_tree_element_image_push_hashed(ptr noundef %ctx, i32 noundef %type, ptr noundef byval(%struct.nk_image) align 8 %img, ptr noundef %title, i32 noundef %initial_state, ptr noundef %selected, ptr noundef %hash, i32 noundef %len, i32 noundef %seed) local_unnamed_addr #18 { entry: %call = call fastcc i32 @nk_tree_element_base(ptr noundef %ctx, i32 noundef %type, ptr noundef nonnull %img, ptr noundef %title, i32 noundef %initial_state, ptr noundef %selected, ptr noundef %hash, i32 noundef %len, i32 noundef %seed), !range !14 ret i32 %call } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_tree_element_pop(ptr noundef readonly %ctx) local_unnamed_addr #34 { +define void @nk_tree_element_pop(ptr noundef readonly %ctx) local_unnamed_addr #25 { entry: %tobool.not.i = icmp eq ptr %ctx, null br i1 %tobool.not.i, label %nk_tree_state_pop.exit, label %lor.lhs.false.i @@ -49325,7 +49320,7 @@ nk_tree_state_pop.exit: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_group_scrolled_offset_begin(ptr noundef %ctx, ptr noundef %x_offset, ptr noundef %y_offset, ptr noundef %title, i32 noundef %flags) local_unnamed_addr #23 { +define i32 @nk_group_scrolled_offset_begin(ptr noundef %ctx, ptr noundef %x_offset, ptr noundef %y_offset, ptr noundef %title, i32 noundef %flags) local_unnamed_addr #18 { entry: %bounds = alloca %struct.nk_rect, align 4 %panel = alloca %struct.nk_window, align 8 @@ -49461,7 +49456,7 @@ return: ; preds = %nk_create_panel.exi } ; Function Attrs: nounwind uwtable -define void @nk_group_scrolled_end(ptr noundef %ctx) local_unnamed_addr #31 { +define void @nk_group_scrolled_end(ptr noundef %ctx) local_unnamed_addr #23 { entry: %pan = alloca %struct.nk_window, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -49680,7 +49675,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_group_scrolled_begin(ptr noundef %ctx, ptr noundef %scroll, ptr noundef %title, i32 noundef %flags) local_unnamed_addr #23 { +define i32 @nk_group_scrolled_begin(ptr noundef %ctx, ptr noundef %scroll, ptr noundef %title, i32 noundef %flags) local_unnamed_addr #18 { entry: %y = getelementptr inbounds %struct.nk_scroll, ptr %scroll, i64 0, i32 1 %call = tail call i32 @nk_group_scrolled_offset_begin(ptr noundef %ctx, ptr noundef %scroll, ptr noundef nonnull %y, ptr noundef %title, i32 noundef %flags), !range !213 @@ -49688,7 +49683,7 @@ entry: } ; Function Attrs: nounwind uwtable -define i32 @nk_group_begin_titled(ptr noundef %ctx, ptr noundef %id, ptr noundef %title, i32 noundef %flags) local_unnamed_addr #23 { +define i32 @nk_group_begin_titled(ptr noundef %ctx, ptr noundef %id, ptr noundef %title, i32 noundef %flags) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -50002,21 +49997,21 @@ return: ; preds = %if.then6.i47, %nk_a } ; Function Attrs: nounwind uwtable -define i32 @nk_group_begin(ptr noundef %ctx, ptr noundef %title, i32 noundef %flags) local_unnamed_addr #23 { +define i32 @nk_group_begin(ptr noundef %ctx, ptr noundef %title, i32 noundef %flags) local_unnamed_addr #18 { entry: %call = tail call i32 @nk_group_begin_titled(ptr noundef %ctx, ptr noundef %title, ptr noundef %title, i32 noundef %flags), !range !213 ret i32 %call } ; Function Attrs: nounwind uwtable -define void @nk_group_end(ptr noundef %ctx) local_unnamed_addr #23 { +define void @nk_group_end(ptr noundef %ctx) local_unnamed_addr #18 { entry: tail call void @nk_group_scrolled_end(ptr noundef %ctx) ret void } ; Function Attrs: nounwind uwtable -define void @nk_group_get_scroll(ptr noundef %ctx, ptr noundef %id, ptr noundef writeonly %x_offset, ptr noundef writeonly %y_offset) local_unnamed_addr #23 { +define void @nk_group_get_scroll(ptr noundef %ctx, ptr noundef %id, ptr noundef writeonly %x_offset, ptr noundef writeonly %y_offset) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %if.end27, label %lor.lhs.false @@ -50343,7 +50338,7 @@ if.end27: ; preds = %if.then6.i48, %nk_a } ; Function Attrs: nounwind uwtable -define void @nk_group_set_scroll(ptr noundef %ctx, ptr noundef %id, i32 noundef %x_offset, i32 noundef %y_offset) local_unnamed_addr #23 { +define void @nk_group_set_scroll(ptr noundef %ctx, ptr noundef %id, i32 noundef %x_offset, i32 noundef %y_offset) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -50654,7 +50649,7 @@ return: ; preds = %if.then6.i46, %nk_a } ; Function Attrs: nounwind uwtable -define i32 @nk_list_view_begin(ptr noundef %ctx, ptr noundef %view, ptr noundef %title, i32 noundef %flags, i32 noundef %row_height, i32 noundef %row_count) local_unnamed_addr #23 { +define i32 @nk_list_view_begin(ptr noundef %ctx, ptr noundef %view, ptr noundef %title, i32 noundef %flags, i32 noundef %row_height, i32 noundef %row_count) local_unnamed_addr #18 { entry: %tobool = icmp ne ptr %ctx, null %tobool1 = icmp ne ptr %view, null @@ -51009,7 +51004,7 @@ return: ; preds = %if.then11, %if.then } ; Function Attrs: nounwind uwtable -define void @nk_list_view_end(ptr noundef readonly %view) local_unnamed_addr #23 { +define void @nk_list_view_end(ptr noundef readonly %view) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %view, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -51048,8 +51043,8 @@ return: ; preds = %entry, %lor.lhs.fal ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define { <2 x float>, <2 x float> } @nk_widget_bounds(ptr noundef readonly %ctx) local_unnamed_addr #49 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable +define { <2 x float>, <2 x float> } @nk_widget_bounds(ptr noundef readonly %ctx) local_unnamed_addr #38 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -51115,8 +51110,8 @@ return: ; preds = %lor.lhs.false2.i, % ret { <2 x float>, <2 x float> } %.fca.1.insert } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define <2 x float> @nk_widget_position(ptr noundef readonly %ctx) local_unnamed_addr #49 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable +define <2 x float> @nk_widget_position(ptr noundef readonly %ctx) local_unnamed_addr #38 { entry: %bounds = alloca %struct.nk_rect, align 16 %tobool.not = icmp eq ptr %ctx, null @@ -51185,8 +51180,8 @@ return: ; preds = %entry, %lor.lhs.fal ret <2 x float> %retval.sroa.0.0 } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define <2 x float> @nk_widget_size(ptr noundef readonly %ctx) local_unnamed_addr #49 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable +define <2 x float> @nk_widget_size(ptr noundef readonly %ctx) local_unnamed_addr #38 { entry: %bounds = alloca %struct.nk_rect, align 16 %tobool.not = icmp eq ptr %ctx, null @@ -51255,8 +51250,8 @@ return: ; preds = %entry, %lor.lhs.fal ret <2 x float> %retval.sroa.0.0 } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define float @nk_widget_width(ptr noundef readonly %ctx) local_unnamed_addr #49 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable +define float @nk_widget_width(ptr noundef readonly %ctx) local_unnamed_addr #38 { entry: %bounds = alloca %struct.nk_rect, align 4 %tobool.not = icmp eq ptr %ctx, null @@ -51305,8 +51300,8 @@ return: ; preds = %lor.lhs.false2.i, % ret float %retval.0 } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define float @nk_widget_height(ptr noundef readonly %ctx) local_unnamed_addr #49 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable +define float @nk_widget_height(ptr noundef readonly %ctx) local_unnamed_addr #38 { entry: %bounds = alloca %struct.nk_rect, align 4 %tobool.not = icmp eq ptr %ctx, null @@ -51355,8 +51350,8 @@ return: ; preds = %lor.lhs.false2.i, % ret float %retval.0 } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define i32 @nk_widget_is_hovered(ptr noundef readonly %ctx) local_unnamed_addr #49 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable +define i32 @nk_widget_is_hovered(ptr noundef readonly %ctx) local_unnamed_addr #38 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -51472,8 +51467,8 @@ return: ; preds = %land.rhs11.i, %land ret i32 %retval.0 } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define i32 @nk_widget_is_mouse_clicked(ptr noundef readonly %ctx, i32 noundef %btn) local_unnamed_addr #49 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable +define i32 @nk_widget_is_mouse_clicked(ptr noundef readonly %ctx, i32 noundef %btn) local_unnamed_addr #38 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -51568,8 +51563,8 @@ return: ; preds = %nk_layout_peek.exit ret i32 %retval.0 } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define i32 @nk_widget_has_mouse_click_down(ptr noundef readonly %ctx, i32 noundef %btn, i32 noundef %down) local_unnamed_addr #49 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable +define i32 @nk_widget_has_mouse_click_down(ptr noundef readonly %ctx, i32 noundef %btn, i32 noundef %down) local_unnamed_addr #38 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -51665,7 +51660,7 @@ return: ; preds = %nk_layout_peek.exit } ; Function Attrs: nounwind uwtable -define void @nk_spacing(ptr noundef %ctx, i32 noundef %cols) local_unnamed_addr #31 { +define void @nk_spacing(ptr noundef %ctx, i32 noundef %cols) local_unnamed_addr #23 { entry: %none = alloca %struct.nk_rect, align 4 %tobool.not = icmp eq ptr %ctx, null @@ -51799,7 +51794,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define void @nk_widget_disable_begin(ptr noundef %ctx) local_unnamed_addr #27 { +define void @nk_widget_disable_begin(ptr noundef %ctx) local_unnamed_addr #21 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -51972,7 +51967,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define void @nk_widget_disable_end(ptr noundef %ctx) local_unnamed_addr #27 { +define void @nk_widget_disable_end(ptr noundef %ctx) local_unnamed_addr #21 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -52083,7 +52078,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define void @nk_text_colored(ptr noundef %ctx, ptr noundef %str, i32 noundef %len, i32 noundef %alignment, i32 %color.coerce) local_unnamed_addr #31 { +define void @nk_text_colored(ptr noundef %ctx, ptr noundef %str, i32 noundef %len, i32 noundef %alignment, i32 %color.coerce) local_unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -52166,7 +52161,7 @@ nk_rgb_factor.exit: ; preds = %if.end, %if.end.i %width.i = getelementptr inbounds %struct.nk_user_font, ptr %4, i64 0, i32 2 %10 = load ptr, ptr %width.i, align 8 %11 = load ptr, ptr %4, align 8 - %call.i = tail call float %10(ptr %11, float noundef %8, ptr noundef %str, i32 noundef %len) #63 + %call.i = tail call float %10(ptr %11, float noundef %8, ptr noundef %str, i32 noundef %len) #51 %12 = tail call float @llvm.fmuladd.f32(float %item_padding.sroa.0.0.copyload, float 2.000000e+00, float %call.i) %and.i = and i32 %alignment, 1 %tobool30.not.i = icmp eq i32 %and.i, 0 @@ -52279,7 +52274,7 @@ return: ; preds = %if.end207.i, %if.el } ; Function Attrs: nounwind uwtable -define void @nk_text_wrap_colored(ptr noundef %ctx, ptr noundef %str, i32 noundef %len, i32 %color.coerce) local_unnamed_addr #31 { +define void @nk_text_wrap_colored(ptr noundef %ctx, ptr noundef %str, i32 noundef %len, i32 %color.coerce) local_unnamed_addr #23 { entry: %width.i = alloca float, align 4 %glyphs.i = alloca i32, align 4 @@ -52397,7 +52392,7 @@ nk_widget_text.exit.i: ; preds = %lor.lhs.false50.i %18 = load float, ptr %height.i, align 8 %19 = load ptr, ptr %width.i.i, align 8 %20 = load ptr, ptr %5, align 8 - %call.i.i = tail call float %19(ptr %20, float noundef %18, ptr noundef %arrayidx.i, i32 noundef %fitting.059.i) #63 + %call.i.i = tail call float %19(ptr %20, float noundef %18, ptr noundef %arrayidx.i, i32 noundef %fitting.059.i) #51 %b.sroa.0.0.vec.extract.i.i = extractelement <2 x float> %line.sroa.0.061.i, i64 0 %add35.i.i = fadd float %b.sroa.0.0.vec.extract.i.i, 0.000000e+00 %21 = insertelement <2 x float> poison, float %add35.i.i, i64 0 @@ -52436,7 +52431,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define void @nk_text(ptr noundef %ctx, ptr noundef %str, i32 noundef %len, i32 noundef %alignment) local_unnamed_addr #23 { +define void @nk_text(ptr noundef %ctx, ptr noundef %str, i32 noundef %len, i32 noundef %alignment) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -52452,7 +52447,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: nounwind uwtable -define void @nk_text_wrap(ptr noundef %ctx, ptr noundef %str, i32 noundef %len) local_unnamed_addr #23 { +define void @nk_text_wrap(ptr noundef %ctx, ptr noundef %str, i32 noundef %len) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -52468,7 +52463,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: nounwind uwtable -define void @nk_label(ptr noundef %ctx, ptr noundef %str, i32 noundef %alignment) local_unnamed_addr #23 { +define void @nk_label(ptr noundef %ctx, ptr noundef %str, i32 noundef %alignment) local_unnamed_addr #18 { entry: %tobool.not3.i = icmp eq ptr %str, null br i1 %tobool.not3.i, label %nk_strlen.exit, label %land.rhs.i.preheader @@ -52503,7 +52498,7 @@ nk_text.exit: ; preds = %nk_strlen.exit, %if } ; Function Attrs: nounwind uwtable -define void @nk_label_colored(ptr noundef %ctx, ptr noundef %str, i32 noundef %align, i32 %color.coerce) local_unnamed_addr #23 { +define void @nk_label_colored(ptr noundef %ctx, ptr noundef %str, i32 noundef %align, i32 %color.coerce) local_unnamed_addr #18 { entry: %tobool.not3.i = icmp eq ptr %str, null br i1 %tobool.not3.i, label %nk_strlen.exit, label %land.rhs.i.preheader @@ -52529,7 +52524,7 @@ nk_strlen.exit: ; preds = %while.body.i, %land } ; Function Attrs: nounwind uwtable -define void @nk_label_wrap(ptr noundef %ctx, ptr noundef %str) local_unnamed_addr #23 { +define void @nk_label_wrap(ptr noundef %ctx, ptr noundef %str) local_unnamed_addr #18 { entry: %tobool.not3.i = icmp eq ptr %str, null br i1 %tobool.not3.i, label %nk_strlen.exit, label %land.rhs.i.preheader @@ -52564,7 +52559,7 @@ nk_text_wrap.exit: ; preds = %nk_strlen.exit, %if } ; Function Attrs: nounwind uwtable -define void @nk_label_colored_wrap(ptr noundef %ctx, ptr noundef %str, i32 %color.coerce) local_unnamed_addr #23 { +define void @nk_label_colored_wrap(ptr noundef %ctx, ptr noundef %str, i32 %color.coerce) local_unnamed_addr #18 { entry: %tobool.not3.i = icmp eq ptr %str, null br i1 %tobool.not3.i, label %nk_strlen.exit, label %land.rhs.i.preheader @@ -52598,7 +52593,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_subimage_ptr(ptr noalias nocapture writeonly sret(%struct.nk_image) align 8 %agg.result, ptr noundef %ptr, i16 noundef zeroext %w, i16 noundef zeroext %h, <2 x float> %r.coerce0, <2 x float> %r.coerce1) local_unnamed_addr #50 { +define void @nk_subimage_ptr(ptr noalias nocapture writeonly sret(%struct.nk_image) align 8 %agg.result, ptr noundef %ptr, i16 noundef zeroext %w, i16 noundef zeroext %h, <2 x float> %r.coerce0, <2 x float> %r.coerce1) local_unnamed_addr #4 { entry: %0 = getelementptr inbounds i8, ptr %agg.result, i64 16 store i64 0, ptr %0, align 8 @@ -52614,7 +52609,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_subimage_id(ptr noalias nocapture writeonly sret(%struct.nk_image) align 8 %agg.result, i32 noundef %id, i16 noundef zeroext %w, i16 noundef zeroext %h, <2 x float> %r.coerce0, <2 x float> %r.coerce1) local_unnamed_addr #4 { entry: tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %agg.result, i8 0, i64 24, i1 false) @@ -52631,7 +52626,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_subimage_handle(ptr noalias nocapture writeonly sret(%struct.nk_image) align 8 %agg.result, ptr %handle.coerce, i16 noundef zeroext %w, i16 noundef zeroext %h, <2 x float> %r.coerce0, <2 x float> %r.coerce1) local_unnamed_addr #50 { +define void @nk_subimage_handle(ptr noalias nocapture writeonly sret(%struct.nk_image) align 8 %agg.result, ptr %handle.coerce, i16 noundef zeroext %w, i16 noundef zeroext %h, <2 x float> %r.coerce0, <2 x float> %r.coerce1) local_unnamed_addr #4 { entry: %0 = getelementptr inbounds i8, ptr %agg.result, i64 16 store i64 0, ptr %0, align 8 @@ -52647,8 +52642,8 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_image_handle(ptr noalias nocapture writeonly sret(%struct.nk_image) align 8 %agg.result, ptr %handle.coerce) local_unnamed_addr #24 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable +define void @nk_image_handle(ptr noalias nocapture writeonly sret(%struct.nk_image) align 8 %agg.result, ptr %handle.coerce) local_unnamed_addr #10 { entry: %0 = getelementptr inbounds i8, ptr %agg.result, i64 16 store i64 0, ptr %0, align 8 @@ -52658,8 +52653,8 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_image_ptr(ptr noalias nocapture writeonly sret(%struct.nk_image) align 8 %agg.result, ptr noundef %ptr) local_unnamed_addr #24 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable +define void @nk_image_ptr(ptr noalias nocapture writeonly sret(%struct.nk_image) align 8 %agg.result, ptr noundef %ptr) local_unnamed_addr #10 { entry: %0 = getelementptr inbounds i8, ptr %agg.result, i64 16 store i64 0, ptr %0, align 8 @@ -52669,8 +52664,8 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_image_id(ptr noalias nocapture writeonly sret(%struct.nk_image) align 8 %agg.result, i32 noundef %id) local_unnamed_addr #24 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable +define void @nk_image_id(ptr noalias nocapture writeonly sret(%struct.nk_image) align 8 %agg.result, i32 noundef %id) local_unnamed_addr #10 { entry: tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %agg.result, i8 0, i64 24, i1 false) store i32 %id, ptr %agg.result, align 8 @@ -52680,7 +52675,7 @@ entry: } ; Function Attrs: nounwind uwtable -define void @nk_image(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img) local_unnamed_addr #31 { +define void @nk_image(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img) local_unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -52716,7 +52711,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: nounwind uwtable -define void @nk_image_color(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, i32 %col.coerce) local_unnamed_addr #31 { +define void @nk_image_color(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, i32 %col.coerce) local_unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -52752,7 +52747,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_sub9slice_ptr(ptr noalias nocapture writeonly sret(%struct.nk_nine_slice) align 8 %agg.result, ptr noundef %ptr, i16 noundef zeroext %w, i16 noundef zeroext %h, <2 x float> %rgn.coerce0, <2 x float> %rgn.coerce1, i16 noundef zeroext %l, i16 noundef zeroext %t, i16 noundef zeroext %r, i16 noundef zeroext %b) local_unnamed_addr #50 { +define void @nk_sub9slice_ptr(ptr noalias nocapture writeonly sret(%struct.nk_nine_slice) align 8 %agg.result, ptr noundef %ptr, i16 noundef zeroext %w, i16 noundef zeroext %h, <2 x float> %rgn.coerce0, <2 x float> %rgn.coerce1, i16 noundef zeroext %l, i16 noundef zeroext %t, i16 noundef zeroext %r, i16 noundef zeroext %b) local_unnamed_addr #4 { entry: %0 = getelementptr inbounds i8, ptr %agg.result, i64 16 store i64 0, ptr %0, align 8 @@ -52776,7 +52771,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_sub9slice_id(ptr noalias nocapture writeonly sret(%struct.nk_nine_slice) align 8 %agg.result, i32 noundef %id, i16 noundef zeroext %w, i16 noundef zeroext %h, <2 x float> %rgn.coerce0, <2 x float> %rgn.coerce1, i16 noundef zeroext %l, i16 noundef zeroext %t, i16 noundef zeroext %r, i16 noundef zeroext %b) local_unnamed_addr #4 { entry: tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %agg.result, i8 0, i64 24, i1 false) @@ -52801,7 +52796,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_sub9slice_handle(ptr noalias nocapture writeonly sret(%struct.nk_nine_slice) align 8 %agg.result, ptr %handle.coerce, i16 noundef zeroext %w, i16 noundef zeroext %h, <2 x float> %rgn.coerce0, <2 x float> %rgn.coerce1, i16 noundef zeroext %l, i16 noundef zeroext %t, i16 noundef zeroext %r, i16 noundef zeroext %b) local_unnamed_addr #50 { +define void @nk_sub9slice_handle(ptr noalias nocapture writeonly sret(%struct.nk_nine_slice) align 8 %agg.result, ptr %handle.coerce, i16 noundef zeroext %w, i16 noundef zeroext %h, <2 x float> %rgn.coerce0, <2 x float> %rgn.coerce1, i16 noundef zeroext %l, i16 noundef zeroext %t, i16 noundef zeroext %r, i16 noundef zeroext %b) local_unnamed_addr #4 { entry: %0 = getelementptr inbounds i8, ptr %agg.result, i64 16 store i64 0, ptr %0, align 8 @@ -52825,8 +52820,8 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_nine_slice_handle(ptr noalias nocapture writeonly sret(%struct.nk_nine_slice) align 8 %agg.result, ptr %handle.coerce, i16 noundef zeroext %l, i16 noundef zeroext %t, i16 noundef zeroext %r, i16 noundef zeroext %b) local_unnamed_addr #24 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable +define void @nk_nine_slice_handle(ptr noalias nocapture writeonly sret(%struct.nk_nine_slice) align 8 %agg.result, ptr %handle.coerce, i16 noundef zeroext %l, i16 noundef zeroext %t, i16 noundef zeroext %r, i16 noundef zeroext %b) local_unnamed_addr #10 { entry: %0 = getelementptr inbounds i8, ptr %agg.result, i64 16 store i64 0, ptr %0, align 8 @@ -52844,8 +52839,8 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_nine_slice_ptr(ptr noalias nocapture writeonly sret(%struct.nk_nine_slice) align 8 %agg.result, ptr noundef %ptr, i16 noundef zeroext %l, i16 noundef zeroext %t, i16 noundef zeroext %r, i16 noundef zeroext %b) local_unnamed_addr #24 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable +define void @nk_nine_slice_ptr(ptr noalias nocapture writeonly sret(%struct.nk_nine_slice) align 8 %agg.result, ptr noundef %ptr, i16 noundef zeroext %l, i16 noundef zeroext %t, i16 noundef zeroext %r, i16 noundef zeroext %b) local_unnamed_addr #10 { entry: %0 = getelementptr inbounds i8, ptr %agg.result, i64 16 store i64 0, ptr %0, align 8 @@ -52863,8 +52858,8 @@ entry: ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_nine_slice_id(ptr noalias nocapture writeonly sret(%struct.nk_nine_slice) align 8 %agg.result, i32 noundef %id, i16 noundef zeroext %l, i16 noundef zeroext %t, i16 noundef zeroext %r, i16 noundef zeroext %b) local_unnamed_addr #24 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable +define void @nk_nine_slice_id(ptr noalias nocapture writeonly sret(%struct.nk_nine_slice) align 8 %agg.result, i32 noundef %id, i16 noundef zeroext %l, i16 noundef zeroext %t, i16 noundef zeroext %r, i16 noundef zeroext %b) local_unnamed_addr #10 { entry: tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %agg.result, i8 0, i64 24, i1 false) store i32 %id, ptr %agg.result, align 8 @@ -52882,7 +52877,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define i32 @nk_nine_slice_is_sub9slice(ptr nocapture noundef readonly %slice) local_unnamed_addr #14 { +define i32 @nk_nine_slice_is_sub9slice(ptr nocapture noundef readonly %slice) local_unnamed_addr #11 { entry: %w = getelementptr inbounds %struct.nk_image, ptr %slice, i64 0, i32 1 %0 = load i16, ptr %w, align 8 @@ -52902,7 +52897,7 @@ land.end: ; preds = %land.rhs, %entry } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @nk_button_set_behavior(ptr noundef writeonly %ctx, i32 noundef %behavior) local_unnamed_addr #12 { +define void @nk_button_set_behavior(ptr noundef writeonly %ctx, i32 noundef %behavior) local_unnamed_addr #10 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -52917,7 +52912,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define i32 @nk_button_push_behavior(ptr noundef %ctx, i32 noundef %behavior) local_unnamed_addr #29 { +define i32 @nk_button_push_behavior(ptr noundef %ctx, i32 noundef %behavior) local_unnamed_addr #22 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -52947,7 +52942,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define i32 @nk_button_pop_behavior(ptr noundef %ctx) local_unnamed_addr #27 { +define i32 @nk_button_pop_behavior(ptr noundef %ctx) local_unnamed_addr #21 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -52975,7 +52970,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: nounwind uwtable -define i32 @nk_button_text_styled(ptr noundef %ctx, ptr noundef %style, ptr noundef %title, i32 noundef %len) local_unnamed_addr #31 { +define i32 @nk_button_text_styled(ptr noundef %ctx, ptr noundef %style, ptr noundef %title, i32 noundef %len) local_unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool = icmp ne ptr %style, null @@ -53032,7 +53027,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_button_text(ptr noundef %ctx, ptr noundef %title, i32 noundef %len) local_unnamed_addr #31 { +define i32 @nk_button_text(ptr noundef %ctx, ptr noundef %title, i32 noundef %len) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -53094,7 +53089,7 @@ return: ; preds = %entry, %nk_button_t } ; Function Attrs: nounwind uwtable -define i32 @nk_button_label_styled(ptr noundef %ctx, ptr noundef %style, ptr noundef %title) local_unnamed_addr #31 { +define i32 @nk_button_label_styled(ptr noundef %ctx, ptr noundef %style, ptr noundef %title) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %tobool.not3.i = icmp eq ptr %title, null @@ -53172,7 +53167,7 @@ nk_button_text_styled.exit: ; preds = %nk_strlen.exit, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_button_label(ptr noundef %ctx, ptr noundef %title) local_unnamed_addr #31 { +define i32 @nk_button_label(ptr noundef %ctx, ptr noundef %title) local_unnamed_addr #23 { entry: %bounds.i.i = alloca %struct.nk_rect, align 8 %tobool.not3.i = icmp eq ptr %title, null @@ -53253,7 +53248,7 @@ nk_button_text.exit: ; preds = %nk_strlen.exit, %nk } ; Function Attrs: nounwind uwtable -define i32 @nk_button_color(ptr noundef %ctx, i32 %color.coerce) local_unnamed_addr #31 { +define i32 @nk_button_color(ptr noundef %ctx, i32 %color.coerce) local_unnamed_addr #23 { entry: %button = alloca %struct.nk_style_button, align 8 %bounds = alloca %struct.nk_rect, align 8 @@ -53324,7 +53319,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: nounwind uwtable -define internal fastcc ptr @nk_draw_button(ptr noundef %out, ptr nocapture noundef readonly %bounds, i32 noundef %state, ptr noundef readonly %style) unnamed_addr #31 { +define internal fastcc ptr @nk_draw_button(ptr noundef %out, ptr nocapture noundef readonly %bounds, i32 noundef %state, ptr noundef readonly %style) unnamed_addr #23 { entry: %and = and i32 %state, 16 %tobool.not = icmp eq i32 %and, 0 @@ -53474,7 +53469,7 @@ sw.epilog: ; preds = %nk_rgb_factor.exit9 } ; Function Attrs: nounwind uwtable -define i32 @nk_button_symbol_styled(ptr noundef %ctx, ptr noundef %style, i32 noundef %symbol) local_unnamed_addr #31 { +define i32 @nk_button_symbol_styled(ptr noundef %ctx, ptr noundef %style, i32 noundef %symbol) local_unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -53527,7 +53522,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_button_symbol(ptr noundef %ctx, i32 noundef %symbol) local_unnamed_addr #31 { +define i32 @nk_button_symbol(ptr noundef %ctx, i32 noundef %symbol) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -53587,7 +53582,7 @@ return: ; preds = %entry, %nk_button_s } ; Function Attrs: nounwind uwtable -define i32 @nk_button_image_styled(ptr noundef %ctx, ptr noundef %style, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img) local_unnamed_addr #31 { +define i32 @nk_button_image_styled(ptr noundef %ctx, ptr noundef %style, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %img12 = alloca %struct.nk_image, align 8 @@ -53676,7 +53671,7 @@ nk_do_button.exit.i: ; preds = %cond.end if.then13.i: ; preds = %nk_do_button.exit.i %userdata.i = getelementptr inbounds %struct.nk_style_button, ptr %style, i64 0, i32 17 %30 = load ptr, ptr %userdata.i, align 8 - tail call void %29(ptr noundef nonnull %buffer, ptr %30) #63 + tail call void %29(ptr noundef nonnull %buffer, ptr %30) #51 br label %if.end15.i if.end15.i: ; preds = %if.then13.i, %nk_do_button.exit.i @@ -53700,7 +53695,7 @@ if.end15.i: ; preds = %if.then13.i, %nk_do if.then17.i: ; preds = %if.end15.i %userdata19.i = getelementptr inbounds %struct.nk_style_button, ptr %style, i64 0, i32 17 %37 = load ptr, ptr %userdata19.i, align 8 - tail call void %36(ptr noundef nonnull %buffer, ptr %37) #63 + tail call void %36(ptr noundef nonnull %buffer, ptr %37) #51 br label %nk_do_button_image.exit nk_do_button_image.exit: ; preds = %cond.end, %if.end15.i, %if.then17.i @@ -53715,7 +53710,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_button_image(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img) local_unnamed_addr #23 { +define i32 @nk_button_image(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %if.end @@ -53731,7 +53726,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: nounwind uwtable -define i32 @nk_button_symbol_text_styled(ptr noundef %ctx, ptr noundef %style, i32 noundef %symbol, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #31 { +define i32 @nk_button_symbol_text_styled(ptr noundef %ctx, ptr noundef %style, i32 noundef %symbol, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -53784,7 +53779,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_button_symbol_text(ptr noundef %ctx, i32 noundef %symbol, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #31 { +define i32 @nk_button_symbol_text(ptr noundef %ctx, i32 noundef %symbol, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -53844,7 +53839,7 @@ return: ; preds = %entry, %nk_button_s } ; Function Attrs: nounwind uwtable -define i32 @nk_button_symbol_label(ptr noundef %ctx, i32 noundef %symbol, ptr noundef %label, i32 noundef %align) local_unnamed_addr #31 { +define i32 @nk_button_symbol_label(ptr noundef %ctx, i32 noundef %symbol, ptr noundef %label, i32 noundef %align) local_unnamed_addr #23 { entry: %bounds.i.i = alloca %struct.nk_rect, align 8 %tobool.not3.i = icmp eq ptr %label, null @@ -53923,7 +53918,7 @@ nk_button_symbol_text.exit: ; preds = %nk_strlen.exit, %nk } ; Function Attrs: nounwind uwtable -define i32 @nk_button_symbol_label_styled(ptr noundef %ctx, ptr noundef %style, i32 noundef %symbol, ptr noundef %title, i32 noundef %align) local_unnamed_addr #31 { +define i32 @nk_button_symbol_label_styled(ptr noundef %ctx, ptr noundef %style, i32 noundef %symbol, ptr noundef %title, i32 noundef %align) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %tobool.not3.i = icmp eq ptr %title, null @@ -53997,7 +53992,7 @@ nk_button_symbol_text_styled.exit: ; preds = %nk_strlen.exit, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_button_image_text_styled(ptr noundef %ctx, ptr noundef %style, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #31 { +define i32 @nk_button_image_text_styled(ptr noundef %ctx, ptr noundef %style, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -54050,7 +54045,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_button_image_text(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #31 { +define i32 @nk_button_image_text(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %button = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 6 @@ -54106,7 +54101,7 @@ nk_button_image_text_styled.exit: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_button_image_label(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %label, i32 noundef %align) local_unnamed_addr #31 { +define i32 @nk_button_image_label(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %label, i32 noundef %align) local_unnamed_addr #23 { entry: %bounds.i.i = alloca %struct.nk_rect, align 8 %tobool.not3.i = icmp eq ptr %label, null @@ -54181,7 +54176,7 @@ nk_button_image_text.exit: ; preds = %nk_strlen.exit, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_button_image_label_styled(ptr noundef %ctx, ptr noundef %style, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %label, i32 noundef %text_alignment) local_unnamed_addr #31 { +define i32 @nk_button_image_label_styled(ptr noundef %ctx, ptr noundef %style, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %label, i32 noundef %text_alignment) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %tobool.not3.i = icmp eq ptr %label, null @@ -54255,7 +54250,7 @@ nk_button_image_text_styled.exit: ; preds = %nk_strlen.exit, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_check_text(ptr noundef %ctx, ptr noundef %text, i32 noundef %len, i32 noundef %active) local_unnamed_addr #31 { +define i32 @nk_check_text(ptr noundef %ctx, ptr noundef %text, i32 noundef %len, i32 noundef %active) local_unnamed_addr #23 { entry: %active.addr = alloca i32, align 4 %bounds = alloca %struct.nk_rect, align 8 @@ -54310,7 +54305,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: nounwind uwtable -define internal fastcc void @nk_do_toggle(ptr nocapture noundef %state, ptr noundef %out, <2 x float> %r.coerce0, <2 x float> %r.coerce1, ptr noundef %active, ptr noundef %str, i32 noundef %len, i32 noundef %type, ptr noundef readonly %style, ptr noundef %in, ptr noundef %font) unnamed_addr #31 { +define internal fastcc void @nk_do_toggle(ptr nocapture noundef %state, ptr noundef %out, <2 x float> %r.coerce0, <2 x float> %r.coerce1, ptr noundef %active, ptr noundef %str, i32 noundef %len, i32 noundef %type, ptr noundef readonly %style, ptr noundef %in, ptr noundef %font) unnamed_addr #23 { entry: %0 = extractelement <2 x float> %r.coerce0, i64 0 %1 = insertelement <4 x ptr> poison, ptr %style, i64 0 @@ -54473,7 +54468,7 @@ nk_toggle_behavior.exit: ; preds = %if.else10.i, %if.en if.then104: ; preds = %nk_toggle_behavior.exit %userdata = getelementptr inbounds %struct.nk_style_toggle, ptr %style, i64 0, i32 17 %49 = load ptr, ptr %userdata, align 8 - tail call void %48(ptr noundef nonnull %out, ptr %49) #63 + tail call void %48(ptr noundef nonnull %out, ptr %49) #51 br label %if.end106 if.end106: ; preds = %if.then104, %nk_toggle_behavior.exit @@ -54686,7 +54681,7 @@ nk_draw_checkbox.exit: ; preds = %if.else36.i, %if.th %width.i.i = getelementptr inbounds %struct.nk_user_font, ptr %font, i64 0, i32 2 %70 = load ptr, ptr %width.i.i, align 8 %71 = load ptr, ptr %font, align 8 - %call.i.i = tail call float %70(ptr %71, float noundef %69, ptr noundef %str, i32 noundef %len) #63 + %call.i.i = tail call float %70(ptr %71, float noundef %69, ptr noundef %str, i32 noundef %len) #51 %add35.i.i = fadd float %add81, 0.000000e+00 %72 = insertelement <2 x float> poison, float %add35.i.i, i64 0 %div164.i.i = fmul float %mul.b.sroa.14.12.vec.extract.i.i, 5.000000e-01 @@ -54907,7 +54902,7 @@ nk_draw_option.exit: ; preds = %if.else36.i141, %if %width.i.i151 = getelementptr inbounds %struct.nk_user_font, ptr %font, i64 0, i32 2 %97 = load ptr, ptr %width.i.i151, align 8 %98 = load ptr, ptr %font, align 8 - %call.i.i152 = tail call float %97(ptr %98, float noundef %96, ptr noundef %str, i32 noundef %len) #63 + %call.i.i152 = tail call float %97(ptr %98, float noundef %96, ptr noundef %str, i32 noundef %len) #51 %add35.i.i154 = fadd float %add81, 0.000000e+00 %99 = insertelement <2 x float> poison, float %add35.i.i154, i64 0 %div164.i.i158 = fmul float %mul.b.sroa.14.12.vec.extract.i.i148, 5.000000e-01 @@ -54935,7 +54930,7 @@ if.end109: ; preds = %nk_draw_option.exit if.then111: ; preds = %if.end109 %userdata113 = getelementptr inbounds %struct.nk_style_toggle, ptr %style, i64 0, i32 17 %107 = load ptr, ptr %userdata113, align 8 - tail call void %106(ptr noundef nonnull %out, ptr %107) #63 + tail call void %106(ptr noundef nonnull %out, ptr %107) #51 br label %return return: ; preds = %if.end109, %if.then111, %entry @@ -54943,7 +54938,7 @@ return: ; preds = %if.end109, %if.then } ; Function Attrs: nounwind uwtable -define i32 @nk_check_flags_text(ptr noundef %ctx, ptr noundef %text, i32 noundef %len, i32 noundef %flags, i32 noundef %value) local_unnamed_addr #31 { +define i32 @nk_check_flags_text(ptr noundef %ctx, ptr noundef %text, i32 noundef %len, i32 noundef %flags, i32 noundef %value) local_unnamed_addr #23 { entry: %active.addr.i = alloca i32, align 4 %bounds.i = alloca %struct.nk_rect, align 8 @@ -55014,7 +55009,7 @@ return: ; preds = %entry, %nk_check_te } ; Function Attrs: nounwind uwtable -define i32 @nk_checkbox_text(ptr noundef %ctx, ptr noundef %text, i32 noundef %len, ptr noundef %active) local_unnamed_addr #31 { +define i32 @nk_checkbox_text(ptr noundef %ctx, ptr noundef %text, i32 noundef %len, ptr noundef %active) local_unnamed_addr #23 { entry: %active.addr.i = alloca i32, align 4 %bounds.i = alloca %struct.nk_rect, align 8 @@ -55085,7 +55080,7 @@ return: ; preds = %entry, %nk_check_te } ; Function Attrs: nounwind uwtable -define i32 @nk_checkbox_flags_text(ptr noundef %ctx, ptr noundef %text, i32 noundef %len, ptr noundef %flags, i32 noundef %value) local_unnamed_addr #31 { +define i32 @nk_checkbox_flags_text(ptr noundef %ctx, ptr noundef %text, i32 noundef %len, ptr noundef %flags, i32 noundef %value) local_unnamed_addr #23 { entry: %active.addr.i.i = alloca i32, align 4 %bounds.i.i = alloca %struct.nk_rect, align 8 @@ -55176,7 +55171,7 @@ return: ; preds = %nk_checkbox_text.ex } ; Function Attrs: nounwind uwtable -define i32 @nk_check_label(ptr noundef %ctx, ptr noundef %label, i32 noundef %active) local_unnamed_addr #31 { +define i32 @nk_check_label(ptr noundef %ctx, ptr noundef %label, i32 noundef %active) local_unnamed_addr #23 { entry: %active.addr.i = alloca i32, align 4 %bounds.i = alloca %struct.nk_rect, align 8 @@ -55254,7 +55249,7 @@ nk_check_text.exit: ; preds = %nk_strlen.exit, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_check_flags_label(ptr noundef %ctx, ptr noundef %label, i32 noundef %flags, i32 noundef %value) local_unnamed_addr #31 { +define i32 @nk_check_flags_label(ptr noundef %ctx, ptr noundef %label, i32 noundef %flags, i32 noundef %value) local_unnamed_addr #23 { entry: %active.addr.i.i = alloca i32, align 4 %bounds.i.i = alloca %struct.nk_rect, align 8 @@ -55342,7 +55337,7 @@ nk_check_flags_text.exit: ; preds = %entry, %nk_strlen.e } ; Function Attrs: nounwind uwtable -define i32 @nk_checkbox_label(ptr noundef %ctx, ptr noundef %label, ptr noundef %active) local_unnamed_addr #31 { +define i32 @nk_checkbox_label(ptr noundef %ctx, ptr noundef %label, ptr noundef %active) local_unnamed_addr #23 { entry: %active.addr.i.i = alloca i32, align 4 %bounds.i.i = alloca %struct.nk_rect, align 8 @@ -55430,7 +55425,7 @@ nk_checkbox_text.exit: ; preds = %entry, %nk_strlen.e } ; Function Attrs: nounwind uwtable -define i32 @nk_checkbox_flags_label(ptr noundef %ctx, ptr noundef %label, ptr noundef %flags, i32 noundef %value) local_unnamed_addr #23 { +define i32 @nk_checkbox_flags_label(ptr noundef %ctx, ptr noundef %label, ptr noundef %flags, i32 noundef %value) local_unnamed_addr #18 { entry: %tobool.not3.i = icmp eq ptr %label, null br i1 %tobool.not3.i, label %nk_strlen.exit, label %land.rhs.i.preheader @@ -55456,7 +55451,7 @@ nk_strlen.exit: ; preds = %while.body.i, %land } ; Function Attrs: nounwind uwtable -define i32 @nk_option_text(ptr noundef %ctx, ptr noundef %text, i32 noundef %len, i32 noundef %is_active) local_unnamed_addr #31 { +define i32 @nk_option_text(ptr noundef %ctx, ptr noundef %text, i32 noundef %len, i32 noundef %is_active) local_unnamed_addr #23 { entry: %is_active.addr = alloca i32, align 4 %bounds = alloca %struct.nk_rect, align 8 @@ -55511,7 +55506,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_radio_text(ptr noundef %ctx, ptr noundef %text, i32 noundef %len, ptr noundef %active) local_unnamed_addr #31 { +define i32 @nk_radio_text(ptr noundef %ctx, ptr noundef %text, i32 noundef %len, ptr noundef %active) local_unnamed_addr #23 { entry: %is_active.addr.i = alloca i32, align 4 %bounds.i = alloca %struct.nk_rect, align 8 @@ -55582,7 +55577,7 @@ return: ; preds = %entry, %nk_option_t } ; Function Attrs: nounwind uwtable -define i32 @nk_option_label(ptr noundef %ctx, ptr noundef %label, i32 noundef %active) local_unnamed_addr #31 { +define i32 @nk_option_label(ptr noundef %ctx, ptr noundef %label, i32 noundef %active) local_unnamed_addr #23 { entry: %is_active.addr.i = alloca i32, align 4 %bounds.i = alloca %struct.nk_rect, align 8 @@ -55660,7 +55655,7 @@ nk_option_text.exit: ; preds = %nk_strlen.exit, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_radio_label(ptr noundef %ctx, ptr noundef %label, ptr noundef %active) local_unnamed_addr #31 { +define i32 @nk_radio_label(ptr noundef %ctx, ptr noundef %label, ptr noundef %active) local_unnamed_addr #23 { entry: %is_active.addr.i.i = alloca i32, align 4 %bounds.i.i = alloca %struct.nk_rect, align 8 @@ -55748,7 +55743,7 @@ nk_radio_text.exit: ; preds = %entry, %nk_strlen.e } ; Function Attrs: nounwind uwtable -define i32 @nk_selectable_text(ptr noundef %ctx, ptr noundef %str, i32 noundef %len, i32 noundef %align, ptr noundef %value) local_unnamed_addr #31 { +define i32 @nk_selectable_text(ptr noundef %ctx, ptr noundef %str, i32 noundef %len, i32 noundef %align, ptr noundef %value) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %bounds = alloca %struct.nk_rect, align 8 @@ -55831,7 +55826,7 @@ if.end27.i: ; preds = %if.then25.i, %if.en if.then29.i: ; preds = %if.end27.i %userdata.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 11, i32 20 %14 = load ptr, ptr %userdata.i, align 8 - tail call void %13(ptr noundef nonnull %buffer, ptr %14) #63 + tail call void %13(ptr noundef nonnull %buffer, ptr %14) #51 br label %if.end31.i if.end31.i: ; preds = %if.then29.i, %if.end27.i @@ -55846,7 +55841,7 @@ if.end31.i: ; preds = %if.then29.i, %if.en if.then33.i: ; preds = %if.end31.i %userdata35.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 11, i32 20 %18 = load ptr, ptr %userdata35.i, align 8 - tail call void %17(ptr noundef nonnull %buffer, ptr %18) #63 + tail call void %17(ptr noundef nonnull %buffer, ptr %18) #51 br label %if.end37.i if.end37.i: ; preds = %if.then33.i, %if.end31.i @@ -55866,7 +55861,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_selectable_image_text(ptr noundef %ctx, ptr noundef byval(%struct.nk_image) align 8 %img, ptr noundef %str, i32 noundef %len, i32 noundef %align, ptr noundef %value) local_unnamed_addr #31 { +define i32 @nk_selectable_image_text(ptr noundef %ctx, ptr noundef byval(%struct.nk_image) align 8 %img, ptr noundef %str, i32 noundef %len, i32 noundef %align, ptr noundef %value) local_unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -55920,7 +55915,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: nounwind uwtable -define internal fastcc i32 @nk_do_selectable_image(ptr noundef %state, ptr noundef %out, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1, ptr noundef %str, i32 noundef %len, i32 noundef %align, ptr noundef %value, ptr noundef %img, ptr noundef readonly %style, ptr noundef %in, ptr noundef %font) unnamed_addr #31 { +define internal fastcc i32 @nk_do_selectable_image(ptr noundef %state, ptr noundef %out, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1, ptr noundef %str, i32 noundef %len, i32 noundef %align, ptr noundef %value, ptr noundef %img, ptr noundef readonly %style, ptr noundef %in, ptr noundef %font) unnamed_addr #23 { entry: %0 = extractelement <2 x float> %bounds.coerce0, i64 1 %1 = extractelement <2 x float> %bounds.coerce0, i64 0 @@ -56008,7 +56003,7 @@ if.end53: ; preds = %if.else, %if.then37 if.then68: ; preds = %if.end53 %userdata = getelementptr inbounds %struct.nk_style_selectable, ptr %style, i64 0, i32 20 %31 = load ptr, ptr %userdata, align 8 - tail call void %30(ptr noundef nonnull %out, ptr %31) #63 + tail call void %30(ptr noundef nonnull %out, ptr %31) #51 br label %if.end70 if.end70: ; preds = %if.then68, %if.end53 @@ -56023,7 +56018,7 @@ if.end70: ; preds = %if.then68, %if.end5 if.then72: ; preds = %if.end70 %userdata74 = getelementptr inbounds %struct.nk_style_selectable, ptr %style, i64 0, i32 20 %35 = load ptr, ptr %userdata74, align 8 - call void %34(ptr noundef nonnull %out, ptr %35) #63 + call void %34(ptr noundef nonnull %out, ptr %35) #51 br label %if.end76 if.end76: ; preds = %if.then72, %if.end70 @@ -56038,7 +56033,7 @@ return: ; preds = %entry, %if.end76 } ; Function Attrs: nounwind uwtable -define i32 @nk_selectable_symbol_text(ptr noundef %ctx, i32 noundef %sym, ptr noundef %str, i32 noundef %len, i32 noundef %align, ptr noundef %value) local_unnamed_addr #31 { +define i32 @nk_selectable_symbol_text(ptr noundef %ctx, i32 noundef %sym, ptr noundef %str, i32 noundef %len, i32 noundef %align, ptr noundef %value) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %icon.i = alloca %struct.nk_rect, align 8 @@ -56163,7 +56158,7 @@ if.end53.i: ; preds = %if.else.i, %if.then if.then68.i: ; preds = %if.end53.i %userdata.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 11, i32 20 %31 = load ptr, ptr %userdata.i, align 8 - tail call void %30(ptr noundef nonnull %buffer, ptr %31) #63 + tail call void %30(ptr noundef nonnull %buffer, ptr %31) #51 br label %if.end70.i if.end70.i: ; preds = %if.then68.i, %if.end53.i @@ -56178,7 +56173,7 @@ if.end70.i: ; preds = %if.then68.i, %if.en if.then72.i: ; preds = %if.end70.i %userdata74.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 11, i32 20 %35 = load ptr, ptr %userdata74.i, align 8 - call void %34(ptr noundef nonnull %buffer, ptr %35) #63 + call void %34(ptr noundef nonnull %buffer, ptr %35) #51 br label %if.end76.i if.end76.i: ; preds = %if.then72.i, %if.end70.i @@ -56199,7 +56194,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_selectable_symbol_label(ptr noundef %ctx, i32 noundef %sym, ptr noundef %title, i32 noundef %align, ptr noundef %value) local_unnamed_addr #23 { +define i32 @nk_selectable_symbol_label(ptr noundef %ctx, i32 noundef %sym, ptr noundef %title, i32 noundef %align, ptr noundef %value) local_unnamed_addr #18 { entry: %tobool.not3.i = icmp eq ptr %title, null br i1 %tobool.not3.i, label %nk_strlen.exit, label %land.rhs.i.preheader @@ -56225,7 +56220,7 @@ nk_strlen.exit: ; preds = %while.body.i, %land } ; Function Attrs: nounwind uwtable -define i32 @nk_select_text(ptr noundef %ctx, ptr noundef %str, i32 noundef %len, i32 noundef %align, i32 noundef %value) local_unnamed_addr #31 { +define i32 @nk_select_text(ptr noundef %ctx, ptr noundef %str, i32 noundef %len, i32 noundef %align, i32 noundef %value) local_unnamed_addr #23 { entry: %bounds.i.i = alloca %struct.nk_rect, align 8 %bounds.i = alloca %struct.nk_rect, align 8 @@ -56299,7 +56294,7 @@ if.end.i.i: ; preds = %cond.end.i if.then29.i.i: ; preds = %if.end.i.i %userdata.i.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 11, i32 20 %12 = load ptr, ptr %userdata.i.i, align 8 - tail call void %11(ptr noundef nonnull %buffer.i, ptr %12) #63 + tail call void %11(ptr noundef nonnull %buffer.i, ptr %12) #51 br label %if.end31.i.i if.end31.i.i: ; preds = %if.then29.i.i, %if.end.i.i @@ -56313,7 +56308,7 @@ if.end31.i.i: ; preds = %if.then29.i.i, %if. if.then33.i.i: ; preds = %if.end31.i.i %userdata35.i.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 11, i32 20 %15 = load ptr, ptr %userdata35.i.i, align 8 - tail call void %14(ptr noundef nonnull %buffer.i, ptr %15) #63 + tail call void %14(ptr noundef nonnull %buffer.i, ptr %15) #51 br label %nk_do_selectable.exit.i nk_do_selectable.exit.i: ; preds = %if.end31.i.i, %if.then33.i.i, %cond.end.i @@ -56328,7 +56323,7 @@ nk_selectable_text.exit: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_selectable_label(ptr noundef %ctx, ptr noundef %str, i32 noundef %align, ptr noundef %value) local_unnamed_addr #23 { +define i32 @nk_selectable_label(ptr noundef %ctx, ptr noundef %str, i32 noundef %align, ptr noundef %value) local_unnamed_addr #18 { entry: %tobool.not3.i = icmp eq ptr %str, null br i1 %tobool.not3.i, label %nk_strlen.exit, label %land.rhs.i.preheader @@ -56354,7 +56349,7 @@ nk_strlen.exit: ; preds = %while.body.i, %land } ; Function Attrs: nounwind uwtable -define i32 @nk_selectable_image_label(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %str, i32 noundef %align, ptr noundef %value) local_unnamed_addr #31 { +define i32 @nk_selectable_image_label(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %str, i32 noundef %align, ptr noundef %value) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %img2 = alloca %struct.nk_image, align 8 @@ -56433,7 +56428,7 @@ nk_selectable_image_text.exit: ; preds = %nk_strlen.exit, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_select_label(ptr noundef %ctx, ptr noundef %str, i32 noundef %align, i32 noundef %value) local_unnamed_addr #31 { +define i32 @nk_select_label(ptr noundef %ctx, ptr noundef %str, i32 noundef %align, i32 noundef %value) local_unnamed_addr #23 { entry: %bounds.i.i = alloca %struct.nk_rect, align 8 %bounds.i = alloca %struct.nk_rect, align 8 @@ -56526,7 +56521,7 @@ if.end.i.i: ; preds = %cond.end.i if.then29.i.i: ; preds = %if.end.i.i %userdata.i.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 11, i32 20 %14 = load ptr, ptr %userdata.i.i, align 8 - tail call void %13(ptr noundef nonnull %buffer.i, ptr %14) #63 + tail call void %13(ptr noundef nonnull %buffer.i, ptr %14) #51 br label %if.end31.i.i if.end31.i.i: ; preds = %if.then29.i.i, %if.end.i.i @@ -56540,7 +56535,7 @@ if.end31.i.i: ; preds = %if.then29.i.i, %if. if.then33.i.i: ; preds = %if.end31.i.i %userdata35.i.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 11, i32 20 %17 = load ptr, ptr %userdata35.i.i, align 8 - tail call void %16(ptr noundef nonnull %buffer.i, ptr %17) #63 + tail call void %16(ptr noundef nonnull %buffer.i, ptr %17) #51 br label %nk_do_selectable.exit.i nk_do_selectable.exit.i: ; preds = %if.end31.i.i, %if.then33.i.i, %cond.end.i @@ -56555,7 +56550,7 @@ nk_selectable_text.exit: ; preds = %nk_strlen.exit, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_select_image_label(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %str, i32 noundef %align, i32 noundef %value) local_unnamed_addr #31 { +define i32 @nk_select_image_label(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %str, i32 noundef %align, i32 noundef %value) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %img2 = alloca %struct.nk_image, align 8 @@ -56635,7 +56630,7 @@ nk_selectable_image_text.exit: ; preds = %nk_strlen.exit, %lo } ; Function Attrs: nounwind uwtable -define i32 @nk_select_image_text(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %str, i32 noundef %len, i32 noundef %align, i32 noundef %value) local_unnamed_addr #31 { +define i32 @nk_select_image_text(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %str, i32 noundef %len, i32 noundef %align, i32 noundef %value) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %img1 = alloca %struct.nk_image, align 8 @@ -56696,7 +56691,7 @@ nk_selectable_image_text.exit: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_select_symbol_text(ptr noundef %ctx, i32 noundef %sym, ptr noundef %title, i32 noundef %title_len, i32 noundef %align, i32 noundef %value) local_unnamed_addr #23 { +define i32 @nk_select_symbol_text(ptr noundef %ctx, i32 noundef %sym, ptr noundef %title, i32 noundef %title_len, i32 noundef %align, i32 noundef %value) local_unnamed_addr #18 { entry: %value.addr = alloca i32, align 4 store i32 %value, ptr %value.addr, align 4 @@ -56706,7 +56701,7 @@ entry: } ; Function Attrs: nounwind uwtable -define i32 @nk_select_symbol_label(ptr noundef %ctx, i32 noundef %sym, ptr noundef %title, i32 noundef %align, i32 noundef %value) local_unnamed_addr #23 { +define i32 @nk_select_symbol_label(ptr noundef %ctx, i32 noundef %sym, ptr noundef %title, i32 noundef %align, i32 noundef %value) local_unnamed_addr #18 { entry: %value.addr.i = alloca i32, align 4 %tobool.not3.i = icmp eq ptr %title, null @@ -56737,7 +56732,7 @@ nk_strlen.exit: ; preds = %while.body.i, %land } ; Function Attrs: nounwind uwtable -define i32 @nk_slider_float(ptr noundef %ctx, float noundef %min_value, ptr noundef %value, float noundef %max_value, float noundef %value_step) local_unnamed_addr #31 { +define i32 @nk_slider_float(ptr noundef %ctx, float noundef %min_value, ptr noundef %value, float noundef %max_value, float noundef %value_step) local_unnamed_addr #23 { entry: %ws.i = alloca i32, align 4 %bounds = alloca %struct.nk_rect, align 8 @@ -57017,7 +57012,7 @@ nk_slider_behavior.exit.i: ; preds = %if.end79.sink.split if.then149.i: ; preds = %nk_slider_behavior.exit.i %userdata.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 12, i32 24 %53 = load ptr, ptr %userdata.i, align 8 - call void %52(ptr noundef nonnull %buffer, ptr %53) #63 + call void %52(ptr noundef nonnull %buffer, ptr %53) #51 %.pre170.i = load i32, ptr %last_widget_state, align 4 br label %if.end151.i @@ -57327,7 +57322,7 @@ nk_draw_slider.exit.i: ; preds = %nk_rgb_factor.exit2 if.then153.i: ; preds = %nk_draw_slider.exit.i %userdata155.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 12, i32 24 %83 = load ptr, ptr %userdata155.i, align 8 - call void %82(ptr noundef nonnull %buffer, ptr %83) #63 + call void %82(ptr noundef nonnull %buffer, ptr %83) #51 br label %nk_do_slider.exit nk_do_slider.exit: ; preds = %nk_draw_slider.exit.i, %if.then153.i @@ -57343,7 +57338,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: nounwind uwtable -define float @nk_slide_float(ptr noundef %ctx, float noundef %min, float noundef %val, float noundef %max, float noundef %step) local_unnamed_addr #23 { +define float @nk_slide_float(ptr noundef %ctx, float noundef %min, float noundef %val, float noundef %max, float noundef %step) local_unnamed_addr #18 { entry: %val.addr = alloca float, align 4 store float %val, ptr %val.addr, align 4 @@ -57353,7 +57348,7 @@ entry: } ; Function Attrs: nounwind uwtable -define i32 @nk_slide_int(ptr noundef %ctx, i32 noundef %min, i32 noundef %val, i32 noundef %max, i32 noundef %step) local_unnamed_addr #23 { +define i32 @nk_slide_int(ptr noundef %ctx, i32 noundef %min, i32 noundef %val, i32 noundef %max, i32 noundef %step) local_unnamed_addr #18 { entry: %value = alloca float, align 4 %conv = sitofp i32 %val to float @@ -57368,7 +57363,7 @@ entry: } ; Function Attrs: nounwind uwtable -define i32 @nk_slider_int(ptr noundef %ctx, i32 noundef %min, ptr nocapture noundef %val, i32 noundef %max, i32 noundef %step) local_unnamed_addr #23 { +define i32 @nk_slider_int(ptr noundef %ctx, i32 noundef %min, ptr nocapture noundef %val, i32 noundef %max, i32 noundef %step) local_unnamed_addr #18 { entry: %value = alloca float, align 4 %0 = load i32, ptr %val, align 4 @@ -57385,7 +57380,7 @@ entry: } ; Function Attrs: nounwind uwtable -define i32 @nk_progress(ptr noundef %ctx, ptr noundef %cur, i64 noundef %max, i32 noundef %is_modifyable) local_unnamed_addr #31 { +define i32 @nk_progress(ptr noundef %ctx, ptr noundef %cur, i64 noundef %max, i32 noundef %is_modifyable) local_unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -57603,7 +57598,7 @@ nk_progress_behavior.exit.i: ; preds = %return.sink.split.i if.then42.i: ; preds = %nk_progress_behavior.exit.i %userdata.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 13, i32 15 %43 = load ptr, ptr %userdata.i, align 8 - tail call void %42(ptr noundef nonnull %buffer, ptr %43) #63 + tail call void %42(ptr noundef nonnull %buffer, ptr %43) #51 %.pre.i = load i32, ptr %last_widget_state, align 4 br label %if.end44.i @@ -57879,7 +57874,7 @@ nk_draw_progress.exit.i: ; preds = %nk_rgb_factor.exit2 if.then46.i: ; preds = %nk_draw_progress.exit.i %userdata48.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 13, i32 15 %78 = load ptr, ptr %userdata48.i, align 8 - tail call void %77(ptr noundef nonnull %buffer, ptr %78) #63 + tail call void %77(ptr noundef nonnull %buffer, ptr %78) #51 br label %nk_do_progress.exit nk_do_progress.exit: ; preds = %nk_draw_progress.exit.i, %if.then46.i @@ -57894,7 +57889,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: nounwind uwtable -define i64 @nk_prog(ptr noundef %ctx, i64 noundef %cur, i64 noundef %max, i32 noundef %modifyable) local_unnamed_addr #23 { +define i64 @nk_prog(ptr noundef %ctx, i64 noundef %cur, i64 noundef %max, i32 noundef %modifyable) local_unnamed_addr #18 { entry: %cur.addr = alloca i64, align 8 store i64 %cur, ptr %cur.addr, align 8 @@ -57903,8 +57898,8 @@ entry: ret i64 %0 } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_textedit_delete(ptr noundef %state, i32 noundef %where, i32 noundef %len) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_textedit_delete(ptr noundef %state, i32 noundef %where, i32 noundef %len) local_unnamed_addr #19 { entry: %undo.i = getelementptr inbounds %struct.nk_text_edit, ptr %state, i64 0, i32 15 %redo_point.i.i.i.i = getelementptr inbounds %struct.nk_text_edit, ptr %state, i64 0, i32 15, i32 3 @@ -58001,8 +57996,8 @@ nk_textedit_makeundo_delete.exit: ; preds = %for.body.i, %nk_tex ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_textedit_delete_selection(ptr noundef %state) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_textedit_delete_selection(ptr noundef %state) local_unnamed_addr #19 { entry: %len.i = getelementptr inbounds %struct.nk_text_edit, ptr %state, i64 0, i32 1, i32 1 %0 = load i32, ptr %len.i, align 8 @@ -58086,7 +58081,7 @@ if.end17: ; preds = %if.end, %nk_textedi } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal fastcc void @nk_textedit_clamp(ptr nocapture noundef %state) unnamed_addr #29 { +define internal fastcc void @nk_textedit_clamp(ptr nocapture noundef %state) unnamed_addr #22 { entry: %len = getelementptr inbounds %struct.nk_text_edit, ptr %state, i64 0, i32 1, i32 1 %0 = load i32, ptr %len, align 8 @@ -58138,8 +58133,8 @@ if.end21: ; preds = %if.then19, %if.end1 ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define i32 @nk_textedit_cut(ptr noundef %state) local_unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define i32 @nk_textedit_cut(ptr noundef %state) local_unnamed_addr #19 { entry: %mode = getelementptr inbounds %struct.nk_text_edit, ptr %state, i64 0, i32 7 %0 = load i8, ptr %mode, align 4 @@ -58236,7 +58231,7 @@ return: ; preds = %if.end, %entry, %nk } ; Function Attrs: nounwind uwtable -define i32 @nk_textedit_paste(ptr noundef %state, ptr noundef %ctext, i32 noundef %len) local_unnamed_addr #23 { +define i32 @nk_textedit_paste(ptr noundef %state, ptr noundef %ctext, i32 noundef %len) local_unnamed_addr #18 { entry: %mode = getelementptr inbounds %struct.nk_text_edit, ptr %state, i64 0, i32 7 %0 = load i8, ptr %mode, align 4 @@ -58540,7 +58535,7 @@ return: ; preds = %if.end6, %if.then8, } ; Function Attrs: nounwind uwtable -define void @nk_textedit_text(ptr noundef %state, ptr noundef %text, i32 noundef %total_len) local_unnamed_addr #23 { +define void @nk_textedit_text(ptr noundef %state, ptr noundef %text, i32 noundef %total_len) local_unnamed_addr #18 { entry: %tobool = icmp ne ptr %text, null %tobool1 = icmp ne i32 %total_len, 0 @@ -58707,7 +58702,7 @@ if.end16: ; preds = %while.body, %land.l br i1 %tobool17.not, label %if.end23, label %land.lhs.true18 land.lhs.true18: ; preds = %if.end16 - %call20 = tail call i32 %19(ptr noundef nonnull %state, i32 noundef %unicode.1229) #63 + %call20 = tail call i32 %19(ptr noundef nonnull %state, i32 noundef %unicode.1229) #51 %tobool21.not = icmp eq i32 %call20, 0 br i1 %tobool21.not, label %next, label %if.end23 @@ -59215,7 +59210,7 @@ while.end: ; preds = %for.end.i155, %next } ; Function Attrs: nounwind uwtable -define void @nk_textedit_undo(ptr noundef %state) local_unnamed_addr #23 { +define void @nk_textedit_undo(ptr noundef %state) local_unnamed_addr #18 { entry: %glyph.i = alloca [4 x i8], align 1 %undo = getelementptr inbounds %struct.nk_text_edit, ptr %state, i64 0, i32 15 @@ -59491,7 +59486,7 @@ return: ; preds = %if.end49.i, %nk_tex } ; Function Attrs: nounwind uwtable -define void @nk_textedit_redo(ptr noundef %state) local_unnamed_addr #23 { +define void @nk_textedit_redo(ptr noundef %state) local_unnamed_addr #18 { entry: %glyph.i = alloca [4 x i8], align 1 %redo_point = getelementptr inbounds %struct.nk_text_edit, ptr %state, i64 0, i32 15, i32 3 @@ -59680,7 +59675,7 @@ return: ; preds = %entry, %if.end58 ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @nk_textedit_init_fixed(ptr noundef %state, ptr noundef %memory, i64 noundef %size) local_unnamed_addr #4 { entry: %tobool = icmp ne ptr %state, null @@ -59763,7 +59758,7 @@ return: ; preds = %entry, %nk_str_init } ; Function Attrs: nounwind uwtable -define void @nk_textedit_init(ptr noundef %state, ptr noundef readonly %alloc, i64 noundef %size) local_unnamed_addr #31 { +define void @nk_textedit_init(ptr noundef %state, ptr noundef readonly %alloc, i64 noundef %size) local_unnamed_addr #23 { entry: %tobool = icmp ne ptr %state, null %tobool1 = icmp ne ptr %alloc, null @@ -59835,7 +59830,7 @@ nk_zero.exit.i.i: ; preds = %if.end19.i.i.i.i, % %alloc.i.i = getelementptr inbounds %struct.nk_allocator, ptr %alloc, i64 0, i32 1 %2 = load ptr, ptr %alloc.i.i, align 8 %3 = load ptr, ptr %alloc, align 8 - %call.i.i = tail call ptr %2(ptr %3, ptr noundef null, i64 noundef %size) #63 + %call.i.i = tail call ptr %2(ptr %3, ptr noundef null, i64 noundef %size) #51 %memory.i.i = getelementptr inbounds %struct.nk_text_edit, ptr %state, i64 0, i32 1, i32 0, i32 3 store ptr %call.i.i, ptr %memory.i.i, align 8 %size.i.i = getelementptr inbounds %struct.nk_text_edit, ptr %state, i64 0, i32 1, i32 0, i32 3, i32 1 @@ -59858,7 +59853,7 @@ return: ; preds = %entry, %nk_str_init } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: write, inaccessiblemem: readwrite) uwtable -define void @nk_textedit_init_default(ptr noundef %state) local_unnamed_addr #51 { +define void @nk_textedit_init_default(ptr noundef %state) local_unnamed_addr #39 { entry: %tobool.not = icmp eq ptr %state, null br i1 %tobool.not, label %return, label %if.end @@ -59921,7 +59916,7 @@ if.end19.i.i.i.i: ; preds = %nk_memset.exit nk_str_init_default.exit: ; preds = %if.end19.i.i.thread.i.i, %if.end19.i.i.i.i %type.i.i = getelementptr inbounds %struct.nk_text_edit, ptr %state, i64 0, i32 1, i32 0, i32 2 store i32 1, ptr %type.i.i, align 8 - %call.i2.i = tail call noalias dereferenceable_or_null(32) ptr @malloc(i64 noundef 32) #62 + %call.i2.i = tail call noalias dereferenceable_or_null(32) ptr @malloc(i64 noundef 32) #50 %memory.i.i = getelementptr inbounds %struct.nk_text_edit, ptr %state, i64 0, i32 1, i32 0, i32 3 store ptr %call.i2.i, ptr %memory.i.i, align 8 %size.i.i = getelementptr inbounds %struct.nk_text_edit, ptr %state, i64 0, i32 1, i32 0, i32 3, i32 1 @@ -59945,7 +59940,7 @@ return: ; preds = %entry, %nk_str_init } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @nk_textedit_select_all(ptr nocapture noundef %state) local_unnamed_addr #29 { +define void @nk_textedit_select_all(ptr nocapture noundef %state) local_unnamed_addr #22 { entry: %select_start = getelementptr inbounds %struct.nk_text_edit, ptr %state, i64 0, i32 5 store i32 0, ptr %select_start, align 4 @@ -59957,7 +59952,7 @@ entry: } ; Function Attrs: nounwind uwtable -define void @nk_textedit_free(ptr noundef %state) local_unnamed_addr #23 { +define void @nk_textedit_free(ptr noundef %state) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %state, null br i1 %tobool.not, label %return, label %if.end @@ -59983,7 +59978,7 @@ if.end3.i.i: ; preds = %if.end.i.i if.end6.i.i: ; preds = %if.end3.i.i %pool.i.i = getelementptr inbounds %struct.nk_text_edit, ptr %state, i64 0, i32 1, i32 0, i32 1 %3 = load ptr, ptr %pool.i.i, align 8 - tail call void %2(ptr %3, ptr noundef nonnull %0) #63 + tail call void %2(ptr %3, ptr noundef nonnull %0) #51 br label %nk_str_free.exit nk_str_free.exit: ; preds = %if.end, %if.end.i.i, %if.end3.i.i, %if.end6.i.i @@ -60064,7 +60059,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_edit_focus(ptr noundef readonly %ctx, i32 noundef %flags) local_unnamed_addr #34 { +define void @nk_edit_focus(ptr noundef readonly %ctx, i32 noundef %flags) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %if.end8, label %lor.lhs.false @@ -60096,7 +60091,7 @@ if.end8: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define void @nk_edit_unfocus(ptr noundef readonly %ctx) local_unnamed_addr #27 { +define void @nk_edit_unfocus(ptr noundef readonly %ctx) local_unnamed_addr #21 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -60119,7 +60114,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_edit_string(ptr noundef %ctx, i32 noundef %flags, ptr noundef %memory, ptr noundef %len, i32 noundef %max, ptr noundef %filter) local_unnamed_addr #31 { +define i32 @nk_edit_string(ptr noundef %ctx, i32 noundef %flags, ptr noundef %memory, ptr noundef %len, i32 noundef %max, ptr noundef %filter) local_unnamed_addr #23 { entry: %tobool = icmp ne ptr %ctx, null %tobool1 = icmp ne ptr %memory, null @@ -60307,7 +60302,7 @@ return: ; preds = %nk_str_init_fixed.e } ; Function Attrs: nounwind uwtable -define i32 @nk_edit_buffer(ptr noundef %ctx, i32 noundef %flags, ptr noundef %edit, ptr noundef %filter) local_unnamed_addr #31 { +define i32 @nk_edit_buffer(ptr noundef %ctx, i32 noundef %flags, ptr noundef %edit, ptr noundef %filter) local_unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -60462,7 +60457,7 @@ return: ; preds = %if.else79, %if.then } ; Function Attrs: nounwind uwtable -define internal fastcc i32 @nk_do_edit(ptr noundef %state, ptr noundef %out, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1, i32 noundef %flags, ptr noundef %filter, ptr noundef %edit, ptr noundef %style, ptr noundef %in, ptr noundef %font) unnamed_addr #31 { +define internal fastcc i32 @nk_do_edit(ptr noundef %state, ptr noundef %out, <2 x float> %bounds.coerce0, <2 x float> %bounds.coerce1, i32 noundef %flags, ptr noundef %filter, ptr noundef %edit, ptr noundef %style, ptr noundef %in, ptr noundef %font) unnamed_addr #23 { entry: %0 = extractelement <2 x float> %bounds.coerce1, i64 1 %1 = extractelement <2 x float> %bounds.coerce0, i64 1 @@ -61183,7 +61178,7 @@ if.then304: ; preds = %nk_str_at_const.exi %cond298 = tail call i32 @llvm.smax.i32(i32 %73, i32 %74) %sub308 = sub nsw i32 %cond298, %cond292 %104 = load ptr, ptr %edit, align 8 - tail call void %103(ptr %104, ptr noundef %retval.0.i668, i32 noundef %sub308) #63 + tail call void %103(ptr %104, ptr noundef %retval.0.i668, i32 noundef %sub308) #51 br label %if.end309 if.end309: ; preds = %if.then304, %nk_str_at_const.exit @@ -61303,7 +61298,7 @@ land.lhs.true323: ; preds = %land.lhs.true5.i685 if.then327: ; preds = %land.lhs.true323 %118 = load ptr, ptr %edit, align 8 - tail call void %117(ptr %118, ptr noundef nonnull %edit) #63 + tail call void %117(ptr %118, ptr noundef nonnull %edit) #51 br label %if.end.i689 if.end.i689: ; preds = %land.lhs.true5.i685, %land.lhs.true.i681, %land.lhs.true323, %if.then327 @@ -61648,7 +61643,7 @@ nk_utf_decode.exit: ; preds = %for.inc.i.i, %nk_ut %height438 = getelementptr inbounds %struct.nk_user_font, ptr %font, i64 0, i32 1 %160 = load float, ptr %height438, align 8 %161 = load ptr, ptr %font, align 8 - %call440 = tail call float %159(ptr %161, float noundef %160, ptr noundef nonnull %retval.0.i7051443, i32 noundef %retval.0.i786) #63 + %call440 = tail call float %159(ptr %161, float noundef %160, ptr noundef nonnull %retval.0.i7051443, i32 noundef %retval.0.i786) #51 %cmp44115241555 = icmp sgt i32 %retval.0.i711, 0 %tobool44415251556 = icmp ne i32 %retval.0.i786, 0 %162 = and i1 %cmp44115241555, %tobool44415251556 @@ -61892,7 +61887,7 @@ nk_utf_decode.exit856: ; preds = %for.inc.i.i801, %if %184 = load ptr, ptr %width, align 8 %185 = load float, ptr %height438, align 8 %186 = load ptr, ptr %font, align 8 - %call551 = call float %184(ptr %186, float noundef %185, ptr noundef nonnull %add.ptr542, i32 noundef %retval.0.i804) #63 + %call551 = call float %184(ptr %186, float noundef %185, ptr noundef nonnull %add.ptr542, i32 noundef %retval.0.i804) #51 %cmp4411524 = icmp slt i32 %inc539, %retval.0.i711 %tobool4441525 = icmp ne i32 %retval.0.i804, 0 %187 = and i1 %cmp4411524, %tobool4441525 @@ -62024,7 +62019,7 @@ nk_utf_decode.exit922: ; preds = %for.inc.i.i867, %if %204 = load ptr, ptr %width, align 8 %205 = load float, ptr %height438, align 8 %206 = load ptr, ptr %font, align 8 - %call566 = call float %204(ptr %206, float noundef %205, ptr noundef nonnull %add.ptr557, i32 noundef %retval.0.i870) #63 + %call566 = call float %204(ptr %206, float noundef %205, ptr noundef nonnull %add.ptr557, i32 noundef %retval.0.i870) #51 %cmp441 = icmp slt i32 %add554, %retval.0.i711 %tobool444 = icmp ne i32 %retval.0.i870, 0 %207 = and i1 %cmp441, %tobool444 @@ -62675,7 +62670,7 @@ nk_widget_text.exit: ; preds = %for.inc.i.i1057, %i %height910 = getelementptr inbounds %struct.nk_user_font, ptr %font, i64 0, i32 1 %294 = load float, ptr %height910, align 8 %295 = load ptr, ptr %font, align 8 - %call912 = call float %293(ptr %295, float noundef %294, ptr noundef %cursor_ptr.2, i32 noundef %phi.call) #63 + %call912 = call float %293(ptr %295, float noundef %294, ptr noundef %cursor_ptr.2, i32 noundef %phi.call) #51 %label.sroa.4.8.vec.insert = insertelement <2 x float> poison, float %call912, i64 0 %label.sroa.4.12.vec.insert = insertelement <2 x float> %label.sroa.4.8.vec.insert, float %cond42, i64 1 call void @nk_fill_rect(ptr noundef nonnull %out, <2 x float> %292, <2 x float> %label.sroa.4.12.vec.insert, float noundef 0.000000e+00, i32 %retval.sroa.0.0.insert.insert.i954) @@ -62684,7 +62679,7 @@ nk_widget_text.exit: ; preds = %for.inc.i.i1057, %i %296 = load float, ptr %height910, align 8 %297 = load ptr, ptr %width908, align 8 %298 = load ptr, ptr %font, align 8 - %call.i1118 = call float %297(ptr %298, float noundef %296, ptr noundef %cursor_ptr.2, i32 noundef %phi.call) #63 + %call.i1118 = call float %297(ptr %298, float noundef %296, ptr noundef %cursor_ptr.2, i32 noundef %phi.call) #51 %299 = extractelement <2 x float> %292, i64 0 %add35.i = fadd float %299, 0.000000e+00 %300 = insertelement <2 x float> poison, float %add35.i, i64 0 @@ -62928,7 +62923,7 @@ return: ; preds = %if.end10.i1246, %if } ; Function Attrs: nounwind uwtable -define i32 @nk_edit_string_zero_terminated(ptr noundef %ctx, i32 noundef %flags, ptr noundef %buffer, i32 noundef %max, ptr noundef %filter) local_unnamed_addr #23 { +define i32 @nk_edit_string_zero_terminated(ptr noundef %ctx, i32 noundef %flags, ptr noundef %buffer, i32 noundef %max, ptr noundef %filter) local_unnamed_addr #18 { entry: %len = alloca i32, align 4 %tobool.not3.i = icmp eq ptr %buffer, null @@ -62964,7 +62959,7 @@ nk_strlen.exit: ; preds = %while.body.i, %land } ; Function Attrs: nounwind uwtable -define void @nk_property_int(ptr noundef %ctx, ptr noundef %name, i32 noundef %min, ptr noundef %val, i32 noundef %max, i32 noundef %step, float noundef %inc_per_pixel) local_unnamed_addr #23 { +define void @nk_property_int(ptr noundef %ctx, ptr noundef %name, i32 noundef %min, ptr noundef %val, i32 noundef %max, i32 noundef %step, float noundef %inc_per_pixel) local_unnamed_addr #18 { entry: %variant = alloca %struct.nk_property_variant, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -63001,7 +62996,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define internal fastcc void @nk_property(ptr noundef %ctx, ptr noundef %name, ptr noundef %variant, float noundef %inc_per_pixel, i32 noundef %filter) unnamed_addr #31 { +define internal fastcc void @nk_property(ptr noundef %ctx, ptr noundef %name, ptr noundef %variant, float noundef %inc_per_pixel, i32 noundef %filter) unnamed_addr #23 { entry: %num_len.i = alloca i32, align 4 %string.i = alloca [64 x i8], align 16 @@ -63179,7 +63174,7 @@ nk_strlen.exit.i: ; preds = %while.body.i.i, %la %width.i = getelementptr inbounds %struct.nk_user_font, ptr %9, i64 0, i32 2 %20 = load ptr, ptr %width.i, align 8 %21 = load ptr, ptr %9, align 8 - %call14.i = tail call float %20(ptr %21, float noundef %14, ptr noundef nonnull %name.addr.0, i32 noundef %siz.0.lcssa.i.i) #63 + %call14.i = tail call float %20(ptr %21, float noundef %14, ptr noundef nonnull %name.addr.0, i32 noundef %siz.0.lcssa.i.i) #51 %add17.i = fadd float %div.i, %add3.i %22 = load float, ptr %padding.i, align 8 %add20.i = fadd float %add17.i, %22 @@ -63207,7 +63202,7 @@ if.then.i: ; preds = %nk_strlen.exit.i %31 = load float, ptr %height.i, align 8 %32 = load i32, ptr %len.0, align 4 %33 = load ptr, ptr %9, align 8 - %call58.i = call float %30(ptr %33, float noundef %31, ptr noundef nonnull %buffer.0, i32 noundef %32) #63 + %call58.i = call float %30(ptr %33, float noundef %31, ptr noundef nonnull %buffer.0, i32 noundef %32) #51 %cursor_size.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 14, i32 14, i32 18 %34 = load float, ptr %cursor_size.i, align 4 %add60.i = fadd float %call58.i, %34 @@ -63421,7 +63416,7 @@ sw.epilog.i: ; preds = %nk_string_float_lim %52 = load ptr, ptr %width.i, align 8 %53 = load float, ptr %height.i, align 8 %54 = load ptr, ptr %9, align 8 - %call82.i = call float %52(ptr %54, float noundef %53, ptr noundef nonnull %string.i, i32 noundef %num_len.0.num_len.0.num_len.0..i) #63 + %call82.i = call float %52(ptr %54, float noundef %53, ptr noundef nonnull %string.i, i32 noundef %num_len.0.num_len.0.num_len.0..i) #51 br label %if.end.i if.end.i: ; preds = %sw.epilog.i, %if.then.i @@ -63725,7 +63720,7 @@ nk_property_behavior.exit.i: ; preds = %if.end23.sink.split if.then132.i: ; preds = %nk_property_behavior.exit.i %userdata134.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 14, i32 17 %94 = load ptr, ptr %userdata134.i, align 8 - call void %93(ptr noundef nonnull %buffer51, ptr %94) #63 + call void %93(ptr noundef nonnull %buffer51, ptr %94) #51 br label %if.end136.i if.end136.i: ; preds = %if.then132.i, %nk_property_behavior.exit.i @@ -63906,7 +63901,7 @@ sw.epilog.i.i: ; preds = %nk_rgb_factor.exit1 %110 = load float, ptr %height.i, align 8 %111 = load ptr, ptr %width.i, align 8 %112 = load ptr, ptr %9, align 8 - %call.i.i.i = call float %111(ptr %112, float noundef %110, ptr noundef nonnull %name.addr.0, i32 noundef %siz.0.lcssa.i.i) #63 + %call.i.i.i = call float %111(ptr %112, float noundef %110, ptr noundef nonnull %name.addr.0, i32 noundef %siz.0.lcssa.i.i) #51 %113 = fadd float %call.i.i.i, 0.000000e+00 %cmp57.i.i.i = fcmp ogt float %113, 1.000000e+00 %cond64.i.i.i = select i1 %cmp57.i.i.i, float %113, float 1.000000e+00 @@ -63945,7 +63940,7 @@ sw.epilog.i.i: ; preds = %nk_rgb_factor.exit1 if.then138.i: ; preds = %sw.epilog.i.i %userdata140.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 14, i32 17 %118 = load ptr, ptr %userdata140.i, align 8 - call void %117(ptr noundef nonnull %buffer51, ptr %118) #63 + call void %117(ptr noundef nonnull %buffer51, ptr %118) #51 br label %if.end142.i if.end142.i: ; preds = %if.then138.i, %sw.epilog.i.i @@ -64671,7 +64666,7 @@ if.end114: ; preds = %if.end, %entry, %lo } ; Function Attrs: nounwind uwtable -define void @nk_property_float(ptr noundef %ctx, ptr noundef %name, float noundef %min, ptr noundef %val, float noundef %max, float noundef %step, float noundef %inc_per_pixel) local_unnamed_addr #23 { +define void @nk_property_float(ptr noundef %ctx, ptr noundef %name, float noundef %min, ptr noundef %val, float noundef %max, float noundef %step, float noundef %inc_per_pixel) local_unnamed_addr #18 { entry: %variant = alloca %struct.nk_property_variant, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -64708,7 +64703,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define void @nk_property_double(ptr noundef %ctx, ptr noundef %name, double noundef %min, ptr noundef %val, double noundef %max, double noundef %step, float noundef %inc_per_pixel) local_unnamed_addr #23 { +define void @nk_property_double(ptr noundef %ctx, ptr noundef %name, double noundef %min, ptr noundef %val, double noundef %max, double noundef %step, float noundef %inc_per_pixel) local_unnamed_addr #18 { entry: %variant = alloca %struct.nk_property_variant, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -64745,7 +64740,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_propertyi(ptr noundef %ctx, ptr noundef %name, i32 noundef %min, i32 noundef %val, i32 noundef %max, i32 noundef %step, float noundef %inc_per_pixel) local_unnamed_addr #23 { +define i32 @nk_propertyi(ptr noundef %ctx, ptr noundef %name, i32 noundef %min, i32 noundef %val, i32 noundef %max, i32 noundef %step, float noundef %inc_per_pixel) local_unnamed_addr #18 { entry: %variant = alloca %struct.nk_property_variant, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -64779,7 +64774,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define float @nk_propertyf(ptr noundef %ctx, ptr noundef %name, float noundef %min, float noundef %val, float noundef %max, float noundef %step, float noundef %inc_per_pixel) local_unnamed_addr #23 { +define float @nk_propertyf(ptr noundef %ctx, ptr noundef %name, float noundef %min, float noundef %val, float noundef %max, float noundef %step, float noundef %inc_per_pixel) local_unnamed_addr #18 { entry: %variant = alloca %struct.nk_property_variant, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -64813,7 +64808,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define double @nk_propertyd(ptr noundef %ctx, ptr noundef %name, double noundef %min, double noundef %val, double noundef %max, double noundef %step, float noundef %inc_per_pixel) local_unnamed_addr #23 { +define double @nk_propertyd(ptr noundef %ctx, ptr noundef %name, double noundef %min, double noundef %val, double noundef %max, double noundef %step, float noundef %inc_per_pixel) local_unnamed_addr #18 { entry: %variant = alloca %struct.nk_property_variant, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -64847,7 +64842,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_chart_begin_colored(ptr noundef %ctx, i32 noundef %type, i32 %color.coerce, i32 %highlight.coerce, i32 noundef %count, float noundef %min_value, float noundef %max_value) local_unnamed_addr #31 { +define i32 @nk_chart_begin_colored(ptr noundef %ctx, i32 noundef %type, i32 %color.coerce, i32 %highlight.coerce, i32 noundef %count, float noundef %min_value, float noundef %max_value) local_unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %bounds, i8 0, i64 16, i1 false) @@ -65153,7 +65148,7 @@ return: ; preds = %if.end19.i.i, %if.e } ; Function Attrs: nounwind uwtable -define i32 @nk_chart_begin(ptr noundef %ctx, i32 noundef %type, i32 noundef %count, float noundef %min_value, float noundef %max_value) local_unnamed_addr #23 { +define i32 @nk_chart_begin(ptr noundef %ctx, i32 noundef %type, i32 noundef %count, float noundef %min_value, float noundef %max_value) local_unnamed_addr #18 { entry: %color = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 16, i32 3 %selected_color = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 16, i32 2 @@ -65164,7 +65159,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_chart_add_slot_colored(ptr noundef readonly %ctx, i32 noundef %type, i32 %color.coerce, i32 %highlight.coerce, i32 noundef %count, float noundef %min_value, float noundef %max_value) local_unnamed_addr #34 { +define void @nk_chart_add_slot_colored(ptr noundef readonly %ctx, i32 noundef %type, i32 %color.coerce, i32 %highlight.coerce, i32 noundef %count, float noundef %min_value, float noundef %max_value) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -65251,7 +65246,7 @@ return: ; preds = %if.end, %entry, %lo } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_chart_add_slot(ptr nocapture noundef readonly %ctx, i32 noundef %type, i32 noundef %count, float noundef %min_value, float noundef %max_value) local_unnamed_addr #34 { +define void @nk_chart_add_slot(ptr nocapture noundef readonly %ctx, i32 noundef %type, i32 noundef %count, float noundef %min_value, float noundef %max_value) local_unnamed_addr #25 { lor.lhs.false.i: %color = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 16, i32 3 %selected_color = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 1, i32 16, i32 2 @@ -65338,7 +65333,7 @@ nk_chart_add_slot_colored.exit: ; preds = %lor.lhs.false.i, %l } ; Function Attrs: nounwind uwtable -define i32 @nk_chart_push_slot(ptr noundef readonly %ctx, float noundef %value, i32 noundef %slot) local_unnamed_addr #31 { +define i32 @nk_chart_push_slot(ptr noundef readonly %ctx, float noundef %value, i32 noundef %slot) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -65749,14 +65744,14 @@ return: ; preds = %return.sink.split, } ; Function Attrs: nounwind uwtable -define i32 @nk_chart_push(ptr noundef %ctx, float noundef %value) local_unnamed_addr #23 { +define i32 @nk_chart_push(ptr noundef %ctx, float noundef %value) local_unnamed_addr #18 { entry: %call = tail call i32 @nk_chart_push_slot(ptr noundef %ctx, float noundef %value, i32 noundef 0), !range !202 ret i32 %call } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_chart_end(ptr noundef readonly %ctx) local_unnamed_addr #44 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable +define void @nk_chart_end(ptr noundef readonly %ctx) local_unnamed_addr #25 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -65794,7 +65789,7 @@ return: ; preds = %if.end19.i, %if.end } ; Function Attrs: nounwind uwtable -define void @nk_plot(ptr noundef %ctx, i32 noundef %type, ptr noundef readonly %values, i32 noundef %count, i32 noundef %offset) local_unnamed_addr #23 { +define void @nk_plot(ptr noundef %ctx, i32 noundef %type, ptr noundef readonly %values, i32 noundef %count, i32 noundef %offset) local_unnamed_addr #18 { entry: %tobool = icmp ne ptr %ctx, null %tobool1 = icmp ne ptr %values, null @@ -65890,7 +65885,7 @@ if.end35: ; preds = %if.end19.i.i, %if.e } ; Function Attrs: nounwind uwtable -define void @nk_plot_function(ptr noundef %ctx, i32 noundef %type, ptr noundef %userdata, ptr noundef readonly %value_getter, i32 noundef %count, i32 noundef %offset) local_unnamed_addr #23 { +define void @nk_plot_function(ptr noundef %ctx, i32 noundef %type, ptr noundef %userdata, ptr noundef readonly %value_getter, i32 noundef %count, i32 noundef %offset) local_unnamed_addr #18 { entry: %tobool = icmp ne ptr %ctx, null %tobool1 = icmp ne ptr %value_getter, null @@ -65900,7 +65895,7 @@ entry: br i1 %or.cond1, label %if.end, label %if.end23 if.end: ; preds = %entry - %call = tail call float %value_getter(ptr noundef %userdata, i32 noundef %offset) #63 + %call = tail call float %value_getter(ptr noundef %userdata, i32 noundef %offset) #51 %cmp28 = icmp sgt i32 %count, 0 br i1 %cmp28, label %for.body, label %for.end @@ -65909,7 +65904,7 @@ for.body: ; preds = %if.end, %for.body %max_value.030 = phi float [ %cond10, %for.body ], [ %call, %if.end ] %min_value.029 = phi float [ %cond, %for.body ], [ %call, %if.end ] %add = add nsw i32 %i.031, %offset - %call4 = tail call float %value_getter(ptr noundef %userdata, i32 noundef %add) #63 + %call4 = tail call float %value_getter(ptr noundef %userdata, i32 noundef %add) #51 %cmp5 = fcmp olt float %call4, %min_value.029 %cond = select i1 %cmp5, float %call4, float %min_value.029 %cmp6 = fcmp olt float %call4, %max_value.030 @@ -65935,7 +65930,7 @@ for.cond14.preheader: ; preds = %for.end for.body16: ; preds = %for.cond14.preheader, %for.body16 %i.134 = phi i32 [ %inc21, %for.body16 ], [ 0, %for.cond14.preheader ] %add17 = add nsw i32 %i.134, %offset - %call18 = tail call float %value_getter(ptr noundef %userdata, i32 noundef %add17) #63 + %call18 = tail call float %value_getter(ptr noundef %userdata, i32 noundef %add17) #51 %call.i27 = tail call i32 @nk_chart_push_slot(ptr noundef nonnull %ctx, float noundef %call18, i32 noundef 0), !range !202 %inc21 = add nuw nsw i32 %i.134, 1 %exitcond35.not = icmp eq i32 %inc21, %count @@ -65974,7 +65969,7 @@ if.end23: ; preds = %if.end19.i.i, %if.e } ; Function Attrs: nounwind uwtable -define i32 @nk_color_pick(ptr noundef %ctx, ptr noundef %color, i32 noundef %fmt) local_unnamed_addr #31 { +define i32 @nk_color_pick(ptr noundef %ctx, ptr noundef %color, i32 noundef %fmt) local_unnamed_addr #23 { entry: %bounds = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -66774,7 +66769,7 @@ return: ; preds = %if.end3.i185.i.i, % } ; Function Attrs: nounwind uwtable -define { <2 x float>, <2 x float> } @nk_color_picker(ptr noundef %ctx, <2 x float> %color.coerce0, <2 x float> %color.coerce1, i32 noundef %fmt) local_unnamed_addr #31 { +define { <2 x float>, <2 x float> } @nk_color_picker(ptr noundef %ctx, <2 x float> %color.coerce0, <2 x float> %color.coerce1, i32 noundef %fmt) local_unnamed_addr #23 { entry: %color = alloca %struct.nk_colorf, align 8 store <2 x float> %color.coerce0, ptr %color, align 8 @@ -66789,7 +66784,7 @@ entry: } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_begin_text(ptr noundef %ctx, ptr noundef %selected, i32 noundef %len, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_combo_begin_text(ptr noundef %ctx, ptr noundef %selected, i32 noundef %len, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %header = alloca %struct.nk_rect, align 8 %button = alloca %struct.nk_rect, align 4 @@ -67104,7 +67099,7 @@ if.end172: ; preds = %if.else166, %if.the %width.i = getelementptr inbounds %struct.nk_user_font, ptr %39, i64 0, i32 2 %41 = load ptr, ptr %width.i, align 8 %42 = load ptr, ptr %39, align 8 - %call.i = tail call float %41(ptr %42, float noundef %40, ptr noundef nonnull %selected, i32 noundef %len) #63 + %call.i = tail call float %41(ptr %42, float noundef %40, ptr noundef nonnull %selected, i32 noundef %len) #51 %add35.i = fadd float %add140, 0.000000e+00 %43 = insertelement <2 x float> poison, float %add35.i, i64 0 %div164.i = fmul float %mul.b.sroa.14.12.vec.extract.i, 5.000000e-01 @@ -67263,7 +67258,7 @@ return: ; preds = %if.end41.i, %if.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal fastcc i32 @nk_button_behavior(ptr nocapture noundef %state, <2 x float> %r.coerce0, <2 x float> %r.coerce1, ptr noundef readonly %i, i32 noundef %behavior) unnamed_addr #41 { +define internal fastcc i32 @nk_button_behavior(ptr nocapture noundef %state, <2 x float> %r.coerce0, <2 x float> %r.coerce1, ptr noundef readonly %i, i32 noundef %behavior) unnamed_addr #32 { entry: %0 = load i32, ptr %state, align 4 %and = and i32 %0, 2 @@ -67389,7 +67384,7 @@ return: ; preds = %return.sink.split, } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_begin_label(ptr noundef %ctx, ptr noundef %selected, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_combo_begin_label(ptr noundef %ctx, ptr noundef %selected, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %tobool.not3.i = icmp eq ptr %selected, null br i1 %tobool.not3.i, label %nk_strlen.exit, label %land.rhs.i.preheader @@ -67415,7 +67410,7 @@ nk_strlen.exit: ; preds = %while.body.i, %land } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_begin_color(ptr noundef %ctx, i32 %color.coerce, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_combo_begin_color(ptr noundef %ctx, i32 %color.coerce, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %header = alloca %struct.nk_rect, align 8 %button = alloca %struct.nk_rect, align 4 @@ -67868,7 +67863,7 @@ return: ; preds = %if.end41.i, %if.end } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_begin_symbol(ptr noundef %ctx, i32 noundef %symbol, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_combo_begin_symbol(ptr noundef %ctx, i32 noundef %symbol, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %header = alloca %struct.nk_rect, align 8 %bounds = alloca %struct.nk_rect, align 8 @@ -68287,7 +68282,7 @@ return: ; preds = %if.end41.i, %if.end } ; Function Attrs: nounwind uwtable -define internal fastcc void @nk_draw_symbol(ptr noundef %out, i32 noundef %type, <2 x float> %content.coerce0, <2 x float> %content.coerce1, i32 %background.coerce, i32 %foreground.coerce, float noundef %border_width, ptr noundef %font) unnamed_addr #31 { +define internal fastcc void @nk_draw_symbol(ptr noundef %out, i32 noundef %type, <2 x float> %content.coerce0, <2 x float> %content.coerce1, i32 %background.coerce, i32 %foreground.coerce, float noundef %border_width, ptr noundef %font) unnamed_addr #23 { entry: switch i32 %type, label %sw.epilog [ i32 12, label %cond.false @@ -68343,7 +68338,7 @@ if.end.i: ; preds = %cond.end6 %width.i = getelementptr inbounds %struct.nk_user_font, ptr %font, i64 0, i32 2 %6 = load ptr, ptr %width.i, align 8 %7 = load ptr, ptr %font, align 8 - %call.i = tail call float %6(ptr %7, float noundef %5, ptr noundef %cond7, i32 noundef 1) #63 + %call.i = tail call float %6(ptr %7, float noundef %5, ptr noundef %cond7, i32 noundef 1) #51 %8 = fadd float %call.i, 0.000000e+00 %cmp57.i = fcmp ogt float %8, 1.000000e+00 %cond64.i = select i1 %cmp57.i, float %8, float 1.000000e+00 @@ -68474,7 +68469,7 @@ sw.epilog: ; preds = %if.end.i, %cond.end } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_begin_symbol_text(ptr noundef %ctx, ptr noundef %selected, i32 noundef %len, i32 noundef %symbol, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_combo_begin_symbol_text(ptr noundef %ctx, ptr noundef %selected, i32 noundef %len, i32 noundef %symbol, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %header = alloca %struct.nk_rect, align 8 %button = alloca %struct.nk_rect, align 4 @@ -68884,7 +68879,7 @@ nk_draw_button_symbol.exit: ; preds = %if.end9.i, %if.end. %width.i = getelementptr inbounds %struct.nk_user_font, ptr %46, i64 0, i32 2 %48 = load ptr, ptr %width.i, align 8 %49 = load ptr, ptr %46, align 8 - %call.i211 = tail call float %48(ptr %49, float noundef %47, ptr noundef %selected, i32 noundef %len) #63 + %call.i211 = tail call float %48(ptr %49, float noundef %47, ptr noundef %selected, i32 noundef %len) #51 %div164.i = fmul float %mul.b.sroa.14.12.vec.extract.i, 5.000000e-01 %add165.i = fadd float %add182, %div164.i %50 = load float, ptr %height.i, align 8 @@ -68973,7 +68968,7 @@ return: ; preds = %if.end41.i, %if.end } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_begin_image(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_combo_begin_image(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %header = alloca %struct.nk_rect, align 8 %bounds = alloca %struct.nk_rect, align 8 @@ -69383,7 +69378,7 @@ return: ; preds = %if.end41.i, %if.end } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_begin_image_text(ptr noundef %ctx, ptr noundef %selected, i32 noundef %len, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_combo_begin_image_text(ptr noundef %ctx, ptr noundef %selected, i32 noundef %len, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %header = alloca %struct.nk_rect, align 8 %button = alloca %struct.nk_rect, align 4 @@ -69775,7 +69770,7 @@ if.end139: ; preds = %nk_draw_button_symb %width.i = getelementptr inbounds %struct.nk_user_font, ptr %47, i64 0, i32 2 %49 = load ptr, ptr %width.i, align 8 %50 = load ptr, ptr %47, align 8 - %call.i202 = tail call float %49(ptr %50, float noundef %48, ptr noundef %selected, i32 noundef %len) #63 + %call.i202 = tail call float %49(ptr %50, float noundef %48, ptr noundef %selected, i32 noundef %len) #51 %div164.i = fmul float %mul.b.sroa.14.12.vec.extract.i, 5.000000e-01 %add165.i = fadd float %add181, %div164.i %51 = load float, ptr %height.i, align 8 @@ -69864,7 +69859,7 @@ return: ; preds = %if.end41.i, %if.end } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_begin_symbol_label(ptr noundef %ctx, ptr noundef %selected, i32 noundef %type, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_combo_begin_symbol_label(ptr noundef %ctx, ptr noundef %selected, i32 noundef %type, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %tobool.not3.i = icmp eq ptr %selected, null br i1 %tobool.not3.i, label %nk_strlen.exit, label %land.rhs.i.preheader @@ -69890,7 +69885,7 @@ nk_strlen.exit: ; preds = %while.body.i, %land } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_begin_image_label(ptr noundef %ctx, ptr noundef %selected, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_combo_begin_image_label(ptr noundef %ctx, ptr noundef %selected, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %tobool.not3.i = icmp eq ptr %selected, null br i1 %tobool.not3.i, label %nk_strlen.exit, label %land.rhs.i.preheader @@ -69916,7 +69911,7 @@ nk_strlen.exit: ; preds = %while.body.i, %land } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_item_text(ptr noundef %ctx, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #31 { +define i32 @nk_combo_item_text(ptr noundef %ctx, ptr noundef %text, i32 noundef %len, i32 noundef %align) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %bounds.i) @@ -69990,14 +69985,14 @@ nk_contextual_item_text.exit: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_item_label(ptr noundef %ctx, ptr noundef %label, i32 noundef %align) local_unnamed_addr #23 { +define i32 @nk_combo_item_label(ptr noundef %ctx, ptr noundef %label, i32 noundef %align) local_unnamed_addr #18 { entry: %call = tail call i32 @nk_contextual_item_label(ptr noundef %ctx, ptr noundef %label, i32 noundef %align), !range !14 ret i32 %call } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_item_image_text(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %text, i32 noundef %len, i32 noundef %alignment) local_unnamed_addr #31 { +define i32 @nk_combo_item_image_text(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %text, i32 noundef %len, i32 noundef %alignment) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %bounds.i) @@ -70071,14 +70066,14 @@ nk_contextual_item_image_text.exit: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_item_image_label(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %text, i32 noundef %alignment) local_unnamed_addr #23 { +define i32 @nk_combo_item_image_label(ptr noundef %ctx, ptr nocapture noundef readonly byval(%struct.nk_image) align 8 %img, ptr noundef %text, i32 noundef %alignment) local_unnamed_addr #18 { entry: %call = tail call i32 @nk_contextual_item_image_label(ptr noundef %ctx, ptr noundef nonnull byval(%struct.nk_image) align 8 %img, ptr noundef %text, i32 noundef %alignment), !range !14 ret i32 %call } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_item_symbol_text(ptr noundef %ctx, i32 noundef %sym, ptr noundef %text, i32 noundef %len, i32 noundef %alignment) local_unnamed_addr #31 { +define i32 @nk_combo_item_symbol_text(ptr noundef %ctx, i32 noundef %sym, ptr noundef %text, i32 noundef %len, i32 noundef %alignment) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %bounds.i) @@ -70152,21 +70147,21 @@ nk_contextual_item_symbol_text.exit: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_item_symbol_label(ptr noundef %ctx, i32 noundef %sym, ptr noundef %label, i32 noundef %alignment) local_unnamed_addr #23 { +define i32 @nk_combo_item_symbol_label(ptr noundef %ctx, i32 noundef %sym, ptr noundef %label, i32 noundef %alignment) local_unnamed_addr #18 { entry: %call = tail call i32 @nk_contextual_item_symbol_label(ptr noundef %ctx, i32 noundef %sym, ptr noundef %label, i32 noundef %alignment), !range !14 ret i32 %call } ; Function Attrs: nounwind uwtable -define void @nk_combo_end(ptr noundef %ctx) local_unnamed_addr #23 { +define void @nk_combo_end(ptr noundef %ctx) local_unnamed_addr #18 { entry: tail call void @nk_contextual_end(ptr noundef %ctx) ret void } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @nk_combo_close(ptr noundef readonly %ctx) local_unnamed_addr #34 { +define void @nk_combo_close(ptr noundef readonly %ctx) local_unnamed_addr #25 { entry: %tobool.not.i = icmp eq ptr %ctx, null br i1 %tobool.not.i, label %nk_contextual_close.exit, label %lor.lhs.false.i @@ -70195,7 +70190,7 @@ nk_contextual_close.exit: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define i32 @nk_combo(ptr noundef %ctx, ptr noundef readonly %items, i32 noundef %count, i32 noundef %selected, i32 noundef %item_height, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_combo(ptr noundef %ctx, ptr noundef readonly %items, i32 noundef %count, i32 noundef %selected, i32 noundef %item_height, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %tobool = icmp ne ptr %ctx, null %tobool1 = icmp ne ptr %items, null @@ -70404,7 +70399,7 @@ return: ; preds = %nk_combo_begin_labe } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_separator(ptr noundef %ctx, ptr noundef %items_separated_by_separator, i32 noundef %separator, i32 noundef %selected, i32 noundef %count, i32 noundef %item_height, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_combo_separator(ptr noundef %ctx, ptr noundef %items_separated_by_separator, i32 noundef %separator, i32 noundef %selected, i32 noundef %count, i32 noundef %item_height, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %bounds.i.i = alloca %struct.nk_rect, align 8 %tobool = icmp ne ptr %ctx, null @@ -70717,14 +70712,14 @@ return: ; preds = %for.end, %for.end61 } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_string(ptr noundef %ctx, ptr noundef %items_separated_by_zeros, i32 noundef %selected, i32 noundef %count, i32 noundef %item_height, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_combo_string(ptr noundef %ctx, ptr noundef %items_separated_by_zeros, i32 noundef %selected, i32 noundef %count, i32 noundef %item_height, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %call = tail call i32 @nk_combo_separator(ptr noundef %ctx, ptr noundef %items_separated_by_zeros, i32 noundef 0, i32 noundef %selected, i32 noundef %count, i32 noundef %item_height, <2 x float> %size.coerce) ret i32 %call } ; Function Attrs: nounwind uwtable -define i32 @nk_combo_callback(ptr noundef %ctx, ptr noundef readonly %item_getter, ptr noundef %userdata, i32 noundef %selected, i32 noundef %count, i32 noundef %item_height, <2 x float> %size.coerce) local_unnamed_addr #31 { +define i32 @nk_combo_callback(ptr noundef %ctx, ptr noundef readonly %item_getter, ptr noundef %userdata, i32 noundef %selected, i32 noundef %count, i32 noundef %item_height, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %item = alloca ptr, align 8 %tobool = icmp ne ptr %ctx, null @@ -70793,7 +70788,7 @@ nk_panel_get_padding.exit: ; preds = %sw.bb.i, %sw.bb1.i, %cmp = fcmp olt float %size.sroa.0.4.vec.extract, %conv13 %cond = select i1 %cmp, float %size.sroa.0.4.vec.extract, float %conv13 %size.sroa.0.4.vec.insert = insertelement <2 x float> %size.coerce, float %cond, i64 1 - call void %item_getter(ptr noundef %userdata, i32 noundef %selected, ptr noundef nonnull %item) #63 + call void %item_getter(ptr noundef %userdata, i32 noundef %selected, ptr noundef nonnull %item) #51 %4 = load ptr, ptr %item, align 8 %tobool.not3.i.i = icmp eq ptr %4, null br i1 %tobool.not3.i.i, label %nk_combo_begin_label.exit, label %land.rhs.i.preheader.i @@ -70906,7 +70901,7 @@ nk_layout_row_dynamic.exit: ; preds = %lor.lhs.false.i.i, for.body: ; preds = %nk_layout_row_dynamic.exit, %for.body %selected.addr.029 = phi i32 [ %spec.select, %for.body ], [ %selected, %nk_layout_row_dynamic.exit ] %i.028 = phi i32 [ %inc, %for.body ], [ 0, %nk_layout_row_dynamic.exit ] - call void %item_getter(ptr noundef %userdata, i32 noundef %i.028, ptr noundef nonnull %item) #63 + call void %item_getter(ptr noundef %userdata, i32 noundef %i.028, ptr noundef nonnull %item) #51 %20 = load ptr, ptr %item, align 8 %call.i = call i32 @nk_contextual_item_label(ptr noundef nonnull %ctx, ptr noundef %20, i32 noundef 17), !range !14 %tobool25.not = icmp eq i32 %call.i, 0 @@ -70926,7 +70921,7 @@ return: ; preds = %nk_combo_begin_labe } ; Function Attrs: nounwind uwtable -define void @nk_combobox(ptr noundef %ctx, ptr noundef %items, i32 noundef %count, ptr nocapture noundef %selected, i32 noundef %item_height, <2 x float> %size.coerce) local_unnamed_addr #31 { +define void @nk_combobox(ptr noundef %ctx, ptr noundef %items, i32 noundef %count, ptr nocapture noundef %selected, i32 noundef %item_height, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %0 = load i32, ptr %selected, align 4 %call = tail call i32 @nk_combo(ptr noundef %ctx, ptr noundef %items, i32 noundef %count, i32 noundef %0, i32 noundef %item_height, <2 x float> %size.coerce) @@ -70935,7 +70930,7 @@ entry: } ; Function Attrs: nounwind uwtable -define void @nk_combobox_string(ptr noundef %ctx, ptr noundef %items_separated_by_zeros, ptr nocapture noundef %selected, i32 noundef %count, i32 noundef %item_height, <2 x float> %size.coerce) local_unnamed_addr #31 { +define void @nk_combobox_string(ptr noundef %ctx, ptr noundef %items_separated_by_zeros, ptr nocapture noundef %selected, i32 noundef %count, i32 noundef %item_height, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %0 = load i32, ptr %selected, align 4 %call.i = tail call i32 @nk_combo_separator(ptr noundef %ctx, ptr noundef %items_separated_by_zeros, i32 noundef 0, i32 noundef %0, i32 noundef %count, i32 noundef %item_height, <2 x float> %size.coerce) @@ -70944,7 +70939,7 @@ entry: } ; Function Attrs: nounwind uwtable -define void @nk_combobox_separator(ptr noundef %ctx, ptr noundef %items_separated_by_separator, i32 noundef %separator, ptr nocapture noundef %selected, i32 noundef %count, i32 noundef %item_height, <2 x float> %size.coerce) local_unnamed_addr #31 { +define void @nk_combobox_separator(ptr noundef %ctx, ptr noundef %items_separated_by_separator, i32 noundef %separator, ptr nocapture noundef %selected, i32 noundef %count, i32 noundef %item_height, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %0 = load i32, ptr %selected, align 4 %call = tail call i32 @nk_combo_separator(ptr noundef %ctx, ptr noundef %items_separated_by_separator, i32 noundef %separator, i32 noundef %0, i32 noundef %count, i32 noundef %item_height, <2 x float> %size.coerce) @@ -70953,7 +70948,7 @@ entry: } ; Function Attrs: nounwind uwtable -define void @nk_combobox_callback(ptr noundef %ctx, ptr noundef %item_getter, ptr noundef %userdata, ptr nocapture noundef %selected, i32 noundef %count, i32 noundef %item_height, <2 x float> %size.coerce) local_unnamed_addr #31 { +define void @nk_combobox_callback(ptr noundef %ctx, ptr noundef %item_getter, ptr noundef %userdata, ptr nocapture noundef %selected, i32 noundef %count, i32 noundef %item_height, <2 x float> %size.coerce) local_unnamed_addr #23 { entry: %0 = load i32, ptr %selected, align 4 %call = tail call i32 @nk_combo_callback(ptr noundef %ctx, ptr noundef %item_getter, ptr noundef %userdata, i32 noundef %0, i32 noundef %count, i32 noundef %item_height, <2 x float> %size.coerce) @@ -70962,7 +70957,7 @@ entry: } ; Function Attrs: nounwind uwtable -define i32 @nk_tooltip_begin(ptr noundef %ctx, float noundef %width) local_unnamed_addr #31 { +define i32 @nk_tooltip_begin(ptr noundef %ctx, float noundef %width) local_unnamed_addr #23 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -71045,7 +71040,7 @@ return: ; preds = %land.lhs.true, %ent } ; Function Attrs: nounwind uwtable -define void @nk_tooltip_end(ptr noundef %ctx) local_unnamed_addr #23 { +define void @nk_tooltip_end(ptr noundef %ctx) local_unnamed_addr #18 { entry: %tobool.not = icmp eq ptr %ctx, null br i1 %tobool.not, label %return, label %lor.lhs.false @@ -71080,7 +71075,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define void @nk_tooltip(ptr noundef %ctx, ptr noundef %text) local_unnamed_addr #31 { +define void @nk_tooltip(ptr noundef %ctx, ptr noundef %text) local_unnamed_addr #23 { entry: %bounds.i = alloca %struct.nk_rect, align 8 %tobool.not = icmp eq ptr %ctx, null @@ -71127,7 +71122,7 @@ nk_strlen.exit: ; preds = %while.body.i, %if.e %height = getelementptr inbounds %struct.nk_user_font, ptr %4, i64 0, i32 1 %6 = load float, ptr %height, align 8 %7 = load ptr, ptr %4, align 8 - %call11 = tail call float %5(ptr %7, float noundef %6, ptr noundef nonnull %text, i32 noundef %siz.05.i.lcssa) #63 + %call11 = tail call float %5(ptr %7, float noundef %6, ptr noundef nonnull %text, i32 noundef %siz.05.i.lcssa) #51 %8 = tail call float @llvm.fmuladd.f32(float %padding.sroa.0.0.copyload, float 4.000000e+00, float %call11) %9 = load ptr, ptr %style7, align 8 %height13 = getelementptr inbounds %struct.nk_user_font, ptr %9, i64 0, i32 1 @@ -71307,7 +71302,7 @@ lor.lhs.false.i: ; preds = %if.end.i24, %if.end %width.i.i = getelementptr inbounds %struct.nk_user_font, ptr %31, i64 0, i32 2 %36 = load ptr, ptr %width.i.i, align 8 %37 = load ptr, ptr %31, align 8 - %call.i.i = tail call float %36(ptr %37, float noundef %35, ptr noundef nonnull %text, i32 noundef %siz.05.i.lcssa) #63 + %call.i.i = tail call float %36(ptr %37, float noundef %35, ptr noundef nonnull %text, i32 noundef %siz.05.i.lcssa) #51 %b.sroa.0.0.vec.extract.i.i = extractelement <2 x float> %32, i64 0 %add35.i.i = fadd float %item_padding.sroa.0.0.copyload.i, %b.sroa.0.0.vec.extract.i.i %38 = insertelement <2 x float> poison, float %add35.i.i, i64 0 @@ -71357,13 +71352,13 @@ if.end17: ; preds = %nk_popup_close.exit } ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) -declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #52 +declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #40 ; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) -declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #53 +declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #41 ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @nk_draw_vertex_element(ptr noundef %dst, ptr noundef %values, i32 noundef %format) unnamed_addr #25 { +define internal fastcc void @nk_draw_vertex_element(ptr noundef %dst, ptr noundef %values, i32 noundef %format) unnamed_addr #19 { entry: %value = alloca i8, align 1 %value21 = alloca i16, align 2 @@ -71509,8 +71504,8 @@ for.end: ; preds = %for.body.us142, %fo ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc i32 @stbtt__run_charstring(ptr nocapture noundef readonly %info, i32 noundef %glyph_index, ptr nocapture noundef %c) unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define internal fastcc i32 @stbtt__run_charstring(ptr nocapture noundef readonly %info, i32 noundef %glyph_index, ptr nocapture noundef %c) unnamed_addr #19 { entry: %s = alloca [48 x float], align 16 %subr_stack = alloca [10 x %struct.stbtt__buf], align 16 @@ -72473,8 +72468,8 @@ return: ; preds = %sw.bb8, %sw.bb16, % ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(argmem: read) uwtable -define internal fastcc { ptr, i64 } @stbtt__cff_index_get(ptr %b.coerce0, i64 %b.coerce1, i32 noundef %i) unnamed_addr #54 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define internal fastcc { ptr, i64 } @stbtt__cff_index_get(ptr %b.coerce0, i64 %b.coerce1, i32 noundef %i) unnamed_addr #9 { entry: %b.sroa.18.8.extract.shift = lshr i64 %b.coerce1, 32 %b.sroa.18.8.extract.trunc = trunc i64 %b.sroa.18.8.extract.shift to i32 @@ -72615,7 +72610,7 @@ stbtt__buf_range.exit: ; preds = %stbtt__buf_get.exit } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @stbtt__csctx_rmove_to(ptr nocapture noundef %ctx, float noundef %dx, float noundef %dy) unnamed_addr #27 { +define internal fastcc void @stbtt__csctx_rmove_to(ptr nocapture noundef %ctx, float noundef %dx, float noundef %dy) unnamed_addr #21 { entry: tail call fastcc void @stbtt__csctx_close_shape(ptr noundef %ctx) %x = getelementptr inbounds %struct.stbtt__csctx, ptr %ctx, i64 0, i32 4 @@ -72738,7 +72733,7 @@ stbtt__csctx_v.exit: ; preds = %stbtt__track_vertex } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @stbtt__csctx_rline_to(ptr nocapture noundef %ctx, float noundef %dx, float noundef %dy) unnamed_addr #27 { +define internal fastcc void @stbtt__csctx_rline_to(ptr nocapture noundef %ctx, float noundef %dx, float noundef %dy) unnamed_addr #21 { entry: %x = getelementptr inbounds %struct.stbtt__csctx, ptr %ctx, i64 0, i32 4 %0 = load <2 x float>, ptr %x, align 8 @@ -72858,7 +72853,7 @@ stbtt__csctx_v.exit: ; preds = %stbtt__track_vertex } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @stbtt__csctx_rccurve_to(ptr nocapture noundef %ctx, float noundef %dx1, float noundef %dy1, float noundef %dx2, float noundef %dy2, float noundef %dx3, float noundef %dy3) unnamed_addr #27 { +define internal fastcc void @stbtt__csctx_rccurve_to(ptr nocapture noundef %ctx, float noundef %dx1, float noundef %dy1, float noundef %dx2, float noundef %dy2, float noundef %dx3, float noundef %dy3) unnamed_addr #21 { entry: %x = getelementptr inbounds %struct.stbtt__csctx, ptr %ctx, i64 0, i32 4 %0 = load <2 x float>, ptr %x, align 8 @@ -73062,7 +73057,7 @@ stbtt__csctx_v.exit: ; preds = %stbtt__track_vertex } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @stbtt__csctx_close_shape(ptr nocapture noundef %ctx) unnamed_addr #27 { +define internal fastcc void @stbtt__csctx_close_shape(ptr nocapture noundef %ctx) unnamed_addr #21 { entry: %first_x = getelementptr inbounds %struct.stbtt__csctx, ptr %ctx, i64 0, i32 2 %x = getelementptr inbounds %struct.stbtt__csctx, ptr %ctx, i64 0, i32 4 @@ -73331,8 +73326,8 @@ return: ; preds = %stbtt__buf_get8.exi ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal fastcc { ptr, i64 } @stbtt__get_subrs(ptr %cff.coerce0, i64 %cff.coerce1, ptr %fontdict.coerce0, i64 %fontdict.coerce1) unnamed_addr #9 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +define internal fastcc { ptr, i64 } @stbtt__get_subrs(ptr %cff.coerce0, i64 %cff.coerce1, ptr %fontdict.coerce0, i64 %fontdict.coerce1) unnamed_addr #6 { entry: %fontdict = alloca %struct.stbtt__buf, align 8 %subrsoff = alloca i32, align 4 @@ -73504,8 +73499,8 @@ return: ; preds = %stbtt__buf_range.ex ret { ptr, i64 } %call11.pn } -; Function Attrs: nofree nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @stbtt__dict_get_ints(ptr nocapture noundef %b, i32 noundef %key, i32 noundef %outcount, ptr nocapture noundef writeonly %out) unnamed_addr #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define internal fastcc void @stbtt__dict_get_ints(ptr nocapture noundef %b, i32 noundef %key, i32 noundef %outcount, ptr nocapture noundef writeonly %out) unnamed_addr #7 { entry: %operands = alloca %struct.stbtt__buf, align 8 %size.i.i = getelementptr inbounds %struct.stbtt__buf, ptr %b, i64 0, i32 2 @@ -74176,7 +74171,7 @@ if.end52: ; preds = %if.then25, %entry, } ; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @stbtt__sort_edges_quicksort(ptr noundef %p, i32 noundef %n) unnamed_addr #30 { +define internal fastcc void @stbtt__sort_edges_quicksort(ptr noundef %p, i32 noundef %n) unnamed_addr #35 { entry: %t = alloca %struct.stbtt__edge, align 4 %cmp58 = icmp sgt i32 %n, 12 @@ -74285,19 +74280,19 @@ while.end: ; preds = %if.end85, %entry } ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare double @fmod(double noundef, double noundef) local_unnamed_addr #38 +declare double @fmod(double noundef, double noundef) local_unnamed_addr #29 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare double @acos(double noundef) local_unnamed_addr #38 +declare double @acos(double noundef) local_unnamed_addr #29 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare double @cos(double noundef) local_unnamed_addr #38 +declare double @cos(double noundef) local_unnamed_addr #29 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare double @pow(double noundef, double noundef) local_unnamed_addr #38 +declare double @pow(double noundef, double noundef) local_unnamed_addr #29 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define internal fastcc i32 @stbtt__isfont(ptr nocapture noundef readonly %font) unnamed_addr #14 { +define internal fastcc i32 @stbtt__isfont(ptr nocapture noundef readonly %font) unnamed_addr #11 { entry: %0 = load i8, ptr %font, align 1 switch i8 %0, label %if.end111 [ @@ -74402,7 +74397,7 @@ return: ; preds = %land.lhs.true104, % } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #55 +declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #43 ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal fastcc i32 @stbtt__matchpair(ptr nocapture noundef readonly %fc, i32 noundef %nm, ptr nocapture noundef readonly %name, i32 noundef %nlen, i32 noundef %target_id, i32 noundef %next_id) unnamed_addr #6 { @@ -74804,22 +74799,22 @@ return: ; preds = %if.then, %if.end, % } ; Function Attrs: nofree nounwind -declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #56 +declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #44 ; Function Attrs: nofree nounwind -declare noundef i32 @fseek(ptr nocapture noundef, i64 noundef, i32 noundef) local_unnamed_addr #56 +declare noundef i32 @fseek(ptr nocapture noundef, i64 noundef, i32 noundef) local_unnamed_addr #44 ; Function Attrs: nofree nounwind -declare noundef i64 @ftell(ptr nocapture noundef) local_unnamed_addr #56 +declare noundef i64 @ftell(ptr nocapture noundef) local_unnamed_addr #44 ; Function Attrs: nofree nounwind -declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #56 +declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #44 ; Function Attrs: nofree nounwind -declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #56 +declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #44 -; Function Attrs: nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal float @nk_font_text_width(ptr readonly %handle.coerce, float noundef %height, ptr noundef readonly %text, i32 noundef %len) #9 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +define internal float @nk_font_text_width(ptr readonly %handle.coerce, float noundef %height, ptr noundef readonly %text, i32 noundef %len) #6 { entry: %tobool = icmp ne ptr %handle.coerce, null %tobool1 = icmp ne ptr %text, null @@ -75158,7 +75153,7 @@ return: ; preds = %for.inc.i.i, %if.en } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @nk_font_query_font_glyph(ptr readonly %handle.coerce, float noundef %height, ptr noundef writeonly %glyph, i32 noundef %codepoint, i32 %next_codepoint) #57 { +define internal void @nk_font_query_font_glyph(ptr readonly %handle.coerce, float noundef %height, ptr noundef writeonly %glyph, i32 noundef %codepoint, i32 %next_codepoint) #45 { entry: %tobool = icmp ne ptr %handle.coerce, null %tobool1 = icmp ne ptr %glyph, null @@ -75285,7 +75280,7 @@ return: ; preds = %entry, %nk_font_fin } ; Function Attrs: nounwind uwtable -define internal fastcc ptr @nk_create_page_element(ptr noundef %ctx) unnamed_addr #23 { +define internal fastcc ptr @nk_create_page_element(ptr noundef %ctx) unnamed_addr #18 { entry: %freelist = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 18 %0 = load ptr, ptr %freelist, align 8 @@ -75334,7 +75329,7 @@ if.else.i: ; preds = %if.then.i %alloc9.i = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 13, i32 0, i32 1 %8 = load ptr, ptr %alloc9.i, align 8 %9 = load ptr, ptr %pool, align 8 - %call.i = tail call ptr %8(ptr %9, ptr noundef null, i64 noundef %add.i) #63 + %call.i = tail call ptr %8(ptr %9, ptr noundef null, i64 noundef %add.i) #51 %10 = load ptr, ptr %pages.i, align 8 %next.i = getelementptr inbounds %struct.nk_page, ptr %call.i, i64 0, i32 1 store ptr %10, ptr %next.i, align 8 @@ -75390,7 +75385,7 @@ return: ; preds = %if.then.i, %if.else } ; Function Attrs: nounwind uwtable -define internal fastcc float @nk_do_scrollbarv(ptr nocapture noundef %state, ptr noundef %out, <2 x float> %scroll.coerce0, <2 x float> %scroll.coerce1, i32 noundef %has_scrolling, float noundef %offset, float noundef %target, float noundef %step, float noundef %button_pixel_inc, ptr noundef %style, ptr noundef %in, ptr noundef %font) unnamed_addr #31 { +define internal fastcc float @nk_do_scrollbarv(ptr nocapture noundef %state, ptr noundef %out, <2 x float> %scroll.coerce0, <2 x float> %scroll.coerce1, i32 noundef %has_scrolling, float noundef %offset, float noundef %target, float noundef %step, float noundef %button_pixel_inc, ptr noundef %style, ptr noundef %in, ptr noundef %font) unnamed_addr #23 { entry: %scroll = alloca %struct.nk_rect, align 16 %empty_north = alloca %struct.nk_rect, align 4 @@ -75535,7 +75530,7 @@ if.end55: ; preds = %if.then16, %if.end1 if.then183: ; preds = %if.end55 %userdata = getelementptr inbounds %struct.nk_style_scrollbar, ptr %style, i64 0, i32 20 %27 = load ptr, ptr %userdata, align 8 - call void %26(ptr noundef nonnull %out, ptr %27) #63 + call void %26(ptr noundef nonnull %out, ptr %27) #51 br label %if.end185 if.end185: ; preds = %if.then183, %if.end55 @@ -75549,7 +75544,7 @@ if.end185: ; preds = %if.then183, %if.end if.then187: ; preds = %if.end185 %userdata189 = getelementptr inbounds %struct.nk_style_scrollbar, ptr %style, i64 0, i32 20 %30 = load ptr, ptr %userdata189, align 8 - call void %29(ptr noundef nonnull %out, ptr %30) #63 + call void %29(ptr noundef nonnull %out, ptr %30) #51 br label %return return: ; preds = %if.end185, %if.then187, %if.end, %entry @@ -75557,8 +75552,8 @@ return: ; preds = %if.end185, %if.then ret float %retval.0 } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc float @nk_scrollbar_behavior(ptr nocapture noundef %state, ptr noundef %in, i32 noundef %has_scrolling, ptr nocapture noundef readonly %scroll, ptr nocapture noundef readonly %cursor, ptr nocapture noundef readonly %empty0, ptr nocapture noundef readonly %empty1, float noundef %scroll_offset, float noundef %target, float noundef %scroll_step, i32 noundef %o) unnamed_addr #45 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define internal fastcc float @nk_scrollbar_behavior(ptr nocapture noundef %state, ptr noundef %in, i32 noundef %has_scrolling, ptr nocapture noundef readonly %scroll, ptr nocapture noundef readonly %cursor, ptr nocapture noundef readonly %empty0, ptr nocapture noundef readonly %empty1, float noundef %scroll_offset, float noundef %target, float noundef %scroll_step, i32 noundef %o) unnamed_addr #34 { entry: %ws = alloca i32, align 4 store i32 0, ptr %ws, align 4 @@ -75948,7 +75943,7 @@ return: ; preds = %return.sink.split, } ; Function Attrs: nounwind uwtable -define internal fastcc void @nk_draw_scrollbar(ptr noundef %out, i32 noundef %state, ptr nocapture noundef readonly %style, ptr nocapture noundef readonly %bounds, ptr nocapture noundef readonly %scroll) unnamed_addr #31 { +define internal fastcc void @nk_draw_scrollbar(ptr noundef %out, i32 noundef %state, ptr nocapture noundef readonly %style, ptr nocapture noundef readonly %bounds, ptr nocapture noundef readonly %scroll) unnamed_addr #23 { entry: %and = and i32 %state, 32 %tobool.not = icmp eq i32 %and, 0 @@ -76065,8 +76060,8 @@ sw.epilog19: ; preds = %sw.bb16, %sw.bb14, ret void } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @nk_layout_widget_space(ptr nocapture noundef %bounds, ptr nocapture noundef readonly %ctx, i32 noundef %modify) unnamed_addr #44 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable +define internal fastcc void @nk_layout_widget_space(ptr nocapture noundef %bounds, ptr nocapture noundef readonly %ctx, i32 noundef %modify) unnamed_addr #25 { entry: %current = getelementptr inbounds %struct.nk_context, ptr %ctx, i64 0, i32 17 %0 = load ptr, ptr %current, align 8 @@ -76412,7 +76407,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nounwind uwtable -define internal fastcc void @nk_draw_selectable(ptr noundef %out, i32 noundef %state, ptr nocapture noundef readonly %style, i32 noundef %active, ptr nocapture noundef readonly %bounds, ptr noundef readonly %icon, ptr noundef readonly %img, i32 noundef %sym, ptr noundef %string, i32 noundef %len, i32 noundef %align, ptr noundef %font) unnamed_addr #31 { +define internal fastcc void @nk_draw_selectable(ptr noundef %out, i32 noundef %state, ptr nocapture noundef readonly %style, i32 noundef %active, ptr nocapture noundef readonly %bounds, ptr noundef readonly %icon, ptr noundef readonly %img, i32 noundef %sym, ptr noundef %string, i32 noundef %len, i32 noundef %align, ptr noundef %font) unnamed_addr #23 { entry: %padding1 = getelementptr inbounds %struct.nk_style_selectable, ptr %style, i64 0, i32 15 %0 = load float, ptr %padding1, align 4 @@ -76617,7 +76612,7 @@ if.end.i97: ; preds = %if.end57 %width.i = getelementptr inbounds %struct.nk_user_font, ptr %font, i64 0, i32 2 %30 = load ptr, ptr %width.i, align 8 %31 = load ptr, ptr %font, align 8 - %call.i = tail call float %30(ptr %31, float noundef %28, ptr noundef %string, i32 noundef %len) #63 + %call.i = tail call float %30(ptr %31, float noundef %28, ptr noundef %string, i32 noundef %len) #51 %32 = tail call float @llvm.fmuladd.f32(float %0, float 2.000000e+00, float %call.i) %and.i = and i32 %align, 1 %tobool30.not.i = icmp eq i32 %and.i, 0 @@ -76729,8 +76724,8 @@ nk_widget_text.exit: ; preds = %if.end57, %if.else1 ret void } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @nk_textedit_discard_undo(ptr noundef %state) unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define internal fastcc void @nk_textedit_discard_undo(ptr noundef %state) unnamed_addr #19 { entry: %undo_point = getelementptr inbounds %struct.nk_text_undo_state, ptr %state, i64 0, i32 2 %0 = load i16, ptr %undo_point, align 4 @@ -76860,7 +76855,7 @@ if.end49: ; preds = %do.body28.i, %if.en } ; Function Attrs: nounwind uwtable -define internal fastcc void @nk_textedit_key(ptr noundef %state, i32 noundef %key, i32 noundef %shift_mod, ptr noundef %font, float noundef %row_height) unnamed_addr #23 { +define internal fastcc void @nk_textedit_key(ptr noundef %state, i32 noundef %key, i32 noundef %shift_mod, ptr noundef %font, float noundef %row_height) unnamed_addr #18 { entry: %find = alloca %struct.nk_text_find, align 4 %row = alloca %struct.nk_text_edit_row, align 4 @@ -78207,7 +78202,7 @@ sw.epilog: ; preds = %retry, %if.then19.i } ; Function Attrs: nounwind uwtable -define internal fastcc <2 x float> @nk_text_calculate_text_bounds(ptr noundef readonly %font, ptr noundef %begin, i32 noundef %byte_len, float noundef %row_height, ptr noundef writeonly %remaining, ptr noundef writeonly %out_offset, ptr nocapture noundef %glyphs) unnamed_addr #31 { +define internal fastcc <2 x float> @nk_text_calculate_text_bounds(ptr noundef readonly %font, ptr noundef %begin, i32 noundef %byte_len, float noundef %row_height, ptr noundef writeonly %remaining, ptr noundef writeonly %out_offset, ptr nocapture noundef %glyphs) unnamed_addr #23 { entry: %tobool = icmp ne ptr %begin, null %cmp = icmp sgt i32 %byte_len, 0 @@ -78344,7 +78339,7 @@ while.body.lr.ph.preheader: ; preds = %for.inc.i.i, %nk_ut %height = getelementptr inbounds %struct.nk_user_font, ptr %font, i64 0, i32 1 %17 = load float, ptr %height, align 8 %18 = load ptr, ptr %font, align 8 - %call8 = tail call float %16(ptr %18, float noundef %17, ptr noundef nonnull %begin, i32 noundef %retval.0.i206) #63 + %call8 = tail call float %16(ptr %18, float noundef %17, ptr noundef nonnull %begin, i32 noundef %retval.0.i206) #51 store i32 0, ptr %glyphs, align 4 %19 = sext i32 %byte_len to i64 br label %while.body.lr.ph @@ -78636,7 +78631,7 @@ nk_utf_decode.exit200: ; preds = %for.inc.i.i145, %if %60 = load ptr, ptr %width, align 8 %61 = load float, ptr %height, align 8 %62 = load ptr, ptr %font, align 8 - %call44 = tail call float %60(ptr %62, float noundef %61, ptr noundef nonnull %add.ptr35, i32 noundef %retval.0.i148) #63 + %call44 = tail call float %60(ptr %62, float noundef %61, ptr noundef nonnull %add.ptr35, i32 noundef %retval.0.i148) #51 %cmp9242 = icmp slt i32 %add32, %byte_len %tobool10243 = icmp ne i32 %retval.0.i148, 0 %63 = and i1 %tobool10243, %cmp9242 @@ -78682,7 +78677,7 @@ return: ; preds = %for.end.i, %if.end5 } ; Function Attrs: nounwind uwtable -define internal fastcc void @nk_edit_draw_text(ptr noundef %out, ptr nocapture noundef readonly %style, float noundef %pos_x, float noundef %pos_y, float noundef %x_offset, ptr noundef %text, i32 noundef %byte_len, float noundef %row_height, ptr noundef %font, i32 %background.coerce, i32 %foreground.coerce, i32 noundef %is_selected) unnamed_addr #31 { +define internal fastcc void @nk_edit_draw_text(ptr noundef %out, ptr nocapture noundef readonly %style, float noundef %pos_x, float noundef %pos_y, float noundef %x_offset, ptr noundef %text, i32 noundef %byte_len, float noundef %row_height, ptr noundef %font, i32 %background.coerce, i32 %foreground.coerce, i32 noundef %is_selected) unnamed_addr #23 { entry: %tobool = icmp ne ptr %text, null %tobool1 = icmp ne i32 %byte_len, 0 @@ -78915,7 +78910,7 @@ if.end.i107: ; preds = %if.end27 %22 = load float, ptr %height, align 8 %23 = load ptr, ptr %width, align 8 %24 = load ptr, ptr %font, align 8 - %call.i = tail call float %23(ptr %24, float noundef %22, ptr noundef nonnull %line.0.ph.ph418, i32 noundef %conv) #63 + %call.i = tail call float %23(ptr %24, float noundef %22, ptr noundef nonnull %line.0.ph.ph418, i32 noundef %conv) #51 %25 = fadd float %call.i, 0.000000e+00 %cmp57.i = fcmp ogt float %25, 1.000000e+00 %cond64.i = select i1 %cmp57.i, float %25, float 1.000000e+00 @@ -79210,7 +79205,7 @@ if.end47: ; preds = %while.body %idx.ext48 = ashr exact i64 %sext479, 32 %add.ptr49 = getelementptr inbounds i8, ptr %text, i64 %idx.ext48 %67 = load ptr, ptr %font, align 8 - %call50 = tail call float %65(ptr %67, float noundef %66, ptr noundef nonnull %add.ptr49, i32 noundef %glyph_len.0389) #63 + %call50 = tail call float %65(ptr %67, float noundef %66, ptr noundef nonnull %add.ptr49, i32 noundef %glyph_len.0389) #51 %add51 = fadd float %line_width.0.ph402, %call50 %add52 = add nsw i32 %glyph_len.0389, %64 %idx.ext53 = sext i32 %add52 to i64 @@ -79379,7 +79374,7 @@ if.end.i309: ; preds = %if.end73 %width.i321 = getelementptr inbounds %struct.nk_user_font, ptr %font, i64 0, i32 2 %88 = load ptr, ptr %width.i321, align 8 %89 = load ptr, ptr %font, align 8 - %call.i322 = tail call float %88(ptr %89, float noundef %87, ptr noundef nonnull %line.0.ph.ph418, i32 noundef %conv79) #63 + %call.i322 = tail call float %88(ptr %89, float noundef %87, ptr noundef nonnull %line.0.ph.ph418, i32 noundef %conv79) #51 %b.sroa.0.0.vec.extract.i = extractelement <2 x float> %label60.sroa.0.0, i64 0 %add35.i = fadd float %b.sroa.0.0.vec.extract.i, 0.000000e+00 %90 = insertelement <2 x float> poison, float %add35.i, i64 0 @@ -79403,7 +79398,7 @@ if.end80: ; preds = %for.end.i132, %nk_w } ; Function Attrs: nounwind uwtable -define internal fastcc i32 @nk_textedit_locate_coord(ptr noundef readonly %edit, float noundef %x, float noundef %y, ptr noundef %font, float noundef %row_height) unnamed_addr #23 { +define internal fastcc i32 @nk_textedit_locate_coord(ptr noundef readonly %edit, float noundef %x, float noundef %y, ptr noundef %font, float noundef %row_height) unnamed_addr #18 { entry: %r = alloca %struct.nk_text_edit_row, align 8 %string = getelementptr inbounds %struct.nk_text_edit, ptr %edit, i64 0, i32 1 @@ -79507,7 +79502,7 @@ return: ; preds = %while.body, %land.l } ; Function Attrs: nounwind uwtable -define internal fastcc void @nk_textedit_layout_row(ptr nocapture noundef writeonly %r, ptr nocapture noundef readonly %edit, i32 noundef %line_start_id, float noundef %row_height, ptr noundef %font) unnamed_addr #31 { +define internal fastcc void @nk_textedit_layout_row(ptr nocapture noundef writeonly %r, ptr nocapture noundef readonly %edit, i32 noundef %line_start_id, float noundef %row_height, ptr noundef %font) unnamed_addr #23 { entry: %glyphs = alloca i32, align 4 %remaining = alloca ptr, align 8 @@ -79774,7 +79769,7 @@ nk_str_at_const.exit: ; preds = %nk_str_get_const.ex } ; Function Attrs: nounwind uwtable -define internal fastcc float @nk_textedit_get_width(ptr nocapture noundef readonly %edit, i32 noundef %line_start, i32 noundef %char_id, ptr nocapture noundef readonly %font) unnamed_addr #23 { +define internal fastcc float @nk_textedit_get_width(ptr nocapture noundef readonly %edit, i32 noundef %line_start, i32 noundef %char_id, ptr nocapture noundef readonly %font) unnamed_addr #18 { entry: %add = add nsw i32 %char_id, %line_start %cmp.i = icmp slt i32 %add, 0 @@ -80004,12 +79999,12 @@ nk_str_at_const.exit: ; preds = %entry, %while.end.i %height = getelementptr inbounds %struct.nk_user_font, ptr %font, i64 0, i32 1 %29 = load float, ptr %height, align 8 %30 = load ptr, ptr %font, align 8 - %call1 = tail call float %28(ptr %30, float noundef %29, ptr noundef %retval.0.i, i32 noundef %len.1) #63 + %call1 = tail call float %28(ptr %30, float noundef %29, ptr noundef %retval.0.i, i32 noundef %len.1) #51 ret float %call1 } -; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal fastcc void @nk_textedit_move_to_last(ptr nocapture noundef %state) unnamed_addr #28 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define internal fastcc void @nk_textedit_move_to_last(ptr nocapture noundef %state) unnamed_addr #22 { entry: %select_start = getelementptr inbounds %struct.nk_text_edit, ptr %state, i64 0, i32 5 %0 = load i32, ptr %select_start, align 4 @@ -80093,7 +80088,7 @@ while.end: ; preds = %while.cond, %land.r } ; Function Attrs: nounwind uwtable -define internal fastcc void @nk_textedit_find_charpos(ptr nocapture noundef %find, ptr nocapture noundef readonly %state, i32 noundef %n, i32 noundef %single_line, ptr noundef %font, float noundef %row_height) unnamed_addr #23 { +define internal fastcc void @nk_textedit_find_charpos(ptr nocapture noundef %find, ptr nocapture noundef readonly %state, i32 noundef %n, i32 noundef %single_line, ptr noundef %font, float noundef %row_height) unnamed_addr #18 { entry: %r = alloca %struct.nk_text_edit_row, align 4 %len = getelementptr inbounds %struct.nk_text_edit, ptr %state, i64 0, i32 1, i32 1 @@ -80530,8 +80525,8 @@ return: ; preds = %while.end.i, %lor.r ret i32 %retval.0 } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc ptr @nk_dtoa(ptr noundef returned %s, double noundef %n) unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +define internal fastcc ptr @nk_dtoa(ptr noundef returned %s, double noundef %n) unnamed_addr #19 { entry: %tobool.not = icmp eq ptr %s, null br i1 %tobool.not, label %return, label %if.end @@ -80769,156 +80764,144 @@ return: ; preds = %return.sink.split, } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #58 +declare i32 @llvm.smax.i32(i32, i32) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #58 +declare i32 @llvm.fshl.i32(i32, i32, i32) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #58 +declare i32 @llvm.smin.i32(i32, i32) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #58 +declare i32 @llvm.umax.i32(i32, i32) #46 declare float @sqrtf(float) local_unnamed_addr ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare float @llvm.floor.f32(float) #58 +declare float @llvm.floor.f32(float) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare float @llvm.ceil.f32(float) #58 +declare float @llvm.ceil.f32(float) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare float @llvm.fabs.f32(float) #58 +declare float @llvm.fabs.f32(float) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i16 @llvm.smin.i16(i16, i16) #58 +declare i16 @llvm.smin.i16(i16, i16) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i16 @llvm.smax.i16(i16, i16) #58 +declare i16 @llvm.smax.i16(i16, i16) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #58 +declare i64 @llvm.umin.i64(i64, i64) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #58 +declare i32 @llvm.umin.i32(i32, i32) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.abs.i32(i32, i1 immarg) #58 +declare i32 @llvm.abs.i32(i32, i1 immarg) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.usub.sat.i64(i64, i64) #58 +declare i64 @llvm.usub.sat.i64(i64, i64) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #58 +declare i64 @llvm.umax.i64(i64, i64) #46 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #59 +declare void @llvm.assume(i1 noundef) #47 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #60 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #48 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #60 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #48 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare float @llvm.sqrt.f32(float) #58 +declare float @llvm.sqrt.f32(float) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare double @llvm.sqrt.f64(double) #58 +declare double @llvm.sqrt.f64(double) #46 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #61 +declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #49 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #58 +declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.vector.reduce.or.v4i32(<4 x i32>) #58 +declare i32 @llvm.vector.reduce.or.v4i32(<4 x i32>) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <2 x float> @llvm.sqrt.v2f32(<2 x float>) #58 +declare <2 x float> @llvm.sqrt.v2f32(<2 x float>) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #58 +declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <2 x float> @llvm.ceil.v2f32(<2 x float>) #58 +declare <2 x float> @llvm.ceil.v2f32(<2 x float>) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <2 x float> @llvm.floor.v2f32(<2 x float>) #58 +declare <2 x float> @llvm.floor.v2f32(<2 x float>) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <2 x float> @llvm.fabs.v2f32(<2 x float>) #58 +declare <2 x float> @llvm.fabs.v2f32(<2 x float>) #46 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <2 x double> @llvm.sqrt.v2f64(<2 x double>) #58 +declare <2 x double> @llvm.sqrt.v2f64(<2 x double>) #46 attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #4 = { mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #4 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #6 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #8 = { nofree nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #9 = { nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #10 = { mustprogress nofree nosync nounwind willreturn memory(none) uwtable "frame-pointer"="all" "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 #11 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "frame-pointer"="all" "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 #12 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "frame-pointer"="all" "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 #13 = { mustprogress nofree nosync nounwind willreturn memory(argmem: read) uwtable "frame-pointer"="all" "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 #14 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "frame-pointer"="all" "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 #15 = { mustprogress nofree nosync nounwind willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #16 = { mustprogress nofree nosync nounwind willreturn memory(argmem: read) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #17 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #18 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "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 #19 = { nofree norecurse nosync nounwind memory(argmem: write) uwtable "frame-pointer"="all" "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 #20 = { mustprogress nofree nounwind willreturn memory(argmem: write, inaccessiblemem: readwrite) uwtable "frame-pointer"="all" "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 #21 = { mustprogress nofree nounwind willreturn memory(inaccessiblemem: readwrite) uwtable "frame-pointer"="all" "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 #22 = { mustprogress nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable "frame-pointer"="all" "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 #23 = { nounwind uwtable "frame-pointer"="all" "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 #24 = { mustprogress nofree nosync nounwind willreturn memory(argmem: write) uwtable "frame-pointer"="all" "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 #25 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #26 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #27 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #28 = { mustprogress nofree nosync nounwind willreturn memory(argmem: readwrite) uwtable "frame-pointer"="all" "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 #29 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "frame-pointer"="all" "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 #30 = { nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #31 = { nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #32 = { nofree nosync nounwind memory(argmem: write) uwtable "frame-pointer"="all" "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 #33 = { nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #34 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #35 = { nofree nounwind uwtable "frame-pointer"="all" "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 #36 = { nofree "frame-pointer"="all" "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 #37 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #38 = { mustprogress nofree nounwind willreturn memory(write) "frame-pointer"="all" "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 #39 = { nofree nounwind memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #40 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #41 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #8 = { nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #9 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "frame-pointer"="all" "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 #10 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "frame-pointer"="all" "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 #11 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "frame-pointer"="all" "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 #12 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #13 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "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 #14 = { nofree norecurse nosync nounwind memory(argmem: write) uwtable "frame-pointer"="all" "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 #15 = { mustprogress nofree nounwind willreturn memory(argmem: write, inaccessiblemem: readwrite) uwtable "frame-pointer"="all" "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 #16 = { mustprogress nofree nounwind willreturn memory(inaccessiblemem: readwrite) uwtable "frame-pointer"="all" "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 #17 = { mustprogress nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable "frame-pointer"="all" "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 #18 = { nounwind uwtable "frame-pointer"="all" "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 #19 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #20 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #21 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #22 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "frame-pointer"="all" "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 #23 = { nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #24 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #25 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #26 = { nofree nounwind uwtable "frame-pointer"="all" "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 #27 = { nofree "frame-pointer"="all" "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 #28 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #29 = { mustprogress nofree nounwind willreturn memory(write) "frame-pointer"="all" "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 #30 = { nofree nounwind memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #31 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #32 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #33 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #34 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #35 = { nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #36 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #37 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #38 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #39 = { mustprogress nofree nounwind willreturn memory(argmem: write, inaccessiblemem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #40 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="all" "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 #41 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="all" "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 #42 = { nofree nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "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 #43 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #44 = { mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "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 #45 = { mustprogress nofree nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #46 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #47 = { nofree nosync nounwind memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #48 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #49 = { mustprogress nofree nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #50 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #51 = { mustprogress nofree nounwind willreturn memory(argmem: write, inaccessiblemem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #52 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="all" "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 #53 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="all" "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 #54 = { nofree nosync nounwind memory(argmem: read) uwtable "frame-pointer"="all" "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 #55 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="all" "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 #56 = { nofree nounwind "frame-pointer"="all" "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 #57 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #58 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #59 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #60 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #61 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #62 = { nounwind allocsize(0) } -attributes #63 = { nounwind } -attributes #64 = { nounwind willreturn memory(read) } +attributes #43 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="all" "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 #44 = { nofree nounwind "frame-pointer"="all" "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 #45 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "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 #46 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #47 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #48 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #49 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #50 = { nounwind allocsize(0) } +attributes #51 = { nounwind } +attributes #52 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/scripts/setup_pre_commit_patch.sh b/scripts/setup_pre_commit_patch.sh index bba61ce1da6..dffc927c98d 100755 --- a/scripts/setup_pre_commit_patch.sh +++ b/scripts/setup_pre_commit_patch.sh @@ -2,7 +2,7 @@ set -euo pipefail shopt -s inherit_errexit -export GITHUB_PATCH_ID="/llvm-project/commit/" +export GITHUB_PATCH_ID="llvm/llvm-project/pull/66668" # Please rebase manually # git fetch origin