From 48fa83b04ce7c544f81c386e34d405c57c8d4f16 Mon Sep 17 00:00:00 2001 From: Yingwei Zheng Date: Tue, 23 Jul 2024 19:00:03 +0800 Subject: [PATCH 1/2] pre-commit: test PR100102 PR Link: https://github.com/llvm/llvm-project/pull/100102 --- scripts/setup_pre_commit_patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup_pre_commit_patch.sh b/scripts/setup_pre_commit_patch.sh index d8d993d1b31..af9fc0f8bd4 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/100102" # Please rebase manually # git fetch origin From e1d5477e51c3ba6c38bfe3c8652460a3d24198b7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 23 Jul 2024 19:25:11 +0800 Subject: [PATCH 2/2] pre-commit: Update --- bench/abc/optimized/abcBlifMv.c.ll | 4 +- bench/abc/optimized/abcSop.c.ll | 30 +-- bench/abc/optimized/amapLiberty.c.ll | 12 +- bench/abc/optimized/amapRead.c.ll | 8 +- bench/abc/optimized/dauEnum.c.ll | 6 +- bench/abc/optimized/dauNonDsd.c.ll | 143 +++++++------- bench/abc/optimized/dauNpn.c.ll | 16 +- bench/abc/optimized/extraBddThresh.c.ll | 32 +-- bench/abc/optimized/extraUtilTruth.c.ll | 62 +++--- bench/abc/optimized/giaAigerExt.c.ll | 73 +++---- bench/abc/optimized/ifDec08.c.ll | 43 ++-- bench/abc/optimized/ifDsd.c.ll | 26 +-- bench/abc/optimized/ifLibLut.c.ll | 181 +++++++++-------- bench/abc/optimized/kitPla.c.ll | 14 +- bench/abc/optimized/kitTruth.c.ll | 183 +++++++++--------- bench/abc/optimized/luckySwap.c.ll | 42 ++-- bench/abc/optimized/trees.c.ll | 35 ++-- bench/abc/optimized/utilNam.c.ll | 18 +- bench/abseil-cpp/optimized/city.cc.ll | 10 +- bench/abseil-cpp/optimized/crc.cc.ll | 97 +++++----- bench/abseil-cpp/optimized/match.cc.ll | 41 ++-- bench/abseil-cpp/optimized/randen_slow.cc.ll | 9 +- bench/arrow/optimized/bitmap_ops.cc.ll | 54 +++--- bench/arrow/optimized/row_internal.cc.ll | 111 ++++++----- bench/assimp/optimized/Assimp.cpp.ll | 38 ++-- bench/assimp/optimized/RemoveComments.cpp.ll | 27 ++- bench/assimp/optimized/shapes.cc.ll | 51 +++-- bench/brotli/optimized/static_dict.c.ll | 17 +- .../optimized/btGeneric6DofConstraint.ll | 82 ++++---- .../btGeneric6DofSpring2Constraint.ll | 157 ++++++++------- bench/bullet3/optimized/btTetrahedronShape.ll | 65 +++---- bench/clamav/optimized/arc4.c.ll | 5 +- bench/clamav/optimized/crypt.cpp.ll | 135 +++++++------ bench/clamav/optimized/infblock.c.ll | 19 +- bench/clamav/optimized/sha256.cpp.ll | 23 ++- bench/clamav/optimized/strfn.cpp.ll | 93 +++++---- bench/clamav/optimized/unicode.cpp.ll | 124 ++++++------ bench/cmake/optimized/MD5.c.ll | 45 +++-- bench/cmake/optimized/fse_compress.c.ll | 31 ++- bench/cmake/optimized/hex.c.ll | 26 ++- bench/cmake/optimized/json_reader.cpp.ll | 58 +++--- bench/cmake/optimized/sha256.c.ll | 19 +- bench/cmake/optimized/xmltok.c.ll | 146 +++++++------- .../optimized/4kgrj997pbefuahr.ll | 135 ++++++------- bench/cpp-httplib/optimized/httplib.cc.ll | 86 ++++---- bench/cpython/optimized/bytes_methods.ll | 46 ++--- bench/cpython/optimized/obmalloc.ll | 82 ++++---- bench/cpython/optimized/pyhash.ll | 21 +- bench/cpython/optimized/xmltok.ll | 154 +++++++-------- bench/eastl/optimized/EAMemory.cpp.ll | 93 ++++----- bench/eastl/optimized/EARandom.cpp.ll | 53 +++-- bench/eastl/optimized/EATextUtil.cpp.ll | 163 ++++++++-------- bench/eastl/optimized/Int128_t.cpp.ll | 167 ++++++++-------- bench/faiss/optimized/distances_simd.cpp.ll | 123 ++++++------ bench/faiss/optimized/pq4_fast_scan.cpp.ll | 170 ++++++++-------- bench/faiss/optimized/utils.cpp.ll | 144 +++++++------- bench/flac/optimized/format.c.ll | 69 +++---- bench/folly/optimized/SpookyHashV1.cpp.ll | 25 ++- bench/freetype/optimized/pshinter.c.ll | 157 +++++++-------- bench/freetype/optimized/psnames.c.ll | 61 +++--- bench/freetype/optimized/smooth.c.ll | 111 +++++------ bench/git/optimized/basics.ll | 29 +-- bench/git/optimized/hex.ll | 42 ++-- bench/graphviz/optimized/matrix_ops.c.ll | 147 +++++++------- .../optimized/coordinatetransformation.cpp.ll | 83 ++++---- bench/gromacs/optimized/md5.c.ll | 11 +- .../gromacs/optimized/simulationsignal.cpp.ll | 7 +- .../grpc/optimized/compression_internal.cc.ll | 97 +++++----- bench/hdf5/optimized/H5B2test.c.ll | 116 ++++++----- bench/hdf5/optimized/H5Dbtree.c.ll | 139 +++++++------ bench/hdf5/optimized/H5Gbtree2.c.ll | 61 +++--- bench/hdf5/optimized/H5Tbit.c.ll | 29 ++- bench/hdf5/optimized/H5VM.c.ll | 80 ++++---- bench/hermes/optimized/FoldingSet.cpp.ll | 155 +++++++-------- bench/hyperscan/optimized/gough.c.ll | 117 ++++++----- bench/hyperscan/optimized/mpvcompile.cpp.ll | 155 ++++++++------- bench/hyperscan/optimized/repeat.c.ll | 64 +++--- bench/hyperscan/optimized/shufti.c.ll | 27 +-- bench/hyperscan/optimized/state_compress.c.ll | 38 ++-- .../hyperscan/optimized/stream_compress.c.ll | 48 +++-- bench/hyperscan/optimized/truffle.c.ll | 35 ++-- bench/icu/optimized/collationweights.ll | 21 +- bench/icu/optimized/normalizer2impl.ll | 133 ++++++------- bench/icu/optimized/patternprops.ll | 15 +- bench/icu/optimized/ucnv_io.ll | 22 +-- bench/icu/optimized/ucol_sit.ll | 151 +++++++-------- bench/icu/optimized/ufmt_cmn.ll | 33 ++-- bench/icu/optimized/uhash.ll | 77 ++++---- bench/icu/optimized/uinvchar.ll | 20 +- bench/icu/optimized/unistr.ll | 163 ++++++++-------- bench/icu/optimized/ustring.ll | 102 +++++----- bench/icu/optimized/uvector.ll | 77 ++++---- bench/libjpeg-turbo/optimized/jdlossls.c.ll | 47 ++--- bench/libpng/optimized/pngerror.c.ll | 24 +-- bench/libquic/optimized/dtoa.cc.ll | 139 ++++++------- bench/libquic/optimized/tls_cbc.c.ll | 57 +++--- bench/libuv/optimized/idna.c.ll | 33 ++-- bench/libwebp/optimized/alpha_processing.c.ll | 54 +++--- .../optimized/alpha_processing_sse2.c.ll | 44 ++--- bench/libwebp/optimized/dec_sse2.c.ll | 94 +++++---- bench/libwebp/optimized/enc.c.ll | 127 ++++++------ bench/libwebp/optimized/enc_sse2.c.ll | 69 ++++--- bench/libwebp/optimized/filters.c.ll | 37 ++-- bench/libwebp/optimized/lossless_enc.c.ll | 169 ++++++++-------- bench/libwebp/optimized/yuv.c.ll | 86 ++++---- bench/libwebp/optimized/yuv_sse2.c.ll | 81 ++++---- bench/libzmq/optimized/socks.cpp.ll | 177 +++++++++-------- bench/lief/optimized/camellia.c.ll | 60 +++--- bench/linux/optimized/aes.ll | 13 +- bench/linux/optimized/bitmap.ll | 161 ++++++++------- bench/linux/optimized/drm_format_helper.ll | 138 +++++++------ bench/linux/optimized/filter.ll | 90 ++++----- bench/linux/optimized/freq_table.ll | 57 +++--- bench/linux/optimized/huf_decompress.ll | 166 ++++++++-------- bench/linux/optimized/libata-scsi.ll | 40 ++-- bench/linux/optimized/nf_conntrack_ftp.ll | 87 ++++----- bench/linux/optimized/nls_base.ll | 119 ++++++------ bench/linux/optimized/string.ll | 75 +++---- bench/linux/optimized/string_helpers.ll | 149 +++++++------- bench/linux/optimized/xz_dec_lzma2.ll | 31 +-- bench/llama.cpp/optimized/ggml-quants.c.ll | 134 +++++++------ bench/lodepng/optimized/lodepng.cpp.ll | 106 +++++----- bench/luajit/optimized/lj_asm.ll | 167 ++++++++-------- bench/luajit/optimized/lj_str.ll | 71 +++---- bench/luau/optimized/UnwindBuilderWin.cpp.ll | 103 +++++----- .../meshoptimizer/optimized/indexcodec.cpp.ll | 13 +- .../minetest/optimized/CColorConverter.cpp.ll | 74 +++---- bench/ocio/optimized/LogOpCPU.cpp.ll | 28 +-- bench/ockam-rs/optimized/8oe7xo67uolatn4.ll | 75 ++++--- bench/oiio/optimized/DPXHeader.cpp.ll | 91 +++++---- bench/openblas/optimized/common.c.ll | 43 ++-- bench/opencv/optimized/accum.dispatch.cpp.ll | 114 +++++------ .../opencv/optimized/cap_mjpeg_encoder.cpp.ll | 42 ++-- bench/opencv/optimized/conv_depthwise.cpp.ll | 173 ++++++++--------- bench/openexr/optimized/ImfLut.cpp.ll | 37 ++-- bench/openjdk/optimized/FourByteAbgr.ll | 25 +-- bench/openjdk/optimized/FourByteAbgrPre.ll | 23 +-- bench/openjdk/optimized/cmspack.ll | 128 ++++++------ bench/openjdk/optimized/imageFile.ll | 44 ++--- .../optimized/jvmtiManageCapabilities.ll | 51 ++--- .../openjdk/optimized/mlib_c_ImageLookUp_f.ll | 119 ++++++------ bench/openjdk/optimized/utf8.ll | 49 +++-- .../opal_copy_functions_heterogeneous.ll | 49 ++--- .../optimized/libcrypto-lib-bio_addr.ll | 179 +++++++++-------- bench/pbrt-v4/optimized/aggregates.cpp.ll | 80 ++++---- bench/php/optimized/crypt_sha512.ll | 103 +++++----- bench/php/optimized/hash_xxhash.ll | 153 ++++++++------- bench/php/optimized/md5.ll | 63 +++--- bench/php/optimized/pcre2_compile.ll | 171 ++++++++-------- .../optimized/zend_accelerator_util_funcs.ll | 151 ++++++++------- bench/postgres/optimized/aset.ll | 107 +++++----- bench/postgres/optimized/freepage.ll | 89 ++++----- bench/postgres/optimized/generation.ll | 93 +++++---- bench/postgres/optimized/localtime.ll | 110 ++++++----- bench/postgres/optimized/path.ll | 117 +++++------ bench/postgres/optimized/path_srv.ll | 143 +++++++------- bench/qemu/optimized/audio_mixeng.c.ll | 96 ++++----- .../optimized/hw_net_can_can_sja1000.c.ll | 89 +++++---- bench/qemu/optimized/util_bitmap.c.ll | 49 +++-- bench/qemu/optimized/util_bitops.c.ll | 15 +- bench/quickjs/optimized/libunicode.ll | 84 ++++---- bench/raylib/optimized/rtextures.c.ll | 68 +++---- bench/recastnavigation/optimized/fastlz.c.ll | 9 +- bench/redis/optimized/hyperloglog.ll | 50 ++--- .../ripgrep-rs/optimized/20vllb8f66lp502b.ll | 165 ++++++++-------- bench/ropey-rs/optimized/sjmtivrqc2m3vu9.ll | 141 +++++++------- bench/ruby/optimized/iso2022.ll | 36 ++-- bench/ruby/optimized/parser_st.ll | 56 +++--- bench/ruby/optimized/sha2.ll | 67 ++++--- bench/ruby/optimized/st.ll | 72 +++---- .../optimized/1qi1hdvt97mcv6ru.ll | 65 ++++--- .../optimized/2ggwxq7zy4uqwag1.ll | 99 +++++----- .../optimized/47txxwz9tojfkorr.ll | 161 +++++++-------- .../optimized/4fo6e09jeifrbt47.ll | 60 +++--- .../optimized/gh7k7tbgb4rm61k.ll | 53 ++--- bench/slurm/optimized/bitstring.ll | 101 +++++----- bench/stb/optimized/stb_tilemap_editor.c.ll | 170 ++++++++-------- .../optimized/50gi8jfmf82cuy8e.ll | 172 ++++++++-------- bench/typst-rs/optimized/3dimj4rf5dyrieyi.ll | 126 ++++++------ bench/wolfssl/optimized/sha256.c.ll | 56 +++--- bench/wolfssl/optimized/sha512.c.ll | 73 ++++--- bench/z3/optimized/sat_cutset.cpp.ll | 71 ++++--- bench/zstd/optimized/xxhash.c.ll | 55 +++--- .../zstd/optimized/zstd_decompress_block.c.ll | 87 +++++---- bench/zstd/optimized/zstd_v01.c.ll | 39 ++-- bench/zstd/optimized/zstd_v04.c.ll | 95 +++++---- .../optimized/PDFDetectionResultColumn.cpp.ll | 109 +++++------ bench/zxing/optimized/zueci.c.ll | 83 ++++---- 188 files changed, 7458 insertions(+), 7521 deletions(-) diff --git a/bench/abc/optimized/abcBlifMv.c.ll b/bench/abc/optimized/abcBlifMv.c.ll index be6a1a3c941..70903a1f781 100644 --- a/bench/abc/optimized/abcBlifMv.c.ll +++ b/bench/abc/optimized/abcBlifMv.c.ll @@ -3579,7 +3579,7 @@ default.unreachable: ; preds = %52 ret ptr %.063 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define i32 @Abc_NodeEvalMvCostInternal(i32 noundef %0, ptr nocapture noundef readnone %1, ptr nocapture noundef readonly %2) local_unnamed_addr #7 { %4 = load i8, ptr %2, align 1 %.not5 = icmp eq i8 %4, 0 @@ -3764,7 +3764,7 @@ attributes #3 = { mustprogress nounwind willreturn allockind("free") memory(argm attributes #4 = { 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 #5 = { 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 #6 = { 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 #7 = { 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(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 #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #9 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) 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 #10 = { nofree nounwind } diff --git a/bench/abc/optimized/abcSop.c.ll b/bench/abc/optimized/abcSop.c.ll index c47f9f46524..320e6fe3aa8 100644 --- a/bench/abc/optimized/abcSop.c.ll +++ b/bench/abc/optimized/abcSop.c.ll @@ -843,7 +843,7 @@ Abc_SopComplement.exit: ; preds = %.preheader, %Abc_So declare i32 @Kit_TruthIsop(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Abc_SopComplement(ptr nocapture noundef %0) local_unnamed_addr #5 { br label %2 @@ -1120,7 +1120,7 @@ Vec_IntPush.exit: ; preds = %.Vec_IntGrow.exit10 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define noundef i32 @Abc_SopGetVarNum(ptr noundef %0) local_unnamed_addr #6 { br label %2 @@ -1149,7 +1149,7 @@ define noundef i32 @Abc_SopGetVarNum(ptr noundef %0) local_unnamed_addr #6 { ret i32 %.06 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define i32 @Abc_SopGetCubeNum(ptr noundef readonly %0) local_unnamed_addr #6 { %2 = icmp eq ptr %0, null br i1 %2, label %.loopexit, label %.preheader @@ -1176,7 +1176,7 @@ define i32 @Abc_SopGetCubeNum(ptr noundef readonly %0) local_unnamed_addr #6 { ret i32 %.08 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define i32 @Abc_SopGetLitNum(ptr noundef readonly %0) local_unnamed_addr #6 { %2 = icmp eq ptr %0, null br i1 %2, label %.loopexit, label %.preheader @@ -1207,7 +1207,7 @@ define i32 @Abc_SopGetLitNum(ptr noundef readonly %0) local_unnamed_addr #6 { ret i32 %.011 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define range(i32 -1, 2) i32 @Abc_SopGetPhase(ptr noundef %0) local_unnamed_addr #6 { br label %2 @@ -1255,7 +1255,7 @@ Abc_SopGetVarNum.exit: ; preds = %2, %6 ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define range(i32 -176, 80) i32 @Abc_SopGetIthCareLit(ptr noundef %0, i32 noundef %1) local_unnamed_addr #6 { br label %3 @@ -1313,7 +1313,7 @@ Abc_SopGetVarNum.exit: ; preds = %3, %7 ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Abc_SopComplementVar(ptr noundef %0, i32 noundef %1) local_unnamed_addr #5 { br label %3 @@ -1375,7 +1375,7 @@ Abc_SopGetVarNum.exit: ; preds = %3, %7 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define range(i32 0, 2) i32 @Abc_SopIsComplement(ptr nocapture noundef readonly %0) local_unnamed_addr #6 { br label %2 @@ -1509,7 +1509,7 @@ define range(i32 0, 2) i32 @Abc_SopIsInv(ptr nocapture noundef readonly %0) loca ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define range(i32 0, 2) i32 @Abc_SopIsAndType(ptr noundef readonly %0) local_unnamed_addr #6 { %2 = icmp eq ptr %0, null br i1 %2, label %Abc_SopGetCubeNum.exit.thread, label %.preheader.i @@ -1560,7 +1560,7 @@ Abc_SopGetCubeNum.exit.thread: ; preds = %.preheader, %.prehe ret i32 %.06 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define range(i32 0, 2) i32 @Abc_SopIsOrType(ptr noundef %0) local_unnamed_addr #6 { br label %2 @@ -1654,7 +1654,7 @@ Abc_SopGetCubeNum.exit: ; preds = %.lr.ph.i, %Abc_SopG ret i32 %.013 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define range(i32 0, 2) i32 @Abc_SopIsExorType(ptr nocapture noundef readonly %0) local_unnamed_addr #6 { br label %2 @@ -3762,7 +3762,7 @@ Vec_StrFree.exit: ; preds = %Vec_StrPush.exit32, ret ptr %.0.i34 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define i64 @Abc_SopToTruth(ptr noundef %0, i32 noundef %1) local_unnamed_addr #6 { br label %3 @@ -3873,7 +3873,7 @@ Abc_SopIsComplement.exit.thread: ; preds = %34, %Abc_SopIsCompl ret i64 %44 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Abc_SopToTruth7(ptr noundef %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #5 { br label %4 @@ -4225,8 +4225,8 @@ attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protect attributes #2 = { 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 #3 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #5 = { 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 #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 #5 = { 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 #6 = { 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 #7 = { 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 #8 = { 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 #9 = { 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" } diff --git a/bench/abc/optimized/amapLiberty.c.ll b/bench/abc/optimized/amapLiberty.c.ll index 3feb83dd747..080b06aad2b 100644 --- a/bench/abc/optimized/amapLiberty.c.ll +++ b/bench/abc/optimized/amapLiberty.c.ll @@ -2207,7 +2207,7 @@ declare noundef i32 @fseek(ptr nocapture noundef, i64 noundef, i32 noundef) loca ; Function Attrs: nofree nounwind declare noundef i64 @ftell(ptr nocapture noundef) local_unnamed_addr #1 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Amap_LibertyFixFileHead(ptr nocapture noundef %0) local_unnamed_addr #9 { br label %2 @@ -2231,7 +2231,7 @@ define void @Amap_LibertyFixFileHead(ptr nocapture noundef %0) local_unnamed_add ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define i32 @Amap_LibertyCountItems(ptr noundef readonly %0, ptr noundef readnone %1) local_unnamed_addr #10 { %3 = icmp ult ptr %0, %1 br i1 %3, label %.lr.ph, label %._crit_edge @@ -2254,7 +2254,7 @@ define i32 @Amap_LibertyCountItems(ptr noundef readonly %0, ptr noundef readnone ret i32 %.0.lcssa } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Amap_LibertyWipeOutComments(ptr noundef %0, ptr noundef readnone %1) local_unnamed_addr #9 { %3 = ptrtoint ptr %1 to i64 %4 = icmp ult ptr %0, %1 @@ -2973,7 +2973,7 @@ Amap_LibertyCharIsSpace.exit: ; preds = %17, %17, %17, %17, ret i64 %.sroa.020.0.insert.insert } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal fastcc noundef ptr @Amap_LibertyFindMatch(ptr noundef readonly %0, ptr noundef readnone %1) unnamed_addr #10 { %3 = ptrtoint ptr %0 to i64 %4 = ptrtoint ptr %1 to i64 @@ -3775,8 +3775,8 @@ attributes #5 = { mustprogress nofree nounwind willreturn memory(argmem: readwri attributes #6 = { 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 #7 = { mustprogress nofree 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 #8 = { mustprogress nofree nounwind willreturn memory(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 #9 = { 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 #10 = { 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 #9 = { 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 #10 = { 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 #11 = { 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 #12 = { 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 #13 = { 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" } diff --git a/bench/abc/optimized/amapRead.c.ll b/bench/abc/optimized/amapRead.c.ll index 6d58f353eb3..32011077731 100644 --- a/bench/abc/optimized/amapRead.c.ll +++ b/bench/abc/optimized/amapRead.c.ll @@ -79,7 +79,7 @@ declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr ; Function Attrs: nofree nounwind declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2 -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Amap_RemoveComments(ptr nocapture noundef %0, ptr noundef writeonly %1, ptr noundef writeonly %2) local_unnamed_addr #4 { br label %4 @@ -482,7 +482,7 @@ define noundef ptr @Amap_ParseGateWithSamePins(ptr nocapture noundef readonly %0 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #9 -; Function Attrs: nofree nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define i32 @Amap_CollectFormulaTokens(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, i32 noundef %2) local_unnamed_addr #10 { %4 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #19 %5 = getelementptr inbounds i8, ptr %1, i64 %4 @@ -1312,13 +1312,13 @@ attributes #0 = { nounwind uwtable "frame-pointer"="all" "min-legal-vector-width attributes #1 = { "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 #2 = { 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 #3 = { 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 #4 = { nofree norecurse nosync nounwind 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 #4 = { 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 #5 = { mustprogress nofree nounwind willreturn "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 #6 = { 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 #7 = { 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 #8 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #10 = { nofree 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 #10 = { nofree 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 #11 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #12 = { mustprogress nofree nounwind willreturn memory(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 #13 = { 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" } diff --git a/bench/abc/optimized/dauEnum.c.ll b/bench/abc/optimized/dauEnum.c.ll index b28688e5899..01182c951a2 100644 --- a/bench/abc/optimized/dauEnum.c.ll +++ b/bench/abc/optimized/dauEnum.c.ll @@ -19,7 +19,7 @@ target triple = "x86_64-pc-linux-gnu" @.str.9 = private unnamed_addr constant [19 x i8] c"_npn/npn/dsd10.txt\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"%d=%d \00", align 1 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: read, inaccessiblemem: none) uwtable define noundef nonnull ptr @Dau_EnumLift(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i8, ptr %0, align 1 %.not12 = icmp eq i8 %3, 0 @@ -50,7 +50,7 @@ define noundef nonnull ptr @Dau_EnumLift(ptr nocapture noundef readonly %0, i32 ret ptr @Dau_EnumLift.pBuffer } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: read, inaccessiblemem: none) uwtable define noundef nonnull ptr @Dau_EnumLift2(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i8, ptr %0, align 1 %.not12 = icmp eq i8 %3, 0 @@ -1487,7 +1487,7 @@ declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias ; Function Attrs: nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #11 -attributes #0 = { 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 #0 = { nofree norecurse nosync nounwind memory(write, argmem: 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 #1 = { 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 #2 = { 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 #3 = { 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" } diff --git a/bench/abc/optimized/dauNonDsd.c.ll b/bench/abc/optimized/dauNonDsd.c.ll index a482b3a12df..9fc76701da7 100644 --- a/bench/abc/optimized/dauNonDsd.c.ll +++ b/bench/abc/optimized/dauNonDsd.c.ll @@ -1543,8 +1543,8 @@ define void @Dau_DecPrintSets(ptr nocapture noundef readonly %0, i32 noundef %1) ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @Dau_DecMoveFreeToLSB(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #7 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @Dau_DecMoveFreeToLSB(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %7 = icmp sgt i32 %1, 0 br i1 %7, label %.lr.ph, label %._crit_edge @@ -1571,8 +1571,8 @@ define void @Dau_DecMoveFreeToLSB(ptr noundef %0, i32 noundef %1, ptr nocapture ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @Abc_TtMoveVar(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, i32 noundef %4, i32 noundef %5) unnamed_addr #7 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc void @Abc_TtMoveVar(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, i32 noundef %4, i32 noundef %5) unnamed_addr #0 { %7 = sext i32 %4 to i64 %8 = getelementptr inbounds i32, ptr %2, i64 %7 %9 = load i32, ptr %8, align 4 @@ -1803,7 +1803,7 @@ Abc_TtSwapVars.exit: ; preds = %._crit_edge124.spli } ; Function Attrs: nounwind uwtable -define noalias noundef ptr @Dau_DecFindSets_int(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #8 { +define noalias noundef ptr @Dau_DecFindSets_int(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #7 { .preheader191: %3 = alloca [2 x [64 x i64]], align 16 %4 = alloca [16 x i32], align 16 @@ -1813,11 +1813,11 @@ define noalias noundef ptr @Dau_DecFindSets_int(ptr nocapture noundef readonly % %8 = alloca [16 x i32], align 16 %9 = alloca [16 x i32], align 16 %10 = alloca [1024 x i64], align 16 - %11 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #18 + %11 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #17 %12 = getelementptr inbounds i8, ptr %11, i64 4 store i32 0, ptr %12, align 4 store i32 32, ptr %11, align 8 - %13 = tail call noalias dereferenceable_or_null(128) ptr @malloc(i64 noundef 128) #18 + %13 = tail call noalias dereferenceable_or_null(128) ptr @malloc(i64 noundef 128) #17 %14 = getelementptr inbounds i8, ptr %11, i64 8 store ptr %13, ptr %14, align 8 %15 = icmp slt i32 %1, 7 @@ -2047,11 +2047,11 @@ Dau_DecCreateSet.exit.us: ; preds = %.lr.ph.i71.us br i1 %.not9.i9.i.us, label %121, label %119 119: ; preds = %114 - %120 = call ptr @realloc(ptr noundef nonnull %116, i64 noundef %118) #19 + %120 = call ptr @realloc(ptr noundef nonnull %116, i64 noundef %118) #18 br label %123 121: ; preds = %114 - %122 = call noalias ptr @malloc(i64 noundef %118) #18 + %122 = call noalias ptr @malloc(i64 noundef %118) #17 br label %123 123: ; preds = %121, %119 @@ -2066,11 +2066,11 @@ Dau_DecCreateSet.exit.us: ; preds = %.lr.ph.i71.us br i1 %.not9.i.i.us, label %129, label %127 127: ; preds = %125 - %128 = call dereferenceable_or_null(64) ptr @realloc(ptr noundef nonnull %126, i64 noundef 64) #19 + %128 = call dereferenceable_or_null(64) ptr @realloc(ptr noundef nonnull %126, i64 noundef 64) #18 br label %Vec_IntGrow.exit.i.us 129: ; preds = %125 - %130 = call noalias dereferenceable_or_null(64) ptr @malloc(i64 noundef 64) #18 + %130 = call noalias dereferenceable_or_null(64) ptr @malloc(i64 noundef 64) #17 br label %Vec_IntGrow.exit.i.us Vec_IntGrow.exit.i.us: ; preds = %129, %127 @@ -2389,11 +2389,11 @@ Dau_DecCheckSetTop.exit92.us: ; preds = %Dau_DecCheckSetTop5 br i1 %.not9.i9.i96.us, label %257, label %255 255: ; preds = %250 - %256 = call ptr @realloc(ptr noundef nonnull %252, i64 noundef %254) #19 + %256 = call ptr @realloc(ptr noundef nonnull %252, i64 noundef %254) #18 br label %259 257: ; preds = %250 - %258 = call noalias ptr @malloc(i64 noundef %254) #18 + %258 = call noalias ptr @malloc(i64 noundef %254) #17 br label %259 259: ; preds = %257, %255 @@ -2408,11 +2408,11 @@ Dau_DecCheckSetTop.exit92.us: ; preds = %Dau_DecCheckSetTop5 br i1 %.not9.i.i97.us, label %265, label %263 263: ; preds = %261 - %264 = call dereferenceable_or_null(64) ptr @realloc(ptr noundef nonnull %262, i64 noundef 64) #19 + %264 = call dereferenceable_or_null(64) ptr @realloc(ptr noundef nonnull %262, i64 noundef 64) #18 br label %Vec_IntGrow.exit.i98.us 265: ; preds = %261 - %266 = call noalias dereferenceable_or_null(64) ptr @malloc(i64 noundef 64) #18 + %266 = call noalias dereferenceable_or_null(64) ptr @malloc(i64 noundef 64) #17 br label %Vec_IntGrow.exit.i98.us Vec_IntGrow.exit.i98.us: ; preds = %265, %263 @@ -2468,7 +2468,7 @@ Dau_DecSetIsContained.exit.us: ; preds = %166, %Vec_IntPush.e } ; Function Attrs: nounwind uwtable -define noalias noundef ptr @Dau_DecFindSets(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #8 { +define noalias noundef ptr @Dau_DecFindSets(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #7 { %3 = alloca [16 x ptr], align 16 call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(128) %3, i8 0, i64 128, i1 false) %4 = icmp sgt i32 %1, 2 @@ -2485,7 +2485,7 @@ define noalias noundef ptr @Dau_DecFindSets(ptr nocapture noundef readonly %0, i .lr.ph: ; preds = %.lr.ph.preheader, %.lr.ph %indvars.iv = phi i64 [ 2, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ] %6 = trunc nuw nsw i64 %indvars.iv to i32 - %7 = tail call ptr @Extra_GreyCodeSchedule(i32 noundef %6) #20 + %7 = tail call ptr @Extra_GreyCodeSchedule(i32 noundef %6) #19 %8 = getelementptr inbounds [16 x ptr], ptr %3, i64 0, i64 %indvars.iv store ptr %7, ptr %8, align 8 %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1 @@ -2508,7 +2508,7 @@ define noalias noundef ptr @Dau_DecFindSets(ptr nocapture noundef readonly %0, i br i1 %.not, label %13, label %12 12: ; preds = %.lr.ph18 - tail call void @free(ptr noundef nonnull %11) #20 + tail call void @free(ptr noundef nonnull %11) #19 store ptr null, ptr %10, align 8 br label %13 @@ -2523,15 +2523,15 @@ define noalias noundef ptr @Dau_DecFindSets(ptr nocapture noundef readonly %0, i } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #9 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8 -declare ptr @Extra_GreyCodeSchedule(i32 noundef) local_unnamed_addr #10 +declare ptr @Extra_GreyCodeSchedule(i32 noundef) local_unnamed_addr #9 ; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) -declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #11 +declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #10 ; Function Attrs: nounwind uwtable -define void @Dau_DecFindSetsTest2() local_unnamed_addr #8 { +define void @Dau_DecFindSetsTest2() local_unnamed_addr #7 { %1 = alloca [16 x ptr], align 16 %2 = alloca i64, align 8 store i64 -91518295031524336, ptr %2, align 8 @@ -2542,7 +2542,7 @@ define void @Dau_DecFindSetsTest2() local_unnamed_addr #8 { .lr.ph.i: ; preds = %.lr.ph.i, %0 %indvars.iv.i = phi i64 [ 2, %0 ], [ %indvars.iv.next.i, %.lr.ph.i ] %3 = trunc nuw nsw i64 %indvars.iv.i to i32 - %4 = tail call ptr @Extra_GreyCodeSchedule(i32 noundef %3) #20 + %4 = tail call ptr @Extra_GreyCodeSchedule(i32 noundef %3) #19 %5 = getelementptr inbounds [16 x ptr], ptr %1, i64 0, i64 %indvars.iv.i store ptr %4, ptr %5, align 8 %indvars.iv.next.i = add nuw nsw i64 %indvars.iv.i, 1 @@ -2561,7 +2561,7 @@ define void @Dau_DecFindSetsTest2() local_unnamed_addr #8 { br i1 %.not.i, label %10, label %9 9: ; preds = %.lr.ph18.i - tail call void @free(ptr noundef nonnull %8) #20 + tail call void @free(ptr noundef nonnull %8) #19 store ptr null, ptr %7, align 8 br label %10 @@ -2601,11 +2601,11 @@ Dau_DecPrintSets.exit: ; preds = %16, %Dau_DecFindSet br i1 %.not.i8, label %Vec_IntFree.exit, label %21 21: ; preds = %Dau_DecPrintSets.exit - tail call void @free(ptr noundef nonnull %20) #20 + tail call void @free(ptr noundef nonnull %20) #19 br label %Vec_IntFree.exit Vec_IntFree.exit: ; preds = %Dau_DecPrintSets.exit, %21 - tail call void @free(ptr noundef nonnull %6) #20 + tail call void @free(ptr noundef nonnull %6) #19 ret void } @@ -3074,7 +3074,7 @@ default.unreachable: ; preds = %.lr.ph188 } ; Function Attrs: nounwind uwtable -define noundef i32 @Dau_DecVerify(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #8 { +define noundef i32 @Dau_DecVerify(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #7 { %5 = alloca [8192 x i64], align 16 %6 = alloca [8192 x i64], align 16 %7 = alloca [8192 x i64], align 16 @@ -3087,11 +3087,11 @@ define noundef i32 @Dau_DecVerify(ptr nocapture noundef readonly %0, i32 noundef %14 = add nsw i32 %1, -6 %15 = shl nuw i32 1, %14 %16 = select i1 %13, i32 1, i32 %15 - %17 = tail call ptr @Dau_DsdToTruth(ptr noundef %2, i32 noundef %8) #20 + %17 = tail call ptr @Dau_DsdToTruth(ptr noundef %2, i32 noundef %8) #19 %18 = sext i32 %12 to i64 %19 = shl nsw i64 %18, 3 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(1) %5, ptr noundef nonnull align 8 dereferenceable(1) %17, i64 %19, i1 false) - %20 = tail call ptr @Dau_DsdToTruth(ptr noundef %3, i32 noundef %1) #20 + %20 = tail call ptr @Dau_DsdToTruth(ptr noundef %3, i32 noundef %1) #19 %21 = sext i32 %16 to i64 %22 = shl nsw i64 %21, 3 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(1) %6, ptr noundef nonnull align 8 dereferenceable(1) %20, i64 %22, i1 false) @@ -3215,10 +3215,10 @@ Abc_TtEqual.exit.thread: ; preds = %79, %24, %Abc_TtMux ret i32 1 } -declare ptr @Dau_DsdToTruth(ptr noundef, i32 noundef) local_unnamed_addr #10 +declare ptr @Dau_DsdToTruth(ptr noundef, i32 noundef) local_unnamed_addr #9 ; Function Attrs: nounwind uwtable -define range(i32 0, 2) i32 @Dau_DecPerform6(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #8 { +define range(i32 0, 2) i32 @Dau_DecPerform6(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #7 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 @@ -3385,9 +3385,9 @@ define range(i32 0, 2) i32 @Dau_DecPerform6(ptr nocapture noundef readonly %0, i %91 = xor i64 %39, %.053.lcssa store i64 %91, ptr %5, align 8 %92 = load i32, ptr %11, align 4 - %93 = call i32 @Dau_DsdDecompose(ptr noundef nonnull %4, i32 noundef %92, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %7) #20 + %93 = call i32 @Dau_DsdDecompose(ptr noundef nonnull %4, i32 noundef %92, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %7) #19 %94 = load i32, ptr %12, align 4 - %95 = call i32 @Dau_DsdDecompose(ptr noundef nonnull %5, i32 noundef %94, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %8) #20 + %95 = call i32 @Dau_DsdDecompose(ptr noundef nonnull %5, i32 noundef %94, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %8) #19 %96 = load i8, ptr %8, align 16 %.not13.i = icmp eq i8 %96, 0 br i1 %.not13.i, label %Dau_DecVarReplace.exit, label %.lr.ph.i @@ -3464,10 +3464,10 @@ Dau_DecVarReplace.exit69: ; preds = %117, %Dau_DecVarRep ret i32 %.050 } -declare i32 @Dau_DsdDecompose(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #10 +declare i32 @Dau_DsdDecompose(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #9 ; Function Attrs: nounwind uwtable -define range(i32 0, 2) i32 @Dau_DecPerform(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #8 { +define range(i32 0, 2) i32 @Dau_DecPerform(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #7 { %4 = alloca [1024 x i64], align 16 %5 = alloca [1024 x i64], align 16 %6 = alloca [1024 x i64], align 16 @@ -3669,7 +3669,7 @@ Dau_DecSortSet.exit: ; preds = %29 ._crit_edge120: ; preds = %.lr.ph119.preheader, %.preheader %.263.lcssa = phi i32 [ %.061.lcssa, %.preheader ], [ %68, %.lr.ph119.preheader ] %80 = add nsw i32 %.017.lcssa.i140146154162, %.019.lcssa.i139147153163 - %81 = call ptr @Extra_GreyCodeSchedule(i32 noundef %80) #20 + %81 = call ptr @Extra_GreyCodeSchedule(i32 noundef %80) #19 %82 = icmp slt i32 %.263.lcssa, 7 %83 = add nsw i32 %.263.lcssa, -6 %84 = shl nuw i32 1, %83 @@ -3719,7 +3719,7 @@ Dau_DecCheckSetTop.exit: ; preds = %104, %102, %97, %95 br i1 %.not78, label %107, label %106 106: ; preds = %Dau_DecCheckSetTop.exit - call void @free(ptr noundef nonnull %81) #20 + call void @free(ptr noundef nonnull %81) #19 br label %107 107: ; preds = %Dau_DecCheckSetTop.exit, %106 @@ -3731,8 +3731,8 @@ Dau_DecCheckSetTop.exit: ; preds = %104, %102, %97, %95 br label %141 109: ; preds = %107 - %110 = call i32 @Dau_DsdDecompose(ptr noundef nonnull %6, i32 noundef %60, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %7) #20 - %111 = call i32 @Dau_DsdDecompose(ptr noundef nonnull %5, i32 noundef %.263.lcssa, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %8) #20 + %110 = call i32 @Dau_DsdDecompose(ptr noundef nonnull %6, i32 noundef %60, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %7) #19 + %111 = call i32 @Dau_DsdDecompose(ptr noundef nonnull %5, i32 noundef %.263.lcssa, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %8) #19 %invariant.gep.i = getelementptr i8, ptr %12, i64 -388 %112 = load i8, ptr %8, align 16 %.not13.i = icmp eq i8 %112, 0 @@ -3806,7 +3806,7 @@ Dau_DecVarReplace.exit91: ; preds = %133, %Dau_DecVarRep } ; Function Attrs: nounwind uwtable -define void @Dau_DecTrySets(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #8 { +define void @Dau_DecTrySets(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #7 { %4 = alloca [16 x ptr], align 16 call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %4) call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(128) %4, i8 0, i64 128, i1 false) @@ -3824,7 +3824,7 @@ define void @Dau_DecTrySets(ptr noundef %0, i32 noundef %1, i32 noundef %2) loca .lr.ph.i: ; preds = %.lr.ph.i, %.lr.ph.preheader.i %indvars.iv.i = phi i64 [ 2, %.lr.ph.preheader.i ], [ %indvars.iv.next.i, %.lr.ph.i ] %7 = trunc nuw nsw i64 %indvars.iv.i to i32 - %8 = tail call ptr @Extra_GreyCodeSchedule(i32 noundef %7) #20 + %8 = tail call ptr @Extra_GreyCodeSchedule(i32 noundef %7) #19 %9 = getelementptr inbounds [16 x ptr], ptr %4, i64 0, i64 %indvars.iv.i store ptr %8, ptr %9, align 8 %indvars.iv.next.i = add nuw nsw i64 %indvars.iv.i, 1 @@ -3843,7 +3843,7 @@ define void @Dau_DecTrySets(ptr noundef %0, i32 noundef %1, i32 noundef %2) loca br i1 %.not.i, label %14, label %13 13: ; preds = %.lr.ph18.i - tail call void @free(ptr noundef nonnull %12) #20 + tail call void @free(ptr noundef nonnull %12) #19 store ptr null, ptr %11, align 8 br label %14 @@ -3865,7 +3865,7 @@ Dau_DecFindSets.exit: ; preds = %14, %._crit_edge.th br i1 %.not.i29, label %Vec_IntFree.exit, label %Vec_IntFree.exit.sink.split 19: ; preds = %Dau_DecFindSets.exit - tail call void @Dau_DsdPrintFromTruth(ptr noundef %0, i32 noundef %1) #20 + tail call void @Dau_DsdPrintFromTruth(ptr noundef %0, i32 noundef %1) #19 %20 = getelementptr i8, ptr %15, i64 4 %.val27 = load i32, ptr %20, align 4 %21 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, i32 noundef %1, i32 noundef %.val27) @@ -3916,18 +3916,18 @@ Dau_DecFindSets.exit: ; preds = %14, %._crit_edge.th Vec_IntFree.exit.sink.split: ; preds = %.critedge, %16 %.sink = phi ptr [ %18, %16 ], [ %40, %.critedge ] - tail call void @free(ptr noundef nonnull %.sink) #20 + tail call void @free(ptr noundef nonnull %.sink) #19 br label %Vec_IntFree.exit Vec_IntFree.exit: ; preds = %Vec_IntFree.exit.sink.split, %.critedge, %16 - tail call void @free(ptr noundef nonnull %15) #20 + tail call void @free(ptr noundef nonnull %15) #19 ret void } -declare void @Dau_DsdPrintFromTruth(ptr noundef, i32 noundef) local_unnamed_addr #10 +declare void @Dau_DsdPrintFromTruth(ptr noundef, i32 noundef) local_unnamed_addr #9 ; Function Attrs: nounwind uwtable -define void @Dau_DecFindSetsTest3() local_unnamed_addr #8 { +define void @Dau_DecFindSetsTest3() local_unnamed_addr #7 { %1 = alloca i64, align 8 store i64 -91518295031524336, ptr %1, align 8 br label %.lr.ph.i @@ -3967,7 +3967,7 @@ Dau_DecReadSet.exit: ; preds = %8, %10 } ; Function Attrs: nounwind uwtable -define void @Dau_DecFindSetsTest() local_unnamed_addr #8 { +define void @Dau_DecFindSetsTest() local_unnamed_addr #7 { %1 = alloca i64, align 8 store i64 53807569256447, ptr %1, align 8 call void @Dau_DecTrySets(ptr noundef nonnull %1, i32 noundef 6, i32 noundef 1) @@ -3975,34 +3975,34 @@ define void @Dau_DecFindSetsTest() local_unnamed_addr #8 { } ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) -declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #12 +declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #11 ; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) -declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #13 +declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #12 ; Function Attrs: nofree nounwind willreturn memory(argmem: read) -declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #14 +declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #13 ; Function Attrs: nofree nounwind -declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #15 +declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #14 ; Function Attrs: nofree nounwind -declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #15 +declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #14 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #16 +declare i32 @llvm.umax.i32(i32, i32) #15 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #16 +declare i32 @llvm.smax.i32(i32, i32) #15 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #16 +declare i32 @llvm.smin.i32(i32, i32) #15 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #17 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #16 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #17 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #16 attributes #0 = { 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 #1 = { nofree 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" } @@ -4011,20 +4011,19 @@ attributes #3 = { nofree norecurse nosync nounwind memory(argmem: write) uwtable attributes #4 = { 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 #5 = { 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 #6 = { 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 #7 = { 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 #8 = { 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 #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #10 = { "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 #11 = { 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 #12 = { 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 #13 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) 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 #14 = { nofree nounwind willreturn memory(argmem: read) } -attributes #15 = { nofree nounwind } -attributes #16 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #17 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #18 = { nounwind allocsize(0) } -attributes #19 = { nounwind allocsize(1) } -attributes #20 = { nounwind } +attributes #7 = { 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 #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #9 = { "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 #10 = { 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 #11 = { 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 #12 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) 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 #13 = { nofree nounwind willreturn memory(argmem: read) } +attributes #14 = { nofree nounwind } +attributes #15 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #16 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #17 = { nounwind allocsize(0) } +attributes #18 = { nounwind allocsize(1) } +attributes #19 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/abc/optimized/dauNpn.c.ll b/bench/abc/optimized/dauNpn.c.ll index f3c16ee69f6..444c9bbdaa8 100644 --- a/bench/abc/optimized/dauNpn.c.ll +++ b/bench/abc/optimized/dauNpn.c.ll @@ -1669,7 +1669,7 @@ define void @Dau_NetworkEnumTest() local_unnamed_addr #0 { ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable define i32 @Dau_CountSymms(i64 noundef %0, i32 noundef %1) local_unnamed_addr #6 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 @@ -1704,8 +1704,8 @@ define i32 @Dau_CountSymms(i64 noundef %0, i32 noundef %1) local_unnamed_addr #6 ret i32 %.0.lcssa } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 0, 2) i32 @Abc_TtVarsAreSymmetric(ptr noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) unnamed_addr #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 0, 2) i32 @Abc_TtVarsAreSymmetric(ptr noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) unnamed_addr #7 { %7 = icmp slt i32 %1, 7 %8 = add nsw i32 %1, -6 %9 = shl nuw i32 1, %8 @@ -2061,7 +2061,7 @@ Abc_TtEqual.exit: ; preds = %167, %.lr.ph.i56, % ret i32 %.07.i } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable define i32 @Dau_CountSymms2(i64 noundef %0, i32 noundef %1) local_unnamed_addr #6 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 @@ -2100,7 +2100,7 @@ define i32 @Dau_CountSymms2(i64 noundef %0, i32 noundef %1) local_unnamed_addr # } ; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable -define range(i32 0, 2) i32 @Dau_CountCompl1(i64 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #7 { +define range(i32 0, 2) i32 @Dau_CountCompl1(i64 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #6 { %4 = shl nuw i32 1, %1 %5 = zext i32 %4 to i64 %6 = shl i64 %0, %5 @@ -2154,7 +2154,7 @@ define range(i32 0, 2) i32 @Dau_CountCompl1(i64 noundef %0, i32 noundef %1, i32 } ; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable -define i32 @Dau_CountCompl(i64 noundef %0, i32 noundef %1) local_unnamed_addr #7 { +define i32 @Dau_CountCompl(i64 noundef %0, i32 noundef %1) local_unnamed_addr #6 { %3 = icmp sgt i32 %1, 0 br i1 %3, label %.lr.ph, label %._crit_edge @@ -4707,8 +4707,8 @@ attributes #2 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroe attributes #3 = { 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 #4 = { 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 #5 = { mustprogress nounwind willreturn 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 #6 = { 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 #7 = { nofree norecurse nosync nounwind 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 #6 = { nofree norecurse nosync nounwind 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 #7 = { 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 #8 = { nofree nounwind memory(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 #9 = { 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 #10 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } diff --git a/bench/abc/optimized/extraBddThresh.c.ll b/bench/abc/optimized/extraBddThresh.c.ll index 427e2ea421d..adebe5226ce 100644 --- a/bench/abc/optimized/extraBddThresh.c.ll +++ b/bench/abc/optimized/extraBddThresh.c.ll @@ -155,8 +155,8 @@ define i32 @Extra_ThreshComputeChow(ptr nocapture noundef readonly %0, i32 nound ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @Extra_ThreshSortByChow(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @Extra_ThreshSortByChow(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #2 { %4 = icmp slt i32 %1, 7 %5 = add nsw i32 %1, -6 %6 = shl nuw i32 1, %5 @@ -299,8 +299,8 @@ Abc_TtSwapAdjacent.exit.us: ; preds = %._crit_edge.us.i.us ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @Extra_ThreshSortByChowInverted(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @Extra_ThreshSortByChowInverted(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #2 { %4 = icmp slt i32 %1, 7 %5 = add nsw i32 %1, -6 %6 = shl nuw i32 1, %5 @@ -2252,7 +2252,7 @@ define void @Extra_ThreshPrintInequalities(ptr nocapture noundef readonly %0, pt } ; Function Attrs: nofree nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @Extra_ThreshCreateInequalities(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture readnone %3, ptr nocapture noundef readonly %4, i32 noundef %5, i32 %6, ptr nocapture noundef readonly %7, ptr nocapture noundef readonly %8) local_unnamed_addr #5 { +define void @Extra_ThreshCreateInequalities(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture readnone %3, ptr nocapture noundef readonly %4, i32 noundef %5, i32 %6, ptr nocapture noundef readonly %7, ptr nocapture noundef readonly %8) local_unnamed_addr #4 { %10 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #16 %11 = add nsw i32 %2, 3 %12 = sext i32 %11 to i64 @@ -2438,10 +2438,10 @@ define void @Extra_ThreshCreateInequalities(ptr nocapture noundef readonly %0, p } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #6 +declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #5 ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @Extra_ThreshSimplifyInequalities(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) local_unnamed_addr #4 { +define void @Extra_ThreshSimplifyInequalities(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) local_unnamed_addr #6 { %5 = icmp sgt i32 %0, 0 %6 = icmp sgt i32 %1, 0 %or.cond = and i1 %5, %6 @@ -2992,8 +2992,8 @@ define void @Extra_ThreshPrintWeights(i32 noundef %0, ptr nocapture noundef read ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define i32 @Extra_ThreshCheck(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define i32 @Extra_ThreshCheck(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #2 { %4 = alloca [16 x i32], align 16 %5 = tail call fastcc i32 @Abc_TtIsUnate(ptr noundef %0, i32 noundef %1) %.not = icmp eq i32 %5, 0 @@ -3108,7 +3108,7 @@ Extra_ThreshComputeChow.exit: ; preds = %.lr.ph.i, %.prehead ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal fastcc range(i32 0, 2) i32 @Abc_TtIsUnate(ptr noundef readonly %0, i32 noundef %1) unnamed_addr #10 { %3 = icmp sgt i32 %1, 0 br i1 %3, label %.lr.ph, label %Abc_TtPosVar.exit.thread35 @@ -3320,8 +3320,8 @@ Abc_TtPosVar.exit.thread35: ; preds = %Abc_TtNegVar.exit.t ret i32 %.09 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @Abc_TtMakePosUnate(ptr noundef %0, i32 noundef %1) unnamed_addr #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc void @Abc_TtMakePosUnate(ptr noundef %0, i32 noundef %1) unnamed_addr #2 { %3 = icmp slt i32 %1, 7 %4 = icmp sgt i32 %1, 0 br i1 %4, label %.lr.ph, label %._crit_edge @@ -3924,13 +3924,13 @@ attributes #0 = { nofree nounwind uwtable "frame-pointer"="all" "min-legal-vecto attributes #1 = { 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 #2 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #4 = { 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 #5 = { nofree 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 #6 = { 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 #4 = { nofree 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 #5 = { 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 #6 = { 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 #7 = { 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 #8 = { 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 #9 = { 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 #10 = { 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 #10 = { 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 #11 = { "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 #12 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #13 = { nofree nounwind } diff --git a/bench/abc/optimized/extraUtilTruth.c.ll b/bench/abc/optimized/extraUtilTruth.c.ll index 6b342d3943f..aa4f757d9c6 100644 --- a/bench/abc/optimized/extraUtilTruth.c.ll +++ b/bench/abc/optimized/extraUtilTruth.c.ll @@ -81,7 +81,7 @@ define ptr @Extra_TruthElementary(i32 noundef %0) local_unnamed_addr #0 { declare ptr @Extra_ArrayAlloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Extra_TruthSwapAdjacentVars(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #2 { %5 = icmp slt i32 %2, 6 %6 = add nsw i32 %2, -5 @@ -243,7 +243,7 @@ define void @Extra_TruthSwapAdjacentVars(ptr nocapture noundef writeonly %0, ptr ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Extra_TruthSwapAdjacentVars2(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #2 { %5 = icmp slt i32 %2, 6 %6 = add nsw i32 %2, -5 @@ -477,7 +477,7 @@ define void @Extra_TruthSwapAdjacentVars2(ptr nocapture noundef readonly %0, ptr } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @Extra_TruthStretch(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #2 { +define void @Extra_TruthStretch(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #3 { %6 = icmp sgt i32 %3, 0 br i1 %6, label %.lr.ph50, label %select.unfold.preheader.i @@ -715,7 +715,7 @@ Extra_TruthCopy.exit: ; preds = %select.unfold.i, %9 } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @Extra_TruthShrink(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #2 { +define void @Extra_TruthShrink(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #3 { %6 = icmp sgt i32 %3, 0 br i1 %6, label %.lr.ph53, label %select.unfold.preheader.i @@ -957,8 +957,8 @@ Extra_TruthCopy.exit: ; preds = %select.unfold.i, %9 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @Extra_TruthVarInSupport(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define range(i32 0, 2) i32 @Extra_TruthVarInSupport(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #4 { %4 = icmp slt i32 %1, 6 %5 = add nsw i32 %1, -5 %6 = shl nuw i32 1, %5 @@ -1134,8 +1134,8 @@ define range(i32 0, 2) i32 @Extra_TruthVarInSupport(ptr nocapture noundef readon ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @Extra_TruthSupportSize(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define i32 @Extra_TruthSupportSize(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #4 { %3 = icmp sgt i32 %1, 0 br i1 %3, label %.lr.ph, label %._crit_edge @@ -1153,8 +1153,8 @@ define i32 @Extra_TruthSupportSize(ptr nocapture noundef readonly %0, i32 nounde ret i32 %.0.lcssa } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @Extra_TruthSupport(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define i32 @Extra_TruthSupport(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #4 { %3 = icmp sgt i32 %1, 0 br i1 %3, label %.lr.ph, label %._crit_edge @@ -1175,7 +1175,7 @@ define i32 @Extra_TruthSupport(ptr nocapture noundef readonly %0, i32 noundef %1 ret i32 %.0.lcssa } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Extra_TruthCofactor1(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 { %4 = icmp slt i32 %1, 6 %5 = add nsw i32 %1, -5 @@ -1333,7 +1333,7 @@ define void @Extra_TruthCofactor1(ptr nocapture noundef %0, i32 noundef %1, i32 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Extra_TruthCofactor0(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 { %4 = icmp slt i32 %1, 6 %5 = add nsw i32 %1, -5 @@ -1486,7 +1486,7 @@ define void @Extra_TruthCofactor0(ptr nocapture noundef %0, i32 noundef %1, i32 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Extra_TruthExist(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 { %4 = icmp slt i32 %1, 6 %5 = add nsw i32 %1, -5 @@ -1658,7 +1658,7 @@ define void @Extra_TruthExist(ptr nocapture noundef %0, i32 noundef %1, i32 noun ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Extra_TruthForall(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 { %4 = icmp slt i32 %1, 6 %5 = add nsw i32 %1, -5 @@ -1830,8 +1830,8 @@ define void @Extra_TruthForall(ptr nocapture noundef %0, i32 noundef %1, i32 nou ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define void @Extra_TruthMux(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @Extra_TruthMux(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #2 { %6 = icmp slt i32 %3, 6 %7 = add nsw i32 %3, -5 %8 = shl nuw i32 1, %7 @@ -2007,8 +2007,8 @@ define void @Extra_TruthMux(ptr nocapture noundef writeonly %0, ptr nocapture no ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @Extra_TruthVarsSymm(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, argmem: read, inaccessiblemem: none) uwtable +define range(i32 0, 2) i32 @Extra_TruthVarsSymm(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #5 { %5 = icmp slt i32 %1, 6 %6 = add nsw i32 %1, -5 %7 = shl nuw i32 1, %6 @@ -2077,8 +2077,8 @@ Extra_TruthIsEqual.exit: ; preds = %select.unfold.i19, ret i32 %.07.i } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @Extra_TruthVarsAntiSymm(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, argmem: read, inaccessiblemem: none) uwtable +define range(i32 0, 2) i32 @Extra_TruthVarsAntiSymm(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #5 { %5 = icmp slt i32 %1, 6 %6 = add nsw i32 %1, -5 %7 = shl nuw i32 1, %6 @@ -2147,7 +2147,7 @@ Extra_TruthIsEqual.exit: ; preds = %select.unfold.i19, ret i32 %.07.i } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Extra_TruthChangePhase(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 { %4 = icmp slt i32 %1, 6 %5 = add nsw i32 %1, -5 @@ -2314,7 +2314,7 @@ define void @Extra_TruthChangePhase(ptr nocapture noundef %0, i32 noundef %1, i3 } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define range(i32 0, 33) i32 @Extra_TruthMinCofSuppOverlap(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef writeonly %2) local_unnamed_addr #2 { +define range(i32 0, 33) i32 @Extra_TruthMinCofSuppOverlap(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef writeonly %2) local_unnamed_addr #3 { %4 = icmp sgt i32 %1, 0 br i1 %4, label %.lr.ph, label %Extra_TruthSupport.exit51._crit_edge @@ -2768,7 +2768,7 @@ Extra_TruthSupport.exit51._crit_edge: ; preds = %10, %Extra_TruthSup ret i32 %.2 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Extra_TruthCountOnesInCofs(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #2 { %4 = icmp slt i32 %1, 6 %5 = add nsw i32 %1, -5 @@ -3359,10 +3359,10 @@ define void @Extra_TruthCountOnesInCofs(ptr nocapture noundef readonly %0, i32 n } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6 ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable -define i32 @Extra_TruthHash(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #6 { +define i32 @Extra_TruthHash(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #4 { %3 = icmp sgt i32 %1, 0 br i1 %3, label %.lr.ph.preheader, label %._crit_edge @@ -3389,7 +3389,7 @@ define i32 @Extra_TruthHash(ptr nocapture noundef readonly %0, i32 noundef %1) l } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define i32 @Extra_TruthSemiCanonicize(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, ptr nocapture noundef %3, ptr nocapture noundef %4) local_unnamed_addr #2 { +define i32 @Extra_TruthSemiCanonicize(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, ptr nocapture noundef %3, ptr nocapture noundef %4) local_unnamed_addr #3 { %6 = icmp slt i32 %2, 6 %7 = add nsw i32 %2, -5 %8 = shl nuw i32 1, %7 @@ -3728,11 +3728,11 @@ declare i32 @llvm.smax.i32(i32, i32) #7 attributes #0 = { 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 #1 = { "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 #2 = { 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 #3 = { 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 #4 = { nofree norecurse nosync nounwind 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #6 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { nofree norecurse nosync nounwind memory(readwrite, argmem: 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #8 = { nounwind } diff --git a/bench/abc/optimized/giaAigerExt.c.ll b/bench/abc/optimized/giaAigerExt.c.ll index 7f586bb673a..29e39f62c55 100644 --- a/bench/abc/optimized/giaAigerExt.c.ll +++ b/bench/abc/optimized/giaAigerExt.c.ll @@ -29,7 +29,7 @@ Gia_AigerReadInt.exit: ; preds = %4 %13 = getelementptr inbounds i8, ptr %3, i64 4 store ptr %13, ptr %0, align 8 %14 = sext i32 %1 to i64 - %15 = tail call noalias ptr @calloc(i64 noundef %14, i64 noundef 4) #8 + %15 = tail call noalias ptr @calloc(i64 noundef %14, i64 noundef 4) #9 %16 = icmp sgt i32 %1, 0 br i1 %16, label %.lr.ph.preheader, label %.preheader @@ -135,7 +135,7 @@ define noalias noundef ptr @Gia_WriteEquivClassesInt(ptr nocapture noundef reado br i1 %4, label %.lr.ph, label %._crit_edge.thread ._crit_edge.thread: ; preds = %2 - %5 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #9 + %5 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #10 %6 = getelementptr inbounds i8, ptr %5, i64 4 store i8 1, ptr %6, align 1 br label %.preheader @@ -190,7 +190,7 @@ Gia_ObjIsHead.exit.thread: ; preds = %21, %9, %Gia_ObjIsH %27 = add nsw i32 %.257, 10 %28 = sext i32 %27 to i64 %29 = shl nsw i64 %28, 2 - %30 = tail call noalias ptr @malloc(i64 noundef %29) #9 + %30 = tail call noalias ptr @malloc(i64 noundef %29) #10 %31 = getelementptr inbounds i8, ptr %30, i64 4 store i8 1, ptr %31, align 1 br i1 %4, label %.lr.ph120, label %.preheader @@ -408,7 +408,7 @@ define noalias noundef ptr @Gia_WriteEquivClasses(ptr nocapture noundef readonly %2 = alloca i32, align 4 %3 = call ptr @Gia_WriteEquivClassesInt(ptr noundef %0, ptr noundef nonnull %2) %4 = load i32, ptr %2, align 4 - %5 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #9 + %5 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #10 %6 = getelementptr inbounds i8, ptr %5, i64 4 store i32 %4, ptr %6, align 4 store i32 %4, ptr %5, align 8 @@ -447,7 +447,7 @@ Gia_AigerReadInt.exit: ; preds = %4 %18 = sub i64 %16, %17 %sext = shl i64 %18, 32 %19 = ashr exact i64 %sext, 32 - %20 = tail call noalias ptr @calloc(i64 noundef %19, i64 noundef 4) #8 + %20 = tail call noalias ptr @calloc(i64 noundef %19, i64 noundef 4) #9 %21 = icmp sgt i32 %9, 4 br i1 %21, label %.lr.ph53, label %._crit_edge54 @@ -580,7 +580,7 @@ define noalias noundef ptr @Gia_AigerWriteMappingInt(ptr nocapture noundef reado br i1 %4, label %.lr.ph, label %._crit_edge.thread ._crit_edge.thread: ; preds = %2 - %5 = tail call noalias dereferenceable_or_null(4) ptr @malloc(i64 noundef 4) #9 + %5 = tail call noalias dereferenceable_or_null(4) ptr @malloc(i64 noundef 4) #10 br label %.preheader .lr.ph: ; preds = %2 @@ -617,7 +617,7 @@ define noalias noundef ptr @Gia_AigerWriteMappingInt(ptr nocapture noundef reado %18 = add nsw i32 %.140, 1 %19 = sext i32 %18 to i64 %20 = shl nsw i64 %19, 2 - %21 = tail call noalias ptr @malloc(i64 noundef %20) #9 + %21 = tail call noalias ptr @malloc(i64 noundef %20) #10 br i1 %4, label %.lr.ph95, label %.preheader .lr.ph95: ; preds = %._crit_edge @@ -859,7 +859,7 @@ define noalias noundef ptr @Gia_AigerWriteMapping(ptr nocapture noundef readonly %2 = alloca i32, align 4 %3 = call ptr @Gia_AigerWriteMappingInt(ptr noundef %0, ptr noundef nonnull %2) %4 = load i32, ptr %2, align 4 - %5 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #9 + %5 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #10 %6 = getelementptr inbounds i8, ptr %5, i64 4 store i32 %4, ptr %6, align 4 store i32 %4, ptr %5, align 8 @@ -872,7 +872,7 @@ define noalias noundef ptr @Gia_AigerWriteMapping(ptr nocapture noundef readonly define noalias noundef ptr @Gia_AigerReadMappingSimple(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #3 { %3 = sext i32 %1 to i64 %4 = and i64 %3, -4 - %5 = tail call noalias ptr @malloc(i64 noundef %4) #9 + %5 = tail call noalias ptr @malloc(i64 noundef %4) #10 %6 = load ptr, ptr %0, align 8 tail call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 1 %6, i64 %3, i1 false) ret ptr %5 @@ -889,13 +889,13 @@ define noalias noundef ptr @Gia_AigerWriteMappingSimple(ptr nocapture noundef re %.val = load i32, ptr %4, align 4 %5 = shl nsw i32 %.val, 2 %6 = sext i32 %5 to i64 - %7 = tail call noalias ptr @malloc(i64 noundef %6) #9 + %7 = tail call noalias ptr @malloc(i64 noundef %6) #10 %8 = getelementptr i8, ptr %3, i64 8 %.val8 = load ptr, ptr %8, align 8 %9 = sext i32 %.val to i64 %10 = shl nsw i64 %9, 2 tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 4 %.val8, i64 %10, i1 false) - %11 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #9 + %11 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #10 %12 = getelementptr inbounds i8, ptr %11, i64 4 store i32 %5, ptr %12, align 4 store i32 %5, ptr %11, align 8 @@ -947,7 +947,7 @@ Gia_AigerReadInt.exit38: ; preds = %12 %21 = mul nsw i32 %20, %9 %22 = add nsw i32 %21, %1 %23 = sext i32 %22 to i64 - %24 = tail call noalias ptr @calloc(i64 noundef %23, i64 noundef 4) #8 + %24 = tail call noalias ptr @calloc(i64 noundef %23, i64 noundef 4) #9 %25 = icmp sgt i32 %9, 0 br i1 %25, label %.lr.ph64, label %._crit_edge65 @@ -1057,7 +1057,7 @@ Gia_AigerReadInt.exit53: ; preds = %51 ._crit_edge65: ; preds = %._crit_edge, %Gia_AigerReadInt.exit38 %.0.lcssa = phi i32 [ %1, %Gia_AigerReadInt.exit38 ], [ %63, %._crit_edge ] - %67 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #9 + %67 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #10 %68 = getelementptr inbounds i8, ptr %67, i64 4 store i32 %.0.lcssa, ptr %68, align 4 store i32 %.0.lcssa, ptr %67, align 8 @@ -1066,8 +1066,8 @@ Gia_AigerReadInt.exit53: ; preds = %51 ret ptr %67 } -; Function Attrs: nofree nounwind uwtable -define noalias noundef ptr @Gia_AigerWriteMappingDoc(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { +; Function Attrs: nofree nounwind memory(readwrite, argmem: read) uwtable +define noalias noundef ptr @Gia_AigerWriteMappingDoc(ptr nocapture noundef readonly %0) local_unnamed_addr #5 { %2 = getelementptr i8, ptr %0, i64 24 %.val52 = load i32, ptr %2, align 8 %3 = icmp sgt i32 %.val52, 1 @@ -1118,7 +1118,7 @@ define noalias noundef ptr @Gia_AigerWriteMappingDoc(ptr nocapture noundef reado %.044.lcssa = phi i32 [ 0, %1 ], [ %.145, %._crit_edge.loopexit ] %.042.lcssa = phi i32 [ 8, %1 ], [ %18, %._crit_edge.loopexit ] %19 = sext i32 %.042.lcssa to i64 - %20 = tail call noalias ptr @malloc(i64 noundef %19) #9 + %20 = tail call noalias ptr @malloc(i64 noundef %19) #10 br label %21 21: ; preds = %21, %._crit_edge @@ -1270,7 +1270,7 @@ Gia_AigerWriteInt.exit75: ; preds = %77 br i1 %exitcond104.not, label %Gia_AigerWriteInt.exit63._crit_edge, label %36, !llvm.loop !25 Gia_AigerWriteInt.exit63._crit_edge: ; preds = %.critedge, %Gia_AigerWriteInt.exit63.preheader - %90 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #9 + %90 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #10 %91 = getelementptr inbounds i8, ptr %90, i64 4 store i32 %.042.lcssa, ptr %91, align 4 store i32 %.042.lcssa, ptr %90, align 8 @@ -1280,9 +1280,9 @@ Gia_AigerWriteInt.exit63._crit_edge: ; preds = %.critedge, %Gia_Aig } ; Function Attrs: nounwind uwtable -define noalias noundef ptr @Gia_AigerReadPacking(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #5 { +define noalias noundef ptr @Gia_AigerReadPacking(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #6 { %3 = sdiv i32 %1, 4 - %4 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #9 + %4 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #10 %5 = add nsw i32 %3, -1 %or.cond.i = icmp ult i32 %5, 15 %spec.store.select.i = select i1 %or.cond.i, i32 16, i32 %3 @@ -1295,7 +1295,7 @@ define noalias noundef ptr @Gia_AigerReadPacking(ptr nocapture noundef %0, i32 n 7: ; preds = %2 %8 = sext i32 %spec.store.select.i to i64 %9 = shl nsw i64 %8, 2 - %10 = tail call noalias ptr @malloc(i64 noundef %9) #9 + %10 = tail call noalias ptr @malloc(i64 noundef %9) #10 br label %Vec_IntAlloc.exit Vec_IntAlloc.exit: ; preds = %2, %7 @@ -1347,11 +1347,11 @@ Gia_AigerReadInt.exit: ; preds = %15 br i1 %.not9.i.i, label %31, label %29 29: ; preds = %27 - %30 = tail call dereferenceable_or_null(64) ptr @realloc(ptr noundef nonnull %28, i64 noundef 64) #10 + %30 = tail call dereferenceable_or_null(64) ptr @realloc(ptr noundef nonnull %28, i64 noundef 64) #11 br label %Vec_IntGrow.exit.i 31: ; preds = %27 - %32 = tail call noalias dereferenceable_or_null(64) ptr @malloc(i64 noundef 64) #9 + %32 = tail call noalias dereferenceable_or_null(64) ptr @malloc(i64 noundef 64) #10 br label %Vec_IntGrow.exit.i Vec_IntGrow.exit.i: ; preds = %31, %29 @@ -1369,11 +1369,11 @@ Vec_IntGrow.exit.i: ; preds = %31, %29 br i1 %.not9.i9.i, label %41, label %39 39: ; preds = %34 - %40 = tail call ptr @realloc(ptr noundef nonnull %36, i64 noundef %38) #10 + %40 = tail call ptr @realloc(ptr noundef nonnull %36, i64 noundef %38) #11 br label %43 41: ; preds = %34 - %42 = tail call noalias ptr @malloc(i64 noundef %38) #9 + %42 = tail call noalias ptr @malloc(i64 noundef %38) #10 br label %43 43: ; preds = %41, %39 @@ -1400,13 +1400,13 @@ Vec_IntPush.exit: ; preds = %.Vec_IntGrow.exit10 ret ptr %4 } -; Function Attrs: nofree nounwind uwtable -define noalias noundef ptr @Gia_WritePacking(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { +; Function Attrs: nofree nounwind memory(readwrite, argmem: read) uwtable +define noalias noundef ptr @Gia_WritePacking(ptr nocapture noundef readonly %0) local_unnamed_addr #5 { %2 = getelementptr i8, ptr %0, i64 4 %.val13 = load i32, ptr %2, align 4 %3 = shl nsw i32 %.val13, 2 %4 = sext i32 %3 to i64 - %5 = tail call noalias ptr @malloc(i64 noundef %4) #9 + %5 = tail call noalias ptr @malloc(i64 noundef %4) #10 %6 = icmp sgt i32 %.val13, 0 br i1 %6, label %.lr.ph, label %.critedge @@ -1442,7 +1442,7 @@ Gia_AigerWriteInt.exit: ; preds = %13 br i1 %exitcond.not, label %.critedge, label %8, !llvm.loop !27 .critedge: ; preds = %Gia_AigerWriteInt.exit, %1 - %19 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #9 + %19 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #10 %20 = getelementptr inbounds i8, ptr %19, i64 4 store i32 %3, ptr %20, align 4 store i32 %3, ptr %19, align 8 @@ -1452,22 +1452,23 @@ Gia_AigerWriteInt.exit: ; preds = %13 } ; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) -declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #6 +declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #7 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #7 +declare i32 @llvm.smax.i32(i32, i32) #8 attributes #0 = { 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 #1 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) 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 #2 = { 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 #3 = { mustprogress nofree nounwind willreturn 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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #5 = { 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 #6 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) 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 #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #8 = { nounwind allocsize(0,1) } -attributes #9 = { nounwind allocsize(0) } -attributes #10 = { nounwind allocsize(1) } +attributes #5 = { nofree nounwind memory(readwrite, 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 #6 = { 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 #7 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) 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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #9 = { nounwind allocsize(0,1) } +attributes #10 = { nounwind allocsize(0) } +attributes #11 = { nounwind allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/abc/optimized/ifDec08.c.ll b/bench/abc/optimized/ifDec08.c.ll index d584b785065..a80a0e40cfa 100644 --- a/bench/abc/optimized/ifDec08.c.ll +++ b/bench/abc/optimized/ifDec08.c.ll @@ -27,9 +27,9 @@ define void @If_Dec08PrintConfig(ptr nocapture noundef readonly %0) local_unname %7 = mul nuw i32 %6, 65537 store i32 %7, ptr %2, align 4 %8 = load ptr, ptr @stdout, align 8 - call void @Extra_PrintBinary(ptr noundef %8, ptr noundef nonnull %2, i32 noundef 16) #9 + call void @Extra_PrintBinary(ptr noundef %8, ptr noundef nonnull %2, i32 noundef 16) #10 %putchar.i = call i32 @putchar(i32 32) - call void @Kit_DsdPrintFromTruth(ptr noundef nonnull %2, i32 noundef 4) #9 + call void @Kit_DsdPrintFromTruth(ptr noundef nonnull %2, i32 noundef 4) #10 %putchar6.i = call i32 @putchar(i32 32) %9 = lshr i32 %4, 16 %10 = and i32 %9, 7 @@ -268,9 +268,9 @@ If_Dec08ComposeLut4.exit: ; preds = %59 80: ; preds = %75 %81 = getelementptr inbounds [16 x [16 x i64]], ptr %5, i64 0, i64 %73 call void @If_Dec08PrintConfig(ptr noundef nonnull %2) - call void @Kit_DsdPrintFromTruth(ptr noundef nonnull %0, i32 noundef %1) #9 + call void @Kit_DsdPrintFromTruth(ptr noundef nonnull %0, i32 noundef %1) #10 %putchar = call i32 @putchar(i32 10) - call void @Kit_DsdPrintFromTruth(ptr noundef nonnull %81, i32 noundef %1) #9 + call void @Kit_DsdPrintFromTruth(ptr noundef nonnull %81, i32 noundef %1) #10 %putchar42 = call i32 @putchar(i32 10) %puts = call i32 @puts(ptr nonnull dereferenceable(1) @str) br label %.loopexit @@ -284,7 +284,7 @@ declare void @Kit_DsdPrintFromTruth(ptr noundef, i32 noundef) local_unnamed_addr ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @If_Dec08Cofactors(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #3 { %6 = icmp slt i32 %1, 7 %7 = add nsw i32 %1, -6 @@ -383,7 +383,7 @@ define void @If_Dec08Cofactors(ptr nocapture noundef readonly %0, i32 noundef %1 } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @If_Dec08Perform(ptr noundef %0, i32 noundef %1, i32 %2) local_unnamed_addr #3 { +define range(i32 0, 2) i32 @If_Dec08Perform(ptr noundef %0, i32 noundef %1, i32 %2) local_unnamed_addr #4 { %4 = alloca [16 x i64], align 16 %5 = alloca [16 x i64], align 16 %6 = alloca [16 x i64], align 16 @@ -1433,7 +1433,7 @@ If_Dec08CofCount2.exit.thread: ; preds = %442, %460 } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @If_CutPerformCheck08(ptr nocapture noundef readnone %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef readnone %4) local_unnamed_addr #3 { +define range(i32 0, 2) i32 @If_CutPerformCheck08(ptr nocapture noundef readnone %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef readnone %4) local_unnamed_addr #4 { %6 = alloca [16 x i64], align 16 %7 = icmp slt i32 %3, 6 br i1 %7, label %If_Dec08Support.exit.thread, label %8 @@ -1581,36 +1581,37 @@ If_Dec08Support.exit.thread: ; preds = %.lr.ph.i12, %59, %I declare void @Extra_PrintBinary(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind -declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #4 +declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #5 ; Function Attrs: nofree nounwind -declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #4 +declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #5 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #5 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #6 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #5 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #6 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #8 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #8 +declare i32 @llvm.smax.i32(i32, i32) #9 attributes #0 = { 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 #1 = { "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 #2 = { 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 #3 = { 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 #4 = { nofree nounwind } -attributes #5 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #9 = { nounwind } +attributes #3 = { 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 #4 = { 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 #5 = { nofree nounwind } +attributes #6 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #8 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #10 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/abc/optimized/ifDsd.c.ll b/bench/abc/optimized/ifDsd.c.ll index 25b1aefaddc..eb3f20616b8 100644 --- a/bench/abc/optimized/ifDsd.c.ll +++ b/bench/abc/optimized/ifDsd.c.ll @@ -8707,8 +8707,8 @@ tailrecurse: ; preds = %21, %2 ret i32 %.0 } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define noundef i32 @If_DsdManPushInv_rec(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #22 { +; Function Attrs: nofree nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define noundef i32 @If_DsdManPushInv_rec(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #16 { %4 = getelementptr i8, ptr %0, i64 48 %.val.pre = load ptr, ptr %4, align 8 br label %tailrecurse.outer @@ -8815,8 +8815,8 @@ tailrecurse: ; preds = %19, %tailrecurse.ou ret i32 1 } -; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @If_DsdManPushInv(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #22 { +; Function Attrs: nofree nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define range(i32 0, 2) i32 @If_DsdManPushInv(ptr noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #16 { %4 = and i32 %1, 1 %.not = icmp eq i32 %4, 0 br i1 %.not, label %9, label %5 @@ -8836,7 +8836,7 @@ define range(i32 0, 2) i32 @If_DsdManPushInv(ptr noundef %0, i32 noundef %1, ptr } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define i32 @If_DsdManComputeFirstArray(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #23 { +define i32 @If_DsdManComputeFirstArray(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #22 { %5 = icmp sgt i32 %2, 0 br i1 %5, label %.lr.ph, label %._crit_edge @@ -8872,7 +8872,7 @@ define i32 @If_DsdManComputeFirstArray(ptr nocapture noundef readonly %0, ptr no } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define i32 @If_DsdManComputeFirst(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #23 { +define i32 @If_DsdManComputeFirst(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #22 { %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = getelementptr inbounds i8, ptr %1, i64 4 %6 = load i32, ptr %5, align 4 @@ -10033,7 +10033,7 @@ If_DsdMergeMatches.exit: ; preds = %44, %29 } ; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define i32 @If_DsdSign_rec(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2) local_unnamed_addr #22 { +define i32 @If_DsdSign_rec(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2) local_unnamed_addr #23 { %4 = getelementptr i8, ptr %1, i64 4 %.val = load i32, ptr %4, align 4 %5 = and i32 %.val, 7 @@ -10086,7 +10086,7 @@ define i32 @If_DsdSign_rec(ptr nocapture noundef readonly %0, ptr nocapture noun } ; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define i32 @If_DsdSign(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #22 { +define i32 @If_DsdSign(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #23 { %6 = alloca i32, align 4 store i32 %3, ptr %6, align 4 %7 = getelementptr i8, ptr %0, i64 48 @@ -10108,7 +10108,7 @@ define i32 @If_DsdSign(ptr nocapture noundef readonly %0, ptr nocapture noundef } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @If_DsdManGetSuppSizes(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #23 { +define void @If_DsdManGetSuppSizes(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #22 { %4 = getelementptr i8, ptr %0, i64 48 %5 = getelementptr i8, ptr %1, i64 4 %.val11 = load i32, ptr %5, align 4 @@ -10150,7 +10150,7 @@ define void @If_DsdManGetSuppSizes(ptr nocapture noundef readonly %0, ptr nocapt } ; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define i32 @If_DsdManCheckAndXor(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 %7) local_unnamed_addr #22 { +define i32 @If_DsdManCheckAndXor(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 %7) local_unnamed_addr #23 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 @@ -10841,7 +10841,7 @@ If_DsdManComputeFirst.exit159: ; preds = %264, %262 } ; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define i32 @If_DsdManCheckMux(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 %7) local_unnamed_addr #22 { +define i32 @If_DsdManCheckMux(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 %7) local_unnamed_addr #23 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 @@ -15897,8 +15897,8 @@ attributes #18 = { mustprogress nofree nounwind willreturn memory(argmem: read) attributes #19 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) 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 #20 = { 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 #21 = { 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 #22 = { 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 #23 = { 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 #22 = { 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 #23 = { 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 #24 = { 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 #25 = { noreturn 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 #26 = { noreturn "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" } diff --git a/bench/abc/optimized/ifLibLut.c.ll b/bench/abc/optimized/ifLibLut.c.ll index 06a0c479cd9..140e51509b4 100644 --- a/bench/abc/optimized/ifLibLut.c.ll +++ b/bench/abc/optimized/ifLibLut.c.ll @@ -49,17 +49,17 @@ define noalias noundef ptr @If_LibLutReadString(ptr noundef readonly %0) local_u br i1 %5, label %129, label %Abc_UtilStrsav.exit Abc_UtilStrsav.exit: ; preds = %3 - %6 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #19 + %6 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #18 %7 = getelementptr inbounds i8, ptr %6, i64 4 store i32 0, ptr %7, align 4 store i32 1000, ptr %6, align 8 - %8 = tail call noalias dereferenceable_or_null(8000) ptr @malloc(i64 noundef 8000) #19 + %8 = tail call noalias dereferenceable_or_null(8000) ptr @malloc(i64 noundef 8000) #18 %9 = getelementptr inbounds i8, ptr %6, i64 8 store ptr %8, ptr %9, align 8 - %10 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %0) #20 + %10 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %0) #19 %11 = add i64 %10, 1 - %12 = tail call noalias ptr @malloc(i64 noundef %11) #19 - %13 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %12, ptr noundef nonnull readonly dereferenceable(1) %0) #21 + %12 = tail call noalias ptr @malloc(i64 noundef %11) #18 + %13 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %12, ptr noundef nonnull readonly dereferenceable(1) %0) #20 %.pr = load i8, ptr %12, align 1 %.not165 = icmp eq i8 %.pr, 0 br i1 %.not165, label %._crit_edge, label %.lr.ph @@ -85,11 +85,11 @@ Abc_UtilStrsav.exit: ; preds = %3 br i1 %.not9.i.i, label %23, label %21 21: ; preds = %19 - %22 = tail call dereferenceable_or_null(128) ptr @realloc(ptr noundef nonnull %20, i64 noundef 128) #22 + %22 = tail call dereferenceable_or_null(128) ptr @realloc(ptr noundef nonnull %20, i64 noundef 128) #21 br label %Vec_PtrGrow.exit.i 23: ; preds = %19 - %24 = tail call noalias dereferenceable_or_null(128) ptr @malloc(i64 noundef 128) #19 + %24 = tail call noalias dereferenceable_or_null(128) ptr @malloc(i64 noundef 128) #18 br label %Vec_PtrGrow.exit.i Vec_PtrGrow.exit.i: ; preds = %23, %21 @@ -107,11 +107,11 @@ Vec_PtrGrow.exit.i: ; preds = %23, %21 br i1 %.not9.i10.i, label %33, label %31 31: ; preds = %26 - %32 = tail call ptr @realloc(ptr noundef nonnull %28, i64 noundef %30) #22 + %32 = tail call ptr @realloc(ptr noundef nonnull %28, i64 noundef %30) #21 br label %35 33: ; preds = %26 - %34 = tail call noalias ptr @malloc(i64 noundef %30) #19 + %34 = tail call noalias ptr @malloc(i64 noundef %30) #18 br label %35 35: ; preds = %33, %31 @@ -179,7 +179,7 @@ Vec_PtrPush.exit: ; preds = %.Vec_PtrGrow.exit11 br i1 %54, label %94, label %55 55: ; preds = %50 - %56 = tail call ptr @strtok(ptr noundef nonnull %52, ptr noundef nonnull @.str) #21 + %56 = tail call ptr @strtok(ptr noundef nonnull %52, ptr noundef nonnull @.str) #20 %57 = icmp eq ptr %56, null br i1 %57, label %94, label %58 @@ -189,7 +189,7 @@ Vec_PtrPush.exit: ; preds = %.Vec_PtrGrow.exit11 br i1 %60, label %94, label %61 61: ; preds = %58 - %62 = tail call i32 @atoi(ptr nocapture noundef nonnull %56) #20 + %62 = tail call i32 @atoi(ptr nocapture noundef nonnull %56) #19 %.not135 = icmp eq i32 %.0110172, %62 br i1 %.not135, label %66, label %63 @@ -200,34 +200,34 @@ Vec_PtrPush.exit: ; preds = %.Vec_PtrGrow.exit11 br i1 %.not141, label %Vec_PtrFree.exit, label %65 65: ; preds = %63 - tail call void @free(ptr noundef nonnull %64) #21 + tail call void @free(ptr noundef nonnull %64) #20 br label %Vec_PtrFree.exit Vec_PtrFree.exit: ; preds = %65, %63 - tail call void @free(ptr noundef nonnull %calloc) #21 - tail call void @free(ptr noundef nonnull %12) #21 + tail call void @free(ptr noundef nonnull %calloc) #20 + tail call void @free(ptr noundef nonnull %12) #20 br label %.sink.split.sink.split 66: ; preds = %61 - %67 = tail call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str) #21 - %68 = tail call double @atof(ptr noundef %67) #20 + %67 = tail call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str) #20 + %68 = tail call double @atof(ptr noundef %67) #19 %69 = fptrunc double %68 to float %70 = sext i32 %.0110172 to i64 %71 = getelementptr inbounds [33 x float], ptr %47, i64 0, i64 %70 store float %69, ptr %71, align 4 - %72 = tail call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str) #21 + %72 = tail call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str) #20 %.not136167 = icmp eq ptr %72, null br i1 %.not136167, label %._crit_edge171.thread, label %.lr.ph170 .lr.ph170: ; preds = %66, %.lr.ph170 %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph170 ], [ 0, %66 ] %73 = phi ptr [ %77, %.lr.ph170 ], [ %72, %66 ] - %74 = tail call double @atof(ptr noundef nonnull %73) #20 + %74 = tail call double @atof(ptr noundef nonnull %73) #19 %75 = fptrunc double %74 to float %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1 %76 = getelementptr inbounds [33 x [33 x float]], ptr %48, i64 0, i64 %70, i64 %indvars.iv store float %75, ptr %76, align 4 - %77 = tail call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str) #21 + %77 = tail call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str) #20 %.not136 = icmp eq ptr %77, null br i1 %.not136, label %._crit_edge171, label %.lr.ph170, !llvm.loop !6 @@ -248,12 +248,12 @@ Vec_PtrFree.exit: ; preds = %65, %63 br i1 %.not139, label %84, label %83 83: ; preds = %81 - tail call void @free(ptr noundef nonnull %82) #21 + tail call void @free(ptr noundef nonnull %82) #20 br label %84 84: ; preds = %83, %81 - tail call void @free(ptr noundef nonnull %calloc) #21 - tail call void @free(ptr noundef nonnull %12) #21 + tail call void @free(ptr noundef nonnull %calloc) #20 + tail call void @free(ptr noundef nonnull %12) #20 %.not.i146 = icmp eq ptr %.val144, null br i1 %.not.i146, label %.sink.split, label %.sink.split.sink.split @@ -276,12 +276,12 @@ Vec_PtrFree.exit: ; preds = %65, %63 br i1 %.not137, label %91, label %90 90: ; preds = %88 - tail call void @free(ptr noundef nonnull %89) #21 + tail call void @free(ptr noundef nonnull %89) #20 br label %91 91: ; preds = %90, %88 - tail call void @free(ptr noundef nonnull %calloc) #21 - tail call void @free(ptr noundef nonnull %12) #21 + tail call void @free(ptr noundef nonnull %calloc) #20 + tail call void @free(ptr noundef nonnull %12) #20 %.not.i148 = icmp eq ptr %.val144, null br i1 %.not.i148, label %.sink.split, label %.sink.split.sink.split @@ -386,7 +386,7 @@ Vec_PtrFree.exit: ; preds = %65, %63 br i1 %exitcond207.not, label %.loopexit, label %120, !llvm.loop !10 .loopexit: ; preds = %119, %127, %.preheader.thread, %.preheader154, %.preheader - tail call void @free(ptr noundef nonnull %12) #21 + tail call void @free(ptr noundef nonnull %12) #20 %128 = load ptr, ptr %9, align 8 %.not.i150 = icmp eq ptr %128, null br i1 %.not.i150, label %.sink.split, label %.sink.split.sink.split @@ -394,12 +394,12 @@ Vec_PtrFree.exit: ; preds = %65, %63 .sink.split.sink.split: ; preds = %.loopexit, %91, %84, %Vec_PtrFree.exit %.sink = phi ptr [ %.val144, %Vec_PtrFree.exit ], [ %.val144, %84 ], [ %.val144, %91 ], [ %128, %.loopexit ] %.0115.ph.ph = phi ptr [ null, %Vec_PtrFree.exit ], [ null, %84 ], [ null, %91 ], [ %calloc, %.loopexit ] - tail call void @free(ptr noundef nonnull %.sink) #21 + tail call void @free(ptr noundef nonnull %.sink) #20 br label %.sink.split .sink.split: ; preds = %.sink.split.sink.split, %.loopexit, %91, %84 %.0115.ph = phi ptr [ null, %84 ], [ null, %91 ], [ %calloc, %.loopexit ], [ %.0115.ph.ph, %.sink.split.sink.split ] - tail call void @free(ptr noundef nonnull %6) #21 + tail call void @free(ptr noundef nonnull %6) #20 br label %129 129: ; preds = %.sink.split, %1, %3 @@ -424,7 +424,7 @@ define internal void @Abc_Print(i32 noundef %0, ptr noundef %1, ...) unnamed_add br i1 %.not, label %30, label %5 5: ; preds = %2 - %6 = tail call i32 (...) @Abc_FrameIsBridgeMode() #21 + %6 = tail call i32 (...) @Abc_FrameIsBridgeMode() #20 %.not8 = icmp eq i32 %6, 0 br i1 %.not8, label %7, label %12 @@ -450,31 +450,31 @@ define internal void @Abc_Print(i32 noundef %0, ptr noundef %1, ...) unnamed_add 13: ; preds = %12 %14 = load ptr, ptr @stdout, align 8 - %15 = tail call i32 @Gia_ManToBridgeText(ptr noundef %14, i32 noundef 7, ptr noundef nonnull @.str.19) #21 + %15 = tail call i32 @Gia_ManToBridgeText(ptr noundef %14, i32 noundef 7, ptr noundef nonnull @.str.19) #20 br label %19 16: ; preds = %12 %17 = load ptr, ptr @stdout, align 8 - %18 = tail call i32 @Gia_ManToBridgeText(ptr noundef %17, i32 noundef 9, ptr noundef nonnull @.str.20) #21 + %18 = tail call i32 @Gia_ManToBridgeText(ptr noundef %17, i32 noundef 9, ptr noundef nonnull @.str.20) #20 br label %19 19: ; preds = %12, %7, %13, %16, %8, %10 call void @llvm.va_start.p0(ptr nonnull %3) - %20 = call i32 (...) @Abc_FrameIsBridgeMode() #21 + %20 = call i32 (...) @Abc_FrameIsBridgeMode() #20 %.not9 = icmp eq i32 %20, 0 br i1 %.not9, label %27, label %21 21: ; preds = %19 - %22 = call ptr @vnsprintf(ptr noundef %1, ptr noundef nonnull %3) #21 + %22 = call ptr @vnsprintf(ptr noundef %1, ptr noundef nonnull %3) #20 %23 = load ptr, ptr @stdout, align 8 - %24 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %22) #20 + %24 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %22) #19 %25 = trunc i64 %24 to i32 - %26 = call i32 @Gia_ManToBridgeText(ptr noundef %23, i32 noundef %25, ptr noundef %22) #21 - call void @free(ptr noundef %22) #21 + %26 = call i32 @Gia_ManToBridgeText(ptr noundef %23, i32 noundef %25, ptr noundef %22) #20 + call void @free(ptr noundef %22) #20 br label %29 27: ; preds = %19 - %28 = call i32 @vprintf(ptr noundef %1, ptr noundef nonnull %3) #21 + %28 = call i32 @vprintf(ptr noundef %1, ptr noundef nonnull %3) #20 br label %29 29: ; preds = %27, %21 @@ -503,7 +503,7 @@ define range(i32 0, 2) i32 @Abc_FrameSetLutLibrary(ptr nocapture noundef readnon br label %15 8: ; preds = %2 - %9 = tail call ptr (...) @Abc_FrameReadLibLut() #21 + %9 = tail call ptr (...) @Abc_FrameReadLibLut() #20 %10 = icmp eq ptr %9, null br i1 %10, label %If_LibLutFree.exit, label %11 @@ -513,15 +513,15 @@ define range(i32 0, 2) i32 @Abc_FrameSetLutLibrary(ptr nocapture noundef readnon br i1 %.not.i, label %14, label %13 13: ; preds = %11 - tail call void @free(ptr noundef nonnull %12) #21 + tail call void @free(ptr noundef nonnull %12) #20 br label %14 14: ; preds = %13, %11 - tail call void @free(ptr noundef nonnull %9) #21 + tail call void @free(ptr noundef nonnull %9) #20 br label %If_LibLutFree.exit If_LibLutFree.exit: ; preds = %8, %14 - tail call void @Abc_FrameSetLibLut(ptr noundef nonnull %3) #21 + tail call void @Abc_FrameSetLibLut(ptr noundef nonnull %3) #20 br label %15 15: ; preds = %If_LibLutFree.exit, %5 @@ -540,11 +540,11 @@ define void @If_LibLutFree(ptr noundef %0) local_unnamed_addr #5 { br i1 %.not, label %6, label %5 5: ; preds = %3 - tail call void @free(ptr noundef nonnull %4) #21 + tail call void @free(ptr noundef nonnull %4) #20 br label %6 6: ; preds = %5, %3 - tail call void @free(ptr noundef nonnull %0) #21 + tail call void @free(ptr noundef nonnull %0) #20 br label %7 7: ; preds = %6, %1 @@ -567,7 +567,7 @@ define noundef i32 @Abc_FrameSetLutLibraryTest(ptr nocapture noundef readnone %0 br label %Abc_FrameSetLutLibrary.exit 7: ; preds = %1 - %8 = tail call ptr (...) @Abc_FrameReadLibLut() #21 + %8 = tail call ptr (...) @Abc_FrameReadLibLut() #20 %9 = icmp eq ptr %8, null br i1 %9, label %If_LibLutFree.exit.i, label %10 @@ -577,15 +577,15 @@ define noundef i32 @Abc_FrameSetLutLibraryTest(ptr nocapture noundef readnone %0 br i1 %.not.i.i, label %13, label %12 12: ; preds = %10 - tail call void @free(ptr noundef nonnull %11) #21 + tail call void @free(ptr noundef nonnull %11) #20 br label %13 13: ; preds = %12, %10 - tail call void @free(ptr noundef nonnull %8) #21 + tail call void @free(ptr noundef nonnull %8) #20 br label %If_LibLutFree.exit.i If_LibLutFree.exit.i: ; preds = %13, %7 - tail call void @Abc_FrameSetLibLut(ptr noundef nonnull %2) #21 + tail call void @Abc_FrameSetLibLut(ptr noundef nonnull %2) #20 br label %Abc_FrameSetLutLibrary.exit Abc_FrameSetLutLibrary.exit: ; preds = %4, %If_LibLutFree.exit.i @@ -609,10 +609,10 @@ define noalias noundef ptr @If_LibLutRead(ptr noundef %0) local_unnamed_addr #0 br i1 %.not.i, label %Abc_UtilStrsav.exit, label %7 7: ; preds = %6 - %8 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %0) #20 + %8 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %0) #19 %9 = add i64 %8, 1 - %10 = tail call noalias ptr @malloc(i64 noundef %9) #19 - %11 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull readonly dereferenceable(1) %0) #21 + %10 = tail call noalias ptr @malloc(i64 noundef %9) #18 + %11 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %10, ptr noundef nonnull readonly dereferenceable(1) %0) #20 br label %Abc_UtilStrsav.exit Abc_UtilStrsav.exit: ; preds = %6, %7 @@ -633,7 +633,7 @@ Abc_UtilStrsav.exit: ; preds = %6, %7 br label %17 17: ; preds = %.lr.ph, %.backedge - %18 = call ptr @strtok(ptr noundef nonnull %2, ptr noundef nonnull @.str) #21 + %18 = call ptr @strtok(ptr noundef nonnull %2, ptr noundef nonnull @.str) #20 %19 = icmp eq ptr %18, null br i1 %19, label %.backedge, label %21 @@ -648,7 +648,7 @@ Abc_UtilStrsav.exit: ; preds = %6, %7 br i1 %23, label %.backedge, label %24 24: ; preds = %21 - %25 = call i32 @atoi(ptr nocapture noundef nonnull %18) #20 + %25 = call i32 @atoi(ptr nocapture noundef nonnull %18) #19 %26 = zext i32 %25 to i64 %.not108 = icmp eq i64 %indvars.iv149, %26 br i1 %.not108, label %32, label %27 @@ -660,33 +660,33 @@ Abc_UtilStrsav.exit: ; preds = %6, %7 br i1 %.not112, label %30, label %29 29: ; preds = %27 - call void @free(ptr noundef nonnull %28) #21 + call void @free(ptr noundef nonnull %28) #20 br label %30 30: ; preds = %29, %27 - call void @free(ptr noundef nonnull %calloc) #21 + call void @free(ptr noundef nonnull %calloc) #20 %31 = call i32 @fclose(ptr noundef nonnull %3) br label %98 32: ; preds = %24 - %33 = call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str) #21 - %34 = call double @atof(ptr noundef %33) #20 + %33 = call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str) #20 + %34 = call double @atof(ptr noundef %33) #19 %35 = fptrunc double %34 to float %36 = getelementptr inbounds [33 x float], ptr %14, i64 0, i64 %indvars.iv149 store float %35, ptr %36, align 4 - %37 = call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str) #21 + %37 = call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str) #20 %.not109122 = icmp eq ptr %37, null br i1 %.not109122, label %.thread, label %.lr.ph125 .lr.ph125: ; preds = %32, %.lr.ph125 %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph125 ], [ 0, %32 ] %38 = phi ptr [ %42, %.lr.ph125 ], [ %37, %32 ] - %39 = call double @atof(ptr noundef nonnull %38) #20 + %39 = call double @atof(ptr noundef nonnull %38) #19 %40 = fptrunc double %39 to float %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1 %41 = getelementptr inbounds [33 x [33 x float]], ptr %15, i64 0, i64 %indvars.iv149, i64 %indvars.iv store float %40, ptr %41, align 4 - %42 = call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str) #21 + %42 = call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str) #20 %.not109 = icmp eq ptr %42, null br i1 %.not109, label %._crit_edge126, label %.lr.ph125, !llvm.loop !12 @@ -704,11 +704,11 @@ Abc_UtilStrsav.exit: ; preds = %6, %7 br i1 %.not111, label %50, label %49 49: ; preds = %45 - call void @free(ptr noundef nonnull %48) #21 + call void @free(ptr noundef nonnull %48) #20 br label %50 50: ; preds = %49, %45 - call void @free(ptr noundef nonnull %calloc) #21 + call void @free(ptr noundef nonnull %calloc) #20 call void (i32, ptr, ...) @Abc_Print(i32 noundef 1, ptr noundef nonnull @.str.2, i32 noundef %47, i32 noundef %46, i32 noundef %47) %51 = call i32 @fclose(ptr noundef nonnull %3) br label %98 @@ -731,11 +731,11 @@ Abc_UtilStrsav.exit: ; preds = %6, %7 br i1 %.not110, label %58, label %57 57: ; preds = %55 - call void @free(ptr noundef nonnull %56) #21 + call void @free(ptr noundef nonnull %56) #20 br label %58 58: ; preds = %57, %55 - call void @free(ptr noundef nonnull %calloc) #21 + call void @free(ptr noundef nonnull %calloc) #20 call void (i32, ptr, ...) @Abc_Print(i32 noundef 1, ptr noundef nonnull @.str.3, i32 noundef 32) %59 = call i32 @fclose(ptr noundef nonnull %3) br label %98 @@ -864,17 +864,17 @@ declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #7 ; Function Attrs: mustprogress nofree nounwind willreturn uwtable define noalias noundef ptr @If_LibLutDup(ptr nocapture noundef readonly %0) local_unnamed_addr #8 { - %2 = tail call noalias dereferenceable_or_null(4504) ptr @malloc(i64 noundef 4504) #19 + %2 = tail call noalias dereferenceable_or_null(4504) ptr @malloc(i64 noundef 4504) #18 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(4504) %2, ptr noundef nonnull align 8 dereferenceable(4504) %0, i64 4504, i1 false) %3 = load ptr, ptr %2, align 8 %.not.i = icmp eq ptr %3, null br i1 %.not.i, label %Abc_UtilStrsav.exit, label %4 4: ; preds = %1 - %5 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %3) #20 + %5 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %3) #19 %6 = add i64 %5, 1 - %7 = tail call noalias ptr @malloc(i64 noundef %6) #19 - %8 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull readonly dereferenceable(1) %3) #21 + %7 = tail call noalias ptr @malloc(i64 noundef %6) #18 + %8 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %7, ptr noundef nonnull readonly dereferenceable(1) %3) #20 br label %Abc_UtilStrsav.exit Abc_UtilStrsav.exit: ; preds = %1, %4 @@ -1070,17 +1070,17 @@ switch.lookup: ; preds = %1 %3 = zext nneg i32 %switch.tableidx to i64 %switch.gep = getelementptr inbounds [8 x ptr], ptr @switch.table.If_LibLutSetSimple, i64 0, i64 %3 %switch.load = load ptr, ptr %switch.gep, align 8 - %4 = tail call noalias dereferenceable_or_null(4504) ptr @malloc(i64 noundef 4504) #19 + %4 = tail call noalias dereferenceable_or_null(4504) ptr @malloc(i64 noundef 4504) #18 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(4504) %4, ptr noundef nonnull readonly align 8 dereferenceable(4504) %switch.load, i64 4504, i1 false) %5 = load ptr, ptr %4, align 8 %.not.i.i = icmp eq ptr %5, null br i1 %.not.i.i, label %If_LibLutDup.exit, label %6 6: ; preds = %switch.lookup - %7 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %5) #20 + %7 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %5) #19 %8 = add i64 %7, 1 - %9 = tail call noalias ptr @malloc(i64 noundef %8) #19 - %10 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %9, ptr noundef nonnull readonly dereferenceable(1) %5) #21 + %9 = tail call noalias ptr @malloc(i64 noundef %8) #18 + %10 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %9, ptr noundef nonnull readonly dereferenceable(1) %5) #20 br label %If_LibLutDup.exit If_LibLutDup.exit: ; preds = %switch.lookup, %6 @@ -1112,8 +1112,8 @@ define float @If_LibLutFastestPinDelay(ptr noundef readonly %0) local_unnamed_ad ret float %10 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define float @If_LibLutSlowestPinDelay(ptr noundef readonly %0) local_unnamed_addr #12 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define float @If_LibLutSlowestPinDelay(ptr noundef readonly %0) local_unnamed_addr #11 { %.not = icmp eq ptr %0, null br i1 %.not, label %14, label %2 @@ -1139,13 +1139,13 @@ define float @If_LibLutSlowestPinDelay(ptr noundef readonly %0) local_unnamed_ad } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite) -declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #13 +declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #12 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #14 +declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #13 ; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) -declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #15 +declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #14 declare i32 @Abc_FrameIsBridgeMode(...) local_unnamed_addr #6 @@ -1160,16 +1160,16 @@ declare ptr @vnsprintf(ptr noundef, ptr noundef) local_unnamed_addr #6 declare noundef i32 @vprintf(ptr nocapture noundef readonly, ptr noundef) local_unnamed_addr #7 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn -declare void @llvm.va_start.p0(ptr) #16 +declare void @llvm.va_start.p0(ptr) #15 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn -declare void @llvm.va_end.p0(ptr) #16 +declare void @llvm.va_end.p0(ptr) #15 ; Function Attrs: nofree nounwind -declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #17 +declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #16 ; Function Attrs: nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) -declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #18 +declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #17 attributes #0 = { 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 #1 = { 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" } @@ -1183,17 +1183,16 @@ attributes #8 = { mustprogress nofree nounwind willreturn uwtable "frame-pointer attributes #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #10 = { 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 #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 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 #13 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 #14 = { 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 #15 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) 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 #16 = { mustprogress nocallback nofree nosync nounwind willreturn } -attributes #17 = { nofree nounwind } -attributes #18 = { nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" } -attributes #19 = { nounwind allocsize(0) } -attributes #20 = { nounwind willreturn memory(read) } -attributes #21 = { nounwind } -attributes #22 = { nounwind allocsize(1) } +attributes #12 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 #13 = { 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 #14 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) 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 #15 = { mustprogress nocallback nofree nosync nounwind willreturn } +attributes #16 = { nofree nounwind } +attributes #17 = { nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" } +attributes #18 = { nounwind allocsize(0) } +attributes #19 = { nounwind willreturn memory(read) } +attributes #20 = { nounwind } +attributes #21 = { nounwind allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/abc/optimized/kitPla.c.ll b/bench/abc/optimized/kitPla.c.ll index 7e6f2f20863..7db3ea331e1 100644 --- a/bench/abc/optimized/kitPla.c.ll +++ b/bench/abc/optimized/kitPla.c.ll @@ -112,7 +112,7 @@ define range(i32 0, 2) i32 @Kit_PlaIsInv(ptr nocapture noundef readonly %0) loca ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define noundef i32 @Kit_PlaGetVarNum(ptr noundef %0) local_unnamed_addr #1 { br label %2 @@ -141,7 +141,7 @@ define noundef i32 @Kit_PlaGetVarNum(ptr noundef %0) local_unnamed_addr #1 { ret i32 %.06 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define i32 @Kit_PlaGetCubeNum(ptr noundef readonly %0) local_unnamed_addr #1 { %2 = icmp eq ptr %0, null br i1 %2, label %.loopexit, label %.preheader @@ -168,7 +168,7 @@ define i32 @Kit_PlaGetCubeNum(ptr noundef readonly %0) local_unnamed_addr #1 { ret i32 %.08 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define range(i32 0, 2) i32 @Kit_PlaIsComplement(ptr nocapture noundef readonly %0) local_unnamed_addr #1 { br label %2 @@ -198,7 +198,7 @@ define range(i32 0, 2) i32 @Kit_PlaIsComplement(ptr nocapture noundef readonly % ret i32 %.06 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_PlaComplement(ptr nocapture noundef %0) local_unnamed_addr #2 { br label %2 @@ -1512,7 +1512,7 @@ Kit_PlaComplement.exit: ; preds = %.preheader, %70, %V ret ptr %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define i64 @Kit_PlaToTruth6(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #1 { %3 = icmp sgt i32 %1, 0 br i1 %3, label %.lr.ph.us.preheader, label %.preheader @@ -1815,8 +1815,8 @@ declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #10 declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #11 attributes #0 = { 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 #1 = { 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 #2 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { "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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } diff --git a/bench/abc/optimized/kitTruth.c.ll b/bench/abc/optimized/kitTruth.c.ll index e40d0480906..65f404134d4 100644 --- a/bench/abc/optimized/kitTruth.c.ll +++ b/bench/abc/optimized/kitTruth.c.ll @@ -31,7 +31,7 @@ target triple = "x86_64-pc-linux-gnu" @str.1 = private unnamed_addr constant [8 x i8] c"Common:\00", align 1 @str.2 = private unnamed_addr constant [7 x i8] c"Total:\00", align 1 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthSwapAdjacentVars(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp slt i32 %2, 6 %6 = add nsw i32 %2, -5 @@ -193,7 +193,7 @@ define void @Kit_TruthSwapAdjacentVars(ptr nocapture noundef writeonly %0, ptr n ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthSwapAdjacentVars2(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp slt i32 %2, 6 %6 = add nsw i32 %2, -5 @@ -427,7 +427,7 @@ define void @Kit_TruthSwapAdjacentVars2(ptr nocapture noundef readonly %0, ptr n } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @Kit_TruthStretch(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { +define void @Kit_TruthStretch(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #1 { %7 = icmp sgt i32 %3, 0 br i1 %7, label %.lr.ph51, label %._crit_edge52 @@ -669,7 +669,7 @@ Kit_TruthCopy.exit: ; preds = %select.unfold.i, %1 } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @Kit_TruthShrink(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { +define void @Kit_TruthShrink(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #1 { %7 = icmp sgt i32 %3, 0 br i1 %7, label %.lr.ph54, label %._crit_edge55 @@ -916,7 +916,7 @@ Kit_TruthCopy.exit: ; preds = %select.unfold.i, %9 } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @Kit_TruthPermute(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, ptr nocapture noundef %3, i32 noundef %4) local_unnamed_addr #0 { +define void @Kit_TruthPermute(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, ptr nocapture noundef %3, i32 noundef %4) local_unnamed_addr #1 { %6 = icmp sgt i32 %2, 1 %7 = icmp slt i32 %2, 6 %8 = add nsw i32 %2, -5 @@ -1137,8 +1137,8 @@ Kit_TruthCopy.exit: ; preds = %select.unfold.i, %. ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @Kit_TruthVarInSupport(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define range(i32 0, 2) i32 @Kit_TruthVarInSupport(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 { %4 = icmp slt i32 %1, 6 %5 = add nsw i32 %1, -5 %6 = shl nuw i32 1, %5 @@ -1314,8 +1314,8 @@ define range(i32 0, 2) i32 @Kit_TruthVarInSupport(ptr nocapture noundef readonly ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @Kit_TruthSupportSize(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define i32 @Kit_TruthSupportSize(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #2 { %3 = icmp sgt i32 %1, 0 br i1 %3, label %.lr.ph, label %._crit_edge @@ -1333,8 +1333,8 @@ define i32 @Kit_TruthSupportSize(ptr nocapture noundef readonly %0, i32 noundef ret i32 %.0.lcssa } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @Kit_TruthSupport(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define i32 @Kit_TruthSupport(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #2 { %3 = icmp sgt i32 %1, 0 br i1 %3, label %.lr.ph, label %._crit_edge @@ -1355,7 +1355,7 @@ define i32 @Kit_TruthSupport(ptr nocapture noundef readonly %0, i32 noundef %1) ret i32 %.0.lcssa } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthCofactor0(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp slt i32 %1, 6 %5 = add nsw i32 %1, -5 @@ -1508,8 +1508,8 @@ define void @Kit_TruthCofactor0(ptr nocapture noundef %0, i32 noundef %1, i32 no ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @Kit_TruthCofactor0Count(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define i32 @Kit_TruthCofactor0Count(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 { %4 = icmp slt i32 %1, 6 %5 = add nsw i32 %1, -5 %6 = shl nuw i32 1, %5 @@ -1750,7 +1750,7 @@ define i32 @Kit_TruthCofactor0Count(ptr nocapture noundef readonly %0, i32 nound ret i32 %.051 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthCofactor1(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp slt i32 %1, 6 %5 = add nsw i32 %1, -5 @@ -1908,7 +1908,7 @@ define void @Kit_TruthCofactor1(ptr nocapture noundef %0, i32 noundef %1, i32 no ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthCofactor0New(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp slt i32 %2, 6 %6 = add nsw i32 %2, -5 @@ -2070,7 +2070,7 @@ define void @Kit_TruthCofactor0New(ptr nocapture noundef writeonly %0, ptr nocap ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthCofactor1New(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp slt i32 %2, 6 %6 = add nsw i32 %2, -5 @@ -2237,8 +2237,8 @@ define void @Kit_TruthCofactor1New(ptr nocapture noundef writeonly %0, ptr nocap ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @Kit_TruthVarIsVacuous(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define range(i32 0, 2) i32 @Kit_TruthVarIsVacuous(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #2 { %5 = icmp slt i32 %2, 6 %6 = add nsw i32 %2, -5 %7 = shl nuw i32 1, %6 @@ -2448,7 +2448,7 @@ define range(i32 0, 2) i32 @Kit_TruthVarIsVacuous(ptr nocapture noundef readonly ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthExist(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp slt i32 %1, 6 %5 = add nsw i32 %1, -5 @@ -2620,7 +2620,7 @@ define void @Kit_TruthExist(ptr nocapture noundef %0, i32 noundef %1, i32 nounde ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthExistNew(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp slt i32 %2, 6 %6 = add nsw i32 %2, -5 @@ -2801,7 +2801,7 @@ define void @Kit_TruthExistNew(ptr nocapture noundef writeonly %0, ptr nocapture ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthExistSet(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp slt i32 %2, 6 %6 = add nsw i32 %2, -5 @@ -2848,7 +2848,7 @@ Kit_TruthCopy.exit: ; preds = %select.unfold.i, %4 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthForall(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp slt i32 %1, 6 %5 = add nsw i32 %1, -5 @@ -3020,7 +3020,7 @@ define void @Kit_TruthForall(ptr nocapture noundef %0, i32 noundef %1, i32 nound ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthForallNew(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp slt i32 %2, 6 %6 = add nsw i32 %2, -5 @@ -3201,7 +3201,7 @@ define void @Kit_TruthForallNew(ptr nocapture noundef writeonly %0, ptr nocaptur ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthUniqueNew(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp slt i32 %2, 6 %6 = add nsw i32 %2, -5 @@ -3382,8 +3382,8 @@ define void @Kit_TruthUniqueNew(ptr nocapture noundef writeonly %0, ptr nocaptur ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @Kit_TruthBooleanDiffCount(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define i32 @Kit_TruthBooleanDiffCount(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 { %4 = icmp slt i32 %1, 6 %5 = add nsw i32 %1, -5 %6 = shl nuw i32 1, %5 @@ -3689,7 +3689,7 @@ define i32 @Kit_TruthXorCount(ptr nocapture noundef readonly %0, ptr nocapture n ret i32 %.0.lcssa } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthForallSet(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp slt i32 %2, 6 %6 = add nsw i32 %2, -5 @@ -3736,7 +3736,7 @@ Kit_TruthCopy.exit: ; preds = %select.unfold.i, %4 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthMuxVar(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = icmp slt i32 %3, 6 %7 = add nsw i32 %3, -5 @@ -3917,7 +3917,7 @@ define void @Kit_TruthMuxVar(ptr nocapture noundef writeonly %0, ptr nocapture n ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthMuxVarPhase(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %7 = icmp slt i32 %3, 6 %8 = add nsw i32 %3, -5 @@ -4113,7 +4113,7 @@ define void @Kit_TruthMuxVarPhase(ptr nocapture noundef writeonly %0, ptr nocapt } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @Kit_TruthVarsSymm(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 { +define range(i32 0, 2) i32 @Kit_TruthVarsSymm(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #1 { %7 = icmp eq ptr %4, null %spec.store.select = select i1 %7, ptr @Kit_TruthVarsSymm.uTemp0, ptr %4 %8 = icmp eq ptr %5, null @@ -4187,7 +4187,7 @@ Kit_TruthIsEqual.exit: ; preds = %select.unfold.i30, } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @Kit_TruthVarsAntiSymm(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 { +define range(i32 0, 2) i32 @Kit_TruthVarsAntiSymm(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #1 { %7 = icmp eq ptr %4, null %spec.store.select = select i1 %7, ptr @Kit_TruthVarsAntiSymm.uTemp0, ptr %4 %8 = icmp eq ptr %5, null @@ -4260,7 +4260,7 @@ Kit_TruthIsEqual.exit: ; preds = %select.unfold.i30, ret i32 %.07.i } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthChangePhase(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp slt i32 %1, 6 %5 = add nsw i32 %1, -5 @@ -4427,7 +4427,7 @@ define void @Kit_TruthChangePhase(ptr nocapture noundef %0, i32 noundef %1, i32 } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define range(i32 0, 33) i32 @Kit_TruthMinCofSuppOverlap(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef writeonly %2) local_unnamed_addr #0 { +define range(i32 0, 33) i32 @Kit_TruthMinCofSuppOverlap(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef writeonly %2) local_unnamed_addr #1 { %4 = icmp sgt i32 %1, 0 br i1 %4, label %.lr.ph, label %Kit_TruthSupport.exit51._crit_edge @@ -4881,7 +4881,7 @@ Kit_TruthSupport.exit51._crit_edge: ; preds = %10, %Kit_TruthSuppo ret i32 %.2 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define noundef i32 @Kit_TruthBestCofVar(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3) local_unnamed_addr #0 { %5 = icmp slt i32 %1, 6 %6 = add nsw i32 %1, -5 @@ -5252,7 +5252,7 @@ Kit_TruthIsConst0.exit: ; preds = %select.unfold.i, %s ret i32 %.034 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthCountOnesInCofs(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = icmp slt i32 %1, 6 %5 = add nsw i32 %1, -5 @@ -5843,8 +5843,8 @@ define void @Kit_TruthCountOnesInCofs(ptr nocapture noundef readonly %0, i32 nou ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @Kit_TruthCountOnesInCofs0(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @Kit_TruthCountOnesInCofs0(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = icmp slt i32 %1, 6 %5 = add nsw i32 %1, -5 %6 = shl nuw i32 1, %5 @@ -6191,7 +6191,7 @@ define void @Kit_TruthCountOnesInCofs0(ptr nocapture noundef readonly %0, i32 no ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthCountOnesInCofsSlow(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef %3) local_unnamed_addr #0 { %5 = icmp sgt i32 %1, 0 br i1 %5, label %.lr.ph, label %._crit_edge @@ -6321,7 +6321,7 @@ define i32 @Kit_TruthHash(ptr nocapture noundef readonly %0, i32 noundef %1) loc } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define i32 @Kit_TruthSemiCanonicize(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, ptr nocapture noundef %3) local_unnamed_addr #0 { +define i32 @Kit_TruthSemiCanonicize(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, ptr nocapture noundef %3) local_unnamed_addr #1 { %5 = alloca [32 x i32], align 16 %6 = icmp slt i32 %2, 6 %7 = add nsw i32 %2, -5 @@ -6676,7 +6676,7 @@ Kit_TruthCopy.exit: ; preds = %select.unfold.i110, ret i32 %.us-phi137160 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define i32 @Kit_TruthCountMinterms(ptr noundef readonly %0, i32 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3) local_unnamed_addr #0 { %5 = sext i32 %1 to i64 %6 = shl nsw i64 %5, 2 @@ -6803,7 +6803,7 @@ define i32 @Kit_TruthCountMinterms(ptr noundef readonly %0, i32 noundef %1, ptr } ; Function Attrs: nofree nounwind uwtable -define void @Kit_PrintHexadecimal(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #5 { +define void @Kit_PrintHexadecimal(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #4 { %4 = shl nuw i32 1, %2 %5 = icmp sgt i32 %4, 3 br i1 %5, label %.lr.ph.preheader, label %._crit_edge @@ -6827,7 +6827,7 @@ define void @Kit_PrintHexadecimal(ptr nocapture noundef %0, ptr nocapture nounde br i1 %15, label %16, label %18 16: ; preds = %.lr.ph - %17 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %14) #13 + %17 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %14) #12 br label %20 18: ; preds = %.lr.ph @@ -6844,10 +6844,10 @@ define void @Kit_PrintHexadecimal(ptr nocapture noundef %0, ptr nocapture nounde } ; Function Attrs: nofree nounwind -declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #6 +declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #5 ; Function Attrs: nofree nounwind uwtable -define void @Kit_TruthCountMintermsPrecomp() local_unnamed_addr #5 { +define void @Kit_TruthCountMintermsPrecomp() local_unnamed_addr #4 { br label %1 1: ; preds = %0, %Kit_PrintHexadecimal.exit @@ -6893,7 +6893,7 @@ define void @Kit_TruthCountMintermsPrecomp() local_unnamed_addr #5 { br i1 %29, label %30, label %32 30: ; preds = %.lr.ph.i - %31 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str, i32 noundef %28) #13 + %31 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str, i32 noundef %28) #12 br label %34 32: ; preds = %.lr.ph.i @@ -6916,14 +6916,14 @@ Kit_PrintHexadecimal.exit: ; preds = %34 } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6 ; Function Attrs: nofree nounwind -declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #6 +declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #5 ; Function Attrs: nofree nounwind uwtable -define noundef nonnull ptr @Kit_TruthDumpToFile(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #5 { - %4 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) @Kit_TruthDumpToFile.pFileName, ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %2) #13 +define noundef nonnull ptr @Kit_TruthDumpToFile(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #4 { + %4 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) @Kit_TruthDumpToFile.pFileName, ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %2) #12 %5 = tail call noalias ptr @fopen(ptr noundef nonnull @Kit_TruthDumpToFile.pFileName, ptr noundef nonnull @.str.6) %6 = tail call i64 @fwrite(ptr nonnull @.str.7, i64 3, i64 1, ptr %5) %7 = shl nuw i32 1, %1 @@ -6949,7 +6949,7 @@ define noundef nonnull ptr @Kit_TruthDumpToFile(ptr nocapture noundef readonly % br i1 %18, label %19, label %21 19: ; preds = %.lr.ph.i - %20 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %5, ptr noundef nonnull @.str, i32 noundef %17) #13 + %20 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %5, ptr noundef nonnull @.str, i32 noundef %17) #12 br label %23 21: ; preds = %.lr.ph.i @@ -6968,16 +6968,16 @@ Kit_PrintHexadecimal.exit: ; preds = %23, %3 } ; Function Attrs: nofree nounwind -declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #6 +declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #5 ; Function Attrs: nofree nounwind -declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #6 +declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #5 ; Function Attrs: nofree nounwind -declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #6 +declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #5 ; Function Attrs: nounwind uwtable -define void @Kit_TruthPrintProfile_int(ptr noundef %0, i32 noundef %1) local_unnamed_addr #8 { +define void @Kit_TruthPrintProfile_int(ptr noundef %0, i32 noundef %1) local_unnamed_addr #7 { %3 = alloca [20 x i32], align 16 %4 = alloca [20 x i32], align 16 %5 = alloca [20 x i32], align 16 @@ -6992,15 +6992,15 @@ define void @Kit_TruthPrintProfile_int(ptr noundef %0, i32 noundef %1) local_unn %14 = shl nsw i32 %13, 2 %15 = sext i32 %14 to i64 %16 = shl nsw i64 %15, 2 - %17 = tail call noalias ptr @malloc(i64 noundef %16) #14 + %17 = tail call noalias ptr @malloc(i64 noundef %16) #13 %18 = sext i32 %13 to i64 %19 = shl nsw i64 %18, 2 - %20 = tail call noalias ptr @malloc(i64 noundef %19) #14 - %21 = tail call noalias ptr @malloc(i64 noundef %19) #14 - %22 = tail call noalias ptr @malloc(i64 noundef %19) #14 - %23 = tail call noalias ptr @malloc(i64 noundef %19) #14 - %24 = tail call noalias ptr @malloc(i64 noundef %19) #14 - %25 = tail call noalias ptr @malloc(i64 noundef %19) #14 + %20 = tail call noalias ptr @malloc(i64 noundef %19) #13 + %21 = tail call noalias ptr @malloc(i64 noundef %19) #13 + %22 = tail call noalias ptr @malloc(i64 noundef %19) #13 + %23 = tail call noalias ptr @malloc(i64 noundef %19) #13 + %24 = tail call noalias ptr @malloc(i64 noundef %19) #13 + %25 = tail call noalias ptr @malloc(i64 noundef %19) #13 %26 = call i32 @Kit_TruthCountMinterms(ptr noundef %0, i32 noundef %1, ptr noundef nonnull %3, ptr noundef %17) %27 = icmp sgt i32 %1, 0 br i1 %27, label %.lr.ph.preheader, label %._crit_edge513 @@ -8179,7 +8179,7 @@ Kit_TruthXorCount.exit413: ; preds = %Kit_TruthXorCount.e br i1 %.not, label %519, label %518 518: ; preds = %._crit_edge551 - tail call void @free(ptr noundef nonnull %.0.lcssa) #13 + tail call void @free(ptr noundef nonnull %.0.lcssa) #12 br label %519 519: ; preds = %._crit_edge551, %518 @@ -8187,7 +8187,7 @@ Kit_TruthXorCount.exit413: ; preds = %Kit_TruthXorCount.e br i1 %.not233, label %521, label %520 520: ; preds = %519 - tail call void @free(ptr noundef nonnull %.0208.lcssa) #13 + tail call void @free(ptr noundef nonnull %.0208.lcssa) #12 br label %521 521: ; preds = %519, %520 @@ -8195,7 +8195,7 @@ Kit_TruthXorCount.exit413: ; preds = %Kit_TruthXorCount.e br i1 %.not234, label %523, label %522 522: ; preds = %521 - tail call void @free(ptr noundef nonnull %22) #13 + tail call void @free(ptr noundef nonnull %22) #12 br label %523 523: ; preds = %521, %522 @@ -8203,7 +8203,7 @@ Kit_TruthXorCount.exit413: ; preds = %Kit_TruthXorCount.e br i1 %.not235, label %525, label %524 524: ; preds = %523 - tail call void @free(ptr noundef nonnull %23) #13 + tail call void @free(ptr noundef nonnull %23) #12 br label %525 525: ; preds = %523, %524 @@ -8211,7 +8211,7 @@ Kit_TruthXorCount.exit413: ; preds = %Kit_TruthXorCount.e br i1 %.not236, label %527, label %526 526: ; preds = %525 - tail call void @free(ptr noundef nonnull %24) #13 + tail call void @free(ptr noundef nonnull %24) #12 br label %527 527: ; preds = %525, %526 @@ -8219,7 +8219,7 @@ Kit_TruthXorCount.exit413: ; preds = %Kit_TruthXorCount.e br i1 %.not237, label %529, label %528 528: ; preds = %527 - tail call void @free(ptr noundef nonnull %25) #13 + tail call void @free(ptr noundef nonnull %25) #12 br label %529 529: ; preds = %527, %528 @@ -8227,7 +8227,7 @@ Kit_TruthXorCount.exit413: ; preds = %Kit_TruthXorCount.e br i1 %.not238, label %531, label %530 530: ; preds = %529 - tail call void @free(ptr noundef nonnull %17) #13 + tail call void @free(ptr noundef nonnull %17) #12 br label %531 531: ; preds = %529, %530 @@ -8235,13 +8235,13 @@ Kit_TruthXorCount.exit413: ; preds = %Kit_TruthXorCount.e } ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) -declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #9 +declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #8 ; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) -declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #10 +declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #9 ; Function Attrs: nounwind uwtable -define void @Kit_TruthPrintProfile(ptr noundef %0, i32 noundef %1) local_unnamed_addr #8 { +define void @Kit_TruthPrintProfile(ptr noundef %0, i32 noundef %1) local_unnamed_addr #7 { %3 = alloca [2 x i32], align 4 %4 = icmp sgt i32 %1, 5 br i1 %4, label %5, label %6 @@ -8263,41 +8263,40 @@ define void @Kit_TruthPrintProfile(ptr noundef %0, i32 noundef %1) local_unnamed } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #11 +declare i32 @llvm.fshl.i32(i32, i32, i32) #10 ; Function Attrs: nofree nounwind -declare noundef i32 @fputc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #12 +declare noundef i32 @fputc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #11 ; Function Attrs: nofree nounwind -declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #12 +declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #11 ; Function Attrs: nofree nounwind -declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #12 +declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #11 ; Function Attrs: nofree nounwind -declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #12 +declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #11 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #11 +declare i32 @llvm.smax.i32(i32, i32) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #11 +declare i32 @llvm.smin.i32(i32, i32) #10 -attributes #0 = { 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 #1 = { 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 #0 = { 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 #1 = { 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 #2 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #4 = { 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 #5 = { 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 #6 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #8 = { 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 #9 = { 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 #10 = { 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 #11 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #12 = { nofree nounwind } -attributes #13 = { nounwind } -attributes #14 = { nounwind allocsize(0) } +attributes #4 = { 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 #5 = { 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #7 = { 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 #8 = { 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 #9 = { 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 #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #11 = { nofree nounwind } +attributes #12 = { nounwind } +attributes #13 = { nounwind allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/abc/optimized/luckySwap.c.ll b/bench/abc/optimized/luckySwap.c.ll index b251481c666..96b1c60f411 100644 --- a/bench/abc/optimized/luckySwap.c.ll +++ b/bench/abc/optimized/luckySwap.c.ll @@ -84,7 +84,7 @@ select.unfold._crit_edge: ; preds = %select.unfold, %2 ret i32 %.0.lcssa } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @Kit_TruthCountOnesInCofs_64bit(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #2 { %4 = icmp slt i32 %1, 7 %5 = add nsw i32 %1, -6 @@ -504,8 +504,8 @@ define void @Kit_TruthCountOnesInCofs_64bit(ptr nocapture noundef readonly %0, i ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @Kit_TruthChangePhase_64bit(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @Kit_TruthChangePhase_64bit(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 { %4 = alloca [512 x i64], align 16 %5 = icmp slt i32 %1, 7 %6 = add nsw i32 %1, -6 @@ -573,10 +573,10 @@ define void @Kit_TruthChangePhase_64bit(ptr nocapture noundef %0, i32 noundef %1 } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4 ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @Kit_TruthNot_64bit(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #6 { +define void @Kit_TruthNot_64bit(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #2 { %3 = icmp slt i32 %1, 7 %4 = add nsw i32 %1, -6 %5 = shl nuw i32 1, %4 @@ -603,7 +603,7 @@ select.unfold._crit_edge: ; preds = %select.unfold, %2 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @Kit_TruthCopy_64bit(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #7 { +define void @Kit_TruthCopy_64bit(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #5 { %4 = icmp slt i32 %2, 7 %5 = add nsw i32 %2, -6 %6 = shl nuw i32 1, %5 @@ -614,8 +614,8 @@ define void @Kit_TruthCopy_64bit(ptr nocapture noundef writeonly %0, ptr nocaptu ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @Kit_TruthSwapAdjacentVars_64bit(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @Kit_TruthSwapAdjacentVars_64bit(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 { %4 = alloca [256 x i64], align 16 %5 = icmp slt i32 %1, 7 %6 = add nsw i32 %1, -6 @@ -722,8 +722,8 @@ define void @Kit_TruthSwapAdjacentVars_64bit(ptr nocapture noundef %0, i32 nound ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define i32 @Kit_TruthSemiCanonicize_Yasha(ptr nocapture noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define i32 @Kit_TruthSemiCanonicize_Yasha(ptr nocapture noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #2 { %4 = alloca [256 x i64], align 16 %5 = alloca [512 x i64], align 16 %6 = alloca [16 x i32], align 16 @@ -1038,8 +1038,8 @@ Kit_TruthChangePhase_64bit.exit: ; preds = %150, %133, %.prehea ret i32 %.us-phi } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define i32 @Kit_TruthSemiCanonicize_Yasha1(ptr nocapture noundef %0, i32 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3) local_unnamed_addr #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define i32 @Kit_TruthSemiCanonicize_Yasha1(ptr nocapture noundef %0, i32 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3) local_unnamed_addr #2 { %5 = alloca [256 x i64], align 16 %6 = alloca [512 x i64], align 16 %7 = icmp slt i32 %1, 7 @@ -1372,8 +1372,8 @@ Kit_TruthChangePhase_64bit.exit: ; preds = %162, %145, %.prehea ret i32 %.us-phi } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @Kit_TruthSemiCanonicize_Yasha_simple(ptr nocapture noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @Kit_TruthSemiCanonicize_Yasha_simple(ptr nocapture noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #2 { %4 = alloca [256 x i64], align 16 %5 = alloca [512 x i64], align 16 %6 = icmp slt i32 %1, 7 @@ -1664,20 +1664,18 @@ Kit_TruthChangePhase_64bit.exit: ; preds = %134, %117, %.prehea } ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #8 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #6 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #8 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #6 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 = { 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 #2 = { 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 #2 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #6 = { 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 #7 = { 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 #8 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #5 = { 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 #6 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/abc/optimized/trees.c.ll b/bench/abc/optimized/trees.c.ll index fc8dd09f1a8..f82dc30121b 100644 --- a/bench/abc/optimized/trees.c.ll +++ b/bench/abc/optimized/trees.c.ll @@ -81,7 +81,7 @@ init_block.exit: ; preds = %.preheader.i ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define hidden void @_tr_stored_block(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #1 { %5 = getelementptr inbounds i8, ptr %0, i64 5924 %6 = load i32, ptr %5, align 4 @@ -545,7 +545,7 @@ bi_flush.exit93: ; preds = %.sink.split.i91, %1 } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @_tr_flush_block(ptr noundef %0, ptr noundef readonly %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #1 { +define hidden void @_tr_flush_block(ptr noundef %0, ptr noundef readonly %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #3 { %5 = getelementptr inbounds i8, ptr %0, i64 180 %6 = load i32, ptr %5, align 4 %7 = icmp sgt i32 %6, 0 @@ -1353,7 +1353,7 @@ bi_windup.exit: ; preds = %444, %.sink.split.i } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @build_tree(ptr noundef %0, ptr nocapture noundef %1) unnamed_addr #1 { +define internal fastcc void @build_tree(ptr noundef %0, ptr nocapture noundef %1) unnamed_addr #3 { %3 = alloca [16 x i16], align 16 %4 = load ptr, ptr %1, align 8 %5 = getelementptr inbounds i8, ptr %1, i64 16 @@ -2089,7 +2089,7 @@ gen_codes.exit: ; preds = %392, %.preheader.i1 } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @compress_block(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) unnamed_addr #1 { +define internal fastcc void @compress_block(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) unnamed_addr #3 { %4 = getelementptr inbounds i8, ptr %0, i64 5884 %5 = load i32, ptr %4, align 4 %.not = icmp eq i32 %5, 0 @@ -2482,8 +2482,8 @@ define internal fastcc void @compress_block(ptr nocapture noundef %0, ptr nocapt ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define hidden range(i32 0, 2) i32 @_tr_tally(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #3 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden range(i32 0, 2) i32 @_tr_tally(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #2 { %4 = trunc i32 %1 to i16 %5 = getelementptr inbounds i8, ptr %0, i64 5888 %6 = load ptr, ptr %5, align 8 @@ -2553,7 +2553,7 @@ define hidden range(i32 0, 2) i32 @_tr_tally(ptr nocapture noundef %0, i32 nound } ; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @send_tree(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) unnamed_addr #4 { +define internal fastcc void @send_tree(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) unnamed_addr #1 { %.not250 = icmp slt i32 %2, 0 br i1 %.not250, label %._crit_edge, label %.lr.ph @@ -3036,28 +3036,27 @@ define internal fastcc void @send_tree(ptr noundef %0, ptr nocapture noundef rea } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #6 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #5 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #6 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #5 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i8 @llvm.umax.i8(i8, i8) #7 +declare i8 @llvm.umax.i8(i8, i8) #6 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #7 +declare i64 @llvm.umin.i64(i64, i64) #6 attributes #0 = { 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 #1 = { 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 #1 = { nofree norecurse nosync nounwind 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 #2 = { 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 #3 = { 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 #4 = { nofree norecurse nosync nounwind 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 #5 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #6 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #3 = { 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #5 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/abc/optimized/utilNam.c.ll b/bench/abc/optimized/utilNam.c.ll index d532e7d308b..d56d86e32a1 100644 --- a/bench/abc/optimized/utilNam.c.ll +++ b/bench/abc/optimized/utilNam.c.ll @@ -864,7 +864,7 @@ define i32 @Abc_NamMemAlloc(ptr noundef readonly %0) local_unnamed_addr #10 { ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define i32 @Abc_NamStrHash(ptr noundef readonly %0, ptr noundef readnone %1, i32 noundef %2) local_unnamed_addr #11 { %.not = icmp eq ptr %1, null br i1 %.not, label %.preheader, label %.preheader35 @@ -957,7 +957,7 @@ define i32 @Abc_NamStrHash(ptr noundef readonly %0, ptr noundef readnone %1, i32 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable -define i32 @Abc_NamStrHash2(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #12 { +define i32 @Abc_NamStrHash2(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #11 { %.not = icmp ne ptr %1, null %4 = ptrtoint ptr %1 to i64 %5 = ptrtoint ptr %0 to i64 @@ -1386,7 +1386,7 @@ Vec_IntErase.exit: ; preds = %.critedge, %141 } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal fastcc noundef ptr @Abc_NamStrHashFind(ptr nocapture noundef readonly %0, ptr noundef readonly %1, ptr noundef readnone %2) unnamed_addr #11 { +define internal fastcc noundef ptr @Abc_NamStrHashFind(ptr nocapture noundef readonly %0, ptr noundef readonly %1, ptr noundef readnone %2) unnamed_addr #12 { %4 = getelementptr inbounds i8, ptr %0, i64 48 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds i8, ptr %0, i64 56 @@ -1597,7 +1597,7 @@ Abc_NamStrcmp.exit._crit_edge: ; preds = %Abc_NamStrcmp.exit. } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @Abc_NamStrFind(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #11 { +define i32 @Abc_NamStrFind(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #12 { %3 = getelementptr inbounds i8, ptr %0, i64 48 %4 = load ptr, ptr %3, align 8 %5 = getelementptr inbounds i8, ptr %0, i64 56 @@ -1704,7 +1704,7 @@ Abc_NamStrHashFind.exit: ; preds = %Abc_NamStrcmp.exit. } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @Abc_NamStrFindLim(ptr nocapture noundef readonly %0, ptr noundef readonly %1, ptr noundef readonly %2) local_unnamed_addr #11 { +define i32 @Abc_NamStrFindLim(ptr nocapture noundef readonly %0, ptr noundef readonly %1, ptr noundef readonly %2) local_unnamed_addr #12 { %4 = tail call fastcc ptr @Abc_NamStrHashFind(ptr noundef %0, ptr noundef %1, ptr noundef %2) %5 = load i32, ptr %4, align 4 ret i32 %5 @@ -2285,7 +2285,7 @@ Abc_NamStrHashFind.exit: ; preds = %Abc_NamStrcmp.exit. } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define i32 @Abc_NamReportCommon(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) local_unnamed_addr #11 { +define i32 @Abc_NamReportCommon(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) local_unnamed_addr #12 { %4 = getelementptr i8, ptr %0, i64 4 %.val = load i32, ptr %4, align 4 %5 = icmp sgt i32 %.val, 0 @@ -2434,7 +2434,7 @@ Abc_NamStrFind.exit: ; preds = %Abc_NamStrcmp.exit. } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define ptr @Abc_NamReportUnique(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) local_unnamed_addr #11 { +define ptr @Abc_NamReportUnique(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) local_unnamed_addr #12 { %4 = getelementptr i8, ptr %0, i64 4 %.val = load i32, ptr %4, align 4 %5 = icmp sgt i32 %.val, 0 @@ -2607,8 +2607,8 @@ attributes #7 = { nofree nounwind "frame-pointer"="all" "no-trapping-math"="true attributes #8 = { 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 #9 = { 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 #10 = { 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 #11 = { 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 #12 = { 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 #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 = { 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 #13 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) 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 #14 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 #15 = { 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" } diff --git a/bench/abseil-cpp/optimized/city.cc.ll b/bench/abseil-cpp/optimized/city.cc.ll index 59f02fe49d1..96bd8b19b69 100644 --- a/bench/abseil-cpp/optimized/city.cc.ll +++ b/bench/abseil-cpp/optimized/city.cc.ll @@ -3,7 +3,7 @@ source_filename = "bench/abseil-cpp/original/city.cc.ll" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local noundef i32 @_ZN4absl13hash_internal10CityHash32EPKcm(ptr nocapture noundef readonly %s, i64 noundef %len) local_unnamed_addr #0 { entry: %cmp = icmp ult i64 %len, 25 @@ -353,7 +353,7 @@ return: ; preds = %cond.false5, %cond. ret i32 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local noundef i64 @_ZN4absl13hash_internal10CityHash64EPKcm(ptr nocapture noundef readonly %s, i64 noundef %len) local_unnamed_addr #0 { entry: %cmp = icmp ult i64 %len, 33 @@ -709,7 +709,7 @@ return: ; preds = %if.then27.i, %if.en ret i64 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local noundef i64 @_ZN4absl13hash_internal18CityHash64WithSeedEPKcmm(ptr nocapture noundef readonly %s, i64 noundef %len, i64 noundef %seed) local_unnamed_addr #0 { entry: %call.i = tail call noundef i64 @_ZN4absl13hash_internal10CityHash64EPKcm(ptr noundef readonly %s, i64 noundef %len) @@ -726,7 +726,7 @@ entry: ret i64 %mul7.i.i.i } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local noundef i64 @_ZN4absl13hash_internal19CityHash64WithSeedsEPKcmmm(ptr nocapture noundef readonly %s, i64 noundef %len, i64 noundef %seed0, i64 noundef %seed1) local_unnamed_addr #0 { entry: %call = tail call noundef i64 @_ZN4absl13hash_internal10CityHash64EPKcm(ptr noundef %s, i64 noundef %len) @@ -755,7 +755,7 @@ declare i32 @llvm.fshl.i32(i32, i32, i32) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.fshl.i64(i64, i64, i64) #2 -attributes #0 = { 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 #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } diff --git a/bench/abseil-cpp/optimized/crc.cc.ll b/bench/abseil-cpp/optimized/crc.cc.ll index 2e30a2343ff..cce8df2944c 100644 --- a/bench/abseil-cpp/optimized/crc.cc.ll +++ b/bench/abseil-cpp/optimized/crc.cc.ll @@ -30,7 +30,7 @@ $_ZTIN4absl12crc_internal7CRCImplE = comdat any @_ZN4absl12crc_internal3CRCD1Ev = dso_local unnamed_addr alias void (ptr), ptr @_ZN4absl12crc_internal3CRCD2Ev -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define dso_local void @_ZN4absl12crc_internal7CRCImpl13FillWordTableEjjiPA256_j(i32 noundef %poly, i32 noundef %last, i32 noundef %word_size, ptr nocapture noundef %t) local_unnamed_addr #0 align 2 { entry: %cmp.not40 = icmp eq i32 %word_size, 0 @@ -248,7 +248,7 @@ entry.if.end_crit_edge: ; preds = %entry br label %if.end if.then: ; preds = %entry - %call1 = tail call noalias noundef nonnull dereferenceable(8200) ptr @_Znwm(i64 noundef 8200) #19 + %call1 = tail call noalias noundef nonnull dereferenceable(8200) ptr @_Znwm(i64 noundef 8200) #18 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(8200) %call1, i8 0, i64 8200, i1 false) store ptr getelementptr inbounds (i8, ptr @_ZTVN4absl12crc_internal5CRC32E, i64 16), ptr %call1, align 8 br label %if.end @@ -278,7 +278,7 @@ declare void @_ZdlPv(ptr noundef) local_unnamed_addr #5 ; Function Attrs: mustprogress uwtable define dso_local void @_ZN4absl12crc_internal5CRC3210InitTablesEv(ptr nocapture noundef nonnull align 8 dereferenceable(8200) %this) unnamed_addr #1 align 2 { for.body4.i.preheader: - %call = tail call noalias noundef nonnull dereferenceable(4096) ptr @_Znam(i64 noundef 4096) #19 + %call = tail call noalias noundef nonnull dereferenceable(4096) ptr @_Znam(i64 noundef 4096) #18 store i32 0, ptr %call, align 4 %arrayidx10.i = getelementptr inbounds i8, ptr %call, i64 512 br label %for.body4.i @@ -565,7 +565,7 @@ for.body43.lr.ph: ; preds = %_ZN4absl12crc_inter br label %for.body4.i134.preheader for.body4.i134.preheader: ; preds = %_ZN4absl12crc_internal7CRCImpl15FillZeroesTableEjPA256_j.exit, %for.body43.lr.ph - tail call void @_ZdaPv(ptr noundef nonnull %call) #20 + tail call void @_ZdaPv(ptr noundef nonnull %call) #19 %reverse_table0_ = getelementptr inbounds i8, ptr %this, i64 6152 store i32 0, ptr %reverse_table0_, align 8 %arrayidx10.i98 = getelementptr inbounds i8, ptr %this, i64 6664 @@ -728,7 +728,7 @@ declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #3 ; Function Attrs: nobuiltin nounwind declare void @_ZdaPv(ptr noundef) local_unnamed_addr #5 -; Function Attrs: mustprogress nofree norecurse nosync nounwind uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable define dso_local void @_ZNK4absl12crc_internal5CRC326ExtendEPjPKvm(ptr noundef nonnull readonly align 8 dereferenceable(8200) %this, ptr nocapture noundef %crc, ptr noundef %bytes, i64 noundef %length) unnamed_addr #6 align 2 { entry: %add.ptr = getelementptr inbounds i8, ptr %bytes, i64 %length @@ -1441,7 +1441,7 @@ while.end37: ; preds = %while.body36, %if.e } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define dso_local void @_ZN4absl12crc_internal5CRC3218ExtendByZeroesImplEPjmPKjS4_(ptr nocapture noundef %crc, i64 noundef %length, ptr nocapture noundef readonly %zeroes_table, ptr nocapture noundef readonly %poly_table) local_unnamed_addr #7 align 2 { +define dso_local void @_ZN4absl12crc_internal5CRC3218ExtendByZeroesImplEPjmPKjS4_(ptr nocapture noundef %crc, i64 noundef %length, ptr nocapture noundef readonly %zeroes_table, ptr nocapture noundef readonly %poly_table) local_unnamed_addr #0 align 2 { entry: %mtab = alloca [4 x i64], align 16 %cmp.not = icmp eq i64 %length, 0 @@ -1540,7 +1540,7 @@ if.end44: ; preds = %for.end43, %entry } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define dso_local void @_ZNK4absl12crc_internal5CRC3214ExtendByZeroesEPjm(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8200) %this, ptr nocapture noundef %crc, i64 noundef %length) unnamed_addr #7 align 2 { +define dso_local void @_ZNK4absl12crc_internal5CRC3214ExtendByZeroesEPjm(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8200) %this, ptr nocapture noundef %crc, i64 noundef %length) unnamed_addr #0 align 2 { entry: %mtab.i = alloca [4 x i64], align 16 %table0_ = getelementptr inbounds i8, ptr %this, i64 8 @@ -1642,7 +1642,7 @@ _ZN4absl12crc_internal5CRC3218ExtendByZeroesImplEPjmPKjS4_.exit: ; preds = %entr } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define dso_local void @_ZNK4absl12crc_internal5CRC3216UnextendByZeroesEPjm(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8200) %this, ptr nocapture noundef %crc, i64 noundef %length) unnamed_addr #7 align 2 { +define dso_local void @_ZNK4absl12crc_internal5CRC3216UnextendByZeroesEPjm(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8200) %this, ptr nocapture noundef %crc, i64 noundef %length) unnamed_addr #0 align 2 { entry: %mtab.i = alloca [4 x i64], align 16 %0 = load i32, ptr %crc, align 4 @@ -1745,7 +1745,7 @@ _ZN4absl12crc_internal5CRC3218ExtendByZeroesImplEPjmPKjS4_.exit: ; preds = %for. } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define dso_local void @_ZNK4absl12crc_internal5CRC328ScrambleEPj(ptr nocapture nonnull readnone align 8 %this, ptr nocapture noundef %crc) unnamed_addr #8 align 2 { +define dso_local void @_ZNK4absl12crc_internal5CRC328ScrambleEPj(ptr nocapture nonnull readnone align 8 %this, ptr nocapture noundef %crc) unnamed_addr #7 align 2 { entry: %0 = load i32, ptr %crc, align 4 %add = add i32 %0, 779543579 @@ -1755,7 +1755,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define dso_local void @_ZNK4absl12crc_internal5CRC3210UnscrambleEPj(ptr nocapture nonnull readnone align 8 %this, ptr nocapture noundef %crc) unnamed_addr #8 align 2 { +define dso_local void @_ZNK4absl12crc_internal5CRC3210UnscrambleEPj(ptr nocapture nonnull readnone align 8 %this, ptr nocapture noundef %crc) unnamed_addr #7 align 2 { entry: %0 = load i32, ptr %crc, align 4 %or.i = tail call i32 @llvm.fshl.i32(i32 %0, i32 %0, i32 17) @@ -1765,23 +1765,23 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local void @_ZN4absl12crc_internal3CRCD2Ev(ptr nocapture nonnull readnone align 8 %this) unnamed_addr #9 align 2 { +define dso_local void @_ZN4absl12crc_internal3CRCD2Ev(ptr nocapture nonnull readnone align 8 %this) unnamed_addr #8 align 2 { entry: ret void } ; Function Attrs: mustprogress noreturn nounwind memory(inaccessiblemem: write) uwtable -define dso_local void @_ZN4absl12crc_internal3CRCD0Ev(ptr nocapture nonnull readnone align 8 %this) unnamed_addr #10 align 2 { +define dso_local void @_ZN4absl12crc_internal3CRCD0Ev(ptr nocapture nonnull readnone align 8 %this) unnamed_addr #9 align 2 { entry: - tail call void @llvm.trap() #21 + tail call void @llvm.trap() #20 unreachable } ; Function Attrs: cold noreturn nounwind memory(inaccessiblemem: write) -declare void @llvm.trap() #11 +declare void @llvm.trap() #10 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local void @_ZN4absl12crc_internal3CRCC2Ev(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %this) unnamed_addr #12 align 2 { +define dso_local void @_ZN4absl12crc_internal3CRCC2Ev(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %this) unnamed_addr #11 align 2 { entry: store ptr getelementptr inbounds (i8, ptr @_ZTVN4absl12crc_internal3CRCE, i64 16), ptr %this, align 8 ret void @@ -1795,7 +1795,7 @@ entry: br i1 %guard.uninitialized, label %init.check, label %init.end, !prof !22 init.check: ; preds = %entry - %1 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN4absl12crc_internal3CRC6Crc32cEvE9singleton) #22 + %1 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN4absl12crc_internal3CRC6Crc32cEvE9singleton) #21 %tobool.not = icmp eq i32 %1, 0 br i1 %tobool.not, label %init.end, label %init @@ -1805,7 +1805,7 @@ init: ; preds = %init.check invoke.cont: ; preds = %init store ptr %call, ptr @_ZZN4absl12crc_internal3CRC6Crc32cEvE9singleton, align 8 - tail call void @__cxa_guard_release(ptr nonnull @_ZGVZN4absl12crc_internal3CRC6Crc32cEvE9singleton) #22 + tail call void @__cxa_guard_release(ptr nonnull @_ZGVZN4absl12crc_internal3CRC6Crc32cEvE9singleton) #21 br label %init.end init.end: ; preds = %invoke.cont, %init.check, %entry @@ -1815,78 +1815,77 @@ init.end: ; preds = %invoke.cont, %init. lpad: ; preds = %init %3 = landingpad { ptr, i32 } cleanup - tail call void @__cxa_guard_abort(ptr nonnull @_ZGVZN4absl12crc_internal3CRC6Crc32cEvE9singleton) #22 + tail call void @__cxa_guard_abort(ptr nonnull @_ZGVZN4absl12crc_internal3CRC6Crc32cEvE9singleton) #21 resume { ptr, i32 } %3 } ; Function Attrs: nofree nounwind -declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #13 +declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #12 ; Function Attrs: nofree nounwind -declare void @__cxa_guard_abort(ptr) local_unnamed_addr #13 +declare void @__cxa_guard_abort(ptr) local_unnamed_addr #12 ; Function Attrs: nofree nounwind -declare void @__cxa_guard_release(ptr) local_unnamed_addr #13 +declare void @__cxa_guard_release(ptr) local_unnamed_addr #12 ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr dso_local void @_ZN4absl12crc_internal5CRC32D2Ev(ptr noundef nonnull align 8 dereferenceable(8200) %this) unnamed_addr #14 comdat align 2 { +define linkonce_odr dso_local void @_ZN4absl12crc_internal5CRC32D2Ev(ptr noundef nonnull align 8 dereferenceable(8200) %this) unnamed_addr #13 comdat align 2 { entry: ret void } ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr dso_local void @_ZN4absl12crc_internal5CRC32D0Ev(ptr noundef nonnull align 8 dereferenceable(8200) %this) unnamed_addr #14 comdat align 2 { +define linkonce_odr dso_local void @_ZN4absl12crc_internal5CRC32D0Ev(ptr noundef nonnull align 8 dereferenceable(8200) %this) unnamed_addr #13 comdat align 2 { entry: - tail call void @_ZdlPv(ptr noundef nonnull %this) #20 + tail call void @_ZdlPv(ptr noundef nonnull %this) #19 ret void } declare void @__cxa_pure_virtual() unnamed_addr ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) -declare void @llvm.prefetch.p0(ptr nocapture readonly, i32 immarg, i32 immarg, i32 immarg) #15 +declare void @llvm.prefetch.p0(ptr nocapture readonly, i32 immarg, i32 immarg, i32 immarg) #14 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.bitreverse.i32(i32) #16 +declare i32 @llvm.bitreverse.i32(i32) #15 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #17 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #16 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #16 +declare i32 @llvm.smax.i32(i32, i32) #15 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #16 +declare i32 @llvm.fshl.i32(i32, i32, i32) #15 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #18 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #17 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #18 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #17 -attributes #0 = { mustprogress 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 #0 = { mustprogress 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 #1 = { mustprogress 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 #2 = { "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 #3 = { nobuiltin allocsize(0) "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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #5 = { nobuiltin 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 #6 = { mustprogress nofree norecurse nosync 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 #7 = { mustprogress 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 #8 = { 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 #9 = { 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 #10 = { mustprogress noreturn nounwind memory(inaccessiblemem: 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 = { cold noreturn nounwind memory(inaccessiblemem: write) } -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 = { nofree nounwind } -attributes #14 = { mustprogress 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 #15 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) } -attributes #16 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #17 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #18 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #19 = { builtin allocsize(0) } -attributes #20 = { builtin nounwind } -attributes #21 = { noreturn nounwind } -attributes #22 = { nounwind } +attributes #6 = { mustprogress nofree norecurse nosync nounwind memory(read, 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 #7 = { 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 #8 = { 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 #9 = { mustprogress noreturn nounwind memory(inaccessiblemem: 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 #10 = { cold noreturn nounwind memory(inaccessiblemem: write) } +attributes #11 = { 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 #12 = { nofree nounwind } +attributes #13 = { mustprogress 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 #14 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) } +attributes #15 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #16 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #17 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #18 = { builtin allocsize(0) } +attributes #19 = { builtin nounwind } +attributes #20 = { noreturn nounwind } +attributes #21 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/abseil-cpp/optimized/match.cc.ll b/bench/abseil-cpp/optimized/match.cc.ll index 8a719f238dd..2e7191af93d 100644 --- a/bench/abseil-cpp/optimized/match.cc.ll +++ b/bench/abseil-cpp/optimized/match.cc.ll @@ -30,7 +30,7 @@ terminate.lpad: ; preds = %land.rhs %1 = landingpad { ptr, i32 } catch ptr null %2 = extractvalue { ptr, i32 } %1, 0 - tail call void @__clang_call_terminate(ptr %2) #9 + tail call void @__clang_call_terminate(ptr %2) #8 unreachable } @@ -40,8 +40,8 @@ declare i32 @__gxx_personality_v0(...) ; Function Attrs: noreturn nounwind uwtable define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #2 comdat { - %2 = tail call ptr @__cxa_begin_catch(ptr %0) #10 - tail call void @_ZSt9terminatev() #9 + %2 = tail call ptr @__cxa_begin_catch(ptr %0) #9 + tail call void @_ZSt9terminatev() #8 unreachable } @@ -65,7 +65,7 @@ terminate.lpad.i.i: ; preds = %land.rhs.i.i %0 = landingpad { ptr, i32 } catch ptr null %1 = extractvalue { ptr, i32 } %0, 0 - tail call void @__clang_call_terminate(ptr %1) #9 + tail call void @__clang_call_terminate(ptr %1) #8 unreachable _ZN4absl20StartsWithIgnoreCaseESt17basic_string_viewIcSt11char_traitsIcEES3_.exit: ; preds = %land.rhs.i.i @@ -95,7 +95,7 @@ terminate.lpad.i: ; preds = %land.rhs.i %0 = landingpad { ptr, i32 } catch ptr null %1 = extractvalue { ptr, i32 } %0, 0 - tail call void @__clang_call_terminate(ptr %1) #9 + tail call void @__clang_call_terminate(ptr %1) #8 unreachable _ZN4absl16EqualsIgnoreCaseESt17basic_string_viewIcSt11char_traitsIcEES3_.exit: ; preds = %land.rhs.i @@ -125,7 +125,7 @@ if.then: ; preds = %entry if.then.i.i: ; preds = %if.then %conv.i.i.i = sext i8 %needle to i32 - %call.i.i.i = tail call ptr @memchr(ptr noundef %haystack.coerce1, i32 noundef %conv.i.i.i, i64 noundef %haystack.coerce0) #10 + %call.i.i.i = tail call ptr @memchr(ptr noundef %haystack.coerce1, i32 noundef %conv.i.i.i, i64 noundef %haystack.coerce0) #9 %tobool.not.i.i = icmp eq ptr %call.i.i.i, null br i1 %tobool.not.i.i, label %return, label %if.then3.i.i @@ -142,7 +142,7 @@ if.else: ; preds = %entry store i8 %0, ptr %arrayinit.element, align 1 %arrayinit.element5 = getelementptr inbounds i8, ptr %both_cstr, i64 2 store i8 0, ptr %arrayinit.element5, align 1 - %call.i.i = call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %both_cstr) #10 + %call.i.i = call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %both_cstr) #9 %tobool.not.i.i7 = icmp ne i64 %call.i.i, 0 %cmp5.i.i = icmp ne i64 %haystack.coerce0, 0 %or.cond6.i.i = select i1 %tobool.not.i.i7, i1 %cmp5.i.i, i1 false @@ -153,7 +153,7 @@ _ZNSt11char_traitsIcE4findEPKcmRS1_.exit.i.i: ; preds = %if.else, %for.inc.i %arrayidx.i.i = getelementptr inbounds i8, ptr %haystack.coerce1, i64 %__pos.addr.07.i.i %3 = load i8, ptr %arrayidx.i.i, align 1 %conv.i.i.i8 = sext i8 %3 to i32 - %call.i.i.i9 = call ptr @memchr(ptr noundef nonnull %both_cstr, i32 noundef %conv.i.i.i8, i64 noundef %call.i.i) #10 + %call.i.i.i9 = call ptr @memchr(ptr noundef nonnull %both_cstr, i32 noundef %conv.i.i.i8, i64 noundef %call.i.i) #9 %tobool2.not.i.i = icmp eq ptr %call.i.i.i9, null br i1 %tobool2.not.i.i, label %for.inc.i.i, label %_ZNKSt17basic_string_viewIcSt11char_traitsIcEE13find_first_ofEPKcm.exit.loopexit @@ -188,7 +188,7 @@ terminate.lpad.i: ; preds = %land.rhs.i %0 = landingpad { ptr, i32 } catch ptr null %1 = extractvalue { ptr, i32 } %0, 0 - tail call void @__clang_call_terminate(ptr %1) #9 + tail call void @__clang_call_terminate(ptr %1) #8 unreachable _ZN4absl16EqualsIgnoreCaseESt17basic_string_viewIcSt11char_traitsIcEES3_.exit: ; preds = %land.rhs.i @@ -288,8 +288,8 @@ return: ; preds = %do.end, %while.end, ret { i64, ptr } %.fca.1.insert } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local { i64, ptr } @_ZN4absl23FindLongestCommonSuffixESt17basic_string_viewIcSt11char_traitsIcEES3_(i64 %a.coerce0, ptr %a.coerce1, i64 %b.coerce0, ptr nocapture readonly %b.coerce1) local_unnamed_addr #5 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define dso_local { i64, ptr } @_ZN4absl23FindLongestCommonSuffixESt17basic_string_viewIcSt11char_traitsIcEES3_(i64 %a.coerce0, ptr %a.coerce1, i64 %b.coerce0, ptr nocapture readonly %b.coerce1) local_unnamed_addr #4 { entry: %.sroa.speculated = tail call i64 @llvm.umin.i64(i64 %b.coerce0, i64 %a.coerce0) %cmp = icmp eq i64 %.sroa.speculated, 0 @@ -327,28 +327,27 @@ return: ; preds = %land.rhs, %while.bo } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare ptr @memchr(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #6 +declare ptr @memchr(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #5 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #6 +declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #5 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.cttz.i64(i64, i1 immarg) #7 +declare i64 @llvm.cttz.i64(i64, i1 immarg) #6 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #8 +declare i64 @llvm.umin.i64(i64, i64) #7 attributes #0 = { mustprogress 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 #1 = { "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 #2 = { noreturn nounwind uwtable "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 #3 = { mustprogress nofree 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 #4 = { 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 #5 = { 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 #6 = { 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 #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #9 = { noreturn nounwind } -attributes #10 = { nounwind } +attributes #5 = { 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 #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #8 = { noreturn nounwind } +attributes #9 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/abseil-cpp/optimized/randen_slow.cc.ll b/bench/abseil-cpp/optimized/randen_slow.cc.ll index 5862fe94078..4f4b13ea14d 100644 --- a/bench/abseil-cpp/optimized/randen_slow.cc.ll +++ b/bench/abseil-cpp/optimized/randen_slow.cc.ll @@ -39,8 +39,8 @@ for.end: ; preds = %for.body ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN4absl15random_internal10RandenSlow8GenerateEPKvPv(ptr nocapture noundef readonly %keys_void, ptr nocapture noundef %state_void) local_unnamed_addr #2 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local void @_ZN4absl15random_internal10RandenSlow8GenerateEPKvPv(ptr nocapture noundef readonly %keys_void, ptr nocapture noundef %state_void) local_unnamed_addr #1 align 2 { entry: %v6.i = alloca %"class.absl::uint128", align 16 %v7.i = alloca %"class.absl::uint128", align 16 @@ -528,12 +528,11 @@ _ZN12_GLOBAL__N_17PermuteEPN4absl7uint128EPKS1_.exit: ; preds = %_ZN12_GLOBAL__N } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 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 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 #2 = { mustprogress 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/arrow/optimized/bitmap_ops.cc.ll b/bench/arrow/optimized/bitmap_ops.cc.ll index 1a38be23fde..3658568d317 100644 --- a/bench/arrow/optimized/bitmap_ops.cc.ll +++ b/bench/arrow/optimized/bitmap_ops.cc.ll @@ -45,7 +45,7 @@ $_ZZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8 @_ZN5arrow8bit_utilL15kFlippedBitmaskE = internal unnamed_addr constant [8 x i8] c"\FE\FD\FB\F7\EF\DF\BF\7F", align 1 @.str = private unnamed_addr constant [38 x i8] c"Constructed with a non-error status: \00", align 1 -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define noundef i64 @_ZN5arrow8internal12CountSetBitsEPKhll(ptr noundef %data, i64 noundef %bit_offset, i64 noundef %length) local_unnamed_addr #0 { entry: %count_unroll = alloca [4 x i64], align 16 @@ -1938,7 +1938,7 @@ _ZN5arrow6StatusD2Ev.exit: ; preds = %_ZN5arrow6ResultISt ret void } -; Function Attrs: mustprogress nofree nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) uwtable define noundef zeroext i1 @_ZN5arrow8internal12BitmapEqualsEPKhlS2_ll(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length) local_unnamed_addr #7 { entry: %0 = or i64 %right_offset, %left_offset @@ -2274,7 +2274,7 @@ return: ; preds = %while.body, %while. ret i1 %retval.0 } -; Function Attrs: mustprogress nofree nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) uwtable define noundef zeroext i1 @_ZN5arrow8internal20OptionalBitmapEqualsEPKhlS2_ll(ptr noundef readonly %left, i64 noundef %left_offset, ptr noundef readonly %right, i64 noundef %right_offset, i64 noundef %length) local_unnamed_addr #7 { entry: %cmp = icmp eq ptr %left, null @@ -2311,7 +2311,7 @@ return: ; preds = %entry, %if.else11, } ; Function Attrs: mustprogress nofree nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef zeroext i1 @_ZN5arrow8internal20OptionalBitmapEqualsERKSt10shared_ptrINS_6BufferEElS5_ll(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %left, i64 noundef %left_offset, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %right, i64 noundef %right_offset, i64 noundef %length) local_unnamed_addr #7 { +define noundef zeroext i1 @_ZN5arrow8internal20OptionalBitmapEqualsERKSt10shared_ptrINS_6BufferEElS5_ll(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %left, i64 noundef %left_offset, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %right, i64 noundef %right_offset, i64 noundef %length) local_unnamed_addr #8 { entry: %0 = load ptr, ptr %left, align 8 %cmp.i.not = icmp eq ptr %0, null @@ -2419,15 +2419,15 @@ _ZN5arrow8internal12_GLOBAL__N_18BitmapOpISt7bit_andEENS_6ResultISt10shared_ptrI ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZN5arrow8internal9BitmapAndEPKhlS2_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %out) local_unnamed_addr #8 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @_ZN5arrow8internal9BitmapAndEPKhlS2_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %out) local_unnamed_addr #4 { entry: tail call fastcc void @_ZN5arrow8internal12_GLOBAL__N_18BitmapOpISt7bit_andEEvPKhlS5_lllPh(ptr noundef %left, i64 noundef %left_offset, ptr noundef %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr noundef %out) ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @_ZN5arrow8internal12_GLOBAL__N_18BitmapOpISt7bit_andEEvPKhlS5_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %dest) unnamed_addr #8 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc void @_ZN5arrow8internal12_GLOBAL__N_18BitmapOpISt7bit_andEEvPKhlS5_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %dest) unnamed_addr #4 { entry: %rem = srem i64 %out_offset, 8 %div.i43.i = sdiv i64 %out_offset, 8 @@ -2974,15 +2974,15 @@ _ZN5arrow8internal12_GLOBAL__N_18BitmapOpISt6bit_orEENS_6ResultISt10shared_ptrIN ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZN5arrow8internal8BitmapOrEPKhlS2_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %out) local_unnamed_addr #8 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @_ZN5arrow8internal8BitmapOrEPKhlS2_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %out) local_unnamed_addr #4 { entry: tail call fastcc void @_ZN5arrow8internal12_GLOBAL__N_18BitmapOpISt6bit_orEEvPKhlS5_lllPh(ptr noundef %left, i64 noundef %left_offset, ptr noundef %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr noundef %out) ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @_ZN5arrow8internal12_GLOBAL__N_18BitmapOpISt6bit_orEEvPKhlS5_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %dest) unnamed_addr #8 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc void @_ZN5arrow8internal12_GLOBAL__N_18BitmapOpISt6bit_orEEvPKhlS5_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %dest) unnamed_addr #4 { entry: %rem = srem i64 %out_offset, 8 %div.i43.i = sdiv i64 %out_offset, 8 @@ -3529,15 +3529,15 @@ _ZN5arrow8internal12_GLOBAL__N_18BitmapOpISt7bit_xorEENS_6ResultISt10shared_ptrI ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZN5arrow8internal9BitmapXorEPKhlS2_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %out) local_unnamed_addr #8 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @_ZN5arrow8internal9BitmapXorEPKhlS2_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %out) local_unnamed_addr #4 { entry: tail call fastcc void @_ZN5arrow8internal12_GLOBAL__N_18BitmapOpISt7bit_xorEEvPKhlS5_lllPh(ptr noundef %left, i64 noundef %left_offset, ptr noundef %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr noundef %out) ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @_ZN5arrow8internal12_GLOBAL__N_18BitmapOpISt7bit_xorEEvPKhlS5_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %dest) unnamed_addr #8 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc void @_ZN5arrow8internal12_GLOBAL__N_18BitmapOpISt7bit_xorEEvPKhlS5_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %dest) unnamed_addr #4 { entry: %rem = srem i64 %out_offset, 8 %div.i43.i = sdiv i64 %out_offset, 8 @@ -4084,15 +4084,15 @@ _ZN5arrow8internal12_GLOBAL__N_18BitmapOpINS0_8AndNotOpEEENS_6ResultISt10shared_ ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZN5arrow8internal12BitmapAndNotEPKhlS2_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %out) local_unnamed_addr #8 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @_ZN5arrow8internal12BitmapAndNotEPKhlS2_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %out) local_unnamed_addr #4 { entry: tail call fastcc void @_ZN5arrow8internal12_GLOBAL__N_18BitmapOpINS0_8AndNotOpEEEvPKhlS5_lllPh(ptr noundef %left, i64 noundef %left_offset, ptr noundef %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr noundef %out) ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @_ZN5arrow8internal12_GLOBAL__N_18BitmapOpINS0_8AndNotOpEEEvPKhlS5_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %dest) unnamed_addr #8 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc void @_ZN5arrow8internal12_GLOBAL__N_18BitmapOpINS0_8AndNotOpEEEvPKhlS5_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %dest) unnamed_addr #4 { entry: %rem = srem i64 %out_offset, 8 %div.i43.i = sdiv i64 %out_offset, 8 @@ -4643,15 +4643,15 @@ _ZN5arrow8internal12_GLOBAL__N_18BitmapOpINS0_7OrNotOpEEENS_6ResultISt10shared_p ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZN5arrow8internal11BitmapOrNotEPKhlS2_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %out) local_unnamed_addr #8 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @_ZN5arrow8internal11BitmapOrNotEPKhlS2_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %out) local_unnamed_addr #4 { entry: tail call fastcc void @_ZN5arrow8internal12_GLOBAL__N_18BitmapOpINS0_7OrNotOpEEEvPKhlS5_lllPh(ptr noundef %left, i64 noundef %left_offset, ptr noundef %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr noundef %out) ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @_ZN5arrow8internal12_GLOBAL__N_18BitmapOpINS0_7OrNotOpEEEvPKhlS5_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %dest) unnamed_addr #8 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc void @_ZN5arrow8internal12_GLOBAL__N_18BitmapOpINS0_7OrNotOpEEEvPKhlS5_lllPh(ptr nocapture noundef readonly %left, i64 noundef %left_offset, ptr nocapture noundef readonly %right, i64 noundef %right_offset, i64 noundef %length, i64 noundef %out_offset, ptr nocapture noundef %dest) unnamed_addr #4 { entry: %rem = srem i64 %out_offset, 8 %div.i43.i = sdiv i64 %out_offset, 8 @@ -5459,15 +5459,15 @@ declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #18 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #18 -attributes #0 = { 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,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" } +attributes #0 = { 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,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { mustprogress 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,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" } attributes #3 = { 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,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" } attributes #4 = { mustprogress 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,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" } attributes #5 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" } attributes #6 = { mustprogress 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,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" } -attributes #7 = { mustprogress nofree 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,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" } -attributes #8 = { mustprogress 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,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" } +attributes #7 = { mustprogress nofree 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,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" } +attributes #8 = { mustprogress nofree 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,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" } attributes #9 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #10 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #11 = { noreturn nounwind uwtable "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" } diff --git a/bench/arrow/optimized/row_internal.cc.ll b/bench/arrow/optimized/row_internal.cc.ll index ac9864f30ab..febfd0dcb16 100644 --- a/bench/arrow/optimized/row_internal.cc.ll +++ b/bench/arrow/optimized/row_internal.cc.ll @@ -626,7 +626,7 @@ invoke.cont: br i1 %cmp.i.i, label %invoke.cont17, label %cond.false.i cond.false.i: ; preds = %invoke.cont - %call.i1920 = invoke noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #22 + %call.i1920 = invoke noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #21 to label %call.i19.noexc unwind label %lpad call.i19.noexc: ; preds = %cond.false.i @@ -668,7 +668,7 @@ if.else.i.i.i.i.i.i.i: ; preds = %if.then.i.i.i.i.i lpad4.i: ; preds = %call.i19.noexc %9 = landingpad { ptr, i32 } cleanup - call void @_ZdlPv(ptr noundef nonnull %call.i1920) #23 + call void @_ZdlPv(ptr noundef nonnull %call.i1920) #22 br label %ehcleanup141 _ZN5arrow6StatusC2ERKS0_.exit: ; preds = %.noexc.i, %if.then.i.i.i.i.i.i.i, %if.else.i.i.i.i.i.i.i @@ -695,7 +695,7 @@ _ZNKSt14default_deleteIN5arrow15ResizableBufferEEclEPS1_.exit.i.i.i.i: ; preds = %vtable.i.i.i.i.i = load ptr, ptr %13, align 8 %vfn.i.i.i.i.i = getelementptr inbounds i8, ptr %vtable.i.i.i.i.i, i64 8 %14 = load ptr, ptr %vfn.i.i.i.i.i, align 8 - call void %14(ptr noundef nonnull align 8 dereferenceable(80) %13) #24 + call void %14(ptr noundef nonnull align 8 dereferenceable(80) %13) #23 %.pre = load ptr, ptr %null_masks_18, align 8 br label %_ZNSt10unique_ptrIN5arrow15ResizableBufferESt14default_deleteIS1_EEaSEOS4_.exit @@ -731,7 +731,7 @@ invoke.cont35: ; preds = %if.then27 br i1 %cmp.i.i26, label %invoke.cont47, label %cond.false.i28 cond.false.i28: ; preds = %invoke.cont35 - %call.i2946 = invoke noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #22 + %call.i2946 = invoke noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #21 to label %call.i29.noexc unwind label %lpad34 call.i29.noexc: ; preds = %cond.false.i28 @@ -773,7 +773,7 @@ if.else.i.i.i.i.i.i.i45: ; preds = %if.then.i.i.i.i.i39 lpad4.i32: ; preds = %call.i29.noexc %30 = landingpad { ptr, i32 } cleanup - call void @_ZdlPv(ptr noundef nonnull %call.i2946) #23 + call void @_ZdlPv(ptr noundef nonnull %call.i2946) #22 br label %ehcleanup95 lpad22: ; preds = %if.else, %if.then27 @@ -801,7 +801,7 @@ _ZNKSt14default_deleteIN5arrow15ResizableBufferEEclEPS1_.exit.i.i.i.i51: ; preds %vtable.i.i.i.i.i52 = load ptr, ptr %35, align 8 %vfn.i.i.i.i.i53 = getelementptr inbounds i8, ptr %vtable.i.i.i.i.i52, i64 8 %36 = load ptr, ptr %vfn.i.i.i.i.i53, align 8 - call void %36(ptr noundef nonnull align 8 dereferenceable(80) %35) #24 + call void %36(ptr noundef nonnull align 8 dereferenceable(80) %35) #23 %.pre180 = load ptr, ptr %offsets_48, align 8 br label %_ZNSt10unique_ptrIN5arrow15ResizableBufferESt14default_deleteIS1_EEaSEOS4_.exit54 @@ -840,7 +840,7 @@ invoke.cont68: ; preds = %_ZNSt10unique_ptrIN br i1 %cmp.i.i67, label %invoke.cont80, label %cond.false.i69 cond.false.i69: ; preds = %invoke.cont68 - %call.i7087 = invoke noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #22 + %call.i7087 = invoke noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #21 to label %call.i70.noexc unwind label %lpad67 call.i70.noexc: ; preds = %cond.false.i69 @@ -882,7 +882,7 @@ if.else.i.i.i.i.i.i.i86: ; preds = %if.then.i.i.i.i.i80 lpad4.i73: ; preds = %call.i70.noexc %55 = landingpad { ptr, i32 } cleanup - call void @_ZdlPv(ptr noundef nonnull %call.i7087) #23 + call void @_ZdlPv(ptr noundef nonnull %call.i7087) #22 br label %lpad67.body _ZN5arrow6StatusC2ERKS0_.exit89: ; preds = %.noexc.i74, %if.then.i.i.i.i.i.i.i83, %if.else.i.i.i.i.i.i.i86 @@ -901,7 +901,7 @@ lpad67: ; preds = %cond.false.i69 lpad67.body: ; preds = %lpad4.i73, %lpad67 %eh.lpad-body88 = phi { ptr, i32 } [ %57, %lpad67 ], [ %55, %lpad4.i73 ] - call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp61) #24 + call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp61) #23 br label %ehcleanup95 invoke.cont80: ; preds = %invoke.cont68 @@ -919,7 +919,7 @@ _ZNKSt14default_deleteIN5arrow15ResizableBufferEEclEPS1_.exit.i.i.i.i92: ; preds %vtable.i.i.i.i.i93 = load ptr, ptr %60, align 8 %vfn.i.i.i.i.i94 = getelementptr inbounds i8, ptr %vtable.i.i.i.i.i93, i64 8 %61 = load ptr, ptr %vfn.i.i.i.i.i94, align 8 - call void %61(ptr noundef nonnull align 8 dereferenceable(80) %60) #24 + call void %61(ptr noundef nonnull align 8 dereferenceable(80) %60) #23 %.pre181 = load ptr, ptr %rows_81, align 8 br label %_ZNSt10unique_ptrIN5arrow15ResizableBufferESt14default_deleteIS1_EED2Ev.exit @@ -941,13 +941,13 @@ _ZNSt10unique_ptrIN5arrow15ResizableBufferESt14default_deleteIS1_EED2Ev.exit: ; br label %_ZNSt10unique_ptrIN5arrow15ResizableBufferESt14default_deleteIS1_EED2Ev.exit106 _ZNSt10unique_ptrIN5arrow15ResizableBufferESt14default_deleteIS1_EED2Ev.exit106: ; preds = %_ZNSt10unique_ptrIN5arrow15ResizableBufferESt14default_deleteIS1_EED2Ev.exit, %_ZN5arrow6StatusC2ERKS0_.exit89 - call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp61) #24 - call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp28) #24 + call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp61) #23 + call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp28) #23 br i1 %cmp.i.i67, label %if.end135, label %cleanup140 ehcleanup95: ; preds = %lpad67.body, %lpad52, %lpad34, %lpad4.i32 %.pn13 = phi { ptr, i32 } [ %32, %lpad34 ], [ %30, %lpad4.i32 ], [ %eh.lpad-body88, %lpad67.body ], [ %56, %lpad52 ] - call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp28) #24 + call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp28) #23 br label %ehcleanup141 if.else: ; preds = %_ZNSt10unique_ptrIN5arrow15ResizableBufferESt14default_deleteIS1_EEaSEOS4_.exit @@ -966,7 +966,7 @@ invoke.cont103: ; preds = %if.else br i1 %cmp.i.i115, label %invoke.cont116, label %cond.false.i117 cond.false.i117: ; preds = %invoke.cont103 - %call.i118135 = invoke noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #22 + %call.i118135 = invoke noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #21 to label %call.i118.noexc unwind label %lpad102 call.i118.noexc: ; preds = %cond.false.i117 @@ -1008,7 +1008,7 @@ if.else.i.i.i.i.i.i.i134: ; preds = %if.then.i.i.i.i.i12 lpad4.i121: ; preds = %call.i118.noexc %76 = landingpad { ptr, i32 } cleanup - call void @_ZdlPv(ptr noundef nonnull %call.i118135) #23 + call void @_ZdlPv(ptr noundef nonnull %call.i118135) #22 br label %lpad102.body lpad102: ; preds = %cond.false.i117 @@ -1018,7 +1018,7 @@ lpad102: ; preds = %cond.false.i117 lpad102.body: ; preds = %lpad4.i121, %lpad102 %eh.lpad-body136 = phi { ptr, i32 } [ %77, %lpad102 ], [ %76, %lpad4.i121 ] - call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp96) #24 + call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp96) #23 br label %ehcleanup141 invoke.cont116: ; preds = %invoke.cont103 @@ -1036,7 +1036,7 @@ _ZNKSt14default_deleteIN5arrow15ResizableBufferEEclEPS1_.exit.i.i.i.i140: ; pred %vtable.i.i.i.i.i141 = load ptr, ptr %80, align 8 %vfn.i.i.i.i.i142 = getelementptr inbounds i8, ptr %vtable.i.i.i.i.i141, i64 8 %81 = load ptr, ptr %vfn.i.i.i.i.i142, align 8 - call void %81(ptr noundef nonnull align 8 dereferenceable(80) %80) #24 + call void %81(ptr noundef nonnull align 8 dereferenceable(80) %80) #23 %.pre182 = load ptr, ptr %rows_117, align 8 br label %cleanup131.thread @@ -1062,12 +1062,12 @@ cleanup131.thread: ; preds = %invoke.cont116, %_Z %mul.i156 = shl nuw nsw i64 %conv.i155, 3 %bytes_capacity_129 = getelementptr inbounds i8, ptr %this, i64 192 store i64 %mul.i156, ptr %bytes_capacity_129, align 8 - call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp96) #24 + call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp96) #23 br label %if.end135 cleanup131: ; preds = %if.else.i.i.i.i.i.i.i134, %if.then.i.i.i.i.i.i.i131, %.noexc.i122 store ptr %call.i118135, ptr %agg.result, align 8 - call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp96) #24 + call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp96) #23 br label %cleanup140 if.end135: ; preds = %cleanup131.thread, %_ZNSt10unique_ptrIN5arrow15ResizableBufferESt14default_deleteIS1_EED2Ev.exit106 @@ -1150,16 +1150,16 @@ invoke.cont136: ; preds = %if.else.i, %if.then cleanup138.critedge: ; preds = %if.else.i.i.i.i.i.i.i45, %if.then.i.i.i.i.i.i.i42, %.noexc.i33 store ptr %call.i2946, ptr %agg.result, align 8 - call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp28) #24 + call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp28) #23 br label %cleanup140 cleanup140: ; preds = %cleanup131, %cleanup138.critedge, %_ZNSt10unique_ptrIN5arrow15ResizableBufferESt14default_deleteIS1_EED2Ev.exit106, %invoke.cont136, %_ZN5arrow6StatusC2ERKS0_.exit - call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp) #24 + call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp) #23 ret void ehcleanup141: ; preds = %lpad102.body, %ehcleanup95, %lpad22, %lpad, %lpad4.i %.pn17 = phi { ptr, i32 } [ %10, %lpad ], [ %9, %lpad4.i ], [ %31, %lpad22 ], [ %eh.lpad-body136, %lpad102.body ], [ %.pn13, %ehcleanup95 ] - call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp) #24 + call void @_ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp) #23 resume { ptr, i32 } %.pn17 } @@ -1213,7 +1213,7 @@ _ZN5arrow6ResultISt10unique_ptrINS_15ResizableBufferESt14default_deleteIS2_EEE7D %vtable.i.i.i.i = load ptr, ptr %1, align 8 %vfn.i.i.i.i = getelementptr inbounds i8, ptr %vtable.i.i.i.i, i64 8 %2 = load ptr, ptr %vfn.i.i.i.i, align 8 - tail call void %2(ptr noundef nonnull align 8 dereferenceable(80) %1) #24 + tail call void %2(ptr noundef nonnull align 8 dereferenceable(80) %1) #23 %.pr.pre = load ptr, ptr %this, align 8 store ptr null, ptr %storage_.i, align 8 %cmp.not.i = icmp eq ptr %.pr.pre, null @@ -1240,7 +1240,7 @@ if.then.i.i.i.i.i.i.i: ; preds = %if.then.i.i.i.i.i.i %vtable.i.i.i.i.i.i.i = load ptr, ptr %4, align 8 %vfn.i.i.i.i.i.i.i = getelementptr inbounds i8, ptr %vtable.i.i.i.i.i.i.i, i64 16 %7 = load ptr, ptr %vfn.i.i.i.i.i.i.i, align 8 - tail call void %7(ptr noundef nonnull align 8 dereferenceable(16) %4) #24 + tail call void %7(ptr noundef nonnull align 8 dereferenceable(16) %4) #23 br label %if.end8.sink.split.i.i.i.i.i.i.i if.end.i.i.i.i.i.i.i: ; preds = %if.then.i.i.i.i.i.i @@ -1266,7 +1266,7 @@ if.then7.i.i.i.i.i.i.i: ; preds = %_ZN9__gnu_cxx27__ex %vtable.i.i.i.i.i.i.i.i.i = load ptr, ptr %4, align 8 %vfn.i.i.i.i.i.i.i.i.i = getelementptr inbounds i8, ptr %vtable.i.i.i.i.i.i.i.i.i, i64 16 %10 = load ptr, ptr %vfn.i.i.i.i.i.i.i.i.i, align 8 - tail call void %10(ptr noundef nonnull align 8 dereferenceable(16) %4) #24 + tail call void %10(ptr noundef nonnull align 8 dereferenceable(16) %4) #23 %_M_weak_count.i.i.i.i.i.i.i.i.i = getelementptr inbounds i8, ptr %4, i64 12 %11 = load i8, ptr @__libc_single_threaded, align 1 %tobool.i.i.not.i.i.i.i.i.i.i.i.i = icmp eq i8 %11, 0 @@ -1291,13 +1291,13 @@ if.end8.sink.split.i.i.i.i.i.i.i: ; preds = %_ZN9__gnu_cxx27__ex %vtable2.i.i.i.i.i.i.i.i.i = load ptr, ptr %4, align 8 %vfn3.i.i.i.i.i.i.i.i.i = getelementptr inbounds i8, ptr %vtable2.i.i.i.i.i.i.i.i.i, i64 24 %14 = load ptr, ptr %vfn3.i.i.i.i.i.i.i.i.i, align 8 - tail call void %14(ptr noundef nonnull align 8 dereferenceable(16) %4) #24 + tail call void %14(ptr noundef nonnull align 8 dereferenceable(16) %4) #23 br label %_ZN5arrow6Status11DeleteStateEv.exit.i _ZN5arrow6Status11DeleteStateEv.exit.i: ; preds = %if.end8.sink.split.i.i.i.i.i.i.i, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i, %delete.notnull.i.i %msg.i.i.i = getelementptr inbounds i8, ptr %3, i64 8 - tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %msg.i.i.i) #24 - tail call void @_ZdlPv(ptr noundef nonnull %3) #23 + tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %msg.i.i.i) #23 + tail call void @_ZdlPv(ptr noundef nonnull %3) #22 store ptr null, ptr %this, align 8 br label %_ZN5arrow6StatusD2Ev.exit @@ -2312,11 +2312,11 @@ cond.true.i.i: ; preds = %if.then br i1 %cmp.i.i.i.i, label %if.then3.i.i.i.i, label %_ZNSt12_Vector_baseIN5arrow7compute17KeyColumnMetadataESaIS2_EE11_M_allocateEm.exit.i if.then3.i.i.i.i: ; preds = %cond.true.i.i - tail call void @_ZSt28__throw_bad_array_new_lengthv() #25 + tail call void @_ZSt28__throw_bad_array_new_lengthv() #24 unreachable _ZNSt12_Vector_baseIN5arrow7compute17KeyColumnMetadataESaIS2_EE11_M_allocateEm.exit.i: ; preds = %cond.true.i.i - %call5.i.i.i.i = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %sub.ptr.sub.i) #22 + %call5.i.i.i.i = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %sub.ptr.sub.i) #21 %tobool.not.i.i.i.i.i.i.i.i.i = icmp eq ptr %0, %1 br i1 %tobool.not.i.i.i.i.i.i.i.i.i, label %_ZNSt6vectorIN5arrow7compute17KeyColumnMetadataESaIS2_EE20_M_allocate_and_copyIN9__gnu_cxx17__normal_iteratorIPKS2_S4_EEEEPS2_mT_SC_.exit, label %if.then.i.i.i.i.i.i.i.i.i @@ -2329,7 +2329,7 @@ _ZNSt6vectorIN5arrow7compute17KeyColumnMetadataESaIS2_EE20_M_allocate_and_copyIN br i1 %tobool.not.i, label %_ZNSt12_Vector_baseIN5arrow7compute17KeyColumnMetadataESaIS2_EE13_M_deallocateEPS2_m.exit, label %if.then.i if.then.i: ; preds = %_ZNSt6vectorIN5arrow7compute17KeyColumnMetadataESaIS2_EE20_M_allocate_and_copyIN9__gnu_cxx17__normal_iteratorIPKS2_S4_EEEEPS2_mT_SC_.exit - tail call void @_ZdlPv(ptr noundef nonnull %3) #23 + tail call void @_ZdlPv(ptr noundef nonnull %3) #22 br label %_ZNSt12_Vector_baseIN5arrow7compute17KeyColumnMetadataESaIS2_EE13_M_deallocateEPS2_m.exit _ZNSt12_Vector_baseIN5arrow7compute17KeyColumnMetadataESaIS2_EE13_M_deallocateEPS2_m.exit: ; preds = %_ZNSt6vectorIN5arrow7compute17KeyColumnMetadataESaIS2_EE20_M_allocate_and_copyIN9__gnu_cxx17__normal_iteratorIPKS2_S4_EEEEPS2_mT_SC_.exit, %if.then.i @@ -2423,11 +2423,11 @@ cond.true.i.i: ; preds = %if.then br i1 %cmp.i.i.i.i, label %if.then3.i.i.i.i, label %_ZNSt12_Vector_baseIjSaIjEE11_M_allocateEm.exit.i if.then3.i.i.i.i: ; preds = %cond.true.i.i - tail call void @_ZSt28__throw_bad_array_new_lengthv() #25 + tail call void @_ZSt28__throw_bad_array_new_lengthv() #24 unreachable _ZNSt12_Vector_baseIjSaIjEE11_M_allocateEm.exit.i: ; preds = %cond.true.i.i - %call5.i.i.i.i = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %sub.ptr.sub.i) #22 + %call5.i.i.i.i = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %sub.ptr.sub.i) #21 %tobool.not.i.i.i.i.i.i.i.i.i = icmp eq ptr %0, %1 br i1 %tobool.not.i.i.i.i.i.i.i.i.i, label %_ZNSt6vectorIjSaIjEE20_M_allocate_and_copyIN9__gnu_cxx17__normal_iteratorIPKjS1_EEEEPjmT_S9_.exit, label %if.then.i.i.i.i.i.i.i.i.i @@ -2440,7 +2440,7 @@ _ZNSt6vectorIjSaIjEE20_M_allocate_and_copyIN9__gnu_cxx17__normal_iteratorIPKjS1_ br i1 %tobool.not.i, label %_ZNSt12_Vector_baseIjSaIjEE13_M_deallocateEPjm.exit, label %if.then.i if.then.i: ; preds = %_ZNSt6vectorIjSaIjEE20_M_allocate_and_copyIN9__gnu_cxx17__normal_iteratorIPKjS1_EEEEPjmT_S9_.exit - tail call void @_ZdlPv(ptr noundef nonnull %3) #23 + tail call void @_ZdlPv(ptr noundef nonnull %3) #22 br label %_ZNSt12_Vector_baseIjSaIjEE13_M_deallocateEPjm.exit _ZNSt12_Vector_baseIjSaIjEE13_M_deallocateEPjm.exit: ; preds = %_ZNSt6vectorIjSaIjEE20_M_allocate_and_copyIN9__gnu_cxx17__normal_iteratorIPKjS1_EEEEPjmT_S9_.exit, %if.then.i @@ -2579,7 +2579,7 @@ if.else: ; preds = %if.then br i1 %cmp.i, label %if.then.i, label %_ZNKSt6vectorIN5arrow7compute17KeyColumnMetadataESaIS2_EE12_M_check_lenEmPKc.exit if.then.i: ; preds = %if.else - tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #25 + tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #24 unreachable _ZNKSt6vectorIN5arrow7compute17KeyColumnMetadataESaIS2_EE12_M_check_lenEmPKc.exit: ; preds = %if.else @@ -2587,7 +2587,7 @@ _ZNKSt6vectorIN5arrow7compute17KeyColumnMetadataESaIS2_EE12_M_check_lenEmPKc.exi %add.i = add nuw nsw i64 %.sroa.speculated.i, %sub.ptr.div.i %4 = tail call i64 @llvm.umin.i64(i64 %add.i, i64 1152921504606846975) %mul.i.i.i = shl nuw nsw i64 %4, 3 - %call5.i.i.i = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %mul.i.i.i) #22 + %call5.i.i.i = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %mul.i.i.i) #21 %add.ptr = getelementptr inbounds i8, ptr %call5.i.i.i, i64 %sub.ptr.sub.i store i64 0, ptr %add.ptr, align 4 %cmp.i.i.i.i.i24 = icmp eq i64 %__n, 1 @@ -2619,7 +2619,7 @@ _ZNSt6vectorIN5arrow7compute17KeyColumnMetadataESaIS2_EE11_S_relocateEPS2_S5_S5_ br i1 %tobool.not.i35, label %_ZNSt12_Vector_baseIN5arrow7compute17KeyColumnMetadataESaIS2_EE13_M_deallocateEPS2_m.exit37, label %if.then.i36 if.then.i36: ; preds = %_ZNSt6vectorIN5arrow7compute17KeyColumnMetadataESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit - tail call void @_ZdlPv(ptr noundef nonnull %1) #23 + tail call void @_ZdlPv(ptr noundef nonnull %1) #22 br label %_ZNSt12_Vector_baseIN5arrow7compute17KeyColumnMetadataESaIS2_EE13_M_deallocateEPS2_m.exit37 _ZNSt12_Vector_baseIN5arrow7compute17KeyColumnMetadataESaIS2_EE13_M_deallocateEPS2_m.exit37: ; preds = %_ZNSt6vectorIN5arrow7compute17KeyColumnMetadataESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit, %if.then.i36 @@ -2687,7 +2687,7 @@ if.else: ; preds = %if.then br i1 %cmp.i, label %if.then.i, label %_ZNKSt6vectorIjSaIjEE12_M_check_lenEmPKc.exit if.then.i: ; preds = %if.else - tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #25 + tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #24 unreachable _ZNKSt6vectorIjSaIjEE12_M_check_lenEmPKc.exit: ; preds = %if.else @@ -2695,7 +2695,7 @@ _ZNKSt6vectorIjSaIjEE12_M_check_lenEmPKc.exit: ; preds = %if.else %add.i = add nuw nsw i64 %.sroa.speculated.i, %sub.ptr.div.i %5 = tail call i64 @llvm.umin.i64(i64 %add.i, i64 2305843009213693951) %mul.i.i.i = shl nuw nsw i64 %5, 2 - %call5.i.i.i = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %mul.i.i.i) #22 + %call5.i.i.i = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %mul.i.i.i) #21 %add.ptr = getelementptr inbounds i8, ptr %call5.i.i.i, i64 %sub.ptr.sub.i store i32 0, ptr %add.ptr, align 4 %cmp.i.i.i.i.i24 = icmp eq i64 %__n, 1 @@ -2721,7 +2721,7 @@ _ZNSt6vectorIjSaIjEE11_S_relocateEPjS2_S2_RS0_.exit: ; preds = %try.cont, %if.th br i1 %tobool.not.i31, label %_ZNSt12_Vector_baseIjSaIjEE13_M_deallocateEPjm.exit33, label %if.then.i32 if.then.i32: ; preds = %_ZNSt6vectorIjSaIjEE11_S_relocateEPjS2_S2_RS0_.exit - tail call void @_ZdlPv(ptr noundef nonnull %1) #23 + tail call void @_ZdlPv(ptr noundef nonnull %1) #22 br label %_ZNSt12_Vector_baseIjSaIjEE13_M_deallocateEPjm.exit33 _ZNSt12_Vector_baseIjSaIjEE13_M_deallocateEPjm.exit33: ; preds = %_ZNSt6vectorIjSaIjEE11_S_relocateEPjS2_S2_RS0_.exit, %if.then.i32 @@ -3623,8 +3623,8 @@ while.body.i: ; preds = %"_ZN9__gnu_cxx5__op ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.ctlz.i64(i64, i1 immarg) #17 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @"_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEENS0_5__ops15_Iter_comp_iterIZN5arrow7compute16RowTableMetadata24FromColumnMetadataVectorERKS3_INSA_17KeyColumnMetadataESaISC_EEiiE3$_0EEEvT_SJ_T0_"(ptr %__first.coerce, ptr readnone %__last.coerce, ptr nocapture readonly %__comp.coerce) unnamed_addr #18 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define internal fastcc void @"_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPjSt6vectorIjSaIjEEEENS0_5__ops15_Iter_comp_iterIZN5arrow7compute16RowTableMetadata24FromColumnMetadataVectorERKS3_INSA_17KeyColumnMetadataESaISC_EEiiE3$_0EEEvT_SJ_T0_"(ptr %__first.coerce, ptr readnone %__last.coerce, ptr nocapture readonly %__comp.coerce) unnamed_addr #16 { entry: %cmp.i = icmp eq ptr %__first.coerce, %__last.coerce br i1 %cmp.i, label %for.end, label %for.cond.preheader @@ -3838,22 +3838,22 @@ for.end: ; preds = %for.inc, %for.cond. } ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #19 +declare void @llvm.assume(i1 noundef) #18 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.ctpop.i32(i32) #20 +declare i32 @llvm.ctpop.i32(i32) #19 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #20 +declare i64 @llvm.umax.i64(i64, i64) #19 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #20 +declare i64 @llvm.umin.i64(i64, i64) #19 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) -declare void @llvm.experimental.noalias.scope.decl(metadata) #21 +declare void @llvm.experimental.noalias.scope.decl(metadata) #20 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.smax.i64(i64, i64) #20 +declare i64 @llvm.smax.i64(i64, i64) #19 attributes #0 = { 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,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } @@ -3873,14 +3873,13 @@ attributes #14 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "sta attributes #15 = { mustprogress 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,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" } attributes #16 = { mustprogress 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,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" } attributes #17 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #18 = { mustprogress 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,+crc32,+cx8,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" "tune-cpu"="generic" } -attributes #19 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #20 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #21 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } -attributes #22 = { builtin allocsize(0) } -attributes #23 = { builtin nounwind } -attributes #24 = { nounwind } -attributes #25 = { noreturn } +attributes #18 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #19 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #20 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } +attributes #21 = { builtin allocsize(0) } +attributes #22 = { builtin nounwind } +attributes #23 = { nounwind } +attributes #24 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/assimp/optimized/Assimp.cpp.ll b/bench/assimp/optimized/Assimp.cpp.ll index 9521d6cb7db..797e438cea8 100644 --- a/bench/assimp/optimized/Assimp.cpp.ll +++ b/bench/assimp/optimized/Assimp.cpp.ll @@ -13656,7 +13656,7 @@ return: ; preds = %for.end84, %if.then ret i32 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal fastcc void @_ZL28stbi__compute_transparency16P9stbi__pngPti(i32 %z.0.val.0.val, i32 %z.0.val.4.val, ptr nocapture %z.24.val, ptr nocapture noundef readonly %tc, i32 noundef %out_n) unnamed_addr #29 { entry: %mul = mul i32 %z.0.val.4.val, %z.0.val.0.val @@ -13726,7 +13726,7 @@ if.end33: ; preds = %if.end, %for.body, ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal fastcc void @_ZL26stbi__compute_transparencyP9stbi__pngPhi(i32 %z.0.val.0.val, i32 %z.0.val.4.val, ptr nocapture %z.24.val, ptr nocapture noundef readonly %tc, i32 noundef %out_n) unnamed_addr #29 { entry: %mul = mul i32 %z.0.val.4.val, %z.0.val.0.val @@ -13796,8 +13796,8 @@ if.end33: ; preds = %if.end, %for.body, ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @_ZL15stbi__de_iphoneP9stbi__png(ptr nocapture readonly %z.0.val, ptr nocapture %z.24.val) unnamed_addr #29 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define internal fastcc void @_ZL15stbi__de_iphoneP9stbi__png(ptr nocapture readonly %z.0.val, ptr nocapture %z.24.val) unnamed_addr #30 { entry: %0 = load i32, ptr %z.0.val, align 8 %img_y = getelementptr inbounds i8, ptr %z.0.val, i64 4 @@ -15220,13 +15220,13 @@ return: ; preds = %for.inc866, %for.bo declare i32 @llvm.abs.i32(i32, i1 immarg) #20 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare float @powf(float noundef, float noundef) local_unnamed_addr #30 +declare float @powf(float noundef, float noundef) local_unnamed_addr #31 ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) -declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #31 +declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #32 ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc noundef range(i32 0, 2) i32 @_ZL20stbi__zbuild_huffmanP14stbi__zhuffmanPKhi(ptr nocapture noundef %z, ptr nocapture noundef readonly %sizelist, i32 noundef %num) unnamed_addr #32 { +define internal fastcc noundef range(i32 0, 2) i32 @_ZL20stbi__zbuild_huffmanP14stbi__zhuffmanPKhi(ptr nocapture noundef %z, ptr nocapture noundef readonly %sizelist, i32 noundef %num) unnamed_addr #33 { entry: %next_code = alloca [16 x i32], align 16 %sizes = alloca [17 x i32], align 16 @@ -15398,7 +15398,7 @@ return: ; preds = %for.inc93, %return. } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc noundef range(i32 -1, 65536) i32 @_ZL21stbi__zhuffman_decodeP10stbi__zbufP14stbi__zhuffman(ptr nocapture noundef %a, ptr nocapture noundef readonly %z) unnamed_addr #33 { +define internal fastcc noundef range(i32 -1, 65536) i32 @_ZL21stbi__zhuffman_decodeP10stbi__zbufP14stbi__zhuffman(ptr nocapture noundef %a, ptr nocapture noundef readonly %z) unnamed_addr #30 { entry: %num_bits = getelementptr inbounds i8, ptr %a, i64 16 %0 = load i32, ptr %num_bits, align 8 @@ -15545,10 +15545,10 @@ declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_(ptr n declare float @llvm.fmuladd.f32(float, float, float) #20 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare float @acosf(float noundef) local_unnamed_addr #30 +declare float @acosf(float noundef) local_unnamed_addr #31 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare float @sinf(float noundef) local_unnamed_addr #30 +declare float @sinf(float noundef) local_unnamed_addr #31 ; Function Attrs: nounwind declare void @_ZNSt8__detail15_List_node_base7_M_hookEPS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #2 @@ -17251,19 +17251,19 @@ return: ; preds = %if.end12.i78, %if.t } ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare float @sqrtf(float noundef) local_unnamed_addr #30 +declare float @sqrtf(float noundef) local_unnamed_addr #31 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fabs.f32(float) #20 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare float @cosf(float noundef) local_unnamed_addr #30 +declare float @cosf(float noundef) local_unnamed_addr #31 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare float @asinf(float noundef) local_unnamed_addr #30 +declare float @asinf(float noundef) local_unnamed_addr #31 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare float @atan2f(float noundef, float noundef) local_unnamed_addr #30 +declare float @atan2f(float noundef, float noundef) local_unnamed_addr #31 ; Function Attrs: nounwind uwtable define internal void @_GLOBAL__sub_I_Assimp.cpp() #36 section ".text.startup" personality ptr @__gxx_personality_v0 { @@ -17345,11 +17345,11 @@ attributes #25 = { mustprogress nofree norecurse nosync nounwind willreturn memo attributes #26 = { mustprogress 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 nounwind memory(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 #28 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) 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 #29 = { mustprogress 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 #30 = { 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 #31 = { 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 #32 = { mustprogress nofree norecurse nosync nounwind 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 #33 = { mustprogress 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 #29 = { mustprogress 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 #30 = { mustprogress 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 #31 = { 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 #32 = { 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 #33 = { mustprogress nofree norecurse nosync nounwind 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 #34 = { mustprogress nofree nounwind willreturn memory(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 #35 = { noreturn "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 #36 = { 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" } diff --git a/bench/assimp/optimized/RemoveComments.cpp.ll b/bench/assimp/optimized/RemoveComments.cpp.ll index 7df9d35816f..48b5ddc4cea 100644 --- a/bench/assimp/optimized/RemoveComments.cpp.ll +++ b/bench/assimp/optimized/RemoveComments.cpp.ll @@ -6,8 +6,8 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree nounwind memory(argmem: readwrite) uwtable define void @_ZN6Assimp14CommentRemover18RemoveLineCommentsEPKcPcc(ptr nocapture noundef readonly %szComment, ptr nocapture noundef %szBuffer, i8 noundef signext %chReplacement) local_unnamed_addr #0 align 2 { entry: - %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %szComment) #4 - %call1 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %szBuffer) #4 + %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %szComment) #3 + %call1 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %szBuffer) #3 %spec.select = tail call i64 @llvm.umin.i64(i64 %call, i64 %call1) %cmp236.not = icmp eq i64 %call1, 0 br i1 %cmp236.not, label %for.end, label %for.body @@ -48,7 +48,7 @@ if.end15: ; preds = %land.lhs.true, %lan if.end18: ; preds = %if.end15 %add.ptr = getelementptr inbounds i8, ptr %szBuffer, i64 %i.2 - %call19 = tail call i32 @strncmp(ptr noundef %add.ptr, ptr noundef %szComment, i64 noundef %spec.select) #4 + %call19 = tail call i32 @strncmp(ptr noundef %add.ptr, ptr noundef %szComment, i64 noundef %spec.select) #3 %tobool.not = icmp eq i32 %call19, 0 %cmp2227 = icmp ult i64 %i.2, %call1 %or.cond = and i1 %tobool.not, %cmp2227 @@ -87,12 +87,12 @@ declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #1 -; Function Attrs: mustprogress nofree nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZN6Assimp14CommentRemover23RemoveMultiLineCommentsEPKcS2_Pcc(ptr nocapture noundef readonly %szCommentStart, ptr nocapture noundef readonly %szCommentEnd, ptr nocapture noundef %szBuffer, i8 noundef signext %chReplacement) local_unnamed_addr #2 align 2 { +; Function Attrs: mustprogress nofree nounwind memory(argmem: readwrite) uwtable +define void @_ZN6Assimp14CommentRemover23RemoveMultiLineCommentsEPKcS2_Pcc(ptr nocapture noundef readonly %szCommentStart, ptr nocapture noundef readonly %szCommentEnd, ptr nocapture noundef %szBuffer, i8 noundef signext %chReplacement) local_unnamed_addr #0 align 2 { entry: - %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %szCommentEnd) #4 + %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %szCommentEnd) #3 %call.fr = freeze i64 %call - %call1 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %szCommentStart) #4 + %call1 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %szCommentStart) #3 %cmp2121.not = icmp eq i64 %call.fr, 0 br i1 %cmp2121.not, label %while.end28, label %while.cond.us @@ -124,7 +124,7 @@ land.lhs.true.us: ; preds = %while.cond4.us if.end.us: ; preds = %while.cond4.us, %land.lhs.true.us, %land.lhs.true.us, %while.cond.us %szBuffer.addr.2.us = phi ptr [ %szBuffer.addr.0.us, %while.cond.us ], [ %incdec.ptr.us, %land.lhs.true.us ], [ %incdec.ptr.us, %land.lhs.true.us ], [ %incdec.ptr.us, %while.cond4.us ] - %call11.us = tail call i32 @strncmp(ptr noundef nonnull %szBuffer.addr.2.us, ptr noundef %szCommentStart, i64 noundef %call1) #4 + %call11.us = tail call i32 @strncmp(ptr noundef nonnull %szBuffer.addr.2.us, ptr noundef %szCommentStart, i64 noundef %call1) #3 %tobool12.not.us = icmp eq i32 %call11.us, 0 br i1 %tobool12.not.us, label %while.cond14.preheader.us, label %if.end26.us @@ -134,7 +134,7 @@ if.end26.us: ; preds = %if.end.us while.body16.us: ; preds = %while.cond14.preheader.us, %if.end23.us %szBuffer.addr.320.us = phi ptr [ %incdec.ptr24.us, %if.end23.us ], [ %szBuffer.addr.2.us, %while.cond14.preheader.us ] - %call17.us = tail call i32 @strncmp(ptr noundef nonnull %szBuffer.addr.320.us, ptr noundef %szCommentEnd, i64 noundef %call.fr) #4 + %call17.us = tail call i32 @strncmp(ptr noundef nonnull %szBuffer.addr.320.us, ptr noundef %szCommentEnd, i64 noundef %call.fr) #3 %tobool18.not.us = icmp eq i32 %call17.us, 0 br i1 %tobool18.not.us, label %for.body.us, label %if.end23.us @@ -169,16 +169,15 @@ while.end28: ; preds = %while.cond.us, %ent } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #3 +declare i64 @llvm.umin.i64(i64, i64) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #3 +declare i64 @llvm.umax.i64(i64, i64) #2 attributes #0 = { mustprogress nofree 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 #1 = { 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 #2 = { mustprogress nofree 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #4 = { nounwind willreturn memory(read) } +attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/assimp/optimized/shapes.cc.ll b/bench/assimp/optimized/shapes.cc.ll index ffc1d9b9fad..9779269777e 100644 --- a/bench/assimp/optimized/shapes.cc.ll +++ b/bench/assimp/optimized/shapes.cc.ll @@ -283,8 +283,8 @@ for.end: ; preds = %for.inc ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @_ZN3p2t8Triangle13ClearNeighborEPKS0_(ptr nocapture noundef nonnull align 8 dereferenceable(57) %this, ptr noundef readnone %triangle) local_unnamed_addr #6 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define hidden void @_ZN3p2t8Triangle13ClearNeighborEPKS0_(ptr nocapture noundef nonnull align 8 dereferenceable(57) %this, ptr noundef readnone %triangle) local_unnamed_addr #4 align 2 { entry: %neighbors_ = getelementptr inbounds i8, ptr %this, i64 32 %0 = load ptr, ptr %neighbors_, align 8 @@ -320,7 +320,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef ptr @_ZN3p2t8Triangle13OppositePointERS0_RKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %t, ptr noundef nonnull readnone align 8 dereferenceable(40) %p) local_unnamed_addr #7 align 2 { +define hidden noundef ptr @_ZN3p2t8Triangle13OppositePointERS0_RKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %t, ptr noundef nonnull readnone align 8 dereferenceable(40) %p) local_unnamed_addr #6 align 2 { entry: %points_.i = getelementptr inbounds i8, ptr %t, i64 8 %0 = load ptr, ptr %points_.i, align 8 @@ -376,7 +376,7 @@ _ZN3p2t8Triangle7PointCWERKNS_5PointE.exit13: ; preds = %if.then.i11, %if.el } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef ptr @_ZN3p2t8Triangle7PointCWERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %point) local_unnamed_addr #7 align 2 { +define hidden noundef ptr @_ZN3p2t8Triangle7PointCWERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %point) local_unnamed_addr #6 align 2 { entry: %points_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load ptr, ptr %points_, align 8 @@ -420,8 +420,8 @@ entry: ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @_ZN3p2t8Triangle8LegalizeERNS_5PointES2_(ptr nocapture noundef nonnull align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %opoint, ptr noundef nonnull align 8 dereferenceable(40) %npoint) local_unnamed_addr #6 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define hidden void @_ZN3p2t8Triangle8LegalizeERNS_5PointES2_(ptr nocapture noundef nonnull align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %opoint, ptr noundef nonnull align 8 dereferenceable(40) %npoint) local_unnamed_addr #4 align 2 { entry: %points_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load ptr, ptr %points_, align 8 @@ -467,7 +467,7 @@ if.end43: ; preds = %if.end43.sink.split } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef range(i32 -1, 3) i32 @_ZN3p2t8Triangle5IndexEPKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef readnone %p) local_unnamed_addr #7 align 2 { +define hidden noundef range(i32 -1, 3) i32 @_ZN3p2t8Triangle5IndexEPKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef readnone %p) local_unnamed_addr #6 align 2 { entry: %points_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load ptr, ptr %points_, align 8 @@ -493,7 +493,7 @@ return: ; preds = %if.else6, %if.else, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef range(i32 -1, 3) i32 @_ZN3p2t8Triangle9EdgeIndexEPKNS_5PointES3_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef readnone %p1, ptr noundef readnone %p2) local_unnamed_addr #7 align 2 { +define hidden noundef range(i32 -1, 3) i32 @_ZN3p2t8Triangle9EdgeIndexEPKNS_5PointES3_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef readnone %p1, ptr noundef readnone %p2) local_unnamed_addr #6 align 2 { entry: %points_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load ptr, ptr %points_, align 8 @@ -667,7 +667,7 @@ if.end51: ; preds = %if.else31, %if.then } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef ptr @_ZN3p2t8Triangle8PointCCWERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %point) local_unnamed_addr #7 align 2 { +define hidden noundef ptr @_ZN3p2t8Triangle8PointCCWERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %point) local_unnamed_addr #6 align 2 { entry: %points_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load ptr, ptr %points_, align 8 @@ -693,7 +693,7 @@ return: ; preds = %if.else, %entry, %i } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef ptr @_ZN3p2t8Triangle10NeighborCWERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %point) local_unnamed_addr #7 align 2 { +define hidden noundef ptr @_ZN3p2t8Triangle10NeighborCWERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %point) local_unnamed_addr #6 align 2 { entry: %points_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load ptr, ptr %points_, align 8 @@ -709,7 +709,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef ptr @_ZN3p2t8Triangle11NeighborCCWERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %point) local_unnamed_addr #7 align 2 { +define hidden noundef ptr @_ZN3p2t8Triangle11NeighborCCWERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %point) local_unnamed_addr #6 align 2 { entry: %points_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load ptr, ptr %points_, align 8 @@ -725,7 +725,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef zeroext i1 @_ZN3p2t8Triangle21GetConstrainedEdgeCCWERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %p) local_unnamed_addr #7 align 2 { +define hidden noundef zeroext i1 @_ZN3p2t8Triangle21GetConstrainedEdgeCCWERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %p) local_unnamed_addr #6 align 2 { entry: %points_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load ptr, ptr %points_, align 8 @@ -742,7 +742,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef zeroext i1 @_ZN3p2t8Triangle20GetConstrainedEdgeCWERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %p) local_unnamed_addr #7 align 2 { +define hidden noundef zeroext i1 @_ZN3p2t8Triangle20GetConstrainedEdgeCWERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %p) local_unnamed_addr #6 align 2 { entry: %points_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load ptr, ptr %points_, align 8 @@ -825,7 +825,7 @@ if.end17: ; preds = %if.then7, %if.else1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef zeroext i1 @_ZN3p2t8Triangle17GetDelunayEdgeCCWERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %p) local_unnamed_addr #7 align 2 { +define hidden noundef zeroext i1 @_ZN3p2t8Triangle17GetDelunayEdgeCCWERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %p) local_unnamed_addr #6 align 2 { entry: %points_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load ptr, ptr %points_, align 8 @@ -842,7 +842,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef zeroext i1 @_ZN3p2t8Triangle16GetDelunayEdgeCWERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %p) local_unnamed_addr #7 align 2 { +define hidden noundef zeroext i1 @_ZN3p2t8Triangle16GetDelunayEdgeCWERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %p) local_unnamed_addr #6 align 2 { entry: %points_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load ptr, ptr %points_, align 8 @@ -893,7 +893,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(57) ptr @_ZN3p2t8Triangle14NeighborAcrossERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %opoint) local_unnamed_addr #7 align 2 { +define hidden noundef nonnull align 8 dereferenceable(57) ptr @_ZN3p2t8Triangle14NeighborAcrossERKNS_5PointE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this, ptr noundef nonnull readnone align 8 dereferenceable(40) %opoint) local_unnamed_addr #6 align 2 { entry: %points_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load ptr, ptr %points_, align 8 @@ -909,7 +909,7 @@ entry: } ; Function Attrs: mustprogress uwtable -define hidden void @_ZN3p2t8Triangle10DebugPrintEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this) local_unnamed_addr #8 align 2 { +define hidden void @_ZN3p2t8Triangle10DebugPrintEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(57) %this) local_unnamed_addr #7 align 2 { entry: %points_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load ptr, ptr %points_, align 8 @@ -953,15 +953,15 @@ declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr nou declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #0 ; Function Attrs: uwtable -define internal void @_GLOBAL__sub_I_shapes.cc() #9 section ".text.startup" { +define internal void @_GLOBAL__sub_I_shapes.cc() #8 section ".text.startup" { entry: tail call void @_ZNSt8ios_base4InitC1Ev(ptr noundef nonnull align 1 dereferenceable(1) @_ZStL8__ioinit) - %0 = tail call i32 @__cxa_atexit(ptr nonnull @_ZNSt8ios_base4InitD1Ev, ptr nonnull @_ZStL8__ioinit, ptr nonnull @__dso_handle) #11 + %0 = tail call i32 @__cxa_atexit(ptr nonnull @_ZNSt8ios_base4InitD1Ev, ptr nonnull @_ZStL8__ioinit, ptr nonnull @__dso_handle) #10 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #10 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #9 attributes #0 = { "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 #1 = { 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" } @@ -969,12 +969,11 @@ attributes #2 = { nofree nounwind } attributes #3 = { 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 #4 = { 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 #5 = { mustprogress 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 #6 = { 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 #7 = { 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 #8 = { mustprogress 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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #11 = { nounwind } +attributes #6 = { 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 #7 = { mustprogress 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 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #10 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/brotli/optimized/static_dict.c.ll b/bench/brotli/optimized/static_dict.c.ll index cfae7b6b8d3..675ce18a0c8 100644 --- a/bench/brotli/optimized/static_dict.c.ll +++ b/bench/brotli/optimized/static_dict.c.ll @@ -89,8 +89,8 @@ if.end38: ; preds = %if.end38.loopexit, ret i32 %has_found_match.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc i32 @BrotliFindAllStaticDictionaryMatchesFor(ptr nocapture noundef readonly %dictionary, ptr noundef readonly %data, i64 noundef %min_length, i64 noundef %max_length, ptr noundef %matches) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define internal fastcc i32 @BrotliFindAllStaticDictionaryMatchesFor(ptr nocapture noundef readonly %dictionary, ptr noundef readonly %data, i64 noundef %min_length, i64 noundef %max_length, ptr noundef %matches) unnamed_addr #1 { entry: %buckets = getelementptr inbounds i8, ptr %dictionary, i64 40 %0 = load ptr, ptr %buckets, align 8 @@ -2300,20 +2300,21 @@ if.end1661: ; preds = %if.end1658, %if.the } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.cttz.i64(i64, i1 immarg) #1 +declare i64 @llvm.cttz.i64(i64, i1 immarg) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #2 +declare i32 @llvm.umin.i32(i32, i32) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #2 +declare i64 @llvm.umin.i64(i64, i64) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #2 +declare i64 @llvm.umax.i64(i64, i64) #3 attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/bullet3/optimized/btGeneric6DofConstraint.ll b/bench/bullet3/optimized/btGeneric6DofConstraint.ll index 2817bd91d2a..824a63ffb8b 100644 --- a/bench/bullet3/optimized/btGeneric6DofConstraint.ll +++ b/bench/bullet3/optimized/btGeneric6DofConstraint.ll @@ -403,21 +403,21 @@ if.then2: ; preds = %if.then %fneg = fneg float %1 %arrayidx.i21 = getelementptr inbounds i8, ptr %mat, i64 40 %2 = load float, ptr %arrayidx.i21, align 4 - %call.i = tail call noundef float @atan2f(float noundef %fneg, float noundef %2) #24 + %call.i = tail call noundef float @atan2f(float noundef %fneg, float noundef %2) #22 store float %call.i, ptr %xyz, align 4 %3 = load float, ptr %arrayidx.i.i, align 4 %cmp.i = fcmp olt float %3, -1.000000e+00 %x.addr.0.i = select i1 %cmp.i, float -1.000000e+00, float %3 %cmp1.i = fcmp ogt float %x.addr.0.i, 1.000000e+00 %x.addr.1.i = select i1 %cmp1.i, float 1.000000e+00, float %x.addr.0.i - %call.i24 = tail call noundef float @asinf(float noundef %x.addr.1.i) #24 + %call.i24 = tail call noundef float @asinf(float noundef %x.addr.1.i) #22 %arrayidx10 = getelementptr inbounds i8, ptr %xyz, i64 4 store float %call.i24, ptr %arrayidx10, align 4 %arrayidx.i.i25 = getelementptr inbounds i8, ptr %mat, i64 16 %4 = load float, ptr %arrayidx.i.i25, align 4 %fneg12 = fneg float %4 %5 = load float, ptr %mat, align 4 - %call.i29 = tail call noundef float @atan2f(float noundef %fneg12, float noundef %5) #24 + %call.i29 = tail call noundef float @atan2f(float noundef %fneg12, float noundef %5) #22 br label %return if.else: ; preds = %if.then @@ -425,7 +425,7 @@ if.else: ; preds = %if.then %6 = load float, ptr %arrayidx.i31, align 4 %arrayidx.i33 = getelementptr inbounds i8, ptr %mat, i64 20 %7 = load float, ptr %arrayidx.i33, align 4 - %call.i34 = tail call noundef float @atan2f(float noundef %6, float noundef %7) #24 + %call.i34 = tail call noundef float @atan2f(float noundef %6, float noundef %7) #22 %fneg20 = fneg float %call.i34 store float %fneg20, ptr %xyz, align 4 %arrayidx24 = getelementptr inbounds i8, ptr %xyz, i64 4 @@ -437,7 +437,7 @@ if.else27: ; preds = %entry %8 = load float, ptr %arrayidx.i36, align 4 %arrayidx.i38 = getelementptr inbounds i8, ptr %mat, i64 20 %9 = load float, ptr %arrayidx.i38, align 4 - %call.i39 = tail call noundef float @atan2f(float noundef %8, float noundef %9) #24 + %call.i39 = tail call noundef float @atan2f(float noundef %8, float noundef %9) #22 store float %call.i39, ptr %xyz, align 4 %arrayidx34 = getelementptr inbounds i8, ptr %xyz, i64 4 store float 0x3FF921FB60000000, ptr %arrayidx34, align 4 @@ -1203,21 +1203,21 @@ if.then.i: ; preds = %entry if.then2.i: ; preds = %if.then.i %fneg.i = fneg float %46 - %call.i.i = tail call noundef float @atan2f(float noundef %fneg.i, float noundef %48) #24 + %call.i.i = tail call noundef float @atan2f(float noundef %fneg.i, float noundef %48) #22 store float %call.i.i, ptr %m_calculatedAxisAngleDiff, align 8 %cmp.i.i = fcmp olt float %44, -1.000000e+00 %x.addr.0.i.i = select i1 %cmp.i.i, float -1.000000e+00, float %44 %cmp1.i.i = fcmp ogt float %x.addr.0.i.i, 1.000000e+00 %x.addr.1.i.i = select i1 %cmp1.i.i, float 1.000000e+00, float %x.addr.0.i.i - %call.i24.i = tail call noundef float @asinf(float noundef %x.addr.1.i.i) #24 + %call.i24.i = tail call noundef float @asinf(float noundef %x.addr.1.i.i) #22 %arrayidx10.i = getelementptr inbounds i8, ptr %this, i64 1220 store float %call.i24.i, ptr %arrayidx10.i, align 4 %fneg12.i = fneg float %40 - %call.i29.i = tail call noundef float @atan2f(float noundef %fneg12.i, float noundef %30) #24 + %call.i29.i = tail call noundef float @atan2f(float noundef %fneg12.i, float noundef %30) #22 br label %_Z16matrixToEulerXYZRK11btMatrix3x3R9btVector3.exit if.else.i: ; preds = %if.then.i - %call.i34.i = tail call noundef float @atan2f(float noundef %35, float noundef %42) #24 + %call.i34.i = tail call noundef float @atan2f(float noundef %35, float noundef %42) #22 %fneg20.i = fneg float %call.i34.i store float %fneg20.i, ptr %m_calculatedAxisAngleDiff, align 8 %arrayidx24.i = getelementptr inbounds i8, ptr %this, i64 1220 @@ -1225,7 +1225,7 @@ if.else.i: ; preds = %if.then.i br label %_Z16matrixToEulerXYZRK11btMatrix3x3R9btVector3.exit if.else27.i: ; preds = %entry - %call.i39.i = tail call noundef float @atan2f(float noundef %35, float noundef %42) #24 + %call.i39.i = tail call noundef float @atan2f(float noundef %35, float noundef %42) #22 store float %call.i39.i, ptr %m_calculatedAxisAngleDiff, align 8 %arrayidx34.i = getelementptr inbounds i8, ptr %this, i64 1220 store float 0x3FF921FB60000000, ptr %arrayidx34.i, align 4 @@ -2140,7 +2140,7 @@ if.else: ; preds = %entry if.then2: ; preds = %if.else %sub = fsub float %angleLowerLimitInRadians, %angleInRadians - %call.i.i = tail call noundef float @fmodf(float noundef %sub, float noundef 0x401921FB60000000) #24 + %call.i.i = tail call noundef float @fmodf(float noundef %sub, float noundef 0x401921FB60000000) #22 %cmp.i = fcmp olt float %call.i.i, 0xC00921FB60000000 br i1 %cmp.i, label %if.then.i, label %if.else.i @@ -2160,7 +2160,7 @@ _Z16btNormalizeAnglef.exit: ; preds = %if.then.i, %if.else %retval.0.i = phi float [ %add.i, %if.then.i ], [ %sub.i, %if.then2.i ], [ %call.i.i, %if.else.i ] %0 = tail call noundef float @llvm.fabs.f32(float %retval.0.i) %sub4 = fsub float %angleUpperLimitInRadians, %angleInRadians - %call.i.i18 = tail call noundef float @fmodf(float noundef %sub4, float noundef 0x401921FB60000000) #24 + %call.i.i18 = tail call noundef float @fmodf(float noundef %sub4, float noundef 0x401921FB60000000) #22 %cmp.i19 = fcmp olt float %call.i.i18, 0xC00921FB60000000 br i1 %cmp.i19, label %if.then.i25, label %if.else.i20 @@ -2190,7 +2190,7 @@ if.else8: ; preds = %if.else if.then10: ; preds = %if.else8 %sub12 = fsub float %angleInRadians, %angleUpperLimitInRadians - %call.i.i28 = tail call noundef float @fmodf(float noundef %sub12, float noundef 0x401921FB60000000) #24 + %call.i.i28 = tail call noundef float @fmodf(float noundef %sub12, float noundef 0x401921FB60000000) #22 %cmp.i29 = fcmp olt float %call.i.i28, 0xC00921FB60000000 br i1 %cmp.i29, label %if.then.i35, label %if.else.i30 @@ -2210,7 +2210,7 @@ _Z16btNormalizeAnglef.exit37: ; preds = %if.then.i35, %if.el %retval.0.i32 = phi float [ %add.i36, %if.then.i35 ], [ %sub.i34, %if.then2.i33 ], [ %call.i.i28, %if.else.i30 ] %2 = tail call noundef float @llvm.fabs.f32(float %retval.0.i32) %sub16 = fsub float %angleInRadians, %angleLowerLimitInRadians - %call.i.i38 = tail call noundef float @fmodf(float noundef %sub16, float noundef 0x401921FB60000000) #24 + %call.i.i38 = tail call noundef float @fmodf(float noundef %sub16, float noundef 0x401921FB60000000) #22 %cmp.i39 = fcmp olt float %call.i.i38, 0xC00921FB60000000 br i1 %cmp.i39, label %if.then.i45, label %if.else.i40 @@ -4061,8 +4061,8 @@ entry: declare noundef float @_ZN17btTypedConstraint14getMotorFactorEfffff(ptr noundef nonnull align 8 dereferenceable(72), float noundef, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #2 -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN23btGeneric6DofConstraint8setParamEifi(ptr nocapture noundef nonnull align 8 dereferenceable(1333) %this, i32 noundef %num, float noundef %value, i32 noundef %axis) unnamed_addr #16 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define dso_local void @_ZN23btGeneric6DofConstraint8setParamEifi(ptr nocapture noundef nonnull align 8 dereferenceable(1333) %this, i32 noundef %num, float noundef %value, i32 noundef %axis) unnamed_addr #7 align 2 { entry: %or.cond = icmp ult i32 %axis, 3 br i1 %or.cond, label %if.then, label %if.else @@ -4138,8 +4138,8 @@ if.end56: ; preds = %if.end56.sink.split ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local noundef float @_ZNK23btGeneric6DofConstraint8getParamEii(ptr nocapture noundef nonnull readonly align 8 dereferenceable(1333) %this, i32 noundef %num, i32 noundef %axis) unnamed_addr #17 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define dso_local noundef float @_ZNK23btGeneric6DofConstraint8getParamEii(ptr nocapture noundef nonnull readonly align 8 dereferenceable(1333) %this, i32 noundef %num, i32 noundef %axis) unnamed_addr #5 align 2 { entry: %or.cond = icmp ult i32 %axis, 3 br i1 %or.cond, label %if.then, label %if.else @@ -4475,7 +4475,7 @@ entry: ; Function Attrs: mustprogress nounwind uwtable define linkonce_odr dso_local void @_ZN17btTypedConstraintD0Ev(ptr noundef nonnull align 8 dereferenceable(72) %this) unnamed_addr #0 comdat align 2 { entry: - tail call void @llvm.trap() #25 + tail call void @llvm.trap() #23 unreachable } @@ -4519,7 +4519,7 @@ terminate.lpad.i: ; preds = %entry %0 = landingpad { ptr, i32 } catch ptr null %1 = extractvalue { ptr, i32 } %0, 0 - tail call void @__clang_call_terminate(ptr %1) #25 + tail call void @__clang_call_terminate(ptr %1) #23 unreachable _ZN23btGeneric6DofConstraintdlEPv.exit: ; preds = %entry @@ -4674,26 +4674,26 @@ entry: } ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare float @atan2f(float noundef, float noundef) local_unnamed_addr #18 +declare float @atan2f(float noundef, float noundef) local_unnamed_addr #16 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare float @asinf(float noundef) local_unnamed_addr #18 +declare float @asinf(float noundef) local_unnamed_addr #16 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fabs.f32(float) #10 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare float @fmodf(float noundef, float noundef) local_unnamed_addr #18 +declare float @fmodf(float noundef, float noundef) local_unnamed_addr #16 ; Function Attrs: cold noreturn nounwind memory(inaccessiblemem: write) -declare void @llvm.trap() #19 +declare void @llvm.trap() #17 declare void @_Z21btAlignedFreeInternalPv(ptr noundef) local_unnamed_addr #2 ; Function Attrs: noreturn nounwind uwtable -define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #20 comdat { - %2 = tail call ptr @__cxa_begin_catch(ptr %0) #24 - tail call void @_ZSt9terminatev() #25 +define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #18 comdat { + %2 = tail call ptr @__cxa_begin_catch(ptr %0) #22 + tail call void @_ZSt9terminatev() #23 unreachable } @@ -4702,19 +4702,19 @@ declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr declare void @_ZSt9terminatev() local_unnamed_addr ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #21 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #19 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare float @llvm.sqrt.f32(float) #22 +declare float @llvm.sqrt.f32(float) #20 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #23 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #21 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #23 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #21 ; 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>) #22 +declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #20 attributes #0 = { mustprogress 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 #1 = { mustprogress 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" } @@ -4732,16 +4732,14 @@ attributes #12 = { mustprogress nofree nounwind memory(readwrite, inaccessibleme attributes #13 = { mustprogress 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 #14 = { 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 #15 = { 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 #16 = { 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 #17 = { 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 #18 = { 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 #19 = { cold noreturn nounwind memory(inaccessiblemem: write) } -attributes #20 = { noreturn nounwind uwtable "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 #21 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #22 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #23 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #24 = { nounwind } -attributes #25 = { noreturn nounwind } +attributes #16 = { 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 #17 = { cold noreturn nounwind memory(inaccessiblemem: write) } +attributes #18 = { noreturn nounwind uwtable "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 #19 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #20 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #21 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #22 = { nounwind } +attributes #23 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/bullet3/optimized/btGeneric6DofSpring2Constraint.ll b/bench/bullet3/optimized/btGeneric6DofSpring2Constraint.ll index cdbc3d9da66..8aa16f99d26 100644 --- a/bench/bullet3/optimized/btGeneric6DofSpring2Constraint.ll +++ b/bench/bullet3/optimized/btGeneric6DofSpring2Constraint.ll @@ -436,21 +436,21 @@ if.then2: ; preds = %if.then %fneg = fneg float %1 %arrayidx.i21 = getelementptr inbounds i8, ptr %mat, i64 40 %2 = load float, ptr %arrayidx.i21, align 4 - %call.i = tail call noundef float @atan2f(float noundef %fneg, float noundef %2) #22 + %call.i = tail call noundef float @atan2f(float noundef %fneg, float noundef %2) #21 store float %call.i, ptr %xyz, align 4 %3 = load float, ptr %arrayidx.i.i, align 4 %cmp.i = fcmp olt float %3, -1.000000e+00 %x.addr.0.i = select i1 %cmp.i, float -1.000000e+00, float %3 %cmp1.i = fcmp ogt float %x.addr.0.i, 1.000000e+00 %x.addr.1.i = select i1 %cmp1.i, float 1.000000e+00, float %x.addr.0.i - %call.i24 = tail call noundef float @asinf(float noundef %x.addr.1.i) #22 + %call.i24 = tail call noundef float @asinf(float noundef %x.addr.1.i) #21 %arrayidx10 = getelementptr inbounds i8, ptr %xyz, i64 4 store float %call.i24, ptr %arrayidx10, align 4 %arrayidx.i.i25 = getelementptr inbounds i8, ptr %mat, i64 16 %4 = load float, ptr %arrayidx.i.i25, align 4 %fneg12 = fneg float %4 %5 = load float, ptr %mat, align 4 - %call.i29 = tail call noundef float @atan2f(float noundef %fneg12, float noundef %5) #22 + %call.i29 = tail call noundef float @atan2f(float noundef %fneg12, float noundef %5) #21 br label %return if.else: ; preds = %if.then @@ -458,7 +458,7 @@ if.else: ; preds = %if.then %6 = load float, ptr %arrayidx.i31, align 4 %arrayidx.i33 = getelementptr inbounds i8, ptr %mat, i64 20 %7 = load float, ptr %arrayidx.i33, align 4 - %call.i34 = tail call noundef float @atan2f(float noundef %6, float noundef %7) #22 + %call.i34 = tail call noundef float @atan2f(float noundef %6, float noundef %7) #21 %fneg20 = fneg float %call.i34 store float %fneg20, ptr %xyz, align 4 %arrayidx24 = getelementptr inbounds i8, ptr %xyz, i64 4 @@ -470,7 +470,7 @@ if.else27: ; preds = %entry %8 = load float, ptr %arrayidx.i36, align 4 %arrayidx.i38 = getelementptr inbounds i8, ptr %mat, i64 20 %9 = load float, ptr %arrayidx.i38, align 4 - %call.i39 = tail call noundef float @atan2f(float noundef %8, float noundef %9) #22 + %call.i39 = tail call noundef float @atan2f(float noundef %8, float noundef %9) #21 store float %call.i39, ptr %xyz, align 4 %arrayidx34 = getelementptr inbounds i8, ptr %xyz, i64 4 store float 0x3FF921FB60000000, ptr %arrayidx34, align 4 @@ -501,12 +501,12 @@ if.then2: ; preds = %if.then %1 = load float, ptr %arrayidx.i, align 4 %arrayidx.i21 = getelementptr inbounds i8, ptr %mat, i64 20 %2 = load float, ptr %arrayidx.i21, align 4 - %call.i = tail call noundef float @atan2f(float noundef %1, float noundef %2) #22 + %call.i = tail call noundef float @atan2f(float noundef %1, float noundef %2) #21 store float %call.i, ptr %xyz, align 4 %arrayidx.i.i22 = getelementptr inbounds i8, ptr %mat, i64 32 %3 = load float, ptr %arrayidx.i.i22, align 4 %4 = load float, ptr %mat, align 4 - %call.i26 = tail call noundef float @atan2f(float noundef %3, float noundef %4) #22 + %call.i26 = tail call noundef float @atan2f(float noundef %3, float noundef %4) #21 %arrayidx11 = getelementptr inbounds i8, ptr %xyz, i64 4 store float %call.i26, ptr %arrayidx11, align 4 %5 = load float, ptr %arrayidx.i.i, align 4 @@ -515,7 +515,7 @@ if.then2: ; preds = %if.then %x.addr.0.i = select i1 %cmp.i, float -1.000000e+00, float %fneg %cmp1.i = fcmp ogt float %x.addr.0.i, 1.000000e+00 %x.addr.1.i = select i1 %cmp1.i, float 1.000000e+00, float %x.addr.0.i - %call.i29 = tail call noundef float @asinf(float noundef %x.addr.1.i) #22 + %call.i29 = tail call noundef float @asinf(float noundef %x.addr.1.i) #21 br label %return if.else: ; preds = %if.then @@ -524,7 +524,7 @@ if.else: ; preds = %if.then %fneg17 = fneg float %6 %arrayidx.i33 = getelementptr inbounds i8, ptr %mat, i64 40 %7 = load float, ptr %arrayidx.i33, align 4 - %call.i34 = tail call noundef float @atan2f(float noundef %fneg17, float noundef %7) #22 + %call.i34 = tail call noundef float @atan2f(float noundef %fneg17, float noundef %7) #21 %fneg20 = fneg float %call.i34 store float %fneg20, ptr %xyz, align 4 %arrayidx24 = getelementptr inbounds i8, ptr %xyz, i64 4 @@ -537,7 +537,7 @@ if.else27: ; preds = %entry %fneg29 = fneg float %8 %arrayidx.i38 = getelementptr inbounds i8, ptr %mat, i64 40 %9 = load float, ptr %arrayidx.i38, align 4 - %call.i39 = tail call noundef float @atan2f(float noundef %fneg29, float noundef %9) #22 + %call.i39 = tail call noundef float @atan2f(float noundef %fneg29, float noundef %9) #21 store float %call.i39, ptr %xyz, align 4 %arrayidx35 = getelementptr inbounds i8, ptr %xyz, i64 4 store float 0.000000e+00, ptr %arrayidx35, align 4 @@ -570,19 +570,19 @@ if.then2: ; preds = %if.then %x.addr.0.i = select i1 %cmp.i, float -1.000000e+00, float %fneg %cmp1.i = fcmp ogt float %x.addr.0.i, 1.000000e+00 %x.addr.1.i = select i1 %cmp1.i, float 1.000000e+00, float %x.addr.0.i - %call.i = tail call noundef float @asinf(float noundef %x.addr.1.i) #22 + %call.i = tail call noundef float @asinf(float noundef %x.addr.1.i) #21 store float %call.i, ptr %xyz, align 4 %1 = load float, ptr %arrayidx.i.i, align 4 %arrayidx.i24 = getelementptr inbounds i8, ptr %mat, i64 40 %2 = load float, ptr %arrayidx.i24, align 4 - %call.i25 = tail call noundef float @atan2f(float noundef %1, float noundef %2) #22 + %call.i25 = tail call noundef float @atan2f(float noundef %1, float noundef %2) #21 %arrayidx10 = getelementptr inbounds i8, ptr %xyz, i64 4 store float %call.i25, ptr %arrayidx10, align 4 %arrayidx.i27 = getelementptr inbounds i8, ptr %mat, i64 4 %3 = load float, ptr %arrayidx.i27, align 4 %arrayidx.i29 = getelementptr inbounds i8, ptr %mat, i64 20 %4 = load float, ptr %arrayidx.i29, align 4 - %call.i30 = tail call noundef float @atan2f(float noundef %3, float noundef %4) #22 + %call.i30 = tail call noundef float @atan2f(float noundef %3, float noundef %4) #21 br label %return if.else: ; preds = %if.then @@ -591,7 +591,7 @@ if.else: ; preds = %if.then %5 = load float, ptr %arrayidx.i.i31, align 4 %fneg19 = fneg float %5 %6 = load float, ptr %mat, align 4 - %call.i35 = tail call noundef float @atan2f(float noundef %fneg19, float noundef %6) #22 + %call.i35 = tail call noundef float @atan2f(float noundef %fneg19, float noundef %6) #21 %fneg22 = fneg float %call.i35 %arrayidx24 = getelementptr inbounds i8, ptr %xyz, i64 4 store float %fneg22, ptr %arrayidx24, align 4 @@ -603,7 +603,7 @@ if.else27: ; preds = %entry %7 = load float, ptr %arrayidx.i.i36, align 4 %fneg31 = fneg float %7 %8 = load float, ptr %mat, align 4 - %call.i40 = tail call noundef float @atan2f(float noundef %fneg31, float noundef %8) #22 + %call.i40 = tail call noundef float @atan2f(float noundef %fneg31, float noundef %8) #21 %arrayidx35 = getelementptr inbounds i8, ptr %xyz, i64 4 store float %call.i40, ptr %arrayidx35, align 4 br label %return @@ -634,13 +634,13 @@ if.then2: ; preds = %if.then %fneg = fneg float %1 %arrayidx.i21 = getelementptr inbounds i8, ptr %mat, i64 20 %2 = load float, ptr %arrayidx.i21, align 4 - %call.i = tail call noundef float @atan2f(float noundef %fneg, float noundef %2) #22 + %call.i = tail call noundef float @atan2f(float noundef %fneg, float noundef %2) #21 store float %call.i, ptr %xyz, align 4 %arrayidx.i23 = getelementptr inbounds i8, ptr %mat, i64 8 %3 = load float, ptr %arrayidx.i23, align 4 %fneg8 = fneg float %3 %4 = load float, ptr %mat, align 4 - %call.i26 = tail call noundef float @atan2f(float noundef %fneg8, float noundef %4) #22 + %call.i26 = tail call noundef float @atan2f(float noundef %fneg8, float noundef %4) #21 %arrayidx12 = getelementptr inbounds i8, ptr %xyz, i64 4 store float %call.i26, ptr %arrayidx12, align 4 %5 = load float, ptr %arrayidx.i, align 4 @@ -648,7 +648,7 @@ if.then2: ; preds = %if.then %x.addr.0.i = select i1 %cmp.i, float -1.000000e+00, float %5 %cmp1.i = fcmp ogt float %x.addr.0.i, 1.000000e+00 %x.addr.1.i = select i1 %cmp1.i, float 1.000000e+00, float %x.addr.0.i - %call.i29 = tail call noundef float @asinf(float noundef %x.addr.1.i) #22 + %call.i29 = tail call noundef float @asinf(float noundef %x.addr.1.i) #21 br label %return if.else: ; preds = %if.then @@ -657,7 +657,7 @@ if.else: ; preds = %if.then %6 = load float, ptr %arrayidx.i31, align 4 %arrayidx.i33 = getelementptr inbounds i8, ptr %mat, i64 40 %7 = load float, ptr %arrayidx.i33, align 4 - %call.i34 = tail call noundef float @atan2f(float noundef %6, float noundef %7) #22 + %call.i34 = tail call noundef float @atan2f(float noundef %6, float noundef %7) #21 %fneg22 = fneg float %call.i34 %arrayidx24 = getelementptr inbounds i8, ptr %xyz, i64 4 store float %fneg22, ptr %arrayidx24, align 4 @@ -669,7 +669,7 @@ if.else27: ; preds = %entry %8 = load float, ptr %arrayidx.i36, align 4 %arrayidx.i38 = getelementptr inbounds i8, ptr %mat, i64 40 %9 = load float, ptr %arrayidx.i38, align 4 - %call.i39 = tail call noundef float @atan2f(float noundef %8, float noundef %9) #22 + %call.i39 = tail call noundef float @atan2f(float noundef %8, float noundef %9) #21 %arrayidx34 = getelementptr inbounds i8, ptr %xyz, i64 4 store float %call.i39, ptr %arrayidx34, align 4 br label %return @@ -700,21 +700,21 @@ if.then2: ; preds = %if.then %x.addr.0.i = select i1 %cmp.i, float -1.000000e+00, float %0 %cmp1.i = fcmp ogt float %x.addr.0.i, 1.000000e+00 %x.addr.1.i = select i1 %cmp1.i, float 1.000000e+00, float %x.addr.0.i - %call.i = tail call noundef float @asinf(float noundef %x.addr.1.i) #22 + %call.i = tail call noundef float @asinf(float noundef %x.addr.1.i) #21 store float %call.i, ptr %xyz, align 4 %arrayidx.i22 = getelementptr inbounds i8, ptr %mat, i64 8 %1 = load float, ptr %arrayidx.i22, align 4 %fneg = fneg float %1 %arrayidx.i24 = getelementptr inbounds i8, ptr %mat, i64 40 %2 = load float, ptr %arrayidx.i24, align 4 - %call.i25 = tail call noundef float @atan2f(float noundef %fneg, float noundef %2) #22 + %call.i25 = tail call noundef float @atan2f(float noundef %fneg, float noundef %2) #21 %arrayidx10 = getelementptr inbounds i8, ptr %xyz, i64 4 store float %call.i25, ptr %arrayidx10, align 4 %3 = load float, ptr %arrayidx.i.i, align 4 %fneg12 = fneg float %3 %arrayidx.i29 = getelementptr inbounds i8, ptr %mat, i64 20 %4 = load float, ptr %arrayidx.i29, align 4 - %call.i30 = tail call noundef float @atan2f(float noundef %fneg12, float noundef %4) #22 + %call.i30 = tail call noundef float @atan2f(float noundef %fneg12, float noundef %4) #21 br label %return if.else: ; preds = %if.then @@ -722,7 +722,7 @@ if.else: ; preds = %if.then %arrayidx.i.i31 = getelementptr inbounds i8, ptr %mat, i64 32 %5 = load float, ptr %arrayidx.i.i31, align 4 %6 = load float, ptr %mat, align 4 - %call.i35 = tail call noundef float @atan2f(float noundef %5, float noundef %6) #22 + %call.i35 = tail call noundef float @atan2f(float noundef %5, float noundef %6) #21 %fneg24 = fneg float %call.i35 br label %return @@ -731,7 +731,7 @@ if.else27: ; preds = %entry %arrayidx.i.i36 = getelementptr inbounds i8, ptr %mat, i64 32 %7 = load float, ptr %arrayidx.i.i36, align 4 %8 = load float, ptr %mat, align 4 - %call.i40 = tail call noundef float @atan2f(float noundef %7, float noundef %8) #22 + %call.i40 = tail call noundef float @atan2f(float noundef %7, float noundef %8) #21 br label %return return: ; preds = %if.else27, %if.else, %if.then2 @@ -759,7 +759,7 @@ if.then2: ; preds = %if.then %1 = load float, ptr %arrayidx.i19, align 4 %arrayidx.i21 = getelementptr inbounds i8, ptr %mat, i64 40 %2 = load float, ptr %arrayidx.i21, align 4 - %call.i = tail call noundef float @atan2f(float noundef %1, float noundef %2) #22 + %call.i = tail call noundef float @atan2f(float noundef %1, float noundef %2) #21 store float %call.i, ptr %xyz, align 4 %3 = load float, ptr %arrayidx.i, align 4 %fneg = fneg float %3 @@ -767,13 +767,13 @@ if.then2: ; preds = %if.then %x.addr.0.i = select i1 %cmp.i, float -1.000000e+00, float %fneg %cmp1.i = fcmp ogt float %x.addr.0.i, 1.000000e+00 %x.addr.1.i = select i1 %cmp1.i, float 1.000000e+00, float %x.addr.0.i - %call.i24 = tail call noundef float @asinf(float noundef %x.addr.1.i) #22 + %call.i24 = tail call noundef float @asinf(float noundef %x.addr.1.i) #21 %arrayidx10 = getelementptr inbounds i8, ptr %xyz, i64 4 store float %call.i24, ptr %arrayidx10, align 4 %arrayidx.i26 = getelementptr inbounds i8, ptr %mat, i64 4 %4 = load float, ptr %arrayidx.i26, align 4 %5 = load float, ptr %mat, align 4 - %call.i29 = tail call noundef float @atan2f(float noundef %4, float noundef %5) #22 + %call.i29 = tail call noundef float @atan2f(float noundef %4, float noundef %5) #21 br label %return if.else: ; preds = %if.then @@ -782,7 +782,7 @@ if.else: ; preds = %if.then %6 = load float, ptr %arrayidx.i.i30, align 4 %arrayidx.i.i32 = getelementptr inbounds i8, ptr %mat, i64 32 %7 = load float, ptr %arrayidx.i.i32, align 4 - %call.i34 = tail call noundef float @atan2f(float noundef %6, float noundef %7) #22 + %call.i34 = tail call noundef float @atan2f(float noundef %6, float noundef %7) #21 %fneg23 = fneg float %call.i34 br label %return @@ -794,7 +794,7 @@ if.else26: ; preds = %entry %arrayidx.i.i37 = getelementptr inbounds i8, ptr %mat, i64 32 %9 = load float, ptr %arrayidx.i.i37, align 4 %fneg34 = fneg float %9 - %call.i39 = tail call noundef float @atan2f(float noundef %fneg32, float noundef %fneg34) #22 + %call.i39 = tail call noundef float @atan2f(float noundef %fneg32, float noundef %fneg34) #21 br label %return return: ; preds = %if.else26, %if.else, %if.then2 @@ -957,25 +957,25 @@ if.then.i: ; preds = %sw.bb if.then2.i: ; preds = %if.then.i %67 = extractelement <2 x float> %64, i64 1 %fneg.i = fneg float %67 - %call.i.i = tail call noundef float @atan2f(float noundef %fneg.i, float noundef %34) #22 + %call.i.i = tail call noundef float @atan2f(float noundef %fneg.i, float noundef %34) #21 store float %call.i.i, ptr %m_calculatedAxisAngleDiff, align 4 %cmp.i.i = fcmp olt float %66, -1.000000e+00 %x.addr.0.i.i = select i1 %cmp.i.i, float -1.000000e+00, float %66 %cmp1.i.i = fcmp ogt float %x.addr.0.i.i, 1.000000e+00 %x.addr.1.i.i = select i1 %cmp1.i.i, float 1.000000e+00, float %x.addr.0.i.i - %call.i24.i = tail call noundef float @asinf(float noundef %x.addr.1.i.i) #22 + %call.i24.i = tail call noundef float @asinf(float noundef %x.addr.1.i.i) #21 %arrayidx10.i = getelementptr inbounds i8, ptr %this, i64 1392 store float %call.i24.i, ptr %arrayidx10.i, align 8 %68 = extractelement <2 x float> %55, i64 0 %fneg12.i = fneg float %68 %69 = extractelement <2 x float> %46, i64 0 - %call.i29.i = tail call noundef float @atan2f(float noundef %fneg12.i, float noundef %69) #22 + %call.i29.i = tail call noundef float @atan2f(float noundef %fneg12.i, float noundef %69) #21 br label %_ZN30btGeneric6DofSpring2Constraint16matrixToEulerXYZERK11btMatrix3x3R9btVector3.exit if.else.i: ; preds = %if.then.i %70 = extractelement <2 x float> %46, i64 1 %71 = extractelement <2 x float> %55, i64 1 - %call.i34.i = tail call noundef float @atan2f(float noundef %70, float noundef %71) #22 + %call.i34.i = tail call noundef float @atan2f(float noundef %70, float noundef %71) #21 %fneg20.i = fneg float %call.i34.i store float %fneg20.i, ptr %m_calculatedAxisAngleDiff, align 4 %arrayidx24.i = getelementptr inbounds i8, ptr %this, i64 1392 @@ -985,7 +985,7 @@ if.else.i: ; preds = %if.then.i if.else27.i: ; preds = %sw.bb %72 = extractelement <2 x float> %46, i64 1 %73 = extractelement <2 x float> %55, i64 1 - %call.i39.i = tail call noundef float @atan2f(float noundef %72, float noundef %73) #22 + %call.i39.i = tail call noundef float @atan2f(float noundef %72, float noundef %73) #21 store float %call.i39.i, ptr %m_calculatedAxisAngleDiff, align 4 %arrayidx34.i = getelementptr inbounds i8, ptr %this, i64 1392 store float 0x3FF921FB60000000, ptr %arrayidx34.i, align 8 @@ -1021,23 +1021,23 @@ if.then2.i33: ; preds = %if.then.i26 %75 = extractelement <2 x float> %64, i64 1 %fneg.i34 = fneg float %75 %76 = extractelement <2 x float> %55, i64 1 - %call.i.i36 = tail call noundef float @atan2f(float noundef %fneg.i34, float noundef %76) #22 + %call.i.i36 = tail call noundef float @atan2f(float noundef %fneg.i34, float noundef %76) #21 store float %call.i.i36, ptr %m_calculatedAxisAngleDiff11, align 4 %fneg8.i = fneg float %30 %77 = extractelement <2 x float> %46, i64 0 - %call.i26.i = tail call noundef float @atan2f(float noundef %fneg8.i, float noundef %77) #22 + %call.i26.i = tail call noundef float @atan2f(float noundef %fneg8.i, float noundef %77) #21 %arrayidx12.i = getelementptr inbounds i8, ptr %this, i64 1392 store float %call.i26.i, ptr %arrayidx12.i, align 8 %cmp.i.i37 = fcmp olt float %74, -1.000000e+00 %x.addr.0.i.i38 = select i1 %cmp.i.i37, float -1.000000e+00, float %74 %cmp1.i.i39 = fcmp ogt float %x.addr.0.i.i38, 1.000000e+00 %x.addr.1.i.i40 = select i1 %cmp1.i.i39, float 1.000000e+00, float %x.addr.0.i.i38 - %call.i29.i41 = tail call noundef float @asinf(float noundef %x.addr.1.i.i40) #22 + %call.i29.i41 = tail call noundef float @asinf(float noundef %x.addr.1.i.i40) #21 br label %_ZN30btGeneric6DofSpring2Constraint16matrixToEulerYZXERK11btMatrix3x3R9btVector3.exit if.else.i28: ; preds = %if.then.i26 store float 0.000000e+00, ptr %m_calculatedAxisAngleDiff11, align 4 - %call.i34.i31 = tail call noundef float @atan2f(float noundef %32, float noundef %34) #22 + %call.i34.i31 = tail call noundef float @atan2f(float noundef %32, float noundef %34) #21 %fneg22.i = fneg float %call.i34.i31 %arrayidx24.i32 = getelementptr inbounds i8, ptr %this, i64 1392 store float %fneg22.i, ptr %arrayidx24.i32, align 8 @@ -1045,7 +1045,7 @@ if.else.i28: ; preds = %if.then.i26 if.else27.i18: ; preds = %sw.bb10 store float 0.000000e+00, ptr %m_calculatedAxisAngleDiff11, align 4 - %call.i39.i21 = tail call noundef float @atan2f(float noundef %32, float noundef %34) #22 + %call.i39.i21 = tail call noundef float @atan2f(float noundef %32, float noundef %34) #21 %arrayidx34.i22 = getelementptr inbounds i8, ptr %this, i64 1392 store float %call.i39.i21, ptr %arrayidx34.i22, align 8 br label %_ZN30btGeneric6DofSpring2Constraint16matrixToEulerYZXERK11btMatrix3x3R9btVector3.exit @@ -1070,23 +1070,23 @@ if.then2.i51: ; preds = %if.then.i48 %x.addr.0.i.i53 = select i1 %cmp.i.i52, float -1.000000e+00, float %32 %cmp1.i.i54 = fcmp ogt float %x.addr.0.i.i53, 1.000000e+00 %x.addr.1.i.i55 = select i1 %cmp1.i.i54, float 1.000000e+00, float %x.addr.0.i.i53 - %call.i.i56 = tail call noundef float @asinf(float noundef %x.addr.1.i.i55) #22 + %call.i.i56 = tail call noundef float @asinf(float noundef %x.addr.1.i.i55) #21 store float %call.i.i56, ptr %m_calculatedAxisAngleDiff14, align 4 %fneg.i57 = fneg float %30 - %call.i25.i = tail call noundef float @atan2f(float noundef %fneg.i57, float noundef %34) #22 + %call.i25.i = tail call noundef float @atan2f(float noundef %fneg.i57, float noundef %34) #21 %arrayidx10.i58 = getelementptr inbounds i8, ptr %this, i64 1392 store float %call.i25.i, ptr %arrayidx10.i58, align 8 %78 = extractelement <2 x float> %55, i64 0 %fneg12.i59 = fneg float %78 %79 = extractelement <2 x float> %55, i64 1 - %call.i30.i = tail call noundef float @atan2f(float noundef %fneg12.i59, float noundef %79) #22 + %call.i30.i = tail call noundef float @atan2f(float noundef %fneg12.i59, float noundef %79) #21 br label %_ZN30btGeneric6DofSpring2Constraint16matrixToEulerZXYERK11btMatrix3x3R9btVector3.exit if.else.i50: ; preds = %if.then.i48 store <2 x float> , ptr %m_calculatedAxisAngleDiff14, align 4 %80 = extractelement <2 x float> %46, i64 0 %81 = extractelement <2 x float> %64, i64 0 - %call.i35.i = tail call noundef float @atan2f(float noundef %81, float noundef %80) #22 + %call.i35.i = tail call noundef float @atan2f(float noundef %81, float noundef %80) #21 %fneg24.i = fneg float %call.i35.i br label %_ZN30btGeneric6DofSpring2Constraint16matrixToEulerZXYERK11btMatrix3x3R9btVector3.exit @@ -1094,7 +1094,7 @@ if.else27.i45: ; preds = %sw.bb13 store <2 x float> , ptr %m_calculatedAxisAngleDiff14, align 4 %82 = extractelement <2 x float> %46, i64 0 %83 = extractelement <2 x float> %64, i64 0 - %call.i40.i = tail call noundef float @atan2f(float noundef %83, float noundef %82) #22 + %call.i40.i = tail call noundef float @atan2f(float noundef %83, float noundef %82) #21 br label %_ZN30btGeneric6DofSpring2Constraint16matrixToEulerZXYERK11btMatrix3x3R9btVector3.exit _ZN30btGeneric6DofSpring2Constraint16matrixToEulerZXYERK11btMatrix3x3R9btVector3.exit: ; preds = %if.then2.i51, %if.else.i50, %if.else27.i45 @@ -1991,7 +1991,7 @@ if.else: ; preds = %entry if.then2: ; preds = %if.else %sub = fsub float %angleLowerLimitInRadians, %angleInRadians - %call.i.i = tail call noundef float @fmodf(float noundef %sub, float noundef 0x401921FB60000000) #22 + %call.i.i = tail call noundef float @fmodf(float noundef %sub, float noundef 0x401921FB60000000) #21 %cmp.i = fcmp olt float %call.i.i, 0xC00921FB60000000 br i1 %cmp.i, label %if.then.i, label %if.else.i @@ -2011,7 +2011,7 @@ _Z16btNormalizeAnglef.exit: ; preds = %if.then.i, %if.else %retval.0.i = phi float [ %add.i, %if.then.i ], [ %sub.i, %if.then2.i ], [ %call.i.i, %if.else.i ] %0 = tail call noundef float @llvm.fabs.f32(float %retval.0.i) %sub4 = fsub float %angleUpperLimitInRadians, %angleInRadians - %call.i.i18 = tail call noundef float @fmodf(float noundef %sub4, float noundef 0x401921FB60000000) #22 + %call.i.i18 = tail call noundef float @fmodf(float noundef %sub4, float noundef 0x401921FB60000000) #21 %cmp.i19 = fcmp olt float %call.i.i18, 0xC00921FB60000000 br i1 %cmp.i19, label %if.then.i25, label %if.else.i20 @@ -2041,7 +2041,7 @@ if.else8: ; preds = %if.else if.then10: ; preds = %if.else8 %sub12 = fsub float %angleInRadians, %angleUpperLimitInRadians - %call.i.i28 = tail call noundef float @fmodf(float noundef %sub12, float noundef 0x401921FB60000000) #22 + %call.i.i28 = tail call noundef float @fmodf(float noundef %sub12, float noundef 0x401921FB60000000) #21 %cmp.i29 = fcmp olt float %call.i.i28, 0xC00921FB60000000 br i1 %cmp.i29, label %if.then.i35, label %if.else.i30 @@ -2061,7 +2061,7 @@ _Z16btNormalizeAnglef.exit37: ; preds = %if.then.i35, %if.el %retval.0.i32 = phi float [ %add.i36, %if.then.i35 ], [ %sub.i34, %if.then2.i33 ], [ %call.i.i28, %if.else.i30 ] %2 = tail call noundef float @llvm.fabs.f32(float %retval.0.i32) %sub16 = fsub float %angleInRadians, %angleLowerLimitInRadians - %call.i.i38 = tail call noundef float @fmodf(float noundef %sub16, float noundef 0x401921FB60000000) #22 + %call.i.i38 = tail call noundef float @fmodf(float noundef %sub16, float noundef 0x401921FB60000000) #21 %cmp.i39 = fcmp olt float %call.i.i38, 0xC00921FB60000000 br i1 %cmp.i39, label %if.then.i45, label %if.else.i40 @@ -3454,7 +3454,7 @@ if.else405: ; preds = %if.else400 if.end410: ; preds = %if.else400, %if.end395, %if.else405 %m.0 = phi float [ %div408, %if.else405 ], [ %mB.0, %if.end395 ], [ %mA.1, %if.else400 ] %div411 = fdiv float %106, %m.0 - %call.i = tail call noundef float @sqrtf(float noundef %div411) #22 + %call.i = tail call noundef float @sqrtf(float noundef %div411) #21 %m_springStiffnessLimited = getelementptr inbounds i8, ptr %limot, i64 56 %249 = load i8, ptr %m_springStiffnessLimited, align 4 %tobool413 = trunc i8 %249 to i1 @@ -3635,7 +3635,7 @@ if.end32: ; preds = %if.end32.sink.split ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local void @_ZN30btGeneric6DofSpring2Constraint15calculateJacobiEP23btRotationalLimitMotor2RK11btTransformS4_PN17btTypedConstraint17btConstraintInfo2EiR9btVector3ii(ptr nocapture noundef nonnull readonly align 8 dereferenceable(1484) %this, ptr nocapture readnone %limot, ptr nocapture noundef nonnull readonly align 4 dereferenceable(64) %transA, ptr nocapture noundef nonnull readonly align 4 dereferenceable(64) %transB, ptr nocapture noundef readonly %info, i32 noundef %srow, ptr nocapture noundef nonnull readonly align 4 dereferenceable(16) %ax1, i32 noundef %rotational, i32 noundef %rotAllowed) local_unnamed_addr #12 align 2 { entry: %tmpA = alloca %class.btVector3, align 8 @@ -4382,8 +4382,8 @@ if.end20: ; preds = %if.end15, %if.then ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, inaccessiblemem: none) uwtable -define dso_local void @_ZN30btGeneric6DofSpring2Constraint16setMaxMotorForceEif(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(1484) %this, i32 noundef %index, float noundef %force) local_unnamed_addr #15 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable +define dso_local void @_ZN30btGeneric6DofSpring2Constraint16setMaxMotorForceEif(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(1484) %this, i32 noundef %index, float noundef %force) local_unnamed_addr #14 align 2 { entry: %cmp = icmp slt i32 %index, 3 %m_angularLimits = getelementptr inbounds i8, ptr %this, i64 992 @@ -4557,8 +4557,8 @@ if.end: ; preds = %if.else, %if.then ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, inaccessiblemem: none) uwtable -define dso_local void @_ZN30btGeneric6DofSpring2Constraint19setEquilibriumPointEif(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(1484) %this, i32 noundef %index, float noundef %val) local_unnamed_addr #15 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable +define dso_local void @_ZN30btGeneric6DofSpring2Constraint19setEquilibriumPointEif(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(1484) %this, i32 noundef %index, float noundef %val) local_unnamed_addr #14 align 2 { entry: %cmp = icmp slt i32 %index, 3 %m_angularLimits = getelementptr inbounds i8, ptr %this, i64 992 @@ -4583,7 +4583,7 @@ entry: ; Function Attrs: mustprogress nounwind uwtable define linkonce_odr dso_local void @_ZN17btTypedConstraintD0Ev(ptr noundef nonnull align 8 dereferenceable(72) %this) unnamed_addr #0 comdat align 2 { entry: - tail call void @llvm.trap() #23 + tail call void @llvm.trap() #22 unreachable } @@ -4627,7 +4627,7 @@ terminate.lpad.i: ; preds = %entry %0 = landingpad { ptr, i32 } catch ptr null %1 = extractvalue { ptr, i32 } %0, 0 - tail call void @__clang_call_terminate(ptr %1) #23 + tail call void @__clang_call_terminate(ptr %1) #22 unreachable _ZN30btGeneric6DofSpring2ConstraintdlEPv.exit: ; preds = %entry @@ -5141,32 +5141,32 @@ for.end278: ; preds = %cond.end271 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare float @atan2f(float noundef, float noundef) local_unnamed_addr #16 +declare float @atan2f(float noundef, float noundef) local_unnamed_addr #15 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare float @asinf(float noundef) local_unnamed_addr #16 +declare float @asinf(float noundef) local_unnamed_addr #15 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fabs.f32(float) #13 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare float @fmodf(float noundef, float noundef) local_unnamed_addr #16 +declare float @fmodf(float noundef, float noundef) local_unnamed_addr #15 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare float @sqrtf(float noundef) local_unnamed_addr #16 +declare float @sqrtf(float noundef) local_unnamed_addr #15 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.floor.f32(float) #13 ; Function Attrs: cold noreturn nounwind memory(inaccessiblemem: write) -declare void @llvm.trap() #17 +declare void @llvm.trap() #16 declare void @_Z21btAlignedFreeInternalPv(ptr noundef) local_unnamed_addr #2 ; Function Attrs: noreturn nounwind uwtable -define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #18 comdat { - %2 = tail call ptr @__cxa_begin_catch(ptr %0) #22 - tail call void @_ZSt9terminatev() #23 +define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #17 comdat { + %2 = tail call ptr @__cxa_begin_catch(ptr %0) #21 + tail call void @_ZSt9terminatev() #22 unreachable } @@ -5175,16 +5175,16 @@ declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr declare void @_ZSt9terminatev() local_unnamed_addr ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #19 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #18 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) -declare void @llvm.experimental.noalias.scope.decl(metadata) #20 +declare void @llvm.experimental.noalias.scope.decl(metadata) #19 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare float @llvm.sqrt.f32(float) #21 +declare float @llvm.sqrt.f32(float) #20 ; 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>) #21 +declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #20 attributes #0 = { mustprogress 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 #1 = { mustprogress 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" } @@ -5198,18 +5198,17 @@ attributes #8 = { mustprogress nocallback nofree nounwind willreturn memory(argm attributes #9 = { mustprogress nofree 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 #10 = { mustprogress 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 #11 = { 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 #12 = { mustprogress 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 #12 = { mustprogress nofree norecurse nosync nounwind memory(write, 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 #13 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #14 = { 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 #15 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, 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 #16 = { 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 #17 = { cold noreturn nounwind memory(inaccessiblemem: write) } -attributes #18 = { noreturn nounwind uwtable "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 #19 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #20 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } -attributes #21 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #22 = { nounwind } -attributes #23 = { noreturn nounwind } +attributes #15 = { 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 #16 = { cold noreturn nounwind memory(inaccessiblemem: write) } +attributes #17 = { noreturn nounwind uwtable "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 #18 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #19 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } +attributes #20 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #21 = { nounwind } +attributes #22 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/bullet3/optimized/btTetrahedronShape.ll b/bench/bullet3/optimized/btTetrahedronShape.ll index 2fe3b9d185e..0081f2d6058 100644 --- a/bench/bullet3/optimized/btTetrahedronShape.ll +++ b/bench/bullet3/optimized/btTetrahedronShape.ll @@ -81,7 +81,7 @@ invoke.cont2: ; preds = %entry lpad: ; preds = %entry %0 = landingpad { ptr, i32 } cleanup - tail call void @_ZN23btPolyhedralConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %this) #10 + tail call void @_ZN23btPolyhedralConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %this) #9 resume { ptr, i32 } %0 } @@ -130,7 +130,7 @@ invoke.cont3: ; preds = %invoke.cont2 lpad: ; preds = %invoke.cont2, %entry %1 = landingpad { ptr, i32 } cleanup - tail call void @_ZN23btPolyhedralConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %this) #10 + tail call void @_ZN23btPolyhedralConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %this) #9 resume { ptr, i32 } %1 } @@ -174,7 +174,7 @@ invoke.cont4: ; preds = %invoke.cont3 lpad: ; preds = %invoke.cont3, %invoke.cont2, %entry %2 = landingpad { ptr, i32 } cleanup - tail call void @_ZN23btPolyhedralConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %this) #10 + tail call void @_ZN23btPolyhedralConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %this) #9 resume { ptr, i32 } %2 } @@ -228,7 +228,7 @@ invoke.cont5: ; preds = %invoke.cont4 lpad: ; preds = %invoke.cont4, %invoke.cont3, %invoke.cont2, %entry %3 = landingpad { ptr, i32 } cleanup - tail call void @_ZN23btPolyhedralConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %this) #10 + tail call void @_ZN23btPolyhedralConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %this) #9 resume { ptr, i32 } %3 } @@ -274,7 +274,7 @@ return: ; preds = %switch.lookup, %ent ret i32 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define dso_local void @_ZNK16btBU_Simplex1to47getEdgeEiR9btVector3S1_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(184) %this, i32 noundef %i, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(16) %pa, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(16) %pb) unnamed_addr #4 align 2 { entry: %m_numVertices = getelementptr inbounds i8, ptr %this, i64 116 @@ -372,7 +372,7 @@ sw.epilog52: ; preds = %sw.epilog52.sink.sp } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define dso_local void @_ZNK16btBU_Simplex1to49getVertexEiR9btVector3(ptr nocapture noundef nonnull readonly align 8 dereferenceable(184) %this, i32 noundef %i, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(16) %vtx) unnamed_addr #5 align 2 { +define dso_local void @_ZNK16btBU_Simplex1to49getVertexEiR9btVector3(ptr nocapture noundef nonnull readonly align 8 dereferenceable(184) %this, i32 noundef %i, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(16) %vtx) unnamed_addr #4 align 2 { entry: %m_vertices = getelementptr inbounds i8, ptr %this, i64 120 %idxprom = sext i32 %i to i64 @@ -394,34 +394,34 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local void @_ZNK16btBU_Simplex1to48getPlaneER9btVector3S1_i(ptr nocapture nonnull readnone align 8 %this, ptr nocapture nonnull readnone align 4 %0, ptr nocapture nonnull readnone align 4 %1, i32 %2) unnamed_addr #6 align 2 { +define dso_local void @_ZNK16btBU_Simplex1to48getPlaneER9btVector3S1_i(ptr nocapture nonnull readnone align 8 %this, ptr nocapture nonnull readnone align 4 %0, ptr nocapture nonnull readnone align 4 %1, i32 %2) unnamed_addr #5 align 2 { entry: ret void } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef i32 @_ZNK16btBU_Simplex1to48getIndexEi(ptr nocapture nonnull readnone align 8 %this, i32 %0) unnamed_addr #6 align 2 { +define dso_local noundef i32 @_ZNK16btBU_Simplex1to48getIndexEi(ptr nocapture nonnull readnone align 8 %this, i32 %0) unnamed_addr #5 align 2 { entry: ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNK16btBU_Simplex1to48isInsideERK9btVector3f(ptr nocapture nonnull readnone align 8 %this, ptr nocapture nonnull readnone align 4 %0, float %1) unnamed_addr #6 align 2 { +define dso_local noundef zeroext i1 @_ZNK16btBU_Simplex1to48isInsideERK9btVector3f(ptr nocapture nonnull readnone align 8 %this, ptr nocapture nonnull readnone align 4 %0, float %1) unnamed_addr #5 align 2 { entry: ret i1 false } ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr dso_local void @_ZN16btBU_Simplex1to4D2Ev(ptr noundef nonnull align 8 dereferenceable(184) %this) unnamed_addr #7 comdat align 2 { +define linkonce_odr dso_local void @_ZN16btBU_Simplex1to4D2Ev(ptr noundef nonnull align 8 dereferenceable(184) %this) unnamed_addr #6 comdat align 2 { entry: - tail call void @_ZN23btPolyhedralConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %this) #10 + tail call void @_ZN23btPolyhedralConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %this) #9 ret void } ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr dso_local void @_ZN16btBU_Simplex1to4D0Ev(ptr noundef nonnull align 8 dereferenceable(184) %this) unnamed_addr #7 comdat align 2 personality ptr @__gxx_personality_v0 { +define linkonce_odr dso_local void @_ZN16btBU_Simplex1to4D0Ev(ptr noundef nonnull align 8 dereferenceable(184) %this) unnamed_addr #6 comdat align 2 personality ptr @__gxx_personality_v0 { entry: - tail call void @_ZN23btPolyhedralConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %this) #10 + tail call void @_ZN23btPolyhedralConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %this) #9 invoke void @_Z21btAlignedFreeInternalPv(ptr noundef nonnull %this) to label %_ZN16btBU_Simplex1to4dlEPv.exit unwind label %terminate.lpad.i @@ -429,7 +429,7 @@ terminate.lpad.i: ; preds = %entry %0 = landingpad { ptr, i32 } catch ptr null %1 = extractvalue { ptr, i32 } %0, 0 - tail call void @__clang_call_terminate(ptr %1) #11 + tail call void @__clang_call_terminate(ptr %1) #10 unreachable _ZN16btBU_Simplex1to4dlEPv.exit: ; preds = %entry @@ -445,7 +445,7 @@ declare noundef float @_ZNK16btCollisionShape27getContactBreakingThresholdEf(ptr declare void @_ZN34btPolyhedralConvexAabbCachingShape15setLocalScalingERK9btVector3(ptr noundef nonnull align 8 dereferenceable(113), ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #1 ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNK21btConvexInternalShape15getLocalScalingEv(ptr noundef nonnull align 8 dereferenceable(72) %this) unnamed_addr #7 comdat align 2 { +define linkonce_odr dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNK21btConvexInternalShape15getLocalScalingEv(ptr noundef nonnull align 8 dereferenceable(72) %this) unnamed_addr #6 comdat align 2 { entry: %m_localScaling = getelementptr inbounds i8, ptr %this, i64 32 ret ptr %m_localScaling @@ -454,7 +454,7 @@ entry: declare void @_ZNK23btPolyhedralConvexShape21calculateLocalInertiaEfR9btVector3(ptr noundef nonnull align 8 dereferenceable(80), float noundef, ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #1 ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr dso_local noundef ptr @_ZNK16btBU_Simplex1to47getNameEv(ptr noundef nonnull align 8 dereferenceable(184) %this) unnamed_addr #7 comdat align 2 { +define linkonce_odr dso_local noundef ptr @_ZNK16btBU_Simplex1to47getNameEv(ptr noundef nonnull align 8 dereferenceable(184) %this) unnamed_addr #6 comdat align 2 { entry: ret ptr @.str } @@ -466,7 +466,7 @@ entry: } ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr dso_local void @_ZN21btConvexInternalShape9setMarginEf(ptr noundef nonnull align 8 dereferenceable(72) %this, float noundef %margin) unnamed_addr #7 comdat align 2 { +define linkonce_odr dso_local void @_ZN21btConvexInternalShape9setMarginEf(ptr noundef nonnull align 8 dereferenceable(72) %this, float noundef %margin) unnamed_addr #6 comdat align 2 { entry: %m_collisionMargin = getelementptr inbounds i8, ptr %this, i64 64 store float %margin, ptr %m_collisionMargin, align 8 @@ -474,7 +474,7 @@ entry: } ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr dso_local noundef float @_ZNK21btConvexInternalShape9getMarginEv(ptr noundef nonnull align 8 dereferenceable(72) %this) unnamed_addr #7 comdat align 2 { +define linkonce_odr dso_local noundef float @_ZNK21btConvexInternalShape9getMarginEv(ptr noundef nonnull align 8 dereferenceable(72) %this) unnamed_addr #6 comdat align 2 { entry: %m_collisionMargin = getelementptr inbounds i8, ptr %this, i64 64 %0 = load float, ptr %m_collisionMargin, align 8 @@ -482,7 +482,7 @@ entry: } ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr dso_local noundef i32 @_ZNK21btConvexInternalShape28calculateSerializeBufferSizeEv(ptr noundef nonnull align 8 dereferenceable(72) %this) unnamed_addr #7 comdat align 2 { +define linkonce_odr dso_local noundef i32 @_ZNK21btConvexInternalShape28calculateSerializeBufferSizeEv(ptr noundef nonnull align 8 dereferenceable(72) %this) unnamed_addr #6 comdat align 2 { entry: ret i32 56 } @@ -543,13 +543,13 @@ declare void @_ZNK23btPolyhedralConvexShape49batchedUnitVectorGetSupportingVerte declare void @_ZNK21btConvexInternalShape11getAabbSlowERK11btTransformR9btVector3S4_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #1 ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr dso_local noundef i32 @_ZNK21btConvexInternalShape36getNumPreferredPenetrationDirectionsEv(ptr noundef nonnull align 8 dereferenceable(72) %this) unnamed_addr #7 comdat align 2 { +define linkonce_odr dso_local noundef i32 @_ZNK21btConvexInternalShape36getNumPreferredPenetrationDirectionsEv(ptr noundef nonnull align 8 dereferenceable(72) %this) unnamed_addr #6 comdat align 2 { entry: ret i32 0 } ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr dso_local void @_ZNK21btConvexInternalShape32getPreferredPenetrationDirectionEiR9btVector3(ptr noundef nonnull align 8 dereferenceable(72) %this, i32 noundef %index, ptr noundef nonnull align 4 dereferenceable(16) %penetrationVector) unnamed_addr #7 comdat align 2 { +define linkonce_odr dso_local void @_ZNK21btConvexInternalShape32getPreferredPenetrationDirectionEiR9btVector3(ptr noundef nonnull align 8 dereferenceable(72) %this, i32 noundef %index, ptr noundef nonnull align 4 dereferenceable(16) %penetrationVector) unnamed_addr #6 comdat align 2 { entry: ret void } @@ -559,14 +559,14 @@ declare noundef zeroext i1 @_ZN23btPolyhedralConvexShape28initializePolyhedralFe declare void @_ZN23btPolyhedralConvexShape21setPolyhedralFeaturesER18btConvexPolyhedron(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 1) unnamed_addr #1 ; Function Attrs: nounwind -declare void @_ZN23btPolyhedralConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #8 +declare void @_ZN23btPolyhedralConvexShapeD2Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #7 declare void @_Z21btAlignedFreeInternalPv(ptr noundef) local_unnamed_addr #1 ; Function Attrs: noreturn nounwind uwtable -define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #9 comdat { - %2 = tail call ptr @__cxa_begin_catch(ptr %0) #10 - tail call void @_ZSt9terminatev() #11 +define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #8 comdat { + %2 = tail call ptr @__cxa_begin_catch(ptr %0) #9 + tail call void @_ZSt9terminatev() #10 unreachable } @@ -580,14 +580,13 @@ attributes #0 = { mustprogress uwtable "frame-pointer"="all" "min-legal-vector-w attributes #1 = { "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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 #7 = { mustprogress 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 #8 = { 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 #9 = { noreturn nounwind uwtable "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 #10 = { nounwind } -attributes #11 = { noreturn nounwind } +attributes #4 = { 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 #5 = { 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 #6 = { mustprogress 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 #7 = { 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 #8 = { noreturn nounwind uwtable "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 #9 = { nounwind } +attributes #10 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/clamav/optimized/arc4.c.ll b/bench/clamav/optimized/arc4.c.ll index 24e7ee2c37f..99dac37febe 100644 --- a/bench/clamav/optimized/arc4.c.ll +++ b/bench/clamav/optimized/arc4.c.ll @@ -56,8 +56,8 @@ define noundef zeroext i1 @arc4_init(ptr noundef %0, ptr noundef readonly %1, i3 ret i1 %or.cond3.not } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @arc4_apply(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2) local_unnamed_addr #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @arc4_apply(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %0, i64 1024 %5 = load i8, ptr %4, align 4 %6 = getelementptr inbounds i8, ptr %0, i64 1025 @@ -104,7 +104,6 @@ define void @arc4_apply(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 } attributes #0 = { 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 #1 = { 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" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/clamav/optimized/crypt.cpp.ll b/bench/clamav/optimized/crypt.cpp.ll index 5eebc4796b4..73991854fee 100644 --- a/bench/clamav/optimized/crypt.cpp.ll +++ b/bench/clamav/optimized/crypt.cpp.ll @@ -68,7 +68,7 @@ define void @_ZN9CryptData8SetKey13EPKc(ptr nocapture noundef nonnull writeonly define void @_ZN9CryptData8SetKey15EPKc(ptr noundef nonnull align 8 dereferenceable(2516) %0, ptr noundef %1) local_unnamed_addr #1 align 2 { %3 = getelementptr inbounds i8, ptr %0, i64 1208 tail call void @_Z9InitCRC32Pj(ptr noundef nonnull %3) - %4 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #19 + %4 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #18 %5 = tail call noundef i32 @_Z5CRC32jPKvm(i32 noundef -1, ptr noundef %1, i64 noundef %4) %6 = trunc i32 %5 to i16 %7 = getelementptr inbounds i8, ptr %0, i64 2508 @@ -144,8 +144,8 @@ define void @_ZN9CryptData18SetCmt13EncryptionEv(ptr nocapture noundef nonnull w ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZN9CryptData9Decrypt13EPhm(ptr nocapture noundef nonnull align 8 dereferenceable(2516) %0, ptr nocapture noundef %1, i64 noundef %2) local_unnamed_addr #5 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @_ZN9CryptData9Decrypt13EPhm(ptr nocapture noundef nonnull align 8 dereferenceable(2516) %0, ptr nocapture noundef %1, i64 noundef %2) local_unnamed_addr #0 align 2 { %.not4 = icmp eq i64 %2, 0 br i1 %.not4, label %._crit_edge, label %.lr.ph @@ -177,8 +177,8 @@ define void @_ZN9CryptData9Decrypt13EPhm(ptr nocapture noundef nonnull align 8 d ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZN9CryptData7Crypt15EPhm(ptr nocapture noundef nonnull align 8 dereferenceable(2516) %0, ptr nocapture noundef %1, i64 noundef %2) local_unnamed_addr #5 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @_ZN9CryptData7Crypt15EPhm(ptr nocapture noundef nonnull align 8 dereferenceable(2516) %0, ptr nocapture noundef %1, i64 noundef %2) local_unnamed_addr #0 align 2 { %.not4 = icmp eq i64 %2, 0 br i1 %.not4, label %._crit_edge, label %.lr.ph @@ -237,7 +237,7 @@ define void @_ZN9CryptData8SetKey20EPKc(ptr noundef nonnull align 8 dereferencea %4 = getelementptr inbounds i8, ptr %0, i64 1208 tail call void @_Z9InitCRC32Pj(ptr noundef nonnull %4) call void @_Z8strncpyzPcPKcm(ptr noundef nonnull %3, ptr noundef %1, i64 noundef 512) - %5 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %3) #19 + %5 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %3) #18 %6 = getelementptr inbounds i8, ptr %0, i64 2488 store <4 x i32> , ptr %6, align 8 %7 = getelementptr inbounds i8, ptr %0, i64 2232 @@ -335,10 +335,10 @@ define void @_ZN9CryptData8SetKey20EPKc(ptr noundef nonnull align 8 dereferencea declare void @_Z8strncpyzPcPKcm(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @_ZN9CryptData6Swap20EPhS0_(ptr nocapture noundef nonnull readnone align 8 dereferenceable(2516) %0, ptr nocapture noundef %1, ptr nocapture noundef %2) local_unnamed_addr #7 align 2 { +define void @_ZN9CryptData6Swap20EPhS0_(ptr nocapture noundef nonnull readnone align 8 dereferenceable(2516) %0, ptr nocapture noundef %1, ptr nocapture noundef %2) local_unnamed_addr #6 align 2 { %4 = load i8, ptr %1, align 1 %5 = load i8, ptr %2, align 1 store i8 %5, ptr %1, align 1 @@ -793,7 +793,7 @@ define void @_ZN9CryptData8SetKey30EbP11SecPasswordPKwPKh(ptr noundef nonnull al br i1 %exitcond.not, label %.critedge, label %.split, !llvm.loop !16 .critedge: ; preds = %32, %20 - %33 = tail call i64 @wcslen(ptr noundef %3) #19 + %33 = tail call i64 @wcslen(ptr noundef %3) #18 %34 = shl i64 %33, 1 %35 = call noundef ptr @_Z9WideToRawPKwmPhm(ptr noundef %3, i64 noundef %33, ptr noundef nonnull %8, i64 noundef %34) %36 = icmp ne ptr %4, null @@ -1227,7 +1227,7 @@ define void @_ZN9CryptData8SetKey50EbP11SecPasswordPKwPKhS5_jPhS6_(ptr noundef n .critedge: ; preds = %34 call void @_Z9WideToUtfPKwPcm(ptr noundef %3, ptr noundef nonnull %13, i64 noundef 2048) - %35 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %13) #19 + %35 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %13) #18 %36 = shl nuw nsw i32 1, %6 call void @_Z6pbkdf2PKhmS0_mPhS1_S1_j(ptr noundef nonnull %13, i64 noundef %35, ptr noundef %4, i64 noundef 16, ptr noundef nonnull %10, ptr noundef nonnull %12, ptr noundef nonnull %11, i32 noundef %36) call void @_Z9cleandataPvm(ptr noundef nonnull %13, i64 noundef 2048) @@ -1308,7 +1308,7 @@ define void @_ZN9CryptData8SetKey50EbP11SecPasswordPKwPKhS5_jPhS6_(ptr noundef n } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7 declare void @_Z9WideToUtfPKwPcm(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 @@ -1397,7 +1397,7 @@ define void @_ZN9CryptDataC2Ev(ptr noundef nonnull align 8 dereferenceable(2516) 8: ; preds = %.noexc3.i, %.noexc2.i, %.noexc.i, %.noexc %9 = landingpad { ptr, i32 } cleanup - tail call void @_ZN11SecPasswordD1Ev(ptr noundef nonnull align 8 dereferenceable(25) %.ptr) #20 + tail call void @_ZN11SecPasswordD1Ev(ptr noundef nonnull align 8 dereferenceable(25) %.ptr) #19 br label %.body _ZN9CryptData13KDF3CacheItemC2Ev.exit: ; preds = %.noexc3.i @@ -1439,7 +1439,7 @@ _ZN9CryptData13KDF3CacheItemC2Ev.exit: ; preds = %.noexc3.i 16: ; preds = %.noexc4.i, %.noexc3.i29, %.noexc2.i28, %.noexc.i27, %.noexc30 %17 = landingpad { ptr, i32 } cleanup - tail call void @_ZN11SecPasswordD1Ev(ptr noundef nonnull align 8 dereferenceable(25) %.ptr13.ptr) #20 + tail call void @_ZN11SecPasswordD1Ev(ptr noundef nonnull align 8 dereferenceable(25) %.ptr13.ptr) #19 br label %.body31 _ZN9CryptData13KDF5CacheItemC2Ev.exit: ; preds = %.noexc4.i @@ -1475,7 +1475,7 @@ _ZN9CryptData13KDF5CacheItemC2Ev.exit: ; preds = %.noexc4.i .preheader36: ; preds = %.body, %.preheader36 %28 = phi ptr [ %29, %.preheader36 ], [ %.ptr, %.body ] %29 = getelementptr inbounds i8, ptr %28, i64 -80 - tail call void @_ZN9CryptData13KDF3CacheItemD2Ev(ptr noundef nonnull align 8 dereferenceable(73) %29) #20 + tail call void @_ZN9CryptData13KDF3CacheItemD2Ev(ptr noundef nonnull align 8 dereferenceable(73) %29) #19 %30 = icmp eq ptr %29, %0 br i1 %30, label %.loopexit, label %.preheader36 @@ -1493,7 +1493,7 @@ _ZN9CryptData13KDF5CacheItemC2Ev.exit: ; preds = %.noexc4.i %.idx16 = phi i64 [ %.add17, %.preheader ], [ %.idx11, %.body31 ] %.add17 = add nsw i64 %.idx16, -152 %.ptr19 = getelementptr inbounds i8, ptr %0, i64 %.add17 - tail call void @_ZN9CryptData13KDF5CacheItemD2Ev(ptr noundef nonnull align 8 dereferenceable(148) %.ptr19) #20 + tail call void @_ZN9CryptData13KDF5CacheItemD2Ev(ptr noundef nonnull align 8 dereferenceable(148) %.ptr19) #19 %34 = icmp eq i64 %.add17, 328 br i1 %34, label %.loopexit33, label %.preheader @@ -1506,7 +1506,7 @@ _ZN9CryptData13KDF5CacheItemC2Ev.exit: ; preds = %.noexc4.i %.idx20 = phi i64 [ 936, %35 ], [ %.add21, %37 ] %.add21 = add nsw i64 %.idx20, -152 %.ptr23 = getelementptr inbounds i8, ptr %0, i64 %.add21 - tail call void @_ZN9CryptData13KDF5CacheItemD2Ev(ptr noundef nonnull align 8 dereferenceable(148) %.ptr23) #20 + tail call void @_ZN9CryptData13KDF5CacheItemD2Ev(ptr noundef nonnull align 8 dereferenceable(148) %.ptr23) #19 %38 = icmp eq i64 %.add21, 328 br i1 %38, label %.loopexit33, label %37 @@ -1517,7 +1517,7 @@ _ZN9CryptData13KDF5CacheItemC2Ev.exit: ; preds = %.noexc4.i 39: ; preds = %39, %.loopexit33 %40 = phi ptr [ %2, %.loopexit33 ], [ %41, %39 ] %41 = getelementptr inbounds i8, ptr %40, i64 -80 - tail call void @_ZN9CryptData13KDF3CacheItemD2Ev(ptr noundef nonnull align 8 dereferenceable(73) %41) #20 + tail call void @_ZN9CryptData13KDF3CacheItemD2Ev(ptr noundef nonnull align 8 dereferenceable(73) %41) #19 %42 = icmp eq ptr %41, %0 br i1 %42, label %.loopexit, label %39 @@ -1529,7 +1529,7 @@ _ZN9CryptData13KDF5CacheItemC2Ev.exit: ; preds = %.noexc4.i declare i32 @__gxx_personality_v0(...) ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr void @_ZN9CryptData13KDF3CacheItemD2Ev(ptr noundef nonnull align 8 dereferenceable(73) %0) unnamed_addr #9 comdat align 2 personality ptr @__gxx_personality_v0 { +define linkonce_odr void @_ZN9CryptData13KDF3CacheItemD2Ev(ptr noundef nonnull align 8 dereferenceable(73) %0) unnamed_addr #8 comdat align 2 personality ptr @__gxx_personality_v0 { %2 = getelementptr inbounds i8, ptr %0, i64 32 invoke void @_Z9cleandataPvm(ptr noundef nonnull %2, i64 noundef 8) to label %.noexc unwind label %6 @@ -1550,19 +1550,19 @@ define linkonce_odr void @_ZN9CryptData13KDF3CacheItemD2Ev(ptr noundef nonnull a to label %_ZN9CryptData13KDF3CacheItem5CleanEv.exit unwind label %6 _ZN9CryptData13KDF3CacheItem5CleanEv.exit: ; preds = %.noexc2 - tail call void @_ZN11SecPasswordD1Ev(ptr noundef nonnull align 8 dereferenceable(25) %0) #20 + tail call void @_ZN11SecPasswordD1Ev(ptr noundef nonnull align 8 dereferenceable(25) %0) #19 ret void 6: ; preds = %.noexc2, %.noexc1, %.noexc, %1 %7 = landingpad { ptr, i32 } catch ptr null %8 = extractvalue { ptr, i32 } %7, 0 - tail call void @__clang_call_terminate(ptr %8) #21 + tail call void @__clang_call_terminate(ptr %8) #20 unreachable } ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr void @_ZN9CryptData13KDF5CacheItemD2Ev(ptr noundef nonnull align 8 dereferenceable(148) %0) unnamed_addr #9 comdat align 2 personality ptr @__gxx_personality_v0 { +define linkonce_odr void @_ZN9CryptData13KDF5CacheItemD2Ev(ptr noundef nonnull align 8 dereferenceable(148) %0) unnamed_addr #8 comdat align 2 personality ptr @__gxx_personality_v0 { %2 = getelementptr inbounds i8, ptr %0, i64 32 invoke void @_Z9cleandataPvm(ptr noundef nonnull %2, i64 noundef 16) to label %.noexc unwind label %7 @@ -1588,14 +1588,14 @@ define linkonce_odr void @_ZN9CryptData13KDF5CacheItemD2Ev(ptr noundef nonnull a to label %_ZN9CryptData13KDF5CacheItem5CleanEv.exit unwind label %7 _ZN9CryptData13KDF5CacheItem5CleanEv.exit: ; preds = %.noexc3 - tail call void @_ZN11SecPasswordD1Ev(ptr noundef nonnull align 8 dereferenceable(25) %0) #20 + tail call void @_ZN11SecPasswordD1Ev(ptr noundef nonnull align 8 dereferenceable(25) %0) #19 ret void 7: ; preds = %.noexc3, %.noexc2, %.noexc1, %.noexc, %1 %8 = landingpad { ptr, i32 } catch ptr null %9 = extractvalue { ptr, i32 } %8, 0 - tail call void @__clang_call_terminate(ptr %9) #21 + tail call void @__clang_call_terminate(ptr %9) #20 unreachable } @@ -1773,7 +1773,7 @@ define noundef zeroext i1 @_ZN9CryptData12SetCryptKeysEb12CRYPT_METHODP11SecPass 38: ; preds = %17 %39 = getelementptr inbounds i8, ptr %0, i64 1208 call void @_Z9InitCRC32Pj(ptr noundef nonnull %39) - %40 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %11) #19 + %40 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %11) #18 %41 = call noundef i32 @_Z5CRC32jPKvm(i32 noundef -1, ptr noundef nonnull %11, i64 noundef %40) %42 = trunc i32 %41 to i16 %43 = getelementptr inbounds i8, ptr %0, i64 2508 @@ -1867,7 +1867,7 @@ define void @_Z6GetRndPhm(ptr nocapture noundef %0, i64 noundef %1) local_unname store i64 0, ptr %3, align 8 call void @_ZN7RarTime14SetCurrentTimeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) %9 = call noundef i64 @_ZN7RarTime6GetWinEv(ptr noundef nonnull align 8 dereferenceable(8) %3) - %10 = call i64 @clock() #20 + %10 = call i64 @clock() #19 %11 = add i64 %10, %9 %.not.i = icmp eq i64 %1, 0 br i1 %.not.i, label %_ZL13TimeRandomizePhm.exit, label %.lr.ph.preheader.i @@ -1906,13 +1906,13 @@ _ZL13TimeRandomizePhm.exit: ; preds = %.critedge, %._crit_ } ; Function Attrs: nofree nounwind -declare noalias noundef ptr @fopen64(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #10 +declare noalias noundef ptr @fopen64(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #9 ; Function Attrs: nofree nounwind -declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #10 +declare noundef i64 @fread(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #9 ; Function Attrs: nofree nounwind -declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #10 +declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #9 ; Function Attrs: mustprogress uwtable define linkonce_odr noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIwSaIwEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #1 comdat align 2 personality ptr @__gxx_personality_v0 { @@ -1940,11 +1940,11 @@ define linkonce_odr noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vecto br i1 %18, label %19, label %_ZNSt12_Vector_baseIwSaIwEE11_M_allocateEm.exit.i 19: ; preds = %17 - tail call void @_ZSt28__throw_bad_array_new_lengthv() #22 + tail call void @_ZSt28__throw_bad_array_new_lengthv() #21 unreachable _ZNSt12_Vector_baseIwSaIwEE11_M_allocateEm.exit.i: ; preds = %17 - %20 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %9) #23 + %20 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %9) #22 %.not.i.i.i.i.i.i.i.i.i = icmp eq ptr %5, %6 br i1 %.not.i.i.i.i.i.i.i.i.i, label %_ZNSt6vectorIwSaIwEE20_M_allocate_and_copyIN9__gnu_cxx17__normal_iteratorIPKwS1_EEEEPwmT_S9_.exit, label %21 @@ -1957,7 +1957,7 @@ _ZNSt6vectorIwSaIwEE20_M_allocate_and_copyIN9__gnu_cxx17__normal_iteratorIPKwS1_ br i1 %.not.i, label %_ZNSt12_Vector_baseIwSaIwEE13_M_deallocateEPwm.exit, label %22 22: ; preds = %_ZNSt6vectorIwSaIwEE20_M_allocate_and_copyIN9__gnu_cxx17__normal_iteratorIPKwS1_EEEEPwmT_S9_.exit - tail call void @_ZdlPv(ptr noundef nonnull %12) #24 + tail call void @_ZdlPv(ptr noundef nonnull %12) #23 br label %_ZNSt12_Vector_baseIwSaIwEE13_M_deallocateEPwm.exit _ZNSt12_Vector_baseIwSaIwEE13_M_deallocateEPwm.exit: ; preds = %_ZNSt6vectorIwSaIwEE20_M_allocate_and_copyIN9__gnu_cxx17__normal_iteratorIPKwS1_EEEEPwmT_S9_.exit, %22 @@ -2027,25 +2027,25 @@ _ZSt4copyIN9__gnu_cxx17__normal_iteratorIPKwSt6vectorIwSaIwEEEENS1_IPwS6_EEET0_T declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr ; Function Attrs: noreturn nounwind uwtable -define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #11 comdat { - %2 = tail call ptr @__cxa_begin_catch(ptr %0) #20 - tail call void @_ZSt9terminatev() #21 +define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #10 comdat { + %2 = tail call ptr @__cxa_begin_catch(ptr %0) #19 + tail call void @_ZSt9terminatev() #20 unreachable } declare void @_ZSt9terminatev() local_unnamed_addr ; Function Attrs: noreturn -declare void @_ZSt28__throw_bad_array_new_lengthv() local_unnamed_addr #12 +declare void @_ZSt28__throw_bad_array_new_lengthv() local_unnamed_addr #11 ; Function Attrs: nobuiltin allocsize(0) -declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #13 +declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #12 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #6 +declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #5 ; Function Attrs: nobuiltin nounwind -declare void @_ZdlPv(ptr noundef) local_unnamed_addr #14 +declare void @_ZdlPv(ptr noundef) local_unnamed_addr #13 declare void @_Z11sha256_initP14sha256_context(ptr noundef) local_unnamed_addr #2 @@ -2056,64 +2056,63 @@ declare void @_Z11sha256_doneP14sha256_contextPh(ptr noundef, ptr noundef) local declare void @_ZN11SecPasswordC1Ev(ptr noundef nonnull align 8 dereferenceable(25)) unnamed_addr #2 ; Function Attrs: nounwind -declare void @_ZN11SecPasswordD1Ev(ptr noundef nonnull align 8 dereferenceable(25)) unnamed_addr #15 +declare void @_ZN11SecPasswordD1Ev(ptr noundef nonnull align 8 dereferenceable(25)) unnamed_addr #14 declare void @_ZN7RarTime14SetCurrentTimeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 declare noundef i64 @_ZN7RarTime6GetWinEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 ; Function Attrs: nounwind -declare i64 @clock() local_unnamed_addr #15 +declare i64 @clock() local_unnamed_addr #14 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i8 @llvm.fshl.i8(i8, i8, i8) #16 +declare i8 @llvm.fshl.i8(i8, i8, i8) #15 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i16 @llvm.fshl.i16(i16, i16, i16) #16 +declare i16 @llvm.fshl.i16(i16, i16, i16) #15 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #16 +declare i32 @llvm.fshl.i32(i32, i32, i32) #15 ; Function Attrs: nofree nounwind willreturn memory(argmem: read) -declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #17 +declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #16 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #16 +declare i64 @llvm.umin.i64(i64, i64) #15 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #16 +declare i64 @llvm.umax.i64(i64, i64) #15 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #18 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #17 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #18 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #17 attributes #0 = { mustprogress 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 #1 = { mustprogress 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 #2 = { "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 #3 = { 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 #4 = { 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 #5 = { mustprogress 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #7 = { 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 #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #9 = { mustprogress 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 #10 = { 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 #11 = { noreturn nounwind uwtable "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 #12 = { noreturn "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 #13 = { nobuiltin allocsize(0) "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 #14 = { nobuiltin 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 #15 = { 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 #16 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #17 = { nofree nounwind willreturn memory(argmem: read) } -attributes #18 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #19 = { nounwind willreturn memory(read) } -attributes #20 = { nounwind } -attributes #21 = { noreturn nounwind } -attributes #22 = { noreturn } -attributes #23 = { builtin allocsize(0) } -attributes #24 = { builtin nounwind } +attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #6 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #8 = { mustprogress 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 #9 = { 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 #10 = { noreturn nounwind uwtable "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 #11 = { noreturn "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 #12 = { nobuiltin allocsize(0) "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 #13 = { nobuiltin 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 #14 = { 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 #15 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #16 = { nofree nounwind willreturn memory(argmem: read) } +attributes #17 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #18 = { nounwind willreturn memory(read) } +attributes #19 = { nounwind } +attributes #20 = { noreturn nounwind } +attributes #21 = { noreturn } +attributes #22 = { builtin allocsize(0) } +attributes #23 = { builtin nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/clamav/optimized/infblock.c.ll b/bench/clamav/optimized/infblock.c.ll index 343bb904b23..917b6c45244 100644 --- a/bench/clamav/optimized/infblock.c.ll +++ b/bench/clamav/optimized/infblock.c.ll @@ -2182,8 +2182,8 @@ define internal fastcc void @inflate_flush(ptr noundef %0) unnamed_addr #0 { ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -5, 1) i32 @huft_build(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, ptr nocapture noundef writeonly %5, ptr nocapture noundef %6, ptr noundef %7, ptr nocapture noundef %8, ptr noundef %9) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +define internal fastcc range(i32 -5, 1) i32 @huft_build(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, ptr nocapture noundef writeonly %5, ptr nocapture noundef %6, ptr noundef %7, ptr nocapture noundef %8, ptr noundef %9) unnamed_addr #1 { .preheader225.preheader: %10 = alloca [16 x i32], align 16 %11 = alloca [15 x ptr], align 16 @@ -2643,21 +2643,22 @@ define internal fastcc range(i32 -5, 1) i32 @huft_build(ptr nocapture noundef re } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #2 +declare i32 @llvm.umin.i32(i32, i32) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #2 +declare i32 @llvm.umax.i32(i32, i32) #3 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4 attributes #0 = { 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 #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #1 = { nofree norecurse nosync nounwind 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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/clamav/optimized/sha256.cpp.ll b/bench/clamav/optimized/sha256.cpp.ll index 79add294921..5394749f4d0 100644 --- a/bench/clamav/optimized/sha256.cpp.ll +++ b/bench/clamav/optimized/sha256.cpp.ll @@ -15,7 +15,7 @@ define void @_Z11sha256_initP14sha256_context(ptr nocapture noundef writeonly %0 ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_Z14sha256_processP14sha256_contextPKvm(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #1 { %4 = getelementptr inbounds i8, ptr %0, i64 32 %5 = load i64, ptr %4, align 8 @@ -60,7 +60,7 @@ define void @_Z14sha256_processP14sha256_contextPKvm(ptr nocapture noundef %0, p declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal fastcc void @_ZL16sha256_transformP14sha256_context(ptr nocapture noundef %0) unnamed_addr #3 { +define internal fastcc void @_ZL16sha256_transformP14sha256_context(ptr nocapture noundef %0) unnamed_addr #1 { %2 = alloca [64 x i32], align 16 %3 = getelementptr inbounds i8, ptr %0, i64 40 br label %4 @@ -194,7 +194,7 @@ define internal fastcc void @_ZL16sha256_transformP14sha256_context(ptr nocaptur } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @_Z11sha256_doneP14sha256_contextPh(ptr nocapture noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #3 { +define void @_Z11sha256_doneP14sha256_contextPh(ptr nocapture noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #1 { %3 = getelementptr inbounds i8, ptr %0, i64 32 %4 = load i64, ptr %3, align 8 %5 = trunc i64 %4 to i32 @@ -294,24 +294,23 @@ define void @_Z11sha256_doneP14sha256_contextPh(ptr nocapture noundef %0, ptr no } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.bswap.i32(i32) #5 +declare i32 @llvm.bswap.i32(i32) #4 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #6 +declare i64 @llvm.umin.i64(i64, i64) #5 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #6 +declare i32 @llvm.fshl.i32(i32, i32, i32) #5 attributes #0 = { 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 #1 = { mustprogress 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 #1 = { mustprogress 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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #3 = { mustprogress 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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/clamav/optimized/strfn.cpp.ll b/bench/clamav/optimized/strfn.cpp.ll index 35cd4f213b0..d9bca7c47d3 100644 --- a/bench/clamav/optimized/strfn.cpp.ll +++ b/bench/clamav/optimized/strfn.cpp.ll @@ -22,7 +22,7 @@ define noundef nonnull ptr @_Z11NullToEmptyPKw(ptr noundef readnone %0) local_un ret ptr %3 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_Z8IntToExtPKcPcm(ptr noundef readonly %0, ptr noundef writeonly %1, i64 noundef %2) local_unnamed_addr #1 { %.not = icmp eq ptr %1, %0 %.not.i = icmp eq i64 %2, 0 @@ -59,7 +59,7 @@ _Z8strncpyzPcPKcm.exit: ; preds = %.critedge.i, %3 ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_Z8strncpyzPcPKcm(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #1 { %.not = icmp eq i64 %2, 0 br i1 %.not, label %11, label %.preheader @@ -129,10 +129,10 @@ declare noundef zeroext i1 @_Z10CharToWidePKcPwm(ptr noundef, ptr noundef, i64 n define noundef range(i32 -1, 2) i32 @_Z8stricompPKcS0_(ptr noundef readonly %0, ptr noundef readonly %1) local_unnamed_addr #4 { %3 = load i8, ptr %0, align 1 %4 = sext i8 %3 to i32 - %5 = tail call i32 @toupper(i32 noundef %4) #17 + %5 = tail call i32 @toupper(i32 noundef %4) #14 %6 = load i8, ptr %1, align 1 %7 = sext i8 %6 to i32 - %8 = tail call i32 @toupper(i32 noundef %7) #17 + %8 = tail call i32 @toupper(i32 noundef %7) #14 %9 = icmp eq i32 %5, %8 br i1 %9, label %.lr.ph, label %._crit_edge @@ -148,10 +148,10 @@ define noundef range(i32 -1, 2) i32 @_Z8stricompPKcS0_(ptr noundef readonly %0, %14 = getelementptr inbounds i8, ptr %.012, i64 1 %15 = load i8, ptr %13, align 1 %16 = sext i8 %15 to i32 - %17 = tail call i32 @toupper(i32 noundef %16) #17 + %17 = tail call i32 @toupper(i32 noundef %16) #14 %18 = load i8, ptr %14, align 1 %19 = sext i8 %18 to i32 - %20 = tail call i32 @toupper(i32 noundef %19) #17 + %20 = tail call i32 @toupper(i32 noundef %19) #14 %21 = icmp eq i32 %17, %20 br i1 %21, label %.lr.ph, label %._crit_edge, !llvm.loop !6 @@ -178,10 +178,10 @@ define noundef range(i32 -1, 2) i32 @_Z9strnicompPKcS0_m(ptr noundef readonly %0 .preheader: ; preds = %3 %5 = load i8, ptr %0, align 1 %6 = sext i8 %5 to i32 - %7 = tail call i32 @toupper(i32 noundef %6) #17 + %7 = tail call i32 @toupper(i32 noundef %6) #14 %8 = load i8, ptr %1, align 1 %9 = sext i8 %8 to i32 - %10 = tail call i32 @toupper(i32 noundef %9) #17 + %10 = tail call i32 @toupper(i32 noundef %9) #14 %11 = icmp eq i32 %7, %10 br i1 %11, label %.lr.ph, label %._crit_edge @@ -203,10 +203,10 @@ define noundef range(i32 -1, 2) i32 @_Z9strnicompPKcS0_m(ptr noundef readonly %0 %19 = getelementptr inbounds i8, ptr %.0917, i64 1 %20 = load i8, ptr %18, align 1 %21 = sext i8 %20 to i32 - %22 = tail call i32 @toupper(i32 noundef %21) #17 + %22 = tail call i32 @toupper(i32 noundef %21) #14 %23 = load i8, ptr %19, align 1 %24 = sext i8 %23 to i32 - %25 = tail call i32 @toupper(i32 noundef %24) #17 + %25 = tail call i32 @toupper(i32 noundef %24) #14 %26 = icmp eq i32 %22, %25 br i1 %26, label %.lr.ph, label %._crit_edge, !llvm.loop !7 @@ -224,7 +224,7 @@ define noundef range(i32 -1, 2) i32 @_Z9strnicompPKcS0_m(ptr noundef readonly %0 ; Function Attrs: mustprogress nofree nounwind memory(argmem: readwrite) uwtable define noundef ptr @_Z9RemoveEOLPw(ptr noundef returned %0) local_unnamed_addr #6 { - %2 = tail call i64 @wcslen(ptr noundef %0) #17 + %2 = tail call i64 @wcslen(ptr noundef %0) #14 %3 = trunc i64 %2 to i32 %4 = icmp sgt i32 %3, 0 br i1 %4, label %.lr.ph.preheader, label %.critedge @@ -259,7 +259,7 @@ declare i64 @wcslen(ptr nocapture noundef) local_unnamed_addr #7 ; Function Attrs: mustprogress nofree nounwind memory(argmem: readwrite) uwtable define noundef ptr @_Z8RemoveLFPw(ptr noundef returned %0) local_unnamed_addr #6 { - %2 = tail call i64 @wcslen(ptr noundef %0) #17 + %2 = tail call i64 @wcslen(ptr noundef %0) #14 %3 = trunc i64 %2 to i32 %4 = icmp sgt i32 %3, 0 br i1 %4, label %.lr.ph.preheader, label %.critedge @@ -320,7 +320,7 @@ define noundef zeroext i1 @_Z7IsAlphai(i32 noundef %0) local_unnamed_addr #0 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @_Z8BinToHexPKhmPcPwm(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef writeonly %2, ptr noundef writeonly %3, i64 noundef %4) local_unnamed_addr #8 { +define void @_Z8BinToHexPKhmPcPwm(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef writeonly %2, ptr noundef writeonly %3, i64 noundef %4) local_unnamed_addr #1 { %.not72 = icmp eq i64 %1, 0 br i1 %.not72, label %._crit_edge, label %.lr.ph @@ -519,7 +519,7 @@ define noundef i32 @_Z9GetDigitsj(i32 noundef %0) local_unnamed_addr #0 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef zeroext i1 @_Z8LowAsciiPKc(ptr nocapture noundef readonly %0) local_unnamed_addr #9 { +define noundef zeroext i1 @_Z8LowAsciiPKc(ptr nocapture noundef readonly %0) local_unnamed_addr #8 { br label %2 2: ; preds = %2, %1 @@ -536,7 +536,7 @@ define noundef zeroext i1 @_Z8LowAsciiPKc(ptr nocapture noundef readonly %0) loc } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef zeroext i1 @_Z8LowAsciiPKw(ptr nocapture noundef readonly %0) local_unnamed_addr #9 { +define noundef zeroext i1 @_Z8LowAsciiPKw(ptr nocapture noundef readonly %0) local_unnamed_addr #8 { br label %2 2: ; preds = %2, %1 @@ -555,7 +555,7 @@ define noundef zeroext i1 @_Z8LowAsciiPKw(ptr nocapture noundef readonly %0) loc ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) uwtable define noundef i32 @_Z9wcsicompcPKwS0_(ptr noundef readonly %0, ptr noundef readonly %1) local_unnamed_addr #4 { - %3 = tail call i32 @wcscmp(ptr noundef %0, ptr noundef %1) #17 + %3 = tail call i32 @wcscmp(ptr noundef %0, ptr noundef %1) #14 ret i32 %3 } @@ -564,14 +564,14 @@ declare i32 @wcscmp(ptr noundef, ptr noundef) local_unnamed_addr #5 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) uwtable define noundef i32 @_Z10wcsnicompcPKwS0_m(ptr noundef readonly %0, ptr noundef readonly %1, i64 noundef %2) local_unnamed_addr #4 { - %4 = tail call i32 @wcsncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #17 + %4 = tail call i32 @wcsncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #14 ret i32 %4 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @wcsncmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #5 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_Z8wcsncpyzPwPKwm(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #1 { %.not = icmp eq i64 %2, 0 br i1 %.not, label %11, label %.preheader @@ -606,9 +606,9 @@ define void @_Z8wcsncpyzPwPKwm(ptr nocapture noundef writeonly %0, ptr nocapture ret void } -; Function Attrs: mustprogress nofree nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_Z8strncatzPcPKcm(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #10 { - %4 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #17 +; Function Attrs: mustprogress nofree nounwind memory(argmem: readwrite) uwtable +define void @_Z8strncatzPcPKcm(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #6 { + %4 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #14 %5 = icmp ult i64 %4, %2 br i1 %5, label %.preheader.i, label %_Z8strncpyzPcPKcm.exit @@ -647,9 +647,9 @@ _Z8strncpyzPcPKcm.exit: ; preds = %.critedge.i, %3 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #7 -; Function Attrs: mustprogress nofree nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_Z8wcsncatzPwPKwm(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #10 { - %4 = tail call i64 @wcslen(ptr noundef %0) #17 +; Function Attrs: mustprogress nofree nounwind memory(argmem: readwrite) uwtable +define void @_Z8wcsncatzPwPKwm(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #6 { + %4 = tail call i64 @wcslen(ptr noundef %0) #14 %5 = icmp ult i64 %4, %2 br i1 %5, label %.preheader.i, label %_Z8wcsncpyzPwPKwm.exit @@ -686,7 +686,7 @@ _Z8wcsncpyzPwPKwm.exit: ; preds = %.critedge.i, %3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: write) uwtable -define void @_Z4itoalPcm(i64 noundef %0, ptr nocapture noundef writeonly %1, i64 noundef %2) local_unnamed_addr #11 { +define void @_Z4itoalPcm(i64 noundef %0, ptr nocapture noundef writeonly %1, i64 noundef %2) local_unnamed_addr #9 { %4 = alloca [50 x i8], align 16 %5 = icmp slt i64 %0, 0 %.lobit.neg = ashr i64 %0, 63 @@ -747,7 +747,7 @@ define void @_Z4itoalPcm(i64 noundef %0, ptr nocapture noundef writeonly %1, i64 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: write) uwtable -define void @_Z4itoalPwm(i64 noundef %0, ptr nocapture noundef writeonly %1, i64 noundef %2) local_unnamed_addr #11 { +define void @_Z4itoalPwm(i64 noundef %0, ptr nocapture noundef writeonly %1, i64 noundef %2) local_unnamed_addr #9 { %4 = alloca [50 x i32], align 16 %5 = icmp slt i64 %0, 0 %.lobit.neg = ashr i64 %0, 63 @@ -808,10 +808,10 @@ define void @_Z4itoalPwm(i64 noundef %0, ptr nocapture noundef writeonly %1, i64 } ; Function Attrs: mustprogress nounwind uwtable -define void @_Z7fmtitoalPwm(i64 noundef %0, ptr nocapture noundef writeonly %1, i64 noundef %2) local_unnamed_addr #12 { +define void @_Z7fmtitoalPwm(i64 noundef %0, ptr nocapture noundef writeonly %1, i64 noundef %2) local_unnamed_addr #10 { %4 = alloca [50 x i32], align 16 %5 = alloca [30 x i32], align 16 - %6 = tail call ptr @localeconv() #18 + %6 = tail call ptr @localeconv() #15 %7 = getelementptr inbounds i8, ptr %6, i64 8 %8 = load ptr, ptr %7, align 8 %9 = load i8, ptr %8, align 1 @@ -880,7 +880,7 @@ _Z4itoalPwm.exit: ; preds = %.lr.ph.i, %25 br i1 %36, label %.lr.ph, label %._crit_edge .lr.ph: ; preds = %_Z4itoalPwm.exit - %37 = call i64 @wcslen(ptr noundef nonnull %5) #17 + %37 = call i64 @wcslen(ptr noundef nonnull %5) #14 %38 = urem i64 %37, 3 %39 = trunc nuw nsw i64 %38 to i32 %40 = xor i32 %39, 3 @@ -935,7 +935,7 @@ _Z4itoalPwm.exit: ; preds = %.lr.ph.i, %25 } ; Function Attrs: nounwind -declare ptr @localeconv() local_unnamed_addr #13 +declare ptr @localeconv() local_unnamed_addr #11 ; Function Attrs: mustprogress uwtable define noundef nonnull ptr @_Z7GetWidePKc(ptr noundef %0) local_unnamed_addr #2 { @@ -952,8 +952,8 @@ define noundef nonnull ptr @_Z7GetWidePKc(ptr noundef %0) local_unnamed_addr #2 ret ptr %6 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define noundef ptr @_Z11GetCmdParamPKwPwm(ptr noundef readonly %0, ptr noundef writeonly %1, i64 noundef %2) local_unnamed_addr #14 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define noundef ptr @_Z11GetCmdParamPKwPwm(ptr noundef readonly %0, ptr noundef writeonly %1, i64 noundef %2) local_unnamed_addr #1 { br label %4 4: ; preds = %17, %3 @@ -1081,36 +1081,33 @@ define noundef ptr @_Z11GetCmdParamPKwPwm(ptr noundef readonly %0, ptr noundef w } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.abs.i64(i64, i1 immarg) #15 +declare i64 @llvm.abs.i64(i64, i1 immarg) #12 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #15 +declare i64 @llvm.umax.i64(i64, i64) #12 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #16 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #13 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #16 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #13 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 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 #1 = { mustprogress 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 #2 = { mustprogress 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 #3 = { "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 #4 = { mustprogress nofree nounwind willreturn memory(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 #5 = { mustprogress nofree nounwind willreturn memory(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 #6 = { mustprogress nofree 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 #7 = { 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 #8 = { mustprogress 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 #9 = { 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 #10 = { mustprogress nofree 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 #11 = { mustprogress 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 #12 = { mustprogress 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 #13 = { 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 #14 = { mustprogress 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 #15 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #16 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #17 = { nounwind willreturn memory(read) } -attributes #18 = { nounwind } +attributes #8 = { 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 #9 = { mustprogress 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 #10 = { mustprogress 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 #11 = { 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 #12 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #13 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #14 = { nounwind willreturn memory(read) } +attributes #15 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/clamav/optimized/unicode.cpp.ll b/bench/clamav/optimized/unicode.cpp.ll index 573c1c1ecc3..147fb8bb682 100644 --- a/bench/clamav/optimized/unicode.cpp.ll +++ b/bench/clamav/optimized/unicode.cpp.ll @@ -13,7 +13,7 @@ define noundef zeroext i1 @_Z10WideToCharPKwPcm(ptr noundef %0, ptr noundef %1, %6 = alloca ptr, align 8 store i8 0, ptr %1, align 1 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) - %7 = tail call ptr @wcschr(ptr noundef readonly %0, i32 noundef signext 65534) #13 + %7 = tail call ptr @wcschr(ptr noundef readonly %0, i32 noundef signext 65534) #11 %.not28 = icmp eq ptr %7, null br i1 %.not28, label %_ZL13WideToCharMapPKwPcmRb.exit.thread, label %10 @@ -21,7 +21,7 @@ _ZL13WideToCharMapPKwPcmRb.exit.thread: ; preds = %3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) store i64 0, ptr %5, align 8 store ptr %0, ptr %6, align 8 - %8 = call i64 @wcsrtombs(ptr noundef nonnull %1, ptr noundef nonnull %6, i64 noundef %2, ptr noundef nonnull %5) #14 + %8 = call i64 @wcsrtombs(ptr noundef nonnull %1, ptr noundef nonnull %6, i64 noundef %2, ptr noundef nonnull %5) #12 %9 = icmp eq i64 %8, -1 br i1 %9, label %50, label %56 @@ -47,7 +47,7 @@ _ZL13WideToCharMapPKwPcmRb.exit.thread24: ; preds = %10 14: ; preds = %22, %.lr.ph.i %15 = phi ptr [ %12, %.lr.ph.i ], [ %25, %22 ] %.03845.i = phi i32 [ %.038.ph50.i, %.lr.ph.i ], [ %23, %22 ] - %16 = call i64 @__ctype_get_mb_cur_max() #14 + %16 = call i64 @__ctype_get_mb_cur_max() #12 %17 = sub i64 %2, %16 %18 = icmp ugt i64 %17, %13 br i1 %18, label %19, label %_ZL13WideToCharMapPKwPcmRb.exit @@ -80,7 +80,7 @@ _ZL13WideToCharMapPKwPcmRb.exit.thread24: ; preds = %10 33: ; preds = %27 store i64 0, ptr %4, align 8 %34 = getelementptr inbounds i8, ptr %1, i64 %13 - %35 = call i64 @wcrtomb(ptr noundef nonnull %34, i32 noundef signext %20, ptr noundef nonnull %4) #14 + %35 = call i64 @wcrtomb(ptr noundef nonnull %34, i32 noundef signext %20, ptr noundef nonnull %4) #12 %36 = icmp eq i64 %35, -1 br i1 %36, label %37, label %38 @@ -91,8 +91,8 @@ _ZL13WideToCharMapPKwPcmRb.exit.thread24: ; preds = %10 38: ; preds = %37, %33 %.1 = phi i1 [ false, %37 ], [ %.021, %33 ] store i64 0, ptr %4, align 8 - %39 = call i64 @__ctype_get_mb_cur_max() #14 - %40 = call i64 @mbrlen(ptr noundef nonnull %34, i64 noundef %39, ptr noundef nonnull %4) #14 + %39 = call i64 @__ctype_get_mb_cur_max() #12 + %40 = call i64 @mbrlen(ptr noundef nonnull %34, i64 noundef %39, ptr noundef nonnull %4) #12 %41 = trunc i64 %40 to i32 %42 = call i32 @llvm.smax.i32(i32 %41, i32 1) %43 = add i32 %42, %.037.ph51.i @@ -123,7 +123,7 @@ _ZL13WideToCharMapPKwPcmRb.exit: ; preds = %14, %22, %_ZL13Wide br label %59 50: ; preds = %_ZL13WideToCharMapPKwPcmRb.exit.thread - %51 = tail call ptr @__errno_location() #15 + %51 = tail call ptr @__errno_location() #13 %52 = load i32, ptr %51, align 4 %53 = icmp eq i32 %52, 84 br i1 %53, label %54, label %.thread @@ -132,7 +132,7 @@ _ZL13WideToCharMapPKwPcmRb.exit: ; preds = %14, %22, %_ZL13Wide store i64 0, ptr %5, align 8 store ptr %0, ptr %6, align 8 call void @llvm.memset.p0.i64(ptr nonnull align 1 %1, i8 0, i64 %2, i1 false) - %55 = call i64 @wcsrtombs(ptr noundef nonnull %1, ptr noundef nonnull %6, i64 noundef %2, ptr noundef nonnull %5) #14 + %55 = call i64 @wcsrtombs(ptr noundef nonnull %1, ptr noundef nonnull %6, i64 noundef %2, ptr noundef nonnull %5) #12 br label %56 56: ; preds = %54, %_ZL13WideToCharMapPKwPcmRb.exit.thread @@ -182,7 +182,7 @@ define noundef zeroext i1 @_Z10CharToWidePKcPwm(ptr noundef %0, ptr noundef %1, store i32 0, ptr %1, align 4 store i64 0, ptr %5, align 8 store ptr %0, ptr %6, align 8 - %7 = call i64 @mbsrtowcs(ptr noundef nonnull %1, ptr noundef nonnull %6, i64 noundef %2, ptr noundef nonnull %5) #14 + %7 = call i64 @mbsrtowcs(ptr noundef nonnull %1, ptr noundef nonnull %6, i64 noundef %2, ptr noundef nonnull %5) #12 switch i64 %7, label %.thread [ i64 -1, label %10 i64 0, label %8 @@ -215,8 +215,8 @@ define noundef zeroext i1 @_Z10CharToWidePKcPwm(ptr noundef %0, ptr noundef %1, 18: ; preds = %.lr.ph.i store i64 0, ptr %4, align 8 %19 = getelementptr inbounds i32, ptr %1, i64 %13 - %20 = call i64 @__ctype_get_mb_cur_max() #14 - %21 = call i64 @mbrtowc(ptr noundef nonnull %19, ptr noundef nonnull %15, i64 noundef %20, ptr noundef nonnull %4) #14 + %20 = call i64 @__ctype_get_mb_cur_max() #12 + %21 = call i64 @mbrtowc(ptr noundef nonnull %19, ptr noundef nonnull %15, i64 noundef %20, ptr noundef nonnull %4) #12 %or.cond.i = icmp ugt i64 %21, -3 br i1 %or.cond.i, label %22, label %35 @@ -256,8 +256,8 @@ define noundef zeroext i1 @_Z10CharToWidePKcPwm(ptr noundef %0, ptr noundef %1, 35: ; preds = %18 store i64 0, ptr %4, align 8 - %36 = call i64 @__ctype_get_mb_cur_max() #14 - %37 = call i64 @mbrlen(ptr noundef nonnull %15, i64 noundef %36, ptr noundef nonnull %4) #14 + %36 = call i64 @__ctype_get_mb_cur_max() #12 + %37 = call i64 @mbrlen(ptr noundef nonnull %15, i64 noundef %36, ptr noundef nonnull %4) #12 %38 = trunc i64 %37 to i32 %39 = call i32 @llvm.smax.i32(i32 %38, i32 1) %40 = add i32 %39, %.03443.i @@ -300,7 +300,7 @@ _ZL13CharToWideMapPKcPwmRb.exit: ; preds = %.lr.ph.i, %22, %26, ; Function Attrs: nounwind declare i64 @mbsrtowcs(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define noundef ptr @_Z9WideToRawPKwmPhm(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef returned writeonly %2, i64 noundef %3) local_unnamed_addr #4 { %.not = icmp eq i64 %1, 0 br i1 %.not, label %.critedge, label %.lr.ph @@ -336,7 +336,7 @@ define noundef ptr @_Z9WideToRawPKwmPhm(ptr nocapture noundef readonly %0, i64 n } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define noundef ptr @_Z9RawToWidePKhPwm(ptr nocapture noundef readonly %0, ptr noundef returned writeonly %1, i64 noundef %2) local_unnamed_addr #5 { +define noundef ptr @_Z9RawToWidePKhPwm(ptr nocapture noundef readonly %0, ptr noundef returned writeonly %1, i64 noundef %2) local_unnamed_addr #4 { %.not = icmp eq i64 %2, 0 br i1 %.not, label %._crit_edge, label %.lr.ph @@ -364,8 +364,8 @@ define noundef ptr @_Z9RawToWidePKhPwm(ptr nocapture noundef readonly %0, ptr no ret ptr %1 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_Z9WideToUtfPKwPcm(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i64 noundef %2) local_unnamed_addr #6 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @_Z9WideToUtfPKwPcm(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i64 noundef %2) local_unnamed_addr #4 { %4 = load i32, ptr %0, align 4 %.not76 = icmp eq i32 %4, 0 br i1 %.not76, label %.critedge, label %.lr.ph.preheader @@ -517,8 +517,8 @@ define void @_Z9WideToUtfPKwPcm(ptr nocapture noundef readonly %0, ptr nocapture ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef i64 @_Z13WideToUtfSizePKw(ptr nocapture noundef readonly %0) local_unnamed_addr #7 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define noundef i64 @_Z13WideToUtfSizePKw(ptr nocapture noundef readonly %0) local_unnamed_addr #5 { %2 = load i32, ptr %0, align 4 %.not21 = icmp eq i32 %2, 0 br i1 %.not21, label %._crit_edge, label %.lr.ph @@ -589,8 +589,8 @@ define noundef i64 @_Z13WideToUtfSizePKw(ptr nocapture noundef readonly %0) loca ret i64 %.0.lcssa } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define noundef zeroext i1 @_Z9UtfToWidePKcPwm(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i64 noundef %2) local_unnamed_addr #6 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define noundef zeroext i1 @_Z9UtfToWidePKcPwm(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i64 noundef %2) local_unnamed_addr #4 { %4 = add nsw i64 %2, -1 br label %.outer @@ -743,9 +743,9 @@ define noundef zeroext i1 @_Z9UtfToWidePKcPwm(ptr nocapture noundef readonly %0, ret i1 %.140 } -; Function Attrs: mustprogress nofree nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef zeroext i1 @_Z10IsTextUtf8PKh(ptr nocapture noundef readonly %0) local_unnamed_addr #8 { - %2 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #13 +; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) uwtable +define noundef zeroext i1 @_Z10IsTextUtf8PKh(ptr nocapture noundef readonly %0) local_unnamed_addr #6 { + %2 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #11 %.not29.i = icmp eq i64 %2, 0 br i1 %.not29.i, label %_Z10IsTextUtf8PKhm.exit, label %.lr.ph34.i @@ -803,8 +803,8 @@ _Z10IsTextUtf8PKhm.exit: ; preds = %.loopexit.i, %._cri ret i1 %.not27.i } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef zeroext i1 @_Z10IsTextUtf8PKhm(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #7 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define noundef zeroext i1 @_Z10IsTextUtf8PKhm(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #5 { %.not29 = icmp eq i64 %1, 0 br i1 %.not29, label %.loopexit22, label %.lr.ph34 @@ -863,14 +863,14 @@ define noundef zeroext i1 @_Z10IsTextUtf8PKhm(ptr nocapture noundef readonly %0, } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #9 +declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #7 ; Function Attrs: mustprogress nounwind uwtable define noundef range(i32 -1, 2) i32 @_Z8wcsicompPKwS0_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i32, ptr %0, align 4 - %4 = tail call i32 @towupper(i32 noundef %3) #14 + %4 = tail call i32 @towupper(i32 noundef %3) #12 %5 = load i32, ptr %1, align 4 - %6 = tail call i32 @towupper(i32 noundef %5) #14 + %6 = tail call i32 @towupper(i32 noundef %5) #12 %.not16 = icmp eq i32 %4, %6 br i1 %.not16, label %.lr.ph, label %._crit_edge @@ -892,9 +892,9 @@ define noundef range(i32 -1, 2) i32 @_Z8wcsicompPKwS0_(ptr nocapture noundef rea %12 = getelementptr inbounds i8, ptr %.0918, i64 4 %13 = getelementptr inbounds i8, ptr %.01017, i64 4 %14 = load i32, ptr %12, align 4 - %15 = tail call i32 @towupper(i32 noundef %14) #14 + %15 = tail call i32 @towupper(i32 noundef %14) #12 %16 = load i32, ptr %13, align 4 - %17 = tail call i32 @towupper(i32 noundef %16) #14 + %17 = tail call i32 @towupper(i32 noundef %16) #12 %.not = icmp eq i32 %15, %17 br i1 %.not, label %.lr.ph, label %._crit_edge, !llvm.loop !15 @@ -913,9 +913,9 @@ define noundef range(i32 -1, 2) i32 @_Z9wcsnicompPKwS0_m(ptr nocapture noundef r .preheader: ; preds = %3 %5 = load i32, ptr %0, align 4 - %6 = tail call i32 @towupper(i32 noundef %5) #14 + %6 = tail call i32 @towupper(i32 noundef %5) #12 %7 = load i32, ptr %1, align 4 - %8 = tail call i32 @towupper(i32 noundef %7) #14 + %8 = tail call i32 @towupper(i32 noundef %7) #12 %.not21 = icmp eq i32 %6, %8 br i1 %.not21, label %.lr.ph, label %._crit_edge @@ -943,9 +943,9 @@ define noundef range(i32 -1, 2) i32 @_Z9wcsnicompPKwS0_m(ptr nocapture noundef r %17 = getelementptr inbounds i8, ptr %.01124, i64 4 %18 = getelementptr inbounds i8, ptr %.01322, i64 4 %19 = load i32, ptr %17, align 4 - %20 = tail call i32 @towupper(i32 noundef %19) #14 + %20 = tail call i32 @towupper(i32 noundef %19) #12 %21 = load i32, ptr %18, align 4 - %22 = tail call i32 @towupper(i32 noundef %21) #14 + %22 = tail call i32 @towupper(i32 noundef %21) #12 %.not = icmp eq i32 %20, %22 br i1 %.not, label %.lr.ph, label %._crit_edge, !llvm.loop !16 @@ -979,9 +979,9 @@ define noundef ptr @_Z10wcscasestrPKwS0_(ptr noundef readonly %0, ptr nocapture %12 = getelementptr inbounds i32, ptr %1, i64 %.018 %13 = getelementptr i32, ptr %4, i64 %.018 %14 = load i32, ptr %13, align 4 - %15 = tail call noundef i32 @towlower(i32 noundef %14) #14 + %15 = tail call noundef i32 @towlower(i32 noundef %14) #12 %16 = load i32, ptr %12, align 4 - %17 = tail call noundef i32 @towlower(i32 noundef %16) #14 + %17 = tail call noundef i32 @towlower(i32 noundef %16) #12 %.not15 = icmp eq i32 %15, %17 br i1 %.not15, label %7, label %18 @@ -999,7 +999,7 @@ define noundef ptr @_Z10wcscasestrPKwS0_(ptr noundef readonly %0, ptr nocapture ; Function Attrs: mustprogress nounwind uwtable define noundef i32 @_Z8tolowerwi(i32 noundef %0) local_unnamed_addr #0 { - %2 = tail call i32 @towlower(i32 noundef %0) #14 + %2 = tail call i32 @towlower(i32 noundef %0) #12 ret i32 %2 } @@ -1012,7 +1012,7 @@ define noundef ptr @_Z8wcslowerPw(ptr noundef returned %0) local_unnamed_addr #0 .lr.ph: ; preds = %1, %.lr.ph %3 = phi i32 [ %6, %.lr.ph ], [ %2, %1 ] %.08 = phi ptr [ %5, %.lr.ph ], [ %0, %1 ] - %4 = tail call i32 @towlower(i32 noundef %3) #14 + %4 = tail call i32 @towlower(i32 noundef %3) #12 store i32 %4, ptr %.08, align 4 %5 = getelementptr inbounds i8, ptr %.08, i64 4 %6 = load i32, ptr %5, align 4 @@ -1035,7 +1035,7 @@ define noundef ptr @_Z8wcsupperPw(ptr noundef returned %0) local_unnamed_addr #0 .lr.ph: ; preds = %1, %.lr.ph %3 = phi i32 [ %6, %.lr.ph ], [ %2, %1 ] %.08 = phi ptr [ %5, %.lr.ph ], [ %0, %1 ] - %4 = tail call i32 @towupper(i32 noundef %3) #14 + %4 = tail call i32 @towupper(i32 noundef %3) #12 store i32 %4, ptr %.08, align 4 %5 = getelementptr inbounds i8, ptr %.08, i64 4 %6 = load i32, ptr %5, align 4 @@ -1048,12 +1048,12 @@ define noundef ptr @_Z8wcsupperPw(ptr noundef returned %0) local_unnamed_addr #0 ; Function Attrs: mustprogress nounwind uwtable define noundef i32 @_Z8toupperwi(i32 noundef %0) local_unnamed_addr #0 { - %2 = tail call i32 @towupper(i32 noundef %0) #14 + %2 = tail call i32 @towupper(i32 noundef %0) #12 ret i32 %2 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef i32 @_Z5atoiwPKw(ptr nocapture noundef readonly %0) local_unnamed_addr #7 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define noundef i32 @_Z5atoiwPKw(ptr nocapture noundef readonly %0) local_unnamed_addr #5 { %2 = load i32, ptr %0, align 4 %3 = icmp eq i32 %2, 45 %spec.select.idx.i = select i1 %3, i64 4, i64 0 @@ -1086,8 +1086,8 @@ _Z6atoilwPKw.exit: ; preds = %.lr.ph.i, %1 ret i32 %17 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef i64 @_Z6atoilwPKw(ptr nocapture noundef readonly %0) local_unnamed_addr #7 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define noundef i64 @_Z6atoilwPKw(ptr nocapture noundef readonly %0) local_unnamed_addr #5 { %2 = load i32, ptr %0, align 4 %3 = icmp eq i32 %2, 45 %spec.select.idx = select i1 %3, i64 4, i64 0 @@ -1120,7 +1120,7 @@ define noundef i64 @_Z6atoilwPKw(ptr nocapture noundef readonly %0) local_unname } ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) -declare ptr @wcschr(ptr noundef, i32 noundef signext) local_unnamed_addr #10 +declare ptr @wcschr(ptr noundef, i32 noundef signext) local_unnamed_addr #8 ; Function Attrs: nounwind declare i64 @__ctype_get_mb_cur_max() local_unnamed_addr #2 @@ -1135,36 +1135,34 @@ declare i64 @mbrlen(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @mbrtowc(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #11 +declare i64 @llvm.umin.i64(i64, i64) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #11 +declare i32 @llvm.smax.i32(i32, i32) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.abs.i64(i64, i1 immarg) #11 +declare i64 @llvm.abs.i64(i64, i1 immarg) #9 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #12 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #10 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #12 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #10 attributes #0 = { mustprogress 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 #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { 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 #3 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 #4 = { mustprogress 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 #5 = { mustprogress 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 #6 = { mustprogress 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 #7 = { 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 #8 = { mustprogress nofree 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 #9 = { 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 #10 = { mustprogress nofree nounwind willreturn memory(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 #11 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #12 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #13 = { nounwind willreturn memory(read) } -attributes #14 = { nounwind } -attributes #15 = { nounwind willreturn memory(none) } +attributes #4 = { mustprogress 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 #5 = { 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 #6 = { mustprogress nofree 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 #7 = { 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 #8 = { mustprogress nofree nounwind willreturn memory(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 #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #10 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #11 = { nounwind willreturn memory(read) } +attributes #12 = { nounwind } +attributes #13 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/cmake/optimized/MD5.c.ll b/bench/cmake/optimized/MD5.c.ll index 5ffe184131b..745d6f73ef1 100644 --- a/bench/cmake/optimized/MD5.c.ll +++ b/bench/cmake/optimized/MD5.c.ll @@ -8,7 +8,7 @@ target triple = "x86_64-pc-linux-gnu" ; Function Attrs: mustprogress nofree nounwind willreturn memory(inaccessiblemem: readwrite) uwtable define dso_local noalias noundef ptr @cmsysMD5_New() local_unnamed_addr #0 { - %1 = tail call noalias dereferenceable_or_null(88) ptr @malloc(i64 noundef 88) #14 + %1 = tail call noalias dereferenceable_or_null(88) ptr @malloc(i64 noundef 88) #13 ret ptr %1 } @@ -21,7 +21,7 @@ define dso_local void @cmsysMD5_Delete(ptr noundef %0) local_unnamed_addr #2 { br i1 %.not, label %3, label %2 2: ; preds = %1 - tail call void @free(ptr noundef nonnull %0) #15 + tail call void @free(ptr noundef nonnull %0) #14 br label %3 3: ; preds = %1, %2 @@ -41,13 +41,13 @@ define dso_local void @cmsysMD5_Initialize(ptr nocapture noundef writeonly %0) l ret void } -; Function Attrs: nofree nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local void @cmsysMD5_Append(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #5 { %4 = icmp slt i32 %2, 0 br i1 %4, label %5, label %7 5: ; preds = %3 - %6 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #16 + %6 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #15 br label %9 7: ; preds = %3 @@ -316,8 +316,8 @@ md5_finish.exit: ; preds = %77 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local void @cmsysMD5_FinalizeHex(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define dso_local void @cmsysMD5_FinalizeHex(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #7 { %3 = alloca [16 x i8], align 16 call void @cmsysMD5_Finalize(ptr noundef %0, ptr noundef nonnull %3) br label %4 @@ -347,8 +347,8 @@ cmsysMD5_DigestToHex.exit: ; preds = %4 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local void @cmsysMD5_DigestToHex(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #9 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local void @cmsysMD5_DigestToHex(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #8 { br label %3 3: ; preds = %2, %3 @@ -378,10 +378,10 @@ define dso_local void @cmsysMD5_DigestToHex(ptr nocapture noundef readonly %0, p } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #10 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #9 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @md5_process(ptr nocapture noundef %0, ptr noundef %1) unnamed_addr #11 { +define internal fastcc void @md5_process(ptr nocapture noundef %0, ptr noundef %1) unnamed_addr #10 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i32, ptr %3, align 4 %5 = getelementptr inbounds i8, ptr %0, i64 12 @@ -958,31 +958,30 @@ define internal fastcc void @md5_process(ptr nocapture noundef %0, ptr noundef % } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #12 +declare i32 @llvm.fshl.i32(i32, i32, i32) #11 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #13 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #12 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #13 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #12 attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { nofree 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 #5 = { nofree 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 #6 = { 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 #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 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 #9 = { nofree norecurse nosync nounwind 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 #10 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #11 = { 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 #12 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #13 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #14 = { nounwind allocsize(0) } -attributes #15 = { nounwind } -attributes #16 = { nounwind willreturn memory(read) } +attributes #8 = { 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 #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #10 = { 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 #11 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #12 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #13 = { nounwind allocsize(0) } +attributes #14 = { nounwind } +attributes #15 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/cmake/optimized/fse_compress.c.ll b/bench/cmake/optimized/fse_compress.c.ll index 4549b235409..058bfbd7168 100644 --- a/bench/cmake/optimized/fse_compress.c.ll +++ b/bench/cmake/optimized/fse_compress.c.ll @@ -8,7 +8,7 @@ target triple = "x86_64-pc-linux-gnu" @FSE_normalizeCount.rtbTable = internal unnamed_addr constant [8 x i32] [i32 0, i32 473195, i32 504333, i32 520860, i32 550000, i32 700000, i32 750000, i32 830000], align 16 @BIT_mask = internal unnamed_addr constant [32 x i32] [i32 0, i32 1, i32 3, i32 7, i32 15, i32 31, i32 63, i32 127, i32 255, i32 511, i32 1023, i32 2047, i32 4095, i32 8191, i32 16383, i32 32767, i32 65535, i32 131071, i32 262143, i32 524287, i32 1048575, i32 2097151, i32 4194303, i32 8388607, i32 16777215, i32 33554431, i32 67108863, i32 134217727, i32 268435455, i32 536870911, i32 1073741823, i32 2147483647], align 16 -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define dso_local range(i64 -44, 1) i64 @FSE_buildCTable_wksp(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef %4, i64 noundef %5) local_unnamed_addr #0 { %7 = shl nuw i32 1, %3 %8 = add i32 %7, -1 @@ -641,8 +641,8 @@ define dso_local range(i32 1, 0) i32 @FSE_optimalTableLog(i32 noundef %0, i64 no ret i32 %spec.store.select2.i } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local range(i64 -44, 13) i64 @FSE_normalizeCount(ptr nocapture noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local range(i64 -44, 13) i64 @FSE_normalizeCount(ptr nocapture noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %7 = icmp eq i32 %1, 0 %spec.store.select = select i1 %7, i32 11, i32 %1 %8 = icmp ult i32 %spec.store.select, 5 @@ -1009,8 +1009,8 @@ define dso_local noundef i64 @FSE_buildCTable_rle(ptr nocapture noundef writeonl ret i64 0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local i64 @FSE_compress_usingCTable(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +define dso_local i64 @FSE_compress_usingCTable(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #2 { %6 = lshr i64 %3, 7 %7 = add i64 %3, 12 %8 = add i64 %7, %6 @@ -1020,8 +1020,8 @@ define dso_local i64 @FSE_compress_usingCTable(ptr noundef %0, i64 noundef %1, p ret i64 %9 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc i64 @FSE_compress_usingCTable_generic(ptr noundef %0, i64 noundef %1, ptr noundef readonly %2, i64 noundef %3, ptr nocapture noundef readonly %4, i32 noundef %5) unnamed_addr #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +define internal fastcc i64 @FSE_compress_usingCTable_generic(ptr noundef %0, i64 noundef %1, ptr noundef readonly %2, i64 noundef %3, ptr nocapture noundef readonly %4, i32 noundef %5) unnamed_addr #2 { %7 = getelementptr inbounds i8, ptr %2, i64 %3 %8 = icmp ult i64 %3, 3 br i1 %8, label %BIT_closeCStream.exit, label %9 @@ -1441,27 +1441,26 @@ define dso_local noundef i64 @FSE_compressBound(i64 noundef %0) local_unnamed_ad } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.ctlz.i32(i32, i1 immarg) #5 +declare i32 @llvm.ctlz.i32(i32, i1 immarg) #4 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.abs.i32(i32, i1 immarg) #6 +declare i32 @llvm.abs.i32(i32, i1 immarg) #5 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #6 +declare i32 @llvm.umax.i32(i32, i32) #5 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #6 +declare i32 @llvm.umin.i32(i32, i32) #5 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i16 @llvm.umax.i16(i16, i16) #6 +declare i16 @llvm.umax.i16(i16, i16) #5 -attributes #0 = { 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 #0 = { 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 #1 = { 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 #2 = { nofree norecurse nosync nounwind 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 #3 = { 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 #4 = { 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 #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/cmake/optimized/hex.c.ll b/bench/cmake/optimized/hex.c.ll index 812f3149709..50083081d70 100644 --- a/bench/cmake/optimized/hex.c.ll +++ b/bench/cmake/optimized/hex.c.ll @@ -6,7 +6,7 @@ target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"0123456789+/\00", align 1 @url_safe_char_mask = internal unnamed_addr constant [4 x i32] [i32 0, i32 67067904, i32 -2013265922, i32 1207959550], align 16 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define dso_local void @rhash_byte_to_hex(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %.not = icmp eq i32 %3, 0 %5 = select i1 %.not, i8 87, i8 55 @@ -43,7 +43,7 @@ define dso_local void @rhash_byte_to_hex(ptr nocapture noundef writeonly %0, ptr ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define dso_local void @rhash_byte_to_base32(ptr nocapture noundef writeonly %0, ptr noundef readonly %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = getelementptr inbounds i8, ptr %1, i64 %2 %6 = icmp sgt i64 %2, 0 @@ -119,7 +119,7 @@ define dso_local void @rhash_byte_to_base32(ptr nocapture noundef writeonly %0, ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define dso_local void @rhash_byte_to_base64(ptr nocapture noundef writeonly %0, ptr noundef readonly %1, i64 noundef %2) local_unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %1, i64 %2 %5 = icmp sgt i64 %2, 0 @@ -225,7 +225,7 @@ define dso_local void @rhash_byte_to_base64(ptr nocapture noundef writeonly %0, ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define dso_local i64 @rhash_base64_url_encoded_helper(ptr noundef %0, ptr noundef readonly %1, i64 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = alloca [164 x i8], align 16 %.not = icmp eq i32 %3, 0 @@ -560,8 +560,8 @@ rhash_byte_to_base64.exit45: ; preds = %112, %._crit_edge.i ret i64 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local i64 @rhash_urlencode(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local i64 @rhash_urlencode(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %.not = icmp eq ptr %0, null br i1 %.not, label %.preheader, label %21 @@ -669,7 +669,7 @@ define dso_local i64 @rhash_urlencode(ptr noundef %0, ptr nocapture noundef read } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define dso_local i32 @rhash_sprintI64(ptr noundef writeonly %0, i64 noundef %1) local_unnamed_addr #2 { +define dso_local i32 @rhash_sprintI64(ptr noundef writeonly %0, i64 noundef %1) local_unnamed_addr #0 { %3 = alloca [24 x i8], align 16 %4 = icmp eq ptr %0, null br i1 %4, label %5, label %9 @@ -727,16 +727,14 @@ define dso_local i32 @rhash_sprintI64(ptr noundef writeonly %0, i64 noundef %1) } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #4 +declare i64 @llvm.umin.i64(i64, i64) #2 -attributes #0 = { 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 #1 = { nofree norecurse nosync nounwind 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 #2 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #0 = { 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 #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/cmake/optimized/json_reader.cpp.ll b/bench/cmake/optimized/json_reader.cpp.ll index 0ff11b4df1b..f0d069c34c9 100644 --- a/bench/cmake/optimized/json_reader.cpp.ll +++ b/bench/cmake/optimized/json_reader.cpp.ll @@ -236,7 +236,7 @@ define dso_local noundef i32 @_ZN4Json8Features10strictModeEv() local_unnamed_ad ret i32 256 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local noundef zeroext i1 @_ZN4Json6Reader15containsNewLineEPKcS2_(ptr noundef %0, ptr noundef %1) local_unnamed_addr #5 align 2 { %3 = ptrtoint ptr %1 to i64 %4 = ptrtoint ptr %0 to i64 @@ -1682,7 +1682,7 @@ define linkonce_odr dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traits declare void @_ZN4Json17throwRuntimeErrorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #9 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json6Reader12currentValueEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(269) %0) local_unnamed_addr #5 align 2 { +define dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json6Reader12currentValueEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(269) %0) local_unnamed_addr #10 align 2 { %2 = getelementptr inbounds i8, ptr %0, i64 48 %3 = load ptr, ptr %2, align 8, !noalias !67 %4 = getelementptr inbounds i8, ptr %0, i64 56 @@ -3236,7 +3236,7 @@ _ZN4Json6Reader10readStringEv.exit.thread: ; preds = %36, %.lr.ph.i21, %7 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN4Json6Reader10skipSpacesEv(ptr nocapture noundef nonnull align 8 dereferenceable(269) %0) local_unnamed_addr #10 align 2 { +define dso_local void @_ZN4Json6Reader10skipSpacesEv(ptr nocapture noundef nonnull align 8 dereferenceable(269) %0) local_unnamed_addr #11 align 2 { %2 = getelementptr inbounds i8, ptr %0, i64 208 %3 = getelementptr inbounds i8, ptr %0, i64 200 %4 = load ptr, ptr %3, align 8 @@ -3265,7 +3265,7 @@ define dso_local void @_ZN4Json6Reader10skipSpacesEv(ptr nocapture noundef nonnu } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef signext i8 @_ZN4Json6Reader11getNextCharEv(ptr nocapture noundef nonnull align 8 dereferenceable(269) %0) local_unnamed_addr #11 align 2 { +define dso_local noundef signext i8 @_ZN4Json6Reader11getNextCharEv(ptr nocapture noundef nonnull align 8 dereferenceable(269) %0) local_unnamed_addr #12 align 2 { %2 = getelementptr inbounds i8, ptr %0, i64 208 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i8, ptr %0, i64 200 @@ -3285,7 +3285,7 @@ define dso_local noundef signext i8 @_ZN4Json6Reader11getNextCharEv(ptr nocaptur } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN4Json6Reader10readStringEv(ptr nocapture noundef nonnull align 8 dereferenceable(269) %0) local_unnamed_addr #10 align 2 { +define dso_local noundef zeroext i1 @_ZN4Json6Reader10readStringEv(ptr nocapture noundef nonnull align 8 dereferenceable(269) %0) local_unnamed_addr #11 align 2 { %2 = getelementptr inbounds i8, ptr %0, i64 208 %3 = getelementptr inbounds i8, ptr %0, i64 200 %4 = load ptr, ptr %3, align 8 @@ -3454,7 +3454,7 @@ _ZN4Json6Reader17readCStyleCommentEv.exit.thread24: ; preds = %1, %._crit_edge.i } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN4Json6Reader10readNumberEv(ptr nocapture noundef nonnull align 8 dereferenceable(269) %0) local_unnamed_addr #10 align 2 { +define dso_local void @_ZN4Json6Reader10readNumberEv(ptr nocapture noundef nonnull align 8 dereferenceable(269) %0) local_unnamed_addr #11 align 2 { %2 = getelementptr inbounds i8, ptr %0, i64 208 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i8, ptr %0, i64 200 @@ -3558,7 +3558,7 @@ define dso_local void @_ZN4Json6Reader10readNumberEv(ptr nocapture noundef nonnu } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN4Json6Reader5matchEPKci(ptr nocapture noundef nonnull align 8 dereferenceable(269) %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #10 align 2 { +define dso_local noundef zeroext i1 @_ZN4Json6Reader5matchEPKci(ptr nocapture noundef nonnull align 8 dereferenceable(269) %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #11 align 2 { %4 = getelementptr inbounds i8, ptr %0, i64 200 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds i8, ptr %0, i64 208 @@ -3595,7 +3595,7 @@ define dso_local noundef zeroext i1 @_ZN4Json6Reader5matchEPKci(ptr nocapture no } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN4Json6Reader17readCStyleCommentEv(ptr nocapture noundef nonnull align 8 dereferenceable(269) %0) local_unnamed_addr #10 align 2 { +define dso_local noundef zeroext i1 @_ZN4Json6Reader17readCStyleCommentEv(ptr nocapture noundef nonnull align 8 dereferenceable(269) %0) local_unnamed_addr #11 align 2 { %2 = getelementptr inbounds i8, ptr %0, i64 208 %3 = getelementptr inbounds i8, ptr %0, i64 200 %4 = load ptr, ptr %3, align 8 @@ -3647,7 +3647,7 @@ _ZN4Json6Reader11getNextCharEv.exit2: ; preds = %._crit_edge, %18 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN4Json6Reader19readCppStyleCommentEv(ptr nocapture noundef nonnull align 8 dereferenceable(269) %0) local_unnamed_addr #10 align 2 { +define dso_local noundef zeroext i1 @_ZN4Json6Reader19readCppStyleCommentEv(ptr nocapture noundef nonnull align 8 dereferenceable(269) %0) local_unnamed_addr #11 align 2 { %2 = getelementptr inbounds i8, ptr %0, i64 208 %3 = getelementptr inbounds i8, ptr %0, i64 200 %4 = load ptr, ptr %3, align 8 @@ -5586,7 +5586,7 @@ _ZNSt5dequeIN4Json6Reader9ErrorInfoESaIS2_EE17_M_default_appendEm.exit: ; preds } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZNK4Json6Reader24getLocationLineAndColumnEPKcRiS3_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(269) %0, ptr noundef %1, ptr nocapture noundef nonnull align 4 dereferenceable(4) %2, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %3) local_unnamed_addr #10 align 2 { +define dso_local void @_ZNK4Json6Reader24getLocationLineAndColumnEPKcRiS3_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(269) %0, ptr noundef %1, ptr nocapture noundef nonnull align 4 dereferenceable(4) %2, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %3) local_unnamed_addr #11 align 2 { %5 = getelementptr inbounds i8, ptr %0, i64 192 %6 = load ptr, ptr %5, align 8 store i32 0, ptr %2, align 4 @@ -5741,7 +5741,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit: ; pr } ; Function Attrs: nofree nounwind -declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #12 +declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #13 ; Function Attrs: mustprogress uwtable define dso_local void @_ZNK4Json6Reader24getFormatedErrorMessagesB5cxx11Ev(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(269) %1) local_unnamed_addr #6 align 2 { @@ -6284,7 +6284,7 @@ _ZNSt5dequeIN4Json6Reader9ErrorInfoESaIS2_EE9push_backERKS2_.exit: ; preds = %.n } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define dso_local noundef zeroext i1 @_ZNK4Json6Reader4goodEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(269) %0) local_unnamed_addr #13 align 2 { +define dso_local noundef zeroext i1 @_ZNK4Json6Reader4goodEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(269) %0) local_unnamed_addr #5 align 2 { %2 = getelementptr inbounds i8, ptr %0, i64 128 %3 = getelementptr inbounds i8, ptr %0, i64 96 %4 = load ptr, ptr %2, align 8 @@ -6302,7 +6302,7 @@ define dso_local void @_ZN4Json11OurFeatures3allEv(ptr dead_on_unwind noalias no ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #14 -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local noundef zeroext i1 @_ZN4Json9OurReader15containsNewLineEPKcS2_(ptr noundef %0, ptr noundef %1) local_unnamed_addr #5 align 2 { %3 = ptrtoint ptr %1 to i64 %4 = ptrtoint ptr %0 to i64 @@ -6875,7 +6875,7 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_.exit34: ; } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN4Json9OurReader7skipBomEb(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0, i1 noundef zeroext %1) local_unnamed_addr #11 align 2 { +define dso_local void @_ZN4Json9OurReader7skipBomEb(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0, i1 noundef zeroext %1) local_unnamed_addr #12 align 2 { br i1 %1, label %3, label %.tail.thread 3: ; preds = %2 @@ -7978,7 +7978,7 @@ _ZNSt5dequeIN4Json9OurReader9ErrorInfoESaIS2_EE9push_backERKS2_.exit: ; preds = } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json9OurReader12currentValueEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(297) %0) local_unnamed_addr #5 align 2 { +define dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN4Json9OurReader12currentValueEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(297) %0) local_unnamed_addr #10 align 2 { %2 = getelementptr inbounds i8, ptr %0, i64 48 %3 = load ptr, ptr %2, align 8, !noalias !245 %4 = getelementptr inbounds i8, ptr %0, i64 56 @@ -10012,7 +10012,7 @@ _ZN4Json9OurReader10readStringEv.exit.thread: ; preds = %42, %.lr.ph.i29, %7 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN4Json9OurReader10skipSpacesEv(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0) local_unnamed_addr #10 align 2 { +define dso_local void @_ZN4Json9OurReader10skipSpacesEv(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0) local_unnamed_addr #11 align 2 { %2 = getelementptr inbounds i8, ptr %0, i64 208 %3 = getelementptr inbounds i8, ptr %0, i64 200 %4 = load ptr, ptr %3, align 8 @@ -10041,7 +10041,7 @@ define dso_local void @_ZN4Json9OurReader10skipSpacesEv(ptr nocapture noundef no } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef signext i8 @_ZN4Json9OurReader11getNextCharEv(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0) local_unnamed_addr #11 align 2 { +define dso_local noundef signext i8 @_ZN4Json9OurReader11getNextCharEv(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0) local_unnamed_addr #12 align 2 { %2 = getelementptr inbounds i8, ptr %0, i64 208 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i8, ptr %0, i64 200 @@ -10061,7 +10061,7 @@ define dso_local noundef signext i8 @_ZN4Json9OurReader11getNextCharEv(ptr nocap } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN4Json9OurReader10readStringEv(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0) local_unnamed_addr #10 align 2 { +define dso_local noundef zeroext i1 @_ZN4Json9OurReader10readStringEv(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0) local_unnamed_addr #11 align 2 { %2 = getelementptr inbounds i8, ptr %0, i64 208 %3 = getelementptr inbounds i8, ptr %0, i64 200 %4 = load ptr, ptr %3, align 8 @@ -10103,7 +10103,7 @@ _ZN4Json9OurReader11getNextCharEv.exit._crit_edge: ; preds = %_ZN4Json9OurReader } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN4Json9OurReader21readStringSingleQuoteEv(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0) local_unnamed_addr #10 align 2 { +define dso_local noundef zeroext i1 @_ZN4Json9OurReader21readStringSingleQuoteEv(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0) local_unnamed_addr #11 align 2 { %2 = getelementptr inbounds i8, ptr %0, i64 208 %3 = getelementptr inbounds i8, ptr %0, i64 200 %4 = load ptr, ptr %3, align 8 @@ -10279,7 +10279,7 @@ _ZN4Json9OurReader17readCStyleCommentEPb.exit.thread22: ; preds = %1, %._crit_ed } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN4Json9OurReader10readNumberEb(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0, i1 noundef zeroext %1) local_unnamed_addr #10 align 2 { +define dso_local noundef zeroext i1 @_ZN4Json9OurReader10readNumberEb(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0, i1 noundef zeroext %1) local_unnamed_addr #11 align 2 { %3 = getelementptr inbounds i8, ptr %0, i64 208 %4 = load ptr, ptr %3, align 8 %5 = getelementptr inbounds i8, ptr %0, i64 200 @@ -10399,7 +10399,7 @@ define dso_local noundef zeroext i1 @_ZN4Json9OurReader10readNumberEb(ptr nocapt } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN4Json9OurReader5matchEPKci(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #10 align 2 { +define dso_local noundef zeroext i1 @_ZN4Json9OurReader5matchEPKci(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #11 align 2 { %4 = getelementptr inbounds i8, ptr %0, i64 200 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds i8, ptr %0, i64 208 @@ -10436,7 +10436,7 @@ define dso_local noundef zeroext i1 @_ZN4Json9OurReader5matchEPKci(ptr nocapture } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN4Json9OurReader17readCStyleCommentEPb(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #10 align 2 { +define dso_local noundef zeroext i1 @_ZN4Json9OurReader17readCStyleCommentEPb(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #11 align 2 { store i8 0, ptr %1, align 1 %3 = getelementptr inbounds i8, ptr %0, i64 208 %4 = getelementptr inbounds i8, ptr %0, i64 200 @@ -10494,7 +10494,7 @@ _ZN4Json9OurReader11getNextCharEv.exit5: ; preds = %._crit_edge, %23 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN4Json9OurReader19readCppStyleCommentEv(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0) local_unnamed_addr #10 align 2 { +define dso_local noundef zeroext i1 @_ZN4Json9OurReader19readCppStyleCommentEv(ptr nocapture noundef nonnull align 8 dereferenceable(297) %0) local_unnamed_addr #11 align 2 { %2 = getelementptr inbounds i8, ptr %0, i64 208 %3 = getelementptr inbounds i8, ptr %0, i64 200 %4 = load ptr, ptr %3, align 8 @@ -12245,7 +12245,7 @@ _ZNSt5dequeIN4Json9OurReader9ErrorInfoESaIS2_EE17_M_default_appendEm.exit: ; pre } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZNK4Json9OurReader24getLocationLineAndColumnEPKcRiS3_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(297) %0, ptr noundef %1, ptr nocapture noundef nonnull align 4 dereferenceable(4) %2, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %3) local_unnamed_addr #10 align 2 { +define dso_local void @_ZNK4Json9OurReader24getLocationLineAndColumnEPKcRiS3_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(297) %0, ptr noundef %1, ptr nocapture noundef nonnull align 4 dereferenceable(4) %2, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %3) local_unnamed_addr #11 align 2 { %5 = getelementptr inbounds i8, ptr %0, i64 192 %6 = load ptr, ptr %5, align 8 store i32 0, ptr %2, align 4 @@ -16697,15 +16697,15 @@ attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stac attributes #2 = { nofree nounwind } attributes #3 = { 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 #4 = { 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 #5 = { 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 #5 = { 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 #6 = { mustprogress 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 = { mustprogress 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 #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #9 = { noreturn "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 #10 = { mustprogress 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 #11 = { 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 #12 = { 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 #13 = { 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 #10 = { 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 #11 = { mustprogress 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 #12 = { 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 #13 = { 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 #14 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #15 = { nobuiltin 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 #16 = { nobuiltin allocsize(0) "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" } diff --git a/bench/cmake/optimized/sha256.c.ll b/bench/cmake/optimized/sha256.c.ll index b12ec43923c..bde59732bd2 100644 --- a/bench/cmake/optimized/sha256.c.ll +++ b/bench/cmake/optimized/sha256.c.ll @@ -18,7 +18,7 @@ define dso_local void @lzma_sha256_init(ptr nocapture noundef writeonly %0) loca ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define dso_local void @lzma_sha256_update(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #2 { %.not20 = icmp eq i64 %1, 0 br i1 %.not20, label %._crit_edge, label %.lr.ph @@ -58,7 +58,7 @@ define dso_local void @lzma_sha256_update(ptr nocapture noundef readonly %0, i64 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal fastcc void @process(ptr nocapture noundef %0) unnamed_addr #3 { +define internal fastcc void @process(ptr nocapture noundef %0) unnamed_addr #2 { %2 = getelementptr inbounds i8, ptr %0, i64 64 %.sroa.0.0.copyload.i = load i32, ptr %2, align 4 %.sroa.90.0..sroa_idx.i = getelementptr inbounds i8, ptr %0, i64 68 @@ -1198,7 +1198,7 @@ transform.exit: ; preds = %434 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define dso_local void @lzma_sha256_finish(ptr nocapture noundef %0) local_unnamed_addr #3 { +define dso_local void @lzma_sha256_finish(ptr nocapture noundef %0) local_unnamed_addr #2 { %2 = getelementptr inbounds i8, ptr %0, i64 96 %3 = load i64, ptr %2, align 8 %4 = and i64 %3, 63 @@ -1250,22 +1250,21 @@ define dso_local void @lzma_sha256_finish(ptr nocapture noundef %0) local_unname } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.bswap.i64(i64) #4 +declare i64 @llvm.bswap.i64(i64) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.bswap.i32(i32) #4 +declare i32 @llvm.bswap.i32(i32) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #4 +declare i32 @llvm.fshl.i32(i32, i32, i32) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #4 +declare i64 @llvm.umin.i64(i64, i64) #3 attributes #0 = { 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 #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #2 = { 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 #3 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #2 = { 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/cmake/optimized/xmltok.c.ll b/bench/cmake/optimized/xmltok.c.ll index 7253f7eae2d..41be05930a9 100644 --- a/bench/cmake/optimized/xmltok.c.ll +++ b/bench/cmake/optimized/xmltok.c.ll @@ -934,8 +934,8 @@ define internal i32 @initScanContent(ptr nocapture noundef readonly %0, ptr noun ret i32 %5 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @initUpdatePosition(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef %3) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @initUpdatePosition(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef %3) #3 { %5 = ptrtoint ptr %2 to i64 %6 = ptrtoint ptr %1 to i64 %7 = sub i64 %5, %6 @@ -3516,7 +3516,7 @@ define internal range(i32 -4, 29) i32 @normal_entityValueTok(ptr noundef %0, ptr ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal range(i32 0, 2) i32 @normal_nameMatchesAscii(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3) #6 { %5 = load i8, ptr %3, align 1 %.not13 = icmp eq i8 %5, 0 @@ -3558,7 +3558,7 @@ define internal range(i32 0, 2) i32 @normal_nameMatchesAscii(ptr nocapture readn ret i32 %.09 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal noundef i32 @normal_nameLength(ptr nocapture noundef readonly %0, ptr noundef %1) #6 { %3 = getelementptr inbounds i8, ptr %0, i64 128 br label %4 @@ -3603,7 +3603,7 @@ define internal noundef i32 @normal_nameLength(ptr nocapture noundef readonly %0 br label %4 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal noundef ptr @normal_skipS(ptr nocapture noundef readonly %0, ptr noundef readonly %1) #6 { %3 = getelementptr inbounds i8, ptr %0, i64 128 br label %4 @@ -3628,8 +3628,8 @@ define internal noundef ptr @normal_skipS(ptr nocapture noundef readonly %0, ptr ret ptr %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal i32 @normal_getAtts(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef %3) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal i32 @normal_getAtts(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef %3) #3 { %5 = getelementptr inbounds i8, ptr %0, i64 128 br label %6 @@ -3896,7 +3896,7 @@ define internal i32 @normal_getAtts(ptr nocapture noundef readonly %0, ptr nound br label %.backedge } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal i32 @normal_charRefNumber(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #6 { %3 = getelementptr inbounds i8, ptr %1, i64 2 %4 = load i8, ptr %3, align 1 @@ -4116,8 +4116,8 @@ define internal range(i32 0, 63) i32 @normal_predefinedEntityName(ptr nocapture ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @normal_updatePosition(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef %3) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @normal_updatePosition(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef %3) #3 { %5 = ptrtoint ptr %2 to i64 %6 = ptrtoint ptr %1 to i64 %7 = sub i64 %5, %6 @@ -4215,8 +4215,8 @@ define internal void @normal_updatePosition(ptr nocapture noundef readonly %0, p ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal range(i32 0, 2) i32 @normal_isPublicId(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 0, 2) i32 @normal_isPublicId(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #3 { %5 = getelementptr inbounds i8, ptr %2, i64 -1 %6 = ptrtoint ptr %5 to i64 %.01417 = getelementptr inbounds i8, ptr %1, i64 1 @@ -8202,8 +8202,8 @@ little2_scanLt.exit: ; preds = %159, %179, %211, %2 ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal range(i32 -4, 41) i32 @little2_cdataSectionTok(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 -4, 41) i32 @little2_cdataSectionTok(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #3 { %.not = icmp ult ptr %1, %2 br i1 %.not, label %5, label %109 @@ -8447,8 +8447,8 @@ unicode_byte_type.exit92.thread101: ; preds = %unicode_byte_type.e ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal range(i32 -4, 40) i32 @little2_attributeValueTok(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 -4, 40) i32 @little2_attributeValueTok(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #3 { %.not = icmp ult ptr %1, %2 br i1 %.not, label %5, label %58 @@ -8593,8 +8593,8 @@ unicode_byte_type.exit.thread: ; preds = %unicode_byte_type.e ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal i32 @little2_entityValueTok(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal i32 @little2_entityValueTok(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #3 { %.not = icmp ult ptr %1, %2 br i1 %.not, label %5, label %60 @@ -8736,7 +8736,7 @@ unicode_byte_type.exit.thread: ; preds = %unicode_byte_type.e ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal range(i32 0, 2) i32 @little2_nameMatchesAscii(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3) #6 { %5 = load i8, ptr %3, align 1 %.not14 = icmp eq i8 %5, 0 @@ -8784,7 +8784,7 @@ define internal range(i32 0, 2) i32 @little2_nameMatchesAscii(ptr nocapture read ret i32 %.010 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal i32 @little2_nameLength(ptr nocapture noundef readonly %0, ptr noundef %1) #6 { %3 = getelementptr inbounds i8, ptr %0, i64 128 br label %4 @@ -8847,7 +8847,7 @@ unicode_byte_type.exit.thread16: ; preds = %unicode_byte_type.e br label %4 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal ptr @little2_skipS(ptr nocapture noundef readonly %0, ptr noundef readonly %1) #6 { %3 = getelementptr inbounds i8, ptr %1, i64 1 %4 = load i8, ptr %3, align 1 @@ -8882,8 +8882,8 @@ unicode_byte_type.exit.thread: ; preds = %unicode_byte_type.e ret ptr %.0.lcssa } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal i32 @little2_getAtts(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef %3) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal i32 @little2_getAtts(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef %3) #3 { %5 = getelementptr inbounds i8, ptr %0, i64 128 br label %unicode_byte_type.exit.thread @@ -9194,7 +9194,7 @@ unicode_byte_type.exit113: ; preds = %95, %95, %95, %95, br label %unicode_byte_type.exit.thread.backedge } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal i32 @little2_charRefNumber(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #6 { %3 = getelementptr inbounds i8, ptr %1, i64 4 %4 = getelementptr inbounds i8, ptr %1, i64 5 @@ -9511,8 +9511,8 @@ define internal range(i32 0, 63) i32 @little2_predefinedEntityName(ptr nocapture ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @little2_updatePosition(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef %3) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @little2_updatePosition(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef %3) #3 { %5 = ptrtoint ptr %2 to i64 %6 = ptrtoint ptr %1 to i64 %7 = sub i64 %5, %6 @@ -9628,8 +9628,8 @@ unicode_byte_type.exit.thread: ; preds = %11, %unicode_byte_t ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal range(i32 0, 2) i32 @little2_isPublicId(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 0, 2) i32 @little2_isPublicId(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #3 { %5 = getelementptr inbounds i8, ptr %2, i64 -2 %6 = ptrtoint ptr %5 to i64 %.02027 = getelementptr inbounds i8, ptr %1, i64 2 @@ -9946,8 +9946,8 @@ define internal range(i32 0, 3) i32 @little2_toUtf16(ptr nocapture readnone %0, ret i32 %.022 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -27, 28) i32 @little2_scanLit(i32 noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef writeonly %4) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -27, 28) i32 @little2_scanLit(i32 noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef writeonly %4) unnamed_addr #3 { %6 = ptrtoint ptr %3 to i64 %7 = ptrtoint ptr %2 to i64 %8 = sub i64 %6, %7 @@ -10073,8 +10073,8 @@ unicode_byte_type.exit.thread39: ; preds = %11, %15, %unicode_b ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -2, 34) i32 @little2_scanDecl(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -2, 34) i32 @little2_scanDecl(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #3 { %5 = ptrtoint ptr %2 to i64 %6 = ptrtoint ptr %1 to i64 %7 = sub i64 %5, %6 @@ -10195,8 +10195,8 @@ unicode_byte_type.exit43.thread: ; preds = %27, %unicode_byte_t ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc i32 @little2_scanPi(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc i32 @little2_scanPi(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #3 { %5 = alloca i32, align 4 %6 = ptrtoint ptr %2 to i64 %7 = ptrtoint ptr %1 to i64 @@ -10613,8 +10613,8 @@ unicode_byte_type.exit110.thread: ; preds = %50, %50, %50, %50, ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -2, 29) i32 @little2_scanPercent(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -2, 29) i32 @little2_scanPercent(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #3 { %5 = ptrtoint ptr %2 to i64 %6 = ptrtoint ptr %1 to i64 %7 = sub i64 %5, %6 @@ -10795,8 +10795,8 @@ unicode_byte_type.exit65.thread70: ; preds = %43, %43, %43, %43, ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -20, 21) i32 @little2_scanPoundName(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -20, 21) i32 @little2_scanPoundName(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #3 { %5 = ptrtoint ptr %2 to i64 %6 = ptrtoint ptr %1 to i64 %7 = sub i64 %5, %6 @@ -10975,8 +10975,8 @@ unicode_byte_type.exit63.thread68: ; preds = %42, %42, %42, %42, ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -2, 14) i32 @little2_scanComment(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -2, 14) i32 @little2_scanComment(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #3 { %5 = ptrtoint ptr %2 to i64 %6 = ptrtoint ptr %1 to i64 %7 = sub i64 %5, %6 @@ -11198,8 +11198,8 @@ define internal fastcc range(i32 0, 2) i32 @little2_checkPiTarget(ptr noundef %0 ret i32 %.013 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -2, 11) i32 @little2_scanRef(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -2, 11) i32 @little2_scanRef(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #3 { %5 = ptrtoint ptr %2 to i64 %6 = ptrtoint ptr %1 to i64 %7 = sub i64 %5, %6 @@ -13723,8 +13723,8 @@ big2_scanLt.exit: ; preds = %163, %183, %216, %2 ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal range(i32 -4, 41) i32 @big2_cdataSectionTok(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 -4, 41) i32 @big2_cdataSectionTok(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #3 { %.not = icmp ult ptr %1, %2 br i1 %.not, label %5, label %111 @@ -13970,8 +13970,8 @@ unicode_byte_type.exit92.thread101: ; preds = %unicode_byte_type.e ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal range(i32 -4, 40) i32 @big2_attributeValueTok(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 -4, 40) i32 @big2_attributeValueTok(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #3 { %.not = icmp ult ptr %1, %2 br i1 %.not, label %5, label %58 @@ -14116,8 +14116,8 @@ unicode_byte_type.exit.thread: ; preds = %unicode_byte_type.e ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal i32 @big2_entityValueTok(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal i32 @big2_entityValueTok(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #3 { %.not = icmp ult ptr %1, %2 br i1 %.not, label %5, label %60 @@ -14259,7 +14259,7 @@ unicode_byte_type.exit.thread: ; preds = %unicode_byte_type.e ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal range(i32 0, 2) i32 @big2_nameMatchesAscii(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3) #6 { %5 = load i8, ptr %3, align 1 %.not14 = icmp eq i8 %5, 0 @@ -14307,7 +14307,7 @@ define internal range(i32 0, 2) i32 @big2_nameMatchesAscii(ptr nocapture readnon ret i32 %.010 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal noundef i32 @big2_nameLength(ptr nocapture noundef readonly %0, ptr noundef %1) #6 { %3 = getelementptr inbounds i8, ptr %0, i64 128 br label %4 @@ -14371,7 +14371,7 @@ unicode_byte_type.exit.thread16: ; preds = %unicode_byte_type.e br label %4 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal noundef ptr @big2_skipS(ptr nocapture noundef readonly %0, ptr noundef readonly %1) #6 { %3 = load i8, ptr %1, align 1 %cond8 = icmp eq i8 %3, 0 @@ -14405,8 +14405,8 @@ unicode_byte_type.exit.thread: ; preds = %unicode_byte_type.e ret ptr %.0.lcssa } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal i32 @big2_getAtts(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef %3) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal i32 @big2_getAtts(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef %3) #3 { %5 = getelementptr inbounds i8, ptr %0, i64 128 br label %unicode_byte_type.exit.thread @@ -14719,7 +14719,7 @@ unicode_byte_type.exit113: ; preds = %96, %96, %96, %96, br label %unicode_byte_type.exit.thread.backedge } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal i32 @big2_charRefNumber(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #6 { %3 = getelementptr inbounds i8, ptr %1, i64 4 %4 = load i8, ptr %3, align 1 @@ -15036,8 +15036,8 @@ define internal range(i32 0, 63) i32 @big2_predefinedEntityName(ptr nocapture re ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @big2_updatePosition(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef %3) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @big2_updatePosition(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef %3) #3 { %5 = ptrtoint ptr %2 to i64 %6 = ptrtoint ptr %1 to i64 %7 = sub i64 %5, %6 @@ -15153,8 +15153,8 @@ unicode_byte_type.exit.thread: ; preds = %11, %unicode_byte_t ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal range(i32 0, 2) i32 @big2_isPublicId(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 0, 2) i32 @big2_isPublicId(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) #3 { %5 = getelementptr inbounds i8, ptr %2, i64 -2 %6 = ptrtoint ptr %5 to i64 %.02027 = getelementptr inbounds i8, ptr %1, i64 2 @@ -15476,8 +15476,8 @@ define internal range(i32 0, 3) i32 @big2_toUtf16(ptr nocapture readnone %0, ptr ret i32 %.022 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -27, 28) i32 @big2_scanLit(i32 noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef writeonly %4) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -27, 28) i32 @big2_scanLit(i32 noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef writeonly %4) unnamed_addr #3 { %6 = ptrtoint ptr %3 to i64 %7 = ptrtoint ptr %2 to i64 %8 = sub i64 %6, %7 @@ -15604,8 +15604,8 @@ unicode_byte_type.exit.thread39: ; preds = %11, %14, %unicode_b ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -2, 34) i32 @big2_scanDecl(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -2, 34) i32 @big2_scanDecl(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #3 { %5 = ptrtoint ptr %2 to i64 %6 = ptrtoint ptr %1 to i64 %7 = sub i64 %5, %6 @@ -15726,8 +15726,8 @@ unicode_byte_type.exit43.thread: ; preds = %27, %unicode_byte_t ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc i32 @big2_scanPi(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc i32 @big2_scanPi(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #3 { %5 = alloca i32, align 4 %6 = ptrtoint ptr %2 to i64 %7 = ptrtoint ptr %1 to i64 @@ -16149,8 +16149,8 @@ unicode_byte_type.exit110.thread: ; preds = %51, %51, %51, %51, ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -2, 29) i32 @big2_scanPercent(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -2, 29) i32 @big2_scanPercent(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #3 { %5 = ptrtoint ptr %2 to i64 %6 = ptrtoint ptr %1 to i64 %7 = sub i64 %5, %6 @@ -16335,8 +16335,8 @@ unicode_byte_type.exit65.thread70: ; preds = %45, %45, %45, %45, ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -20, 21) i32 @big2_scanPoundName(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -20, 21) i32 @big2_scanPoundName(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #3 { %5 = ptrtoint ptr %2 to i64 %6 = ptrtoint ptr %1 to i64 %7 = sub i64 %5, %6 @@ -16519,8 +16519,8 @@ unicode_byte_type.exit63.thread68: ; preds = %44, %44, %44, %44, ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -2, 14) i32 @big2_scanComment(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -2, 14) i32 @big2_scanComment(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #3 { %5 = ptrtoint ptr %2 to i64 %6 = ptrtoint ptr %1 to i64 %7 = sub i64 %5, %6 @@ -16743,8 +16743,8 @@ define internal fastcc range(i32 0, 2) i32 @big2_checkPiTarget(ptr noundef %0, p ret i32 %.013 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -2, 11) i32 @big2_scanRef(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -2, 11) i32 @big2_scanRef(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #3 { %5 = ptrtoint ptr %2 to i64 %6 = ptrtoint ptr %1 to i64 %7 = sub i64 %5, %6 @@ -17846,7 +17846,7 @@ attributes #2 = { mustprogress nofree norecurse nosync nounwind willreturn memor attributes #3 = { 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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #5 = { 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 #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 #6 = { 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 #7 = { 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 #8 = { 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 #9 = { 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" } diff --git a/bench/coreutils-rs/optimized/4kgrj997pbefuahr.ll b/bench/coreutils-rs/optimized/4kgrj997pbefuahr.ll index 50454cf6ee7..457ba639281 100644 --- a/bench/coreutils-rs/optimized/4kgrj997pbefuahr.ll +++ b/bench/coreutils-rs/optimized/4kgrj997pbefuahr.ll @@ -22,7 +22,7 @@ target triple = "x86_64-unknown-linux-gnu" define hidden void @"_ZN4core3ptr348drop_in_place$LT$alloc..boxed..Box$LT$alloc..collections..btree..node..InternalNode$LT$signal_hook_registry..ActionId$C$alloc..sync..Arc$LT$dyn$u20$core..ops..function..Fn$LT$$LP$$RF$libc..unix..linux_like..linux..gnu..b64..x86_64..siginfo_t$C$$RP$$GT$$u2b$Output$u20$$u3d$$u20$$LP$$RP$$u2b$core..marker..Send$u2b$core..marker..Sync$GT$$GT$$GT$$GT$17hd12862b04809c495E.llvm.7194218321710918526"(ptr noalias nocapture noundef readonly align 8 dereferenceable(8) %0) unnamed_addr #0 personality ptr @rust_eh_personality { tail call void @llvm.experimental.noalias.scope.decl(metadata !4) %2 = load ptr, ptr %0, align 8, !alias.scope !4, !nonnull !7, !noundef !7 - tail call void @__rust_dealloc(ptr noundef nonnull %2, i64 noundef 464, i64 noundef 16) #17, !noalias !4 + tail call void @__rust_dealloc(ptr noundef nonnull %2, i64 noundef 464, i64 noundef 16) #18, !noalias !4 ret void } @@ -44,7 +44,7 @@ define hidden void @"_ZN5alloc11collections5btree4node115NodeRef$LT$alloc..colle br i1 %11, label %19, label %12 12: ; preds = %5 - invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.1b1ecc5a59702dc3410236be57893067.12, i64 noundef 32, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.14) #18 + invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.1b1ecc5a59702dc3410236be57893067.12, i64 noundef 32, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.14) #19 to label %18 unwind label %13 13: ; preds = %12 @@ -85,7 +85,7 @@ define hidden void @"_ZN5alloc11collections5btree4node115NodeRef$LT$alloc..colle 30: ; preds = %17 %31 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #19 + call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #20 unreachable "_ZN4core3ptr237drop_in_place$LT$alloc..sync..Arc$LT$dyn$u20$core..ops..function..Fn$LT$$LP$$RF$libc..unix..linux_like..linux..gnu..b64..x86_64..siginfo_t$C$$RP$$GT$$u2b$Output$u20$$u3d$$u20$$LP$$RP$$u2b$core..marker..Send$u2b$core..marker..Sync$GT$$GT$17h095bfa5828580209E.exit": ; preds = %13, %17 @@ -99,7 +99,7 @@ define hidden { ptr, i64 } @"_ZN5alloc11collections5btree4node117NodeRef$LT$allo br i1 %2, label %3, label %"_ZN5alloc11collections5btree4node21LeafNode$LT$K$C$V$GT$3new17h095aa6e8752ceee1E.llvm.7194218321710918526.exit" 3: ; preds = %0 - tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 16, i64 noundef 368) #18 + tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 16, i64 noundef 368) #19 unreachable "_ZN5alloc11collections5btree4node21LeafNode$LT$K$C$V$GT$3new17h095aa6e8752ceee1E.llvm.7194218321710918526.exit": ; preds = %0 @@ -128,7 +128,7 @@ define hidden void @"_ZN5alloc11collections5btree4node119NodeRef$LT$alloc..colle %13 = phi ptr [ @anon.1b1ecc5a59702dc3410236be57893067.15, %6 ], [ @anon.1b1ecc5a59702dc3410236be57893067.12, %16 ] %14 = phi i64 [ 48, %6 ], [ 32, %16 ] %15 = phi ptr [ @anon.1b1ecc5a59702dc3410236be57893067.16, %6 ], [ @anon.1b1ecc5a59702dc3410236be57893067.17, %16 ] - invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 %13, i64 noundef %14, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %15) #18 + invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 %13, i64 noundef %14, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %15) #19 to label %.cont unwind label %34 .cont: ; preds = %.invoke @@ -178,7 +178,7 @@ define hidden void @"_ZN5alloc11collections5btree4node119NodeRef$LT$alloc..colle 39: ; preds = %38 %40 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #19 + call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #20 unreachable "_ZN4core3ptr237drop_in_place$LT$alloc..sync..Arc$LT$dyn$u20$core..ops..function..Fn$LT$$LP$$RF$libc..unix..linux_like..linux..gnu..b64..x86_64..siginfo_t$C$$RP$$GT$$u2b$Output$u20$$u3d$$u20$$LP$$RP$$u2b$core..marker..Send$u2b$core..marker..Sync$GT$$GT$17h095bfa5828580209E.exit": ; preds = %34, %38 @@ -192,7 +192,7 @@ define hidden { ptr, i64 } @"_ZN5alloc11collections5btree4node121NodeRef$LT$allo br i1 %4, label %5, label %"_ZN5alloc11collections5btree4node121NodeRef$LT$alloc..collections..btree..node..marker..Owned$C$K$C$V$C$alloc..collections..btree..node..marker..Internal$GT$17from_new_internal17h95ef192582767e83E.llvm.7194218321710918526.exit" 5: ; preds = %2 - tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 16, i64 noundef 464) #18 + tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 16, i64 noundef 464) #19 unreachable "_ZN5alloc11collections5btree4node121NodeRef$LT$alloc..collections..btree..node..marker..Owned$C$K$C$V$C$alloc..collections..btree..node..marker..Internal$GT$17from_new_internal17h95ef192582767e83E.llvm.7194218321710918526.exit": ; preds = %2 @@ -268,7 +268,7 @@ define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..colle %.sink20.i11 = phi i64 [ %9, %8 ], [ %7, %"_ZN5alloc11collections5btree4node40NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$6ascend17hbd4c92ed80ad9677E.llvm.7194218321710918526.exit.thread" ] %.not = icmp eq i64 %2, 0 %. = select i1 %.not, i64 368, i64 464 - tail call void @__rust_dealloc(ptr noundef nonnull %1, i64 noundef %., i64 noundef 16) #17 + tail call void @__rust_dealloc(ptr noundef nonnull %1, i64 noundef %., i64 noundef 16) #18 store ptr %5, ptr %0, align 8 %.sroa.5.0..sroa_idx2 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %.sink20.i11, ptr %.sroa.5.0..sroa_idx2, align 8 @@ -422,7 +422,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec br i1 %43, label %44, label %"_ZN5alloc11collections5btree4node21LeafNode$LT$K$C$V$GT$3new17h095aa6e8752ceee1E.llvm.7194218321710918526.exit.i.i" 44: ; preds = %.noexc.i - invoke void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 16, i64 noundef 368) #18 + invoke void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 16, i64 noundef 368) #19 to label %.noexc31.i unwind label %75, !noalias !37 .noexc31.i: ; preds = %44 @@ -468,7 +468,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec to label %74 unwind label %72, !noalias !58 67: ; preds = %"_ZN5alloc11collections5btree4node21LeafNode$LT$K$C$V$GT$3new17h095aa6e8752ceee1E.llvm.7194218321710918526.exit.i.i" - invoke void @_ZN4core5slice5index24slice_end_index_len_fail17h334e37603831ab29E(i64 noundef %50, i64 noundef 11, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.20) #18 + invoke void @_ZN4core5slice5index24slice_end_index_len_fail17h334e37603831ab29E(i64 noundef %50, i64 noundef 11, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.20) #19 to label %.noexc11.i.i.i unwind label %62, !noalias !58 .noexc11.i.i.i: ; preds = %67 @@ -480,7 +480,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec br i1 %70, label %77, label %71 71: ; preds = %68 - invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.1b1ecc5a59702dc3410236be57893067.18, i64 noundef 40, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.19) #18 + invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.1b1ecc5a59702dc3410236be57893067.18, i64 noundef 40, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.19) #19 to label %.noexc12.i.i.i unwind label %62, !noalias !58 .noexc12.i.i.i: ; preds = %71 @@ -489,11 +489,11 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec 72: ; preds = %66 %73 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #19, !noalias !58 + call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #20, !noalias !58 unreachable 74: ; preds = %66, %62 - call void @__rust_dealloc(ptr noundef nonnull %42, i64 noundef 368, i64 noundef 16) #17, !noalias !51 + call void @__rust_dealloc(ptr noundef nonnull %42, i64 noundef 368, i64 noundef 16) #18, !noalias !51 %.pre.i = load ptr, ptr %13, align 8, !alias.scope !68, !noalias !33 br label %97 @@ -536,7 +536,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec 95: ; preds = %101 %96 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #19, !noalias !37 + call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #20, !noalias !37 unreachable 97: ; preds = %75, %74 @@ -617,7 +617,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec br i1 %125, label %126, label %127 126: ; preds = %._crit_edge - invoke void @_ZN4core6option13unwrap_failed17hcb3a256a9f1ca882E(ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.11) #18 + invoke void @_ZN4core6option13unwrap_failed17hcb3a256a9f1ca882E(ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.11) #19 to label %139 unwind label %137, !noalias !102 127: ; preds = %._crit_edge @@ -633,7 +633,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec br i1 %131, label %132, label %140 132: ; preds = %.noexc.i.i - invoke void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 16, i64 noundef 464) #18 + invoke void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 16, i64 noundef 464) #19 to label %.noexc3.i.i unwind label %133, !noalias !108 .noexc3.i.i: ; preds = %132 @@ -648,7 +648,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec 135: ; preds = %133 %136 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #19, !noalias !108 + call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #20, !noalias !108 unreachable 137: ; preds = %126 @@ -685,7 +685,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec %149 = phi ptr [ @anon.1b1ecc5a59702dc3410236be57893067.15, %140 ], [ @anon.1b1ecc5a59702dc3410236be57893067.12, %152 ] %150 = phi i64 [ 48, %140 ], [ 32, %152 ] %151 = phi ptr [ @anon.1b1ecc5a59702dc3410236be57893067.16, %140 ], [ @anon.1b1ecc5a59702dc3410236be57893067.17, %152 ] - invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 %149, i64 noundef %150, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %151) #18 + invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 %149, i64 noundef %150, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %151) #19 to label %.cont.i.i unwind label %155, !noalias !119 .cont.i.i: ; preds = %.invoke.i.i @@ -711,7 +711,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec 160: ; preds = %159 %161 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #19, !noalias !119 + call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #20, !noalias !119 unreachable 162: ; preds = %137, %133 @@ -729,7 +729,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec 167: ; preds = %165 %168 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #19 + call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #20 unreachable 169: ; preds = %.lr.ph, %.loopexit @@ -752,7 +752,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec br i1 %179, label %181, label %180 180: ; preds = %169 - invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.1b1ecc5a59702dc3410236be57893067.23, i64 noundef 53, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.24) #18 + invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.1b1ecc5a59702dc3410236be57893067.23, i64 noundef 53, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.24) #19 to label %185 unwind label %.loopexit.split-lp, !noalias !135 181: ; preds = %169 @@ -873,7 +873,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec br i1 %233, label %234, label %"_ZN5alloc11collections5btree4node25InternalNode$LT$K$C$V$GT$3new17h08ff522e523b1f9eE.llvm.7194218321710918526.exit.i.i" 234: ; preds = %.noexc.i37 - invoke void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 16, i64 noundef 464) #18 + invoke void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 16, i64 noundef 464) #19 to label %.noexc20.i unwind label %.loopexit.split-lp, !noalias !135 .noexc20.i: ; preds = %234 @@ -920,7 +920,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec to label %300 unwind label %261, !noalias !162 256: ; preds = %"_ZN5alloc11collections5btree4node25InternalNode$LT$K$C$V$GT$3new17h08ff522e523b1f9eE.llvm.7194218321710918526.exit.i.i" - invoke void @_ZN4core5slice5index24slice_end_index_len_fail17h334e37603831ab29E(i64 noundef %240, i64 noundef 11, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.20) #18 + invoke void @_ZN4core5slice5index24slice_end_index_len_fail17h334e37603831ab29E(i64 noundef %240, i64 noundef 11, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.20) #19 to label %.noexc11.i.i.i40 unwind label %251, !noalias !162 .noexc11.i.i.i40: ; preds = %256 @@ -932,7 +932,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec br i1 %259, label %268, label %260 260: ; preds = %257 - invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.1b1ecc5a59702dc3410236be57893067.18, i64 noundef 40, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.19) #18 + invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.1b1ecc5a59702dc3410236be57893067.18, i64 noundef 40, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.19) #19 to label %.noexc12.i.i.i39 unwind label %251, !noalias !162 .noexc12.i.i.i39: ; preds = %260 @@ -941,7 +941,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec 261: ; preds = %255 %262 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #19, !noalias !162 + call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #20, !noalias !162 unreachable 263: ; preds = %286, %283 @@ -981,7 +981,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec br i1 %282, label %283, label %284 283: ; preds = %268 - invoke void @_ZN4core5slice5index24slice_end_index_len_fail17h334e37603831ab29E(i64 noundef %281, i64 noundef 12, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.22) #18 + invoke void @_ZN4core5slice5index24slice_end_index_len_fail17h334e37603831ab29E(i64 noundef %281, i64 noundef 12, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.22) #19 to label %.noexc7.i.i unwind label %263, !noalias !152 .noexc7.i.i: ; preds = %283 @@ -992,7 +992,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec br i1 %285, label %287, label %286 286: ; preds = %284 - invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.1b1ecc5a59702dc3410236be57893067.18, i64 noundef 40, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.19) #18 + invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.1b1ecc5a59702dc3410236be57893067.18, i64 noundef 40, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.1b1ecc5a59702dc3410236be57893067.19) #19 to label %.noexc8.i.i unwind label %263, !noalias !152 .noexc8.i.i: ; preds = %286 @@ -1025,12 +1025,12 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec 298: ; preds = %267 %299 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #19, !noalias !152 + call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #20, !noalias !152 unreachable 300: ; preds = %267, %263, %255, %251 %.pn.i.i = phi { ptr, i32 } [ %252, %255 ], [ %252, %251 ], [ %264, %267 ], [ %264, %263 ] - call void @__rust_dealloc(ptr noundef nonnull %232, i64 noundef 464, i64 noundef 16) #17, !noalias !197 + call void @__rust_dealloc(ptr noundef nonnull %232, i64 noundef 464, i64 noundef 16) #18, !noalias !197 %.pre.i38 = load ptr, ptr %10, align 8, !alias.scope !202, !noalias !130 br label %341 @@ -1104,7 +1104,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec 339: ; preds = %345 %340 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #19, !noalias !135 + call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #20, !noalias !135 unreachable 341: ; preds = %.loopexit85, %.loopexit.split-lp, %300 @@ -1178,7 +1178,7 @@ define hidden noundef nonnull align 16 ptr @"_ZN5alloc11collections5btree4node21 br i1 %2, label %3, label %"_ZN5alloc5boxed16Box$LT$T$C$A$GT$13new_uninit_in17hbefb356980d95217E.exit" 3: ; preds = %0 - tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 16, i64 noundef 368) #18 + tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 16, i64 noundef 368) #19 unreachable "_ZN5alloc5boxed16Box$LT$T$C$A$GT$13new_uninit_in17hbefb356980d95217E.exit": ; preds = %0 @@ -1196,7 +1196,7 @@ define hidden noundef nonnull align 16 ptr @"_ZN5alloc11collections5btree4node25 br i1 %2, label %3, label %"_ZN5alloc5boxed16Box$LT$T$C$A$GT$13new_uninit_in17he425c46dd93d2404E.exit" 3: ; preds = %0 - tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 16, i64 noundef 464) #18 + tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 16, i64 noundef 464) #19 unreachable "_ZN5alloc5boxed16Box$LT$T$C$A$GT$13new_uninit_in17he425c46dd93d2404E.exit": ; preds = %0 @@ -1303,8 +1303,8 @@ default.unreachable: ; preds = %"_ZN110_$LT$core..i br label %5 } -; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$11search_node17h79bb542db0fdc743E.llvm.7194218321710918526"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 16 dereferenceable(16) %3) unnamed_addr #7 personality ptr @rust_eh_personality { +; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable +define hidden void @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$11search_node17h79bb542db0fdc743E.llvm.7194218321710918526"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 16 dereferenceable(16) %3) unnamed_addr #8 personality ptr @rust_eh_personality { tail call void @llvm.experimental.noalias.scope.decl(metadata !237) %5 = getelementptr inbounds i8, ptr %1, i64 362 %6 = load i16, ptr %5, align 2, !noalias !240, !noundef !7 @@ -1353,7 +1353,7 @@ default.unreachable: ; preds = %"_ZN110_$LT$core..i } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: none) uwtable -define hidden { i64, i64 } @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$14find_key_index17ha40bc800a3d16e51E.llvm.7194218321710918526"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, ptr noalias nocapture noundef readonly align 16 dereferenceable(16) %1, i64 noundef %2) unnamed_addr #8 personality ptr @rust_eh_personality { +define hidden { i64, i64 } @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$14find_key_index17ha40bc800a3d16e51E.llvm.7194218321710918526"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, ptr noalias nocapture noundef readonly align 16 dereferenceable(16) %1, i64 noundef %2) unnamed_addr #9 personality ptr @rust_eh_personality { %4 = load ptr, ptr %0, align 8, !nonnull !7, !noundef !7 %5 = getelementptr inbounds i8, ptr %4, i64 362 %6 = load i16, ptr %5, align 2, !noundef !7 @@ -1419,7 +1419,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc %9 = add i64 %.sroa.5.09, 1 %.not.i = icmp eq i64 %.sroa.5.09, 0 %..i = select i1 %.not.i, i64 368, i64 464 - tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.02.08, i64 noundef %..i, i64 noundef 16) #17, !noalias !248 + tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.02.08, i64 noundef %..i, i64 noundef 16) #18, !noalias !248 %10 = getelementptr inbounds i8, ptr %8, i64 352 %11 = load ptr, ptr %10, align 16, !noalias !243, !noundef !7 %12 = icmp eq ptr %11, null @@ -1430,7 +1430,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc %.sroa.5.0.lcssa = phi i64 [ %3, %1 ], [ %9, %.lr.ph ] %.not.i6 = icmp eq i64 %.sroa.5.0.lcssa, 0 %..i7 = select i1 %.not.i6, i64 368, i64 464 - tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.02.0.lcssa, i64 noundef %..i7, i64 noundef 16) #17, !noalias !248 + tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.02.0.lcssa, i64 noundef %..i7, i64 noundef 16) #18, !noalias !248 ret void } @@ -1509,7 +1509,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc 26: ; preds = %.lr.ph %.not.i59 = icmp eq i64 %.sroa.5.065, 0 %..i60 = select i1 %.not.i59, i64 368, i64 464 - tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.0.066, i64 noundef %..i60, i64 noundef 16) #17, !noalias !261 + tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.0.066, i64 noundef %..i60, i64 noundef 16) #18, !noalias !261 store ptr null, ptr %0, align 8 br label %25 @@ -1519,7 +1519,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc %30 = load i16, ptr %29, align 8, !noalias !256 %.not.i = icmp eq i64 %.sroa.5.065, 0 %..i = select i1 %.not.i, i64 368, i64 464 - tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.0.066, i64 noundef %..i, i64 noundef 16) #17, !noalias !261 + tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.0.066, i64 noundef %..i, i64 noundef 16) #18, !noalias !261 %31 = getelementptr inbounds i8, ptr %23, i64 362 %32 = load i16, ptr %31, align 2, !noundef !7 %.not = icmp ult i16 %30, %32 @@ -1527,7 +1527,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc } ; Function Attrs: inlinehint nounwind nonlazybind uwtable -define hidden void @"_ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$10deallocate17h611556c63980c062E.llvm.7194218321710918526"(ptr noalias nocapture noundef nonnull readonly align 1 %0, ptr noundef nonnull %1, i64 noundef %2, i64 noundef %3) unnamed_addr #9 { +define hidden void @"_ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$10deallocate17h611556c63980c062E.llvm.7194218321710918526"(ptr noalias nocapture noundef nonnull readonly align 1 %0, ptr noundef nonnull %1, i64 noundef %2, i64 noundef %3) unnamed_addr #10 { %5 = icmp eq i64 %3, 0 br i1 %5, label %9, label %6 @@ -1535,7 +1535,7 @@ define hidden void @"_ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allo %7 = add i64 %2, -1 %8 = icmp sgt i64 %7, -1 tail call void @llvm.assume(i1 %8) - tail call void @__rust_dealloc(ptr noundef nonnull %1, i64 noundef %3, i64 noundef %2) #17 + tail call void @__rust_dealloc(ptr noundef nonnull %1, i64 noundef %3, i64 noundef %2) #18 br label %9 9: ; preds = %4, %6 @@ -1543,53 +1543,53 @@ define hidden void @"_ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allo } ; Function Attrs: inlinehint nounwind nonlazybind uwtable -define hidden void @"_ZN72_$LT$alloc..boxed..Box$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h933ce46dee169c09E.llvm.7194218321710918526"(ptr noalias nocapture noundef readonly align 8 dereferenceable(8) %0) unnamed_addr #9 { +define hidden void @"_ZN72_$LT$alloc..boxed..Box$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h933ce46dee169c09E.llvm.7194218321710918526"(ptr noalias nocapture noundef readonly align 8 dereferenceable(8) %0) unnamed_addr #10 { %2 = load ptr, ptr %0, align 8, !nonnull !7, !noundef !7 - tail call void @__rust_dealloc(ptr noundef nonnull %2, i64 noundef 464, i64 noundef 16) #17 + tail call void @__rust_dealloc(ptr noundef nonnull %2, i64 noundef 464, i64 noundef 16) #18 ret void } ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN4core5slice5index24slice_end_index_len_fail17h334e37603831ab29E(i64 noundef, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #10 +declare void @_ZN4core5slice5index24slice_end_index_len_fail17h334e37603831ab29E(i64 noundef, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #11 ; Function Attrs: nonlazybind uwtable declare noundef i32 @rust_eh_personality(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) unnamed_addr #2 ; Function Attrs: cold noreturn nounwind nonlazybind uwtable -declare void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() unnamed_addr #11 +declare void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() unnamed_addr #12 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN4core6option13unwrap_failed17hcb3a256a9f1ca882E(ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #10 +declare void @_ZN4core6option13unwrap_failed17hcb3a256a9f1ca882E(ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #11 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #10 +declare void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #11 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #12 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #13 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #13 +declare void @llvm.assume(i1 noundef) #14 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #12 +declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #13 ; Function Attrs: nounwind nonlazybind allockind("free") uwtable -declare void @__rust_dealloc(ptr allocptr noundef, i64 noundef, i64 noundef) unnamed_addr #14 +declare void @__rust_dealloc(ptr allocptr noundef, i64 noundef, i64 noundef) unnamed_addr #15 ; Function Attrs: nonlazybind uwtable declare hidden void @"_ZN5alloc4sync16Arc$LT$T$C$A$GT$9drop_slow17h77ed05fc5ad9939bE"(ptr noalias noundef align 8 dereferenceable(16)) unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #15 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #16 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #15 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #16 ; Function Attrs: nonlazybind uwtable declare hidden noundef align 16 ptr @"_ZN5alloc5boxed16Box$LT$T$C$A$GT$17try_new_uninit_in17he30eae9f9535e3c4E.llvm.15580692891847984352"() unnamed_addr #2 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef, i64 noundef) unnamed_addr #10 +declare void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef, i64 noundef) unnamed_addr #11 ; Function Attrs: nonlazybind uwtable declare hidden noundef align 16 ptr @"_ZN5alloc5boxed16Box$LT$T$C$A$GT$17try_new_uninit_in17h561a19048cac075bE.llvm.15580692891847984352"() unnamed_addr #2 @@ -1598,7 +1598,7 @@ declare hidden noundef align 16 ptr @"_ZN5alloc5boxed16Box$LT$T$C$A$GT$17try_new declare void @"_ZN93_$LT$alloc..collections..btree..mem..replace..PanicGuard$u20$as$u20$core..ops..drop..Drop$GT$4drop17he7f40e69e6f26b83E"(ptr noalias noundef nonnull align 1) unnamed_addr #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) -declare void @llvm.experimental.noalias.scope.decl(metadata) #16 +declare void @llvm.experimental.noalias.scope.decl(metadata) #17 attributes #0 = { nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #1 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } @@ -1608,18 +1608,19 @@ attributes #4 = { mustprogress nofree norecurse nosync nounwind nonlazybind will attributes #5 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #6 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #7 = { nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #8 = { nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #9 = { inlinehint nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #10 = { cold noreturn nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #11 = { cold noreturn nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #12 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #13 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #14 = { nounwind nonlazybind allockind("free") uwtable "alloc-family"="__rust_alloc" "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #15 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #16 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } -attributes #17 = { nounwind } -attributes #18 = { noreturn } -attributes #19 = { cold noreturn nounwind } +attributes #8 = { nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #9 = { nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #10 = { inlinehint nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #11 = { cold noreturn nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #12 = { cold noreturn nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #13 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #14 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #15 = { nounwind nonlazybind allockind("free") uwtable "alloc-family"="__rust_alloc" "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #16 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #17 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } +attributes #18 = { nounwind } +attributes #19 = { noreturn } +attributes #20 = { cold noreturn nounwind } !llvm.module.flags = !{!0, !1, !2} !llvm.ident = !{!3} diff --git a/bench/cpp-httplib/optimized/httplib.cc.ll b/bench/cpp-httplib/optimized/httplib.cc.ll index d9b1fdaddba..239c2a36693 100644 --- a/bench/cpp-httplib/optimized/httplib.cc.ll +++ b/bench/cpp-httplib/optimized/httplib.cc.ll @@ -3652,7 +3652,7 @@ entry: ret i1 %0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define { i64, i64 } @_ZN7httplib6detail4trimEPKcS2_mm(ptr noundef readonly %b, ptr noundef readnone %e, i64 noundef %left, i64 noundef %right) local_unnamed_addr #9 { entry: %add.ptr9 = getelementptr inbounds i8, ptr %b, i64 %left @@ -4613,7 +4613,7 @@ declare noundef i32 @fstat(i32 noundef, ptr nocapture noundef) local_unnamed_add declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef zeroext i1 @_ZNK7httplib6detail4mmap7is_openEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(24) %this) local_unnamed_addr #12 align 2 { +define noundef zeroext i1 @_ZNK7httplib6detail4mmap7is_openEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(24) %this) local_unnamed_addr #9 align 2 { entry: %addr_ = getelementptr inbounds i8, ptr %this, i64 16 %0 = load ptr, ptr %addr_, align 8 @@ -4622,7 +4622,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef i64 @_ZNK7httplib6detail4mmap4sizeEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(24) %this) local_unnamed_addr #12 align 2 { +define noundef i64 @_ZNK7httplib6detail4mmap4sizeEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(24) %this) local_unnamed_addr #9 align 2 { entry: %size_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i64, ptr %size_, align 8 @@ -4630,7 +4630,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef ptr @_ZNK7httplib6detail4mmap4dataEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(24) %this) local_unnamed_addr #12 align 2 { +define noundef ptr @_ZNK7httplib6detail4mmap4dataEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(24) %this) local_unnamed_addr #9 align 2 { entry: %addr_ = getelementptr inbounds i8, ptr %this, i64 16 %0 = load ptr, ptr %addr_, align 8 @@ -4855,7 +4855,7 @@ return: ; preds = %land.lhs.true.i, %l } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #13 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #12 ; Function Attrs: nounwind declare i32 @getsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 @@ -4940,7 +4940,7 @@ return: ; preds = %land.lhs.true, %_ZN } ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) -declare ptr @__errno_location() local_unnamed_addr #14 +declare ptr @__errno_location() local_unnamed_addr #13 ; Function Attrs: mustprogress uwtable define noundef zeroext i1 @_ZN7httplib6detail10keep_aliveEil(i32 noundef %sock, i64 noundef %keep_alive_timeout_sec) local_unnamed_addr #5 personality ptr @__gxx_personality_v0 { @@ -5099,7 +5099,7 @@ entry: declare i32 @fcntl(i32 noundef, i32 noundef, ...) local_unnamed_addr #0 ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef zeroext i1 @_ZN7httplib6detail19is_connection_errorEv() local_unnamed_addr #15 { +define noundef zeroext i1 @_ZN7httplib6detail19is_connection_errorEv() local_unnamed_addr #14 { entry: %call = tail call ptr @__errno_location() #42 %0 = load i32, ptr %call, align 4 @@ -5157,7 +5157,7 @@ return: ; preds = %entry, %for.end } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #16 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #15 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0 @@ -5336,7 +5336,7 @@ declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcmRKS3_( declare void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) -declare i32 @htonl(i32 noundef) local_unnamed_addr #14 +declare i32 @htonl(i32 noundef) local_unnamed_addr #13 ; Function Attrs: nounwind declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 @@ -5791,7 +5791,7 @@ return: ; preds = %if.end9, %entry, %i } ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) -declare zeroext i16 @ntohs(i16 noundef zeroext) local_unnamed_addr #14 +declare zeroext i16 @ntohs(i16 noundef zeroext) local_unnamed_addr #13 declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0 @@ -7167,7 +7167,7 @@ entry: } ; Function Attrs: nobuiltin nounwind -declare void @_ZdlPv(ptr noundef) local_unnamed_addr #17 +declare void @_ZdlPv(ptr noundef) local_unnamed_addr #16 ; Function Attrs: mustprogress uwtable define noundef zeroext i1 @_ZN7httplib6detail15gzip_compressor8compressEPKcmbSt8functionIFbS3_mEE(ptr noundef nonnull align 8 dereferenceable(128) %this, ptr noundef %data, i64 noundef %data_length, i1 noundef zeroext %last, ptr noundef %callback) unnamed_addr #5 align 2 { @@ -7337,7 +7337,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef zeroext i1 @_ZNK7httplib6detail17gzip_decompressor8is_validEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(128) %this) unnamed_addr #12 align 2 { +define noundef zeroext i1 @_ZNK7httplib6detail17gzip_decompressor8is_validEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(128) %this) unnamed_addr #9 align 2 { entry: %is_valid_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i8, ptr %is_valid_, align 8 @@ -7638,7 +7638,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef zeroext i1 @_ZNK7httplib6detail19brotli_decompressor8is_validEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(24) %this) unnamed_addr #12 align 2 { +define noundef zeroext i1 @_ZNK7httplib6detail19brotli_decompressor8is_validEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(24) %this) unnamed_addr #9 align 2 { entry: %decoder_s = getelementptr inbounds i8, ptr %this, i64 16 %0 = load ptr, ptr %decoder_s, align 8 @@ -9103,7 +9103,7 @@ return: ; preds = %entry, %invoke.cont declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext, i64 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #18 +declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #17 ; Function Attrs: mustprogress uwtable define void @_ZN7httplib6detail24parse_disposition_paramsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt8multimapIS6_S6_St4lessIS6_ESaISt4pairIS7_S6_EEE(ptr noundef nonnull align 8 dereferenceable(32) %s, ptr noundef nonnull align 8 dereferenceable(48) %params) local_unnamed_addr #5 personality ptr @__gxx_personality_v0 { @@ -10295,7 +10295,7 @@ eh.resume: ; preds = %lpad3, %ehcleanup, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define { i64, i64 } @_ZN7httplib6detail27get_range_offset_and_lengthERKNS_7RequestEmm(ptr nocapture noundef nonnull readonly align 8 dereferenceable(664) %req, i64 noundef %content_length, i64 noundef %index) local_unnamed_addr #9 { +define { i64, i64 } @_ZN7httplib6detail27get_range_offset_and_lengthERKNS_7RequestEmm(ptr nocapture noundef nonnull readonly align 8 dereferenceable(664) %req, i64 noundef %content_length, i64 noundef %index) local_unnamed_addr #18 { entry: %ranges = getelementptr inbounds i8, ptr %req, i64 384 %0 = load ptr, ptr %ranges, align 8 @@ -12198,7 +12198,7 @@ eh.resume.i: ; preds = %lpad84.i, %lpad76.i } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define { i64, i64 } @_ZN7httplib6detail27get_range_offset_and_lengthERKNS_7RequestERKNS_8ResponseEm(ptr nocapture noundef nonnull readonly align 8 dereferenceable(664) %req, ptr nocapture noundef nonnull readonly align 8 dereferenceable(258) %res, i64 noundef %index) local_unnamed_addr #9 { +define { i64, i64 } @_ZN7httplib6detail27get_range_offset_and_lengthERKNS_7RequestERKNS_8ResponseEm(ptr nocapture noundef nonnull readonly align 8 dereferenceable(664) %req, ptr nocapture noundef nonnull readonly align 8 dereferenceable(258) %res, i64 noundef %index) local_unnamed_addr #18 { entry: %ranges = getelementptr inbounds i8, ptr %req, i64 384 %0 = load ptr, ptr %ranges, align 8 @@ -18277,7 +18277,7 @@ _ZN7httplib6detail21get_local_ip_and_portEiRNSt7__cxx1112basic_stringIcSt11char_ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef i32 @_ZNK7httplib6detail12SocketStream6socketEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(88) %this) unnamed_addr #12 align 2 { +define noundef i32 @_ZNK7httplib6detail12SocketStream6socketEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(88) %this) unnamed_addr #9 align 2 { entry: %sock_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i32, ptr %sock_, align 8 @@ -18840,7 +18840,7 @@ return: ; preds = %if.end, %for.body, } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #18 +declare i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #17 ; Function Attrs: mustprogress uwtable define noundef zeroext i1 @_ZNK7httplib6detail12RegexMatcher5matchERNS_7RequestE(ptr noundef nonnull align 8 dereferenceable(40) %this, ptr noundef nonnull align 8 dereferenceable(664) %request) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 { @@ -48433,7 +48433,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef i32 @_ZNK7httplib10ClientImpl4portEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(1000) %this) local_unnamed_addr #12 align 2 { +define noundef i32 @_ZNK7httplib10ClientImpl4portEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(1000) %this) local_unnamed_addr #9 align 2 { entry: %port_ = getelementptr inbounds i8, ptr %this, i64 40 %0 = load i32, ptr %port_, align 8 @@ -48462,7 +48462,7 @@ _ZNSt10lock_guardISt5mutexEC2ERS0_.exit: ; preds = %entry } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef i32 @_ZNK7httplib10ClientImpl6socketEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(1000) %this) local_unnamed_addr #12 align 2 { +define noundef i32 @_ZNK7httplib10ClientImpl6socketEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(1000) %this) local_unnamed_addr #9 align 2 { entry: %socket_ = getelementptr inbounds i8, ptr %this, i64 80 %0 = load i32, ptr %socket_, align 8 @@ -49514,7 +49514,7 @@ _ZN7httplib6detail21get_local_ip_and_portEiRNSt7__cxx1112basic_stringIcSt11char_ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef i32 @_ZNK7httplib6detail15SSLSocketStream6socketEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(56) %this) unnamed_addr #12 align 2 { +define noundef i32 @_ZNK7httplib6detail15SSLSocketStream6socketEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(56) %this) unnamed_addr #9 align 2 { entry: %sock_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i32, ptr %sock_, align 8 @@ -49820,7 +49820,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef zeroext i1 @_ZNK7httplib9SSLServer8is_validEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(864) %this) unnamed_addr #12 align 2 { +define noundef zeroext i1 @_ZNK7httplib9SSLServer8is_validEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(864) %this) unnamed_addr #9 align 2 { entry: %ctx_ = getelementptr inbounds i8, ptr %this, i64 816 %0 = load ptr, ptr %ctx_, align 8 @@ -49829,7 +49829,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef ptr @_ZNK7httplib9SSLServer11ssl_contextEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(864) %this) local_unnamed_addr #12 align 2 { +define noundef ptr @_ZNK7httplib9SSLServer11ssl_contextEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(864) %this) local_unnamed_addr #9 align 2 { entry: %ctx_ = getelementptr inbounds i8, ptr %this, i64 816 %0 = load ptr, ptr %ctx_, align 8 @@ -50656,7 +50656,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef zeroext i1 @_ZNK7httplib9SSLClient8is_validEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(1088) %this) unnamed_addr #12 align 2 { +define noundef zeroext i1 @_ZNK7httplib9SSLClient8is_validEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(1088) %this) unnamed_addr #9 align 2 { entry: %ctx_ = getelementptr inbounds i8, ptr %this, i64 1000 %0 = load ptr, ptr %ctx_, align 8 @@ -50700,7 +50700,7 @@ _ZN7httplib9SSLClient17set_ca_cert_storeEP13x509_store_st.exit: ; preds = %entry } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef i64 @_ZNK7httplib9SSLClient25get_openssl_verify_resultEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(1088) %this) local_unnamed_addr #12 align 2 { +define noundef i64 @_ZNK7httplib9SSLClient25get_openssl_verify_resultEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(1088) %this) local_unnamed_addr #9 align 2 { entry: %verify_result_ = getelementptr inbounds i8, ptr %this, i64 1080 %0 = load i64, ptr %verify_result_, align 8 @@ -50708,7 +50708,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef ptr @_ZNK7httplib9SSLClient11ssl_contextEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(1088) %this) local_unnamed_addr #12 align 2 { +define noundef ptr @_ZNK7httplib9SSLClient11ssl_contextEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(1088) %this) local_unnamed_addr #9 align 2 { entry: %ctx_ = getelementptr inbounds i8, ptr %this, i64 1000 %0 = load ptr, ptr %ctx_, align 8 @@ -55410,7 +55410,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef i32 @_ZNK7httplib6Client4portEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(9) %this) local_unnamed_addr #9 align 2 { +define noundef i32 @_ZNK7httplib6Client4portEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(9) %this) local_unnamed_addr #18 align 2 { entry: %0 = load ptr, ptr %this, align 8 %port_.i = getelementptr inbounds i8, ptr %0, i64 40 @@ -55441,7 +55441,7 @@ _ZNK7httplib10ClientImpl14is_socket_openEv.exit: ; preds = %entry } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef i32 @_ZNK7httplib6Client6socketEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(9) %this) local_unnamed_addr #9 align 2 { +define noundef i32 @_ZNK7httplib6Client6socketEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(9) %this) local_unnamed_addr #18 align 2 { entry: %0 = load ptr, ptr %this, align 8 %socket_.i = getelementptr inbounds i8, ptr %0, i64 80 @@ -56176,7 +56176,7 @@ _ZN7httplib6Client17set_ca_cert_storeEP13x509_store_st.exit: ; preds = %if.then. } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef i64 @_ZNK7httplib6Client25get_openssl_verify_resultEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(9) %this) local_unnamed_addr #9 align 2 { +define noundef i64 @_ZNK7httplib6Client25get_openssl_verify_resultEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(9) %this) local_unnamed_addr #18 align 2 { entry: %is_ssl_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i8, ptr %is_ssl_, align 8 @@ -56195,7 +56195,7 @@ return: ; preds = %entry, %if.then } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef ptr @_ZNK7httplib6Client11ssl_contextEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(9) %this) local_unnamed_addr #9 align 2 { +define noundef ptr @_ZNK7httplib6Client11ssl_contextEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(9) %this) local_unnamed_addr #18 align 2 { entry: %is_ssl_ = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i8, ptr %is_ssl_, align 8 @@ -57163,7 +57163,7 @@ declare void @_ZSt24__throw_invalid_argumentPKc(ptr noundef) local_unnamed_addr declare void @_ZSt20__throw_out_of_rangePKc(ptr noundef) local_unnamed_addr #22 ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) -declare i64 @pthread_self() local_unnamed_addr #14 +declare i64 @pthread_self() local_unnamed_addr #13 ; Function Attrs: mustprogress uwtable define linkonce_odr noundef ptr @_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_EN7httplib6detail2ciESaIS8_EE7_M_copyILb0ENSF_11_Alloc_nodeEEEPSt13_Rb_tree_nodeIS8_ESK_PSt18_Rb_tree_node_baseRT0_(ptr noundef nonnull align 8 dereferenceable(48) %this, ptr noundef %__x, ptr noundef %__p, ptr noundef nonnull align 8 dereferenceable(8) %__node_gen) local_unnamed_addr #5 comdat align 2 personality ptr @__gxx_personality_v0 { @@ -61755,7 +61755,7 @@ declare void @__cxa_bad_cast() local_unnamed_addr declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6assignEmc(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i8 noundef signext) local_unnamed_addr #0 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare ptr @strchr(ptr noundef, i32 noundef) local_unnamed_addr #18 +declare ptr @strchr(ptr noundef, i32 noundef) local_unnamed_addr #17 ; Function Attrs: mustprogress uwtable define linkonce_odr void @_ZNSt8__detail8_ScannerIcE17_M_eat_escape_awkEv(ptr noundef nonnull align 8 dereferenceable(248) %this) local_unnamed_addr #5 comdat align 2 { @@ -62795,7 +62795,7 @@ if.end: ; preds = %if.then.i.i, %if.th } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #18 +declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #17 ; Function Attrs: mustprogress uwtable define linkonce_odr void @_ZNSt11_Deque_baseINSt8__detail9_StateSeqINSt7__cxx1112regex_traitsIcEEEESaIS5_EE17_M_initialize_mapEm(ptr noundef nonnull align 8 dereferenceable(80) %this, i64 noundef %__num_elements) local_unnamed_addr #5 comdat align 2 personality ptr @__gxx_personality_v0 { @@ -62921,7 +62921,7 @@ unreachable: ; preds = %lpad.body declare void @_ZSt20__throw_length_errorPKc(ptr noundef) local_unnamed_addr #22 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #13 +declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #12 ; Function Attrs: mustprogress uwtable define linkonce_odr void @_ZNSt6vectorINSt8__detail6_StateIcEESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_(ptr noundef nonnull align 8 dereferenceable(24) %this, ptr %__position.coerce, ptr noundef nonnull align 8 dereferenceable(48) %__args) local_unnamed_addr #5 comdat align 2 personality ptr @__gxx_personality_v0 { @@ -82127,7 +82127,7 @@ _ZNSt12_Vector_baseISt4pairIlSt6vectorINSt7__cxx119sub_matchIN9__gnu_cxx17__norm } ; Function Attrs: nobuiltin nounwind -declare void @_ZdaPv(ptr noundef) local_unnamed_addr #17 +declare void @_ZdaPv(ptr noundef) local_unnamed_addr #16 ; Function Attrs: mustprogress uwtable define linkonce_odr noundef zeroext i1 @_ZNSt8__detail9_ExecutorIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS5_9sub_matchISB_EEENS5_12regex_traitsIcEELb0EE16_M_main_dispatchENSH_11_Match_modeESt17integral_constantIbLb0EE(ptr noundef nonnull align 8 dereferenceable(141) %this, i8 noundef zeroext %__match_mode) local_unnamed_addr #5 comdat align 2 personality ptr @__gxx_personality_v0 { @@ -106689,16 +106689,16 @@ attributes #5 = { mustprogress uwtable "frame-pointer"="all" "min-legal-vector-w attributes #6 = { 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 #7 = { mustprogress nofree nounwind willreturn memory(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 #8 = { 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 #9 = { 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 #9 = { 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 #10 = { noreturn nounwind uwtable "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 #11 = { 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 #12 = { 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 #13 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #14 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 #15 = { mustprogress nofree 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 #16 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #17 = { nobuiltin 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 #18 = { 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 #12 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #13 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 #14 = { mustprogress nofree 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 #15 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #16 = { nobuiltin 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 #17 = { 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 #18 = { 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 #19 = { mustprogress nofree norecurse 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 #20 = { 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 #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" } diff --git a/bench/cpython/optimized/bytes_methods.ll b/bench/cpython/optimized/bytes_methods.ll index 3942ebe3850..d1b73278fd3 100644 --- a/bench/cpython/optimized/bytes_methods.ll +++ b/bench/cpython/optimized/bytes_methods.ll @@ -52,7 +52,7 @@ target triple = "x86_64-unknown-linux-gnu" @_Py_NoneStruct = external global %struct._object, align 8 @.str.11 = private unnamed_addr constant [55 x i8] c"%s first arg must be bytes or a tuple of bytes, not %s\00", align 1 -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define hidden noundef nonnull ptr @_Py_bytes_isspace(ptr noundef readonly %cptr, i64 noundef %len) local_unnamed_addr #0 { entry: switch i64 %len, label %if.end6 [ @@ -94,7 +94,7 @@ return: ; preds = %for.body, %for.cond ret ptr %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define hidden noundef nonnull ptr @_Py_bytes_isalpha(ptr noundef readonly %cptr, i64 noundef %len) local_unnamed_addr #0 { entry: switch i64 %len, label %if.end6 [ @@ -136,7 +136,7 @@ return: ; preds = %for.body, %for.cond ret ptr %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define hidden noundef nonnull ptr @_Py_bytes_isalnum(ptr noundef readonly %cptr, i64 noundef %len) local_unnamed_addr #0 { entry: switch i64 %len, label %if.end6 [ @@ -178,7 +178,7 @@ return: ; preds = %for.body, %for.cond ret ptr %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define hidden noundef nonnull ptr @_Py_bytes_isascii(ptr noundef %cptr, i64 noundef %len) local_unnamed_addr #0 { entry: %add.ptr = getelementptr i8, ptr %cptr, i64 %len @@ -224,7 +224,7 @@ return: ; preds = %if.end12, %while.en ret ptr %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define hidden noundef nonnull ptr @_Py_bytes_isdigit(ptr noundef readonly %cptr, i64 noundef %len) local_unnamed_addr #0 { entry: switch i64 %len, label %if.end6 [ @@ -486,8 +486,8 @@ for.end: ; preds = %for.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @_Py_bytes_title(ptr nocapture noundef writeonly %result, ptr nocapture noundef readonly %s, i64 noundef %len) local_unnamed_addr #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @_Py_bytes_title(ptr nocapture noundef writeonly %result, ptr nocapture noundef readonly %s, i64 noundef %len) local_unnamed_addr #3 { entry: %cmp7 = icmp sgt i64 %len, 0 br i1 %cmp7, label %for.body, label %for.end @@ -573,8 +573,8 @@ if.end: ; preds = %for.body.i, %if.the ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @_Py_bytes_swapcase(ptr nocapture noundef writeonly %result, ptr nocapture noundef readonly %s, i64 noundef %len) local_unnamed_addr #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @_Py_bytes_swapcase(ptr nocapture noundef writeonly %result, ptr nocapture noundef readonly %s, i64 noundef %len) local_unnamed_addr #3 { entry: %cmp9 = icmp sgt i64 %len, 0 br i1 %cmp9, label %for.body, label %for.end @@ -1152,7 +1152,7 @@ declare ptr @PyErr_Occurred() local_unnamed_addr #2 declare void @PyErr_Clear() local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare ptr @memchr(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #5 +declare ptr @memchr(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #4 ; Function Attrs: nounwind uwtable define hidden ptr @_Py_bytes_startswith(ptr nocapture noundef readonly %str, i64 noundef %len, ptr noundef %args) local_unnamed_addr #1 { @@ -1254,10 +1254,10 @@ entry: } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare ptr @memrchr(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #5 +declare ptr @memrchr(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #4 ; Function Attrs: nofree nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc i64 @fastsearch(ptr noundef %s, i64 noundef %n, ptr noundef %p, i64 noundef %m, i64 noundef %maxcount, i32 noundef %mode) unnamed_addr #6 { +define internal fastcc i64 @fastsearch(ptr noundef %s, i64 noundef %n, ptr noundef %p, i64 noundef %m, i64 noundef %maxcount, i32 noundef %mode) unnamed_addr #5 { entry: %cmp = icmp slt i64 %n, %m br i1 %cmp, label %return, label %if.end @@ -1611,7 +1611,7 @@ return: ; preds = %if.end48.us.i, %if. } ; Function Attrs: nofree nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc i64 @stringlib__two_way_find(ptr noundef readonly %haystack, i64 noundef %len_haystack, ptr noundef %needle, i64 noundef %len_needle) unnamed_addr #6 { +define internal fastcc i64 @stringlib__two_way_find(ptr noundef readonly %haystack, i64 noundef %len_haystack, ptr noundef %needle, i64 noundef %len_needle) unnamed_addr #5 { entry: %p = alloca %struct.stringlib__pre, align 8 call fastcc void @stringlib__preprocess(ptr noundef %needle, i64 noundef %len_needle, ptr noundef nonnull %p) @@ -1620,7 +1620,7 @@ entry: } ; Function Attrs: nofree nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc i64 @stringlib__two_way_count(ptr noundef %haystack, i64 noundef %len_haystack, ptr noundef %needle, i64 noundef %len_needle, i64 noundef %maxcount) unnamed_addr #6 { +define internal fastcc i64 @stringlib__two_way_count(ptr noundef %haystack, i64 noundef %len_haystack, ptr noundef %needle, i64 noundef %len_needle, i64 noundef %maxcount) unnamed_addr #5 { entry: %p = alloca %struct.stringlib__pre, align 8 call fastcc void @stringlib__preprocess(ptr noundef %needle, i64 noundef %len_needle, ptr noundef nonnull %p) @@ -1651,7 +1651,7 @@ return: ; preds = %if.end3, %if.end, % } ; Function Attrs: nofree nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc i64 @stringlib_adaptive_find(ptr noundef %s, i64 noundef %n, ptr noundef %p, i64 noundef %m, i64 noundef %maxcount, i32 noundef %mode) unnamed_addr #6 { +define internal fastcc i64 @stringlib_adaptive_find(ptr noundef %s, i64 noundef %n, ptr noundef %p, i64 noundef %m, i64 noundef %maxcount, i32 noundef %mode) unnamed_addr #5 { entry: %p.i69 = alloca %struct.stringlib__pre, align 8 %p.i = alloca %struct.stringlib__pre, align 8 @@ -1919,7 +1919,7 @@ return: ; preds = %for.body20.us92, %f } ; Function Attrs: nofree nounwind memory(argmem: readwrite) uwtable -define internal fastcc void @stringlib__preprocess(ptr noundef %needle, i64 noundef %len_needle, ptr nocapture noundef writeonly %p) unnamed_addr #7 { +define internal fastcc void @stringlib__preprocess(ptr noundef %needle, i64 noundef %len_needle, ptr nocapture noundef writeonly %p) unnamed_addr #6 { entry: store ptr %needle, ptr %p, align 8 %len_needle2 = getelementptr inbounds i8, ptr %p, i64 8 @@ -2109,7 +2109,7 @@ for.end66: ; preds = %for.body55, %if.end } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal fastcc i64 @stringlib__two_way(ptr noundef %haystack, i64 noundef %len_haystack, ptr nocapture noundef readonly %p) unnamed_addr #0 { +define internal fastcc i64 @stringlib__two_way(ptr noundef %haystack, i64 noundef %len_haystack, ptr nocapture noundef readonly %p) unnamed_addr #7 { entry: %len_needle1 = getelementptr inbounds i8, ptr %p, i64 8 %0 = load i64, ptr %len_needle1, align 8 @@ -2608,7 +2608,7 @@ declare i32 @PyObject_CheckBuffer(ptr noundef) local_unnamed_addr #2 declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #5 +declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite) declare ptr @strncpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly, i64 noundef) local_unnamed_addr #9 @@ -2728,14 +2728,14 @@ declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #12 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #12 -attributes #0 = { 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 #0 = { 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 #1 = { 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 #2 = { "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 #3 = { 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 #4 = { 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 #5 = { 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 #6 = { nofree 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 #7 = { nofree 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 #4 = { 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 #5 = { nofree 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 #6 = { nofree 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 #7 = { 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 #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #9 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } diff --git a/bench/cpython/optimized/obmalloc.ll b/bench/cpython/optimized/obmalloc.ll index d9df1961295..e52ec254c7a 100644 --- a/bench/cpython/optimized/obmalloc.ll +++ b/bench/cpython/optimized/obmalloc.ll @@ -8738,8 +8738,8 @@ if.end: ; preds = %mi_show_error_messa ret void } -; Function Attrs: nofree norecurse nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden zeroext i1 @_mi_bitmap_unclaim_across(ptr nocapture noundef %bitmap, i64 %bitmap_fields, i64 noundef %count, i64 noundef %bitmap_idx) local_unnamed_addr #8 { +; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite) uwtable +define hidden zeroext i1 @_mi_bitmap_unclaim_across(ptr nocapture noundef %bitmap, i64 %bitmap_fields, i64 noundef %count, i64 noundef %bitmap_idx) local_unnamed_addr #16 { entry: %div1.i = lshr i64 %bitmap_idx, 6 %rem.i.i = and i64 %bitmap_idx, 63 @@ -11333,8 +11333,8 @@ mi_bitmap_is_claimedx.exit: ; preds = %entry, %if.end.i.i, ret i1 %cmp3.i } -; Function Attrs: nofree norecurse nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden zeroext i1 @_mi_bitmap_try_find_from_claim_across(ptr noundef %bitmap, i64 noundef %bitmap_fields, i64 noundef %start_field_idx, i64 noundef %count, ptr nocapture noundef writeonly %bitmap_idx) local_unnamed_addr #8 { +; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite) uwtable +define hidden zeroext i1 @_mi_bitmap_try_find_from_claim_across(ptr noundef %bitmap, i64 noundef %bitmap_fields, i64 noundef %start_field_idx, i64 noundef %count, ptr nocapture noundef writeonly %bitmap_idx) local_unnamed_addr #16 { entry: %cmp = icmp ult i64 %count, 3 br i1 %cmp, label %if.then, label %for.cond.preheader @@ -11627,8 +11627,8 @@ return: ; preds = %for.inc, %for.cond. ret i1 %retval.0 } -; Function Attrs: nofree norecurse nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden zeroext i1 @_mi_bitmap_claim_across(ptr nocapture noundef %bitmap, i64 noundef %bitmap_fields, i64 noundef %count, i64 noundef %bitmap_idx, ptr noundef writeonly %pany_zero) local_unnamed_addr #8 { +; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite) uwtable +define hidden zeroext i1 @_mi_bitmap_claim_across(ptr nocapture noundef %bitmap, i64 noundef %bitmap_fields, i64 noundef %count, i64 noundef %bitmap_idx, ptr noundef writeonly %pany_zero) local_unnamed_addr #16 { entry: %div1.i = lshr i64 %bitmap_idx, 6 %rem.i.i = and i64 %bitmap_idx, 63 @@ -11731,8 +11731,8 @@ if.end33: ; preds = %if.then32, %if.end3 ret i1 %all_zero.4 } -; Function Attrs: nofree norecurse nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden zeroext i1 @_mi_bitmap_is_claimed_across(ptr nocapture noundef readonly %bitmap, i64 noundef %bitmap_fields, i64 noundef %count, i64 noundef %bitmap_idx) local_unnamed_addr #8 { +; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite) uwtable +define hidden zeroext i1 @_mi_bitmap_is_claimed_across(ptr nocapture noundef readonly %bitmap, i64 noundef %bitmap_fields, i64 noundef %count, i64 noundef %bitmap_idx) local_unnamed_addr #16 { entry: %div1.i.i = lshr i64 %bitmap_idx, 6 %rem.i.i.i = and i64 %bitmap_idx, 63 @@ -11814,8 +11814,8 @@ mi_bitmap_is_claimedx_across.exit: ; preds = %while.end.thread.i, ret i1 %all_ones.4.i } -; Function Attrs: nofree norecurse nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden zeroext i1 @_mi_bitmap_is_any_claimed_across(ptr nocapture noundef readonly %bitmap, i64 noundef %bitmap_fields, i64 noundef %count, i64 noundef %bitmap_idx) local_unnamed_addr #8 { +; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite) uwtable +define hidden zeroext i1 @_mi_bitmap_is_any_claimed_across(ptr nocapture noundef readonly %bitmap, i64 noundef %bitmap_fields, i64 noundef %count, i64 noundef %bitmap_idx) local_unnamed_addr #16 { entry: %div1.i.i = lshr i64 %bitmap_idx, 6 %rem.i.i.i = and i64 %bitmap_idx, 63 @@ -16284,8 +16284,8 @@ entry: ret i8 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define hidden range(i32 -255, 256) i32 @_mi_strnicmp(ptr nocapture noundef readonly %s, ptr nocapture noundef readonly %t, i64 noundef %n) local_unnamed_addr #20 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define hidden range(i32 -255, 256) i32 @_mi_strnicmp(ptr nocapture noundef readonly %s, ptr nocapture noundef readonly %t, i64 noundef %n) local_unnamed_addr #12 { entry: %cmp = icmp eq i64 %n, 0 br i1 %cmp, label %return, label %for.cond.preheader @@ -16352,8 +16352,8 @@ return: ; preds = %cond.false, %for.en ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @_mi_strlcpy(ptr noundef writeonly %dest, ptr noundef readonly %src, i64 noundef %dest_size) local_unnamed_addr #27 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @_mi_strlcpy(ptr noundef writeonly %dest, ptr noundef readonly %src, i64 noundef %dest_size) local_unnamed_addr #19 { entry: %cmp = icmp eq ptr %dest, null %cmp1 = icmp eq ptr %src, null @@ -16393,8 +16393,8 @@ return: ; preds = %entry, %while.end ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @_mi_strlcat(ptr noundef %dest, ptr noundef readonly %src, i64 noundef %dest_size) local_unnamed_addr #27 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @_mi_strlcat(ptr noundef %dest, ptr noundef readonly %src, i64 noundef %dest_size) local_unnamed_addr #19 { entry: %cmp = icmp eq ptr %dest, null %cmp1 = icmp eq ptr %src, null @@ -18333,8 +18333,8 @@ while.end: ; preds = %if.else.i, %lor.rhs ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @mi_heap_queue_first_update(ptr noundef %heap, ptr noundef readonly %pq) unnamed_addr #28 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc void @mi_heap_queue_first_update(ptr noundef %heap, ptr noundef readonly %pq) unnamed_addr #19 { entry: %block_size = getelementptr inbounds i8, ptr %pq, i64 16 %0 = load i64, ptr %block_size, align 8 @@ -18454,7 +18454,7 @@ for.end: ; preds = %for.body, %if.end25 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define hidden void @_mi_page_reclaim(ptr noundef %heap, ptr noundef %page) local_unnamed_addr #27 { entry: %xblock_size.i = getelementptr inbounds i8, ptr %page, i64 28 @@ -20864,7 +20864,7 @@ return: ; preds = %do.cond27, %if.then } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define hidden ptr @_mi_segment_page_start(ptr noundef %segment, ptr noundef %page, ptr noundef writeonly %page_size) local_unnamed_addr #29 { +define hidden ptr @_mi_segment_page_start(ptr noundef %segment, ptr noundef %page, ptr noundef writeonly %page_size) local_unnamed_addr #28 { entry: %xblock_size = getelementptr inbounds i8, ptr %page, i64 28 %0 = load i32, ptr %xblock_size, align 4 @@ -23552,7 +23552,7 @@ return: ; preds = %mi_segment_reclaim_ } ; Function Attrs: nofree norecurse nounwind memory(readwrite, argmem: none, inaccessiblemem: none) uwtable -define hidden void @_mi_segment_map_allocated_at(ptr noundef %segment) local_unnamed_addr #30 { +define hidden void @_mi_segment_map_allocated_at(ptr noundef %segment) local_unnamed_addr #29 { entry: %cmp.i = icmp ugt ptr %segment, inttoptr (i64 43980465111039 to ptr) %0 = ptrtoint ptr %segment to i64 @@ -23582,7 +23582,7 @@ do.end: ; preds = %do.body, %entry } ; Function Attrs: nofree norecurse nounwind memory(readwrite, argmem: none, inaccessiblemem: none) uwtable -define hidden void @_mi_segment_map_freed_at(ptr noundef %segment) local_unnamed_addr #30 { +define hidden void @_mi_segment_map_freed_at(ptr noundef %segment) local_unnamed_addr #29 { entry: %cmp.i = icmp ugt ptr %segment, inttoptr (i64 43980465111039 to ptr) %0 = ptrtoint ptr %segment to i64 @@ -23613,7 +23613,7 @@ do.end: ; preds = %do.body, %entry } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #31 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #30 ; Function Attrs: nounwind uwtable define hidden void @mi_stats_merge() local_unnamed_addr #0 { @@ -24588,7 +24588,7 @@ entry: } ; Function Attrs: nounwind -declare i64 @sysconf(i32 noundef) local_unnamed_addr #32 +declare i64 @sysconf(i32 noundef) local_unnamed_addr #31 ; Function Attrs: nounwind uwtable define hidden i32 @_mi_prim_free(ptr noundef %addr, i64 noundef %size) local_unnamed_addr #0 { @@ -24608,7 +24608,7 @@ cond.end: ; preds = %entry, %cond.true } ; Function Attrs: nounwind -declare i32 @munmap(ptr noundef, i64 noundef) local_unnamed_addr #32 +declare i32 @munmap(ptr noundef, i64 noundef) local_unnamed_addr #31 ; Function Attrs: nounwind uwtable define hidden i32 @_mi_prim_alloc(i64 noundef %size, i64 noundef %try_alignment, i1 noundef zeroext %commit, i1 noundef zeroext %allow_large, ptr nocapture noundef writeonly %is_large, ptr nocapture noundef writeonly %is_zero, ptr nocapture noundef writeonly %addr) local_unnamed_addr #0 { @@ -24726,7 +24726,7 @@ cond.end: ; preds = %unix_mmap.exit.thre } ; Function Attrs: nounwind -declare i32 @mprotect(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #32 +declare i32 @mprotect(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #31 ; Function Attrs: nounwind uwtable define hidden i32 @_mi_prim_decommit(ptr noundef %start, i64 noundef %size, ptr nocapture noundef writeonly %needs_recommit) local_unnamed_addr #0 { @@ -24755,16 +24755,16 @@ if.end: ; preds = %if.then, %entry } ; Function Attrs: nounwind -declare i64 @syscall(i64 noundef, ...) local_unnamed_addr #32 +declare i64 @syscall(i64 noundef, ...) local_unnamed_addr #31 ; Function Attrs: nofree nounwind declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #5 ; Function Attrs: nounwind -declare i32 @clock_gettime(i32 noundef, ptr noundef) local_unnamed_addr #32 +declare i32 @clock_gettime(i32 noundef, ptr noundef) local_unnamed_addr #31 ; Function Attrs: nounwind -declare i32 @getrusage(i32 noundef, ptr noundef) local_unnamed_addr #32 +declare i32 @getrusage(i32 noundef, ptr noundef) local_unnamed_addr #31 ; Function Attrs: nofree nounwind uwtable define hidden void @_mi_prim_out_stderr(ptr nocapture noundef readonly %msg) local_unnamed_addr #25 { @@ -24777,8 +24777,8 @@ entry: ; Function Attrs: nofree nounwind declare noundef i32 @fputs(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #5 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden noundef zeroext i1 @_mi_prim_getenv(ptr noundef readonly %name, ptr noundef writeonly %result, i64 noundef %result_size) local_unnamed_addr #27 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden noundef zeroext i1 @_mi_prim_getenv(ptr noundef readonly %name, ptr noundef writeonly %result, i64 noundef %result_size) local_unnamed_addr #32 { entry: %cmp = icmp eq ptr %name, null br i1 %cmp, label %return, label %while.cond.i @@ -24995,7 +24995,7 @@ entry: } ; Function Attrs: nounwind -declare i32 @pthread_key_create(ptr noundef, ptr noundef) local_unnamed_addr #32 +declare i32 @pthread_key_create(ptr noundef, ptr noundef) local_unnamed_addr #31 ; Function Attrs: nounwind uwtable define internal void @mi_pthread_done(ptr noundef %value) #0 { @@ -25018,7 +25018,7 @@ entry: } ; Function Attrs: nounwind -declare i32 @pthread_setspecific(i32 noundef, ptr noundef) local_unnamed_addr #32 +declare i32 @pthread_setspecific(i32 noundef, ptr noundef) local_unnamed_addr #31 ; Function Attrs: mustprogress nofree nounwind willreturn memory(inaccessiblemem: readwrite) uwtable define hidden noalias noundef ptr @_PyMem_RawMalloc(ptr nocapture readnone %_unused_ctx, i64 noundef %size) #33 { @@ -25328,7 +25328,7 @@ entry: } ; Function Attrs: nounwind -declare ptr @mmap64(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #32 +declare ptr @mmap64(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #31 ; Function Attrs: nounwind uwtable define hidden void @_PyMem_ArenaFree(ptr nocapture noundef readnone %_unused_ctx, ptr noundef %ptr, i64 noundef %size) local_unnamed_addr #0 { @@ -31839,7 +31839,7 @@ return: ; preds = %if.end, %lor.lhs.fa } ; Function Attrs: nounwind -declare i32 @madvise(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #32 +declare i32 @madvise(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #31 declare void @_PyMutex_LockSlow(ptr noundef) local_unnamed_addr #40 @@ -32153,12 +32153,12 @@ attributes #23 = { mustprogress nofree norecurse nosync nounwind willreturn memo attributes #24 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, 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 #25 = { 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 #26 = { nofree norecurse nounwind memory(readwrite, argmem: 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 = { 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 #28 = { 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 #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 norecurse nounwind memory(readwrite, argmem: none, 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #32 = { 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 #27 = { nofree norecurse nosync nounwind 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 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 #29 = { nofree norecurse nounwind memory(readwrite, argmem: none, 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 #30 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #31 = { 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 #32 = { 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 #33 = { 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 #34 = { 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 #35 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) 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" } diff --git a/bench/cpython/optimized/pyhash.ll b/bench/cpython/optimized/pyhash.ll index ffbf35f5f71..4b638fd2fb3 100644 --- a/bench/cpython/optimized/pyhash.ll +++ b/bench/cpython/optimized/pyhash.ll @@ -33,7 +33,7 @@ if.else: ; preds = %if.then br label %return if.end: ; preds = %entry - %call2 = call double @frexp(double noundef %v, ptr noundef nonnull %e) #7 + %call2 = call double @frexp(double noundef %v, ptr noundef nonnull %e) #8 %cmp3 = fcmp olt double %call2, 0.000000e+00 %e.promoted = load i32, ptr %e, align 4 %tobool720 = fcmp une double %call2, 0.000000e+00 @@ -122,7 +122,7 @@ entry: if.end: ; preds = %entry %0 = load ptr, ptr @PyHash_Func, align 8 - %call = tail call i64 %0(ptr noundef %src, i64 noundef %len) #7 + %call = tail call i64 %0(ptr noundef %src, i64 noundef %len) #8 %.call = tail call i64 @llvm.umin.i64(i64 %call, i64 -2) br label %return @@ -143,14 +143,14 @@ entry: ret ptr @PyHash_Func } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define hidden i64 @_Py_KeyedHash(i64 noundef %key, ptr nocapture noundef readonly %src, i64 noundef %src_sz) local_unnamed_addr #5 { entry: %call = tail call fastcc i64 @siphash13(i64 noundef %key, i64 noundef 0, ptr noundef %src, i64 noundef %src_sz) ret i64 %call } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal fastcc i64 @siphash13(i64 noundef %k0, i64 noundef %k1, ptr nocapture noundef readonly %src, i64 noundef %src_sz) unnamed_addr #5 { entry: %xor = xor i64 %k0, 8317987319222330741 @@ -346,7 +346,7 @@ sw.epilog: ; preds = %sw.bb43, %sw.bb36, } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal i64 @pysiphash(ptr nocapture noundef readonly %src, i64 noundef %src_sz) #5 { +define internal i64 @pysiphash(ptr nocapture noundef readonly %src, i64 noundef %src_sz) #6 { entry: %0 = load i64, ptr @_Py_HashSecret, align 8 %1 = load i64, ptr getelementptr inbounds (i8, ptr @_Py_HashSecret, i64 8), align 8 @@ -355,19 +355,20 @@ entry: } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #6 +declare i64 @llvm.umin.i64(i64, i64) #7 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.fshl.i64(i64, i64, i64) #6 +declare i64 @llvm.fshl.i64(i64, i64, i64) #7 attributes #0 = { nofree nosync nounwind 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 nosync nounwind speculatable willreturn memory(none) } attributes #2 = { 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 #3 = { mustprogress nofree nounwind willreturn memory(argmem: 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 #4 = { 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 #5 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #7 = { nounwind } +attributes #5 = { 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 #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #8 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/cpython/optimized/xmltok.ll b/bench/cpython/optimized/xmltok.ll index d6b6ba8e727..51cfe932a62 100644 --- a/bench/cpython/optimized/xmltok.ll +++ b/bench/cpython/optimized/xmltok.ll @@ -959,8 +959,8 @@ entry: ret i32 %call } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @initUpdatePosition(ptr nocapture readnone %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef %pos) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @initUpdatePosition(ptr nocapture readnone %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef %pos) #3 { entry: %sub.ptr.lhs.cast.i = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast20.i = ptrtoint ptr %ptr to i64 @@ -3980,7 +3980,7 @@ return: ; preds = %if.then36, %if.else ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal range(i32 0, 2) i32 @normal_nameMatchesAscii(ptr nocapture readnone %enc, ptr noundef %ptr1, ptr noundef %end1, ptr nocapture noundef readonly %ptr2) #7 { entry: %0 = load i8, ptr %ptr2, align 1 @@ -4023,7 +4023,7 @@ return: ; preds = %if.end, %for.body, ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal noundef i32 @normal_nameLength(ptr nocapture noundef readonly %enc, ptr noundef %ptr) #7 { entry: %type = getelementptr inbounds i8, ptr %enc, i64 136 @@ -4060,7 +4060,7 @@ switch.lookup: ; preds = %switch.hole_check br label %for.cond } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal noundef ptr @normal_skipS(ptr nocapture noundef readonly %enc, ptr noundef readonly %ptr) #7 { entry: %type = getelementptr inbounds i8, ptr %enc, i64 136 @@ -4086,8 +4086,8 @@ sw.default: ; preds = %for.cond ret ptr %ptr.addr.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal i32 @normal_getAtts(ptr nocapture noundef readonly %enc, ptr noundef %ptr, i32 noundef %attsMax, ptr nocapture noundef %atts) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal i32 @normal_getAtts(ptr nocapture noundef readonly %enc, ptr noundef %ptr, i32 noundef %attsMax, ptr nocapture noundef %atts) #3 { entry: %type = getelementptr inbounds i8, ptr %enc, i64 136 br label %for.cond @@ -4355,7 +4355,7 @@ for.inc.fold.split87: ; preds = %sw.bb156 br label %for.cond.backedge } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal i32 @normal_charRefNumber(ptr nocapture readnone %enc, ptr nocapture noundef readonly %ptr) #7 { entry: %add.ptr = getelementptr i8, ptr %ptr, i64 2 @@ -4577,8 +4577,8 @@ return: ; preds = %if.then54, %if.then ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @normal_updatePosition(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef %pos) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @normal_updatePosition(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef %pos) #3 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast20 = ptrtoint ptr %ptr to i64 @@ -4677,8 +4677,8 @@ while.end: ; preds = %sw.epilog, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal range(i32 0, 2) i32 @normal_isPublicId(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %badPtr) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 0, 2) i32 @normal_isPublicId(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %badPtr) #3 { entry: %add.ptr1 = getelementptr i8, ptr %end, i64 -1 %sub.ptr.lhs.cast = ptrtoint ptr %add.ptr1 to i64 @@ -9195,8 +9195,8 @@ return: ; preds = %sw.epilog145.i.i, % ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal range(i32 -4, 41) i32 @little2_cdataSectionTok(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 -4, 41) i32 @little2_cdataSectionTok(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) #3 { entry: %cmp.not = icmp ult ptr %ptr, %end br i1 %cmp.not, label %if.end, label %return @@ -9441,8 +9441,8 @@ return: ; preds = %return.sink.split, ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal range(i32 -2, 43) i32 @little2_ignoreSectionTok(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 -2, 43) i32 @little2_ignoreSectionTok(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) #3 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast = ptrtoint ptr %ptr to i64 @@ -9630,8 +9630,8 @@ return: ; preds = %sw.bb19, %sw.bb28, ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal range(i32 -4, 40) i32 @little2_attributeValueTok(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 -4, 40) i32 @little2_attributeValueTok(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) #3 { entry: %cmp.not = icmp ult ptr %ptr, %end br i1 %cmp.not, label %if.else, label %return @@ -9777,8 +9777,8 @@ return: ; preds = %if.then35, %if.else ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal i32 @little2_entityValueTok(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal i32 @little2_entityValueTok(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) #3 { entry: %cmp.not = icmp ult ptr %ptr, %end br i1 %cmp.not, label %if.else, label %return @@ -9921,7 +9921,7 @@ return: ; preds = %if.then47, %if.else ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal range(i32 0, 2) i32 @little2_nameMatchesAscii(ptr nocapture readnone %enc, ptr noundef %ptr1, ptr noundef %end1, ptr nocapture noundef readonly %ptr2) #7 { entry: %0 = load i8, ptr %ptr2, align 1 @@ -9970,7 +9970,7 @@ return: ; preds = %if.end, %land.lhs.t ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal i32 @little2_nameLength(ptr nocapture noundef readonly %enc, ptr noundef %ptr) #7 { entry: %type = getelementptr inbounds i8, ptr %enc, i64 136 @@ -10035,7 +10035,7 @@ sw.epilog: ; preds = %switch.lookup, %sw. br label %for.cond } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal noundef ptr @little2_skipS(ptr nocapture noundef readonly %enc, ptr noundef readonly %ptr) #7 { entry: %arrayidx8 = getelementptr i8, ptr %ptr, i64 1 @@ -10071,8 +10071,8 @@ sw.default: ; preds = %cond.end, %sw.bb, % ret ptr %ptr.addr.0.lcssa } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal i32 @little2_getAtts(ptr nocapture noundef readonly %enc, ptr noundef %ptr, i32 noundef %attsMax, ptr nocapture noundef %atts) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal i32 @little2_getAtts(ptr nocapture noundef readonly %enc, ptr noundef %ptr, i32 noundef %attsMax, ptr nocapture noundef %atts) #3 { entry: %type = getelementptr inbounds i8, ptr %enc, i64 136 br label %for.cond @@ -10384,7 +10384,7 @@ for.inc.fold.split95: ; preds = %sw.bb195 br label %for.cond.backedge } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal i32 @little2_charRefNumber(ptr nocapture readnone %enc, ptr nocapture noundef readonly %ptr) #7 { entry: %add.ptr = getelementptr i8, ptr %ptr, i64 4 @@ -10703,8 +10703,8 @@ return: ; preds = %cond.end, %if.then, ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @little2_updatePosition(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef %pos) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @little2_updatePosition(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef %pos) #3 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast42 = ptrtoint ptr %ptr to i64 @@ -10821,8 +10821,8 @@ while.end: ; preds = %sw.epilog, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal range(i32 0, 2) i32 @little2_isPublicId(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %badPtr) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 0, 2) i32 @little2_isPublicId(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %badPtr) #3 { entry: %add.ptr1 = getelementptr i8, ptr %end, i64 -2 %sub.ptr.lhs.cast = ptrtoint ptr %add.ptr1 to i64 @@ -11143,8 +11143,8 @@ return: ; preds = %for.end, %if.else ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -27, 28) i32 @little2_scanLit(i32 noundef %open, ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -27, 28) i32 @little2_scanLit(i32 noundef %open, ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #3 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast47 = ptrtoint ptr %ptr to i64 @@ -11271,8 +11271,8 @@ return: ; preds = %sw.bb12, %sw.bb21, ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -2, 34) i32 @little2_scanDecl(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -2, 34) i32 @little2_scanDecl(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #3 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast = ptrtoint ptr %ptr to i64 @@ -11394,8 +11394,8 @@ return: ; preds = %sw.bb62, %sw.bb10, ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc i32 @little2_scanPi(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #9 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc i32 @little2_scanPi(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #3 { entry: %tok = alloca i32, align 4 %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 @@ -11813,8 +11813,8 @@ return: ; preds = %sw.bb86, %sw.bb149, ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -2, 29) i32 @little2_scanPercent(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -2, 29) i32 @little2_scanPercent(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #3 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast = ptrtoint ptr %ptr to i64 @@ -11996,8 +11996,8 @@ return: ; preds = %sw.bb87, %return.si ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -20, 21) i32 @little2_scanPoundName(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -20, 21) i32 @little2_scanPoundName(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #3 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast = ptrtoint ptr %ptr to i64 @@ -12177,8 +12177,8 @@ return: ; preds = %sw.bb86, %return.si ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -2, 14) i32 @little2_scanComment(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -2, 14) i32 @little2_scanComment(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #3 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast = ptrtoint ptr %ptr to i64 @@ -12402,8 +12402,8 @@ return: ; preds = %sw.epilog19, %sw.ep ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -2, 11) i32 @little2_scanRef(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -2, 11) i32 @little2_scanRef(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #3 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast = ptrtoint ptr %ptr to i64 @@ -15263,8 +15263,8 @@ return: ; preds = %sw.epilog148.i.i, % ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal range(i32 -4, 41) i32 @big2_cdataSectionTok(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 -4, 41) i32 @big2_cdataSectionTok(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) #3 { entry: %cmp.not = icmp ult ptr %ptr, %end br i1 %cmp.not, label %if.end, label %return @@ -15511,8 +15511,8 @@ return: ; preds = %return.sink.split, ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal range(i32 -2, 43) i32 @big2_ignoreSectionTok(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 -2, 43) i32 @big2_ignoreSectionTok(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) #3 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast = ptrtoint ptr %ptr to i64 @@ -15701,8 +15701,8 @@ return: ; preds = %sw.bb20, %sw.bb29, ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal range(i32 -4, 40) i32 @big2_attributeValueTok(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 -4, 40) i32 @big2_attributeValueTok(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) #3 { entry: %cmp.not = icmp ult ptr %ptr, %end br i1 %cmp.not, label %if.else, label %return @@ -15848,8 +15848,8 @@ return: ; preds = %if.then36, %if.else ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal i32 @big2_entityValueTok(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal i32 @big2_entityValueTok(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) #3 { entry: %cmp.not = icmp ult ptr %ptr, %end br i1 %cmp.not, label %if.else, label %return @@ -15992,7 +15992,7 @@ return: ; preds = %if.then48, %if.else ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal range(i32 0, 2) i32 @big2_nameMatchesAscii(ptr nocapture readnone %enc, ptr noundef %ptr1, ptr noundef %end1, ptr nocapture noundef readonly %ptr2) #7 { entry: %0 = load i8, ptr %ptr2, align 1 @@ -16041,7 +16041,7 @@ return: ; preds = %if.end, %land.lhs.t ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal noundef i32 @big2_nameLength(ptr nocapture noundef readonly %enc, ptr noundef %ptr) #7 { entry: %type = getelementptr inbounds i8, ptr %enc, i64 136 @@ -16107,7 +16107,7 @@ sw.epilog: ; preds = %switch.lookup, %sw. br label %for.cond } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal noundef ptr @big2_skipS(ptr nocapture noundef readonly %enc, ptr noundef readonly %ptr) #7 { entry: %0 = load i8, ptr %ptr, align 1 @@ -16142,8 +16142,8 @@ sw.default: ; preds = %cond.end, %sw.bb, % ret ptr %ptr.addr.0.lcssa } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal i32 @big2_getAtts(ptr nocapture noundef readonly %enc, ptr noundef %ptr, i32 noundef %attsMax, ptr nocapture noundef %atts) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal i32 @big2_getAtts(ptr nocapture noundef readonly %enc, ptr noundef %ptr, i32 noundef %attsMax, ptr nocapture noundef %atts) #3 { entry: %type = getelementptr inbounds i8, ptr %enc, i64 136 br label %for.cond @@ -16457,7 +16457,7 @@ for.inc.fold.split95: ; preds = %sw.bb197 br label %for.cond.backedge } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal i32 @big2_charRefNumber(ptr nocapture readnone %enc, ptr nocapture noundef readonly %ptr) #7 { entry: %add.ptr = getelementptr i8, ptr %ptr, i64 4 @@ -16776,8 +16776,8 @@ return: ; preds = %cond.end, %if.then, ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @big2_updatePosition(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef %pos) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @big2_updatePosition(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef %pos) #3 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast42 = ptrtoint ptr %ptr to i64 @@ -16894,8 +16894,8 @@ while.end: ; preds = %sw.epilog, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal range(i32 0, 2) i32 @big2_isPublicId(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %badPtr) #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 0, 2) i32 @big2_isPublicId(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %badPtr) #3 { entry: %add.ptr1 = getelementptr i8, ptr %end, i64 -2 %sub.ptr.lhs.cast = ptrtoint ptr %add.ptr1 to i64 @@ -17221,8 +17221,8 @@ return: ; preds = %for.end, %if.else ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -27, 28) i32 @big2_scanLit(i32 noundef %open, ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -27, 28) i32 @big2_scanLit(i32 noundef %open, ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #3 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast47 = ptrtoint ptr %ptr to i64 @@ -17350,8 +17350,8 @@ return: ; preds = %sw.bb13, %sw.bb22, ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -2, 34) i32 @big2_scanDecl(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -2, 34) i32 @big2_scanDecl(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #3 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast = ptrtoint ptr %ptr to i64 @@ -17473,8 +17473,8 @@ return: ; preds = %sw.bb65, %sw.bb11, ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc i32 @big2_scanPi(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #9 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc i32 @big2_scanPi(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #3 { entry: %tok = alloca i32, align 4 %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 @@ -17897,8 +17897,8 @@ return: ; preds = %sw.bb88, %sw.bb152, ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -2, 29) i32 @big2_scanPercent(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -2, 29) i32 @big2_scanPercent(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #3 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast = ptrtoint ptr %ptr to i64 @@ -18084,8 +18084,8 @@ return: ; preds = %sw.bb89, %return.si ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -20, 21) i32 @big2_scanPoundName(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -20, 21) i32 @big2_scanPoundName(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #3 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast = ptrtoint ptr %ptr to i64 @@ -18269,8 +18269,8 @@ return: ; preds = %sw.bb88, %return.si ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -2, 14) i32 @big2_scanComment(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -2, 14) i32 @big2_scanComment(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #3 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast = ptrtoint ptr %ptr to i64 @@ -18495,8 +18495,8 @@ return: ; preds = %sw.epilog19, %sw.ep ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 -2, 11) i32 @big2_scanRef(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 -2, 11) i32 @big2_scanRef(ptr nocapture noundef readonly %enc, ptr noundef %ptr, ptr noundef %end, ptr nocapture noundef writeonly %nextTokPtr) unnamed_addr #3 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast = ptrtoint ptr %ptr to i64 @@ -19697,7 +19697,7 @@ attributes #3 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwt attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #5 = { 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 #6 = { nofree norecurse nosync nounwind 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 #7 = { 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(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 #8 = { 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 #9 = { 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 #10 = { 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" } diff --git a/bench/eastl/optimized/EAMemory.cpp.ll b/bench/eastl/optimized/EAMemory.cpp.ll index a9d5b728744..2370352b00d 100644 --- a/bench/eastl/optimized/EAMemory.cpp.ll +++ b/bench/eastl/optimized/EAMemory.cpp.ll @@ -549,7 +549,7 @@ while.end51: ; preds = %while.body46, %if.e ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite) uwtable define dso_local void @_ZN2EA4StdC15MemFillSpecificEPvPKvjj(ptr noundef %pDestination, ptr noundef %pSource, i32 noundef %destByteCount, i32 noundef %sourceByteCount) local_unnamed_addr #1 { entry: %conv = zext i32 %destByteCount to i64 @@ -558,7 +558,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite) uwtable define dso_local void @_ZN2EA4StdC15MemfillSpecificEPvPKvmm(ptr noundef %pDestination, ptr noundef %pSource, i64 noundef %destByteCount, i64 noundef %sourceByteCount) local_unnamed_addr #1 { entry: switch i64 %sourceByteCount, label %sw.default [ @@ -1222,8 +1222,8 @@ sw.epilog: ; preds = %for.body.i, %while. ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, inaccessiblemem: none) uwtable -define dso_local noundef ptr @_ZN2EA4StdC8Memset16EPvtm(ptr noundef returned %pDest, i16 noundef zeroext %c, i64 noundef %count) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: write) uwtable +define dso_local noundef ptr @_ZN2EA4StdC8Memset16EPvtm(ptr noundef returned %pDest, i16 noundef zeroext %c, i64 noundef %count) local_unnamed_addr #2 { entry: %add.ptr = getelementptr inbounds i16, ptr %pDest, i64 %count %cmp = icmp ult i64 %count, 33 @@ -1281,8 +1281,8 @@ if.end14: ; preds = %while.body, %while. ret ptr %pDest } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, inaccessiblemem: none) uwtable -define dso_local noundef ptr @_ZN2EA4StdC8Memset32EPvjm(ptr noundef returned %pDest, i32 noundef %c, i64 noundef %count) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: write) uwtable +define dso_local noundef ptr @_ZN2EA4StdC8Memset32EPvjm(ptr noundef returned %pDest, i32 noundef %c, i64 noundef %count) local_unnamed_addr #2 { entry: %add.ptr = getelementptr inbounds i32, ptr %pDest, i64 %count %cmp = icmp ult i64 %count, 17 @@ -1340,8 +1340,8 @@ if.end15: ; preds = %while.body, %while. ret ptr %pDest } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, inaccessiblemem: none) uwtable -define dso_local noundef ptr @_ZN2EA4StdC8Memset64EPvmm(ptr noundef returned writeonly %pDest, i64 noundef %c, i64 noundef %count) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: write) uwtable +define dso_local noundef ptr @_ZN2EA4StdC8Memset64EPvmm(ptr noundef returned writeonly %pDest, i64 noundef %c, i64 noundef %count) local_unnamed_addr #2 { entry: %add.ptr = getelementptr inbounds i64, ptr %pDest, i64 %count %cmp4 = icmp sgt i64 %count, 0 @@ -1358,8 +1358,8 @@ while.end: ; preds = %while.body, %entry ret ptr %pDest } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: write) uwtable -define dso_local noundef ptr @_ZN2EA4StdC7MemsetNEPvPKvmm(ptr noundef returned %pDestination, ptr noundef %pSource, i64 noundef %sourceBytes, i64 noundef %count) local_unnamed_addr #1 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: write) uwtable +define dso_local noundef ptr @_ZN2EA4StdC7MemsetNEPvPKvmm(ptr noundef returned %pDestination, ptr noundef %pSource, i64 noundef %sourceBytes, i64 noundef %count) local_unnamed_addr #3 { entry: %0 = ptrtoint ptr %pDestination to i64 %1 = ptrtoint ptr %pSource to i64 @@ -1461,8 +1461,8 @@ if.end34: ; preds = %for.cond22.while.co ret ptr %pDestination } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local noundef ptr @_ZN2EA4StdC9Memcheck8EPKvhm(ptr noundef readonly %p, i8 noundef zeroext %c, i64 noundef %byteCount) local_unnamed_addr #2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define dso_local noundef ptr @_ZN2EA4StdC9Memcheck8EPKvhm(ptr noundef readonly %p, i8 noundef zeroext %c, i64 noundef %byteCount) local_unnamed_addr #4 { entry: %cmp.not4 = icmp eq i64 %byteCount, 0 br i1 %cmp.not4, label %return, label %for.body @@ -1485,8 +1485,8 @@ return: ; preds = %for.body, %for.inc, ret ptr %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local noundef ptr @_ZN2EA4StdC10Memcheck16EPKvtm(ptr noundef %p, i16 noundef zeroext %c, i64 noundef %byteCount) local_unnamed_addr #2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define dso_local noundef ptr @_ZN2EA4StdC10Memcheck16EPKvtm(ptr noundef %p, i16 noundef zeroext %c, i64 noundef %byteCount) local_unnamed_addr #4 { entry: %u = alloca %union.U16, align 2 store i16 %c, ptr %u, align 2 @@ -1519,8 +1519,8 @@ return: ; preds = %for.body, %for.inc, ret ptr %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local noundef ptr @_ZN2EA4StdC10Memcheck32EPKvjm(ptr noundef %p, i32 noundef %c, i64 noundef %byteCount) local_unnamed_addr #2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define dso_local noundef ptr @_ZN2EA4StdC10Memcheck32EPKvjm(ptr noundef %p, i32 noundef %c, i64 noundef %byteCount) local_unnamed_addr #4 { entry: %u = alloca %union.U32, align 4 store i32 %c, ptr %u, align 4 @@ -1553,8 +1553,8 @@ return: ; preds = %for.body, %for.inc, ret ptr %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local noundef ptr @_ZN2EA4StdC10Memcheck64EPKvmm(ptr noundef %p, i64 noundef %c, i64 noundef %byteCount) local_unnamed_addr #2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define dso_local noundef ptr @_ZN2EA4StdC10Memcheck64EPKvmm(ptr noundef %p, i64 noundef %c, i64 noundef %byteCount) local_unnamed_addr #4 { entry: %u = alloca %union.U64, align 8 store i64 %c, ptr %u, align 8 @@ -1587,8 +1587,8 @@ return: ; preds = %for.body, %for.inc, ret ptr %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local noundef ptr @_ZN2EA4StdC6MemchrEPKccm(ptr noundef readonly %p, i8 noundef signext %c, i64 noundef %nCharCount) local_unnamed_addr #2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define dso_local noundef ptr @_ZN2EA4StdC6MemchrEPKccm(ptr noundef readonly %p, i8 noundef signext %c, i64 noundef %nCharCount) local_unnamed_addr #4 { entry: %cmp.not4 = icmp eq i64 %nCharCount, 0 br i1 %cmp.not4, label %return, label %for.body @@ -1611,8 +1611,8 @@ return: ; preds = %for.body, %for.inc, ret ptr %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local noundef ptr @_ZN2EA4StdC8Memchr16EPKDsDsm(ptr noundef readonly %pString, i16 noundef zeroext %c, i64 noundef %nCharCount) local_unnamed_addr #2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define dso_local noundef ptr @_ZN2EA4StdC8Memchr16EPKDsDsm(ptr noundef readonly %pString, i16 noundef zeroext %c, i64 noundef %nCharCount) local_unnamed_addr #4 { entry: %cmp.not4 = icmp eq i64 %nCharCount, 0 br i1 %cmp.not4, label %return, label %for.body @@ -1635,8 +1635,8 @@ return: ; preds = %for.body, %for.inc, ret ptr %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local noundef ptr @_ZN2EA4StdC8Memchr32EPKDiDim(ptr noundef readonly %pString, i32 noundef zeroext %c, i64 noundef %nCharCount) local_unnamed_addr #2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define dso_local noundef ptr @_ZN2EA4StdC8Memchr32EPKDiDim(ptr noundef readonly %pString, i32 noundef zeroext %c, i64 noundef %nCharCount) local_unnamed_addr #4 { entry: %cmp.not4 = icmp eq i64 %nCharCount, 0 br i1 %cmp.not4, label %return, label %for.body @@ -1659,8 +1659,8 @@ return: ; preds = %for.body, %for.inc, ret ptr %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local noundef range(i32 -1, 2) i32 @_ZN2EA4StdC6MemcmpEPKvS2_m(ptr nocapture noundef readonly %pString1, ptr nocapture noundef readonly %pString2, i64 noundef %nCharCount) local_unnamed_addr #2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define dso_local noundef range(i32 -1, 2) i32 @_ZN2EA4StdC6MemcmpEPKvS2_m(ptr nocapture noundef readonly %pString1, ptr nocapture noundef readonly %pString2, i64 noundef %nCharCount) local_unnamed_addr #4 { entry: %cmp.not7 = icmp eq i64 %nCharCount, 0 br i1 %cmp.not7, label %return, label %for.body @@ -1691,8 +1691,8 @@ return: ; preds = %for.inc, %entry, %i ret i32 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local noundef ptr @_ZN2EA4StdC6MemmemEPKvmS2_m(ptr noundef readonly %pMemory, i64 noundef %memorySize, ptr nocapture noundef readonly %pFind, i64 noundef %findSize) local_unnamed_addr #2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define dso_local noundef ptr @_ZN2EA4StdC6MemmemEPKvmS2_m(ptr noundef readonly %pMemory, i64 noundef %memorySize, ptr nocapture noundef readonly %pFind, i64 noundef %findSize) local_unnamed_addr #4 { entry: %add.ptr = getelementptr inbounds i8, ptr %pMemory, i64 %memorySize %idx.neg = sub i64 0, %findSize @@ -1871,8 +1871,8 @@ _ZN2EA4StdCL9Memfill24EPvPKvm.exit: ; preds = %while.body53.i, %wh ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, inaccessiblemem: none) uwtable -define dso_local void @_ZN2EA4StdC9Memfill64EPvmm(ptr noundef %pDestination, i64 noundef %c, i64 noundef %byteCount) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: write) uwtable +define dso_local void @_ZN2EA4StdC9Memfill64EPvmm(ptr noundef %pDestination, i64 noundef %c, i64 noundef %byteCount) local_unnamed_addr #2 { entry: %c.addr = alloca i64, align 8 store i64 %c, ptr %c.addr, align 8 @@ -1964,14 +1964,14 @@ _ZN2EA4StdCL10MemfillAnyEPvPKvmm.exit: ; preds = %for.cond21.while.co } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local void @_ZN2EA4StdC8Memfill8EPvhm(ptr nocapture noundef writeonly %pDestination, i8 noundef zeroext %c, i64 noundef %byteCount) local_unnamed_addr #3 { +define dso_local void @_ZN2EA4StdC8Memfill8EPvhm(ptr nocapture noundef writeonly %pDestination, i8 noundef zeroext %c, i64 noundef %byteCount) local_unnamed_addr #5 { entry: tail call void @llvm.memset.p0.i64(ptr align 1 %pDestination, i8 %c, i64 %byteCount, i1 false) ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN2EA4StdC18TimingSafeMemEqualEPKvS2_m(ptr nocapture noundef readonly %pMem1, ptr nocapture noundef readonly %pMem2, i64 noundef %byteCount) local_unnamed_addr #2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define dso_local noundef zeroext i1 @_ZN2EA4StdC18TimingSafeMemEqualEPKvS2_m(ptr nocapture noundef readonly %pMem1, ptr nocapture noundef readonly %pMem2, i64 noundef %byteCount) local_unnamed_addr #4 { entry: %cmp.not7 = icmp eq i64 %byteCount, 0 br i1 %cmp.not7, label %for.end, label %for.body @@ -2030,8 +2030,8 @@ while.end: ; preds = %while.body, %entry ret i32 %result.0.lcssa } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN2EA4StdC20TimingSafeMemIsClearEPKvm(ptr nocapture noundef readonly %pMem, i64 noundef %byteCount) local_unnamed_addr #2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define dso_local noundef zeroext i1 @_ZN2EA4StdC20TimingSafeMemIsClearEPKvm(ptr nocapture noundef readonly %pMem, i64 noundef %byteCount) local_unnamed_addr #4 { entry: %tobool.not2 = icmp eq i64 %byteCount, 0 br i1 %tobool.not2, label %while.end, label %while.body @@ -2058,28 +2058,29 @@ while.end: ; preds = %while.end.loopexit, } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #6 +declare i32 @llvm.fshl.i32(i32, i32, i32) #7 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #6 +declare i64 @llvm.umin.i64(i64, i64) #7 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #7 +declare void @llvm.assume(i1 noundef) #8 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.bswap.i32(i32) #6 +declare i32 @llvm.bswap.i32(i32) #7 attributes #0 = { mustprogress nofree norecurse nosync nounwind memory(write, 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 #1 = { mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: 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 #2 = { 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 #3 = { 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 #1 = { mustprogress nofree norecurse nosync nounwind memory(write, 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 #2 = { mustprogress 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 #3 = { mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: 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 #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #7 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #5 = { 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #8 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/eastl/optimized/EARandom.cpp.ll b/bench/eastl/optimized/EARandom.cpp.ll index 963b7025a45..15182171b40 100644 --- a/bench/eastl/optimized/EARandom.cpp.ll +++ b/bench/eastl/optimized/EARandom.cpp.ll @@ -591,8 +591,8 @@ _ZN2EA4StdC21RandomMersenneTwister6ReloadEv.exit: ; preds = %for.body20.i ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN2EA4StdC21RandomMersenneTwisterC2EPKjj(ptr noundef nonnull align 8 dereferenceable(2508) %this, ptr noundef readonly %seedArray, i32 noundef %nSeedArraySize) unnamed_addr #5 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local void @_ZN2EA4StdC21RandomMersenneTwisterC2EPKjj(ptr noundef nonnull align 8 dereferenceable(2508) %this, ptr noundef readonly %seedArray, i32 noundef %nSeedArraySize) unnamed_addr #1 align 2 { entry: %mpNextState = getelementptr inbounds i8, ptr %this, i64 2496 store ptr null, ptr %mpNextState, align 8 @@ -631,8 +631,8 @@ _ZN2EA4StdC21RandomMersenneTwister7SetSeedEPKjj.exit: ; preds = %while.body.i, % ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN2EA4StdC21RandomMersenneTwister7SetSeedEPKjj(ptr noundef nonnull align 8 dereferenceable(2508) %this, ptr noundef readonly %seedArray, i32 noundef %nSeedArraySize) local_unnamed_addr #5 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local void @_ZN2EA4StdC21RandomMersenneTwister7SetSeedEPKjj(ptr noundef nonnull align 8 dereferenceable(2508) %this, ptr noundef readonly %seedArray, i32 noundef %nSeedArraySize) local_unnamed_addr #1 align 2 { entry: %cmp.not = icmp eq i32 %nSeedArraySize, 0 br i1 %cmp.not, label %if.end20, label %if.then @@ -689,7 +689,7 @@ entry: } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5 ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define dso_local noundef i32 @_ZNK2EA4StdC21RandomMersenneTwister7GetSeedEPjj(ptr nocapture noundef nonnull readonly align 8 dereferenceable(2508) %this, ptr nocapture noundef writeonly %seedArray, i32 noundef %nSeedArraySize) local_unnamed_addr #1 align 2 { @@ -744,8 +744,8 @@ return: ; preds = %entry, %for.end17 ret i32 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN2EA4StdC21RandomMersenneTwister6ReloadEv(ptr noundef nonnull align 8 dereferenceable(2508) %this) local_unnamed_addr #7 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local void @_ZN2EA4StdC21RandomMersenneTwister6ReloadEv(ptr noundef nonnull align 8 dereferenceable(2508) %this) local_unnamed_addr #1 align 2 { entry: %arrayidx5 = getelementptr inbounds i8, ptr %this, i64 1588 %0 = load i32, ptr %this, align 8 @@ -825,8 +825,8 @@ for.end32: ; preds = %for.body20 ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local noundef i32 @_ZN2EA4StdC21RandomMersenneTwister19RandomUint32UniformEv(ptr noundef nonnull align 8 dereferenceable(2508) %this) local_unnamed_addr #7 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define dso_local noundef i32 @_ZN2EA4StdC21RandomMersenneTwister19RandomUint32UniformEv(ptr noundef nonnull align 8 dereferenceable(2508) %this) local_unnamed_addr #6 align 2 { entry: %mnCountRemaining = getelementptr inbounds i8, ptr %this, i64 2504 %0 = load i32, ptr %mnCountRemaining, align 8 @@ -934,8 +934,8 @@ if.end: ; preds = %entry.if.end_crit_e ret i32 %xor9 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local noundef i32 @_ZN2EA4StdC21RandomMersenneTwister19RandomUint32UniformEj(ptr noundef nonnull align 8 dereferenceable(2508) %this, i32 noundef %nLimit) local_unnamed_addr #7 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define dso_local noundef i32 @_ZN2EA4StdC21RandomMersenneTwister19RandomUint32UniformEj(ptr noundef nonnull align 8 dereferenceable(2508) %this, i32 noundef %nLimit) local_unnamed_addr #6 align 2 { entry: %0 = tail call range(i32 0, 33) i32 @llvm.ctpop.i32(i32 %nLimit) %cmp.i = icmp ult i32 %0, 2 @@ -962,8 +962,8 @@ _ZN2EA4StdC11RandomLimitINS0_21RandomMersenneTwisterEEEjRT_j.exit: ; preds = %do ret i32 %retval.0.i } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local noundef double @_ZN2EA4StdC21RandomMersenneTwister19RandomDoubleUniformEv(ptr noundef nonnull align 8 dereferenceable(2508) %this) local_unnamed_addr #7 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define dso_local noundef double @_ZN2EA4StdC21RandomMersenneTwister19RandomDoubleUniformEv(ptr noundef nonnull align 8 dereferenceable(2508) %this) local_unnamed_addr #6 align 2 { entry: %call = tail call noundef i32 @_ZN2EA4StdC21RandomMersenneTwister19RandomUint32UniformEv(ptr noundef nonnull align 8 dereferenceable(2508) %this) %conv = sitofp i32 %call to double @@ -974,7 +974,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, argmem: none, inaccessiblemem: none) uwtable -define dso_local noundef i32 @_ZN2EA4StdC21RandomMersenneTwister4HashEii(ptr nocapture noundef nonnull readnone align 8 dereferenceable(2508) %this, i32 noundef %t, i32 noundef %c) local_unnamed_addr #8 align 2 { +define dso_local noundef i32 @_ZN2EA4StdC21RandomMersenneTwister4HashEii(ptr nocapture noundef nonnull readnone align 8 dereferenceable(2508) %this, i32 noundef %t, i32 noundef %c) local_unnamed_addr #7 align 2 { entry: %t.addr = alloca i32, align 4 %c.addr = alloca i32, align 4 @@ -1016,35 +1016,34 @@ for.end14: ; preds = %for.body6 } ; Function Attrs: nounwind -declare i64 @llvm.x86.rdtsc() #9 +declare i64 @llvm.x86.rdtsc() #8 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.ctpop.i32(i32) #10 +declare i32 @llvm.ctpop.i32(i32) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #10 +declare i32 @llvm.umin.i32(i32, i32) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #10 +declare i32 @llvm.smin.i32(i32, i32) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #10 +declare i32 @llvm.umax.i32(i32, i32) #9 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #11 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #10 attributes #0 = { mustprogress 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 #1 = { mustprogress 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 #2 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { 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 #5 = { mustprogress 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #7 = { mustprogress 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 #8 = { mustprogress nofree norecurse nosync nounwind memory(readwrite, argmem: none, 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 = { nounwind } -attributes #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #11 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #6 = { mustprogress 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 #7 = { mustprogress nofree norecurse nosync nounwind memory(readwrite, argmem: none, 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 = { nounwind } +attributes #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #10 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/eastl/optimized/EATextUtil.cpp.ll b/bench/eastl/optimized/EATextUtil.cpp.ll index d7f3767db5b..b62a18f4d68 100644 --- a/bench/eastl/optimized/EATextUtil.cpp.ll +++ b/bench/eastl/optimized/EATextUtil.cpp.ll @@ -17,7 +17,7 @@ $_ZN2EA4StdC12MatchPatternIDiEEbPKT_S4_ = comdat any @.str.4 = private unnamed_addr constant [36 x i8] c"EATextUtil/StringAllocated/char32[]\00", align 1 @.str.5 = private unnamed_addr constant [37 x i8] c"EATextUtil/PatternAllocated/char32[]\00", align 1 -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local noundef zeroext i1 @_ZN2EA4StdC12UTF8ValidateEPKcm(ptr noundef %pText, i64 noundef %nLength) local_unnamed_addr #0 { entry: %add.ptr = getelementptr inbounds i8, ptr %pText, i64 %nLength @@ -209,7 +209,7 @@ while.end: ; preds = %if.end183, %if.else ret i1 %cmp184 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local noundef ptr @_ZN2EA4StdC13UTF8IncrementEPKcm(ptr noundef readonly %p, i64 noundef %n) local_unnamed_addr #0 { entry: %tobool.not15 = icmp eq i64 %n, 0 @@ -255,7 +255,7 @@ while.end: ; preds = %if.end26, %entry ret ptr %p.addr.0.lcssa } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local noundef ptr @_ZN2EA4StdC13UTF8DecrementEPKcm(ptr noundef readonly %p, i64 noundef %n) local_unnamed_addr #0 { entry: %tobool.not3 = icmp eq i64 %n, 0 @@ -277,7 +277,7 @@ while.end: ; preds = %while.body, %entry ret ptr %p.addr.0.lcssa } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local noundef i64 @_ZN2EA4StdC10UTF8LengthEPKc(ptr nocapture noundef readonly %p) local_unnamed_addr #0 { entry: %0 = load i8, ptr %p, align 1 @@ -302,7 +302,7 @@ while.end: ; preds = %while.body, %entry ret i64 %n.0.lcssa } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local noundef i64 @_ZN2EA4StdC10UTF8LengthEPKDs(ptr nocapture noundef readonly %p) local_unnamed_addr #0 { entry: %0 = load i16, ptr %p, align 2 @@ -328,7 +328,7 @@ while.end: ; preds = %while.body, %entry ret i64 %n.0.lcssa } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local noundef i64 @_ZN2EA4StdC10UTF8LengthEPKDi(ptr nocapture noundef readonly %p) local_unnamed_addr #0 { entry: %0 = load i32, ptr %p, align 4 @@ -377,7 +377,7 @@ while.end: ; preds = %if.end27, %entry } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define dso_local noundef range(i64 1, 7) i64 @_ZN2EA4StdC12UTF8CharSizeEPKc(ptr nocapture noundef readonly %p) local_unnamed_addr #1 { +define dso_local noundef range(i64 1, 7) i64 @_ZN2EA4StdC12UTF8CharSizeEPKc(ptr nocapture noundef readonly %p) local_unnamed_addr #0 { entry: %0 = load i8, ptr %p, align 1 %cmp = icmp ult i8 %0, -62 @@ -410,7 +410,7 @@ return: ; preds = %if.else12, %if.else } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef range(i64 1, 4) i64 @_ZN2EA4StdC12UTF8CharSizeEDs(i16 noundef zeroext %c) local_unnamed_addr #2 { +define dso_local noundef range(i64 1, 4) i64 @_ZN2EA4StdC12UTF8CharSizeEDs(i16 noundef zeroext %c) local_unnamed_addr #1 { entry: %cmp = icmp ult i16 %c, 128 %cmp2 = icmp ult i16 %c, 2048 @@ -420,7 +420,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef range(i64 1, 7) i64 @_ZN2EA4StdC12UTF8CharSizeEDi(i32 noundef zeroext %c) local_unnamed_addr #2 { +define dso_local noundef range(i64 1, 7) i64 @_ZN2EA4StdC12UTF8CharSizeEDi(i32 noundef zeroext %c) local_unnamed_addr #1 { entry: %cmp = icmp ult i32 %c, 128 br i1 %cmp, label %return, label %if.else @@ -452,7 +452,7 @@ return: ; preds = %if.else12, %if.else } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define dso_local noundef zeroext i16 @_ZN2EA4StdC12UTF8ReadCharEPKcPS2_(ptr noundef %p, ptr noundef writeonly %ppEnd) local_unnamed_addr #3 { +define dso_local noundef zeroext i16 @_ZN2EA4StdC12UTF8ReadCharEPKcPS2_(ptr noundef %p, ptr noundef writeonly %ppEnd) local_unnamed_addr #2 { entry: %0 = load i8, ptr %p, align 1 %conv = zext i8 %0 to i32 @@ -534,7 +534,7 @@ if.end67: ; preds = %if.then66, %if.end6 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef nonnull ptr @_ZN2EA4StdC13UTF8WriteCharEPcDs(ptr noundef writeonly %p, i16 noundef zeroext %c) local_unnamed_addr #4 { +define dso_local noundef nonnull ptr @_ZN2EA4StdC13UTF8WriteCharEPcDs(ptr noundef writeonly %p, i16 noundef zeroext %c) local_unnamed_addr #3 { entry: %cmp = icmp ult i16 %c, 128 %incdec.ptr = getelementptr inbounds i8, ptr %p, i64 1 @@ -585,7 +585,7 @@ if.end29: ; preds = %if.then4, %if.else1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local noundef nonnull ptr @_ZN2EA4StdC13UTF8WriteCharEPcDi(ptr noundef writeonly %p, i32 noundef zeroext %c) local_unnamed_addr #4 { +define dso_local noundef nonnull ptr @_ZN2EA4StdC13UTF8WriteCharEPcDi(ptr noundef writeonly %p, i32 noundef zeroext %c) local_unnamed_addr #3 { entry: %cmp = icmp ult i32 %c, 128 br i1 %cmp, label %if.then, label %if.else @@ -665,7 +665,7 @@ if.end44: ; preds = %if.then2, %if.else2 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef i64 @_ZN2EA4StdC19UTF8TrimPartialCharEPcm(ptr nocapture noundef %pString, i64 noundef %nLength) local_unnamed_addr #5 { +define dso_local noundef i64 @_ZN2EA4StdC19UTF8TrimPartialCharEPcm(ptr nocapture noundef %pString, i64 noundef %nLength) local_unnamed_addr #4 { entry: br label %while.cond @@ -694,7 +694,7 @@ while.end: ; preds = %while.body, %while. } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef ptr @_ZN2EA4StdC22UTF8ReplaceInvalidCharEPKcmPcc(ptr nocapture noundef readonly %pIn, i64 noundef %nLength, ptr noundef writeonly %pOut, i8 noundef signext %replaceWith) local_unnamed_addr #5 { +define dso_local noundef ptr @_ZN2EA4StdC22UTF8ReplaceInvalidCharEPKcmPcc(ptr nocapture noundef readonly %pIn, i64 noundef %nLength, ptr noundef writeonly %pOut, i8 noundef signext %replaceWith) local_unnamed_addr #4 { entry: %cmp22.not = icmp eq i64 %nLength, 0 br i1 %cmp22.not, label %while.end, label %while.body @@ -748,7 +748,7 @@ while.end: ; preds = %if.end, %entry } ; Function Attrs: mustprogress uwtable -define dso_local noundef zeroext i1 @_ZN2EA4StdC13WildcardMatchEPKcS2_b(ptr noundef %pString, ptr noundef %pPattern, i1 noundef zeroext %bCaseSensitive) local_unnamed_addr #6 { +define dso_local noundef zeroext i1 @_ZN2EA4StdC13WildcardMatchEPKcS2_b(ptr noundef %pString, ptr noundef %pPattern, i1 noundef zeroext %bCaseSensitive) local_unnamed_addr #5 { entry: %pStringLBuffer = alloca [384 x i8], align 16 %pPatternLBuffer = alloca [32 x i8], align 16 @@ -792,7 +792,7 @@ if.end14: ; preds = %if.end, %if.then9 br i1 %isnull, label %delete.end, label %delete.notnull delete.notnull: ; preds = %if.end14 - call void @_ZdaPv(ptr noundef nonnull %pStringLAllocated.0) #12 + call void @_ZdaPv(ptr noundef nonnull %pStringLAllocated.0) #11 br label %delete.end delete.end: ; preds = %delete.notnull, %if.end14 @@ -800,7 +800,7 @@ delete.end: ; preds = %delete.notnull, %if br i1 %isnull19, label %return, label %delete.notnull20 delete.notnull20: ; preds = %delete.end - call void @_ZdaPv(ptr noundef nonnull %pPatternLAllocated.0) #12 + call void @_ZdaPv(ptr noundef nonnull %pPatternLAllocated.0) #11 br label %return return: ; preds = %delete.end, %delete.notnull20, %if.then @@ -809,7 +809,7 @@ return: ; preds = %delete.end, %delete } ; Function Attrs: mustprogress uwtable -define linkonce_odr dso_local noundef zeroext i1 @_ZN2EA4StdC12MatchPatternIcEEbPKT_S4_(ptr noundef %pElement, ptr noundef %pPattern) local_unnamed_addr #6 comdat { +define linkonce_odr dso_local noundef zeroext i1 @_ZN2EA4StdC12MatchPatternIcEEbPKT_S4_(ptr noundef %pElement, ptr noundef %pPattern) local_unnamed_addr #5 comdat { entry: br label %tailrecurse.outer @@ -865,19 +865,19 @@ return: ; preds = %if.else8, %if.else. ret i1 %retval.0 } -declare noundef i64 @_ZN2EA4StdC6StrlenEPKc(ptr noundef) local_unnamed_addr #7 +declare noundef i64 @_ZN2EA4StdC6StrlenEPKc(ptr noundef) local_unnamed_addr #6 -declare noundef ptr @_ZnamPKcijS0_i(i64 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #7 +declare noundef ptr @_ZnamPKcijS0_i(i64 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #6 -declare noundef ptr @_ZN2EA4StdC6StrcpyEPcPKc(ptr noundef, ptr noundef) local_unnamed_addr #7 +declare noundef ptr @_ZN2EA4StdC6StrcpyEPcPKc(ptr noundef, ptr noundef) local_unnamed_addr #6 -declare noundef ptr @_ZN2EA4StdC6StrlwrEPc(ptr noundef) local_unnamed_addr #7 +declare noundef ptr @_ZN2EA4StdC6StrlwrEPc(ptr noundef) local_unnamed_addr #6 ; Function Attrs: nobuiltin nounwind -declare void @_ZdaPv(ptr noundef) local_unnamed_addr #8 +declare void @_ZdaPv(ptr noundef) local_unnamed_addr #7 ; Function Attrs: mustprogress uwtable -define dso_local noundef zeroext i1 @_ZN2EA4StdC13WildcardMatchEPKDsS2_b(ptr noundef %pString, ptr noundef %pPattern, i1 noundef zeroext %bCaseSensitive) local_unnamed_addr #6 { +define dso_local noundef zeroext i1 @_ZN2EA4StdC13WildcardMatchEPKDsS2_b(ptr noundef %pString, ptr noundef %pPattern, i1 noundef zeroext %bCaseSensitive) local_unnamed_addr #5 { entry: %pStringLBuffer = alloca [384 x i16], align 16 %pPatternLBuffer = alloca [32 x i16], align 16 @@ -927,7 +927,7 @@ if.end14: ; preds = %if.end, %if.then9 br i1 %isnull, label %delete.end, label %delete.notnull delete.notnull: ; preds = %if.end14 - call void @_ZdaPv(ptr noundef nonnull %pStringLAllocated.0) #12 + call void @_ZdaPv(ptr noundef nonnull %pStringLAllocated.0) #11 br label %delete.end delete.end: ; preds = %delete.notnull, %if.end14 @@ -935,7 +935,7 @@ delete.end: ; preds = %delete.notnull, %if br i1 %isnull19, label %return, label %delete.notnull20 delete.notnull20: ; preds = %delete.end - call void @_ZdaPv(ptr noundef nonnull %pPatternLAllocated.0) #12 + call void @_ZdaPv(ptr noundef nonnull %pPatternLAllocated.0) #11 br label %return return: ; preds = %delete.end, %delete.notnull20, %if.then @@ -944,7 +944,7 @@ return: ; preds = %delete.end, %delete } ; Function Attrs: mustprogress uwtable -define linkonce_odr dso_local noundef zeroext i1 @_ZN2EA4StdC12MatchPatternIDsEEbPKT_S4_(ptr noundef %pElement, ptr noundef %pPattern) local_unnamed_addr #6 comdat { +define linkonce_odr dso_local noundef zeroext i1 @_ZN2EA4StdC12MatchPatternIDsEEbPKT_S4_(ptr noundef %pElement, ptr noundef %pPattern) local_unnamed_addr #5 comdat { entry: br label %tailrecurse.outer @@ -1000,14 +1000,14 @@ return: ; preds = %if.else8, %if.else. ret i1 %retval.0 } -declare noundef i64 @_ZN2EA4StdC6StrlenEPKDs(ptr noundef) local_unnamed_addr #7 +declare noundef i64 @_ZN2EA4StdC6StrlenEPKDs(ptr noundef) local_unnamed_addr #6 -declare noundef ptr @_ZN2EA4StdC6StrcpyEPDsPKDs(ptr noundef, ptr noundef) local_unnamed_addr #7 +declare noundef ptr @_ZN2EA4StdC6StrcpyEPDsPKDs(ptr noundef, ptr noundef) local_unnamed_addr #6 -declare noundef ptr @_ZN2EA4StdC6StrlwrEPDs(ptr noundef) local_unnamed_addr #7 +declare noundef ptr @_ZN2EA4StdC6StrlwrEPDs(ptr noundef) local_unnamed_addr #6 ; Function Attrs: mustprogress uwtable -define dso_local noundef zeroext i1 @_ZN2EA4StdC13WildcardMatchEPKDiS2_b(ptr noundef %pString, ptr noundef %pPattern, i1 noundef zeroext %bCaseSensitive) local_unnamed_addr #6 { +define dso_local noundef zeroext i1 @_ZN2EA4StdC13WildcardMatchEPKDiS2_b(ptr noundef %pString, ptr noundef %pPattern, i1 noundef zeroext %bCaseSensitive) local_unnamed_addr #5 { entry: %pStringLBuffer = alloca [384 x i32], align 16 %pPatternLBuffer = alloca [32 x i32], align 16 @@ -1057,7 +1057,7 @@ if.end14: ; preds = %if.end, %if.then9 br i1 %isnull, label %delete.end, label %delete.notnull delete.notnull: ; preds = %if.end14 - call void @_ZdaPv(ptr noundef nonnull %pStringLAllocated.0) #12 + call void @_ZdaPv(ptr noundef nonnull %pStringLAllocated.0) #11 br label %delete.end delete.end: ; preds = %delete.notnull, %if.end14 @@ -1065,7 +1065,7 @@ delete.end: ; preds = %delete.notnull, %if br i1 %isnull19, label %return, label %delete.notnull20 delete.notnull20: ; preds = %delete.end - call void @_ZdaPv(ptr noundef nonnull %pPatternLAllocated.0) #12 + call void @_ZdaPv(ptr noundef nonnull %pPatternLAllocated.0) #11 br label %return return: ; preds = %delete.end, %delete.notnull20, %if.then @@ -1074,7 +1074,7 @@ return: ; preds = %delete.end, %delete } ; Function Attrs: mustprogress uwtable -define linkonce_odr dso_local noundef zeroext i1 @_ZN2EA4StdC12MatchPatternIDiEEbPKT_S4_(ptr noundef %pElement, ptr noundef %pPattern) local_unnamed_addr #6 comdat { +define linkonce_odr dso_local noundef zeroext i1 @_ZN2EA4StdC12MatchPatternIDiEEbPKT_S4_(ptr noundef %pElement, ptr noundef %pPattern) local_unnamed_addr #5 comdat { entry: br label %tailrecurse.outer @@ -1130,14 +1130,14 @@ return: ; preds = %if.else8, %if.else. ret i1 %retval.0 } -declare noundef i64 @_ZN2EA4StdC6StrlenEPKDi(ptr noundef) local_unnamed_addr #7 +declare noundef i64 @_ZN2EA4StdC6StrlenEPKDi(ptr noundef) local_unnamed_addr #6 -declare noundef ptr @_ZN2EA4StdC6StrcpyEPDiPKDi(ptr noundef, ptr noundef) local_unnamed_addr #7 +declare noundef ptr @_ZN2EA4StdC6StrcpyEPDiPKDi(ptr noundef, ptr noundef) local_unnamed_addr #6 -declare noundef ptr @_ZN2EA4StdC6StrlwrEPDi(ptr noundef) local_unnamed_addr #7 +declare noundef ptr @_ZN2EA4StdC6StrlwrEPDi(ptr noundef) local_unnamed_addr #6 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef ptr @_ZN2EA4StdC11GetTextLineEPKcS2_PS2_(ptr noundef %pText, ptr noundef %pTextEnd, ptr noundef writeonly %ppNewText) local_unnamed_addr #5 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local noundef ptr @_ZN2EA4StdC11GetTextLineEPKcS2_PS2_(ptr noundef %pText, ptr noundef %pTextEnd, ptr noundef writeonly %ppNewText) local_unnamed_addr #8 { entry: %cmp = icmp ult ptr %pText, %pTextEnd br i1 %cmp, label %land.lhs.true.preheader, label %if.else @@ -1202,8 +1202,8 @@ if.end21: ; preds = %if.end21.sink.split ret ptr %pText.addr.1 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef ptr @_ZN2EA4StdC11GetTextLineEPKDsS2_PS2_(ptr noundef %pText, ptr noundef %pTextEnd, ptr noundef writeonly %ppNewText) local_unnamed_addr #5 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local noundef ptr @_ZN2EA4StdC11GetTextLineEPKDsS2_PS2_(ptr noundef %pText, ptr noundef %pTextEnd, ptr noundef writeonly %ppNewText) local_unnamed_addr #8 { entry: %cmp = icmp ult ptr %pText, %pTextEnd br i1 %cmp, label %land.lhs.true, label %if.else @@ -1261,8 +1261,8 @@ if.end21: ; preds = %if.end21.sink.split ret ptr %pText.addr.1 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef ptr @_ZN2EA4StdC11GetTextLineEPKDiS2_PS2_(ptr noundef %pText, ptr noundef %pTextEnd, ptr noundef writeonly %ppNewText) local_unnamed_addr #5 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local noundef ptr @_ZN2EA4StdC11GetTextLineEPKDiS2_PS2_(ptr noundef %pText, ptr noundef %pTextEnd, ptr noundef writeonly %ppNewText) local_unnamed_addr #8 { entry: %cmp = icmp ult ptr %pText, %pTextEnd br i1 %cmp, label %land.lhs.true, label %if.else @@ -1321,7 +1321,7 @@ if.end18: ; preds = %if.end18.sink.split } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN2EA4StdC18ParseDelimitedTextEPKcS2_cRS2_S3_PS2_(ptr noundef %pText, ptr noundef readnone %pTextEnd, i8 noundef signext %cDelimiter, ptr nocapture noundef nonnull align 8 dereferenceable(8) %pToken, ptr nocapture noundef nonnull align 8 dereferenceable(8) %pTokenEnd, ptr noundef writeonly %ppNewText) local_unnamed_addr #5 { +define dso_local noundef zeroext i1 @_ZN2EA4StdC18ParseDelimitedTextEPKcS2_cRS2_S3_PS2_(ptr noundef %pText, ptr noundef readnone %pTextEnd, i8 noundef signext %cDelimiter, ptr nocapture noundef nonnull align 8 dereferenceable(8) %pToken, ptr nocapture noundef nonnull align 8 dereferenceable(8) %pTokenEnd, ptr noundef writeonly %ppNewText) local_unnamed_addr #4 { entry: store ptr %pText, ptr %pToken, align 8 %cmp48 = icmp ult ptr %pText, %pTextEnd @@ -1514,7 +1514,7 @@ return: ; preds = %for.end72, %if.then } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN2EA4StdC18ParseDelimitedTextEPKDsS2_DsRS2_S3_PS2_(ptr noundef %pText, ptr noundef readnone %pTextEnd, i16 noundef zeroext %cDelimiter, ptr nocapture noundef nonnull align 8 dereferenceable(8) %pToken, ptr nocapture noundef nonnull align 8 dereferenceable(8) %pTokenEnd, ptr noundef writeonly %ppNewText) local_unnamed_addr #5 { +define dso_local noundef zeroext i1 @_ZN2EA4StdC18ParseDelimitedTextEPKDsS2_DsRS2_S3_PS2_(ptr noundef %pText, ptr noundef readnone %pTextEnd, i16 noundef zeroext %cDelimiter, ptr nocapture noundef nonnull align 8 dereferenceable(8) %pToken, ptr nocapture noundef nonnull align 8 dereferenceable(8) %pTokenEnd, ptr noundef writeonly %ppNewText) local_unnamed_addr #4 { entry: store ptr %pText, ptr %pToken, align 8 %cmp48 = icmp ult ptr %pText, %pTextEnd @@ -1700,7 +1700,7 @@ return: ; preds = %for.end72, %if.then } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN2EA4StdC18ParseDelimitedTextEPKDiS2_DiRS2_S3_PS2_(ptr noundef %pText, ptr noundef readnone %pTextEnd, i32 noundef zeroext %cDelimiter, ptr nocapture noundef nonnull align 8 dereferenceable(8) %pToken, ptr nocapture noundef nonnull align 8 dereferenceable(8) %pTokenEnd, ptr noundef writeonly %ppNewText) local_unnamed_addr #5 { +define dso_local noundef zeroext i1 @_ZN2EA4StdC18ParseDelimitedTextEPKDiS2_DiRS2_S3_PS2_(ptr noundef %pText, ptr noundef readnone %pTextEnd, i32 noundef zeroext %cDelimiter, ptr nocapture noundef nonnull align 8 dereferenceable(8) %pToken, ptr nocapture noundef nonnull align 8 dereferenceable(8) %pTokenEnd, ptr noundef writeonly %ppNewText) local_unnamed_addr #4 { entry: store ptr %pText, ptr %pToken, align 8 %cmp51 = icmp ult ptr %pText, %pTextEnd @@ -1885,8 +1885,8 @@ return: ; preds = %for.end60, %if.then ret i1 %cmp449 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN2EA4StdC29ConvertBinaryDataToASCIIArrayEPKvmPc(ptr noundef readonly %pBinaryData_, i64 noundef %nBinaryDataLength, ptr nocapture noundef writeonly %pASCIIArray) local_unnamed_addr #9 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local void @_ZN2EA4StdC29ConvertBinaryDataToASCIIArrayEPKvmPc(ptr noundef readonly %pBinaryData_, i64 noundef %nBinaryDataLength, ptr nocapture noundef writeonly %pASCIIArray) local_unnamed_addr #8 { entry: %add.ptr = getelementptr inbounds i8, ptr %pBinaryData_, i64 %nBinaryDataLength %cmp15 = icmp sgt i64 %nBinaryDataLength, 0 @@ -1921,8 +1921,8 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN2EA4StdC29ConvertBinaryDataToASCIIArrayEPKvmPDs(ptr noundef readonly %pBinaryData_, i64 noundef %nBinaryDataLength, ptr nocapture noundef writeonly %pASCIIArray) local_unnamed_addr #9 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local void @_ZN2EA4StdC29ConvertBinaryDataToASCIIArrayEPKvmPDs(ptr noundef readonly %pBinaryData_, i64 noundef %nBinaryDataLength, ptr nocapture noundef writeonly %pASCIIArray) local_unnamed_addr #8 { entry: %add.ptr = getelementptr inbounds i8, ptr %pBinaryData_, i64 %nBinaryDataLength %cmp15 = icmp sgt i64 %nBinaryDataLength, 0 @@ -1959,8 +1959,8 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN2EA4StdC29ConvertBinaryDataToASCIIArrayEPKvmPDi(ptr noundef readonly %pBinaryData_, i64 noundef %nBinaryDataLength, ptr nocapture noundef writeonly %pASCIIArray) local_unnamed_addr #9 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local void @_ZN2EA4StdC29ConvertBinaryDataToASCIIArrayEPKvmPDi(ptr noundef readonly %pBinaryData_, i64 noundef %nBinaryDataLength, ptr nocapture noundef writeonly %pASCIIArray) local_unnamed_addr #8 { entry: %add.ptr = getelementptr inbounds i8, ptr %pBinaryData_, i64 %nBinaryDataLength %cmp14 = icmp sgt i64 %nBinaryDataLength, 0 @@ -1997,8 +1997,8 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN2EA4StdC29ConvertASCIIArrayToBinaryDataEPKcmPv(ptr noundef readonly %pASCIIArray, i64 noundef %nASCIIArrayLength, ptr nocapture noundef writeonly %pBinaryData) local_unnamed_addr #9 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local noundef zeroext i1 @_ZN2EA4StdC29ConvertASCIIArrayToBinaryDataEPKcmPv(ptr noundef readonly %pASCIIArray, i64 noundef %nASCIIArrayLength, ptr nocapture noundef writeonly %pBinaryData) local_unnamed_addr #8 { entry: %add.ptr = getelementptr inbounds i8, ptr %pASCIIArray, i64 %nASCIIArrayLength %cmp26 = icmp sgt i64 %nASCIIArrayLength, 0 @@ -2067,8 +2067,8 @@ while.end: ; preds = %for.end, %entry ret i1 %bReturnValue.0.lcssa } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN2EA4StdC29ConvertASCIIArrayToBinaryDataEPKDsmPv(ptr noundef readonly %pASCIIArray, i64 noundef %nASCIIArrayLength, ptr nocapture noundef writeonly %pBinaryData) local_unnamed_addr #9 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local noundef zeroext i1 @_ZN2EA4StdC29ConvertASCIIArrayToBinaryDataEPKDsmPv(ptr noundef readonly %pASCIIArray, i64 noundef %nASCIIArrayLength, ptr nocapture noundef writeonly %pBinaryData) local_unnamed_addr #8 { entry: %add.ptr = getelementptr inbounds i16, ptr %pASCIIArray, i64 %nASCIIArrayLength %cmp26 = icmp sgt i64 %nASCIIArrayLength, 0 @@ -2137,8 +2137,8 @@ while.end: ; preds = %for.end, %entry ret i1 %bReturnValue.0.lcssa } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @_ZN2EA4StdC29ConvertASCIIArrayToBinaryDataEPKDimPv(ptr noundef readonly %pASCIIArray, i64 noundef %nASCIIArrayLength, ptr nocapture noundef writeonly %pBinaryData) local_unnamed_addr #9 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local noundef zeroext i1 @_ZN2EA4StdC29ConvertASCIIArrayToBinaryDataEPKDimPv(ptr noundef readonly %pASCIIArray, i64 noundef %nASCIIArrayLength, ptr nocapture noundef writeonly %pBinaryData) local_unnamed_addr #8 { entry: %add.ptr = getelementptr inbounds i32, ptr %pASCIIArray, i64 %nASCIIArrayLength %cmp26 = icmp sgt i64 %nASCIIArrayLength, 0 @@ -2206,7 +2206,7 @@ while.end: ; preds = %for.end, %entry ret i1 %bReturnValue.0.lcssa } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local noundef zeroext i1 @_ZN2EA4StdC19SplitTokenDelimitedEPKcmcPcmPS2_(ptr noundef readonly %pSource, i64 noundef %nSourceLength, i8 noundef signext %cDelimiter, ptr noundef writeonly %pToken, i64 noundef %nTokenLength, ptr noundef %ppNewSource) local_unnamed_addr #9 { entry: %tobool = icmp ne ptr %pToken, null @@ -2306,7 +2306,7 @@ return: ; preds = %if.end20, %for.body ret i1 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local noundef zeroext i1 @_ZN2EA4StdC19SplitTokenDelimitedEPKDsmDsPDsmPS2_(ptr noundef readonly %pSource, i64 noundef %nSourceLength, i16 noundef zeroext %cDelimiter, ptr noundef writeonly %pToken, i64 noundef %nTokenLength, ptr noundef %ppNewSource) local_unnamed_addr #9 { entry: %tobool = icmp ne ptr %pToken, null @@ -2406,7 +2406,7 @@ return: ; preds = %if.end20, %for.body ret i1 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local noundef zeroext i1 @_ZN2EA4StdC19SplitTokenDelimitedEPKDimDiPDimPS2_(ptr noundef readonly %pSource, i64 noundef %nSourceLength, i32 noundef zeroext %cDelimiter, ptr noundef writeonly %pToken, i64 noundef %nTokenLength, ptr noundef %ppNewSource) local_unnamed_addr #9 { entry: %tobool = icmp ne ptr %pToken, null @@ -2506,7 +2506,7 @@ return: ; preds = %if.end19, %for.body ret i1 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local noundef zeroext i1 @_ZN2EA4StdC19SplitTokenSeparatedEPKcmcPcmPS2_(ptr noundef readonly %pSource, i64 noundef %nSourceLength, i8 noundef signext %c, ptr noundef writeonly %pToken, i64 noundef %nTokenLength, ptr noundef %ppNewSource) local_unnamed_addr #9 { entry: %tobool = icmp ne ptr %pToken, null @@ -2639,7 +2639,7 @@ return: ; preds = %if.then9, %if.then9 ret i1 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local noundef zeroext i1 @_ZN2EA4StdC19SplitTokenSeparatedEPKDsmDsPDsmPS2_(ptr noundef readonly %pSource, i64 noundef %nSourceLength, i16 noundef zeroext %c, ptr noundef writeonly %pToken, i64 noundef %nTokenLength, ptr noundef %ppNewSource) local_unnamed_addr #9 { entry: %tobool = icmp ne ptr %pToken, null @@ -2772,7 +2772,7 @@ return: ; preds = %if.then9, %if.then9 ret i1 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local noundef zeroext i1 @_ZN2EA4StdC19SplitTokenSeparatedEPKDimDiPDimPS2_(ptr noundef readonly %pSource, i64 noundef %nSourceLength, i32 noundef zeroext %c, ptr noundef writeonly %pToken, i64 noundef %nTokenLength, ptr noundef %ppNewSource) local_unnamed_addr #9 { entry: %tobool = icmp ne ptr %pToken, null @@ -2906,7 +2906,7 @@ return: ; preds = %if.then7, %if.then7 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define dso_local noundef i32 @_ZN2EA4StdC16BoyerMooreSearchEPKciS2_iPiS3_S3_i(ptr nocapture noundef readonly %pPattern, i32 noundef %nPatternLength, ptr nocapture noundef readonly %pSearchString, i32 noundef %nSearchStringLength, ptr nocapture noundef %pPatternBuffer1, ptr nocapture noundef %pPatternBuffer2, ptr nocapture noundef %pAlphabetBuffer, i32 noundef %nAlphabetBufferSize) local_unnamed_addr #10 { +define dso_local noundef i32 @_ZN2EA4StdC16BoyerMooreSearchEPKciS2_iPiS3_S3_i(ptr nocapture noundef readonly %pPattern, i32 noundef %nPatternLength, ptr nocapture noundef readonly %pSearchString, i32 noundef %nSearchStringLength, ptr nocapture noundef %pPatternBuffer1, ptr nocapture noundef %pPatternBuffer2, ptr nocapture noundef %pAlphabetBuffer, i32 noundef %nAlphabetBufferSize) local_unnamed_addr #8 { entry: %sub.i = add nsw i32 %nPatternLength, -1 %idxprom.i = sext i32 %sub.i to i64 @@ -3234,27 +3234,26 @@ return: ; preds = %for.inc.us, %while. } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #11 +declare i32 @llvm.smax.i32(i32, i32) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #11 +declare i32 @llvm.smin.i32(i32, i32) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.smin.i64(i64, i64) #11 - -attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { mustprogress 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 #6 = { mustprogress 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 = { "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 #8 = { nobuiltin 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 #9 = { mustprogress 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 #10 = { mustprogress 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 #11 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #12 = { builtin nounwind } +declare i64 @llvm.smin.i64(i64, i64) #10 + +attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { mustprogress 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 #5 = { mustprogress 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 #6 = { "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 #7 = { nobuiltin 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 #8 = { mustprogress 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 #9 = { mustprogress nofree norecurse nosync nounwind 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 #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #11 = { builtin nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/eastl/optimized/Int128_t.cpp.ll b/bench/eastl/optimized/Int128_t.cpp.ll index c616ac7ce96..1f4c82f4f60 100644 --- a/bench/eastl/optimized/Int128_t.cpp.ll +++ b/bench/eastl/optimized/Int128_t.cpp.ll @@ -827,8 +827,8 @@ return: ; preds = %entry, %if.then3, % ret i64 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN2EA4StdC13int128_t_base12SetPartUint8Eih(ptr nocapture noundef nonnull align 8 dereferenceable(16) %this, i32 noundef %nIndex, i8 noundef zeroext %value) local_unnamed_addr #3 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define dso_local void @_ZN2EA4StdC13int128_t_base12SetPartUint8Eih(ptr nocapture noundef nonnull align 8 dereferenceable(16) %this, i32 noundef %nIndex, i8 noundef zeroext %value) local_unnamed_addr #1 align 2 { entry: %div = sdiv i32 %nIndex, 8 %rem = srem i32 %nIndex, 8 @@ -859,8 +859,8 @@ return: ; preds = %entry, %sw.epilog ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN2EA4StdC13int128_t_base13SetPartUint16Eit(ptr nocapture noundef nonnull align 8 dereferenceable(16) %this, i32 noundef %nIndex, i16 noundef zeroext %value) local_unnamed_addr #3 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define dso_local void @_ZN2EA4StdC13int128_t_base13SetPartUint16Eit(ptr nocapture noundef nonnull align 8 dereferenceable(16) %this, i32 noundef %nIndex, i16 noundef zeroext %value) local_unnamed_addr #1 align 2 { entry: %div = sdiv i32 %nIndex, 4 %rem = srem i32 %nIndex, 4 @@ -941,8 +941,8 @@ sw.epilog: ; preds = %sw.bb14, %sw.bb9, % ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, inaccessiblemem: none) uwtable -define dso_local void @_ZN2EA4StdC13int128_t_base13SetPartUint64Eim(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(16) %this, i32 noundef %nIndex, i64 noundef %value) local_unnamed_addr #4 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable +define dso_local void @_ZN2EA4StdC13int128_t_base13SetPartUint64Eim(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(16) %this, i32 noundef %nIndex, i64 noundef %value) local_unnamed_addr #0 align 2 { entry: switch i32 %nIndex, label %if.end4 [ i32 0, label %if.end4.sink.split @@ -1192,7 +1192,7 @@ if.end: ; preds = %if.else, %if.then } ; Function Attrs: mustprogress nofree nosync nounwind memory(argmem: write) uwtable -define dso_local void @_ZN2EA4StdC8int128_tC2Ex(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(16) %this, i64 noundef %value) unnamed_addr #5 align 2 { +define dso_local void @_ZN2EA4StdC8int128_tC2Ex(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(16) %this, i64 noundef %value) unnamed_addr #3 align 2 { entry: %ref.tmp = alloca %"class.EA::StdC::int128_t", align 16 call void @_ZN2EA4StdC8int128_tC2El(ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp, i64 noundef %value) @@ -1202,7 +1202,7 @@ entry: } ; Function Attrs: mustprogress nofree nosync nounwind memory(argmem: write) uwtable -define dso_local void @_ZN2EA4StdC8int128_tC2El(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(16) %this, i64 noundef %value) unnamed_addr #5 align 2 { +define dso_local void @_ZN2EA4StdC8int128_tC2El(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(16) %this, i64 noundef %value) unnamed_addr #3 align 2 { entry: %ref.tmp = alloca %"class.EA::StdC::int128_t", align 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %this, i8 0, i64 16, i1 false) @@ -1336,7 +1336,7 @@ if.end: ; preds = %_ZN2EA4StdC8int128_ } ; Function Attrs: mustprogress nofree nounwind memory(readwrite, inaccessiblemem: read) uwtable -define dso_local void @_ZN2EA4StdC8int128_tC2EPKci(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(16) %this, ptr noundef %pValue, i32 noundef %nBase) unnamed_addr #6 align 2 { +define dso_local void @_ZN2EA4StdC8int128_tC2EPKci(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(16) %this, ptr noundef %pValue, i32 noundef %nBase) unnamed_addr #4 align 2 { entry: %value = alloca %"class.EA::StdC::int128_t", align 16 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %this, i8 0, i64 16, i1 false) @@ -1347,7 +1347,7 @@ entry: } ; Function Attrs: mustprogress nofree nounwind memory(read, argmem: readwrite) uwtable -define dso_local void @_ZN2EA4StdC8int128_t11StrToInt128EPKcPPci(ptr noalias nocapture writeonly sret(%"class.EA::StdC::int128_t") align 8 %agg.result, ptr noundef %pValue, ptr noundef writeonly %ppEnd, i32 noundef %nBase) local_unnamed_addr #7 align 2 { +define dso_local void @_ZN2EA4StdC8int128_t11StrToInt128EPKcPPci(ptr noalias nocapture writeonly sret(%"class.EA::StdC::int128_t") align 8 %agg.result, ptr noundef %pValue, ptr noundef writeonly %ppEnd, i32 noundef %nBase) local_unnamed_addr #5 align 2 { entry: %ref.tmp.i = alloca %"class.EA::StdC::int128_t", align 16 %multiplier = alloca %"class.EA::StdC::int128_t", align 16 @@ -1362,7 +1362,7 @@ while.cond: ; preds = %while.cond, %entry %p.0 = phi ptr [ %pValue, %entry ], [ %incdec.ptr, %while.cond ] %0 = load i8, ptr %p.0, align 1 %conv = zext i8 %0 to i32 - %call = tail call i32 @isspace(i32 noundef %conv) #21 + %call = tail call i32 @isspace(i32 noundef %conv) #18 %tobool.not = icmp eq i32 %call, 0 %incdec.ptr = getelementptr inbounds i8, ptr %p.0, i64 1 br i1 %tobool.not, label %while.end, label %while.cond, !llvm.loop !5 @@ -1588,7 +1588,7 @@ while.cond128: ; preds = %while.cond128, %if. %p.9.ptr = getelementptr inbounds i8, ptr %p.2.ph, i64 %p.9.idx %19 = load i8, ptr %p.9.ptr, align 1 %conv129 = zext i8 %19 to i32 - %call130 = tail call i32 @isxdigit(i32 noundef %conv129) #21 + %call130 = tail call i32 @isxdigit(i32 noundef %conv129) #18 %tobool131.not = icmp eq i32 %call130, 0 %p.9.add = add nuw nsw i64 %p.9.idx, 1 br i1 %tobool131.not, label %while.end134, label %while.cond128, !llvm.loop !11 @@ -1700,7 +1700,7 @@ return: ; preds = %return.sink.split, } ; Function Attrs: mustprogress nofree nounwind memory(read, argmem: readwrite) uwtable -define dso_local void @_ZN2EA4StdC8int128_tC2EPKwi(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(16) %this, ptr noundef %pValue, i32 noundef %nBase) unnamed_addr #7 align 2 { +define dso_local void @_ZN2EA4StdC8int128_tC2EPKwi(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(16) %this, ptr noundef %pValue, i32 noundef %nBase) unnamed_addr #5 align 2 { entry: %pTextEnd = alloca ptr, align 8 %value = alloca %"class.EA::StdC::int128_t", align 16 @@ -1712,7 +1712,7 @@ entry: } ; Function Attrs: mustprogress nofree nounwind memory(read, argmem: readwrite) uwtable -define dso_local void @_ZN2EA4StdC8int128_t11StrToInt128EPKwPPwi(ptr noalias nocapture writeonly sret(%"class.EA::StdC::int128_t") align 8 %agg.result, ptr noundef %pValue, ptr noundef writeonly %ppEnd, i32 noundef %nBase) local_unnamed_addr #7 align 2 { +define dso_local void @_ZN2EA4StdC8int128_t11StrToInt128EPKwPPwi(ptr noalias nocapture writeonly sret(%"class.EA::StdC::int128_t") align 8 %agg.result, ptr noundef %pValue, ptr noundef writeonly %ppEnd, i32 noundef %nBase) local_unnamed_addr #5 align 2 { entry: %ref.tmp.i = alloca %"class.EA::StdC::int128_t", align 8 %multiplier = alloca %"class.EA::StdC::int128_t", align 8 @@ -1729,7 +1729,7 @@ entry: land.rhs: ; preds = %entry, %while.body %2 = phi i32 [ %3, %while.body ], [ %0, %entry ] %p.0143 = phi ptr [ %incdec.ptr, %while.body ], [ %pValue, %entry ] - %call = tail call i32 @isspace(i32 noundef %2) #21 + %call = tail call i32 @isspace(i32 noundef %2) #18 %tobool.not = icmp eq i32 %call, 0 br i1 %tobool.not, label %while.end, label %while.body @@ -1992,7 +1992,7 @@ land.rhs125.preheader: ; preds = %land.lhs.true41, %i land.rhs125: ; preds = %land.rhs125.preheader, %while.body129 %31 = phi i32 [ %32, %while.body129 ], [ %30, %land.rhs125.preheader ] %p.9.idx149 = phi i64 [ %p.9.add, %while.body129 ], [ 0, %land.rhs125.preheader ] - %call126 = tail call i32 @isxdigit(i32 noundef %31) #21 + %call126 = tail call i32 @isxdigit(i32 noundef %31) #18 %tobool127.not = icmp eq i32 %call126, 0 br i1 %tobool127.not, label %while.end131, label %while.body129 @@ -2393,8 +2393,8 @@ entry: ret i1 %cmp } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN2EA4StdCdvERKNS0_8int128_tES3_(ptr noalias nocapture nonnull sret(%"class.EA::StdC::int128_t") align 8 %agg.result, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value1, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value2) local_unnamed_addr #8 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local void @_ZN2EA4StdCdvERKNS0_8int128_tES3_(ptr noalias nocapture nonnull sret(%"class.EA::StdC::int128_t") align 8 %agg.result, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value1, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value2) local_unnamed_addr #6 { entry: %remainder = alloca %"class.EA::StdC::int128_t", align 8 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %remainder, i8 0, i64 16, i1 false) @@ -2403,8 +2403,8 @@ entry: ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZNK2EA4StdC8int128_t7ModulusERKS1_RS1_S4_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %divisor, ptr nocapture noundef nonnull align 8 dereferenceable(16) %quotient, ptr nocapture noundef nonnull align 8 dereferenceable(16) %remainder) local_unnamed_addr #8 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local void @_ZNK2EA4StdC8int128_t7ModulusERKS1_RS1_S4_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %divisor, ptr nocapture noundef nonnull align 8 dereferenceable(16) %quotient, ptr nocapture noundef nonnull align 8 dereferenceable(16) %remainder) local_unnamed_addr #6 align 2 { entry: %mPart1.i.i = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i64, ptr %mPart1.i.i, align 8 @@ -2600,8 +2600,8 @@ if.end37: ; preds = %if.end29, %_ZN2EA4S ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN2EA4StdCrmERKNS0_8int128_tES3_(ptr noalias nocapture nonnull sret(%"class.EA::StdC::int128_t") align 8 %agg.result, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value1, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value2) local_unnamed_addr #8 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local void @_ZN2EA4StdCrmERKNS0_8int128_tES3_(ptr noalias nocapture nonnull sret(%"class.EA::StdC::int128_t") align 8 %agg.result, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value1, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value2) local_unnamed_addr #6 { entry: %quotient = alloca %"class.EA::StdC::int128_t", align 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %agg.result, i8 0, i64 16, i1 false) @@ -2658,8 +2658,8 @@ entry: ret ptr %this } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN2EA4StdC8int128_tdVERKS1_(ptr noundef nonnull returned align 8 dereferenceable(16) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value) local_unnamed_addr #9 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable +define dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN2EA4StdC8int128_tdVERKS1_(ptr noundef nonnull returned align 8 dereferenceable(16) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value) local_unnamed_addr #7 align 2 { entry: %remainder.i = alloca %"class.EA::StdC::int128_t", align 8 %ref.tmp = alloca %"class.EA::StdC::int128_t", align 16 @@ -2674,8 +2674,8 @@ entry: ret ptr %this } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN2EA4StdC8int128_trMERKS1_(ptr noundef nonnull returned align 8 dereferenceable(16) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value) local_unnamed_addr #9 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable +define dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN2EA4StdC8int128_trMERKS1_(ptr noundef nonnull returned align 8 dereferenceable(16) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value) local_unnamed_addr #7 align 2 { entry: %quotient.i = alloca %"class.EA::StdC::int128_t", align 8 %ref.tmp = alloca %"class.EA::StdC::int128_t", align 16 @@ -3219,7 +3219,7 @@ _ZN2EA4StdC7compareERKNS0_8int128_tES3_.exit: ; preds = %if.then.i, %if.then } ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: read) uwtable -define dso_local noundef signext i8 @_ZNK2EA4StdC8int128_t6AsInt8Ev(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #10 align 2 { +define dso_local noundef signext i8 @_ZNK2EA4StdC8int128_t6AsInt8Ev(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #8 align 2 { entry: %t = alloca %"class.EA::StdC::int128_t", align 8 %mPart1.i = getelementptr inbounds i8, ptr %this, i64 8 @@ -3251,7 +3251,7 @@ return: ; preds = %if.end, %_ZN2EA4Std } ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: read) uwtable -define dso_local noundef signext i16 @_ZNK2EA4StdC8int128_t7AsInt16Ev(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #10 align 2 { +define dso_local noundef signext i16 @_ZNK2EA4StdC8int128_t7AsInt16Ev(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #8 align 2 { entry: %t = alloca %"class.EA::StdC::int128_t", align 8 %mPart1.i = getelementptr inbounds i8, ptr %this, i64 8 @@ -3283,7 +3283,7 @@ return: ; preds = %if.end, %_ZN2EA4Std } ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: read) uwtable -define dso_local noundef i32 @_ZNK2EA4StdC8int128_t7AsInt32Ev(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #10 align 2 { +define dso_local noundef i32 @_ZNK2EA4StdC8int128_t7AsInt32Ev(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #8 align 2 { entry: %t = alloca %"class.EA::StdC::int128_t", align 8 %mPart1.i = getelementptr inbounds i8, ptr %this, i64 8 @@ -3322,7 +3322,7 @@ entry: } ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: read) uwtable -define dso_local noundef float @_ZNK2EA4StdC8int128_t7AsFloatEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #10 align 2 { +define dso_local noundef float @_ZNK2EA4StdC8int128_t7AsFloatEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #8 align 2 { entry: %t = alloca %"class.EA::StdC::int128_t", align 8 %mPart1.i = getelementptr inbounds i8, ptr %this, i64 8 @@ -3359,10 +3359,10 @@ return: ; preds = %if.end, %_ZN2EA4Std } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare float @llvm.fmuladd.f32(float, float, float) #11 +declare float @llvm.fmuladd.f32(float, float, float) #9 ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(argmem: read) uwtable -define dso_local noundef double @_ZNK2EA4StdC8int128_t8AsDoubleEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #10 align 2 { +define dso_local noundef double @_ZNK2EA4StdC8int128_t8AsDoubleEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #8 align 2 { entry: %t = alloca %"class.EA::StdC::int128_t", align 8 %mPart1.i = getelementptr inbounds i8, ptr %this, i64 8 @@ -3399,16 +3399,16 @@ return: ; preds = %if.end, %_ZN2EA4Std } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare double @llvm.fmuladd.f64(double, double, double) #11 +declare double @llvm.fmuladd.f64(double, double, double) #9 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) -declare i32 @isspace(i32 noundef) local_unnamed_addr #12 +declare i32 @isspace(i32 noundef) local_unnamed_addr #10 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) -declare i32 @isxdigit(i32 noundef) local_unnamed_addr #12 +declare i32 @isxdigit(i32 noundef) local_unnamed_addr #10 ; Function Attrs: mustprogress nofree norecurse nosync nounwind uwtable -define dso_local void @_ZNK2EA4StdC8int128_t11Int128ToStrEPcPS2_iNS0_13int128_t_base13LeadingZeroesENS4_6PrefixE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this, ptr noundef %pValue, ptr noundef writeonly %ppEnd, i32 noundef %nBase, i32 noundef %lz, i32 noundef %prefix) local_unnamed_addr #13 align 2 { +define dso_local void @_ZNK2EA4StdC8int128_t11Int128ToStrEPcPS2_iNS0_13int128_t_base13LeadingZeroesENS4_6PrefixE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this, ptr noundef %pValue, ptr noundef writeonly %ppEnd, i32 noundef %nBase, i32 noundef %lz, i32 noundef %prefix) local_unnamed_addr #11 align 2 { entry: %remainder.i.i = alloca %"class.EA::StdC::int128_t", align 8 %ref.tmp.i = alloca %"class.EA::StdC::int128_t", align 8 @@ -3760,7 +3760,7 @@ if.end135: ; preds = %if.then134, %if.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind uwtable -define dso_local void @_ZNK2EA4StdC8int128_t11Int128ToStrEPwPS2_iNS0_13int128_t_base13LeadingZeroesENS4_6PrefixE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this, ptr noundef %pValue, ptr noundef writeonly %ppEnd, i32 noundef %nBase, i32 noundef %lz, i32 noundef %prefix) local_unnamed_addr #13 align 2 { +define dso_local void @_ZNK2EA4StdC8int128_t11Int128ToStrEPwPS2_iNS0_13int128_t_base13LeadingZeroesENS4_6PrefixE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this, ptr noundef %pValue, ptr noundef writeonly %ppEnd, i32 noundef %nBase, i32 noundef %lz, i32 noundef %prefix) local_unnamed_addr #11 align 2 { entry: %str8 = alloca [130 x i8], align 16 %pEnd = alloca ptr, align 8 @@ -4043,7 +4043,7 @@ entry: } ; Function Attrs: mustprogress nofree nounwind memory(readwrite, inaccessiblemem: read) uwtable -define dso_local void @_ZN2EA4StdC9uint128_tC2EPKci(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(16) %this, ptr noundef %pValue, i32 noundef %nBase) unnamed_addr #6 align 2 { +define dso_local void @_ZN2EA4StdC9uint128_tC2EPKci(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(16) %this, ptr noundef %pValue, i32 noundef %nBase) unnamed_addr #4 align 2 { entry: %value = alloca %"class.EA::StdC::uint128_t", align 16 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %this, i8 0, i64 16, i1 false) @@ -4054,7 +4054,7 @@ entry: } ; Function Attrs: mustprogress nofree nounwind memory(read, argmem: readwrite) uwtable -define dso_local void @_ZN2EA4StdC9uint128_t11StrToInt128EPKcPPci(ptr noalias nocapture writeonly sret(%"class.EA::StdC::uint128_t") align 8 %agg.result, ptr noundef %pValue, ptr noundef writeonly %ppEnd, i32 noundef %nBase) local_unnamed_addr #7 align 2 { +define dso_local void @_ZN2EA4StdC9uint128_t11StrToInt128EPKcPPci(ptr noalias nocapture writeonly sret(%"class.EA::StdC::uint128_t") align 8 %agg.result, ptr noundef %pValue, ptr noundef writeonly %ppEnd, i32 noundef %nBase) local_unnamed_addr #5 align 2 { entry: %mPart1.i.i = getelementptr inbounds i8, ptr %agg.result, i64 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %agg.result, i8 0, i64 16, i1 false) @@ -4064,7 +4064,7 @@ while.cond: ; preds = %while.cond, %entry %p.0 = phi ptr [ %pValue, %entry ], [ %incdec.ptr, %while.cond ] %0 = load i8, ptr %p.0, align 1 %conv = zext i8 %0 to i32 - %call = tail call i32 @isspace(i32 noundef %conv) #21 + %call = tail call i32 @isspace(i32 noundef %conv) #18 %tobool.not = icmp eq i32 %call, 0 %incdec.ptr = getelementptr inbounds i8, ptr %p.0, i64 1 br i1 %tobool.not, label %while.end, label %while.cond, !llvm.loop !39 @@ -4305,7 +4305,7 @@ while.cond128: ; preds = %while.cond128, %if. %p.9.ptr = getelementptr inbounds i8, ptr %p.2.ph, i64 %p.9.idx %19 = load i8, ptr %p.9.ptr, align 1 %conv129 = zext i8 %19 to i32 - %call130 = tail call i32 @isxdigit(i32 noundef %conv129) #21 + %call130 = tail call i32 @isxdigit(i32 noundef %conv129) #18 %tobool131.not = icmp eq i32 %call130, 0 %p.9.add = add nuw nsw i64 %p.9.idx, 1 br i1 %tobool131.not, label %while.end134, label %while.cond128, !llvm.loop !44 @@ -4400,7 +4400,7 @@ return: ; preds = %return.sink.split, } ; Function Attrs: mustprogress nofree nounwind memory(read, argmem: readwrite) uwtable -define dso_local void @_ZN2EA4StdC9uint128_tC2EPKwi(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(16) %this, ptr noundef %pValue, i32 noundef %nBase) unnamed_addr #7 align 2 { +define dso_local void @_ZN2EA4StdC9uint128_tC2EPKwi(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(16) %this, ptr noundef %pValue, i32 noundef %nBase) unnamed_addr #5 align 2 { entry: %pTextEnd = alloca ptr, align 8 %value = alloca %"class.EA::StdC::uint128_t", align 16 @@ -4412,7 +4412,7 @@ entry: } ; Function Attrs: mustprogress nofree nounwind memory(read, argmem: readwrite) uwtable -define dso_local void @_ZN2EA4StdC9uint128_t11StrToInt128EPKwPPwi(ptr noalias nocapture writeonly sret(%"class.EA::StdC::uint128_t") align 8 %agg.result, ptr noundef %pValue, ptr noundef writeonly %ppEnd, i32 noundef %nBase) local_unnamed_addr #7 align 2 { +define dso_local void @_ZN2EA4StdC9uint128_t11StrToInt128EPKwPPwi(ptr noalias nocapture writeonly sret(%"class.EA::StdC::uint128_t") align 8 %agg.result, ptr noundef %pValue, ptr noundef writeonly %ppEnd, i32 noundef %nBase) local_unnamed_addr #5 align 2 { entry: %mPart1.i.i = getelementptr inbounds i8, ptr %agg.result, i64 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %agg.result, i8 0, i64 16, i1 false) @@ -4424,7 +4424,7 @@ entry: land.rhs: ; preds = %entry, %while.body %2 = phi i32 [ %3, %while.body ], [ %0, %entry ] %p.0147 = phi ptr [ %incdec.ptr, %while.body ], [ %pValue, %entry ] - %call = tail call i32 @isspace(i32 noundef %2) #21 + %call = tail call i32 @isspace(i32 noundef %2) #18 %tobool.not = icmp eq i32 %call, 0 br i1 %tobool.not, label %while.end, label %while.body @@ -4697,7 +4697,7 @@ land.rhs125.preheader: ; preds = %land.lhs.true41, %i land.rhs125: ; preds = %land.rhs125.preheader, %while.body131 %29 = phi i32 [ %30, %while.body131 ], [ %28, %land.rhs125.preheader ] %p.9.idx153 = phi i64 [ %p.9.add, %while.body131 ], [ 0, %land.rhs125.preheader ] - %call128 = tail call i32 @isxdigit(i32 noundef %29) #21 + %call128 = tail call i32 @isxdigit(i32 noundef %29) #18 %tobool129.not = icmp eq i32 %call128, 0 br i1 %tobool129.not, label %while.end133, label %while.body131 @@ -5028,8 +5028,8 @@ entry: ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN2EA4StdCdvERKNS0_9uint128_tES3_(ptr noalias nocapture sret(%"class.EA::StdC::uint128_t") align 8 %agg.result, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value1, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value2) local_unnamed_addr #14 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local void @_ZN2EA4StdCdvERKNS0_9uint128_tES3_(ptr noalias nocapture sret(%"class.EA::StdC::uint128_t") align 8 %agg.result, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value1, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value2) local_unnamed_addr #6 { entry: tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %agg.result, i8 0, i64 16, i1 false) %mPart1.i.i.i = getelementptr inbounds i8, ptr %value1, i64 8 @@ -5134,8 +5134,8 @@ _ZNK2EA4StdC9uint128_t7ModulusERKS1_RS1_S4_.exit: ; preds = %if.end.i, %if.else. ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZNK2EA4StdC9uint128_t7ModulusERKS1_RS1_S4_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %divisor, ptr nocapture noundef nonnull align 8 dereferenceable(16) %quotient, ptr nocapture noundef nonnull align 8 dereferenceable(16) %remainder) local_unnamed_addr #14 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local void @_ZNK2EA4StdC9uint128_t7ModulusERKS1_RS1_S4_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %divisor, ptr nocapture noundef nonnull align 8 dereferenceable(16) %quotient, ptr nocapture noundef nonnull align 8 dereferenceable(16) %remainder) local_unnamed_addr #6 align 2 { entry: %mPart1.i.i = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i64, ptr %mPart1.i.i, align 8 @@ -5253,8 +5253,8 @@ if.end23: ; preds = %if.end, %entry, %if ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZN2EA4StdCrmERKNS0_9uint128_tES3_(ptr noalias nocapture nonnull sret(%"class.EA::StdC::uint128_t") align 8 %agg.result, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value1, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value2) local_unnamed_addr #14 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local void @_ZN2EA4StdCrmERKNS0_9uint128_tES3_(ptr noalias nocapture nonnull sret(%"class.EA::StdC::uint128_t") align 8 %agg.result, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value1, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value2) local_unnamed_addr #6 { entry: %quotient = alloca %"class.EA::StdC::uint128_t", align 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %agg.result, i8 0, i64 16, i1 false) @@ -5357,7 +5357,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN2EA4StdC9uint128_tdVERKS1_(ptr noundef nonnull returned align 8 dereferenceable(16) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value) local_unnamed_addr #15 align 2 { +define dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN2EA4StdC9uint128_tdVERKS1_(ptr noundef nonnull returned align 8 dereferenceable(16) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value) local_unnamed_addr #6 align 2 { entry: %mPart1.i.i.i.i = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i64, ptr %mPart1.i.i.i.i, align 8, !noalias !56 @@ -5464,7 +5464,7 @@ _ZN2EA4StdCdvERKNS0_9uint128_tES3_.exit: ; preds = %if.end.i.i, %entry, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN2EA4StdC9uint128_trMERKS1_(ptr noundef nonnull returned align 8 dereferenceable(16) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value) local_unnamed_addr #15 align 2 { +define dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN2EA4StdC9uint128_trMERKS1_(ptr noundef nonnull returned align 8 dereferenceable(16) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %value) local_unnamed_addr #6 align 2 { entry: %mPart1.i.i.i = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i64, ptr %mPart1.i.i.i, align 8 @@ -6165,19 +6165,19 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNK2EA4StdC9uint128_t10IsNegativeEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(16) %this) local_unnamed_addr #16 align 2 { +define dso_local noundef zeroext i1 @_ZNK2EA4StdC9uint128_t10IsNegativeEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(16) %this) local_unnamed_addr #12 align 2 { entry: ret i1 false } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef zeroext i1 @_ZNK2EA4StdC9uint128_t10IsPositiveEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(16) %this) local_unnamed_addr #16 align 2 { +define dso_local noundef zeroext i1 @_ZNK2EA4StdC9uint128_t10IsPositiveEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(16) %this) local_unnamed_addr #12 align 2 { entry: ret i1 true } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZNK2EA4StdC9uint128_t11Int128ToStrEPcPS2_iNS0_13int128_t_base13LeadingZeroesENS4_6PrefixE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this, ptr noundef %pValue, ptr noundef writeonly %ppEnd, i32 noundef %nBase, i32 noundef %lz, i32 noundef %prefix) local_unnamed_addr #14 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +define dso_local void @_ZNK2EA4StdC9uint128_t11Int128ToStrEPcPS2_iNS0_13int128_t_base13LeadingZeroesENS4_6PrefixE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this, ptr noundef %pValue, ptr noundef writeonly %ppEnd, i32 noundef %nBase, i32 noundef %lz, i32 noundef %prefix) local_unnamed_addr #13 align 2 { entry: switch i32 %nBase, label %if.end110 [ i32 2, label %if.then @@ -6580,8 +6580,8 @@ if.end113: ; preds = %if.then112, %if.end ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local void @_ZNK2EA4StdC9uint128_t11Int128ToStrEPwPS2_iNS0_13int128_t_base13LeadingZeroesENS4_6PrefixE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this, ptr noundef %pValue, ptr noundef writeonly %ppEnd, i32 noundef %nBase, i32 noundef %lz, i32 noundef %prefix) local_unnamed_addr #14 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +define dso_local void @_ZNK2EA4StdC9uint128_t11Int128ToStrEPwPS2_iNS0_13int128_t_base13LeadingZeroesENS4_6PrefixE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this, ptr noundef %pValue, ptr noundef writeonly %ppEnd, i32 noundef %nBase, i32 noundef %lz, i32 noundef %prefix) local_unnamed_addr #13 align 2 { entry: %str8 = alloca [130 x i8], align 16 %pEnd = alloca ptr, align 8 @@ -6617,48 +6617,45 @@ if.end: ; preds = %if.then, %for.end } ; Function Attrs: 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) #14 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) -declare void @llvm.experimental.noalias.scope.decl(metadata) #18 +declare void @llvm.experimental.noalias.scope.decl(metadata) #15 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #19 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #16 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #19 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #16 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #20 +declare i64 @llvm.umin.i64(i64, i64) #17 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #20 +declare i32 @llvm.fshl.i32(i32, i32, i32) #17 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.fshl.i64(i64, i64, i64) #20 +declare i64 @llvm.fshl.i64(i64, i64, i64) #17 attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, 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 #5 = { mustprogress 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 #6 = { mustprogress nofree nounwind memory(readwrite, inaccessiblemem: 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 #7 = { mustprogress nofree nounwind memory(read, 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 #8 = { mustprogress nofree norecurse nosync nounwind 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 #9 = { mustprogress nofree norecurse nosync nounwind memory(write, 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 #10 = { 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 #11 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #12 = { mustprogress nofree nounwind willreturn memory(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 #13 = { mustprogress nofree norecurse nosync 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 #14 = { mustprogress 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 #15 = { mustprogress 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 #16 = { 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 #17 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #18 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } -attributes #19 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #20 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #21 = { nounwind willreturn memory(read) } +attributes #3 = { mustprogress 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 #4 = { mustprogress nofree nounwind memory(readwrite, inaccessiblemem: 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 #5 = { mustprogress nofree nounwind memory(read, 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 #6 = { mustprogress 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 #7 = { mustprogress nofree norecurse nosync nounwind 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 #8 = { 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 #9 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #10 = { mustprogress nofree nounwind willreturn memory(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 #11 = { mustprogress nofree norecurse nosync 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 #12 = { 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 #13 = { mustprogress nofree norecurse nosync nounwind 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 #14 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #15 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } +attributes #16 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #17 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #18 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/faiss/optimized/distances_simd.cpp.ll b/bench/faiss/optimized/distances_simd.cpp.ll index 1d785cd7208..5fec4e1e56b 100644 --- a/bench/faiss/optimized/distances_simd.cpp.ll +++ b/bench/faiss/optimized/distances_simd.cpp.ll @@ -67,7 +67,7 @@ define noundef float @_ZN5faiss13fvec_Linf_refEPKfS1_m(ptr nocapture noundef rea ret float %.0.lcssa } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN5faiss17fvec_L2sqr_ny_refEPfPKfS2_mm(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4) local_unnamed_addr #1 { %.not = icmp eq i64 %4, 0 br i1 %.not, label %._crit_edge, label %.lr.ph @@ -137,7 +137,7 @@ define noundef float @_ZN5faiss10fvec_L2sqrEPKfS1_m(ptr nocapture noundef readon } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @_ZN5faiss30fvec_L2sqr_ny_y_transposed_refEPfPKfS2_S2_mmm(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) local_unnamed_addr #2 { +define void @_ZN5faiss30fvec_L2sqr_ny_y_transposed_refEPfPKfS2_S2_mmm(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) local_unnamed_addr #1 { %.not = icmp eq i64 %4, 0 br i1 %.not, label %.preheader31.thread, label %.lr.ph @@ -204,9 +204,9 @@ define void @_ZN5faiss30fvec_L2sqr_ny_y_transposed_refEPfPKfS2_S2_mmm(ptr nocapt } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare float @llvm.fmuladd.f32(float, float, float) #3 +declare float @llvm.fmuladd.f32(float, float, float) #2 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define noundef i64 @_ZN5faiss25fvec_L2sqr_ny_nearest_refEPfPKfS2_mm(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4) local_unnamed_addr #1 { %.not.i.i = icmp eq i64 %4, 0 br i1 %.not.i.i, label %._crit_edge, label %.lr.ph.i.i @@ -268,7 +268,7 @@ _ZN5faiss10fvec_L2sqrEPKfS1_m.exit.loopexit.i.i: ; preds = %.lr.ph.i.i.i ret i64 %.015.lcssa } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN5faiss13fvec_L2sqr_nyEPfPKfS2_mm(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4) local_unnamed_addr #1 { %.not.i = icmp eq i64 %4, 0 br i1 %.not.i, label %_ZN5faiss17fvec_L2sqr_ny_refEPfPKfS2_mm.exit, label %.lr.ph.i @@ -314,7 +314,7 @@ _ZN5faiss17fvec_L2sqr_ny_refEPfPKfS2_mm.exit: ; preds = %_ZN5faiss10fvec_L2s } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define noundef i64 @_ZN5faiss38fvec_L2sqr_ny_nearest_y_transposed_refEPfPKfS2_S2_mmm(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) local_unnamed_addr #2 { +define noundef i64 @_ZN5faiss38fvec_L2sqr_ny_nearest_y_transposed_refEPfPKfS2_S2_mmm(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) local_unnamed_addr #1 { %.not.i = icmp eq i64 %4, 0 br i1 %.not.i, label %.preheader31.thread.i, label %.lr.ph.i @@ -397,7 +397,7 @@ define noundef i64 @_ZN5faiss38fvec_L2sqr_ny_nearest_y_transposed_refEPfPKfS2_S2 ret i64 %.017.lcssa } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN5faiss26fvec_inner_products_ny_refEPfPKfS2_mm(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4) local_unnamed_addr #1 { %.not = icmp eq i64 %4, 0 br i1 %.not, label %._crit_edge, label %.lr.ph @@ -486,7 +486,7 @@ define noundef float @_ZN5faiss15fvec_norm_L2sqrEPKfm(ptr nocapture noundef read } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @_ZN5faiss26fvec_inner_product_batch_4EPKfS1_S1_S1_S1_mRfS2_S2_S2_(ptr noalias nocapture noundef readonly %0, ptr noalias nocapture noundef readonly %1, ptr noalias nocapture noundef readonly %2, ptr noalias nocapture noundef readonly %3, ptr noalias nocapture noundef readonly %4, i64 noundef %5, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %6, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %7, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %8, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %9) local_unnamed_addr #2 { +define void @_ZN5faiss26fvec_inner_product_batch_4EPKfS1_S1_S1_S1_mRfS2_S2_S2_(ptr noalias nocapture noundef readonly %0, ptr noalias nocapture noundef readonly %1, ptr noalias nocapture noundef readonly %2, ptr noalias nocapture noundef readonly %3, ptr noalias nocapture noundef readonly %4, i64 noundef %5, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %6, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %7, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %8, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %9) local_unnamed_addr #1 { %.not = icmp eq i64 %5, 0 br i1 %.not, label %._crit_edge, label %.lr.ph @@ -529,7 +529,7 @@ define void @_ZN5faiss26fvec_inner_product_batch_4EPKfS1_S1_S1_S1_mRfS2_S2_S2_(p } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @_ZN5faiss18fvec_L2sqr_batch_4EPKfS1_S1_S1_S1_mRfS2_S2_S2_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, i64 noundef %5, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %6, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %7, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %8, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %9) local_unnamed_addr #2 { +define void @_ZN5faiss18fvec_L2sqr_batch_4EPKfS1_S1_S1_S1_mRfS2_S2_S2_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, i64 noundef %5, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %6, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %7, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %8, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %9) local_unnamed_addr #1 { %.not = icmp eq i64 %5, 0 br i1 %.not, label %._crit_edge, label %.lr.ph @@ -621,7 +621,7 @@ _ZN5faiss13fvec_Linf_refEPKfS1_m.exit: ; preds = %.lr.ph.i, %3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @_ZN5faiss24fvec_L2sqr_ny_transposedEPfPKfS2_S2_mmm(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) local_unnamed_addr #2 { +define void @_ZN5faiss24fvec_L2sqr_ny_transposedEPfPKfS2_S2_mmm(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) local_unnamed_addr #1 { %.not.i = icmp eq i64 %4, 0 br i1 %.not.i, label %.preheader31.thread.i, label %.lr.ph.i @@ -687,7 +687,7 @@ _ZN5faiss30fvec_L2sqr_ny_y_transposed_refEPfPKfS2_S2_mmm.exit: ; preds = %._crit ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define noundef i64 @_ZN5faiss21fvec_L2sqr_ny_nearestEPfPKfS2_mm(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4) local_unnamed_addr #1 { %.not.i.i.i = icmp eq i64 %4, 0 br i1 %.not.i.i.i, label %_ZN5faiss25fvec_L2sqr_ny_nearest_refEPfPKfS2_mm.exit, label %.lr.ph.i.i.i @@ -750,7 +750,7 @@ _ZN5faiss25fvec_L2sqr_ny_nearest_refEPfPKfS2_mm.exit: ; preds = %.lr.ph.i, %5 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define noundef i64 @_ZN5faiss34fvec_L2sqr_ny_nearest_y_transposedEPfPKfS2_S2_mmm(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) local_unnamed_addr #2 { +define noundef i64 @_ZN5faiss34fvec_L2sqr_ny_nearest_y_transposedEPfPKfS2_S2_mmm(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) local_unnamed_addr #1 { %.not.i.i = icmp eq i64 %4, 0 br i1 %.not.i.i, label %.preheader31.thread.i.i, label %.lr.ph.i.i @@ -833,7 +833,7 @@ _ZN5faiss38fvec_L2sqr_ny_nearest_y_transposed_refEPfPKfS2_S2_mmm.exit: ; preds = ret i64 %.017.lcssa.i } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN5faiss22fvec_inner_products_nyEPfPKfS2_mm(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4) local_unnamed_addr #1 { %.not.i = icmp eq i64 %4, 0 br i1 %.not.i, label %_ZN5faiss26fvec_inner_products_ny_refEPfPKfS2_mm.exit, label %.lr.ph.i @@ -878,7 +878,7 @@ _ZN5faiss26fvec_inner_products_ny_refEPfPKfS2_mm.exit: ; preds = %_ZN5faiss18fve } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @_ZN5faiss9fvec_maddEmPKffS1_Pf(i64 noundef %0, ptr nocapture noundef readonly %1, float noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #2 { +define void @_ZN5faiss9fvec_maddEmPKffS1_Pf(i64 noundef %0, ptr nocapture noundef readonly %1, float noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #1 { %.not.i = icmp eq i64 %0, 0 br i1 %.not.i, label %_ZN5faissL13fvec_madd_refEmPKffS1_Pf.exit, label %.lr.ph.i @@ -900,7 +900,7 @@ _ZN5faissL13fvec_madd_refEmPKffS1_Pf.exit: ; preds = %.lr.ph.i, %5 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define noundef i32 @_ZN5faiss20fvec_madd_and_argminEmPKffS1_Pf(i64 noundef %0, ptr nocapture noundef readonly %1, float noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #2 { +define noundef i32 @_ZN5faiss20fvec_madd_and_argminEmPKffS1_Pf(i64 noundef %0, ptr nocapture noundef readonly %1, float noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #1 { %.not.i = icmp eq i64 %0, 0 br i1 %.not.i, label %_ZN5faissL24fvec_madd_and_argmin_refEmPKffS1_Pf.exit, label %.lr.ph.i @@ -929,7 +929,7 @@ _ZN5faissL24fvec_madd_and_argmin_refEmPKffS1_Pf.exit: ; preds = %.lr.ph.i, %5 } ; Function Attrs: mustprogress uwtable -define void @_ZN5faiss27compute_PQ_dis_tables_dsub2EmmPKfmS1_bPf(i64 noundef %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, ptr nocapture noundef readonly %4, i1 noundef zeroext %5, ptr noundef writeonly %6) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 { +define void @_ZN5faiss27compute_PQ_dis_tables_dsub2EmmPKfmS1_bPf(i64 noundef %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, ptr nocapture noundef readonly %4, i1 noundef zeroext %5, ptr noundef writeonly %6) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 { %8 = alloca [4 x %"struct.faiss::simd8float32"], align 16 %9 = alloca %"struct.faiss::simd8float32", align 16 %10 = alloca %"struct.faiss::simd8float32", align 4 @@ -1639,8 +1639,8 @@ _ZN5faiss12_GLOBAL__N_116pq2_8cents_tableILb1EEEvPKNS_12simd8float32ES2_Pfmm.exi br i1 %322, label %.preheader106.lr.ph.us, label %._crit_edge122, !llvm.loop !103 323: ; preds = %7 - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #15 - %324 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef null, i64 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #15 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #14 + %324 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef null, i64 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #14 %325 = add nsw i32 %324, 1 %326 = sext i32 %325 to i64 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(32) %21, i64 noundef %326) @@ -1651,14 +1651,14 @@ _ZN5faiss12_GLOBAL__N_116pq2_8cents_tableILb1EEEvPKNS_12simd8float32ES2_Pfmm.exi to label %329 unwind label %334 329: ; preds = %327 - %330 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %21) #15 - %331 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %328, i64 noundef %330, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #15 - %332 = call ptr @__cxa_allocate_exception(i64 40) #15 + %330 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %21) #14 + %331 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %328, i64 noundef %330, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #14 + %332 = call ptr @__cxa_allocate_exception(i64 40) #14 invoke void @_ZN5faiss14FaissExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcSA_i(ptr noundef nonnull align 8 dereferenceable(40) %332, ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5faiss27compute_PQ_dis_tables_dsub2EmmPKfmS1_bPf, ptr noundef nonnull @.str.2, i32 noundef 2197) to label %333 unwind label %336 333: ; preds = %329 - invoke void @__cxa_throw(ptr nonnull %332, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #16 + invoke void @__cxa_throw(ptr nonnull %332, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #15 to label %339 unwind label %334 334: ; preds = %333, %327, %323 @@ -1669,12 +1669,12 @@ _ZN5faiss12_GLOBAL__N_116pq2_8cents_tableILb1EEEvPKNS_12simd8float32ES2_Pfmm.exi 336: ; preds = %329 %337 = landingpad { ptr, i32 } cleanup - call void @__cxa_free_exception(ptr %332) #15 + call void @__cxa_free_exception(ptr %332) #14 br label %338 338: ; preds = %336, %334 %.pn = phi { ptr, i32 } [ %335, %334 ], [ %337, %336 ] - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #15 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #14 resume { ptr, i32 } %.pn ._crit_edge122: ; preds = %..loopexit_crit_edge.us, %.lr.ph121, %.preheader107 @@ -1685,51 +1685,51 @@ _ZN5faiss12_GLOBAL__N_116pq2_8cents_tableILb1EEEvPKNS_12simd8float32ES2_Pfmm.exi } ; Function Attrs: nounwind -declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 +declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 ; Function Attrs: nofree nounwind -declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #6 +declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #5 -declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #7 +declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #6 declare i32 @__gxx_personality_v0(...) -declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #7 +declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #6 ; Function Attrs: nounwind -declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5 +declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr -declare void @_ZN5faiss14FaissExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcSA_i(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef, i32 noundef) unnamed_addr #7 +declare void @_ZN5faiss14FaissExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcSA_i(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef, i32 noundef) unnamed_addr #6 declare void @__cxa_free_exception(ptr) local_unnamed_addr ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr void @_ZN5faiss14FaissExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) unnamed_addr #8 comdat align 2 { +define linkonce_odr void @_ZN5faiss14FaissExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) unnamed_addr #7 comdat align 2 { store ptr getelementptr inbounds (i8, ptr @_ZTVN5faiss14FaissExceptionE, i64 16), ptr %0, align 8 %2 = getelementptr inbounds i8, ptr %0, i64 8 - tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #15 - tail call void @_ZNSt9exceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #15 + tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #14 + tail call void @_ZNSt9exceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #14 ret void } declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr ; Function Attrs: nounwind -declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 +declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #9 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #8 ; Function Attrs: nounwind -declare void @_ZNSt9exceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 +declare void @_ZNSt9exceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #10 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #9 ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define void @_ZN5faiss8fvec_subEmPKfS1_Pf(i64 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #11 { +define void @_ZN5faiss8fvec_subEmPKfS1_Pf(i64 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #10 { %5 = alloca %"struct.faiss::simd8float32", align 4 %6 = alloca %"struct.faiss::simd8float32", align 4 %7 = alloca %"struct.faiss::simd8float32", align 4 @@ -1790,7 +1790,7 @@ _ZNK5faiss12simd8float32miERKS0_.exit: ; preds = %12 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define void @_ZN5faiss8fvec_addEmPKfS1_Pf(i64 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #11 { +define void @_ZN5faiss8fvec_addEmPKfS1_Pf(i64 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #10 { %5 = alloca %"struct.faiss::simd8float32", align 4 %6 = alloca %"struct.faiss::simd8float32", align 4 %7 = alloca %"struct.faiss::simd8float32", align 4 @@ -1851,7 +1851,7 @@ _ZNK5faiss12simd8float32plERKS0_.exit: ; preds = %12 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define void @_ZN5faiss8fvec_addEmPKffPf(i64 noundef %0, ptr nocapture noundef readonly %1, float noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #11 { +define void @_ZN5faiss8fvec_addEmPKffPf(i64 noundef %0, ptr nocapture noundef readonly %1, float noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #10 { %5 = alloca %"struct.faiss::simd8float32", align 4 %6 = alloca %"struct.faiss::simd8float32", align 4 %7 = alloca %"struct.faiss::simd8float32", align 4 @@ -1919,40 +1919,39 @@ _ZNK5faiss12simd8float32plERKS0_.exit: ; preds = %13 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare float @llvm.fabs.f32(float) #12 +declare float @llvm.fabs.f32(float) #11 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare float @llvm.maxnum.f32(float, float) #12 +declare float @llvm.maxnum.f32(float, float) #11 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) -declare void @llvm.experimental.noalias.scope.decl(metadata) #13 +declare void @llvm.experimental.noalias.scope.decl(metadata) #12 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #14 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #13 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #14 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #13 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #12 +declare i64 @llvm.umin.i64(i64, i64) #11 attributes #0 = { 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 #1 = { mustprogress 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 #2 = { mustprogress 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 #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #4 = { mustprogress 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 #5 = { 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 #6 = { 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 #7 = { "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 #8 = { mustprogress 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 #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #10 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #11 = { mustprogress nofree norecurse nosync nounwind 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 #12 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #13 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } -attributes #14 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #15 = { nounwind } -attributes #16 = { noreturn } +attributes #1 = { mustprogress 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #3 = { mustprogress 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 #4 = { 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 #5 = { 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 #6 = { "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 #7 = { mustprogress 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 #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #10 = { mustprogress nofree norecurse nosync nounwind 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 #11 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #12 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } +attributes #13 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #14 = { nounwind } +attributes #15 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/faiss/optimized/pq4_fast_scan.cpp.ll b/bench/faiss/optimized/pq4_fast_scan.cpp.ll index b03b86944bf..9bc4957a6db 100644 --- a/bench/faiss/optimized/pq4_fast_scan.cpp.ll +++ b/bench/faiss/optimized/pq4_fast_scan.cpp.ll @@ -33,7 +33,7 @@ $_ZN5faiss14FaissExceptionD2Ev = comdat any @_ZN5faiss13CodePackerPQ4C1Emm = unnamed_addr alias void (ptr, i64, i64), ptr @_ZN5faiss13CodePackerPQ4C2Emm -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZNK5faiss13CodePackerPQ46pack_1EPKhmPh(ptr nocapture noundef nonnull readonly align 8 dereferenceable(40) %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr nocapture noundef %3) unnamed_addr #0 align 2 { %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load i64, ptr %5, align 8 @@ -148,8 +148,8 @@ define void @_ZNK5faiss13CodePackerPQ46pack_1EPKhmPh(ptr nocapture noundef nonnu ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @_ZNK5faiss13CodePackerPQ48unpack_1EPKhmPh(ptr nocapture noundef nonnull readonly align 8 dereferenceable(40) %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #1 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @_ZNK5faiss13CodePackerPQ48unpack_1EPKhmPh(ptr nocapture noundef nonnull readonly align 8 dereferenceable(40) %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #0 align 2 { %5 = getelementptr inbounds i8, ptr %0, i64 16 %6 = load i64, ptr %5, align 8 %.fr26 = freeze i64 %6 @@ -239,23 +239,23 @@ define void @_ZNK5faiss13CodePackerPQ48unpack_1EPKhmPh(ptr nocapture noundef non ret void } -declare void @_ZNK5faiss10CodePacker8pack_allEPKhPh(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef) unnamed_addr #2 +declare void @_ZNK5faiss10CodePacker8pack_allEPKhPh(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef) unnamed_addr #1 -declare void @_ZNK5faiss10CodePacker10unpack_allEPKhPh(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef) unnamed_addr #2 +declare void @_ZNK5faiss10CodePacker10unpack_allEPKhPh(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef) unnamed_addr #1 ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr void @_ZN5faiss13CodePackerPQ4D2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) unnamed_addr #3 comdat align 2 { +define linkonce_odr void @_ZN5faiss13CodePackerPQ4D2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) unnamed_addr #2 comdat align 2 { ret void } ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr void @_ZN5faiss13CodePackerPQ4D0Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) unnamed_addr #3 comdat align 2 { - tail call void @_ZdlPv(ptr noundef nonnull %0) #14 +define linkonce_odr void @_ZN5faiss13CodePackerPQ4D0Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) unnamed_addr #2 comdat align 2 { + tail call void @_ZdlPv(ptr noundef nonnull %0) #12 ret void } ; Function Attrs: mustprogress uwtable -define void @_ZN5faiss14pq4_pack_codesEPKhmmmmmPh(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, ptr nocapture noundef writeonly %6) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 { +define void @_ZN5faiss14pq4_pack_codesEPKhmmmmmPh(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, ptr nocapture noundef writeonly %6) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 { %8 = alloca %"class.std::__cxx11::basic_string", align 8 %9 = alloca %"class.std::__cxx11::basic_string", align 8 %10 = alloca %"class.std::__cxx11::basic_string", align 8 @@ -267,8 +267,8 @@ define void @_ZN5faiss14pq4_pack_codesEPKhmmmmmPh(ptr nocapture noundef readonly br i1 %15, label %31, label %16 16: ; preds = %7 - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #15 - %17 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef null, i64 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #15 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #13 + %17 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef null, i64 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #13 %18 = add nsw i32 %17, 1 %19 = sext i32 %18 to i64 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(32) %8, i64 noundef %19) @@ -279,14 +279,14 @@ define void @_ZN5faiss14pq4_pack_codesEPKhmmmmmPh(ptr nocapture noundef readonly to label %22 unwind label %27 22: ; preds = %20 - %23 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #15 - %24 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %21, i64 noundef %23, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #15 - %25 = call ptr @__cxa_allocate_exception(i64 40) #15 + %23 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #13 + %24 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %21, i64 noundef %23, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #13 + %25 = call ptr @__cxa_allocate_exception(i64 40) #13 invoke void @_ZN5faiss14FaissExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcSA_i(ptr noundef nonnull align 8 dereferenceable(40) %25, ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5faiss14pq4_pack_codesEPKhmmmmmPh, ptr noundef nonnull @.str.2, i32 noundef 53) to label %26 unwind label %29 26: ; preds = %22 - invoke void @__cxa_throw(ptr nonnull %25, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #16 + invoke void @__cxa_throw(ptr nonnull %25, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #14 to label %121 unwind label %27 27: ; preds = %26, %20, %16 @@ -297,7 +297,7 @@ define void @_ZN5faiss14pq4_pack_codesEPKhmmmmmPh(ptr nocapture noundef readonly 29: ; preds = %22 %30 = landingpad { ptr, i32 } cleanup - call void @__cxa_free_exception(ptr %25) #15 + call void @__cxa_free_exception(ptr %25) #13 br label %120 31: ; preds = %7 @@ -306,8 +306,8 @@ define void @_ZN5faiss14pq4_pack_codesEPKhmmmmmPh(ptr nocapture noundef readonly br i1 %33, label %49, label %34 34: ; preds = %31 - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #15 - %35 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef null, i64 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.3) #15 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #13 + %35 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef null, i64 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.3) #13 %36 = add nsw i32 %35, 1 %37 = sext i32 %36 to i64 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(32) %9, i64 noundef %37) @@ -318,14 +318,14 @@ define void @_ZN5faiss14pq4_pack_codesEPKhmmmmmPh(ptr nocapture noundef readonly to label %40 unwind label %45 40: ; preds = %38 - %41 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #15 - %42 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %39, i64 noundef %41, ptr noundef nonnull @.str, ptr noundef nonnull @.str.3) #15 - %43 = call ptr @__cxa_allocate_exception(i64 40) #15 + %41 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %9) #13 + %42 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %39, i64 noundef %41, ptr noundef nonnull @.str, ptr noundef nonnull @.str.3) #13 + %43 = call ptr @__cxa_allocate_exception(i64 40) #13 invoke void @_ZN5faiss14FaissExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcSA_i(ptr noundef nonnull align 8 dereferenceable(40) %43, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5faiss14pq4_pack_codesEPKhmmmmmPh, ptr noundef nonnull @.str.2, i32 noundef 54) to label %44 unwind label %47 44: ; preds = %40 - invoke void @__cxa_throw(ptr nonnull %43, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #16 + invoke void @__cxa_throw(ptr nonnull %43, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #14 to label %121 unwind label %45 45: ; preds = %44, %38, %34 @@ -336,7 +336,7 @@ define void @_ZN5faiss14pq4_pack_codesEPKhmmmmmPh(ptr nocapture noundef readonly 47: ; preds = %40 %48 = landingpad { ptr, i32 } cleanup - call void @__cxa_free_exception(ptr %43) #15 + call void @__cxa_free_exception(ptr %43) #13 br label %120 49: ; preds = %31 @@ -345,8 +345,8 @@ define void @_ZN5faiss14pq4_pack_codesEPKhmmmmmPh(ptr nocapture noundef readonly br i1 %51, label %67, label %52 52: ; preds = %49 - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #15 - %53 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef null, i64 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.4) #15 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #13 + %53 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef null, i64 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.4) #13 %54 = add nsw i32 %53, 1 %55 = sext i32 %54 to i64 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(32) %10, i64 noundef %55) @@ -357,14 +357,14 @@ define void @_ZN5faiss14pq4_pack_codesEPKhmmmmmPh(ptr nocapture noundef readonly to label %58 unwind label %63 58: ; preds = %56 - %59 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #15 - %60 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %57, i64 noundef %59, ptr noundef nonnull @.str, ptr noundef nonnull @.str.4) #15 - %61 = call ptr @__cxa_allocate_exception(i64 40) #15 + %59 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %10) #13 + %60 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %57, i64 noundef %59, ptr noundef nonnull @.str, ptr noundef nonnull @.str.4) #13 + %61 = call ptr @__cxa_allocate_exception(i64 40) #13 invoke void @_ZN5faiss14FaissExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcSA_i(ptr noundef nonnull align 8 dereferenceable(40) %61, ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5faiss14pq4_pack_codesEPKhmmmmmPh, ptr noundef nonnull @.str.2, i32 noundef 55) to label %62 unwind label %65 62: ; preds = %58 - invoke void @__cxa_throw(ptr nonnull %61, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #16 + invoke void @__cxa_throw(ptr nonnull %61, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #14 to label %121 unwind label %63 63: ; preds = %62, %56, %52 @@ -375,7 +375,7 @@ define void @_ZN5faiss14pq4_pack_codesEPKhmmmmmPh(ptr nocapture noundef readonly 65: ; preds = %58 %66 = landingpad { ptr, i32 } cleanup - call void @__cxa_free_exception(ptr %61) #15 + call void @__cxa_free_exception(ptr %61) #13 br label %120 67: ; preds = %49 @@ -494,7 +494,7 @@ _ZN5faiss12_GLOBAL__N_117get_matrix_columnIKhSt5arrayIhLm32EEEEvPT_mmllRT0_.exit 120: ; preds = %63, %65, %45, %47, %27, %29 %.sink = phi ptr [ %8, %29 ], [ %8, %27 ], [ %9, %47 ], [ %9, %45 ], [ %10, %65 ], [ %10, %63 ] %.pn64.pn = phi { ptr, i32 } [ %30, %29 ], [ %28, %27 ], [ %48, %47 ], [ %46, %45 ], [ %66, %65 ], [ %64, %63 ] - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %.sink) #15 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %.sink) #13 resume { ptr, i32 } %.pn64.pn 121: ; preds = %62, %44, %26 @@ -502,50 +502,50 @@ _ZN5faiss12_GLOBAL__N_117get_matrix_columnIKhSt5arrayIhLm32EEEEvPT_mmllRT0_.exit } ; Function Attrs: nounwind -declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 +declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 ; Function Attrs: nofree nounwind -declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #6 +declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #5 -declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #2 +declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #1 declare i32 @__gxx_personality_v0(...) -declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #2 +declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #1 ; Function Attrs: nounwind -declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5 +declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr -declare void @_ZN5faiss14FaissExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcSA_i(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef, i32 noundef) unnamed_addr #2 +declare void @_ZN5faiss14FaissExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcSA_i(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef, i32 noundef) unnamed_addr #1 declare void @__cxa_free_exception(ptr) local_unnamed_addr ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr void @_ZN5faiss14FaissExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) unnamed_addr #3 comdat align 2 { +define linkonce_odr void @_ZN5faiss14FaissExceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) unnamed_addr #2 comdat align 2 { store ptr getelementptr inbounds (i8, ptr @_ZTVN5faiss14FaissExceptionE, i64 16), ptr %0, align 8 %2 = getelementptr inbounds i8, ptr %0, i64 8 - tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #15 - tail call void @_ZNSt9exceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #15 + tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #13 + tail call void @_ZNSt9exceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #13 ret void } declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr ; Function Attrs: nounwind -declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 +declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #8 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7 ; Function Attrs: nounwind -declare void @_ZNSt9exceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 +declare void @_ZNSt9exceptionD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #4 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN5faiss20pq4_pack_codes_rangeEPKhmmmmmPh(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, ptr nocapture noundef %6) local_unnamed_addr #0 { %8 = alloca %"struct.std::array", align 1 %9 = alloca %"struct.std::array", align 1 @@ -674,7 +674,7 @@ _ZN5faiss12_GLOBAL__N_117get_matrix_columnIKhSt5arrayIhLm32EEEEvPT_mmllRT0_.exit } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef zeroext range(i8 0, 16) i8 @_ZN5faiss22pq4_get_packed_elementEPKhmmmm(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) local_unnamed_addr #9 { +define noundef zeroext range(i8 0, 16) i8 @_ZN5faiss22pq4_get_packed_elementEPKhmmmm(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) local_unnamed_addr #8 { %6 = udiv i64 %3, %1 %7 = add i64 %2, 1 %8 = lshr i64 %7, 1 @@ -703,7 +703,7 @@ define noundef zeroext range(i8 0, 16) i8 @_ZN5faiss22pq4_get_packed_elementEPKh } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define void @_ZN5faiss22pq4_set_packed_elementEPhhmmmm(ptr nocapture noundef %0, i8 noundef zeroext %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) local_unnamed_addr #10 { +define void @_ZN5faiss22pq4_set_packed_elementEPhhmmmm(ptr nocapture noundef %0, i8 noundef zeroext %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5) local_unnamed_addr #9 { %7 = udiv i64 %4, %2 %8 = add i64 %3, 1 %9 = lshr i64 %8, 1 @@ -735,7 +735,7 @@ define void @_ZN5faiss22pq4_set_packed_elementEPhhmmmm(ptr nocapture noundef %0, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define void @_ZN5faiss13CodePackerPQ4C2Emm(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(40) %0, i64 noundef %1, i64 noundef %2) unnamed_addr #11 align 2 { +define void @_ZN5faiss13CodePackerPQ4C2Emm(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(40) %0, i64 noundef %1, i64 noundef %2) unnamed_addr #10 align 2 { store ptr getelementptr inbounds (i8, ptr @_ZTVN5faiss13CodePackerPQ4E, i64 16), ptr %0, align 8 %4 = getelementptr inbounds i8, ptr %0, i64 32 store i64 %1, ptr %4, align 8 @@ -755,7 +755,7 @@ define void @_ZN5faiss13CodePackerPQ4C2Emm(ptr nocapture noundef nonnull writeon } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @_ZN5faiss12pq4_pack_LUTEiiPKhPh(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #12 { +define void @_ZN5faiss12pq4_pack_LUTEiiPKhPh(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %5 = icmp sgt i32 %0, 0 %6 = icmp sgt i32 %1, 0 %or.cond = and i1 %5, %6 @@ -803,15 +803,15 @@ define void @_ZN5faiss12pq4_pack_LUTEiiPKhPh(i32 noundef %0, i32 noundef %1, ptr } ; Function Attrs: mustprogress uwtable -define noundef i32 @_ZN5faiss16pq4_pack_LUT_qbsEiiPKhPh(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 { +define noundef i32 @_ZN5faiss16pq4_pack_LUT_qbsEiiPKhPh(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 { %5 = alloca %"class.std::__cxx11::basic_string", align 8 %6 = and i32 %1, 1 %7 = icmp eq i32 %6, 0 br i1 %7, label %24, label %8 8: ; preds = %4 - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #15 - %9 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef null, i64 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.4) #15 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #13 + %9 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef null, i64 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.4) #13 %10 = add nsw i32 %9, 1 %11 = sext i32 %10 to i64 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %11) @@ -822,14 +822,14 @@ define noundef i32 @_ZN5faiss16pq4_pack_LUT_qbsEiiPKhPh(i32 noundef %0, i32 noun to label %14 unwind label %19 14: ; preds = %12 - %15 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #15 - %16 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %13, i64 noundef %15, ptr noundef nonnull @.str, ptr noundef nonnull @.str.4) #15 - %17 = call ptr @__cxa_allocate_exception(i64 40) #15 + %15 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %5) #13 + %16 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %13, i64 noundef %15, ptr noundef nonnull @.str, ptr noundef nonnull @.str.4) #13 + %17 = call ptr @__cxa_allocate_exception(i64 40) #13 invoke void @_ZN5faiss14FaissExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcSA_i(ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5faiss16pq4_pack_LUT_qbsEiiPKhPh, ptr noundef nonnull @.str.2, i32 noundef 257) to label %18 unwind label %21 18: ; preds = %14 - invoke void @__cxa_throw(ptr nonnull %17, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #16 + invoke void @__cxa_throw(ptr nonnull %17, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #14 to label %55 unwind label %19 19: ; preds = %18, %12, %8 @@ -840,12 +840,12 @@ define noundef i32 @_ZN5faiss16pq4_pack_LUT_qbsEiiPKhPh(i32 noundef %0, i32 noun 21: ; preds = %14 %22 = landingpad { ptr, i32 } cleanup - call void @__cxa_free_exception(ptr %17) #15 + call void @__cxa_free_exception(ptr %17) #13 br label %23 23: ; preds = %21, %19 %.pn = phi { ptr, i32 } [ %20, %19 ], [ %22, %21 ] - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #15 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #13 resume { ptr, i32 } %.pn 24: ; preds = %4 @@ -929,15 +929,15 @@ _ZN5faiss12pq4_pack_LUTEiiPKhPh.exit: ; preds = %._crit_edge.us.i, % } ; Function Attrs: mustprogress uwtable -define noundef i32 @_ZN5faiss22pq4_pack_LUT_qbs_q_mapEiiPKhPKiPh(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 { +define noundef i32 @_ZN5faiss22pq4_pack_LUT_qbs_q_mapEiiPKhPKiPh(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 { %6 = alloca %"class.std::__cxx11::basic_string", align 8 %7 = and i32 %1, 1 %8 = icmp eq i32 %7, 0 br i1 %8, label %25, label %9 9: ; preds = %5 - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #15 - %10 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef null, i64 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.4) #15 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #13 + %10 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef null, i64 noundef 0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.4) #13 %11 = add nsw i32 %10, 1 %12 = sext i32 %11 to i64 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef %12) @@ -948,14 +948,14 @@ define noundef i32 @_ZN5faiss22pq4_pack_LUT_qbs_q_mapEiiPKhPKiPh(i32 noundef %0, to label %15 unwind label %20 15: ; preds = %13 - %16 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #15 - %17 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %14, i64 noundef %16, ptr noundef nonnull @.str, ptr noundef nonnull @.str.4) #15 - %18 = call ptr @__cxa_allocate_exception(i64 40) #15 + %16 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #13 + %17 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %14, i64 noundef %16, ptr noundef nonnull @.str, ptr noundef nonnull @.str.4) #13 + %18 = call ptr @__cxa_allocate_exception(i64 40) #13 invoke void @_ZN5faiss14FaissExceptionC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcSA_i(ptr noundef nonnull align 8 dereferenceable(40) %18, ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5faiss22pq4_pack_LUT_qbs_q_mapEiiPKhPKiPh, ptr noundef nonnull @.str.2, i32 noundef 299) to label %19 unwind label %22 19: ; preds = %15 - invoke void @__cxa_throw(ptr nonnull %18, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #16 + invoke void @__cxa_throw(ptr nonnull %18, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #14 to label %59 unwind label %20 20: ; preds = %19, %13, %9 @@ -966,12 +966,12 @@ define noundef i32 @_ZN5faiss22pq4_pack_LUT_qbs_q_mapEiiPKhPKiPh(i32 noundef %0, 22: ; preds = %15 %23 = landingpad { ptr, i32 } cleanup - call void @__cxa_free_exception(ptr %18) #15 + call void @__cxa_free_exception(ptr %18) #13 br label %24 24: ; preds = %22, %20 %.pn = phi { ptr, i32 } [ %21, %20 ], [ %23, %22 ] - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #15 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #13 resume { ptr, i32 } %.pn 25: ; preds = %5 @@ -1058,25 +1058,23 @@ _ZN5faiss12_GLOBAL__N_116pack_LUT_1_q_mapEiPKiiPKhPh.exit: ; preds = %._crit_edg } ; Function Attrs: nobuiltin nounwind -declare void @_ZdlPv(ptr noundef) local_unnamed_addr #13 - -attributes #0 = { mustprogress 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 #1 = { mustprogress 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 #2 = { "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 #3 = { mustprogress 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 #4 = { mustprogress 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 #5 = { 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 #6 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #9 = { 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 #10 = { 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 #11 = { 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 #12 = { mustprogress 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 #13 = { nobuiltin 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 #14 = { builtin nounwind } -attributes #15 = { nounwind } -attributes #16 = { noreturn } +declare void @_ZdlPv(ptr noundef) local_unnamed_addr #11 + +attributes #0 = { mustprogress 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 #1 = { "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 #2 = { mustprogress 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 #3 = { mustprogress 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 #4 = { 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 #5 = { 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #8 = { 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 #9 = { 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 #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 = { nobuiltin 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 #12 = { builtin nounwind } +attributes #13 = { nounwind } +attributes #14 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/faiss/optimized/utils.cpp.ll b/bench/faiss/optimized/utils.cpp.ll index 0fbe3dd4831..7f246f695e4 100644 --- a/bench/faiss/optimized/utils.cpp.ll +++ b/bench/faiss/optimized/utils.cpp.ll @@ -251,7 +251,7 @@ define weak_odr void @_ZN5faiss16CombinerRangeKNNIfE12write_resultEPfPl(ptr noun to label %26 unwind label %29 26: ; preds = %22 - invoke void @__cxa_throw(ptr nonnull %25, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #27 + invoke void @__cxa_throw(ptr nonnull %25, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #25 to label %75 unwind label %27 27: ; preds = %26, %20, %16 @@ -553,7 +553,7 @@ define weak_odr void @_ZN5faiss16CombinerRangeKNNIsE12write_resultEPsPl(ptr noun to label %26 unwind label %29 26: ; preds = %22 - invoke void @__cxa_throw(ptr nonnull %25, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #27 + invoke void @__cxa_throw(ptr nonnull %25, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #25 to label %75 unwind label %27 27: ; preds = %26, %20, %16 @@ -731,7 +731,7 @@ define noundef i64 @_ZN5faiss16get_mem_usage_kbEv() local_unnamed_addr #1 person to label %18 unwind label %21 18: ; preds = %14 - invoke void @__cxa_throw(ptr nonnull %17, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #27 + invoke void @__cxa_throw(ptr nonnull %17, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #25 to label %33 unwind label %19 19: ; preds = %18, %12, %8 @@ -788,7 +788,7 @@ declare noundef i32 @__isoc99_sscanf(ptr nocapture noundef readonly, ptr nocaptu ; Function Attrs: nofree nounwind declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN5faiss10reflectionEPKfPfmmm(ptr noalias nocapture noundef readonly %0, ptr noalias nocapture noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) local_unnamed_addr #9 { %.not = icmp eq i64 %2, 0 %.not72 = icmp eq i64 %4, 0 @@ -857,7 +857,7 @@ define void @_ZN5faiss10reflectionEPKfPfmmm(ptr noalias nocapture noundef readon ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #8 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN5faiss14reflection_refEPKfPfmmm(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) local_unnamed_addr #9 { %.not = icmp eq i64 %2, 0 %.not64 = icmp eq i64 %4, 0 @@ -957,7 +957,7 @@ define void @_ZN5faiss9matrix_qrEiiPf(i32 noundef %0, i32 noundef %1, ptr nounde to label %21 unwind label %24 21: ; preds = %17 - invoke void @__cxa_throw(ptr nonnull %20, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #27 + invoke void @__cxa_throw(ptr nonnull %20, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #25 to label %62 unwind label %22 22: ; preds = %21, %15, %11 @@ -985,7 +985,7 @@ define void @_ZN5faiss9matrix_qrEiiPf(i32 noundef %0, i32 noundef %1, ptr nounde br i1 %29, label %.noexc, label %_ZNSt6vectorIfSaIfEE17_S_check_init_lenEmRKS0_.exit.i .noexc: ; preds = %27 - tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.10) #27 + tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.10) #25 unreachable _ZNSt6vectorIfSaIfEE17_S_check_init_lenEmRKS0_.exit.i: ; preds = %27 @@ -994,7 +994,7 @@ _ZNSt6vectorIfSaIfEE17_S_check_init_lenEmRKS0_.exit.i: ; preds = %27 .noexc18: ; preds = %_ZNSt6vectorIfSaIfEE17_S_check_init_lenEmRKS0_.exit.i %30 = shl nuw nsw i64 %28, 2 - %31 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %30) #28 + %31 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %30) #26 store float 0.000000e+00, ptr %31, align 4 %32 = icmp eq i32 %1, 1 br i1 %32, label %_ZNSt6vectorIfSaIfEEC2EmRKS0_.exit, label %_ZSt6fill_nIPfmfET_S1_T0_RKT1_.exit.loopexit.i.i.i.i.i @@ -1021,7 +1021,7 @@ _ZNSt6vectorIfSaIfEEC2EmRKS0_.exit: ; preds = %_ZSt6fill_nIPfmfET_ br i1 %40, label %41, label %_ZNSt6vectorIfSaIfEE17_S_check_init_lenEmRKS0_.exit.i19 41: ; preds = %36 - invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.10) #27 + invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.10) #25 to label %.noexc24 unwind label %56 .noexc24: ; preds = %41 @@ -1033,7 +1033,7 @@ _ZNSt6vectorIfSaIfEE17_S_check_init_lenEmRKS0_.exit.i19: ; preds = %36 42: ; preds = %_ZNSt6vectorIfSaIfEE17_S_check_init_lenEmRKS0_.exit.i19 %43 = lshr exact i64 %sext, 30 - %44 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %43) #28 + %44 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %43) #26 to label %.noexc25 unwind label %56 .noexc25: ; preds = %42 @@ -1061,7 +1061,7 @@ _ZNSt6vectorIfSaIfEEC2EmRKS0_.exit26: ; preds = %_ZSt6fill_nIPfmfET_ br i1 %.not.i.i.i, label %_ZNSt6vectorIfSaIfEED2Ev.exit, label %52 52: ; preds = %51 - call void @_ZdlPv(ptr noundef nonnull %.sroa.0.0) #29 + call void @_ZdlPv(ptr noundef nonnull %.sroa.0.0) #27 br label %_ZNSt6vectorIfSaIfEED2Ev.exit _ZNSt6vectorIfSaIfEED2Ev.exit: ; preds = %51, %52 @@ -1069,7 +1069,7 @@ _ZNSt6vectorIfSaIfEED2Ev.exit: ; preds = %51, %52 br i1 %.not.i.i.i27, label %_ZNSt6vectorIfSaIfEED2Ev.exit28, label %53 53: ; preds = %_ZNSt6vectorIfSaIfEED2Ev.exit - call void @_ZdlPv(ptr noundef nonnull %.sroa.039.0) #29 + call void @_ZdlPv(ptr noundef nonnull %.sroa.039.0) #27 br label %_ZNSt6vectorIfSaIfEED2Ev.exit28 _ZNSt6vectorIfSaIfEED2Ev.exit28: ; preds = %_ZNSt6vectorIfSaIfEED2Ev.exit, %53 @@ -1092,7 +1092,7 @@ _ZNSt6vectorIfSaIfEED2Ev.exit28: ; preds = %_ZNSt6vectorIfSaIfE br i1 %.not.i.i.i29, label %_ZNSt6vectorIfSaIfEED2Ev.exit30, label %60 60: ; preds = %58 - call void @_ZdlPv(ptr noundef nonnull %.sroa.0.0) #29 + call void @_ZdlPv(ptr noundef nonnull %.sroa.0.0) #27 br label %_ZNSt6vectorIfSaIfEED2Ev.exit30 _ZNSt6vectorIfSaIfEED2Ev.exit30: ; preds = %60, %58, %56, %54 @@ -1101,7 +1101,7 @@ _ZNSt6vectorIfSaIfEED2Ev.exit30: ; preds = %60, %58, %56, %54 br i1 %.not.i.i.i31, label %_ZNSt6vectorIfSaIfEED2Ev.exit32, label %61 61: ; preds = %_ZNSt6vectorIfSaIfEED2Ev.exit30 - call void @_ZdlPv(ptr noundef nonnull %.sroa.039.0) #29 + call void @_ZdlPv(ptr noundef nonnull %.sroa.039.0) #27 br label %_ZNSt6vectorIfSaIfEED2Ev.exit32 _ZNSt6vectorIfSaIfEED2Ev.exit32: ; preds = %61, %_ZNSt6vectorIfSaIfEED2Ev.exit30, %26 @@ -1122,7 +1122,7 @@ declare void @_ZSt20__throw_length_errorPKc(ptr noundef) local_unnamed_addr #10 ; Function Attrs: noreturn nounwind uwtable define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #11 comdat { %2 = tail call ptr @__cxa_begin_catch(ptr %0) #15 - tail call void @_ZSt9terminatev() #30 + tail call void @_ZSt9terminatev() #28 unreachable } @@ -1781,7 +1781,7 @@ define internal void @_ZN5faiss23merge_result_table_withEmmPlPfPKlPKfbl.omp_outl br i1 %19, label %20, label %_ZNSt6vectorIlSaIlEE17_S_check_init_lenEmRKS0_.exit.i 20: ; preds = %11 - invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.10) #27 + invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.10) #25 to label %.noexc unwind label %129 .noexc: ; preds = %20 @@ -1793,7 +1793,7 @@ _ZNSt6vectorIlSaIlEE17_S_check_init_lenEmRKS0_.exit.i: ; preds = %11 21: ; preds = %_ZNSt6vectorIlSaIlEE17_S_check_init_lenEmRKS0_.exit.i %22 = shl nuw nsw i64 %18, 3 - %23 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %22) #28 + %23 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %22) #26 to label %.noexc90 unwind label %129 .noexc90: ; preds = %21 @@ -1809,7 +1809,7 @@ _ZSt6fill_nIPlmlET_S1_T0_RKT1_.exit.loopexit.i.i.i.i.i: ; preds = %.noexc90 27: ; preds = %.noexc90, %_ZSt6fill_nIPlmlET_S1_T0_RKT1_.exit.loopexit.i.i.i.i.i %28 = shl nuw nsw i64 %18, 2 - %29 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %28) #28 + %29 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %28) #26 to label %.noexc94 unwind label %129 .noexc94: ; preds = %27 @@ -2019,7 +2019,7 @@ _ZNSt6vectorIfSaIfEEC2EmRKS0_.exit: ; preds = %_ZSt6fill_nIPfmfET_ br i1 %.not.i.i.i, label %_ZNSt6vectorIfSaIfEED2Ev.exit, label %118 118: ; preds = %117 - call void @_ZdlPv(ptr noundef nonnull %.sroa.0.0) #29 + call void @_ZdlPv(ptr noundef nonnull %.sroa.0.0) #27 br label %_ZNSt6vectorIfSaIfEED2Ev.exit _ZNSt6vectorIfSaIfEED2Ev.exit: ; preds = %117, %118 @@ -2027,7 +2027,7 @@ _ZNSt6vectorIfSaIfEED2Ev.exit: ; preds = %117, %118 br i1 %.not.i.i.i95, label %_ZNSt6vectorIlSaIlEED2Ev.exit, label %119 119: ; preds = %_ZNSt6vectorIfSaIfEED2Ev.exit - call void @_ZdlPv(ptr noundef nonnull %.sroa.0106.0120) #29 + call void @_ZdlPv(ptr noundef nonnull %.sroa.0106.0120) #27 br label %_ZNSt6vectorIlSaIlEED2Ev.exit _ZNSt6vectorIlSaIlEED2Ev.exit: ; preds = %_ZNSt6vectorIfSaIfEED2Ev.exit, %119 @@ -2058,7 +2058,7 @@ _ZNSt6vectorIlSaIlEED2Ev.exit: ; preds = %_ZNSt6vectorIfSaIfE %130 = landingpad { ptr, i32 } catch ptr null %131 = extractvalue { ptr, i32 } %130, 0 - tail call void @__clang_call_terminate(ptr %131) #30 + tail call void @__clang_call_terminate(ptr %131) #28 unreachable } @@ -2107,7 +2107,7 @@ tailrecurse: ; preds = %tailrecurse, %4 %7 = icmp ugt i64 %.tr67, 2305843009213693951 %8 = shl i64 %.tr67, 3 %9 = select i1 %7, i64 -1, i64 %8 - %10 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %9) #28 + %10 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %9) #26 tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %10, ptr align 8 %.tr68, i64 %8, i1 false) %11 = getelementptr inbounds i64, ptr %10, i64 %.tr67 tail call void @_ZSt6__sortIPlN9__gnu_cxx5__ops15_Iter_less_iterEEvT_S4_T0_(ptr noundef nonnull %10, ptr noundef nonnull %11) @@ -2216,7 +2216,7 @@ tailrecurse: ; preds = %tailrecurse, %4 ._crit_edge79: ; preds = %18, %46, %.preheader.thread, %.preheader %.054.lcssa = phi i64 [ 0, %.preheader ], [ 0, %.preheader.thread ], [ %.155, %46 ], [ %.155.us, %18 ] - tail call void @_ZdaPv(ptr noundef nonnull %10) #29 + tail call void @_ZdaPv(ptr noundef nonnull %10) #27 ret i64 %.054.lcssa } @@ -2265,7 +2265,7 @@ define noundef double @_ZN5faiss16imbalance_factorEiiPKl(i32 noundef %0, i32 nou br i1 %5, label %.noexc, label %_ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i .noexc: ; preds = %3 - tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.10) #27 + tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.10) #25 unreachable _ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i: ; preds = %3 @@ -2274,7 +2274,7 @@ _ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i: ; preds = %3 .noexc8: ; preds = %_ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i %6 = shl nuw nsw i64 %4, 2 - %7 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %6) #28 + %7 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %6) #26 tail call void @llvm.memset.p0.i64(ptr nonnull align 4 %7, i8 0, i64 %6, i1 false) br label %_ZNSt6vectorIiSaIiEEC2EmRKiRKS0_.exit @@ -2332,7 +2332,7 @@ _ZN5faiss16imbalance_factorEiPKi.exit: ; preds = %._crit_edge 23: ; preds = %_ZN5faiss16imbalance_factorEiPKi.exit.thread, %_ZN5faiss16imbalance_factorEiPKi.exit %24 = phi double [ %22, %_ZN5faiss16imbalance_factorEiPKi.exit.thread ], [ 0x7FF8000000000000, %_ZN5faiss16imbalance_factorEiPKi.exit ] - tail call void @_ZdlPv(ptr noundef nonnull %.sroa.0.0) #29 + tail call void @_ZdlPv(ptr noundef nonnull %.sroa.0.0) #27 br label %_ZNSt6vectorIiSaIiEED2Ev.exit _ZNSt6vectorIiSaIiEED2Ev.exit: ; preds = %_ZN5faiss16imbalance_factorEiPKi.exit, %23 @@ -2341,7 +2341,7 @@ _ZNSt6vectorIiSaIiEED2Ev.exit: ; preds = %_ZN5faiss16imbalanc } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define noundef i32 @_ZN5faiss9ivec_histEmPKiiPi(i64 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef %3) local_unnamed_addr #19 { +define noundef i32 @_ZN5faiss9ivec_histEmPKiiPi(i64 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef %3) local_unnamed_addr #9 { %5 = sext i32 %2 to i64 %6 = shl nsw i64 %5, 2 tail call void @llvm.memset.p0.i64(ptr align 4 %3, i8 0, i64 %6, i1 false) @@ -2382,7 +2382,7 @@ define noundef i32 @_ZN5faiss9ivec_histEmPKiiPi(i64 noundef %0, ptr nocapture no } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #20 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #19 ; Function Attrs: mustprogress uwtable define void @_ZN5faiss12bincode_histEmmPKhPi(i64 noundef %0, i64 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 { @@ -2411,7 +2411,7 @@ define void @_ZN5faiss12bincode_histEmmPKhPi(i64 noundef %0, i64 noundef %1, ptr to label %18 unwind label %21 18: ; preds = %14 - invoke void @__cxa_throw(ptr nonnull %17, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #27 + invoke void @__cxa_throw(ptr nonnull %17, ptr nonnull @_ZTIN5faiss14FaissExceptionE, ptr nonnull @_ZN5faiss14FaissExceptionD2Ev) #25 to label %60 unwind label %19 19: ; preds = %18, %12, %8 @@ -2437,7 +2437,7 @@ define void @_ZN5faiss12bincode_histEmmPKhPi(i64 noundef %0, i64 noundef %1, ptr br i1 %27, label %.noexc, label %_ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i .noexc: ; preds = %24 - tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.10) #27 + tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.10) #25 unreachable _ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i: ; preds = %24 @@ -2446,7 +2446,7 @@ _ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i: ; preds = %24 .noexc44: ; preds = %_ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i %28 = shl i64 %1, 7 - %29 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %28) #28 + %29 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %28) #26 store i32 0, ptr %29, align 4 %30 = getelementptr i8, ptr %29, i64 4 %31 = add nsw i64 %28, -4 @@ -2553,7 +2553,7 @@ _ZNSt6vectorIiSaIiEEC2EmRKS0_.exit: ; preds = %.noexc44, %_ZNSt6ve br i1 %.not.i.i.i, label %_ZNSt6vectorIiSaIiEED2Ev.exit, label %59 59: ; preds = %._crit_edge - tail call void @_ZdlPv(ptr noundef nonnull %.sroa.0.0) #29 + tail call void @_ZdlPv(ptr noundef nonnull %.sroa.0.0) #27 br label %_ZNSt6vectorIiSaIiEED2Ev.exit _ZNSt6vectorIiSaIiEED2Ev.exit: ; preds = %._crit_edge, %59 @@ -2788,7 +2788,7 @@ define noundef ptr @_ZN5faiss21fvecs_maybe_subsampleEmPmmPKfbl(i64 noundef %0, p br i1 %13, label %.noexc, label %_ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i .noexc: ; preds = %11 - tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.10) #27 + tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.10) #25 unreachable _ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i: ; preds = %11 @@ -2797,7 +2797,7 @@ _ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i: ; preds = %11 .noexc34: ; preds = %_ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i %14 = shl nuw nsw i64 %12, 2 - %15 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %14) #28 + %15 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %14) #26 store i32 0, ptr %15, align 4 %16 = icmp eq i64 %12, 1 br i1 %16, label %_ZNSt6vectorIiSaIiEEC2EmRKS0_.exit, label %_ZSt6fill_nIPimiET_S1_T0_RKT1_.exit.loopexit.i.i.i.i.i @@ -2818,7 +2818,7 @@ _ZNSt6vectorIiSaIiEEC2EmRKS0_.exit: ; preds = %_ZSt6fill_nIPimiET_ %21 = icmp ugt i64 %20, 4611686018427387903 %22 = shl nuw i64 %20, 2 %23 = select i1 %21, i64 -1, i64 %22 - %24 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %23) #28 + %24 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %23) #26 to label %.preheader unwind label %35 .preheader: ; preds = %19 @@ -2854,7 +2854,7 @@ _ZNSt6vectorIiSaIiEEC2EmRKS0_.exit: ; preds = %_ZSt6fill_nIPimiET_ br i1 %.not.i.i.i, label %_ZNSt6vectorIiSaIiEED2Ev.exit, label %37 37: ; preds = %35 - tail call void @_ZdlPv(ptr noundef nonnull %.sroa.0.0) #29 + tail call void @_ZdlPv(ptr noundef nonnull %.sroa.0.0) #27 br label %_ZNSt6vectorIiSaIiEED2Ev.exit ._crit_edge: ; preds = %.preheader @@ -2863,7 +2863,7 @@ _ZNSt6vectorIiSaIiEEC2EmRKS0_.exit: ; preds = %_ZSt6fill_nIPimiET_ br i1 %.not.i.i.i35, label %_ZNSt6vectorIiSaIiEED2Ev.exit36, label %38 38: ; preds = %._crit_edge.thread, %._crit_edge - tail call void @_ZdlPv(ptr noundef nonnull %.sroa.0.0) #29 + tail call void @_ZdlPv(ptr noundef nonnull %.sroa.0.0) #27 br label %_ZNSt6vectorIiSaIiEED2Ev.exit36 _ZNSt6vectorIiSaIiEED2Ev.exit36: ; preds = %38, %._crit_edge, %6 @@ -2880,7 +2880,7 @@ declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_a declare void @_ZN5faiss9rand_permEPiml(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @_ZN5faiss14binary_to_realEmPKhPf(i64 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #19 { +define void @_ZN5faiss14binary_to_realEmPKhPf(i64 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #9 { %.not = icmp eq i64 %0, 0 br i1 %.not, label %._crit_edge, label %.lr.ph @@ -2908,7 +2908,7 @@ define void @_ZN5faiss14binary_to_realEmPKhPf(i64 noundef %0, ptr nocapture noun } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @_ZN5faiss14real_to_binaryEmPKfPh(i64 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #19 { +define void @_ZN5faiss14real_to_binaryEmPKfPh(i64 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #9 { %4 = lshr i64 %0, 3 %.not = icmp ult i64 %0, 8 br i1 %.not, label %._crit_edge, label %.preheader @@ -2945,8 +2945,8 @@ define void @_ZN5faiss14real_to_binaryEmPKfPh(i64 noundef %0, ptr nocapture noun ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef i64 @_ZN5faiss10hash_bytesEPKhl(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #21 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define noundef i64 @_ZN5faiss10hash_bytesEPKhl(ptr nocapture noundef readonly %0, i64 noundef %1) local_unnamed_addr #18 { %3 = load i8, ptr %0, align 1 %4 = zext i8 %3 to i64 %5 = shl nuw nsw i64 %4, 7 @@ -2983,7 +2983,7 @@ define noundef zeroext i1 @_ZN5faiss12check_openmpEv() local_unnamed_addr #1 per br i1 %.not, label %5, label %_ZNSt6vectorIiSaIiEED2Ev.exit 5: ; preds = %0 - %6 = tail call noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #28 + %6 = tail call noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #26 store ptr %6, ptr %1, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 40 %8 = getelementptr inbounds i8, ptr %1, i64 16 @@ -3015,7 +3015,7 @@ define noundef zeroext i1 @_ZN5faiss12check_openmpEv() local_unnamed_addr #1 per .thread: ; preds = %.thread7, %12, %16 %.05 = phi i1 [ false, %16 ], [ false, %12 ], [ %15, %.thread7 ] - call void @_ZdlPv(ptr noundef nonnull %.pr.pre) #29 + call void @_ZdlPv(ptr noundef nonnull %.pr.pre) #27 br label %_ZNSt6vectorIiSaIiEED2Ev.exit _ZNSt6vectorIiSaIiEED2Ev.exit: ; preds = %.thread, %16, %0 @@ -3155,7 +3155,7 @@ define void @_ZN5faiss7CodeSet6insertEmPKhPb(ptr noundef nonnull align 8 derefer br i1 %13, label %14, label %_ZNSt6vectorIhSaIhEE17_S_check_init_lenEmRKS0_.exit.i.i 14: ; preds = %9 - invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.10) #27 + invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.10) #25 to label %.noexc.i unwind label %17 .noexc.i: ; preds = %14 @@ -3166,7 +3166,7 @@ _ZNSt6vectorIhSaIhEE17_S_check_init_lenEmRKS0_.exit.i.i: ; preds = %9 br i1 %.not.i.i.i, label %_ZNSt12_Vector_baseIhSaIhEE11_M_allocateEm.exit.thread.i.i, label %.noexc4.i .noexc4.i: ; preds = %_ZNSt6vectorIhSaIhEE17_S_check_init_lenEmRKS0_.exit.i.i - %15 = call noalias noundef nonnull ptr @_Znwm(i64 noundef %10) #28 + %15 = call noalias noundef nonnull ptr @_Znwm(i64 noundef %10) #26 store ptr %15, ptr %5, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 %10 store ptr %16, ptr %6, align 8 @@ -3194,7 +3194,7 @@ _ZNSt12_Vector_baseIhSaIhEE11_M_allocateEm.exit.thread.i.i: ; preds = %_ZNSt6vec br i1 %.not.i.i.i14, label %_ZNSt6vectorIhSaIhEED2Ev.exit, label %24 24: ; preds = %20 - call void @_ZdlPv(ptr noundef nonnull %23) #29 + call void @_ZdlPv(ptr noundef nonnull %23) #27 br label %_ZNSt6vectorIhSaIhEED2Ev.exit _ZNSt6vectorIhSaIhEED2Ev.exit: ; preds = %20, %24 @@ -3214,7 +3214,7 @@ _ZNSt6vectorIhSaIhEED2Ev.exit: ; preds = %20, %24 .body.sink.split: ; preds = %27, %17 %.sink = phi ptr [ %.pre, %17 ], [ %29, %27 ] %.pn.ph = phi { ptr, i32 } [ %lpad.loopexit.split-lp, %17 ], [ %28, %27 ] - call void @_ZdlPv(ptr noundef nonnull %.sink) #29 + call void @_ZdlPv(ptr noundef nonnull %.sink) #27 br label %.body .body: ; preds = %.body.sink.split, %27, %17 @@ -3284,7 +3284,7 @@ _ZNKSt4lessISt6vectorIhSaIhEEEclERKS2_S5_.exit.i: ; preds = %26, %24 _ZNSt8_Rb_treeISt6vectorIhSaIhEES2_St9_IdentityIS2_ESt4lessIS2_ESaIS2_EE10_M_insert_IS2_NS8_11_Alloc_nodeEEESt17_Rb_tree_iteratorIS2_EPSt18_Rb_tree_node_baseSE_OT_RT0_.exit: ; preds = %._crit_edge.i, %_ZNKSt4lessISt6vectorIhSaIhEEEclERKS2_S5_.exit.i %29 = phi ptr [ %.pre11.i, %._crit_edge.i ], [ %12, %_ZNKSt4lessISt6vectorIhSaIhEEEclERKS2_S5_.exit.i ] %30 = phi i1 [ true, %._crit_edge.i ], [ %28, %_ZNKSt4lessISt6vectorIhSaIhEEEclERKS2_S5_.exit.i ] - %31 = tail call noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #28 + %31 = tail call noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #26 %32 = getelementptr inbounds i8, ptr %31, i64 32 store ptr %.pre.i, ptr %32, align 8 %33 = getelementptr inbounds i8, ptr %31, i64 40 @@ -3372,7 +3372,7 @@ _ZNKSt4lessISt6vectorIhSaIhEEEclERKS2_S5_.exit: ; preds = %21, %23 br i1 %28, label %52, label %29 29: ; preds = %._crit_edge.thread - %30 = tail call noundef ptr @_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base(ptr noundef nonnull %.024.lcssa33) #31 + %30 = tail call noundef ptr @_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base(ptr noundef nonnull %.024.lcssa33) #29 br label %31 31: ; preds = %29, %._crit_edge @@ -3424,41 +3424,41 @@ _ZNKSt4lessISt6vectorIhSaIhEEEclERKS2_S5_.exit9: ; preds = %47, %49 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i32 @memcmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #22 +declare i32 @memcmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #20 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) -declare noundef ptr @_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base(ptr noundef) local_unnamed_addr #23 +declare noundef ptr @_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base(ptr noundef) local_unnamed_addr #21 ; Function Attrs: nounwind declare void @_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_(i1 noundef zeroext, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 ; Function Attrs: nounwind uwtable -define internal void @_GLOBAL__sub_I_utils.cpp() #24 section ".text.startup" { +define internal void @_GLOBAL__sub_I_utils.cpp() #22 section ".text.startup" { tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32) @_ZN5faiss19gpu_compile_optionsB5cxx11E) #15 %1 = tail call i32 @__cxa_atexit(ptr nonnull @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev, ptr nonnull @_ZN5faiss19gpu_compile_optionsB5cxx11E, ptr nonnull @__dso_handle) #15 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #25 +declare i64 @llvm.umin.i64(i64, i64) #23 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.smin.i64(i64, i64) #25 +declare i64 @llvm.smin.i64(i64, i64) #23 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #25 +declare i32 @llvm.smin.i32(i32, i32) #23 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #26 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #24 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #26 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #24 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #25 +declare i64 @llvm.umax.i64(i64, i64) #23 ; 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>) #25 +declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #23 attributes #0 = { mustprogress 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 #1 = { mustprogress 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" } @@ -3469,7 +3469,7 @@ attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argm attributes #6 = { nofree nounwind } attributes #7 = { mustprogress 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 #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #9 = { mustprogress 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 #9 = { mustprogress 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 #10 = { noreturn "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 #11 = { noreturn nounwind uwtable "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 #12 = { nobuiltin allocsize(0) "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" } @@ -3479,19 +3479,17 @@ attributes #15 = { nounwind } attributes #16 = { convergent nounwind } attributes #17 = { 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 #18 = { 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 #19 = { mustprogress 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 #20 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #21 = { 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 #22 = { 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 #23 = { mustprogress nofree nounwind willreturn memory(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 #24 = { 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 #25 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #26 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #27 = { noreturn } -attributes #28 = { builtin allocsize(0) } -attributes #29 = { builtin nounwind } -attributes #30 = { noreturn nounwind } -attributes #31 = { nounwind willreturn memory(read) } +attributes #19 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #20 = { 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 #21 = { mustprogress nofree nounwind willreturn memory(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 #22 = { 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 #23 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #24 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #25 = { noreturn } +attributes #26 = { builtin allocsize(0) } +attributes #27 = { builtin nounwind } +attributes #28 = { noreturn nounwind } +attributes #29 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/flac/optimized/format.c.ll b/bench/flac/optimized/format.c.ll index 34fe5ce1721..cf371dfbb81 100644 --- a/bench/flac/optimized/format.c.ll +++ b/bench/flac/optimized/format.c.ll @@ -235,7 +235,7 @@ if.end: ; preds = %entry %points = getelementptr inbounds i8, ptr %seek_table, i64 8 %1 = load ptr, ptr %points, align 8 %conv = zext i32 %0 to i64 - tail call void @qsort(ptr noundef %1, i64 noundef %conv, i64 noundef 24, ptr noundef nonnull @seekpoint_compare_) #14 + tail call void @qsort(ptr noundef %1, i64 noundef %conv, i64 noundef 24, ptr noundef nonnull @seekpoint_compare_) #15 %2 = load i32, ptr %seek_table, align 8 %cmp326.not = icmp eq i32 %2, 0 br i1 %cmp326.not, label %return, label %for.body @@ -324,8 +324,8 @@ entry: ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5 -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(read, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @FLAC__format_vorbiscomment_entry_name_is_legal(ptr nocapture noundef readonly %name) local_unnamed_addr #1 { +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: read) uwtable +define range(i32 0, 2) i32 @FLAC__format_vorbiscomment_entry_name_is_legal(ptr nocapture noundef readonly %name) local_unnamed_addr #6 { entry: %c.06 = load i8, ptr %name, align 1 %tobool.not7 = icmp eq i8 %c.06, 0 @@ -351,8 +351,8 @@ return: ; preds = %for.body, %for.cond ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(read, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @FLAC__format_vorbiscomment_entry_value_is_legal(ptr noundef readonly %value, i32 noundef %length) local_unnamed_addr #1 { +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: read) uwtable +define range(i32 0, 2) i32 @FLAC__format_vorbiscomment_entry_value_is_legal(ptr noundef readonly %value, i32 noundef %length) local_unnamed_addr #6 { entry: %cmp = icmp eq i32 %length, -1 br i1 %cmp, label %while.cond.preheader, label %if.else @@ -611,8 +611,8 @@ return: ; preds = %land.lhs.true66, %i ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(read, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @FLAC__format_vorbiscomment_entry_is_legal(ptr noundef readonly %entry1, i32 noundef %length) local_unnamed_addr #1 { +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: read) uwtable +define range(i32 0, 2) i32 @FLAC__format_vorbiscomment_entry_is_legal(ptr noundef readonly %entry1, i32 noundef %length) local_unnamed_addr #6 { entry: %idx.ext = zext i32 %length to i64 %add.ptr = getelementptr inbounds i8, ptr %entry1, i64 %idx.ext @@ -669,7 +669,7 @@ return: ; preds = %for.body, %while.bo } ; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @FLAC__format_cuesheet_is_legal(ptr nocapture noundef readonly %cue_sheet, i32 noundef %check_cd_da_subset, ptr noundef writeonly %violation) local_unnamed_addr #6 { +define range(i32 0, 2) i32 @FLAC__format_cuesheet_is_legal(ptr nocapture noundef readonly %cue_sheet, i32 noundef %check_cd_da_subset, ptr noundef writeonly %violation) local_unnamed_addr #7 { entry: %tobool.not = icmp eq i32 %check_cd_da_subset, 0 br i1 %tobool.not, label %if.end12, label %if.then @@ -922,7 +922,7 @@ return: ; preds = %for.inc176, %for.in } ; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @FLAC__format_picture_is_legal(ptr nocapture noundef readonly %picture, ptr noundef writeonly %violation) local_unnamed_addr #6 { +define range(i32 0, 2) i32 @FLAC__format_picture_is_legal(ptr nocapture noundef readonly %picture, ptr noundef writeonly %violation) local_unnamed_addr #7 { entry: %mime_type = getelementptr inbounds i8, ptr %picture, i64 8 %0 = load ptr, ptr %mime_type, align 8 @@ -982,7 +982,7 @@ return: ; preds = %if.end17, %return.s } ; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(none) uwtable -define hidden i32 @FLAC__format_get_max_rice_partition_order_from_blocksize(i32 noundef %blocksize) local_unnamed_addr #7 { +define hidden i32 @FLAC__format_get_max_rice_partition_order_from_blocksize(i32 noundef %blocksize) local_unnamed_addr #8 { entry: %and4 = and i32 %blocksize, 1 %tobool.not5 = icmp eq i32 %and4, 0 @@ -1004,7 +1004,7 @@ while.end: ; preds = %while.body, %entry } ; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(none) uwtable -define hidden i32 @FLAC__format_get_max_rice_partition_order_from_blocksize_limited_max_and_predictor_order(i32 noundef %limit, i32 noundef %blocksize, i32 noundef %predictor_order) local_unnamed_addr #7 { +define hidden i32 @FLAC__format_get_max_rice_partition_order_from_blocksize_limited_max_and_predictor_order(i32 noundef %limit, i32 noundef %blocksize, i32 noundef %predictor_order) local_unnamed_addr #8 { entry: br label %while.cond @@ -1022,21 +1022,21 @@ while.end: ; preds = %while.cond } ; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(argmem: write) uwtable -define hidden void @FLAC__format_entropy_coding_method_partitioned_rice_contents_init(ptr nocapture noundef writeonly %object) local_unnamed_addr #8 { +define hidden void @FLAC__format_entropy_coding_method_partitioned_rice_contents_init(ptr nocapture noundef writeonly %object) local_unnamed_addr #9 { entry: tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %object, i8 0, i64 20, i1 false) ret void } ; Function Attrs: mustprogress nounwind sspstrong willreturn uwtable -define hidden void @FLAC__format_entropy_coding_method_partitioned_rice_contents_clear(ptr nocapture noundef %object) local_unnamed_addr #9 { +define hidden void @FLAC__format_entropy_coding_method_partitioned_rice_contents_clear(ptr nocapture noundef %object) local_unnamed_addr #10 { entry: %0 = load ptr, ptr %object, align 8 %cmp.not = icmp eq ptr %0, null br i1 %cmp.not, label %if.end, label %if.then if.then: ; preds = %entry - tail call void @free(ptr noundef nonnull %0) #14 + tail call void @free(ptr noundef nonnull %0) #15 br label %if.end if.end: ; preds = %if.then, %entry @@ -1046,7 +1046,7 @@ if.end: ; preds = %if.then, %entry br i1 %cmp2.not, label %if.end5, label %if.then3 if.then3: ; preds = %if.end - tail call void @free(ptr noundef nonnull %1) #14 + tail call void @free(ptr noundef nonnull %1) #15 br label %if.end5 if.end5: ; preds = %if.then3, %if.end @@ -1055,10 +1055,10 @@ if.end5: ; preds = %if.then3, %if.end } ; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) -declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #10 +declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #11 ; Function Attrs: mustprogress nounwind sspstrong willreturn uwtable -define hidden range(i32 0, 2) i32 @FLAC__format_entropy_coding_method_partitioned_rice_contents_ensure_size(ptr nocapture noundef %object, i32 noundef %max_partition_order) local_unnamed_addr #9 { +define hidden range(i32 0, 2) i32 @FLAC__format_entropy_coding_method_partitioned_rice_contents_ensure_size(ptr nocapture noundef %object, i32 noundef %max_partition_order) local_unnamed_addr #10 { entry: %capacity_by_order = getelementptr inbounds i8, ptr %object, i64 16 %0 = load i32, ptr %capacity_by_order, align 8 @@ -1078,12 +1078,12 @@ if.then: ; preds = %lor.lhs.false2, %en %shl = shl nuw i32 1, %max_partition_order %conv = sext i32 %shl to i64 %mul = shl nsw i64 %conv, 2 - %call.i = tail call ptr @realloc(ptr noundef %.pre, i64 noundef %mul) #15 + %call.i = tail call ptr @realloc(ptr noundef %.pre, i64 noundef %mul) #16 %cmp1.i = icmp eq ptr %call.i, null br i1 %cmp1.i, label %safe_realloc_.exit.thread, label %if.end safe_realloc_.exit.thread: ; preds = %if.then - tail call void @free(ptr noundef %.pre) #14 + tail call void @free(ptr noundef %.pre) #15 store ptr null, ptr %object, align 8 br label %return @@ -1091,12 +1091,12 @@ if.end: ; preds = %if.then store ptr %call.i, ptr %object, align 8 %raw_bits9 = getelementptr inbounds i8, ptr %object, i64 8 %2 = load ptr, ptr %raw_bits9, align 8 - %call.i13 = tail call ptr @realloc(ptr noundef %2, i64 noundef %mul) #15 + %call.i13 = tail call ptr @realloc(ptr noundef %2, i64 noundef %mul) #16 %cmp1.i14 = icmp eq ptr %call.i13, null br i1 %cmp1.i14, label %safe_realloc_.exit16.thread, label %if.end18 safe_realloc_.exit16.thread: ; preds = %if.end - tail call void @free(ptr noundef %2) #14 + tail call void @free(ptr noundef %2) #15 store ptr null, ptr %raw_bits9, align 8 br label %return @@ -1112,13 +1112,13 @@ return: ; preds = %safe_realloc_.exit1 } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #11 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #12 ; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) -declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #12 +declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #13 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #13 +declare i32 @llvm.umin.i32(i32, i32) #14 attributes #0 = { mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-signed-zeros-fp-math"="true" "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 = { nofree norecurse nosync nounwind sspstrong memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-signed-zeros-fp-math"="true" "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" } @@ -1126,16 +1126,17 @@ attributes #2 = { nofree nounwind sspstrong uwtable "frame-pointer"="all" "min-l attributes #3 = { nofree "frame-pointer"="all" "no-signed-zeros-fp-math"="true" "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 sspstrong willreturn memory(argmem: read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-signed-zeros-fp-math"="true" "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 nounwind willreturn memory(argmem: readwrite) } -attributes #6 = { nofree norecurse nosync nounwind sspstrong memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-signed-zeros-fp-math"="true" "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 sspstrong memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-signed-zeros-fp-math"="true" "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 = { mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(argmem: write) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-signed-zeros-fp-math"="true" "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 = { mustprogress nounwind sspstrong willreturn uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-signed-zeros-fp-math"="true" "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 nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="all" "no-signed-zeros-fp-math"="true" "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 nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #12 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="all" "no-signed-zeros-fp-math"="true" "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #14 = { nounwind } -attributes #15 = { nounwind allocsize(1) } +attributes #6 = { nofree norecurse nosync nounwind sspstrong memory(argmem: read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-signed-zeros-fp-math"="true" "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 sspstrong memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-signed-zeros-fp-math"="true" "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 norecurse nosync nounwind sspstrong memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-signed-zeros-fp-math"="true" "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 = { mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(argmem: write) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-signed-zeros-fp-math"="true" "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 nounwind sspstrong willreturn uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-signed-zeros-fp-math"="true" "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 nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="all" "no-signed-zeros-fp-math"="true" "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 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "frame-pointer"="all" "no-signed-zeros-fp-math"="true" "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #15 = { nounwind } +attributes #16 = { nounwind allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/folly/optimized/SpookyHashV1.cpp.ll b/bench/folly/optimized/SpookyHashV1.cpp.ll index 60d1a313efb..7d3944a175a 100644 --- a/bench/folly/optimized/SpookyHashV1.cpp.ll +++ b/bench/folly/optimized/SpookyHashV1.cpp.ll @@ -3,7 +3,7 @@ source_filename = "bench/folly/original/SpookyHashV1.cpp.ll" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN5folly4hash12SpookyHashV15ShortEPKvmPmS4_(ptr noundef readonly %message, i64 noundef %length, ptr nocapture noundef %hash1, ptr nocapture noundef %hash2) local_unnamed_addr #0 align 2 { entry: %rem = and i64 %length, 31 @@ -332,7 +332,7 @@ declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN5folly4hash12SpookyHashV17Hash128EPKvmPmS4_(ptr noundef %message, i64 noundef %length, ptr nocapture noundef %hash1, ptr nocapture noundef %hash2) local_unnamed_addr #0 align 2 { entry: %buf = alloca [12 x i64], align 16 @@ -344,7 +344,7 @@ if.then: ; preds = %entry br label %return if.end: ; preds = %entry - call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %buf) #7 + call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %buf) #6 %0 = load i64, ptr %hash1, align 8, !tbaa !7 %1 = load i64, ptr %hash2, align 8, !tbaa !7 %div = udiv i64 %length, 96 @@ -668,7 +668,7 @@ while.end: ; preds = %while.body, %if.end %or.i126.i = tail call i64 @llvm.fshl.i64(i64 %xor29.i108, i64 %xor29.i108, i64 54) store i64 %or.i126.i, ptr %hash1, align 8, !tbaa !7 store i64 %xor32.i, ptr %hash2, align 8, !tbaa !7 - call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %buf) #7 + call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %buf) #6 br label %return return: ; preds = %while.end, %if.then @@ -695,8 +695,8 @@ entry: ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZN5folly4hash12SpookyHashV16UpdateEPKvm(ptr noundef nonnull align 8 dereferenceable(297) %this, ptr noundef readonly %message, i64 noundef %length) local_unnamed_addr #5 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @_ZN5folly4hash12SpookyHashV16UpdateEPKvm(ptr noundef nonnull align 8 dereferenceable(297) %this, ptr noundef readonly %message, i64 noundef %length) local_unnamed_addr #0 align 2 { entry: %m_remainder = getelementptr inbounds i8, ptr %this, i64 296 %0 = load i8, ptr %m_remainder, align 8, !tbaa !19 @@ -1110,8 +1110,8 @@ cleanup: ; preds = %while.end, %if.then ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZN5folly4hash12SpookyHashV15FinalEPmS2_(ptr noundef nonnull align 8 dereferenceable(297) %this, ptr nocapture noundef %hash1, ptr nocapture noundef %hash2) local_unnamed_addr #5 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @_ZN5folly4hash12SpookyHashV15FinalEPmS2_(ptr noundef nonnull align 8 dereferenceable(297) %this, ptr nocapture noundef %hash1, ptr nocapture noundef %hash2) local_unnamed_addr #0 align 2 { entry: %m_length = getelementptr inbounds i8, ptr %this, i64 288 %0 = load i64, ptr %m_length, align 8, !tbaa !17 @@ -1467,16 +1467,15 @@ return: ; preds = %if.end35, %if.then } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.fshl.i64(i64, i64, i64) #6 +declare i64 @llvm.fshl.i64(i64, i64, i64) #5 -attributes #0 = { mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #0 = { mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #5 = { mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #7 = { nounwind } +attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #6 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4, !5, !6} diff --git a/bench/freetype/optimized/pshinter.c.ll b/bench/freetype/optimized/pshinter.c.ll index 419b24aac7f..7fcb6dd427d 100644 --- a/bench/freetype/optimized/pshinter.c.ll +++ b/bench/freetype/optimized/pshinter.c.ll @@ -46,7 +46,7 @@ define hidden i32 @ps_hints_apply(ptr noundef %0, ptr noundef %1, ptr noundef %2 %15 = getelementptr inbounds i8, ptr %6, i64 24 store ptr %14, ptr %15, align 8 %16 = zext i16 %8 to i64 - %17 = call ptr @ft_mem_qrealloc(ptr noundef %14, i64 noundef 72, i64 noundef 0, i64 noundef %16, ptr noundef null, ptr noundef nonnull %5) #11 + %17 = call ptr @ft_mem_qrealloc(ptr noundef %14, i64 noundef 72, i64 noundef 0, i64 noundef %16, ptr noundef null, ptr noundef nonnull %5) #12 %18 = getelementptr inbounds i8, ptr %6, i64 8 store ptr %17, ptr %18, align 8 %19 = load i32, ptr %5, align 4 @@ -56,7 +56,7 @@ define hidden i32 @ps_hints_apply(ptr noundef %0, ptr noundef %1, ptr noundef %2 20: ; preds = %13 %21 = load i16, ptr %1, align 8 %22 = zext i16 %21 to i64 - %23 = call ptr @ft_mem_qrealloc(ptr noundef %14, i64 noundef 16, i64 noundef 0, i64 noundef %22, ptr noundef null, ptr noundef nonnull %5) #11 + %23 = call ptr @ft_mem_qrealloc(ptr noundef %14, i64 noundef 16, i64 noundef 0, i64 noundef %22, ptr noundef null, ptr noundef nonnull %5) #12 %24 = getelementptr inbounds i8, ptr %6, i64 16 store ptr %23, ptr %24, align 8 %25 = load i32, ptr %5, align 4 @@ -263,7 +263,7 @@ psh_compute_dir.exit128.i: ; preds = %126, %123, %120 br i1 %.not124.i, label %133, label %135 133: ; preds = %132 - %134 = call i32 @ft_corner_is_flat(i64 noundef %87, i64 noundef %92, i64 noundef %111, i64 noundef %115) #11 + %134 = call i32 @ft_corner_is_flat(i64 noundef %87, i64 noundef %92, i64 noundef %111, i64 noundef %115) #12 %.not125.i = icmp eq i32 %134, 0 br i1 %.not125.i, label %138, label %._crit_edge186.i @@ -393,7 +393,7 @@ psh_glyph_load_points.exit.i: ; preds = %.lr.ph.split.us.i.i br label %183, !llvm.loop !10 200: ; preds = %186 - %201 = call i32 @ft_corner_orientation(i64 noundef %181, i64 noundef %182, i64 noundef %191, i64 noundef %196) #11 + %201 = call i32 @ft_corner_orientation(i64 noundef %181, i64 noundef %182, i64 noundef %191, i64 noundef %196) #12 %202 = icmp eq i32 %201, 0 br i1 %202, label %.backedge, label %.preheader83.i.i @@ -435,7 +435,7 @@ psh_glyph_load_points.exit.i: ; preds = %.lr.ph.split.us.i.i br i1 %218, label %204, label %219, !llvm.loop !11 219: ; preds = %204 - %220 = call i32 @ft_corner_orientation(i64 noundef %.067.i.i, i64 noundef %.066.i.i, i64 noundef %212, i64 noundef %215) #11 + %220 = call i32 @ft_corner_orientation(i64 noundef %.067.i.i, i64 noundef %.066.i.i, i64 noundef %212, i64 noundef %215) #12 %221 = icmp eq i32 %220, 0 br i1 %221, label %203, label %222, !llvm.loop !12 @@ -528,7 +528,7 @@ psh_glyph_init.exit: ; preds = %psh_glyph_compute_i br i1 %or.cond, label %.thread, label %268 268: ; preds = %255 - %269 = call i64 @FT_MulDiv(i64 noundef %252, i64 noundef %267, i64 noundef %265) #11 + %269 = call i64 @FT_MulDiv(i64 noundef %252, i64 noundef %267, i64 noundef %265) #12 %270 = icmp slt i64 %267, %265 br i1 %270, label %271, label %273 @@ -843,7 +843,7 @@ psh_hint_table_align_hints.exit: ; preds = %psh_hint_table_alig %420 = getelementptr inbounds i8, ptr %413, i64 8 %421 = getelementptr inbounds [2 x %struct.PSH_DimensionRec_], ptr %420, i64 0, i64 %indvars.iv, i32 1 %422 = load i64, ptr %421, align 8 - %423 = call i64 @FT_DivFix(i64 noundef 32, i64 noundef %422) #11 + %423 = call i64 @FT_DivFix(i64 noundef 32, i64 noundef %422) #12 %424 = trunc i64 %423 to i32 %spec.store.select.i94 = call i32 @llvm.smin.i32(i32 %424, i32 12) %425 = icmp ugt i32 %418, 1 @@ -1489,42 +1489,42 @@ psh_glyph_save_points.exit: ; preds = %581, %683, %psh_gly %694 = getelementptr inbounds i8, ptr %6, i64 120 %695 = getelementptr inbounds i8, ptr %6, i64 160 %696 = load ptr, ptr %695, align 8 - call void @ft_mem_free(ptr noundef %692, ptr noundef %696) #11 + call void @ft_mem_free(ptr noundef %692, ptr noundef %696) #12 %697 = getelementptr inbounds i8, ptr %6, i64 152 store i32 0, ptr %697, align 8 %698 = getelementptr inbounds i8, ptr %6, i64 136 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %695, i8 0, i64 16, i1 false) %699 = load ptr, ptr %698, align 8 - call void @ft_mem_free(ptr noundef %692, ptr noundef %699) #11 + call void @ft_mem_free(ptr noundef %692, ptr noundef %699) #12 store ptr null, ptr %698, align 8 %700 = getelementptr inbounds i8, ptr %6, i64 128 %701 = load ptr, ptr %700, align 8 - call void @ft_mem_free(ptr noundef %692, ptr noundef %701) #11 + call void @ft_mem_free(ptr noundef %692, ptr noundef %701) #12 %702 = getelementptr inbounds i8, ptr %6, i64 144 store ptr null, ptr %702, align 8 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %694, i8 0, i64 16, i1 false) %703 = getelementptr inbounds i8, ptr %6, i64 88 %704 = load ptr, ptr %703, align 8 - call void @ft_mem_free(ptr noundef %692, ptr noundef %704) #11 + call void @ft_mem_free(ptr noundef %692, ptr noundef %704) #12 %705 = getelementptr inbounds i8, ptr %6, i64 80 store i32 0, ptr %705, align 8 %706 = getelementptr inbounds i8, ptr %6, i64 64 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %703, i8 0, i64 16, i1 false) %707 = load ptr, ptr %706, align 8 - call void @ft_mem_free(ptr noundef %692, ptr noundef %707) #11 + call void @ft_mem_free(ptr noundef %692, ptr noundef %707) #12 store ptr null, ptr %706, align 8 %708 = getelementptr inbounds i8, ptr %6, i64 56 %709 = load ptr, ptr %708, align 8 - call void @ft_mem_free(ptr noundef %692, ptr noundef %709) #11 + call void @ft_mem_free(ptr noundef %692, ptr noundef %709) #12 %710 = getelementptr inbounds i8, ptr %6, i64 72 store ptr null, ptr %710, align 8 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %693, i8 0, i64 16, i1 false) %711 = load ptr, ptr %18, align 8 - call void @ft_mem_free(ptr noundef %692, ptr noundef %711) #11 + call void @ft_mem_free(ptr noundef %692, ptr noundef %711) #12 store ptr null, ptr %18, align 8 %712 = getelementptr inbounds i8, ptr %6, i64 16 %713 = load ptr, ptr %712, align 8 - call void @ft_mem_free(ptr noundef %692, ptr noundef %713) #11 + call void @ft_mem_free(ptr noundef %692, ptr noundef %713) #12 br label %714 714: ; preds = %4, %10, %.loopexit @@ -1534,7 +1534,7 @@ psh_glyph_save_points.exit: ; preds = %581, %683, %psh_gly declare i64 @FT_MulDiv(i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal void @psh_globals_set_scale(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #2 { %6 = getelementptr inbounds i8, ptr %0, i64 400 %7 = load i64, ptr %6, align 8 @@ -2028,7 +2028,7 @@ define internal fastcc void @psh_glyph_interpolate_strong_points(ptr nocapture n br label %77 73: ; preds = %52 - %74 = tail call i64 @FT_MulDiv(i64 noundef %38, i64 noundef %59, i64 noundef %55) #11 + %74 = tail call i64 @FT_MulDiv(i64 noundef %38, i64 noundef %59, i64 noundef %55) #12 %75 = add nsw i64 %74, %57 %76 = getelementptr inbounds i8, ptr %.03751, i64 64 store i64 %75, ptr %76, align 8 @@ -2093,7 +2093,7 @@ define internal fastcc void @psh_glyph_interpolate_normal_points(ptr nocapture n 27: ; preds = %25 %28 = zext i32 %spec.select to i64 - %29 = call ptr @ft_mem_qrealloc(ptr noundef %12, i64 noundef 8, i64 noundef 0, i64 noundef %28, ptr noundef null, ptr noundef nonnull %4) #11 + %29 = call ptr @ft_mem_qrealloc(ptr noundef %12, i64 noundef 8, i64 noundef 0, i64 noundef %28, ptr noundef null, ptr noundef nonnull %4) #12 %30 = load i32, ptr %4, align 4 %.not = icmp eq i32 %30, 0 br i1 %.not, label %31, label %._crit_edge.thread @@ -2340,7 +2340,7 @@ define internal fastcc void @psh_glyph_interpolate_normal_points(ptr nocapture n %164 = load i64, ptr %163, align 8 %165 = sub nsw i64 %164, %161 %166 = sub nsw i64 %153, %145 - %167 = call i64 @FT_MulDiv(i64 noundef %162, i64 noundef %165, i64 noundef %166) #11 + %167 = call i64 @FT_MulDiv(i64 noundef %162, i64 noundef %165, i64 noundef %166) #12 %168 = add nsw i64 %167, %161 %169 = getelementptr inbounds i8, ptr %.2146, i64 64 store i64 %168, ptr %169, align 8 @@ -2363,7 +2363,7 @@ define internal fastcc void @psh_glyph_interpolate_normal_points(ptr nocapture n br i1 %.not110, label %._crit_edge.thread, label %176 176: ; preds = %._crit_edge148 - call void @ft_mem_free(ptr noundef %12, ptr noundef %.0) #11 + call void @ft_mem_free(ptr noundef %12, ptr noundef %.0) #12 br label %._crit_edge.thread ._crit_edge.thread: ; preds = %2, %27, %._crit_edge, %176, %._crit_edge148 @@ -2538,7 +2538,7 @@ define internal fastcc void @psh_glyph_interpolate_other_points(ptr nocapture no 88: ; preds = %84 %89 = sub nsw i64 %86, %.sink178 - %90 = tail call i64 @FT_DivFix(i64 noundef %89, i64 noundef %.090) #11 + %90 = tail call i64 @FT_DivFix(i64 noundef %89, i64 noundef %.090) #12 %.pre = load ptr, ptr %68, align 8 br label %91 @@ -2698,7 +2698,7 @@ define internal fastcc i32 @psh_hint_table_init(ptr nocapture noundef %0, ptr no %6 = load i32, ptr %1, align 8 %7 = shl i32 %6, 1 %8 = zext i32 %7 to i64 - %9 = call ptr @ft_mem_qrealloc(ptr noundef %3, i64 noundef 8, i64 noundef 0, i64 noundef %8, ptr noundef null, ptr noundef nonnull %5) #11 + %9 = call ptr @ft_mem_qrealloc(ptr noundef %3, i64 noundef 8, i64 noundef 0, i64 noundef %8, ptr noundef null, ptr noundef nonnull %5) #12 %10 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %9, ptr %10, align 8 %11 = load i32, ptr %5, align 4 @@ -2707,7 +2707,7 @@ define internal fastcc i32 @psh_hint_table_init(ptr nocapture noundef %0, ptr no 12: ; preds = %4 %13 = zext i32 %6 to i64 - %14 = call ptr @ft_mem_qrealloc(ptr noundef %3, i64 noundef 48, i64 noundef 0, i64 noundef %13, ptr noundef null, ptr noundef nonnull %5) #11 + %14 = call ptr @ft_mem_qrealloc(ptr noundef %3, i64 noundef 48, i64 noundef 0, i64 noundef %13, ptr noundef null, ptr noundef nonnull %5) #12 %15 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %14, ptr %15, align 8 %16 = load i32, ptr %5, align 4 @@ -2717,7 +2717,7 @@ define internal fastcc i32 @psh_hint_table_init(ptr nocapture noundef %0, ptr no 17: ; preds = %12 %18 = or disjoint i32 %7, 1 %19 = zext i32 %18 to i64 - %20 = call ptr @ft_mem_qrealloc(ptr noundef %3, i64 noundef 32, i64 noundef 0, i64 noundef %19, ptr noundef null, ptr noundef nonnull %5) #11 + %20 = call ptr @ft_mem_qrealloc(ptr noundef %3, i64 noundef 32, i64 noundef 0, i64 noundef %19, ptr noundef null, ptr noundef nonnull %5) #12 %21 = getelementptr inbounds i8, ptr %0, i64 40 store ptr %20, ptr %21, align 8 %22 = load i32, ptr %5, align 4 @@ -3427,8 +3427,8 @@ psh_dimension_quantize_len.exit: ; preds = %173, %199, %196, %1 declare i64 @FT_DivFix(i64 noundef, i64 noundef) local_unnamed_addr #1 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @psh_hint_table_find_strong_points(i32 %.4.val, ptr nocapture readonly %.16.val, ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) unnamed_addr #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define internal fastcc void @psh_hint_table_find_strong_points(i32 %.4.val, ptr nocapture readonly %.16.val, ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) unnamed_addr #6 { %.not30 = icmp eq i32 %1, 0 br i1 %.not30, label %._crit_edge, label %.lr.ph33 @@ -3643,19 +3643,19 @@ define internal fastcc void @psh_hint_table_find_strong_points(i32 %.4.val, ptr declare hidden void @ft_mem_free(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal nonnull ptr @pshinter_get_globals_funcs(ptr noundef readnone %0) #6 { +define internal nonnull ptr @pshinter_get_globals_funcs(ptr noundef readnone %0) #7 { %2 = getelementptr inbounds i8, ptr %0, i64 144 ret ptr %2 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal nonnull ptr @pshinter_get_t1_funcs(ptr noundef readnone %0) #6 { +define internal nonnull ptr @pshinter_get_t1_funcs(ptr noundef readnone %0) #7 { %2 = getelementptr inbounds i8, ptr %0, i64 168 ret ptr %2 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal nonnull ptr @pshinter_get_t2_funcs(ptr noundef readnone %0) #6 { +define internal nonnull ptr @pshinter_get_t2_funcs(ptr noundef readnone %0) #7 { %2 = getelementptr inbounds i8, ptr %0, i64 224 ret ptr %2 } @@ -3663,7 +3663,7 @@ define internal nonnull ptr @pshinter_get_t2_funcs(ptr noundef readnone %0) #6 { ; Function Attrs: nounwind uwtable define internal i32 @psh_globals_new(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = alloca i32, align 4 - %5 = call ptr @ft_mem_qalloc(ptr noundef %0, i64 noundef 3952, ptr noundef nonnull %4) #11 + %5 = call ptr @ft_mem_qalloc(ptr noundef %0, i64 noundef 3952, ptr noundef nonnull %4) #12 %6 = load i32, ptr %4, align 4 %.not = icmp eq i32 %6, 0 br i1 %.not, label %7, label %112 @@ -3867,7 +3867,7 @@ psh_calc_max_height.exit97: ; preds = %.lr.ph.i91, %psh_ca psh_calc_max_height.exit106: ; preds = %.lr.ph.i100, %psh_calc_max_height.exit97 %.0.lcssa.i105 = phi i16 [ %.0.lcssa.i96, %psh_calc_max_height.exit97 ], [ %spec.select.i103, %.lr.ph.i100 ] %100 = zext nneg i16 %.0.lcssa.i105 to i64 - %101 = call i64 @FT_DivFix(i64 noundef 1000, i64 noundef %100) #11 + %101 = call i64 @FT_DivFix(i64 noundef 1000, i64 noundef %100) #12 %102 = getelementptr inbounds i8, ptr %1, i64 112 %103 = load i64, ptr %102, align 8 %. = call i64 @llvm.smin.i64(i64 %103, i64 %101) @@ -3912,7 +3912,7 @@ define internal void @psh_globals_destroy(ptr noundef %0) #0 { store i32 0, ptr %8, align 8 %9 = getelementptr inbounds i8, ptr %0, i64 3152 store i32 0, ptr %9, align 8 - tail call void @ft_mem_free(ptr noundef %3, ptr noundef nonnull %0) #11 + tail call void @ft_mem_free(ptr noundef %3, ptr noundef nonnull %0) #12 br label %10 10: ; preds = %2, %1 @@ -3921,7 +3921,7 @@ define internal void @psh_globals_destroy(ptr noundef %0) #0 { declare hidden ptr @ft_mem_qalloc(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal fastcc void @psh_blues_set_zones(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3, ptr nocapture noundef readonly %4, i32 noundef %5, i32 noundef %6) unnamed_addr #2 { %.not = icmp eq i32 %6, 0 %.092.v = select i1 %.not, i64 776, i64 2328 @@ -4287,10 +4287,10 @@ psh_blues_set_zones_0.exit139: ; preds = %71, %psh_blues_set_ } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define internal void @t1_hints_open(ptr nocapture noundef writeonly %0) #8 { +define internal void @t1_hints_open(ptr nocapture noundef writeonly %0) #9 { %2 = getelementptr inbounds i8, ptr %0, i64 8 store i32 0, ptr %2, align 8 %3 = getelementptr inbounds i8, ptr %0, i64 16 @@ -4337,10 +4337,10 @@ ps_hints_close.exit: ; preds = %2, %5, %9 ; Function Attrs: nounwind uwtable define internal void @t1_hints_stem(ptr nocapture noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = load i64, ptr %2, align 8 - %5 = tail call i64 @FT_RoundFix(i64 noundef %4) #11 + %5 = tail call i64 @FT_RoundFix(i64 noundef %4) #12 %6 = getelementptr inbounds i8, ptr %2, i64 8 %7 = load i64, ptr %6, align 8 - %8 = tail call i64 @FT_RoundFix(i64 noundef %7) #11 + %8 = tail call i64 @FT_RoundFix(i64 noundef %7) #12 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i32, ptr %9, align 8 %.not.i = icmp eq i32 %10, 0 @@ -4395,12 +4395,12 @@ define internal void @ps_hints_t1stem3(ptr nocapture noundef %0, i32 noundef %1, %indvars.iv = phi i64 [ %indvars.iv.next, %31 ], [ 0, %11 ] %.02234 = phi ptr [ %32, %31 ], [ %2, %11 ] %20 = load i64, ptr %.02234, align 8 - %21 = call i64 @FT_RoundFix(i64 noundef %20) #11 + %21 = call i64 @FT_RoundFix(i64 noundef %20) #12 %22 = lshr i64 %21, 16 %23 = trunc i64 %22 to i32 %24 = getelementptr inbounds i8, ptr %.02234, i64 8 %25 = load i64, ptr %24, align 8 - %26 = call i64 @FT_RoundFix(i64 noundef %25) #11 + %26 = call i64 @FT_RoundFix(i64 noundef %25) #12 %27 = lshr i64 %26, 16 %28 = trunc i64 %27 to i32 %29 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 %indvars.iv @@ -4514,7 +4514,7 @@ ps_mask_test_bit.exit34.thread.i: ; preds = %ps_mask_test_bit.ex %85 = zext i32 %83 to i64 %86 = getelementptr inbounds i8, ptr %16, i64 40 %87 = load ptr, ptr %86, align 8 - %88 = call ptr @ft_mem_realloc(ptr noundef %12, i64 noundef 24, i64 noundef %84, i64 noundef %85, ptr noundef %87, ptr noundef nonnull %7) #11 + %88 = call ptr @ft_mem_realloc(ptr noundef %12, i64 noundef 24, i64 noundef %84, i64 noundef %85, ptr noundef %87, ptr noundef nonnull %7) #12 store ptr %88, ptr %86, align 8 %89 = load i32, ptr %7, align 4 %.not.i.i.i = icmp eq i32 %89, 0 @@ -4580,7 +4580,7 @@ ps_mask_table_alloc.exit.i: ; preds = %81 %116 = zext nneg i32 %114 to i64 %117 = getelementptr inbounds i8, ptr %.055.i, i64 8 %118 = load ptr, ptr %117, align 8 - %119 = call ptr @ft_mem_realloc(ptr noundef %12, i64 noundef 1, i64 noundef %115, i64 noundef %116, ptr noundef %118, ptr noundef nonnull %6) #11 + %119 = call ptr @ft_mem_realloc(ptr noundef %12, i64 noundef 1, i64 noundef %115, i64 noundef %116, ptr noundef %118, ptr noundef nonnull %6) #12 store ptr %119, ptr %117, align 8 %120 = load i32, ptr %6, align 4 %.not.i.i38.i = icmp eq i32 %120, 0 @@ -4634,7 +4634,7 @@ ps_mask_set_bit.exit.i: ; preds = %112 %147 = zext nneg i32 %140 to i64 %148 = zext nneg i32 %146 to i64 %149 = load ptr, ptr %125, align 8 - %150 = call ptr @ft_mem_realloc(ptr noundef %12, i64 noundef 1, i64 noundef %147, i64 noundef %148, ptr noundef %149, ptr noundef nonnull %5) #11 + %150 = call ptr @ft_mem_realloc(ptr noundef %12, i64 noundef 1, i64 noundef %147, i64 noundef %148, ptr noundef %149, ptr noundef nonnull %5) #12 store ptr %150, ptr %125, align 8 %151 = load i32, ptr %5, align 4 %.not.i.i41.i = icmp eq i32 %151, 0 @@ -4687,7 +4687,7 @@ ps_mask_set_bit.exit43.i: ; preds = %144 %177 = zext nneg i32 %170 to i64 %178 = zext nneg i32 %176 to i64 %179 = load ptr, ptr %125, align 8 - %180 = call ptr @ft_mem_realloc(ptr noundef %12, i64 noundef 1, i64 noundef %177, i64 noundef %178, ptr noundef %179, ptr noundef nonnull %4) #11 + %180 = call ptr @ft_mem_realloc(ptr noundef %12, i64 noundef 1, i64 noundef %177, i64 noundef %178, ptr noundef %179, ptr noundef nonnull %4) #12 store ptr %180, ptr %125, align 8 %181 = load i32, ptr %4, align 4 %.not.i.i46.i = icmp eq i32 %181, 0 @@ -4783,7 +4783,7 @@ ps_dimension_end_mask.exit.i: ; preds = %15, %12 %30 = zext i32 %28 to i64 %31 = getelementptr inbounds i8, ptr %0, i64 48 %32 = load ptr, ptr %31, align 8 - %33 = call ptr @ft_mem_realloc(ptr noundef %8, i64 noundef 24, i64 noundef %29, i64 noundef %30, ptr noundef %32, ptr noundef nonnull %4) #11 + %33 = call ptr @ft_mem_realloc(ptr noundef %8, i64 noundef 24, i64 noundef %29, i64 noundef %30, ptr noundef %32, ptr noundef nonnull %4) #12 store ptr %33, ptr %31, align 8 %34 = load i32, ptr %4, align 4 %.not.i.i.i = icmp eq i32 %34, 0 @@ -4858,7 +4858,7 @@ ps_dimension_end_mask.exit.i19: ; preds = %51, %48 %66 = zext i32 %64 to i64 %67 = getelementptr inbounds i8, ptr %0, i64 96 %68 = load ptr, ptr %67, align 8 - %69 = call ptr @ft_mem_realloc(ptr noundef %8, i64 noundef 24, i64 noundef %65, i64 noundef %66, ptr noundef %68, ptr noundef nonnull %3) #11 + %69 = call ptr @ft_mem_realloc(ptr noundef %8, i64 noundef 24, i64 noundef %65, i64 noundef %66, ptr noundef %68, ptr noundef nonnull %3) #12 store ptr %69, ptr %67, align 8 %70 = load i32, ptr %3, align 4 %.not.i.i.i25 = icmp eq i32 %70, 0 @@ -5058,7 +5058,7 @@ ps_mask_table_test_intersect.exit.thread27.i: ; preds = %ps_mask_table_test_ %73 = zext nneg i32 %71 to i64 %74 = getelementptr inbounds i8, ptr %55, i64 8 %75 = load ptr, ptr %74, align 8 - %76 = call ptr @ft_mem_realloc(ptr noundef %2, i64 noundef 1, i64 noundef %72, i64 noundef %73, ptr noundef %75, ptr noundef nonnull %4) #11 + %76 = call ptr @ft_mem_realloc(ptr noundef %2, i64 noundef 1, i64 noundef %72, i64 noundef %73, ptr noundef %75, ptr noundef nonnull %4) #12 store ptr %76, ptr %74, align 8 %77 = load i32, ptr %4, align 4 %.not.i.i.i = icmp eq i32 %77, 0 @@ -5155,7 +5155,7 @@ ps_mask_table_merge_all.exit: ; preds = %.loopexit.i, %ps_di } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #7 +declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #8 declare hidden ptr @ft_mem_realloc(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 @@ -5211,7 +5211,7 @@ define internal fastcc i32 @ps_dimension_add_t1stem(ptr nocapture noundef %0, i3 %30 = add i32 %29, 8 %31 = zext i32 %26 to i64 %32 = zext i32 %30 to i64 - %33 = call ptr @ft_mem_qrealloc(ptr noundef %3, i64 noundef 12, i64 noundef %31, i64 noundef %32, ptr noundef %14, ptr noundef nonnull %8) #11 + %33 = call ptr @ft_mem_qrealloc(ptr noundef %3, i64 noundef 12, i64 noundef %31, i64 noundef %32, ptr noundef %14, ptr noundef nonnull %8) #12 store ptr %33, ptr %13, align 8 %34 = load i32, ptr %8, align 4 %.not.i.i = icmp eq i32 %34, 0 @@ -5262,7 +5262,7 @@ ps_hint_table_alloc.exit: ; preds = %28 store i32 0, ptr %7, align 4 %50 = getelementptr inbounds i8, ptr %0, i64 24 %51 = load ptr, ptr %50, align 8 - %52 = call ptr @ft_mem_realloc(ptr noundef %3, i64 noundef 24, i64 noundef 0, i64 noundef 8, ptr noundef %51, ptr noundef nonnull %7) #11 + %52 = call ptr @ft_mem_realloc(ptr noundef %3, i64 noundef 24, i64 noundef 0, i64 noundef 8, ptr noundef %51, ptr noundef nonnull %7) #12 store ptr %52, ptr %50, align 8 %53 = load i32, ptr %7, align 4 %.not.i.i.i = icmp eq i32 %53, 0 @@ -5332,7 +5332,7 @@ ps_mask_table_last.exit: ; preds = %49 %85 = zext nneg i32 %83 to i64 %86 = getelementptr inbounds i8, ptr %.08.i.ph, i64 8 %87 = load ptr, ptr %86, align 8 - %88 = call ptr @ft_mem_realloc(ptr noundef %3, i64 noundef 1, i64 noundef %84, i64 noundef %85, ptr noundef %87, ptr noundef nonnull %6) #11 + %88 = call ptr @ft_mem_realloc(ptr noundef %3, i64 noundef 1, i64 noundef %84, i64 noundef %85, ptr noundef %87, ptr noundef nonnull %6) #12 store ptr %88, ptr %86, align 8 %89 = load i32, ptr %6, align 4 %.not.i.i47 = icmp eq i32 %89, 0 @@ -5377,7 +5377,7 @@ ps_mask_set_bit.exit: ; preds = %71, %92 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define internal void @t2_hints_open(ptr nocapture noundef writeonly %0) #8 { +define internal void @t2_hints_open(ptr nocapture noundef writeonly %0) #9 { %2 = getelementptr inbounds i8, ptr %0, i64 8 store i32 0, ptr %2, align 8 %3 = getelementptr inbounds i8, ptr %0, i64 16 @@ -5453,7 +5453,7 @@ define internal void @t2_hints_stems(ptr nocapture noundef %0, i32 noundef %1, i %17 = getelementptr inbounds i64, ptr %3, i64 %indvars.iv %18 = load i64, ptr %17, align 8 %19 = add i64 %18, %.12428 - %20 = tail call i64 @FT_RoundFix(i64 noundef %19) #11 + %20 = tail call i64 @FT_RoundFix(i64 noundef %19) #12 %21 = ashr i64 %20, 16 %22 = getelementptr inbounds [32 x i64], ptr %5, i64 0, i64 %indvars.iv store i64 %21, ptr %22, align 8 @@ -5631,7 +5631,7 @@ ps_dimension_end_mask.exit.i: ; preds = %12, %6 %27 = zext i32 %25 to i64 %28 = getelementptr inbounds i8, ptr %0, i64 24 %29 = load ptr, ptr %28, align 8 - %30 = call ptr @ft_mem_realloc(ptr noundef %5, i64 noundef 24, i64 noundef %26, i64 noundef %27, ptr noundef %29, ptr noundef nonnull %9) #11 + %30 = call ptr @ft_mem_realloc(ptr noundef %5, i64 noundef 24, i64 noundef %26, i64 noundef %27, ptr noundef %29, ptr noundef nonnull %9) #12 store ptr %30, ptr %28, align 8 %31 = load i32, ptr %9, align 4 %.not.i.i.i = icmp eq i32 %31, 0 @@ -5687,7 +5687,7 @@ ps_dimension_reset_mask.exit: ; preds = %23 store i32 0, ptr %8, align 4 %51 = getelementptr inbounds i8, ptr %0, i64 24 %52 = load ptr, ptr %51, align 8 - %53 = call ptr @ft_mem_realloc(ptr noundef %5, i64 noundef 24, i64 noundef 0, i64 noundef 8, ptr noundef %52, ptr noundef nonnull %8) #11 + %53 = call ptr @ft_mem_realloc(ptr noundef %5, i64 noundef 24, i64 noundef 0, i64 noundef 8, ptr noundef %52, ptr noundef nonnull %8) #12 store ptr %53, ptr %51, align 8 %54 = load i32, ptr %8, align 4 %.not.i.i.i.i = icmp eq i32 %54, 0 @@ -5755,7 +5755,7 @@ ps_mask_table_last.exit.i: ; preds = %50 %82 = zext nneg i32 %80 to i64 %83 = getelementptr inbounds i8, ptr %.08.i.ph.i, i64 8 %84 = load ptr, ptr %83, align 8 - %85 = call ptr @ft_mem_realloc(ptr noundef %5, i64 noundef 1, i64 noundef %81, i64 noundef %82, ptr noundef %84, ptr noundef nonnull %7) #11 + %85 = call ptr @ft_mem_realloc(ptr noundef %5, i64 noundef 1, i64 noundef %81, i64 noundef %82, ptr noundef %84, ptr noundef nonnull %7) #12 store ptr %85, ptr %83, align 8 %86 = load i32, ptr %7, align 4 %.not.i.i11 = icmp eq i32 %86, 0 @@ -5837,7 +5837,7 @@ define internal fastcc void @ps_dimension_done(ptr nocapture noundef %0, ptr nou %.01113.i = phi i32 [ %10, %.lr.ph.i ], [ %5, %2 ] %8 = getelementptr inbounds i8, ptr %.014.i, i64 8 %9 = load ptr, ptr %8, align 8 - tail call void @ft_mem_free(ptr noundef %1, ptr noundef %9) #11 + tail call void @ft_mem_free(ptr noundef %1, ptr noundef %9) #12 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %.014.i, i8 0, i64 20, i1 false) %10 = add i32 %.01113.i, -1 %11 = getelementptr inbounds i8, ptr %.014.i, i64 24 @@ -5850,7 +5850,7 @@ define internal fastcc void @ps_dimension_done(ptr nocapture noundef %0, ptr nou ps_mask_table_done.exit: ; preds = %2, %._crit_edge.loopexit.i %12 = phi ptr [ %.pre.i, %._crit_edge.loopexit.i ], [ %7, %2 ] - tail call void @ft_mem_free(ptr noundef %1, ptr noundef %12) #11 + tail call void @ft_mem_free(ptr noundef %1, ptr noundef %12) #12 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, i8 0, i64 16, i1 false) %13 = getelementptr inbounds i8, ptr %0, i64 20 %14 = load i32, ptr %13, align 4 @@ -5864,7 +5864,7 @@ ps_mask_table_done.exit: ; preds = %2, %._crit_edge.loo %.01113.i9 = phi i32 [ %19, %.lr.ph.i7 ], [ %14, %ps_mask_table_done.exit ] %17 = getelementptr inbounds i8, ptr %.014.i8, i64 8 %18 = load ptr, ptr %17, align 8 - tail call void @ft_mem_free(ptr noundef %1, ptr noundef %18) #11 + tail call void @ft_mem_free(ptr noundef %1, ptr noundef %18) #12 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(20) %.014.i8, i8 0, i64 20, i1 false) %19 = add i32 %.01113.i9, -1 %20 = getelementptr inbounds i8, ptr %.014.i8, i64 24 @@ -5878,60 +5878,61 @@ ps_mask_table_done.exit: ; preds = %2, %._crit_edge.loo ps_mask_table_done.exit13: ; preds = %ps_mask_table_done.exit, %._crit_edge.loopexit.i11 %21 = phi ptr [ %.pre.i12, %._crit_edge.loopexit.i11 ], [ %16, %ps_mask_table_done.exit ] %22 = getelementptr inbounds i8, ptr %0, i64 16 - tail call void @ft_mem_free(ptr noundef %1, ptr noundef %21) #11 + tail call void @ft_mem_free(ptr noundef %1, ptr noundef %21) #12 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %22, i8 0, i64 16, i1 false) %23 = getelementptr inbounds i8, ptr %0, i64 8 %24 = load ptr, ptr %23, align 8 - tail call void @ft_mem_free(ptr noundef %1, ptr noundef %24) #11 + tail call void @ft_mem_free(ptr noundef %1, ptr noundef %24) #12 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #9 +declare i32 @llvm.smin.i32(i32, i32) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.abs.i64(i64, i1 immarg) #9 +declare i64 @llvm.abs.i64(i64, i1 immarg) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.smax.i64(i64, i64) #9 +declare i64 @llvm.smax.i64(i64, i64) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #9 +declare i32 @llvm.umin.i32(i32, i32) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.abs.i32(i32, i1 immarg) #9 +declare i32 @llvm.abs.i32(i32, i1 immarg) #10 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #10 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #11 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #10 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #11 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i16 @llvm.smax.i16(i16, i16) #9 +declare i16 @llvm.smax.i16(i16, i16) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.smin.i64(i64, i64) #9 +declare i64 @llvm.smin.i64(i64, i64) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #9 +declare i32 @llvm.smax.i32(i32, i32) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #9 +declare i32 @llvm.umax.i32(i32, i32) #10 attributes #0 = { 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 #1 = { "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 #2 = { 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 #2 = { 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 #3 = { 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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #5 = { 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 #6 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #8 = { 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 #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #10 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #11 = { nounwind } +attributes #6 = { 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 #7 = { 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 #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #9 = { 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 #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #11 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #12 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/freetype/optimized/psnames.c.ll b/bench/freetype/optimized/psnames.c.ll index 862190e1a9b..5d7127beea8 100644 --- a/bench/freetype/optimized/psnames.c.ll +++ b/bench/freetype/optimized/psnames.c.ll @@ -25,11 +25,11 @@ target triple = "x86_64-pc-linux-gnu" ; Function Attrs: nounwind uwtable define internal ptr @psnames_get_service(ptr nocapture readnone %0, ptr noundef %1) #0 { - %3 = tail call ptr @ft_service_list_lookup(ptr noundef nonnull @pscmaps_services, ptr noundef %1) #9 + %3 = tail call ptr @ft_service_list_lookup(ptr noundef nonnull @pscmaps_services, ptr noundef %1) #10 ret ptr %3 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal i32 @ps_unicode_value(ptr noundef readonly %0) #1 { %2 = load i8, ptr %0, align 1 %3 = icmp eq i8 %2, 117 @@ -297,7 +297,7 @@ define internal i32 @ps_unicodes_init(ptr noundef %0, ptr nocapture noundef %1, store i32 0, ptr %10, align 8 %11 = add i32 %2, 10 %12 = zext i32 %11 to i64 - %13 = call ptr @ft_mem_qrealloc(ptr noundef %0, i64 noundef 8, i64 noundef 0, i64 noundef %12, ptr noundef null, ptr noundef nonnull %7) #9 + %13 = call ptr @ft_mem_qrealloc(ptr noundef %0, i64 noundef 8, i64 noundef 0, i64 noundef %12, ptr noundef null, ptr noundef nonnull %7) #10 %14 = getelementptr inbounds i8, ptr %1, i64 32 store ptr %13, ptr %14, align 8 %15 = load i32, ptr %7, align 4 @@ -315,7 +315,7 @@ define internal i32 @ps_unicodes_init(ptr noundef %0, ptr nocapture noundef %1, 16: ; preds = %.lr.ph, %45 %.071 = phi i32 [ 0, %.lr.ph ], [ %46, %45 ] %.05170 = phi ptr [ %13, %.lr.ph ], [ %.2, %45 ] - %17 = call ptr %3(ptr noundef %5, i32 noundef %.071) #9 + %17 = call ptr %3(ptr noundef %5, i32 noundef %.071) #10 %.not58 = icmp eq ptr %17, null br i1 %.not58, label %45, label %18 @@ -335,7 +335,7 @@ define internal i32 @ps_unicodes_init(ptr noundef %0, ptr nocapture noundef %1, %22 = load i32, ptr %21, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr @ft_extra_glyph_names, i64 %23 - %25 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %24, ptr noundef nonnull readonly dereferenceable(1) %17) #10 + %25 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %24, ptr noundef nonnull readonly dereferenceable(1) %17) #11 %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %20 @@ -386,7 +386,7 @@ ps_check_extra_glyph_unicode.exit: ; preds = %35, %39 br i1 %.not61, label %45, label %44 44: ; preds = %43 - call void %4(ptr noundef %5, ptr noundef nonnull %17) #9 + call void %4(ptr noundef %5, ptr noundef nonnull %17) #10 br label %45 45: ; preds = %16, %18, %44, %43 @@ -435,7 +435,7 @@ ps_check_extra_glyph_unicode.exit: ; preds = %35, %39 br i1 %65, label %66, label %68 66: ; preds = %58 - call void @ft_mem_free(ptr noundef %0, ptr noundef %59) #9 + call void @ft_mem_free(ptr noundef %0, ptr noundef %59) #10 store ptr null, ptr %14, align 8 %67 = load i32, ptr %7, align 4 %.not57 = icmp eq i32 %67, 0 @@ -449,14 +449,14 @@ ps_check_extra_glyph_unicode.exit: ; preds = %35, %39 br i1 %70, label %72, label %._crit_edge 72: ; preds = %68 - %73 = call ptr @ft_mem_qrealloc(ptr noundef %0, i64 noundef 8, i64 noundef %12, i64 noundef %71, ptr noundef %59, ptr noundef nonnull %7) #9 + %73 = call ptr @ft_mem_qrealloc(ptr noundef %0, i64 noundef 8, i64 noundef %12, i64 noundef %71, ptr noundef %59, ptr noundef nonnull %7) #10 store ptr %73, ptr %14, align 8 store i32 0, ptr %7, align 4 br label %._crit_edge ._crit_edge: ; preds = %68, %72 %74 = phi ptr [ %73, %72 ], [ %59, %68 ] - call void @qsort(ptr noundef %74, i64 noundef %71, i64 noundef 8, ptr noundef nonnull @compare_uni_maps) #9 + call void @qsort(ptr noundef %74, i64 noundef %71, i64 noundef 8, ptr noundef nonnull @compare_uni_maps) #10 %.pre.pre = load i32, ptr %7, align 4 br label %75 @@ -471,7 +471,7 @@ ps_check_extra_glyph_unicode.exit: ; preds = %35, %39 } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal i32 @ps_unicodes_char_index(ptr nocapture noundef readonly %0, i32 noundef %1) #1 { +define internal i32 @ps_unicodes_char_index(ptr nocapture noundef readonly %0, i32 noundef %1) #2 { %3 = getelementptr inbounds i8, ptr %0, i64 24 %4 = load i32, ptr %3, align 8 %.not51 = icmp eq i32 %4, 0 @@ -534,7 +534,7 @@ define internal i32 @ps_unicodes_char_index(ptr nocapture noundef readonly %0, i } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal i32 @ps_unicodes_char_next(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #2 { +define internal i32 @ps_unicodes_char_next(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #3 { %3 = load i32, ptr %1, align 4 %4 = add i32 %3, 1 %5 = getelementptr inbounds i8, ptr %0, i64 24 @@ -620,7 +620,7 @@ define internal i32 @ps_unicodes_char_next(ptr nocapture noundef readonly %0, pt } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal nonnull ptr @ps_get_macintosh_name(i32 noundef %0) #3 { +define internal nonnull ptr @ps_get_macintosh_name(i32 noundef %0) #4 { %2 = icmp ugt i32 %0, 257 %spec.store.select = select i1 %2, i32 0, i32 %0 %3 = zext nneg i32 %spec.store.select to i64 @@ -632,7 +632,7 @@ define internal nonnull ptr @ps_get_macintosh_name(i32 noundef %0) #3 { } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal ptr @ps_get_standard_strings(i32 noundef %0) #3 { +define internal ptr @ps_get_standard_strings(i32 noundef %0) #4 { %2 = icmp ugt i32 %0, 390 br i1 %2, label %9, label %3 @@ -650,17 +650,17 @@ define internal ptr @ps_get_standard_strings(i32 noundef %0) #3 { } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5 -declare hidden ptr @ft_mem_qrealloc(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5 +declare hidden ptr @ft_mem_qrealloc(ptr noundef, i64 noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #6 -declare hidden void @ft_mem_free(ptr noundef, ptr noundef) local_unnamed_addr #5 +declare hidden void @ft_mem_free(ptr noundef, ptr noundef) local_unnamed_addr #6 ; Function Attrs: nofree -declare void @qsort(ptr noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #6 +declare void @qsort(ptr noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #7 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define internal range(i32 -1, 2) i32 @compare_uni_maps(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #7 { +define internal range(i32 -1, 2) i32 @compare_uni_maps(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #8 { %3 = load i32, ptr %0, align 4 %4 = and i32 %3, 2147483647 %5 = load i32, ptr %1, align 4 @@ -692,21 +692,22 @@ define internal range(i32 -1, 2) i32 @compare_uni_maps(ptr nocapture noundef rea } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #8 +declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #9 -declare hidden ptr @ft_service_list_lookup(ptr noundef, ptr noundef) local_unnamed_addr #5 +declare hidden ptr @ft_service_list_lookup(ptr noundef, ptr noundef) local_unnamed_addr #6 attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #5 = { "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 #6 = { 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 #7 = { 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 #8 = { 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 #9 = { nounwind } -attributes #10 = { nounwind willreturn memory(read) } +attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #6 = { "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 #7 = { 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 #8 = { 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 #9 = { 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 #10 = { nounwind } +attributes #11 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/freetype/optimized/smooth.c.ll b/bench/freetype/optimized/smooth.c.ll index 4ac62b8f319..eeaa6f9d1b7 100644 --- a/bench/freetype/optimized/smooth.c.ll +++ b/bench/freetype/optimized/smooth.c.ll @@ -27,7 +27,7 @@ target triple = "x86_64-pc-linux-gnu" ; Function Attrs: nounwind uwtable define internal i32 @gray_raster_new(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = alloca i32, align 4 - %4 = call ptr @ft_mem_alloc(ptr noundef %0, i64 noundef 8, ptr noundef nonnull %3) #10 + %4 = call ptr @ft_mem_alloc(ptr noundef %0, i64 noundef 8, ptr noundef nonnull %3) #11 %5 = load i32, ptr %3, align 4 %.not = icmp eq i32 %5, 0 br i1 %.not, label %6, label %7 @@ -204,7 +204,7 @@ define internal noundef i32 @gray_raster_render(ptr noundef readnone %0, ptr noc ; Function Attrs: nounwind uwtable define internal void @gray_raster_done(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8 - tail call void @ft_mem_free(ptr noundef %2, ptr noundef nonnull %0) #10 + tail call void @ft_mem_free(ptr noundef %2, ptr noundef nonnull %0) #11 ret void } @@ -228,7 +228,7 @@ define internal noundef i32 @ft_smooth_init(ptr nocapture noundef readonly %0) # %13 = load ptr, ptr %12, align 8 %14 = getelementptr inbounds i8, ptr %0, i64 104 %15 = load ptr, ptr %14, align 8 - tail call void %13(ptr noundef %15, ptr noundef null, i64 noundef 0) #10 + tail call void %13(ptr noundef %15, ptr noundef null, i64 noundef 0) #11 ret i32 0 } @@ -276,7 +276,7 @@ define internal i32 @ft_smooth_render(ptr nocapture noundef readonly %0, ptr nou 24: ; preds = %18 %25 = getelementptr inbounds i8, ptr %1, i64 168 %26 = load ptr, ptr %25, align 8 - tail call void @ft_mem_free(ptr noundef %10, ptr noundef %26) #10 + tail call void @ft_mem_free(ptr noundef %10, ptr noundef %26) #11 store ptr null, ptr %25, align 8 %27 = load ptr, ptr %19, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 8 @@ -286,7 +286,7 @@ define internal i32 @ft_smooth_render(ptr nocapture noundef readonly %0, ptr nou br label %31 31: ; preds = %24, %18 - %32 = tail call zeroext i8 @ft_glyphslot_preset_bitmap(ptr noundef nonnull %1, i32 noundef %2, ptr noundef %3) #10 + %32 = tail call zeroext i8 @ft_glyphslot_preset_bitmap(ptr noundef nonnull %1, i32 noundef %2, ptr noundef %3) #11 %.not87 = icmp eq i8 %32, 0 br i1 %.not87, label %34, label %33 @@ -308,7 +308,7 @@ define internal i32 @ft_smooth_render(ptr nocapture noundef readonly %0, ptr nou 39: ; preds = %36 %40 = sext i32 %38 to i64 %41 = zext i32 %35 to i64 - %42 = call ptr @ft_mem_realloc(ptr noundef %10, i64 noundef %40, i64 noundef 0, i64 noundef %41, ptr noundef null, ptr noundef nonnull %5) #10 + %42 = call ptr @ft_mem_realloc(ptr noundef %10, i64 noundef %40, i64 noundef 0, i64 noundef %41, ptr noundef null, ptr noundef nonnull %5) #11 %43 = getelementptr inbounds i8, ptr %1, i64 168 store ptr %42, ptr %43, align 8 %44 = load i32, ptr %5, align 4 @@ -358,7 +358,7 @@ define internal i32 @ft_smooth_render(ptr nocapture noundef readonly %0, ptr nou br i1 %or.cond7, label %71, label %72 71: ; preds = %68 - call void @FT_Outline_Translate(ptr noundef nonnull %7, i64 noundef %.080, i64 noundef %.1) #10 + call void @FT_Outline_Translate(ptr noundef nonnull %7, i64 noundef %.080, i64 noundef %.1) #11 br label %72 72: ; preds = %68, %71 @@ -387,7 +387,7 @@ define internal i32 @ft_smooth_render(ptr nocapture noundef readonly %0, ptr nou %83 = load ptr, ptr %82, align 8 %84 = getelementptr inbounds i8, ptr %0, i64 104 %85 = load ptr, ptr %84, align 8 - %86 = call i32 %83(ptr noundef %85, ptr noundef nonnull %6) #10 + %86 = call i32 %83(ptr noundef %85, ptr noundef nonnull %6) #11 store i32 %86, ptr %5, align 4 br label %thread-pre-split @@ -436,7 +436,7 @@ thread-pre-split.thread: ; preds = %36, %34, %thread-pr 98: ; preds = %.thread %99 = getelementptr inbounds i8, ptr %1, i64 168 %100 = load ptr, ptr %99, align 8 - call void @ft_mem_free(ptr noundef %10, ptr noundef %100) #10 + call void @ft_mem_free(ptr noundef %10, ptr noundef %100) #11 store ptr null, ptr %99, align 8 %101 = load ptr, ptr %93, align 8 %102 = getelementptr inbounds i8, ptr %101, i64 8 @@ -456,7 +456,7 @@ thread-pre-split.thread: ; preds = %36, %34, %thread-pr 108: ; preds = %105 %109 = sub nsw i64 0, %.18199 %110 = sub nsw i64 0, %.2101 - call void @FT_Outline_Translate(ptr noundef nonnull %7, i64 noundef %109, i64 noundef %110) #10 + call void @FT_Outline_Translate(ptr noundef nonnull %7, i64 noundef %109, i64 noundef %110) #11 br label %111 111: ; preds = %105, %108 @@ -479,7 +479,7 @@ define internal range(i32 0, 7) i32 @ft_smooth_transform(ptr nocapture noundef r 10: ; preds = %9 %11 = getelementptr inbounds i8, ptr %1, i64 200 - tail call void @FT_Outline_Transform(ptr noundef nonnull %11, ptr noundef nonnull %2) #10 + tail call void @FT_Outline_Transform(ptr noundef nonnull %11, ptr noundef nonnull %2) #11 br label %12 12: ; preds = %10, %9 @@ -491,7 +491,7 @@ define internal range(i32 0, 7) i32 @ft_smooth_transform(ptr nocapture noundef r %15 = load i64, ptr %3, align 8 %16 = getelementptr inbounds i8, ptr %3, i64 8 %17 = load i64, ptr %16, align 8 - tail call void @FT_Outline_Translate(ptr noundef nonnull %14, i64 noundef %15, i64 noundef %17) #10 + tail call void @FT_Outline_Translate(ptr noundef nonnull %14, i64 noundef %15, i64 noundef %17) #11 br label %18 18: ; preds = %4, %12, %13 @@ -511,7 +511,7 @@ define internal void @ft_smooth_get_cbox(ptr nocapture noundef readonly %0, ptr 9: ; preds = %3 %10 = getelementptr inbounds i8, ptr %1, i64 200 - tail call void @FT_Outline_Get_CBox(ptr noundef nonnull %10, ptr noundef nonnull %2) #10 + tail call void @FT_Outline_Get_CBox(ptr noundef nonnull %10, ptr noundef nonnull %2) #11 br label %11 11: ; preds = %9, %3 @@ -528,7 +528,7 @@ define internal i32 @ft_smooth_set_mode(ptr nocapture noundef readonly %0, i64 n %9 = load ptr, ptr %8, align 8 %10 = getelementptr inbounds i8, ptr %0, i64 104 %11 = load ptr, ptr %10, align 8 - %12 = tail call i32 %9(ptr noundef %11, i64 noundef %1, ptr noundef %2) #10 + %12 = tail call i32 %9(ptr noundef %11, i64 noundef %1, ptr noundef %2) #11 ret i32 %12 } @@ -736,7 +736,7 @@ define internal fastcc noundef i32 @gray_convert_glyph(ptr noundef %0) unnamed_a 106: ; preds = %88 %107 = load ptr, ptr %37, align 8 %108 = load ptr, ptr %39, align 8 - call void %107(i32 noundef %.085115.i, i32 noundef 16, ptr noundef nonnull %2, ptr noundef %108) #10 + call void %107(i32 noundef %.085115.i, i32 noundef 16, ptr noundef nonnull %2, ptr noundef %108) #11 br label %109 109: ; preds = %106, %88, %85, %.lr.ph.i @@ -783,7 +783,7 @@ define internal fastcc noundef i32 @gray_convert_glyph(ptr noundef %0) unnamed_a 136: ; preds = %120 %137 = load ptr, ptr %37, align 8 %138 = load ptr, ptr %39, align 8 - call void %137(i32 noundef %.085115.i, i32 noundef 16, ptr noundef nonnull %2, ptr noundef %138) #10 + call void %137(i32 noundef %.085115.i, i32 noundef 16, ptr noundef nonnull %2, ptr noundef %138) #11 br label %139 139: ; preds = %136, %120, %117, %109 @@ -832,7 +832,7 @@ define internal fastcc noundef i32 @gray_convert_glyph(ptr noundef %0) unnamed_a 162: ; preds = %161 %163 = load ptr, ptr %37, align 8 %164 = load ptr, ptr %39, align 8 - call void %163(i32 noundef %.085115.i, i32 noundef %.483.i, ptr noundef nonnull %2, ptr noundef %164) #10 + call void %163(i32 noundef %.085115.i, i32 noundef %.483.i, ptr noundef nonnull %2, ptr noundef %164) #11 br label %.thread.i .thread.i: ; preds = %162, %161, %.lr.ph117.i @@ -1180,7 +1180,7 @@ gray_sweep.exit: ; preds = %._crit_edge.thread. define internal fastcc i32 @gray_convert_glyph_inner(ptr noundef %0, i32 noundef %1) unnamed_addr #0 { %3 = alloca i32, align 4 %4 = getelementptr inbounds i8, ptr %0, i64 176 - %5 = call i32 @_setjmp(ptr noundef nonnull %4) #11 + %5 = call i32 @_setjmp(ptr noundef nonnull %4) #12 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %11 @@ -1189,11 +1189,11 @@ define internal fastcc i32 @gray_convert_glyph_inner(ptr noundef %0, i32 noundef br i1 %.not, label %.critedge, label %8 8: ; preds = %7 - call void @FT_Trace_Disable() #10 + call void @FT_Trace_Disable() #11 %9 = getelementptr inbounds i8, ptr %0, i64 104 - %10 = call i32 @FT_Outline_Decompose(ptr noundef nonnull %9, ptr noundef nonnull @func_interface, ptr noundef %0) #10 + %10 = call i32 @FT_Outline_Decompose(ptr noundef nonnull %9, ptr noundef nonnull @func_interface, ptr noundef %0) #11 store volatile i32 %10, ptr %3, align 4 - call void @FT_Trace_Enable() #10 + call void @FT_Trace_Enable() #11 br label %14 11: ; preds = %2 @@ -1202,7 +1202,7 @@ define internal fastcc i32 @gray_convert_glyph_inner(ptr noundef %0, i32 noundef .critedge: ; preds = %7 %12 = getelementptr inbounds i8, ptr %0, i64 104 - %13 = call i32 @FT_Outline_Decompose(ptr noundef nonnull %12, ptr noundef nonnull @func_interface, ptr noundef %0) #10 + %13 = call i32 @FT_Outline_Decompose(ptr noundef nonnull %12, ptr noundef nonnull @func_interface, ptr noundef %0) #11 store volatile i32 %13, ptr %3, align 4 br label %14 @@ -1297,7 +1297,7 @@ define internal noundef i32 @gray_move_to(ptr nocapture noundef readonly %0, ptr 49: ; preds = %._crit_edge.i %50 = getelementptr inbounds i8, ptr %1, i64 176 - tail call void @longjmp(ptr noundef nonnull %50, i32 noundef 1) #12 + tail call void @longjmp(ptr noundef nonnull %50, i32 noundef 1) #13 unreachable 51: ; preds = %._crit_edge.i @@ -1781,7 +1781,7 @@ define internal fastcc void @gray_render_line(ptr noundef %0, i64 noundef %1, i6 72: ; preds = %._crit_edge.i %73 = getelementptr inbounds i8, ptr %0, i64 176 - tail call void @longjmp(ptr noundef nonnull %73, i32 noundef 1) #12 + tail call void @longjmp(ptr noundef nonnull %73, i32 noundef 1) #13 unreachable 74: ; preds = %._crit_edge.i @@ -1903,7 +1903,7 @@ gray_set_cell.exit: ; preds = %.lr.ph.i, %43, %74 135: ; preds = %._crit_edge.i202 %136 = getelementptr inbounds i8, ptr %0, i64 176 - tail call void @longjmp(ptr noundef nonnull %136, i32 noundef 1) #12 + tail call void @longjmp(ptr noundef nonnull %136, i32 noundef 1) #13 unreachable 137: ; preds = %._crit_edge.i202 @@ -1999,7 +1999,7 @@ gray_set_cell.exit205: ; preds = %.lr.ph.i200, %111, 183: ; preds = %._crit_edge.i212 %184 = getelementptr inbounds i8, ptr %0, i64 176 - tail call void @longjmp(ptr noundef nonnull %184, i32 noundef 1) #12 + tail call void @longjmp(ptr noundef nonnull %184, i32 noundef 1) #13 unreachable 185: ; preds = %._crit_edge.i212 @@ -2227,7 +2227,7 @@ gray_set_cell.exit215: ; preds = %.lr.ph.i210, %159, 323: ; preds = %._crit_edge.i222 %324 = getelementptr inbounds i8, ptr %0, i64 176 - tail call void @longjmp(ptr noundef nonnull %324, i32 noundef 1) #12 + tail call void @longjmp(ptr noundef nonnull %324, i32 noundef 1) #13 unreachable 325: ; preds = %._crit_edge.i222 @@ -2356,7 +2356,7 @@ define internal fastcc i32 @ft_smooth_raster_overlap(ptr nocapture noundef reado %41 = load ptr, ptr %40, align 8 %42 = getelementptr inbounds i8, ptr %0, i64 104 %43 = load ptr, ptr %42, align 8 - %44 = call i32 %41(ptr noundef %43, ptr noundef nonnull %4) #10 + %44 = call i32 %41(ptr noundef %43, ptr noundef nonnull %4) #11 br label %.loopexit .lr.ph: ; preds = %18, %.lr.ph @@ -2373,7 +2373,7 @@ define internal fastcc i32 @ft_smooth_raster_overlap(ptr nocapture noundef reado %50 = load ptr, ptr %49, align 8 %51 = getelementptr inbounds i8, ptr %0, i64 104 %52 = load ptr, ptr %51, align 8 - %53 = call i32 %50(ptr noundef %52, ptr noundef nonnull %4) #10 + %53 = call i32 %50(ptr noundef %52, ptr noundef nonnull %4) #11 br i1 %39, label %.lr.ph37, label %.loopexit .lr.ph37: ; preds = %._crit_edge, %.lr.ph37 @@ -2434,12 +2434,12 @@ define internal fastcc i32 @ft_smooth_raster_lcd(ptr nocapture noundef readonly %31 = getelementptr inbounds i8, ptr %7, i64 352 %32 = load i64, ptr %31, align 8 %33 = sub nsw i64 0, %32 - call void @FT_Outline_Translate(ptr noundef %1, i64 noundef %30, i64 noundef %33) #10 + call void @FT_Outline_Translate(ptr noundef %1, i64 noundef %30, i64 noundef %33) #11 %34 = getelementptr inbounds i8, ptr %0, i64 112 %35 = load ptr, ptr %34, align 8 %36 = getelementptr inbounds i8, ptr %0, i64 104 %37 = load ptr, ptr %36, align 8 - %38 = call i32 %35(ptr noundef %37, ptr noundef nonnull %4) #10 + %38 = call i32 %35(ptr noundef %37, ptr noundef nonnull %4) #11 %.not = icmp eq i32 %38, 0 br i1 %.not, label %39, label %67 @@ -2455,10 +2455,10 @@ define internal fastcc i32 @ft_smooth_raster_lcd(ptr nocapture noundef readonly %47 = getelementptr inbounds i8, ptr %7, i64 368 %48 = load i64, ptr %47, align 8 %49 = sub nsw i64 %46, %48 - call void @FT_Outline_Translate(ptr noundef %1, i64 noundef %45, i64 noundef %49) #10 + call void @FT_Outline_Translate(ptr noundef %1, i64 noundef %45, i64 noundef %49) #11 %50 = load ptr, ptr %34, align 8 %51 = load ptr, ptr %36, align 8 - %52 = call i32 %50(ptr noundef %51, ptr noundef nonnull %4) #10 + %52 = call i32 %50(ptr noundef %51, ptr noundef nonnull %4) #11 %.not45 = icmp eq i32 %52, 0 br i1 %.not45, label %53, label %67 @@ -2474,10 +2474,10 @@ define internal fastcc i32 @ft_smooth_raster_lcd(ptr nocapture noundef readonly %61 = getelementptr inbounds i8, ptr %7, i64 384 %62 = load i64, ptr %61, align 8 %63 = sub nsw i64 %60, %62 - call void @FT_Outline_Translate(ptr noundef %1, i64 noundef %59, i64 noundef %63) #10 + call void @FT_Outline_Translate(ptr noundef %1, i64 noundef %59, i64 noundef %63) #11 %64 = load ptr, ptr %34, align 8 %65 = load ptr, ptr %36, align 8 - %66 = call i32 %64(ptr noundef %65, ptr noundef nonnull %4) #10 + %66 = call i32 %64(ptr noundef %65, ptr noundef nonnull %4) #11 br label %67 67: ; preds = %39, %3, %53 @@ -2486,7 +2486,7 @@ define internal fastcc i32 @ft_smooth_raster_lcd(ptr nocapture noundef readonly %.0.in = phi ptr [ %31, %3 ], [ %47, %39 ], [ %61, %53 ] %.0 = load i64, ptr %.0.in, align 8 %.040 = load i64, ptr %.040.in, align 8 - call void @FT_Outline_Translate(ptr noundef %1, i64 noundef %.040, i64 noundef %.0) #10 + call void @FT_Outline_Translate(ptr noundef %1, i64 noundef %.040, i64 noundef %.0) #11 ret i32 %.041 } @@ -2512,12 +2512,12 @@ define internal fastcc i32 @ft_smooth_raster_lcdv(ptr nocapture noundef readonly %16 = load i64, ptr %15, align 8 %17 = sub nsw i64 0, %16 %18 = load i64, ptr %9, align 8 - tail call void @FT_Outline_Translate(ptr noundef %1, i64 noundef %17, i64 noundef %18) #10 + tail call void @FT_Outline_Translate(ptr noundef %1, i64 noundef %17, i64 noundef %18) #11 %19 = getelementptr inbounds i8, ptr %0, i64 112 %20 = load ptr, ptr %19, align 8 %21 = getelementptr inbounds i8, ptr %0, i64 104 %22 = load ptr, ptr %21, align 8 - %23 = call i32 %20(ptr noundef %22, ptr noundef nonnull %4) #10 + %23 = call i32 %20(ptr noundef %22, ptr noundef nonnull %4) #11 %24 = load i64, ptr %15, align 8 %25 = load i64, ptr %9, align 8 %.not = icmp eq i32 %23, 0 @@ -2537,10 +2537,10 @@ define internal fastcc i32 @ft_smooth_raster_lcdv(ptr nocapture noundef readonly %36 = load i64, ptr %32, align 8 %37 = load i64, ptr %9, align 8 %38 = sub nsw i64 %36, %37 - call void @FT_Outline_Translate(ptr noundef %1, i64 noundef %35, i64 noundef %38) #10 + call void @FT_Outline_Translate(ptr noundef %1, i64 noundef %35, i64 noundef %38) #11 %39 = load ptr, ptr %19, align 8 %40 = load ptr, ptr %21, align 8 - %41 = call i32 %39(ptr noundef %40, ptr noundef nonnull %4) #10 + %41 = call i32 %39(ptr noundef %40, ptr noundef nonnull %4) #11 %42 = load i64, ptr %33, align 8 %43 = load i64, ptr %32, align 8 %44 = load ptr, ptr %27, align 8 @@ -2563,10 +2563,10 @@ define internal fastcc i32 @ft_smooth_raster_lcdv(ptr nocapture noundef readonly %56 = load i64, ptr %52, align 8 %57 = load i64, ptr %32, align 8 %58 = sub nsw i64 %56, %57 - call void @FT_Outline_Translate(ptr noundef %1, i64 noundef %55, i64 noundef %58) #10 + call void @FT_Outline_Translate(ptr noundef %1, i64 noundef %55, i64 noundef %58) #11 %59 = load ptr, ptr %19, align 8 %60 = load ptr, ptr %21, align 8 - %61 = call i32 %59(ptr noundef %60, ptr noundef nonnull %4) #10 + %61 = call i32 %59(ptr noundef %60, ptr noundef nonnull %4) #11 %62 = load i64, ptr %53, align 8 %63 = load i64, ptr %52, align 8 %64 = load ptr, ptr %27, align 8 @@ -2580,7 +2580,7 @@ define internal fastcc i32 @ft_smooth_raster_lcdv(ptr nocapture noundef readonly %.046 = phi i64 [ %24, %3 ], [ %42, %26 ], [ %62, %47 ] %.pn = phi i64 [ %25, %3 ], [ %43, %26 ], [ %63, %47 ] %.0 = sub nsw i64 0, %.pn - call void @FT_Outline_Translate(ptr noundef %1, i64 noundef %.046, i64 noundef %.0) #10 + call void @FT_Outline_Translate(ptr noundef %1, i64 noundef %.046, i64 noundef %.0) #11 %68 = load i32, ptr %5, align 8 %69 = sdiv i32 %68, 3 store i32 %69, ptr %5, align 8 @@ -2647,8 +2647,8 @@ define internal void @ft_smooth_overlap_spans(i32 noundef %0, i32 noundef %1, pt ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @ft_smooth_lcd_spans(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) #7 { +; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +define internal void @ft_smooth_lcd_spans(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) #8 { %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds i8, ptr %3, i64 8 %7 = load i32, ptr %6, align 8 @@ -2700,19 +2700,19 @@ declare void @FT_Outline_Transform(ptr noundef, ptr noundef) local_unnamed_addr declare void @FT_Outline_Get_CBox(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.abs.i64(i64, i1 immarg) #8 +declare i64 @llvm.abs.i64(i64, i1 immarg) #9 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #9 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #10 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #9 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #8 +declare i64 @llvm.umax.i64(i64, i64) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.smin.i64(i64, i64) #8 +declare i64 @llvm.smin.i64(i64, i64) #9 attributes #0 = { 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 #1 = { 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" } @@ -2722,11 +2722,12 @@ attributes #4 = { nounwind returns_twice "frame-pointer"="all" "no-trapping-math attributes #5 = { noreturn 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #7 = { 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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #9 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #10 = { nounwind } -attributes #11 = { nounwind returns_twice } -attributes #12 = { noreturn nounwind } +attributes #8 = { nofree norecurse nosync nounwind 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 #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #10 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #11 = { nounwind } +attributes #12 = { nounwind returns_twice } +attributes #13 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/git/optimized/basics.ll b/bench/git/optimized/basics.ll index b09dc6a5ab7..9a72c229021 100644 --- a/bench/git/optimized/basics.ll +++ b/bench/git/optimized/basics.ll @@ -61,7 +61,7 @@ while.body: ; preds = %entry, %while.body %lo.012 = phi i64 [ %add.lo.0, %while.body ], [ 0, %entry ] %div10 = lshr i64 %sub14, 1 %add = add i64 %div10, %lo.012 - %call = tail call i32 %f(i64 noundef %add, ptr noundef %args) #7 + %call = tail call i32 %f(i64 noundef %add, ptr noundef %args) #8 %tobool.not = icmp eq i32 %call, 0 %add.lo.0 = select i1 %tobool.not, i64 %add, i64 %lo.012 %hi.0.add = select i1 %tobool.not, i64 %hi.013, i64 %add @@ -78,7 +78,7 @@ if.then3: ; preds = %while.end br label %return if.end4: ; preds = %entry, %while.end - %call5 = tail call i32 %f(i64 noundef 0, ptr noundef %args) #7 + %call5 = tail call i32 %f(i64 noundef 0, ptr noundef %args) #8 %tobool6.not = icmp eq i32 %call5, 0 %cond = zext i1 %tobool6.not to i32 br label %return @@ -102,14 +102,14 @@ for.cond.preheader: ; preds = %entry for.body: ; preds = %for.cond.preheader, %for.body %1 = phi ptr [ %2, %for.body ], [ %0, %for.cond.preheader ] %p.06 = phi ptr [ %incdec.ptr, %for.body ], [ %a, %for.cond.preheader ] - tail call void @reftable_free(ptr noundef nonnull %1) #7 + tail call void @reftable_free(ptr noundef nonnull %1) #8 %incdec.ptr = getelementptr inbounds i8, ptr %p.06, i64 8 %2 = load ptr, ptr %incdec.ptr, align 8 %tobool1.not = icmp eq ptr %2, null br i1 %tobool1.not, label %for.end, label %for.body, !llvm.loop !7 for.end: ; preds = %for.body, %for.cond.preheader - tail call void @reftable_free(ptr noundef nonnull %a) #7 + tail call void @reftable_free(ptr noundef nonnull %a) #8 br label %return return: ; preds = %entry, %for.end @@ -118,7 +118,7 @@ return: ; preds = %entry, %for.end declare void @reftable_free(ptr noundef) local_unnamed_addr #3 -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define dso_local i32 @names_length(ptr noundef %names) local_unnamed_addr #4 { entry: br label %for.cond @@ -152,7 +152,7 @@ while.body: ; preds = %entry, %if.end10 %p.023 = phi ptr [ %add.ptr11, %if.end10 ], [ %buf, %entry ] %names_len.022 = phi i64 [ %names_len.1, %if.end10 ], [ 0, %entry ] %names_cap.021 = phi i64 [ %names_cap.2, %if.end10 ], [ 0, %entry ] - %call = tail call ptr @strchr(ptr noundef nonnull dereferenceable(1) %p.023, i32 noundef 10) #8 + %call = tail call ptr @strchr(ptr noundef nonnull dereferenceable(1) %p.023, i32 noundef 10) #9 %tobool.not = icmp ne ptr %call, null %cmp1 = icmp ult ptr %call, %add.ptr %or.cond = and i1 %tobool.not, %cmp1 @@ -175,13 +175,13 @@ if.then5: ; preds = %if.then3 %mul = shl i64 %names_len.022, 1 %add = or disjoint i64 %mul, 1 %mul6 = shl i64 %add, 3 - %call7 = tail call ptr @reftable_realloc(ptr noundef %names.024, i64 noundef %mul6) #7 + %call7 = tail call ptr @reftable_realloc(ptr noundef %names.024, i64 noundef %mul6) #8 br label %if.end8 if.end8: ; preds = %if.then5, %if.then3 %names_cap.1 = phi i64 [ %add, %if.then5 ], [ %names_cap.021, %if.then3 ] %names.1 = phi ptr [ %call7, %if.then5 ], [ %names.024, %if.then3 ] - %call9 = tail call ptr @xstrdup(ptr noundef %p.023) #7 + %call9 = tail call ptr @xstrdup(ptr noundef %p.023) #8 %inc = add i64 %names_len.022, 1 %arrayidx = getelementptr inbounds ptr, ptr %names.1, i64 %names_len.022 store ptr %call9, ptr %arrayidx, align 8 @@ -200,7 +200,7 @@ while.end: ; preds = %if.end10, %entry %names.0.lcssa = phi ptr [ null, %entry ], [ %names.2, %if.end10 ] %add12 = shl i64 %names_len.0.lcssa, 3 %mul13 = add i64 %add12, 8 - %call14 = tail call ptr @reftable_realloc(ptr noundef %names.0.lcssa, i64 noundef %mul13) #7 + %call14 = tail call ptr @reftable_realloc(ptr noundef %names.0.lcssa, i64 noundef %mul13) #8 %arrayidx15 = getelementptr inbounds ptr, ptr %call14, i64 %names_len.0.lcssa store ptr null, ptr %arrayidx15, align 8 store ptr %call14, ptr %namesp, align 8 @@ -237,7 +237,7 @@ land.rhs: ; preds = %entry, %for.cond br i1 %tobool3.not, label %for.end, label %for.body for.body: ; preds = %land.rhs - %call = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) %3) #8 + %call = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %2, ptr noundef nonnull dereferenceable(1) %3) #9 %tobool8.not = icmp eq i32 %call, 0 br i1 %tobool8.not, label %for.cond, label %return @@ -259,7 +259,7 @@ return: ; preds = %for.body, %for.end declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #5 ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define dso_local i32 @common_prefix_size(ptr nocapture noundef readonly %a, ptr nocapture noundef readonly %b) local_unnamed_addr #4 { +define dso_local i32 @common_prefix_size(ptr nocapture noundef readonly %a, ptr nocapture noundef readonly %b) local_unnamed_addr #7 { entry: %buf = getelementptr inbounds i8, ptr %a, i64 16 %len = getelementptr inbounds i8, ptr %a, i64 8 @@ -307,11 +307,12 @@ attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memor attributes #1 = { 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 #2 = { 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 #3 = { "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 #4 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 #7 = { nounwind } -attributes #8 = { nounwind willreturn memory(read) } +attributes #7 = { 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 #8 = { nounwind } +attributes #9 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/git/optimized/hex.ll b/bench/git/optimized/hex.ll index 95266c3cd02..50e6781b9d1 100644 --- a/bench/git/optimized/hex.ll +++ b/bench/git/optimized/hex.ll @@ -12,7 +12,7 @@ target triple = "x86_64-unknown-linux-gnu" @hash_to_hex_algop.hexbuffer = internal global [4 x [65 x i8]] zeroinitializer, align 16 @hexval_table = external local_unnamed_addr constant [256 x i8], align 16 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local range(i32 -1, 1) i32 @get_hash_hex(ptr nocapture noundef readonly %hex, ptr nocapture noundef writeonly %sha1) local_unnamed_addr #0 { entry: %0 = load ptr, ptr @the_repository, align 8 @@ -66,8 +66,8 @@ get_hash_hex_algop.exit: ; preds = %hex2chr.exit.i, %if ret i32 %retval.0.i } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local range(i32 -1, 1) i32 @get_oid_hex_algop(ptr nocapture noundef readonly %hex, ptr nocapture noundef writeonly %oid, ptr noundef %algop) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local range(i32 -1, 1) i32 @get_oid_hex_algop(ptr nocapture noundef readonly %hex, ptr nocapture noundef writeonly %oid, ptr noundef %algop) local_unnamed_addr #1 { entry: %rawsz.i = getelementptr inbounds i8, ptr %algop, i64 16 %0 = load i64, ptr %rawsz.i, align 8 @@ -126,8 +126,8 @@ if.end: ; preds = %hex2chr.exit.i, %if ret i32 %retval.0.i6 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local range(i32 0, 3) i32 @get_oid_hex_any(ptr nocapture noundef readonly %hex, ptr nocapture noundef writeonly %oid) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local range(i32 0, 3) i32 @get_oid_hex_any(ptr nocapture noundef readonly %hex, ptr nocapture noundef writeonly %oid) local_unnamed_addr #1 { entry: br label %for.body @@ -191,7 +191,7 @@ return: ; preds = %for.inc, %get_oid_h ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local range(i32 -1, 1) i32 @get_oid_hex(ptr nocapture noundef readonly %hex, ptr nocapture noundef writeonly %oid) local_unnamed_addr #0 { entry: %0 = load ptr, ptr @the_repository, align 8 @@ -254,8 +254,8 @@ get_oid_hex_algop.exit: ; preds = %hex2chr.exit.i.i, % ret i32 %retval.0.i6.i } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local range(i32 -1, 1) i32 @parse_oid_hex_algop(ptr noundef %hex, ptr nocapture noundef writeonly %oid, ptr nocapture noundef writeonly %end, ptr noundef %algop) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local range(i32 -1, 1) i32 @parse_oid_hex_algop(ptr noundef %hex, ptr nocapture noundef writeonly %oid, ptr nocapture noundef writeonly %end, ptr noundef %algop) local_unnamed_addr #1 { entry: %rawsz.i.i = getelementptr inbounds i8, ptr %algop, i64 16 %0 = load i64, ptr %rawsz.i.i, align 8 @@ -318,8 +318,8 @@ if.end: ; preds = %hex2chr.exit.i.i, % ret i32 %retval.0.i6.i6 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local range(i32 0, 3) i32 @parse_oid_hex_any(ptr noundef %hex, ptr nocapture noundef writeonly %oid, ptr nocapture noundef writeonly %end) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local range(i32 0, 3) i32 @parse_oid_hex_any(ptr noundef %hex, ptr nocapture noundef writeonly %oid, ptr nocapture noundef writeonly %end) local_unnamed_addr #1 { entry: br label %for.body.i @@ -396,7 +396,7 @@ if.end: ; preds = %for.inc.i, %if.then ret i32 %retval.0.i6 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local range(i32 -1, 1) i32 @parse_oid_hex(ptr noundef %hex, ptr nocapture noundef writeonly %oid, ptr nocapture noundef writeonly %end) local_unnamed_addr #0 { entry: %0 = load ptr, ptr @the_repository, align 8 @@ -463,7 +463,7 @@ parse_oid_hex_algop.exit: ; preds = %hex2chr.exit.i.i.i, ret i32 %retval.0.i6.i6.i } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local noundef ptr @hash_to_hex_algop_r(ptr noundef returned writeonly %buffer, ptr nocapture noundef readonly %hash, ptr noundef readonly %algop) local_unnamed_addr #0 { entry: %cmp = icmp eq ptr %algop, @hash_algos @@ -512,7 +512,7 @@ for.end: ; preds = %for.body, %if.end ret ptr %buffer } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local noundef ptr @oid_to_hex_r(ptr noundef returned writeonly %buffer, ptr nocapture noundef readonly %oid) local_unnamed_addr #0 { entry: %algo = getelementptr inbounds i8, ptr %oid, i64 32 @@ -565,8 +565,8 @@ hash_to_hex_algop_r.exit: ; preds = %for.body.i, %if.end ret ptr %buffer } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local nonnull ptr @hash_to_hex_algop(ptr nocapture noundef readonly %hash, ptr noundef readonly %algop) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, argmem: read, inaccessiblemem: none) uwtable +define dso_local nonnull ptr @hash_to_hex_algop(ptr nocapture noundef readonly %hash, ptr noundef readonly %algop) local_unnamed_addr #2 { entry: %0 = load i32, ptr @hash_to_hex_algop.bufno, align 4 %add = add nuw nsw i32 %0, 1 @@ -620,8 +620,8 @@ hash_to_hex_algop_r.exit: ; preds = %for.body.i, %if.end ret ptr %arrayidx } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local nonnull ptr @hash_to_hex(ptr nocapture noundef readonly %hash) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, argmem: read, inaccessiblemem: none) uwtable +define dso_local nonnull ptr @hash_to_hex(ptr nocapture noundef readonly %hash) local_unnamed_addr #2 { entry: %0 = load ptr, ptr @the_repository, align 8 %hash_algo = getelementptr inbounds i8, ptr %0, i64 256 @@ -667,8 +667,8 @@ hash_to_hex_algop.exit: ; preds = %for.body.i.i, %entr ret ptr %arrayidx.i } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local nonnull ptr @oid_to_hex(ptr nocapture noundef readonly %oid) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, argmem: read, inaccessiblemem: none) uwtable +define dso_local nonnull ptr @oid_to_hex(ptr nocapture noundef readonly %oid) local_unnamed_addr #2 { entry: %algo = getelementptr inbounds i8, ptr %oid, i64 32 %0 = load i32, ptr %algo, align 4 @@ -726,7 +726,9 @@ hash_to_hex_algop.exit: ; preds = %for.body.i.i, %if.e ret ptr %arrayidx.i } -attributes #0 = { 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 #0 = { 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 #1 = { 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 #2 = { nofree norecurse nosync nounwind memory(readwrite, argmem: 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/graphviz/optimized/matrix_ops.c.ll b/bench/graphviz/optimized/matrix_ops.c.ll index b79146d5afe..4b729824170 100644 --- a/bench/graphviz/optimized/matrix_ops.c.ll +++ b/bench/graphviz/optimized/matrix_ops.c.ll @@ -39,7 +39,7 @@ define zeroext i1 @power_iteration(ptr nocapture noundef readonly %0, i32 nounde .lr.ph: ; preds = %.lr.ph.backedge, %12 %indvars.iv = phi i64 [ 0, %12 ], [ %indvars.iv.be, %.lr.ph.backedge ] - %15 = tail call i32 @rand() #18 + %15 = tail call i32 @rand() #17 %16 = srem i32 %15, 100 %17 = sitofp i32 %16 to double %18 = getelementptr inbounds double, ptr %14, i64 %indvars.iv @@ -107,7 +107,7 @@ scadd.exit.loopexit: ; preds = %.lr.ph.i170 br i1 %exitcond.not.i.i, label %norm.exit.loopexit, label %.lr.ph.i.i norm.exit.loopexit: ; preds = %.lr.ph.i.i - %36 = tail call double @sqrt(double noundef %35) #18 + %36 = tail call double @sqrt(double noundef %35) #17 %37 = fcmp olt double %36, 1.000000e-10 br i1 %37, label %.lr.ph.backedge, label %.lr.ph.preheader.i172 @@ -215,7 +215,7 @@ scadd.exit210: ; preds = %.lr.ph.i205, %vecto br i1 %exitcond.not.i.i218, label %norm.exit219.loopexit, label %.lr.ph.i.i214 norm.exit219.loopexit: ; preds = %.lr.ph.i.i214 - %69 = tail call double @sqrt(double noundef %68) #18 + %69 = tail call double @sqrt(double noundef %68) #17 %70 = fcmp uge double %69, 1.000000e-10 %.not168 = icmp slt i32 %.1154, %9 %or.cond = select i1 %70, i1 %.not168, i1 false @@ -373,7 +373,7 @@ copy_vector.exit281.us: ; preds = %.lr.ph.i277.us .lr.ph319: ; preds = %114, %.lr.ph319 %indvars.iv372 = phi i64 [ %indvars.iv.next373, %.lr.ph319 ], [ 0, %114 ] - %117 = tail call i32 @rand() #18 + %117 = tail call i32 @rand() #17 %118 = srem i32 %117, 100 %119 = sitofp i32 %118 to double %120 = getelementptr inbounds double, ptr %116, i64 %indvars.iv372 @@ -438,7 +438,7 @@ scadd.exit251: ; preds = %.lr.ph.i246, %vecto br i1 %exitcond.not.i.i259, label %norm.exit260, label %.lr.ph.i.i255 norm.exit260: ; preds = %.lr.ph.i.i255 - %138 = tail call double @sqrt(double noundef %137) #18 + %138 = tail call double @sqrt(double noundef %137) #17 %139 = fdiv double 1.000000e+00, %138 br label %.lr.ph.i263 @@ -485,8 +485,8 @@ copy_vector.exit274.thread: ; preds = %._crit_edge331 br label %._crit_edge336 ._crit_edge336: ; preds = %109, %._crit_edge331, %copy_vector.exit274.thread, %.preheader - tail call void @free(ptr noundef %7) #18 - tail call void @free(ptr noundef %8) #18 + tail call void @free(ptr noundef %7) #17 + tail call void @free(ptr noundef %8) #17 %150 = icmp sle i32 %.2155413, %9 ret i1 %150 } @@ -497,7 +497,7 @@ define internal fastcc noalias noundef ptr @gv_calloc(i64 noundef %0, i64 nounde br i1 %.not, label %.thread, label %4 .thread: ; preds = %2 - %3 = tail call noalias ptr @calloc(i64 noundef 0, i64 noundef %1) #19 + %3 = tail call noalias ptr @calloc(i64 noundef 0, i64 noundef %1) #18 br label %15 4: ; preds = %2 @@ -507,20 +507,20 @@ define internal fastcc noalias noundef ptr @gv_calloc(i64 noundef %0, i64 nounde 5: ; preds = %4 %6 = load ptr, ptr @stderr, align 8 - %7 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %6, ptr noundef nonnull @.str, i64 noundef %0, i64 noundef %1) #20 - tail call fastcc void @graphviz_exit() #21 + %7 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %6, ptr noundef nonnull @.str, i64 noundef %0, i64 noundef %1) #19 + tail call fastcc void @graphviz_exit() #20 unreachable 8: ; preds = %4 - %9 = tail call noalias ptr @calloc(i64 noundef %0, i64 noundef %1) #19 + %9 = tail call noalias ptr @calloc(i64 noundef %0, i64 noundef %1) #18 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %8 %12 = load ptr, ptr @stderr, align 8 %13 = mul nsw i64 %1, %0 - %14 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef nonnull @.str.1, i64 noundef %13) #20 - tail call fastcc void @graphviz_exit() #21 + %14 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %12, ptr noundef nonnull @.str.1, i64 noundef %13) #19 + tail call fastcc void @graphviz_exit() #20 unreachable 15: ; preds = %.thread, %8 @@ -557,7 +557,7 @@ define double @vectors_inner_product(i32 noundef %0, ptr nocapture noundef reado ret double %.0.lcssa } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @scadd(ptr nocapture noundef %0, i32 noundef %1, double noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #3 { %5 = add nsw i32 %1, 1 %.not7 = icmp eq i32 %5, 0 @@ -603,12 +603,12 @@ define double @norm(ptr nocapture noundef readonly %0, i32 noundef %1) local_unn vectors_inner_product.exit: ; preds = %.lr.ph.i, %2 %.0.lcssa.i = phi double [ 0.000000e+00, %2 ], [ %7, %.lr.ph.i ] - %8 = tail call double @sqrt(double noundef %.0.lcssa.i) #18 + %8 = tail call double @sqrt(double noundef %.0.lcssa.i) #17 ret double %8 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @vectors_scalar_mult(i32 noundef %0, ptr nocapture noundef readonly %1, double noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #5 { +define void @vectors_scalar_mult(i32 noundef %0, ptr nocapture noundef readonly %1, double noundef %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #3 { %5 = icmp sgt i32 %0, 0 br i1 %5, label %.lr.ph.preheader, label %._crit_edge @@ -632,7 +632,7 @@ define void @vectors_scalar_mult(i32 noundef %0, ptr nocapture noundef readonly } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @copy_vector(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #5 { +define void @copy_vector(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #3 { %4 = icmp sgt i32 %0, 0 br i1 %4, label %.lr.ph.preheader, label %._crit_edge @@ -655,7 +655,7 @@ define void @copy_vector(i32 noundef %0, ptr nocapture noundef readonly %1, ptr } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @right_mult_with_vector_d(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #6 { +define void @right_mult_with_vector_d(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #5 { %6 = icmp sgt i32 %1, 0 br i1 %6, label %.preheader.lr.ph, label %._crit_edge19 @@ -703,10 +703,10 @@ define void @right_mult_with_vector_d(ptr nocapture noundef readonly %0, i32 nou } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare double @llvm.fabs.f64(double) #7 +declare double @llvm.fabs.f64(double) #6 ; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) -declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #8 +declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #7 ; Function Attrs: nounwind uwtable define void @mult_dense_mat(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #0 { @@ -813,7 +813,7 @@ define void @mult_dense_mat(ptr nocapture noundef readonly %0, ptr nocapture nou } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare double @llvm.fmuladd.f64(double, double, double) #7 +declare double @llvm.fmuladd.f64(double, double, double) #6 ; Function Attrs: nounwind uwtable define void @mult_dense_mat_d(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #0 { @@ -1017,9 +1017,9 @@ define void @mult_sparse_dense_mat_transpose(ptr nocapture noundef readonly %0, } ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare double @sqrt(double noundef) local_unnamed_addr #9 +declare double @sqrt(double noundef) local_unnamed_addr #8 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @orthog1(i32 noundef %0, ptr nocapture noundef %1) local_unnamed_addr #3 { %.not17 = icmp eq i32 %0, 0 br i1 %.not17, label %._crit_edge26, label %.lr.ph @@ -1066,7 +1066,7 @@ define void @init_vec_orth1(i32 noundef %0, ptr nocapture noundef %1) local_unna .lr.ph: ; preds = %.lr.ph.preheader, %.lr.ph %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ] - %4 = tail call i32 @rand() #18 + %4 = tail call i32 @rand() #17 %5 = srem i32 %4, 500 %6 = sitofp i32 %5 to double %7 = getelementptr inbounds double, ptr %1, i64 %indvars.iv @@ -1111,7 +1111,7 @@ orthog1.exit: ; preds = %.lr.ph25.i, %._crit } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @right_mult_with_vector(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #6 { +define void @right_mult_with_vector(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #5 { %5 = icmp sgt i32 %1, 0 br i1 %5, label %.preheader.preheader, label %._crit_edge23 @@ -1162,7 +1162,7 @@ define void @right_mult_with_vector(ptr nocapture noundef readonly %0, i32 nound } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @right_mult_with_vector_f(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #6 { +define void @right_mult_with_vector_f(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #5 { %5 = icmp sgt i32 %1, 0 br i1 %5, label %.preheader.us.preheader, label %._crit_edge20 @@ -1201,7 +1201,7 @@ define void @right_mult_with_vector_f(ptr nocapture noundef readonly %0, i32 nou } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @vectors_subtraction(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #5 { +define void @vectors_subtraction(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #3 { %5 = icmp sgt i32 %0, 0 br i1 %5, label %.lr.ph.preheader, label %._crit_edge @@ -1227,7 +1227,7 @@ define void @vectors_subtraction(i32 noundef %0, ptr nocapture noundef readonly } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @vectors_addition(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #5 { +define void @vectors_addition(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #3 { %5 = icmp sgt i32 %0, 0 br i1 %5, label %.lr.ph.preheader, label %._crit_edge @@ -1278,10 +1278,10 @@ define double @max_abs(i32 noundef %0, ptr nocapture noundef readonly %1) local_ } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare double @llvm.maxnum.f64(double, double) #7 +declare double @llvm.maxnum.f64(double, double) #6 ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @right_mult_with_vector_transpose(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #6 { +define void @right_mult_with_vector_transpose(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #5 { %6 = icmp sgt i32 %1, 0 br i1 %6, label %.preheader.lr.ph, label %._crit_edge19 @@ -1328,7 +1328,7 @@ define void @right_mult_with_vector_transpose(ptr nocapture noundef readonly %0, ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @orthog1f(i32 noundef %0, ptr nocapture noundef %1) local_unnamed_addr #3 { %.not17 = icmp eq i32 %0, 0 br i1 %.not17, label %._crit_edge26, label %.lr.ph @@ -1365,7 +1365,7 @@ define void @orthog1f(i32 noundef %0, ptr nocapture noundef %1) local_unnamed_ad } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @right_mult_with_vector_ff(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3) local_unnamed_addr #5 { +define void @right_mult_with_vector_ff(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3) local_unnamed_addr #3 { %5 = icmp sgt i32 %1, 0 br i1 %5, label %.lr.ph45.preheader, label %._crit_edge46 @@ -1434,10 +1434,10 @@ define void @right_mult_with_vector_ff(ptr nocapture noundef readonly %0, i32 no } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare float @llvm.fmuladd.f32(float, float, float) #7 +declare float @llvm.fmuladd.f32(float, float, float) #6 ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @vectors_subtractionf(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #5 { +define void @vectors_subtractionf(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #3 { %5 = icmp sgt i32 %0, 0 br i1 %5, label %.lr.ph.preheader, label %._crit_edge @@ -1463,7 +1463,7 @@ define void @vectors_subtractionf(i32 noundef %0, ptr nocapture noundef readonly } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @vectors_additionf(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #5 { +define void @vectors_additionf(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #3 { %5 = icmp sgt i32 %0, 0 br i1 %5, label %.lr.ph.preheader, label %._crit_edge @@ -1489,7 +1489,7 @@ define void @vectors_additionf(i32 noundef %0, ptr nocapture noundef readonly %1 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @vectors_mult_additionf(i32 noundef %0, ptr nocapture noundef %1, float noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #5 { +define void @vectors_mult_additionf(i32 noundef %0, ptr nocapture noundef %1, float noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #3 { %5 = icmp sgt i32 %0, 0 br i1 %5, label %.lr.ph.preheader, label %._crit_edge @@ -1514,7 +1514,7 @@ define void @vectors_mult_additionf(i32 noundef %0, ptr nocapture noundef %1, fl } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @copy_vectorf(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #5 { +define void @copy_vectorf(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #3 { %4 = icmp sgt i32 %0, 0 br i1 %4, label %.lr.ph.preheader, label %._crit_edge @@ -1565,7 +1565,7 @@ define double @vectors_inner_productf(i32 noundef %0, ptr nocapture noundef read } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: write) uwtable -define void @set_vector_val(i32 noundef %0, double noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #10 { +define void @set_vector_val(i32 noundef %0, double noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #9 { %4 = icmp sgt i32 %0, 0 br i1 %4, label %.lr.ph.preheader, label %._crit_edge @@ -1586,7 +1586,7 @@ define void @set_vector_val(i32 noundef %0, double noundef %1, ptr nocapture nou } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: write) uwtable -define void @set_vector_valf(i32 noundef %0, float noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #10 { +define void @set_vector_valf(i32 noundef %0, float noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #9 { %4 = icmp sgt i32 %0, 0 br i1 %4, label %.lr.ph.preheader, label %._crit_edge @@ -1636,13 +1636,13 @@ define double @max_absf(i32 noundef %0, ptr nocapture noundef readonly %1) local } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare float @llvm.fabs.f32(float) #7 +declare float @llvm.fabs.f32(float) #6 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare float @llvm.maxnum.f32(float, float) #7 +declare float @llvm.maxnum.f32(float, float) #6 ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @square_vec(i32 noundef %0, ptr nocapture noundef %1) local_unnamed_addr #5 { +define void @square_vec(i32 noundef %0, ptr nocapture noundef %1) local_unnamed_addr #3 { %3 = icmp sgt i32 %0, 0 br i1 %3, label %.lr.ph.preheader, label %._crit_edge @@ -1665,7 +1665,7 @@ define void @square_vec(i32 noundef %0, ptr nocapture noundef %1) local_unnamed_ } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @invert_vec(i32 noundef %0, ptr nocapture noundef %1) local_unnamed_addr #5 { +define void @invert_vec(i32 noundef %0, ptr nocapture noundef %1) local_unnamed_addr #3 { %3 = icmp sgt i32 %0, 0 br i1 %3, label %.lr.ph.preheader, label %._crit_edge @@ -1711,7 +1711,7 @@ define void @sqrt_vecf(i32 noundef %0, ptr nocapture noundef readonly %1, ptr no br i1 %7, label %11, label %8 8: ; preds = %.lr.ph - %9 = tail call float @sqrtf(float noundef %6) #18 + %9 = tail call float @sqrtf(float noundef %6) #17 %10 = getelementptr inbounds float, ptr %2, i64 %indvars.iv store float %9, ptr %10, align 4 br label %11 @@ -1726,7 +1726,7 @@ define void @sqrt_vecf(i32 noundef %0, ptr nocapture noundef readonly %1, ptr no } ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare float @sqrtf(float noundef) local_unnamed_addr #9 +declare float @sqrtf(float noundef) local_unnamed_addr #8 ; Function Attrs: nofree nounwind memory(write, argmem: readwrite) uwtable define void @invert_sqrt_vec(i32 noundef %0, ptr nocapture noundef %1) local_unnamed_addr #4 { @@ -1745,7 +1745,7 @@ define void @invert_sqrt_vec(i32 noundef %0, ptr nocapture noundef %1) local_unn br i1 %6, label %7, label %10 7: ; preds = %.lr.ph - %8 = tail call float @sqrtf(float noundef %5) #18 + %8 = tail call float @sqrtf(float noundef %5) #17 %9 = fdiv float 1.000000e+00, %8 store float %9, ptr %4, align 4 br label %10 @@ -1760,55 +1760,54 @@ define void @invert_sqrt_vec(i32 noundef %0, ptr nocapture noundef %1) local_unn } ; Function Attrs: nofree nounwind -declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #11 +declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #10 ; Function Attrs: noreturn nounwind uwtable -define internal fastcc void @graphviz_exit() unnamed_addr #12 { - tail call void @exit(i32 noundef 1) #22 +define internal fastcc void @graphviz_exit() unnamed_addr #11 { + tail call void @exit(i32 noundef 1) #21 unreachable } ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) -declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #13 +declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #12 ; Function Attrs: noreturn nounwind -declare void @exit(i32 noundef) local_unnamed_addr #14 +declare void @exit(i32 noundef) local_unnamed_addr #13 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #15 +declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #14 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #16 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #15 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #15 +declare i32 @llvm.smin.i32(i32, i32) #14 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #17 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #16 attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #3 = { 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 #4 = { nofree nounwind memory(write, 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 #5 = { 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 #6 = { 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 #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #8 = { 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 #9 = { 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 #10 = { 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 #11 = { 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 #12 = { noreturn 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 #13 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) 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 #14 = { noreturn 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 #15 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #16 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #17 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #18 = { nounwind } -attributes #19 = { nounwind allocsize(0,1) } -attributes #20 = { cold nounwind } -attributes #21 = { noreturn } -attributes #22 = { noreturn nounwind } +attributes #5 = { 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 #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #7 = { 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 #8 = { 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 #9 = { 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 #10 = { 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 #11 = { noreturn 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 #12 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) 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 #13 = { noreturn 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 #14 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #15 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #16 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #17 = { nounwind } +attributes #18 = { nounwind allocsize(0,1) } +attributes #19 = { cold nounwind } +attributes #20 = { noreturn } +attributes #21 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/gromacs/optimized/coordinatetransformation.cpp.ll b/bench/gromacs/optimized/coordinatetransformation.cpp.ll index 6562a73f5bf..d4cf59b7310 100644 --- a/bench/gromacs/optimized/coordinatetransformation.cpp.ll +++ b/bench/gromacs/optimized/coordinatetransformation.cpp.ll @@ -42,7 +42,7 @@ define void @_ZN3gmx16ScaleCoordinates4ImplC2ERKNS_11BasicVectorIfEE(ptr nocaptu ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZNK3gmx16ScaleCoordinates4Impl5scaleENS_8ArrayRefINS_11BasicVectorIfEEEE(ptr nocapture noundef nonnull readonly align 4 dereferenceable(12) %0, ptr %1, ptr readnone %2) local_unnamed_addr #2 align 2 { %.not11 = icmp eq ptr %1, %2 br i1 %.not11, label %._crit_edge, label %.lr.ph @@ -76,7 +76,7 @@ define void @_ZNK3gmx16ScaleCoordinates4Impl5scaleENS_8ArrayRefINS_11BasicVector ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZNK3gmx16ScaleCoordinates4Impl24inverseIgnoringZeroScaleENS_8ArrayRefINS_11BasicVectorIfEEEE(ptr nocapture noundef nonnull readonly align 4 dereferenceable(12) %0, ptr %1, ptr readnone %2) local_unnamed_addr #2 align 2 { %4 = alloca %"class.gmx::BasicVector", align 8 br label %8 @@ -123,7 +123,7 @@ define void @_ZNK3gmx16ScaleCoordinates4Impl24inverseIgnoringZeroScaleENS_8Array ; Function Attrs: mustprogress uwtable define void @_ZN3gmx16ScaleCoordinatesC2ERKNS_11BasicVectorIfEE(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(12) %1) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 { - %3 = tail call noalias noundef nonnull dereferenceable(12) ptr @_Znwm(i64 noundef 12) #16 + %3 = tail call noalias noundef nonnull dereferenceable(12) ptr @_Znwm(i64 noundef 12) #17 invoke void @_ZN3gmx16ScaleCoordinates4ImplC1ERKNS_11BasicVectorIfEE(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %1) to label %4 unwind label %5 @@ -134,7 +134,7 @@ define void @_ZN3gmx16ScaleCoordinatesC2ERKNS_11BasicVectorIfEE(ptr nocapture no 5: ; preds = %2 %6 = landingpad { ptr, i32 } cleanup - tail call void @_ZdlPv(ptr noundef nonnull %3) #17 + tail call void @_ZdlPv(ptr noundef nonnull %3) #18 resume { ptr, i32 } %6 } @@ -146,8 +146,8 @@ declare i32 @__gxx_personality_v0(...) ; Function Attrs: nobuiltin nounwind declare void @_ZdlPv(ptr noundef) local_unnamed_addr #5 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZNK3gmx16ScaleCoordinatesclENS_8ArrayRefINS_11BasicVectorIfEEEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0, ptr %1, ptr readnone %2) local_unnamed_addr #2 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define void @_ZNK3gmx16ScaleCoordinatesclENS_8ArrayRefINS_11BasicVectorIfEEEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0, ptr %1, ptr readnone %2) local_unnamed_addr #6 align 2 { %4 = load ptr, ptr %0, align 8 %.not11.i = icmp eq ptr %1, %2 br i1 %.not11.i, label %_ZNK3gmx16ScaleCoordinates4Impl5scaleENS_8ArrayRefINS_11BasicVectorIfEEEE.exit, label %.lr.ph.i @@ -182,7 +182,7 @@ _ZNK3gmx16ScaleCoordinates4Impl5scaleENS_8ArrayRefINS_11BasicVectorIfEEEE.exit: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @_ZNK3gmx16ScaleCoordinatesclEPNS_11BasicVectorIfEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0, ptr nocapture noundef %1) local_unnamed_addr #6 align 2 { +define void @_ZNK3gmx16ScaleCoordinatesclEPNS_11BasicVectorIfEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0, ptr nocapture noundef %1) local_unnamed_addr #7 align 2 { .lr.ph.i: %2 = load ptr, ptr %0, align 8 %3 = getelementptr inbounds i8, ptr %2, i64 4 @@ -204,8 +204,8 @@ define void @_ZNK3gmx16ScaleCoordinatesclEPNS_11BasicVectorIfEE(ptr nocapture no ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZNK3gmx16ScaleCoordinates24inverseIgnoringZeroScaleENS_8ArrayRefINS_11BasicVectorIfEEEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0, ptr %1, ptr readnone %2) local_unnamed_addr #2 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define void @_ZNK3gmx16ScaleCoordinates24inverseIgnoringZeroScaleENS_8ArrayRefINS_11BasicVectorIfEEEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0, ptr %1, ptr readnone %2) local_unnamed_addr #6 align 2 { %4 = alloca %"class.gmx::BasicVector", align 8 %5 = load ptr, ptr %0, align 8 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) @@ -253,7 +253,7 @@ _ZNK3gmx16ScaleCoordinates4Impl24inverseIgnoringZeroScaleENS_8ArrayRefINS_11Basi } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @_ZNK3gmx16ScaleCoordinates24inverseIgnoringZeroScaleEPNS_11BasicVectorIfEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0, ptr nocapture noundef %1) local_unnamed_addr #7 align 2 { +define void @_ZNK3gmx16ScaleCoordinates24inverseIgnoringZeroScaleEPNS_11BasicVectorIfEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0, ptr nocapture noundef %1) local_unnamed_addr #6 align 2 { %3 = alloca %"class.gmx::BasicVector", align 8 %4 = load ptr, ptr %0, align 8 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) @@ -294,7 +294,7 @@ define void @_ZN3gmx16ScaleCoordinatesD2Ev(ptr nocapture noundef nonnull align 8 br i1 %.not.i, label %_ZNSt10unique_ptrIN3gmx16ScaleCoordinates4ImplESt14default_deleteIS2_EED2Ev.exit, label %_ZNKSt14default_deleteIN3gmx16ScaleCoordinates4ImplEEclEPS2_.exit.i _ZNKSt14default_deleteIN3gmx16ScaleCoordinates4ImplEEclEPS2_.exit.i: ; preds = %1 - tail call void @_ZdlPv(ptr noundef nonnull %2) #17 + tail call void @_ZdlPv(ptr noundef nonnull %2) #18 br label %_ZNSt10unique_ptrIN3gmx16ScaleCoordinates4ImplESt14default_deleteIS2_EED2Ev.exit _ZNSt10unique_ptrIN3gmx16ScaleCoordinates4ImplESt14default_deleteIS2_EED2Ev.exit: ; preds = %1, %_ZNKSt14default_deleteIN3gmx16ScaleCoordinates4ImplEEclEPS2_.exit.i @@ -304,7 +304,7 @@ _ZNSt10unique_ptrIN3gmx16ScaleCoordinates4ImplESt14default_deleteIS2_EED2Ev.exit ; Function Attrs: mustprogress uwtable define void @_ZN3gmx16ScaleCoordinatesC2ERKS0_(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %1) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 { - %3 = tail call noalias noundef nonnull dereferenceable(12) ptr @_Znwm(i64 noundef 12) #16 + %3 = tail call noalias noundef nonnull dereferenceable(12) ptr @_Znwm(i64 noundef 12) #17 %4 = load ptr, ptr %1, align 8 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %4, i64 12, i1 false) store ptr %3, ptr %0, align 8 @@ -337,7 +337,7 @@ define noundef nonnull align 8 dereferenceable(8) ptr @_ZN3gmx16ScaleCoordinates br i1 %.not.i.i.i.i, label %_ZNSt10unique_ptrIN3gmx16ScaleCoordinates4ImplESt14default_deleteIS2_EEaSEOS5_.exit, label %_ZNKSt14default_deleteIN3gmx16ScaleCoordinates4ImplEEclEPS2_.exit.i.i.i.i _ZNKSt14default_deleteIN3gmx16ScaleCoordinates4ImplEEclEPS2_.exit.i.i.i.i: ; preds = %2 - tail call void @_ZdlPv(ptr noundef nonnull %4) #17 + tail call void @_ZdlPv(ptr noundef nonnull %4) #18 br label %_ZNSt10unique_ptrIN3gmx16ScaleCoordinates4ImplESt14default_deleteIS2_EEaSEOS5_.exit _ZNSt10unique_ptrIN3gmx16ScaleCoordinates4ImplESt14default_deleteIS2_EEaSEOS5_.exit: ; preds = %2, %_ZNKSt14default_deleteIN3gmx16ScaleCoordinates4ImplEEclEPS2_.exit.i.i.i.i @@ -352,7 +352,7 @@ define void @_ZN3gmx17TranslateAndScale4ImplC2ERKNS_11BasicVectorIfEES5_(ptr noc ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZNK3gmx17TranslateAndScale4Impl9transformENS_8ArrayRefINS_11BasicVectorIfEEEE(ptr nocapture noundef nonnull readonly align 4 dereferenceable(24) %0, ptr %1, ptr readnone %2) local_unnamed_addr #10 align 2 { %.not12 = icmp eq ptr %1, %2 br i1 %.not12, label %._crit_edge, label %.lr.ph @@ -397,7 +397,7 @@ define void @_ZNK3gmx17TranslateAndScale4Impl9transformENS_8ArrayRefINS_11BasicV ; Function Attrs: mustprogress uwtable define void @_ZN3gmx17TranslateAndScaleC2ERKNS_11BasicVectorIfEES4_(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 { - %4 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #16 + %4 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #17 invoke void @_ZN3gmx17TranslateAndScale4ImplC1ERKNS_11BasicVectorIfEES5_(ptr noundef nonnull align 4 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2) to label %5 unwind label %6 @@ -408,12 +408,12 @@ define void @_ZN3gmx17TranslateAndScaleC2ERKNS_11BasicVectorIfEES4_(ptr nocaptur 6: ; preds = %3 %7 = landingpad { ptr, i32 } cleanup - tail call void @_ZdlPv(ptr noundef nonnull %4) #17 + tail call void @_ZdlPv(ptr noundef nonnull %4) #18 resume { ptr, i32 } %7 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZNK3gmx17TranslateAndScaleclENS_8ArrayRefINS_11BasicVectorIfEEEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0, ptr %1, ptr readnone %2) local_unnamed_addr #10 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define void @_ZNK3gmx17TranslateAndScaleclENS_8ArrayRefINS_11BasicVectorIfEEEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0, ptr %1, ptr readnone %2) local_unnamed_addr #11 align 2 { %4 = load ptr, ptr %0, align 8 %.not12.i = icmp eq ptr %1, %2 br i1 %.not12.i, label %_ZNK3gmx17TranslateAndScale4Impl9transformENS_8ArrayRefINS_11BasicVectorIfEEEE.exit, label %.lr.ph.i @@ -457,7 +457,7 @@ _ZNK3gmx17TranslateAndScale4Impl9transformENS_8ArrayRefINS_11BasicVectorIfEEEE.e } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @_ZNK3gmx17TranslateAndScaleclEPNS_11BasicVectorIfEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0, ptr nocapture noundef %1) local_unnamed_addr #11 align 2 { +define void @_ZNK3gmx17TranslateAndScaleclEPNS_11BasicVectorIfEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0, ptr nocapture noundef %1) local_unnamed_addr #12 align 2 { .lr.ph.i: %2 = load ptr, ptr %0, align 8 %3 = getelementptr inbounds i8, ptr %2, i64 12 @@ -502,7 +502,7 @@ define void @_ZN3gmx17TranslateAndScaleD2Ev(ptr nocapture noundef nonnull align br i1 %.not.i, label %_ZNSt10unique_ptrIN3gmx17TranslateAndScale4ImplESt14default_deleteIS2_EED2Ev.exit, label %_ZNKSt14default_deleteIN3gmx17TranslateAndScale4ImplEEclEPS2_.exit.i _ZNKSt14default_deleteIN3gmx17TranslateAndScale4ImplEEclEPS2_.exit.i: ; preds = %1 - tail call void @_ZdlPv(ptr noundef nonnull %2) #17 + tail call void @_ZdlPv(ptr noundef nonnull %2) #18 br label %_ZNSt10unique_ptrIN3gmx17TranslateAndScale4ImplESt14default_deleteIS2_EED2Ev.exit _ZNSt10unique_ptrIN3gmx17TranslateAndScale4ImplESt14default_deleteIS2_EED2Ev.exit: ; preds = %1, %_ZNKSt14default_deleteIN3gmx17TranslateAndScale4ImplEEclEPS2_.exit.i @@ -512,7 +512,7 @@ _ZNSt10unique_ptrIN3gmx17TranslateAndScale4ImplESt14default_deleteIS2_EED2Ev.exi ; Function Attrs: mustprogress uwtable define void @_ZN3gmx17TranslateAndScaleC2ERKS0_(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %1) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 { - %3 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #16 + %3 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #17 %4 = load ptr, ptr %1, align 8 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(24) %4, i64 24, i1 false) store ptr %3, ptr %0, align 8 @@ -545,14 +545,14 @@ define noundef nonnull align 8 dereferenceable(8) ptr @_ZN3gmx17TranslateAndScal br i1 %.not.i.i.i.i, label %_ZNSt10unique_ptrIN3gmx17TranslateAndScale4ImplESt14default_deleteIS2_EEaSEOS5_.exit, label %_ZNKSt14default_deleteIN3gmx17TranslateAndScale4ImplEEclEPS2_.exit.i.i.i.i _ZNKSt14default_deleteIN3gmx17TranslateAndScale4ImplEEclEPS2_.exit.i.i.i.i: ; preds = %2 - tail call void @_ZdlPv(ptr noundef nonnull %4) #17 + tail call void @_ZdlPv(ptr noundef nonnull %4) #18 br label %_ZNSt10unique_ptrIN3gmx17TranslateAndScale4ImplESt14default_deleteIS2_EEaSEOS5_.exit _ZNSt10unique_ptrIN3gmx17TranslateAndScale4ImplESt14default_deleteIS2_EEaSEOS5_.exit: ; preds = %2, %_ZNKSt14default_deleteIN3gmx17TranslateAndScale4ImplEEclEPS2_.exit.i.i.i.i ret ptr %0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3gmx20AffineTransformationC2ENS_12basic_mdspanIKfNS_7extentsIJLl3ELl3EEEENS_12layout_rightENS_14accessor_basicIS2_EEEERKNS_11BasicVectorIfEE(ptr noundef nonnull align 8 dereferenceable(68) %0, ptr nocapture readonly %1, ptr nocapture noundef nonnull readonly align 4 dereferenceable(12) %2) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 { tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(36) %0, i8 0, i64 36, i1 false) %4 = getelementptr inbounds i8, ptr %0, i64 48 @@ -578,10 +578,10 @@ _ZSt4copyIPKfN3gmx12ArrayRefIterIfEEET0_T_S6_S5_.exit: ; preds = %.lr.ph.i.i.i.i } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #12 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #13 ; Function Attrs: mustprogress uwtable -define void @_ZNK3gmx20AffineTransformationclENS_8ArrayRefINS_11BasicVectorIfEEEE(ptr noundef nonnull align 8 dereferenceable(68) %0, ptr %1, ptr readnone %2) local_unnamed_addr #13 align 2 { +define void @_ZNK3gmx20AffineTransformationclENS_8ArrayRefINS_11BasicVectorIfEEEE(ptr noundef nonnull align 8 dereferenceable(68) %0, ptr %1, ptr readnone %2) local_unnamed_addr #14 align 2 { %.not11 = icmp eq ptr %1, %2 br i1 %.not11, label %._crit_edge, label %.lr.ph @@ -610,10 +610,10 @@ define void @_ZNK3gmx20AffineTransformationclENS_8ArrayRefINS_11BasicVectorIfEEE ret void } -declare void @_ZN3gmx20matrixVectorMultiplyENS_12basic_mdspanIKfNS_7extentsIJLl3ELl3EEEENS_12layout_rightENS_14accessor_basicIS1_EEEEPNS_11BasicVectorIfEE(ptr, ptr noundef) local_unnamed_addr #14 +declare void @_ZN3gmx20matrixVectorMultiplyENS_12basic_mdspanIKfNS_7extentsIJLl3ELl3EEEENS_12layout_rightENS_14accessor_basicIS1_EEEEPNS_11BasicVectorIfEE(ptr, ptr noundef) local_unnamed_addr #15 ; Function Attrs: mustprogress uwtable -define void @_ZNK3gmx20AffineTransformationclEPNS_11BasicVectorIfEE(ptr noundef nonnull align 8 dereferenceable(68) %0, ptr noundef %1) local_unnamed_addr #13 align 2 { +define void @_ZNK3gmx20AffineTransformationclEPNS_11BasicVectorIfEE(ptr noundef nonnull align 8 dereferenceable(68) %0, ptr noundef %1) local_unnamed_addr #14 align 2 { .lr.ph.i: %2 = getelementptr inbounds i8, ptr %0, i64 56 %3 = getelementptr inbounds i8, ptr %0, i64 64 @@ -636,32 +636,33 @@ define void @_ZNK3gmx20AffineTransformation8gradientEv(ptr dead_on_unwind noalia ret void } -declare void @_ZN3gmx9transposeENS_12basic_mdspanIKfNS_7extentsIJLl3ELl3EEEENS_12layout_rightENS_14accessor_basicIS1_EEEE(ptr dead_on_unwind writable sret(%"class.gmx::MultiDimArray") align 8, ptr) local_unnamed_addr #14 +declare void @_ZN3gmx9transposeENS_12basic_mdspanIKfNS_7extentsIJLl3ELl3EEEENS_12layout_rightENS_14accessor_basicIS1_EEEE(ptr dead_on_unwind writable sret(%"class.gmx::MultiDimArray") align 8, ptr) local_unnamed_addr #15 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #15 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #16 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #15 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #16 attributes #0 = { 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #2 = { mustprogress 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } +attributes #2 = { mustprogress 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } attributes #3 = { mustprogress uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } attributes #4 = { nobuiltin allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } attributes #5 = { nobuiltin nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } -attributes #6 = { 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } -attributes #7 = { mustprogress 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } +attributes #6 = { mustprogress 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } +attributes #7 = { 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } attributes #8 = { mustprogress 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } attributes #9 = { 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } -attributes #10 = { mustprogress 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } -attributes #11 = { 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } -attributes #12 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #13 = { mustprogress uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } -attributes #14 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } -attributes #15 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #16 = { builtin allocsize(0) } -attributes #17 = { builtin nounwind } +attributes #10 = { mustprogress 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } +attributes #11 = { mustprogress 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } +attributes #12 = { 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } +attributes #13 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #14 = { mustprogress uwtable "frame-pointer"="all" "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } +attributes #15 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } +attributes #16 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #17 = { builtin allocsize(0) } +attributes #18 = { builtin nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/gromacs/optimized/md5.c.ll b/bench/gromacs/optimized/md5.c.ll index 7c125c0aa8a..2e6edb8f16d 100644 --- a/bench/gromacs/optimized/md5.c.ll +++ b/bench/gromacs/optimized/md5.c.ll @@ -15,7 +15,7 @@ define void @md5_init(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define void @md5_append(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #1 { %4 = load i32, ptr %0, align 4 %5 = lshr i32 %4, 3 @@ -670,7 +670,7 @@ define internal fastcc void @md5_process(ptr nocapture noundef %0, ptr noundef % } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @md5_finish(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #4 { +define void @md5_finish(ptr noundef %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #1 { %3 = alloca [8 x i8], align 1 br label %4 @@ -825,14 +825,13 @@ md5_append.exit25: ; preds = %55, %._crit_edge.i1 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #5 +declare i32 @llvm.fshl.i32(i32, i32, i32) #4 attributes #0 = { 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } -attributes #1 = { 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } +attributes #1 = { 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } -attributes #4 = { 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } -attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/gromacs/optimized/simulationsignal.cpp.ll b/bench/gromacs/optimized/simulationsignal.cpp.ll index 6c27c111075..b043dfa8d78 100644 --- a/bench/gromacs/optimized/simulationsignal.cpp.ll +++ b/bench/gromacs/optimized/simulationsignal.cpp.ll @@ -29,7 +29,7 @@ define void @_ZN3gmx19SimulationSignallerC2EPSt5arrayINS_16SimulationSignalELm3E ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define { ptr, ptr } @_ZN3gmx19SimulationSignaller22getCommunicationBufferEv(ptr noundef nonnull align 8 dereferenceable(40) %0) local_unnamed_addr #2 align 2 { %2 = getelementptr inbounds i8, ptr %0, i64 25 %3 = load i8, ptr %2, align 1 @@ -117,7 +117,7 @@ declare void @_Z12gmx_sumf_simiPfPK14gmx_multisim_t(i32 noundef, ptr noundef, pt declare void @_Z9gmx_bcastmPvP10tmpi_comm_(i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZN3gmx19SimulationSignaller10setSignalsEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(40) %0) local_unnamed_addr #2 align 2 { +define void @_ZN3gmx19SimulationSignaller10setSignalsEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(40) %0) local_unnamed_addr #5 align 2 { %2 = getelementptr inbounds i8, ptr %0, i64 25 %3 = load i8, ptr %2, align 1 %4 = trunc i8 %3 to i1 @@ -261,9 +261,10 @@ _ZN3gmx19SimulationSignaller10setSignalsEv.exit: ; preds = %47, %_ZN3gmx19Simul attributes #0 = { 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #2 = { mustprogress 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } +attributes #2 = { mustprogress 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } attributes #3 = { mustprogress uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } attributes #4 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } +attributes #5 = { mustprogress 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"="+avx,+avx2,+cmov,+crc32,+cx8,+fma,+fxsr,+mmx,+popcnt,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/grpc/optimized/compression_internal.cc.ll b/bench/grpc/optimized/compression_internal.cc.ll index 5fb9ba0e541..867104aa75c 100644 --- a/bench/grpc/optimized/compression_internal.cc.ll +++ b/bench/grpc/optimized/compression_internal.cc.ll @@ -154,10 +154,10 @@ if.then2: ; preds = %if.end store ptr @_ZN4absl12lts_2023080219str_format_internal13FormatArgImpl8DispatchIiEEbNS2_4DataENS1_24FormatConversionSpecImplEPv, ptr %dispatcher_.i.i.i, align 8, !noalias !4 call void @_ZN4absl12lts_2023080219str_format_internal10FormatPackB5cxx11ENS1_21UntypedFormatSpecImplENS0_4SpanIKNS1_13FormatArgImplEEE(ptr nonnull sret(%"class.std::__cxx11::basic_string") align 8 %ref.tmp, ptr nonnull @.str.6, i64 37, ptr nonnull %ref.tmp.i, i64 1) call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %ref.tmp.i) - %call5 = call { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32) %ref.tmp) #21 + %call5 = call { i64, ptr } @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEcvSt17basic_string_viewIcS2_EEv(ptr noundef nonnull align 8 dereferenceable(32) %ref.tmp) #22 %2 = extractvalue { i64, ptr } %call5, 0 %3 = extractvalue { i64, ptr } %call5, 1 - invoke void @_ZN9grpc_core5CrashESt17basic_string_viewIcSt11char_traitsIcEENS_14SourceLocationE(i64 %2, ptr %3, ptr nonnull @.str.4, i32 118) #22 + invoke void @_ZN9grpc_core5CrashESt17basic_string_viewIcSt11char_traitsIcEENS_14SourceLocationE(i64 %2, ptr %3, ptr nonnull @.str.4, i32 118) #23 to label %invoke.cont7 unwind label %lpad invoke.cont7: ; preds = %if.then2 @@ -166,7 +166,7 @@ invoke.cont7: ; preds = %if.then2 lpad: ; preds = %if.then2 %4 = landingpad { ptr, i32 } cleanup - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %ref.tmp) #21 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %ref.tmp) #22 br label %eh.resume if.end8: ; preds = %if.end @@ -178,7 +178,7 @@ do.body: ; preds = %if.end8 br i1 %cmp12, label %if.then13, label %do.end if.then13: ; preds = %do.body - tail call void @gpr_assertion_failed(ptr noundef nonnull @.str.4, i32 noundef 126, ptr noundef nonnull @.str.7) #22 + tail call void @gpr_assertion_failed(ptr noundef nonnull @.str.4, i32 noundef 126, ptr noundef nonnull @.str.7) #23 unreachable do.end: ; preds = %do.body @@ -219,7 +219,7 @@ lpad20: ; preds = %if.then23 if.then.i.i.i: ; preds = %lpad20 %data_.i.i.i.i = getelementptr inbounds i8, ptr %algos, i64 8 %10 = load ptr, ptr %data_.i.i.i.i, align 8 - call void @_ZdlPv(ptr noundef %10) #23 + call void @_ZdlPv(ptr noundef %10) #24 br label %eh.resume for.inc: ; preds = %if.then23, %invoke.cont21 @@ -241,7 +241,7 @@ if.end28: ; preds = %for.end ] sw.bb: ; preds = %if.end28 - call void @abort() #24 + call void @abort() #25 unreachable sw.bb29: ; preds = %if.end28 @@ -274,7 +274,7 @@ sw.bb36: ; preds = %if.end28 br label %cleanup.sink.split sw.default: ; preds = %if.end28 - call void @abort() #24 + call void @abort() #25 unreachable cleanup.sink.split: ; preds = %sw.bb29, %sw.bb32, %sw.bb36 @@ -292,7 +292,7 @@ cleanup: ; preds = %cleanup.sink.split, if.then.i.i.i25: ; preds = %cleanup %data_.i.i.i.i26 = getelementptr inbounds i8, ptr %algos, i64 8 %17 = load ptr, ptr %data_.i.i.i.i26, align 8 - call void @_ZdlPv(ptr noundef %17) #23 + call void @_ZdlPv(ptr noundef %17) #24 br label %return return: ; preds = %if.then.i.i.i25, %cleanup, %if.end8 @@ -395,7 +395,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN9grpc_core23CompressionAlgorithmSetC2ESt16initializer_listI26grpc_compression_algorithmE(ptr nocapture noundef nonnull writeonly align 1 dereferenceable(1) %this, ptr readonly %algorithms.coerce0, i64 %algorithms.coerce1) unnamed_addr #9 align 2 { entry: store i8 0, ptr %this, align 1 @@ -516,7 +516,7 @@ _ZNK9grpc_core6BitSetILm3ELm8EE5ToIntIjEENSt9enable_ifIXaasr3std11is_unsignedIT_ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @_ZNK9grpc_core23CompressionAlgorithmSet7ToSliceEv(ptr noalias nocapture writeonly sret(%"class.grpc_core::Slice") align 8 %agg.result, ptr nocapture noundef nonnull readonly align 1 dereferenceable(1) %this) local_unnamed_addr #9 align 2 { +define void @_ZNK9grpc_core23CompressionAlgorithmSet7ToSliceEv(ptr noalias nocapture writeonly sret(%"class.grpc_core::Slice") align 8 %agg.result, ptr nocapture noundef nonnull readonly align 1 dereferenceable(1) %this) local_unnamed_addr #13 align 2 { entry: %0 = load i8, ptr %this, align 1 br label %for.body.i.i.i @@ -598,7 +598,7 @@ if.end10.i.i.i: ; preds = %if.then8.i.i.i, %if br i1 %cmp.i.i.i.i.i, label %if.then.i.i.i.i.i, label %_ZNKSt17basic_string_viewIcSt11char_traitsIcEE6substrEmm.exit.i.i.i if.then.i.i.i.i.i: ; preds = %if.end10.i.i.i - call void (ptr, ...) @_ZSt24__throw_out_of_range_fmtPKcz(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.10, i64 noundef %2, i64 noundef %str.coerce0) #22 + call void (ptr, ...) @_ZSt24__throw_out_of_range_fmtPKcz(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.10, i64 noundef %2, i64 noundef %str.coerce0) #23 unreachable _ZNKSt17basic_string_viewIcSt11char_traitsIcEE6substrEmm.exit.i.i.i: ; preds = %if.end10.i.i.i @@ -702,7 +702,7 @@ if.end10.i: ; preds = %if.then8.i, %if.end br i1 %cmp.i.i.i12, label %if.then.i.i.i, label %_ZNKSt17basic_string_viewIcSt11char_traitsIcEE6substrEmm.exit.i if.then.i.i.i: ; preds = %if.end10.i - call void (ptr, ...) @_ZSt24__throw_out_of_range_fmtPKcz(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.10, i64 noundef %14, i64 noundef %retval.sroa.0.0.copyload.i.i) #22 + call void (ptr, ...) @_ZSt24__throw_out_of_range_fmtPKcz(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.10, i64 noundef %14, i64 noundef %retval.sroa.0.0.copyload.i.i) #23 unreachable _ZNKSt17basic_string_viewIcSt11char_traitsIcEE6substrEmm.exit.i: ; preds = %if.end10.i @@ -801,7 +801,7 @@ terminate.lpad.i: ; preds = %if.then.i.i %7 = landingpad { ptr, i32 } catch ptr null %8 = extractvalue { ptr, i32 } %7, 0 - tail call void @__clang_call_terminate(ptr %8) #24 + tail call void @__clang_call_terminate(ptr %8) #25 unreachable return: ; preds = %if.end7, %_ZNK9grpc_core11ChannelArgs5Value11GetIfStringEv.exit, %if.then.i.i, %if.then.i, %if.end, %entry @@ -817,12 +817,12 @@ return: ; preds = %if.end7, %_ZNK9grpc declare noundef ptr @_ZNK9grpc_core11ChannelArgs3GetESt17basic_string_viewIcSt11char_traitsIcEE(ptr noundef nonnull align 8 dereferenceable(8), i64, ptr) local_unnamed_addr #0 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #13 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #14 ; Function Attrs: noreturn nounwind uwtable -define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #14 comdat { - %2 = tail call ptr @__cxa_begin_catch(ptr %0) #21 - tail call void @_ZSt9terminatev() #24 +define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #15 comdat { + %2 = tail call ptr @__cxa_begin_catch(ptr %0) #22 + tail call void @_ZSt9terminatev() #25 unreachable } @@ -1092,7 +1092,7 @@ _ZSt11find_if_notIPKcPFbhEET_S4_S4_T0_.exit: ; preds = %for.body.i.i.i, %_Z br i1 %cmp.i.i, label %if.then.i.i, label %_ZNKSt17basic_string_viewIcSt11char_traitsIcEE6substrEmm.exit if.then.i.i: ; preds = %_ZSt11find_if_notIPKcPFbhEET_S4_S4_T0_.exit - tail call void (ptr, ...) @_ZSt24__throw_out_of_range_fmtPKcz(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.10, i64 noundef %sub.ptr.sub, i64 noundef %str.coerce0) #22 + tail call void (ptr, ...) @_ZSt24__throw_out_of_range_fmtPKcz(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.10, i64 noundef %sub.ptr.sub, i64 noundef %str.coerce0) #23 unreachable _ZNKSt17basic_string_viewIcSt11char_traitsIcEE6substrEmm.exit: ; preds = %_ZSt11find_if_notIPKcPFbhEET_S4_S4_T0_.exit @@ -1113,7 +1113,7 @@ declare void @_ZN4absl12lts_2023080219str_format_internal10FormatPackB5cxx11ENS1 declare noundef zeroext i1 @_ZN4absl12lts_2023080219str_format_internal13FormatArgImpl8DispatchIiEEbNS2_4DataENS1_24FormatConversionSpecImplEPv(ptr, i64, i32, ptr noundef) #0 ; Function Attrs: nobuiltin nounwind -declare void @_ZdlPv(ptr noundef) local_unnamed_addr #15 +declare void @_ZdlPv(ptr noundef) local_unnamed_addr #16 ; Function Attrs: mustprogress uwtable define linkonce_odr noundef nonnull align 4 dereferenceable(4) ptr @_ZN4absl12lts_2023080223inlined_vector_internal7StorageI26grpc_compression_algorithmLm3ESaIS3_EE11EmplaceBackIJRKS3_EEERS3_DpOT_(ptr noundef nonnull align 8 dereferenceable(24) %this, ptr noundef nonnull align 4 dereferenceable(4) %args) local_unnamed_addr #5 comdat align 2 personality ptr @__gxx_personality_v0 { @@ -1149,16 +1149,16 @@ if.then.i.i.i.i.i: ; preds = %if.end br i1 %cmp2.i.i.i.i.i, label %if.then3.i.i.i.i.i, label %if.end.i.i.i.i.i if.then3.i.i.i.i.i: ; preds = %if.then.i.i.i.i.i - tail call void @_ZSt28__throw_bad_array_new_lengthv() #22 + tail call void @_ZSt28__throw_bad_array_new_lengthv() #23 unreachable if.end.i.i.i.i.i: ; preds = %if.then.i.i.i.i.i - tail call void @_ZSt17__throw_bad_allocv() #22 + tail call void @_ZSt17__throw_bad_allocv() #23 unreachable _ZN4absl12lts_2023080223inlined_vector_internal13MallocAdapterISaI26grpc_compression_algorithmELb0EE8AllocateERS4_m.exit.i.i: ; preds = %if.end %mul.i.i.i.i.i = shl nuw nsw i64 %mul.i.i, 2 - %call5.i.i.i.i5.i = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %mul.i.i.i.i.i) #25 + %call5.i.i.i.i5.i = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %mul.i.i.i.i.i) #26 %add.ptr.i = getelementptr inbounds i32, ptr %call5.i.i.i.i5.i, i64 %.sink.i %6 = load i32, ptr %args, align 4 store i32 %6, ptr %add.ptr.i, align 4 @@ -1180,7 +1180,7 @@ invoke.cont21.i: ; preds = %for.inc.i.i, %_ZN4a br i1 %tobool.i.not.i, label %_ZN4absl12lts_2023080223inlined_vector_internal7StorageI26grpc_compression_algorithmLm3ESaIS3_EE15EmplaceBackSlowIJRKS3_EEERS3_DpOT_.exit, label %if.then.i.i if.then.i.i: ; preds = %invoke.cont21.i - tail call void @_ZdlPv(ptr noundef %1) #23 + tail call void @_ZdlPv(ptr noundef %1) #24 %.pre.i = load i64, ptr %this, align 8 br label %_ZN4absl12lts_2023080223inlined_vector_internal7StorageI26grpc_compression_algorithmLm3ESaIS3_EE15EmplaceBackSlowIJRKS3_EEERS3_DpOT_.exit @@ -1206,15 +1206,15 @@ declare void @_ZSt28__throw_bad_array_new_lengthv() local_unnamed_addr #6 declare void @_ZSt17__throw_bad_allocv() local_unnamed_addr #6 ; Function Attrs: nobuiltin allocsize(0) -declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #16 +declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #17 declare { i64, ptr } @_ZNK4absl12lts_202308026ByChar4FindESt17basic_string_viewIcSt11char_traitsIcEEm(ptr noundef nonnull align 1 dereferenceable(1), i64, ptr, i64 noundef) local_unnamed_addr #0 ; Function Attrs: uwtable -define internal void @_GLOBAL__sub_I_compression_internal.cc() #17 section ".text.startup" { +define internal void @_GLOBAL__sub_I_compression_internal.cc() #18 section ".text.startup" { entry: tail call void @_ZNSt8ios_base4InitC1Ev(ptr noundef nonnull align 1 dereferenceable(1) @_ZStL8__ioinit) - %0 = tail call i32 @__cxa_atexit(ptr nonnull @_ZNSt8ios_base4InitD1Ev, ptr nonnull @_ZStL8__ioinit, ptr nonnull @__dso_handle) #21 + %0 = tail call i32 @__cxa_atexit(ptr nonnull @_ZNSt8ios_base4InitD1Ev, ptr nonnull @_ZStL8__ioinit, ptr nonnull @__dso_handle) #22 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(214) @_ZN9grpc_core12_GLOBAL__N_120kCommaSeparatedListsE, i8 0, i64 214, i1 false) br label %for.cond5.preheader.i.i @@ -1244,7 +1244,7 @@ if.then10.i.i: ; preds = %if.end.i.i br i1 %cmp.i.i.i, label %if.then.i.i.i, label %_ZZN9grpc_core12_GLOBAL__N_119CommaSeparatedListsC1EvENKUlcE_clEc.exit.i.i if.then.i.i.i: ; preds = %if.then10.i.i - tail call void @abort() #24 + tail call void @abort() #25 unreachable _ZZN9grpc_core12_GLOBAL__N_119CommaSeparatedListsC1EvENKUlcE_clEc.exit.i.i: ; preds = %if.then10.i.i @@ -1256,7 +1256,7 @@ _ZZN9grpc_core12_GLOBAL__N_119CommaSeparatedListsC1EvENKUlcE_clEc.exit.i.i: ; pr br i1 %cmp.i20.i.i, label %if.then.i22.i.i, label %_ZZN9grpc_core12_GLOBAL__N_119CommaSeparatedListsC1EvENKUlcE_clEc.exit23.i.i if.then.i22.i.i: ; preds = %_ZZN9grpc_core12_GLOBAL__N_119CommaSeparatedListsC1EvENKUlcE_clEc.exit.i.i - tail call void @abort() #24 + tail call void @abort() #25 unreachable _ZZN9grpc_core12_GLOBAL__N_119CommaSeparatedListsC1EvENKUlcE_clEc.exit23.i.i: ; preds = %_ZZN9grpc_core12_GLOBAL__N_119CommaSeparatedListsC1EvENKUlcE_clEc.exit.i.i @@ -1284,7 +1284,7 @@ for.body16.i.i: ; preds = %switch.lookup, %_ZZ br i1 %cmp.i28.i.i, label %if.then.i30.i.i, label %_ZZN9grpc_core12_GLOBAL__N_119CommaSeparatedListsC1EvENKUlcE_clEc.exit31.i.i if.then.i30.i.i: ; preds = %for.body16.i.i - tail call void @abort() #24 + tail call void @abort() #25 unreachable _ZZN9grpc_core12_GLOBAL__N_119CommaSeparatedListsC1EvENKUlcE_clEc.exit31.i.i: ; preds = %for.body16.i.i @@ -1319,7 +1319,7 @@ for.end22.i.i: ; preds = %for.end18.i.i br i1 %cmp28.not.i.i, label %__cxx_global_var_init.3.exit, label %if.then29.i.i if.then29.i.i: ; preds = %for.end22.i.i - tail call void @abort() #24 + tail call void @abort() #25 unreachable __cxx_global_var_init.3.exit: ; preds = %for.end22.i.i @@ -1327,16 +1327,16 @@ __cxx_global_var_init.3.exit: ; preds = %for.end22.i.i } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #18 +declare i64 @llvm.umin.i64(i64, i64) #19 ; Function Attrs: nofree nounwind willreturn memory(argmem: read) -declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #19 +declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #20 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #20 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #21 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #20 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #21 attributes #0 = { "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 #1 = { 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" } @@ -1347,23 +1347,24 @@ attributes #5 = { mustprogress uwtable "frame-pointer"="all" "min-legal-vector-w attributes #6 = { noreturn "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 #7 = { noreturn 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 #8 = { 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 #9 = { mustprogress 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 #9 = { mustprogress 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 #10 = { 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 #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 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 #13 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #14 = { noreturn nounwind uwtable "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 #15 = { nobuiltin 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 #16 = { nobuiltin allocsize(0) "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 #17 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #19 = { nofree nounwind willreturn memory(argmem: read) } -attributes #20 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #21 = { nounwind } -attributes #22 = { noreturn } -attributes #23 = { builtin nounwind } -attributes #24 = { noreturn nounwind } -attributes #25 = { builtin allocsize(0) } +attributes #13 = { mustprogress 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 #14 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #15 = { noreturn nounwind uwtable "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 #16 = { nobuiltin 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 #17 = { nobuiltin allocsize(0) "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 #18 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #20 = { nofree nounwind willreturn memory(argmem: read) } +attributes #21 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #22 = { nounwind } +attributes #23 = { noreturn } +attributes #24 = { builtin nounwind } +attributes #25 = { noreturn nounwind } +attributes #26 = { builtin allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/hdf5/optimized/H5B2test.c.ll b/bench/hdf5/optimized/H5B2test.c.ll index 8b2c384d88e..dd15a9b681c 100644 --- a/bench/hdf5/optimized/H5B2test.c.ll +++ b/bench/hdf5/optimized/H5B2test.c.ll @@ -44,18 +44,18 @@ target triple = "x86_64-pc-linux-gnu" ; Function Attrs: nounwind uwtable define internal noalias ptr @H5B2__test_crt_context(ptr noundef %0) #0 { - %2 = tail call noalias ptr @H5FL_reg_malloc(ptr noundef nonnull @H5_H5B2_test_ctx_t_reg_free_list) #10 + %2 = tail call noalias ptr @H5FL_reg_malloc(ptr noundef nonnull @H5_H5B2_test_ctx_t_reg_free_list) #8 %3 = icmp eq ptr %2, null br i1 %3, label %4, label %8 4: ; preds = %1 %5 = load i64, ptr @H5E_BTREE_g, align 8 %6 = load i64, ptr @H5E_CANTALLOC_g, align 8 - %7 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__test_crt_context, i32 noundef 141, i64 noundef %5, i64 noundef %6, ptr noundef nonnull @.str.11) #10 + %7 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__test_crt_context, i32 noundef 141, i64 noundef %5, i64 noundef %6, ptr noundef nonnull @.str.11) #8 br label %10 8: ; preds = %1 - %9 = tail call zeroext i8 @H5F_sizeof_size(ptr noundef %0) #10 + %9 = tail call zeroext i8 @H5F_sizeof_size(ptr noundef %0) #8 store i8 %9, ptr %2, align 1 br label %10 @@ -65,7 +65,7 @@ define internal noalias ptr @H5B2__test_crt_context(ptr noundef %0) #0 { ; Function Attrs: nounwind uwtable define internal noundef i32 @H5B2__test_dst_context(ptr noundef %0) #0 { - %2 = tail call ptr @H5FL_reg_free(ptr noundef nonnull @H5_H5B2_test_ctx_t_reg_free_list, ptr noundef %0) #10 + %2 = tail call ptr @H5FL_reg_free(ptr noundef nonnull @H5_H5B2_test_ctx_t_reg_free_list, ptr noundef %0) #8 ret i32 0 } @@ -86,7 +86,7 @@ define internal noundef i32 @H5B2__test_compare(ptr nocapture noundef readonly % ret i32 0 } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal noundef i32 @H5B2__test_encode(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #2 { %4 = load i8, ptr %2, align 1 switch i8 %4, label %.loopexit [ @@ -147,8 +147,8 @@ define internal noundef i32 @H5B2__test_encode(ptr nocapture noundef writeonly % ret i32 0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal noundef i32 @H5B2__test_decode(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal noundef i32 @H5B2__test_decode(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) #2 { %4 = load i8, ptr %2, align 1 switch i8 %4, label %.loopexit [ i8 4, label %5 @@ -215,9 +215,9 @@ define internal noundef i32 @H5B2__test_decode(ptr nocapture noundef readonly %0 } ; Function Attrs: nofree nounwind uwtable -define internal noundef i32 @H5B2__test_debug(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture readnone %4) #4 { +define internal noundef i32 @H5B2__test_debug(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture readnone %4) #3 { %6 = load i64, ptr %3, align 8 - %7 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.13, i32 noundef %1, ptr noundef nonnull @.str.14, i32 noundef %2, ptr noundef nonnull @.str.15, i64 noundef %6) #10 + %7 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.13, i32 noundef %1, ptr noundef nonnull @.str.14, i32 noundef %2, ptr noundef nonnull @.str.15, i64 noundef %6) #8 ret i32 0 } @@ -237,8 +237,8 @@ define internal noundef i32 @H5B2__test2_compare(ptr nocapture noundef readonly ret i32 0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal noundef i32 @H5B2__test2_encode(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal noundef i32 @H5B2__test2_encode(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #2 { %4 = load i8, ptr %2, align 1 switch i8 %4, label %30 [ i8 4, label %5 @@ -366,8 +366,8 @@ thread-pre-split: ; preds = %17, %thread-pre-spl ret i32 0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal noundef i32 @H5B2__test2_decode(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal noundef i32 @H5B2__test2_decode(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) #2 { %4 = load i8, ptr %2, align 1 switch i8 %4, label %45 [ i8 4, label %5 @@ -514,16 +514,16 @@ thread-pre-split: ; preds = %5, %34, %36 } ; Function Attrs: nofree nounwind uwtable -define internal noundef i32 @H5B2__test2_debug(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture readnone %4) #4 { +define internal noundef i32 @H5B2__test2_debug(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture readnone %4) #3 { %6 = load i64, ptr %3, align 8 %7 = getelementptr inbounds i8, ptr %3, i64 8 %8 = load i64, ptr %7, align 8 - %9 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.16, i32 noundef %1, ptr noundef nonnull @.str.14, i32 noundef %2, ptr noundef nonnull @.str.15, i64 noundef %6, i64 noundef %8) #10 + %9 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.16, i32 noundef %1, ptr noundef nonnull @.str.14, i32 noundef %2, ptr noundef nonnull @.str.15, i64 noundef %6, i64 noundef %8) #8 ret i32 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define noundef i32 @H5B2__get_root_addr_test(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #6 { +define noundef i32 @H5B2__get_root_addr_test(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #4 { %3 = load ptr, ptr %0, align 8 %4 = getelementptr inbounds i8, ptr %3, i64 248 %5 = load i64, ptr %4, align 8 @@ -557,7 +557,7 @@ define range(i32 -1, 1) i32 @H5B2__get_node_info_test(ptr nocapture noundef read 20: ; preds = %3 %21 = load i64, ptr @H5E_BTREE_g, align 8 %22 = load i64, ptr @H5E_NOTFOUND_g, align 8 - %23 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 475, i64 noundef %21, i64 noundef %22, ptr noundef nonnull @.str.3) #10 + %23 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 475, i64 noundef %21, i64 noundef %22, ptr noundef nonnull @.str.3) #8 br label %151 24: ; preds = %3 @@ -576,14 +576,14 @@ define range(i32 -1, 1) i32 @H5B2__get_node_info_test(ptr nocapture noundef read 30: ; preds = %.lr.ph, %82 %.1101 = phi ptr [ %spec.select, %.lr.ph ], [ %spec.select76, %82 ] %.064100 = phi i16 [ %26, %.lr.ph ], [ %85, %82 ] - %31 = call ptr @H5B2__protect_internal(ptr noundef nonnull %12, ptr noundef %.1101, ptr noundef nonnull %4, i16 noundef zeroext %.064100, i1 noundef zeroext false, i32 noundef 128) #10 + %31 = call ptr @H5B2__protect_internal(ptr noundef nonnull %12, ptr noundef %.1101, ptr noundef nonnull %4, i16 noundef zeroext %.064100, i1 noundef zeroext false, i32 noundef 128) #8 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %37 33: ; preds = %30 %34 = load i64, ptr @H5E_BTREE_g, align 8 %35 = load i64, ptr @H5E_CANTPROTECT_g, align 8 - %36 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 486, i64 noundef %34, i64 noundef %35, ptr noundef nonnull @.str.4) #10 + %36 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 486, i64 noundef %34, i64 noundef %35, ptr noundef nonnull @.str.4) #8 br label %151 37: ; preds = %30 @@ -593,14 +593,14 @@ define range(i32 -1, 1) i32 @H5B2__get_node_info_test(ptr nocapture noundef read br i1 %or.cond77, label %45, label %38 38: ; preds = %37 - %39 = call i32 @H5AC_unpin_entry(ptr noundef nonnull %.1101) #10 + %39 = call i32 @H5AC_unpin_entry(ptr noundef nonnull %.1101) #8 %40 = icmp slt i32 %39, 0 br i1 %40, label %41, label %45 41: ; preds = %38 %42 = load i64, ptr @H5E_BTREE_g, align 8 %43 = load i64, ptr @H5E_CANTUNPIN_g, align 8 - %44 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 491, i64 noundef %42, i64 noundef %43, ptr noundef nonnull @.str.5) #10 + %44 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 491, i64 noundef %42, i64 noundef %43, ptr noundef nonnull @.str.5) #8 br label %151 45: ; preds = %38, %37 @@ -611,14 +611,14 @@ define range(i32 -1, 1) i32 @H5B2__get_node_info_test(ptr nocapture noundef read %50 = load ptr, ptr %28, align 8 %51 = getelementptr inbounds i8, ptr %31, i64 256 %52 = load ptr, ptr %51, align 8 - %53 = call i32 @H5B2__locate_record(ptr noundef %46, i32 noundef %49, ptr noundef %50, ptr noundef %52, ptr noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %5) #10 + %53 = call i32 @H5B2__locate_record(ptr noundef %46, i32 noundef %49, ptr noundef %50, ptr noundef %52, ptr noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %5) #8 %54 = icmp slt i32 %53, 0 br i1 %54, label %55, label %59 55: ; preds = %45 %56 = load i64, ptr @H5E_BTREE_g, align 8 %57 = load i64, ptr @H5E_CANTCOMPARE_g, align 8 - %58 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 498, i64 noundef %56, i64 noundef %57, ptr noundef nonnull @.str.6) #10 + %58 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 498, i64 noundef %56, i64 noundef %57, ptr noundef nonnull @.str.6) #8 br label %.thread80 59: ; preds = %45 @@ -652,14 +652,14 @@ define range(i32 -1, 1) i32 @H5B2__get_node_info_test(ptr nocapture noundef read %73 = load i8, ptr %14, align 8 %74 = trunc i8 %73 to i1 %75 = select i1 %74, i32 4, i32 0 - %76 = call i32 @H5AC_unprotect(ptr noundef %71, ptr noundef nonnull @H5AC_BT2_INT, i64 noundef %72, ptr noundef nonnull %31, i32 noundef %75) #10 + %76 = call i32 @H5AC_unprotect(ptr noundef %71, ptr noundef nonnull @H5AC_BT2_INT, i64 noundef %72, ptr noundef nonnull %31, i32 noundef %75) #8 %77 = icmp slt i32 %76, 0 br i1 %77, label %78, label %82 78: ; preds = %65 %79 = load i64, ptr @H5E_BTREE_g, align 8 %80 = load i64, ptr @H5E_CANTUNPROTECT_g, align 8 - %81 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 510, i64 noundef %79, i64 noundef %80, ptr noundef nonnull @.str.7) #10 + %81 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 510, i64 noundef %79, i64 noundef %80, ptr noundef nonnull @.str.7) #8 br label %.thread80 82: ; preds = %65 @@ -677,14 +677,14 @@ define range(i32 -1, 1) i32 @H5B2__get_node_info_test(ptr nocapture noundef read 90: ; preds = %64 %91 = load ptr, ptr %29, align 8 %92 = load i64, ptr %4, align 8 - %93 = call i32 @H5AC_unprotect(ptr noundef %91, ptr noundef nonnull @H5AC_BT2_INT, i64 noundef %92, ptr noundef nonnull %31, i32 noundef 0) #10 + %93 = call i32 @H5AC_unprotect(ptr noundef %91, ptr noundef nonnull @H5AC_BT2_INT, i64 noundef %92, ptr noundef nonnull %31, i32 noundef 0) #8 %94 = icmp slt i32 %93, 0 br i1 %94, label %95, label %99 95: ; preds = %90 %96 = load i64, ptr @H5E_BTREE_g, align 8 %97 = load i64, ptr @H5E_CANTUNPROTECT_g, align 8 - %98 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 522, i64 noundef %96, i64 noundef %97, ptr noundef nonnull @.str.7) #10 + %98 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 522, i64 noundef %96, i64 noundef %97, ptr noundef nonnull @.str.7) #8 br label %.thread80 99: ; preds = %90 @@ -697,14 +697,14 @@ define range(i32 -1, 1) i32 @H5B2__get_node_info_test(ptr nocapture noundef read ._crit_edge: ; preds = %82, %24 %.064.lcssa = phi i16 [ 0, %24 ], [ %85, %82 ] %.1.lcssa = phi ptr [ %spec.select, %24 ], [ %spec.select76, %82 ] - %102 = call ptr @H5B2__protect_leaf(ptr noundef nonnull %12, ptr noundef %.1.lcssa, ptr noundef nonnull %4, i1 noundef zeroext false, i32 noundef 128) #10 + %102 = call ptr @H5B2__protect_leaf(ptr noundef nonnull %12, ptr noundef %.1.lcssa, ptr noundef nonnull %4, i1 noundef zeroext false, i32 noundef 128) #8 %103 = icmp eq ptr %102, null br i1 %103, label %104, label %108 104: ; preds = %._crit_edge %105 = load i64, ptr @H5E_BTREE_g, align 8 %106 = load i64, ptr @H5E_CANTPROTECT_g, align 8 - %107 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 541, i64 noundef %105, i64 noundef %106, ptr noundef nonnull @.str.8) #10 + %107 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 541, i64 noundef %105, i64 noundef %106, ptr noundef nonnull @.str.8) #8 br label %151 108: ; preds = %._crit_edge @@ -714,14 +714,14 @@ define range(i32 -1, 1) i32 @H5B2__get_node_info_test(ptr nocapture noundef read br i1 %or.cond78, label %116, label %109 109: ; preds = %108 - %110 = call i32 @H5AC_unpin_entry(ptr noundef nonnull %.1.lcssa) #10 + %110 = call i32 @H5AC_unpin_entry(ptr noundef nonnull %.1.lcssa) #8 %111 = icmp slt i32 %110, 0 br i1 %111, label %112, label %116 112: ; preds = %109 %113 = load i64, ptr @H5E_BTREE_g, align 8 %114 = load i64, ptr @H5E_CANTUNPIN_g, align 8 - %115 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 546, i64 noundef %113, i64 noundef %114, ptr noundef nonnull @.str.5) #10 + %115 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 546, i64 noundef %113, i64 noundef %114, ptr noundef nonnull @.str.5) #8 br label %151 116: ; preds = %109, %108 @@ -734,28 +734,28 @@ define range(i32 -1, 1) i32 @H5B2__get_node_info_test(ptr nocapture noundef read %123 = load ptr, ptr %122, align 8 %124 = getelementptr inbounds i8, ptr %102, i64 256 %125 = load ptr, ptr %124, align 8 - %126 = call i32 @H5B2__locate_record(ptr noundef %118, i32 noundef %121, ptr noundef %123, ptr noundef %125, ptr noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %5) #10 + %126 = call i32 @H5B2__locate_record(ptr noundef %118, i32 noundef %121, ptr noundef %123, ptr noundef %125, ptr noundef %1, ptr noundef nonnull %6, ptr noundef nonnull %5) #8 %127 = icmp slt i32 %126, 0 br i1 %127, label %128, label %132 128: ; preds = %116 %129 = load i64, ptr @H5E_BTREE_g, align 8 %130 = load i64, ptr @H5E_CANTCOMPARE_g, align 8 - %131 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 552, i64 noundef %129, i64 noundef %130, ptr noundef nonnull @.str.6) #10 + %131 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 552, i64 noundef %129, i64 noundef %130, ptr noundef nonnull @.str.6) #8 br label %.thread80 132: ; preds = %116 %133 = getelementptr inbounds i8, ptr %12, i64 288 %134 = load ptr, ptr %133, align 8 %135 = load i64, ptr %4, align 8 - %136 = call i32 @H5AC_unprotect(ptr noundef %134, ptr noundef nonnull @H5AC_BT2_LEAF, i64 noundef %135, ptr noundef nonnull %102, i32 noundef 0) #10 + %136 = call i32 @H5AC_unprotect(ptr noundef %134, ptr noundef nonnull @H5AC_BT2_LEAF, i64 noundef %135, ptr noundef nonnull %102, i32 noundef 0) #8 %137 = icmp slt i32 %136, 0 br i1 %137, label %138, label %142 138: ; preds = %132 %139 = load i64, ptr @H5E_BTREE_g, align 8 %140 = load i64, ptr @H5E_CANTUNPROTECT_g, align 8 - %141 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 556, i64 noundef %139, i64 noundef %140, ptr noundef nonnull @.str.7) #10 + %141 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 556, i64 noundef %139, i64 noundef %140, ptr noundef nonnull @.str.7) #8 br label %.thread80 142: ; preds = %132 @@ -766,7 +766,7 @@ define range(i32 -1, 1) i32 @H5B2__get_node_info_test(ptr nocapture noundef read 144: ; preds = %142 %145 = load i64, ptr @H5E_BTREE_g, align 8 %146 = load i64, ptr @H5E_NOTFOUND_g, align 8 - %147 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 560, i64 noundef %145, i64 noundef %146, ptr noundef nonnull @.str.9) #10 + %147 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 560, i64 noundef %145, i64 noundef %146, ptr noundef nonnull @.str.9) #8 br label %.thread80 148: ; preds = %142 @@ -784,14 +784,14 @@ define range(i32 -1, 1) i32 @H5B2__get_node_info_test(ptr nocapture noundef read br i1 %or.cond, label %.thread80, label %152 152: ; preds = %151 - %153 = call i32 @H5AC_unpin_entry(ptr noundef nonnull %.5) #10 + %153 = call i32 @H5AC_unpin_entry(ptr noundef nonnull %.5) #8 %154 = icmp slt i32 %153, 0 br i1 %154, label %155, label %.thread80 155: ; preds = %152 %156 = load i64, ptr @H5E_BTREE_g, align 8 %157 = load i64, ptr @H5E_CANTUNPIN_g, align 8 - %158 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 571, i64 noundef %156, i64 noundef %157, ptr noundef nonnull @.str.5) #10 + %158 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_info_test, i32 noundef 571, i64 noundef %156, i64 noundef %157, ptr noundef nonnull @.str.5) #8 br label %.thread80 .thread80: ; preds = %148, %144, %138, %128, %99, %95, %78, %55, %152, %155, %151 @@ -800,19 +800,19 @@ define range(i32 -1, 1) i32 @H5B2__get_node_info_test(ptr nocapture noundef read } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5 -declare i32 @H5E_printf_stack(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #8 +declare i32 @H5E_printf_stack(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #6 -declare ptr @H5B2__protect_internal(ptr noundef, ptr noundef, ptr noundef, i16 noundef zeroext, i1 noundef zeroext, i32 noundef) local_unnamed_addr #8 +declare ptr @H5B2__protect_internal(ptr noundef, ptr noundef, ptr noundef, i16 noundef zeroext, i1 noundef zeroext, i32 noundef) local_unnamed_addr #6 -declare i32 @H5AC_unpin_entry(ptr noundef) local_unnamed_addr #8 +declare i32 @H5AC_unpin_entry(ptr noundef) local_unnamed_addr #6 -declare i32 @H5B2__locate_record(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #8 +declare i32 @H5B2__locate_record(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6 -declare i32 @H5AC_unprotect(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #8 +declare i32 @H5AC_unprotect(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #6 -declare ptr @H5B2__protect_leaf(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext, i32 noundef) local_unnamed_addr #8 +declare ptr @H5B2__protect_leaf(ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext, i32 noundef) local_unnamed_addr #6 ; Function Attrs: nounwind uwtable define range(i32 -1, 65536) i32 @H5B2__get_node_depth_test(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { @@ -824,7 +824,7 @@ define range(i32 -1, 65536) i32 @H5B2__get_node_depth_test(ptr nocapture noundef 6: ; preds = %2 %7 = load i64, ptr @H5E_BTREE_g, align 8 %8 = load i64, ptr @H5E_NOTFOUND_g, align 8 - %9 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_depth_test, i32 noundef 604, i64 noundef %7, i64 noundef %8, ptr noundef nonnull @.str.10) #10 + %9 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5B2__get_node_depth_test, i32 noundef 604, i64 noundef %7, i64 noundef %8, ptr noundef nonnull @.str.10) #8 br label %13 10: ; preds = %2 @@ -837,26 +837,24 @@ define range(i32 -1, 65536) i32 @H5B2__get_node_depth_test(ptr nocapture noundef ret i32 %.0 } -declare noalias ptr @H5FL_reg_malloc(ptr noundef) local_unnamed_addr #8 +declare noalias ptr @H5FL_reg_malloc(ptr noundef) local_unnamed_addr #6 -declare zeroext i8 @H5F_sizeof_size(ptr noundef) local_unnamed_addr #8 +declare zeroext i8 @H5F_sizeof_size(ptr noundef) local_unnamed_addr #6 -declare ptr @H5FL_reg_free(ptr noundef, ptr noundef) local_unnamed_addr #8 +declare ptr @H5FL_reg_free(ptr noundef, ptr noundef) local_unnamed_addr #6 ; Function Attrs: nofree nounwind -declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #9 +declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #7 attributes #0 = { 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 #1 = { 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 #2 = { nofree norecurse nosync nounwind 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 #3 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #8 = { "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 #9 = { 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 #10 = { nounwind } +attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #6 = { "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 #7 = { 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 #8 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/hdf5/optimized/H5Dbtree.c.ll b/bench/hdf5/optimized/H5Dbtree.c.ll index 7096cd4a9ae..501f4f9975e 100644 --- a/bench/hdf5/optimized/H5Dbtree.c.ll +++ b/bench/hdf5/optimized/H5Dbtree.c.ll @@ -112,7 +112,7 @@ define internal range(i32 -1, 1) i32 @H5D__btree_idx_init(ptr nocapture noundef 13: ; preds = %3 %14 = load i64, ptr @H5E_RESOURCE_g, align 8 %15 = load i64, ptr @H5E_CANTINIT_g, align 8 - %16 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_init, i32 noundef 829, i64 noundef %14, i64 noundef %15, ptr noundef nonnull @.str.1) #16 + %16 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_init, i32 noundef 829, i64 noundef %14, i64 noundef %15, ptr noundef nonnull @.str.1) #15 br label %17 17: ; preds = %3, %13 @@ -132,14 +132,14 @@ define internal range(i32 -1, 1) i32 @H5D__btree_idx_create(ptr nocapture nounde store ptr %6, ptr %7, align 8 %8 = load ptr, ptr %0, align 8 %9 = getelementptr inbounds i8, ptr %6, i64 8 - %10 = call i32 @H5B_create(ptr noundef %8, ptr noundef nonnull @H5B_BTREE, ptr noundef nonnull %2, ptr noundef nonnull %9) #16 + %10 = call i32 @H5B_create(ptr noundef %8, ptr noundef nonnull @H5B_BTREE, ptr noundef nonnull %2, ptr noundef nonnull %9) #15 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %16 12: ; preds = %1 %13 = load i64, ptr @H5E_DATASET_g, align 8 %14 = load i64, ptr @H5E_CANTINIT_g, align 8 - %15 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_create, i32 noundef 873, i64 noundef %13, i64 noundef %14, ptr noundef nonnull @.str.4) #16 + %15 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_create, i32 noundef 873, i64 noundef %13, i64 noundef %14, ptr noundef nonnull @.str.4) #15 br label %16 16: ; preds = %1, %12 @@ -184,14 +184,14 @@ define internal range(i32 -1, 1) i32 @H5D__btree_idx_insert(ptr nocapture nounde %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 8 %8 = load i64, ptr %7, align 8 - %9 = tail call i32 @H5B_insert(ptr noundef %4, ptr noundef nonnull @H5B_BTREE, i64 noundef %8, ptr noundef %1) #16 + %9 = tail call i32 @H5B_insert(ptr noundef %4, ptr noundef nonnull @H5B_BTREE, i64 noundef %8, ptr noundef %1) #15 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %15 11: ; preds = %3 %12 = load i64, ptr @H5E_IO_g, align 8 %13 = load i64, ptr @H5E_WRITEERROR_g, align 8 - %14 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_insert, i32 noundef 991, i64 noundef %12, i64 noundef %13, ptr noundef nonnull @.str.5) #16 + %14 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_insert, i32 noundef 991, i64 noundef %12, i64 noundef %13, ptr noundef nonnull @.str.5) #15 br label %15 15: ; preds = %3, %11 @@ -208,14 +208,14 @@ define internal range(i32 -1, 1) i32 @H5D__btree_idx_get_addr(ptr nocapture noun %6 = load ptr, ptr %5, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 8 %8 = load i64, ptr %7, align 8 - %9 = call i32 @H5B_find(ptr noundef %4, ptr noundef nonnull @H5B_BTREE, i64 noundef %8, ptr noundef nonnull %3, ptr noundef %1) #16 + %9 = call i32 @H5B_find(ptr noundef %4, ptr noundef nonnull @H5B_BTREE, i64 noundef %8, ptr noundef nonnull %3, ptr noundef %1) #15 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %15 11: ; preds = %2 %12 = load i64, ptr @H5E_DATASET_g, align 8 %13 = load i64, ptr @H5E_CANTFIND_g, align 8 - %14 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_get_addr, i32 noundef 1028, i64 noundef %12, i64 noundef %13, ptr noundef nonnull @.str.6) #16 + %14 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_get_addr, i32 noundef 1028, i64 noundef %12, i64 noundef %13, ptr noundef nonnull @.str.6) #15 br label %15 15: ; preds = %2, %11 @@ -247,14 +247,14 @@ define internal i32 @H5D__btree_idx_iterate(ptr nocapture noundef readonly %0, p %13 = load ptr, ptr %0, align 8 %14 = getelementptr inbounds i8, ptr %9, i64 8 %15 = load i64, ptr %14, align 8 - %16 = call i32 @H5B_iterate(ptr noundef %13, ptr noundef nonnull @H5B_BTREE, i64 noundef %15, ptr noundef nonnull @H5D__btree_idx_iterate_cb, ptr noundef nonnull %4) #16 + %16 = call i32 @H5B_iterate(ptr noundef %13, ptr noundef nonnull @H5B_BTREE, i64 noundef %15, ptr noundef nonnull @H5D__btree_idx_iterate_cb, ptr noundef nonnull %4) #15 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %22 18: ; preds = %3 %19 = load i64, ptr @H5E_DATASET_g, align 8 %20 = load i64, ptr @H5E_BADITER_g, align 8 - %21 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_iterate, i32 noundef 1133, i64 noundef %19, i64 noundef %20, ptr noundef nonnull @.str.7) #16 + %21 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_iterate, i32 noundef 1133, i64 noundef %19, i64 noundef %20, ptr noundef nonnull @.str.7) #15 br label %22 22: ; preds = %18, %3 @@ -268,14 +268,14 @@ define internal range(i32 -1, 1) i32 @H5D__btree_idx_remove(ptr nocapture nounde %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 8 %7 = load i64, ptr %6, align 8 - %8 = tail call i32 @H5B_remove(ptr noundef %3, ptr noundef nonnull @H5B_BTREE, i64 noundef %7, ptr noundef %1) #16 + %8 = tail call i32 @H5B_remove(ptr noundef %3, ptr noundef nonnull @H5B_BTREE, i64 noundef %7, ptr noundef %1) #15 %9 = icmp slt i32 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %2 %11 = load i64, ptr @H5E_DATASET_g, align 8 %12 = load i64, ptr @H5E_CANTDELETE_g, align 8 - %13 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_remove, i32 noundef 1166, i64 noundef %11, i64 noundef %12, ptr noundef nonnull @.str.9) #16 + %13 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_remove, i32 noundef 1166, i64 noundef %11, i64 noundef %12, ptr noundef nonnull @.str.9) #15 br label %14 14: ; preds = %2, %10 @@ -306,7 +306,7 @@ define internal range(i32 -1, 1) i32 @H5D__btree_idx_delete(ptr nocapture nounde 14: ; preds = %8 %15 = load i64, ptr @H5E_DATASET_g, align 8 %16 = load i64, ptr @H5E_CANTINIT_g, align 8 - %17 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_delete, i32 noundef 1207, i64 noundef %15, i64 noundef %16, ptr noundef nonnull @.str.1) #16 + %17 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_delete, i32 noundef 1207, i64 noundef %15, i64 noundef %16, ptr noundef nonnull @.str.1) #15 br label %46 18: ; preds = %8 @@ -319,14 +319,14 @@ define internal range(i32 -1, 1) i32 @H5D__btree_idx_delete(ptr nocapture nounde %22 = load ptr, ptr %0, align 8 %23 = getelementptr inbounds i8, ptr %2, i64 8 %24 = load i64, ptr %23, align 8 - %25 = call i32 @H5B_delete(ptr noundef %22, ptr noundef nonnull @H5B_BTREE, i64 noundef %24, ptr noundef nonnull %3) #16 + %25 = call i32 @H5B_delete(ptr noundef %22, ptr noundef nonnull @H5B_BTREE, i64 noundef %24, ptr noundef nonnull %3) #15 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %31 27: ; preds = %18 %28 = load i64, ptr @H5E_DATASET_g, align 8 %29 = load i64, ptr @H5E_CANTDELETE_g, align 8 - %30 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_delete, i32 noundef 1216, i64 noundef %28, i64 noundef %29, ptr noundef nonnull @.str.10) #16 + %30 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_delete, i32 noundef 1216, i64 noundef %28, i64 noundef %29, ptr noundef nonnull @.str.10) #15 br label %46 31: ; preds = %18 @@ -338,18 +338,18 @@ define internal range(i32 -1, 1) i32 @H5D__btree_idx_delete(ptr nocapture nounde 35: ; preds = %31 %36 = load i64, ptr @H5E_DATASET_g, align 8 %37 = load i64, ptr @H5E_CANTFREE_g, align 8 - %38 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_delete, i32 noundef 1220, i64 noundef %36, i64 noundef %37, ptr noundef nonnull @.str.11) #16 + %38 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_delete, i32 noundef 1220, i64 noundef %36, i64 noundef %37, ptr noundef nonnull @.str.11) #15 br label %46 39: ; preds = %31 - %40 = call i32 @H5UC_decr(ptr noundef nonnull %33) #16 + %40 = call i32 @H5UC_decr(ptr noundef nonnull %33) #15 %41 = icmp slt i32 %40, 0 br i1 %41, label %42, label %46 42: ; preds = %39 %43 = load i64, ptr @H5E_DATASET_g, align 8 %44 = load i64, ptr @H5E_CANTFREE_g, align 8 - %45 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_delete, i32 noundef 1222, i64 noundef %43, i64 noundef %44, ptr noundef nonnull @.str.12) #16 + %45 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_delete, i32 noundef 1222, i64 noundef %43, i64 noundef %44, ptr noundef nonnull @.str.12) #15 br label %46 46: ; preds = %1, %39, %42, %35, %27, %14 @@ -362,7 +362,7 @@ define internal range(i32 -1, 1) i32 @H5D__btree_idx_copy_setup(ptr nocapture no %3 = alloca %struct.H5D_chunk_common_ud_t, align 8 %4 = alloca i64, align 8 store i64 -1, ptr %4, align 8 - call void @H5AC_tag(i64 noundef 2, ptr noundef nonnull %4) #16 + call void @H5AC_tag(i64 noundef 2, ptr noundef nonnull %4) #15 %5 = load ptr, ptr %0, align 8 %6 = getelementptr inbounds i8, ptr %0, i64 24 %7 = load ptr, ptr %6, align 8 @@ -375,7 +375,7 @@ define internal range(i32 -1, 1) i32 @H5D__btree_idx_copy_setup(ptr nocapture no 12: ; preds = %2 %13 = load i64, ptr @H5E_RESOURCE_g, align 8 %14 = load i64, ptr @H5E_CANTINIT_g, align 8 - %15 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_copy_setup, i32 noundef 1259, i64 noundef %13, i64 noundef %14, ptr noundef nonnull @.str.13) #16 + %15 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_copy_setup, i32 noundef 1259, i64 noundef %13, i64 noundef %14, ptr noundef nonnull @.str.13) #15 br label %43 16: ; preds = %2 @@ -391,7 +391,7 @@ define internal range(i32 -1, 1) i32 @H5D__btree_idx_copy_setup(ptr nocapture no 24: ; preds = %16 %25 = load i64, ptr @H5E_RESOURCE_g, align 8 %26 = load i64, ptr @H5E_CANTINIT_g, align 8 - %27 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_copy_setup, i32 noundef 1262, i64 noundef %25, i64 noundef %26, ptr noundef nonnull @.str.14) #16 + %27 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_copy_setup, i32 noundef 1262, i64 noundef %25, i64 noundef %26, ptr noundef nonnull @.str.14) #15 br label %43 28: ; preds = %16 @@ -403,7 +403,7 @@ define internal range(i32 -1, 1) i32 @H5D__btree_idx_copy_setup(ptr nocapture no store ptr %30, ptr %31, align 8 %32 = load ptr, ptr %1, align 8 %33 = getelementptr inbounds i8, ptr %30, i64 8 - %34 = call i32 @H5B_create(ptr noundef %32, ptr noundef nonnull @H5B_BTREE, ptr noundef nonnull %3, ptr noundef nonnull %33) #16 + %34 = call i32 @H5B_create(ptr noundef %32, ptr noundef nonnull @H5B_BTREE, ptr noundef nonnull %3, ptr noundef nonnull %33) #15 %35 = icmp slt i32 %34, 0 br i1 %35, label %36, label %H5D__btree_idx_create.exit @@ -414,17 +414,17 @@ H5D__btree_idx_create.exit: ; preds = %28 36: ; preds = %28 %37 = load i64, ptr @H5E_DATASET_g, align 8 %38 = load i64, ptr @H5E_CANTINIT_g, align 8 - %39 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_create, i32 noundef 873, i64 noundef %37, i64 noundef %38, ptr noundef nonnull @.str.4) #16 + %39 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_create, i32 noundef 873, i64 noundef %37, i64 noundef %38, ptr noundef nonnull @.str.4) #15 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) %40 = load i64, ptr @H5E_IO_g, align 8 %41 = load i64, ptr @H5E_CANTINIT_g, align 8 - %42 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_copy_setup, i32 noundef 1266, i64 noundef %40, i64 noundef %41, ptr noundef nonnull @.str.15) #16 + %42 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_copy_setup, i32 noundef 1266, i64 noundef %40, i64 noundef %41, ptr noundef nonnull @.str.15) #15 br label %43 43: ; preds = %H5D__btree_idx_create.exit, %36, %24, %12 %.0 = phi i32 [ -1, %12 ], [ -1, %24 ], [ -1, %36 ], [ 0, %H5D__btree_idx_create.exit ] %44 = load i64, ptr %4, align 8 - call void @H5AC_tag(i64 noundef %44, ptr noundef null) #16 + call void @H5AC_tag(i64 noundef %44, ptr noundef null) #15 ret i32 %.0 } @@ -432,14 +432,14 @@ H5D__btree_idx_create.exit: ; preds = %28 define internal range(i32 -1, 1) i32 @H5D__btree_idx_copy_shutdown(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 32 %4 = load ptr, ptr %3, align 8 - %5 = tail call i32 @H5UC_decr(ptr noundef %4) #16 + %5 = tail call i32 @H5UC_decr(ptr noundef %4) #15 %6 = icmp slt i32 %5, 0 br i1 %6, label %.sink.split, label %7 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %1, i64 32 %9 = load ptr, ptr %8, align 8 - %10 = tail call i32 @H5UC_decr(ptr noundef %9) #16 + %10 = tail call i32 @H5UC_decr(ptr noundef %9) #15 %11 = icmp slt i32 %10, 0 br i1 %11, label %.sink.split, label %15 @@ -447,7 +447,7 @@ define internal range(i32 -1, 1) i32 @H5D__btree_idx_copy_shutdown(ptr nocapture %.sink = phi i32 [ 1294, %2 ], [ 1296, %7 ] %12 = load i64, ptr @H5E_DATASET_g, align 8 %13 = load i64, ptr @H5E_CANTDEC_g, align 8 - %14 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_copy_shutdown, i32 noundef %.sink, i64 noundef %12, i64 noundef %13, ptr noundef nonnull @.str.12) #16 + %14 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_copy_shutdown, i32 noundef %.sink, i64 noundef %12, i64 noundef %13, ptr noundef nonnull @.str.12) #15 br label %15 15: ; preds = %.sink.split, %7 @@ -471,14 +471,14 @@ define internal range(i32 -1, 1) i32 @H5D__btree_idx_size(ptr nocapture noundef %11 = load ptr, ptr %0, align 8 %12 = getelementptr inbounds i8, ptr %9, i64 8 %13 = load i64, ptr %12, align 8 - %14 = call i32 @H5B_get_info(ptr noundef %11, ptr noundef nonnull @H5B_BTREE, i64 noundef %13, ptr noundef nonnull %4, ptr noundef null, ptr noundef nonnull %3) #16 + %14 = call i32 @H5B_get_info(ptr noundef %11, ptr noundef nonnull @H5B_BTREE, i64 noundef %13, ptr noundef nonnull %4, ptr noundef null, ptr noundef nonnull %3) #15 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %2 %17 = load i64, ptr @H5E_BTREE_g, align 8 %18 = load i64, ptr @H5E_CANTINIT_g, align 8 - %19 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_size, i32 noundef 1336, i64 noundef %17, i64 noundef %18, ptr noundef nonnull @.str.7) #16 + %19 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_size, i32 noundef 1336, i64 noundef %17, i64 noundef %18, ptr noundef nonnull @.str.7) #15 br label %22 20: ; preds = %2 @@ -510,7 +510,7 @@ define internal noundef i32 @H5D__btree_idx_reset(ptr nocapture noundef writeonl define internal noundef i32 @H5D__btree_idx_dump(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #5 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8 - %5 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.16, i64 noundef %4) #16 + %5 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str.16, i64 noundef %4) #15 ret i32 0 } @@ -526,18 +526,18 @@ define internal range(i32 -1, 1) i32 @H5D__btree_idx_dest(ptr nocapture noundef 7: ; preds = %1 %8 = load i64, ptr @H5E_IO_g, align 8 %9 = load i64, ptr @H5E_CANTFREE_g, align 8 - %10 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_dest, i32 noundef 1415, i64 noundef %8, i64 noundef %9, ptr noundef nonnull @.str.11) #16 + %10 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_dest, i32 noundef 1415, i64 noundef %8, i64 noundef %9, ptr noundef nonnull @.str.11) #15 br label %18 11: ; preds = %1 - %12 = tail call i32 @H5UC_decr(ptr noundef nonnull %5) #16 + %12 = tail call i32 @H5UC_decr(ptr noundef nonnull %5) #15 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %11 %15 = load i64, ptr @H5E_IO_g, align 8 %16 = load i64, ptr @H5E_CANTFREE_g, align 8 - %17 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_dest, i32 noundef 1417, i64 noundef %15, i64 noundef %16, ptr noundef nonnull @.str.12) #16 + %17 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_dest, i32 noundef 1417, i64 noundef %15, i64 noundef %16, ptr noundef nonnull @.str.12) #15 br label %18 18: ; preds = %11, %14, %7 @@ -572,7 +572,7 @@ define range(i32 -1, 1) i32 @H5D_btree_debug(ptr noundef %0, i64 noundef %1, ptr 17: ; preds = %._crit_edge %18 = load i64, ptr @H5E_RESOURCE_g, align 8 %19 = load i64, ptr @H5E_CANTINIT_g, align 8 - %20 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D_btree_debug, i32 noundef 1457, i64 noundef %18, i64 noundef %19, ptr noundef nonnull @.str.1) #16 + %20 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D_btree_debug, i32 noundef 1457, i64 noundef %18, i64 noundef %19, ptr noundef nonnull @.str.1) #15 br label %40 21: ; preds = %._crit_edge @@ -583,7 +583,7 @@ define range(i32 -1, 1) i32 @H5D_btree_debug(ptr noundef %0, i64 noundef %1, ptr store ptr null, ptr %23, align 8 %24 = getelementptr inbounds i8, ptr %8, i64 24 store i32 %5, ptr %24, align 8 - %25 = call i32 @H5B_debug(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef nonnull @H5B_BTREE, ptr noundef nonnull %8) #16 + %25 = call i32 @H5B_debug(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef nonnull @H5B_BTREE, ptr noundef nonnull %8) #15 %26 = getelementptr inbounds i8, ptr %9, i64 32 %27 = load ptr, ptr %26, align 8 %28 = icmp eq ptr %27, null @@ -592,18 +592,18 @@ define range(i32 -1, 1) i32 @H5D_btree_debug(ptr noundef %0, i64 noundef %1, ptr 29: ; preds = %21 %30 = load i64, ptr @H5E_IO_g, align 8 %31 = load i64, ptr @H5E_CANTFREE_g, align 8 - %32 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D_btree_debug, i32 noundef 1473, i64 noundef %30, i64 noundef %31, ptr noundef nonnull @.str.2) #16 + %32 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D_btree_debug, i32 noundef 1473, i64 noundef %30, i64 noundef %31, ptr noundef nonnull @.str.2) #15 br label %40 33: ; preds = %21 - %34 = call i32 @H5UC_decr(ptr noundef nonnull %27) #16 + %34 = call i32 @H5UC_decr(ptr noundef nonnull %27) #15 %35 = icmp slt i32 %34, 0 br i1 %35, label %36, label %40 36: ; preds = %33 %37 = load i64, ptr @H5E_IO_g, align 8 %38 = load i64, ptr @H5E_CANTFREE_g, align 8 - %39 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D_btree_debug, i32 noundef 1475, i64 noundef %37, i64 noundef %38, ptr noundef nonnull @.str.3) #16 + %39 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D_btree_debug, i32 noundef 1475, i64 noundef %37, i64 noundef %38, ptr noundef nonnull @.str.3) #15 br label %40 40: ; preds = %17, %29, %36, %33 @@ -621,32 +621,32 @@ define internal fastcc range(i32 -1, 1) i32 @H5D__btree_shared_create(ptr nounde %6 = shl i32 %5, 3 %7 = add i32 %6, 8 %8 = zext i32 %7 to i64 - %9 = tail call ptr @H5B_shared_new(ptr noundef %0, ptr noundef nonnull @H5B_BTREE, i64 noundef %8) #16 + %9 = tail call ptr @H5B_shared_new(ptr noundef %0, ptr noundef nonnull @H5B_BTREE, i64 noundef %8) #15 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %15 11: ; preds = %3 %12 = load i64, ptr @H5E_DATASET_g, align 8 %13 = load i64, ptr @H5E_NOSPACE_g, align 8 - %14 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_shared_create, i32 noundef 780, i64 noundef %12, i64 noundef %13, ptr noundef nonnull @.str.17) #16 + %14 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_shared_create, i32 noundef 780, i64 noundef %12, i64 noundef %13, ptr noundef nonnull @.str.17) #15 br label %.thread 15: ; preds = %3 - %16 = tail call noalias ptr @H5FL_reg_malloc(ptr noundef nonnull @H5_H5O_layout_chunk_t_reg_free_list) #16 + %16 = tail call noalias ptr @H5FL_reg_malloc(ptr noundef nonnull @H5_H5O_layout_chunk_t_reg_free_list) #15 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %22 18: ; preds = %15 %19 = load i64, ptr @H5E_DATASET_g, align 8 %20 = load i64, ptr @H5E_CANTALLOC_g, align 8 - %21 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_shared_create, i32 noundef 784, i64 noundef %19, i64 noundef %20, ptr noundef nonnull @.str.18) #16 + %21 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_shared_create, i32 noundef 784, i64 noundef %19, i64 noundef %20, ptr noundef nonnull @.str.18) #15 br label %.thread 22: ; preds = %15 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(1896) %16, ptr noundef nonnull align 8 dereferenceable(1896) %2, i64 1896, i1 false) %23 = getelementptr inbounds i8, ptr %9, i64 72 store ptr %16, ptr %23, align 8 - %24 = tail call ptr @H5UC_create(ptr noundef nonnull %9, ptr noundef nonnull @H5D__btree_shared_free) #16 + %24 = tail call ptr @H5UC_create(ptr noundef nonnull %9, ptr noundef nonnull @H5D__btree_shared_free) #15 %25 = getelementptr inbounds i8, ptr %1, i64 32 store ptr %24, ptr %25, align 8 %26 = icmp eq ptr %24, null @@ -655,8 +655,8 @@ define internal fastcc range(i32 -1, 1) i32 @H5D__btree_shared_create(ptr nounde 27: ; preds = %22 %28 = load i64, ptr @H5E_DATASET_g, align 8 %29 = load i64, ptr @H5E_NOSPACE_g, align 8 - %30 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_shared_create, i32 noundef 790, i64 noundef %28, i64 noundef %29, ptr noundef nonnull @.str.19) #16 - %31 = tail call ptr @H5FL_reg_free(ptr noundef nonnull @H5_H5O_layout_chunk_t_reg_free_list, ptr noundef nonnull %16) #16 + %30 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_shared_create, i32 noundef 790, i64 noundef %28, i64 noundef %29, ptr noundef nonnull @.str.19) #15 + %31 = tail call ptr @H5FL_reg_free(ptr noundef nonnull @H5_H5O_layout_chunk_t_reg_free_list, ptr noundef nonnull %16) #15 br label %.thread .thread: ; preds = %18, %11, %22, %27 @@ -688,14 +688,14 @@ define internal i32 @H5D__btree_idx_iterate_cb(ptr nocapture readnone %0, ptr no %9 = load ptr, ptr %8, align 8 %10 = getelementptr inbounds i8, ptr %4, i64 32 %11 = load ptr, ptr %10, align 8 - %12 = call i32 %9(ptr noundef nonnull %6, ptr noundef %11) #16 + %12 = call i32 %9(ptr noundef nonnull %6, ptr noundef %11) #15 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %18 14: ; preds = %5 %15 = load i64, ptr @H5E_DATASET_g, align 8 %16 = load i64, ptr @H5E_CALLBACK_g, align 8 - %17 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_iterate_cb, i32 noundef 1091, i64 noundef %15, i64 noundef %16, ptr noundef nonnull @.str.8) #16 + %17 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_idx_iterate_cb, i32 noundef 1091, i64 noundef %15, i64 noundef %16, ptr noundef nonnull @.str.8) #15 br label %18 18: ; preds = %14, %5 @@ -726,16 +726,16 @@ declare ptr @H5UC_create(ptr noundef, ptr noundef) local_unnamed_addr #7 define internal range(i32 -1, 1) i32 @H5D__btree_shared_free(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 72 %3 = load ptr, ptr %2, align 8 - %4 = tail call ptr @H5FL_reg_free(ptr noundef nonnull @H5_H5O_layout_chunk_t_reg_free_list, ptr noundef %3) #16 + %4 = tail call ptr @H5FL_reg_free(ptr noundef nonnull @H5_H5O_layout_chunk_t_reg_free_list, ptr noundef %3) #15 store ptr %4, ptr %2, align 8 - %5 = tail call i32 @H5B_shared_free(ptr noundef %0) #16 + %5 = tail call i32 @H5B_shared_free(ptr noundef %0) #15 %6 = icmp slt i32 %5, 0 br i1 %6, label %7, label %11 7: ; preds = %1 %8 = load i64, ptr @H5E_DATASET_g, align 8 %9 = load i64, ptr @H5E_CANTFREE_g, align 8 - %10 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_shared_free, i32 noundef 748, i64 noundef %8, i64 noundef %9, ptr noundef nonnull @.str.21) #16 + %10 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_shared_free, i32 noundef 748, i64 noundef %8, i64 noundef %9, ptr noundef nonnull @.str.21) #15 br label %11 11: ; preds = %1, %7 @@ -1126,7 +1126,7 @@ H5D__btree_cmp3.exit: ; preds = %20, %22 H5D__btree_cmp3.exit.thread49: ; preds = %.lr.ph.i24.i, %H5VM_vector_cmp_u.exit.thread32.i, %H5D__btree_cmp3.exit %54 = load i64, ptr @H5E_STORAGE_g, align 8 %55 = load i64, ptr @H5E_UNSUPPORTED_g, align 8 - %56 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_insert, i32 noundef 533, i64 noundef %54, i64 noundef %55, ptr noundef nonnull @.str.22) #16 + %56 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_insert, i32 noundef 533, i64 noundef %54, i64 noundef %55, ptr noundef nonnull @.str.22) #15 br label %117 H5D__btree_cmp3.exit.thread: ; preds = %36, %47, %H5VM_vector_cmp_u.exit.i, %31, %27, %22, %16, %H5D__btree_cmp3.exit @@ -1263,7 +1263,7 @@ H5D__chunk_disjoint.exit: ; preds = %.lr.ph.i44, %.lr.ph H5D__chunk_disjoint.exit.thread: ; preds = %H5VM_vector_cmp_u.exit.thread, %H5D__chunk_disjoint.exit %114 = load i64, ptr @H5E_IO_g, align 8 %115 = load i64, ptr @H5E_UNSUPPORTED_g, align 8 - %116 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_insert, i32 noundef 572, i64 noundef %114, i64 noundef %115, ptr noundef nonnull @.str.22) #16 + %116 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_insert, i32 noundef 572, i64 noundef %114, i64 noundef %115, ptr noundef nonnull @.str.22) #15 br label %117 117: ; preds = %69, %73, %._crit_edge, %H5D__chunk_disjoint.exit.thread, %H5D__btree_cmp3.exit.thread49 @@ -1276,14 +1276,14 @@ define internal range(i32 -1, 6) i32 @H5D__btree_remove(ptr noundef %0, i64 noun %8 = getelementptr inbounds i8, ptr %2, i64 264 %9 = load i32, ptr %8, align 8 %10 = zext i32 %9 to i64 - %11 = tail call i32 @H5MF_xfree(ptr noundef %0, i32 noundef 3, i64 noundef %1, i64 noundef %10) #16 + %11 = tail call i32 @H5MF_xfree(ptr noundef %0, i32 noundef 3, i64 noundef %1, i64 noundef %10) #15 %12 = icmp slt i32 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %7 %14 = load i64, ptr @H5E_STORAGE_g, align 8 %15 = load i64, ptr @H5E_CANTFREE_g, align 8 - %16 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_remove, i32 noundef 601, i64 noundef %14, i64 noundef %15, ptr noundef nonnull @.str.23) #16 + %16 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_remove, i32 noundef 601, i64 noundef %14, i64 noundef %15, ptr noundef nonnull @.str.23) #15 br label %18 17: ; preds = %7 @@ -1308,7 +1308,7 @@ define internal range(i32 -1, 1) i32 @H5D__btree_decode_key(ptr nocapture nounde 9: ; preds = %3 %10 = load i64, ptr @H5E_DATASET_g, align 8 %11 = load i64, ptr @H5E_BADVALUE_g, align 8 - %12 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_decode_key, i32 noundef 636, i64 noundef %10, i64 noundef %11, ptr noundef nonnull @.str.24) #16 + %12 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_decode_key, i32 noundef 636, i64 noundef %10, i64 noundef %11, ptr noundef nonnull @.str.24) #15 br label %.loopexit 13: ; preds = %3 @@ -1377,7 +1377,7 @@ define internal range(i32 -1, 1) i32 @H5D__btree_decode_key(ptr nocapture nounde 58: ; preds = %53 %59 = load i64, ptr @H5E_DATASET_g, align 8 %60 = load i64, ptr @H5E_BADVALUE_g, align 8 - %61 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_decode_key, i32 noundef 642, i64 noundef %59, i64 noundef %60, ptr noundef nonnull @.str.25, i32 noundef %.05060) #16 + %61 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_decode_key, i32 noundef 642, i64 noundef %59, i64 noundef %60, ptr noundef nonnull @.str.25, i32 noundef %.05060) #15 br label %.loopexit 62: ; preds = %53 @@ -1407,7 +1407,7 @@ define internal range(i32 -1, 1) i32 @H5D__btree_decode_key(ptr nocapture nounde 75: ; preds = %71 %76 = load i64, ptr @H5E_DATASET_g, align 8 %77 = load i64, ptr @H5E_BADVALUE_g, align 8 - %78 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_decode_key, i32 noundef 647, i64 noundef %76, i64 noundef %77, ptr noundef nonnull @.str.26) #16 + %78 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5D__btree_decode_key, i32 noundef 647, i64 noundef %76, i64 noundef %77, ptr noundef nonnull @.str.26) #15 br label %.loopexit 79: ; preds = %71 @@ -1424,8 +1424,8 @@ define internal range(i32 -1, 1) i32 @H5D__btree_decode_key(ptr nocapture nounde ret i32 %.051 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal noundef i32 @H5D__btree_encode_key(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) #13 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define internal noundef i32 @H5D__btree_encode_key(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) #11 { %4 = getelementptr inbounds i8, ptr %0, i64 72 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds i8, ptr %2, i64 264 @@ -1515,11 +1515,11 @@ define internal noundef i32 @H5D__btree_encode_key(ptr nocapture noundef readonl define internal noundef i32 @H5D__btree_debug_key(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4) #5 { %6 = getelementptr inbounds i8, ptr %3, i64 264 %7 = load i32, ptr %6, align 8 - %8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.27, i32 noundef %1, ptr noundef nonnull @.str.28, i32 noundef %2, ptr noundef nonnull @.str.29, i32 noundef %7) #16 + %8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.27, i32 noundef %1, ptr noundef nonnull @.str.28, i32 noundef %2, ptr noundef nonnull @.str.29, i32 noundef %7) #15 %9 = getelementptr inbounds i8, ptr %3, i64 268 %10 = load i32, ptr %9, align 4 - %11 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.30, i32 noundef %1, ptr noundef nonnull @.str.28, i32 noundef %2, ptr noundef nonnull @.str.31, i32 noundef %10) #16 - %12 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.32, i32 noundef %1, ptr noundef nonnull @.str.28, i32 noundef %2, ptr noundef nonnull @.str.33) #16 + %11 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.30, i32 noundef %1, ptr noundef nonnull @.str.28, i32 noundef %2, ptr noundef nonnull @.str.31, i32 noundef %10) #15 + %12 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.32, i32 noundef %1, ptr noundef nonnull @.str.28, i32 noundef %2, ptr noundef nonnull @.str.33) #15 %13 = getelementptr inbounds i8, ptr %4, i64 24 %14 = load i32, ptr %13, align 8 %.not23 = icmp eq i32 %14, 0 @@ -1537,7 +1537,7 @@ define internal noundef i32 @H5D__btree_debug_key(ptr nocapture noundef %0, i32 %21 = load i32, ptr %20, align 4 %22 = zext i32 %21 to i64 %23 = mul i64 %17, %22 - %24 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.34, ptr noundef nonnull %15, i64 noundef %23) #16 + %24 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.34, ptr noundef nonnull %15, i64 noundef %23) #15 %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1 %25 = load i32, ptr %13, align 8 %26 = zext i32 %25 to i64 @@ -1552,13 +1552,13 @@ define internal noundef i32 @H5D__btree_debug_key(ptr nocapture noundef %0, i32 declare i32 @H5MF_xfree(ptr noundef, i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #7 ; Function Attrs: nofree nounwind -declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #14 +declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #13 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #15 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #14 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #15 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #14 attributes #0 = { 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 #1 = { 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" } @@ -1573,10 +1573,9 @@ attributes #9 = { nofree nounwind "frame-pointer"="all" "no-trapping-math"="true attributes #10 = { 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 #11 = { 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 #12 = { 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 #13 = { 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 #14 = { nofree nounwind } -attributes #15 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #16 = { nounwind } +attributes #13 = { nofree nounwind } +attributes #14 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #15 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/hdf5/optimized/H5Gbtree2.c.ll b/bench/hdf5/optimized/H5Gbtree2.c.ll index fb8518efea8..0fe22db1ca5 100644 --- a/bench/hdf5/optimized/H5Gbtree2.c.ll +++ b/bench/hdf5/optimized/H5Gbtree2.c.ll @@ -78,14 +78,14 @@ define internal range(i32 -1, 1) i32 @H5G__dense_btree2_name_compare(ptr nocaptu store i32 0, ptr %22, align 8 %23 = getelementptr inbounds i8, ptr %0, i64 8 %24 = load ptr, ptr %23, align 8 - %25 = call i32 @H5HF_op(ptr noundef %24, ptr noundef nonnull %1, ptr noundef nonnull @H5G__dense_fh_name_cmp, ptr noundef nonnull %4) #9 + %25 = call i32 @H5HF_op(ptr noundef %24, ptr noundef nonnull %1, ptr noundef nonnull @H5G__dense_fh_name_cmp, ptr noundef nonnull %4) #8 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %31 27: ; preds = %14 %28 = load i64, ptr @H5E_HEAP_g, align 8 %29 = load i64, ptr @H5E_CANTCOMPARE_g, align 8 - %30 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5G__dense_btree2_name_compare, i32 noundef 241, i64 noundef %28, i64 noundef %29, ptr noundef nonnull @.str.3) #9 + %30 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5G__dense_btree2_name_compare, i32 noundef 241, i64 noundef %28, i64 noundef %29, ptr noundef nonnull @.str.3) #8 br label %33 31: ; preds = %14 @@ -157,7 +157,7 @@ define internal noundef i32 @H5G__dense_btree2_name_decode(ptr nocapture noundef define internal noundef i32 @H5G__dense_btree2_name_debug(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture readnone %4) #2 { %6 = getelementptr inbounds i8, ptr %3, i64 8 %7 = load i32, ptr %6, align 4 - %8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.6, i32 noundef %1, ptr noundef nonnull @.str.7, i32 noundef %2, ptr noundef nonnull @.str.8, i32 noundef %7) #9 + %8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.6, i32 noundef %1, ptr noundef nonnull @.str.7, i32 noundef %2, ptr noundef nonnull @.str.8, i32 noundef %7) #8 br label %9 9: ; preds = %5, %9 @@ -168,7 +168,7 @@ define internal noundef i32 @H5G__dense_btree2_name_debug(ptr nocapture noundef %13 = zext i8 %12 to i32 %.not = icmp eq i64 %indvars.iv, 6 %14 = select i1 %.not, ptr @.str.11, ptr @.str.10 - %15 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %10, ptr noundef nonnull @.str.9, i32 noundef %13, ptr noundef nonnull %14) #10 + %15 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %10, ptr noundef nonnull @.str.9, i32 noundef %13, ptr noundef nonnull %14) #9 %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1 %exitcond.not = icmp eq i64 %indvars.iv.next, 7 br i1 %exitcond.not, label %16, label %9 @@ -202,7 +202,7 @@ define internal noundef i32 @H5G__dense_btree2_corder_compare(ptr nocapture noun ret i32 0 } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal noundef i32 @H5G__dense_btree2_corder_encode(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #3 { %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = load i64, ptr %4, align 8 @@ -226,8 +226,8 @@ define internal noundef i32 @H5G__dense_btree2_corder_encode(ptr nocapture nound ret i32 0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal noundef i32 @H5G__dense_btree2_corder_decode(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture readnone %2) #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal noundef i32 @H5G__dense_btree2_corder_decode(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture readnone %2) #3 { %4 = getelementptr inbounds i8, ptr %1, i64 8 store i64 0, ptr %4, align 8 %5 = getelementptr inbounds i8, ptr %0, i64 8 @@ -257,7 +257,7 @@ define internal noundef i32 @H5G__dense_btree2_corder_decode(ptr nocapture nound define internal noundef i32 @H5G__dense_btree2_corder_debug(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture readnone %4) #2 { %6 = getelementptr inbounds i8, ptr %3, i64 8 %7 = load i64, ptr %6, align 8 - %8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.12, i32 noundef %1, ptr noundef nonnull @.str.7, i32 noundef %2, ptr noundef nonnull @.str.8, i64 noundef %7) #9 + %8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str.12, i32 noundef %1, ptr noundef nonnull @.str.7, i32 noundef %2, ptr noundef nonnull @.str.8, i64 noundef %7) #8 br label %9 9: ; preds = %5, %9 @@ -268,7 +268,7 @@ define internal noundef i32 @H5G__dense_btree2_corder_debug(ptr nocapture nounde %13 = zext i8 %12 to i32 %.not = icmp eq i64 %indvars.iv, 6 %14 = select i1 %.not, ptr @.str.11, ptr @.str.10 - %15 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %10, ptr noundef nonnull @.str.9, i32 noundef %13, ptr noundef nonnull %14) #10 + %15 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %10, ptr noundef nonnull @.str.9, i32 noundef %13, ptr noundef nonnull %14) #9 %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1 %exitcond.not = icmp eq i64 %indvars.iv.next, 7 br i1 %exitcond.not, label %16, label %9 @@ -278,21 +278,21 @@ define internal noundef i32 @H5G__dense_btree2_corder_debug(ptr nocapture nounde } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4 -declare i32 @H5HF_op(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6 +declare i32 @H5HF_op(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5 ; Function Attrs: nounwind uwtable define internal range(i32 -1, 1) i32 @H5G__dense_fh_name_cmp(ptr noundef %0, i64 noundef %1, ptr nocapture noundef %2) #1 { %4 = load ptr, ptr %2, align 8 - %5 = tail call ptr @H5O_msg_decode(ptr noundef %4, ptr noundef null, i32 noundef 6, i64 noundef %1, ptr noundef %0) #9 + %5 = tail call ptr @H5O_msg_decode(ptr noundef %4, ptr noundef null, i32 noundef 6, i64 noundef %1, ptr noundef %0) #8 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %11 7: ; preds = %3 %8 = load i64, ptr @H5E_SYM_g, align 8 %9 = load i64, ptr @H5E_CANTDECODE_g, align 8 - %10 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5G__dense_fh_name_cmp, i32 noundef 151, i64 noundef %8, i64 noundef %9, ptr noundef nonnull @.str.4) #9 + %10 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5G__dense_fh_name_cmp, i32 noundef 151, i64 noundef %8, i64 noundef %9, ptr noundef nonnull @.str.4) #8 br label %33 11: ; preds = %3 @@ -300,7 +300,7 @@ define internal range(i32 -1, 1) i32 @H5G__dense_fh_name_cmp(ptr noundef %0, i64 %13 = load ptr, ptr %12, align 8 %14 = getelementptr inbounds i8, ptr %5, i64 24 %15 = load ptr, ptr %14, align 8 - %16 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %13, ptr noundef nonnull dereferenceable(1) %15) #11 + %16 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %13, ptr noundef nonnull dereferenceable(1) %15) #10 %17 = getelementptr inbounds i8, ptr %2, i64 32 store i32 %16, ptr %17, align 8 %18 = icmp eq i32 %16, 0 @@ -315,18 +315,18 @@ define internal range(i32 -1, 1) i32 @H5G__dense_fh_name_cmp(ptr noundef %0, i64 22: ; preds = %19 %23 = getelementptr inbounds i8, ptr %2, i64 24 %24 = load ptr, ptr %23, align 8 - %25 = tail call i32 %21(ptr noundef nonnull %5, ptr noundef %24) #9 + %25 = tail call i32 %21(ptr noundef nonnull %5, ptr noundef %24) #8 %26 = icmp slt i32 %25, 0 br i1 %26, label %27, label %31 27: ; preds = %22 %28 = load i64, ptr @H5E_SYM_g, align 8 %29 = load i64, ptr @H5E_CANTOPERATE_g, align 8 - %30 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5G__dense_fh_name_cmp, i32 noundef 159, i64 noundef %28, i64 noundef %29, ptr noundef nonnull @.str.5) #9 + %30 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__.H5G__dense_fh_name_cmp, i32 noundef 159, i64 noundef %28, i64 noundef %29, ptr noundef nonnull @.str.5) #8 br label %33 31: ; preds = %22, %19, %11 - %32 = tail call ptr @H5O_msg_free(i32 noundef 6, ptr noundef nonnull %5) #9 + %32 = tail call ptr @H5O_msg_free(i32 noundef 6, ptr noundef nonnull %5) #8 br label %33 33: ; preds = %31, %27, %7 @@ -334,30 +334,29 @@ define internal range(i32 -1, 1) i32 @H5G__dense_fh_name_cmp(ptr noundef %0, i64 ret i32 %.0 } -declare i32 @H5E_printf_stack(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #6 +declare i32 @H5E_printf_stack(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #5 -declare ptr @H5O_msg_decode(ptr noundef, ptr noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #6 +declare ptr @H5O_msg_decode(ptr noundef, ptr noundef, i32 noundef, i64 noundef, ptr noundef) local_unnamed_addr #5 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #7 +declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #6 -declare ptr @H5O_msg_free(i32 noundef, ptr noundef) local_unnamed_addr #6 +declare ptr @H5O_msg_free(i32 noundef, ptr noundef) local_unnamed_addr #5 ; Function Attrs: nofree nounwind -declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #8 +declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #7 attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { nofree norecurse nosync nounwind 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 #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #6 = { "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 #7 = { 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 #8 = { 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 #9 = { nounwind } -attributes #10 = { cold nounwind } -attributes #11 = { nounwind willreturn memory(read) } +attributes #3 = { 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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #5 = { "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 #6 = { 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 #7 = { 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 #8 = { nounwind } +attributes #9 = { cold nounwind } +attributes #10 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/hdf5/optimized/H5Tbit.c.ll b/bench/hdf5/optimized/H5Tbit.c.ll index 14cbdec6340..017145d9bfb 100644 --- a/bench/hdf5/optimized/H5Tbit.c.ll +++ b/bench/hdf5/optimized/H5Tbit.c.ll @@ -278,27 +278,27 @@ define range(i32 -1, 1) i32 @H5T__bit_shift(ptr nocapture noundef %0, i64 nounde br label %H5T__bit_set.exit.thread 43: ; preds = %6 - %44 = call ptr @H5WB_wrap(ptr noundef nonnull %5, i64 noundef 512) #8 + %44 = call ptr @H5WB_wrap(ptr noundef nonnull %5, i64 noundef 512) #7 %45 = icmp eq ptr %44, null br i1 %45, label %46, label %50 46: ; preds = %43 %47 = load i64, ptr @H5E_DATATYPE_g, align 8 %48 = load i64, ptr @H5E_CANTINIT_g, align 8 - %49 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5T__bit_shift, i32 noundef 190, i64 noundef %47, i64 noundef %48, ptr noundef nonnull @.str.1) #8 + %49 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5T__bit_shift, i32 noundef 190, i64 noundef %47, i64 noundef %48, ptr noundef nonnull @.str.1) #7 br label %H5T__bit_set.exit.thread 50: ; preds = %43 %51 = lshr i64 %3, 3 %52 = add nuw nsw i64 %51, 1 - %53 = call ptr @H5WB_actual(ptr noundef nonnull %44, i64 noundef %52) #8 + %53 = call ptr @H5WB_actual(ptr noundef nonnull %44, i64 noundef %52) #7 %54 = icmp eq ptr %53, null br i1 %54, label %H5T__bit_set.exit.thread93, label %58 H5T__bit_set.exit.thread93: ; preds = %50 %55 = load i64, ptr @H5E_DATATYPE_g, align 8 %56 = load i64, ptr @H5E_NOSPACE_g, align 8 - %57 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5T__bit_shift, i32 noundef 194, i64 noundef %55, i64 noundef %56, ptr noundef nonnull @.str.2) #8 + %57 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5T__bit_shift, i32 noundef 194, i64 noundef %55, i64 noundef %56, ptr noundef nonnull @.str.2) #7 br label %H5T__bit_set.exit 58: ; preds = %50 @@ -439,14 +439,14 @@ H5T__bit_set.exit.thread93: ; preds = %50 H5T__bit_set.exit: ; preds = %._crit_edge.i63, %._crit_edge.thread.sink.split.i67, %._crit_edge.i79, %._crit_edge.thread.sink.split.i83, %H5T__bit_set.exit.thread93 %.04897 = phi i32 [ -1, %H5T__bit_set.exit.thread93 ], [ 0, %._crit_edge.thread.sink.split.i83 ], [ 0, %._crit_edge.i79 ], [ 0, %._crit_edge.thread.sink.split.i67 ], [ 0, %._crit_edge.i63 ] - %134 = call i32 @H5WB_unwrap(ptr noundef nonnull %44) #8 + %134 = call i32 @H5WB_unwrap(ptr noundef nonnull %44) #7 %135 = icmp slt i32 %134, 0 br i1 %135, label %136, label %H5T__bit_set.exit.thread 136: ; preds = %H5T__bit_set.exit %137 = load i64, ptr @H5E_DATATYPE_g, align 8 %138 = load i64, ptr @H5E_CLOSEERROR_g, align 8 - %139 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5T__bit_shift, i32 noundef 218, i64 noundef %137, i64 noundef %138, ptr noundef nonnull @.str.3) #8 + %139 = call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5T__bit_shift, i32 noundef 218, i64 noundef %137, i64 noundef %138, ptr noundef nonnull @.str.3) #7 br label %H5T__bit_set.exit.thread H5T__bit_set.exit.thread: ; preds = %._crit_edge.thread.sink.split.i, %._crit_edge.i, %8, %4, %46, %136, %H5T__bit_set.exit @@ -965,8 +965,8 @@ define zeroext i1 @H5T__bit_inc(ptr nocapture noundef %0, i64 noundef %1, i64 no ret i1 %66 } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define zeroext i1 @H5T__bit_dec(ptr nocapture noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define zeroext i1 @H5T__bit_dec(ptr nocapture noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = lshr i64 %1, 3 %5 = and i64 %1, 7 %6 = add i64 %1, -1 @@ -1114,23 +1114,22 @@ define void @H5T__bit_neg(ptr nocapture noundef %0, i64 noundef %1, i64 noundef } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #6 +declare i64 @llvm.umin.i64(i64, i64) #5 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.abs.i64(i64, i1 immarg) #6 +declare i64 @llvm.abs.i64(i64, i1 immarg) #5 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6 attributes #0 = { 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 #1 = { 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 #2 = { "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 #3 = { 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 #4 = { 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 #5 = { nofree norecurse nosync nounwind 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #8 = { nounwind } +attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #7 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/hdf5/optimized/H5VM.c.ll b/bench/hdf5/optimized/H5VM.c.ll index 78df5378c39..c23be09e9c5 100644 --- a/bench/hdf5/optimized/H5VM.c.ll +++ b/bench/hdf5/optimized/H5VM.c.ll @@ -9,7 +9,7 @@ target triple = "x86_64-pc-linux-gnu" @H5E_CANTOPERATE_g = external local_unnamed_addr global i64, align 8 @.str.2 = private unnamed_addr constant [24 x i8] c"can't perform operation\00", align 1 -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define i64 @H5VM_hyper_stride(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef readonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 { %6 = add i32 %0, -1 %7 = zext i32 %6 to i64 @@ -418,8 +418,8 @@ define range(i32 0, 2) i32 @H5VM_hyper_eq(i32 noundef %0, ptr noundef readonly % ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define noundef i32 @H5VM_hyper_fill(i32 noundef %0, ptr noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef %3, ptr nocapture noundef writeonly %4, i32 noundef %5) local_unnamed_addr #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define noundef i32 @H5VM_hyper_fill(i32 noundef %0, ptr noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef %3, ptr nocapture noundef writeonly %4, i32 noundef %5) local_unnamed_addr #0 { %7 = alloca [33 x i64], align 16 %8 = alloca [33 x i64], align 16 %9 = alloca [33 x i64], align 16 @@ -579,13 +579,13 @@ H5VM_stride_fill.exit: ; preds = %._crit_edge.us.i, % } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define noundef i32 @H5VM_stride_fill(i32 noundef %0, i64 noundef %1, ptr noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, i32 noundef %5) local_unnamed_addr #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define noundef i32 @H5VM_stride_fill(i32 noundef %0, i64 noundef %1, ptr noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, i32 noundef %5) local_unnamed_addr #0 { %7 = alloca [33 x i64], align 16 %.not = icmp eq ptr %2, null %8 = zext i32 %0 to i64 @@ -681,8 +681,8 @@ H5VM_vector_reduce_product.exit: ; preds = %.lr.ph.i, %.split ret i32 0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define noundef i32 @H5VM_hyper_copy(i32 noundef %0, ptr noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef readonly %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef readonly %5, ptr noundef readonly %6, ptr nocapture noundef readonly %7) local_unnamed_addr #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define noundef i32 @H5VM_hyper_copy(i32 noundef %0, ptr noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef readonly %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef readonly %5, ptr noundef readonly %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { %9 = alloca [33 x i64], align 16 %10 = alloca [33 x i64], align 16 %11 = alloca [33 x i64], align 16 @@ -1301,8 +1301,8 @@ H5VM_stride_copy.exit: ; preds = %.lr.ph61.split.i, % ret i32 0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define noundef i32 @H5VM_stride_copy(i32 noundef %0, i64 noundef %1, ptr noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef readonly %5, ptr nocapture noundef readonly %6) local_unnamed_addr #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define noundef i32 @H5VM_stride_copy(i32 noundef %0, i64 noundef %1, ptr noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef readonly %5, ptr nocapture noundef readonly %6) local_unnamed_addr #0 { %8 = alloca [33 x i64], align 16 %.not = icmp eq i32 %0, 0 br i1 %.not, label %35, label %9 @@ -1394,8 +1394,8 @@ H5VM_vector_reduce_product.exit: ; preds = %.lr.ph.i ret i32 0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define noundef i32 @H5VM_stride_copy_s(i32 noundef %0, i64 noundef %1, ptr noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef readonly %5, ptr nocapture noundef readonly %6) local_unnamed_addr #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define noundef i32 @H5VM_stride_copy_s(i32 noundef %0, i64 noundef %1, ptr noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef readonly %5, ptr nocapture noundef readonly %6) local_unnamed_addr #0 { %8 = alloca [33 x i64], align 16 %.not = icmp eq i32 %0, 0 br i1 %.not, label %35, label %9 @@ -1487,8 +1487,8 @@ H5VM_vector_reduce_product.exit: ; preds = %.lr.ph.i ret i32 0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define noundef i32 @H5VM_array_fill(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define noundef i32 @H5VM_array_fill(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 { tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %0, ptr align 1 %1, i64 %2, i1 false) %5 = add i64 %3, -1 %.not27 = icmp eq i64 %5, 0 @@ -1525,7 +1525,7 @@ define noundef i32 @H5VM_array_fill(ptr nocapture noundef %0, ptr nocapture noun } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @H5VM_array_down(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #5 { +define void @H5VM_array_down(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 { %.09 = add i32 %0, -1 %4 = icmp sgt i32 %.09, -1 br i1 %4, label %.lr.ph.preheader, label %._crit_edge @@ -1627,7 +1627,7 @@ H5VM_array_offset_pre.exit: ; preds = %.lr.ph.i6, %H5VM_ar } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define noundef i32 @H5VM_array_calc_pre(i64 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #5 { +define noundef i32 @H5VM_array_calc_pre(i64 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %.not = icmp eq i32 %1, 0 br i1 %.not, label %._crit_edge, label %.lr.ph.preheader @@ -1654,7 +1654,7 @@ define noundef i32 @H5VM_array_calc_pre(i64 noundef %0, i32 noundef %1, ptr noca } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define noundef i32 @H5VM_array_calc(i64 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #5 { +define noundef i32 @H5VM_array_calc(i64 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %5 = alloca [33 x i64], align 16 %.09.i = add i32 %1, -1 %6 = icmp sgt i32 %.09.i, -1 @@ -1701,7 +1701,7 @@ H5VM_array_calc_pre.exit: ; preds = %.lr.ph.i8, %H5VM_ar ret i32 0 } -declare i32 @H5E_printf_stack(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #6 +declare i32 @H5E_printf_stack(ptr noundef, ptr noundef, i32 noundef, i64 noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #4 ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define i64 @H5VM_chunk_index(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3) local_unnamed_addr #1 { @@ -1746,7 +1746,7 @@ H5VM_chunk_index_scaled.exit: ; preds = %.lr.ph.i.i, %4 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define i64 @H5VM_chunk_index_scaled(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef %4) local_unnamed_addr #5 { +define i64 @H5VM_chunk_index_scaled(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef %4) local_unnamed_addr #0 { %.not = icmp eq i32 %0, 0 br i1 %.not, label %H5VM_array_offset_pre.exit, label %.lr.ph.preheader @@ -1794,7 +1794,7 @@ H5VM_array_offset_pre.exit: ; preds = %.lr.ph.i, %5, %._cr } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @H5VM_chunk_scaled(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #5 { +define void @H5VM_chunk_scaled(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { %.not = icmp eq i32 %0, 0 br i1 %.not, label %._crit_edge, label %.lr.ph.preheader @@ -1821,7 +1821,7 @@ define void @H5VM_chunk_scaled(i32 noundef %0, ptr nocapture noundef readonly %1 } ; Function Attrs: nounwind uwtable -define i64 @H5VM_opvv(i64 noundef %0, ptr nocapture noundef %1, ptr nocapture noundef %2, ptr noundef %3, i64 noundef %4, ptr nocapture noundef %5, ptr nocapture noundef %6, ptr noundef %7, ptr nocapture noundef readonly %8, ptr noundef %9) local_unnamed_addr #7 { +define i64 @H5VM_opvv(i64 noundef %0, ptr nocapture noundef %1, ptr nocapture noundef %2, ptr noundef %3, i64 noundef %4, ptr nocapture noundef %5, ptr nocapture noundef %6, ptr noundef %7, ptr nocapture noundef readonly %8, ptr noundef %9) local_unnamed_addr #5 { %11 = load i64, ptr %1, align 8 %12 = getelementptr inbounds i64, ptr %2, i64 %11 %13 = getelementptr inbounds i64, ptr %3, i64 %11 @@ -1857,14 +1857,14 @@ define i64 @H5VM_opvv(i64 noundef %0, ptr nocapture noundef %1, ptr nocapture no %.1119 = phi i64 [ %.0118, %24 ], [ %35, %38 ] %.1115 = phi i64 [ %.0114, %24 ], [ %41, %38 ] %.0110 = phi i64 [ 0, %24 ], [ %33, %38 ] - %26 = tail call i32 %8(i64 noundef %.1130, i64 noundef %.1124, i64 noundef %.1115, ptr noundef %9) #9 + %26 = tail call i32 %8(i64 noundef %.1130, i64 noundef %.1124, i64 noundef %.1115, ptr noundef %9) #7 %27 = icmp slt i32 %26, 0 br i1 %27, label %28, label %32 28: ; preds = %25 %29 = load i64, ptr @H5E_INTERNAL_g, align 8 %30 = load i64, ptr @H5E_CANTOPERATE_g, align 8 - %31 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5VM_opvv, i32 noundef 1178, i64 noundef %29, i64 noundef %30, ptr noundef nonnull @.str.2) #9 + %31 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5VM_opvv, i32 noundef 1178, i64 noundef %29, i64 noundef %30, ptr noundef nonnull @.str.2) #7 br label %102 32: ; preds = %25 @@ -1916,14 +1916,14 @@ define i64 @H5VM_opvv(i64 noundef %0, ptr nocapture noundef %1, ptr nocapture no %.3121 = phi i64 [ %.2120, %48 ], [ %65, %62 ] %.3117 = phi i64 [ %.2116, %48 ], [ %59, %62 ] %.1111 = phi i64 [ 0, %48 ], [ %57, %62 ] - %50 = tail call i32 %8(i64 noundef %.3132, i64 noundef %.3126, i64 noundef %.3121, ptr noundef %9) #9 + %50 = tail call i32 %8(i64 noundef %.3132, i64 noundef %.3126, i64 noundef %.3121, ptr noundef %9) #7 %51 = icmp slt i32 %50, 0 br i1 %51, label %52, label %56 52: ; preds = %49 %53 = load i64, ptr @H5E_INTERNAL_g, align 8 %54 = load i64, ptr @H5E_CANTOPERATE_g, align 8 - %55 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5VM_opvv, i32 noundef 1220, i64 noundef %53, i64 noundef %54, ptr noundef nonnull @.str.2) #9 + %55 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5VM_opvv, i32 noundef 1220, i64 noundef %53, i64 noundef %54, ptr noundef nonnull @.str.2) #7 br label %102 56: ; preds = %49 @@ -1971,14 +1971,14 @@ define i64 @H5VM_opvv(i64 noundef %0, ptr nocapture noundef %1, ptr nocapture no %.5128 = phi i64 [ %.4127, %70 ], [ %83, %82 ] %.5 = phi i64 [ %.4122, %70 ], [ %86, %82 ] %.2112 = phi i64 [ 0, %70 ], [ %79, %82 ] - %72 = tail call i32 %8(i64 noundef %.5134, i64 noundef %.5128, i64 noundef %.5, ptr noundef %9) #9 + %72 = tail call i32 %8(i64 noundef %.5134, i64 noundef %.5128, i64 noundef %.5, ptr noundef %9) #7 %73 = icmp slt i32 %72, 0 br i1 %73, label %74, label %78 74: ; preds = %71 %75 = load i64, ptr @H5E_INTERNAL_g, align 8 %76 = load i64, ptr @H5E_CANTOPERATE_g, align 8 - %77 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5VM_opvv, i32 noundef 1262, i64 noundef %75, i64 noundef %76, ptr noundef nonnull @.str.2) #9 + %77 = tail call i32 (ptr, ptr, i32, i64, i64, ptr, ...) @H5E_printf_stack(ptr noundef nonnull @.str, ptr noundef nonnull @__func__.H5VM_opvv, i32 noundef 1262, i64 noundef %75, i64 noundef %76, ptr noundef nonnull @.str.2) #7 br label %102 78: ; preds = %71 @@ -2028,8 +2028,8 @@ define i64 @H5VM_opvv(i64 noundef %0, ptr nocapture noundef %1, ptr nocapture no ret i64 %.4 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define i64 @H5VM_memcpyvv(ptr nocapture noundef writeonly %0, i64 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, ptr noundef %4, ptr nocapture noundef readonly %5, i64 noundef %6, ptr nocapture noundef %7, ptr nocapture noundef %8, ptr noundef %9) local_unnamed_addr #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define i64 @H5VM_memcpyvv(ptr nocapture noundef writeonly %0, i64 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, ptr noundef %4, ptr nocapture noundef readonly %5, i64 noundef %6, ptr nocapture noundef %7, ptr nocapture noundef %8, ptr noundef %9) local_unnamed_addr #0 { %11 = load i64, ptr %2, align 8 %12 = getelementptr inbounds i64, ptr %3, i64 %11 %13 = getelementptr inbounds i64, ptr %4, i64 %11 @@ -2213,21 +2213,19 @@ define i64 @H5VM_memcpyvv(ptr nocapture noundef writeonly %0, i64 noundef %1, pt } ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #8 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #6 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #8 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #6 -attributes #0 = { 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 #0 = { 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 #1 = { 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 #2 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #5 = { 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 #6 = { "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 #7 = { 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 #8 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #9 = { nounwind } +attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #4 = { "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 #5 = { 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 #6 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #7 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/hermes/optimized/FoldingSet.cpp.ll b/bench/hermes/optimized/FoldingSet.cpp.ll index 29232594e09..ab2540fb85e 100644 --- a/bench/hermes/optimized/FoldingSet.cpp.ll +++ b/bench/hermes/optimized/FoldingSet.cpp.ll @@ -84,7 +84,7 @@ if.then: ; preds = %entry if.end: ; preds = %entry %1 = load ptr, ptr %this, align 8 %mul = shl i64 %RHS.coerce1, 2 - %call = tail call i32 @memcmp(ptr noundef %1, ptr noundef %RHS.coerce0, i64 noundef %mul) #20 + %call = tail call i32 @memcmp(ptr noundef %1, ptr noundef %RHS.coerce0, i64 noundef %mul) #21 %cmp8 = icmp slt i32 %call, 0 br label %return @@ -107,7 +107,7 @@ entry: if.then.i.i.i.i: ; preds = %entry %add.ptr.i.i.i.i.i.i.i = getelementptr inbounds i8, ptr %this, i64 16 - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i.i.i, i64 noundef 0, i64 noundef 4) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i.i.i, i64 noundef 0, i64 noundef 4) #22 %.pre.i.i.i.i = load i32, ptr %Size.i.i.i.i.i, align 8 br label %_ZN4llvh16FoldingSetNodeID10AddIntegerEj.exit.i.i @@ -126,7 +126,7 @@ _ZN4llvh16FoldingSetNodeID10AddIntegerEj.exit.i.i: ; preds = %if.then.i.i.i.i, % if.then.i.i5.i.i: ; preds = %_ZN4llvh16FoldingSetNodeID10AddIntegerEj.exit.i.i %add.ptr.i.i.i.i.i6.i.i = getelementptr inbounds i8, ptr %this, i64 16 - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i6.i.i, i64 noundef 0, i64 noundef 4) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i6.i.i, i64 noundef 0, i64 noundef 4) #22 %.pre.i.i7.i.i = load i32, ptr %Size.i.i.i.i.i, align 8 br label %_ZN4llvh16FoldingSetNodeID10AddIntegerEm.exit @@ -157,7 +157,7 @@ entry: if.then.i.i.i: ; preds = %entry %add.ptr.i.i.i.i.i.i = getelementptr inbounds i8, ptr %this, i64 16 - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i.i, i64 noundef 0, i64 noundef 4) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i.i, i64 noundef 0, i64 noundef 4) #22 %.pre.i.i.i = load i32, ptr %Size.i.i.i.i, align 8 br label %_ZN4llvh16FoldingSetNodeID10AddIntegerEj.exit.i @@ -176,7 +176,7 @@ _ZN4llvh16FoldingSetNodeID10AddIntegerEj.exit.i: ; preds = %if.then.i.i.i, %ent if.then.i.i5.i: ; preds = %_ZN4llvh16FoldingSetNodeID10AddIntegerEj.exit.i %add.ptr.i.i.i.i.i6.i = getelementptr inbounds i8, ptr %this, i64 16 - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i6.i, i64 noundef 0, i64 noundef 4) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i6.i, i64 noundef 0, i64 noundef 4) #22 %.pre.i.i7.i = load i32, ptr %Size.i.i.i.i, align 8 br label %_ZN4llvh16FoldingSetNodeID10AddIntegerEy.exit @@ -206,7 +206,7 @@ entry: if.then.i: ; preds = %entry %add.ptr.i.i.i.i = getelementptr inbounds i8, ptr %this, i64 16 - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i, i64 noundef 0, i64 noundef 4) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i, i64 noundef 0, i64 noundef 4) #22 %.pre.i = load i32, ptr %Size.i.i, align 8 br label %_ZN4llvh23SmallVectorTemplateBaseIjLb1EE9push_backERKj.exit @@ -234,7 +234,7 @@ entry: if.then.i: ; preds = %entry %add.ptr.i.i.i.i = getelementptr inbounds i8, ptr %this, i64 16 - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i, i64 noundef 0, i64 noundef 4) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i, i64 noundef 0, i64 noundef 4) #22 %.pre.i = load i32, ptr %Size.i.i, align 8 br label %_ZN4llvh23SmallVectorTemplateBaseIjLb1EE9push_backERKj.exit @@ -263,7 +263,7 @@ entry: if.then.i.i.i.i: ; preds = %entry %add.ptr.i.i.i.i.i.i.i = getelementptr inbounds i8, ptr %this, i64 16 - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i.i.i, i64 noundef 0, i64 noundef 4) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i.i.i, i64 noundef 0, i64 noundef 4) #22 %.pre.i.i.i.i = load i32, ptr %Size.i.i.i.i.i, align 8 br label %_ZN4llvh16FoldingSetNodeID10AddIntegerEj.exit.i.i @@ -282,7 +282,7 @@ _ZN4llvh16FoldingSetNodeID10AddIntegerEj.exit.i.i: ; preds = %if.then.i.i.i.i, % if.then.i.i5.i.i: ; preds = %_ZN4llvh16FoldingSetNodeID10AddIntegerEj.exit.i.i %add.ptr.i.i.i.i.i6.i.i = getelementptr inbounds i8, ptr %this, i64 16 - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i6.i.i, i64 noundef 0, i64 noundef 4) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i6.i.i, i64 noundef 0, i64 noundef 4) #22 %.pre.i.i7.i.i = load i32, ptr %Size.i.i.i.i.i, align 8 br label %_ZN4llvh16FoldingSetNodeID10AddIntegerEm.exit @@ -313,7 +313,7 @@ entry: if.then.i.i: ; preds = %entry %add.ptr.i.i.i.i.i = getelementptr inbounds i8, ptr %this, i64 16 - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i, i64 noundef 0, i64 noundef 4) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i, i64 noundef 0, i64 noundef 4) #22 %.pre.i.i = load i32, ptr %Size.i.i.i, align 8 br label %_ZN4llvh16FoldingSetNodeID10AddIntegerEj.exit @@ -332,7 +332,7 @@ _ZN4llvh16FoldingSetNodeID10AddIntegerEj.exit: ; preds = %entry, %if.then.i.i if.then.i.i5: ; preds = %_ZN4llvh16FoldingSetNodeID10AddIntegerEj.exit %add.ptr.i.i.i.i.i6 = getelementptr inbounds i8, ptr %this, i64 16 - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i6, i64 noundef 0, i64 noundef 4) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i6, i64 noundef 0, i64 noundef 4) #22 %.pre.i.i7 = load i32, ptr %Size.i.i.i, align 8 br label %_ZN4llvh16FoldingSetNodeID10AddIntegerEj.exit11 @@ -363,7 +363,7 @@ entry: if.then.i.i.i: ; preds = %entry %add.ptr.i.i.i.i.i.i = getelementptr inbounds i8, ptr %this, i64 16 - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i.i, i64 noundef 0, i64 noundef 4) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i.i, i64 noundef 0, i64 noundef 4) #22 %.pre.i.i.i = load i32, ptr %Size.i.i.i.i, align 8 br label %_ZN4llvh16FoldingSetNodeID10AddIntegerEj.exit.i @@ -382,7 +382,7 @@ _ZN4llvh16FoldingSetNodeID10AddIntegerEj.exit.i: ; preds = %if.then.i.i.i, %ent if.then.i.i5.i: ; preds = %_ZN4llvh16FoldingSetNodeID10AddIntegerEj.exit.i %add.ptr.i.i.i.i.i6.i = getelementptr inbounds i8, ptr %this, i64 16 - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i6.i, i64 noundef 0, i64 noundef 4) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i.i6.i, i64 noundef 0, i64 noundef 4) #22 %.pre.i.i7.i = load i32, ptr %Size.i.i.i.i, align 8 br label %_ZN4llvh16FoldingSetNodeID10AddIntegerEy.exit @@ -413,7 +413,7 @@ entry: if.then.i: ; preds = %entry %add.ptr.i.i.i.i = getelementptr inbounds i8, ptr %this, i64 16 - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i, i64 noundef 0, i64 noundef 4) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i, i64 noundef 0, i64 noundef 4) #22 %.pre.i = load i32, ptr %Size.i.i, align 8 br label %_ZN4llvh23SmallVectorTemplateBaseIjLb1EE9push_backERKj.exit @@ -457,7 +457,7 @@ if.then4: ; preds = %if.end if.end.i.thread: ; preds = %if.then4 %add.i17 = add nuw nsw i64 %idx.ext, %conv.i5.i %add.ptr.i.i.i.i18 = getelementptr inbounds i8, ptr %this, i64 16 - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i18, i64 noundef %add.i17, i64 noundef 4) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i18, i64 noundef %add.i17, i64 noundef 4) #22 %.pre13.pre.i = load i32, ptr %Size.i.i, align 8 br label %if.then.i.i @@ -517,7 +517,7 @@ for.body: ; preds = %for.body.lr.ph, %_Z br i1 %cmp.not.i24, label %_ZN4llvh23SmallVectorTemplateBaseIjLb1EE9push_backERKj.exit32, label %if.then.i25 if.then.i25: ; preds = %for.body - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i26, i64 noundef 0, i64 noundef 4) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i26, i64 noundef 0, i64 noundef 4) #22 %.pre.i27 = load i32, ptr %Size.i.i, align 8 br label %_ZN4llvh23SmallVectorTemplateBaseIjLb1EE9push_backERKj.exit32 @@ -578,7 +578,7 @@ sw.bb44: ; preds = %sw.bb37, %if.end28 if.then.i39: ; preds = %sw.bb44 %add.ptr.i.i.i.i40 = getelementptr inbounds i8, ptr %this, i64 16 - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i40, i64 noundef 0, i64 noundef 4) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i40, i64 noundef 0, i64 noundef 4) #22 %.pre.i41 = load i32, ptr %Size.i.i, align 8 br label %_ZN4llvh23SmallVectorTemplateBaseIjLb1EE9push_backERKj.exit46 @@ -618,7 +618,7 @@ entry: if.then.i: ; preds = %entry %add.i = add nuw nsw i64 %conv.i5.i, %conv.i %add.ptr.i.i.i.i = getelementptr inbounds i8, ptr %this, i64 16 - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i, i64 noundef %add.i, i64 noundef 4) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %this, ptr noundef nonnull %add.ptr.i.i.i.i, i64 noundef %add.i, i64 noundef 4) #22 %.pre13.pre.i = load i32, ptr %Size.i.i, align 8 br label %if.end.i @@ -722,7 +722,7 @@ if.end.i.i: ; preds = %entry %2 = load ptr, ptr %RHS, align 8 %3 = load ptr, ptr %this, align 8 %mul.i.i = shl nuw nsw i64 %conv.i, 2 - %call.i.i = tail call i32 @memcmp(ptr noundef %3, ptr noundef readonly %2, i64 noundef %mul.i.i) #20 + %call.i.i = tail call i32 @memcmp(ptr noundef %3, ptr noundef readonly %2, i64 noundef %mul.i.i) #21 %cmp8.i.i = icmp slt i32 %call.i.i, 0 br label %_ZNK4llvh16FoldingSetNodeIDltENS_19FoldingSetNodeIDRefE.exit @@ -747,7 +747,7 @@ if.then.i: ; preds = %entry if.end.i: ; preds = %entry %1 = load ptr, ptr %this, align 8 %mul.i = shl nuw nsw i64 %RHS.coerce1, 2 - %call.i = tail call i32 @memcmp(ptr noundef %1, ptr noundef readonly %RHS.coerce0, i64 noundef %mul.i) #20 + %call.i = tail call i32 @memcmp(ptr noundef %1, ptr noundef readonly %RHS.coerce0, i64 noundef %mul.i) #21 %cmp8.i = icmp slt i32 %call.i, 0 br label %_ZNK4llvh19FoldingSetNodeIDRefltES0_.exit @@ -796,12 +796,12 @@ entry: store i32 %shl, ptr %NumBuckets, align 8 %add.i = add nuw i32 %shl, 1 %conv.i = zext i32 %add.i to i64 - %call.i.i = tail call noalias ptr @calloc(i64 noundef %conv.i, i64 noundef 8) #22 + %call.i.i = tail call noalias ptr @calloc(i64 noundef %conv.i, i64 noundef 8) #23 %cmp.i.i = icmp eq ptr %call.i.i, null br i1 %cmp.i.i, label %if.then.i.i, label %_ZL15AllocateBucketsj.exit if.then.i.i: ; preds = %entry - tail call void @_ZN4llvh22report_bad_alloc_errorEPKcb(ptr noundef nonnull @.str, i1 noundef zeroext true) #21 + tail call void @_ZN4llvh22report_bad_alloc_errorEPKcb(ptr noundef nonnull @.str, i1 noundef zeroext true) #22 br label %_ZL15AllocateBucketsj.exit _ZL15AllocateBucketsj.exit: ; preds = %entry, %if.then.i.i @@ -840,7 +840,7 @@ define hidden noundef nonnull align 8 dereferenceable(24) ptr @_ZN4llvh14Folding entry: %Buckets = getelementptr inbounds i8, ptr %this, i64 8 %0 = load ptr, ptr %Buckets, align 8 - tail call void @free(ptr noundef %0) #21 + tail call void @free(ptr noundef %0) #22 %Buckets2 = getelementptr inbounds i8, ptr %RHS, i64 8 %1 = load ptr, ptr %Buckets2, align 8 store ptr %1, ptr %Buckets, align 8 @@ -865,7 +865,7 @@ entry: store ptr getelementptr inbounds (i8, ptr @_ZTVN4llvh14FoldingSetBaseE, i64 16), ptr %this, align 8 %Buckets = getelementptr inbounds i8, ptr %this, i64 8 %0 = load ptr, ptr %Buckets, align 8 - tail call void @free(ptr noundef %0) #21 + tail call void @free(ptr noundef %0) #22 ret void } @@ -903,12 +903,12 @@ entry: %1 = load i32, ptr %NumBuckets, align 8 %add.i = add i32 %NewBucketCount, 1 %conv.i = zext i32 %add.i to i64 - %call.i.i = tail call noalias ptr @calloc(i64 noundef %conv.i, i64 noundef 8) #22 + %call.i.i = tail call noalias ptr @calloc(i64 noundef %conv.i, i64 noundef 8) #23 %cmp.i.i = icmp eq ptr %call.i.i, null br i1 %cmp.i.i, label %if.then.i.i, label %_ZL15AllocateBucketsj.exit if.then.i.i: ; preds = %entry - tail call void @_ZN4llvh22report_bad_alloc_errorEPKcb(ptr noundef nonnull @.str, i1 noundef zeroext true) #21 + tail call void @_ZN4llvh22report_bad_alloc_errorEPKcb(ptr noundef nonnull @.str, i1 noundef zeroext true) #22 br label %_ZL15AllocateBucketsj.exit _ZL15AllocateBucketsj.exit: ; preds = %entry, %if.then.i.i @@ -953,7 +953,7 @@ while.body: ; preds = %for.body, %_ZN4llvh %vtable = load ptr, ptr %this, align 8 %vfn = getelementptr inbounds i8, ptr %vtable, i64 24 %6 = load ptr, ptr %vfn, align 8 - %call7 = call noundef i32 %6(ptr noundef nonnull align 8 dereferenceable(24) %this, ptr noundef nonnull %Probe.030, ptr noundef nonnull align 8 dereferenceable(144) %TempID) #21 + %call7 = call noundef i32 %6(ptr noundef nonnull align 8 dereferenceable(24) %this, ptr noundef nonnull %Probe.030, ptr noundef nonnull align 8 dereferenceable(144) %TempID) #22 %7 = load ptr, ptr %Buckets, align 8 %8 = load i32, ptr %NumBuckets, align 8 %sub.i = add i32 %8, -1 @@ -975,7 +975,7 @@ if.then.i: ; preds = %while.body %vtable.i = load ptr, ptr %this, align 8 %vfn.i = getelementptr inbounds i8, ptr %vtable.i, i64 24 %10 = load ptr, ptr %vfn.i, align 8 - %call2.i = call noundef i32 %10(ptr noundef nonnull align 8 dereferenceable(24) %this, ptr noundef nonnull %Probe.030, ptr noundef nonnull align 8 dereferenceable(144) %TempID.i) #21 + %call2.i = call noundef i32 %10(ptr noundef nonnull align 8 dereferenceable(24) %this, ptr noundef nonnull %Probe.030, ptr noundef nonnull align 8 dereferenceable(144) %TempID.i) #22 %11 = load ptr, ptr %Buckets, align 8 %12 = load i32, ptr %NumBuckets, align 8 %sub.i17 = add i32 %12, -1 @@ -987,7 +987,7 @@ if.then.i: ; preds = %while.body br i1 %cmp.i.i.i.i14, label %_ZN4llvh14FoldingSetBase10InsertNodeEPNS0_4NodeEPv.exit, label %if.then.i.i.i15 if.then.i.i.i15: ; preds = %if.then.i - call void @free(ptr noundef %13) #21 + call void @free(ptr noundef %13) #22 br label %_ZN4llvh14FoldingSetBase10InsertNodeEPNS0_4NodeEPv.exit _ZN4llvh14FoldingSetBase10InsertNodeEPNS0_4NodeEPv.exit: ; preds = %if.then.i.i.i15, %if.then.i, %while.body @@ -1019,13 +1019,13 @@ for.inc: ; preds = %_ZN4llvh14FoldingSe for.end: ; preds = %for.inc %.pre = load ptr, ptr %TempID, align 8 - call void @free(ptr noundef %0) #21 + call void @free(ptr noundef %0) #22 %cmp.i.i.i.i = icmp eq ptr %.pre, %add.ptr.i.i.i.i.i.i br i1 %cmp.i.i.i.i, label %_ZN4llvh16FoldingSetNodeIDD2Ev.exit, label %_ZN4llvh16FoldingSetNodeIDD2Ev.exit.sink.split _ZN4llvh16FoldingSetNodeIDD2Ev.exit.sink.split: ; preds = %for.end, %_ZL15AllocateBucketsj.exit %.sink = phi ptr [ %0, %_ZL15AllocateBucketsj.exit ], [ %.pre, %for.end ] - call void @free(ptr noundef %.sink) #21 + call void @free(ptr noundef %.sink) #22 br label %_ZN4llvh16FoldingSetNodeIDD2Ev.exit _ZN4llvh16FoldingSetNodeIDD2Ev.exit: ; preds = %_ZN4llvh16FoldingSetNodeIDD2Ev.exit.sink.split, %for.end @@ -1056,7 +1056,7 @@ if.then: ; preds = %entry %vtable = load ptr, ptr %this, align 8 %vfn = getelementptr inbounds i8, ptr %vtable, i64 24 %2 = load ptr, ptr %vfn, align 8 - %call2 = call noundef i32 %2(ptr noundef nonnull align 8 dereferenceable(24) %this, ptr noundef %N, ptr noundef nonnull align 8 dereferenceable(144) %TempID) #21 + %call2 = call noundef i32 %2(ptr noundef nonnull align 8 dereferenceable(24) %this, ptr noundef %N, ptr noundef nonnull align 8 dereferenceable(144) %TempID) #22 %Buckets = getelementptr inbounds i8, ptr %this, i64 8 %3 = load ptr, ptr %Buckets, align 8 %4 = load i32, ptr %NumBuckets.i, align 8 @@ -1069,7 +1069,7 @@ if.then: ; preds = %entry br i1 %cmp.i.i.i.i, label %if.end, label %if.then.i.i.i if.then.i.i.i: ; preds = %if.then - call void @free(ptr noundef %5) #21 + call void @free(ptr noundef %5) #22 br label %if.end if.end: ; preds = %if.then.i.i.i, %if.then, %entry @@ -1160,7 +1160,7 @@ while.body: ; preds = %entry, %if.end %vtable = load ptr, ptr %this, align 8 %vfn = getelementptr inbounds i8, ptr %vtable, i64 16 %6 = load ptr, ptr %vfn, align 8 - %call4 = call noundef zeroext i1 %6(ptr noundef nonnull align 8 dereferenceable(24) %this, ptr noundef nonnull %Probe.015, ptr noundef nonnull align 8 dereferenceable(144) %ID, i32 noundef %conv.i3.i, ptr noundef nonnull align 8 dereferenceable(144) %TempID) #21 + %call4 = call noundef zeroext i1 %6(ptr noundef nonnull align 8 dereferenceable(24) %this, ptr noundef nonnull %Probe.015, ptr noundef nonnull align 8 dereferenceable(144) %ID, i32 noundef %conv.i3.i, ptr noundef nonnull align 8 dereferenceable(144) %TempID) #22 br i1 %call4, label %cleanup, label %if.end if.end: ; preds = %while.body @@ -1184,7 +1184,7 @@ cleanup: ; preds = %while.body, %while. br i1 %cmp.i.i.i.i, label %_ZN4llvh16FoldingSetNodeIDD2Ev.exit, label %if.then.i.i.i if.then.i.i.i: ; preds = %cleanup - call void @free(ptr noundef %9) #21 + call void @free(ptr noundef %9) #22 br label %_ZN4llvh16FoldingSetNodeIDD2Ev.exit _ZN4llvh16FoldingSetNodeIDD2Ev.exit: ; preds = %cleanup, %if.then.i.i.i @@ -1255,7 +1255,7 @@ entry: %vtable = load ptr, ptr %this, align 8 %vfn = getelementptr inbounds i8, ptr %vtable, i64 8 %0 = load ptr, ptr %vfn, align 8 - call void %0(ptr noundef nonnull align 8 dereferenceable(24) %this, ptr noundef %N, ptr noundef nonnull align 8 dereferenceable(144) %ID) #21 + call void %0(ptr noundef nonnull align 8 dereferenceable(24) %this, ptr noundef %N, ptr noundef nonnull align 8 dereferenceable(144) %ID) #22 call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %TempID.i) %1 = load ptr, ptr %ID, align 8 %2 = load i32, ptr %Size.i.i.i.i.i.i, align 8 @@ -1294,7 +1294,7 @@ while.body.i: ; preds = %entry, %if.end.i %vtable.i = load ptr, ptr %this, align 8 %vfn.i = getelementptr inbounds i8, ptr %vtable.i, i64 16 %7 = load ptr, ptr %vfn.i, align 8 - %call4.i = call noundef zeroext i1 %7(ptr noundef nonnull align 8 dereferenceable(24) %this, ptr noundef nonnull %Probe.015.i, ptr noundef nonnull align 8 dereferenceable(144) %ID, i32 noundef %conv.i3.i.i, ptr noundef nonnull align 8 dereferenceable(144) %TempID.i) #21 + %call4.i = call noundef zeroext i1 %7(ptr noundef nonnull align 8 dereferenceable(24) %this, ptr noundef nonnull %Probe.015.i, ptr noundef nonnull align 8 dereferenceable(144) %ID, i32 noundef %conv.i3.i.i, ptr noundef nonnull align 8 dereferenceable(144) %TempID.i) #22 br i1 %call4.i, label %cleanup.i, label %if.end.i if.end.i: ; preds = %while.body.i @@ -1315,7 +1315,7 @@ cleanup.i: ; preds = %if.end.i, %while.bo br i1 %cmp.i.i.i.i.i, label %_ZN4llvh14FoldingSetBase19FindNodeOrInsertPosERKNS_16FoldingSetNodeIDERPv.exit, label %if.then.i.i.i.i if.then.i.i.i.i: ; preds = %cleanup.i - call void @free(ptr noundef %.pre) #21 + call void @free(ptr noundef %.pre) #22 br label %_ZN4llvh14FoldingSetBase19FindNodeOrInsertPosERKNS_16FoldingSetNodeIDERPv.exit _ZN4llvh14FoldingSetBase19FindNodeOrInsertPosERKNS_16FoldingSetNodeIDERPv.exit: ; preds = %cleanup.i, %if.then.i.i.i.i @@ -1345,7 +1345,7 @@ if.then.i: ; preds = %if.end %vtable.i10 = load ptr, ptr %this, align 8 %vfn.i11 = getelementptr inbounds i8, ptr %vtable.i10, i64 24 %12 = load ptr, ptr %vfn.i11, align 8 - %call2.i = call noundef i32 %12(ptr noundef nonnull align 8 dereferenceable(24) %this, ptr noundef %N, ptr noundef nonnull align 8 dereferenceable(144) %TempID.i4) #21 + %call2.i = call noundef i32 %12(ptr noundef nonnull align 8 dereferenceable(24) %this, ptr noundef %N, ptr noundef nonnull align 8 dereferenceable(144) %TempID.i4) #22 %13 = load ptr, ptr %Buckets.i, align 8 %14 = load i32, ptr %NumBuckets.i, align 8 %sub.i.i13 = add i32 %14, -1 @@ -1357,7 +1357,7 @@ if.then.i: ; preds = %if.end br i1 %cmp.i.i.i.i.i17, label %_ZN4llvh14FoldingSetBase10InsertNodeEPNS0_4NodeEPv.exit, label %if.then.i.i.i.i18 if.then.i.i.i.i18: ; preds = %if.then.i - call void @free(ptr noundef %15) #21 + call void @free(ptr noundef %15) #22 br label %_ZN4llvh14FoldingSetBase10InsertNodeEPNS0_4NodeEPv.exit _ZN4llvh14FoldingSetBase10InsertNodeEPNS0_4NodeEPv.exit: ; preds = %if.end, %if.then.i, %if.then.i.i.i.i18 @@ -1383,14 +1383,14 @@ cleanup: ; preds = %_ZN4llvh14FoldingSe br i1 %cmp.i.i.i.i, label %_ZN4llvh16FoldingSetNodeIDD2Ev.exit, label %if.then.i.i.i if.then.i.i.i: ; preds = %cleanup - call void @free(ptr noundef %20) #21 + call void @free(ptr noundef %20) #22 br label %_ZN4llvh16FoldingSetNodeIDD2Ev.exit _ZN4llvh16FoldingSetNodeIDD2Ev.exit: ; preds = %cleanup, %if.then.i.i.i ret ptr %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN4llvh22FoldingSetIteratorImplC2EPPv(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(8) %this, ptr nocapture noundef readonly %Bucket) unnamed_addr #11 align 2 { entry: br label %while.cond @@ -1421,7 +1421,7 @@ while.end: ; preds = %while.cond, %lor.rh } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @_ZN4llvh22FoldingSetIteratorImpl7advanceEv(ptr nocapture noundef nonnull align 8 dereferenceable(8) %this) local_unnamed_addr #11 align 2 { +define hidden void @_ZN4llvh22FoldingSetIteratorImpl7advanceEv(ptr nocapture noundef nonnull align 8 dereferenceable(8) %this) local_unnamed_addr #12 align 2 { entry: %0 = load ptr, ptr %this, align 8 %1 = load ptr, ptr %0, align 8 @@ -1480,12 +1480,12 @@ entry: declare void @__cxa_pure_virtual() unnamed_addr ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) -declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #12 +declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #13 -declare void @_ZN4llvh22report_bad_alloc_errorEPKcb(ptr noundef, i1 noundef zeroext) local_unnamed_addr #13 +declare void @_ZN4llvh22report_bad_alloc_errorEPKcb(ptr noundef, i1 noundef zeroext) local_unnamed_addr #14 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.ctlz.i64(i64, i1 immarg) #14 +declare i64 @llvm.ctlz.i64(i64, i1 immarg) #15 ; Function Attrs: mustprogress nounwind uwtable define linkonce_odr hidden i64 @_ZN4llvh7hashing6detail23hash_combine_range_implIKjEENSt9enable_ifIXsr16is_hashable_dataIT_EE5valueENS_9hash_codeEE4typeEPS5_S9_(ptr noundef %first, ptr noundef %last) local_unnamed_addr #0 comdat { @@ -1495,7 +1495,7 @@ entry: br i1 %guard.uninitialized.i, label %init.check.i, label %_ZN4llvh7hashing6detail18get_execution_seedEv.exit, !prof !12 init.check.i: ; preds = %entry - %1 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN4llvh7hashing6detail18get_execution_seedEvE4seed) #21 + %1 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN4llvh7hashing6detail18get_execution_seedEvE4seed) #22 %tobool.not.i = icmp eq i32 %1, 0 br i1 %tobool.not.i, label %_ZN4llvh7hashing6detail18get_execution_seedEv.exit, label %init.i @@ -1504,7 +1504,7 @@ init.i: ; preds = %init.check.i %tobool1.not.i = icmp eq i64 %2, 0 %cond.i = select i1 %tobool1.not.i, i64 -49064778989728563, i64 %2 store i64 %cond.i, ptr @_ZZN4llvh7hashing6detail18get_execution_seedEvE4seed, align 8 - tail call void @__cxa_guard_release(ptr nonnull @_ZGVZN4llvh7hashing6detail18get_execution_seedEvE4seed) #21 + tail call void @__cxa_guard_release(ptr nonnull @_ZGVZN4llvh7hashing6detail18get_execution_seedEvE4seed) #22 br label %_ZN4llvh7hashing6detail18get_execution_seedEv.exit _ZN4llvh7hashing6detail18get_execution_seedEv.exit: ; preds = %entry, %init.check.i, %init.i @@ -1988,12 +1988,12 @@ return: ; preds = %if.end21, %if.then1 } ; Function Attrs: nofree nounwind -declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #15 +declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #16 ; Function Attrs: nofree nounwind -declare void @__cxa_guard_release(ptr) local_unnamed_addr #15 +declare void @__cxa_guard_release(ptr) local_unnamed_addr #16 -declare void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #13 +declare void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #14 ; Function Attrs: mustprogress nounwind uwtable define linkonce_odr hidden noalias noundef nonnull ptr @_ZN4llvh20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EE8AllocateEmm(ptr noundef nonnull align 8 dereferenceable(97) %this, i64 noundef %Size, i64 noundef %Alignment) local_unnamed_addr #0 comdat align 2 { @@ -2029,12 +2029,12 @@ if.end: ; preds = %entry br i1 %cmp8, label %if.then9, label %if.end14 if.then9: ; preds = %if.end - %call.i.i = tail call noalias ptr @malloc(i64 noundef %sub) #23 + %call.i.i = tail call noalias ptr @malloc(i64 noundef %sub) #24 %cmp.i.i = icmp eq ptr %call.i.i, null br i1 %cmp.i.i, label %if.then.i.i, label %_ZN4llvh15MallocAllocator8AllocateEmm.exit if.then.i.i: ; preds = %if.then9 - tail call void @_ZN4llvh22report_bad_alloc_errorEPKcb(ptr noundef nonnull @.str, i1 noundef zeroext true) #21 + tail call void @_ZN4llvh22report_bad_alloc_errorEPKcb(ptr noundef nonnull @.str, i1 noundef zeroext true) #22 br label %_ZN4llvh15MallocAllocator8AllocateEmm.exit _ZN4llvh15MallocAllocator8AllocateEmm.exit: ; preds = %if.then9, %if.then.i.i @@ -2047,7 +2047,7 @@ _ZN4llvh15MallocAllocator8AllocateEmm.exit: ; preds = %if.then9, %if.then. br i1 %cmp.not.i, label %_ZN4llvh23SmallVectorTemplateBaseISt4pairIPvmELb1EE9push_backERKS3_.exit, label %if.then.i if.then.i: ; preds = %_ZN4llvh15MallocAllocator8AllocateEmm.exit - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %CustomSizedSlabs, ptr noundef nonnull %BytesAllocated, i64 noundef 0, i64 noundef 16) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %CustomSizedSlabs, ptr noundef nonnull %BytesAllocated, i64 noundef 0, i64 noundef 16) #22 %.pre.i = load i32, ptr %Size.i.i, align 8 br label %_ZN4llvh23SmallVectorTemplateBaseISt4pairIPvmELb1EE9push_backERKS3_.exit @@ -2076,12 +2076,12 @@ if.end14: ; preds = %if.end %12 = tail call i32 @llvm.umin.i32(i32 %div1.i.i, i32 30) %.sroa.speculated.i.i = zext nneg i32 %12 to i64 %mul.i.i = shl nuw nsw i64 4096, %.sroa.speculated.i.i - %call.i.i.i = tail call noalias ptr @malloc(i64 noundef %mul.i.i) #23 + %call.i.i.i = tail call noalias ptr @malloc(i64 noundef %mul.i.i) #24 %cmp.i.i.i = icmp eq ptr %call.i.i.i, null br i1 %cmp.i.i.i, label %if.then.i.i.i, label %_ZN4llvh15MallocAllocator8AllocateEmm.exit.i if.then.i.i.i: ; preds = %if.end14 - tail call void @_ZN4llvh22report_bad_alloc_errorEPKcb(ptr noundef nonnull @.str, i1 noundef zeroext true) #21 + tail call void @_ZN4llvh22report_bad_alloc_errorEPKcb(ptr noundef nonnull @.str, i1 noundef zeroext true) #22 %.pre.i16 = load i32, ptr %Size.i.i13, align 8 br label %_ZN4llvh15MallocAllocator8AllocateEmm.exit.i @@ -2094,7 +2094,7 @@ _ZN4llvh15MallocAllocator8AllocateEmm.exit.i: ; preds = %if.then.i.i.i, %if. if.then.i.i14: ; preds = %_ZN4llvh15MallocAllocator8AllocateEmm.exit.i %add.ptr.i.i.i.i.i = getelementptr inbounds i8, ptr %this, i64 32 - tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %Slabs.i, ptr noundef nonnull %add.ptr.i.i.i.i.i, i64 noundef 0, i64 noundef 8) #21 + tail call void @_ZN4llvh15SmallVectorBase8grow_podEPvmm(ptr noundef nonnull align 8 dereferenceable(16) %Slabs.i, ptr noundef nonnull %add.ptr.i.i.i.i.i, i64 noundef 0, i64 noundef 8) #22 %.pre.i.i = load i32, ptr %Size.i.i13, align 8 br label %_ZN4llvh20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EE12StartNewSlabEv.exit @@ -2123,28 +2123,28 @@ return: ; preds = %_ZN4llvh20BumpPtrAl } ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) -declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #16 +declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #17 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #3 ; Function Attrs: nofree nounwind willreturn memory(argmem: read) -declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #17 +declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #18 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.fshr.i64(i64, i64, i64) #18 +declare i64 @llvm.fshr.i64(i64, i64, i64) #19 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.fshl.i64(i64, i64, i64) #18 +declare i64 @llvm.fshl.i64(i64, i64, i64) #19 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #18 +declare i32 @llvm.umin.i32(i32, i32) #19 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #19 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #20 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #19 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #20 attributes #0 = { mustprogress 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 #1 = { mustprogress nofree 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" } @@ -2157,19 +2157,20 @@ attributes #7 = { mustprogress nounwind willreturn allockind("free") memory(argm attributes #8 = { 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 #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #10 = { mustprogress 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 #11 = { mustprogress 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 #12 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) 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 #13 = { "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 #14 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #15 = { nofree nounwind } -attributes #16 = { 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 #17 = { nofree nounwind willreturn memory(argmem: read) } -attributes #18 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #19 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #20 = { nounwind willreturn memory(read) } -attributes #21 = { nounwind } -attributes #22 = { nounwind allocsize(0,1) } -attributes #23 = { nounwind allocsize(0) } +attributes #11 = { mustprogress 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 #12 = { mustprogress 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 #13 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) 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 #14 = { "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 #15 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #16 = { nofree nounwind } +attributes #17 = { 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 #18 = { nofree nounwind willreturn memory(argmem: read) } +attributes #19 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #20 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #21 = { nounwind willreturn memory(read) } +attributes #22 = { nounwind } +attributes #23 = { nounwind allocsize(0,1) } +attributes #24 = { nounwind allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/hyperscan/optimized/gough.c.ll b/bench/hyperscan/optimized/gough.c.ll index b7656088e36..ffbfb7249f1 100644 --- a/bench/hyperscan/optimized/gough.c.ll +++ b/bench/hyperscan/optimized/gough.c.ll @@ -49,7 +49,7 @@ if.then.i: ; preds = %entry cond.end.i30: ; preds = %if.then.i %11 = load i64, ptr %add.ptr.i12, align 8 - %call.i = tail call i32 %2(i64 noundef %11, i64 noundef %add.i11, i32 noundef 0, ptr noundef %3) #12 + %call.i = tail call i32 %2(i64 noundef %11, i64 noundef %add.i11, i32 noundef 0, ptr noundef %3) #11 %cmp5.i = icmp eq i32 %call.i, 0 store i8 0, ptr %report_current.i, align 8 br i1 %cmp5.i, label %nfaExecGough8_Q2i.exit, label %if.end8.i @@ -112,13 +112,13 @@ cond.false59.i: ; preds = %for.body.i cond.end63.i: ; preds = %for.body.i, %cond.false59.i %cond64.i = phi i64 [ %19, %cond.false59.i ], [ %add.i11, %for.body.i ] %20 = load i32, ptr %arrayidx53.i, align 4 - %call71.i = tail call i32 %2(i64 noundef %cond64.i, i64 noundef %add.i11, i32 noundef %20, ptr noundef %3) #12 + %call71.i = tail call i32 %2(i64 noundef %cond64.i, i64 noundef %add.i11, i32 noundef %20, ptr noundef %3) #11 %cmp72.i23 = icmp eq i32 %call71.i, 0 br i1 %cmp72.i23, label %if.then7.i.critedge, label %for.cond.i doReports.exit: ; preds = %cond.false35.i, %if.then26.i %cond40.i = phi i64 [ %17, %cond.false35.i ], [ %add.i11, %if.then26.i ] - %call43.i = tail call i32 %2(i64 noundef %cond40.i, i64 noundef %add.i11, i32 noundef %15, ptr noundef %3) #12 + %call43.i = tail call i32 %2(i64 noundef %cond40.i, i64 noundef %add.i11, i32 noundef %15, ptr noundef %3) #11 %cmp44.i = icmp eq i32 %call43.i, 0 store i8 0, ptr %report_current.i, align 8 br i1 %cmp44.i, label %nfaExecGough8_Q2i.exit, label %if.end8.i @@ -400,7 +400,7 @@ if.then.i: ; preds = %entry cond.end.i28: ; preds = %if.then.i %11 = load i64, ptr %add.ptr.i12, align 8 - %call.i = tail call i32 %2(i64 noundef %11, i64 noundef %add.i11, i32 noundef 0, ptr noundef %3) #12 + %call.i = tail call i32 %2(i64 noundef %11, i64 noundef %add.i11, i32 noundef 0, ptr noundef %3) #11 %cmp5.i = icmp eq i32 %call.i, 0 store i8 0, ptr %report_current.i, align 8 br i1 %cmp5.i, label %nfaExecGough16_Q2i.exit, label %if.end7.i @@ -463,13 +463,13 @@ cond.false59.i: ; preds = %for.body.i cond.end63.i: ; preds = %for.body.i, %cond.false59.i %cond64.i = phi i64 [ %19, %cond.false59.i ], [ %add.i11, %for.body.i ] %20 = load i32, ptr %arrayidx53.i, align 4 - %call71.i = tail call i32 %2(i64 noundef %cond64.i, i64 noundef %add.i11, i32 noundef %20, ptr noundef %3) #12 + %call71.i = tail call i32 %2(i64 noundef %cond64.i, i64 noundef %add.i11, i32 noundef %20, ptr noundef %3) #11 %cmp72.i = icmp eq i32 %call71.i, 0 br i1 %cmp72.i, label %if.then6.i.critedge, label %for.cond.i doReports.exit: ; preds = %cond.false35.i, %if.then26.i %cond40.i = phi i64 [ %17, %cond.false35.i ], [ %add.i11, %if.then26.i ] - %call43.i = tail call i32 %2(i64 noundef %cond40.i, i64 noundef %add.i11, i32 noundef %15, ptr noundef %3) #12 + %call43.i = tail call i32 %2(i64 noundef %cond40.i, i64 noundef %add.i11, i32 noundef %15, ptr noundef %3) #11 %cmp44.i22 = icmp eq i32 %call43.i, 0 store i8 0, ptr %report_current.i, align 8 br i1 %cmp44.i22, label %nfaExecGough16_Q2i.exit, label %if.end7.i @@ -749,7 +749,7 @@ if.then.i: ; preds = %entry cond.end.i30: ; preds = %if.then.i %11 = load i64, ptr %add.ptr.i12, align 8 - %call.i = tail call i32 %2(i64 noundef %11, i64 noundef %add.i11, i32 noundef 0, ptr noundef %3) #12 + %call.i = tail call i32 %2(i64 noundef %11, i64 noundef %add.i11, i32 noundef 0, ptr noundef %3) #11 %cmp5.i = icmp eq i32 %call.i, 0 store i8 0, ptr %report_current.i, align 8 br i1 %cmp5.i, label %nfaExecGough8_Q2i.exit, label %if.end8.i @@ -812,13 +812,13 @@ cond.false59.i: ; preds = %for.body.i cond.end63.i: ; preds = %for.body.i, %cond.false59.i %cond64.i = phi i64 [ %19, %cond.false59.i ], [ %add.i11, %for.body.i ] %20 = load i32, ptr %arrayidx53.i, align 4 - %call71.i = tail call i32 %2(i64 noundef %cond64.i, i64 noundef %add.i11, i32 noundef %20, ptr noundef %3) #12 + %call71.i = tail call i32 %2(i64 noundef %cond64.i, i64 noundef %add.i11, i32 noundef %20, ptr noundef %3) #11 %cmp72.i23 = icmp eq i32 %call71.i, 0 br i1 %cmp72.i23, label %if.then7.i.critedge, label %for.cond.i doReports.exit: ; preds = %cond.false35.i, %if.then26.i %cond40.i = phi i64 [ %17, %cond.false35.i ], [ %add.i11, %if.then26.i ] - %call43.i = tail call i32 %2(i64 noundef %cond40.i, i64 noundef %add.i11, i32 noundef %15, ptr noundef %3) #12 + %call43.i = tail call i32 %2(i64 noundef %cond40.i, i64 noundef %add.i11, i32 noundef %15, ptr noundef %3) #11 %cmp44.i = icmp eq i32 %call43.i, 0 store i8 0, ptr %report_current.i, align 8 br i1 %cmp44.i, label %nfaExecGough8_Q2i.exit, label %if.end8.i @@ -1123,7 +1123,7 @@ if.then.i: ; preds = %entry cond.end.i28: ; preds = %if.then.i %11 = load i64, ptr %add.ptr.i12, align 8 - %call.i = tail call i32 %2(i64 noundef %11, i64 noundef %add.i11, i32 noundef 0, ptr noundef %3) #12 + %call.i = tail call i32 %2(i64 noundef %11, i64 noundef %add.i11, i32 noundef 0, ptr noundef %3) #11 %cmp5.i = icmp eq i32 %call.i, 0 store i8 0, ptr %report_current.i, align 8 br i1 %cmp5.i, label %nfaExecGough16_Q2i.exit, label %if.end7.i @@ -1186,13 +1186,13 @@ cond.false59.i: ; preds = %for.body.i cond.end63.i: ; preds = %for.body.i, %cond.false59.i %cond64.i = phi i64 [ %19, %cond.false59.i ], [ %add.i11, %for.body.i ] %20 = load i32, ptr %arrayidx53.i, align 4 - %call71.i = tail call i32 %2(i64 noundef %cond64.i, i64 noundef %add.i11, i32 noundef %20, ptr noundef %3) #12 + %call71.i = tail call i32 %2(i64 noundef %cond64.i, i64 noundef %add.i11, i32 noundef %20, ptr noundef %3) #11 %cmp72.i = icmp eq i32 %call71.i, 0 br i1 %cmp72.i, label %if.then6.i.critedge, label %for.cond.i doReports.exit: ; preds = %cond.false35.i, %if.then26.i %cond40.i = phi i64 [ %17, %cond.false35.i ], [ %add.i11, %if.then26.i ] - %call43.i = tail call i32 %2(i64 noundef %cond40.i, i64 noundef %add.i11, i32 noundef %15, ptr noundef %3) #12 + %call43.i = tail call i32 %2(i64 noundef %cond40.i, i64 noundef %add.i11, i32 noundef %15, ptr noundef %3) #11 %cmp44.i22 = icmp eq i32 %call43.i, 0 store i8 0, ptr %report_current.i, align 8 br i1 %cmp44.i22, label %nfaExecGough16_Q2i.exit, label %if.end7.i @@ -1495,7 +1495,7 @@ if.then.i: ; preds = %entry cond.end.i33: ; preds = %if.then.i %11 = load i64, ptr %add.ptr.i15, align 8 - %call.i = tail call i32 %2(i64 noundef %11, i64 noundef %add.i14, i32 noundef 0, ptr noundef %3) #12 + %call.i = tail call i32 %2(i64 noundef %11, i64 noundef %add.i14, i32 noundef 0, ptr noundef %3) #11 %cmp5.i = icmp eq i32 %call.i, 0 store i8 0, ptr %report_current.i, align 8 br i1 %cmp5.i, label %return, label %if.end8.i @@ -1558,13 +1558,13 @@ cond.false59.i: ; preds = %for.body.i cond.end63.i: ; preds = %for.body.i, %cond.false59.i %cond64.i = phi i64 [ %19, %cond.false59.i ], [ %add.i14, %for.body.i ] %20 = load i32, ptr %arrayidx53.i, align 4 - %call71.i = tail call i32 %2(i64 noundef %cond64.i, i64 noundef %add.i14, i32 noundef %20, ptr noundef %3) #12 + %call71.i = tail call i32 %2(i64 noundef %cond64.i, i64 noundef %add.i14, i32 noundef %20, ptr noundef %3) #11 %cmp72.i26 = icmp eq i32 %call71.i, 0 br i1 %cmp72.i26, label %if.then7.i.critedge, label %for.cond.i doReports.exit: ; preds = %cond.false35.i, %if.then26.i %cond40.i = phi i64 [ %17, %cond.false35.i ], [ %add.i14, %if.then26.i ] - %call43.i = tail call i32 %2(i64 noundef %cond40.i, i64 noundef %add.i14, i32 noundef %15, ptr noundef %3) #12 + %call43.i = tail call i32 %2(i64 noundef %cond40.i, i64 noundef %add.i14, i32 noundef %15, ptr noundef %3) #11 %cmp44.i = icmp eq i32 %call43.i, 0 store i8 0, ptr %report_current.i, align 8 br i1 %cmp44.i, label %return, label %if.end8.i @@ -1765,7 +1765,7 @@ nfaExecGough8_Q2i.exit: ; preds = %if.end124.i br i1 %tobool149.i.not.not, label %return, label %land.lhs.true land.lhs.true: ; preds = %nfaExecGough8_Q2i.exit - %call5 = tail call signext i8 @nfaExecMcClellan8_inAccept(ptr noundef %n, i32 noundef %report, ptr noundef nonnull %q) #12 + %call5 = tail call signext i8 @nfaExecMcClellan8_inAccept(ptr noundef %n, i32 noundef %report, ptr noundef nonnull %q) #11 %tobool7.not = icmp eq i8 %call5, 0 %spec.select130 = select i1 %tobool7.not, i8 1, i8 2 br label %return @@ -1819,7 +1819,7 @@ if.then.i: ; preds = %entry cond.end.i31: ; preds = %if.then.i %11 = load i64, ptr %add.ptr.i15, align 8 - %call.i = tail call i32 %2(i64 noundef %11, i64 noundef %add.i14, i32 noundef 0, ptr noundef %3) #12 + %call.i = tail call i32 %2(i64 noundef %11, i64 noundef %add.i14, i32 noundef 0, ptr noundef %3) #11 %cmp5.i = icmp eq i32 %call.i, 0 store i8 0, ptr %report_current.i, align 8 br i1 %cmp5.i, label %return, label %if.end7.i @@ -1882,13 +1882,13 @@ cond.false59.i: ; preds = %for.body.i cond.end63.i: ; preds = %for.body.i, %cond.false59.i %cond64.i = phi i64 [ %19, %cond.false59.i ], [ %add.i14, %for.body.i ] %20 = load i32, ptr %arrayidx53.i, align 4 - %call71.i = tail call i32 %2(i64 noundef %cond64.i, i64 noundef %add.i14, i32 noundef %20, ptr noundef %3) #12 + %call71.i = tail call i32 %2(i64 noundef %cond64.i, i64 noundef %add.i14, i32 noundef %20, ptr noundef %3) #11 %cmp72.i = icmp eq i32 %call71.i, 0 br i1 %cmp72.i, label %if.then6.i.critedge, label %for.cond.i doReports.exit: ; preds = %cond.false35.i, %if.then26.i %cond40.i = phi i64 [ %17, %cond.false35.i ], [ %add.i14, %if.then26.i ] - %call43.i = tail call i32 %2(i64 noundef %cond40.i, i64 noundef %add.i14, i32 noundef %15, ptr noundef %3) #12 + %call43.i = tail call i32 %2(i64 noundef %cond40.i, i64 noundef %add.i14, i32 noundef %15, ptr noundef %3) #11 %cmp44.i25 = icmp eq i32 %call43.i, 0 store i8 0, ptr %report_current.i, align 8 br i1 %cmp44.i25, label %return, label %if.end7.i @@ -2087,7 +2087,7 @@ nfaExecGough16_Q2i.exit: ; preds = %if.end117.i br i1 %tobool139.i.not.not, label %return, label %land.lhs.true land.lhs.true: ; preds = %nfaExecGough16_Q2i.exit - %call5 = tail call signext i8 @nfaExecMcClellan16_inAccept(ptr noundef %n, i32 noundef %report, ptr noundef nonnull %q) #12 + %call5 = tail call signext i8 @nfaExecMcClellan16_inAccept(ptr noundef %n, i32 noundef %report, ptr noundef nonnull %q) #11 %tobool7.not = icmp eq i8 %call5, 0 %spec.select130 = select i1 %tobool7.not, i8 1, i8 2 br label %return @@ -2182,7 +2182,7 @@ land.lhs.true.i: ; preds = %entry cond.end.i: ; preds = %land.lhs.true.i %9 = load i64, ptr %add.ptr.i, align 8 - %call.i = tail call i32 %0(i64 noundef %9, i64 noundef %add.i, i32 noundef 0, ptr noundef %1) #12 + %call.i = tail call i32 %0(i64 noundef %9, i64 noundef %add.i, i32 noundef 0, ptr noundef %1) #11 br label %if.end cond.end15.i: ; preds = %land.lhs.true.i @@ -2223,7 +2223,7 @@ cond.false35.i: ; preds = %if.then26.i cond.end39.i: ; preds = %if.then26.i, %cond.false35.i %cond40.i = phi i64 [ %15, %cond.false35.i ], [ %add.i, %if.then26.i ] - %call43.i = tail call i32 %0(i64 noundef %cond40.i, i64 noundef %add.i, i32 noundef %13, ptr noundef %1) #12 + %call43.i = tail call i32 %0(i64 noundef %cond40.i, i64 noundef %add.i, i32 noundef %13, ptr noundef %1) #11 br label %if.end for.body.i: ; preds = %cond.end63.i, %for.body.i.lr.ph @@ -2243,7 +2243,7 @@ cond.false59.i: ; preds = %for.body.i cond.end63.i: ; preds = %for.body.i, %cond.false59.i %cond64.i = phi i64 [ %17, %cond.false59.i ], [ %add.i, %for.body.i ] %18 = load i32, ptr %arrayidx53.i, align 4 - %call71.i = tail call i32 %0(i64 noundef %cond64.i, i64 noundef %add.i, i32 noundef %18, ptr noundef %1) #12 + %call71.i = tail call i32 %0(i64 noundef %cond64.i, i64 noundef %add.i, i32 noundef %18, ptr noundef %1) #11 %cmp72.i = icmp eq i32 %call71.i, 0 %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1 %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count @@ -2291,7 +2291,7 @@ land.lhs.true.i: ; preds = %entry cond.end.i: ; preds = %land.lhs.true.i %9 = load i64, ptr %add.ptr.i, align 8 - %call.i = tail call i32 %0(i64 noundef %9, i64 noundef %add.i, i32 noundef 0, ptr noundef %1) #12 + %call.i = tail call i32 %0(i64 noundef %9, i64 noundef %add.i, i32 noundef 0, ptr noundef %1) #11 br label %if.end cond.end15.i: ; preds = %land.lhs.true.i @@ -2325,7 +2325,7 @@ cond.false35.i: ; preds = %if.then26.i cond.end39.i: ; preds = %if.then26.i, %cond.false35.i %cond40.i = phi i64 [ %13, %cond.false35.i ], [ %add.i, %if.then26.i ] - %call43.i = tail call i32 %0(i64 noundef %cond40.i, i64 noundef %add.i, i32 noundef %11, ptr noundef %1) #12 + %call43.i = tail call i32 %0(i64 noundef %cond40.i, i64 noundef %add.i, i32 noundef %11, ptr noundef %1) #11 br label %if.end for.body.i: ; preds = %cond.end63.i, %for.body.i.lr.ph @@ -2345,7 +2345,7 @@ cond.false59.i: ; preds = %for.body.i cond.end63.i: ; preds = %for.body.i, %cond.false59.i %cond64.i = phi i64 [ %15, %cond.false59.i ], [ %add.i, %for.body.i ] %16 = load i32, ptr %arrayidx53.i, align 4 - %call71.i = tail call i32 %0(i64 noundef %cond64.i, i64 noundef %add.i, i32 noundef %16, ptr noundef %1) #12 + %call71.i = tail call i32 %0(i64 noundef %cond64.i, i64 noundef %add.i, i32 noundef %16, ptr noundef %1) #11 %cmp72.i = icmp eq i32 %call71.i, 0 %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1 %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count @@ -2359,21 +2359,21 @@ if.end: ; preds = %cond.end63.i, %cond ; Function Attrs: nounwind uwtable define hidden signext i8 @nfaExecGough8_inAccept(ptr noundef %n, i32 noundef %report, ptr noundef %q) local_unnamed_addr #0 { entry: - %call = tail call signext i8 @nfaExecMcClellan8_inAccept(ptr noundef %n, i32 noundef %report, ptr noundef %q) #12 + %call = tail call signext i8 @nfaExecMcClellan8_inAccept(ptr noundef %n, i32 noundef %report, ptr noundef %q) #11 ret i8 %call } ; Function Attrs: nounwind uwtable define hidden signext i8 @nfaExecGough16_inAccept(ptr noundef %n, i32 noundef %report, ptr noundef %q) local_unnamed_addr #0 { entry: - %call = tail call signext i8 @nfaExecMcClellan16_inAccept(ptr noundef %n, i32 noundef %report, ptr noundef %q) #12 + %call = tail call signext i8 @nfaExecMcClellan16_inAccept(ptr noundef %n, i32 noundef %report, ptr noundef %q) #11 ret i8 %call } ; Function Attrs: nounwind uwtable define hidden signext i8 @nfaExecGough8_inAnyAccept(ptr noundef %n, ptr noundef %q) local_unnamed_addr #0 { entry: - %call = tail call signext i8 @nfaExecMcClellan8_inAnyAccept(ptr noundef %n, ptr noundef %q) #12 + %call = tail call signext i8 @nfaExecMcClellan8_inAnyAccept(ptr noundef %n, ptr noundef %q) #11 ret i8 %call } @@ -2382,7 +2382,7 @@ declare signext i8 @nfaExecMcClellan8_inAnyAccept(ptr noundef, ptr noundef) loca ; Function Attrs: nounwind uwtable define hidden signext i8 @nfaExecGough16_inAnyAccept(ptr noundef %n, ptr noundef %q) local_unnamed_addr #0 { entry: - %call = tail call signext i8 @nfaExecMcClellan16_inAnyAccept(ptr noundef %n, ptr noundef %q) #12 + %call = tail call signext i8 @nfaExecMcClellan16_inAnyAccept(ptr noundef %n, ptr noundef %q) #11 ret i8 %call } @@ -2439,7 +2439,7 @@ cond.false59.i.i: ; preds = %for.body.i.i cond.end63.i.i: ; preds = %cond.false59.i.i, %for.body.i.i %cond64.i.i = phi i64 [ %5, %cond.false59.i.i ], [ %offset, %for.body.i.i ] %6 = load i32, ptr %arrayidx53.i.i, align 4 - %call71.i.i = tail call i32 %callback(i64 noundef %cond64.i.i, i64 noundef %offset, i32 noundef %6, ptr noundef %context) #12 + %call71.i.i = tail call i32 %callback(i64 noundef %cond64.i.i, i64 noundef %offset, i32 noundef %6, ptr noundef %context) #11 %cmp72.i.i = icmp eq i32 %call71.i.i, 0 br i1 %cmp72.i.i, label %goughCheckEOD.exit, label %for.cond.i.i @@ -2499,7 +2499,7 @@ cond.false59.i.i: ; preds = %for.body.i.i cond.end63.i.i: ; preds = %cond.false59.i.i, %for.body.i.i %cond64.i.i = phi i64 [ %5, %cond.false59.i.i ], [ %offset, %for.body.i.i ] %6 = load i32, ptr %arrayidx53.i.i, align 4 - %call71.i.i = tail call i32 %callback(i64 noundef %cond64.i.i, i64 noundef %offset, i32 noundef %6, ptr noundef %context) #12 + %call71.i.i = tail call i32 %callback(i64 noundef %cond64.i.i, i64 noundef %offset, i32 noundef %6, ptr noundef %context) #11 %cmp72.i.i = icmp eq i32 %call71.i.i, 0 br i1 %cmp72.i.i, label %goughCheckEOD.exit, label %for.cond.i.i @@ -3254,7 +3254,7 @@ cond.false.i226.i: ; preds = %if.then.i224.i cond.end.i229.i: ; preds = %if.then.i224.i, %cond.false.i226.i %cond.i230.i = phi i64 [ %45, %cond.false.i226.i ], [ %add36.i, %if.then.i224.i ] - %call.i231.i = tail call i32 %cb(i64 noundef %cond.i230.i, i64 noundef %add36.i, i32 noundef %cached_accept_id.i.1317, ptr noundef %ctxt) #12 + %call.i231.i = tail call i32 %cb(i64 noundef %cond.i230.i, i64 noundef %add36.i, i32 noundef %cached_accept_id.i.1317, ptr noundef %ctxt) #11 %cmp5.i232.i = icmp eq i32 %call.i231.i, 0 br i1 %cmp5.i232.i, label %goughExec8_i.exit, label %if.end44.i @@ -3315,13 +3315,13 @@ cond.false59.i193.i: ; preds = %for.body.i187.i cond.end63.i196.i: ; preds = %for.body.i187.i, %cond.false59.i193.i %cond64.i197.i = phi i64 [ %53, %cond.false59.i193.i ], [ %add36.i, %for.body.i187.i ] %54 = load i32, ptr %arrayidx53.i190.i, align 4 - %call71.i201.i = tail call i32 %cb(i64 noundef %cond64.i197.i, i64 noundef %add36.i, i32 noundef %54, ptr noundef %ctxt) #12 + %call71.i201.i = tail call i32 %cb(i64 noundef %cond64.i197.i, i64 noundef %add36.i, i32 noundef %54, ptr noundef %ctxt) #11 %cmp72.i202.i = icmp eq i32 %call71.i201.i, 0 br i1 %cmp72.i202.i, label %goughExec8_i.exit, label %for.cond.i184.i doReports.exit236.i: ; preds = %cond.false35.i212.i, %if.then26.i207.i %cond40.i216.i = phi i64 [ %51, %cond.false35.i212.i ], [ %add36.i, %if.then26.i207.i ] - %call43.i217.i = tail call i32 %cb(i64 noundef %cond40.i216.i, i64 noundef %add36.i, i32 noundef %49, ptr noundef %ctxt) #12 + %call43.i217.i = tail call i32 %cb(i64 noundef %cond40.i216.i, i64 noundef %add36.i, i32 noundef %49, ptr noundef %ctxt) #11 %cmp44.i218.i = icmp eq i32 %call43.i217.i, 0 br i1 %cmp44.i218.i, label %goughExec8_i.exit, label %if.end44.i @@ -3474,7 +3474,7 @@ cond.false.i.i: ; preds = %if.then.i.i cond.end.i.i: ; preds = %if.then.i.i, %cond.false.i.i %cond.i.i = phi i64 [ %69, %cond.false.i.i ], [ %add95.i, %if.then.i.i ] - %call.i.i = tail call i32 %cb(i64 noundef %cond.i.i, i64 noundef %add95.i, i32 noundef %cached_accept_id.i.5408, ptr noundef %ctxt) #12 + %call.i.i = tail call i32 %cb(i64 noundef %cond.i.i, i64 noundef %add95.i, i32 noundef %cached_accept_id.i.5408, ptr noundef %ctxt) #11 %cmp5.i.i = icmp eq i32 %call.i.i, 0 br i1 %cmp5.i.i, label %goughExec8_i.exit, label %if.end138.i @@ -3535,13 +3535,13 @@ cond.false59.i.i: ; preds = %for.body.i.i cond.end63.i.i: ; preds = %for.body.i.i, %cond.false59.i.i %cond64.i.i = phi i64 [ %77, %cond.false59.i.i ], [ %add95.i, %for.body.i.i ] %78 = load i32, ptr %arrayidx53.i.i, align 4 - %call71.i.i = tail call i32 %cb(i64 noundef %cond64.i.i, i64 noundef %add95.i, i32 noundef %78, ptr noundef %ctxt) #12 + %call71.i.i = tail call i32 %cb(i64 noundef %cond64.i.i, i64 noundef %add95.i, i32 noundef %78, ptr noundef %ctxt) #11 %cmp72.i.i = icmp eq i32 %call71.i.i, 0 br i1 %cmp72.i.i, label %goughExec8_i.exit, label %for.cond.i.i doReports.exit.i: ; preds = %cond.false35.i.i, %if.then26.i.i %cond40.i.i = phi i64 [ %75, %cond.false35.i.i ], [ %add95.i, %if.then26.i.i ] - %call43.i.i = tail call i32 %cb(i64 noundef %cond40.i.i, i64 noundef %add95.i, i32 noundef %73, ptr noundef %ctxt) #12 + %call43.i.i = tail call i32 %cb(i64 noundef %cond40.i.i, i64 noundef %add95.i, i32 noundef %73, ptr noundef %ctxt) #11 %cmp44.i.i = icmp eq i32 %call43.i.i, 0 br i1 %cmp44.i.i, label %goughExec8_i.exit, label %if.end138.i @@ -3555,7 +3555,7 @@ if.else.i: ; preds = %if.then73.i if.then106.i: ; preds = %if.else.i %idx.ext112.i = zext i32 %79 to i64 %add.ptr113.i = getelementptr inbounds i8, ptr %m, i64 %idx.ext112.i - %call114.i = tail call ptr @run_accel(ptr noundef nonnull %add.ptr113.i, ptr noundef nonnull %incdec.ptr55.i, ptr noundef nonnull %add.ptr.i) #12 + %call114.i = tail call ptr @run_accel(ptr noundef nonnull %add.ptr113.i, ptr noundef nonnull %incdec.ptr55.i, ptr noundef nonnull %add.ptr.i) #11 %cmp115.i.not = icmp eq ptr %call114.i, %incdec.ptr55.i br i1 %cmp115.i.not, label %if.end120.i, label %land.lhs.true117.i @@ -3614,8 +3614,8 @@ goughExec8_i.exit: ; preds = %cond.end.i229.i, %d declare ptr @run_accel(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @run_accel_prog(ptr nocapture noundef readonly %nfa, i8 %gacc.80.val, i32 %gacc.84.val, ptr noundef %buf, i64 noundef %offAdj, ptr noundef %c, ptr noundef %c2, ptr nocapture noundef %som) unnamed_addr #7 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc void @run_accel_prog(ptr nocapture noundef readonly %nfa, i8 %gacc.80.val, i32 %gacc.84.val, ptr noundef %buf, i64 noundef %offAdj, ptr noundef %c, ptr noundef %c2, ptr nocapture noundef %som) unnamed_addr #6 { entry: %idx.ext = zext i32 %gacc.84.val to i64 %add.ptr = getelementptr inbounds i8, ptr %nfa, i64 %idx.ext @@ -3862,7 +3862,7 @@ if.end: ; preds = %run_prog_i.exit140, } ; Function Attrs: nounwind uwtable -define internal fastcc signext range(i8 0, 2) i8 @goughExec16_i_ni(ptr noundef %m, ptr nocapture noundef %som, ptr nocapture noundef %state, ptr noundef %buf, i64 noundef %len, i64 noundef %offAdj, ptr nocapture noundef readonly %cb, ptr noundef %ctxt, ptr nocapture noundef writeonly %final_point, i32 noundef %mode) unnamed_addr #8 { +define internal fastcc signext range(i8 0, 2) i8 @goughExec16_i_ni(ptr noundef %m, ptr nocapture noundef %som, ptr nocapture noundef %state, ptr noundef %buf, i64 noundef %len, i64 noundef %offAdj, ptr nocapture noundef readonly %cb, ptr noundef %ctxt, ptr nocapture noundef writeonly %final_point, i32 noundef %mode) unnamed_addr #7 { entry: %0 = load i16, ptr %state, align 2 %add.ptr.i = getelementptr inbounds i8, ptr %m, i64 -64 @@ -4099,7 +4099,7 @@ cond.false.i267.i: ; preds = %if.then.i265.i cond.end.i270.i: ; preds = %if.then.i265.i, %cond.false.i267.i %cond.i271.i = phi i64 [ %28, %cond.false.i267.i ], [ %add51.i, %if.then.i265.i ] - %call.i272.i = tail call i32 %cb(i64 noundef %cond.i271.i, i64 noundef %add51.i, i32 noundef %cached_accept_id.i.1389, ptr noundef %ctxt) #12 + %call.i272.i = tail call i32 %cb(i64 noundef %cond.i271.i, i64 noundef %add51.i, i32 noundef %cached_accept_id.i.1389, ptr noundef %ctxt) #11 %cmp5.i273.i = icmp eq i32 %call.i272.i, 0 br i1 %cmp5.i273.i, label %goughExec16_i.exit, label %if.end61.i @@ -4160,13 +4160,13 @@ cond.false59.i234.i: ; preds = %for.body.i228.i cond.end63.i237.i: ; preds = %for.body.i228.i, %cond.false59.i234.i %cond64.i238.i = phi i64 [ %36, %cond.false59.i234.i ], [ %add51.i, %for.body.i228.i ] %37 = load i32, ptr %arrayidx53.i231.i, align 4 - %call71.i242.i = tail call i32 %cb(i64 noundef %cond64.i238.i, i64 noundef %add51.i, i32 noundef %37, ptr noundef %ctxt) #12 + %call71.i242.i = tail call i32 %cb(i64 noundef %cond64.i238.i, i64 noundef %add51.i, i32 noundef %37, ptr noundef %ctxt) #11 %cmp72.i243.i = icmp eq i32 %call71.i242.i, 0 br i1 %cmp72.i243.i, label %goughExec16_i.exit, label %for.cond.i225.i doReports.exit277.i: ; preds = %cond.false35.i253.i, %if.then26.i248.i %cond40.i257.i = phi i64 [ %34, %cond.false35.i253.i ], [ %add51.i, %if.then26.i248.i ] - %call43.i258.i = tail call i32 %cb(i64 noundef %cond40.i257.i, i64 noundef %add51.i, i32 noundef %32, ptr noundef %ctxt) #12 + %call43.i258.i = tail call i32 %cb(i64 noundef %cond40.i257.i, i64 noundef %add51.i, i32 noundef %32, ptr noundef %ctxt) #11 %cmp44.i259.i = icmp eq i32 %call43.i258.i, 0 br i1 %cmp44.i259.i, label %goughExec16_i.exit, label %if.end61.i @@ -4385,7 +4385,7 @@ cond.false.i.i: ; preds = %if.then.i.i cond.end.i.i: ; preds = %if.then.i.i, %cond.false.i.i %cond.i.i = phi i64 [ %60, %cond.false.i.i ], [ %add127.i, %if.then.i.i ] - %call.i.i = tail call i32 %cb(i64 noundef %cond.i.i, i64 noundef %add127.i, i32 noundef %cached_accept_id.i.5404, ptr noundef %ctxt) #12 + %call.i.i = tail call i32 %cb(i64 noundef %cond.i.i, i64 noundef %add127.i, i32 noundef %cached_accept_id.i.5404, ptr noundef %ctxt) #11 %cmp5.i.i = icmp eq i32 %call.i.i, 0 br i1 %cmp5.i.i, label %goughExec16_i.exit, label %if.end176.i @@ -4446,13 +4446,13 @@ cond.false59.i.i: ; preds = %for.body.i.i cond.end63.i.i: ; preds = %for.body.i.i, %cond.false59.i.i %cond64.i.i = phi i64 [ %68, %cond.false59.i.i ], [ %add127.i, %for.body.i.i ] %69 = load i32, ptr %arrayidx53.i.i, align 4 - %call71.i.i = tail call i32 %cb(i64 noundef %cond64.i.i, i64 noundef %add127.i, i32 noundef %69, ptr noundef %ctxt) #12 + %call71.i.i = tail call i32 %cb(i64 noundef %cond64.i.i, i64 noundef %add127.i, i32 noundef %69, ptr noundef %ctxt) #11 %cmp72.i.i = icmp eq i32 %call71.i.i, 0 br i1 %cmp72.i.i, label %goughExec16_i.exit, label %for.cond.i.i doReports.exit.i: ; preds = %cond.false35.i.i, %if.then26.i.i %cond40.i.i = phi i64 [ %66, %cond.false35.i.i ], [ %add127.i, %if.then26.i.i ] - %call43.i.i = tail call i32 %cb(i64 noundef %cond40.i.i, i64 noundef %add127.i, i32 noundef %64, ptr noundef %ctxt) #12 + %call43.i.i = tail call i32 %cb(i64 noundef %cond40.i.i, i64 noundef %add127.i, i32 noundef %64, ptr noundef %ctxt) #11 %cmp44.i.i = icmp eq i32 %call43.i.i, 0 br i1 %cmp44.i.i, label %goughExec16_i.exit, label %if.end176.i @@ -4476,7 +4476,7 @@ if.then141.i: ; preds = %if.else137.i %71 = load i32, ptr %accel_offset147.i, align 4 %idx.ext148.i = zext i32 %71 to i64 %add.ptr149.i = getelementptr inbounds i8, ptr %m, i64 %idx.ext148.i - %call150.i = tail call ptr @run_accel(ptr noundef %add.ptr149.i, ptr noundef nonnull %incdec.ptr75.i, ptr noundef nonnull %add.ptr1.i) #12 + %call150.i = tail call ptr @run_accel(ptr noundef %add.ptr149.i, ptr noundef nonnull %incdec.ptr75.i, ptr noundef nonnull %add.ptr1.i) #11 %cmp151.i.not = icmp eq ptr %call150.i, %incdec.ptr75.i br i1 %cmp151.i.not, label %if.end156.i, label %land.lhs.true153.i @@ -4532,16 +4532,16 @@ goughExec16_i.exit: ; preds = %cond.end.i270.i, %d } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #9 +declare void @llvm.assume(i1 noundef) #8 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.cttz.i32(i32, i1 immarg) #10 +declare i32 @llvm.cttz.i32(i32, i1 immarg) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.smin.i64(i64, i64) #11 +declare i64 @llvm.smin.i64(i64, i64) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #11 +declare i64 @llvm.umin.i64(i64, i64) #10 attributes #0 = { nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } @@ -4550,12 +4550,11 @@ attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argm attributes #4 = { 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } attributes #5 = { 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } attributes #6 = { 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } -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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } -attributes #8 = { nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } -attributes #9 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #10 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #11 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #12 = { nounwind } +attributes #7 = { nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } +attributes #8 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #9 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #11 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/hyperscan/optimized/mpvcompile.cpp.ll b/bench/hyperscan/optimized/mpvcompile.cpp.ll index fc3ba70b5f9..0772b86794b 100644 --- a/bench/hyperscan/optimized/mpvcompile.cpp.ll +++ b/bench/hyperscan/optimized/mpvcompile.cpp.ll @@ -53,12 +53,12 @@ entry: br i1 %guard.uninitialized, label %init.check, label %init.end init.check: ; preds = %entry - %1 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVN5boost4noneE) #20 + %1 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVN5boost4noneE) #19 %tobool.not = icmp eq i32 %1, 0 br i1 %tobool.not, label %init.end, label %init init: ; preds = %init.check - tail call void @__cxa_guard_release(ptr nonnull @_ZGVN5boost4noneE) #20 + tail call void @__cxa_guard_release(ptr nonnull @_ZGVN5boost4noneE) #19 br label %init.end init.end: ; preds = %init, %init.check, %entry @@ -167,7 +167,7 @@ _ZNKSt6vectorIN3ue28raw_puffESaIS1_EE12_M_check_lenEmPKc.exit.i.i.i: ; preds = % cond.true.i.i.i.i: ; preds = %_ZNKSt6vectorIN3ue28raw_puffESaIS1_EE12_M_check_lenEmPKc.exit.i.i.i %mul.i.i.i.i.i.i = mul nuw nsw i64 %cond.i.i.i.i, 48 - %call5.i.i.i.i.i.i48 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %mul.i.i.i.i.i.i) #21 + %call5.i.i.i.i.i.i48 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %mul.i.i.i.i.i.i) #20 to label %_ZNSt12_Vector_baseIN3ue28raw_puffESaIS1_EE11_M_allocateEm.exit.i.i.i unwind label %lpad.loopexit.split-lp.loopexit _ZNSt12_Vector_baseIN3ue28raw_puffESaIS1_EE11_M_allocateEm.exit.i.i.i: ; preds = %cond.true.i.i.i.i, %_ZNKSt6vectorIN3ue28raw_puffESaIS1_EE12_M_check_lenEmPKc.exit.i.i.i @@ -193,7 +193,7 @@ _ZNSt6vectorIN3ue28raw_puffESaIS1_EE11_S_relocateEPS1_S4_S4_RS2_.exit19.i.i.i: ; br i1 %tobool.not.i.i.i.i, label %_ZNSt6vectorIN3ue28raw_puffESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_.exit.i.i, label %if.then.i20.i.i.i if.then.i20.i.i.i: ; preds = %_ZNSt6vectorIN3ue28raw_puffESaIS1_EE11_S_relocateEPS1_S4_S4_RS2_.exit19.i.i.i - call void @_ZdlPv(ptr noundef nonnull %9) #22 + call void @_ZdlPv(ptr noundef nonnull %9) #21 br label %_ZNSt6vectorIN3ue28raw_puffESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_.exit.i.i _ZNSt6vectorIN3ue28raw_puffESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_.exit.i.i: ; preds = %if.then.i20.i.i.i, %_ZNSt6vectorIN3ue28raw_puffESaIS1_EE11_S_relocateEPS1_S4_S4_RS2_.exit19.i.i.i @@ -261,7 +261,7 @@ if.else.i26.i: ; preds = %call20.i.noexc br i1 %cmp.i.i.i30.i, label %if.then.i.i.i58.i.invoke, label %_ZNKSt6vectorIN3ue28raw_puffESaIS1_EE12_M_check_lenEmPKc.exit.i.i31.i if.then.i.i.i58.i.invoke: ; preds = %if.else.i.i, %if.else.i26.i - invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #23 + invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #22 to label %if.then.i.i.i58.i.cont unwind label %lpad.loopexit.split-lp.loopexit.split-lp if.then.i.i.i58.i.cont: ; preds = %if.then.i.i.i58.i.invoke @@ -279,7 +279,7 @@ _ZNKSt6vectorIN3ue28raw_puffESaIS1_EE12_M_check_lenEmPKc.exit.i.i31.i: ; preds = cond.true.i.i.i38.i: ; preds = %_ZNKSt6vectorIN3ue28raw_puffESaIS1_EE12_M_check_lenEmPKc.exit.i.i31.i %mul.i.i.i.i.i39.i = mul nuw nsw i64 %cond.i.i.i36.i, 48 - %call5.i.i.i.i.i40.i51 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %mul.i.i.i.i.i39.i) #21 + %call5.i.i.i.i.i40.i51 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %mul.i.i.i.i.i39.i) #20 to label %_ZNSt12_Vector_baseIN3ue28raw_puffESaIS1_EE11_M_allocateEm.exit.i.i41.i unwind label %lpad.loopexit224 _ZNSt12_Vector_baseIN3ue28raw_puffESaIS1_EE11_M_allocateEm.exit.i.i41.i: ; preds = %cond.true.i.i.i38.i, %_ZNKSt6vectorIN3ue28raw_puffESaIS1_EE12_M_check_lenEmPKc.exit.i.i31.i @@ -305,7 +305,7 @@ _ZNSt6vectorIN3ue28raw_puffESaIS1_EE11_S_relocateEPS1_S4_S4_RS2_.exit19.i.i51.i: br i1 %tobool.not.i.i.i54.i, label %_ZNSt6vectorIN3ue28raw_puffESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_.exit.i56.i, label %if.then.i20.i.i55.i if.then.i20.i.i55.i: ; preds = %_ZNSt6vectorIN3ue28raw_puffESaIS1_EE11_S_relocateEPS1_S4_S4_RS2_.exit19.i.i51.i - call void @_ZdlPv(ptr noundef nonnull %17) #22 + call void @_ZdlPv(ptr noundef nonnull %17) #21 br label %_ZNSt6vectorIN3ue28raw_puffESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_.exit.i56.i _ZNSt6vectorIN3ue28raw_puffESaIS1_EE17_M_realloc_insertIJRKS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_.exit.i56.i: ; preds = %if.then.i20.i.i55.i, %_ZNSt6vectorIN3ue28raw_puffESaIS1_EE11_S_relocateEPS1_S4_S4_RS2_.exit19.i.i51.i @@ -429,7 +429,7 @@ if.else.i.i.i.i: ; preds = %if.then.i.i.i br label %_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN3ue28raw_puffESt6vectorIS3_SaIS3_EEEENS2_12_GLOBAL__N_15pcompEEvT_SB_T0_.exit.i _ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN3ue28raw_puffESt6vectorIS3_SaIS3_EEEENS2_12_GLOBAL__N_15pcompEEvT_SB_T0_.exit.i: ; preds = %_ZSt25__unguarded_linear_insertIN9__gnu_cxx17__normal_iteratorIPN3ue28raw_puffESt6vectorIS3_SaIS3_EEEENS0_5__ops14_Val_comp_iterINS2_12_GLOBAL__N_15pcompEEEEvT_T0_.exit.i.i.i.i.i, %if.else.i.i.i.i, %if.then.i.i.i62.i, %for.body38.i - %call.i.i.i.i.i = call noundef ptr @_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base(ptr noundef %__begin126.sroa.0.011.i) #24 + %call.i.i.i.i.i = call noundef ptr @_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base(ptr noundef %__begin126.sroa.0.011.i) #23 %cmp.i.i.i.i.not.i = icmp eq ptr %call.i.i.i.i.i, %4 br i1 %cmp.i.i.i.i.not.i, label %invoke.cont.loopexit, label %for.body38.i @@ -476,7 +476,7 @@ if.else.i.i.i: ; preds = %while.body.i br i1 %cmp.i.i.i.i.i, label %if.then.i.i.i.i.i, label %_ZNKSt6vectorI16mpv_counter_infoSaIS0_EE12_M_check_lenEmPKc.exit.i.i.i.i if.then.i.i.i.i.i: ; preds = %if.else.i.i.i - invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #23 + invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #22 to label %.noexc59 unwind label %lpad6.loopexit.split-lp.loopexit.split-lp .noexc59: ; preds = %if.then.i.i.i.i.i @@ -494,7 +494,7 @@ _ZNKSt6vectorI16mpv_counter_infoSaIS0_EE12_M_check_lenEmPKc.exit.i.i.i.i: ; pred cond.true.i.i.i.i.i: ; preds = %_ZNKSt6vectorI16mpv_counter_infoSaIS0_EE12_M_check_lenEmPKc.exit.i.i.i.i %mul.i.i.i.i.i.i.i = mul nuw nsw i64 %cond.i.i.i.i.i, 24 - %call5.i.i.i.i.i.i.i60 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %mul.i.i.i.i.i.i.i) #21 + %call5.i.i.i.i.i.i.i60 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %mul.i.i.i.i.i.i.i) #20 to label %_ZNSt12_Vector_baseI16mpv_counter_infoSaIS0_EE11_M_allocateEm.exit.i.i.i.i unwind label %lpad6.loopexit.split-lp.loopexit _ZNSt12_Vector_baseI16mpv_counter_infoSaIS0_EE11_M_allocateEm.exit.i.i.i.i: ; preds = %cond.true.i.i.i.i.i, %_ZNKSt6vectorI16mpv_counter_infoSaIS0_EE12_M_check_lenEmPKc.exit.i.i.i.i @@ -514,7 +514,7 @@ _ZNSt6vectorI16mpv_counter_infoSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_.exit17.i.i.i br i1 %tobool.not.i.i.i.i.i, label %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_.exit.i.i.i, label %if.then.i18.i.i.i.i if.then.i18.i.i.i.i: ; preds = %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_.exit17.i.i.i.i - call void @_ZdlPv(ptr noundef nonnull %counters.sroa.0.0) #22 + call void @_ZdlPv(ptr noundef nonnull %counters.sroa.0.0) #21 br label %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_.exit.i.i.i _ZNSt6vectorI16mpv_counter_infoSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_.exit.i.i.i: ; preds = %if.then.i18.i.i.i.i, %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_.exit17.i.i.i.i @@ -526,7 +526,7 @@ _ZNSt6vectorI16mpv_counter_infoSaIS0_EE9push_backEOS0_.exit.i: ; preds = %_ZNSt6 %add.ptr.i.i.i.i.i.i.i.pn = phi ptr [ %add.ptr.i.i.i.i.i.i.i, %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_.exit.i.i.i ], [ %counters.sroa.14.0, %if.then.i.i.i53 ] %counters.sroa.0.1 = phi ptr [ %cond.i10.i.i.i.i, %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_.exit.i.i.i ], [ %counters.sroa.0.0, %if.then.i.i.i53 ] %counters.sroa.14.1 = getelementptr inbounds i8, ptr %add.ptr.i.i.i.i.i.i.i.pn, i64 24 - %call.i.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef nonnull %it.sroa.0.0207.i) #24 + %call.i.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef nonnull %it.sroa.0.0207.i) #23 %kilopuffs.val8.i.i = load ptr, ptr %_M_left.i.i.i.i.i, align 8 %cmp.i.not2.i.i.i.i = icmp eq ptr %kilopuffs.val8.i.i, %it.sroa.0.0207.i br i1 %cmp.i.not2.i.i.i.i, label %_ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS2_8raw_puffESaIS7_EEEEENSt15iterator_traitsIT_E15difference_typeESD_SD_.exit.i.i, label %while.body.i.i.i.i @@ -534,7 +534,7 @@ _ZNSt6vectorI16mpv_counter_infoSaIS0_EE9push_backEOS0_.exit.i: ; preds = %_ZNSt6 while.body.i.i.i.i: ; preds = %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE9push_backEOS0_.exit.i, %while.body.i.i.i.i %__n.04.i.i.i.i = phi i32 [ %inc.i.i.i.i, %while.body.i.i.i.i ], [ 0, %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE9push_backEOS0_.exit.i ] %__first.sroa.0.03.i.i.i.i = phi ptr [ %call.i.i.i.i.i55, %while.body.i.i.i.i ], [ %kilopuffs.val8.i.i, %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE9push_backEOS0_.exit.i ] - %call.i.i.i.i.i55 = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef %__first.sroa.0.03.i.i.i.i) #24 + %call.i.i.i.i.i55 = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef %__first.sroa.0.03.i.i.i.i) #23 %inc.i.i.i.i = add i32 %__n.04.i.i.i.i, 1 %cmp.i.not.i.i.i.i = icmp eq ptr %call.i.i.i.i.i55, %it.sroa.0.0207.i br i1 %cmp.i.not.i.i.i.i, label %_ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS2_8raw_puffESaIS7_EEEEENSt15iterator_traitsIT_E15difference_typeESD_SD_.exit.i.i, label %while.body.i.i.i.i, !llvm.loop !17 @@ -550,7 +550,7 @@ _ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterK while.body.i.i10.i.i: ; preds = %_ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS2_8raw_puffESaIS7_EEEEENSt15iterator_traitsIT_E15difference_typeESD_SD_.exit.i.i, %while.body.i.i10.i.i %__n.04.i.i11.i.i = phi i32 [ %inc.i.i14.i.i, %while.body.i.i10.i.i ], [ 0, %_ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS2_8raw_puffESaIS7_EEEEENSt15iterator_traitsIT_E15difference_typeESD_SD_.exit.i.i ] %__first.sroa.0.03.i.i12.i.i = phi ptr [ %call.i.i.i13.i.i, %while.body.i.i10.i.i ], [ %kilopuffs.val.i.i, %_ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS2_8raw_puffESaIS7_EEEEENSt15iterator_traitsIT_E15difference_typeESD_SD_.exit.i.i ] - %call.i.i.i13.i.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef %__first.sroa.0.03.i.i12.i.i) #24 + %call.i.i.i13.i.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef %__first.sroa.0.03.i.i12.i.i) #23 %inc.i.i14.i.i = add i32 %__n.04.i.i11.i.i, 1 %cmp.i.not.i.i15.i.i = icmp eq ptr %call.i.i.i13.i.i, %call.i.i br i1 %cmp.i.not.i.i15.i.i, label %_ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS2_8raw_puffESaIS7_EEEEENSt15iterator_traitsIT_E15difference_typeESD_SD_.exit17.i.i, label %while.body.i.i10.i.i, !llvm.loop !17 @@ -571,7 +571,7 @@ for.body.i.i.i: ; preds = %_ZSt8distanceISt23_ %37 = load i32, ptr %add.ptr.i.i.i.i.i56, align 8 %add.i.i.i = add i32 %37, 1 %spec.select.i.i.i = call i32 @llvm.umax.i32(i32 %max_counter.016.i.i.i, i32 %add.i.i.i) - %call.i.i.i.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef nonnull %kp_it.sroa.0.015.i.i.i) #24 + %call.i.i.i.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef nonnull %kp_it.sroa.0.015.i.i.i) #23 %cmp.i.not.i.i.i57 = icmp eq ptr %call.i.i.i.i, %call.i.i br i1 %cmp.i.not.i.i.i57, label %for.end.i.i.i, label %for.body.i.i.i, !llvm.loop !18 @@ -620,7 +620,7 @@ land.rhs16.i: ; preds = %while.end.i, %while br i1 %tobool.i, label %while.end22.i, label %while.body20.i while.body20.i: ; preds = %land.rhs16.i - %call.i30.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef nonnull %it.sroa.0.1212.i) #24 + %call.i30.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef nonnull %it.sroa.0.1212.i) #23 %cmp.i28.not.i = icmp eq ptr %call.i30.i, %4 br i1 %cmp.i28.not.i, label %while.end22.i, label %land.rhs16.i, !llvm.loop !20 @@ -645,7 +645,7 @@ if.else.i.i37.i: ; preds = %if.then.i br i1 %cmp.i.i.i.i41.i, label %if.then.i.i.i.i64.i, label %_ZNKSt6vectorI16mpv_counter_infoSaIS0_EE12_M_check_lenEmPKc.exit.i.i.i42.i if.then.i.i.i.i64.i: ; preds = %if.else.i.i37.i - invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #23 + invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #22 to label %.noexc61 unwind label %lpad6.loopexit.split-lp.loopexit.split-lp .noexc61: ; preds = %if.then.i.i.i.i64.i @@ -663,7 +663,7 @@ _ZNKSt6vectorI16mpv_counter_infoSaIS0_EE12_M_check_lenEmPKc.exit.i.i.i42.i: ; pr cond.true.i.i.i.i49.i: ; preds = %_ZNKSt6vectorI16mpv_counter_infoSaIS0_EE12_M_check_lenEmPKc.exit.i.i.i42.i %mul.i.i.i.i.i.i50.i = mul nuw nsw i64 %cond.i.i.i.i47.i, 24 - %call5.i.i.i.i.i.i51.i62 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %mul.i.i.i.i.i.i50.i) #21 + %call5.i.i.i.i.i.i51.i62 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %mul.i.i.i.i.i.i50.i) #20 to label %_ZNSt12_Vector_baseI16mpv_counter_infoSaIS0_EE11_M_allocateEm.exit.i.i.i52.i unwind label %lpad6.loopexit.split-lp.loopexit.split-lp _ZNSt12_Vector_baseI16mpv_counter_infoSaIS0_EE11_M_allocateEm.exit.i.i.i52.i: ; preds = %cond.true.i.i.i.i49.i, %_ZNKSt6vectorI16mpv_counter_infoSaIS0_EE12_M_check_lenEmPKc.exit.i.i.i42.i @@ -683,7 +683,7 @@ _ZNSt6vectorI16mpv_counter_infoSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_.exit17.i.i.i br i1 %tobool.not.i.i.i.i59.i, label %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_.exit.i.i61.i, label %if.then.i18.i.i.i60.i if.then.i18.i.i.i60.i: ; preds = %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_.exit17.i.i.i56.i - call void @_ZdlPv(ptr noundef nonnull %counters.sroa.0.2) #22 + call void @_ZdlPv(ptr noundef nonnull %counters.sroa.0.2) #21 br label %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_.exit.i.i61.i _ZNSt6vectorI16mpv_counter_infoSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_.exit.i.i61.i: ; preds = %if.then.i18.i.i.i60.i, %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_.exit17.i.i.i56.i @@ -705,7 +705,7 @@ _ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterK while.body.i.i10.i81.i: ; preds = %_ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS2_8raw_puffESaIS7_EEEEENSt15iterator_traitsIT_E15difference_typeESD_SD_.exit.i76.i, %while.body.i.i10.i81.i %__n.04.i.i11.i82.i = phi i32 [ %inc.i.i14.i85.i, %while.body.i.i10.i81.i ], [ 0, %_ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS2_8raw_puffESaIS7_EEEEENSt15iterator_traitsIT_E15difference_typeESD_SD_.exit.i76.i ] %__first.sroa.0.03.i.i12.i83.i = phi ptr [ %call.i.i.i13.i84.i, %while.body.i.i10.i81.i ], [ %kilopuffs.val.i79.i, %_ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS2_8raw_puffESaIS7_EEEEENSt15iterator_traitsIT_E15difference_typeESD_SD_.exit.i76.i ] - %call.i.i.i13.i84.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef %__first.sroa.0.03.i.i12.i83.i) #24 + %call.i.i.i13.i84.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef %__first.sroa.0.03.i.i12.i83.i) #23 %inc.i.i14.i85.i = add i32 %__n.04.i.i11.i82.i, 1 %cmp.i.not.i.i15.i86.i = icmp eq ptr %call.i.i.i13.i84.i, %it.sroa.0.1.lcssa.i br i1 %cmp.i.not.i.i15.i86.i, label %_ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS2_8raw_puffESaIS7_EEEEENSt15iterator_traitsIT_E15difference_typeESD_SD_.exit17.i87.i, label %while.body.i.i10.i81.i, !llvm.loop !17 @@ -726,7 +726,7 @@ for.body.i.i91.i: ; preds = %_ZSt8distanceISt23_ %41 = load i32, ptr %add.ptr.i.i.i.i95.i, align 8 %add.i.i96.i = add i32 %41, 1 %spec.select.i.i97.i = call i32 @llvm.umax.i32(i32 %max_counter.016.i.i92.i, i32 %add.i.i96.i) - %call.i.i.i98.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef nonnull %kp_it.sroa.0.015.i.i93.i) #24 + %call.i.i.i98.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef nonnull %kp_it.sroa.0.015.i.i93.i) #23 %cmp.i.not.i.i99.i = icmp eq ptr %call.i.i.i98.i, %it.sroa.0.1.lcssa.i br i1 %cmp.i.not.i.i99.i, label %for.end.i.i100.i, label %for.body.i.i91.i, !llvm.loop !18 @@ -794,7 +794,7 @@ if.else.i.i123.i: ; preds = %while.body43.i br i1 %cmp.i.i.i.i127.i, label %if.then.i.i.i.i150.i, label %_ZNKSt6vectorI16mpv_counter_infoSaIS0_EE12_M_check_lenEmPKc.exit.i.i.i128.i if.then.i.i.i.i150.i: ; preds = %if.else.i.i123.i - invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #23 + invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #22 to label %.noexc63 unwind label %lpad6.loopexit.split-lp.loopexit.split-lp .noexc63: ; preds = %if.then.i.i.i.i150.i @@ -812,7 +812,7 @@ _ZNKSt6vectorI16mpv_counter_infoSaIS0_EE12_M_check_lenEmPKc.exit.i.i.i128.i: ; p cond.true.i.i.i.i135.i: ; preds = %_ZNKSt6vectorI16mpv_counter_infoSaIS0_EE12_M_check_lenEmPKc.exit.i.i.i128.i %mul.i.i.i.i.i.i136.i = mul nuw nsw i64 %cond.i.i.i.i133.i, 24 - %call5.i.i.i.i.i.i137.i64 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %mul.i.i.i.i.i.i136.i) #21 + %call5.i.i.i.i.i.i137.i64 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %mul.i.i.i.i.i.i136.i) #20 to label %_ZNSt12_Vector_baseI16mpv_counter_infoSaIS0_EE11_M_allocateEm.exit.i.i.i138.i unwind label %lpad6.loopexit _ZNSt12_Vector_baseI16mpv_counter_infoSaIS0_EE11_M_allocateEm.exit.i.i.i138.i: ; preds = %cond.true.i.i.i.i135.i, %_ZNKSt6vectorI16mpv_counter_infoSaIS0_EE12_M_check_lenEmPKc.exit.i.i.i128.i @@ -832,7 +832,7 @@ _ZNSt6vectorI16mpv_counter_infoSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_.exit17.i.i.i br i1 %tobool.not.i.i.i.i145.i, label %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_.exit.i.i147.i, label %if.then.i18.i.i.i146.i if.then.i18.i.i.i146.i: ; preds = %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_.exit17.i.i.i142.i - call void @_ZdlPv(ptr noundef nonnull %counters.sroa.0.5) #22 + call void @_ZdlPv(ptr noundef nonnull %counters.sroa.0.5) #21 br label %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_.exit.i.i147.i _ZNSt6vectorI16mpv_counter_infoSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_.exit.i.i147.i: ; preds = %if.then.i18.i.i.i146.i, %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE11_S_relocateEPS0_S3_S3_RS1_.exit17.i.i.i142.i @@ -844,7 +844,7 @@ _ZNSt6vectorI16mpv_counter_infoSaIS0_EE9push_backEOS0_.exit151.i: ; preds = %_ZN %add.ptr.i.i.i.i.i.i143.i.pn = phi ptr [ %add.ptr.i.i.i.i.i.i143.i, %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_.exit.i.i147.i ], [ %counters.sroa.14.5, %if.then.i.i121.i ] %counters.sroa.0.6 = phi ptr [ %cond.i10.i.i.i139.i, %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE17_M_realloc_insertIJS0_EEEvN9__gnu_cxx17__normal_iteratorIPS0_S2_EEDpOT_.exit.i.i147.i ], [ %counters.sroa.0.5, %if.then.i.i121.i ] %counters.sroa.14.6 = getelementptr inbounds i8, ptr %add.ptr.i.i.i.i.i.i143.i.pn, i64 24 - %call.i152.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef nonnull %it.sroa.0.2216.i) #24 + %call.i152.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef nonnull %it.sroa.0.2216.i) #23 %kilopuffs.val8.i155.i = load ptr, ptr %_M_left.i.i.i.i.i, align 8 %cmp.i.not2.i.i.i156.i = icmp eq ptr %kilopuffs.val8.i155.i, %it.sroa.0.2216.i br i1 %cmp.i.not2.i.i.i156.i, label %_ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS2_8raw_puffESaIS7_EEEEENSt15iterator_traitsIT_E15difference_typeESD_SD_.exit.i163.i, label %while.body.i.i.i157.i @@ -852,7 +852,7 @@ _ZNSt6vectorI16mpv_counter_infoSaIS0_EE9push_backEOS0_.exit151.i: ; preds = %_ZN while.body.i.i.i157.i: ; preds = %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE9push_backEOS0_.exit151.i, %while.body.i.i.i157.i %__n.04.i.i.i158.i = phi i32 [ %inc.i.i.i161.i, %while.body.i.i.i157.i ], [ 0, %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE9push_backEOS0_.exit151.i ] %__first.sroa.0.03.i.i.i159.i = phi ptr [ %call.i.i.i.i160.i, %while.body.i.i.i157.i ], [ %kilopuffs.val8.i155.i, %_ZNSt6vectorI16mpv_counter_infoSaIS0_EE9push_backEOS0_.exit151.i ] - %call.i.i.i.i160.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef %__first.sroa.0.03.i.i.i159.i) #24 + %call.i.i.i.i160.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef %__first.sroa.0.03.i.i.i159.i) #23 %inc.i.i.i161.i = add i32 %__n.04.i.i.i158.i, 1 %cmp.i.not.i.i.i162.i = icmp eq ptr %call.i.i.i.i160.i, %it.sroa.0.2216.i br i1 %cmp.i.not.i.i.i162.i, label %_ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS2_8raw_puffESaIS7_EEEEENSt15iterator_traitsIT_E15difference_typeESD_SD_.exit.i163.i, label %while.body.i.i.i157.i, !llvm.loop !17 @@ -868,7 +868,7 @@ _ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterK while.body.i.i10.i168.i: ; preds = %_ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS2_8raw_puffESaIS7_EEEEENSt15iterator_traitsIT_E15difference_typeESD_SD_.exit.i163.i, %while.body.i.i10.i168.i %__n.04.i.i11.i169.i = phi i32 [ %inc.i.i14.i172.i, %while.body.i.i10.i168.i ], [ 0, %_ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS2_8raw_puffESaIS7_EEEEENSt15iterator_traitsIT_E15difference_typeESD_SD_.exit.i163.i ] %__first.sroa.0.03.i.i12.i170.i = phi ptr [ %call.i.i.i13.i171.i, %while.body.i.i10.i168.i ], [ %kilopuffs.val.i166.i, %_ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS2_8raw_puffESaIS7_EEEEENSt15iterator_traitsIT_E15difference_typeESD_SD_.exit.i163.i ] - %call.i.i.i13.i171.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef %__first.sroa.0.03.i.i12.i170.i) #24 + %call.i.i.i13.i171.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef %__first.sroa.0.03.i.i12.i170.i) #23 %inc.i.i14.i172.i = add i32 %__n.04.i.i11.i169.i, 1 %cmp.i.not.i.i15.i173.i = icmp eq ptr %call.i.i.i13.i171.i, %call.i152.i br i1 %cmp.i.not.i.i15.i173.i, label %_ZSt8distanceISt23_Rb_tree_const_iteratorISt4pairIKN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS2_8raw_puffESaIS7_EEEEENSt15iterator_traitsIT_E15difference_typeESD_SD_.exit17.i174.i, label %while.body.i.i10.i168.i, !llvm.loop !17 @@ -889,7 +889,7 @@ for.body.i.i178.i: ; preds = %_ZSt8distanceISt23_ %45 = load i32, ptr %add.ptr.i.i.i.i182.i, align 8 %add.i.i183.i = add i32 %45, 1 %spec.select.i.i184.i = call i32 @llvm.umax.i32(i32 %max_counter.016.i.i179.i, i32 %add.i.i183.i) - %call.i.i.i185.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef nonnull %kp_it.sroa.0.015.i.i180.i) #24 + %call.i.i.i185.i = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef nonnull %kp_it.sroa.0.015.i.i180.i) #23 %cmp.i.not.i.i186.i = icmp eq ptr %call.i.i.i185.i, %call.i152.i br i1 %cmp.i.not.i.i186.i, label %for.end.i.i187.i, label %for.body.i.i178.i, !llvm.loop !18 @@ -965,7 +965,7 @@ for.body.i67: ; preds = %invoke.cont25, %for %sub.ptr.rhs.cast.i12.i = ptrtoint ptr %49 to i64 %sub.ptr.sub.i13.i = sub i64 %sub.ptr.lhs.cast.i11.i, %sub.ptr.rhs.cast.i12.i %mul15.i = ashr exact i64 %sub.ptr.sub.i13.i, 2 - %call.i.i.i.i.i69 = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef %__begin1.sroa.0.03.i) #24 + %call.i.i.i.i.i69 = call noundef ptr @_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base(ptr noundef %__begin1.sroa.0.03.i) #23 %add16.i = add i64 %len.04.i, 12 %len.0.i = add i64 %add16.i, %mul15.i %cmp.i.i.i.i.not.i70 = icmp eq ptr %call.i.i.i.i.i69, %4 @@ -1009,7 +1009,7 @@ invoke.cont56: ; preds = %invoke.cont44, %inv %54 = load ptr, ptr %second.i.i.i.i, align 8 %55 = load i32, ptr %54, align 4 %.sroa.speculated180 = call i32 @llvm.umin.i32(i32 %55, i32 %min_repeat.0246) - %call.i.i.i.i82 = call noundef ptr @_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base(ptr noundef %__begin1.sroa.0.0247) #24 + %call.i.i.i.i82 = call noundef ptr @_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base(ptr noundef %__begin1.sroa.0.0247) #23 %cmp.i.i.i.i79.not = icmp eq ptr %call.i.i.i.i82, %4 br i1 %cmp.i.i.i.i79.not, label %for.end, label %invoke.cont56 @@ -1061,7 +1061,7 @@ lpad33.loopexit.split-lp.loopexit.split-lp: ; preds = %invoke.cont.i.i83.i lpad33.body: ; preds = %lpad33.loopexit, %lpad33.loopexit.split-lp.loopexit.split-lp, %lpad33.loopexit.split-lp.loopexit, %lpad.i.i94, %common.resume.i, %lpad.i.i109, %lpad.i.i %eh.lpad-body = phi { ptr, i32 } [ %57, %lpad.i.i ], [ %58, %lpad.i.i94 ], [ %61, %lpad.i.i109 ], [ %common.resume.op.i, %common.resume.i ], [ %lpad.loopexit, %lpad33.loopexit ], [ %lpad.loopexit216, %lpad33.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp217, %lpad33.loopexit.split-lp.loopexit.split-lp ] - call void @_ZN3ue212bytecode_ptrI3NFAED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %agg.result) #20 + call void @_ZN3ue212bytecode_ptrI3NFAED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %agg.result) #19 br label %ehcleanup for.end: ; preds = %invoke.cont56, %invoke.cont44 @@ -1074,14 +1074,14 @@ for.end: ; preds = %invoke.cont56, %inv br i1 %cmp.not.i.i83, label %invoke.cont73, label %if.then.i.i84 if.then.i.i84: ; preds = %for.end - %exception.i.i = call ptr @__cxa_allocate_exception(i64 48) #20 + %exception.i.i = call ptr @__cxa_allocate_exception(i64 48) #19 invoke void @_ZN3ue218ResourceLimitErrorC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %exception.i.i) to label %invoke.cont.i.i83.i.invoke unwind label %lpad.i.i lpad.i.i: ; preds = %if.then.i.i84 %57 = landingpad { ptr, i32 } cleanup - call void @__cxa_free_exception(ptr %exception.i.i) #20 + call void @__cxa_free_exception(ptr %exception.i.i) #19 br label %lpad33.body invoke.cont73: ; preds = %for.end @@ -1091,14 +1091,14 @@ invoke.cont73: ; preds = %for.end br i1 %cmp.not.i.i91, label %invoke.cont76, label %if.then.i.i92 if.then.i.i92: ; preds = %invoke.cont73 - %exception.i.i93 = call ptr @__cxa_allocate_exception(i64 48) #20 + %exception.i.i93 = call ptr @__cxa_allocate_exception(i64 48) #19 invoke void @_ZN3ue218ResourceLimitErrorC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %exception.i.i93) to label %invoke.cont.i.i83.i.invoke unwind label %lpad.i.i94 lpad.i.i94: ; preds = %if.then.i.i92 %58 = landingpad { ptr, i32 } cleanup - call void @__cxa_free_exception(ptr %exception.i.i93) #20 + call void @__cxa_free_exception(ptr %exception.i.i93) #19 br label %lpad33.body invoke.cont76: ; preds = %invoke.cont73 @@ -1125,14 +1125,14 @@ invoke.cont76: ; preds = %invoke.cont73 br i1 %cmp.not.i.i106, label %invoke.cont86, label %if.then.i.i107 if.then.i.i107: ; preds = %invoke.cont76 - %exception.i.i108 = call ptr @__cxa_allocate_exception(i64 48) #20 + %exception.i.i108 = call ptr @__cxa_allocate_exception(i64 48) #19 invoke void @_ZN3ue218ResourceLimitErrorC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %exception.i.i108) to label %invoke.cont.i.i83.i.invoke unwind label %lpad.i.i109 lpad.i.i109: ; preds = %if.then.i.i107 %61 = landingpad { ptr, i32 } cleanup - call void @__cxa_free_exception(ptr %exception.i.i108) #20 + call void @__cxa_free_exception(ptr %exception.i.i108) #19 br label %lpad33.body invoke.cont86: ; preds = %invoke.cont76 @@ -1376,14 +1376,14 @@ if.end36.i: ; preds = %_ZNK3ue29CharReachc br i1 %cmp.not.i.i.i139, label %_ZN3ue210verify_u32ImEEjT_.exit.i, label %if.then.i.i78.i if.then.i.i78.i: ; preds = %if.end36.i - %exception.i.i.i = call ptr @__cxa_allocate_exception(i64 48) #20 + %exception.i.i.i = call ptr @__cxa_allocate_exception(i64 48) #19 invoke void @_ZN3ue218ResourceLimitErrorC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %exception.i.i.i) to label %invoke.cont.i.i83.i.invoke unwind label %lpad.i.i.i common.resume.i: ; preds = %lpad.i.i82.i, %lpad.i.i.i %exception.i.i81.sink.i = phi ptr [ %exception.i.i81.i, %lpad.i.i82.i ], [ %exception.i.i.i, %lpad.i.i.i ] %common.resume.op.i = phi { ptr, i32 } [ %89, %lpad.i.i82.i ], [ %87, %lpad.i.i.i ] - call void @__cxa_free_exception(ptr %exception.i.i81.sink.i) #20 + call void @__cxa_free_exception(ptr %exception.i.i81.sink.i) #19 br label %lpad33.body lpad.i.i.i: ; preds = %if.then.i.i78.i @@ -1402,13 +1402,13 @@ _ZN3ue210verify_u32ImEEjT_.exit.i: ; preds = %if.end36.i br i1 %cmp.not.i.i79.i, label %_ZN3ue210verify_u32IlEEjT_.exit.i, label %if.then.i.i80.i if.then.i.i80.i: ; preds = %_ZN3ue210verify_u32ImEEjT_.exit.i - %exception.i.i81.i = call ptr @__cxa_allocate_exception(i64 48) #20 + %exception.i.i81.i = call ptr @__cxa_allocate_exception(i64 48) #19 invoke void @_ZN3ue218ResourceLimitErrorC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %exception.i.i81.i) to label %invoke.cont.i.i83.i.invoke unwind label %lpad.i.i82.i invoke.cont.i.i83.i.invoke: ; preds = %if.then.i.i80.i, %if.then.i.i78.i, %if.then.i.i107, %if.then.i.i92, %if.then.i.i84 %88 = phi ptr [ %exception.i.i, %if.then.i.i84 ], [ %exception.i.i93, %if.then.i.i92 ], [ %exception.i.i108, %if.then.i.i107 ], [ %exception.i.i.i, %if.then.i.i78.i ], [ %exception.i.i81.i, %if.then.i.i80.i ] - invoke void @__cxa_throw(ptr nonnull %88, ptr nonnull @_ZTIN3ue218ResourceLimitErrorE, ptr nonnull @_ZN3ue218ResourceLimitErrorD1Ev) #23 + invoke void @__cxa_throw(ptr nonnull %88, ptr nonnull @_ZTIN3ue218ResourceLimitErrorE, ptr nonnull @_ZN3ue218ResourceLimitErrorD1Ev) #22 to label %invoke.cont.i.i83.i.cont unwind label %lpad33.loopexit.split-lp.loopexit.split-lp invoke.cont.i.i83.i.cont: ; preds = %invoke.cont.i.i83.i.invoke @@ -1505,7 +1505,7 @@ invoke.cont101: ; preds = %for.body.i.i, %for. call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %ref.tmp22.i) call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %ref.tmp31.i) %incdec.ptr102 = getelementptr inbounds i8, ptr %kp.0252, i64 64 - %call.i = call noundef ptr @_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base(ptr noundef %it.sroa.0.0251) #24 + %call.i = call noundef ptr @_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base(ptr noundef %it.sroa.0.0251) #23 %cmp.i127.not = icmp eq ptr %call.i, %4 br i1 %cmp.i127.not, label %for.cond113.preheader, label %for.body96, !llvm.loop !42 @@ -1537,7 +1537,7 @@ for.end120: ; preds = %for.body115, %for.c br i1 %tobool.not.i.i.i, label %_ZNSt6vectorI16mpv_counter_infoSaIS0_EED2Ev.exit, label %if.then.i.i.i170 if.then.i.i.i170: ; preds = %for.end120 - call void @_ZdlPv(ptr noundef nonnull %counters.sroa.0.7) #22 + call void @_ZdlPv(ptr noundef nonnull %counters.sroa.0.7) #21 br label %_ZNSt6vectorI16mpv_counter_infoSaIS0_EED2Ev.exit _ZNSt6vectorI16mpv_counter_infoSaIS0_EED2Ev.exit: ; preds = %for.end120, %if.then.i.i.i170 @@ -1552,7 +1552,7 @@ ehcleanup: ; preds = %lpad6.loopexit, %lp br i1 %tobool.not.i.i.i171, label %ehcleanup124, label %if.then.i.i.i172 if.then.i.i.i172: ; preds = %ehcleanup - call void @_ZdlPv(ptr noundef nonnull %counters.sroa.0.9) #22 + call void @_ZdlPv(ptr noundef nonnull %counters.sroa.0.9) #21 br label %ehcleanup124 ehcleanup124: ; preds = %lpad.loopexit224, %lpad.loopexit.split-lp.loopexit.split-lp, %lpad.loopexit.split-lp.loopexit, %if.then.i.i.i172, %ehcleanup @@ -1582,7 +1582,7 @@ terminate.lpad.i: ; preds = %if.then.i %1 = landingpad { ptr, i32 } catch ptr null %2 = extractvalue { ptr, i32 } %1, 0 - tail call void @__clang_call_terminate(ptr %2) #25 + tail call void @__clang_call_terminate(ptr %2) #24 unreachable _ZNSt10unique_ptrI3NFAN3ue212bytecode_ptrIS0_E7deleterIS0_EEED2Ev.exit: ; preds = %entry, %if.then.i @@ -1592,8 +1592,8 @@ _ZNSt10unique_ptrI3NFAN3ue212bytecode_ptrIS0_E7deleterIS0_EEED2Ev.exit: ; preds ; Function Attrs: noreturn nounwind uwtable define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #6 comdat { - %2 = tail call ptr @__cxa_begin_catch(ptr %0) #20 - tail call void @_ZSt9terminatev() #25 + %2 = tail call ptr @__cxa_begin_catch(ptr %0) #19 + tail call void @_ZSt9terminatev() #24 unreachable } @@ -1717,7 +1717,7 @@ if.end.i.i.i.i.i.i.i.i.i.i: ; preds = %for.body.i.i.i.i.i. if.then: ; preds = %for.body.i.i.i.i.i.i.i.i.i.i, %do.body8.i.i, %lor.rhs, %entry, %_ZNSt3mapIN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS0_8raw_puffESaIS4_EESt4lessIS2_ESaISt4pairIKS2_S6_EEE11lower_boundERSA_.exit %cmp.i38 = phi i1 [ true, %_ZNSt3mapIN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS0_8raw_puffESaIS4_EESt4lessIS2_ESaISt4pairIKS2_S6_EEE11lower_boundERSA_.exit ], [ true, %entry ], [ false, %lor.rhs ], [ false, %do.body8.i.i ], [ false, %for.body.i.i.i.i.i.i.i.i.i.i ] %__y.addr.0.lcssa.i.i.i37 = phi ptr [ %__y.addr.1.i.i.i, %_ZNSt3mapIN3ue212_GLOBAL__N_110ClusterKeyESt6vectorINS0_8raw_puffESaIS4_EESt4lessIS2_ESaISt4pairIKS2_S6_EEE11lower_boundERSA_.exit ], [ %add.ptr.i.i.i, %entry ], [ %__y.addr.1.i.i.i, %lor.rhs ], [ %__y.addr.1.i.i.i, %do.body8.i.i ], [ %__y.addr.1.i.i.i, %for.body.i.i.i.i.i.i.i.i.i.i ] - %call5.i.i.i.i.i.i = tail call noalias noundef nonnull dereferenceable(104) ptr @_Znwm(i64 noundef 104) #21 + %call5.i.i.i.i.i.i = tail call noalias noundef nonnull dereferenceable(104) ptr @_Znwm(i64 noundef 104) #20 %_M_storage.i.i.i.i.i6 = getelementptr inbounds i8, ptr %call5.i.i.i.i.i.i, i64 32 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %_M_storage.i.i.i.i.i6, ptr noundef nonnull readonly align 8 dereferenceable(48) %__k, i64 48, i1 false) %second.i.i.i.i.i.i.i.i = getelementptr inbounds i8, ptr %call5.i.i.i.i.i.i, i64 80 @@ -1837,7 +1837,7 @@ if.then18.i.i: ; preds = %for.body.i.i.i.i.i. br i1 %cmp21.i.i32, label %invoke.cont7.i, label %if.else25.i.i if.else25.i.i: ; preds = %if.then18.i.i - %call.i.i.i = tail call noundef ptr @_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base(ptr noundef nonnull %__y.addr.0.lcssa.i.i.i37) #24 + %call.i.i.i = tail call noundef ptr @_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base(ptr noundef nonnull %__y.addr.0.lcssa.i.i.i37) #23 %_M_storage.i.i.i39.i.i = getelementptr inbounds i8, ptr %call.i.i.i, i64 32 %36 = load i32, ptr %_M_storage.i.i.i39.i.i, align 8 %cmp.i.i40.i.i = icmp ult i32 %36, %27 @@ -1917,7 +1917,7 @@ if.then50.i.i: ; preds = %for.body.i.i.i.i.i. br i1 %cmp53.i.i, label %invoke.cont7.i, label %if.else57.i.i if.else57.i.i: ; preds = %if.then50.i.i - %call.i94.i.i = tail call noundef ptr @_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base(ptr noundef nonnull %__y.addr.0.lcssa.i.i.i37) #24 + %call.i94.i.i = tail call noundef ptr @_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base(ptr noundef nonnull %__y.addr.0.lcssa.i.i.i37) #23 %_M_storage.i.i.i95.i.i = getelementptr inbounds i8, ptr %call.i94.i.i, i64 32 %49 = load i32, ptr %_M_storage.i.i.i95.i.i, align 8 %cmp.i.i96.i.i = icmp ult i32 %27, %49 @@ -2038,7 +2038,7 @@ if.end.i.i.i.i.i.i.i.i.i.i.i.i.i27: ; preds = %for.body.i.i.i.i.i. cleanup.i: ; preds = %if.end.i.i.i.i.i.i.i.i.i.i.i.i.i27, %for.body.i.i.i.i.i.i.i.i.i.i.i.i.i22, %if.end14.i.i.i.i.i17, %do.body8.i.i.i.i.i13, %if.end.i.i.i.i.i11, %lor.rhs.i.i.i, %if.then.i %67 = phi i1 [ true, %if.then.i ], [ true, %lor.rhs.i.i.i ], [ false, %if.end.i.i.i.i.i11 ], [ true, %do.body8.i.i.i.i.i13 ], [ false, %if.end14.i.i.i.i.i17 ], [ %cmp.i15.i.i.i.i.i.i.i.i.i.i.i.i.i26, %for.body.i.i.i.i.i.i.i.i.i.i.i.i.i22 ], [ %cmp.i15.i.i.i.i.i.i.i.i.i.i.i.i.i26, %if.end.i.i.i.i.i.i.i.i.i.i.i.i.i27 ] - tail call void @_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_(i1 noundef zeroext %67, ptr noundef nonnull %call5.i.i.i.i.i.i, ptr noundef nonnull %retval.sroa.12.0.i7.i, ptr noundef nonnull align 8 dereferenceable(32) %add.ptr.i.i.i) #20 + tail call void @_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_(i1 noundef zeroext %67, ptr noundef nonnull %call5.i.i.i.i.i.i, ptr noundef nonnull %retval.sroa.12.0.i7.i, ptr noundef nonnull align 8 dereferenceable(32) %add.ptr.i.i.i) #19 %_M_node_count.i.i.i = getelementptr inbounds i8, ptr %this, i64 40 %68 = load i64, ptr %_M_node_count.i.i.i, align 8 %inc.i.i.i = add i64 %68, 1 @@ -2047,7 +2047,7 @@ cleanup.i: ; preds = %if.end.i.i.i.i.i.i. _ZNSt8_Rb_treeIN3ue212_GLOBAL__N_110ClusterKeyESt4pairIKS2_St6vectorINS0_8raw_puffESaIS6_EEESt10_Select1stIS9_ESt4lessIS2_ESaIS9_EE12_M_drop_nodeEPSt13_Rb_tree_nodeIS9_E.exit.i.i: ; preds = %if.end.i.i.i.i.i.i.i.i.i.i84.i.i, %invoke.cont7.i %retval.sroa.0.0.ph.i = phi ptr [ %retval.sroa.0.0.i.i, %invoke.cont7.i ], [ %__y.addr.0.lcssa.i.i.i37, %if.end.i.i.i.i.i.i.i.i.i.i84.i.i ] - tail call void @_ZdlPv(ptr noundef nonnull %call5.i.i.i.i.i.i) #22 + tail call void @_ZdlPv(ptr noundef nonnull %call5.i.i.i.i.i.i) #21 br label %if.end if.end: ; preds = %if.end.i.i.i.i.i.i.i.i.i.i, %_ZNSt8_Rb_treeIN3ue212_GLOBAL__N_110ClusterKeyESt4pairIKS2_St6vectorINS0_8raw_puffESaIS6_EEESt10_Select1stIS9_ESt4lessIS2_ESaIS9_EE12_M_drop_nodeEPSt13_Rb_tree_nodeIS9_E.exit.i.i, %cleanup.i, %if.end14.i.i, %if.end.i.i @@ -2143,7 +2143,7 @@ if.then: ; preds = %entry, %while.end br i1 %cmp.i, label %return, label %if.else if.else: ; preds = %if.then - %call.i = tail call noundef ptr @_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base(ptr noundef nonnull %__y.0.lcssa52) #24 + %call.i = tail call noundef ptr @_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base(ptr noundef nonnull %__y.0.lcssa52) #23 br label %if.end12 if.end12: ; preds = %if.else, %while.end @@ -2831,8 +2831,8 @@ _ZSt11__push_heapIN9__gnu_cxx17__normal_iteratorIPN3ue28raw_puffESt6vectorIS3_Sa ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.ctlz.i64(i64, i1 immarg) #16 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPN3ue28raw_puffESt6vectorIS3_SaIS3_EEEENS0_5__ops15_Iter_comp_iterINS2_12_GLOBAL__N_15pcompEEEEvT_SE_T0_(ptr %__first.coerce, ptr readnone %__last.coerce) unnamed_addr #17 personality ptr @__gxx_personality_v0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc void @_ZSt16__insertion_sortIN9__gnu_cxx17__normal_iteratorIPN3ue28raw_puffESt6vectorIS3_SaIS3_EEEENS0_5__ops15_Iter_comp_iterINS2_12_GLOBAL__N_15pcompEEEEvT_SE_T0_(ptr %__first.coerce, ptr readnone %__last.coerce) unnamed_addr #15 personality ptr @__gxx_personality_v0 { entry: %__val.sroa.6.i = alloca [36 x i8], align 4 %__val = alloca %"struct.ue2::raw_puff", align 8 @@ -3041,7 +3041,7 @@ terminate.lpad: ; preds = %if.then %1 = landingpad { ptr, i32 } catch ptr null %2 = extractvalue { ptr, i32 } %1, 0 - tail call void @__clang_call_terminate(ptr %2) #25 + tail call void @__clang_call_terminate(ptr %2) #24 unreachable } @@ -3066,11 +3066,11 @@ while.body: ; preds = %entry, %_ZNSt8_Rb_t br i1 %tobool.not.i.i.i.i.i.i.i.i, label %_ZNSt8_Rb_treeIN3ue212_GLOBAL__N_110ClusterKeyESt4pairIKS2_St6vectorINS0_8raw_puffESaIS6_EEESt10_Select1stIS9_ESt4lessIS2_ESaIS9_EE12_M_drop_nodeEPSt13_Rb_tree_nodeIS9_E.exit, label %if.then.i.i.i.i.i.i.i.i if.then.i.i.i.i.i.i.i.i: ; preds = %while.body - tail call void @_ZdlPv(ptr noundef nonnull %__p.val.i) #22 + tail call void @_ZdlPv(ptr noundef nonnull %__p.val.i) #21 br label %_ZNSt8_Rb_treeIN3ue212_GLOBAL__N_110ClusterKeyESt4pairIKS2_St6vectorINS0_8raw_puffESaIS6_EEESt10_Select1stIS9_ESt4lessIS2_ESaIS9_EE12_M_drop_nodeEPSt13_Rb_tree_nodeIS9_E.exit _ZNSt8_Rb_treeIN3ue212_GLOBAL__N_110ClusterKeyESt4pairIKS2_St6vectorINS0_8raw_puffESaIS6_EEESt10_Select1stIS9_ESt4lessIS2_ESaIS9_EE12_M_drop_nodeEPSt13_Rb_tree_nodeIS9_E.exit: ; preds = %while.body, %if.then.i.i.i.i.i.i.i.i - tail call void @_ZdlPv(ptr noundef nonnull %__x.addr.02) #22 + tail call void @_ZdlPv(ptr noundef nonnull %__x.addr.02) #21 %cmp.not = icmp eq ptr %__x.addr.0.val, null br i1 %cmp.not, label %while.end, label %while.body, !llvm.loop !55 @@ -3104,7 +3104,7 @@ terminate.lpad.i.i: ; preds = %if.then.i.i %1 = landingpad { ptr, i32 } catch ptr null %2 = extractvalue { ptr, i32 } %1, 0 - tail call void @__clang_call_terminate(ptr %2) #25 + tail call void @__clang_call_terminate(ptr %2) #24 unreachable _ZNSt10unique_ptrI3NFAN3ue212bytecode_ptrIS0_E7deleterIS0_EEE5resetEPS0_.exitthread-pre-split: ; preds = %if.then.i.i @@ -3117,15 +3117,15 @@ _ZNSt10unique_ptrI3NFAN3ue212bytecode_ptrIS0_E7deleterIS0_EEE5resetEPS0_.exit: ; br i1 %cmp.i1.not, label %if.then, label %if.end if.then: ; preds = %_ZNSt10unique_ptrI3NFAN3ue212bytecode_ptrIS0_E7deleterIS0_EEE5resetEPS0_.exit - %exception = tail call ptr @__cxa_allocate_exception(i64 8) #20 + %exception = tail call ptr @__cxa_allocate_exception(i64 8) #19 store ptr getelementptr inbounds (i8, ptr @_ZTVSt9bad_alloc, i64 16), ptr %exception, align 8 - invoke void @__cxa_throw(ptr nonnull %exception, ptr nonnull @_ZTISt9bad_alloc, ptr nonnull @_ZNSt9bad_allocD1Ev) #23 + invoke void @__cxa_throw(ptr nonnull %exception, ptr nonnull @_ZTISt9bad_alloc, ptr nonnull @_ZNSt9bad_allocD1Ev) #22 to label %unreachable unwind label %lpad lpad: ; preds = %if.then, %entry %4 = landingpad { ptr, i32 } cleanup - tail call void @_ZNSt10unique_ptrI3NFAN3ue212bytecode_ptrIS0_E7deleterIS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #20 + tail call void @_ZNSt10unique_ptrI3NFAN3ue212bytecode_ptrIS0_E7deleterIS0_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #19 resume { ptr, i32 } %4 if.end: ; preds = %_ZNSt10unique_ptrI3NFAN3ue212bytecode_ptrIS0_E7deleterIS0_EEE5resetEPS0_.exit @@ -3144,25 +3144,25 @@ declare void @_ZNSt9bad_allocD1Ev(ptr noundef nonnull align 8 dereferenceable(8) declare noundef ptr @_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base(ptr noundef) local_unnamed_addr #11 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #18 +declare i64 @llvm.umax.i64(i64, i64) #17 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #18 +declare i64 @llvm.umin.i64(i64, i64) #17 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #19 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #18 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #19 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #18 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #18 +declare i32 @llvm.umax.i32(i32, i32) #17 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.ctpop.i64(i64) #18 +declare i64 @llvm.ctpop.i64(i64) #17 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #18 +declare i32 @llvm.umin.i32(i32, i32) #17 attributes #0 = { 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 #1 = { nofree nounwind } @@ -3181,15 +3181,14 @@ attributes #13 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "sta attributes #14 = { mustprogress 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 #15 = { mustprogress 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 #16 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #17 = { mustprogress 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 #18 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #19 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #20 = { nounwind } -attributes #21 = { builtin allocsize(0) } -attributes #22 = { builtin nounwind } -attributes #23 = { noreturn } -attributes #24 = { nounwind willreturn memory(read) } -attributes #25 = { noreturn nounwind } +attributes #17 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #18 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #19 = { nounwind } +attributes #20 = { builtin allocsize(0) } +attributes #21 = { builtin nounwind } +attributes #22 = { noreturn } +attributes #23 = { nounwind willreturn memory(read) } +attributes #24 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/hyperscan/optimized/repeat.c.ll b/bench/hyperscan/optimized/repeat.c.ll index c65e3642d9e..fcdbccd0921 100644 --- a/bench/hyperscan/optimized/repeat.c.ll +++ b/bench/hyperscan/optimized/repeat.c.ll @@ -788,7 +788,7 @@ while.cond: ; preds = %if.end, %entry br i1 %tobool.not, label %return, label %while.body while.body: ; preds = %while.cond - %2 = tail call { i64, i64 } asm "bsfq $1, $0\0Abtrq $0, $1\0A", "=r,=r,1,~{dirflag},~{fpsr},~{flags}"(i64 %bitmap.0) #13, !srcloc !8 + %2 = tail call { i64, i64 } asm "bsfq $1, $0\0Abtrq $0, $1\0A", "=r,=r,1,~{dirflag},~{fpsr},~{flags}"(i64 %bitmap.0) #11, !srcloc !8 %asmresult.i = extractvalue { i64, i64 } %2, 0 %conv = and i64 %asmresult.i, 4294967295 %add = add i64 %conv, %0 @@ -2843,7 +2843,7 @@ if.end: ; preds = %entry br i1 %cmp, label %return, label %if.end9 if.end9: ; preds = %if.end - %3 = tail call { i64, i64 } asm "bsrq $1, $0\0Abtrq $0, $1\0A", "=r,=r,1,~{dirflag},~{fpsr},~{flags}"(i64 %0) #13, !srcloc !17 + %3 = tail call { i64, i64 } asm "bsrq $1, $0\0Abtrq $0, $1\0A", "=r,=r,1,~{dirflag},~{fpsr},~{flags}"(i64 %0) #11, !srcloc !17 %asmresult.i52 = extractvalue { i64, i64 } %3, 0 %conv10 = and i64 %asmresult.i52, 4294967295 %4 = add i64 %1, %conv10 @@ -2865,7 +2865,7 @@ while.cond: ; preds = %if.else, %while.bod br i1 %tobool31.not, label %return, label %while.body while.body: ; preds = %while.cond - %6 = tail call { i64, i64 } asm "bsfq $1, $0\0Abtrq $0, $1\0A", "=r,=r,1,~{dirflag},~{fpsr},~{flags}"(i64 %bitmap.0) #13, !srcloc !8 + %6 = tail call { i64, i64 } asm "bsfq $1, $0\0Abtrq $0, $1\0A", "=r,=r,1,~{dirflag},~{fpsr},~{flags}"(i64 %bitmap.0) #11, !srcloc !8 %asmresult.i = extractvalue { i64, i64 } %6, 0 %conv33 = and i64 %asmresult.i, 4294967295 %7 = add i64 %1, %conv33 @@ -2923,8 +2923,8 @@ return: ; preds = %if.then18, %if.end, ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @repeatPack(ptr noundef writeonly %dest, ptr nocapture noundef readonly %info, ptr nocapture noundef readonly %ctrl, i64 noundef %offset) local_unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @repeatPack(ptr noundef writeonly %dest, ptr nocapture noundef readonly %info, ptr nocapture noundef readonly %ctrl, i64 noundef %offset) local_unnamed_addr #3 { entry: %v.i.sroa.0 = alloca i64, align 16 %v.i.sroa.4 = alloca i64, align 8 @@ -3542,8 +3542,8 @@ sw.epilog: ; preds = %if.else.i98, %if.th ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @repeatUnpack(ptr noundef readonly %src, ptr nocapture noundef readonly %info, i64 noundef %offset, ptr nocapture noundef writeonly %ctrl) local_unnamed_addr #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @repeatUnpack(ptr noundef readonly %src, ptr nocapture noundef readonly %info, i64 noundef %offset, ptr nocapture noundef writeonly %ctrl) local_unnamed_addr #3 { entry: %v.i.sroa.0 = alloca i64, align 16 %v.i.sroa.4 = alloca i64, align 8 @@ -4150,14 +4150,14 @@ sw.epilog: ; preds = %repeatUnpackTrailer } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define hidden i64 @repeatLastTopSparseOptimalP(ptr noundef readonly %info, ptr nocapture noundef readonly %ctrl, ptr nocapture noundef readonly %state) local_unnamed_addr #7 { +define hidden i64 @repeatLastTopSparseOptimalP(ptr noundef readonly %info, ptr nocapture noundef readonly %ctrl, ptr nocapture noundef readonly %state) local_unnamed_addr #5 { entry: %call = tail call fastcc i64 @sparseLastTop(ptr noundef %info, ptr noundef %ctrl, ptr noundef %state) ret i64 %call } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal fastcc i64 @sparseLastTop(ptr noundef %info, ptr nocapture noundef readonly %xs, ptr nocapture noundef readonly %state) unnamed_addr #7 { +define internal fastcc i64 @sparseLastTop(ptr noundef %info, ptr nocapture noundef readonly %xs, ptr nocapture noundef readonly %state) unnamed_addr #5 { entry: %patchSize = getelementptr inbounds i8, ptr %info, i64 40 %0 = load i32, ptr %patchSize, align 4 @@ -4301,7 +4301,7 @@ return: ; preds = %for.cond, %do.end18 } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define hidden i64 @repeatNextMatchSparseOptimalP(ptr noundef %info, ptr nocapture noundef readonly %ctrl, ptr noundef readonly %state, i64 noundef %offset) local_unnamed_addr #7 { +define hidden i64 @repeatNextMatchSparseOptimalP(ptr noundef %info, ptr nocapture noundef readonly %ctrl, ptr noundef readonly %state, i64 noundef %offset) local_unnamed_addr #5 { entry: %add = add i64 %offset, 1 %patchSize = getelementptr inbounds i8, ptr %info, i64 40 @@ -5835,8 +5835,8 @@ return: ; preds = %if.else.i676, %for. ret i64 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @repeatStoreSparseOptimalP(ptr noundef %info, ptr nocapture noundef %ctrl, ptr noundef %state, i64 noundef %offset, i8 noundef signext %is_alive) local_unnamed_addr #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @repeatStoreSparseOptimalP(ptr noundef %info, ptr nocapture noundef %ctrl, ptr noundef %state, i64 noundef %offset, i8 noundef signext %is_alive) local_unnamed_addr #6 { entry: %tobool.not = icmp eq i8 %is_alive, 0 br i1 %tobool.not, label %if.then, label %lor.lhs.false @@ -7879,7 +7879,7 @@ return: ; preds = %if.end.i2624, %whil } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define hidden range(i32 0, 3) i32 @repeatHasMatchSparseOptimalP(ptr noundef %info, ptr nocapture noundef readonly %ctrl, ptr nocapture noundef readonly %state, i64 noundef %offset) local_unnamed_addr #7 { +define hidden range(i32 0, 3) i32 @repeatHasMatchSparseOptimalP(ptr noundef %info, ptr nocapture noundef readonly %ctrl, ptr nocapture noundef readonly %state, i64 noundef %offset) local_unnamed_addr #5 { entry: %0 = load i64, ptr %ctrl, align 8 %repeatMin = getelementptr inbounds i8, ptr %info, i64 4 @@ -7968,7 +7968,7 @@ return: ; preds = %if.then82, %if.end4 } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal fastcc signext range(i8 0, 2) i8 @sparseHasMatch(ptr noundef %info, ptr nocapture noundef readonly %state, i32 noundef %lower, i32 noundef %upper) unnamed_addr #7 { +define internal fastcc signext range(i8 0, 2) i8 @sparseHasMatch(ptr noundef %info, ptr nocapture noundef readonly %state, i32 noundef %lower, i32 noundef %upper) unnamed_addr #5 { entry: %patchSize = getelementptr inbounds i8, ptr %info, i64 40 %0 = load i32, ptr %patchSize, align 4 @@ -8667,52 +8667,50 @@ return: ; preds = %do.body.i470, %if.e } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.ctlz.i64(i64, i1 immarg) #9 +declare i64 @llvm.ctlz.i64(i64, i1 immarg) #7 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.cttz.i64(i64, i1 immarg) #9 +declare i64 @llvm.cttz.i64(i64, i1 immarg) #7 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.ctlz.i32(i32, i1 immarg) #9 +declare i32 @llvm.ctlz.i32(i32, i1 immarg) #7 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #10 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #11 +declare i64 @llvm.umax.i64(i64, i64) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.usub.sat.i64(i64, i64) #11 +declare i64 @llvm.usub.sat.i64(i64, i64) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #11 +declare i32 @llvm.umin.i32(i32, i32) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #11 +declare i64 @llvm.umin.i64(i64, i64) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.usub.sat.i32(i32, i32) #11 +declare i32 @llvm.usub.sat.i32(i32, i32) #9 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #12 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #10 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #12 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #10 attributes #0 = { 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } attributes #1 = { 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } attributes #2 = { nofree nounwind memory(argmem: read) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } attributes #3 = { 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } attributes #4 = { 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } -attributes #5 = { nofree norecurse nosync nounwind 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } +attributes #5 = { 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } attributes #6 = { 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } -attributes #7 = { 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } -attributes #8 = { 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } -attributes #9 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #10 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #11 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #12 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #13 = { nounwind memory(none) } +attributes #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #10 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #11 = { nounwind memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/hyperscan/optimized/shufti.c.ll b/bench/hyperscan/optimized/shufti.c.ll index 0819c72fc01..ae3812fd0a2 100644 --- a/bench/hyperscan/optimized/shufti.c.ll +++ b/bench/hyperscan/optimized/shufti.c.ll @@ -3,7 +3,7 @@ source_filename = "bench/hyperscan/original/shufti.c.ll" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: write) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read, inaccessiblemem: write) uwtable define hidden ptr @shuftiExec(<2 x i64> noundef %mask_lo, <2 x i64> noundef %mask_hi, ptr noundef %buf, ptr noundef %buf_end) local_unnamed_addr #0 { entry: %mask_lo.addr = alloca <2 x i64>, align 16 @@ -130,7 +130,7 @@ return: ; preds = %for.body.i, %if.end } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: write) uwtable -define hidden ptr @rshuftiExec(<2 x i64> noundef %mask_lo, <2 x i64> noundef %mask_hi, ptr noundef %buf, ptr noundef %buf_end) local_unnamed_addr #0 { +define hidden ptr @rshuftiExec(<2 x i64> noundef %mask_lo, <2 x i64> noundef %mask_hi, ptr noundef %buf, ptr noundef %buf_end) local_unnamed_addr #1 { entry: %mask_lo.addr = alloca <2 x i64>, align 16 %mask_hi.addr = alloca <2 x i64>, align 16 @@ -252,7 +252,7 @@ return: ; preds = %for.cond.i, %for.bo ret ptr %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: write) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read, inaccessiblemem: write) uwtable define hidden ptr @shuftiDoubleExec(<2 x i64> noundef %mask1_lo, <2 x i64> noundef %mask1_hi, <2 x i64> noundef %mask2_lo, <2 x i64> noundef %mask2_hi, ptr noundef %buf, ptr noundef readonly %buf_end) local_unnamed_addr #0 { entry: %0 = load <2 x i64>, ptr %buf, align 1 @@ -356,22 +356,23 @@ return: ; preds = %return.loopexit, %w } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <16 x i8> @llvm.x86.ssse3.pshuf.b.128(<16 x i8>, <16 x i8>) #1 +declare <16 x i8> @llvm.x86.ssse3.pshuf.b.128(<16 x i8>, <16 x i8>) #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #2 +declare void @llvm.assume(i1 noundef) #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.ctlz.i32(i32, i1 immarg) #3 +declare i32 @llvm.ctlz.i32(i32, i1 immarg) #4 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i16 @llvm.cttz.i16(i16, i1 immarg) #4 - -attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: write) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } -attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(none) } -attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +declare i16 @llvm.cttz.i16(i16, i1 immarg) #5 + +attributes #0 = { nofree norecurse nosync nounwind memory(argmem: read, inaccessiblemem: write) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } +attributes #1 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: write) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } +attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(none) } +attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/hyperscan/optimized/state_compress.c.ll b/bench/hyperscan/optimized/state_compress.c.ll index 8c1bd1017ca..935614c215d 100644 --- a/bench/hyperscan/optimized/state_compress.c.ll +++ b/bench/hyperscan/optimized/state_compress.c.ll @@ -458,7 +458,7 @@ expand64.exit: ; preds = %entry, %partial_loa ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @storecompressed128(ptr nocapture noundef writeonly %ptr, ptr nocapture noundef readonly %x, ptr nocapture noundef readonly %m, i32 noundef %bytes) local_unnamed_addr #1 { entry: %bits.i.sroa.0 = alloca i32, align 4 @@ -683,8 +683,8 @@ pack_bits_64.exit: ; preds = %sw.bb25.i.i, %sw.bb ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @loadcompressed128(ptr nocapture noundef writeonly %x, ptr nocapture noundef readonly %ptr, ptr nocapture noundef readonly %m, i32 noundef %bytes) local_unnamed_addr #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @loadcompressed128(ptr nocapture noundef writeonly %x, ptr nocapture noundef readonly %ptr, ptr nocapture noundef readonly %m, i32 noundef %bytes) local_unnamed_addr #1 { entry: %array.i28.i = alloca [6 x i64], align 16 %array.i.i = alloca [6 x i64], align 16 @@ -900,8 +900,8 @@ loadcompressed128_64bit.exit: ; preds = %expand64.exit80.i, ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @storecompressed256(ptr nocapture noundef writeonly %ptr, ptr nocapture noundef readonly %x, ptr nocapture noundef readonly %m, i32 noundef %bytes) local_unnamed_addr #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @storecompressed256(ptr nocapture noundef writeonly %ptr, ptr nocapture noundef readonly %x, ptr nocapture noundef readonly %m, i32 noundef %bytes) local_unnamed_addr #0 { entry: %bits.i = alloca [4 x i32], align 16 %v.i = alloca [4 x i64], align 16 @@ -1235,8 +1235,8 @@ pack_bits_64.exit: ; preds = %sw.bb25.i.i, %sw.bb ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @loadcompressed256(ptr nocapture noundef writeonly %x, ptr nocapture noundef readonly %ptr, ptr nocapture noundef readonly %m, i32 noundef %bytes) local_unnamed_addr #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @loadcompressed256(ptr nocapture noundef writeonly %x, ptr nocapture noundef readonly %ptr, ptr nocapture noundef readonly %m, i32 noundef %bytes) local_unnamed_addr #1 { entry: %array.i163.i = alloca [6 x i64], align 16 %array.i102.i = alloca [6 x i64], align 16 @@ -1610,8 +1610,8 @@ loadcompressed256_64bit.exit: ; preds = %expand64.exit93.i, ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @storecompressed384(ptr nocapture noundef writeonly %ptr, ptr nocapture noundef readonly %x, ptr nocapture noundef readonly %m, i32 noundef %bytes) local_unnamed_addr #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @storecompressed384(ptr nocapture noundef writeonly %ptr, ptr nocapture noundef readonly %x, ptr nocapture noundef readonly %m, i32 noundef %bytes) local_unnamed_addr #0 { entry: %bits.i = alloca [6 x i32], align 16 %v.i = alloca [6 x i64], align 16 @@ -2053,8 +2053,8 @@ pack_bits_64.exit: ; preds = %sw.bb25.i.i, %sw.bb ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @loadcompressed384(ptr nocapture noundef writeonly %x, ptr nocapture noundef readonly %ptr, ptr nocapture noundef readonly %m, i32 noundef %bytes) local_unnamed_addr #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @loadcompressed384(ptr nocapture noundef writeonly %x, ptr nocapture noundef readonly %ptr, ptr nocapture noundef readonly %m, i32 noundef %bytes) local_unnamed_addr #1 { entry: %array.i302.i = alloca [6 x i64], align 16 %array.i241.i = alloca [6 x i64], align 16 @@ -2578,8 +2578,8 @@ loadcompressed384_64bit.exit: ; preds = %expand64.exit110.i, ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @storecompressed512(ptr nocapture noundef writeonly %ptr, ptr nocapture noundef readonly %x, ptr nocapture noundef readonly %m, i32 noundef %bytes) local_unnamed_addr #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @storecompressed512(ptr nocapture noundef writeonly %ptr, ptr nocapture noundef readonly %x, ptr nocapture noundef readonly %m, i32 noundef %bytes) local_unnamed_addr #0 { entry: %bits.i = alloca [8 x i32], align 16 %v.i = alloca [8 x i64], align 16 @@ -3129,8 +3129,8 @@ pack_bits_64.exit: ; preds = %sw.bb25.i.i, %sw.bb ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @loadcompressed512(ptr nocapture noundef writeonly %x, ptr nocapture noundef readonly %ptr, ptr nocapture noundef readonly %m, i32 noundef %bytes) local_unnamed_addr #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @loadcompressed512(ptr nocapture noundef writeonly %x, ptr nocapture noundef readonly %ptr, ptr nocapture noundef readonly %m, i32 noundef %bytes) local_unnamed_addr #1 { entry: %array.i445.i = alloca [6 x i64], align 16 %array.i384.i = alloca [6 x i64], align 16 @@ -3805,13 +3805,11 @@ loadcompressed512_64bit.exit: ; preds = %expand64.exit131.i, } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.ctpop.i64(i64) #4 +declare i64 @llvm.ctpop.i64(i64) #2 attributes #0 = { 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } -attributes #1 = { nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } -attributes #2 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } -attributes #3 = { nofree norecurse nosync nounwind 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } -attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #1 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } +attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/hyperscan/optimized/stream_compress.c.ll b/bench/hyperscan/optimized/stream_compress.c.ll index 2ed8a4ba8c5..4eb6279d9c2 100644 --- a/bench/hyperscan/optimized/stream_compress.c.ll +++ b/bench/hyperscan/optimized/stream_compress.c.ll @@ -11,7 +11,7 @@ target triple = "x86_64-unknown-linux-gnu" @mmbit_maxlevel_direct_lut = external local_unnamed_addr constant [32 x i8], align 16 @mmbit_root_offset_from_level = external local_unnamed_addr constant [7 x i32], align 16 -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden i32 @expand_stream(ptr noundef %stream, ptr noundef %rose, ptr noundef %buf, i64 noundef %buf_size) local_unnamed_addr #0 { entry: %si_state.i = alloca [7 x %struct.mmbit_sparse_state], align 16 @@ -1994,8 +1994,8 @@ sc_expand.exit: ; preds = %if.then19.i596.i, % ret i32 %retval.0.i } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden i64 @compress_stream(ptr nocapture noundef writeonly %buf, i64 noundef %buf_size, ptr nocapture noundef readonly %rose, ptr noundef readonly %stream) local_unnamed_addr #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden i64 @compress_stream(ptr nocapture noundef writeonly %buf, i64 noundef %buf_size, ptr nocapture noundef readonly %rose, ptr noundef readonly %stream) local_unnamed_addr #0 { entry: %stateOffsets.i = getelementptr inbounds i8, ptr %rose, i64 284 %add.ptr.i = getelementptr inbounds i8, ptr %stream, i64 16 @@ -3699,8 +3699,8 @@ sc_compress.exit: ; preds = %mmbit_compsize.exit ret i64 %retval.0.i } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define hidden i64 @size_compress_stream(ptr noundef readonly %rose, ptr noundef readonly %stream) local_unnamed_addr #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define hidden i64 @size_compress_stream(ptr noundef readonly %rose, ptr noundef readonly %stream) local_unnamed_addr #1 { entry: %si_state.i.i = alloca [7 x %struct.mmbit_sparse_state], align 16 %add.ptr.i = getelementptr inbounds i8, ptr %stream, i64 16 @@ -6178,9 +6178,9 @@ sc_size.exit: ; preds = %if.end19.i.i.i, %do } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal fastcc i64 @sc_som_expand(ptr nocapture noundef readonly %rose, i64 noundef %currOffset, ptr nocapture noundef %stream, ptr noundef %buf, i64 noundef %buf_size) unnamed_addr #0 { entry: %somLocation = getelementptr inbounds i8, ptr %rose, i64 352 @@ -7034,15 +7034,15 @@ return: ; preds = %if.then19.i107, %if } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.ctlz.i32(i32, i1 immarg) #4 +declare i32 @llvm.ctlz.i32(i32, i1 immarg) #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.cttz.i64(i64, i1 immarg) #4 +declare i64 @llvm.cttz.i64(i64, i1 immarg) #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.ctpop.i64(i64) #4 +declare i64 @llvm.ctpop.i64(i64) #3 -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal fastcc i64 @sc_left_compress(ptr nocapture noundef readonly %rose, i64 noundef %currOffset, ptr nocapture noundef readonly %stream, ptr nocapture noundef writeonly %buf) unnamed_addr #0 { entry: %si_state = alloca [7 x %struct.mmbit_sparse_state], align 16 @@ -7671,8 +7671,8 @@ return: ; preds = %if.else16.i, %if.en ret i64 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc i64 @sc_som_compress(ptr nocapture noundef readonly %rose, i64 noundef %currOffset, ptr nocapture noundef readonly %stream, ptr nocapture noundef writeonly %buf, i64 noundef %buf_size) unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc i64 @sc_som_compress(ptr nocapture noundef readonly %rose, i64 noundef %currOffset, ptr nocapture noundef readonly %stream, ptr nocapture noundef writeonly %buf, i64 noundef %buf_size) unnamed_addr #0 { entry: %somLocation = getelementptr inbounds i8, ptr %rose, i64 352 %0 = load i32, ptr %somLocation, align 4 @@ -8646,22 +8646,20 @@ return: ; preds = %if.end19.i, %do.bod } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #6 +declare i32 @llvm.umin.i32(i32, i32) #4 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #7 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #5 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #7 - -attributes #0 = { 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } -attributes #1 = { 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } -attributes #2 = { 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } -attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #5 = { nofree norecurse nosync nounwind 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } -attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #7 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #5 + +attributes #0 = { 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } +attributes #1 = { 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"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } +attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #5 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/hyperscan/optimized/truffle.c.ll b/bench/hyperscan/optimized/truffle.c.ll index 5ed7f91ae2b..ad072ab4ce5 100644 --- a/bench/hyperscan/optimized/truffle.c.ll +++ b/bench/hyperscan/optimized/truffle.c.ll @@ -3,7 +3,7 @@ source_filename = "bench/hyperscan/original/truffle.c.ll" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: write) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: write) uwtable define hidden ptr @truffleExec(<2 x i64> noundef %shuf_mask_lo_highclear, <2 x i64> noundef %shuf_mask_lo_highset, ptr noundef %buf, ptr noundef %buf_end) local_unnamed_addr #0 { entry: %chars.i = alloca <2 x i64>, align 16 @@ -139,7 +139,7 @@ return: ; preds = %return.loopexit, %w } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: write) uwtable -define hidden ptr @rtruffleExec(<2 x i64> noundef %shuf_mask_lo_highclear, <2 x i64> noundef %shuf_mask_lo_highset, ptr noundef %buf, ptr noundef %buf_end) local_unnamed_addr #0 { +define hidden ptr @rtruffleExec(<2 x i64> noundef %shuf_mask_lo_highclear, <2 x i64> noundef %shuf_mask_lo_highset, ptr noundef %buf, ptr noundef %buf_end) local_unnamed_addr #1 { entry: %chars.i = alloca <2 x i64>, align 16 %sub.ptr.lhs.cast = ptrtoint ptr %buf_end to i64 @@ -281,36 +281,37 @@ return: ; preds = %return.loopexit, %w } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <16 x i8> @llvm.x86.ssse3.pshuf.b.128(<16 x i8>, <16 x i8>) #2 +declare <16 x i8> @llvm.x86.ssse3.pshuf.b.128(<16 x i8>, <16 x i8>) #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.cttz.i32(i32, i1 immarg) #3 +declare i32 @llvm.cttz.i32(i32, i1 immarg) #4 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #4 +declare void @llvm.assume(i1 noundef) #5 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.ctlz.i32(i32, i1 immarg) #3 +declare i32 @llvm.ctlz.i32(i32, i1 immarg) #4 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i16 @llvm.cttz.i16(i16, i1 immarg) #5 +declare i16 @llvm.cttz.i16(i16, i1 immarg) #6 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #6 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #7 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #6 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #7 -attributes #0 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: write) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } -attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(none) } -attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #4 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #6 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #0 = { nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: write) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } +attributes #1 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: write) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="corei7" "target-features"="+cmov,+crc32,+cx16,+cx8,+fxsr,+mmx,+popcnt,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87" } +attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(none) } +attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #5 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #7 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/icu/optimized/collationweights.ll b/bench/icu/optimized/collationweights.ll index 66e3b247c70..d63d47a7634 100644 --- a/bench/icu/optimized/collationweights.ll +++ b/bench/icu/optimized/collationweights.ll @@ -250,7 +250,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define noundef signext range(i8 0, 2) i8 @_ZN6icu_7516CollationWeights15getWeightRangesEjj(ptr nocapture noundef nonnull align 4 dereferenceable(164) %this, i32 noundef %lowerLimit, i32 noundef %upperLimit) local_unnamed_addr #4 align 2 { entry: %lower = alloca [5 x %"struct.icu_75::CollationWeights::WeightRange"], align 16 @@ -749,7 +749,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define noundef signext range(i8 0, 2) i8 @_ZN6icu_7516CollationWeights29allocWeightsInMinLengthRangesEii(ptr nocapture noundef nonnull align 4 dereferenceable(164) %this, i32 noundef %n, i32 noundef %minLength) local_unnamed_addr #9 align 2 { +define noundef signext range(i8 0, 2) i8 @_ZN6icu_7516CollationWeights29allocWeightsInMinLengthRangesEii(ptr nocapture noundef nonnull align 4 dereferenceable(164) %this, i32 noundef %n, i32 noundef %minLength) local_unnamed_addr #4 align 2 { entry: %ranges = getelementptr inbounds i8, ptr %this, i64 44 %rangeCount = getelementptr inbounds i8, ptr %this, i64 160 @@ -1193,7 +1193,7 @@ return: ; preds = %if.end5, %entry, %f } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define noundef i32 @_ZN6icu_7516CollationWeights10nextWeightEv(ptr nocapture noundef nonnull align 4 dereferenceable(164) %this) local_unnamed_addr #9 align 2 { +define noundef i32 @_ZN6icu_7516CollationWeights10nextWeightEv(ptr nocapture noundef nonnull align 4 dereferenceable(164) %this) local_unnamed_addr #4 align 2 { entry: %rangeIndex = getelementptr inbounds i8, ptr %this, i64 156 %0 = load i32, ptr %rangeIndex, align 4 @@ -1287,29 +1287,28 @@ return: ; preds = %if.then4, %_ZNK6icu } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #10 +declare i32 @llvm.umin.i32(i32, i32) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #10 +declare i32 @llvm.umax.i32(i32, i32) #9 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #11 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #10 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #11 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #10 attributes #0 = { mustprogress 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { mustprogress 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 #4 = { mustprogress 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #7 = { mustprogress 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 = { "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 #9 = { mustprogress 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 #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #11 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #10 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/icu/optimized/normalizer2impl.ll b/bench/icu/optimized/normalizer2impl.ll index 1e3660564a5..df849a948b7 100644 --- a/bench/icu/optimized/normalizer2impl.ll +++ b/bench/icu/optimized/normalizer2impl.ll @@ -1585,12 +1585,12 @@ entry: br i1 %isnull, label %delete.end, label %delete.notnull delete.notnull: ; preds = %entry - tail call void @_ZN6icu_7513CanonIterDataD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #15 - tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %0) #15 + tail call void @_ZN6icu_7513CanonIterDataD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %0) #16 + tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %0) #16 br label %delete.end delete.end: ; preds = %delete.notnull, %entry - tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #15 + tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #16 ret void } @@ -1603,8 +1603,8 @@ declare void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable ; Function Attrs: mustprogress nounwind uwtable define void @_ZN6icu_7515Normalizer2ImplD0Ev(ptr noundef nonnull align 8 dereferenceable(80) %this) unnamed_addr #4 align 2 { entry: - tail call void @_ZN6icu_7515Normalizer2ImplD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %this) #15 - tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %this) #15 + tail call void @_ZN6icu_7515Normalizer2ImplD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %this) #16 + tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %this) #16 ret void } @@ -2189,7 +2189,7 @@ if.end7.thread: ; preds = %call3.i.noexc lpad: ; preds = %entry, %if.end.i %5 = landingpad { ptr, i32 } cleanup - call void @_ZN6icu_7516ReorderingBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %buffer) #15 + call void @_ZN6icu_7516ReorderingBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %buffer) #16 resume { ptr, i32 } %5 if.end7: ; preds = %if.end.i @@ -2212,7 +2212,7 @@ terminate.lpad.i: ; preds = %if.then.i14 %8 = landingpad { ptr, i32 } catch ptr null %9 = extractvalue { ptr, i32 } %8, 0 - call void @__clang_call_terminate(ptr %9) #16 + call void @__clang_call_terminate(ptr %9) #17 unreachable _ZN6icu_7516ReorderingBufferD2Ev.exit: ; preds = %if.end7.thread, %if.end7, %if.then.i14 @@ -2480,7 +2480,7 @@ terminate.lpad: ; preds = %if.then %3 = landingpad { ptr, i32 } catch ptr null %4 = extractvalue { ptr, i32 } %3, 0 - tail call void @__clang_call_terminate(ptr %4) #16 + tail call void @__clang_call_terminate(ptr %4) #17 unreachable } @@ -3268,7 +3268,7 @@ invoke.cont170: ; preds = %if.end169 lpad171: ; preds = %if.else207, %if.then201, %if.then183, %if.end176 %39 = landingpad { ptr, i32 } cleanup - call void @_ZN6icu_7516ReorderingBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %buffer) #15 + call void @_ZN6icu_7516ReorderingBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %buffer) #16 br label %ehcleanup if.end176: ; preds = %invoke.cont170 @@ -3361,7 +3361,7 @@ terminate.lpad.i: ; preds = %if.then.i121 %48 = landingpad { ptr, i32 } catch ptr null %49 = extractvalue { ptr, i32 } %48, 0 - call void @__clang_call_terminate(ptr %49) #16 + call void @__clang_call_terminate(ptr %49) #17 unreachable _ZN6icu_7516ReorderingBufferD2Ev.exit: ; preds = %cleanup, %if.then.i121 @@ -3369,12 +3369,12 @@ _ZN6icu_7516ReorderingBufferD2Ev.exit: ; preds = %cleanup, %if.then.i cleanup219: ; preds = %invoke.cont124, %invoke.cont147, %invoke.cont164, %_ZN6icu_7516ReorderingBufferD2Ev.exit, %if.end154, %if.then, %if.then5 %retval.0 = phi ptr [ %src.addr.1.lcssa, %if.then5 ], [ %src.addr.1.lcssa, %if.then ], [ %src.addr.4, %invoke.cont124 ], [ %src.addr.4, %invoke.cont164 ], [ %src.addr.7, %_ZN6icu_7516ReorderingBufferD2Ev.exit ], [ %src.addr.4, %invoke.cont147 ], [ %prevBoundary.1, %if.end154 ] - call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %s16) #15 + call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %s16) #16 ret ptr %retval.0 ehcleanup: ; preds = %lpad.loopexit, %lpad.loopexit.split-lp.loopexit.split-lp, %lpad.loopexit.split-lp.loopexit, %lpad171 %.pn = phi { ptr, i32 } [ %39, %lpad171 ], [ %lpad.loopexit132, %lpad.loopexit ], [ %lpad.loopexit134, %lpad.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp135, %lpad.loopexit.split-lp.loopexit.split-lp ] - call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %s16) #15 + call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %s16) #16 resume { ptr, i32 } %.pn } @@ -3683,7 +3683,7 @@ sw.bb5.i: ; preds = %if.end112 br label %cond.true.i sw.default.i: ; preds = %if.end112 - call void @abort() #16 + call void @abort() #17 unreachable _ZN6icu_7512_GLOBAL__N_122codePointFromValidUTF8EPKhS2_.exit: ; preds = %if.end112 @@ -3800,7 +3800,7 @@ sw.bb19.i94: ; preds = %if.end128 br label %_ZN6icu_7512_GLOBAL__N_122codePointFromValidUTF8EPKhS2_.exit129 sw.default.i128: ; preds = %if.end128 - call void @abort() #16 + call void @abort() #17 unreachable _ZN6icu_7512_GLOBAL__N_122codePointFromValidUTF8EPKhS2_.exit129: ; preds = %sw.bb.i126, %sw.bb1.i120, %sw.bb5.i109, %sw.bb19.i94 @@ -3945,7 +3945,7 @@ sw.bb19.i143: ; preds = %if.then146 br label %if.end148 sw.default.i177: ; preds = %if.then146 - call void @abort() #16 + call void @abort() #17 unreachable if.end148: ; preds = %sw.bb19.i143, %if.then144 @@ -4053,7 +4053,7 @@ sw.bb19.i194: ; preds = %if.then160 br label %if.end162 sw.default.i228: ; preds = %if.then160 - call void @abort() #16 + call void @abort() #17 unreachable if.end162: ; preds = %sw.bb19.i194, %sw.bb5.i209, %sw.bb1.i220, %sw.bb.i226, %if.then158 @@ -4650,11 +4650,11 @@ entry: lpad.i: ; preds = %.noexc.i, %entry %5 = landingpad { ptr, i32 } cleanup - tail call void asm sideeffect "", "rm,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %0) #15, !srcloc !23 + tail call void asm sideeffect "", "rm,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %0) #16, !srcloc !23 resume { ptr, i32 } %5 _ZNK6icu_7516ReorderingBuffer23copyReorderableSuffixToERNS_13UnicodeStringE.exit: ; preds = %.noexc.i - tail call void asm sideeffect "", "rm,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %0) #15, !srcloc !23 + tail call void asm sideeffect "", "rm,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %0) #16, !srcloc !23 %tobool.not = icmp eq i8 %doDecompose, 0 br i1 %tobool.not, label %while.cond.preheader, label %if.then @@ -5193,8 +5193,8 @@ return: ; preds = %lor.rhs32, %if.end2 ret i8 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef i32 @_ZN6icu_7515Normalizer2Impl7combineEPKti(ptr nocapture noundef readonly %list, i32 noundef %trail) local_unnamed_addr #2 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define noundef i32 @_ZN6icu_7515Normalizer2Impl7combineEPKti(ptr nocapture noundef readonly %list, i32 noundef %trail) local_unnamed_addr #8 align 2 { entry: %cmp = icmp slt i32 %trail, 13312 br i1 %cmp, label %if.then, label %if.else19 @@ -8073,7 +8073,7 @@ invoke.cont8: ; preds = %invoke.cont to label %invoke.cont17 unwind label %lpad16 invoke.cont17: ; preds = %invoke.cont8 - call void asm sideeffect "", "rm,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %src) #15, !srcloc !23 + call void asm sideeffect "", "rm,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %src) #16, !srcloc !23 %fUnion.i = getelementptr inbounds i8, ptr %middle, i64 8 %13 = load i16, ptr %fUnion.i, align 8 %conv1.i = zext i16 %13 to i32 @@ -8111,7 +8111,7 @@ invoke.cont21: ; preds = %if.else9.i, %if.the invoke.cont23: ; preds = %invoke.cont21 %17 = load i32, ptr %errorCode, align 4 %cmp.i39 = icmp slt i32 %17, 1 - call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %middle) #15 + call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %middle) #16 br i1 %cmp.i39, label %if.end30, label %if.end39 lpad: ; preds = %invoke.cont21, %invoke.cont @@ -8122,12 +8122,12 @@ lpad: ; preds = %invoke.cont21, %inv lpad16: ; preds = %invoke.cont8 %19 = landingpad { ptr, i32 } cleanup - call void asm sideeffect "", "rm,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %src) #15, !srcloc !23 + call void asm sideeffect "", "rm,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %src) #16, !srcloc !23 br label %ehcleanup ehcleanup: ; preds = %lpad16, %lpad %.pn = phi { ptr, i32 } [ %18, %lpad ], [ %19, %lpad16 ] - call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %middle) #15 + call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %middle) #16 resume { ptr, i32 } %.pn if.end30: ; preds = %invoke.cont23, %if.then, %entry @@ -8899,7 +8899,7 @@ sw.bb19.i.i: ; preds = %if.else15.i br label %_ZN6icu_7512_GLOBAL__N_122codePointFromValidUTF8EPKhS2_.exit.i sw.default.i.i: ; preds = %if.else15.i - call void @abort() #16 + call void @abort() #17 unreachable _ZN6icu_7512_GLOBAL__N_122codePointFromValidUTF8EPKhS2_.exit.i: ; preds = %sw.bb19.i.i, %sw.bb5.i.i, %sw.bb1.i.i, %sw.bb.i.i @@ -9689,7 +9689,7 @@ invoke.cont494: ; preds = %if.end493 lpad495: ; preds = %if.end529, %land.lhs.true524, %if.end515, %invoke.cont501, %if.end500 %146 = landingpad { ptr, i32 } cleanup - call void @_ZN6icu_7516ReorderingBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %buffer) #15 + call void @_ZN6icu_7516ReorderingBufferD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %buffer) #16 br label %ehcleanup if.end500: ; preds = %invoke.cont494 @@ -9781,7 +9781,7 @@ terminate.lpad.i: ; preds = %if.then.i411 %153 = landingpad { ptr, i32 } catch ptr null %154 = extractvalue { ptr, i32 } %153, 0 - call void @__clang_call_terminate(ptr %154) #16 + call void @__clang_call_terminate(ptr %154) #17 unreachable _ZN6icu_7516ReorderingBufferD2Ev.exit: ; preds = %cleanup, %if.then.i411 @@ -9795,12 +9795,12 @@ cleanup541.loopexit856: ; preds = %_ZN6icu_7516Reorder cleanup541: ; preds = %if.then293, %if.then261, %if.then222, %if.then123, %invoke.cont140, %invoke.cont164, %invoke.cont174, %invoke.cont195, %invoke.cont249, %invoke.cont272, %if.then441, %_ZN6icu_7516ReorderingBufferD2Ev.exit, %cleanup541.loopexit856, %if.then5.invoke, %if.then300, %if.then %retval.2 = phi i8 [ 1, %if.then ], [ 1, %if.then300 ], [ 1, %if.then5.invoke ], [ 1, %_ZN6icu_7516ReorderingBufferD2Ev.exit ], [ 0, %if.then441 ], [ 1, %invoke.cont272 ], [ 1, %invoke.cont249 ], [ 1, %invoke.cont195 ], [ 1, %invoke.cont174 ], [ 1, %invoke.cont164 ], [ 1, %invoke.cont140 ], [ 0, %if.then123 ], [ 0, %if.then222 ], [ 0, %if.then261 ], [ 0, %if.then293 ], [ %retval.1, %cleanup541.loopexit856 ] - call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %s16) #15 + call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %s16) #16 ret i8 %retval.2 ehcleanup: ; preds = %lpad.loopexit, %lpad.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp, %lpad.loopexit.split-lp.loopexit.split-lp.loopexit.loopexit.split-lp.loopexit, %lpad.loopexit.split-lp.loopexit.split-lp.loopexit.loopexit.split-lp.loopexit.split-lp, %lpad.loopexit.split-lp.loopexit.split-lp.loopexit.loopexit, %lpad.loopexit.split-lp.loopexit, %lpad495 %.pn = phi { ptr, i32 } [ %146, %lpad495 ], [ %lpad.loopexit467, %lpad.loopexit ], [ %lpad.loopexit469, %lpad.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp473, %lpad.loopexit.split-lp.loopexit.split-lp.loopexit.split-lp ], [ %lpad.loopexit475, %lpad.loopexit.split-lp.loopexit.split-lp.loopexit.loopexit ], [ %lpad.loopexit480, %lpad.loopexit.split-lp.loopexit.split-lp.loopexit.loopexit.split-lp.loopexit ], [ %lpad.loopexit.split-lp481, %lpad.loopexit.split-lp.loopexit.split-lp.loopexit.loopexit.split-lp.loopexit.split-lp ] - call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %s16) #15 + call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %s16) #16 resume { ptr, i32 } %.pn } @@ -11131,7 +11131,7 @@ invoke.cont8: ; preds = %invoke.cont to label %invoke.cont17 unwind label %lpad16 invoke.cont17: ; preds = %invoke.cont8 - call void asm sideeffect "", "rm,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %src) #15, !srcloc !23 + call void asm sideeffect "", "rm,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %src) #16, !srcloc !23 %fUnion.i = getelementptr inbounds i8, ptr %middle, i64 8 %13 = load i16, ptr %fUnion.i, align 8 %conv1.i = zext i16 %13 to i32 @@ -11169,7 +11169,7 @@ invoke.cont21: ; preds = %if.else9.i, %if.the invoke.cont23: ; preds = %invoke.cont21 %17 = load i32, ptr %errorCode, align 4 %cmp.i36 = icmp slt i32 %17, 1 - call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %middle) #15 + call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %middle) #16 br i1 %cmp.i36, label %if.end30, label %if.end39 lpad: ; preds = %invoke.cont21, %invoke.cont @@ -11180,12 +11180,12 @@ lpad: ; preds = %invoke.cont21, %inv lpad16: ; preds = %invoke.cont8 %19 = landingpad { ptr, i32 } cleanup - call void asm sideeffect "", "rm,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %src) #15, !srcloc !23 + call void asm sideeffect "", "rm,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %src) #16, !srcloc !23 br label %ehcleanup ehcleanup: ; preds = %lpad16, %lpad %.pn = phi { ptr, i32 } [ %18, %lpad ], [ %19, %lpad16 ] - call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %middle) #15 + call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %middle) #16 resume { ptr, i32 } %.pn if.end30: ; preds = %invoke.cont23, %if.then, %entry @@ -11438,23 +11438,23 @@ invoke.cont: ; preds = %entry invoke.cont2: ; preds = %invoke.cont %canonStartSets = getelementptr inbounds i8, ptr %this, i64 16 - tail call void @_ZN6icu_757UVectorD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %canonStartSets) #15 + tail call void @_ZN6icu_757UVectorD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %canonStartSets) #16 ret void terminate.lpad: ; preds = %invoke.cont, %entry %2 = landingpad { ptr, i32 } catch ptr null %3 = extractvalue { ptr, i32 } %2, 0 - tail call void @__clang_call_terminate(ptr %3) #16 + tail call void @__clang_call_terminate(ptr %3) #17 unreachable } declare void @umutablecptrie_close_75(ptr noundef) local_unnamed_addr #1 ; Function Attrs: noreturn nounwind uwtable -define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #8 comdat { - %2 = tail call ptr @__cxa_begin_catch(ptr %0) #15 - tail call void @_ZSt9terminatev() #16 +define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #9 comdat { + %2 = tail call ptr @__cxa_begin_catch(ptr %0) #16 + tail call void @_ZSt9terminatev() #17 unreachable } @@ -11491,7 +11491,7 @@ if.else: ; preds = %entry br i1 %cmp5, label %if.then6, label %if.else36 if.then6: ; preds = %if.else - %call7 = tail call noundef ptr @_ZN6icu_757UMemorynwEm(i64 noundef 200) #15 + %call7 = tail call noundef ptr @_ZN6icu_757UMemorynwEm(i64 noundef 200) #16 %new.isnull = icmp eq ptr %call7, null br i1 %new.isnull, label %new.cont, label %new.notnull @@ -11517,13 +11517,13 @@ _ZN6icu_7512LocalPointerINS_10UnicodeSetEEC2EPS1_R10UErrorCode.exit: ; preds = % lpad: ; preds = %new.notnull %4 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %call7) #15 + tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %call7) #16 br label %eh.resume lpad8: ; preds = %if.then32, %invoke.cont21, %if.end %5 = landingpad { ptr, i32 } cleanup - call void @_ZN6icu_7512LocalPointerINS_10UnicodeSetEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %lpSet) #15 + call void @_ZN6icu_7512LocalPointerINS_10UnicodeSetEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %lpSet) #16 br label %eh.resume if.end: ; preds = %_ZN6icu_7512LocalPointerINS_10UnicodeSetEEC2EPS1_R10UErrorCode.exit @@ -11557,8 +11557,8 @@ if.then32: ; preds = %if.end30 to label %if.end40 unwind label %lpad8 _ZN6icu_7512LocalPointerINS_10UnicodeSetEED2Ev.exit.thread: ; preds = %_ZN6icu_7512LocalPointerINS_10UnicodeSetEEC2EPS1_R10UErrorCode.exit - tail call void @_ZN6icu_7510UnicodeSetD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %call7) #15 - tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %call7) #15 + tail call void @_ZN6icu_7510UnicodeSetD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %call7) #16 + tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %call7) #16 br label %if.end42 if.else36: ; preds = %if.else @@ -11599,8 +11599,8 @@ entry: br i1 %isnull, label %delete.end, label %delete.notnull delete.notnull: ; preds = %entry - tail call void @_ZN6icu_7510UnicodeSetD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %0) #15 - tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %0) #15 + tail call void @_ZN6icu_7510UnicodeSetD1Ev(ptr noundef nonnull align 8 dereferenceable(200) %0) #16 + tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %0) #16 br label %delete.end delete.end: ; preds = %delete.notnull, %entry @@ -11611,7 +11611,7 @@ delete.end: ; preds = %delete.notnull, %en define void @_ZN6icu_7517InitCanonIterData6doInitEPNS_15Normalizer2ImplER10UErrorCode(ptr nocapture noundef %impl, ptr noundef nonnull align 4 dereferenceable(4) %errorCode) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 { entry: %value = alloca i32, align 4 - %call = tail call noundef ptr @_ZN6icu_757UMemorynwEm(i64 noundef 56) #15 + %call = tail call noundef ptr @_ZN6icu_757UMemorynwEm(i64 noundef 56) #16 %new.isnull = icmp eq ptr %call, null br i1 %new.isnull, label %if.end.thread, label %new.notnull @@ -11628,7 +11628,7 @@ if.end.thread: ; preds = %entry lpad: ; preds = %new.notnull %0 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %call) #15 + tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %call) #16 resume { ptr, i32 } %0 if.end: ; preds = %new.notnull @@ -11690,8 +11690,8 @@ if.then20: ; preds = %if.end.thread, %if. delete.notnull: ; preds = %if.end, %if.then20 %fCanonIterData23323538 = phi ptr [ %fCanonIterData233235.ph, %if.then20 ], [ %fCanonIterData, %if.end ] %13 = phi ptr [ %.pr, %if.then20 ], [ %call, %if.end ] - call void @_ZN6icu_7513CanonIterDataD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %13) #15 - call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %13) #15 + call void @_ZN6icu_7513CanonIterDataD1Ev(ptr noundef nonnull align 8 dereferenceable(56) %13) #16 + call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %13) #16 br label %delete.end delete.end: ; preds = %delete.notnull, %if.then20 @@ -12297,14 +12297,14 @@ declare void @udata_printError_75(ptr noundef, ptr noundef, ...) local_unnamed_a declare i32 @udata_readInt32_75(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #9 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #10 declare i32 @utrie_swapAnyVersion_75(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare noundef ptr @_ZNK6icu_757UObject17getDynamicClassIDEv(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 ; Function Attrs: noreturn nounwind -declare void @abort() local_unnamed_addr #10 +declare void @abort() local_unnamed_addr #11 declare void @_ZN6icu_7513UnicodeString7unBogusEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #1 @@ -12324,22 +12324,22 @@ declare noundef signext i8 @_ZN6icu_7520umtx_initImplPreInitERNS_9UInitOnceE(ptr declare void @_ZN6icu_7521umtx_initImplPostInitERNS_9UInitOnceE(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #11 +declare i32 @llvm.smax.i32(i32, i32) #12 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #12 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #13 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #11 +declare i64 @llvm.umax.i64(i64, i64) #12 ; 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) #13 +declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #14 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #14 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #15 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #14 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #15 attributes #0 = { mustprogress 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 = { "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" } @@ -12349,15 +12349,16 @@ attributes #4 = { mustprogress nounwind uwtable "frame-pointer"="all" "min-legal attributes #5 = { 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 #6 = { 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 #7 = { 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 #8 = { noreturn nounwind uwtable "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 #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #10 = { noreturn 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 #11 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #12 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #13 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #14 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #15 = { nounwind } -attributes #16 = { noreturn nounwind } +attributes #8 = { 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 #9 = { noreturn nounwind uwtable "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 #10 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #11 = { noreturn 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 #12 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #13 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #14 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #15 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #16 = { nounwind } +attributes #17 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/icu/optimized/patternprops.ll b/bench/icu/optimized/patternprops.ll index dbdd280f522..980a110f4cc 100644 --- a/bench/icu/optimized/patternprops.ll +++ b/bench/icu/optimized/patternprops.ll @@ -155,7 +155,7 @@ return: ; preds = %if.else6, %entry, % ret i8 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define noundef ptr @_ZN6icu_7512PatternProps14skipWhiteSpaceEPKDsi(ptr noundef readonly %s, i32 noundef %length) local_unnamed_addr #1 align 2 { entry: %cmp6 = icmp sgt i32 %length, 0 @@ -205,7 +205,7 @@ while.end: ; preds = %_ZN6icu_7512Pattern } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef i32 @_ZN6icu_7512PatternProps14skipWhiteSpaceERKNS_13UnicodeStringEi(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %s, i32 noundef %start) local_unnamed_addr #1 align 2 { +define noundef i32 @_ZN6icu_7512PatternProps14skipWhiteSpaceERKNS_13UnicodeStringEi(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %s, i32 noundef %start) local_unnamed_addr #2 align 2 { entry: %fUnion.i.i = getelementptr inbounds i8, ptr %s, i64 8 %0 = load i16, ptr %fUnion.i.i, align 8 @@ -285,7 +285,7 @@ while.end: ; preds = %while.body, %while. } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define noundef ptr @_ZN6icu_7512PatternProps14trimWhiteSpaceEPKDsRi(ptr noundef readonly %s, ptr nocapture noundef nonnull align 4 dereferenceable(4) %length) local_unnamed_addr #2 align 2 { +define noundef ptr @_ZN6icu_7512PatternProps14trimWhiteSpaceEPKDsRi(ptr noundef readonly %s, ptr nocapture noundef nonnull align 4 dereferenceable(4) %length) local_unnamed_addr #3 align 2 { entry: %0 = load i32, ptr %length, align 4 %cmp = icmp slt i32 %0, 1 @@ -455,7 +455,7 @@ return: ; preds = %if.else6.i19, %entr ret ptr %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define noundef signext range(i8 0, 2) i8 @_ZN6icu_7512PatternProps12isIdentifierEPKDsi(ptr noundef readonly %s, i32 noundef %length) local_unnamed_addr #1 align 2 { entry: %cmp = icmp slt i32 %length, 1 @@ -529,7 +529,7 @@ return: ; preds = %do.cond, %_ZN6icu_7 ret i8 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define noundef ptr @_ZN6icu_7512PatternProps14skipIdentifierEPKDsi(ptr noundef readonly %s, i32 noundef %length) local_unnamed_addr #1 align 2 { entry: %cmp6 = icmp sgt i32 %length, 0 @@ -601,8 +601,9 @@ while.end: ; preds = %_ZN6icu_7512Pattern } 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 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 #2 = { mustprogress 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 #1 = { 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 #2 = { 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 #3 = { mustprogress 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" } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/icu/optimized/ucnv_io.ll b/bench/icu/optimized/ucnv_io.ll index c4893750d37..37ecb0dafc6 100644 --- a/bench/icu/optimized/ucnv_io.ll +++ b/bench/icu/optimized/ucnv_io.ll @@ -26,7 +26,7 @@ target triple = "x86_64-unknown-linux-gnu" @_ZL10gAliasData = internal unnamed_addr global ptr null, align 8 @_ZL19defaultTableOptions = internal constant %struct.UConverterAliasOptions zeroinitializer, align 2 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define noundef ptr @ucnv_io_stripASCIIForCompare_75(ptr noundef returned writeonly %dst, ptr nocapture noundef readonly %name) #0 { entry: %0 = load i8, ptr %name, align 1 @@ -102,7 +102,7 @@ while.end: ; preds = %sw.epilog, %while.c ret ptr %dst } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define noundef ptr @ucnv_io_stripEBCDICForCompare_75(ptr noundef returned writeonly %dst, ptr nocapture noundef readonly %name) #0 { entry: %0 = load i8, ptr %name, align 1 @@ -180,7 +180,7 @@ while.end: ; preds = %sw.epilog, %while.c ret ptr %dst } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define range(i32 -255, 256) i32 @ucnv_compareNames_75(ptr nocapture noundef readonly %name1, ptr nocapture noundef readonly %name2) local_unnamed_addr #1 { entry: br label %for.cond @@ -2025,7 +2025,7 @@ if.end: ; preds = %if.then, %entry declare ptr @udata_openChoice_75(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #6 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define internal noundef signext range(i8 0, 2) i8 @_ZL12isAcceptablePvPKcS1_PK9UDataInfo(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr nocapture noundef readonly %pInfo) #8 { +define internal noundef signext range(i8 0, 2) i8 @_ZL12isAcceptablePvPKcS1_PK9UDataInfo(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr nocapture noundef readonly %pInfo) #1 { entry: %3 = load i16, ptr %pInfo, align 2 %cmp = icmp ugt i16 %3, 19 @@ -2084,10 +2084,10 @@ declare ptr @udata_getMemory_75(ptr noundef) local_unnamed_addr #6 declare void @udata_close_75(ptr noundef) local_unnamed_addr #6 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #9 +declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #8 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #9 +declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #8 declare i32 @uprv_stricmp_75(ptr noundef, ptr noundef) local_unnamed_addr #6 @@ -2102,7 +2102,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define internal noundef range(i32 0, 65536) i32 @_ZL28ucnv_io_countStandardAliasesP12UEnumerationP10UErrorCode(ptr nocapture noundef readonly %enumerator, ptr nocapture readnone %0) #1 { +define internal noundef range(i32 0, 65536) i32 @_ZL28ucnv_io_countStandardAliasesP12UEnumerationP10UErrorCode(ptr nocapture noundef readonly %enumerator, ptr nocapture readnone %0) #9 { entry: %context = getelementptr inbounds i8, ptr %enumerator, i64 8 %1 = load ptr, ptr %context, align 8 @@ -2254,16 +2254,16 @@ declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #13 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #13 -attributes #0 = { mustprogress 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 #1 = { 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 #0 = { mustprogress 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 #1 = { 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 #2 = { mustprogress 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 #3 = { mustprogress nofree 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 #4 = { allocsize(0) "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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #6 = { "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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #8 = { 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 #9 = { 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 #8 = { 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 #9 = { 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 #10 = { mustprogress nofree 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 #11 = { 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 #12 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, 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" } diff --git a/bench/icu/optimized/ucol_sit.ll b/bench/icu/optimized/ucol_sit.ll index 16efd0f7f38..0709fc2289e 100644 --- a/bench/icu/optimized/ucol_sit.ll +++ b/bench/icu/optimized/ucol_sit.ll @@ -93,12 +93,12 @@ entry: lpad: ; preds = %if.then.i.i, %if.then.i %0 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_7515MaybeStackArrayIcLi40EED2Ev(ptr noundef nonnull align 8 dereferenceable(53) %this) #15 + tail call void @_ZN6icu_7515MaybeStackArrayIcLi40EED2Ev(ptr noundef nonnull align 8 dereferenceable(53) %this) #14 resume { ptr, i32 } %0 if.then.i: ; preds = %entry %conv.i3 = zext nneg i32 %newCapacity to i64 - %call.i4 = invoke noalias ptr @uprv_malloc_75(i64 noundef %conv.i3) #16 + %call.i4 = invoke noalias ptr @uprv_malloc_75(i64 noundef %conv.i3) #15 to label %call.i.noexc unwind label %lpad call.i.noexc: ; preds = %if.then.i @@ -135,7 +135,7 @@ entry: if.then: ; preds = %entry %conv = zext nneg i32 %newCapacity to i64 - %call = tail call noalias ptr @uprv_malloc_75(i64 noundef %conv) #16 + %call = tail call noalias ptr @uprv_malloc_75(i64 noundef %conv) #15 %cmp2.not = icmp eq ptr %call, null br i1 %cmp2.not, label %return, label %if.then3 @@ -196,7 +196,7 @@ terminate.lpad: ; preds = %if.then.i %2 = landingpad { ptr, i32 } catch ptr null %3 = extractvalue { ptr, i32 } %2, 0 - tail call void @__clang_call_terminate(ptr %3) #17 + tail call void @__clang_call_terminate(ptr %3) #16 unreachable } @@ -219,8 +219,8 @@ if.end: ; preds = %if.then, %entry ; Function Attrs: noreturn nounwind uwtable define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #2 comdat { - %2 = tail call ptr @__cxa_begin_catch(ptr %0) #15 - tail call void @_ZSt9terminatev() #17 + %2 = tail call ptr @__cxa_begin_catch(ptr %0) #14 + tail call void @_ZSt9terminatev() #16 unreachable } @@ -327,7 +327,7 @@ terminate.lpad: ; preds = %if.then.i %6 = landingpad { ptr, i32 } catch ptr null %7 = extractvalue { ptr, i32 } %6, 0 - tail call void @__clang_call_terminate(ptr %7) #17 + tail call void @__clang_call_terminate(ptr %7) #16 unreachable } @@ -427,7 +427,7 @@ if.else3: ; preds = %if.else %2 = load i32, ptr %capacity, align 8 %spec.select = tail call i32 @llvm.smin.i32(i32 %2, i32 %length) %conv = sext i32 %spec.select to i64 - %call = tail call noalias ptr @uprv_malloc_75(i64 noundef %conv) #16 + %call = tail call noalias ptr @uprv_malloc_75(i64 noundef %conv) #15 %cmp7 = icmp eq ptr %call, null br i1 %cmp7, label %return, label %do.body @@ -467,7 +467,7 @@ if.end: ; preds = %entry if.then.i: ; preds = %if.end %conv.i4 = zext nneg i32 %1 to i64 - %call.i = tail call noalias ptr @uprv_malloc_75(i64 noundef %conv.i4) #16 + %call.i = tail call noalias ptr @uprv_malloc_75(i64 noundef %conv.i4) #15 %cmp2.not.i = icmp eq ptr %call.i, null br i1 %cmp2.not.i, label %if.then3, label %if.then3.i @@ -585,7 +585,7 @@ lpad.i: ; preds = %arrayctor.loop.i arraydestroy.body.i: ; preds = %lpad.i, %arraydestroy.body.i %arraydestroy.elementPast.i = phi ptr [ %arraydestroy.element.i, %arraydestroy.body.i ], [ %arrayctor.cur.ptr.i, %lpad.i ] %arraydestroy.element.i = getelementptr inbounds i8, ptr %arraydestroy.elementPast.i, i64 -64 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.i) #14 %arraydestroy.done.i = icmp eq ptr %arraydestroy.element.i, %s br i1 %arraydestroy.done.i, label %common.resume, label %arraydestroy.body.i @@ -604,12 +604,12 @@ arraydestroy.body12.i: ; preds = %lpad9.i, %arraydest %arraydestroy.elementPast13.idx.i = phi i64 [ %arraydestroy.elementPast13.add.i, %arraydestroy.body12.i ], [ %arrayctor.cur8.idx.i, %lpad9.i ] %arraydestroy.elementPast13.add.i = add nsw i64 %arraydestroy.elementPast13.idx.i, -64 %arraydestroy.element14.ptr.i = getelementptr inbounds i8, ptr %s, i64 %arraydestroy.elementPast13.add.i - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element14.ptr.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element14.ptr.i) #14 %arraydestroy.done15.i = icmp eq i64 %arraydestroy.elementPast13.add.i, 560 br i1 %arraydestroy.done15.i, label %arraydestroy.done16.i, label %arraydestroy.body12.i arraydestroy.done16.i: ; preds = %arraydestroy.body12.i, %lpad9.i - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #14 br label %ehcleanup.i ehcleanup.i: ; preds = %arraydestroy.done16.i, %lpad3.i @@ -619,7 +619,7 @@ ehcleanup.i: ; preds = %arraydestroy.done16 arraydestroy.body21.i: ; preds = %arraydestroy.body21.i, %ehcleanup.i %arraydestroy.elementPast22.i = phi ptr [ %arrayctor.end.i, %ehcleanup.i ], [ %arraydestroy.element23.i, %arraydestroy.body21.i ] %arraydestroy.element23.i = getelementptr inbounds i8, ptr %arraydestroy.elementPast22.i, i64 -64 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element23.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element23.i) #14 %arraydestroy.done24.i = icmp eq ptr %arraydestroy.element23.i, %s br i1 %arraydestroy.done24.i, label %common.resume, label %arraydestroy.body21.i @@ -655,7 +655,7 @@ invoke.cont9: ; preds = %invoke.cont7 to label %invoke.cont13 unwind label %lpad10 invoke.cont13: ; preds = %invoke.cont9 - call void @_ZN6icu_7518CharStringByteSinkD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %sink) #15 + call void @_ZN6icu_7518CharStringByteSinkD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %sink) #14 %10 = load ptr, ptr %buffer, align 8 %call17 = invoke ptr @ures_open_75(ptr noundef nonnull @.str, ptr noundef %10, ptr noundef nonnull %status) to label %invoke.cont16 unwind label %lpad8 @@ -682,7 +682,7 @@ invoke.cont23: ; preds = %invoke.cont20 to label %invoke.cont27 unwind label %lpad24 invoke.cont27: ; preds = %invoke.cont23 - call void @_ZN6icu_7518CharStringByteSinkD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %sink21) #15 + call void @_ZN6icu_7518CharStringByteSinkD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %sink21) #14 %13 = load i32, ptr %len.i26, align 8 %cmp.i29.not = icmp eq i32 %13, 0 br i1 %cmp.i29.not, label %if.then31, label %if.end44 @@ -719,7 +719,7 @@ lpad8: ; preds = %invoke.cont18, %inv lpad10: ; preds = %invoke.cont9 %18 = landingpad { ptr, i32 } cleanup - call void @_ZN6icu_7518CharStringByteSinkD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %sink) #15 + call void @_ZN6icu_7518CharStringByteSinkD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %sink) #14 br label %ehcleanup53 lpad22: ; preds = %invoke.cont50, %invoke.cont49, %invoke.cont47, %if.end44, %if.end42, %invoke.cont38, %if.then37, %if.then31, %invoke.cont20 @@ -730,7 +730,7 @@ lpad22: ; preds = %invoke.cont50, %inv lpad24: ; preds = %invoke.cont23 %20 = landingpad { ptr, i32 } cleanup - call void @_ZN6icu_7518CharStringByteSinkD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %sink21) #15 + call void @_ZN6icu_7518CharStringByteSinkD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %sink21) #14 br label %ehcleanup if.else: ; preds = %invoke.cont32 @@ -759,26 +759,26 @@ invoke.cont50: ; preds = %invoke.cont49 to label %cleanup unwind label %lpad22 cleanup: ; preds = %invoke.cont50, %if.else - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %keyBuffer) #15 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %buffer) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %keyBuffer) #14 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %buffer) #14 br label %arraydestroy.body.i33 arraydestroy.body.i33: ; preds = %arraydestroy.body.i33, %cleanup %arraydestroy.elementPast.idx.i = phi i64 [ 1648, %cleanup ], [ %arraydestroy.elementPast.add.i, %arraydestroy.body.i33 ] %arraydestroy.elementPast.add.i = add nsw i64 %arraydestroy.elementPast.idx.i, -64 %arraydestroy.element.ptr.i = getelementptr inbounds i8, ptr %s, i64 %arraydestroy.elementPast.add.i - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.ptr.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.ptr.i) #14 %arraydestroy.done.i34 = icmp eq i64 %arraydestroy.elementPast.add.i, 560 br i1 %arraydestroy.done.i34, label %arraydestroy.done2.i, label %arraydestroy.body.i33 arraydestroy.done2.i: ; preds = %arraydestroy.body.i33 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #14 br label %arraydestroy.body4.i arraydestroy.body4.i: ; preds = %arraydestroy.body4.i, %arraydestroy.done2.i %arraydestroy.elementPast5.i = phi ptr [ %arrayctor.end.i, %arraydestroy.done2.i ], [ %arraydestroy.element6.i, %arraydestroy.body4.i ] %arraydestroy.element6.i = getelementptr inbounds i8, ptr %arraydestroy.elementPast5.i, i64 -64 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element6.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element6.i) #14 %arraydestroy.done7.i = icmp eq ptr %arraydestroy.element6.i, %s br i1 %arraydestroy.done7.i, label %cleanup.cont, label %arraydestroy.body4.i @@ -787,12 +787,12 @@ cleanup.cont: ; preds = %arraydestroy.body4. ehcleanup: ; preds = %lpad24, %lpad22 %.pn = phi { ptr, i32 } [ %19, %lpad22 ], [ %20, %lpad24 ] - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %keyBuffer) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %keyBuffer) #14 br label %ehcleanup53 ehcleanup53: ; preds = %ehcleanup, %lpad10, %lpad8 %.pn.pn = phi { ptr, i32 } [ %.pn, %ehcleanup ], [ %17, %lpad8 ], [ %18, %lpad10 ] - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %buffer) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %buffer) #14 br label %ehcleanup55 ehcleanup55: ; preds = %ehcleanup53, %lpad @@ -803,18 +803,18 @@ arraydestroy.body.i35: ; preds = %arraydestroy.body.i %arraydestroy.elementPast.idx.i36 = phi i64 [ 1648, %ehcleanup55 ], [ %arraydestroy.elementPast.add.i37, %arraydestroy.body.i35 ] %arraydestroy.elementPast.add.i37 = add nsw i64 %arraydestroy.elementPast.idx.i36, -64 %arraydestroy.element.ptr.i38 = getelementptr inbounds i8, ptr %s, i64 %arraydestroy.elementPast.add.i37 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.ptr.i38) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.ptr.i38) #14 %arraydestroy.done.i39 = icmp eq i64 %arraydestroy.elementPast.add.i37, 560 br i1 %arraydestroy.done.i39, label %arraydestroy.done2.i40, label %arraydestroy.body.i35 arraydestroy.done2.i40: ; preds = %arraydestroy.body.i35 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #14 br label %arraydestroy.body4.i42 arraydestroy.body4.i42: ; preds = %arraydestroy.body4.i42, %arraydestroy.done2.i40 %arraydestroy.elementPast5.i43 = phi ptr [ %arrayctor.end.i, %arraydestroy.done2.i40 ], [ %arraydestroy.element6.i44, %arraydestroy.body4.i42 ] %arraydestroy.element6.i44 = getelementptr inbounds i8, ptr %arraydestroy.elementPast5.i43, i64 -64 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element6.i44) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element6.i44) #14 %arraydestroy.done7.i45 = icmp eq ptr %arraydestroy.element6.i44, %s br i1 %arraydestroy.done7.i45, label %common.resume, label %arraydestroy.body4.i42 } @@ -880,7 +880,7 @@ if.then.i: ; preds = %for.body.i common.resume.i: ; preds = %lpad.i, %lpad.i.i %common.resume.op.i = phi { ptr, i32 } [ %7, %lpad.i.i ], [ %8, %lpad.i ] - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %ref.tmp.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %ref.tmp.i) #14 resume { ptr, i32 } %common.resume.op.i lpad.i.i: ; preds = %if.then.i @@ -894,7 +894,7 @@ _ZN6icu_7510CharStringC2EPKciR10UErrorCode.exit.i: ; preds = %if.then.i to label %invoke.cont.i unwind label %lpad.i invoke.cont.i: ; preds = %_ZN6icu_7510CharStringC2EPKciR10UErrorCode.exit.i - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %ref.tmp.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %ref.tmp.i) #14 br label %_ZL19ucol_sit_readOptionPKcP12CollatorSpecP10UErrorCode.exit lpad.i: ; preds = %_ZN6icu_7510CharStringC2EPKciR10UErrorCode.exit.i @@ -1164,7 +1164,7 @@ lpad.i: ; preds = %arrayctor.loop.i arraydestroy.body.i: ; preds = %lpad.i, %arraydestroy.body.i %arraydestroy.elementPast.i = phi ptr [ %arraydestroy.element.i, %arraydestroy.body.i ], [ %arrayctor.cur.ptr.i, %lpad.i ] %arraydestroy.element.i = getelementptr inbounds i8, ptr %arraydestroy.elementPast.i, i64 -64 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.i) #14 %arraydestroy.done.i = icmp eq ptr %arraydestroy.element.i, %s br i1 %arraydestroy.done.i, label %common.resume, label %arraydestroy.body.i @@ -1183,12 +1183,12 @@ arraydestroy.body12.i: ; preds = %lpad9.i, %arraydest %arraydestroy.elementPast13.idx.i = phi i64 [ %arraydestroy.elementPast13.add.i, %arraydestroy.body12.i ], [ %arrayctor.cur8.idx.i, %lpad9.i ] %arraydestroy.elementPast13.add.i = add nsw i64 %arraydestroy.elementPast13.idx.i, -64 %arraydestroy.element14.ptr.i = getelementptr inbounds i8, ptr %s, i64 %arraydestroy.elementPast13.add.i - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element14.ptr.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element14.ptr.i) #14 %arraydestroy.done15.i = icmp eq i64 %arraydestroy.elementPast13.add.i, 560 br i1 %arraydestroy.done15.i, label %arraydestroy.done16.i, label %arraydestroy.body12.i arraydestroy.done16.i: ; preds = %arraydestroy.body12.i, %lpad9.i - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #14 br label %ehcleanup.i ehcleanup.i: ; preds = %arraydestroy.done16.i, %lpad3.i @@ -1198,7 +1198,7 @@ ehcleanup.i: ; preds = %arraydestroy.done16 arraydestroy.body21.i: ; preds = %arraydestroy.body21.i, %ehcleanup.i %arraydestroy.elementPast22.i = phi ptr [ %arrayctor.end.i, %ehcleanup.i ], [ %arraydestroy.element23.i, %arraydestroy.body21.i ] %arraydestroy.element23.i = getelementptr inbounds i8, ptr %arraydestroy.elementPast22.i, i64 -64 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element23.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element23.i) #14 %arraydestroy.done24.i = icmp eq ptr %arraydestroy.element23.i, %s br i1 %arraydestroy.done24.i, label %common.resume, label %arraydestroy.body21.i @@ -1234,7 +1234,7 @@ invoke.cont9: ; preds = %invoke.cont7 to label %invoke.cont13 unwind label %lpad10 invoke.cont13: ; preds = %invoke.cont9 - call void @_ZN6icu_7518CharStringByteSinkD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %sink) #15 + call void @_ZN6icu_7518CharStringByteSinkD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %sink) #14 %9 = load ptr, ptr %buffer, align 8 %call17 = invoke ptr @ucol_open_75(ptr noundef %9, ptr noundef nonnull %status) to label %for.cond.preheader unwind label %lpad8.loopexit.split-lp @@ -1286,7 +1286,7 @@ lpad8.loopexit.split-lp: ; preds = %if.then37.invoke, % lpad10: ; preds = %invoke.cont9 %15 = landingpad { ptr, i32 } cleanup - call void @_ZN6icu_7518CharStringByteSinkD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %sink) #15 + call void @_ZN6icu_7518CharStringByteSinkD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %sink) #14 br label %ehcleanup if.end33: ; preds = %if.then28, %invoke.cont22 @@ -1340,31 +1340,31 @@ if.end52: ; preds = %if.then46, %if.else cleanup: ; preds = %if.then37.invoke, %if.end52 %retval.0 = phi ptr [ %call17, %if.end52 ], [ null, %if.then37.invoke ] - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %buffer) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %buffer) #14 br label %arraydestroy.body.i37 arraydestroy.body.i37: ; preds = %arraydestroy.body.i37, %cleanup %arraydestroy.elementPast.idx.i = phi i64 [ 1648, %cleanup ], [ %arraydestroy.elementPast.add.i, %arraydestroy.body.i37 ] %arraydestroy.elementPast.add.i = add nsw i64 %arraydestroy.elementPast.idx.i, -64 %arraydestroy.element.ptr.i = getelementptr inbounds i8, ptr %s, i64 %arraydestroy.elementPast.add.i - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.ptr.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.ptr.i) #14 %arraydestroy.done.i38 = icmp eq i64 %arraydestroy.elementPast.add.i, 560 br i1 %arraydestroy.done.i38, label %arraydestroy.done2.i, label %arraydestroy.body.i37 arraydestroy.done2.i: ; preds = %arraydestroy.body.i37 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #14 br label %arraydestroy.body4.i arraydestroy.body4.i: ; preds = %arraydestroy.body4.i, %arraydestroy.done2.i %arraydestroy.elementPast5.i = phi ptr [ %arrayctor.end.i, %arraydestroy.done2.i ], [ %arraydestroy.element6.i, %arraydestroy.body4.i ] %arraydestroy.element6.i = getelementptr inbounds i8, ptr %arraydestroy.elementPast5.i, i64 -64 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element6.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element6.i) #14 %arraydestroy.done7.i = icmp eq ptr %arraydestroy.element6.i, %s br i1 %arraydestroy.done7.i, label %return, label %arraydestroy.body4.i ehcleanup: ; preds = %lpad8.loopexit, %lpad8.loopexit.split-lp, %lpad10 %.pn = phi { ptr, i32 } [ %15, %lpad10 ], [ %lpad.loopexit, %lpad8.loopexit ], [ %lpad.loopexit.split-lp, %lpad8.loopexit.split-lp ] - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %buffer) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %buffer) #14 br label %ehcleanup60 ehcleanup60: ; preds = %ehcleanup, %lpad @@ -1375,18 +1375,18 @@ arraydestroy.body.i39: ; preds = %arraydestroy.body.i %arraydestroy.elementPast.idx.i40 = phi i64 [ 1648, %ehcleanup60 ], [ %arraydestroy.elementPast.add.i41, %arraydestroy.body.i39 ] %arraydestroy.elementPast.add.i41 = add nsw i64 %arraydestroy.elementPast.idx.i40, -64 %arraydestroy.element.ptr.i42 = getelementptr inbounds i8, ptr %s, i64 %arraydestroy.elementPast.add.i41 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.ptr.i42) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.ptr.i42) #14 %arraydestroy.done.i43 = icmp eq i64 %arraydestroy.elementPast.add.i41, 560 br i1 %arraydestroy.done.i43, label %arraydestroy.done2.i44, label %arraydestroy.body.i39 arraydestroy.done2.i44: ; preds = %arraydestroy.body.i39 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #14 br label %arraydestroy.body4.i46 arraydestroy.body4.i46: ; preds = %arraydestroy.body4.i46, %arraydestroy.done2.i44 %arraydestroy.elementPast5.i47 = phi ptr [ %arrayctor.end.i, %arraydestroy.done2.i44 ], [ %arraydestroy.element6.i48, %arraydestroy.body4.i46 ] %arraydestroy.element6.i48 = getelementptr inbounds i8, ptr %arraydestroy.elementPast5.i47, i64 -64 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element6.i48) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element6.i48) #14 %arraydestroy.done7.i49 = icmp eq ptr %arraydestroy.element6.i48, %s br i1 %arraydestroy.done7.i49, label %common.resume, label %arraydestroy.body4.i46 @@ -1512,7 +1512,7 @@ lpad.i: ; preds = %arrayctor.loop.i arraydestroy.body.i: ; preds = %lpad.i, %arraydestroy.body.i %arraydestroy.elementPast.i = phi ptr [ %arraydestroy.element.i, %arraydestroy.body.i ], [ %arrayctor.cur.ptr.i, %lpad.i ] %arraydestroy.element.i = getelementptr inbounds i8, ptr %arraydestroy.elementPast.i, i64 -64 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.i) #14 %arraydestroy.done.i = icmp eq ptr %arraydestroy.element.i, %s br i1 %arraydestroy.done.i, label %common.resume, label %arraydestroy.body.i @@ -1531,12 +1531,12 @@ arraydestroy.body12.i: ; preds = %lpad9.i, %arraydest %arraydestroy.elementPast13.idx.i = phi i64 [ %arraydestroy.elementPast13.add.i, %arraydestroy.body12.i ], [ %arrayctor.cur8.idx.i, %lpad9.i ] %arraydestroy.elementPast13.add.i = add nsw i64 %arraydestroy.elementPast13.idx.i, -64 %arraydestroy.element14.ptr.i = getelementptr inbounds i8, ptr %s, i64 %arraydestroy.elementPast13.add.i - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element14.ptr.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element14.ptr.i) #14 %arraydestroy.done15.i = icmp eq i64 %arraydestroy.elementPast13.add.i, 560 br i1 %arraydestroy.done15.i, label %arraydestroy.done16.i, label %arraydestroy.body12.i arraydestroy.done16.i: ; preds = %arraydestroy.body12.i, %lpad9.i - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #14 br label %ehcleanup.i ehcleanup.i: ; preds = %arraydestroy.done16.i, %lpad3.i @@ -1546,7 +1546,7 @@ ehcleanup.i: ; preds = %arraydestroy.done16 arraydestroy.body21.i: ; preds = %arraydestroy.body21.i, %ehcleanup.i %arraydestroy.elementPast22.i = phi ptr [ %arrayctor.end.i, %ehcleanup.i ], [ %arraydestroy.element23.i, %arraydestroy.body21.i ] %arraydestroy.element23.i = getelementptr inbounds i8, ptr %arraydestroy.elementPast22.i, i64 -64 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element23.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element23.i) #14 %arraydestroy.done24.i = icmp eq ptr %arraydestroy.element23.i, %s br i1 %arraydestroy.done24.i, label %common.resume, label %arraydestroy.body21.i @@ -1673,18 +1673,18 @@ arraydestroy.body.i10: ; preds = %arraydestroy.body.i %arraydestroy.elementPast.idx.i = phi i64 [ 1648, %invoke.cont8 ], [ %arraydestroy.elementPast.add.i, %arraydestroy.body.i10 ] %arraydestroy.elementPast.add.i = add nsw i64 %arraydestroy.elementPast.idx.i, -64 %arraydestroy.element.ptr.i = getelementptr inbounds i8, ptr %s, i64 %arraydestroy.elementPast.add.i - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.ptr.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.ptr.i) #14 %arraydestroy.done.i11 = icmp eq i64 %arraydestroy.elementPast.add.i, 560 br i1 %arraydestroy.done.i11, label %arraydestroy.done2.i, label %arraydestroy.body.i10 arraydestroy.done2.i: ; preds = %arraydestroy.body.i10 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #14 br label %arraydestroy.body4.i arraydestroy.body4.i: ; preds = %arraydestroy.body4.i, %arraydestroy.done2.i %arraydestroy.elementPast5.i = phi ptr [ %arrayctor.end.i, %arraydestroy.done2.i ], [ %arraydestroy.element6.i, %arraydestroy.body4.i ] %arraydestroy.element6.i = getelementptr inbounds i8, ptr %arraydestroy.elementPast5.i, i64 -64 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element6.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element6.i) #14 %arraydestroy.done7.i = icmp eq ptr %arraydestroy.element6.i, %s br i1 %arraydestroy.done7.i, label %return, label %arraydestroy.body4.i @@ -1711,18 +1711,18 @@ arraydestroy.body.i12: ; preds = %arraydestroy.body.i %arraydestroy.elementPast.idx.i13 = phi i64 [ 1648, %lpad ], [ %arraydestroy.elementPast.add.i14, %arraydestroy.body.i12 ] %arraydestroy.elementPast.add.i14 = add nsw i64 %arraydestroy.elementPast.idx.i13, -64 %arraydestroy.element.ptr.i15 = getelementptr inbounds i8, ptr %s, i64 %arraydestroy.elementPast.add.i14 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.ptr.i15) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element.ptr.i15) #14 %arraydestroy.done.i16 = icmp eq i64 %arraydestroy.elementPast.add.i14, 560 br i1 %arraydestroy.done.i16, label %arraydestroy.done2.i17, label %arraydestroy.body.i12 arraydestroy.done2.i17: ; preds = %arraydestroy.body.i12 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arrayctor.end.i) #14 br label %arraydestroy.body4.i19 arraydestroy.body4.i19: ; preds = %arraydestroy.body4.i19, %arraydestroy.done2.i17 %arraydestroy.elementPast5.i20 = phi ptr [ %arrayctor.end.i, %arraydestroy.done2.i17 ], [ %arraydestroy.element6.i21, %arraydestroy.body4.i19 ] %arraydestroy.element6.i21 = getelementptr inbounds i8, ptr %arraydestroy.elementPast5.i20, i64 -64 - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element6.i21) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %arraydestroy.element6.i21) #14 %arraydestroy.done7.i22 = icmp eq ptr %arraydestroy.element6.i21, %s br i1 %arraydestroy.done7.i22, label %common.resume, label %arraydestroy.body4.i19 @@ -1750,7 +1750,7 @@ if.then1.i: ; preds = %if.end.i br label %ucol_getContractionsAndExpansions_75.exit _ZN6icu_7517RuleBasedCollator16rbcFromUCollatorEPK9UCollator.exit.i: ; preds = %if.end.i - %1 = tail call ptr @__dynamic_cast(ptr nonnull %coll, ptr nonnull @_ZTIN6icu_758CollatorE, ptr nonnull @_ZTIN6icu_7517RuleBasedCollatorE, i64 0) #15 + %1 = tail call ptr @__dynamic_cast(ptr nonnull %coll, ptr nonnull @_ZTIN6icu_758CollatorE, ptr nonnull @_ZTIN6icu_7517RuleBasedCollatorE, i64 0) #14 %cmp4.i = icmp eq ptr %1, null br i1 %cmp4.i, label %if.then5.i, label %if.end6.i @@ -1783,7 +1783,7 @@ if.then1: ; preds = %if.end br label %return _ZN6icu_7517RuleBasedCollator16rbcFromUCollatorEPK9UCollator.exit: ; preds = %if.end - %1 = tail call ptr @__dynamic_cast(ptr nonnull %coll, ptr nonnull @_ZTIN6icu_758CollatorE, ptr nonnull @_ZTIN6icu_7517RuleBasedCollatorE, i64 0) #15 + %1 = tail call ptr @__dynamic_cast(ptr nonnull %coll, ptr nonnull @_ZTIN6icu_758CollatorE, ptr nonnull @_ZTIN6icu_7517RuleBasedCollatorE, i64 0) #14 %cmp4 = icmp eq ptr %1, null br i1 %cmp4, label %if.then5, label %if.end6 @@ -1858,8 +1858,8 @@ if.end: ; preds = %if.then, %lor.lhs.f ret ptr %incdec.ptr } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal noundef ptr @_ZL19_processVariableTopP12CollatorSpecjPKcP10UErrorCode(ptr nocapture noundef writeonly %spec, i32 noundef %value1, ptr noundef readonly %string, ptr nocapture noundef %status) #9 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal noundef ptr @_ZL19_processVariableTopP12CollatorSpecjPKcP10UErrorCode(ptr nocapture noundef writeonly %spec, i32 noundef %value1, ptr noundef readonly %string, ptr nocapture noundef %status) #8 { entry: %tobool.not = icmp eq i32 %value1, 0 br i1 %tobool.not, label %while.cond.preheader, label %if.else @@ -2101,7 +2101,7 @@ entry: %incdec.ptr = getelementptr inbounds i8, ptr %string, i64 1 %add.ptr = getelementptr inbounds i8, ptr %string, i64 2 %conv = sext i8 %1 to i32 - %call = tail call noundef ptr @strchr(ptr noundef nonnull dereferenceable(1) %add.ptr, i32 noundef %conv) #18 + %call = tail call noundef ptr @strchr(ptr noundef nonnull dereferenceable(1) %add.ptr, i32 noundef %conv) #17 %cmp = icmp eq ptr %call, null br i1 %cmp, label %if.then, label %lor.lhs.false @@ -2128,7 +2128,7 @@ if.else: ; preds = %lor.lhs.false common.resume: ; preds = %lpad, %lpad.i %common.resume.op = phi { ptr, i32 } [ %3, %lpad.i ], [ %4, %lpad ] - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %ref.tmp) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %ref.tmp) #14 resume { ptr, i32 } %common.resume.op lpad.i: ; preds = %if.else @@ -2142,7 +2142,7 @@ _ZN6icu_7510CharStringC2EPKciR10UErrorCode.exit: ; preds = %if.else to label %invoke.cont unwind label %lpad invoke.cont: ; preds = %_ZN6icu_7510CharStringC2EPKciR10UErrorCode.exit - call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %ref.tmp) #15 + call void @_ZN6icu_7515MaybeStackArrayIcLi40EED1Ev(ptr noundef nonnull align 8 dereferenceable(53) %ref.tmp) #14 %add.ptr7 = getelementptr inbounds i8, ptr %call, i64 1 br label %return @@ -2161,7 +2161,7 @@ declare noundef nonnull align 8 dereferenceable(60) ptr @_ZN6icu_7510CharString6 declare signext i8 @uprv_asciitolower_75(i8 noundef signext) local_unnamed_addr #5 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare noundef ptr @strchr(ptr noundef, i32 noundef) local_unnamed_addr #10 +declare noundef ptr @strchr(ptr noundef, i32 noundef) local_unnamed_addr #9 declare noundef nonnull align 8 dereferenceable(60) ptr @_ZN6icu_7510CharString6appendEPKciR10UErrorCode(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5 @@ -2172,19 +2172,19 @@ declare signext i8 @uprv_toupper_75(i8 noundef signext) local_unnamed_addr #5 declare noundef i32 @_ZNK6icu_7510CharString7extractEPciR10UErrorCode(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) -declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) local_unnamed_addr #11 +declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) local_unnamed_addr #10 ; Function Attrs: nofree nounwind willreturn memory(argmem: read) -declare i64 @strlen(ptr nocapture) local_unnamed_addr #12 +declare i64 @strlen(ptr nocapture) local_unnamed_addr #11 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #13 +declare i32 @llvm.smin.i32(i32, i32) #12 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #14 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #13 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #14 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #13 attributes #0 = { mustprogress 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 #1 = { mustprogress 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" } @@ -2195,16 +2195,15 @@ attributes #5 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protect attributes #6 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #8 = { mustprogress 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 #9 = { mustprogress 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 #10 = { 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 #11 = { mustprogress nofree nounwind willreturn memory(read) } -attributes #12 = { nofree nounwind willreturn memory(argmem: read) } -attributes #13 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #14 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #15 = { nounwind } -attributes #16 = { allocsize(0) } -attributes #17 = { noreturn nounwind } -attributes #18 = { nounwind willreturn memory(read) } +attributes #9 = { 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 #10 = { mustprogress nofree nounwind willreturn memory(read) } +attributes #11 = { nofree nounwind willreturn memory(argmem: read) } +attributes #12 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #13 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #14 = { nounwind } +attributes #15 = { allocsize(0) } +attributes #16 = { noreturn nounwind } +attributes #17 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/icu/optimized/ufmt_cmn.ll b/bench/icu/optimized/ufmt_cmn.ll index 6d4c827168e..28524b05025 100644 --- a/bench/icu/optimized/ufmt_cmn.ll +++ b/bench/icu/optimized/ufmt_cmn.ll @@ -61,7 +61,7 @@ _Z18ufmt_digitvalue_75Ds.exit: ; preds = %entry, %if.then.i ret i8 %conv } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_Z13ufmt_64tou_75PDsPimhai(ptr noundef %buffer, ptr nocapture noundef %len, i64 noundef %value, i8 noundef zeroext %radix, i8 noundef signext %uselower, i32 noundef %minDigits) local_unnamed_addr #1 { entry: %conv = zext i8 %radix to i64 @@ -215,8 +215,8 @@ for.end: ; preds = %for.body, %for.body ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define noundef i64 @_Z13ufmt_uto64_75PKDsPia(ptr noundef readonly %buffer, ptr nocapture noundef %len, i8 noundef signext %radix) local_unnamed_addr #3 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define noundef i64 @_Z13ufmt_uto64_75PKDsPia(ptr noundef readonly %buffer, ptr nocapture noundef %len, i8 noundef signext %radix) local_unnamed_addr #1 { entry: %0 = load i32, ptr %len, align 4 %idx.ext = sext i32 %0 to i64 @@ -281,7 +281,7 @@ while.end: ; preds = %_Z15ufmt_isdigit_75 } ; Function Attrs: mustprogress uwtable -define noundef ptr @_Z12ufmt_utop_75PKDsPi(ptr nocapture noundef readonly %buffer, ptr nocapture noundef %len) local_unnamed_addr #4 { +define noundef ptr @_Z12ufmt_utop_75PKDsPi(ptr nocapture noundef readonly %buffer, ptr nocapture noundef %len) local_unnamed_addr #3 { entry: %result = alloca %union.anon, align 8 store ptr null, ptr %result, align 8 @@ -437,10 +437,10 @@ while.end35: ; preds = %while.end35.loopexi ret ptr %20 } -declare signext i8 @u_isspace_75(i32 noundef) local_unnamed_addr #5 +declare signext i8 @u_isspace_75(i32 noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress uwtable -define noundef ptr @_Z26ufmt_defaultCPToUnicode_75PKciPDsi(ptr noundef %s, i32 noundef %sSize, ptr noundef %target, i32 noundef %tSize) local_unnamed_addr #4 { +define noundef ptr @_Z26ufmt_defaultCPToUnicode_75PKciPDsi(ptr noundef %s, i32 noundef %sSize, ptr noundef %target, i32 noundef %tSize) local_unnamed_addr #3 { entry: %s.addr = alloca ptr, align 8 %alias = alloca ptr, align 8 @@ -459,7 +459,7 @@ if.end: ; preds = %entry br i1 %cmp2, label %if.then3, label %if.end5 if.then3: ; preds = %if.end - %call4 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %s) #7 + %call4 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %s) #6 %conv = trunc i64 %call4 to i32 %add = add nsw i32 %conv, 1 br label %if.end5 @@ -490,23 +490,22 @@ return: ; preds = %entry, %if.end11 ret ptr %retval.0 } -declare ptr @u_getDefaultConverter_75(ptr noundef) local_unnamed_addr #5 +declare ptr @u_getDefaultConverter_75(ptr noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #6 +declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #5 -declare void @ucnv_toUnicode_75(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i8 noundef signext, ptr noundef) local_unnamed_addr #5 +declare void @ucnv_toUnicode_75(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i8 noundef signext, ptr noundef) local_unnamed_addr #4 -declare void @u_releaseDefaultConverter_75(ptr noundef) local_unnamed_addr #5 +declare void @u_releaseDefaultConverter_75(ptr noundef) local_unnamed_addr #4 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 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 #1 = { mustprogress 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 #2 = { mustprogress 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 #3 = { mustprogress 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 #4 = { mustprogress 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 #5 = { "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 #6 = { 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 #7 = { nounwind willreturn memory(read) } +attributes #3 = { mustprogress 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 #4 = { "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 #5 = { 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 #6 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/icu/optimized/uhash.ll b/bench/icu/optimized/uhash.ll index 51ba716b45b..a56021d28d0 100644 --- a/bench/icu/optimized/uhash.ll +++ b/bench/icu/optimized/uhash.ll @@ -24,7 +24,7 @@ entry: br i1 %cmp.i, label %if.end, label %return if.end: ; preds = %entry - %call1 = tail call noalias dereferenceable_or_null(80) ptr @uprv_malloc_75(i64 noundef 80) #12 + %call1 = tail call noalias dereferenceable_or_null(80) ptr @uprv_malloc_75(i64 noundef 80) #11 %cmp = icmp eq ptr %call1, null br i1 %cmp, label %if.then2, label %if.end3 @@ -60,7 +60,7 @@ if.end.i.i: ; preds = %if.end3 store i32 %2, ptr %length.i.i, align 4 %conv3.i.i = sext i32 %2 to i64 %mul.i.i = mul nsw i64 %conv3.i.i, 24 - %call4.i.i = tail call noalias ptr @uprv_malloc_75(i64 noundef %mul.i.i) #12 + %call4.i.i = tail call noalias ptr @uprv_malloc_75(i64 noundef %mul.i.i) #11 store ptr %call4.i.i, ptr %call1, align 8 %cmp.i12.i = icmp eq ptr %call4.i.i, null br i1 %cmp.i12.i, label %if.then6.i.i, label %while.body.i.i.preheader @@ -168,7 +168,7 @@ if.end.i.i: ; preds = %if.end.i store i8 4, ptr %primeIndex1.i.i, align 8 %length.i.i = getelementptr inbounds i8, ptr %fillinResult, i64 52 store i32 127, ptr %length.i.i, align 4 - %call4.i.i = tail call noalias dereferenceable_or_null(3048) ptr @uprv_malloc_75(i64 noundef 3048) #12 + %call4.i.i = tail call noalias dereferenceable_or_null(3048) ptr @uprv_malloc_75(i64 noundef 3048) #11 store ptr %call4.i.i, ptr %fillinResult, align 8 %cmp.i12.i = icmp eq ptr %call4.i.i, null br i1 %cmp.i12.i, label %if.then6.i.i, label %if.end7.i.i @@ -269,7 +269,7 @@ if.end.i.i: ; preds = %if.end.i store i32 %4, ptr %length.i.i, align 4 %conv3.i.i = sext i32 %4 to i64 %mul.i.i = mul nsw i64 %conv3.i.i, 24 - %call4.i.i = tail call noalias ptr @uprv_malloc_75(i64 noundef %mul.i.i) #12 + %call4.i.i = tail call noalias ptr @uprv_malloc_75(i64 noundef %mul.i.i) #11 store ptr %call4.i.i, ptr %fillinResult, align 8 %cmp.i12.i = icmp eq ptr %call4.i.i, null br i1 %cmp.i12.i, label %if.then6.i.i, label %if.end7.i.i @@ -570,7 +570,7 @@ if.end.i: ; preds = %if.end11 store i32 %7, ptr %length, align 4 %conv3.i = sext i32 %7 to i64 %mul.i = mul nsw i64 %conv3.i, 24 - %call4.i = tail call noalias ptr @uprv_malloc_75(i64 noundef %mul.i) #12 + %call4.i = tail call noalias ptr @uprv_malloc_75(i64 noundef %mul.i) #11 store ptr %call4.i, ptr %hash, align 8 %cmp.i = icmp eq ptr %call4.i, null br i1 %cmp.i, label %if.then6.i, label %if.end7.i @@ -701,7 +701,7 @@ if.else35.i: ; preds = %do.end.i br i1 %cmp36.not.i, label %if.end39.i, label %if.then37.i if.then37.i: ; preds = %if.else35.i - tail call void @abort() #13 + tail call void @abort() #12 unreachable if.end39.i: ; preds = %if.else14.i, %if.else35.i, %do.end.i @@ -822,7 +822,7 @@ if.else35.i: ; preds = %do.end.i br i1 %cmp36.not.i, label %if.end39.i, label %if.then37.i if.then37.i: ; preds = %if.else35.i - tail call void @abort() #13 + tail call void @abort() #12 unreachable if.end39.i: ; preds = %if.else14.i, %if.else35.i, %do.end.i @@ -915,7 +915,7 @@ if.else35.i: ; preds = %do.end.i br i1 %cmp36.not.i, label %if.end39.i, label %if.then37.i if.then37.i: ; preds = %if.else35.i - tail call void @abort() #13 + tail call void @abort() #12 unreachable if.end39.i: ; preds = %if.else14.i, %if.else35.i, %do.end.i @@ -1006,7 +1006,7 @@ if.else35.i: ; preds = %do.end.i br i1 %cmp36.not.i, label %if.end39.i, label %if.then37.i if.then37.i: ; preds = %if.else35.i - tail call void @abort() #13 + tail call void @abort() #12 unreachable if.end39.i: ; preds = %if.else14.i, %if.else35.i, %do.end.i @@ -1099,7 +1099,7 @@ if.else35.i: ; preds = %do.end.i br i1 %cmp36.not.i, label %if.end39.i, label %if.then37.i if.then37.i: ; preds = %if.else35.i - tail call void @abort() #13 + tail call void @abort() #12 unreachable if.end39.i: ; preds = %if.else14.i, %if.else35.i, %do.end.i @@ -1190,7 +1190,7 @@ if.else35.i: ; preds = %do.end.i br i1 %cmp36.not.i, label %if.end39.i, label %if.then37.i if.then37.i: ; preds = %if.else35.i - tail call void @abort() #13 + tail call void @abort() #12 unreachable if.end39.i: ; preds = %if.else14.i, %if.else35.i, %do.end.i @@ -1288,7 +1288,7 @@ if.else35.i: ; preds = %do.end.i br i1 %cmp36.not.i, label %if.end39.i, label %if.then37.i if.then37.i: ; preds = %if.else35.i - tail call void @abort() #13 + tail call void @abort() #12 unreachable if.end39.i: ; preds = %if.else14.i, %if.else35.i, %do.end.i @@ -1433,7 +1433,7 @@ if.else35.i: ; preds = %do.end.i br i1 %cmp36.not.i, label %if.end39.i, label %if.then37.i if.then37.i: ; preds = %if.else35.i - tail call void @abort() #13 + tail call void @abort() #12 unreachable if.end39.i: ; preds = %if.else14.i, %if.else35.i, %do.end.i @@ -1675,7 +1675,7 @@ if.else35.i: ; preds = %do.end.i br i1 %cmp36.not.i, label %if.end39.i, label %if.then37.i if.then37.i: ; preds = %if.else35.i - tail call void @abort() #13 + tail call void @abort() #12 unreachable if.end39.i: ; preds = %if.else14.i, %if.else35.i, %do.end.i @@ -1980,7 +1980,7 @@ if.else35.i: ; preds = %do.end.i br i1 %cmp36.not.i, label %if.end39.i, label %if.then37.i if.then37.i: ; preds = %if.else35.i - tail call void @abort() #13 + tail call void @abort() #12 unreachable if.end39.i: ; preds = %if.else14.i, %if.else35.i, %do.end.i @@ -2075,7 +2075,7 @@ if.else35.i: ; preds = %do.end.i br i1 %cmp36.not.i, label %if.end39.i, label %if.then37.i if.then37.i: ; preds = %if.else35.i - tail call void @abort() #13 + tail call void @abort() #12 unreachable if.end39.i: ; preds = %if.else14.i, %if.else35.i, %do.end.i @@ -2168,7 +2168,7 @@ if.else35.i: ; preds = %do.end.i br i1 %cmp36.not.i, label %if.end39.i, label %if.then37.i if.then37.i: ; preds = %if.else35.i - tail call void @abort() #13 + tail call void @abort() #12 unreachable if.end39.i: ; preds = %if.else14.i, %if.else35.i, %do.end.i @@ -2212,7 +2212,7 @@ entry: br i1 %cmp, label %cond.end, label %cond.false cond.false: ; preds = %entry - %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %key.coerce) #14 + %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %key.coerce) #13 %conv = trunc i64 %call to i32 %call1 = tail call i32 @ustr_hashCharsN_75(ptr noundef nonnull %key.coerce, i32 noundef %conv) br label %cond.end @@ -2234,7 +2234,7 @@ entry: br i1 %cmp, label %cond.end, label %cond.false cond.false: ; preds = %entry - %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %key.coerce) #14 + %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %key.coerce) #13 %conv = trunc i64 %call to i32 %call1 = tail call i32 @ustr_hashICharsN_75(ptr noundef nonnull %key.coerce, i32 noundef %conv) br label %cond.end @@ -2394,7 +2394,7 @@ if.else35.i: ; preds = %do.end.i br i1 %cmp36.not.i, label %if.end39.i, label %if.then37.i if.then37.i: ; preds = %if.else35.i - tail call void @abort() #13 + tail call void @abort() #12 unreachable if.end39.i: ; preds = %if.else14.i, %if.else35.i, %do.end.i @@ -2416,8 +2416,8 @@ return: ; preds = %_ZL11_uhash_findPK1 ret i8 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define signext range(i8 0, 2) i8 @uhash_compareUChars_75(ptr readonly %key1.coerce, ptr readonly %key2.coerce) local_unnamed_addr #6 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define signext range(i8 0, 2) i8 @uhash_compareUChars_75(ptr readonly %key1.coerce, ptr readonly %key2.coerce) local_unnamed_addr #4 { entry: %cmp = icmp eq ptr %key1.coerce, %key2.coerce br i1 %cmp, label %return, label %if.end @@ -2461,8 +2461,8 @@ return: ; preds = %if.end, %entry, %wh ret i8 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define signext range(i8 0, 2) i8 @uhash_compareChars_75(ptr readonly %key1.coerce, ptr readonly %key2.coerce) local_unnamed_addr #6 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define signext range(i8 0, 2) i8 @uhash_compareChars_75(ptr readonly %key1.coerce, ptr readonly %key2.coerce) local_unnamed_addr #4 { entry: %cmp = icmp eq ptr %key1.coerce, %key2.coerce br i1 %cmp, label %return, label %if.end @@ -2560,7 +2560,7 @@ return: ; preds = %if.end, %entry, %wh declare signext i8 @uprv_asciitolower_75(i8 noundef signext) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define i32 @uhash_hashLong_75(ptr %key.coerce) local_unnamed_addr #7 { +define i32 @uhash_hashLong_75(ptr %key.coerce) local_unnamed_addr #6 { entry: %0 = ptrtoint ptr %key.coerce to i64 %key.sroa.0.0.extract.trunc = trunc i64 %0 to i32 @@ -2568,7 +2568,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define signext range(i8 0, 2) i8 @uhash_compareLong_75(ptr %key1.coerce, ptr %key2.coerce) local_unnamed_addr #7 { +define signext range(i8 0, 2) i8 @uhash_compareLong_75(ptr %key1.coerce, ptr %key2.coerce) local_unnamed_addr #6 { entry: %0 = ptrtoint ptr %key1.coerce to i64 %key1.sroa.0.0.extract.trunc = trunc i64 %0 to i32 @@ -2580,16 +2580,16 @@ entry: } ; Function Attrs: allocsize(0) -declare noalias ptr @uprv_malloc_75(i64 noundef) local_unnamed_addr #8 +declare noalias ptr @uprv_malloc_75(i64 noundef) local_unnamed_addr #7 ; Function Attrs: noreturn nounwind -declare void @abort() local_unnamed_addr #9 +declare void @abort() local_unnamed_addr #8 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #10 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #9 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #11 +declare void @llvm.assume(i1 noundef) #10 attributes #0 = { mustprogress 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 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" } @@ -2597,15 +2597,14 @@ attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protect attributes #3 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 #7 = { 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 #8 = { allocsize(0) "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 #9 = { noreturn 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 #10 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #11 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #12 = { allocsize(0) } -attributes #13 = { noreturn nounwind } -attributes #14 = { nounwind willreturn memory(read) } +attributes #6 = { 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 #7 = { allocsize(0) "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 #8 = { noreturn 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 #9 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #10 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #11 = { allocsize(0) } +attributes #12 = { noreturn nounwind } +attributes #13 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/icu/optimized/uinvchar.ll b/bench/icu/optimized/uinvchar.ll index 0206c1b7ba6..ac6362ec1c0 100644 --- a/bench/icu/optimized/uinvchar.ll +++ b/bench/icu/optimized/uinvchar.ll @@ -13,7 +13,7 @@ target triple = "x86_64-unknown-linux-gnu" @_ZL24lowercaseAsciiFromEbcdic = internal unnamed_addr constant [256 x i8] c"\00\01\02\03\00\09\00\7F\00\00\00\0B\0C\0D\0E\0F\10\11\12\13\00\0A\08\00\18\19\00\00\1C\1D\1E\1F\00\00\00\00\00\0A\17\1B\00\00\00\00\00\05\06\07\00\00\16\00\00\00\00\04\00\00\00\00\14\15\00\1A \00\00\00\00\00\00\00\00\00\00.<(+|&\00\00\00\00\00\00\00\00\00!$*);^-/\00\00\00\00\00\00\00\00\00,%_>?\00\00\00\00\00\00\00\00\00`:#@'=\22\00abcdefghi\00\00\00\00\00\00\00jklmnopqr\00\00\00\00\00\00\00~stuvwxyz\00\00\00[\00\00^\00\00\00\00\00\00\00\00\00[]\00]\00\00{abcdefghi\00\00\00\00\00\00}jklmnopqr\00\00\00\00\00\00|\00stuvwxyz\00\00\00\00\00\000123456789\00\00\00\00\00\00", align 16 @_ZL15ebcdicFromAscii = internal unnamed_addr constant <{ [128 x i8], [128 x i8] }> <{ [128 x i8] c"\00\01\02\037-./\16\05\00\0B\0C\0D\0E\0F\10\11\12\13<=2&\18\19?'\1C\1D\1E\1F@\00\7F\00\00lP}M]\\Nk`Ka\F0\F1\F2\F3\F4\F5\F6\F7\F8\F9z^L~no\00\C1\C2\C3\C4\C5\C6\C7\C8\C9\D1\D2\D3\D4\D5\D6\D7\D8\D9\E2\E3\E4\E5\E6\E7\E8\E9\00\00\00\00m\00\81\82\83\84\85\86\87\88\89\91\92\93\94\95\96\97\98\99\A2\A3\A4\A5\A6\A7\A8\A9\00\00\00\00\07", [128 x i8] zeroinitializer }>, align 16 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @u_charsToUChars_75(ptr nocapture noundef readonly %cs, ptr nocapture noundef writeonly %us, i32 noundef %length) local_unnamed_addr #0 { entry: %cmp2 = icmp sgt i32 %length, 0 @@ -36,7 +36,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @u_UCharsToChars_75(ptr nocapture noundef readonly %us, ptr nocapture noundef writeonly %cs, i32 noundef %length) local_unnamed_addr #0 { entry: %cmp5 = icmp sgt i32 %length, 0 @@ -79,7 +79,7 @@ while.end: ; preds = %if.end, %entry ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define signext range(i8 0, 2) i8 @uprv_isInvariantString_75(ptr nocapture noundef readonly %s, i32 noundef %length) local_unnamed_addr #1 { entry: br label %for.cond @@ -136,7 +136,7 @@ return: ; preds = %if.then, %if.else, ret i8 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define signext range(i8 0, 2) i8 @uprv_isInvariantUString_75(ptr nocapture noundef readonly %s, i32 noundef %length) local_unnamed_addr #1 { entry: br label %for.cond @@ -744,7 +744,7 @@ return: ; preds = %if.end42, %entry, % ret i32 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define range(i32 -382, 383) i32 @uprv_compareInvEbcdicAsAscii_75(ptr nocapture noundef readonly %s1, ptr nocapture noundef readonly %s2) local_unnamed_addr #1 { entry: %0 = load i8, ptr %s1, align 1 @@ -854,7 +854,7 @@ entry: ret i8 %0 } -; Function Attrs: mustprogress nofree nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree nounwind memory(argmem: readwrite) uwtable define noundef ptr @uprv_aestrncpy_75(ptr noundef returned writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %n) local_unnamed_addr #8 { entry: %cmp = icmp eq i32 %n, -1 @@ -907,7 +907,7 @@ while.end8: ; preds = %while.body5.prehead ret ptr %dst } -; Function Attrs: mustprogress nofree nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree nounwind memory(argmem: readwrite) uwtable define noundef ptr @uprv_eastrncpy_75(ptr noundef returned writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %n) local_unnamed_addr #8 { entry: %cmp = icmp eq i32 %n, -1 @@ -971,15 +971,15 @@ declare i32 @llvm.smin.i32(i32, i32) #10 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #11 -attributes #0 = { mustprogress 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 #1 = { 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 #0 = { mustprogress 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 #1 = { 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 #2 = { mustprogress 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 #3 = { "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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #5 = { 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 #6 = { 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 #7 = { 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 #8 = { mustprogress nofree 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 #8 = { mustprogress nofree 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 #9 = { nofree nounwind willreturn memory(argmem: read) } attributes #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #11 = { nocallback nofree nounwind willreturn memory(argmem: write) } diff --git a/bench/icu/optimized/unistr.ll b/bench/icu/optimized/unistr.ll index 951f1ede985..40aefc8f088 100644 --- a/bench/icu/optimized/unistr.ll +++ b/bench/icu/optimized/unistr.ll @@ -48,7 +48,7 @@ $__clang_call_terminate = comdat any ; Function Attrs: mustprogress nounwind uwtable define void @_ZN6icu_7511ReplaceableD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) unnamed_addr #0 align 2 { entry: - tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #22 + tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #23 ret void } @@ -58,7 +58,7 @@ declare void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable ; Function Attrs: mustprogress noreturn nounwind memory(inaccessiblemem: write) uwtable define void @_ZN6icu_7511ReplaceableD0Ev(ptr nocapture nonnull readnone align 8 %this) unnamed_addr #2 align 2 { entry: - tail call void @llvm.trap() #23 + tail call void @llvm.trap() #24 unreachable } @@ -156,13 +156,13 @@ invoke.cont4: ; preds = %invoke.cont, %if.en to label %invoke.cont6 unwind label %lpad invoke.cont6: ; preds = %invoke.cont4 - call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %ref.tmp) #22 + call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %ref.tmp) #23 ret void lpad: ; preds = %if.end.i.i16, %if.end.i.i, %invoke.cont4 %16 = landingpad { ptr, i32 } cleanup - call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %ref.tmp) #22 + call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %ref.tmp) #23 resume { ptr, i32 } %16 } @@ -256,7 +256,7 @@ if.then3.i: ; preds = %if.end.i %0 = zext i32 %inc.i to i64 %add4.i = add nuw nsw i64 %0, 21 %and.i = and i64 %add4.i, 8589934576 - %call.i26 = invoke noalias ptr @uprv_malloc_75(i64 noundef %and.i) #24 + %call.i26 = invoke noalias ptr @uprv_malloc_75(i64 noundef %and.i) #25 to label %call.i.noexc unwind label %lpad call.i.noexc: ; preds = %if.then3.i @@ -287,7 +287,7 @@ if.end13.i: ; preds = %call.i.noexc, %if.e lpad: ; preds = %if.then3.i92, %if.then3.i66, %if.then3.i35, %if.then3.i %1 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #22 + tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #23 resume { ptr, i32 } %1 if.else: ; preds = %entry @@ -313,7 +313,7 @@ if.then3.i35: ; preds = %if.end.i28 %2 = zext i32 %inc.i36 to i64 %add4.i37 = add nuw nsw i64 %2, 21 %and.i38 = and i64 %add4.i37, 8589934576 - %call.i51 = invoke noalias ptr @uprv_malloc_75(i64 noundef %and.i38) #24 + %call.i51 = invoke noalias ptr @uprv_malloc_75(i64 noundef %and.i38) #25 to label %call.i.noexc50 unwind label %lpad call.i.noexc50: ; preds = %if.then3.i35 @@ -401,7 +401,7 @@ if.then3.i66: ; preds = %if.end.i59 %7 = zext i32 %inc.i67 to i64 %add4.i68 = add nuw nsw i64 %7, 21 %and.i69 = and i64 %add4.i68, 8589934576 - %call.i82 = invoke noalias ptr @uprv_malloc_75(i64 noundef %and.i69) #24 + %call.i82 = invoke noalias ptr @uprv_malloc_75(i64 noundef %and.i69) #25 to label %call.i.noexc81 unwind label %lpad call.i.noexc81: ; preds = %if.then3.i66 @@ -449,7 +449,7 @@ if.then3.i92: ; preds = %if.end.i85 %8 = zext i32 %inc.i93 to i64 %add4.i94 = add nuw nsw i64 %8, 21 %and.i95 = and i64 %add4.i94, 8589934576 - %call.i108 = invoke noalias ptr @uprv_malloc_75(i64 noundef %and.i95) #24 + %call.i108 = invoke noalias ptr @uprv_malloc_75(i64 noundef %and.i95) #25 to label %call.i.noexc107 unwind label %lpad call.i.noexc107: ; preds = %if.then3.i92 @@ -548,7 +548,7 @@ if.then3: ; preds = %if.end %0 = zext i32 %inc to i64 %add4 = add nuw nsw i64 %0, 21 %and = and i64 %add4, 8589934576 - %call = tail call noalias ptr @uprv_malloc_75(i64 noundef %and) #24 + %call = tail call noalias ptr @uprv_malloc_75(i64 noundef %and) #25 %cmp5.not = icmp eq ptr %call, null br i1 %cmp5.not, label %if.end13, label %if.then6 @@ -647,7 +647,7 @@ invoke.cont: ; preds = %entry lpad: ; preds = %entry %0 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #22 + tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #23 resume { ptr, i32 } %0 } @@ -896,7 +896,7 @@ _ZN6icu_7513UnicodeString10setToBogusEv.exit87: ; preds = %if.then.i.i85, %if. lpad: ; preds = %if.then.i.i85, %if.end63 %32 = landingpad { ptr, i32 } cleanup - call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %copy) #22 + call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %copy) #23 resume { ptr, i32 } %32 if.end63: ; preds = %if.then58 @@ -911,7 +911,7 @@ if.end63: ; preds = %if.then58 cleanup: ; preds = %_ZN6icu_7513UnicodeString10setToBogusEv.exit87, %if.end63 %retval.0 = phi ptr [ %this, %_ZN6icu_7513UnicodeString10setToBogusEv.exit87 ], [ %call67, %if.end63 ] - call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %copy) #22 + call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %copy) #23 br label %return if.end68: ; preds = %_ZNK6icu_7513UnicodeString16isBufferWritableEv.exit74.thread, %_ZNK6icu_7513UnicodeString16isBufferWritableEv.exit74 @@ -993,7 +993,7 @@ invoke.cont: ; preds = %entry lpad: ; preds = %entry %0 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #22 + tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #23 resume { ptr, i32 } %0 } @@ -1014,7 +1014,7 @@ if.then: ; preds = %invoke.cont lpad: ; preds = %if.then16 %1 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #22 + tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #23 resume { ptr, i32 } %1 if.else: ; preds = %invoke.cont @@ -1126,7 +1126,7 @@ _ZN6icu_7513UnicodeString12releaseArrayEv.exit: ; preds = %entry, %land.lhs.tr declare i32 @u_strlen_75(ptr noundef) local_unnamed_addr #7 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN6icu_7513UnicodeStringC2EPDsii(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(64) %this, ptr noundef %buff, i32 noundef %buffLength, i32 noundef %buffCapacity) unnamed_addr #9 align 2 personality ptr @__gxx_personality_v0 { entry: store ptr getelementptr inbounds (i8, ptr @_ZTVN6icu_7513UnicodeStringE, i64 16), ptr %this, align 8 @@ -1227,7 +1227,7 @@ if.else: ; preds = %entry br i1 %cmp3, label %if.then4, label %if.end if.then4: ; preds = %if.else - %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %src) #25 + %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %src) #26 %conv = trunc i64 %call to i32 br label %if.end @@ -1274,7 +1274,7 @@ if.else.i: ; preds = %invoke.cont9 lpad: ; preds = %if.then.i.i, %if.then6, %if.end %7 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #22 + tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #23 resume { ptr, i32 } %7 if.else11: ; preds = %invoke.cont @@ -1427,7 +1427,7 @@ if.then3.i: ; preds = %if.end.i %15 = zext i32 %inc.i to i64 %add4.i = add nuw nsw i64 %15, 21 %and.i = and i64 %add4.i, 8589934576 - %call.i = tail call noalias ptr @uprv_malloc_75(i64 noundef %and.i) #24 + %call.i = tail call noalias ptr @uprv_malloc_75(i64 noundef %and.i) #25 %cmp5.not.i = icmp eq ptr %call.i, null br i1 %cmp5.not.i, label %lor.lhs.false48, label %if.then6.i @@ -1465,7 +1465,7 @@ if.then3.i46: ; preds = %if.end.i39 %16 = zext i32 %inc.i47 to i64 %add4.i48 = add nuw nsw i64 %16, 21 %and.i49 = and i64 %add4.i48, 8589934576 - %call.i50 = tail call noalias ptr @uprv_malloc_75(i64 noundef %and.i49) #24 + %call.i50 = tail call noalias ptr @uprv_malloc_75(i64 noundef %and.i49) #25 %cmp5.not.i51 = icmp eq ptr %call.i50, null br i1 %cmp5.not.i51, label %_ZN6icu_7513UnicodeString8allocateEi.exit62, label %if.then6.i52 @@ -1626,7 +1626,7 @@ invoke.cont: ; preds = %if.then lpad: ; preds = %invoke.cont, %if.then %3 = landingpad { ptr, i32 } cleanup - call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #22 + call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #23 resume { ptr, i32 } %3 if.end: ; preds = %invoke.cont, %entry @@ -1814,7 +1814,7 @@ if.end: ; preds = %entry br i1 %cmp6, label %if.then7, label %if.end8 if.then7: ; preds = %if.end - %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %codepageData) #25 + %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %codepageData) #26 %conv = trunc i64 %call to i32 br label %if.end8 @@ -1829,7 +1829,7 @@ invoke.cont9: ; preds = %entry, %if.end8 lpad: ; preds = %if.end8 %0 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #22 + tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #23 resume { ptr, i32 } %0 } @@ -1848,7 +1848,7 @@ invoke.cont: ; preds = %entry lpad: ; preds = %entry %0 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #22 + tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #23 resume { ptr, i32 } %0 } @@ -2011,7 +2011,7 @@ if.then3.i: ; preds = %if.end.i %24 = zext i32 %inc.i to i64 %add4.i = add nuw nsw i64 %24, 21 %and.i = and i64 %add4.i, 8589934576 - %call.i = tail call noalias ptr @uprv_malloc_75(i64 noundef %and.i) #24 + %call.i = tail call noalias ptr @uprv_malloc_75(i64 noundef %and.i) #25 %cmp5.not.i = icmp eq ptr %call.i, null br i1 %cmp5.not.i, label %sw.default, label %if.then6.i @@ -2131,8 +2131,8 @@ _ZN6icu_7513UnicodeString14copyFieldsFromERS0_a.exit: ; preds = %if.then.i, %do. ; Function Attrs: noreturn nounwind uwtable define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #12 comdat { - %2 = tail call ptr @__cxa_begin_catch(ptr %0) #22 - tail call void @_ZSt9terminatev() #23 + %2 = tail call ptr @__cxa_begin_catch(ptr %0) #23 + tail call void @_ZSt9terminatev() #24 unreachable } @@ -2259,7 +2259,7 @@ invoke.cont: ; preds = %2 lpad: ; preds = %2 %6 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #22 + tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #23 resume { ptr, i32 } %6 } @@ -2298,7 +2298,7 @@ invoke.cont: ; preds = %0 lpad: ; preds = %0 %6 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #22 + tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #23 resume { ptr, i32 } %6 } @@ -2311,7 +2311,7 @@ entry: ; Function Attrs: mustprogress uwtable define noundef ptr @_ZNK6icu_7513UnicodeString5cloneEv(ptr noundef nonnull align 8 dereferenceable(64) %this) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 { entry: - %call = tail call noundef ptr @_ZN6icu_757UMemorynwEm(i64 noundef 64) #22 + %call = tail call noundef ptr @_ZN6icu_757UMemorynwEm(i64 noundef 64) #23 %new.isnull = icmp eq ptr %call, null br i1 %new.isnull, label %_ZN6icu_7512LocalPointerINS_13UnicodeStringEED2Ev.exit, label %new.notnull @@ -2330,7 +2330,7 @@ delete.notnull.i: ; preds = %land.lhs.true %vtable.i = load ptr, ptr %call, align 8 %vfn.i = getelementptr inbounds i8, ptr %vtable.i, i64 8 %1 = load ptr, ptr %vfn.i, align 8 - tail call void %1(ptr noundef nonnull align 8 dereferenceable(64) %call) #22 + tail call void %1(ptr noundef nonnull align 8 dereferenceable(64) %call) #23 br label %_ZN6icu_7512LocalPointerINS_13UnicodeStringEED2Ev.exit _ZN6icu_7512LocalPointerINS_13UnicodeStringEED2Ev.exit: ; preds = %land.lhs.true, %entry, %delete.notnull.i @@ -2340,7 +2340,7 @@ _ZN6icu_7512LocalPointerINS_13UnicodeStringEED2Ev.exit: ; preds = %land.lhs.true lpad: ; preds = %new.notnull %2 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %call) #22 + tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %call) #23 resume { ptr, i32 } %2 } @@ -2378,22 +2378,22 @@ if.then.i: ; preds = %land.lhs.true.i to label %invoke.cont unwind label %terminate.lpad invoke.cont: ; preds = %land.lhs.true.i, %entry, %if.then.i - tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #22 + tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #23 ret void terminate.lpad: ; preds = %if.then.i %5 = landingpad { ptr, i32 } catch ptr null %6 = extractvalue { ptr, i32 } %5, 0 - tail call void @__clang_call_terminate(ptr %6) #23 + tail call void @__clang_call_terminate(ptr %6) #24 unreachable } ; Function Attrs: mustprogress nounwind uwtable define void @_ZN6icu_7513UnicodeStringD0Ev(ptr noundef nonnull align 8 dereferenceable(64) %this) unnamed_addr #0 align 2 { entry: - tail call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %this) #22 - tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %this) #22 + tail call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %this) #23 + tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %this) #23 ret void } @@ -2409,7 +2409,7 @@ entry: lpad: ; preds = %entry %0 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %agg.result) #22 + tail call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %agg.result) #23 resume { ptr, i32 } %0 nrvo.skipdtor: ; preds = %entry @@ -2565,7 +2565,7 @@ lpad.loopexit.split-lp: ; preds = %if.then.i.i18 lpad: ; preds = %lpad.loopexit.split-lp, %lpad.loopexit %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit19, %lpad.loopexit ], [ %lpad.loopexit.split-lp20, %lpad.loopexit.split-lp ] - call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %agg.result) #22 + call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %agg.result) #23 resume { ptr, i32 } %lpad.phi if.else10: ; preds = %invoke.cont6 @@ -2633,7 +2633,7 @@ return: ; preds = %entry, %land.lhs.tr declare ptr @u_strFromUTF32WithSub_75(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #7 ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @_ZN6icu_7513UnicodeString13releaseBufferEi(ptr noundef nonnull align 8 dereferenceable(64) %this, i32 noundef %newLength) local_unnamed_addr #9 align 2 { +define void @_ZN6icu_7513UnicodeString13releaseBufferEi(ptr noundef nonnull align 8 dereferenceable(64) %this, i32 noundef %newLength) local_unnamed_addr #15 align 2 { entry: %fUnion = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i16, ptr %fUnion, align 8 @@ -2807,7 +2807,7 @@ terminate.lpad: ; preds = %if.then.i %11 = landingpad { ptr, i32 } catch ptr null %12 = extractvalue { ptr, i32 } %11, 0 - tail call void @__clang_call_terminate(ptr %12) #23 + tail call void @__clang_call_terminate(ptr %12) #24 unreachable } @@ -2937,7 +2937,7 @@ if.then19.i43: ; preds = %if.else.i36 _ZN6icu_7513UnicodeString14copyFieldsFromERS0_a.exit46: ; preds = %if.else.i36, %if.then19.i43, %if.then.i28, %do.body.i30 store i16 2, ptr %fUnion2.i, align 8 - call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %temp) #22 + call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %temp) #23 ret void } @@ -2973,7 +2973,7 @@ lpad.loopexit.split-lp: ; preds = %if.then7 lpad: ; preds = %lpad.loopexit.split-lp, %lpad.loopexit %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit23, %lpad.loopexit ], [ %lpad.loopexit.split-lp24, %lpad.loopexit.split-lp ] - call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %agg.result) #22 + call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %agg.result) #23 resume { ptr, i32 } %lpad.phi if.end: ; preds = %entry @@ -3158,7 +3158,7 @@ cond.end: ; preds = %if.else, %cond.fals declare i32 @u_unescapeAt_75(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #7 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define internal noundef zeroext i16 @_ZL20UnicodeString_charAtiPv(i32 noundef %offset, ptr nocapture noundef readonly %context) #15 { +define internal noundef zeroext i16 @_ZL20UnicodeString_charAtiPv(i32 noundef %offset, ptr nocapture noundef readonly %context) #16 { entry: %fUnion.i.i.i.i = getelementptr inbounds i8, ptr %context, i64 8 %0 = load i16, ptr %fUnion.i.i.i.i, align 8 @@ -3189,7 +3189,7 @@ _ZNK6icu_7513UnicodeString6charAtEi.exit: ; preds = %entry, %if.then.i.i } ; Function Attrs: mustprogress nofree nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef signext range(i8 0, 2) i8 @_ZNK6icu_7513UnicodeString8doEqualsERKS0_i(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %text, i32 noundef %len) local_unnamed_addr #16 align 2 { +define noundef signext range(i8 0, 2) i8 @_ZNK6icu_7513UnicodeString8doEqualsERKS0_i(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %text, i32 noundef %len) local_unnamed_addr #17 align 2 { entry: %fUnion.i = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i16, ptr %fUnion.i, align 8 @@ -3435,7 +3435,7 @@ return: ; preds = %if.end, %entry, %if declare i32 @uprv_strCompare_75(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i8 noundef signext, i8 noundef signext) local_unnamed_addr #7 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef i32 @_ZNK6icu_7513UnicodeString9getLengthEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %this) unnamed_addr #17 align 2 { +define noundef i32 @_ZNK6icu_7513UnicodeString9getLengthEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %this) unnamed_addr #18 align 2 { entry: %fUnion.i.i = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i16, ptr %fUnion.i.i, align 8 @@ -3449,7 +3449,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef zeroext i16 @_ZNK6icu_7513UnicodeString9getCharAtEi(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %this, i32 noundef %offset) unnamed_addr #15 align 2 { +define noundef zeroext i16 @_ZNK6icu_7513UnicodeString9getCharAtEi(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %this, i32 noundef %offset) unnamed_addr #16 align 2 { entry: %fUnion.i.i.i.i = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i16, ptr %fUnion.i.i.i.i, align 8 @@ -3480,7 +3480,7 @@ _ZNK6icu_7513UnicodeString6charAtEi.exit: ; preds = %entry, %if.then.i.i } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef range(i32 -56613888, 10559488) i32 @_ZNK6icu_7513UnicodeString11getChar32AtEi(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %this, i32 noundef %offset) unnamed_addr #15 align 2 { +define noundef range(i32 -56613888, 10559488) i32 @_ZNK6icu_7513UnicodeString11getChar32AtEi(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %this, i32 noundef %offset) unnamed_addr #16 align 2 { entry: %fUnion.i.i.i = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i16, ptr %fUnion.i.i.i, align 8 @@ -3559,7 +3559,7 @@ _ZNK6icu_7513UnicodeString8char32AtEi.exit: ; preds = %entry, %if.then.i, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef range(i32 -56613888, 10559488) i32 @_ZNK6icu_7513UnicodeString8char32AtEi(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %this, i32 noundef %offset) local_unnamed_addr #15 align 2 { +define noundef range(i32 -56613888, 10559488) i32 @_ZNK6icu_7513UnicodeString8char32AtEi(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %this, i32 noundef %offset) local_unnamed_addr #16 align 2 { entry: %fUnion.i.i = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i16, ptr %fUnion.i.i, align 8 @@ -3638,7 +3638,7 @@ return: ; preds = %entry, %if.then15, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef i32 @_ZNK6icu_7513UnicodeString14getChar32StartEi(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %this, i32 noundef %offset) local_unnamed_addr #15 align 2 { +define noundef i32 @_ZNK6icu_7513UnicodeString14getChar32StartEi(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %this, i32 noundef %offset) local_unnamed_addr #16 align 2 { entry: %fUnion.i.i = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i16, ptr %fUnion.i.i, align 8 @@ -3684,7 +3684,7 @@ return: ; preds = %land.lhs.true5, %en } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef i32 @_ZNK6icu_7513UnicodeString14getChar32LimitEi(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %this, i32 noundef %offset) local_unnamed_addr #15 align 2 { +define noundef i32 @_ZNK6icu_7513UnicodeString14getChar32LimitEi(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %this, i32 noundef %offset) local_unnamed_addr #16 align 2 { entry: %fUnion.i.i = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i16, ptr %fUnion.i.i, align 8 @@ -3794,7 +3794,7 @@ entry: declare signext i8 @u_strHasMoreChar32Than_75(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #7 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef i32 @_ZNK6icu_7513UnicodeString11moveIndex32Eii(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %this, i32 noundef %index, i32 noundef %delta) local_unnamed_addr #15 align 2 { +define noundef i32 @_ZNK6icu_7513UnicodeString11moveIndex32Eii(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %this, i32 noundef %index, i32 noundef %delta) local_unnamed_addr #16 align 2 { entry: %fUnion.i.i = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i16, ptr %fUnion.i.i, align 8 @@ -3937,7 +3937,7 @@ if.end62: ; preds = %do.end58, %do.end, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZNK6icu_7513UnicodeString9doExtractEiiPDsi(ptr noundef nonnull readonly align 8 dereferenceable(64) %this, i32 noundef %start, i32 noundef %length, ptr noundef writeonly %dst, i32 noundef %dstStart) local_unnamed_addr #18 align 2 { +define void @_ZNK6icu_7513UnicodeString9doExtractEiiPDsi(ptr noundef nonnull readonly align 8 dereferenceable(64) %this, i32 noundef %start, i32 noundef %length, ptr noundef writeonly %dst, i32 noundef %dstStart) local_unnamed_addr #19 align 2 { entry: %fUnion.i.i.i = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i16, ptr %fUnion.i.i.i, align 8 @@ -4155,14 +4155,14 @@ if.end: ; preds = %_ZNK6icu_7513Unicod invoke.cont: ; preds = %if.end %4 = load ptr, ptr %agg.tmp, align 8 - call void asm sideeffect "", "rm,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %4) #22, !srcloc !14 + call void asm sideeffect "", "rm,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %4) #23, !srcloc !14 ret void lpad: ; preds = %if.end %5 = landingpad { ptr, i32 } cleanup %6 = load ptr, ptr %agg.tmp, align 8 - call void asm sideeffect "", "rm,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %6) #22, !srcloc !14 + call void asm sideeffect "", "rm,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr %6) #23, !srcloc !14 resume { ptr, i32 } %5 } @@ -4415,7 +4415,7 @@ _ZNK6icu_7513UnicodeString9getBufferEv.exit: ; preds = %if.then, %if.then7. if.then7: ; preds = %_ZNK6icu_7513UnicodeString9getBufferEv.exit %8 = load i32, ptr %length8, align 4 %conv = sext i32 %8 to i64 - %call8 = call noalias ptr @uprv_malloc_75(i64 noundef %conv) #24 + %call8 = call noalias ptr @uprv_malloc_75(i64 noundef %conv) #25 %cmp9.not = icmp eq ptr %call8, null br i1 %cmp9.not, label %if.end24, label %if.then10 @@ -5724,7 +5724,7 @@ _ZN6icu_7513UnicodeString10setToBogusEv.exit101: ; preds = %if.then.i.i99, %if. lpad: ; preds = %if.then.i.i99, %if.end53 %26 = landingpad { ptr, i32 } cleanup - call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %copy) #22 + call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %copy) #23 resume { ptr, i32 } %26 if.end53: ; preds = %if.then48 @@ -5739,7 +5739,7 @@ if.end53: ; preds = %if.then48 cleanup: ; preds = %_ZN6icu_7513UnicodeString10setToBogusEv.exit101, %if.end53 %retval.0 = phi ptr [ %this, %_ZN6icu_7513UnicodeString10setToBogusEv.exit101 ], [ %call57, %if.end53 ] - call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %copy) #22 + call void @_ZN6icu_7513UnicodeStringD1Ev(ptr noundef nonnull align 8 dereferenceable(64) %copy) #23 br label %return if.end58: ; preds = %if.end36, %_ZNK6icu_7513UnicodeString16isBufferWritableEv.exit @@ -5963,7 +5963,7 @@ if.end: ; preds = %entry %sub = sub nsw i32 %limit, %start %conv = sext i32 %sub to i64 %mul = shl nsw i64 %conv, 1 - %call = tail call noalias ptr @uprv_malloc_75(i64 noundef %mul) #24 + %call = tail call noalias ptr @uprv_malloc_75(i64 noundef %mul) #25 %cmp2.not = icmp eq ptr %call, null br i1 %cmp2.not, label %if.end6, label %if.then3 @@ -6351,7 +6351,7 @@ declare i32 @ustr_hashUCharsN_75(ptr noundef, i32 noundef) local_unnamed_addr #7 ; Function Attrs: mustprogress nounwind uwtable define void @_ZN6icu_7523UnicodeStringAppendableD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %this) unnamed_addr #0 align 2 { entry: - tail call void @_ZN6icu_7510AppendableD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #22 + tail call void @_ZN6icu_7510AppendableD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #23 ret void } @@ -6361,8 +6361,8 @@ declare void @_ZN6icu_7510AppendableD2Ev(ptr noundef nonnull align 8 dereference ; Function Attrs: mustprogress nounwind uwtable define void @_ZN6icu_7523UnicodeStringAppendableD0Ev(ptr noundef nonnull align 8 dereferenceable(16) %this) unnamed_addr #0 align 2 { entry: - tail call void @_ZN6icu_7523UnicodeStringAppendableD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %this) #22 - tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %this) #22 + tail call void @_ZN6icu_7523UnicodeStringAppendableD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %this) #23 + tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %this) #23 ret void } @@ -6559,7 +6559,7 @@ cond.end: ; preds = %entry, %cond.false } ; Function Attrs: mustprogress nofree nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define signext range(i8 0, 2) i8 @uhash_compareUnicodeString_75(ptr readonly %key1.coerce, ptr readonly %key2.coerce) local_unnamed_addr #16 { +define signext range(i8 0, 2) i8 @uhash_compareUnicodeString_75(ptr readonly %key1.coerce, ptr readonly %key2.coerce) local_unnamed_addr #17 { entry: %cmp = icmp eq ptr %key1.coerce, %key2.coerce br i1 %cmp, label %return, label %if.end @@ -6642,25 +6642,25 @@ declare void @__cxa_pure_virtual() unnamed_addr declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #14 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #19 +declare i32 @llvm.smin.i32(i32, i32) #20 ; Function Attrs: nofree nounwind willreturn memory(argmem: read) -declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #20 +declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #21 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #19 +declare i32 @llvm.umax.i32(i32, i32) #20 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #19 +declare i32 @llvm.umin.i32(i32, i32) #20 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #19 +declare i32 @llvm.smax.i32(i32, i32) #20 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #21 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #22 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #21 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #22 attributes #0 = { mustprogress 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 #1 = { 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" } @@ -6671,23 +6671,24 @@ attributes #5 = { mustprogress uwtable "frame-pointer"="all" "min-legal-vector-w attributes #6 = { mustprogress nofree norecurse 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 #7 = { "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 #8 = { 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 #9 = { mustprogress 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 #9 = { mustprogress 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 #10 = { 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 #11 = { 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 #12 = { noreturn nounwind uwtable "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 #13 = { allocsize(0) "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 #14 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #15 = { 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 #16 = { mustprogress nofree 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 #17 = { 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 #18 = { 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 #19 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #20 = { nofree nounwind willreturn memory(argmem: read) } -attributes #21 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #22 = { nounwind } -attributes #23 = { noreturn nounwind } -attributes #24 = { allocsize(0) } -attributes #25 = { nounwind willreturn memory(read) } +attributes #15 = { mustprogress 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 #16 = { 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 #17 = { mustprogress nofree 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 #18 = { 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 #19 = { 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 #20 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #21 = { nofree nounwind willreturn memory(argmem: read) } +attributes #22 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #23 = { nounwind } +attributes #24 = { noreturn nounwind } +attributes #25 = { allocsize(0) } +attributes #26 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/icu/optimized/ustring.ll b/bench/icu/optimized/ustring.ll index 505d2ba0a5c..83bc00e6e22 100644 --- a/bench/icu/optimized/ustring.ll +++ b/bench/icu/optimized/ustring.ll @@ -336,8 +336,8 @@ return: ; preds = %if.end8.i, %if.end. ret ptr %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define ptr @u_strchr_75(ptr noundef readonly %s, i16 noundef zeroext %c) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define ptr @u_strchr_75(ptr noundef readonly %s, i16 noundef zeroext %c) local_unnamed_addr #1 { entry: %0 = and i16 %c, -2048 %cmp = icmp eq i16 %0, -10240 @@ -457,8 +457,8 @@ return: ; preds = %land.lhs.true12, %l ret i8 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define i32 @u_strlen_75(ptr noundef %s) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define i32 @u_strlen_75(ptr noundef %s) local_unnamed_addr #1 { entry: br label %while.cond @@ -516,8 +516,8 @@ return: ; preds = %do.cond, %do.body, ret ptr %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define ptr @u_strstr_75(ptr noundef readonly %s, ptr noundef readonly %substring) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define ptr @u_strstr_75(ptr noundef readonly %s, ptr noundef readonly %substring) local_unnamed_addr #1 { entry: %cmp.i = icmp eq ptr %substring, null br i1 %cmp.i, label %u_strFindFirst_75.exit, label %if.end.i @@ -727,8 +727,8 @@ u_strFindFirst_75.exit: ; preds = %if.end.i.i, %if.end ret ptr %retval.0.i } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define ptr @u_strchr32_75(ptr noundef readonly %s, i32 noundef %c) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define ptr @u_strchr32_75(ptr noundef readonly %s, i32 noundef %c) local_unnamed_addr #1 { entry: %cmp = icmp ult i32 %c, 65536 br i1 %cmp, label %if.then, label %if.else @@ -940,8 +940,8 @@ return: ; preds = %do.cond, %land.lhs. ret ptr %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define ptr @u_strFindLast_75(ptr noundef %s, i32 noundef %length, ptr noundef %sub, i32 noundef %subLength) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define ptr @u_strFindLast_75(ptr noundef %s, i32 noundef %length, ptr noundef %sub, i32 noundef %subLength) local_unnamed_addr #1 { entry: %cmp = icmp eq ptr %sub, null %cmp1 = icmp slt i32 %subLength, -1 @@ -1121,8 +1121,8 @@ return: ; preds = %do.cond.i, %do.body ret ptr %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define ptr @u_strrchr_75(ptr noundef %s, i16 noundef zeroext %c) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define ptr @u_strrchr_75(ptr noundef %s, i16 noundef zeroext %c) local_unnamed_addr #1 { entry: %0 = and i16 %c, -2048 %cmp = icmp eq i16 %0, -10240 @@ -1226,8 +1226,8 @@ return: ; preds = %for.cond, %if.end52 ret ptr %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define ptr @u_memrchr_75(ptr noundef readonly %s, i16 noundef zeroext %c, i32 noundef %count) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define ptr @u_memrchr_75(ptr noundef readonly %s, i16 noundef zeroext %c, i32 noundef %count) local_unnamed_addr #1 { entry: %c.addr = alloca i16, align 2 store i16 %c, ptr %c.addr, align 2 @@ -1264,15 +1264,15 @@ return: ; preds = %do.cond, %do.body, ret ptr %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define ptr @u_strrstr_75(ptr noundef readonly %s, ptr noundef readonly %substring) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define ptr @u_strrstr_75(ptr noundef readonly %s, ptr noundef readonly %substring) local_unnamed_addr #1 { entry: %call = tail call ptr @u_strFindLast_75(ptr noundef %s, i32 noundef -1, ptr noundef %substring, i32 noundef -1) ret ptr %call } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define ptr @u_strrchr32_75(ptr noundef %s, i32 noundef %c) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define ptr @u_strrchr32_75(ptr noundef %s, i32 noundef %c) local_unnamed_addr #1 { entry: %cmp = icmp ult i32 %c, 65536 br i1 %cmp, label %if.then, label %if.else @@ -1409,8 +1409,8 @@ return: ; preds = %while.body, %for.co ret ptr %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define ptr @u_memrchr32_75(ptr noundef readonly %s, i32 noundef %c, i32 noundef %count) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define ptr @u_memrchr32_75(ptr noundef readonly %s, i32 noundef %c, i32 noundef %count) local_unnamed_addr #1 { entry: %c.addr.i = alloca i16, align 2 %cmp = icmp ult i32 %c, 65536 @@ -1835,7 +1835,7 @@ return: ; preds = %return.sink.split, ret ptr %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define noundef ptr @u_strcat_75(ptr noundef returned %dst, ptr nocapture noundef readonly %src) local_unnamed_addr #3 { entry: br label %while.cond @@ -1861,7 +1861,7 @@ while.end7: ; preds = %while.cond1 ret ptr %dst } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define noundef ptr @u_strncat_75(ptr noundef returned %dst, ptr nocapture noundef readonly %src, i32 noundef %n) local_unnamed_addr #3 { entry: %cmp = icmp sgt i32 %n, 0 @@ -1904,8 +1904,8 @@ return: ; preds = %while.cond2, %while ret ptr %dst } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define range(i32 -65535, 65536) i32 @u_strcmp_75(ptr nocapture noundef readonly %s1, ptr nocapture noundef readonly %s2) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define range(i32 -65535, 65536) i32 @u_strcmp_75(ptr nocapture noundef readonly %s1, ptr nocapture noundef readonly %s2) local_unnamed_addr #1 { entry: br label %for.cond @@ -1928,8 +1928,8 @@ for.end: ; preds = %for.cond ret i32 %sub } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define range(i32 -65535, 65536) i32 @uprv_strCompare_75(ptr noundef %s1, i32 noundef %length1, ptr noundef %s2, i32 noundef %length2, i8 noundef signext %strncmpStyle, i8 noundef signext %codePointOrder) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define range(i32 -65535, 65536) i32 @uprv_strCompare_75(ptr noundef %s1, i32 noundef %length1, ptr noundef %s2, i32 noundef %length2, i8 noundef signext %strncmpStyle, i8 noundef signext %codePointOrder) local_unnamed_addr #1 { entry: %cmp = icmp slt i32 %length1, 0 %cmp1 = icmp slt i32 %length2, 0 @@ -2277,8 +2277,8 @@ return: ; preds = %if.end12, %entry, % ret i32 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define range(i32 -65535, 65536) i32 @u_strCompare_75(ptr noundef readonly %s1, i32 noundef %length1, ptr noundef readonly %s2, i32 noundef %length2, i8 noundef signext %codePointOrder) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define range(i32 -65535, 65536) i32 @u_strCompare_75(ptr noundef readonly %s1, i32 noundef %length1, ptr noundef readonly %s2, i32 noundef %length2, i8 noundef signext %codePointOrder) local_unnamed_addr #1 { entry: %cmp = icmp eq ptr %s1, null %cmp1 = icmp slt i32 %length1, -1 @@ -2298,8 +2298,8 @@ return: ; preds = %entry, %if.end ret i32 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define range(i32 -65535, 65536) i32 @u_strcmpCodePointOrder_75(ptr noundef readonly %s1, ptr noundef readonly %s2) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define range(i32 -65535, 65536) i32 @u_strcmpCodePointOrder_75(ptr noundef readonly %s1, ptr noundef readonly %s2) local_unnamed_addr #1 { entry: %cmp2.i = icmp eq ptr %s1, %s2 br i1 %cmp2.i, label %uprv_strCompare_75.exit, label %for.cond.preheader.i @@ -2407,8 +2407,8 @@ uprv_strCompare_75.exit: ; preds = %if.end7.i, %entry, ret i32 %retval.0.i } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define range(i32 -65535, 65536) i32 @u_strncmp_75(ptr nocapture noundef readonly %s1, ptr nocapture noundef readonly %s2, i32 noundef %n) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define range(i32 -65535, 65536) i32 @u_strncmp_75(ptr nocapture noundef readonly %s1, ptr nocapture noundef readonly %s2, i32 noundef %n) local_unnamed_addr #1 { entry: %cmp = icmp sgt i32 %n, 0 br i1 %cmp, label %for.cond.preheader, label %return @@ -2450,14 +2450,14 @@ return: ; preds = %lor.lhs.false5, %if ret i32 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define range(i32 -65535, 65536) i32 @u_strncmpCodePointOrder_75(ptr noundef readonly %s1, ptr noundef readonly %s2, i32 noundef %n) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define range(i32 -65535, 65536) i32 @u_strncmpCodePointOrder_75(ptr noundef readonly %s1, ptr noundef readonly %s2, i32 noundef %n) local_unnamed_addr #1 { entry: %call = tail call i32 @uprv_strCompare_75(ptr noundef %s1, i32 noundef %n, ptr noundef %s2, i32 noundef %n, i8 noundef signext 1, i8 noundef signext 1) ret i32 %call } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define noundef ptr @u_strcpy_75(ptr noundef returned writeonly %dst, ptr nocapture noundef readonly %src) local_unnamed_addr #3 { entry: br label %while.cond @@ -2476,7 +2476,7 @@ while.end: ; preds = %while.cond ret ptr %dst } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define noundef ptr @u_strncpy_75(ptr noundef returned writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %n) local_unnamed_addr #3 { entry: %cmp3 = icmp sgt i32 %n, 0 @@ -2500,8 +2500,8 @@ while.end: ; preds = %land.rhs, %entry ret ptr %dst } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define i32 @u_countChar32_75(ptr noundef readonly %s, i32 noundef %length) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define i32 @u_countChar32_75(ptr noundef readonly %s, i32 noundef %length) local_unnamed_addr #1 { entry: %cmp = icmp eq ptr %s, null %cmp1 = icmp slt i32 %length, -1 @@ -2580,8 +2580,8 @@ return: ; preds = %if.end30, %if.end13 ret i32 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define signext range(i8 0, 2) i8 @u_strHasMoreChar32Than_75(ptr noundef readonly %s, i32 noundef %length, i32 noundef %number) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define signext range(i8 0, 2) i8 @u_strHasMoreChar32Than_75(ptr noundef readonly %s, i32 noundef %length, i32 noundef %number) local_unnamed_addr #1 { entry: %cmp = icmp slt i32 %number, 0 br i1 %cmp, label %return, label %if.end @@ -2724,7 +2724,7 @@ if.end: ; preds = %do.body, %entry ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #6 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: write) uwtable define noundef ptr @u_memset_75(ptr noundef returned writeonly %dest, i16 noundef zeroext %c, i32 noundef %count) local_unnamed_addr #7 { entry: %cmp = icmp sgt i32 %count, 0 @@ -2746,8 +2746,8 @@ if.end: ; preds = %while.body, %entry ret ptr %dest } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define range(i32 -65535, 65536) i32 @u_memcmp_75(ptr noundef readonly %buf1, ptr nocapture noundef readonly %buf2, i32 noundef %count) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define range(i32 -65535, 65536) i32 @u_memcmp_75(ptr noundef readonly %buf1, ptr nocapture noundef readonly %buf2, i32 noundef %count) local_unnamed_addr #1 { entry: %cmp = icmp sgt i32 %count, 0 br i1 %cmp, label %while.body.preheader, label %return @@ -2779,8 +2779,8 @@ return: ; preds = %while.body, %if.end ret i32 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define range(i32 -65535, 65536) i32 @u_memcmpCodePointOrder_75(ptr noundef readonly %s1, ptr noundef readonly %s2, i32 noundef %count) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define range(i32 -65535, 65536) i32 @u_memcmpCodePointOrder_75(ptr noundef readonly %s1, ptr noundef readonly %s2, i32 noundef %count) local_unnamed_addr #1 { entry: %call = tail call i32 @uprv_strCompare_75(ptr noundef %s1, i32 noundef %count, ptr noundef %s2, i32 noundef %count, i8 noundef signext 0, i8 noundef signext 1) ret i32 %call @@ -3484,8 +3484,8 @@ do.end: ; preds = %do.end.sink.split, ret i32 %length } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define i32 @ustr_hashUCharsN_75(ptr noundef readonly %str, i32 noundef %length) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define i32 @ustr_hashUCharsN_75(ptr noundef readonly %str, i32 noundef %length) local_unnamed_addr #1 { entry: %cmp.not = icmp eq ptr %str, null br i1 %cmp.not, label %if.end, label %if.then @@ -3519,8 +3519,8 @@ if.end: ; preds = %while.body, %if.the ret i32 %hash.1 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define i32 @ustr_hashCharsN_75(ptr noundef readonly %str, i32 noundef %length) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define i32 @ustr_hashCharsN_75(ptr noundef readonly %str, i32 noundef %length) local_unnamed_addr #1 { entry: %cmp.not = icmp eq ptr %str, null br i1 %cmp.not, label %if.end, label %if.then @@ -3609,11 +3609,11 @@ declare i32 @llvm.smin.i32(i32, i32) #11 attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { mustprogress 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 #3 = { mustprogress 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 #4 = { mustprogress 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 #5 = { 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #7 = { mustprogress nofree norecurse nosync nounwind memory(write, 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 = { mustprogress 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 #8 = { 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 #9 = { 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 #10 = { "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" } diff --git a/bench/icu/optimized/uvector.ll b/bench/icu/optimized/uvector.ll index 10a14f21380..08869fb7494 100644 --- a/bench/icu/optimized/uvector.ll +++ b/bench/icu/optimized/uvector.ll @@ -47,11 +47,11 @@ entry: lpad.i: ; preds = %if.end.i %1 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #15 + tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #16 resume { ptr, i32 } %1 if.end.i: ; preds = %entry - %call6.i = invoke noalias dereferenceable_or_null(64) ptr @uprv_malloc_75(i64 noundef 64) #16 + %call6.i = invoke noalias dereferenceable_or_null(64) ptr @uprv_malloc_75(i64 noundef 64) #17 to label %invoke.cont5.i unwind label %lpad.i invoke.cont5.i: ; preds = %if.end.i @@ -90,7 +90,7 @@ entry: lpad: ; preds = %if.end %1 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #15 + tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #16 resume { ptr, i32 } %1 if.end: ; preds = %entry @@ -99,7 +99,7 @@ if.end: ; preds = %entry %spec.store.select = select i1 %or.cond, i32 8, i32 %initialCapacity %3 = shl nuw nsw i32 %spec.store.select, 3 %mul = zext nneg i32 %3 to i64 - %call6 = invoke noalias ptr @uprv_malloc_75(i64 noundef %mul) #16 + %call6 = invoke noalias ptr @uprv_malloc_75(i64 noundef %mul) #17 to label %invoke.cont5 unwind label %lpad invoke.cont5: ; preds = %if.end @@ -134,7 +134,7 @@ entry: lpad.i: ; preds = %if.end.i %1 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #15 + tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #16 resume { ptr, i32 } %1 if.end.i: ; preds = %entry @@ -143,7 +143,7 @@ if.end.i: ; preds = %entry %spec.store.select.i = select i1 %or.cond.i, i32 8, i32 %initialCapacity %3 = shl nuw nsw i32 %spec.store.select.i, 3 %mul.i = zext nneg i32 %3 to i64 - %call6.i = invoke noalias ptr @uprv_malloc_75(i64 noundef %mul.i) #16 + %call6.i = invoke noalias ptr @uprv_malloc_75(i64 noundef %mul.i) #17 to label %invoke.cont5.i unwind label %lpad.i invoke.cont5.i: ; preds = %if.end.i @@ -182,11 +182,11 @@ entry: lpad.i: ; preds = %if.end.i %1 = landingpad { ptr, i32 } cleanup - tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #15 + tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #16 resume { ptr, i32 } %1 if.end.i: ; preds = %entry - %call6.i = invoke noalias dereferenceable_or_null(64) ptr @uprv_malloc_75(i64 noundef 64) #16 + %call6.i = invoke noalias dereferenceable_or_null(64) ptr @uprv_malloc_75(i64 noundef 64) #17 to label %invoke.cont5.i unwind label %lpad.i invoke.cont5.i: ; preds = %if.end.i @@ -268,7 +268,7 @@ invoke.cont: ; preds = %for.inc.i, %for.con invoke.cont2: ; preds = %invoke.cont store ptr null, ptr %elements, align 8 - tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #15 + tail call void @_ZN6icu_757UObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %this) #16 ret void terminate.lpad.loopexit: ; preds = %if.then4.i @@ -284,7 +284,7 @@ terminate.lpad.loopexit.split-lp: ; preds = %invoke.cont terminate.lpad: ; preds = %terminate.lpad.loopexit.split-lp, %terminate.lpad.loopexit %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %terminate.lpad.loopexit ], [ %lpad.loopexit.split-lp, %terminate.lpad.loopexit.split-lp ] %9 = extractvalue { ptr, i32 } %lpad.phi, 0 - tail call void @__clang_call_terminate(ptr %9) #17 + tail call void @__clang_call_terminate(ptr %9) #18 unreachable } @@ -336,8 +336,8 @@ if.end9: ; preds = %for.inc, %for.cond. ; Function Attrs: noreturn nounwind uwtable define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #5 comdat { - %2 = tail call ptr @__cxa_begin_catch(ptr %0) #15 - tail call void @_ZSt9terminatev() #17 + %2 = tail call ptr @__cxa_begin_catch(ptr %0) #16 + tail call void @_ZSt9terminatev() #18 unreachable } @@ -350,8 +350,8 @@ declare void @uprv_free_75(ptr noundef) local_unnamed_addr #6 ; Function Attrs: mustprogress nounwind uwtable define void @_ZN6icu_757UVectorD0Ev(ptr noundef nonnull align 8 dereferenceable(40) %this) unnamed_addr #4 align 2 { entry: - tail call void @_ZN6icu_757UVectorD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %this) #15 - tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %this) #15 + tail call void @_ZN6icu_757UVectorD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %this) #16 + tail call void @_ZN6icu_757UMemorydlEPv(ptr noundef nonnull %this) #16 ret void } @@ -392,7 +392,7 @@ if.end16.i: ; preds = %if.end9.i %3 = load ptr, ptr %elements.i, align 8 %4 = shl nuw nsw i32 %spec.select.i, 3 %mul17.i = zext nneg i32 %4 to i64 - %call18.i = tail call ptr @uprv_realloc_75(ptr noundef %3, i64 noundef %mul17.i) #18 + %call18.i = tail call ptr @uprv_realloc_75(ptr noundef %3, i64 noundef %mul17.i) #19 %cmp19.i = icmp eq ptr %call18.i, null br i1 %cmp19.i, label %if.end21.sink.split, label %if.end21.i @@ -501,7 +501,7 @@ if.end16: ; preds = %if.end9 %2 = load ptr, ptr %elements, align 8 %3 = shl nuw nsw i32 %spec.select, 3 %mul17 = zext nneg i32 %3 to i64 - %call18 = tail call ptr @uprv_realloc_75(ptr noundef %2, i64 noundef %mul17) #18 + %call18 = tail call ptr @uprv_realloc_75(ptr noundef %2, i64 noundef %mul17) #19 %cmp19 = icmp eq ptr %call18, null br i1 %cmp19, label %if.then20, label %if.end21 @@ -563,7 +563,7 @@ if.end16.i: ; preds = %if.end9.i %2 = load ptr, ptr %elements.i, align 8 %3 = shl nuw nsw i32 %spec.select.i, 3 %mul17.i = zext nneg i32 %3 to i64 - %call18.i = tail call ptr @uprv_realloc_75(ptr noundef %2, i64 noundef %mul17.i) #18 + %call18.i = tail call ptr @uprv_realloc_75(ptr noundef %2, i64 noundef %mul17.i) #19 %cmp19.i = icmp eq ptr %call18.i, null br i1 %cmp19.i, label %if.then20.i, label %if.end21.i @@ -763,7 +763,7 @@ if.end16.i: ; preds = %if.end9.i %3 = load ptr, ptr %elements.i, align 8 %4 = shl nuw nsw i32 %spec.select.i, 3 %mul17.i = zext nneg i32 %4 to i64 - %call18.i = tail call ptr @uprv_realloc_75(ptr noundef %3, i64 noundef %mul17.i) #18 + %call18.i = tail call ptr @uprv_realloc_75(ptr noundef %3, i64 noundef %mul17.i) #19 %cmp19.i = icmp eq ptr %call18.i, null br i1 %cmp19.i, label %if.then20.i, label %if.end21.i @@ -832,7 +832,7 @@ if.end16.i: ; preds = %if.end9.i %3 = load ptr, ptr %elements.i, align 8 %4 = shl nuw nsw i32 %spec.select.i, 3 %mul17.i = zext nneg i32 %4 to i64 - %call18.i = tail call ptr @uprv_realloc_75(ptr noundef %3, i64 noundef %mul17.i) #18 + %call18.i = tail call ptr @uprv_realloc_75(ptr noundef %3, i64 noundef %mul17.i) #19 %cmp19.i = icmp eq ptr %call18.i, null br i1 %cmp19.i, label %if.else.sink.split, label %if.end21.i @@ -920,7 +920,7 @@ if.end16.i: ; preds = %if.end9.i %3 = load ptr, ptr %elements.i, align 8 %4 = shl nuw nsw i32 %spec.select.i, 3 %mul17.i = zext nneg i32 %4 to i64 - %call18.i = tail call ptr @uprv_realloc_75(ptr noundef %3, i64 noundef %mul17.i) #18 + %call18.i = tail call ptr @uprv_realloc_75(ptr noundef %3, i64 noundef %mul17.i) #19 %cmp19.i = icmp eq ptr %call18.i, null br i1 %cmp19.i, label %if.then20.i, label %if.end21.i @@ -1065,7 +1065,7 @@ if.end16.i: ; preds = %if.end9.i %3 = load ptr, ptr %elements.i, align 8 %4 = shl nuw nsw i32 %spec.select.i, 3 %mul17.i = zext nneg i32 %4 to i64 - %call18.i = tail call ptr @uprv_realloc_75(ptr noundef %3, i64 noundef %mul17.i) #18 + %call18.i = tail call ptr @uprv_realloc_75(ptr noundef %3, i64 noundef %mul17.i) #19 %cmp19.i = icmp eq ptr %call18.i, null br i1 %cmp19.i, label %land.lhs.true17.sink.split, label %if.end21.i @@ -1182,7 +1182,7 @@ if.end16.i: ; preds = %if.end9.i %3 = load ptr, ptr %elements.i, align 8 %4 = shl nuw nsw i32 %spec.select.i, 3 %mul17.i = zext nneg i32 %4 to i64 - %call18.i = tail call ptr @uprv_realloc_75(ptr noundef %3, i64 noundef %mul17.i) #18 + %call18.i = tail call ptr @uprv_realloc_75(ptr noundef %3, i64 noundef %mul17.i) #19 %cmp19.i = icmp eq ptr %call18.i, null br i1 %cmp19.i, label %if.then20.i, label %if.end21.i @@ -2362,8 +2362,8 @@ _ZNK6icu_757UVector7indexOfE8UElementia.exit: ; preds = %for.inc.i, %for.inc ; Function Attrs: allocsize(1) declare ptr @uprv_realloc_75(ptr noundef, i64 noundef) local_unnamed_addr #10 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define noundef ptr @_ZNK6icu_757UVector7toArrayEPPv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(40) %this, ptr noundef returned writeonly %result) local_unnamed_addr #9 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define noundef ptr @_ZNK6icu_757UVector7toArrayEPPv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(40) %this, ptr noundef returned writeonly %result) local_unnamed_addr #11 align 2 { entry: %count = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i32, ptr %count, align 8 @@ -2393,7 +2393,7 @@ for.end: ; preds = %for.body, %entry } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define noundef ptr @_ZN6icu_757UVector10setDeleterEPFvPvE(ptr nocapture noundef nonnull align 8 dereferenceable(40) %this, ptr noundef %d) local_unnamed_addr #11 align 2 { +define noundef ptr @_ZN6icu_757UVector10setDeleterEPFvPvE(ptr nocapture noundef nonnull align 8 dereferenceable(40) %this, ptr noundef %d) local_unnamed_addr #12 align 2 { entry: %deleter = getelementptr inbounds i8, ptr %this, i64 24 %0 = load ptr, ptr %deleter, align 8 @@ -2402,7 +2402,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define noundef ptr @_ZN6icu_757UVector11setComparerEPFa8UElementS1_E(ptr nocapture noundef nonnull align 8 dereferenceable(40) %this, ptr noundef %d) local_unnamed_addr #11 align 2 { +define noundef ptr @_ZN6icu_757UVector11setComparerEPFa8UElementS1_E(ptr nocapture noundef nonnull align 8 dereferenceable(40) %this, ptr noundef %d) local_unnamed_addr #12 align 2 { entry: %comparer = getelementptr inbounds i8, ptr %this, i64 32 %0 = load ptr, ptr %comparer, align 8 @@ -2452,7 +2452,7 @@ if.end16.i: ; preds = %if.end9.i %3 = load ptr, ptr %elements.i, align 8 %4 = shl nuw nsw i32 %spec.select.i, 3 %mul17.i = zext nneg i32 %4 to i64 - %call18.i = tail call ptr @uprv_realloc_75(ptr noundef %3, i64 noundef %mul17.i) #18 + %call18.i = tail call ptr @uprv_realloc_75(ptr noundef %3, i64 noundef %mul17.i) #19 %cmp19.i = icmp eq ptr %call18.i, null br i1 %cmp19.i, label %if.then.sink.split, label %if.end21.i @@ -2576,7 +2576,7 @@ if.end: ; preds = %if.then, %entry declare void @uprv_sortArray_75(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i8 noundef signext, ptr noundef) local_unnamed_addr #6 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define internal noundef range(i32 -1, 2) i32 @_ZN6icu_75L15sortiComparatorEPKvS1_S1_(ptr nocapture readnone %0, ptr nocapture noundef readonly %left, ptr nocapture noundef readonly %right) #12 { +define internal noundef range(i32 -1, 2) i32 @_ZN6icu_75L15sortiComparatorEPKvS1_S1_(ptr nocapture readnone %0, ptr nocapture noundef readonly %left, ptr nocapture noundef readonly %right) #13 { entry: %1 = load i32, ptr %left, align 8 %2 = load i32, ptr %right, align 8 @@ -2638,10 +2638,10 @@ if.end: ; preds = %if.then, %entry } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #13 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #14 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #14 +declare i32 @llvm.smax.i32(i32, i32) #15 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 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" } @@ -2654,14 +2654,15 @@ attributes #7 = { mustprogress nofree norecurse nosync nounwind willreturn memor attributes #8 = { 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 #9 = { mustprogress 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 #10 = { allocsize(1) "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 #11 = { 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 #12 = { 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 #13 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #14 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #15 = { nounwind } -attributes #16 = { allocsize(0) } -attributes #17 = { noreturn nounwind } -attributes #18 = { allocsize(1) } +attributes #11 = { mustprogress 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 #12 = { 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 #13 = { 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 #14 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #15 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #16 = { nounwind } +attributes #17 = { allocsize(0) } +attributes #18 = { noreturn nounwind } +attributes #19 = { allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/libjpeg-turbo/optimized/jdlossls.c.ll b/bench/libjpeg-turbo/optimized/jdlossls.c.ll index 117076aa069..0ef0e6fc66e 100644 --- a/bench/libjpeg-turbo/optimized/jdlossls.c.ll +++ b/bench/libjpeg-turbo/optimized/jdlossls.c.ll @@ -10,7 +10,7 @@ define void @jinit_lossless_decompressor(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %3, align 8 - %5 = tail call ptr %4(ptr noundef %0, i32 noundef 0, i64 noundef 256) #2 + %5 = tail call ptr %4(ptr noundef %0, i32 noundef 0, i64 noundef 256) #3 %6 = getelementptr inbounds i8, ptr %0, i64 600 store ptr %5, ptr %6, align 8 store ptr @start_pass_lossless, ptr %5, align 8 @@ -76,7 +76,7 @@ define internal void @start_pass_lossless(ptr noundef %0) #0 { store i32 %35, ptr %37, align 4 %38 = load ptr, ptr %0, align 8 %39 = load ptr, ptr %38, align 8 - tail call void %39(ptr noundef nonnull %0) #2 + tail call void %39(ptr noundef nonnull %0) #3 br label %40 40: ; preds = %20, %17 @@ -109,7 +109,7 @@ define internal void @start_pass_lossless(ptr noundef %0) #0 { ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @jpeg_undifference_first_row(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture readnone %3, ptr nocapture noundef writeonly %4, i32 noundef %5) #1 { %7 = getelementptr inbounds i8, ptr %0, i64 600 %8 = load ptr, ptr %7, align 8 @@ -164,8 +164,8 @@ switch.lookup: ; preds = %._crit_edge ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @simple_upscale(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, i32 noundef %3) #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @simple_upscale(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, i32 noundef %3) #2 { %5 = getelementptr inbounds i8, ptr %0, i64 536 br label %6 @@ -188,8 +188,8 @@ define internal void @simple_upscale(ptr nocapture noundef readonly %0, ptr noca ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @noscale(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, i32 noundef %3) #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @noscale(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, i32 noundef %3) #2 { br label %5 5: ; preds = %5, %4 @@ -209,8 +209,8 @@ define internal void @noscale(ptr nocapture readnone %0, ptr nocapture noundef r ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @jpeg_undifference1(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, i32 noundef %5) #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @jpeg_undifference1(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, i32 noundef %5) #2 { %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, %7 @@ -239,8 +239,8 @@ define internal void @jpeg_undifference1(ptr nocapture readnone %0, i32 %1, ptr ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @jpeg_undifference2(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, i32 noundef %5) #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @jpeg_undifference2(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, i32 noundef %5) #2 { %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, %7 @@ -271,8 +271,8 @@ define internal void @jpeg_undifference2(ptr nocapture readnone %0, i32 %1, ptr ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @jpeg_undifference3(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, i32 noundef %5) #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @jpeg_undifference3(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, i32 noundef %5) #2 { %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, %7 @@ -304,8 +304,8 @@ define internal void @jpeg_undifference3(ptr nocapture readnone %0, i32 %1, ptr ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @jpeg_undifference4(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, i32 noundef %5) #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @jpeg_undifference4(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, i32 noundef %5) #2 { %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, %7 @@ -340,8 +340,8 @@ define internal void @jpeg_undifference4(ptr nocapture readnone %0, i32 %1, ptr ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @jpeg_undifference5(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, i32 noundef %5) #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @jpeg_undifference5(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, i32 noundef %5) #2 { %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, %7 @@ -377,8 +377,8 @@ define internal void @jpeg_undifference5(ptr nocapture readnone %0, i32 %1, ptr ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @jpeg_undifference6(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, i32 noundef %5) #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @jpeg_undifference6(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, i32 noundef %5) #2 { %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, %7 @@ -414,8 +414,8 @@ define internal void @jpeg_undifference6(ptr nocapture readnone %0, i32 %1, ptr ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @jpeg_undifference7(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, i32 noundef %5) #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @jpeg_undifference7(ptr nocapture readnone %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4, i32 noundef %5) #2 { %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, %7 @@ -450,8 +450,9 @@ define internal void @jpeg_undifference7(ptr nocapture readnone %0, i32 %1, ptr } attributes #0 = { 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 #1 = { 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 #2 = { nounwind } +attributes #1 = { nofree norecurse nosync nounwind 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 #2 = { 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 #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/libpng/optimized/pngerror.c.ll b/bench/libpng/optimized/pngerror.c.ll index 80a380ed502..2ce9e6664ee 100644 --- a/bench/libpng/optimized/pngerror.c.ll +++ b/bench/libpng/optimized/pngerror.c.ll @@ -50,7 +50,7 @@ define internal fastcc void @png_default_error(ptr noalias noundef %0, ptr nound unreachable } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define i64 @png_safecat(ptr noundef writeonly %0, i64 noundef %1, i64 noundef %2, ptr noundef readonly %3) local_unnamed_addr #1 { %.not = icmp ne ptr %0, null %5 = icmp ult i64 %2, %1 @@ -94,7 +94,7 @@ define i64 @png_safecat(ptr noundef writeonly %0, i64 noundef %1, i64 noundef %2 ret i64 %.2 } -; Function Attrs: nofree norecurse nosync nounwind memory(write, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: write) uwtable define nonnull ptr @png_format_number(ptr noundef readnone %0, ptr noundef writeonly %1, i32 noundef %2, i64 noundef %3) local_unnamed_addr #2 { %5 = getelementptr inbounds i8, ptr %1, i64 -1 store i8 0, ptr %5, align 1 @@ -296,7 +296,7 @@ define void @png_warning(ptr noalias noundef %0, ptr noundef %1) local_unnamed_a ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @png_warning_parameter(ptr noundef writeonly %0, i32 noundef %1, ptr noundef readonly %2) local_unnamed_addr #1 { %4 = add i32 %1, -1 %or.cond = icmp ult i32 %4, 8 @@ -342,7 +342,7 @@ png_safecat.exit: ; preds = %.loopexit.i, %5, %3 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define void @png_warning_parameter_unsigned(ptr noundef writeonly %0, i32 noundef %1, i32 noundef %2, i64 noundef %3) local_unnamed_addr #4 { %5 = alloca [24 x i8], align 16 call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %5, i8 0, i64 24, i1 false) @@ -392,7 +392,7 @@ png_warning_parameter.exit: ; preds = %4, %9, %.loopexit.i declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5 ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @png_warning_parameter_signed(ptr noundef writeonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #4 { +define void @png_warning_parameter_signed(ptr noundef writeonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #6 { %5 = alloca [24 x i8], align 16 call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %5, i8 0, i64 24, i1 false) %6 = icmp slt i32 %3, 0 @@ -984,8 +984,8 @@ png_warning.exit: ; preds = %.split14.i, %20 unreachable } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @png_format_buffer(i32 %.536.val, ptr nocapture noundef writeonly %0, ptr noundef readonly %1) unnamed_addr #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc void @png_format_buffer(i32 %.536.val, ptr nocapture noundef writeonly %0, ptr noundef readonly %1) unnamed_addr #1 { br label %3 3: ; preds = %2, %32 @@ -1582,7 +1582,7 @@ png_safecat.exit28: ; preds = %.lr.ph.i25, %30, %. } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @png_safe_warning(ptr nocapture noundef readonly %0, ptr noundef readonly %1) local_unnamed_addr #4 { +define void @png_safe_warning(ptr nocapture noundef readonly %0, ptr noundef readonly %1) local_unnamed_addr #6 { %3 = getelementptr inbounds i8, ptr %0, i64 240 %4 = load ptr, ptr %3, align 8 %5 = getelementptr inbounds i8, ptr %4, i64 32 @@ -1672,12 +1672,12 @@ declare i32 @llvm.abs.i32(i32, i1 immarg) #15 declare void @llvm.experimental.noalias.scope.decl(metadata) #16 attributes #0 = { noreturn 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 #1 = { 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 #2 = { nofree norecurse nosync nounwind memory(write, 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #6 = { nofree norecurse nosync nounwind 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 #6 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #8 = { "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 #9 = { nounwind returns_twice "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" } diff --git a/bench/libquic/optimized/dtoa.cc.ll b/bench/libquic/optimized/dtoa.cc.ll index ef1cf085259..5b3334c3123 100644 --- a/bench/libquic/optimized/dtoa.cc.ll +++ b/bench/libquic/optimized/dtoa.cc.ll @@ -643,7 +643,7 @@ if.then264: ; preds = %if.end261 br i1 %cmp265, label %ovfl, label %if.end270 ovfl: ; preds = %if.then703, %for.end284, %if.then264 - %call267 = tail call ptr @__errno_location() #15 + %call267 = tail call ptr @__errno_location() #16 store i32 34, ptr %call267, align 4 %arrayidx268 = getelementptr inbounds i8, ptr %rv, i64 4 store i32 2146435072, ptr %arrayidx268, align 4 @@ -840,7 +840,7 @@ if.end365: ; preds = %if.else360, %if.els undfl: ; preds = %if.else627, %if.then599, %if.then662, %if.end365, %if.then317 store double 0.000000e+00, ptr %rv, align 8 - %call368 = tail call ptr @__errno_location() #15 + %call368 = tail call ptr @__errno_location() #16 store i32 34, ptr %call368, align 4 br label %ret @@ -996,7 +996,7 @@ if.else14.i.i: ; preds = %land.lhs.true9.i.i, %sub625.i.i = phi i64 [ %sub620.i.i, %land.lhs.true9.i.i ], [ %sub6.i.i, %if.else.i.i ] %shl22.i.i = phi i32 [ %shl16.i.i, %land.lhs.true9.i.i ], [ %shl.i.i, %if.else.i.i ] %mul16.i.i = and i64 %sub625.i.i, 34359738360 - %call.i.i = tail call noalias ptr @malloc(i64 noundef %mul16.i.i) #16 + %call.i.i = tail call noalias ptr @malloc(i64 noundef %mul16.i.i) #17 br label %if.end.i.i if.end.i.i: ; preds = %if.else14.i.i, %if.then13.i.i @@ -1138,7 +1138,7 @@ if.else14.i: ; preds = %land.lhs.true9.i, % %sub625.i = phi i64 [ %sub620.i, %land.lhs.true9.i ], [ %sub6.i, %if.else.i311 ] %shl22.i = phi i32 [ %shl16.i, %land.lhs.true9.i ], [ %shl.i312, %if.else.i311 ] %mul16.i = and i64 %sub625.i, 34359738360 - %call.i = tail call noalias ptr @malloc(i64 noundef %mul16.i) #16 + %call.i = tail call noalias ptr @malloc(i64 noundef %mul16.i) #17 br label %if.end.i315 if.end.i315: ; preds = %if.else14.i, %if.then13.i @@ -1184,7 +1184,7 @@ if.then13.i.i335: ; preds = %land.lhs.true9.i.i3 br label %if.end.i.i331 if.else14.i.i329: ; preds = %land.lhs.true9.i.i325 - %call.i.i330 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #16 + %call.i.i330 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #17 br label %if.end.i.i331 if.end.i.i331: ; preds = %if.else14.i.i329, %if.then13.i.i335 @@ -1239,7 +1239,7 @@ if.then.i338: ; preds = %if.then487 br i1 %cmp.i339, label %if.then1.i, label %if.else.i340 if.then1.i: ; preds = %if.then.i338 - tail call void @free(ptr noundef nonnull %call445) #17 + tail call void @free(ptr noundef nonnull %call445) #18 br label %if.end490 if.else.i340: ; preds = %if.then.i338 @@ -1734,7 +1734,7 @@ if.then.i398: ; preds = %cont br i1 %cmp.i400, label %if.then1.i404, label %if.else.i401 if.then1.i404: ; preds = %if.then.i398 - tail call void @free(ptr noundef nonnull %bb.1) #17 + tail call void @free(ptr noundef nonnull %bb.1) #18 br label %_ZN6dmg_fpL5BfreeEPNS_6BigintE.exit405 if.else.i401: ; preds = %if.then.i398 @@ -1756,7 +1756,7 @@ if.then.i407: ; preds = %_ZN6dmg_fpL5BfreeEP br i1 %cmp.i409, label %if.then1.i413, label %if.else.i410 if.then1.i413: ; preds = %if.then.i407 - tail call void @free(ptr noundef nonnull %bd.1) #17 + tail call void @free(ptr noundef nonnull %bd.1) #18 br label %if.then.i416 if.else.i410: ; preds = %if.then.i407 @@ -1774,7 +1774,7 @@ if.then.i416: ; preds = %if.else.i410, %if.t br i1 %cmp.i418, label %if.then1.i422, label %if.else.i419 if.then1.i422: ; preds = %if.then.i416 - tail call void @free(ptr noundef nonnull %bs.1) #17 + tail call void @free(ptr noundef nonnull %bs.1) #18 br label %if.then.i425 if.else.i419: ; preds = %if.then.i416 @@ -1792,7 +1792,7 @@ if.then.i425: ; preds = %if.else.i419, %if.t br i1 %cmp.i427, label %if.then1.i431, label %if.else.i428 if.then1.i431: ; preds = %if.then.i425 - tail call void @free(ptr noundef nonnull %call507) #17 + tail call void @free(ptr noundef nonnull %call507) #18 br label %for.cond437.backedge for.cond437.backedge: ; preds = %if.then1.i431, %if.else.i428 @@ -1820,7 +1820,7 @@ if.then.i434: ; preds = %for.end782 br i1 %cmp.i436, label %if.then1.i440, label %if.else.i437 if.then1.i440: ; preds = %if.then.i434 - tail call void @free(ptr noundef nonnull %bb.1) #17 + tail call void @free(ptr noundef nonnull %bb.1) #18 br label %_ZN6dmg_fpL5BfreeEPNS_6BigintE.exit441 if.else.i437: ; preds = %if.then.i434 @@ -1842,7 +1842,7 @@ if.then.i443: ; preds = %_ZN6dmg_fpL5BfreeEP br i1 %cmp.i445, label %if.then1.i449, label %if.else.i446 if.then1.i449: ; preds = %if.then.i443 - tail call void @free(ptr noundef nonnull %bd.1) #17 + tail call void @free(ptr noundef nonnull %bd.1) #18 br label %_ZN6dmg_fpL5BfreeEPNS_6BigintE.exit450 if.else.i446: ; preds = %if.then.i443 @@ -1864,7 +1864,7 @@ if.then.i452: ; preds = %_ZN6dmg_fpL5BfreeEP br i1 %cmp.i454, label %if.then1.i458, label %if.else.i455 if.then1.i458: ; preds = %if.then.i452 - tail call void @free(ptr noundef nonnull %bs.1) #17 + tail call void @free(ptr noundef nonnull %bs.1) #18 br label %_ZN6dmg_fpL5BfreeEPNS_6BigintE.exit459 if.else.i455: ; preds = %if.then.i452 @@ -1885,7 +1885,7 @@ if.then.i461: ; preds = %_ZN6dmg_fpL5BfreeEP br i1 %cmp.i463, label %if.then1.i467, label %if.else.i464 if.then1.i467: ; preds = %if.then.i461 - tail call void @free(ptr noundef nonnull %b.2.lcssa.i) #17 + tail call void @free(ptr noundef nonnull %b.2.lcssa.i) #18 br label %_ZN6dmg_fpL5BfreeEPNS_6BigintE.exit468 if.else.i464: ; preds = %if.then.i461 @@ -1907,7 +1907,7 @@ if.then.i470: ; preds = %_ZN6dmg_fpL5BfreeEP br i1 %cmp.i472, label %if.then1.i476, label %if.else.i473 if.then1.i476: ; preds = %if.then.i470 - tail call void @free(ptr noundef nonnull %delta.1) #17 + tail call void @free(ptr noundef nonnull %delta.1) #18 br label %_ZN6dmg_fpL5BfreeEPNS_6BigintE.exit477 if.else.i473: ; preds = %if.then.i470 @@ -1954,7 +1954,7 @@ if.then13.i.i.i: ; preds = %land.lhs.true9.i.i. br label %if.end.i.i.i if.else14.i.i.i: ; preds = %land.lhs.true9.i.i.i - %call.i.i.i = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #16 + %call.i.i.i = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #17 br label %if.end.i.i.i if.end.i.i.i: ; preds = %if.else14.i.i.i, %if.then13.i.i.i @@ -2027,7 +2027,7 @@ if.then13.i.i87.i: ; preds = %land.lhs.true9.i.i7 br label %if.end.i.i83.i if.else14.i.i81.i: ; preds = %land.lhs.true9.i.i77.i - %call.i.i82.i = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #16 + %call.i.i82.i = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #17 br label %if.end.i.i83.i if.end.i.i83.i: ; preds = %if.else14.i.i81.i, %if.then13.i.i87.i @@ -2260,7 +2260,7 @@ if.then.i.i493: ; preds = %ret.i, %if.then98.i br i1 %cmp.i.i494, label %if.then1.i.i, label %if.else.i.i495 if.then1.i.i: ; preds = %if.then.i.i493 - tail call void @free(ptr noundef nonnull %b.6114.i) #17 + tail call void @free(ptr noundef nonnull %b.6114.i) #18 br label %_ZN6dmg_fpL5BfreeEPNS_6BigintE.exit.i if.else.i.i495: ; preds = %if.then.i.i493 @@ -2283,7 +2283,7 @@ if.then.i95.i: ; preds = %_ZN6dmg_fpL5BfreeEP br i1 %cmp.i97.i, label %if.then1.i101.i, label %if.else.i98.i if.then1.i101.i: ; preds = %if.then.i95.i - tail call void @free(ptr noundef nonnull %d.1.i) #17 + tail call void @free(ptr noundef nonnull %d.1.i) #18 br label %_ZN6dmg_fpL5BfreeEPNS_6BigintE.exit102.i if.else.i98.i: ; preds = %if.then.i95.i @@ -2372,7 +2372,7 @@ if.then789: ; preds = %if.end786 br i1 %tobool795.not, label %if.then796, label %ret if.then796: ; preds = %if.then789 - %call797 = tail call ptr @__errno_location() #15 + %call797 = tail call ptr @__errno_location() #16 store i32 34, ptr %call797, align 4 br label %ret @@ -2617,7 +2617,7 @@ if.then13.i: ; preds = %land.lhs.true9.i br label %if.end.i if.else14.i: ; preds = %land.lhs.true9.i - %call.i = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #16 + %call.i = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #17 br label %if.end.i if.end.i: ; preds = %if.else14.i, %if.then13.i @@ -2905,7 +2905,7 @@ if.then13.i.i: ; preds = %land.lhs.true9.i.i br label %if.end.i.i if.else14.i.i: ; preds = %land.lhs.true9.i.i - %call.i.i = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #16 + %call.i.i = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #17 br label %if.end.i.i if.end.i.i: ; preds = %if.else14.i.i, %if.then13.i.i @@ -2960,7 +2960,7 @@ if.then.i: ; preds = %if.then10 br i1 %cmp.i, label %if.then1.i, label %if.else.i if.then1.i: ; preds = %if.then.i - tail call void @free(ptr noundef nonnull %b.addr.1) #17 + tail call void @free(ptr noundef nonnull %b.addr.1) #18 br label %if.end12 if.else.i: ; preds = %if.then.i @@ -3062,7 +3062,7 @@ if.else14.i: ; preds = %land.lhs.true9.i, % %sub625.i = phi i64 [ %sub620.i, %land.lhs.true9.i ], [ %sub6.i, %if.else.i ] %shl22.i = phi i32 [ %shl16.i, %land.lhs.true9.i ], [ %shl.i, %if.else.i ] %mul16.i = and i64 %sub625.i, 34359738360 - %call.i = tail call noalias ptr @malloc(i64 noundef %mul16.i) #16 + %call.i = tail call noalias ptr @malloc(i64 noundef %mul16.i) #17 br label %if.end.i if.end.i: ; preds = %if.else14.i, %if.then13.i @@ -3251,7 +3251,7 @@ if.else14.i: ; preds = %land.lhs.true9.i, % %sub625.i = phi i64 [ %sub620.i, %land.lhs.true9.i ], [ %sub6.i, %if.else.i ] %shl22.i = phi i32 [ %shl16.i, %land.lhs.true9.i ], [ %shl.i, %if.else.i ] %mul16.i = and i64 %sub625.i, 34359738360 - %call.i = tail call noalias ptr @malloc(i64 noundef %mul16.i) #16 + %call.i = tail call noalias ptr @malloc(i64 noundef %mul16.i) #17 br label %if.end.i if.end.i: ; preds = %if.else14.i, %if.then13.i @@ -3342,7 +3342,7 @@ if.then.i31: ; preds = %if.end28 br i1 %cmp.i32, label %if.then1.i, label %if.else.i33 if.then1.i: ; preds = %if.then.i31 - tail call void @free(ptr noundef nonnull %b) #17 + tail call void @free(ptr noundef nonnull %b) #18 br label %_ZN6dmg_fpL5BfreeEPNS_6BigintE.exit if.else.i33: ; preds = %if.then.i31 @@ -3419,7 +3419,7 @@ if.then13.i: ; preds = %land.lhs.true9.i br label %if.end.i32 if.else14.i: ; preds = %land.lhs.true9.i - %call.i = tail call noalias dereferenceable_or_null(32) ptr @malloc(i64 noundef 32) #16 + %call.i = tail call noalias dereferenceable_or_null(32) ptr @malloc(i64 noundef 32) #17 br label %if.end.i32 if.end.i32: ; preds = %if.else14.i, %if.then13.i @@ -3496,7 +3496,7 @@ if.else14.i34: ; preds = %land.lhs.true9.i45, %sub625.i = phi i64 [ %sub620.i, %land.lhs.true9.i45 ], [ %sub6.i, %if.else.i ] %shl22.i = phi i32 [ %shl16.i, %land.lhs.true9.i45 ], [ %shl.i, %if.else.i ] %mul16.i = and i64 %sub625.i, 34359738360 - %call.i35 = tail call noalias ptr @malloc(i64 noundef %mul16.i) #16 + %call.i35 = tail call noalias ptr @malloc(i64 noundef %mul16.i) #17 br label %if.end.i36 if.end.i36: ; preds = %if.else14.i34, %if.then13.i51 @@ -3604,7 +3604,7 @@ entry: br i1 %cmp.i, label %if.then1.i, label %if.else.i if.then1.i: ; preds = %entry - tail call void @free(ptr noundef nonnull %add.ptr) #17 + tail call void @free(ptr noundef nonnull %add.ptr) #18 br label %_ZN6dmg_fpL5BfreeEPNS_6BigintE.exit if.else.i: ; preds = %entry @@ -3650,7 +3650,7 @@ if.then: ; preds = %entry br i1 %cmp.i.i, label %if.then1.i.i, label %if.else.i.i if.then1.i.i: ; preds = %if.then - tail call void @free(ptr noundef nonnull %add.ptr.i) #17 + tail call void @free(ptr noundef nonnull %add.ptr.i) #18 br label %_ZN6dmg_fp8freedtoaEPc.exit if.else.i.i: ; preds = %if.then @@ -3718,7 +3718,7 @@ if.then13.i.i.i: ; preds = %land.lhs.true9.i.i. br label %if.end.i.i.i if.else14.i.i.i: ; preds = %land.lhs.true9.i.i.i - %call.i.i.i = tail call noalias dereferenceable_or_null(32) ptr @malloc(i64 noundef 32) #16 + %call.i.i.i = tail call noalias dereferenceable_or_null(32) ptr @malloc(i64 noundef 32) #17 br label %if.end.i.i.i if.end.i.i.i: ; preds = %if.else14.i.i.i, %if.then13.i.i.i @@ -3777,7 +3777,7 @@ if.then13.i.i.i359: ; preds = %land.lhs.true9.i.i. br label %if.end.i.i.i355 if.else14.i.i.i353: ; preds = %land.lhs.true9.i.i.i347 - %call.i.i.i354 = tail call noalias dereferenceable_or_null(32) ptr @malloc(i64 noundef 32) #16 + %call.i.i.i354 = tail call noalias dereferenceable_or_null(32) ptr @malloc(i64 noundef 32) #17 br label %if.end.i.i.i355 if.end.i.i.i355: ; preds = %if.else14.i.i.i353, %if.then13.i.i.i359 @@ -3844,7 +3844,7 @@ if.then13.i.i.i390: ; preds = %land.lhs.true9.i.i. br label %if.end.i.i.i386 if.else14.i.i.i384: ; preds = %land.lhs.true9.i.i.i378 - %call.i.i.i385 = tail call noalias dereferenceable_or_null(32) ptr @malloc(i64 noundef 32) #16 + %call.i.i.i385 = tail call noalias dereferenceable_or_null(32) ptr @malloc(i64 noundef 32) #17 br label %if.end.i.i.i386 if.end.i.i.i386: ; preds = %if.else14.i.i.i384, %if.then13.i.i.i390 @@ -4087,7 +4087,7 @@ if.else14.i.i: ; preds = %land.lhs.true9.i.i, %sub625.i.i = phi i64 [ %sub620.i.i, %land.lhs.true9.i.i ], [ %sub6.i.i, %if.else.i.i397 ] %shl22.i.i = phi i32 [ %shl16.i.i, %land.lhs.true9.i.i ], [ %shl.i.i, %if.else.i.i397 ] %mul16.i.i = and i64 %sub625.i.i, 34359738360 - %call.i.i = tail call noalias ptr @malloc(i64 noundef %mul16.i.i) #16 + %call.i.i = tail call noalias ptr @malloc(i64 noundef %mul16.i.i) #17 br label %if.end.i.i if.end.i.i: ; preds = %if.else14.i.i, %if.then13.i.i @@ -4529,7 +4529,7 @@ if.then13.i.i417: ; preds = %land.lhs.true9.i.i4 br label %if.end.i.i413 if.else14.i.i411: ; preds = %land.lhs.true9.i.i407 - %call.i.i412 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #16 + %call.i.i412 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #17 br label %if.end.i.i413 if.end.i.i413: ; preds = %if.else14.i.i411, %if.then13.i.i417 @@ -4589,7 +4589,7 @@ if.then.i420: ; preds = %if.then344 br i1 %cmp.i422, label %if.then1.i, label %if.else.i if.then1.i: ; preds = %if.then.i420 - tail call void @free(ptr noundef nonnull %call22) #17 + tail call void @free(ptr noundef nonnull %call22) #18 br label %if.end356 if.else.i: ; preds = %if.then.i420 @@ -4629,7 +4629,7 @@ if.then13.i.i439: ; preds = %land.lhs.true9.i.i4 br label %if.end.i.i435 if.else14.i.i433: ; preds = %land.lhs.true9.i.i429 - %call.i.i434 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #16 + %call.i.i434 = tail call noalias dereferenceable_or_null(40) ptr @malloc(i64 noundef 40) #17 br label %if.end.i.i435 if.end.i.i435: ; preds = %if.else14.i.i433, %if.then13.i.i439 @@ -4935,7 +4935,7 @@ if.else14.i: ; preds = %land.lhs.true9.i, % %sub625.i = phi i64 [ %sub620.i, %land.lhs.true9.i ], [ %sub6.i, %if.else.i483 ] %shl22.i = phi i32 [ %shl16.i494, %land.lhs.true9.i ], [ %shl.i484, %if.else.i483 ] %mul16.i = and i64 %sub625.i, 34359738360 - %call.i = tail call noalias ptr @malloc(i64 noundef %mul16.i) #16 + %call.i = tail call noalias ptr @malloc(i64 noundef %mul16.i) #17 br label %if.end.i487 if.end.i487: ; preds = %if.else14.i, %if.then13.i @@ -5070,7 +5070,7 @@ if.then.i545: ; preds = %_ZN6dmg_fpL3cmpEPNS br i1 %cmp.i547, label %if.then1.i551, label %if.else.i548 if.then1.i551: ; preds = %if.then.i545 - tail call void @free(ptr noundef nonnull %call462) #17 + tail call void @free(ptr noundef nonnull %call462) #18 br label %_ZN6dmg_fpL5BfreeEPNS_6BigintE.exit552 if.else.i548: ; preds = %if.then.i545 @@ -5386,7 +5386,7 @@ if.then.i602: ; preds = %ret br i1 %cmp.i604, label %if.then1.i608, label %if.else.i605 if.then1.i608: ; preds = %if.then.i602 - tail call void @free(ptr noundef nonnull %S.4) #17 + tail call void @free(ptr noundef nonnull %S.4) #18 br label %_ZN6dmg_fpL5BfreeEPNS_6BigintE.exit609 if.else.i605: ; preds = %if.then.i602 @@ -5414,7 +5414,7 @@ if.then.i611: ; preds = %if.then607 br i1 %cmp.i613, label %if.then1.i617, label %if.else.i614 if.then1.i617: ; preds = %if.then.i611 - tail call void @free(ptr noundef nonnull %mlo.6) #17 + tail call void @free(ptr noundef nonnull %mlo.6) #18 br label %if.then.i620 if.else.i614: ; preds = %if.then.i611 @@ -5432,7 +5432,7 @@ if.then.i620: ; preds = %if.then607, %if.the br i1 %cmp.i622, label %if.then1.i626, label %if.else.i623 if.then1.i626: ; preds = %if.then.i620 - tail call void @free(ptr noundef nonnull %mhi.13) #17 + tail call void @free(ptr noundef nonnull %mhi.13) #18 br label %ret1 if.else.i623: ; preds = %if.then.i620 @@ -5466,7 +5466,7 @@ if.then.i629: ; preds = %ret1 br i1 %cmp.i631, label %if.then1.i635, label %if.else.i632 if.then1.i635: ; preds = %if.then.i629 - tail call void @free(ptr noundef nonnull %b.13) #17 + tail call void @free(ptr noundef nonnull %b.13) #18 br label %_ZN6dmg_fpL5BfreeEPNS_6BigintE.exit636 if.else.i632: ; preds = %if.then.i629 @@ -5584,7 +5584,7 @@ if.else14.i: ; preds = %land.lhs.true9.i, % %sub625.i = phi i64 [ %sub620.i, %land.lhs.true9.i ], [ %sub6.i, %if.else.i ] %shl22.i = phi i32 [ %shl16.i, %land.lhs.true9.i ], [ %shl.i, %if.else.i ] %mul16.i = and i64 %sub625.i, 34359738360 - %call.i = tail call noalias ptr @malloc(i64 noundef %mul16.i) #16 + %call.i = tail call noalias ptr @malloc(i64 noundef %mul16.i) #17 br label %if.end.i if.end.i: ; preds = %if.else14.i, %if.then13.i @@ -5613,7 +5613,7 @@ if.then.i19: ; preds = %if.end.i, %if.then. br i1 %cmp.i20, label %if.then1.i, label %if.else.i21 if.then1.i: ; preds = %if.then.i19 - tail call void @free(ptr noundef nonnull %b) #17 + tail call void @free(ptr noundef nonnull %b) #18 br label %if.end if.else.i21: ; preds = %if.then.i19 @@ -5641,8 +5641,8 @@ if.end18: ; preds = %if.end, %do.end ret ptr %b.addr.1 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc noundef i32 @_ZN6dmg_fpL6quoremEPNS_6BigintES1_(ptr nocapture noundef %b, ptr noundef readonly %S) unnamed_addr #1 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc noundef i32 @_ZN6dmg_fpL6quoremEPNS_6BigintES1_(ptr nocapture noundef %b, ptr noundef readonly %S) unnamed_addr #9 { entry: %wds = getelementptr inbounds i8, ptr %S, i64 20 %0 = load i32, ptr %wds, align 4 @@ -5831,13 +5831,13 @@ return: ; preds = %if.then7.i, %_ZN6dm } ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) -declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #9 +declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #10 ; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) -declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #10 +declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #11 -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc noundef double @_ZN6dmg_fpL3b2dEPNS_6BigintEPi(ptr noundef readonly %a, ptr nocapture noundef writeonly %e) unnamed_addr #11 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define internal fastcc noundef double @_ZN6dmg_fpL3b2dEPNS_6BigintEPi(ptr noundef readonly %a, ptr nocapture noundef writeonly %e) unnamed_addr #12 { entry: %x.ptr = getelementptr inbounds i8, ptr %a, i64 24 %wds = getelementptr inbounds i8, ptr %a, i64 20 @@ -5944,31 +5944,31 @@ ret_d: ; preds = %cond.end12, %cond.e } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #12 +declare i32 @llvm.smin.i32(i32, i32) #13 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #12 +declare i32 @llvm.umax.i32(i32, i32) #13 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #12 +declare i32 @llvm.fshl.i32(i32, i32, i32) #13 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #12 +declare i32 @llvm.smax.i32(i32, i32) #13 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #12 +declare i64 @llvm.umax.i64(i64, i64) #13 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #13 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #14 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #14 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #15 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #14 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #15 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #12 +declare i32 @llvm.umin.i32(i32, i32) #13 attributes #0 = { mustprogress 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 #1 = { mustprogress 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" } @@ -5979,15 +5979,16 @@ attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argm attributes #6 = { mustprogress nofree nounwind willreturn 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 = { mustprogress 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 #8 = { mustprogress nounwind willreturn 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 = { 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 #10 = { 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 #11 = { 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 #12 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #13 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #14 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #15 = { nounwind willreturn memory(none) } -attributes #16 = { nounwind allocsize(0) } -attributes #17 = { nounwind } +attributes #9 = { mustprogress 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 #10 = { 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 #11 = { 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 #12 = { 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 #13 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #14 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #15 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #16 = { nounwind willreturn memory(none) } +attributes #17 = { nounwind allocsize(0) } +attributes #18 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/libquic/optimized/tls_cbc.c.ll b/bench/libquic/optimized/tls_cbc.c.ll index 01315cafeaf..c11be6eba85 100644 --- a/bench/libquic/optimized/tls_cbc.c.ll +++ b/bench/libquic/optimized/tls_cbc.c.ll @@ -215,7 +215,7 @@ declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 ; Function Attrs: nounwind uwtable define hidden range(i32 0, 2) i32 @EVP_tls_cbc_record_digest_supported(ptr noundef %md) local_unnamed_addr #3 { entry: - %call = tail call i32 @EVP_MD_type(ptr noundef %md) #9 + %call = tail call i32 @EVP_MD_type(ptr noundef %md) #8 switch i32 %call, label %sw.default [ i32 64, label %return i32 672, label %return @@ -243,7 +243,7 @@ entry: %md_out_size_u = alloca i32, align 4 %md_ctx = alloca %struct.env_md_ctx_st, align 8 %block = alloca [128 x i8], align 16 - %call = tail call i32 @EVP_MD_type(ptr noundef %md) #9 + %call = tail call i32 @EVP_MD_type(ptr noundef %md) #8 switch i32 %call, label %sw.default [ i32 64, label %sw.bb i32 672, label %sw.bb2 @@ -251,15 +251,15 @@ entry: ] sw.bb: ; preds = %entry - %call1 = call i32 @SHA1_Init(ptr noundef nonnull %md_state) #9 + %call1 = call i32 @SHA1_Init(ptr noundef nonnull %md_state) #8 br label %sw.epilog sw.bb2: ; preds = %entry - %call4 = call i32 @SHA256_Init(ptr noundef nonnull %md_state) #9 + %call4 = call i32 @SHA256_Init(ptr noundef nonnull %md_state) #8 br label %sw.epilog sw.bb5: ; preds = %entry - %call7 = call i32 @SHA384_Init(ptr noundef nonnull %md_state) #9 + %call7 = call i32 @SHA384_Init(ptr noundef nonnull %md_state) #8 br label %sw.epilog sw.default: ; preds = %entry @@ -311,7 +311,7 @@ for.end: ; preds = %for.body %div19 = udiv i32 %add18, %md_block_size.0 %num_starting_blocks.0 = call i32 @llvm.usub.sat.i32(i32 %div, i32 6) %add24 = shl i32 %mul2284, 3 - call void %md_transform.0(ptr noundef nonnull %md_state, ptr noundef nonnull %hmac_pad) #9, !callees !12 + call void %md_transform.0(ptr noundef nonnull %md_state, ptr noundef nonnull %hmac_pad) #8, !callees !12 %sub36 = add nsw i32 %md_length_size.0, -4 %conv37 = zext nneg i32 %sub36 to i64 call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(1) %length_bytes, i8 0, i64 %conv37, i1 false) @@ -345,7 +345,7 @@ if.then58: ; preds = %for.end %sub61 = add nsw i32 %md_block_size.0, -13 %conv62 = zext nneg i32 %sub61 to i64 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(1) %add.ptr, ptr noundef nonnull align 1 dereferenceable(1) %data, i64 %conv62, i1 false) - call void %md_transform.0(ptr noundef nonnull %md_state, ptr noundef nonnull %first_block) #9, !callees !12 + call void %md_transform.0(ptr noundef nonnull %md_state, ptr noundef nonnull %first_block) #8, !callees !12 %div66 = udiv i32 %k.0, %md_block_size.0 %invariant.gep = getelementptr i8, ptr %data, i64 -13 %cmp67109 = icmp ugt i32 %div66, 1 @@ -361,7 +361,7 @@ for.body69: ; preds = %for.body69.preheade %mul71 = mul i32 %md_block_size.0, %4 %idx.ext = zext i32 %mul71 to i64 %gep = getelementptr i8, ptr %invariant.gep, i64 %idx.ext - call void %md_transform.0(ptr noundef nonnull %md_state, ptr noundef nonnull %gep) #9, !callees !12 + call void %md_transform.0(ptr noundef nonnull %md_state, ptr noundef nonnull %gep) #8, !callees !12 %indvars.iv.next119 = add nuw nsw i64 %indvars.iv118, 1 %exitcond122.not = icmp eq i64 %indvars.iv.next119, %wide.trip.count121 br i1 %exitcond122.not, label %if.end77, label %for.body69, !llvm.loop !13 @@ -458,8 +458,8 @@ if.end136: ; preds = %if.then130, %if.end br i1 %exitcond128.not, label %for.end141, label %for.body89, !llvm.loop !14 for.end141: ; preds = %if.end136 - call void %md_transform.0(ptr noundef nonnull %md_state, ptr noundef nonnull %block) #9, !callees !12 - call void %md_final_raw.0(ptr noundef nonnull %md_state, ptr noundef nonnull %block) #9, !callees !15 + call void %md_transform.0(ptr noundef nonnull %md_state, ptr noundef nonnull %block) #8, !callees !12 + call void %md_final_raw.0(ptr noundef nonnull %md_state, ptr noundef nonnull %block) #8, !callees !15 br label %for.body149 for.body149: ; preds = %for.end141, %for.body149 @@ -481,13 +481,13 @@ for.inc163: ; preds = %for.body149 br i1 %cmp81.not.not, label %for.body83, label %for.end165, !llvm.loop !17 for.end165: ; preds = %for.inc163 - call void @EVP_MD_CTX_init(ptr noundef nonnull %md_ctx) #9 - %call166 = call i32 @EVP_DigestInit_ex(ptr noundef nonnull %md_ctx, ptr noundef %md, ptr noundef null) #9 + call void @EVP_MD_CTX_init(ptr noundef nonnull %md_ctx) #8 + %call166 = call i32 @EVP_DigestInit_ex(ptr noundef nonnull %md_ctx, ptr noundef %md, ptr noundef null) #8 %tobool.not = icmp eq i32 %call166, 0 br i1 %tobool.not, label %if.then167, label %for.body173 if.then167: ; preds = %for.end165 - %call168 = call i32 @EVP_MD_CTX_cleanup(ptr noundef nonnull %md_ctx) #9 + %call168 = call i32 @EVP_MD_CTX_cleanup(ptr noundef nonnull %md_ctx) #8 br label %return for.body173: ; preds = %for.end165, %for.body173 @@ -501,13 +501,13 @@ for.body173: ; preds = %for.end165, %for.bo br i1 %exitcond138.not, label %for.end181, label %for.body173, !llvm.loop !18 for.end181: ; preds = %for.body173 - %call184 = call i32 @EVP_DigestUpdate(ptr noundef nonnull %md_ctx, ptr noundef nonnull %hmac_pad, i64 noundef %conv26) #9 - %call187 = call i32 @EVP_DigestUpdate(ptr noundef nonnull %md_ctx, ptr noundef nonnull %mac_out, i64 noundef %conv14) #9 - %call188 = call i32 @EVP_DigestFinal(ptr noundef nonnull %md_ctx, ptr noundef %md_out, ptr noundef nonnull %md_out_size_u) #9 + %call184 = call i32 @EVP_DigestUpdate(ptr noundef nonnull %md_ctx, ptr noundef nonnull %hmac_pad, i64 noundef %conv26) #8 + %call187 = call i32 @EVP_DigestUpdate(ptr noundef nonnull %md_ctx, ptr noundef nonnull %mac_out, i64 noundef %conv14) #8 + %call188 = call i32 @EVP_DigestFinal(ptr noundef nonnull %md_ctx, ptr noundef %md_out, ptr noundef nonnull %md_out_size_u) #8 %19 = load i32, ptr %md_out_size_u, align 4 %conv189 = zext i32 %19 to i64 store i64 %conv189, ptr %md_out_size, align 8 - %call190 = call i32 @EVP_MD_CTX_cleanup(ptr noundef nonnull %md_ctx) #9 + %call190 = call i32 @EVP_MD_CTX_cleanup(ptr noundef nonnull %md_ctx) #8 br label %return return: ; preds = %for.end181, %if.then167, %sw.default @@ -625,8 +625,8 @@ declare void @SHA1_Transform(ptr noundef, ptr noundef) local_unnamed_addr #4 declare i32 @SHA256_Init(ptr noundef) local_unnamed_addr #4 -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @tls1_sha256_final_raw(ptr nocapture noundef readonly %ctx, ptr nocapture noundef writeonly %md_out) unnamed_addr #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @tls1_sha256_final_raw(ptr nocapture noundef readonly %ctx, ptr nocapture noundef writeonly %md_out) unnamed_addr #0 { entry: br label %for.body @@ -665,8 +665,8 @@ declare void @SHA256_Transform(ptr noundef, ptr noundef) local_unnamed_addr #4 declare i32 @SHA384_Init(ptr noundef) local_unnamed_addr #4 -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @tls1_sha512_final_raw(ptr nocapture noundef readonly %ctx, ptr nocapture noundef writeonly %md_out) unnamed_addr #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @tls1_sha512_final_raw(ptr nocapture noundef readonly %ctx, ptr nocapture noundef writeonly %md_out) unnamed_addr #0 { entry: br label %for.body @@ -724,7 +724,7 @@ for.end: ; preds = %for.body declare void @SHA512_Transform(ptr noundef, ptr noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6 declare void @EVP_MD_CTX_init(ptr noundef) local_unnamed_addr #4 @@ -737,13 +737,13 @@ declare i32 @EVP_DigestUpdate(ptr noundef, ptr noundef, i64 noundef) local_unnam declare i32 @EVP_DigestFinal(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #8 +declare i32 @llvm.fshl.i32(i32, i32, i32) #7 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #8 +declare i32 @llvm.umin.i32(i32, i32) #7 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.usub.sat.i32(i32, i32) #8 +declare i32 @llvm.usub.sat.i32(i32, i32) #7 attributes #0 = { 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 #1 = { nofree norecurse nounwind 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" } @@ -751,10 +751,9 @@ attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argm attributes #3 = { 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 #4 = { "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 #5 = { 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 #6 = { nofree norecurse nosync nounwind 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #9 = { nounwind } +attributes #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #8 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4, !5, !6} diff --git a/bench/libuv/optimized/idna.c.ll b/bench/libuv/optimized/idna.c.ll index 0029574ff0a..47c101dc942 100644 --- a/bench/libuv/optimized/idna.c.ll +++ b/bench/libuv/optimized/idna.c.ll @@ -113,7 +113,7 @@ return: ; preds = %if.end48.i, %if.end ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define hidden i64 @uv__idna_toascii(ptr noundef %s, ptr noundef %se, ptr noundef %d, ptr noundef %de) local_unnamed_addr #1 { entry: %d.addr = alloca ptr, align 8 @@ -298,7 +298,7 @@ return: ; preds = %if.end48.i.i, %if.e ret i64 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define internal fastcc i32 @uv__idna_toascii_label(ptr noundef %s, ptr noundef %se, ptr nocapture noundef %d, ptr noundef readnone %de) unnamed_addr #1 { entry: %cmp302 = icmp ult ptr %s, %se @@ -969,7 +969,7 @@ return: ; preds = %if.end48.i.i, %if.e ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define hidden i64 @uv_wtf8_length_as_utf16(ptr nocapture noundef readonly %source_ptr) local_unnamed_addr #2 { entry: br label %do.body @@ -1062,8 +1062,8 @@ return: ; preds = %if.then53.i, %if.en ret i64 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @uv_wtf8_to_utf16(ptr nocapture noundef readonly %source_ptr, ptr nocapture noundef writeonly %w_target, i64 noundef %w_target_len) local_unnamed_addr #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @uv_wtf8_to_utf16(ptr nocapture noundef readonly %source_ptr, ptr nocapture noundef writeonly %w_target, i64 noundef %w_target_len) local_unnamed_addr #3 { entry: br label %do.body @@ -1169,7 +1169,7 @@ do.end: ; preds = %do.cond ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define hidden i64 @uv_utf16_length_as_wtf8(ptr nocapture noundef readonly %w_source_ptr, i64 noundef %w_source_len) local_unnamed_addr #2 { entry: %tobool.not17 = icmp eq i64 %w_source_len, 0 @@ -1257,7 +1257,7 @@ while.end: ; preds = %if.end18, %uv__get_ } ; Function Attrs: nounwind uwtable -define hidden range(i32 -105, 1) i32 @uv_utf16_to_wtf8(ptr nocapture noundef readonly %w_source_ptr, i64 noundef %w_source_len, ptr noundef %target_ptr, ptr noundef %target_len_ptr) local_unnamed_addr #3 { +define hidden range(i32 -105, 1) i32 @uv_utf16_to_wtf8(ptr nocapture noundef readonly %w_source_ptr, i64 noundef %w_source_len, ptr noundef %target_ptr, ptr noundef %target_len_ptr) local_unnamed_addr #4 { entry: %cmp = icmp eq ptr %target_ptr, null br i1 %cmp, label %if.then, label %lor.lhs.false @@ -1370,7 +1370,7 @@ if.end7: ; preds = %if.end4 if.then9: ; preds = %if.end7 %add = add i64 %target_len.0.lcssa.i, 1 - %call10 = tail call ptr @uv__malloc(i64 noundef %add) #6 + %call10 = tail call ptr @uv__malloc(i64 noundef %add) #7 %cmp11 = icmp eq ptr %call10, null br i1 %cmp11, label %return, label %if.end13 @@ -1664,18 +1664,19 @@ return: ; preds = %if.end127, %uv_utf1 ret i32 %retval.0 } -declare ptr @uv__malloc(i64 noundef) local_unnamed_addr #4 +declare ptr @uv__malloc(i64 noundef) local_unnamed_addr #5 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #5 +declare i32 @llvm.umin.i32(i32, i32) #6 attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { "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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #6 = { nounwind } +attributes #1 = { nofree norecurse nosync nounwind 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { "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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #7 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/libwebp/optimized/alpha_processing.c.ll b/bench/libwebp/optimized/alpha_processing.c.ll index dc34d91f24a..3f8bc522897 100644 --- a/bench/libwebp/optimized/alpha_processing.c.ll +++ b/bench/libwebp/optimized/alpha_processing.c.ll @@ -220,7 +220,7 @@ define hidden void @WebPMultARGBRows(ptr noundef %0, i32 noundef %1, i32 noundef %.09 = phi i32 [ 0, %.lr.ph ], [ %11, %8 ] %.078 = phi ptr [ %0, %.lr.ph ], [ %10, %8 ] %9 = load ptr, ptr @WebPMultARGBRow, align 8 - tail call void %9(ptr noundef %.078, i32 noundef %2, i32 noundef %4) #7 + tail call void %9(ptr noundef %.078, i32 noundef %2, i32 noundef %4) #5 %10 = getelementptr inbounds i8, ptr %.078, i64 %7 %11 = add nuw nsw i32 %.09, 1 %exitcond.not = icmp eq i32 %11, %3 @@ -245,7 +245,7 @@ define hidden void @WebPMultRows(ptr noalias noundef %0, i32 noundef %1, ptr noa %.01013 = phi ptr [ %0, %.lr.ph ], [ %13, %11 ] %.01112 = phi ptr [ %2, %.lr.ph ], [ %14, %11 ] %12 = load ptr, ptr @WebPMultRow, align 8 - tail call void %12(ptr noundef %.01013, ptr noundef %.01112, i32 noundef %4, i32 noundef %6) #7 + tail call void %12(ptr noundef %.01013, ptr noundef %.01112, i32 noundef %4, i32 noundef %6) #5 %13 = getelementptr inbounds i8, ptr %.01013, i64 %9 %14 = getelementptr inbounds i8, ptr %.01112, i64 %10 %15 = add nuw nsw i32 %.014, 1 @@ -258,7 +258,7 @@ define hidden void @WebPMultRows(ptr noalias noundef %0, i32 noundef %1, ptr noa ; Function Attrs: nounwind uwtable define hidden void @WebPInitAlphaProcessing() local_unnamed_addr #1 { - %1 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @WebPInitAlphaProcessing.WebPInitAlphaProcessing_body_lock) #7 + %1 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @WebPInitAlphaProcessing.WebPInitAlphaProcessing_body_lock) #5 %.not = icmp eq i32 %1, 0 br i1 %.not, label %2, label %14 @@ -285,25 +285,25 @@ define hidden void @WebPInitAlphaProcessing() local_unnamed_addr #1 { br i1 %.not.i, label %WebPInitAlphaProcessing_body.exit, label %6 6: ; preds = %5 - %7 = tail call i32 %4(i32 noundef 0) #7 + %7 = tail call i32 %4(i32 noundef 0) #5 %.not1.i = icmp eq i32 %7, 0 br i1 %.not1.i, label %WebPInitAlphaProcessing_body.exit, label %8 8: ; preds = %6 - tail call void @WebPInitAlphaProcessingSSE2() #7 + tail call void @WebPInitAlphaProcessingSSE2() #5 %9 = load ptr, ptr @VP8GetCPUInfo, align 8 - %10 = tail call i32 %9(i32 noundef 3) #7 + %10 = tail call i32 %9(i32 noundef 3) #5 %.not2.i = icmp eq i32 %10, 0 br i1 %.not2.i, label %WebPInitAlphaProcessing_body.exit, label %11 11: ; preds = %8 - tail call void @WebPInitAlphaProcessingSSE41() #7 + tail call void @WebPInitAlphaProcessingSSE41() #5 br label %WebPInitAlphaProcessing_body.exit WebPInitAlphaProcessing_body.exit: ; preds = %11, %8, %6, %5, %2 %12 = load ptr, ptr @VP8GetCPUInfo, align 8 store volatile ptr %12, ptr @WebPInitAlphaProcessing.WebPInitAlphaProcessing_body_last_cpuinfo_used, align 8 - %13 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @WebPInitAlphaProcessing.WebPInitAlphaProcessing_body_lock) #7 + %13 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @WebPInitAlphaProcessing.WebPInitAlphaProcessing_body_lock) #5 br label %14 14: ; preds = %0, %WebPInitAlphaProcessing_body.exit @@ -316,8 +316,8 @@ declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #2 ; Function Attrs: nounwind declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #2 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @ApplyAlphaMultiply_16b_C(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @ApplyAlphaMultiply_16b_C(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = icmp sgt i32 %2, 0 br i1 %5, label %.preheader.lr.ph.i, label %ApplyAlphaMultiply4444_C.exit @@ -425,8 +425,8 @@ define internal void @PackRGB_C(ptr noalias nocapture noundef readonly %0, ptr n ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @ApplyAlphaMultiply_C(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @ApplyAlphaMultiply_C(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 { %6 = icmp sgt i32 %3, 0 br i1 %6, label %.lr.ph35, label %._crit_edge36 @@ -500,8 +500,8 @@ define internal void @ApplyAlphaMultiply_C(ptr nocapture noundef %0, i32 noundef ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal range(i32 0, 2) i32 @DispatchAlpha_C(ptr noalias nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noalias nocapture noundef writeonly %4, i32 noundef %5) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 0, 2) i32 @DispatchAlpha_C(ptr noalias nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noalias nocapture noundef writeonly %4, i32 noundef %5) #0 { %7 = icmp sgt i32 %3, 0 br i1 %7, label %.preheader.lr.ph, label %._crit_edge27 @@ -553,8 +553,8 @@ define internal range(i32 0, 2) i32 @DispatchAlpha_C(ptr noalias nocapture nound ret i32 %.019.lcssa } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @DispatchAlphaToGreen_C(ptr noalias nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noalias nocapture noundef writeonly %4, i32 noundef %5) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @DispatchAlphaToGreen_C(ptr noalias nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noalias nocapture noundef writeonly %4, i32 noundef %5) #0 { %7 = icmp sgt i32 %3, 0 br i1 %7, label %.preheader.lr.ph, label %._crit_edge20 @@ -597,8 +597,8 @@ define internal void @DispatchAlphaToGreen_C(ptr noalias nocapture noundef reado ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal range(i32 0, 2) i32 @ExtractAlpha_C(ptr noalias nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noalias nocapture noundef writeonly %4, i32 noundef %5) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal range(i32 0, 2) i32 @ExtractAlpha_C(ptr noalias nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noalias nocapture noundef writeonly %4, i32 noundef %5) #0 { %7 = icmp sgt i32 %3, 0 br i1 %7, label %.preheader.lr.ph, label %._crit_edge27 @@ -674,8 +674,8 @@ define internal void @ExtractGreen_C(ptr noalias nocapture noundef readonly %0, ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal range(i32 0, 2) i32 @HasAlpha8b_C(ptr nocapture noundef readonly %0, i32 noundef %1) #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define internal range(i32 0, 2) i32 @HasAlpha8b_C(ptr nocapture noundef readonly %0, i32 noundef %1) #3 { br label %3 3: ; preds = %5, %2 @@ -697,7 +697,7 @@ define internal range(i32 0, 2) i32 @HasAlpha8b_C(ptr nocapture noundef readonly } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable -define internal range(i32 0, 2) i32 @HasAlpha32b_C(ptr nocapture noundef readonly %0, i32 noundef %1) #5 { +define internal range(i32 0, 2) i32 @HasAlpha32b_C(ptr nocapture noundef readonly %0, i32 noundef %1) #3 { %3 = icmp sgt i32 %1, 0 br i1 %3, label %.lr.ph, label %._crit_edge @@ -749,18 +749,16 @@ define internal void @AlphaReplace_C(ptr nocapture noundef %0, i32 noundef %1, i ret void } -declare void @WebPInitAlphaProcessingSSE2() local_unnamed_addr #6 +declare void @WebPInitAlphaProcessingSSE2() local_unnamed_addr #4 -declare void @WebPInitAlphaProcessingSSE41() local_unnamed_addr #6 +declare void @WebPInitAlphaProcessingSSE41() local_unnamed_addr #4 attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 #6 = { "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 #7 = { nounwind } +attributes #3 = { 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 #4 = { "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 #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/libwebp/optimized/alpha_processing_sse2.c.ll b/bench/libwebp/optimized/alpha_processing_sse2.c.ll index e322a1b28e1..575715b78f5 100644 --- a/bench/libwebp/optimized/alpha_processing_sse2.c.ll +++ b/bench/libwebp/optimized/alpha_processing_sse2.c.ll @@ -77,7 +77,7 @@ define internal void @MultARGBRow_SSE2(ptr noundef %0, i32 noundef %1, i32 nound 23: ; preds = %.loopexit %24 = zext nneg i32 %.1 to i64 %25 = getelementptr inbounds i32, ptr %0, i64 %24 - tail call void @WebPMultARGBRow_C(ptr noundef %25, i32 noundef %21, i32 noundef %2) #8 + tail call void @WebPMultARGBRow_C(ptr noundef %25, i32 noundef %21, i32 noundef %2) #6 br label %26 26: ; preds = %23, %.loopexit @@ -136,14 +136,14 @@ define internal void @MultRow_SSE2(ptr noalias noundef %0, ptr noalias noundef % %28 = zext nneg i32 %.1 to i64 %29 = getelementptr inbounds i8, ptr %0, i64 %28 %30 = getelementptr inbounds i8, ptr %1, i64 %28 - tail call void @WebPMultRow_C(ptr noundef %29, ptr noundef %30, i32 noundef %25, i32 noundef %3) #8 + tail call void @WebPMultRow_C(ptr noundef %29, ptr noundef %30, i32 noundef %25, i32 noundef %3) #6 br label %31 31: ; preds = %27, %.loopexit ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal void @ApplyAlphaMultiply_SSE2(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 { %6 = add nsw i32 %3, -1 %7 = icmp sgt i32 %3, 0 @@ -420,7 +420,7 @@ define internal void @ApplyAlphaMultiply_SSE2(ptr nocapture noundef %0, i32 noun ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal range(i32 0, 2) i32 @DispatchAlpha_SSE2(ptr noalias nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noalias nocapture noundef %4, i32 noundef %5) #2 { %7 = add nsw i32 %2, -1 %8 = and i32 %7, -8 @@ -556,7 +556,7 @@ define internal range(i32 0, 2) i32 @DispatchAlpha_SSE2(ptr noalias nocapture no ret i32 %65 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal void @DispatchAlphaToGreen_SSE2(ptr noalias nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noalias nocapture noundef writeonly %4, i32 noundef %5) #2 { %7 = and i32 %2, -16 %8 = icmp sgt i32 %3, 0 @@ -669,7 +669,7 @@ define internal void @DispatchAlphaToGreen_SSE2(ptr noalias nocapture noundef re ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal range(i32 0, 2) i32 @ExtractAlpha_SSE2(ptr noalias nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noalias nocapture noundef writeonly %4, i32 noundef %5) #2 { %7 = add nsw i32 %2, -1 %8 = and i32 %7, -8 @@ -797,8 +797,8 @@ define internal range(i32 0, 2) i32 @ExtractAlpha_SSE2(ptr noalias nocapture nou ret i32 %58 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @ExtractGreen_SSE2(ptr noalias nocapture noundef readonly %0, ptr noalias nocapture noundef writeonly %1, i32 noundef %2) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @ExtractGreen_SSE2(ptr noalias nocapture noundef readonly %0, ptr noalias nocapture noundef writeonly %1, i32 noundef %2) #2 { %.not112 = icmp slt i32 %2, 16 br i1 %.not112, label %._crit_edge, label %.lr.ph.preheader @@ -891,7 +891,7 @@ define internal void @ExtractGreen_SSE2(ptr noalias nocapture noundef readonly % } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable -define internal range(i32 0, 2) i32 @HasAlpha8b_SSE2(ptr nocapture noundef readonly %0, i32 noundef %1) #4 { +define internal range(i32 0, 2) i32 @HasAlpha8b_SSE2(ptr nocapture noundef readonly %0, i32 noundef %1) #3 { %3 = sext i32 %1 to i64 br label %4 @@ -936,7 +936,7 @@ define internal range(i32 0, 2) i32 @HasAlpha8b_SSE2(ptr nocapture noundef reado } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable -define internal range(i32 0, 2) i32 @HasAlpha32b_SSE2(ptr nocapture noundef readonly %0, i32 noundef %1) #4 { +define internal range(i32 0, 2) i32 @HasAlpha32b_SSE2(ptr nocapture noundef readonly %0, i32 noundef %1) #3 { %3 = shl nsw i32 %1, 2 %4 = add nsw i32 %3, -3 %5 = sext i32 %4 to i64 @@ -1012,7 +1012,7 @@ define internal range(i32 0, 2) i32 @HasAlpha32b_SSE2(ptr nocapture noundef read } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal void @AlphaReplace_SSE2(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #5 { +define internal void @AlphaReplace_SSE2(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #2 { %4 = insertelement <4 x i32> poison, i32 %2, i64 0 %5 = shufflevector <4 x i32> %4, <4 x i32> poison, <4 x i32> zeroinitializer %.not74 = icmp slt i32 %1, 8 @@ -1080,28 +1080,26 @@ define internal void @AlphaReplace_SSE2(ptr nocapture noundef %0, i32 noundef %1 ret void } -declare void @WebPMultARGBRow_C(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #6 +declare void @WebPMultARGBRow_C(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <8 x i16> @llvm.x86.sse2.pmulhu.w(<8 x i16>, <8 x i16>) #7 +declare <8 x i16> @llvm.x86.sse2.pmulhu.w(<8 x i16>, <8 x i16>) #5 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <16 x i8> @llvm.x86.sse2.packuswb.128(<8 x i16>, <8 x i16>) #7 +declare <16 x i8> @llvm.x86.sse2.packuswb.128(<8 x i16>, <8 x i16>) #5 -declare void @WebPMultRow_C(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #6 +declare void @WebPMultRow_C(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <8 x i16> @llvm.x86.sse2.packssdw.128(<4 x i32>, <4 x i32>) #7 +declare <8 x i16> @llvm.x86.sse2.packssdw.128(<4 x i32>, <4 x i32>) #5 attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, 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 #1 = { nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #2 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #6 = { "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 #7 = { mustprogress nocallback nofree nosync nounwind willreturn memory(none) } -attributes #8 = { nounwind } +attributes #2 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { "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 #5 = { mustprogress nocallback nofree nosync nounwind willreturn memory(none) } +attributes #6 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/libwebp/optimized/dec_sse2.c.ll b/bench/libwebp/optimized/dec_sse2.c.ll index 1090978555e..664b5576c21 100644 --- a/bench/libwebp/optimized/dec_sse2.c.ll +++ b/bench/libwebp/optimized/dec_sse2.c.ll @@ -455,7 +455,7 @@ define internal void @VFilter16_SSE2(ptr nocapture noundef %0, i32 noundef %1, i ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal void @HFilter16_SSE2(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 { %6 = getelementptr inbounds i8, ptr %0, i64 -4 %7 = shl nsw i32 %1, 3 @@ -1181,7 +1181,7 @@ define internal void @VFilter8_SSE2(ptr nocapture noundef %0, ptr nocapture noun ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal void @HFilter8_SSE2(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #2 { %7 = getelementptr inbounds i8, ptr %0, i64 -4 %8 = getelementptr inbounds i8, ptr %1, i64 -4 @@ -1672,8 +1672,8 @@ Store16x4_SSE2.exit113: ; preds = %364 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @VFilter16i_SSE2(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @VFilter16i_SSE2(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 { %6 = load <2 x i64>, ptr %0, align 1 %7 = sext i32 %1 to i64 %8 = getelementptr inbounds i8, ptr %0, i64 %7 @@ -1819,8 +1819,8 @@ define internal void @VFilter16i_SSE2(ptr nocapture noundef %0, i32 noundef %1, ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @HFilter16i_SSE2(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @HFilter16i_SSE2(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 { %6 = shl nsw i32 %1, 3 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %0, i64 %7 @@ -2390,7 +2390,7 @@ define internal void @VFilter8i_SSE2(ptr nocapture noundef %0, ptr nocapture nou ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal void @HFilter8i_SSE2(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #2 { %7 = mul nsw i32 %2, 6 %8 = sext i32 %7 to i64 @@ -2825,7 +2825,7 @@ define internal void @SimpleVFilter16_SSE2(ptr nocapture noundef %0, i32 noundef ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal void @SimpleHFilter16_SSE2(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #2 { %4 = getelementptr inbounds i8, ptr %0, i64 -2 %5 = shl nsw i32 %1, 3 @@ -3067,8 +3067,8 @@ Store16x4_SSE2.exit: ; preds = %171 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @SimpleVFilter16i_SSE2(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @SimpleVFilter16i_SSE2(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #2 { %4 = shl nsw i32 %1, 2 %5 = sext i32 %4 to i64 %6 = mul nsw i32 %1, -2 @@ -3147,8 +3147,8 @@ define internal void @SimpleVFilter16i_SSE2(ptr nocapture noundef %0, i32 nounde ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @SimpleHFilter16i_SSE2(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @SimpleHFilter16i_SSE2(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #3 { br label %4 4: ; preds = %3, %4 @@ -3164,8 +3164,8 @@ define internal void @SimpleHFilter16i_SSE2(ptr nocapture noundef %0, i32 nounde ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @TM4_SSE2(ptr nocapture noundef %0) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @TM4_SSE2(ptr nocapture noundef %0) #2 { %2 = getelementptr inbounds i8, ptr %0, i64 -32 %.val.i = load i32, ptr %2, align 1 %3 = insertelement <4 x i32> poison, i32 %.val.i, i64 0 @@ -3201,7 +3201,7 @@ TrueMotion_SSE2.exit: ; preds = %8 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal void @VE4_SSE2(ptr nocapture noundef %0) #5 { +define internal void @VE4_SSE2(ptr nocapture noundef %0) #2 { %2 = getelementptr inbounds i8, ptr %0, i64 -33 %3 = load i64, ptr %2, align 1 %4 = insertelement <2 x i64> , i64 %3, i64 0 @@ -3444,7 +3444,7 @@ define internal void @VL4_SSE2(ptr nocapture noundef %0) #1 { } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal void @DC16_SSE2(ptr nocapture noundef %0) #5 { +define internal void @DC16_SSE2(ptr nocapture noundef %0) #2 { %2 = getelementptr inbounds i8, ptr %0, i64 -32 %3 = load <16 x i8>, ptr %2, align 1 %invariant.gep = getelementptr i8, ptr %0, i64 -1 @@ -3492,8 +3492,8 @@ Put16_SSE2.exit: ; preds = %24 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @TM16_SSE2(ptr nocapture noundef %0) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @TM16_SSE2(ptr nocapture noundef %0) #2 { %2 = getelementptr inbounds i8, ptr %0, i64 -32 %3 = load <16 x i8>, ptr %2, align 1 %4 = shufflevector <16 x i8> %3, <16 x i8> , <16 x i32> @@ -3528,7 +3528,7 @@ TrueMotion_SSE2.exit: ; preds = %9 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal void @VE16_SSE2(ptr nocapture noundef %0) #5 { +define internal void @VE16_SSE2(ptr nocapture noundef %0) #2 { %2 = getelementptr inbounds i8, ptr %0, i64 -32 %3 = load <2 x i64>, ptr %2, align 1 br label %4 @@ -3546,8 +3546,8 @@ define internal void @VE16_SSE2(ptr nocapture noundef %0) #5 { ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @HE16_SSE2(ptr nocapture noundef %0) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @HE16_SSE2(ptr nocapture noundef %0) #2 { br label %2 2: ; preds = %1, %2 @@ -3568,7 +3568,7 @@ define internal void @HE16_SSE2(ptr nocapture noundef %0) #3 { } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal void @DC16NoTop_SSE2(ptr nocapture noundef %0) #5 { +define internal void @DC16NoTop_SSE2(ptr nocapture noundef %0) #2 { %invariant.gep = getelementptr i8, ptr %0, i64 -1 br label %2 @@ -3605,7 +3605,7 @@ Put16_SSE2.exit: ; preds = %12 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal void @DC16NoLeft_SSE2(ptr nocapture noundef %0) #5 { +define internal void @DC16NoLeft_SSE2(ptr nocapture noundef %0) #2 { %2 = getelementptr inbounds i8, ptr %0, i64 -32 %3 = load <16 x i8>, ptr %2, align 1 %4 = tail call <2 x i64> @llvm.x86.sse2.psad.bw(<16 x i8> %3, <16 x i8> zeroinitializer) @@ -3637,7 +3637,7 @@ Put16_SSE2.exit: ; preds = %17 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: write) uwtable -define internal void @DC16NoTopLeft_SSE2(ptr nocapture noundef writeonly %0) #6 { +define internal void @DC16NoTopLeft_SSE2(ptr nocapture noundef writeonly %0) #4 { br label %2 2: ; preds = %2, %1 @@ -3654,7 +3654,7 @@ Put16_SSE2.exit: ; preds = %2 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal void @DC8uv_SSE2(ptr nocapture noundef %0) #5 { +define internal void @DC8uv_SSE2(ptr nocapture noundef %0) #2 { %2 = getelementptr inbounds i8, ptr %0, i64 -32 %3 = load i64, ptr %2, align 1 %invariant.gep = getelementptr i8, ptr %0, i64 -1 @@ -3701,8 +3701,8 @@ Put8x8uv_SSE2.exit: ; preds = %23 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @TM8uv_SSE2(ptr nocapture noundef %0) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @TM8uv_SSE2(ptr nocapture noundef %0) #2 { %2 = getelementptr inbounds i8, ptr %0, i64 -32 %3 = load i64, ptr %2, align 1 %4 = insertelement <2 x i64> poison, i64 %3, i64 0 @@ -3738,7 +3738,7 @@ TrueMotion_SSE2.exit: ; preds = %9 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal void @VE8uv_SSE2(ptr nocapture noundef %0) #5 { +define internal void @VE8uv_SSE2(ptr nocapture noundef %0) #2 { %2 = getelementptr inbounds i8, ptr %0, i64 -32 %3 = load i64, ptr %2, align 1 br label %4 @@ -3757,7 +3757,7 @@ define internal void @VE8uv_SSE2(ptr nocapture noundef %0) #5 { } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal void @DC8uvNoTop_SSE2(ptr nocapture noundef %0) #5 { +define internal void @DC8uvNoTop_SSE2(ptr nocapture noundef %0) #2 { %invariant.gep = getelementptr i8, ptr %0, i64 -1 br label %2 @@ -3796,7 +3796,7 @@ Put8x8uv_SSE2.exit: ; preds = %14 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal void @DC8uvNoLeft_SSE2(ptr nocapture noundef %0) #5 { +define internal void @DC8uvNoLeft_SSE2(ptr nocapture noundef %0) #2 { %2 = getelementptr inbounds i8, ptr %0, i64 -32 %3 = load i64, ptr %2, align 1 %4 = insertelement <2 x i64> , i64 %3, i64 0 @@ -3827,7 +3827,7 @@ Put8x8uv_SSE2.exit: ; preds = %16 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: write) uwtable -define internal void @DC8uvNoTopLeft_SSE2(ptr nocapture noundef writeonly %0) #6 { +define internal void @DC8uvNoTopLeft_SSE2(ptr nocapture noundef writeonly %0) #4 { br label %2 2: ; preds = %2, %1 @@ -3844,44 +3844,42 @@ Put8x8uv_SSE2.exit: ; preds = %2 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <8 x i16> @llvm.x86.sse2.pmulh.w(<8 x i16>, <8 x i16>) #7 +declare <8 x i16> @llvm.x86.sse2.pmulh.w(<8 x i16>, <8 x i16>) #5 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <16 x i8> @llvm.x86.sse2.packuswb.128(<8 x i16>, <8 x i16>) #7 +declare <16 x i8> @llvm.x86.sse2.packuswb.128(<8 x i16>, <8 x i16>) #5 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <16 x i8> @llvm.usub.sat.v16i8(<16 x i8>, <16 x i8>) #8 +declare <16 x i8> @llvm.usub.sat.v16i8(<16 x i8>, <16 x i8>) #6 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <16 x i8> @llvm.umax.v16i8(<16 x i8>, <16 x i8>) #8 +declare <16 x i8> @llvm.umax.v16i8(<16 x i8>, <16 x i8>) #6 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <16 x i8> @llvm.uadd.sat.v16i8(<16 x i8>, <16 x i8>) #8 +declare <16 x i8> @llvm.uadd.sat.v16i8(<16 x i8>, <16 x i8>) #6 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <16 x i8> @llvm.ssub.sat.v16i8(<16 x i8>, <16 x i8>) #8 +declare <16 x i8> @llvm.ssub.sat.v16i8(<16 x i8>, <16 x i8>) #6 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <16 x i8> @llvm.sadd.sat.v16i8(<16 x i8>, <16 x i8>) #8 +declare <16 x i8> @llvm.sadd.sat.v16i8(<16 x i8>, <16 x i8>) #6 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <16 x i8> @llvm.x86.sse2.packsswb.128(<8 x i16>, <8 x i16>) #7 +declare <16 x i8> @llvm.x86.sse2.packsswb.128(<8 x i16>, <8 x i16>) #5 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <16 x i8> @llvm.x86.sse2.pavg.b(<16 x i8>, <16 x i8>) #7 +declare <16 x i8> @llvm.x86.sse2.pavg.b(<16 x i8>, <16 x i8>) #5 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <2 x i64> @llvm.x86.sse2.psad.bw(<16 x i8>, <16 x i8>) #7 +declare <2 x i64> @llvm.x86.sse2.psad.bw(<16 x i8>, <16 x i8>) #5 attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, 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 #1 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #2 = { nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { 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 #5 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #6 = { nofree norecurse nosync nounwind memory(argmem: write) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(none) } -attributes #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #2 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { 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 #4 = { nofree norecurse nosync nounwind memory(argmem: write) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 willreturn memory(none) } +attributes #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/libwebp/optimized/enc.c.ll b/bench/libwebp/optimized/enc.c.ll index 5fb1f6af9bc..137791880ec 100644 --- a/bench/libwebp/optimized/enc.c.ll +++ b/bench/libwebp/optimized/enc.c.ll @@ -63,7 +63,7 @@ define hidden void @VP8SetHistogramData(ptr nocapture noundef readonly %0, ptr n ; Function Attrs: nounwind uwtable define hidden void @VP8EncDspInit() local_unnamed_addr #1 { - %1 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @VP8EncDspInit.VP8EncDspInit_body_lock) #12 + %1 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @VP8EncDspInit.VP8EncDspInit_body_lock) #11 %.not = icmp eq i32 %1, 0 br i1 %.not, label %2, label %23 @@ -74,7 +74,7 @@ define hidden void @VP8EncDspInit() local_unnamed_addr #1 { br i1 %.not1, label %VP8EncDspInit_body.exit, label %5 5: ; preds = %2 - tail call void @VP8DspInit() #12 + tail call void @VP8DspInit() #11 %6 = load volatile i32, ptr @tables_ok, align 4 %.not.i.i = icmp eq i32 %6, 0 br i1 %.not.i.i, label %.preheader.i.i, label %InitTables.exit.i @@ -122,25 +122,25 @@ InitTables.exit.i: ; preds = %13, %5 br i1 %.not.i, label %VP8EncDspInit_body.exit, label %15 15: ; preds = %InitTables.exit.i - %16 = tail call i32 %14(i32 noundef 0) #12 + %16 = tail call i32 %14(i32 noundef 0) #11 %.not1.i = icmp eq i32 %16, 0 br i1 %.not1.i, label %VP8EncDspInit_body.exit, label %17 17: ; preds = %15 - tail call void @VP8EncDspInitSSE2() #12 + tail call void @VP8EncDspInitSSE2() #11 %18 = load ptr, ptr @VP8GetCPUInfo, align 8 - %19 = tail call i32 %18(i32 noundef 3) #12 + %19 = tail call i32 %18(i32 noundef 3) #11 %.not2.i = icmp eq i32 %19, 0 br i1 %.not2.i, label %VP8EncDspInit_body.exit, label %20 20: ; preds = %17 - tail call void @VP8EncDspInitSSE41() #12 + tail call void @VP8EncDspInitSSE41() #11 br label %VP8EncDspInit_body.exit VP8EncDspInit_body.exit: ; preds = %20, %17, %15, %InitTables.exit.i, %2 %21 = load ptr, ptr @VP8GetCPUInfo, align 8 store volatile ptr %21, ptr @VP8EncDspInit.VP8EncDspInit_body_last_cpuinfo_used, align 8 - %22 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @VP8EncDspInit.VP8EncDspInit_body_lock) #12 + %22 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @VP8EncDspInit.VP8EncDspInit_body_lock) #11 br label %23 23: ; preds = %0, %VP8EncDspInit_body.exit @@ -155,8 +155,8 @@ declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #2 declare void @VP8DspInit() local_unnamed_addr #3 -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @ITransform_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, i32 noundef %3) #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @ITransform_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, i32 noundef %3) #0 { tail call fastcc void @ITransformOne(ptr noundef %0, ptr noundef %1, ptr noundef %2) %.not = icmp eq i32 %3, 0 br i1 %.not, label %9, label %5 @@ -172,8 +172,8 @@ define internal void @ITransform_C(ptr nocapture noundef readonly %0, ptr nocapt ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @FTransform_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @FTransform_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = alloca [16 x i32], align 16 br label %5 @@ -298,8 +298,8 @@ define internal void @FTransform_C(ptr nocapture noundef readonly %0, ptr nocapt ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @FTransformWHT_C(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @FTransformWHT_C(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = alloca [16 x i32], align 16 br label %4 @@ -387,8 +387,8 @@ define internal void @FTransformWHT_C(ptr nocapture noundef readonly %0, ptr noc ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal range(i32 0, 67108864) i32 @Disto4x4_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define internal range(i32 0, 67108864) i32 @Disto4x4_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #4 { %4 = tail call fastcc i32 @TTransform(ptr noundef %0, ptr noundef %2) %5 = tail call fastcc i32 @TTransform(ptr noundef %1, ptr noundef %2) %6 = sub nsw i32 %5, %4 @@ -397,8 +397,8 @@ define internal range(i32 0, 67108864) i32 @Disto4x4_C(ptr nocapture noundef rea ret i32 %8 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal i32 @Disto16x16_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define internal i32 @Disto16x16_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #4 { %4 = alloca [16 x i32], align 16 %5 = alloca [16 x i32], align 16 br label %.preheader @@ -609,7 +609,7 @@ define internal void @CollectHistogram_C(ptr noundef %0, ptr noundef %1, i32 nou %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %0, i64 %13 %15 = getelementptr inbounds i8, ptr %1, i64 %13 - call void %10(ptr noundef %14, ptr noundef %15, ptr noundef nonnull %7) #12 + call void %10(ptr noundef %14, ptr noundef %15, ptr noundef nonnull %7) #11 br label %16 16: ; preds = %.lr.ph, %16 @@ -658,8 +658,8 @@ VP8SetHistogramData.exit: ; preds = %.preheader ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal i32 @SSE16x16_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define internal i32 @SSE16x16_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #4 { br label %.preheader.us.i .preheader.us.i: ; preds = %._crit_edge.us.i, %2 @@ -696,8 +696,8 @@ GetSSE.exit: ; preds = %._crit_edge.us.i ret i32 %12 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal i32 @SSE16x8_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define internal i32 @SSE16x8_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #4 { br label %.preheader.us.i .preheader.us.i: ; preds = %._crit_edge.us.i, %2 @@ -734,8 +734,8 @@ GetSSE.exit: ; preds = %._crit_edge.us.i ret i32 %12 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal i32 @SSE8x8_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define internal i32 @SSE8x8_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #4 { br label %.preheader.us.i .preheader.us.i: ; preds = %._crit_edge.us.i, %2 @@ -772,8 +772,8 @@ GetSSE.exit: ; preds = %._crit_edge.us.i ret i32 %12 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal i32 @SSE4x4_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define internal i32 @SSE4x4_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #4 { br label %.preheader.us.i .preheader.us.i: ; preds = %._crit_edge.us.i, %2 @@ -883,11 +883,11 @@ define internal range(i32 0, 2) i32 @QuantizeBlock_C(ptr nocapture noundef %0, p ; Function Attrs: nounwind uwtable define internal i32 @Quantize2Blocks_C(ptr noundef %0, ptr noundef %1, ptr noundef %2) #1 { %4 = load ptr, ptr @VP8EncQuantizeBlock, align 8 - %5 = tail call i32 %4(ptr noundef %0, ptr noundef %1, ptr noundef %2) #12 + %5 = tail call i32 %4(ptr noundef %0, ptr noundef %1, ptr noundef %2) #11 %6 = load ptr, ptr @VP8EncQuantizeBlock, align 8 %7 = getelementptr inbounds i8, ptr %0, i64 32 %8 = getelementptr inbounds i8, ptr %1, i64 32 - %9 = tail call i32 %6(ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef %2) #12 + %9 = tail call i32 %6(ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef %2) #11 %10 = shl i32 %9, 1 %11 = or i32 %10, %5 ret i32 %11 @@ -896,17 +896,17 @@ define internal i32 @Quantize2Blocks_C(ptr noundef %0, ptr noundef %1, ptr nound ; Function Attrs: nounwind uwtable define internal void @FTransform2_C(ptr noundef %0, ptr noundef %1, ptr noundef %2) #1 { %4 = load ptr, ptr @VP8FTransform, align 8 - tail call void %4(ptr noundef %0, ptr noundef %1, ptr noundef %2) #12 + tail call void %4(ptr noundef %0, ptr noundef %1, ptr noundef %2) #11 %5 = load ptr, ptr @VP8FTransform, align 8 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = getelementptr inbounds i8, ptr %1, i64 4 %8 = getelementptr inbounds i8, ptr %2, i64 32 - tail call void %5(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8) #12 + tail call void %5(ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8) #11 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @Intra4Preds_C(ptr noundef writeonly %0, ptr nocapture noundef readonly %1) #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define internal void @Intra4Preds_C(ptr noundef writeonly %0, ptr nocapture noundef readonly %1) #5 { br label %3 3: ; preds = %3, %2 @@ -1593,8 +1593,8 @@ VE4.exit: ; preds = %61 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @Intra16Preds_C(ptr nocapture noundef writeonly %0, ptr noundef readonly %1, ptr noundef readonly %2) #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define internal void @Intra16Preds_C(ptr nocapture noundef writeonly %0, ptr noundef readonly %1, ptr noundef readonly %2) #5 { %.not.i = icmp eq ptr %2, null br i1 %.not.i, label %16, label %.lr.ph.i @@ -1793,8 +1793,8 @@ TrueMotion.exit: ; preds = %._crit_edge.us.i, % ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @IntraChromaPreds_C(ptr nocapture noundef writeonly %0, ptr noundef readonly %1, ptr noundef readonly %2) #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define internal void @IntraChromaPreds_C(ptr nocapture noundef writeonly %0, ptr noundef readonly %1, ptr noundef readonly %2) #5 { %4 = getelementptr inbounds i8, ptr %0, i64 1024 %.not.i = icmp eq ptr %2, null br i1 %.not.i, label %17, label %.lr.ph.i @@ -2213,8 +2213,8 @@ TrueMotion.exit127: ; preds = %._crit_edge.us.i113 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @Mean16x4_C(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @Mean16x4_C(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { br label %.preheader17 .preheader17: ; preds = %2, %11 @@ -2257,8 +2257,8 @@ define internal void @Mean16x4_C(ptr nocapture noundef readonly %0, ptr nocaptur ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @Copy4x4_C(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @Copy4x4_C(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { br label %3 3: ; preds = %3, %2 @@ -2277,8 +2277,8 @@ Copy.exit: ; preds = %3 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @Copy16x8_C(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @Copy16x8_C(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { br label %3 3: ; preds = %3, %2 @@ -2300,8 +2300,8 @@ declare void @VP8EncDspInitSSE2() local_unnamed_addr #3 declare void @VP8EncDspInitSSE41() local_unnamed_addr #3 -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @ITransformOne(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) unnamed_addr #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc void @ITransformOne(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) unnamed_addr #0 { %4 = alloca [16 x i32], align 16 br label %5 @@ -2433,8 +2433,8 @@ define internal fastcc void @ITransformOne(ptr nocapture noundef readonly %0, pt ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal fastcc range(i32 0, -2147483648) i32 @TTransform(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define internal fastcc range(i32 0, -2147483648) i32 @TTransform(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) unnamed_addr #4 { %3 = alloca [16 x i32], align 16 br label %4 @@ -2516,45 +2516,44 @@ define internal fastcc range(i32 0, -2147483648) i32 @TTransform(ptr nocapture n } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.abs.i32(i32, i1 immarg) #7 +declare i32 @llvm.abs.i32(i32, i1 immarg) #6 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #9 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #8 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i16 @llvm.abs.i16(i16, i1 immarg) #10 +declare i16 @llvm.abs.i16(i16, i1 immarg) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #10 +declare i32 @llvm.umin.i32(i32, i32) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #10 +declare i32 @llvm.smax.i32(i32, i32) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i16 @llvm.umin.i16(i16, i16) #10 +declare i16 @llvm.umin.i16(i16, i16) #9 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #11 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #10 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #11 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #10 attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { "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 #4 = { 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 #5 = { 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 #6 = { 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 #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #11 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #12 = { nounwind } +attributes #4 = { 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 #5 = { 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 #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #10 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #11 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/libwebp/optimized/enc_sse2.c.ll b/bench/libwebp/optimized/enc_sse2.c.ll index a609254f32b..263f9d071e9 100644 --- a/bench/libwebp/optimized/enc_sse2.c.ll +++ b/bench/libwebp/optimized/enc_sse2.c.ll @@ -206,11 +206,11 @@ define internal void @CollectHistogram_SSE2(ptr nocapture noundef readonly %0, p br i1 %exitcond75.not, label %._crit_edge, label %11, !llvm.loop !6 ._crit_edge: ; preds = %138, %5 - call void @VP8SetHistogramData(ptr noundef nonnull %6, ptr noundef %4) #13 + call void @VP8SetHistogramData(ptr noundef nonnull %6, ptr noundef %4) #12 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal void @Intra16Preds_SSE2(ptr nocapture noundef writeonly %0, ptr noundef readonly %1, ptr noundef readonly %2) #2 { %.not.i = icmp eq ptr %2, null %.not12.i = icmp eq ptr %1, null @@ -435,7 +435,7 @@ TrueMotion_SSE2.exit: ; preds = %80, %.preheader19.i ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @IntraChromaPreds_SSE2(ptr nocapture noundef writeonly %0, ptr noundef readonly %1, ptr noundef readonly %2) #3 { %4 = getelementptr inbounds i8, ptr %0, i64 1024 %.not.i = icmp eq ptr %2, null @@ -901,7 +901,7 @@ TrueMotion_SSE2.exit110: ; preds = %197, %.preheader17. ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal void @Intra4Preds_SSE2(ptr noundef writeonly %0, ptr nocapture noundef readonly %1) #2 { br label %3 @@ -2429,7 +2429,7 @@ define internal void @FTransformWHT_SSE2(ptr nocapture noundef readonly %0, ptr ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal i32 @SSE16x16_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #5 { br label %.lr.ph.i @@ -2477,7 +2477,7 @@ SSE_16xN_SSE2.exit: ; preds = %.lr.ph.i ret i32 %35 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal i32 @SSE16x8_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #5 { br label %.lr.ph.i @@ -2525,7 +2525,7 @@ SSE_16xN_SSE2.exit: ; preds = %.lr.ph.i ret i32 %35 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal i32 @SSE8x8_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #5 { br label %3 @@ -2751,7 +2751,7 @@ define internal range(i32 0, 67108864) i32 @Disto4x4_SSE2(ptr nocapture noundef } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable -define internal i32 @Disto16x16_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #7 { +define internal i32 @Disto16x16_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #5 { %.val.i = load <8 x i16>, ptr %2, align 1 %4 = getelementptr i8, ptr %2, i64 16 %.val3.i = load <8 x i16>, ptr %4, align 1 @@ -2941,69 +2941,68 @@ define internal void @Mean16x4_SSE2(ptr nocapture noundef readonly %0, ptr nocap } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7 -declare void @VP8SetHistogramData(ptr noundef, ptr noundef) local_unnamed_addr #9 +declare void @VP8SetHistogramData(ptr noundef, ptr noundef) local_unnamed_addr #8 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <8 x i16> @llvm.smin.v8i16(<8 x i16>, <8 x i16>) #10 +declare <8 x i16> @llvm.smin.v8i16(<8 x i16>, <8 x i16>) #9 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <2 x i64> @llvm.x86.sse2.psad.bw(<16 x i8>, <16 x i8>) #11 +declare <2 x i64> @llvm.x86.sse2.psad.bw(<16 x i8>, <16 x i8>) #10 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <16 x i8> @llvm.x86.sse2.packuswb.128(<8 x i16>, <8 x i16>) #11 +declare <16 x i8> @llvm.x86.sse2.packuswb.128(<8 x i16>, <8 x i16>) #10 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <16 x i8> @llvm.x86.sse2.pavg.b(<16 x i8>, <16 x i8>) #11 +declare <16 x i8> @llvm.x86.sse2.pavg.b(<16 x i8>, <16 x i8>) #10 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <16 x i8> @llvm.usub.sat.v16i8(<16 x i8>, <16 x i8>) #10 +declare <16 x i8> @llvm.usub.sat.v16i8(<16 x i8>, <16 x i8>) #9 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <8 x i16> @llvm.x86.sse2.pmulhu.w(<8 x i16>, <8 x i16>) #11 +declare <8 x i16> @llvm.x86.sse2.pmulhu.w(<8 x i16>, <8 x i16>) #10 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <8 x i16> @llvm.x86.sse2.packssdw.128(<4 x i32>, <4 x i32>) #11 +declare <8 x i16> @llvm.x86.sse2.packssdw.128(<4 x i32>, <4 x i32>) #10 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <16 x i8> @llvm.x86.sse2.packsswb.128(<8 x i16>, <8 x i16>) #11 +declare <16 x i8> @llvm.x86.sse2.packsswb.128(<8 x i16>, <8 x i16>) #10 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <8 x i16> @llvm.x86.sse2.pmulh.w(<8 x i16>, <8 x i16>) #11 +declare <8 x i16> @llvm.x86.sse2.pmulh.w(<8 x i16>, <8 x i16>) #10 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <4 x i32> @llvm.x86.sse2.pmadd.wd(<8 x i16>, <8 x i16>) #11 +declare <4 x i32> @llvm.x86.sse2.pmadd.wd(<8 x i16>, <8 x i16>) #10 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <8 x i16> @llvm.sadd.sat.v8i16(<8 x i16>, <8 x i16>) #10 +declare <8 x i16> @llvm.sadd.sat.v8i16(<8 x i16>, <8 x i16>) #9 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <8 x i16> @llvm.ssub.sat.v8i16(<8 x i16>, <8 x i16>) #10 +declare <8 x i16> @llvm.ssub.sat.v8i16(<8 x i16>, <8 x i16>) #9 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.abs.i32(i32, i1 immarg) #10 +declare i32 @llvm.abs.i32(i32, i1 immarg) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <8 x i16> @llvm.abs.v8i16(<8 x i16>, i1 immarg) #12 +declare <8 x i16> @llvm.abs.v8i16(<8 x i16>, i1 immarg) #11 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #12 +declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #11 attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, 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 #1 = { nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #2 = { nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #2 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #6 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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(argmem: read) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #9 = { "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 #10 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #11 = { mustprogress nocallback nofree nosync nounwind willreturn memory(none) } -attributes #12 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #13 = { nounwind } +attributes #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #8 = { "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 #9 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #10 = { mustprogress nocallback nofree nosync nounwind willreturn memory(none) } +attributes #11 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #12 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/libwebp/optimized/filters.c.ll b/bench/libwebp/optimized/filters.c.ll index 74e22e83245..1bbc56434dd 100644 --- a/bench/libwebp/optimized/filters.c.ll +++ b/bench/libwebp/optimized/filters.c.ll @@ -15,7 +15,7 @@ target triple = "x86_64-pc-linux-gnu" ; Function Attrs: nounwind uwtable define hidden void @VP8FiltersInit() local_unnamed_addr #0 { - %1 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @VP8FiltersInit.VP8FiltersInit_body_lock) #8 + %1 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @VP8FiltersInit.VP8FiltersInit_body_lock) #7 %.not = icmp eq i32 %1, 0 br i1 %.not, label %2, label %11 @@ -38,18 +38,18 @@ define hidden void @VP8FiltersInit() local_unnamed_addr #0 { br i1 %.not.i, label %VP8FiltersInit_body.exit, label %6 6: ; preds = %5 - %7 = tail call i32 %4(i32 noundef 0) #8 + %7 = tail call i32 %4(i32 noundef 0) #7 %.not1.i = icmp eq i32 %7, 0 br i1 %.not1.i, label %VP8FiltersInit_body.exit, label %8 8: ; preds = %6 - tail call void @VP8FiltersInitSSE2() #8 + tail call void @VP8FiltersInitSSE2() #7 br label %VP8FiltersInit_body.exit VP8FiltersInit_body.exit: ; preds = %8, %6, %5, %2 %9 = load ptr, ptr @VP8GetCPUInfo, align 8 store volatile ptr %9, ptr @VP8FiltersInit.VP8FiltersInit_body_last_cpuinfo_used, align 8 - %10 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @VP8FiltersInit.VP8FiltersInit_body_lock) #8 + %10 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @VP8FiltersInit.VP8FiltersInit_body_lock) #7 br label %11 11: ; preds = %0, %VP8FiltersInit_body.exit @@ -219,8 +219,8 @@ HorizontalUnfilter_C.exit: ; preds = %.lr.ph, %.lr.ph.i, ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @HorizontalFilter_C(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef writeonly %4) #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @HorizontalFilter_C(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef writeonly %4) #3 { %6 = load i8, ptr %0, align 1 store i8 %6, ptr %4, align 1 %7 = getelementptr inbounds i8, ptr %0, i64 1 @@ -309,8 +309,8 @@ DoHorizontalFilter_C.exit: ; preds = %.lr.ph.split.i, %Pr ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @VerticalFilter_C(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef writeonly %4) #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @VerticalFilter_C(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef writeonly %4) #3 { %6 = load i8, ptr %0, align 1 store i8 %6, ptr %4, align 1 %7 = getelementptr inbounds i8, ptr %0, i64 1 @@ -376,8 +376,8 @@ DoVerticalFilter_C.exit: ; preds = %PredictLine_C.exit5 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @GradientFilter_C(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef writeonly %4) #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @GradientFilter_C(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr nocapture noundef writeonly %4) #3 { %6 = load i8, ptr %0, align 1 store i8 %6, ptr %4, align 1 %7 = getelementptr inbounds i8, ptr %0, i64 1 @@ -482,26 +482,25 @@ DoGradientFilter_C.exit: ; preds = %.lr.ph76.split.i, % ret void } -declare void @VP8FiltersInitSSE2() local_unnamed_addr #5 +declare void @VP8FiltersInitSSE2() local_unnamed_addr #4 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #7 +declare i32 @llvm.smax.i32(i32, i32) #6 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #7 +declare i32 @llvm.umin.i32(i32, i32) #6 attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { "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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #8 = { nounwind } +attributes #4 = { "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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #7 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/libwebp/optimized/lossless_enc.c.ll b/bench/libwebp/optimized/lossless_enc.c.ll index d9225dc6ac1..f114c984a3c 100644 --- a/bench/libwebp/optimized/lossless_enc.c.ll +++ b/bench/libwebp/optimized/lossless_enc.c.ll @@ -83,7 +83,7 @@ define hidden void @VP8LBitsEntropyUnrefined(ptr nocapture noundef readonly %0, 24: ; preds = %13 %25 = load ptr, ptr @VP8LFastSLog2Slow, align 8 - %26 = tail call float %25(i32 noundef %18) #12 + %26 = tail call float %25(i32 noundef %18) #11 %.pre = load float, ptr %2, align 4 %.pre27 = load i32, ptr %7, align 4 br label %VP8LFastSLog2.exit @@ -124,7 +124,7 @@ VP8LFastSLog2.exit: ; preds = %20, %24 43: ; preds = %._crit_edge %44 = load ptr, ptr @VP8LFastSLog2Slow, align 8 - %45 = tail call float %44(i32 noundef %.pre28) #12 + %45 = tail call float %44(i32 noundef %.pre28) #11 %.pre29 = load float, ptr %2, align 4 br label %VP8LFastSLog2.exit24 @@ -217,8 +217,8 @@ define hidden void @VP8LTransformColor_C(ptr nocapture noundef readonly %0, ptr ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @VP8LCollectColorRedTransforms_C(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr nocapture noundef %5) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @VP8LCollectColorRedTransforms_C(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr nocapture noundef %5) #2 { %7 = icmp sgt i32 %3, 0 br i1 %7, label %.preheader.lr.ph, label %._crit_edge13 @@ -268,8 +268,8 @@ define hidden void @VP8LCollectColorRedTransforms_C(ptr nocapture noundef readon ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @VP8LCollectColorBlueTransforms_C(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr nocapture noundef %6) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @VP8LCollectColorBlueTransforms_C(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr nocapture noundef %6) #2 { %8 = icmp sgt i32 %3, 0 br i1 %8, label %.preheader.lr.ph, label %._crit_edge17 @@ -416,7 +416,7 @@ define hidden void @VP8LHistogramAdd(ptr noundef %0, ptr noundef %1, ptr noundef %18 = load ptr, ptr @VP8LAddVector, align 8 %19 = load ptr, ptr %1, align 8 %20 = load ptr, ptr %2, align 8 - tail call void %18(ptr noundef %16, ptr noundef %19, ptr noundef %20, i32 noundef %9) #12 + tail call void %18(ptr noundef %16, ptr noundef %19, ptr noundef %20, i32 noundef %9) #11 br label %34 21: ; preds = %15 @@ -460,7 +460,7 @@ define hidden void @VP8LHistogramAdd(ptr noundef %0, ptr noundef %1, ptr noundef %42 = load ptr, ptr @VP8LAddVector, align 8 %43 = getelementptr inbounds i8, ptr %1, i64 8 %44 = getelementptr inbounds i8, ptr %2, i64 8 - tail call void %42(ptr noundef nonnull %40, ptr noundef nonnull %43, ptr noundef nonnull %44, i32 noundef 256) #12 + tail call void %42(ptr noundef nonnull %40, ptr noundef nonnull %43, ptr noundef nonnull %44, i32 noundef 256) #11 br label %52 45: ; preds = %39 @@ -498,7 +498,7 @@ define hidden void @VP8LHistogramAdd(ptr noundef %0, ptr noundef %1, ptr noundef %60 = load ptr, ptr @VP8LAddVector, align 8 %61 = getelementptr inbounds i8, ptr %1, i64 1032 %62 = getelementptr inbounds i8, ptr %2, i64 1032 - tail call void %60(ptr noundef nonnull %58, ptr noundef nonnull %61, ptr noundef nonnull %62, i32 noundef 256) #12 + tail call void %60(ptr noundef nonnull %58, ptr noundef nonnull %61, ptr noundef nonnull %62, i32 noundef 256) #11 br label %70 63: ; preds = %57 @@ -536,7 +536,7 @@ define hidden void @VP8LHistogramAdd(ptr noundef %0, ptr noundef %1, ptr noundef %78 = load ptr, ptr @VP8LAddVector, align 8 %79 = getelementptr inbounds i8, ptr %1, i64 2056 %80 = getelementptr inbounds i8, ptr %2, i64 2056 - tail call void %78(ptr noundef nonnull %76, ptr noundef nonnull %79, ptr noundef nonnull %80, i32 noundef 256) #12 + tail call void %78(ptr noundef nonnull %76, ptr noundef nonnull %79, ptr noundef nonnull %80, i32 noundef 256) #11 br label %88 81: ; preds = %75 @@ -574,7 +574,7 @@ define hidden void @VP8LHistogramAdd(ptr noundef %0, ptr noundef %1, ptr noundef %96 = load ptr, ptr @VP8LAddVector, align 8 %97 = getelementptr inbounds i8, ptr %1, i64 3080 %98 = getelementptr inbounds i8, ptr %2, i64 3080 - tail call void %96(ptr noundef nonnull %94, ptr noundef nonnull %97, ptr noundef nonnull %98, i32 noundef 40) #12 + tail call void %96(ptr noundef nonnull %94, ptr noundef nonnull %97, ptr noundef nonnull %98, i32 noundef 40) #11 br label %106 99: ; preds = %93 @@ -626,7 +626,7 @@ define hidden void @VP8LHistogramAdd(ptr noundef %0, ptr noundef %1, ptr noundef 121: ; preds = %117 %122 = load ptr, ptr @VP8LAddVectorEq, align 8 %123 = load ptr, ptr %2, align 8 - tail call void %122(ptr noundef %120, ptr noundef %123, i32 noundef %9) #12 + tail call void %122(ptr noundef %120, ptr noundef %123, i32 noundef %9) #11 br label %128 124: ; preds = %117 @@ -652,7 +652,7 @@ define hidden void @VP8LHistogramAdd(ptr noundef %0, ptr noundef %1, ptr noundef 135: ; preds = %131 %136 = load ptr, ptr @VP8LAddVectorEq, align 8 %137 = getelementptr inbounds i8, ptr %2, i64 8 - tail call void %136(ptr noundef nonnull %134, ptr noundef nonnull %137, i32 noundef 256) #12 + tail call void %136(ptr noundef nonnull %134, ptr noundef nonnull %137, i32 noundef 256) #11 br label %140 138: ; preds = %131 @@ -676,7 +676,7 @@ define hidden void @VP8LHistogramAdd(ptr noundef %0, ptr noundef %1, ptr noundef 147: ; preds = %143 %148 = load ptr, ptr @VP8LAddVectorEq, align 8 %149 = getelementptr inbounds i8, ptr %2, i64 1032 - tail call void %148(ptr noundef nonnull %146, ptr noundef nonnull %149, i32 noundef 256) #12 + tail call void %148(ptr noundef nonnull %146, ptr noundef nonnull %149, i32 noundef 256) #11 br label %152 150: ; preds = %143 @@ -700,7 +700,7 @@ define hidden void @VP8LHistogramAdd(ptr noundef %0, ptr noundef %1, ptr noundef 159: ; preds = %155 %160 = load ptr, ptr @VP8LAddVectorEq, align 8 %161 = getelementptr inbounds i8, ptr %2, i64 2056 - tail call void %160(ptr noundef nonnull %158, ptr noundef nonnull %161, i32 noundef 256) #12 + tail call void %160(ptr noundef nonnull %158, ptr noundef nonnull %161, i32 noundef 256) #11 br label %164 162: ; preds = %155 @@ -724,7 +724,7 @@ define hidden void @VP8LHistogramAdd(ptr noundef %0, ptr noundef %1, ptr noundef 171: ; preds = %167 %172 = load ptr, ptr @VP8LAddVectorEq, align 8 %173 = getelementptr inbounds i8, ptr %2, i64 3080 - tail call void %172(ptr noundef nonnull %170, ptr noundef nonnull %173, i32 noundef 40) #12 + tail call void %172(ptr noundef nonnull %170, ptr noundef nonnull %173, i32 noundef 40) #11 br label %176 174: ; preds = %167 @@ -753,14 +753,14 @@ define hidden void @VP8LHistogramAdd(ptr noundef %0, ptr noundef %1, ptr noundef } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4 ; Function Attrs: nounwind uwtable define hidden void @VP8LEncDspInit() local_unnamed_addr #1 { - %1 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @VP8LEncDspInit.VP8LEncDspInit_body_lock) #12 + %1 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @VP8LEncDspInit.VP8LEncDspInit_body_lock) #11 %.not = icmp eq i32 %1, 0 br i1 %.not, label %2, label %15 @@ -771,7 +771,7 @@ define hidden void @VP8LEncDspInit() local_unnamed_addr #1 { br i1 %.not1, label %VP8LEncDspInit_body.exit, label %5 5: ; preds = %2 - tail call void @VP8LDspInit() #12 + tail call void @VP8LDspInit() #11 store ptr @VP8LSubtractGreenFromBlueAndRed_C, ptr @VP8LSubtractGreenFromBlueAndRed, align 8 store ptr @VP8LTransformColor_C, ptr @VP8LTransformColor, align 8 store ptr @VP8LCollectColorBlueTransforms_C, ptr @VP8LCollectColorBlueTransforms, align 8 @@ -824,25 +824,25 @@ define hidden void @VP8LEncDspInit() local_unnamed_addr #1 { br i1 %.not.i, label %VP8LEncDspInit_body.exit, label %7 7: ; preds = %5 - %8 = tail call i32 %6(i32 noundef 0) #12 + %8 = tail call i32 %6(i32 noundef 0) #11 %.not1.i = icmp eq i32 %8, 0 br i1 %.not1.i, label %VP8LEncDspInit_body.exit, label %9 9: ; preds = %7 - tail call void @VP8LEncDspInitSSE2() #12 + tail call void @VP8LEncDspInitSSE2() #11 %10 = load ptr, ptr @VP8GetCPUInfo, align 8 - %11 = tail call i32 %10(i32 noundef 3) #12 + %11 = tail call i32 %10(i32 noundef 3) #11 %.not2.i = icmp eq i32 %11, 0 br i1 %.not2.i, label %VP8LEncDspInit_body.exit, label %12 12: ; preds = %9 - tail call void @VP8LEncDspInitSSE41() #12 + tail call void @VP8LEncDspInitSSE41() #11 br label %VP8LEncDspInit_body.exit VP8LEncDspInit_body.exit: ; preds = %12, %9, %7, %5, %2 %13 = load ptr, ptr @VP8GetCPUInfo, align 8 store volatile ptr %13, ptr @VP8LEncDspInit.VP8LEncDspInit_body_last_cpuinfo_used, align 8 - %14 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @VP8LEncDspInit.VP8LEncDspInit_body_lock) #12 + %14 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @VP8LEncDspInit.VP8LEncDspInit_body_lock) #11 br label %15 15: ; preds = %0, %VP8LEncDspInit_body.exit @@ -850,15 +850,15 @@ VP8LEncDspInit_body.exit: ; preds = %12, %9, %7, %5, %2 } ; Function Attrs: nounwind -declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #6 +declare i32 @pthread_mutex_lock(ptr noundef) local_unnamed_addr #5 ; Function Attrs: nounwind -declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #6 +declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #5 -declare void @VP8LDspInit() local_unnamed_addr #7 +declare void @VP8LDspInit() local_unnamed_addr #6 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) uwtable -define internal float @FastLog2Slow_C(i32 noundef %0) #8 { +define internal float @FastLog2Slow_C(i32 noundef %0) #7 { %2 = icmp ult i32 %0, 65536 br i1 %2, label %3, label %24 @@ -890,7 +890,7 @@ define internal float @FastLog2Slow_C(i32 noundef %0) #8 { 24: ; preds = %1 %25 = uitofp i32 %0 to double - %26 = tail call double @log(double noundef %25) #12 + %26 = tail call double @log(double noundef %25) #11 %27 = fmul double %26, 0x3FF71547652B82FE %28 = fptrunc double %27 to float br label %29 @@ -901,7 +901,7 @@ define internal float @FastLog2Slow_C(i32 noundef %0) #8 { } ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) uwtable -define internal float @FastSLog2Slow_C(i32 noundef %0) #8 { +define internal float @FastSLog2Slow_C(i32 noundef %0) #7 { %2 = icmp ult i32 %0, 65536 br i1 %2, label %3, label %19 @@ -927,7 +927,7 @@ define internal float @FastSLog2Slow_C(i32 noundef %0) #8 { 19: ; preds = %1 %20 = uitofp i32 %0 to double %21 = fmul double %20, 0x3FF71547652B82FE - %22 = tail call double @log(double noundef %20) #12 + %22 = tail call double @log(double noundef %20) #11 %23 = fmul double %21, %22 %24 = fptrunc double %23 to float br label %25 @@ -938,7 +938,7 @@ define internal float @FastSLog2Slow_C(i32 noundef %0) #8 { } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable -define internal i32 @ExtraCost_C(ptr nocapture noundef readonly %0, i32 noundef %1) #9 { +define internal i32 @ExtraCost_C(ptr nocapture noundef readonly %0, i32 noundef %1) #8 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load i32, ptr %3, align 4 %5 = getelementptr inbounds i8, ptr %0, i64 20 @@ -976,7 +976,7 @@ define internal i32 @ExtraCost_C(ptr nocapture noundef readonly %0, i32 noundef } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable -define internal i32 @ExtraCostCombined_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #9 { +define internal i32 @ExtraCostCombined_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #8 { %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load i32, ptr %4, align 4 %6 = getelementptr inbounds i8, ptr %1, i64 16 @@ -1056,7 +1056,7 @@ define internal float @CombinedShannonEntropy_C(ptr nocapture noundef readonly % 16: ; preds = %8 %17 = load ptr, ptr @VP8LFastSLog2Slow, align 8 - %18 = tail call float %17(i32 noundef %5) #12 + %18 = tail call float %17(i32 noundef %5) #11 br label %VP8LFastSLog2.exit VP8LFastSLog2.exit: ; preds = %12, %16 @@ -1074,7 +1074,7 @@ VP8LFastSLog2.exit: ; preds = %12, %16 27: ; preds = %VP8LFastSLog2.exit %28 = load ptr, ptr @VP8LFastSLog2Slow, align 8 - %29 = tail call float %28(i32 noundef %9) #12 + %29 = tail call float %28(i32 noundef %9) #11 br label %VP8LFastSLog2.exit35 VP8LFastSLog2.exit35: ; preds = %23, %27 @@ -1099,7 +1099,7 @@ VP8LFastSLog2.exit35: ; preds = %23, %27 40: ; preds = %33 %41 = load ptr, ptr @VP8LFastSLog2Slow, align 8 - %42 = tail call float %41(i32 noundef %7) #12 + %42 = tail call float %41(i32 noundef %7) #11 br label %VP8LFastSLog2.exit36 VP8LFastSLog2.exit36: ; preds = %36, %40 @@ -1127,7 +1127,7 @@ VP8LFastSLog2.exit36: ; preds = %36, %40 52: ; preds = %46 %53 = load ptr, ptr @VP8LFastSLog2Slow, align 8 - %54 = tail call float %53(i32 noundef %.131) #12 + %54 = tail call float %53(i32 noundef %.131) #11 br label %VP8LFastSLog2.exit37 VP8LFastSLog2.exit37: ; preds = %48, %52 @@ -1143,7 +1143,7 @@ VP8LFastSLog2.exit37: ; preds = %48, %52 61: ; preds = %VP8LFastSLog2.exit37 %62 = load ptr, ptr @VP8LFastSLog2Slow, align 8 - %63 = tail call float %62(i32 noundef %.129) #12 + %63 = tail call float %62(i32 noundef %.129) #11 br label %VP8LFastSLog2.exit38 VP8LFastSLog2.exit38: ; preds = %57, %61 @@ -1206,7 +1206,7 @@ define internal void @GetEntropyUnrefined_C(ptr nocapture noundef readonly %0, i 29: ; preds = %18 %30 = load ptr, ptr @VP8LFastSLog2Slow, align 8 - %31 = tail call float %30(i32 noundef %.03640) #12 + %31 = tail call float %30(i32 noundef %.03640) #11 br label %VP8LFastSLog2.exit.i VP8LFastSLog2.exit.i: ; preds = %29, %25 @@ -1277,7 +1277,7 @@ GetEntropyUnrefinedHelper.exit: ; preds = %15, %VP8LFastSLog2. 66: ; preds = %53 %67 = load ptr, ptr @VP8LFastSLog2Slow, align 8 - %68 = tail call float %67(i32 noundef %.036.lcssa) #12 + %68 = tail call float %67(i32 noundef %.036.lcssa) #11 br label %VP8LFastSLog2.exit.i19 VP8LFastSLog2.exit.i19: ; preds = %66, %62 @@ -1324,7 +1324,7 @@ GetEntropyUnrefinedHelper.exit21: ; preds = %._crit_edge, %VP8LF 97: ; preds = %GetEntropyUnrefinedHelper.exit21 %98 = load ptr, ptr @VP8LFastSLog2Slow, align 8 - %99 = tail call float %98(i32 noundef %91) #12 + %99 = tail call float %98(i32 noundef %91) #11 br label %VP8LFastSLog2.exit VP8LFastSLog2.exit: ; preds = %93, %97 @@ -1393,7 +1393,7 @@ define internal void @GetCombinedEntropyUnrefined_C(ptr nocapture noundef readon 35: ; preds = %24 %36 = load ptr, ptr @VP8LFastSLog2Slow, align 8 - %37 = tail call float %36(i32 noundef %.03943) #12 + %37 = tail call float %36(i32 noundef %.03943) #11 br label %VP8LFastSLog2.exit.i VP8LFastSLog2.exit.i: ; preds = %35, %31 @@ -1464,7 +1464,7 @@ GetEntropyUnrefinedHelper.exit: ; preds = %21, %VP8LFastSLog2. 72: ; preds = %59 %73 = load ptr, ptr @VP8LFastSLog2Slow, align 8 - %74 = tail call float %73(i32 noundef %.039.lcssa) #12 + %74 = tail call float %73(i32 noundef %.039.lcssa) #11 br label %VP8LFastSLog2.exit.i22 VP8LFastSLog2.exit.i22: ; preds = %72, %68 @@ -1511,7 +1511,7 @@ GetEntropyUnrefinedHelper.exit24: ; preds = %._crit_edge, %VP8LF 103: ; preds = %GetEntropyUnrefinedHelper.exit24 %104 = load ptr, ptr @VP8LFastSLog2Slow, align 8 - %105 = tail call float %104(i32 noundef %97) #12 + %105 = tail call float %104(i32 noundef %97) #11 br label %VP8LFastSLog2.exit VP8LFastSLog2.exit: ; preds = %99, %103 @@ -1574,7 +1574,7 @@ define internal void @AddVectorEq_C(ptr nocapture noundef readonly %0, ptr nocap } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable -define internal i32 @VectorMismatch_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #9 { +define internal i32 @VectorMismatch_C(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #8 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %.lr.ph.preheader, label %.critedge @@ -1680,7 +1680,7 @@ define internal void @PredictorSub2_C(ptr noundef %0, ptr noundef %1, i32 nounde %6 = getelementptr i32, ptr %0, i64 %indvars.iv %7 = getelementptr i8, ptr %6, i64 -4 %8 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv - %9 = tail call i32 @VP8LPredictor2_C(ptr noundef %7, ptr noundef %8) #12 + %9 = tail call i32 @VP8LPredictor2_C(ptr noundef %7, ptr noundef %8) #11 %10 = load i32, ptr %6, align 4 %11 = or i32 %10, 16711680 %12 = and i32 %9, -16711936 @@ -1715,7 +1715,7 @@ define internal void @PredictorSub3_C(ptr noundef %0, ptr noundef %1, i32 nounde %6 = getelementptr i32, ptr %0, i64 %indvars.iv %7 = getelementptr i8, ptr %6, i64 -4 %8 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv - %9 = tail call i32 @VP8LPredictor3_C(ptr noundef %7, ptr noundef %8) #12 + %9 = tail call i32 @VP8LPredictor3_C(ptr noundef %7, ptr noundef %8) #11 %10 = load i32, ptr %6, align 4 %11 = or i32 %10, 16711680 %12 = and i32 %9, -16711936 @@ -1750,7 +1750,7 @@ define internal void @PredictorSub4_C(ptr noundef %0, ptr noundef %1, i32 nounde %6 = getelementptr i32, ptr %0, i64 %indvars.iv %7 = getelementptr i8, ptr %6, i64 -4 %8 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv - %9 = tail call i32 @VP8LPredictor4_C(ptr noundef %7, ptr noundef %8) #12 + %9 = tail call i32 @VP8LPredictor4_C(ptr noundef %7, ptr noundef %8) #11 %10 = load i32, ptr %6, align 4 %11 = or i32 %10, 16711680 %12 = and i32 %9, -16711936 @@ -1785,7 +1785,7 @@ define internal void @PredictorSub5_C(ptr noundef %0, ptr noundef %1, i32 nounde %6 = getelementptr i32, ptr %0, i64 %indvars.iv %7 = getelementptr i8, ptr %6, i64 -4 %8 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv - %9 = tail call i32 @VP8LPredictor5_C(ptr noundef %7, ptr noundef %8) #12 + %9 = tail call i32 @VP8LPredictor5_C(ptr noundef %7, ptr noundef %8) #11 %10 = load i32, ptr %6, align 4 %11 = or i32 %10, 16711680 %12 = and i32 %9, -16711936 @@ -1820,7 +1820,7 @@ define internal void @PredictorSub6_C(ptr noundef %0, ptr noundef %1, i32 nounde %6 = getelementptr i32, ptr %0, i64 %indvars.iv %7 = getelementptr i8, ptr %6, i64 -4 %8 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv - %9 = tail call i32 @VP8LPredictor6_C(ptr noundef %7, ptr noundef %8) #12 + %9 = tail call i32 @VP8LPredictor6_C(ptr noundef %7, ptr noundef %8) #11 %10 = load i32, ptr %6, align 4 %11 = or i32 %10, 16711680 %12 = and i32 %9, -16711936 @@ -1855,7 +1855,7 @@ define internal void @PredictorSub7_C(ptr noundef %0, ptr noundef %1, i32 nounde %6 = getelementptr i32, ptr %0, i64 %indvars.iv %7 = getelementptr i8, ptr %6, i64 -4 %8 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv - %9 = tail call i32 @VP8LPredictor7_C(ptr noundef %7, ptr noundef %8) #12 + %9 = tail call i32 @VP8LPredictor7_C(ptr noundef %7, ptr noundef %8) #11 %10 = load i32, ptr %6, align 4 %11 = or i32 %10, 16711680 %12 = and i32 %9, -16711936 @@ -1890,7 +1890,7 @@ define internal void @PredictorSub8_C(ptr noundef %0, ptr noundef %1, i32 nounde %6 = getelementptr i32, ptr %0, i64 %indvars.iv %7 = getelementptr i8, ptr %6, i64 -4 %8 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv - %9 = tail call i32 @VP8LPredictor8_C(ptr noundef %7, ptr noundef %8) #12 + %9 = tail call i32 @VP8LPredictor8_C(ptr noundef %7, ptr noundef %8) #11 %10 = load i32, ptr %6, align 4 %11 = or i32 %10, 16711680 %12 = and i32 %9, -16711936 @@ -1925,7 +1925,7 @@ define internal void @PredictorSub9_C(ptr noundef %0, ptr noundef %1, i32 nounde %6 = getelementptr i32, ptr %0, i64 %indvars.iv %7 = getelementptr i8, ptr %6, i64 -4 %8 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv - %9 = tail call i32 @VP8LPredictor9_C(ptr noundef %7, ptr noundef %8) #12 + %9 = tail call i32 @VP8LPredictor9_C(ptr noundef %7, ptr noundef %8) #11 %10 = load i32, ptr %6, align 4 %11 = or i32 %10, 16711680 %12 = and i32 %9, -16711936 @@ -1960,7 +1960,7 @@ define internal void @PredictorSub10_C(ptr noundef %0, ptr noundef %1, i32 nound %6 = getelementptr i32, ptr %0, i64 %indvars.iv %7 = getelementptr i8, ptr %6, i64 -4 %8 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv - %9 = tail call i32 @VP8LPredictor10_C(ptr noundef %7, ptr noundef %8) #12 + %9 = tail call i32 @VP8LPredictor10_C(ptr noundef %7, ptr noundef %8) #11 %10 = load i32, ptr %6, align 4 %11 = or i32 %10, 16711680 %12 = and i32 %9, -16711936 @@ -1995,7 +1995,7 @@ define internal void @PredictorSub11_C(ptr noundef %0, ptr noundef %1, i32 nound %6 = getelementptr i32, ptr %0, i64 %indvars.iv %7 = getelementptr i8, ptr %6, i64 -4 %8 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv - %9 = tail call i32 @VP8LPredictor11_C(ptr noundef %7, ptr noundef %8) #12 + %9 = tail call i32 @VP8LPredictor11_C(ptr noundef %7, ptr noundef %8) #11 %10 = load i32, ptr %6, align 4 %11 = or i32 %10, 16711680 %12 = and i32 %9, -16711936 @@ -2030,7 +2030,7 @@ define internal void @PredictorSub12_C(ptr noundef %0, ptr noundef %1, i32 nound %6 = getelementptr i32, ptr %0, i64 %indvars.iv %7 = getelementptr i8, ptr %6, i64 -4 %8 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv - %9 = tail call i32 @VP8LPredictor12_C(ptr noundef %7, ptr noundef %8) #12 + %9 = tail call i32 @VP8LPredictor12_C(ptr noundef %7, ptr noundef %8) #11 %10 = load i32, ptr %6, align 4 %11 = or i32 %10, 16711680 %12 = and i32 %9, -16711936 @@ -2065,7 +2065,7 @@ define internal void @PredictorSub13_C(ptr noundef %0, ptr noundef %1, i32 nound %6 = getelementptr i32, ptr %0, i64 %indvars.iv %7 = getelementptr i8, ptr %6, i64 -4 %8 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv - %9 = tail call i32 @VP8LPredictor13_C(ptr noundef %7, ptr noundef %8) #12 + %9 = tail call i32 @VP8LPredictor13_C(ptr noundef %7, ptr noundef %8) #11 %10 = load i32, ptr %6, align 4 %11 = or i32 %10, 16711680 %12 = and i32 %9, -16711936 @@ -2086,56 +2086,55 @@ define internal void @PredictorSub13_C(ptr noundef %0, ptr noundef %1, i32 nound ret void } -declare void @VP8LEncDspInitSSE2() local_unnamed_addr #7 +declare void @VP8LEncDspInitSSE2() local_unnamed_addr #6 -declare void @VP8LEncDspInitSSE41() local_unnamed_addr #7 +declare void @VP8LEncDspInitSSE41() local_unnamed_addr #6 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare double @log(double noundef) local_unnamed_addr #10 +declare double @log(double noundef) local_unnamed_addr #9 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.ctlz.i32(i32, i1 immarg) #11 +declare i32 @llvm.ctlz.i32(i32, i1 immarg) #10 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare float @llvm.fmuladd.f32(float, float, float) #11 +declare float @llvm.fmuladd.f32(float, float, float) #10 -declare i32 @VP8LPredictor2_C(ptr noundef, ptr noundef) local_unnamed_addr #7 +declare i32 @VP8LPredictor2_C(ptr noundef, ptr noundef) local_unnamed_addr #6 -declare i32 @VP8LPredictor3_C(ptr noundef, ptr noundef) local_unnamed_addr #7 +declare i32 @VP8LPredictor3_C(ptr noundef, ptr noundef) local_unnamed_addr #6 -declare i32 @VP8LPredictor4_C(ptr noundef, ptr noundef) local_unnamed_addr #7 +declare i32 @VP8LPredictor4_C(ptr noundef, ptr noundef) local_unnamed_addr #6 -declare i32 @VP8LPredictor5_C(ptr noundef, ptr noundef) local_unnamed_addr #7 +declare i32 @VP8LPredictor5_C(ptr noundef, ptr noundef) local_unnamed_addr #6 -declare i32 @VP8LPredictor6_C(ptr noundef, ptr noundef) local_unnamed_addr #7 +declare i32 @VP8LPredictor6_C(ptr noundef, ptr noundef) local_unnamed_addr #6 -declare i32 @VP8LPredictor7_C(ptr noundef, ptr noundef) local_unnamed_addr #7 +declare i32 @VP8LPredictor7_C(ptr noundef, ptr noundef) local_unnamed_addr #6 -declare i32 @VP8LPredictor8_C(ptr noundef, ptr noundef) local_unnamed_addr #7 +declare i32 @VP8LPredictor8_C(ptr noundef, ptr noundef) local_unnamed_addr #6 -declare i32 @VP8LPredictor9_C(ptr noundef, ptr noundef) local_unnamed_addr #7 +declare i32 @VP8LPredictor9_C(ptr noundef, ptr noundef) local_unnamed_addr #6 -declare i32 @VP8LPredictor10_C(ptr noundef, ptr noundef) local_unnamed_addr #7 +declare i32 @VP8LPredictor10_C(ptr noundef, ptr noundef) local_unnamed_addr #6 -declare i32 @VP8LPredictor11_C(ptr noundef, ptr noundef) local_unnamed_addr #7 +declare i32 @VP8LPredictor11_C(ptr noundef, ptr noundef) local_unnamed_addr #6 -declare i32 @VP8LPredictor12_C(ptr noundef, ptr noundef) local_unnamed_addr #7 +declare i32 @VP8LPredictor12_C(ptr noundef, ptr noundef) local_unnamed_addr #6 -declare i32 @VP8LPredictor13_C(ptr noundef, ptr noundef) local_unnamed_addr #7 +declare i32 @VP8LPredictor13_C(ptr noundef, ptr noundef) local_unnamed_addr #6 attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #6 = { 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 #7 = { "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 #8 = { mustprogress nofree nounwind willreturn memory(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 #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 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 #11 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #12 = { nounwind } +attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #5 = { 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 #6 = { "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 #7 = { mustprogress nofree nounwind willreturn memory(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 #8 = { 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 #9 = { 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 #10 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #11 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/libwebp/optimized/yuv.c.ll b/bench/libwebp/optimized/yuv.c.ll index 73ade854f1a..c14b4d0abdb 100644 --- a/bench/libwebp/optimized/yuv.c.ll +++ b/bench/libwebp/optimized/yuv.c.ll @@ -35,7 +35,7 @@ define hidden void @WebPSamplerProcessPlane(ptr noundef %0, i32 noundef %1, ptr %.01824 = phi ptr [ %2, %.lr.ph ], [ %.1, %14 ] %.01923 = phi ptr [ %3, %.lr.ph ], [ %.120, %14 ] %.02122 = phi ptr [ %5, %.lr.ph ], [ %17, %14 ] - tail call void %9(ptr noundef %.01725, ptr noundef %.01824, ptr noundef %.01923, ptr noundef %.02122, i32 noundef %7) #7 + tail call void %9(ptr noundef %.01725, ptr noundef %.01824, ptr noundef %.01923, ptr noundef %.02122, i32 noundef %7) #5 %15 = getelementptr inbounds i8, ptr %.01725, i64 %12 %16 = and i32 %.026, 1 %.not = icmp eq i32 %16, 0 @@ -54,7 +54,7 @@ define hidden void @WebPSamplerProcessPlane(ptr noundef %0, i32 noundef %1, ptr ; Function Attrs: nounwind uwtable define hidden void @WebPInitSamplers() local_unnamed_addr #0 { - %1 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @WebPInitSamplers.WebPInitSamplers_body_lock) #7 + %1 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @WebPInitSamplers.WebPInitSamplers_body_lock) #5 %.not = icmp eq i32 %1, 0 br i1 %.not, label %2, label %15 @@ -80,28 +80,28 @@ define hidden void @WebPInitSamplers() local_unnamed_addr #0 { br i1 %.not.i, label %WebPInitSamplers_body.exit, label %6 6: ; preds = %5 - %7 = tail call i32 %4(i32 noundef 0) #7 + %7 = tail call i32 %4(i32 noundef 0) #5 %.not1.i = icmp eq i32 %7, 0 br i1 %.not1.i, label %9, label %8 8: ; preds = %6 - tail call void @WebPInitSamplersSSE2() #7 + tail call void @WebPInitSamplersSSE2() #5 br label %9 9: ; preds = %8, %6 %10 = load ptr, ptr @VP8GetCPUInfo, align 8 - %11 = tail call i32 %10(i32 noundef 3) #7 + %11 = tail call i32 %10(i32 noundef 3) #5 %.not2.i = icmp eq i32 %11, 0 br i1 %.not2.i, label %WebPInitSamplers_body.exit, label %12 12: ; preds = %9 - tail call void @WebPInitSamplersSSE41() #7 + tail call void @WebPInitSamplersSSE41() #5 br label %WebPInitSamplers_body.exit WebPInitSamplers_body.exit: ; preds = %12, %9, %5, %2 %13 = load ptr, ptr @VP8GetCPUInfo, align 8 store volatile ptr %13, ptr @WebPInitSamplers.WebPInitSamplers_body_last_cpuinfo_used, align 8 - %14 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @WebPInitSamplers.WebPInitSamplers_body_lock) #7 + %14 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @WebPInitSamplers.WebPInitSamplers_body_lock) #5 br label %15 15: ; preds = %0, %WebPInitSamplers_body.exit @@ -297,8 +297,8 @@ define hidden void @WebPConvertARGBToUV_C(ptr nocapture noundef readonly %0, ptr ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @WebPConvertRGBA32ToUV_C(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, i32 noundef %3) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @WebPConvertRGBA32ToUV_C(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, i32 noundef %3) #2 { %5 = icmp sgt i32 %3, 0 br i1 %5, label %.lr.ph.preheader, label %._crit_edge @@ -352,7 +352,7 @@ define hidden void @WebPConvertRGBA32ToUV_C(ptr nocapture noundef readonly %0, p ; Function Attrs: nounwind uwtable define hidden void @WebPInitConvertARGBToYUV() local_unnamed_addr #0 { - %1 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @WebPInitConvertARGBToYUV.WebPInitConvertARGBToYUV_body_lock) #7 + %1 = tail call i32 @pthread_mutex_lock(ptr noundef nonnull @WebPInitConvertARGBToYUV.WebPInitConvertARGBToYUV_body_lock) #5 %.not = icmp eq i32 %1, 0 br i1 %.not, label %2, label %15 @@ -372,36 +372,36 @@ define hidden void @WebPInitConvertARGBToYUV() local_unnamed_addr #0 { br i1 %.not.i, label %WebPInitConvertARGBToYUV_body.exit, label %6 6: ; preds = %5 - %7 = tail call i32 %4(i32 noundef 0) #7 + %7 = tail call i32 %4(i32 noundef 0) #5 %.not1.i = icmp eq i32 %7, 0 br i1 %.not1.i, label %9, label %8 8: ; preds = %6 - tail call void @WebPInitConvertARGBToYUVSSE2() #7 + tail call void @WebPInitConvertARGBToYUVSSE2() #5 br label %9 9: ; preds = %8, %6 %10 = load ptr, ptr @VP8GetCPUInfo, align 8 - %11 = tail call i32 %10(i32 noundef 3) #7 + %11 = tail call i32 %10(i32 noundef 3) #5 %.not2.i = icmp eq i32 %11, 0 br i1 %.not2.i, label %WebPInitConvertARGBToYUV_body.exit, label %12 12: ; preds = %9 - tail call void @WebPInitConvertARGBToYUVSSE41() #7 + tail call void @WebPInitConvertARGBToYUVSSE41() #5 br label %WebPInitConvertARGBToYUV_body.exit WebPInitConvertARGBToYUV_body.exit: ; preds = %12, %9, %5, %2 %13 = load ptr, ptr @VP8GetCPUInfo, align 8 store volatile ptr %13, ptr @WebPInitConvertARGBToYUV.WebPInitConvertARGBToYUV_body_last_cpuinfo_used, align 8 - %14 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @WebPInitConvertARGBToYUV.WebPInitConvertARGBToYUV_body_lock) #7 + %14 = tail call i32 @pthread_mutex_unlock(ptr noundef nonnull @WebPInitConvertARGBToYUV.WebPInitConvertARGBToYUV_body_lock) #5 br label %15 15: ; preds = %0, %WebPInitConvertARGBToYUV_body.exit ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @YuvToRgbRow(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef writeonly %3, i32 noundef %4) #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @YuvToRgbRow(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef writeonly %3, i32 noundef %4) #2 { %6 = and i32 %4, -2 %7 = mul nsw i32 %6, 3 %8 = sext i32 %7 to i64 @@ -577,8 +577,8 @@ define internal void @YuvToRgbRow(ptr nocapture noundef readonly %0, ptr nocaptu ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @YuvToRgbaRow(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef writeonly %3, i32 noundef %4) #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @YuvToRgbaRow(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef writeonly %3, i32 noundef %4) #2 { %6 = shl i32 %4, 2 %7 = and i32 %6, -8 %8 = sext i32 %7 to i64 @@ -760,8 +760,8 @@ define internal void @YuvToRgbaRow(ptr nocapture noundef readonly %0, ptr nocapt ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @YuvToBgrRow(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef writeonly %3, i32 noundef %4) #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @YuvToBgrRow(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef writeonly %3, i32 noundef %4) #2 { %6 = and i32 %4, -2 %7 = mul nsw i32 %6, 3 %8 = sext i32 %7 to i64 @@ -937,8 +937,8 @@ define internal void @YuvToBgrRow(ptr nocapture noundef readonly %0, ptr nocaptu ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @YuvToBgraRow(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef writeonly %3, i32 noundef %4) #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @YuvToBgraRow(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef writeonly %3, i32 noundef %4) #2 { %6 = shl i32 %4, 2 %7 = and i32 %6, -8 %8 = sext i32 %7 to i64 @@ -1120,8 +1120,8 @@ define internal void @YuvToBgraRow(ptr nocapture noundef readonly %0, ptr nocapt ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @YuvToArgbRow(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef writeonly %3, i32 noundef %4) #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @YuvToArgbRow(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef writeonly %3, i32 noundef %4) #2 { %6 = shl i32 %4, 2 %7 = and i32 %6, -8 %8 = sext i32 %7 to i64 @@ -1303,8 +1303,8 @@ define internal void @YuvToArgbRow(ptr nocapture noundef readonly %0, ptr nocapt ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @YuvToRgba4444Row(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef writeonly %3, i32 noundef %4) #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @YuvToRgba4444Row(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef writeonly %3, i32 noundef %4) #2 { %6 = shl i32 %4, 1 %7 = and i32 %6, -4 %8 = sext i32 %7 to i64 @@ -1480,8 +1480,8 @@ define internal void @YuvToRgba4444Row(ptr nocapture noundef readonly %0, ptr no ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @YuvToRgb565Row(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef writeonly %3, i32 noundef %4) #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @YuvToRgb565Row(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef writeonly %3, i32 noundef %4) #2 { %6 = shl i32 %4, 1 %7 = and i32 %6, -4 %8 = sext i32 %7 to i64 @@ -1666,9 +1666,9 @@ define internal void @YuvToRgb565Row(ptr nocapture noundef readonly %0, ptr noca ret void } -declare void @WebPInitSamplersSSE2() local_unnamed_addr #5 +declare void @WebPInitSamplersSSE2() local_unnamed_addr #3 -declare void @WebPInitSamplersSSE41() local_unnamed_addr #5 +declare void @WebPInitSamplersSSE41() local_unnamed_addr #3 ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal void @ConvertARGBToY_C(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #2 { @@ -1706,8 +1706,8 @@ define internal void @ConvertARGBToY_C(ptr nocapture noundef readonly %0, ptr no ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @ConvertRGB24ToY_C(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @ConvertRGB24ToY_C(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #2 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %.lr.ph.preheader, label %._crit_edge @@ -1745,8 +1745,8 @@ define internal void @ConvertRGB24ToY_C(ptr nocapture noundef readonly %0, ptr n ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @ConvertBGR24ToY_C(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @ConvertBGR24ToY_C(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #2 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %.lr.ph.preheader, label %._crit_edge @@ -1784,24 +1784,22 @@ define internal void @ConvertBGR24ToY_C(ptr nocapture noundef readonly %0, ptr n ret void } -declare void @WebPInitConvertARGBToYUVSSE2() local_unnamed_addr #5 +declare void @WebPInitConvertARGBToYUVSSE2() local_unnamed_addr #3 -declare void @WebPInitConvertARGBToYUVSSE41() local_unnamed_addr #5 +declare void @WebPInitConvertARGBToYUVSSE41() local_unnamed_addr #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #6 +declare i32 @llvm.smax.i32(i32, i32) #4 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #6 +declare i32 @llvm.umin.i32(i32, i32) #4 attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { "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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #7 = { nounwind } +attributes #3 = { "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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/libwebp/optimized/yuv_sse2.c.ll b/bench/libwebp/optimized/yuv_sse2.c.ll index c686954671f..bd526726a81 100644 --- a/bench/libwebp/optimized/yuv_sse2.c.ll +++ b/bench/libwebp/optimized/yuv_sse2.c.ll @@ -10,7 +10,7 @@ target triple = "x86_64-pc-linux-gnu" @WebPConvertBGR24ToY = external local_unnamed_addr global ptr, align 8 @WebPConvertRGBA32ToUV = external local_unnamed_addr global ptr, align 8 -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @VP8YuvToRgba32_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { br label %5 @@ -70,7 +70,7 @@ define hidden void @VP8YuvToRgba32_SSE2(ptr nocapture noundef readonly %0, ptr n ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @VP8YuvToBgra32_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { br label %5 @@ -130,7 +130,7 @@ define hidden void @VP8YuvToBgra32_SSE2(ptr nocapture noundef readonly %0, ptr n ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @VP8YuvToArgb32_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { br label %5 @@ -190,7 +190,7 @@ define hidden void @VP8YuvToArgb32_SSE2(ptr nocapture noundef readonly %0, ptr n ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @VP8YuvToRgba444432_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { br label %5 @@ -251,7 +251,7 @@ define hidden void @VP8YuvToRgba444432_SSE2(ptr nocapture noundef readonly %0, p ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @VP8YuvToRgb56532_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 { br label %5 @@ -874,8 +874,8 @@ define hidden void @WebPInitSamplersSSE2() local_unnamed_addr #2 { ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @YuvToRgbRow_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @YuvToRgbRow_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4) #0 { %.not129 = icmp slt i32 %4, 32 br i1 %.not129, label %.preheader, label %.lr.ph.preheader @@ -1246,8 +1246,8 @@ define internal void @YuvToRgbRow_SSE2(ptr nocapture noundef readonly %0, ptr no ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @YuvToRgbaRow_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @YuvToRgbaRow_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4) #0 { %.not59 = icmp slt i32 %4, 8 br i1 %.not59, label %.preheader, label %.lr.ph.preheader @@ -1389,8 +1389,8 @@ define internal void @YuvToRgbaRow_SSE2(ptr nocapture noundef readonly %0, ptr n ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @YuvToBgrRow_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @YuvToBgrRow_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4) #0 { %.not129 = icmp slt i32 %4, 32 br i1 %.not129, label %.preheader, label %.lr.ph.preheader @@ -1761,8 +1761,8 @@ define internal void @YuvToBgrRow_SSE2(ptr nocapture noundef readonly %0, ptr no ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @YuvToBgraRow_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @YuvToBgraRow_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4) #0 { %.not59 = icmp slt i32 %4, 8 br i1 %.not59, label %.preheader, label %.lr.ph.preheader @@ -1904,8 +1904,8 @@ define internal void @YuvToBgraRow_SSE2(ptr nocapture noundef readonly %0, ptr n ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @YuvToArgbRow_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4) #3 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @YuvToArgbRow_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3, i32 noundef %4) #0 { %.not59 = icmp slt i32 %4, 8 br i1 %.not59, label %.preheader, label %.lr.ph.preheader @@ -2058,7 +2058,7 @@ define hidden void @WebPInitConvertARGBToYUVSSE2() local_unnamed_addr #2 { } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal void @ConvertARGBToY_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #4 { +define internal void @ConvertARGBToY_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { %4 = and i32 %2, -16 %5 = icmp sgt i32 %4, 0 br i1 %5, label %.lr.ph.preheader, label %.preheader @@ -2190,7 +2190,7 @@ define internal void @ConvertARGBToY_SSE2(ptr nocapture noundef readonly %0, ptr } ; Function Attrs: nounwind uwtable -define internal void @ConvertARGBToUV_SSE2(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #5 { +define internal void @ConvertARGBToUV_SSE2(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4) #3 { %6 = and i32 %3, -32 %7 = icmp sgt i32 %6, 0 br i1 %7, label %.lr.ph, label %._crit_edge @@ -2396,15 +2396,15 @@ define internal void @ConvertARGBToUV_SSE2(ptr noundef %0, ptr noundef %1, ptr n %179 = zext nneg i32 %.040.lcssa to i64 %180 = getelementptr inbounds i32, ptr %0, i64 %179 %181 = sub nsw i32 %3, %.040.lcssa - tail call void @WebPConvertARGBToUV_C(ptr noundef %180, ptr noundef %.0.lcssa, ptr noundef %.039.lcssa, i32 noundef %181, i32 noundef %4) #10 + tail call void @WebPConvertARGBToUV_C(ptr noundef %180, ptr noundef %.0.lcssa, ptr noundef %.039.lcssa, i32 noundef %181, i32 noundef %4) #7 br label %182 182: ; preds = %178, %._crit_edge ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @ConvertRGB24ToY_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @ConvertRGB24ToY_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { %4 = alloca [6 x <2 x i64>], align 16 %5 = and i32 %2, -32 %6 = icmp sgt i32 %5, 0 @@ -2580,8 +2580,8 @@ define internal void @ConvertRGB24ToY_SSE2(ptr nocapture noundef readonly %0, pt ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal void @ConvertBGR24ToY_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @ConvertBGR24ToY_SSE2(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #0 { %4 = alloca [6 x <2 x i64>], align 16 %5 = and i32 %2, -32 %6 = icmp sgt i32 %5, 0 @@ -2758,7 +2758,7 @@ define internal void @ConvertBGR24ToY_SSE2(ptr nocapture noundef readonly %0, pt } ; Function Attrs: nounwind uwtable -define internal void @ConvertRGBA32ToUV_SSE2(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #5 { +define internal void @ConvertRGBA32ToUV_SSE2(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #3 { %5 = and i32 %3, -16 %6 = shl nsw i32 %5, 2 %7 = sext i32 %6 to i64 @@ -2892,7 +2892,7 @@ define internal void @ConvertRGBA32ToUV_SSE2(ptr noundef %0, ptr noundef %1, ptr 119: ; preds = %._crit_edge %120 = and i32 %3, 15 - tail call void @WebPConvertRGBA32ToUV_C(ptr noundef %.0.lcssa, ptr noundef %.026.lcssa, ptr noundef %.027.lcssa, i32 noundef %120) #10 + tail call void @WebPConvertRGBA32ToUV_C(ptr noundef %.0.lcssa, ptr noundef %.026.lcssa, ptr noundef %.027.lcssa, i32 noundef %120) #7 br label %121 121: ; preds = %119, %._crit_edge @@ -2900,41 +2900,38 @@ define internal void @ConvertRGBA32ToUV_SSE2(ptr noundef %0, ptr noundef %1, ptr } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <8 x i16> @llvm.x86.sse2.pmulhu.w(<8 x i16>, <8 x i16>) #7 +declare <8 x i16> @llvm.x86.sse2.pmulhu.w(<8 x i16>, <8 x i16>) #4 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <8 x i16> @llvm.uadd.sat.v8i16(<8 x i16>, <8 x i16>) #8 +declare <8 x i16> @llvm.uadd.sat.v8i16(<8 x i16>, <8 x i16>) #5 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <8 x i16> @llvm.usub.sat.v8i16(<8 x i16>, <8 x i16>) #8 +declare <8 x i16> @llvm.usub.sat.v8i16(<8 x i16>, <8 x i16>) #5 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <16 x i8> @llvm.x86.sse2.packuswb.128(<8 x i16>, <8 x i16>) #7 +declare <16 x i8> @llvm.x86.sse2.packuswb.128(<8 x i16>, <8 x i16>) #4 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <4 x i32> @llvm.x86.sse2.pmadd.wd(<8 x i16>, <8 x i16>) #7 +declare <4 x i32> @llvm.x86.sse2.pmadd.wd(<8 x i16>, <8 x i16>) #4 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <8 x i16> @llvm.x86.sse2.packssdw.128(<4 x i32>, <4 x i32>) #7 +declare <8 x i16> @llvm.x86.sse2.packssdw.128(<4 x i32>, <4 x i32>) #4 -declare void @WebPConvertARGBToUV_C(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #9 +declare void @WebPConvertARGBToUV_C(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #6 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <16 x i8> @llvm.x86.sse2.pavg.b(<16 x i8>, <16 x i8>) #7 +declare <16 x i8> @llvm.x86.sse2.pavg.b(<16 x i8>, <16 x i8>) #4 -declare void @WebPConvertRGBA32ToUV_C(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #9 +declare void @WebPConvertRGBA32ToUV_C(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #6 -attributes #0 = { nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 #0 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, 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 #3 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #5 = { nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #6 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(none) } -attributes #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #9 = { "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 #10 = { nounwind } +attributes #3 = { nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 nocallback nofree nosync nounwind willreturn memory(none) } +attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #6 = { "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 #7 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/libzmq/optimized/socks.cpp.ll b/bench/libzmq/optimized/socks.cpp.ll index 029389352e7..87f24db7105 100644 --- a/bench/libzmq/optimized/socks.cpp.ll +++ b/bench/libzmq/optimized/socks.cpp.ll @@ -77,8 +77,8 @@ entry: ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define void @_ZN3zmq24socks_greeting_encoder_t6encodeERKNS_16socks_greeting_tE(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(273) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(264) %greeting_) local_unnamed_addr #2 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @_ZN3zmq24socks_greeting_encoder_t6encodeERKNS_16socks_greeting_tE(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(273) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(264) %greeting_) local_unnamed_addr #1 align 2 { entry: %_buf = getelementptr inbounds i8, ptr %this, i64 16 %incdec.ptr = getelementptr inbounds i8, ptr %this, i64 17 @@ -122,7 +122,7 @@ for.end: ; preds = %for.end.loopexit, % } ; Function Attrs: mustprogress uwtable -define noundef i32 @_ZN3zmq24socks_greeting_encoder_t6outputEi(ptr noundef nonnull align 8 dereferenceable(273) %this, i32 noundef %fd_) local_unnamed_addr #3 align 2 { +define noundef i32 @_ZN3zmq24socks_greeting_encoder_t6outputEi(ptr noundef nonnull align 8 dereferenceable(273) %this, i32 noundef %fd_) local_unnamed_addr #2 align 2 { entry: %_buf = getelementptr inbounds i8, ptr %this, i64 16 %_bytes_written = getelementptr inbounds i8, ptr %this, i64 8 @@ -145,10 +145,10 @@ if.end: ; preds = %if.then, %entry ret i32 %call } -declare noundef i32 @_ZN3zmq9tcp_writeEiPKvm(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #4 +declare noundef i32 @_ZN3zmq9tcp_writeEiPKvm(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef zeroext i1 @_ZNK3zmq24socks_greeting_encoder_t16has_pending_dataEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(273) %this) local_unnamed_addr #5 align 2 { +define noundef zeroext i1 @_ZNK3zmq24socks_greeting_encoder_t16has_pending_dataEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(273) %this) local_unnamed_addr #4 align 2 { entry: %_bytes_written = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i64, ptr %_bytes_written, align 8 @@ -180,7 +180,7 @@ entry: } ; Function Attrs: mustprogress uwtable -define noundef i32 @_ZN3zmq22socks_choice_decoder_t5inputEi(ptr noundef nonnull align 8 dereferenceable(16) %this, i32 noundef %fd_) local_unnamed_addr #3 align 2 { +define noundef i32 @_ZN3zmq22socks_choice_decoder_t5inputEi(ptr noundef nonnull align 8 dereferenceable(16) %this, i32 noundef %fd_) local_unnamed_addr #2 align 2 { entry: %_bytes_read = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i64, ptr %_bytes_read, align 8 @@ -189,7 +189,7 @@ entry: if.then: ; preds = %entry %1 = load ptr, ptr @stderr, align 8 - %call = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 77) #11 + %call = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 77) #10 %2 = load ptr, ptr @stderr, align 8 %call2 = tail call i32 @fflush(ptr noundef %2) tail call void @_ZN3zmq9zmq_abortEPKc(ptr noundef nonnull @.str.1) @@ -222,17 +222,17 @@ return: ; preds = %if.then7, %if.end14 } ; Function Attrs: nofree nounwind -declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #6 +declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #5 ; Function Attrs: nofree nounwind -declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #6 +declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #5 -declare void @_ZN3zmq9zmq_abortEPKc(ptr noundef) local_unnamed_addr #4 +declare void @_ZN3zmq9zmq_abortEPKc(ptr noundef) local_unnamed_addr #3 -declare noundef i32 @_ZN3zmq8tcp_readEiPvm(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #4 +declare noundef i32 @_ZN3zmq8tcp_readEiPvm(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef zeroext i1 @_ZNK3zmq22socks_choice_decoder_t13message_readyEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #5 align 2 { +define noundef zeroext i1 @_ZNK3zmq22socks_choice_decoder_t13message_readyEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #4 align 2 { entry: %_bytes_read = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i64, ptr %_bytes_read, align 8 @@ -241,7 +241,7 @@ entry: } ; Function Attrs: mustprogress uwtable -define i8 @_ZN3zmq22socks_choice_decoder_t6decodeEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #3 align 2 { +define i8 @_ZN3zmq22socks_choice_decoder_t6decodeEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #2 align 2 { entry: %retval = alloca %"struct.zmq::socks_choice_t", align 1 %_bytes_read.i = getelementptr inbounds i8, ptr %this, i64 8 @@ -251,7 +251,7 @@ entry: if.then: ; preds = %entry %1 = load ptr, ptr @stderr, align 8 - %call2 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2, i32 noundef 94) #11 + %call2 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2, i32 noundef 94) #10 %2 = load ptr, ptr @stderr, align 8 %call3 = tail call i32 @fflush(ptr noundef %2) tail call void @_ZN3zmq9zmq_abortEPKc(ptr noundef nonnull @.str.3) @@ -274,7 +274,7 @@ entry: } ; Function Attrs: mustprogress uwtable -define void @_ZN3zmq26socks_basic_auth_request_tC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_(ptr noundef nonnull align 8 dereferenceable(64) %this, ptr noundef nonnull align 8 dereferenceable(32) %username_, ptr noundef nonnull align 8 dereferenceable(32) %password_) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 { +define void @_ZN3zmq26socks_basic_auth_request_tC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_(ptr noundef nonnull align 8 dereferenceable(64) %this, ptr noundef nonnull align 8 dereferenceable(32) %username_, ptr noundef nonnull align 8 dereferenceable(32) %password_) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 { entry: tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %this, ptr noundef nonnull align 8 dereferenceable(32) %username_) %password = getelementptr inbounds i8, ptr %this, i64 32 @@ -282,13 +282,13 @@ entry: to label %do.body unwind label %lpad do.body: ; preds = %entry - %call = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %username_) #12 + %call = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %username_) #11 %cmp = icmp ugt i64 %call, 255 br i1 %cmp, label %if.then, label %do.body8 if.then: ; preds = %do.body %0 = load ptr, ptr @stderr, align 8 - %call4 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.2, i32 noundef 108) #11 + %call4 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.2, i32 noundef 108) #10 %1 = load ptr, ptr @stderr, align 8 %call6 = tail call i32 @fflush(ptr noundef %1) invoke void @_ZN3zmq9zmq_abortEPKc(ptr noundef nonnull @.str.4) @@ -302,17 +302,17 @@ lpad: ; preds = %entry lpad2: ; preds = %if.then12, %if.then %3 = landingpad { ptr, i32 } cleanup - tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %password) #12 + tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %password) #11 br label %ehcleanup do.body8: ; preds = %do.body, %if.then - %call9 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %password_) #12 + %call9 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %password_) #11 %cmp10 = icmp ugt i64 %call9, 255 br i1 %cmp10, label %if.then12, label %do.end20 if.then12: ; preds = %do.body8 %4 = load ptr, ptr @stderr, align 8 - %call14 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %4, ptr noundef nonnull @.str, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.2, i32 noundef 109) #11 + %call14 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %4, ptr noundef nonnull @.str, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.2, i32 noundef 109) #10 %5 = load ptr, ptr @stderr, align 8 %call16 = tail call i32 @fflush(ptr noundef %5) invoke void @_ZN3zmq9zmq_abortEPKc(ptr noundef nonnull @.str.5) @@ -323,19 +323,19 @@ do.end20: ; preds = %if.then12, %do.body ehcleanup: ; preds = %lpad2, %lpad %.pn = phi { ptr, i32 } [ %3, %lpad2 ], [ %2, %lpad ] - tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %this) #12 + tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %this) #11 resume { ptr, i32 } %.pn } -declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 +declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #3 declare i32 @__gxx_personality_v0(...) ; Function Attrs: nounwind -declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #7 +declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6 ; Function Attrs: nounwind -declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #7 +declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #6 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @_ZN3zmq34socks_basic_auth_request_encoder_tC2Ev(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(529) %this) unnamed_addr #0 align 2 { @@ -345,29 +345,29 @@ entry: } ; Function Attrs: mustprogress nounwind uwtable -define void @_ZN3zmq34socks_basic_auth_request_encoder_t6encodeERKNS_26socks_basic_auth_request_tE(ptr noundef nonnull align 8 dereferenceable(529) %this, ptr noundef nonnull align 8 dereferenceable(64) %req_) local_unnamed_addr #8 align 2 { +define void @_ZN3zmq34socks_basic_auth_request_encoder_t6encodeERKNS_26socks_basic_auth_request_tE(ptr noundef nonnull align 8 dereferenceable(529) %this, ptr noundef nonnull align 8 dereferenceable(64) %req_) local_unnamed_addr #7 align 2 { entry: %_buf = getelementptr inbounds i8, ptr %this, i64 16 %incdec.ptr = getelementptr inbounds i8, ptr %this, i64 17 store i8 1, ptr %_buf, align 8 - %call = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %req_) #12 + %call = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %req_) #11 %conv = trunc i64 %call to i8 %incdec.ptr2 = getelementptr inbounds i8, ptr %this, i64 18 store i8 %conv, ptr %incdec.ptr, align 1 - %call4 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %req_) #12 - %call6 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %req_) #12 + %call4 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %req_) #11 + %call6 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %req_) #11 tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 2 %incdec.ptr2, ptr align 1 %call4, i64 %call6, i1 false) - %call8 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %req_) #12 + %call8 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %req_) #11 %add.ptr = getelementptr inbounds i8, ptr %incdec.ptr2, i64 %call8 %password = getelementptr inbounds i8, ptr %req_, i64 32 - %call9 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %password) #12 + %call9 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %password) #11 %conv10 = trunc i64 %call9 to i8 %incdec.ptr11 = getelementptr inbounds i8, ptr %add.ptr, i64 1 store i8 %conv10, ptr %add.ptr, align 1 - %call13 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %password) #12 - %call15 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %password) #12 + %call13 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %password) #11 + %call15 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %password) #11 tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %incdec.ptr11, ptr align 1 %call13, i64 %call15, i1 false) - %call17 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %password) #12 + %call17 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %password) #11 %add.ptr18 = getelementptr inbounds i8, ptr %incdec.ptr11, i64 %call17 %sub.ptr.lhs.cast = ptrtoint ptr %add.ptr18 to i64 %sub.ptr.rhs.cast = ptrtoint ptr %_buf to i64 @@ -379,13 +379,13 @@ entry: } ; Function Attrs: nounwind -declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #7 +declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #9 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #8 ; Function Attrs: mustprogress uwtable -define noundef i32 @_ZN3zmq34socks_basic_auth_request_encoder_t6outputEi(ptr noundef nonnull align 8 dereferenceable(529) %this, i32 noundef %fd_) local_unnamed_addr #3 align 2 { +define noundef i32 @_ZN3zmq34socks_basic_auth_request_encoder_t6outputEi(ptr noundef nonnull align 8 dereferenceable(529) %this, i32 noundef %fd_) local_unnamed_addr #2 align 2 { entry: %_buf = getelementptr inbounds i8, ptr %this, i64 16 %_bytes_written = getelementptr inbounds i8, ptr %this, i64 8 @@ -409,7 +409,7 @@ if.end: ; preds = %if.then, %entry } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef zeroext i1 @_ZNK3zmq34socks_basic_auth_request_encoder_t16has_pending_dataEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(529) %this) local_unnamed_addr #5 align 2 { +define noundef zeroext i1 @_ZNK3zmq34socks_basic_auth_request_encoder_t16has_pending_dataEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(529) %this) local_unnamed_addr #4 align 2 { entry: %_bytes_written = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i64, ptr %_bytes_written, align 8 @@ -441,7 +441,7 @@ entry: } ; Function Attrs: mustprogress uwtable -define noundef i32 @_ZN3zmq29socks_auth_response_decoder_t5inputEi(ptr noundef nonnull align 8 dereferenceable(16) %this, i32 noundef %fd_) local_unnamed_addr #3 align 2 { +define noundef i32 @_ZN3zmq29socks_auth_response_decoder_t5inputEi(ptr noundef nonnull align 8 dereferenceable(16) %this, i32 noundef %fd_) local_unnamed_addr #2 align 2 { entry: %_bytes_read = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i64, ptr %_bytes_read, align 8 @@ -450,7 +450,7 @@ entry: if.then: ; preds = %entry %1 = load ptr, ptr @stderr, align 8 - %call = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 166) #11 + %call = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 166) #10 %2 = load ptr, ptr @stderr, align 8 %call2 = tail call i32 @fflush(ptr noundef %2) tail call void @_ZN3zmq9zmq_abortEPKc(ptr noundef nonnull @.str.1) @@ -483,7 +483,7 @@ return: ; preds = %if.then7, %if.end14 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef zeroext i1 @_ZNK3zmq29socks_auth_response_decoder_t13message_readyEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #5 align 2 { +define noundef zeroext i1 @_ZNK3zmq29socks_auth_response_decoder_t13message_readyEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #4 align 2 { entry: %_bytes_read = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i64, ptr %_bytes_read, align 8 @@ -492,7 +492,7 @@ entry: } ; Function Attrs: mustprogress uwtable -define i8 @_ZN3zmq29socks_auth_response_decoder_t6decodeEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #3 align 2 { +define i8 @_ZN3zmq29socks_auth_response_decoder_t6decodeEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %this) local_unnamed_addr #2 align 2 { entry: %retval = alloca %"struct.zmq::socks_auth_response_t", align 1 %_bytes_read.i = getelementptr inbounds i8, ptr %this, i64 8 @@ -502,7 +502,7 @@ entry: if.then: ; preds = %entry %1 = load ptr, ptr @stderr, align 8 - %call2 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2, i32 noundef 183) #11 + %call2 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %1, ptr noundef nonnull @.str, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2, i32 noundef 183) #10 %2 = load ptr, ptr @stderr, align 8 %call3 = tail call i32 @fflush(ptr noundef %2) tail call void @_ZN3zmq9zmq_abortEPKc(ptr noundef nonnull @.str.3) @@ -525,20 +525,20 @@ entry: } ; Function Attrs: mustprogress uwtable -define void @_ZN3zmq15socks_request_tC2EhNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEt(ptr noundef nonnull align 8 dereferenceable(42) %this, i8 noundef zeroext %command_, ptr noundef nonnull %hostname_, i16 noundef zeroext %port_) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 { +define void @_ZN3zmq15socks_request_tC2EhNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEt(ptr noundef nonnull align 8 dereferenceable(42) %this, i8 noundef zeroext %command_, ptr noundef nonnull %hostname_, i16 noundef zeroext %port_) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 { entry: store i8 %command_, ptr %this, align 8 %hostname = getelementptr inbounds i8, ptr %this, i64 8 - tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %hostname, ptr noundef nonnull align 8 dereferenceable(32) %hostname_) #12 + tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %hostname, ptr noundef nonnull align 8 dereferenceable(32) %hostname_) #11 %port = getelementptr inbounds i8, ptr %this, i64 40 store i16 %port_, ptr %port, align 8 - %call = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %hostname) #12 + %call = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %hostname) #11 %cmp = icmp ugt i64 %call, 255 br i1 %cmp, label %if.then, label %do.end if.then: ; preds = %entry %0 = load ptr, ptr @stderr, align 8 - %call3 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.2, i32 noundef 198) #11 + %call3 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.2, i32 noundef 198) #10 %1 = load ptr, ptr @stderr, align 8 %call5 = tail call i32 @fflush(ptr noundef %1) invoke void @_ZN3zmq9zmq_abortEPKc(ptr noundef nonnull @.str.6) @@ -547,7 +547,7 @@ if.then: ; preds = %entry lpad: ; preds = %if.then %2 = landingpad { ptr, i32 } cleanup - tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %hostname) #12 + tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %hostname) #11 resume { ptr, i32 } %2 do.end: ; preds = %if.then, %entry @@ -555,7 +555,7 @@ do.end: ; preds = %if.then, %entry } ; Function Attrs: nounwind -declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #7 +declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #6 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @_ZN3zmq23socks_request_encoder_tC2Ev(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(278) %this) unnamed_addr #0 align 2 { @@ -565,18 +565,18 @@ entry: } ; Function Attrs: mustprogress uwtable -define void @_ZN3zmq23socks_request_encoder_t6encodeERKNS_15socks_request_tE(ptr noundef nonnull align 8 dereferenceable(278) %this, ptr noundef nonnull align 8 dereferenceable(42) %req_) local_unnamed_addr #3 align 2 { +define void @_ZN3zmq23socks_request_encoder_t6encodeERKNS_15socks_request_tE(ptr noundef nonnull align 8 dereferenceable(278) %this, ptr noundef nonnull align 8 dereferenceable(42) %req_) local_unnamed_addr #2 align 2 { entry: %hints = alloca %struct.addrinfo, align 8 %res = alloca ptr, align 8 %hostname = getelementptr inbounds i8, ptr %req_, i64 8 - %call = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %hostname) #12 + %call = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %hostname) #11 %cmp = icmp ugt i64 %call, 255 br i1 %cmp, label %if.then, label %do.end if.then: ; preds = %entry %0 = load ptr, ptr @stderr, align 8 - %call2 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.2, i32 noundef 208) #11 + %call2 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.2, i32 noundef 208) #10 %1 = load ptr, ptr @stderr, align 8 %call3 = tail call i32 @fflush(ptr noundef %1) tail call void @_ZN3zmq9zmq_abortEPKc(ptr noundef nonnull @.str.7) @@ -594,7 +594,7 @@ do.end: ; preds = %entry, %if.then store ptr null, ptr %res, align 8 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %hints, i8 0, i64 48, i1 false) store i32 4, ptr %hints, align 8 - %call7 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %hostname) #12 + %call7 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %hostname) #11 %call8 = call i32 @getaddrinfo(ptr noundef %call7, ptr noundef null, ptr noundef nonnull %hints, ptr noundef nonnull %res) %cmp9 = icmp eq i32 %call8, 0 br i1 %cmp9, label %land.lhs.true, label %if.end34 @@ -632,14 +632,14 @@ if.then17: ; preds = %land.lhs.true if.end34: ; preds = %land.lhs.true, %do.end %incdec.ptr22 = getelementptr inbounds i8, ptr %this, i64 20 store i8 3, ptr %incdec.ptr5, align 1 - %call24 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %hostname) #12 + %call24 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %hostname) #11 %conv = trunc i64 %call24 to i8 %incdec.ptr25 = getelementptr inbounds i8, ptr %this, i64 21 store i8 %conv, ptr %incdec.ptr22, align 4 - %call27 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %hostname) #12 - %call29 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %hostname) #12 + %call27 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %hostname) #11 + %call29 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %hostname) #11 call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %incdec.ptr25, ptr align 1 %call27, i64 %call29, i1 false) - %call31 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %hostname) #12 + %call31 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %hostname) #11 %add.ptr32 = getelementptr inbounds i8, ptr %incdec.ptr25, i64 %call31 br i1 %cmp9, label %if.end34.if.then36_crit_edge, label %if.end37 @@ -650,7 +650,7 @@ if.end34.if.then36_crit_edge: ; preds = %if.end34 if.then36: ; preds = %if.end34.if.then36_crit_edge, %if.then11, %if.then17 %8 = phi ptr [ %.pre, %if.end34.if.then36_crit_edge ], [ %3, %if.then17 ], [ %3, %if.then11 ] %ptr.028 = phi ptr [ %add.ptr32, %if.end34.if.then36_crit_edge ], [ %add.ptr20, %if.then17 ], [ %add.ptr, %if.then11 ] - call void @freeaddrinfo(ptr noundef %8) #12 + call void @freeaddrinfo(ptr noundef %8) #11 br label %if.end37 if.end37: ; preds = %if.then36, %if.end34 @@ -675,15 +675,15 @@ if.end37: ; preds = %if.then36, %if.end3 } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #10 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #9 -declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4 +declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: nounwind -declare void @freeaddrinfo(ptr noundef) local_unnamed_addr #7 +declare void @freeaddrinfo(ptr noundef) local_unnamed_addr #6 ; Function Attrs: mustprogress uwtable -define noundef i32 @_ZN3zmq23socks_request_encoder_t6outputEi(ptr noundef nonnull align 8 dereferenceable(278) %this, i32 noundef %fd_) local_unnamed_addr #3 align 2 { +define noundef i32 @_ZN3zmq23socks_request_encoder_t6outputEi(ptr noundef nonnull align 8 dereferenceable(278) %this, i32 noundef %fd_) local_unnamed_addr #2 align 2 { entry: %_buf = getelementptr inbounds i8, ptr %this, i64 16 %_bytes_written = getelementptr inbounds i8, ptr %this, i64 8 @@ -707,7 +707,7 @@ if.end: ; preds = %if.then, %entry } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef zeroext i1 @_ZNK3zmq23socks_request_encoder_t16has_pending_dataEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(278) %this) local_unnamed_addr #5 align 2 { +define noundef zeroext i1 @_ZNK3zmq23socks_request_encoder_t16has_pending_dataEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(278) %this) local_unnamed_addr #4 align 2 { entry: %_bytes_written = getelementptr inbounds i8, ptr %this, i64 8 %0 = load i64, ptr %_bytes_written, align 8 @@ -724,7 +724,7 @@ entry: } ; Function Attrs: mustprogress uwtable -define void @_ZN3zmq16socks_response_tC2EhRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEt(ptr noundef nonnull align 8 dereferenceable(42) %this, i8 noundef zeroext %response_code_, ptr noundef nonnull align 8 dereferenceable(32) %address_, i16 noundef zeroext %port_) unnamed_addr #3 align 2 { +define void @_ZN3zmq16socks_response_tC2EhRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEt(ptr noundef nonnull align 8 dereferenceable(42) %this, i8 noundef zeroext %response_code_, ptr noundef nonnull align 8 dereferenceable(32) %address_, i16 noundef zeroext %port_) unnamed_addr #2 align 2 { entry: store i8 %response_code_, ptr %this, align 8 %address = getelementptr inbounds i8, ptr %this, i64 8 @@ -743,7 +743,7 @@ entry: } ; Function Attrs: mustprogress uwtable -define noundef i32 @_ZN3zmq24socks_response_decoder_t5inputEi(ptr noundef nonnull align 8 dereferenceable(272) %this, i32 noundef %fd_) local_unnamed_addr #3 align 2 { +define noundef i32 @_ZN3zmq24socks_response_decoder_t5inputEi(ptr noundef nonnull align 8 dereferenceable(272) %this, i32 noundef %fd_) local_unnamed_addr #2 align 2 { entry: %_bytes_read = getelementptr inbounds i8, ptr %this, i64 264 %0 = load i64, ptr %_bytes_read, align 8 @@ -765,7 +765,7 @@ if.else: ; preds = %entry lor.rhs: ; preds = %if.else %2 = load ptr, ptr @stderr, align 8 - %call = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 294) #11 + %call = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 294) #10 %3 = load ptr, ptr @stderr, align 8 %call10 = tail call i32 @fflush(ptr noundef %3) tail call void @_ZN3zmq9zmq_abortEPKc(ptr noundef nonnull @.str.8) @@ -837,7 +837,7 @@ return: ; preds = %if.then66, %if.end5 } ; Function Attrs: mustprogress uwtable -define noundef zeroext i1 @_ZNK3zmq24socks_response_decoder_t13message_readyEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(272) %this) local_unnamed_addr #3 align 2 { +define noundef zeroext i1 @_ZNK3zmq24socks_response_decoder_t13message_readyEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(272) %this) local_unnamed_addr #2 align 2 { entry: %_bytes_read = getelementptr inbounds i8, ptr %this, i64 264 %0 = load i64, ptr %_bytes_read, align 8 @@ -855,7 +855,7 @@ if.end: ; preds = %entry lor.rhs: ; preds = %if.end %2 = load ptr, ptr @stderr, align 8 - %call = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 328) #11 + %call = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 328) #10 %3 = load ptr, ptr @stderr, align 8 %call9 = tail call i32 @fflush(ptr noundef %3) tail call void @_ZN3zmq9zmq_abortEPKc(ptr noundef nonnull @.str.8) @@ -888,7 +888,7 @@ return: ; preds = %entry, %if.end29, % } ; Function Attrs: mustprogress uwtable -define void @_ZN3zmq24socks_response_decoder_t6decodeEv(ptr noalias sret(%"struct.zmq::socks_response_t") align 8 %agg.result, ptr nocapture noundef nonnull readonly align 8 dereferenceable(272) %this) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 { +define void @_ZN3zmq24socks_response_decoder_t6decodeEv(ptr noalias sret(%"struct.zmq::socks_response_t") align 8 %agg.result, ptr nocapture noundef nonnull readonly align 8 dereferenceable(272) %this) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 { entry: %ref.tmp = alloca %"class.std::__cxx11::basic_string", align 8 %ref.tmp4 = alloca %"class.std::allocator", align 1 @@ -908,7 +908,7 @@ if.end.i: ; preds = %entry lor.rhs.i: ; preds = %if.end.i %2 = load ptr, ptr @stderr, align 8 - %call.i = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 328) #11 + %call.i = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %2, ptr noundef nonnull @.str, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.2, i32 noundef 328) #10 %3 = load ptr, ptr @stderr, align 8 %call9.i = tail call i32 @fflush(ptr noundef %3) tail call void @_ZN3zmq9zmq_abortEPKc(ptr noundef nonnull @.str.8) @@ -937,7 +937,7 @@ _ZNK3zmq24socks_response_decoder_t13message_readyEv.exit: ; preds = %if.end.i, % if.then: ; preds = %entry, %if.then19.i, %if.then13.i, %_ZNK3zmq24socks_response_decoder_t13message_readyEv.exit %7 = load ptr, ptr @stderr, align 8 - %call2 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef nonnull @.str, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2, i32 noundef 339) #11 + %call2 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef nonnull @.str, ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2, i32 noundef 339) #10 %8 = load ptr, ptr @stderr, align 8 %call3 = tail call i32 @fflush(ptr noundef %8) tail call void @_ZN3zmq9zmq_abortEPKc(ptr noundef nonnull @.str.3) @@ -946,7 +946,7 @@ if.then: ; preds = %entry, %if.then19.i do.end: ; preds = %if.then19.i, %if.then13.i, %_ZNK3zmq24socks_response_decoder_t13message_readyEv.exit, %if.then %arrayidx = getelementptr inbounds i8, ptr %this, i64 1 %9 = load i8, ptr %arrayidx, align 1 - call void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp4) #12 + call void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp4) #11 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %ref.tmp, ptr noundef nonnull @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp4) to label %invoke.cont unwind label %lpad @@ -955,8 +955,8 @@ invoke.cont: ; preds = %do.end to label %invoke.cont6 unwind label %lpad5 invoke.cont6: ; preds = %invoke.cont - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %ref.tmp) #12 - call void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp4) #12 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %ref.tmp) #11 + call void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp4) #11 ret void lpad: ; preds = %do.end @@ -967,22 +967,22 @@ lpad: ; preds = %do.end lpad5: ; preds = %invoke.cont %11 = landingpad { ptr, i32 } cleanup - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %ref.tmp) #12 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %ref.tmp) #11 br label %ehcleanup ehcleanup: ; preds = %lpad5, %lpad %.pn = phi { ptr, i32 } [ %11, %lpad5 ], [ %10, %lpad ] - call void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp4) #12 + call void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp4) #11 resume { ptr, i32 } %.pn } ; Function Attrs: nounwind -declare void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #7 +declare void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 -declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #4 +declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 ; Function Attrs: nounwind -declare void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #7 +declare void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define void @_ZN3zmq24socks_response_decoder_t5resetEv(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(272) %this) local_unnamed_addr #0 align 2 { @@ -994,17 +994,16 @@ entry: attributes #0 = { 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 #1 = { mustprogress 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 #2 = { mustprogress nofree norecurse nosync nounwind 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 #3 = { mustprogress 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 #4 = { "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 #5 = { 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 #6 = { 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 #7 = { 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 #8 = { mustprogress 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 #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #10 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #11 = { cold } -attributes #12 = { nounwind } +attributes #2 = { mustprogress 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 #3 = { "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 #4 = { 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 #5 = { 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 #6 = { 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 #7 = { mustprogress 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 #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #10 = { cold } +attributes #11 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/lief/optimized/camellia.c.ll b/bench/lief/optimized/camellia.c.ll index 18b0c02401e..d66a38d55ea 100644 --- a/bench/lief/optimized/camellia.c.ll +++ b/bench/lief/optimized/camellia.c.ll @@ -48,7 +48,7 @@ define hidden void @mbedtls_camellia_free(ptr noundef %0) local_unnamed_addr #2 br i1 %2, label %4, label %3 3: ; preds = %1 - tail call void @mbedtls_platform_zeroize(ptr noundef nonnull %0, i64 noundef 276) #13 + tail call void @mbedtls_platform_zeroize(ptr noundef nonnull %0, i64 noundef 276) #11 br label %4 4: ; preds = %1, %3 @@ -1091,12 +1091,12 @@ define hidden range(i32 -36, 1) i32 @mbedtls_camellia_setkey_dec(ptr nocapture n br label %26 26: ; preds = %3, %23 - call void @mbedtls_platform_zeroize(ptr noundef nonnull %4, i64 noundef 276) #13 + call void @mbedtls_platform_zeroize(ptr noundef nonnull %4, i64 noundef 276) #11 ret i32 %5 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden noundef i32 @mbedtls_camellia_crypt_ecb(ptr nocapture noundef readonly %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden noundef i32 @mbedtls_camellia_crypt_ecb(ptr nocapture noundef readonly %0, i32 %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #4 { %5 = load i32, ptr %0, align 4 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = load i8, ptr %2, align 1 @@ -1728,8 +1728,8 @@ define hidden noundef i32 @mbedtls_camellia_crypt_ecb(ptr nocapture noundef read ret i32 0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden range(i32 -38, 1) i32 @mbedtls_camellia_crypt_cbc(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2, ptr nocapture noundef %3, ptr nocapture noundef readonly %4, ptr nocapture noundef %5) local_unnamed_addr #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden range(i32 -38, 1) i32 @mbedtls_camellia_crypt_cbc(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2, ptr nocapture noundef %3, ptr nocapture noundef readonly %4, ptr nocapture noundef %5) local_unnamed_addr #4 { %7 = alloca [16 x i8], align 16 %8 = and i64 %2, 15 %.not = icmp eq i64 %8, 0 @@ -1808,10 +1808,10 @@ define hidden range(i32 -38, 1) i32 @mbedtls_camellia_crypt_cbc(ptr nocapture no } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden range(i32 -36, 1) i32 @mbedtls_camellia_crypt_cfb128(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2, ptr nocapture noundef %3, ptr nocapture noundef %4, ptr nocapture noundef readonly %5, ptr nocapture noundef writeonly %6) local_unnamed_addr #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden range(i32 -36, 1) i32 @mbedtls_camellia_crypt_cfb128(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2, ptr nocapture noundef %3, ptr nocapture noundef %4, ptr nocapture noundef readonly %5, ptr nocapture noundef writeonly %6) local_unnamed_addr #4 { %8 = load i64, ptr %3, align 8 %9 = icmp ugt i64 %8, 15 br i1 %9, label %38, label %10 @@ -1891,8 +1891,8 @@ define hidden range(i32 -36, 1) i32 @mbedtls_camellia_crypt_cfb128(ptr nocapture ret i32 %.031 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden range(i32 -36, 1) i32 @mbedtls_camellia_crypt_ctr(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, ptr nocapture noundef %4, ptr nocapture noundef readonly %5, ptr nocapture noundef writeonly %6) local_unnamed_addr #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden range(i32 -36, 1) i32 @mbedtls_camellia_crypt_ctr(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, ptr nocapture noundef %4, ptr nocapture noundef readonly %5, ptr nocapture noundef writeonly %6) local_unnamed_addr #4 { %8 = load i64, ptr %2, align 8 %9 = icmp ugt i64 %8, 15 br i1 %9, label %29, label %.preheader @@ -2043,7 +2043,7 @@ define hidden range(i32 0, 2) i32 @mbedtls_camellia_self_test(i32 noundef %0) lo br label %mbedtls_camellia_setkey_dec.exit.us mbedtls_camellia_setkey_dec.exit.us: ; preds = %44, %.split.us - call void @mbedtls_platform_zeroize(ptr noundef nonnull %3, i64 noundef 276) #13 + call void @mbedtls_platform_zeroize(ptr noundef nonnull %3, i64 noundef 276) #11 call void @llvm.lifetime.end.p0(i64 276, ptr nonnull %3) %47 = getelementptr inbounds [3 x [2 x [16 x i8]]], ptr @camellia_test_ecb_cipher, i64 0, i64 %21, i64 %indvars.iv156 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %6, ptr noundef nonnull align 16 dereferenceable(16) %47, i64 16, i1 false) @@ -2141,7 +2141,7 @@ mbedtls_camellia_setkey_dec.exit.us: ; preds = %44, %.split.us br i1 %.not.i103, label %82, label %.thread174 .thread174: ; preds = %80 - call void @mbedtls_platform_zeroize(ptr noundef nonnull %2, i64 noundef 276) #13 + call void @mbedtls_platform_zeroize(ptr noundef nonnull %2, i64 noundef 276) #11 call void @llvm.lifetime.end.p0(i64 276, ptr nonnull %2) br label %.split82.us.preheader @@ -2179,7 +2179,7 @@ mbedtls_camellia_setkey_dec.exit.us: ; preds = %44, %.split.us %98 = getelementptr inbounds i8, ptr %.pn195, i64 -24 %99 = load <4 x i32>, ptr %98, align 4 store <4 x i32> %99, ptr %93, align 4 - call void @mbedtls_platform_zeroize(ptr noundef nonnull %2, i64 noundef 276) #13 + call void @mbedtls_platform_zeroize(ptr noundef nonnull %2, i64 noundef 276) #11 call void @llvm.lifetime.end.p0(i64 276, ptr nonnull %2) br i1 %77, label %.split82.us.preheader, label %.split84.preheader @@ -2448,45 +2448,43 @@ mbedtls_camellia_crypt_ctr.exit132: ; preds = %.loopexit.i123 .loopexit: ; preds = %186, %189, %183, %184, %161, %162, %.split147.us, %121, %.split140.us, %57 %.0 = phi i32 [ 1, %57 ], [ 1, %.split140.us ], [ 1, %121 ], [ 1, %.split147.us ], [ 1, %162 ], [ 1, %161 ], [ 1, %184 ], [ 1, %183 ], [ 0, %189 ], [ 0, %186 ] - call void @mbedtls_platform_zeroize(ptr noundef nonnull %11, i64 noundef 276) #13 + call void @mbedtls_platform_zeroize(ptr noundef nonnull %11, i64 noundef 276) #11 ret i32 %.0 } ; Function Attrs: nofree nounwind -declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #8 +declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #6 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #9 +declare i32 @llvm.fshl.i32(i32, i32, i32) #7 ; Function Attrs: nofree nounwind -declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #10 +declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #8 ; Function Attrs: nofree nounwind willreturn memory(argmem: read) -declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #11 +declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #9 ; Function Attrs: nofree nounwind -declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #10 +declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #8 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #12 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #10 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #12 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #10 attributes #0 = { 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 #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { 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 #3 = { "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 #4 = { 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 #5 = { 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 #6 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #8 = { 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 #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #10 = { nofree nounwind } -attributes #11 = { nofree nounwind willreturn memory(argmem: read) } -attributes #12 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #13 = { nounwind } +attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #6 = { 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 #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #8 = { nofree nounwind } +attributes #9 = { nofree nounwind willreturn memory(argmem: read) } +attributes #10 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #11 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/linux/optimized/aes.ll b/bench/linux/optimized/aes.ll index 6af5f416474..9ad74a51641 100644 --- a/bench/linux/optimized/aes.ll +++ b/bench/linux/optimized/aes.ll @@ -392,8 +392,8 @@ define dso_local noundef range(i32 -22, 1) i32 @aes_expandkey(ptr nocapture noun ret i32 %309 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: readwrite) -define dso_local void @aes_encrypt(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) #1 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nounwind null_pointer_is_valid memory(argmem: readwrite, inaccessiblemem: readwrite) +define dso_local void @aes_encrypt(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) #0 align 16 { %4 = getelementptr i8, ptr %0, i64 16 %5 = getelementptr inbounds i8, ptr %0, i64 480 %6 = load i32, ptr %5, align 4 @@ -912,8 +912,8 @@ define dso_local void @aes_encrypt(ptr nocapture noundef readonly %0, ptr nocapt ret void } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: readwrite) -define dso_local void @aes_decrypt(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) #1 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nounwind null_pointer_is_valid memory(argmem: readwrite, inaccessiblemem: readwrite) +define dso_local void @aes_decrypt(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef readonly %2) #0 align 16 { %4 = getelementptr inbounds i8, ptr %0, i64 240 %5 = getelementptr i8, ptr %0, i64 256 %6 = getelementptr inbounds i8, ptr %0, i64 480 @@ -1538,11 +1538,10 @@ define dso_local void @aes_decrypt(ptr nocapture noundef readonly %0, ptr nocapt } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #2 +declare i32 @llvm.fshl.i32(i32, i32, i32) #1 attributes #0 = { fn_ret_thunk_extern nofree norecurse nounwind null_pointer_is_valid memory(argmem: readwrite, inaccessiblemem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #1 = { fn_ret_thunk_extern nofree norecurse nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/linux/optimized/bitmap.ll b/bench/linux/optimized/bitmap.ll index 88e4657ba47..cee33348a09 100644 --- a/bench/linux/optimized/bitmap.ll +++ b/bench/linux/optimized/bitmap.ll @@ -762,7 +762,7 @@ define dso_local i32 @__bitmap_weight(ptr nocapture noundef readonly %0, i32 nou %9 = phi i32 [ 0, %4 ], [ %14, %7 ] %10 = getelementptr i64, ptr %0, i64 %8 %11 = load i64, ptr %10, align 8 - %12 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %11) #12, !srcloc !21 + %12 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %11) #11, !srcloc !21 %13 = trunc i64 %12 to i32 %14 = add i32 %9, %13 %15 = add nuw nsw i64 %8, 1 @@ -784,7 +784,7 @@ define dso_local i32 @__bitmap_weight(ptr nocapture noundef readonly %0, i32 nou %26 = zext nneg i32 %25 to i64 %27 = lshr i64 -1, %26 %28 = and i64 %23, %27 - %29 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %28) #12, !srcloc !21 + %29 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %28) #11, !srcloc !21 %30 = trunc i64 %29 to i32 %31 = add i32 %18, %30 br label %32 @@ -812,7 +812,7 @@ define dso_local i32 @__bitmap_weight_and(ptr nocapture noundef readonly %0, ptr %13 = getelementptr i64, ptr %0, i64 %9 %14 = load i64, ptr %13, align 8 %15 = and i64 %14, %12 - %16 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %15) #12, !srcloc !21 + %16 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %15) #11, !srcloc !21 %17 = trunc i64 %16 to i32 %18 = add i32 %10, %17 %19 = add nuw nsw i64 %9, 1 @@ -837,7 +837,7 @@ define dso_local i32 @__bitmap_weight_and(ptr nocapture noundef readonly %0, ptr %33 = lshr i64 -1, %32 %34 = and i64 %27, %33 %35 = and i64 %34, %29 - %36 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %35) #12, !srcloc !21 + %36 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %35) #11, !srcloc !21 %37 = trunc i64 %36 to i32 %38 = add i32 %22, %37 br label %39 @@ -847,8 +847,8 @@ define dso_local i32 @__bitmap_weight_and(ptr nocapture noundef readonly %0, ptr ret i32 %40 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define dso_local void @__bitmap_set(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #6 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) +define dso_local void @__bitmap_set(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #2 align 16 { %4 = lshr i32 %1, 6 %5 = zext nneg i32 %4 to i64 %6 = getelementptr i64, ptr %0, i64 %5 @@ -899,8 +899,8 @@ define dso_local void @__bitmap_set(ptr nocapture noundef %0, i32 noundef %1, i3 ret void } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define dso_local void @__bitmap_clear(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #6 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) +define dso_local void @__bitmap_clear(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) #2 align 16 { %4 = lshr i32 %1, 6 %5 = zext nneg i32 %4 to i64 %6 = getelementptr i64, ptr %0, i64 %5 @@ -957,7 +957,7 @@ define dso_local void @__bitmap_clear(ptr nocapture noundef %0, i32 noundef %1, } ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define dso_local i64 @bitmap_find_next_zero_area_off(ptr noundef %0, i64 noundef %1, i64 noundef %2, i32 noundef %3, i64 noundef %4, i64 noundef %5) #7 align 16 { +define dso_local i64 @bitmap_find_next_zero_area_off(ptr noundef %0, i64 noundef %1, i64 noundef %2, i32 noundef %3, i64 noundef %4, i64 noundef %5) #6 align 16 { %7 = add i64 %5, %4 %8 = xor i64 %4, -1 %9 = zext i32 %3 to i64 @@ -965,7 +965,7 @@ define dso_local i64 @bitmap_find_next_zero_area_off(ptr noundef %0, i64 noundef 10: ; preds = %18, %6 %11 = phi i64 [ %2, %6 ], [ %21, %18 ] - %12 = tail call i64 @_find_next_zero_bit(ptr noundef %0, i64 noundef %1, i64 noundef %11) #13 + %12 = tail call i64 @_find_next_zero_bit(ptr noundef %0, i64 noundef %1, i64 noundef %11) #12 %13 = add i64 %7, %12 %14 = and i64 %13, %8 %15 = sub i64 %14, %5 @@ -974,7 +974,7 @@ define dso_local i64 @bitmap_find_next_zero_area_off(ptr noundef %0, i64 noundef br i1 %17, label %22, label %18 18: ; preds = %10 - %19 = tail call i64 @_find_next_bit(ptr noundef %0, i64 noundef %16, i64 noundef %15) #13 + %19 = tail call i64 @_find_next_bit(ptr noundef %0, i64 noundef %16, i64 noundef %15) #12 %20 = icmp ult i64 %19, %16 %21 = add nuw i64 %19, 1 br i1 %20, label %10, label %22 @@ -985,7 +985,7 @@ define dso_local i64 @bitmap_find_next_zero_area_off(ptr noundef %0, i64 noundef } ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define dso_local void @bitmap_remap(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #7 align 16 { +define dso_local void @bitmap_remap(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #6 align 16 { %6 = icmp eq ptr %0, %1 br i1 %6, label %.loopexit, label %7 @@ -1008,7 +1008,7 @@ define dso_local void @bitmap_remap(ptr noundef %0, ptr noundef %1, ptr noundef %18 = phi i32 [ 0, %13 ], [ %23, %16 ] %19 = getelementptr i64, ptr %3, i64 %17 %20 = load i64, ptr %19, align 8 - %21 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %20) #12, !srcloc !21 + %21 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %20) #11, !srcloc !21 %22 = trunc i64 %21 to i32 %23 = add i32 %18, %22 %24 = add nuw nsw i64 %17, 1 @@ -1030,7 +1030,7 @@ define dso_local void @bitmap_remap(ptr noundef %0, ptr noundef %1, ptr noundef %35 = zext nneg i32 %34 to i64 %36 = lshr i64 -1, %35 %37 = and i64 %32, %36 - %38 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %37) #12, !srcloc !21 + %38 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %37) #11, !srcloc !21 %39 = trunc i64 %38 to i32 %40 = add i32 %27, %39 br label %41 @@ -1038,7 +1038,7 @@ define dso_local void @bitmap_remap(ptr noundef %0, ptr noundef %1, ptr noundef 41: ; preds = %30, %.loopexit21 %42 = phi i32 [ %40, %30 ], [ %27, %.loopexit21 ] %.fr12 = freeze i32 %42 - %43 = tail call i64 @_find_next_bit(ptr noundef %1, i64 noundef %8, i64 noundef 0) #13 + %43 = tail call i64 @_find_next_bit(ptr noundef %1, i64 noundef %8, i64 noundef 0) #12 %44 = trunc i64 %43 to i32 %45 = icmp ult i32 %44, %4 br i1 %45, label %.lr.ph, label %.loopexit @@ -1051,7 +1051,7 @@ define dso_local void @bitmap_remap(ptr noundef %0, ptr noundef %1, ptr noundef %47 = phi i32 [ %79, %.thread.us ], [ %44, %.lr.ph ] %48 = phi i64 [ %78, %.thread.us ], [ %43, %.lr.ph ] %49 = and i64 %48, 4294967295 - %50 = tail call i8 asm sideeffect " btq $2,$1\0A\09/* output condition code c*/\0A", "={@ccc},*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %2, i64 %49) #13, !srcloc !26 + %50 = tail call i8 asm sideeffect " btq $2,$1\0A\09/* output condition code c*/\0A", "={@ccc},*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %2, i64 %49) #12, !srcloc !26 %51 = icmp ult i8 %50, 2 tail call void @llvm.assume(i1 %51) %52 = icmp eq i8 %50, 0 @@ -1070,7 +1070,7 @@ define dso_local void @bitmap_remap(ptr noundef %0, ptr noundef %1, ptr noundef %59 = phi i64 [ 0, %55 ], [ %63, %58 ] %60 = getelementptr i64, ptr %2, i64 %59 %61 = load i64, ptr %60, align 8 - %62 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %61) #12, !srcloc !21 + %62 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %61) #11, !srcloc !21 %63 = add nuw nsw i64 %59, 1 %64 = icmp eq i64 %63, %57 br i1 %64, label %.loopexit18, label %58, !llvm.loop !22 @@ -1088,14 +1088,14 @@ define dso_local void @bitmap_remap(ptr noundef %0, ptr noundef %1, ptr noundef %72 = and i64 %71, 63 %73 = lshr i64 -1, %72 %74 = and i64 %70, %73 - %75 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %74) #12, !srcloc !21 + %75 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %74) #11, !srcloc !21 br label %.thread.us .thread.us: ; preds = %.loopexit18, %68, %.lr.ph.split.us - tail call void asm sideeffect ".pushsection .smp_locks,\22a\22\0A.balign 4\0A.long 671f - .\0A.popsection\0A671:\0A\09lock; btsq $1,$0", "*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %0, i64 %49) #13, !srcloc !27 + tail call void asm sideeffect ".pushsection .smp_locks,\22a\22\0A.balign 4\0A.long 671f - .\0A.popsection\0A671:\0A\09lock; btsq $1,$0", "*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %0, i64 %49) #12, !srcloc !27 %76 = add i64 %48, 1 %77 = and i64 %76, 4294967295 - %78 = tail call i64 @_find_next_bit(ptr noundef %1, i64 noundef %8, i64 noundef %77) #13 + %78 = tail call i64 @_find_next_bit(ptr noundef %1, i64 noundef %8, i64 noundef %77) #12 %79 = trunc i64 %78 to i32 %80 = icmp ult i32 %79, %4 br i1 %80, label %.lr.ph.split.us, label %.loopexit, !llvm.loop !28 @@ -1104,7 +1104,7 @@ define dso_local void @bitmap_remap(ptr noundef %0, ptr noundef %1, ptr noundef %81 = phi i32 [ %131, %127 ], [ %44, %.lr.ph ] %82 = phi i64 [ %130, %127 ], [ %43, %.lr.ph ] %83 = and i64 %82, 4294967295 - %84 = tail call i8 asm sideeffect " btq $2,$1\0A\09/* output condition code c*/\0A", "={@ccc},*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %2, i64 %83) #13, !srcloc !26 + %84 = tail call i8 asm sideeffect " btq $2,$1\0A\09/* output condition code c*/\0A", "={@ccc},*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %2, i64 %83) #12, !srcloc !26 %85 = icmp ult i8 %84, 2 tail call void @llvm.assume(i1 %85) %86 = icmp eq i8 %84, 0 @@ -1124,7 +1124,7 @@ define dso_local void @bitmap_remap(ptr noundef %0, ptr noundef %1, ptr noundef %94 = phi i32 [ 0, %89 ], [ %99, %92 ] %95 = getelementptr i64, ptr %2, i64 %93 %96 = load i64, ptr %95, align 8 - %97 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %96) #12, !srcloc !21 + %97 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %96) #11, !srcloc !21 %98 = trunc i64 %97 to i32 %99 = add i32 %94, %98 %100 = add nuw nsw i64 %93, 1 @@ -1145,7 +1145,7 @@ define dso_local void @bitmap_remap(ptr noundef %0, ptr noundef %1, ptr noundef %110 = and i64 %109, 63 %111 = lshr i64 -1, %110 %112 = and i64 %108, %111 - %113 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %112) #12, !srcloc !21 + %113 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %112) #11, !srcloc !21 %114 = trunc i64 %113 to i32 %115 = add i32 %103, %114 br label %116 @@ -1156,7 +1156,7 @@ define dso_local void @bitmap_remap(ptr noundef %0, ptr noundef %1, ptr noundef br i1 %118, label %.thread, label %119 .thread: ; preds = %.lr.ph.split, %116 - tail call void asm sideeffect ".pushsection .smp_locks,\22a\22\0A.balign 4\0A.long 671f - .\0A.popsection\0A671:\0A\09lock; btsq $1,$0", "*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %0, i64 %83) #13, !srcloc !27 + tail call void asm sideeffect ".pushsection .smp_locks,\22a\22\0A.balign 4\0A.long 671f - .\0A.popsection\0A671:\0A\09lock; btsq $1,$0", "*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %0, i64 %83) #12, !srcloc !27 br label %127 119: ; preds = %116 @@ -1166,18 +1166,18 @@ define dso_local void @bitmap_remap(ptr noundef %0, ptr noundef %1, ptr noundef 122: ; preds = %119 %123 = zext nneg i32 %120 to i64 - %124 = tail call i64 @__find_nth_bit(ptr noundef %3, i64 noundef %8, i64 noundef %123) #13 + %124 = tail call i64 @__find_nth_bit(ptr noundef %3, i64 noundef %8, i64 noundef %123) #12 br label %125 125: ; preds = %122, %119 %126 = phi i64 [ %124, %122 ], [ %8, %119 ] - tail call void asm sideeffect ".pushsection .smp_locks,\22a\22\0A.balign 4\0A.long 671f - .\0A.popsection\0A671:\0A\09lock; btsq $1,$0", "*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %0, i64 %126) #13, !srcloc !27 + tail call void asm sideeffect ".pushsection .smp_locks,\22a\22\0A.balign 4\0A.long 671f - .\0A.popsection\0A671:\0A\09lock; btsq $1,$0", "*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %0, i64 %126) #12, !srcloc !27 br label %127 127: ; preds = %125, %.thread %128 = add i64 %82, 1 %129 = and i64 %128, 4294967295 - %130 = tail call i64 @_find_next_bit(ptr noundef %1, i64 noundef %8, i64 noundef %129) #13 + %130 = tail call i64 @_find_next_bit(ptr noundef %1, i64 noundef %8, i64 noundef %129) #12 %131 = trunc i64 %130 to i32 %132 = icmp ult i32 %131, %4 br i1 %132, label %.lr.ph.split, label %.loopexit, !llvm.loop !28 @@ -1187,7 +1187,7 @@ define dso_local void @bitmap_remap(ptr noundef %0, ptr noundef %1, ptr noundef } ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define dso_local i32 @bitmap_bitremap(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #7 align 16 { +define dso_local i32 @bitmap_bitremap(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #6 align 16 { %5 = icmp ult i32 %3, 64 br i1 %5, label %.loopexit13, label %6 @@ -1201,7 +1201,7 @@ define dso_local i32 @bitmap_bitremap(i32 noundef %0, ptr noundef %1, ptr nounde %11 = phi i32 [ 0, %6 ], [ %16, %9 ] %12 = getelementptr i64, ptr %2, i64 %10 %13 = load i64, ptr %12, align 8 - %14 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %13) #12, !srcloc !21 + %14 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %13) #11, !srcloc !21 %15 = trunc i64 %14 to i32 %16 = add i32 %11, %15 %17 = add nuw nsw i64 %10, 1 @@ -1223,7 +1223,7 @@ define dso_local i32 @bitmap_bitremap(i32 noundef %0, ptr noundef %1, ptr nounde %28 = zext nneg i32 %27 to i64 %29 = lshr i64 -1, %28 %30 = and i64 %25, %29 - %31 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %30) #12, !srcloc !21 + %31 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %30) #11, !srcloc !21 %32 = trunc i64 %31 to i32 %33 = add i32 %20, %32 br label %34 @@ -1235,7 +1235,7 @@ define dso_local i32 @bitmap_bitremap(i32 noundef %0, ptr noundef %1, ptr nounde 37: ; preds = %34 %38 = zext i32 %0 to i64 - %39 = tail call i8 asm sideeffect " btq $2,$1\0A\09/* output condition code c*/\0A", "={@ccc},*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %1, i64 %38) #13, !srcloc !26 + %39 = tail call i8 asm sideeffect " btq $2,$1\0A\09/* output condition code c*/\0A", "={@ccc},*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %1, i64 %38) #12, !srcloc !26 %40 = icmp ult i8 %39, 2 tail call void @llvm.assume(i1 %40) %41 = icmp eq i8 %39, 0 @@ -1255,7 +1255,7 @@ define dso_local i32 @bitmap_bitremap(i32 noundef %0, ptr noundef %1, ptr nounde %49 = phi i32 [ 0, %44 ], [ %54, %47 ] %50 = getelementptr i64, ptr %1, i64 %48 %51 = load i64, ptr %50, align 8 - %52 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %51) #12, !srcloc !21 + %52 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %51) #11, !srcloc !21 %53 = trunc i64 %52 to i32 %54 = add i32 %49, %53 %55 = add nuw nsw i64 %48, 1 @@ -1277,7 +1277,7 @@ define dso_local i32 @bitmap_bitremap(i32 noundef %0, ptr noundef %1, ptr nounde %66 = zext nneg i32 %65 to i64 %67 = lshr i64 -1, %66 %68 = and i64 %63, %67 - %69 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %68) #12, !srcloc !21 + %69 = tail call i64 asm "# ALT: oldnstr\0A661:\0A\09call __sw_hweight64\0A662:\0A# ALT: padding\0A.skip -(((6651f-6641f)-(662b-661b)) > 0) * ((6651f-6641f)-(662b-661b)),0x90\0A663:\0A.pushsection .altinstructions,\22a\22\0A .long 661b - .\0A .long 6641f - .\0A .4byte ( 4*32+23)\0A .byte 663b-661b\0A .byte 6651f-6641f\0A.popsection\0A.pushsection .altinstr_replacement, \22ax\22\0A# ALT: replacement 1\0A6641:\0A\09popcntq $1, $0\0A6651:\0A.popsection\0A", "={ax},{di},~{dirflag},~{fpsr},~{flags}"(i64 %68) #11, !srcloc !21 %70 = trunc i64 %69 to i32 %71 = add i32 %58, %70 br label %72 @@ -1297,7 +1297,7 @@ define dso_local i32 @bitmap_bitremap(i32 noundef %0, ptr noundef %1, ptr nounde 80: ; preds = %77 %81 = zext nneg i32 %78 to i64 %82 = sext i32 %3 to i64 - %83 = tail call i64 @__find_nth_bit(ptr noundef %2, i64 noundef %82, i64 noundef %81) #13 + %83 = tail call i64 @__find_nth_bit(ptr noundef %2, i64 noundef %82, i64 noundef %81) #12 %84 = trunc i64 %83 to i32 br label %.thread @@ -1307,7 +1307,7 @@ define dso_local i32 @bitmap_bitremap(i32 noundef %0, ptr noundef %1, ptr nounde } ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define dso_local void @bitmap_onto(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #7 align 16 { +define dso_local void @bitmap_onto(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #6 align 16 { %5 = icmp eq ptr %0, %1 br i1 %5, label %.loopexit, label %6 @@ -1317,7 +1317,7 @@ define dso_local void @bitmap_onto(ptr noundef %0, ptr noundef %1, ptr noundef % %9 = lshr i64 %8, 3 %10 = and i64 %9, 1073741816 tail call void @llvm.memset.p0.i64(ptr align 8 %0, i8 0, i64 %10, i1 false) - %11 = tail call i64 @_find_next_bit(ptr noundef %2, i64 noundef %7, i64 noundef 0) #13 + %11 = tail call i64 @_find_next_bit(ptr noundef %2, i64 noundef %7, i64 noundef 0) #12 %12 = trunc i64 %11 to i32 %13 = icmp ult i32 %12, %3 br i1 %13, label %.lr.ph, label %.loopexit @@ -1326,7 +1326,7 @@ define dso_local void @bitmap_onto(ptr noundef %0, ptr noundef %1, ptr noundef % %14 = phi i64 [ %26, %22 ], [ %11, %6 ] %15 = phi i32 [ %23, %22 ], [ 0, %6 ] %16 = zext i32 %15 to i64 - %17 = tail call i8 asm sideeffect " btq $2,$1\0A\09/* output condition code c*/\0A", "={@ccc},*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %1, i64 %16) #13, !srcloc !26 + %17 = tail call i8 asm sideeffect " btq $2,$1\0A\09/* output condition code c*/\0A", "={@ccc},*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %1, i64 %16) #12, !srcloc !26 %18 = icmp ult i8 %17, 2 tail call void @llvm.assume(i1 %18) %19 = icmp eq i8 %17, 0 @@ -1334,14 +1334,14 @@ define dso_local void @bitmap_onto(ptr noundef %0, ptr noundef %1, ptr noundef % 20: ; preds = %.lr.ph %21 = and i64 %14, 4294967295 - tail call void asm sideeffect ".pushsection .smp_locks,\22a\22\0A.balign 4\0A.long 671f - .\0A.popsection\0A671:\0A\09lock; btsq $1,$0", "*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %0, i64 %21) #13, !srcloc !27 + tail call void asm sideeffect ".pushsection .smp_locks,\22a\22\0A.balign 4\0A.long 671f - .\0A.popsection\0A671:\0A\09lock; btsq $1,$0", "*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %0, i64 %21) #12, !srcloc !27 br label %22 22: ; preds = %20, %.lr.ph %23 = add i32 %15, 1 %24 = add i64 %14, 1 %25 = and i64 %24, 4294967295 - %26 = tail call i64 @_find_next_bit(ptr noundef %2, i64 noundef %7, i64 noundef %25) #13 + %26 = tail call i64 @_find_next_bit(ptr noundef %2, i64 noundef %7, i64 noundef %25) #12 %27 = trunc i64 %26 to i32 %28 = icmp ult i32 %27, %3 br i1 %28, label %.lr.ph, label %.loopexit, !llvm.loop !29 @@ -1351,7 +1351,7 @@ define dso_local void @bitmap_onto(ptr noundef %0, ptr noundef %1, ptr noundef % } ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define dso_local void @bitmap_fold(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #7 align 16 { +define dso_local void @bitmap_fold(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #6 align 16 { %5 = icmp eq ptr %0, %1 br i1 %5, label %.loopexit, label %6 @@ -1361,7 +1361,7 @@ define dso_local void @bitmap_fold(ptr noundef %0, ptr noundef %1, i32 noundef % %9 = lshr i64 %8, 3 %10 = and i64 %9, 1073741816 tail call void @llvm.memset.p0.i64(ptr align 8 %0, i8 0, i64 %10, i1 false) - %11 = tail call i64 @_find_next_bit(ptr noundef %1, i64 noundef %7, i64 noundef 0) #13 + %11 = tail call i64 @_find_next_bit(ptr noundef %1, i64 noundef %7, i64 noundef 0) #12 %12 = trunc i64 %11 to i32 %13 = icmp ult i32 %12, %3 br i1 %13, label %.lr.ph, label %.loopexit @@ -1371,10 +1371,10 @@ define dso_local void @bitmap_fold(ptr noundef %0, ptr noundef %1, i32 noundef % %15 = phi i64 [ %20, %.lr.ph ], [ %11, %6 ] %16 = urem i32 %14, %2 %17 = zext i32 %16 to i64 - tail call void asm sideeffect ".pushsection .smp_locks,\22a\22\0A.balign 4\0A.long 671f - .\0A.popsection\0A671:\0A\09lock; btsq $1,$0", "*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %0, i64 %17) #13, !srcloc !27 + tail call void asm sideeffect ".pushsection .smp_locks,\22a\22\0A.balign 4\0A.long 671f - .\0A.popsection\0A671:\0A\09lock; btsq $1,$0", "*m,Ir,~{memory},~{dirflag},~{fpsr},~{flags}"(ptr elementtype(i64) %0, i64 %17) #12, !srcloc !27 %18 = add i64 %15, 1 %19 = and i64 %18, 4294967295 - %20 = tail call i64 @_find_next_bit(ptr noundef %1, i64 noundef %7, i64 noundef %19) #13 + %20 = tail call i64 @_find_next_bit(ptr noundef %1, i64 noundef %7, i64 noundef %19) #12 %21 = trunc i64 %20 to i32 %22 = icmp ult i32 %21, %3 br i1 %22, label %.lr.ph, label %.loopexit, !llvm.loop !30 @@ -1384,73 +1384,73 @@ define dso_local void @bitmap_fold(ptr noundef %0, ptr noundef %1, i32 noundef % } ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define dso_local noalias ptr @bitmap_alloc(i32 noundef %0, i32 noundef %1) #7 align 16 { +define dso_local noalias ptr @bitmap_alloc(i32 noundef %0, i32 noundef %1) #6 align 16 { %3 = zext i32 %0 to i64 %4 = add nuw nsw i64 %3, 63 %5 = lshr i64 %4, 3 %6 = and i64 %5, 1073741816 - %7 = tail call noalias align 8 ptr @__kmalloc(i64 noundef %6, i32 noundef %1) #14 + %7 = tail call noalias align 8 ptr @__kmalloc(i64 noundef %6, i32 noundef %1) #13 ret ptr %7 } ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define dso_local noalias ptr @bitmap_zalloc(i32 noundef %0, i32 noundef %1) #7 align 16 { +define dso_local noalias ptr @bitmap_zalloc(i32 noundef %0, i32 noundef %1) #6 align 16 { %3 = zext i32 %0 to i64 %4 = add nuw nsw i64 %3, 63 %5 = lshr i64 %4, 3 %6 = and i64 %5, 1073741816 %7 = or i32 %1, 256 - %8 = tail call noalias align 8 ptr @__kmalloc(i64 noundef %6, i32 noundef %7) #14 + %8 = tail call noalias align 8 ptr @__kmalloc(i64 noundef %6, i32 noundef %7) #13 ret ptr %8 } ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define dso_local noalias ptr @bitmap_alloc_node(i32 noundef %0, i32 noundef %1, i32 noundef %2) #7 align 16 { +define dso_local noalias ptr @bitmap_alloc_node(i32 noundef %0, i32 noundef %1, i32 noundef %2) #6 align 16 { %4 = zext i32 %0 to i64 %5 = add nuw nsw i64 %4, 63 %6 = lshr i64 %5, 3 %7 = and i64 %6, 1073741816 - %8 = tail call noalias align 8 ptr @__kmalloc_node(i64 noundef %7, i32 noundef %1, i32 noundef %2) #14 + %8 = tail call noalias align 8 ptr @__kmalloc_node(i64 noundef %7, i32 noundef %1, i32 noundef %2) #13 ret ptr %8 } ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define dso_local noalias ptr @bitmap_zalloc_node(i32 noundef %0, i32 noundef %1, i32 noundef %2) #7 align 16 { +define dso_local noalias ptr @bitmap_zalloc_node(i32 noundef %0, i32 noundef %1, i32 noundef %2) #6 align 16 { %4 = zext i32 %0 to i64 %5 = add nuw nsw i64 %4, 63 %6 = lshr i64 %5, 3 %7 = and i64 %6, 1073741816 %8 = or i32 %1, 256 - %9 = tail call noalias align 8 ptr @__kmalloc_node(i64 noundef %7, i32 noundef %8, i32 noundef %2) #14 + %9 = tail call noalias align 8 ptr @__kmalloc_node(i64 noundef %7, i32 noundef %8, i32 noundef %2) #13 ret ptr %9 } ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define dso_local void @bitmap_free(ptr noundef %0) #7 align 16 { - tail call void @kfree(ptr noundef %0) #13 +define dso_local void @bitmap_free(ptr noundef %0) #6 align 16 { + tail call void @kfree(ptr noundef %0) #12 ret void } ; Function Attrs: null_pointer_is_valid -declare dso_local void @kfree(ptr noundef) local_unnamed_addr #8 +declare dso_local void @kfree(ptr noundef) local_unnamed_addr #7 ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define dso_local ptr @devm_bitmap_alloc(ptr noundef %0, i32 noundef %1, i32 noundef %2) #7 align 16 { +define dso_local ptr @devm_bitmap_alloc(ptr noundef %0, i32 noundef %1, i32 noundef %2) #6 align 16 { %4 = zext i32 %1 to i64 %5 = add nuw nsw i64 %4, 63 %6 = lshr i64 %5, 3 %7 = and i64 %6, 1073741816 - %8 = tail call noalias align 8 ptr @__kmalloc(i64 noundef %7, i32 noundef %2) #14 + %8 = tail call noalias align 8 ptr @__kmalloc(i64 noundef %7, i32 noundef %2) #13 %9 = icmp eq ptr %8, null br i1 %9, label %14, label %10 10: ; preds = %3 - %11 = tail call i32 @__devm_add_action(ptr noundef %0, ptr noundef nonnull @devm_bitmap_free, ptr noundef nonnull %8, ptr noundef nonnull @.str) #13 + %11 = tail call i32 @__devm_add_action(ptr noundef %0, ptr noundef nonnull @devm_bitmap_free, ptr noundef nonnull %8, ptr noundef nonnull @.str) #12 %12 = icmp eq i32 %11, 0 br i1 %12, label %14, label %13 13: ; preds = %10 - tail call void @kfree(ptr noundef nonnull %8) #13 + tail call void @kfree(ptr noundef nonnull %8) #12 br label %14 14: ; preds = %13, %10, %3 @@ -1459,29 +1459,29 @@ define dso_local ptr @devm_bitmap_alloc(ptr noundef %0, i32 noundef %1, i32 noun } ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define internal void @devm_bitmap_free(ptr noundef %0) #7 align 16 { - tail call void @kfree(ptr noundef %0) #13 +define internal void @devm_bitmap_free(ptr noundef %0) #6 align 16 { + tail call void @kfree(ptr noundef %0) #12 ret void } ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define dso_local ptr @devm_bitmap_zalloc(ptr noundef %0, i32 noundef %1, i32 noundef %2) #7 align 16 { +define dso_local ptr @devm_bitmap_zalloc(ptr noundef %0, i32 noundef %1, i32 noundef %2) #6 align 16 { %4 = zext i32 %1 to i64 %5 = add nuw nsw i64 %4, 63 %6 = lshr i64 %5, 3 %7 = and i64 %6, 1073741816 %8 = or i32 %2, 256 - %9 = tail call noalias align 8 ptr @__kmalloc(i64 noundef %7, i32 noundef %8) #14 + %9 = tail call noalias align 8 ptr @__kmalloc(i64 noundef %7, i32 noundef %8) #13 %10 = icmp eq ptr %9, null br i1 %10, label %15, label %11 11: ; preds = %3 - %12 = tail call i32 @__devm_add_action(ptr noundef %0, ptr noundef nonnull @devm_bitmap_free, ptr noundef nonnull %9, ptr noundef nonnull @.str) #13 + %12 = tail call i32 @__devm_add_action(ptr noundef %0, ptr noundef nonnull @devm_bitmap_free, ptr noundef nonnull %9, ptr noundef nonnull @.str) #12 %13 = icmp eq i32 %12, 0 br i1 %13, label %15, label %14 14: ; preds = %11 - tail call void @kfree(ptr noundef nonnull %9) #13 + tail call void @kfree(ptr noundef nonnull %9) #12 br label %15 15: ; preds = %14, %11, %3 @@ -1607,28 +1607,28 @@ define dso_local void @bitmap_to_arr32(ptr nocapture noundef %0, ptr nocapture n } ; Function Attrs: null_pointer_is_valid -declare dso_local i64 @_find_next_zero_bit(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #8 +declare dso_local i64 @_find_next_zero_bit(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #7 ; Function Attrs: null_pointer_is_valid -declare dso_local i64 @_find_next_bit(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #8 +declare dso_local i64 @_find_next_bit(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #7 ; Function Attrs: null_pointer_is_valid -declare dso_local i64 @__find_nth_bit(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #8 +declare dso_local i64 @__find_nth_bit(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #7 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #9 +declare void @llvm.assume(i1 noundef) #8 ; Function Attrs: null_pointer_is_valid allocsize(0) -declare dso_local noalias ptr @__kmalloc(i64 noundef, i32 noundef) local_unnamed_addr #10 +declare dso_local noalias ptr @__kmalloc(i64 noundef, i32 noundef) local_unnamed_addr #9 ; Function Attrs: null_pointer_is_valid allocsize(0) -declare dso_local noalias ptr @__kmalloc_node(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #10 +declare dso_local noalias ptr @__kmalloc_node(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #9 ; Function Attrs: null_pointer_is_valid -declare dso_local i32 @__devm_add_action(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #8 +declare dso_local i32 @__devm_add_action(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #7 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.fshl.i64(i64, i64, i64) #11 +declare i64 @llvm.fshl.i64(i64, i64, i64) #10 attributes #0 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #1 = { fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: read) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } @@ -1636,15 +1636,14 @@ attributes #2 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_poin attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #5 = { fn_ret_thunk_extern nofree nounwind null_pointer_is_valid memory(argmem: read) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #6 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #7 = { fn_ret_thunk_extern nounwind null_pointer_is_valid "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #8 = { null_pointer_is_valid "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #9 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #10 = { null_pointer_is_valid allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #11 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #12 = { nounwind memory(none) } -attributes #13 = { nounwind } -attributes #14 = { nounwind allocsize(0) } +attributes #6 = { fn_ret_thunk_extern nounwind null_pointer_is_valid "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #7 = { null_pointer_is_valid "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #8 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #9 = { null_pointer_is_valid allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #10 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #11 = { nounwind memory(none) } +attributes #12 = { nounwind } +attributes #13 = { nounwind allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/linux/optimized/drm_format_helper.ll b/bench/linux/optimized/drm_format_helper.ll index fbad13f81d8..069704f697d 100644 --- a/bench/linux/optimized/drm_format_helper.ll +++ b/bench/linux/optimized/drm_format_helper.ll @@ -91,7 +91,7 @@ define dso_local ptr @drm_format_conv_state_reserve(ptr nocapture noundef %0, i6 11: ; preds = %7 %12 = load ptr, ptr %0, align 8 - %13 = tail call ptr @krealloc(ptr noundef %12, i64 noundef %1, i32 noundef %2) #13 + %13 = tail call ptr @krealloc(ptr noundef %12, i64 noundef %1, i32 noundef %2) #11 %14 = icmp eq ptr %13, null br i1 %14, label %16, label %15 @@ -123,7 +123,7 @@ define dso_local void @drm_format_conv_state_release(ptr nocapture noundef %0) # 5: ; preds = %1 %6 = load ptr, ptr %0, align 8 - tail call void @kfree(ptr noundef %6) #14 + tail call void @kfree(ptr noundef %6) #12 tail call void @llvm.memset.p0.i64(ptr noundef align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) br label %7 @@ -174,7 +174,7 @@ define dso_local void @drm_fb_memcpy(ptr nocapture noundef readonly %0, ptr noun .split3.us: ; preds = %18, %.split3.us %22 = phi i64 [ %25, %.split3.us ], [ 0, %18 ] %23 = trunc i64 %22 to i32 - %24 = tail call i32 @drm_format_info_bpp(ptr noundef %7, i32 noundef %23) #14 + %24 = tail call i32 @drm_format_info_bpp(ptr noundef %7, i32 noundef %23) #12 %25 = add nuw nsw i64 %22, 1 %26 = load i8, ptr %15, align 1 %27 = zext i8 %26 to i64 @@ -184,7 +184,7 @@ define dso_local void @drm_fb_memcpy(ptr nocapture noundef readonly %0, ptr noun .split3: ; preds = %18, %.loopexit %29 = phi i64 [ %79, %.loopexit ], [ 0, %18 ] %30 = trunc i64 %29 to i32 - %31 = tail call i32 @drm_format_info_bpp(ptr noundef %7, i32 noundef %30) #14 + %31 = tail call i32 @drm_format_info_bpp(ptr noundef %7, i32 noundef %30) #12 %32 = load i32, ptr %19, align 4 %33 = load i32, ptr %4, align 4 %34 = sub i32 %32, %33 @@ -233,7 +233,7 @@ define dso_local void @drm_fb_memcpy(ptr nocapture noundef readonly %0, ptr noun %70 = phi i32 [ %77, %.split ], [ 0, %.split3 ] %71 = phi ptr [ %75, %.split ], [ %50, %.split3 ] %72 = phi ptr [ %76, %.split ], [ %58, %.split3 ] - tail call void @memcpy_toio(ptr noundef %72, ptr noundef %71, i64 noundef %38) #14 + tail call void @memcpy_toio(ptr noundef %72, ptr noundef %71, i64 noundef %38) #12 %73 = load i32, ptr %39, align 4 %74 = zext i32 %73 to i64 %75 = getelementptr i8, ptr %71, i64 %74 @@ -266,7 +266,7 @@ declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias define dso_local void @drm_fb_swab(ptr nocapture noundef readonly %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, i1 noundef zeroext %5, ptr nocapture noundef %6) #1 align 16 { %8 = getelementptr inbounds i8, ptr %3, i64 72 %9 = load ptr, ptr %8, align 8 - %10 = tail call i32 @drm_format_info_bpp(ptr noundef %9, i32 noundef 0) #14 + %10 = tail call i32 @drm_format_info_bpp(ptr noundef %9, i32 noundef 0) #12 %11 = add i32 %10, 7 %12 = lshr i32 %11, 3 %13 = trunc i32 %12 to i8 @@ -308,14 +308,14 @@ define dso_local void @drm_fb_swab(ptr nocapture noundef readonly %0, ptr nounde 24: ; preds = %21, %18 %25 = phi ptr [ %23, %21 ], [ null, %18 ] - tail call void (ptr, ptr, ...) @_dev_warn(ptr noundef %25, ptr noundef nonnull @.str, ptr noundef %9) #15 + tail call void (ptr, ptr, ...) @_dev_warn(ptr noundef %25, ptr noundef nonnull @.str, ptr noundef %9) #13 br label %26 26: ; preds = %.split, %.split1, %24, %16 ret void } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) define internal void @drm_fb_swab32_line(ptr nocapture noundef writeonly %0, ptr noundef readonly %1, i32 noundef %2) #8 align 16 { %4 = zext i32 %2 to i64 %5 = getelementptr i32, ptr %1, i64 %4 @@ -337,7 +337,7 @@ define internal void @drm_fb_swab32_line(ptr nocapture noundef writeonly %0, ptr ret void } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) define internal void @drm_fb_swab16_line(ptr nocapture noundef writeonly %0, ptr noundef readonly %1, i32 noundef %2) #8 align 16 { %4 = zext i32 %2 to i64 %5 = getelementptr i16, ptr %1, i64 %4 @@ -410,7 +410,7 @@ define internal fastcc void @drm_fb_xfrm(ptr %.0.val, i8 %.8.val, ptr noundef re 39: ; preds = %35 %40 = load ptr, ptr %4, align 8 - %41 = tail call ptr @krealloc(ptr noundef %40, i64 noundef %24, i32 noundef 3264) #13 + %41 = tail call ptr @krealloc(ptr noundef %40, i64 noundef %24, i32 noundef 3264) #11 %42 = icmp eq ptr %41, null br i1 %42, label %.thread, label %.thread15 @@ -441,7 +441,7 @@ define internal fastcc void @drm_fb_xfrm(ptr %.0.val, i8 %.8.val, ptr noundef re 55: ; preds = %51 %56 = load ptr, ptr %4, align 8 - %57 = tail call ptr @krealloc(ptr noundef %56, i64 noundef %47, i32 noundef 3264) #13 + %57 = tail call ptr @krealloc(ptr noundef %56, i64 noundef %47, i32 noundef 3264) #11 %58 = icmp eq ptr %57, null br i1 %58, label %60, label %59 @@ -492,8 +492,8 @@ define internal fastcc void @drm_fb_xfrm(ptr %.0.val, i8 %.8.val, ptr noundef re %90 = phi i64 [ %97, %.split.us ], [ 0, %74 ] %91 = phi ptr [ %96, %.split.us ], [ %.0.val, %74 ] %92 = phi ptr [ %95, %.split.us ], [ %86, %74 ] - tail call void %5(ptr noundef nonnull %68, ptr noundef %92, i32 noundef %16) #14 - tail call void @memcpy_toio(ptr noundef %91, ptr noundef nonnull %68, i64 noundef %24) #14 + tail call void %5(ptr noundef nonnull %68, ptr noundef %92, i32 noundef %16) #12 + tail call void @memcpy_toio(ptr noundef %91, ptr noundef nonnull %68, i64 noundef %24) #12 %93 = load i32, ptr %72, align 8 %94 = zext i32 %93 to i64 %95 = getelementptr i8, ptr %92, i64 %94 @@ -507,8 +507,8 @@ define internal fastcc void @drm_fb_xfrm(ptr %.0.val, i8 %.8.val, ptr noundef re %100 = phi ptr [ %105, %.split ], [ %.0.val, %74 ] %101 = phi ptr [ %104, %.split ], [ %86, %74 ] tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %69, ptr align 1 %101, i64 %30, i1 false) - tail call void %5(ptr noundef nonnull %68, ptr noundef nonnull %69, i32 noundef %16) #14 - tail call void @memcpy_toio(ptr noundef %100, ptr noundef nonnull %68, i64 noundef %24) #14 + tail call void %5(ptr noundef nonnull %68, ptr noundef nonnull %69, i32 noundef %16) #12 + tail call void @memcpy_toio(ptr noundef %100, ptr noundef nonnull %68, i64 noundef %24) #12 %102 = load i32, ptr %72, align 8 %103 = zext i32 %102 to i64 %104 = getelementptr i8, ptr %101, i64 %103 @@ -540,7 +540,7 @@ define internal fastcc void @drm_fb_xfrm(ptr %.0.val, i8 %.8.val, ptr noundef re 123: ; preds = %119 %124 = load ptr, ptr %4, align 8 - %125 = tail call ptr @krealloc(ptr noundef %124, i64 noundef %114, i32 noundef 3264) #13 + %125 = tail call ptr @krealloc(ptr noundef %124, i64 noundef %114, i32 noundef 3264) #11 %126 = icmp eq ptr %125, null br i1 %126, label %.thread, label %.thread7 @@ -595,7 +595,7 @@ define internal fastcc void @drm_fb_xfrm(ptr %.0.val, i8 %.8.val, ptr noundef re %158 = phi i64 [ %165, %.split9.us ], [ 0, %142 ] %159 = phi ptr [ %164, %.split9.us ], [ %.0.val, %142 ] %160 = phi ptr [ %163, %.split9.us ], [ %154, %142 ] - tail call void %5(ptr noundef %159, ptr noundef %160, i32 noundef %16) #14 + tail call void %5(ptr noundef %159, ptr noundef %160, i32 noundef %16) #12 %161 = load i32, ptr %140, align 8 %162 = zext i32 %161 to i64 %163 = getelementptr i8, ptr %160, i64 %162 @@ -609,7 +609,7 @@ define internal fastcc void @drm_fb_xfrm(ptr %.0.val, i8 %.8.val, ptr noundef re %168 = phi ptr [ %173, %.split9 ], [ %.0.val, %142 ] %169 = phi ptr [ %172, %.split9 ], [ %154, %142 ] tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %130, ptr align 1 %169, i64 %114, i1 false) - tail call void %5(ptr noundef %168, ptr noundef nonnull %130, i32 noundef %16) #14 + tail call void %5(ptr noundef %168, ptr noundef nonnull %130, i32 noundef %16) #12 %170 = load i32, ptr %140, align 8 %171 = zext i32 %170 to i64 %172 = getelementptr i8, ptr %169, i64 %171 @@ -633,7 +633,7 @@ define dso_local void @drm_fb_xrgb8888_to_rgb332(ptr nocapture noundef readonly } ; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) -define internal void @drm_fb_xrgb8888_to_rgb332_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #10 align 16 { +define internal void @drm_fb_xrgb8888_to_rgb332_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #8 align 16 { %4 = icmp eq i32 %2, 0 br i1 %4, label %.loopexit, label %5 @@ -676,7 +676,7 @@ define dso_local void @drm_fb_xrgb8888_to_rgb565(ptr nocapture noundef readonly } ; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) -define internal void @drm_fb_xrgb8888_to_rgb565_swab_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #10 align 16 { +define internal void @drm_fb_xrgb8888_to_rgb565_swab_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #8 align 16 { %4 = icmp eq i32 %2, 0 br i1 %4, label %.loopexit, label %5 @@ -709,7 +709,7 @@ define internal void @drm_fb_xrgb8888_to_rgb565_swab_line(ptr nocapture noundef } ; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) -define internal void @drm_fb_xrgb8888_to_rgb565_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #10 align 16 { +define internal void @drm_fb_xrgb8888_to_rgb565_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #8 align 16 { %4 = icmp eq i32 %2, 0 br i1 %4, label %.loopexit, label %5 @@ -751,7 +751,7 @@ define dso_local void @drm_fb_xrgb8888_to_xrgb1555(ptr nocapture noundef readonl } ; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) -define internal void @drm_fb_xrgb8888_to_xrgb1555_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #10 align 16 { +define internal void @drm_fb_xrgb8888_to_xrgb1555_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #8 align 16 { %4 = icmp eq i32 %2, 0 br i1 %4, label %.loopexit, label %5 @@ -793,7 +793,7 @@ define dso_local void @drm_fb_xrgb8888_to_argb1555(ptr nocapture noundef readonl } ; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) -define internal void @drm_fb_xrgb8888_to_argb1555_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #10 align 16 { +define internal void @drm_fb_xrgb8888_to_argb1555_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #8 align 16 { %4 = icmp eq i32 %2, 0 br i1 %4, label %.loopexit, label %5 @@ -836,7 +836,7 @@ define dso_local void @drm_fb_xrgb8888_to_rgba5551(ptr nocapture noundef readonl } ; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) -define internal void @drm_fb_xrgb8888_to_rgba5551_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #10 align 16 { +define internal void @drm_fb_xrgb8888_to_rgba5551_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #8 align 16 { %4 = icmp eq i32 %2, 0 br i1 %4, label %.loopexit, label %5 @@ -878,8 +878,8 @@ define dso_local void @drm_fb_xrgb8888_to_rgb888(ptr nocapture noundef readonly ret void } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(write, argmem: readwrite, inaccessiblemem: none) -define internal void @drm_fb_xrgb8888_to_rgb888_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #11 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) +define internal void @drm_fb_xrgb8888_to_rgb888_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #8 align 16 { %4 = icmp eq i32 %2, 0 br i1 %4, label %.loopexit, label %5 @@ -922,7 +922,7 @@ define dso_local void @drm_fb_xrgb8888_to_argb8888(ptr nocapture noundef readonl } ; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) -define internal void @drm_fb_xrgb8888_to_argb8888_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #10 align 16 { +define internal void @drm_fb_xrgb8888_to_argb8888_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #8 align 16 { %4 = icmp eq i32 %2, 0 br i1 %4, label %.loopexit, label %5 @@ -955,8 +955,8 @@ define dso_local void @drm_fb_xrgb8888_to_xrgb2101010(ptr nocapture noundef read ret void } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(write, argmem: readwrite, inaccessiblemem: none) -define internal void @drm_fb_xrgb8888_to_xrgb2101010_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #11 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) +define internal void @drm_fb_xrgb8888_to_xrgb2101010_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #8 align 16 { %4 = icmp eq i32 %2, 0 br i1 %4, label %.loopexit, label %5 @@ -1000,8 +1000,8 @@ define dso_local void @drm_fb_xrgb8888_to_argb2101010(ptr nocapture noundef read ret void } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(write, argmem: readwrite, inaccessiblemem: none) -define internal void @drm_fb_xrgb8888_to_argb2101010_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #11 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) +define internal void @drm_fb_xrgb8888_to_argb2101010_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #8 align 16 { %4 = icmp eq i32 %2, 0 br i1 %4, label %.loopexit, label %5 @@ -1046,8 +1046,8 @@ define dso_local void @drm_fb_xrgb8888_to_gray8(ptr nocapture noundef readonly % ret void } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(write, argmem: readwrite, inaccessiblemem: none) -define internal void @drm_fb_xrgb8888_to_gray8_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #11 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) +define internal void @drm_fb_xrgb8888_to_gray8_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #8 align 16 { %4 = icmp eq i32 %2, 0 br i1 %4, label %.loopexit, label %5 @@ -1087,7 +1087,7 @@ define dso_local noundef range(i32 -22, 1) i32 @drm_fb_blit(ptr nocapture nounde %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %2, ptr %8, align 4 - call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #14 + call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #12 %10 = getelementptr inbounds i8, ptr %4, i64 72 %11 = load ptr, ptr %10, align 8 %12 = load i32, ptr %11, align 4 @@ -1105,7 +1105,7 @@ define dso_local noundef range(i32 -22, 1) i32 @drm_fb_blit(ptr nocapture nounde br i1 %17, label %18, label %35 18: ; preds = %15 - %19 = tail call i32 @drm_format_info_bpp(ptr noundef %11, i32 noundef 0) #14 + %19 = tail call i32 @drm_format_info_bpp(ptr noundef %11, i32 noundef 0) #12 %20 = add i32 %19, 7 %21 = lshr i32 %20, 3 %22 = trunc i32 %21 to i8 @@ -1147,7 +1147,7 @@ define dso_local noundef range(i32 -22, 1) i32 @drm_fb_blit(ptr nocapture nounde 33: ; preds = %30, %27 %34 = phi ptr [ %32, %30 ], [ null, %27 ] - tail call void (ptr, ptr, ...) @_dev_warn(ptr noundef %34, ptr noundef nonnull @.str, ptr noundef %11) #15 + tail call void (ptr, ptr, ...) @_dev_warn(ptr noundef %34, ptr noundef nonnull @.str, ptr noundef %11) #13 br label %89 35: ; preds = %15 @@ -1156,7 +1156,7 @@ define dso_local noundef range(i32 -22, 1) i32 @drm_fb_blit(ptr nocapture nounde br i1 %37, label %38, label %55 38: ; preds = %35 - %39 = tail call i32 @drm_format_info_bpp(ptr noundef %11, i32 noundef 0) #14 + %39 = tail call i32 @drm_format_info_bpp(ptr noundef %11, i32 noundef 0) #12 %40 = add i32 %39, 7 %41 = lshr i32 %40, 3 %42 = trunc i32 %41 to i8 @@ -1198,7 +1198,7 @@ define dso_local noundef range(i32 -22, 1) i32 @drm_fb_blit(ptr nocapture nounde 53: ; preds = %50, %47 %54 = phi ptr [ %52, %50 ], [ null, %47 ] - tail call void (ptr, ptr, ...) @_dev_warn(ptr noundef %54, ptr noundef nonnull @.str, ptr noundef %11) #15 + tail call void (ptr, ptr, ...) @_dev_warn(ptr noundef %54, ptr noundef nonnull @.str, ptr noundef %11) #13 br label %89 55: ; preds = %35 @@ -1321,12 +1321,12 @@ define dso_local noundef range(i32 -22, 1) i32 @drm_fb_blit(ptr nocapture nounde 87: ; preds = %84, %81 %88 = phi ptr [ %86, %84 ], [ null, %81 ] - call void (ptr, ptr, ...) @_dev_warn(ptr noundef %88, ptr noundef nonnull @.str.1, ptr noundef nonnull %9, ptr noundef nonnull %8) #15 + call void (ptr, ptr, ...) @_dev_warn(ptr noundef %88, ptr noundef nonnull @.str.1, ptr noundef nonnull %9, ptr noundef nonnull %8) #13 br label %89 89: ; preds = %45, %53, %.split4, %.split3, %25, %33, %.split1, %.split, %87, %79, %78, %76, %74, %72, %70, %68, %66, %64, %62, %60, %58, %14 %90 = phi i32 [ 0, %14 ], [ 0, %58 ], [ 0, %60 ], [ 0, %62 ], [ 0, %64 ], [ 0, %66 ], [ 0, %68 ], [ 0, %70 ], [ 0, %72 ], [ 0, %74 ], [ 0, %76 ], [ 0, %78 ], [ -22, %87 ], [ -22, %79 ], [ 0, %.split ], [ 0, %.split1 ], [ 0, %33 ], [ 0, %25 ], [ 0, %.split3 ], [ 0, %.split4 ], [ 0, %53 ], [ 0, %45 ] - call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #14 + call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #12 ret i32 %90 } @@ -1355,10 +1355,10 @@ define dso_local void @drm_fb_xrgb8888_to_mono(ptr nocapture noundef readonly %0 26: ; preds = %6 %27 = load ptr, ptr %3, align 8 - tail call void asm sideeffect "336: nop\0A\09.pushsection .discard.instr_begin\0A\09.long 336b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 336) #14, !srcloc !27 + tail call void asm sideeffect "336: nop\0A\09.pushsection .discard.instr_begin\0A\09.long 336b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 336) #12, !srcloc !27 %28 = getelementptr inbounds i8, ptr %27, i64 8 %29 = load ptr, ptr %28, align 8 - %30 = tail call ptr @dev_driver_string(ptr noundef %29) #14 + %30 = tail call ptr @dev_driver_string(ptr noundef %29) #12 %31 = load ptr, ptr %28, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 80 %33 = load ptr, ptr %32, align 8 @@ -1371,11 +1371,11 @@ define dso_local void @drm_fb_xrgb8888_to_mono(ptr nocapture noundef readonly %0 37: ; preds = %35, %26 %38 = phi ptr [ %36, %35 ], [ %33, %26 ] - tail call void (ptr, ...) @__warn_printk(ptr noundef nonnull @.str.2, ptr noundef %30, ptr noundef %38, ptr noundef nonnull @.str.3) #14 - tail call void asm sideeffect "337: nop\0A\09.pushsection .discard.instr_begin\0A\09.long 337b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 337) #14, !srcloc !28 - tail call void asm sideeffect "1:\09.byte 0x0f, 0x0b\0A.pushsection __bug_table,\22aw\22\0A2:\09.long 1b - .\09# bug_entry::bug_addr\0A\09.long ${0:c} - .\09# bug_entry::file\0A\09.word ${1:c}\09# bug_entry::line\0A\09.word ${2:c}\09# bug_entry::flags\0A\09.org 2b+${3:c}\0A.popsection\0A998:\0A\09.pushsection .discard.reachable\0A\09.long 998b\0A\09.popsection\0A\09", "i,i,i,i,~{dirflag},~{fpsr},~{flags}"(ptr nonnull @.str.4, i32 1132, i32 2313, i64 12) #14, !srcloc !29 - tail call void asm sideeffect "338: nop\0A\09.pushsection .discard.instr_end\0A\09.long 338b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 338) #14, !srcloc !30 - tail call void asm sideeffect "339: nop\0A\09.pushsection .discard.instr_end\0A\09.long 339b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 339) #14, !srcloc !31 + tail call void (ptr, ...) @__warn_printk(ptr noundef nonnull @.str.2, ptr noundef %30, ptr noundef %38, ptr noundef nonnull @.str.3) #12 + tail call void asm sideeffect "337: nop\0A\09.pushsection .discard.instr_begin\0A\09.long 337b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 337) #12, !srcloc !28 + tail call void asm sideeffect "1:\09.byte 0x0f, 0x0b\0A.pushsection __bug_table,\22aw\22\0A2:\09.long 1b - .\09# bug_entry::bug_addr\0A\09.long ${0:c} - .\09# bug_entry::file\0A\09.word ${1:c}\09# bug_entry::line\0A\09.word ${2:c}\09# bug_entry::flags\0A\09.org 2b+${3:c}\0A.popsection\0A998:\0A\09.pushsection .discard.reachable\0A\09.long 998b\0A\09.popsection\0A\09", "i,i,i,i,~{dirflag},~{fpsr},~{flags}"(ptr nonnull @.str.4, i32 1132, i32 2313, i64 12) #12, !srcloc !29 + tail call void asm sideeffect "338: nop\0A\09.pushsection .discard.instr_end\0A\09.long 338b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 338) #12, !srcloc !30 + tail call void asm sideeffect "339: nop\0A\09.pushsection .discard.instr_end\0A\09.long 339b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 339) #12, !srcloc !31 br label %.thread 39: ; preds = %6 @@ -1401,7 +1401,7 @@ define dso_local void @drm_fb_xrgb8888_to_mono(ptr nocapture noundef readonly %0 56: ; preds = %52 %57 = load ptr, ptr %5, align 8 - %58 = tail call ptr @krealloc(ptr noundef %57, i64 noundef %48, i32 noundef 3264) #13 + %58 = tail call ptr @krealloc(ptr noundef %57, i64 noundef %48, i32 noundef 3264) #11 %59 = icmp eq ptr %58, null br i1 %59, label %.thread, label %.thread8 @@ -1549,7 +1549,7 @@ define dso_local range(i64 -2305843009213693952, 2305843009213693952) i64 @drm_f 15: ; preds = %.loopexit18 %16 = icmp eq ptr %0, null %17 = getelementptr inbounds i8, ptr %0, i64 8 - call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #14 + call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #12 store i32 875713112, ptr %7, align 4 %18 = icmp ugt ptr %13, %3 br i1 %18, label %64, label %.critedge15 @@ -1557,7 +1557,7 @@ define dso_local range(i64 -2305843009213693952, 2305843009213693952) i64 @drm_f 19: ; preds = %.loopexit17, %10 %20 = phi i64 [ 0, %10 ], [ %62, %.loopexit17 ] %21 = phi ptr [ %3, %10 ], [ %61, %.loopexit17 ] - call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #14 + call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #12 %22 = getelementptr i32, ptr %1, i64 %20 %23 = load i32, ptr %22, align 4 switch i32 %23, label %35 [ @@ -1646,7 +1646,7 @@ define dso_local range(i64 -2305843009213693952, 2305843009213693952) i64 @drm_f 52: ; preds = %50, %49 %53 = phi ptr [ %51, %50 ], [ null, %49 ] - call void (ptr, ptr, ...) @_dev_warn(ptr noundef %53, ptr noundef nonnull @.str.5, ptr noundef nonnull %6) #15 + call void (ptr, ptr, ...) @_dev_warn(ptr noundef %53, ptr noundef nonnull @.str.5, ptr noundef nonnull %6) #13 br label %.loopexit17 54: ; preds = %.critedge @@ -1658,7 +1658,7 @@ define dso_local range(i64 -2305843009213693952, 2305843009213693952) i64 @drm_f 57: ; preds = %55, %54 %58 = phi ptr [ %56, %55 ], [ null, %54 ] - call void (ptr, ptr, i32, ptr, ...) @__drm_dev_dbg(ptr noundef null, ptr noundef %58, i32 noundef 2, ptr noundef nonnull @.str.6, ptr noundef nonnull %6) #14 + call void (ptr, ptr, i32, ptr, ...) @__drm_dev_dbg(ptr noundef null, ptr noundef %58, i32 noundef 2, ptr noundef nonnull @.str.6, ptr noundef nonnull %6) #12 %59 = load i32, ptr %6, align 4 store i32 %59, ptr %21, align 4 %60 = getelementptr i8, ptr %21, i64 4 @@ -1666,7 +1666,7 @@ define dso_local range(i64 -2305843009213693952, 2305843009213693952) i64 @drm_f .loopexit17: ; preds = %45, %39, %57, %52 %61 = phi ptr [ %8, %52 ], [ %60, %57 ], [ %21, %39 ], [ %21, %45 ] - call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #14 + call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #12 %62 = add nuw i64 %20, 1 %63 = icmp eq i64 %62, %2 br i1 %63, label %.loopexit18, label %19, !llvm.loop !36 @@ -1696,7 +1696,7 @@ define dso_local range(i64 -2305843009213693952, 2305843009213693952) i64 @drm_f 75: ; preds = %73, %.critedge15 %76 = phi ptr [ %74, %73 ], [ null, %.critedge15 ] - call void (ptr, ptr, i32, ptr, ...) @__drm_dev_dbg(ptr noundef null, ptr noundef %76, i32 noundef 2, ptr noundef nonnull @.str.8, ptr noundef nonnull %7) #14 + call void (ptr, ptr, i32, ptr, ...) @__drm_dev_dbg(ptr noundef null, ptr noundef %76, i32 noundef 2, ptr noundef nonnull @.str.8, ptr noundef nonnull %7) #12 %77 = load i32, ptr %7, align 4 store i32 %77, ptr %13, align 4 %78 = getelementptr i8, ptr %13, i64 4 @@ -1704,7 +1704,7 @@ define dso_local range(i64 -2305843009213693952, 2305843009213693952) i64 @drm_f .loopexit: ; preds = %70, %64, %75 %79 = phi ptr [ %78, %75 ], [ %13, %64 ], [ %13, %70 ] - call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #14 + call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #12 br label %80 80: ; preds = %.loopexit, %.loopexit18 @@ -1723,13 +1723,13 @@ declare dso_local void @__drm_dev_dbg(ptr noundef, ptr noundef, i32 noundef, ptr declare dso_local void @memcpy_toio(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.bswap.i32(i32) #12 +declare i32 @llvm.bswap.i32(i32) #10 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i16 @llvm.bswap.i16(i16) #12 +declare i16 @llvm.bswap.i16(i16) #10 -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(write, argmem: readwrite, inaccessiblemem: none) -define internal void @drm_fb_xrgb8888_to_xbgr8888_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #11 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) +define internal void @drm_fb_xrgb8888_to_xbgr8888_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #8 align 16 { %4 = icmp eq i32 %2, 0 br i1 %4, label %.loopexit, label %5 @@ -1759,8 +1759,8 @@ define internal void @drm_fb_xrgb8888_to_xbgr8888_line(ptr nocapture noundef wri ret void } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(write, argmem: readwrite, inaccessiblemem: none) -define internal void @drm_fb_xrgb8888_to_abgr8888_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #11 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) +define internal void @drm_fb_xrgb8888_to_abgr8888_line(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #8 align 16 { %4 = icmp eq i32 %2, 0 br i1 %4, label %.loopexit, label %5 @@ -1791,10 +1791,10 @@ define internal void @drm_fb_xrgb8888_to_abgr8888_line(ptr nocapture noundef wri } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #12 +declare i32 @llvm.umin.i32(i32, i32) #10 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #12 +declare i32 @llvm.umax.i32(i32, i32) #10 attributes #0 = { fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: write) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #1 = { fn_ret_thunk_extern nounwind null_pointer_is_valid "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } @@ -1804,14 +1804,12 @@ attributes #4 = { null_pointer_is_valid "no-trapping-math"="true" "stack-protect attributes #5 = { fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: read) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #8 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #8 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #9 = { cold null_pointer_is_valid "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #10 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #11 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(write, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #12 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #13 = { nounwind allocsize(1) } -attributes #14 = { nounwind } -attributes #15 = { cold nounwind } +attributes #10 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #11 = { nounwind allocsize(1) } +attributes #12 = { nounwind } +attributes #13 = { cold nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/linux/optimized/filter.ll b/bench/linux/optimized/filter.ll index c749593139b..8589bc21c81 100644 --- a/bench/linux/optimized/filter.ll +++ b/bench/linux/optimized/filter.ll @@ -14059,8 +14059,8 @@ define internal noundef zeroext i1 @sk_filter_is_valid_access(i32 noundef %0, i3 ret i1 %14 } -; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(write, argmem: readwrite, inaccessiblemem: none) -define internal i32 @bpf_gen_ld_abs(ptr nocapture noundef readonly %0, ptr noundef %1) #20 align 16 { +; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: readwrite) +define internal i32 @bpf_gen_ld_abs(ptr nocapture noundef readonly %0, ptr noundef %1) #15 align 16 { %3 = load i8, ptr %0, align 4 %4 = and i8 %3, -32 %5 = icmp eq i8 %4, 64 @@ -14184,8 +14184,8 @@ default.unreachable: ; preds = %32 ret i32 %67 } -; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(write, argmem: readwrite, inaccessiblemem: none) -define internal i32 @bpf_convert_ctx_access(i32 noundef %0, ptr noundef readonly %1, ptr noundef %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4) #20 align 16 { +; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: readwrite) +define internal i32 @bpf_convert_ctx_access(i32 noundef %0, ptr noundef readonly %1, ptr noundef %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4) #15 align 16 { %6 = getelementptr inbounds i8, ptr %1, i64 2 %7 = load i16, ptr %6, align 2 switch i16 %7, label %496 [ @@ -15157,7 +15157,7 @@ define internal i32 @bpf_convert_ctx_access(i32 noundef %0, ptr noundef readonly } ; Function Attrs: fn_ret_thunk_extern inlinehint mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(none) -define internal noundef i32 @bpf_prog_test_run_skb(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #21 align 16 { +define internal noundef i32 @bpf_prog_test_run_skb(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #20 align 16 { ret i32 -524 } @@ -15655,8 +15655,8 @@ define internal noundef range(i32 0, 12) i32 @tc_cls_act_prologue(ptr nocapture ret i32 %48 } -; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(write, argmem: readwrite, inaccessiblemem: none) -define internal i32 @tc_cls_act_convert_ctx_access(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4) #20 align 16 { +; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: readwrite) +define internal i32 @tc_cls_act_convert_ctx_access(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4) #15 align 16 { %6 = getelementptr inbounds i8, ptr %1, i64 2 %7 = load i16, ptr %6, align 2 %8 = icmp eq i16 %7, 40 @@ -16058,7 +16058,7 @@ define internal i32 @xdp_btf_struct_access(ptr noundef %0, ptr noundef %1, i32 n } ; Function Attrs: fn_ret_thunk_extern inlinehint mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(none) -define internal noundef i32 @bpf_prog_test_run_xdp(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #21 align 16 { +define internal noundef i32 @bpf_prog_test_run_xdp(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #20 align 16 { ret i32 -524 } @@ -17925,8 +17925,8 @@ define internal zeroext i1 @sock_ops_is_valid_access(i32 noundef %0, i32 noundef ret i1 %39 } -; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(write, argmem: readwrite, inaccessiblemem: none) -define internal i32 @sock_ops_convert_ctx_access(i32 noundef %0, ptr noundef readonly %1, ptr noundef %2, ptr nocapture readnone %3, ptr nocapture noundef writeonly %4) #20 align 16 { +; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: readwrite) +define internal i32 @sock_ops_convert_ctx_access(i32 noundef %0, ptr noundef readonly %1, ptr noundef %2, ptr nocapture readnone %3, ptr nocapture noundef writeonly %4) #15 align 16 { %6 = getelementptr inbounds i8, ptr %1, i64 2 %7 = load i16, ptr %6, align 2 switch i16 %7, label %2253 [ @@ -21976,8 +21976,8 @@ define internal noundef range(i32 0, 12) i32 @sk_skb_prologue(ptr nocapture noun ret i32 %48 } -; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(write, argmem: readwrite, inaccessiblemem: none) -define internal i32 @sk_skb_convert_ctx_access(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4) #20 align 16 { +; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: readwrite) +define internal i32 @sk_skb_convert_ctx_access(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4) #15 align 16 { %6 = getelementptr inbounds i8, ptr %1, i64 2 %7 = load i16, ptr %6, align 2 switch i16 %7, label %108 [ @@ -22768,7 +22768,7 @@ define internal i32 @flow_dissector_convert_ctx_access(i32 %0, ptr nocapture nou } ; Function Attrs: fn_ret_thunk_extern inlinehint mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(none) -define internal noundef i32 @bpf_prog_test_run_flow_dissector(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #21 align 16 { +define internal noundef i32 @bpf_prog_test_run_flow_dissector(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #20 align 16 { ret i32 -524 } @@ -23558,7 +23558,7 @@ define dso_local noundef range(i64 -97, 1) i64 @bpf_sk_lookup_assign(i64 noundef } ; Function Attrs: fn_ret_thunk_extern inlinehint mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(none) -define internal noundef i32 @bpf_prog_test_run_sk_lookup(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #21 align 16 { +define internal noundef i32 @bpf_prog_test_run_sk_lookup(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #20 align 16 { ret i32 -524 } @@ -24187,7 +24187,7 @@ define dso_local noundef range(i32 -22, 1) i32 @bpf_dynptr_from_skb_rdonly(ptr n } ; Function Attrs: cold fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid optsize willreturn memory(none) -define internal noundef i32 @bpf_kfunc_init() #22 section ".init.text" align 16 { +define internal noundef i32 @bpf_kfunc_init() #21 section ".init.text" align 16 { ret i32 0 } @@ -24223,7 +24223,7 @@ define internal noundef i32 @init_subsystem() #10 align 16 { } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #23 +declare void @llvm.assume(i1 noundef) #22 ; Function Attrs: null_pointer_is_valid declare dso_local void @__rcu_read_lock() local_unnamed_addr #3 @@ -24253,10 +24253,10 @@ declare dso_local i32 @skb_copy_bits(ptr noundef, i32 noundef, ptr noundef, i32 declare dso_local ptr @bpf_internal_load_pointer_neg_helper(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i16 @llvm.bswap.i16(i16) #24 +declare i16 @llvm.bswap.i16(i16) #23 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.bswap.i32(i32) #24 +declare i32 @llvm.bswap.i32(i32) #23 ; Function Attrs: null_pointer_is_valid declare dso_local void @call_rcu(ptr noundef, ptr noundef) local_unnamed_addr #3 @@ -24303,13 +24303,13 @@ declare dso_local void @kfree(ptr noundef) local_unnamed_addr #3 declare dso_local void @bpf_jit_compile(ptr noundef) local_unnamed_addr #3 ; Function Attrs: null_pointer_is_valid allocsize(0) -declare dso_local noalias ptr @__kmalloc(i64 noundef, i32 noundef) local_unnamed_addr #25 +declare dso_local noalias ptr @__kmalloc(i64 noundef, i32 noundef) local_unnamed_addr #24 ; Function Attrs: null_pointer_is_valid allocsize(2) -declare dso_local noalias ptr @kmalloc_trace(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #26 +declare dso_local noalias ptr @kmalloc_trace(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #25 ; Function Attrs: null_pointer_is_valid allocsize(1) -declare dso_local ptr @kmemdup(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #27 +declare dso_local ptr @kmemdup(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #26 ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid define internal fastcc noundef i32 @bpf_convert_filter(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, ptr nocapture noundef %3, ptr nocapture noundef %4) unnamed_addr #0 align 16 { @@ -25492,7 +25492,7 @@ declare dso_local ptr @bpf_prog_realloc(ptr noundef, i32 noundef, i32 noundef) l declare dso_local ptr @bpf_prog_select_runtime(ptr noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(write, argmem: readwrite, inaccessiblemem: none) -define internal fastcc noundef zeroext i1 @convert_bpf_ld_abs(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) unnamed_addr #20 align 16 { +define internal fastcc noundef zeroext i1 @convert_bpf_ld_abs(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) unnamed_addr #27 align 16 { %3 = load i16, ptr %0, align 4 %4 = and i16 %3, 24 %5 = lshr exact i16 %4, 3 @@ -25799,7 +25799,7 @@ declare dso_local void @inet_proto_csum_replace4(ptr noundef, ptr noundef, i32 n declare dso_local ptr @skb_clone(ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: fn_ret_thunk_extern inlinehint mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(none) -define internal noalias noundef ptr @netkit_peer_dev(ptr nocapture readnone %0) #21 align 16 { +define internal noalias noundef ptr @netkit_peer_dev(ptr nocapture readnone %0) #20 align 16 { ret ptr null } @@ -26881,7 +26881,7 @@ define internal noundef i64 @bpf_skb_copy(ptr noundef %0, ptr noundef %1, i64 no } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.bswap.i64(i64) #24 +declare i64 @llvm.bswap.i64(i64) #23 ; Function Attrs: null_pointer_is_valid declare dso_local zeroext i1 @rcuref_get_slowpath(ptr noundef) local_unnamed_addr #3 @@ -28717,8 +28717,8 @@ define internal fastcc noundef zeroext i1 @bpf_skb_is_valid_access(i32 noundef % ret i1 %39 } -; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(write, argmem: readwrite, inaccessiblemem: none) -define internal fastcc noundef ptr @bpf_convert_tstamp_write(i16 %.2.val, ptr nocapture noundef readonly %0, ptr noundef writeonly %1) unnamed_addr #20 align 16 { +; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: readwrite) +define internal fastcc noundef ptr @bpf_convert_tstamp_write(i16 %.2.val, ptr nocapture noundef readonly %0, ptr noundef writeonly %1) unnamed_addr #15 align 16 { %3 = getelementptr inbounds i8, ptr %0, i64 1 %4 = load i8, ptr %3, align 1 %5 = and i16 %.2.val, 8192 @@ -28790,8 +28790,8 @@ define internal fastcc noundef ptr @bpf_convert_tstamp_write(i16 %.2.val, ptr no ret ptr %34 } -; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(write, inaccessiblemem: none) -define internal fastcc noundef ptr @bpf_convert_tstamp_read(i16 %.2.val, i8 %.1.val, ptr noundef writeonly %0) unnamed_addr #9 align 16 { +; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: write) +define internal fastcc noundef ptr @bpf_convert_tstamp_read(i16 %.2.val, i8 %.1.val, ptr noundef writeonly %0) unnamed_addr #18 align 16 { %2 = and i16 %.2.val, 8192 %3 = icmp eq i16 %2, 0 br i1 %3, label %4, label %28 @@ -28960,34 +28960,34 @@ declare dso_local void @sk_free(ptr noundef) local_unnamed_addr #3 declare dso_local ptr @sock_from_file(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #24 +declare i32 @llvm.fshl.i32(i32, i32, i32) #23 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #24 +declare i32 @llvm.umax.i32(i32, i32) #23 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.abs.i32(i32, i1 immarg) #24 +declare i32 @llvm.abs.i32(i32, i1 immarg) #23 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #24 +declare i64 @llvm.umin.i64(i64, i64) #23 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.ctpop.i32(i32) #24 +declare i32 @llvm.ctpop.i32(i32) #23 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #24 +declare i32 @llvm.smax.i32(i32, i32) #23 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #24 +declare i32 @llvm.smin.i32(i32, i32) #23 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #32 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i8 @llvm.fshl.i8(i8, i8, i8) #24 +declare i8 @llvm.fshl.i8(i8, i8, i8) #23 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.usub.sat.i32(i32, i32) #24 +declare i32 @llvm.usub.sat.i32(i32, i32) #23 attributes #0 = { fn_ret_thunk_extern nounwind null_pointer_is_valid "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } @@ -29009,14 +29009,14 @@ attributes #16 = { fn_ret_thunk_extern nofree nounwind null_pointer_is_valid "mi attributes #17 = { fn_ret_thunk_extern nofree nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #18 = { fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: write) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #19 = { cold null_pointer_is_valid "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #20 = { fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(write, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #21 = { fn_ret_thunk_extern inlinehint mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #22 = { cold fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid optsize willreturn memory(none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #23 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #24 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #25 = { null_pointer_is_valid allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #26 = { null_pointer_is_valid allocsize(2) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #27 = { null_pointer_is_valid allocsize(1) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #20 = { fn_ret_thunk_extern inlinehint mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #21 = { cold fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid optsize willreturn memory(none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #22 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #23 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #24 = { null_pointer_is_valid allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #25 = { null_pointer_is_valid allocsize(2) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #26 = { null_pointer_is_valid allocsize(1) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #27 = { fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(write, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #28 = { fn_ret_thunk_extern inlinehint nofree norecurse nounwind null_pointer_is_valid "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #29 = { mustprogress nocallback nofree nosync nounwind willreturn memory(read) } attributes #30 = { nocallback nounwind } diff --git a/bench/linux/optimized/freq_table.ll b/bench/linux/optimized/freq_table.ll index 770c23f7c7c..e3e8bc9de8a 100644 --- a/bench/linux/optimized/freq_table.ll +++ b/bench/linux/optimized/freq_table.ll @@ -84,7 +84,7 @@ define dso_local range(i32 -22, 1) i32 @cpufreq_frequency_table_cpuinfo(ptr noca ] 9: ; preds = %3 - %10 = tail call i32 @cpufreq_boost_enabled() #8 + %10 = tail call i32 @cpufreq_boost_enabled() #9 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %16 @@ -130,7 +130,7 @@ define dso_local range(i32 -22, 1) i32 @cpufreq_frequency_table_cpuinfo(ptr noca ; Function Attrs: null_pointer_is_valid declare dso_local i32 @cpufreq_boost_enabled() local_unnamed_addr #2 -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) define dso_local noundef i32 @cpufreq_frequency_table_verify(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #3 align 16 { %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4 @@ -192,7 +192,7 @@ define dso_local noundef i32 @cpufreq_frequency_table_verify(ptr nocapture nound } ; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) -define dso_local noundef range(i32 -19, 1) i32 @cpufreq_generic_frequency_table_verify(ptr nocapture noundef %0) #3 align 16 { +define dso_local noundef range(i32 -19, 1) i32 @cpufreq_generic_frequency_table_verify(ptr nocapture noundef %0) #4 align 16 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8 %4 = icmp eq ptr %3, null @@ -492,14 +492,14 @@ define dso_local i32 @cpufreq_table_index_unsorted(ptr nocapture noundef readonl br i1 %130, label %131, label %.thread 131: ; preds = %129 - tail call void asm sideeffect "331: nop\0A\09.pushsection .discard.instr_begin\0A\09.long 331b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 331) #8, !srcloc !11 + tail call void asm sideeffect "331: nop\0A\09.pushsection .discard.instr_begin\0A\09.long 331b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 331) #9, !srcloc !11 %132 = getelementptr inbounds i8, ptr %0, i64 28 %133 = load i32, ptr %132, align 4 - tail call void (ptr, ...) @__warn_printk(ptr noundef nonnull @.str, i32 noundef %133) #8 - tail call void asm sideeffect "332: nop\0A\09.pushsection .discard.instr_begin\0A\09.long 332b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 332) #8, !srcloc !12 - tail call void asm sideeffect "1:\09.byte 0x0f, 0x0b\0A.pushsection __bug_table,\22aw\22\0A2:\09.long 1b - .\09# bug_entry::bug_addr\0A\09.long ${0:c} - .\09# bug_entry::file\0A\09.word ${1:c}\09# bug_entry::line\0A\09.word ${2:c}\09# bug_entry::flags\0A\09.org 2b+${3:c}\0A.popsection\0A998:\0A\09.pushsection .discard.reachable\0A\09.long 998b\0A\09.popsection\0A\09", "i,i,i,i,~{dirflag},~{fpsr},~{flags}"(ptr nonnull @.str.1, i32 197, i32 2313, i64 12) #8, !srcloc !13 - tail call void asm sideeffect "333: nop\0A\09.pushsection .discard.instr_end\0A\09.long 333b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 333) #8, !srcloc !14 - tail call void asm sideeffect "334: nop\0A\09.pushsection .discard.instr_end\0A\09.long 334b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 334) #8, !srcloc !15 + tail call void (ptr, ...) @__warn_printk(ptr noundef nonnull @.str, i32 noundef %133) #9 + tail call void asm sideeffect "332: nop\0A\09.pushsection .discard.instr_begin\0A\09.long 332b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 332) #9, !srcloc !12 + tail call void asm sideeffect "1:\09.byte 0x0f, 0x0b\0A.pushsection __bug_table,\22aw\22\0A2:\09.long 1b - .\09# bug_entry::bug_addr\0A\09.long ${0:c} - .\09# bug_entry::file\0A\09.word ${1:c}\09# bug_entry::line\0A\09.word ${2:c}\09# bug_entry::flags\0A\09.org 2b+${3:c}\0A.popsection\0A998:\0A\09.pushsection .discard.reachable\0A\09.long 998b\0A\09.popsection\0A\09", "i,i,i,i,~{dirflag},~{fpsr},~{flags}"(ptr nonnull @.str.1, i32 197, i32 2313, i64 12) #9, !srcloc !13 + tail call void asm sideeffect "333: nop\0A\09.pushsection .discard.instr_end\0A\09.long 333b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 333) #9, !srcloc !14 + tail call void asm sideeffect "334: nop\0A\09.pushsection .discard.instr_end\0A\09.long 334b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 334) #9, !srcloc !15 br label %.thread .thread: ; preds = %95, %64, %31, %121, %131, %129, %.split13.us @@ -542,7 +542,7 @@ define dso_local i32 @cpufreq_frequency_table_get_index(ptr nocapture noundef re } ; Function Attrs: fn_ret_thunk_extern nofree nounwind null_pointer_is_valid -define internal i64 @scaling_available_frequencies_show(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #4 align 16 { +define internal i64 @scaling_available_frequencies_show(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #5 align 16 { %3 = getelementptr inbounds i8, ptr %0, i64 336 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null @@ -566,7 +566,7 @@ define internal i64 @scaling_available_frequencies_show(ptr nocapture noundef re 14: ; preds = %10 %15 = getelementptr i8, ptr %1, i64 %6 - %16 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef %15, ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %9) #8 + %16 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef %15, ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %9) #9 %17 = sext i32 %16 to i64 %18 = add i64 %6, %17 br label %19 @@ -588,7 +588,7 @@ define internal i64 @scaling_available_frequencies_show(ptr nocapture noundef re } ; Function Attrs: fn_ret_thunk_extern nofree nounwind null_pointer_is_valid -define internal i64 @scaling_boost_frequencies_show(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #4 align 16 { +define internal i64 @scaling_boost_frequencies_show(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #5 align 16 { %3 = getelementptr inbounds i8, ptr %0, i64 336 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null @@ -612,7 +612,7 @@ define internal i64 @scaling_boost_frequencies_show(ptr nocapture noundef readon 14: ; preds = %10 %15 = getelementptr i8, ptr %1, i64 %6 - %16 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef %15, ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %9) #8 + %16 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef %15, ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %9) #9 %17 = sext i32 %16 to i64 %18 = add i64 %6, %17 br label %19 @@ -641,7 +641,7 @@ define dso_local range(i32 -22, 1) i32 @cpufreq_table_validate_and_sort(ptr noca br i1 %4, label %5, label %.preheader 5: ; preds = %1 - %6 = tail call zeroext i1 @has_target_index() #8 + %6 = tail call zeroext i1 @has_target_index() #9 %7 = select i1 %6, i32 -22, i32 0 br label %.loopexit @@ -657,7 +657,7 @@ define dso_local range(i32 -22, 1) i32 @cpufreq_table_validate_and_sort(ptr noca ] 13: ; preds = %.preheader - %14 = tail call i32 @cpufreq_boost_enabled() #8 + %14 = tail call i32 @cpufreq_boost_enabled() #9 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %20 @@ -726,7 +726,7 @@ define dso_local range(i32 -22, 1) i32 @cpufreq_table_validate_and_sort(ptr noca br i1 %51, label %52, label %54 52: ; preds = %48 - %53 = tail call i32 (ptr, ...) @_printk(ptr noundef nonnull @.str.6, i32 noundef %45) #9 + %53 = tail call i32 (ptr, ...) @_printk(ptr noundef nonnull @.str.6, i32 noundef %45) #10 br label %.loopexit 54: ; preds = %48 @@ -770,30 +770,31 @@ define dso_local range(i32 -22, 1) i32 @cpufreq_table_validate_and_sort(ptr noca declare dso_local zeroext i1 @has_target_index() local_unnamed_addr #2 ; Function Attrs: nofree nounwind null_pointer_is_valid -declare dso_local noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #5 +declare dso_local noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #6 ; Function Attrs: cold null_pointer_is_valid -declare dso_local i32 @_printk(ptr noundef, ...) local_unnamed_addr #6 +declare dso_local i32 @_printk(ptr noundef, ...) local_unnamed_addr #7 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.abs.i32(i32, i1 immarg) #7 +declare i32 @llvm.abs.i32(i32, i1 immarg) #8 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #7 +declare i32 @llvm.umax.i32(i32, i32) #8 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #7 +declare i32 @llvm.umin.i32(i32, i32) #8 attributes #0 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #1 = { fn_ret_thunk_extern nounwind null_pointer_is_valid "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #2 = { null_pointer_is_valid "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #3 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #4 = { fn_ret_thunk_extern nofree nounwind null_pointer_is_valid "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #5 = { nofree nounwind null_pointer_is_valid "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #6 = { cold null_pointer_is_valid "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #8 = { nounwind } -attributes #9 = { cold nounwind } +attributes #3 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #4 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #5 = { fn_ret_thunk_extern nofree nounwind null_pointer_is_valid "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #6 = { nofree nounwind null_pointer_is_valid "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #7 = { cold null_pointer_is_valid "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #9 = { nounwind } +attributes #10 = { cold nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/linux/optimized/huf_decompress.ll b/bench/linux/optimized/huf_decompress.ll index 43663a9a458..ac5719cdeca 100644 --- a/bench/linux/optimized/huf_decompress.ll +++ b/bench/linux/optimized/huf_decompress.ll @@ -21,9 +21,9 @@ define dso_local i64 @HUF_readDTableX1_wksp(ptr nocapture noundef %0, ptr nounde define dso_local i64 @HUF_readDTableX1_wksp_bmi2(ptr nocapture noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, i32 noundef %5) local_unnamed_addr #0 align 16 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 - call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #11 + call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #17 store i32 0, ptr %7, align 4 - call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #11 + call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #17 store i32 0, ptr %8, align 4 %9 = getelementptr i8, ptr %0, i64 4 %10 = icmp ult i64 %4, 1488 @@ -32,7 +32,7 @@ define dso_local i64 @HUF_readDTableX1_wksp_bmi2(ptr nocapture noundef %0, ptr n 11: ; preds = %6 %12 = getelementptr inbounds i8, ptr %3, i64 1232 %13 = getelementptr inbounds i8, ptr %3, i64 104 - %14 = call i64 @HUF_readStats_wksp(ptr noundef %12, i64 noundef 256, ptr noundef %3, ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef %1, i64 noundef %2, ptr noundef %13, i64 noundef 872, i32 noundef %5) #11 + %14 = call i64 @HUF_readStats_wksp(ptr noundef %12, i64 noundef 256, ptr noundef %3, ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef %1, i64 noundef %2, ptr noundef %13, i64 noundef 872, i32 noundef %5) #17 %15 = icmp ult i64 %14, -119 br i1 %15, label %16, label %.loopexit22 @@ -410,8 +410,8 @@ define dso_local i64 @HUF_readDTableX1_wksp_bmi2(ptr nocapture noundef %0, ptr n .loopexit22: ; preds = %.loopexit17, %64, %11, %6 %268 = phi i64 [ -44, %6 ], [ %14, %11 ], [ -44, %64 ], [ %14, %.loopexit17 ] - call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #11 - call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #11 + call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #17 + call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #17 ret i64 %268 } @@ -430,7 +430,7 @@ declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) define dso_local i64 @HUF_decompress1X1_usingDTable(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #5 align 16 { %6 = load i32, ptr %4, align 4 %7 = and i32 %6, 65280 @@ -446,7 +446,7 @@ define dso_local i64 @HUF_decompress1X1_usingDTable(ptr noundef %0, i64 noundef ret i64 %12 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) define internal fastcc i64 @HUF_decompress1X1_usingDTable_internal(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4, i32 noundef %5) unnamed_addr #5 align 16 { %7 = icmp eq i32 %5, 0 br i1 %7, label %10, label %8 @@ -782,8 +782,8 @@ define dso_local i64 @HUF_decompress1X1_DCtx_wksp(ptr nocapture noundef %0, ptr ret i64 %17 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define dso_local i64 @HUF_decompress4X1_usingDTable(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) local_unnamed_addr #5 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) +define dso_local i64 @HUF_decompress4X1_usingDTable(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) local_unnamed_addr #6 align 16 { %6 = load i32, ptr %4, align 4 %7 = and i32 %6, 65280 %8 = icmp eq i32 %7, 0 @@ -798,8 +798,8 @@ define dso_local i64 @HUF_decompress4X1_usingDTable(ptr noundef %0, i64 noundef ret i64 %12 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define internal fastcc i64 @HUF_decompress4X1_usingDTable_internal(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i32 noundef %5) unnamed_addr #5 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) +define internal fastcc i64 @HUF_decompress4X1_usingDTable_internal(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i32 noundef %5) unnamed_addr #6 align 16 { %7 = alloca %struct.BIT_DStream_t, align 8 %8 = alloca %struct.BIT_DStream_t, align 8 %9 = alloca %struct.BIT_DStream_t, align 8 @@ -819,13 +819,13 @@ define internal fastcc i64 @HUF_decompress4X1_usingDTable_internal(ptr noundef % %17 = getelementptr i8, ptr %0, i64 %1 %18 = getelementptr i8, ptr %17, i64 -3 %19 = getelementptr i8, ptr %4, i64 4 - call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #11 + call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #17 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %7, i8 0, i64 24, i1 false), !annotation !23 - call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #11 + call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #17 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %8, i8 0, i64 24, i1 false), !annotation !23 - call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #11 + call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #17 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %9, i8 0, i64 40, i1 false), !annotation !23 - call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #11 + call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #17 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %10, i8 0, i64 40, i1 false), !annotation !23 %20 = load i16, ptr %2, align 1 %21 = zext i16 %20 to i64 @@ -2305,10 +2305,10 @@ define internal fastcc i64 @HUF_decompress4X1_usingDTable_internal(ptr noundef % .thread: ; preds = %205, %124, %46, %272, %215, %191, %134, %110, %53, %.loopexit, %578, %286, %16 %1137 = phi i64 [ %290, %286 ], [ -20, %16 ], [ -20, %578 ], [ %1136, %.loopexit ], [ -20, %110 ], [ -1, %53 ], [ -20, %191 ], [ -1, %134 ], [ -20, %272 ], [ -1, %215 ], [ -72, %46 ], [ -72, %124 ], [ -72, %205 ] - call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #11 - call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #11 - call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #11 - call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #11 + call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #17 + call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #17 + call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #17 + call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #17 br label %1138 1138: ; preds = %.thread, %14, %12 @@ -2347,8 +2347,8 @@ define dso_local i64 @HUF_readDTableX2_wksp(ptr noundef %0, ptr noundef %1, i64 define dso_local i64 @HUF_readDTableX2_wksp_bmi2(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4, i32 noundef %5) local_unnamed_addr #0 align 16 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 - call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #11 - call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #11 + call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #17 + call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #17 %9 = load i32, ptr %0, align 4 %10 = trunc i32 %9 to i8 %11 = lshr i32 %9, 24 @@ -2371,7 +2371,7 @@ define dso_local i64 @HUF_readDTableX2_wksp_bmi2(ptr noundef %0, ptr noundef %1, store i32 0, ptr %8, align 4, !annotation !23 %22 = getelementptr inbounds i8, ptr %3, i64 992 %23 = getelementptr inbounds i8, ptr %3, i64 1248 - %24 = call i64 @HUF_readStats_wksp(ptr noundef %22, i64 noundef 256, ptr noundef %19, ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef %1, i64 noundef %2, ptr noundef %23, i64 noundef 872, i32 noundef %5) #11 + %24 = call i64 @HUF_readStats_wksp(ptr noundef %22, i64 noundef 256, ptr noundef %19, ptr noundef nonnull %8, ptr noundef nonnull %7, ptr noundef %1, i64 noundef %2, ptr noundef %23, i64 noundef 872, i32 noundef %5) #17 %25 = icmp ult i64 %24, -119 br i1 %25, label %26, label %395 @@ -2969,13 +2969,13 @@ HUF_fillDTableX2ForWeight.exit10: ; preds = %.loopexit, %.split. 395: ; preds = %.loopexit23, %26, %21, %16, %6 %396 = phi i64 [ %24, %.loopexit23 ], [ -1, %6 ], [ -44, %16 ], [ %24, %21 ], [ -44, %26 ] - call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #11 - call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #11 + call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #17 + call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #17 ret i64 %396 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define dso_local i64 @HUF_decompress1X2_usingDTable(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #5 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(write, argmem: readwrite, inaccessiblemem: none) +define dso_local i64 @HUF_decompress1X2_usingDTable(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #7 align 16 { %6 = load i32, ptr %4, align 4 %7 = and i32 %6, 65280 %8 = icmp eq i32 %7, 256 @@ -2990,8 +2990,8 @@ define dso_local i64 @HUF_decompress1X2_usingDTable(ptr noundef %0, i64 noundef ret i64 %12 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define internal fastcc i64 @HUF_decompress1X2_usingDTable_internal(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4, i32 noundef %5) unnamed_addr #5 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(write, argmem: readwrite, inaccessiblemem: none) +define internal fastcc i64 @HUF_decompress1X2_usingDTable_internal(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4, i32 noundef %5) unnamed_addr #7 align 16 { %7 = icmp eq i32 %5, 0 br i1 %7, label %10, label %8 @@ -3596,7 +3596,7 @@ define dso_local i64 @HUF_decompress1X2_DCtx_wksp(ptr noundef %0, ptr noundef %1 } ; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define dso_local i64 @HUF_decompress4X2_usingDTable(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) local_unnamed_addr #5 align 16 { +define dso_local i64 @HUF_decompress4X2_usingDTable(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) local_unnamed_addr #8 align 16 { %6 = load i32, ptr %4, align 4 %7 = and i32 %6, 65280 %8 = icmp eq i32 %7, 256 @@ -3612,7 +3612,7 @@ define dso_local i64 @HUF_decompress4X2_usingDTable(ptr noundef %0, i64 noundef } ; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define internal fastcc i64 @HUF_decompress4X2_usingDTable_internal(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i32 noundef %5) unnamed_addr #5 align 16 { +define internal fastcc i64 @HUF_decompress4X2_usingDTable_internal(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i32 noundef %5) unnamed_addr #8 align 16 { %7 = alloca %struct.BIT_DStream_t, align 8 %8 = alloca %struct.BIT_DStream_t, align 8 %9 = alloca %struct.BIT_DStream_t, align 8 @@ -3632,13 +3632,13 @@ define internal fastcc i64 @HUF_decompress4X2_usingDTable_internal(ptr noundef % %17 = getelementptr i8, ptr %0, i64 %1 %18 = getelementptr i8, ptr %17, i64 -7 %19 = getelementptr i8, ptr %4, i64 4 - call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #11 + call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #17 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %7, i8 0, i64 24, i1 false), !annotation !23 - call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #11 + call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #17 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %8, i8 0, i64 24, i1 false), !annotation !23 - call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #11 + call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #17 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %9, i8 0, i64 40, i1 false), !annotation !23 - call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #11 + call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #17 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %10, i8 0, i64 40, i1 false), !annotation !23 %20 = load i16, ptr %2, align 1 %21 = zext i16 %20 to i64 @@ -6068,10 +6068,10 @@ define internal fastcc i64 @HUF_decompress4X2_usingDTable_internal(ptr noundef % .thread: ; preds = %206, %125, %47, %273, %216, %192, %135, %111, %54, %1868, %623, %287, %16 %1905 = phi i64 [ %291, %287 ], [ -20, %16 ], [ -20, %623 ], [ %1904, %1868 ], [ -20, %111 ], [ -1, %54 ], [ -20, %192 ], [ -1, %135 ], [ -20, %273 ], [ -1, %216 ], [ -72, %47 ], [ -72, %125 ], [ -72, %206 ] - call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #11 - call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #11 - call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #11 - call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #11 + call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #17 + call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #17 + call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #17 + call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #17 br label %1906 1906: ; preds = %.thread, %14, %12 @@ -6100,8 +6100,8 @@ define dso_local i64 @HUF_decompress4X2_DCtx_wksp(ptr noundef %0, ptr noundef %1 ret i64 %17 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define dso_local i64 @HUF_decompress1X_usingDTable(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #5 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(write, argmem: readwrite, inaccessiblemem: none) +define dso_local i64 @HUF_decompress1X_usingDTable(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4) local_unnamed_addr #7 align 16 { %6 = load i32, ptr %4, align 4 %7 = and i32 %6, 65280 %8 = icmp eq i32 %7, 0 @@ -6121,7 +6121,7 @@ define dso_local i64 @HUF_decompress1X_usingDTable(ptr noundef %0, i64 noundef % } ; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define dso_local i64 @HUF_decompress4X_usingDTable(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) local_unnamed_addr #5 align 16 { +define dso_local i64 @HUF_decompress4X_usingDTable(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) local_unnamed_addr #8 align 16 { %6 = load i32, ptr %4, align 4 %7 = and i32 %6, 65280 %8 = icmp eq i32 %7, 0 @@ -6141,7 +6141,7 @@ define dso_local i64 @HUF_decompress4X_usingDTable(ptr noundef %0, i64 noundef % } ; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(none) -define dso_local range(i32 0, 2) i32 @HUF_selectDecoder(i64 noundef %0, i64 noundef %1) local_unnamed_addr #6 align 16 { +define dso_local range(i32 0, 2) i32 @HUF_selectDecoder(i64 noundef %0, i64 noundef %1) local_unnamed_addr #9 align 16 { %3 = icmp ult i64 %1, %0 br i1 %3, label %4, label %8 @@ -6341,8 +6341,8 @@ define dso_local i64 @HUF_decompress1X_DCtx_wksp(ptr noundef %0, ptr noundef %1, ret i64 %62 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define dso_local i64 @HUF_decompress1X_usingDTable_bmi2(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4, i32 noundef %5) local_unnamed_addr #5 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(write, argmem: readwrite, inaccessiblemem: none) +define dso_local i64 @HUF_decompress1X_usingDTable_bmi2(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4, i32 noundef %5) local_unnamed_addr #7 align 16 { %7 = load i32, ptr %4, align 4 %8 = and i32 %7, 65280 %9 = icmp eq i32 %8, 0 @@ -6383,7 +6383,7 @@ define dso_local i64 @HUF_decompress1X1_DCtx_wksp_bmi2(ptr nocapture noundef %0, } ; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define dso_local i64 @HUF_decompress4X_usingDTable_bmi2(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i32 noundef %5) local_unnamed_addr #5 align 16 { +define dso_local i64 @HUF_decompress4X_usingDTable_bmi2(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, i32 noundef %5) local_unnamed_addr #8 align 16 { %7 = load i32, ptr %4, align 4 %8 = and i32 %7, 65280 %9 = icmp eq i32 %8, 0 @@ -6477,8 +6477,8 @@ define dso_local i64 @HUF_decompress4X_hufOnly_wksp_bmi2(ptr noundef %0, ptr nou ret i64 %56 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define internal fastcc i64 @HUF_decompress1X1_usingDTable_internal_bmi2(ptr noundef writeonly %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4) unnamed_addr #7 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) +define internal fastcc i64 @HUF_decompress1X1_usingDTable_internal_bmi2(ptr noundef writeonly %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4) unnamed_addr #10 align 16 { %6 = getelementptr i8, ptr %0, i64 %1 %7 = getelementptr i8, ptr %4, i64 4 %8 = load i32, ptr %4, align 4 @@ -6785,7 +6785,7 @@ define internal fastcc i64 @HUF_decompress1X1_usingDTable_internal_bmi2(ptr noun } ; Function Attrs: fn_ret_thunk_extern inlinehint mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: readwrite) -define internal fastcc noundef range(i64 1, 0) i64 @BIT_initDStream(ptr nocapture noundef writeonly %0, ptr noundef %1, i64 noundef %2) unnamed_addr #8 align 16 { +define internal fastcc noundef range(i64 1, 0) i64 @BIT_initDStream(ptr nocapture noundef writeonly %0, ptr noundef %1, i64 noundef %2) unnamed_addr #11 align 16 { %4 = icmp eq i64 %2, 0 br i1 %4, label %5, label %6 @@ -6926,10 +6926,10 @@ define internal fastcc noundef range(i64 1, 0) i64 @BIT_initDStream(ptr nocaptur } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.ctlz.i32(i32, i1 immarg) #9 +declare i32 @llvm.ctlz.i32(i32, i1 immarg) #12 ; Function Attrs: fn_ret_thunk_extern inlinehint mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(read, argmem: readwrite, inaccessiblemem: none) -define internal fastcc range(i32 0, 4) i32 @BIT_reloadDStream(ptr nocapture noundef %0) unnamed_addr #10 align 16 { +define internal fastcc range(i32 0, 4) i32 @BIT_reloadDStream(ptr nocapture noundef %0) unnamed_addr #13 align 16 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i32, ptr %2, align 8 %4 = icmp ugt i32 %3, 64 @@ -6994,8 +6994,8 @@ define internal fastcc range(i32 0, 4) i32 @BIT_reloadDStream(ptr nocapture noun ret i32 %44 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define internal fastcc i64 @HUF_decompress4X1_usingDTable_internal_bmi2(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef readonly %4) unnamed_addr #7 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) +define internal fastcc i64 @HUF_decompress4X1_usingDTable_internal_bmi2(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef readonly %4) unnamed_addr #14 align 16 { %6 = alloca %struct.BIT_DStream_t, align 8 %7 = alloca %struct.BIT_DStream_t, align 8 %8 = alloca %struct.BIT_DStream_t, align 8 @@ -7007,13 +7007,13 @@ define internal fastcc i64 @HUF_decompress4X1_usingDTable_internal_bmi2(ptr noun %12 = getelementptr i8, ptr %0, i64 %1 %13 = getelementptr i8, ptr %12, i64 -3 %14 = getelementptr i8, ptr %4, i64 4 - call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #11 + call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #17 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %6, i8 0, i64 24, i1 false), !annotation !23 - call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #11 + call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #17 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %7, i8 0, i64 24, i1 false), !annotation !23 - call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #11 + call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #17 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %8, i8 0, i64 40, i1 false), !annotation !23 - call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #11 + call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #17 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %9, i8 0, i64 40, i1 false), !annotation !23 %15 = load i16, ptr %2, align 1 %16 = zext i16 %15 to i64 @@ -8607,10 +8607,10 @@ BIT_initDStream.exit: ; preds = %291 .thread: ; preds = %281, %200, %119, %41, %349, %291, %267, %210, %186, %129, %105, %48, %.loopexit, %648, %BIT_initDStream.exit, %11 %1204 = phi i64 [ %26, %BIT_initDStream.exit ], [ -20, %11 ], [ -20, %648 ], [ %1203, %.loopexit ], [ -20, %105 ], [ -1, %48 ], [ -20, %186 ], [ -1, %129 ], [ -20, %267 ], [ -1, %210 ], [ -20, %349 ], [ -1, %291 ], [ -72, %41 ], [ -72, %119 ], [ -72, %200 ], [ -72, %281 ] - call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #11 - call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #11 - call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #11 - call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #11 + call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #17 + call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #17 + call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #17 + call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #17 br label %1205 1205: ; preds = %.thread, %5 @@ -8618,8 +8618,8 @@ BIT_initDStream.exit: ; preds = %291 ret i64 %1206 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define internal fastcc i64 @HUF_decompress1X2_usingDTable_internal_bmi2(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4) unnamed_addr #7 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(write, argmem: readwrite, inaccessiblemem: none) +define internal fastcc i64 @HUF_decompress1X2_usingDTable_internal_bmi2(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4) unnamed_addr #15 align 16 { %6 = icmp eq i64 %3, 0 br i1 %6, label %.thread, label %7 @@ -9195,7 +9195,7 @@ define internal fastcc i64 @HUF_decompress1X2_usingDTable_internal_bmi2(ptr noun } ; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define internal fastcc i64 @HUF_decompress4X2_usingDTable_internal_bmi2(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef readonly %4) unnamed_addr #7 align 16 { +define internal fastcc i64 @HUF_decompress4X2_usingDTable_internal_bmi2(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef readonly %4) unnamed_addr #16 align 16 { %6 = alloca %struct.BIT_DStream_t, align 8 %7 = alloca %struct.BIT_DStream_t, align 8 %8 = alloca %struct.BIT_DStream_t, align 8 @@ -9207,13 +9207,13 @@ define internal fastcc i64 @HUF_decompress4X2_usingDTable_internal_bmi2(ptr noun %12 = getelementptr i8, ptr %0, i64 %1 %13 = getelementptr i8, ptr %12, i64 -7 %14 = getelementptr i8, ptr %4, i64 4 - call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #11 + call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #17 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %6, i8 0, i64 24, i1 false), !annotation !23 - call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #11 + call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #17 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %7, i8 0, i64 24, i1 false), !annotation !23 - call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #11 + call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #17 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %8, i8 0, i64 40, i1 false), !annotation !23 - call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #11 + call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #17 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %9, i8 0, i64 40, i1 false), !annotation !23 %15 = load i16, ptr %2, align 1 %16 = zext i16 %15 to i64 @@ -12172,10 +12172,10 @@ BIT_reloadDStream.exit80.thread: ; preds = %2046, %1968, %BIT_r .thread: ; preds = %282, %201, %120, %42, %350, %292, %268, %211, %187, %130, %106, %49, %2192, %693, %BIT_initDStream.exit, %11 %2228 = phi i64 [ %26, %BIT_initDStream.exit ], [ -20, %11 ], [ -20, %693 ], [ %2227, %2192 ], [ -20, %106 ], [ -1, %49 ], [ -20, %187 ], [ -1, %130 ], [ -20, %268 ], [ -1, %211 ], [ -20, %350 ], [ -1, %292 ], [ -72, %42 ], [ -72, %120 ], [ -72, %201 ], [ -72, %282 ] - call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #11 - call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #11 - call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #11 - call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #11 + call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #17 + call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #17 + call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #17 + call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #17 br label %2229 2229: ; preds = %.thread, %5 @@ -12184,23 +12184,29 @@ BIT_reloadDStream.exit80.thread: ; preds = %2046, %1968, %BIT_r } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #9 +declare i32 @llvm.umin.i32(i32, i32) #12 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #9 +declare i32 @llvm.smax.i32(i32, i32) #12 attributes #0 = { fn_ret_thunk_extern nounwind null_pointer_is_valid "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { null_pointer_is_valid "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #5 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #6 = { fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #7 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+bmi,+bmi2,+cmov,+cx8,+fxsr,+lzcnt,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #8 = { fn_ret_thunk_extern inlinehint mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #9 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #10 = { fn_ret_thunk_extern inlinehint mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(read, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #11 = { nounwind } +attributes #5 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #6 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #7 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(write, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #8 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #9 = { fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #10 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+bmi,+bmi2,+cmov,+cx8,+fxsr,+lzcnt,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #11 = { fn_ret_thunk_extern inlinehint mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #12 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #13 = { fn_ret_thunk_extern inlinehint mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(read, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #14 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+bmi,+bmi2,+cmov,+cx8,+fxsr,+lzcnt,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #15 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(write, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+bmi,+bmi2,+cmov,+cx8,+fxsr,+lzcnt,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #16 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+bmi,+bmi2,+cmov,+cx8,+fxsr,+lzcnt,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #17 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/linux/optimized/libata-scsi.ll b/bench/linux/optimized/libata-scsi.ll index ad6637bc3b8..2c8af99c420 100644 --- a/bench/linux/optimized/libata-scsi.ll +++ b/bench/linux/optimized/libata-scsi.ll @@ -3673,8 +3673,8 @@ define internal noundef i32 @ata_scsiop_inq_b6(ptr nocapture noundef readonly %0 ret i32 0 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define internal noundef i32 @ata_scsiop_inq_b9(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #14 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) +define internal noundef i32 @ata_scsiop_inq_b9(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #11 align 16 { %3 = load ptr, ptr %0, align 8 %4 = getelementptr inbounds i8, ptr %3, i64 1520 %5 = load ptr, ptr %4, align 16 @@ -4674,10 +4674,10 @@ declare dso_local void @_raw_spin_unlock_irqrestore(ptr noundef, i64 noundef) lo declare dso_local i64 @_copy_from_user(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3 ; Function Attrs: null_pointer_is_valid allocsize(0) -declare dso_local noalias ptr @kmalloc_large(i64 noundef, i32 noundef) local_unnamed_addr #15 +declare dso_local noalias ptr @kmalloc_large(i64 noundef, i32 noundef) local_unnamed_addr #14 ; Function Attrs: null_pointer_is_valid allocsize(0) -declare dso_local noalias ptr @__kmalloc(i64 noundef, i32 noundef) local_unnamed_addr #15 +declare dso_local noalias ptr @__kmalloc(i64 noundef, i32 noundef) local_unnamed_addr #14 ; Function Attrs: null_pointer_is_valid declare dso_local i64 @_copy_to_user(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3 @@ -6787,13 +6787,13 @@ define internal noundef range(i32 0, 2) i32 @ata_scsi_start_stop_xlat(ptr nounde declare dso_local i32 @ata_build_rw_tf(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.bswap.i32(i32) #16 +declare i32 @llvm.bswap.i32(i32) #15 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i16 @llvm.bswap.i16(i16) #16 +declare i16 @llvm.bswap.i16(i16) #15 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.bswap.i64(i64) #16 +declare i64 @llvm.bswap.i64(i64) #15 ; Function Attrs: null_pointer_is_valid declare dso_local i64 @sg_copy_from_buffer(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #3 @@ -7042,7 +7042,7 @@ define internal fastcc void @ata_scsi_set_invalid_parameter(i64 %.16.val, ptr no } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #17 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #16 ; Function Attrs: null_pointer_is_valid declare dso_local i32 @scsi_set_sense_field_pointer(ptr noundef, i32 noundef, i16 noundef zeroext, i8 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #3 @@ -7752,10 +7752,10 @@ declare dso_local void @ata_sg_init(ptr noundef, ptr noundef, i32 noundef) local declare dso_local void @ata_qc_issue(ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nofree nounwind null_pointer_is_valid willreturn memory(argmem: read) -declare dso_local i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #18 +declare dso_local i32 @strncmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #17 -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define internal fastcc noundef range(i32 0, 493) i32 @ata_msense_control(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, i8 noundef zeroext %2, i1 noundef zeroext %3) unnamed_addr #14 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) +define internal fastcc noundef range(i32 0, 493) i32 @ata_msense_control(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, i8 noundef zeroext %2, i1 noundef zeroext %3) unnamed_addr #18 align 16 { switch i8 %2, label %.loopexit [ i8 0, label %5 i8 7, label %18 @@ -8070,16 +8070,16 @@ declare dso_local void @scsi_remove_device(ptr noundef) local_unnamed_addr #3 declare dso_local i64 @__msecs_to_jiffies(i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #16 +declare i32 @llvm.umin.i32(i32, i32) #15 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #16 +declare i32 @llvm.smin.i32(i32, i32) #15 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #16 +declare i64 @llvm.umin.i64(i64, i64) #15 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.usub.sat.i32(i32, i32) #16 +declare i32 @llvm.usub.sat.i32(i32, i32) #15 attributes #0 = { fn_ret_thunk_extern nounwind null_pointer_is_valid "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #1 = { fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } @@ -8095,11 +8095,11 @@ attributes #10 = { cold null_pointer_is_valid "no-trapping-math"="true" "stack-p attributes #11 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #12 = { fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #13 = { fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(read, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #14 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #15 = { null_pointer_is_valid allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #16 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #17 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #18 = { mustprogress nofree nounwind null_pointer_is_valid willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #14 = { null_pointer_is_valid allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #15 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #16 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #17 = { mustprogress nofree nounwind null_pointer_is_valid willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #18 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #19 = { nounwind } attributes #20 = { nounwind allocsize(0) } attributes #21 = { nounwind memory(none) } diff --git a/bench/linux/optimized/nf_conntrack_ftp.ll b/bench/linux/optimized/nf_conntrack_ftp.ll index ed36990e65a..34cd53f1843 100644 --- a/bench/linux/optimized/nf_conntrack_ftp.ll +++ b/bench/linux/optimized/nf_conntrack_ftp.ll @@ -77,7 +77,7 @@ module asm ".previous\09\09\09\09\09" define internal void @nf_conntrack_ftp_fini() #0 section ".exit.text" align 16 { %1 = load i32, ptr @ports_c, align 4 %2 = shl i32 %1, 1 - tail call void @nf_conntrack_helpers_unregister(ptr noundef nonnull @ftp, i32 noundef %2) #12 + tail call void @nf_conntrack_helpers_unregister(ptr noundef nonnull @ftp, i32 noundef %2) #11 ret void } @@ -107,13 +107,13 @@ define internal range(i32 -2147483648, 1) i32 @nf_conntrack_ftp_init() #0 sectio %10 = getelementptr [8 x i16], ptr @ports, i64 0, i64 %9 %11 = load i16, ptr %10, align 2 %12 = zext i16 %11 to i32 - tail call void @nf_ct_helper_init(ptr noundef %8, i16 noundef zeroext 2, i16 noundef zeroext 6, ptr noundef nonnull @.str, i16 noundef zeroext 21, i16 noundef zeroext %11, i32 noundef %12, ptr noundef nonnull @ftp_exp_policy, i32 noundef 0, ptr noundef nonnull @help, ptr noundef nonnull @nf_ct_ftp_from_nlattr, ptr noundef null) #12 + tail call void @nf_ct_helper_init(ptr noundef %8, i16 noundef zeroext 2, i16 noundef zeroext 6, ptr noundef nonnull @.str, i16 noundef zeroext 21, i16 noundef zeroext %11, i32 noundef %12, ptr noundef nonnull @ftp_exp_policy, i32 noundef 0, ptr noundef nonnull @help, ptr noundef nonnull @nf_ct_ftp_from_nlattr, ptr noundef null) #11 %13 = or disjoint i32 %6, 1 %14 = sext i32 %13 to i64 %15 = getelementptr [16 x %struct.nf_conntrack_helper], ptr @ftp, i64 0, i64 %14 %16 = load i16, ptr %10, align 2 %17 = zext i16 %16 to i32 - tail call void @nf_ct_helper_init(ptr noundef %15, i16 noundef zeroext 10, i16 noundef zeroext 6, ptr noundef nonnull @.str, i16 noundef zeroext 21, i16 noundef zeroext %16, i32 noundef %17, ptr noundef nonnull @ftp_exp_policy, i32 noundef 0, ptr noundef nonnull @help, ptr noundef nonnull @nf_ct_ftp_from_nlattr, ptr noundef null) #12 + tail call void @nf_ct_helper_init(ptr noundef %15, i16 noundef zeroext 10, i16 noundef zeroext 6, ptr noundef nonnull @.str, i16 noundef zeroext 21, i16 noundef zeroext %16, i32 noundef %17, ptr noundef nonnull @ftp_exp_policy, i32 noundef 0, ptr noundef nonnull @help, ptr noundef nonnull @nf_ct_ftp_from_nlattr, ptr noundef null) #11 %18 = add nuw i32 %5, 1 %19 = load i32, ptr @ports_c, align 4 %20 = icmp ult i32 %18, %19 @@ -121,12 +121,12 @@ define internal range(i32 -2147483648, 1) i32 @nf_conntrack_ftp_init() #0 sectio 21: ; preds = %4 %22 = shl i32 %19, 1 - %23 = tail call i32 @nf_conntrack_helpers_register(ptr noundef nonnull @ftp, i32 noundef %22) #12 + %23 = tail call i32 @nf_conntrack_helpers_register(ptr noundef nonnull @ftp, i32 noundef %22) #11 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %21 - %26 = tail call i32 (ptr, ...) @_printk(ptr noundef nonnull @.str.1) #13 + %26 = tail call i32 (ptr, ...) @_printk(ptr noundef nonnull @.str.1) #12 br label %27 27: ; preds = %25, %21 @@ -145,10 +145,10 @@ define internal i32 @help(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 no %5 = alloca %struct.tcphdr, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.nf_conntrack_man, align 4 - call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %5) #12 + call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %5) #11 call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %5, i8 0, i64 20, i1 false), !annotation !8 %8 = icmp ugt i32 %3, 2 - call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #12 + call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #11 store i32 0, ptr %6, align 4, !annotation !8 %9 = getelementptr inbounds i8, ptr %2, i64 176 %10 = load ptr, ptr %9, align 8 @@ -167,7 +167,7 @@ define internal i32 @help(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 no br i1 %18, label %21, label %19, !prof !9 19: ; preds = %15 - %20 = tail call ptr @__nf_ct_ext_find(ptr noundef nonnull %10, i8 noundef zeroext 0) #12 + %20 = tail call ptr @__nf_ct_ext_find(ptr noundef nonnull %10, i8 noundef zeroext 0) #11 br label %24 21: ; preds = %15 @@ -178,7 +178,7 @@ define internal i32 @help(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 no 24: ; preds = %21, %19, %12, %4 %25 = phi ptr [ %20, %19 ], [ %23, %21 ], [ null, %12 ], [ null, %4 ] %26 = getelementptr inbounds i8, ptr %25, i64 24 - call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %7) #12 + call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %7) #11 call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %7, i8 0, i64 20, i1 false) switch i32 %3, label %.thread21 [ i32 3, label %27 @@ -192,7 +192,7 @@ define internal i32 @help(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 no br i1 %30, label %34, label %31 31: ; preds = %27 - %32 = tail call ptr @__pskb_pull_tail(ptr noundef %0, i32 noundef %29) #12 + %32 = tail call ptr @__pskb_pull_tail(ptr noundef %0, i32 noundef %29) #11 %33 = icmp eq ptr %32, null br i1 %33, label %.thread21, label %._crit_edge @@ -214,7 +214,7 @@ define internal i32 @help(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 no br i1 %42, label %.thread21, label %43 43: ; preds = %41 - %44 = call i32 @skb_copy_bits(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %5, i32 noundef 20) #12 + %44 = call i32 @skb_copy_bits(ptr noundef nonnull %0, i32 noundef %1, ptr noundef nonnull %5, i32 noundef 20) #11 %45 = icmp slt i32 %44, 0 br i1 %45, label %.thread21, label %..thread22_crit_edge, !prof !10 @@ -244,7 +244,7 @@ define internal i32 @help(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 no 61: ; preds = %.thread22 %62 = sub i32 %52, %59 - call void @_raw_spin_lock_bh(ptr noundef nonnull @nf_ftp_lock) #12 + call void @_raw_spin_lock_bh(ptr noundef nonnull @nf_ftp_lock) #11 %63 = getelementptr inbounds i8, ptr %0, i64 200 %64 = load ptr, ptr %63, align 8 %65 = zext i32 %59 to i64 @@ -369,22 +369,22 @@ define internal i32 @help(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 no store i32 %137, ptr %6, align 4 %138 = getelementptr i8, ptr %66, i64 %136 %139 = sub i64 %103, %136 - %140 = call i32 %122(ptr noundef %138, i64 noundef %139, ptr noundef nonnull %7, i8 noundef zeroext %120, ptr noundef nonnull %6) #12 + %140 = call i32 %122(ptr noundef %138, i64 noundef %139, ptr noundef nonnull %7, i8 noundef zeroext %120, ptr noundef nonnull %6) #11 %141 = icmp eq i32 %140, 0 br i1 %141, label %.thread27, label %143 .thread27: ; preds = %.split, %.preheader, %.loopexit37 %142 = phi ptr [ %109, %.loopexit37 ], [ %109, %.preheader ], [ %115, %.split ] - call void (ptr, ptr, ptr, ...) @nf_ct_helper_log(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @.str.2, ptr noundef %142) #12 + call void (ptr, ptr, ptr, ...) @nf_ct_helper_log(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @.str.2, ptr noundef %142) #11 br label %.loopexit 143: ; preds = %.loopexit37 - %144 = call ptr @nf_ct_expect_alloc(ptr noundef %2) #12 + %144 = call ptr @nf_ct_expect_alloc(ptr noundef %2) #11 %145 = icmp eq ptr %144, null br i1 %145, label %146, label %147 146: ; preds = %143 - call void (ptr, ptr, ptr, ...) @nf_ct_helper_log(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @.str.3) #12 + call void (ptr, ptr, ptr, ...) @nf_ct_helper_log(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @.str.3) #11 br label %.loopexit 147: ; preds = %143 @@ -411,7 +411,7 @@ define internal i32 @help(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 no %162 = phi ptr [ %151, %155 ], [ %151, %147 ], [ %7, %158 ] %163 = trunc i16 %152 to i8 %164 = getelementptr inbounds i8, ptr %7, i64 16 - call void @nf_ct_expect_init(ptr noundef nonnull %144, i32 noundef 0, i8 noundef zeroext %163, ptr noundef %150, ptr noundef %162, i8 noundef zeroext 6, ptr noundef null, ptr noundef %164) #12 + call void @nf_ct_expect_init(ptr noundef nonnull %144, i32 noundef 0, i8 noundef zeroext %163, ptr noundef %150, ptr noundef %162, i8 noundef zeroext 6, ptr noundef null, ptr noundef %164) #11 %165 = load volatile ptr, ptr @nf_nat_ftp_hook, align 8 %166 = icmp eq ptr %165, null br i1 %166, label %177, label %167 @@ -427,21 +427,21 @@ define internal i32 @help(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 no %173 = getelementptr [2 x [2 x %struct.ftp_search]], ptr @search, i64 0, i64 %77, i64 %107, i32 4 %174 = load i32, ptr %173, align 4 %175 = load i32, ptr %6, align 4 - %176 = call i32 %165(ptr noundef %0, i32 noundef %3, i32 noundef %174, i32 noundef %1, i32 noundef %175, i32 noundef %140, ptr noundef nonnull %144) #12 + %176 = call i32 %165(ptr noundef %0, i32 noundef %3, i32 noundef %174, i32 noundef %1, i32 noundef %175, i32 noundef %140, ptr noundef nonnull %144) #11 br label %181 177: ; preds = %167, %161 - %178 = call i32 @nf_ct_expect_related_report(ptr noundef nonnull %144, i32 noundef 0, i32 noundef 0, i32 noundef 0) #12 + %178 = call i32 @nf_ct_expect_related_report(ptr noundef nonnull %144, i32 noundef 0, i32 noundef 0, i32 noundef 0) #11 %179 = icmp eq i32 %178, 0 br i1 %179, label %181, label %180 180: ; preds = %177 - call void (ptr, ptr, ptr, ...) @nf_ct_helper_log(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @.str.4) #12 + call void (ptr, ptr, ptr, ...) @nf_ct_helper_log(ptr noundef %0, ptr noundef %2, ptr noundef nonnull @.str.4) #11 br label %181 181: ; preds = %180, %177, %172, %158 %182 = phi i32 [ %176, %172 ], [ 0, %180 ], [ 1, %158 ], [ 1, %177 ] - call void @nf_ct_expect_put(ptr noundef nonnull %144) #12 + call void @nf_ct_expect_put(ptr noundef nonnull %144) #11 br label %.thread28 .thread28: ; preds = %.thread26, %.thread26.us, %181, %.loopexit40 @@ -501,14 +501,14 @@ define internal i32 @help(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 no .loopexit: ; preds = %192, %213, %201, %.thread34, %.thread28, %146, %.thread27 %214 = phi i32 [ 0, %.thread27 ], [ %183, %.thread28 ], [ 0, %146 ], [ %183, %.thread34 ], [ %183, %201 ], [ %183, %213 ], [ %183, %192 ] - call void @_raw_spin_unlock_bh(ptr noundef nonnull @nf_ftp_lock) #12 + call void @_raw_spin_unlock_bh(ptr noundef nonnull @nf_ftp_lock) #11 br label %.thread21 .thread21: ; preds = %43, %41, %31, %.loopexit, %.thread22, %46, %24 %215 = phi i32 [ %214, %.loopexit ], [ 1, %24 ], [ 1, %46 ], [ 1, %.thread22 ], [ 0, %31 ], [ 1, %41 ], [ 1, %43 ] - call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %7) #12 - call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #12 - call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %5) #12 + call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %7) #11 + call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #11 + call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %5) #11 ret i32 %215 } @@ -531,7 +531,7 @@ define internal noundef i32 @nf_ct_ftp_from_nlattr(ptr nocapture readnone %0, pt br i1 %12, label %15, label %13, !prof !9 13: ; preds = %9 - %14 = tail call ptr @__nf_ct_ext_find(ptr noundef nonnull %4, i8 noundef zeroext 0) #12 + %14 = tail call ptr @__nf_ct_ext_find(ptr noundef nonnull %4, i8 noundef zeroext 0) #11 br label %18 15: ; preds = %9 @@ -597,10 +597,10 @@ declare dso_local void @_raw_spin_lock_bh(ptr noundef) local_unnamed_addr #1 sec ; Function Attrs: mustprogress nofree nounwind null_pointer_is_valid willreturn memory(read) declare dso_local i32 @strncasecmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #8 -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) define internal i32 @try_rfc959(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef writeonly %2, i8 noundef zeroext %3, ptr nocapture readnone %4) #9 align 16 { %6 = alloca [6 x i32], align 16 - call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #12 + call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #11 %7 = icmp eq i64 %1, 0 call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %6, i8 0, i64 24, i1 false) br i1 %7, label %.thread, label %.preheader @@ -683,7 +683,7 @@ define internal i32 @try_rfc959(ptr nocapture noundef readonly %0, i64 noundef % .thread: ; preds = %31, %5, %26, %39 %63 = phi i32 [ %9, %39 ], [ 0, %26 ], [ 0, %5 ], [ 0, %31 ] - call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #12 + call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #11 ret i32 %63 } @@ -743,7 +743,7 @@ define internal i32 @try_eprt(ptr noundef %0, i64 noundef %1, ptr noundef %2, i8 33: ; preds = %.thread36, %30 %34 = phi i64 [ %26, %.thread36 ], [ %32, %30 ] - call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #12 + call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #11 call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %7, i8 0, i64 16, i1 false) %35 = getelementptr i8, ptr %0, i64 3 br label %36 @@ -816,24 +816,24 @@ define internal i32 @try_eprt(ptr noundef %0, i64 noundef %1, ptr noundef %2, i8 .thread: ; preds = %60, %55, %68 %83 = phi i32 [ %38, %68 ], [ 0, %55 ], [ 0, %60 ] - call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #12 + call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #11 br label %select.unfold11 84: ; preds = %.thread37, %30 %85 = phi i64 [ %29, %.thread37 ], [ %32, %30 ] %86 = getelementptr i8, ptr %0, i64 3 - call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #12 + call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #11 store ptr null, ptr %6, align 8, !annotation !8 %87 = tail call i64 @llvm.umin.i64(i64 %85, i64 65535) %88 = trunc nuw nsw i64 %87 to i32 - %89 = call i32 @in6_pton(ptr noundef %86, i32 noundef %88, ptr noundef %2, i32 noundef %11, ptr noundef nonnull %6) #12 + %89 = call i32 @in6_pton(ptr noundef %86, i32 noundef %88, ptr noundef %2, i32 noundef %11, ptr noundef nonnull %6) #11 %90 = icmp sgt i32 %89, 0 %91 = load ptr, ptr %6, align 8 %92 = ptrtoint ptr %91 to i64 %93 = ptrtoint ptr %86 to i64 %94 = sub i64 %92, %93 %95 = trunc i64 %94 to i32 - call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #12 + call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #11 br i1 %90, label %select.unfold11, label %.thread12 select.unfold11: ; preds = %84, %.thread @@ -887,7 +887,7 @@ select.unfold11: ; preds = %84, %.thread ret i32 %125 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) define internal i32 @try_rfc1123(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef writeonly %2, i8 zeroext %3, ptr nocapture noundef %4) #9 align 16 { %6 = alloca [6 x i32], align 16 %7 = icmp eq i64 %1, 0 @@ -921,7 +921,7 @@ define internal i32 @try_rfc1123(ptr nocapture noundef readonly %0, i64 noundef store i32 %24, ptr %4, align 4 %25 = getelementptr i8, ptr %0, i64 %20 %26 = sub i64 %1, %20 - call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #12 + call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #11 call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(24) %6, i8 0, i64 24, i1 false) br label %27 @@ -999,7 +999,7 @@ define internal i32 @try_rfc1123(ptr nocapture noundef readonly %0, i64 noundef .thread: ; preds = %49, %46, %57 %81 = phi i32 [ %29, %57 ], [ 0, %46 ], [ 0, %49 ] - call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #12 + call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #11 br label %82 82: ; preds = %.thread, %.loopexit @@ -1008,7 +1008,7 @@ define internal i32 @try_rfc1123(ptr nocapture noundef readonly %0, i64 noundef } ; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) -define internal i32 @try_epsv_response(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef writeonly %2, i8 zeroext %3, ptr nocapture readnone %4) #10 align 16 { +define internal i32 @try_epsv_response(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef writeonly %2, i8 zeroext %3, ptr nocapture readnone %4) #9 align 16 { %6 = icmp ult i64 %1, 4 br i1 %6, label %.loopexit, label %7 @@ -1090,7 +1090,7 @@ declare dso_local i32 @nf_ct_expect_related_report(ptr noundef, i32 noundef, i32 declare dso_local void @_raw_spin_unlock_bh(ptr noundef) local_unnamed_addr #1 section ".spinlock.text" ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #11 +declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #10 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umin.i64(i64, i64) #6 @@ -1104,11 +1104,10 @@ attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argm attributes #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #8 = { mustprogress nofree nounwind null_pointer_is_valid willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #9 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #10 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #11 = { mustprogress nofree nounwind willreturn memory(argmem: read) } -attributes #12 = { nounwind } -attributes #13 = { cold nounwind } +attributes #9 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #10 = { mustprogress nofree nounwind willreturn memory(argmem: read) } +attributes #11 = { nounwind } +attributes #12 = { cold nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/linux/optimized/nls_base.ll b/bench/linux/optimized/nls_base.ll index 15c45603e84..4c875fcaea4 100644 --- a/bench/linux/optimized/nls_base.ll +++ b/bench/linux/optimized/nls_base.ll @@ -47,7 +47,7 @@ module asm ".section \22.export_symbol\22,\22a\22 ; __export_symbol_load_nls_def @charset2uni = internal unnamed_addr constant [256 x i16] [i16 0, i16 1, i16 2, i16 3, i16 4, i16 5, i16 6, i16 7, i16 8, i16 9, i16 10, i16 11, i16 12, i16 13, i16 14, i16 15, i16 16, i16 17, i16 18, i16 19, i16 20, i16 21, i16 22, i16 23, i16 24, i16 25, i16 26, i16 27, i16 28, i16 29, i16 30, i16 31, i16 32, i16 33, i16 34, i16 35, i16 36, i16 37, i16 38, i16 39, i16 40, i16 41, i16 42, i16 43, i16 44, i16 45, i16 46, i16 47, i16 48, i16 49, i16 50, i16 51, i16 52, i16 53, i16 54, i16 55, i16 56, i16 57, i16 58, i16 59, i16 60, i16 61, i16 62, i16 63, i16 64, i16 65, i16 66, i16 67, i16 68, i16 69, i16 70, i16 71, i16 72, i16 73, i16 74, i16 75, i16 76, i16 77, i16 78, i16 79, i16 80, i16 81, i16 82, i16 83, i16 84, i16 85, i16 86, i16 87, i16 88, i16 89, i16 90, i16 91, i16 92, i16 93, i16 94, i16 95, i16 96, i16 97, i16 98, i16 99, i16 100, i16 101, i16 102, i16 103, i16 104, i16 105, i16 106, i16 107, i16 108, i16 109, i16 110, i16 111, i16 112, i16 113, i16 114, i16 115, i16 116, i16 117, i16 118, i16 119, i16 120, i16 121, i16 122, i16 123, i16 124, i16 125, i16 126, i16 127, i16 128, i16 129, i16 130, i16 131, i16 132, i16 133, i16 134, i16 135, i16 136, i16 137, i16 138, i16 139, i16 140, i16 141, i16 142, i16 143, i16 144, i16 145, i16 146, i16 147, i16 148, i16 149, i16 150, i16 151, i16 152, i16 153, i16 154, i16 155, i16 156, i16 157, i16 158, i16 159, i16 160, i16 161, i16 162, i16 163, i16 164, i16 165, i16 166, i16 167, i16 168, i16 169, i16 170, i16 171, i16 172, i16 173, i16 174, i16 175, i16 176, i16 177, i16 178, i16 179, i16 180, i16 181, i16 182, i16 183, i16 184, i16 185, i16 186, i16 187, i16 188, i16 189, i16 190, i16 191, i16 192, i16 193, i16 194, i16 195, i16 196, i16 197, i16 198, i16 199, i16 200, i16 201, i16 202, i16 203, i16 204, i16 205, i16 206, i16 207, i16 208, i16 209, i16 210, i16 211, i16 212, i16 213, i16 214, i16 215, i16 216, i16 217, i16 218, i16 219, i16 220, i16 221, i16 222, i16 223, i16 224, i16 225, i16 226, i16 227, i16 228, i16 229, i16 230, i16 231, i16 232, i16 233, i16 234, i16 235, i16 236, i16 237, i16 238, i16 239, i16 240, i16 241, i16 242, i16 243, i16 244, i16 245, i16 246, i16 247, i16 248, i16 249, i16 250, i16 251, i16 252, i16 253, i16 254, i16 255], align 16 @llvm.compiler.used = appending global [11 x ptr] [ptr @__UNIQUE_ID___addressable___register_nls307, ptr @__UNIQUE_ID___addressable_load_nls310, ptr @__UNIQUE_ID___addressable_load_nls_default311, ptr @__UNIQUE_ID___addressable_unload_nls309, ptr @__UNIQUE_ID___addressable_unregister_nls308, ptr @__UNIQUE_ID___addressable_utf16s_to_utf8s306, ptr @__UNIQUE_ID___addressable_utf32_to_utf8304, ptr @__UNIQUE_ID___addressable_utf8_to_utf32303, ptr @__UNIQUE_ID___addressable_utf8s_to_utf16s305, ptr @__UNIQUE_ID_file312, ptr @__UNIQUE_ID_license313], section "llvm.metadata" -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) define dso_local i32 @utf8_to_utf32(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2) #0 align 16 { %4 = load i8, ptr %0, align 1 %5 = zext i8 %4 to i32 @@ -113,7 +113,7 @@ define dso_local i32 @utf8_to_utf32(ptr nocapture noundef readonly %0, i32 nound ret i32 %48 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(write, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: write) define dso_local i32 @utf32_to_utf8(i32 noundef %0, ptr noundef writeonly %1, i32 noundef %2) #1 align 16 { %4 = icmp eq ptr %1, null br i1 %4, label %.loopexit, label %5 @@ -179,8 +179,8 @@ define dso_local i32 @utf32_to_utf8(i32 noundef %0, ptr noundef writeonly %1, i3 ret i32 %46 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define dso_local i32 @utf8s_to_utf16s(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #2 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) +define dso_local i32 @utf8s_to_utf16s(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 align 16 { %6 = icmp sgt i32 %1, 0 %7 = icmp sgt i32 %4, 0 %8 = and i1 %6, %7 @@ -330,8 +330,8 @@ define dso_local i32 @utf8s_to_utf16s(ptr nocapture noundef readonly %0, i32 nou ret i32 %111 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define dso_local i32 @utf16s_to_utf8s(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #2 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) +define dso_local i32 @utf16s_to_utf8s(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 align 16 { %6 = icmp sgt i32 %4, 0 %7 = icmp sgt i32 %1, 0 %8 = and i1 %7, %6 @@ -495,7 +495,7 @@ define dso_local i32 @utf16s_to_utf8s(ptr nocapture noundef readonly %0, i32 nou } ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define dso_local noundef range(i32 -16, 1) i32 @__register_nls(ptr noundef %0, ptr noundef %1) #3 align 16 { +define dso_local noundef range(i32 -16, 1) i32 @__register_nls(ptr noundef %0, ptr noundef %1) #2 align 16 { %3 = getelementptr inbounds i8, ptr %0, i64 56 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null @@ -504,7 +504,7 @@ define dso_local noundef range(i32 -16, 1) i32 @__register_nls(ptr noundef %0, p 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %0, i64 48 store ptr %1, ptr %7, align 8 - tail call void @_raw_spin_lock(ptr noundef nonnull @nls_lock) #9 + tail call void @_raw_spin_lock(ptr noundef nonnull @nls_lock) #8 %8 = load ptr, ptr @tables, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %.loopexit3, label %.preheader @@ -527,7 +527,7 @@ define dso_local noundef range(i32 -16, 1) i32 @__register_nls(ptr noundef %0, p .loopexit: ; preds = %.preheader, %.loopexit3 %16 = phi i32 [ 0, %.loopexit3 ], [ -16, %.preheader ] - tail call void @_raw_spin_unlock(ptr noundef nonnull @nls_lock) #9 + tail call void @_raw_spin_unlock(ptr noundef nonnull @nls_lock) #8 br label %17 17: ; preds = %.loopexit, %2 @@ -536,8 +536,8 @@ define dso_local noundef range(i32 -16, 1) i32 @__register_nls(ptr noundef %0, p } ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define dso_local noundef range(i32 -22, 1) i32 @unregister_nls(ptr noundef readonly %0) #3 align 16 { - tail call void @_raw_spin_lock(ptr noundef nonnull @nls_lock) #9 +define dso_local noundef range(i32 -22, 1) i32 @unregister_nls(ptr noundef readonly %0) #2 align 16 { + tail call void @_raw_spin_lock(ptr noundef nonnull @nls_lock) #8 %2 = load ptr, ptr @tables, align 8 %3 = icmp eq ptr %2, null br i1 %3, label %.loopexit, label %4 @@ -570,13 +570,13 @@ define dso_local noundef range(i32 -22, 1) i32 @unregister_nls(ptr noundef reado .loopexit: ; preds = %.preheader, %.loopexit2, %1 %16 = phi i32 [ 0, %.loopexit2 ], [ -22, %1 ], [ -22, %.preheader ] - tail call void @_raw_spin_unlock(ptr noundef nonnull @nls_lock) #9 + tail call void @_raw_spin_unlock(ptr noundef nonnull @nls_lock) #8 ret i32 %16 } ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define dso_local ptr @load_nls(ptr noundef %0) #3 align 16 { - tail call void @_raw_spin_lock(ptr noundef nonnull @nls_lock) #9 +define dso_local ptr @load_nls(ptr noundef %0) #2 align 16 { + tail call void @_raw_spin_lock(ptr noundef nonnull @nls_lock) #8 %2 = load ptr, ptr @tables, align 8 %3 = icmp eq ptr %2, null br i1 %3, label %.loopexit, label %.preheader.i @@ -584,7 +584,7 @@ define dso_local ptr @load_nls(ptr noundef %0) #3 align 16 { .preheader.i: ; preds = %1, %15 %4 = phi ptr [ %17, %15 ], [ %2, %1 ] %5 = load ptr, ptr %4, align 8 - %6 = tail call i32 @strcmp(ptr noundef %5, ptr noundef readonly %0) #9 + %6 = tail call i32 @strcmp(ptr noundef %5, ptr noundef readonly %0) #8 %7 = icmp eq i32 %6, 0 br i1 %7, label %19, label %8 @@ -595,7 +595,7 @@ define dso_local ptr @load_nls(ptr noundef %0) #3 align 16 { br i1 %11, label %15, label %12 12: ; preds = %8 - %13 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %10, ptr noundef readonly %0) #9 + %13 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %10, ptr noundef readonly %0) #8 %14 = icmp eq i32 %13, 0 br i1 %14, label %19, label %15 @@ -608,13 +608,13 @@ define dso_local ptr @load_nls(ptr noundef %0) #3 align 16 { 19: ; preds = %12, %.preheader.i %20 = getelementptr inbounds i8, ptr %4, i64 48 %21 = load ptr, ptr %20, align 8 - %22 = tail call zeroext i1 @try_module_get(ptr noundef %21) #9 + %22 = tail call zeroext i1 @try_module_get(ptr noundef %21) #8 br i1 %22, label %find_nls.exit, label %.loopexit .loopexit: ; preds = %15, %19, %1 - tail call void @_raw_spin_unlock(ptr noundef nonnull @nls_lock) #9 - %23 = tail call i32 (i1, ptr, ...) @__request_module(i1 noundef zeroext true, ptr noundef nonnull @.str, ptr noundef %0) #9 - tail call void @_raw_spin_lock(ptr noundef nonnull @nls_lock) #9 + tail call void @_raw_spin_unlock(ptr noundef nonnull @nls_lock) #8 + %23 = tail call i32 (i1, ptr, ...) @__request_module(i1 noundef zeroext true, ptr noundef nonnull @.str, ptr noundef %0) #8 + tail call void @_raw_spin_lock(ptr noundef nonnull @nls_lock) #8 %24 = load ptr, ptr @tables, align 8 %25 = icmp eq ptr %24, null br i1 %25, label %find_nls.exit, label %.preheader.i1 @@ -622,7 +622,7 @@ define dso_local ptr @load_nls(ptr noundef %0) #3 align 16 { .preheader.i1: ; preds = %.loopexit, %37 %26 = phi ptr [ %39, %37 ], [ %24, %.loopexit ] %27 = load ptr, ptr %26, align 8 - %28 = tail call i32 @strcmp(ptr noundef %27, ptr noundef readonly %0) #9 + %28 = tail call i32 @strcmp(ptr noundef %27, ptr noundef readonly %0) #8 %29 = icmp eq i32 %28, 0 br i1 %29, label %41, label %30 @@ -633,7 +633,7 @@ define dso_local ptr @load_nls(ptr noundef %0) #3 align 16 { br i1 %33, label %37, label %34 34: ; preds = %30 - %35 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %32, ptr noundef readonly %0) #9 + %35 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %32, ptr noundef readonly %0) #8 %36 = icmp eq i32 %35, 0 br i1 %36, label %41, label %37 @@ -646,28 +646,28 @@ define dso_local ptr @load_nls(ptr noundef %0) #3 align 16 { 41: ; preds = %34, %.preheader.i1 %42 = getelementptr inbounds i8, ptr %26, i64 48 %43 = load ptr, ptr %42, align 8 - %44 = tail call zeroext i1 @try_module_get(ptr noundef %43) #9 + %44 = tail call zeroext i1 @try_module_get(ptr noundef %43) #8 %45 = select i1 %44, ptr %26, ptr null br label %find_nls.exit find_nls.exit: ; preds = %37, %41, %.loopexit, %19 %46 = phi ptr [ %4, %19 ], [ %45, %41 ], [ null, %.loopexit ], [ null, %37 ] - tail call void @_raw_spin_unlock(ptr noundef nonnull @nls_lock) #9 + tail call void @_raw_spin_unlock(ptr noundef nonnull @nls_lock) #8 ret ptr %46 } ; Function Attrs: null_pointer_is_valid -declare dso_local i32 @__request_module(i1 noundef zeroext, ptr noundef, ...) local_unnamed_addr #4 +declare dso_local i32 @__request_module(i1 noundef zeroext, ptr noundef, ...) local_unnamed_addr #3 ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define dso_local void @unload_nls(ptr noundef readonly %0) #3 align 16 { +define dso_local void @unload_nls(ptr noundef readonly %0) #2 align 16 { %2 = icmp eq ptr %0, null br i1 %2, label %6, label %3 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 48 %5 = load ptr, ptr %4, align 8 - tail call void @module_put(ptr noundef %5) #9 + tail call void @module_put(ptr noundef %5) #8 br label %6 6: ; preds = %3, %1 @@ -675,11 +675,11 @@ define dso_local void @unload_nls(ptr noundef readonly %0) #3 align 16 { } ; Function Attrs: null_pointer_is_valid -declare dso_local void @module_put(ptr noundef) local_unnamed_addr #4 +declare dso_local void @module_put(ptr noundef) local_unnamed_addr #3 ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid -define dso_local nonnull ptr @load_nls_default() #3 align 16 { - tail call void @_raw_spin_lock(ptr noundef nonnull @nls_lock) #9 +define dso_local nonnull ptr @load_nls_default() #2 align 16 { + tail call void @_raw_spin_lock(ptr noundef nonnull @nls_lock) #8 %1 = load ptr, ptr @tables, align 8 %2 = icmp eq ptr %1, null br i1 %2, label %.loopexit, label %.preheader.i @@ -687,7 +687,7 @@ define dso_local nonnull ptr @load_nls_default() #3 align 16 { .preheader.i: ; preds = %0, %14 %3 = phi ptr [ %16, %14 ], [ %1, %0 ] %4 = load ptr, ptr %3, align 8 - %5 = tail call i32 @strcmp(ptr noundef %4, ptr noundef nonnull readonly dereferenceable(5) @.str.1) #9 + %5 = tail call i32 @strcmp(ptr noundef %4, ptr noundef nonnull readonly dereferenceable(5) @.str.1) #8 %6 = icmp eq i32 %5, 0 br i1 %6, label %18, label %7 @@ -698,7 +698,7 @@ define dso_local nonnull ptr @load_nls_default() #3 align 16 { br i1 %10, label %14, label %11 11: ; preds = %7 - %12 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %9, ptr noundef nonnull readonly dereferenceable(5) @.str.1) #9 + %12 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %9, ptr noundef nonnull readonly dereferenceable(5) @.str.1) #8 %13 = icmp eq i32 %12, 0 br i1 %13, label %18, label %14 @@ -711,13 +711,13 @@ define dso_local nonnull ptr @load_nls_default() #3 align 16 { 18: ; preds = %11, %.preheader.i %19 = getelementptr inbounds i8, ptr %3, i64 48 %20 = load ptr, ptr %19, align 8 - %21 = tail call zeroext i1 @try_module_get(ptr noundef %20) #9 + %21 = tail call zeroext i1 @try_module_get(ptr noundef %20) #8 br i1 %21, label %find_nls.exit, label %.loopexit .loopexit: ; preds = %14, %18, %0 - tail call void @_raw_spin_unlock(ptr noundef nonnull @nls_lock) #9 - %22 = tail call i32 (i1, ptr, ...) @__request_module(i1 noundef zeroext true, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #9 - tail call void @_raw_spin_lock(ptr noundef nonnull @nls_lock) #9 + tail call void @_raw_spin_unlock(ptr noundef nonnull @nls_lock) #8 + %22 = tail call i32 (i1, ptr, ...) @__request_module(i1 noundef zeroext true, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #8 + tail call void @_raw_spin_lock(ptr noundef nonnull @nls_lock) #8 %23 = load ptr, ptr @tables, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %find_nls.exit, label %.preheader.i1 @@ -725,7 +725,7 @@ define dso_local nonnull ptr @load_nls_default() #3 align 16 { .preheader.i1: ; preds = %.loopexit, %36 %25 = phi ptr [ %38, %36 ], [ %23, %.loopexit ] %26 = load ptr, ptr %25, align 8 - %27 = tail call i32 @strcmp(ptr noundef %26, ptr noundef nonnull readonly dereferenceable(5) @.str.1) #9 + %27 = tail call i32 @strcmp(ptr noundef %26, ptr noundef nonnull readonly dereferenceable(5) @.str.1) #8 %28 = icmp eq i32 %27, 0 br i1 %28, label %40, label %29 @@ -736,7 +736,7 @@ define dso_local nonnull ptr @load_nls_default() #3 align 16 { br i1 %32, label %36, label %33 33: ; preds = %29 - %34 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %31, ptr noundef nonnull readonly dereferenceable(5) @.str.1) #9 + %34 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %31, ptr noundef nonnull readonly dereferenceable(5) @.str.1) #8 %35 = icmp eq i32 %34, 0 br i1 %35, label %40, label %36 @@ -749,35 +749,35 @@ define dso_local nonnull ptr @load_nls_default() #3 align 16 { 40: ; preds = %33, %.preheader.i1 %41 = getelementptr inbounds i8, ptr %25, i64 48 %42 = load ptr, ptr %41, align 8 - %43 = tail call zeroext i1 @try_module_get(ptr noundef %42) #9 + %43 = tail call zeroext i1 @try_module_get(ptr noundef %42) #8 %44 = select i1 %43, ptr %25, ptr null br label %find_nls.exit find_nls.exit: ; preds = %36, %40, %.loopexit, %18 %45 = phi ptr [ %3, %18 ], [ %44, %40 ], [ null, %.loopexit ], [ null, %36 ] - tail call void @_raw_spin_unlock(ptr noundef nonnull @nls_lock) #9 + tail call void @_raw_spin_unlock(ptr noundef nonnull @nls_lock) #8 %46 = icmp eq ptr %45, null %47 = select i1 %46, ptr @default_table, ptr %45 ret ptr %47 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i16 @llvm.bswap.i16(i16) #5 +declare i16 @llvm.bswap.i16(i16) #4 ; Function Attrs: null_pointer_is_valid -declare dso_local void @_raw_spin_lock(ptr noundef) local_unnamed_addr #4 section ".spinlock.text" +declare dso_local void @_raw_spin_lock(ptr noundef) local_unnamed_addr #3 section ".spinlock.text" ; Function Attrs: null_pointer_is_valid -declare dso_local void @_raw_spin_unlock(ptr noundef) local_unnamed_addr #4 section ".spinlock.text" +declare dso_local void @_raw_spin_unlock(ptr noundef) local_unnamed_addr #3 section ".spinlock.text" ; Function Attrs: mustprogress nofree nounwind null_pointer_is_valid willreturn memory(argmem: read) -declare dso_local i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #6 +declare dso_local i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #5 ; Function Attrs: null_pointer_is_valid -declare dso_local zeroext i1 @try_module_get(ptr noundef) local_unnamed_addr #4 +declare dso_local zeroext i1 @try_module_get(ptr noundef) local_unnamed_addr #3 ; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(read, argmem: readwrite, inaccessiblemem: none) -define internal noundef range(i32 -36, 2) i32 @uni2char(i16 noundef zeroext %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #7 align 16 { +define internal noundef range(i32 -36, 2) i32 @uni2char(i16 noundef zeroext %0, ptr nocapture noundef writeonly %1, i32 noundef %2) #6 align 16 { %4 = icmp slt i32 %2, 1 br i1 %4, label %18, label %5 @@ -807,7 +807,7 @@ define internal noundef range(i32 -36, 2) i32 @uni2char(i16 noundef zeroext %0, } ; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: readwrite) -define internal range(i32 -22, 2) i32 @char2uni(ptr nocapture noundef readonly %0, i32 %1, ptr nocapture noundef writeonly %2) #8 align 16 { +define internal range(i32 -22, 2) i32 @char2uni(ptr nocapture noundef readonly %0, i32 %1, ptr nocapture noundef writeonly %2) #7 align 16 { %4 = load i8, ptr %0, align 1 %5 = zext i8 %4 to i64 %6 = getelementptr [256 x i16], ptr @charset2uni, i64 0, i64 %5 @@ -819,21 +819,20 @@ define internal range(i32 -22, 2) i32 @char2uni(ptr nocapture noundef readonly % } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #5 +declare i32 @llvm.smax.i32(i32, i32) #4 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #5 - -attributes #0 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #1 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(write, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #2 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #3 = { fn_ret_thunk_extern nounwind null_pointer_is_valid "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #4 = { null_pointer_is_valid "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #6 = { mustprogress nofree nounwind null_pointer_is_valid willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #7 = { fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(read, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #8 = { fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #9 = { nounwind } +declare i32 @llvm.umin.i32(i32, i32) #4 + +attributes #0 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #1 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: write) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #2 = { fn_ret_thunk_extern nounwind null_pointer_is_valid "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #3 = { null_pointer_is_valid "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #5 = { mustprogress nofree nounwind null_pointer_is_valid willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #6 = { fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(read, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #7 = { fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #8 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/linux/optimized/string.ll b/bench/linux/optimized/string.ll index f2012096fa3..c192d54e253 100644 --- a/bench/linux/optimized/string.ll +++ b/bench/linux/optimized/string.ll @@ -64,7 +64,7 @@ module asm ".section \22.export_symbol\22,\22a\22 ; __export_symbol_memchr_inv: @_ctype = external dso_local local_unnamed_addr constant [0 x i8], align 1 @llvm.compiler.used = appending global [28 x ptr] [ptr @__UNIQUE_ID___addressable_bcmp169, ptr @__UNIQUE_ID___addressable_memchr173, ptr @__UNIQUE_ID___addressable_memchr_inv174, ptr @__UNIQUE_ID___addressable_memcmp168, ptr @__UNIQUE_ID___addressable_memscan170, ptr @__UNIQUE_ID___addressable_stpcpy151, ptr @__UNIQUE_ID___addressable_strcasecmp145, ptr @__UNIQUE_ID___addressable_strcat152, ptr @__UNIQUE_ID___addressable_strchr158, ptr @__UNIQUE_ID___addressable_strchrnul159, ptr @__UNIQUE_ID___addressable_strcmp156, ptr @__UNIQUE_ID___addressable_strcpy146, ptr @__UNIQUE_ID___addressable_strcspn165, ptr @__UNIQUE_ID___addressable_strlcat155, ptr @__UNIQUE_ID___addressable_strlen162, ptr @__UNIQUE_ID___addressable_strncasecmp144, ptr @__UNIQUE_ID___addressable_strncat153, ptr @__UNIQUE_ID___addressable_strnchr161, ptr @__UNIQUE_ID___addressable_strncmp157, ptr @__UNIQUE_ID___addressable_strncpy147, ptr @__UNIQUE_ID___addressable_strnlen163, ptr @__UNIQUE_ID___addressable_strnstr172, ptr @__UNIQUE_ID___addressable_strpbrk166, ptr @__UNIQUE_ID___addressable_strrchr160, ptr @__UNIQUE_ID___addressable_strscpy150, ptr @__UNIQUE_ID___addressable_strsep167, ptr @__UNIQUE_ID___addressable_strspn164, ptr @__UNIQUE_ID___addressable_strstr171], section "llvm.metadata" -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local range(i32 -255, 256) i32 @strncasecmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 align 16 { %4 = icmp eq i64 %2, 0 br i1 %4, label %41, label %.preheader @@ -121,7 +121,7 @@ define dso_local range(i32 -255, 256) i32 @strncasecmp(ptr nocapture noundef rea ret i32 %42 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local range(i32 -255, 256) i32 @strcasecmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 align 16 { br label %3 @@ -156,7 +156,7 @@ define dso_local range(i32 -255, 256) i32 @strcasecmp(ptr nocapture noundef read ret i32 %28 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) define dso_local noundef ptr @strcpy(ptr noundef returned writeonly %0, ptr nocapture noundef readonly %1) #1 align 16 { br label %3 @@ -174,7 +174,7 @@ define dso_local noundef ptr @strcpy(ptr noundef returned writeonly %0, ptr noca ret ptr %0 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) define dso_local noundef ptr @strncpy(ptr noundef returned writeonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) #1 align 16 { %4 = icmp eq i64 %2, 0 br i1 %4, label %.loopexit, label %.preheader @@ -207,9 +207,9 @@ define dso_local i64 @strscpy(ptr nocapture noundef writeonly %0, ptr noundef %1 br i1 %6, label %7, label %8, !prof !11 7: ; preds = %5 - tail call void asm sideeffect "148: nop\0A\09.pushsection .discard.instr_begin\0A\09.long 148b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 148) #5, !srcloc !12 - tail call void asm sideeffect "1:\09.byte 0x0f, 0x0b\0A.pushsection __bug_table,\22aw\22\0A2:\09.long 1b - .\09# bug_entry::bug_addr\0A\09.long ${0:c} - .\09# bug_entry::file\0A\09.word ${1:c}\09# bug_entry::line\0A\09.word ${2:c}\09# bug_entry::flags\0A\09.org 2b+${3:c}\0A.popsection\0A998:\0A\09.pushsection .discard.reachable\0A\09.long 998b\0A\09.popsection\0A\09", "i,i,i,i,~{dirflag},~{fpsr},~{flags}"(ptr nonnull @.str, i32 113, i32 2307, i64 12) #5, !srcloc !13 - tail call void asm sideeffect "149: nop\0A\09.pushsection .discard.instr_end\0A\09.long 149b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 149) #5, !srcloc !14 + tail call void asm sideeffect "148: nop\0A\09.pushsection .discard.instr_begin\0A\09.long 148b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 148) #6, !srcloc !12 + tail call void asm sideeffect "1:\09.byte 0x0f, 0x0b\0A.pushsection __bug_table,\22aw\22\0A2:\09.long 1b - .\09# bug_entry::bug_addr\0A\09.long ${0:c} - .\09# bug_entry::file\0A\09.word ${1:c}\09# bug_entry::line\0A\09.word ${2:c}\09# bug_entry::flags\0A\09.org 2b+${3:c}\0A.popsection\0A998:\0A\09.pushsection .discard.reachable\0A\09.long 998b\0A\09.popsection\0A\09", "i,i,i,i,~{dirflag},~{fpsr},~{flags}"(ptr nonnull @.str, i32 113, i32 2307, i64 12) #6, !srcloc !13 + tail call void asm sideeffect "149: nop\0A\09.pushsection .discard.instr_end\0A\09.long 149b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 149) #6, !srcloc !14 br label %.loopexit 8: ; preds = %5 @@ -296,7 +296,7 @@ define dso_local i64 @strscpy(ptr nocapture noundef writeonly %0, ptr noundef %1 ret i64 %59 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) define dso_local noundef ptr @stpcpy(ptr noalias noundef writeonly %0, ptr noalias nocapture noundef readonly %1) #1 align 16 { br label %3 @@ -314,7 +314,7 @@ define dso_local noundef ptr @stpcpy(ptr noalias noundef writeonly %0, ptr noali ret ptr %4 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) define dso_local noundef ptr @strcat(ptr noundef returned %0, ptr nocapture noundef readonly %1) #1 align 16 { br label %3 @@ -339,7 +339,7 @@ define dso_local noundef ptr @strcat(ptr noundef returned %0, ptr nocapture noun ret ptr %0 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) define dso_local noundef ptr @strncat(ptr noundef returned %0, ptr nocapture noundef readonly %1, i64 noundef %2) #1 align 16 { %4 = icmp eq i64 %2, 0 br i1 %4, label %.loopexit, label %.preheader1 @@ -401,8 +401,8 @@ define dso_local noundef i64 @strlcat(ptr noundef %0, ptr noundef %1, i64 nounde br i1 %17, label %19, label %18, !prof !23 18: ; preds = %13 - tail call void asm sideeffect "154: nop\0A\09.pushsection .discard.instr_begin\0A\09.long 154b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 154) #5, !srcloc !24 - tail call void asm sideeffect "1:\09.byte 0x0f, 0x0b\0A.pushsection __bug_table,\22aw\22\0A2:\09.long 1b - .\09# bug_entry::bug_addr\0A\09.long ${0:c} - .\09# bug_entry::file\0A\09.word ${1:c}\09# bug_entry::line\0A\09.word ${2:c}\09# bug_entry::flags\0A\09.org 2b+${3:c}\0A.popsection\0A", "i,i,i,i,~{dirflag},~{fpsr},~{flags}"(ptr nonnull @.str, i32 242, i32 0, i64 12) #5, !srcloc !25 + tail call void asm sideeffect "154: nop\0A\09.pushsection .discard.instr_begin\0A\09.long 154b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 154) #6, !srcloc !24 + tail call void asm sideeffect "1:\09.byte 0x0f, 0x0b\0A.pushsection __bug_table,\22aw\22\0A2:\09.long 1b - .\09# bug_entry::bug_addr\0A\09.long ${0:c} - .\09# bug_entry::file\0A\09.word ${1:c}\09# bug_entry::line\0A\09.word ${2:c}\09# bug_entry::flags\0A\09.org 2b+${3:c}\0A.popsection\0A", "i,i,i,i,~{dirflag},~{fpsr},~{flags}"(ptr nonnull @.str, i32 242, i32 0, i64 12) #6, !srcloc !25 unreachable 19: ; preds = %13 @@ -421,7 +421,7 @@ define dso_local noundef i64 @strlcat(ptr noundef %0, ptr noundef %1, i64 nounde ret i64 %28 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local noundef i64 @strlen(ptr noundef %0) #0 align 16 { br label %2 @@ -442,7 +442,7 @@ define dso_local noundef i64 @strlen(ptr noundef %0) #0 align 16 { ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local range(i32 -1, 2) i32 @strcmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 align 16 { br label %3 @@ -470,7 +470,7 @@ define dso_local range(i32 -1, 2) i32 @strcmp(ptr nocapture noundef readonly %0, ret i32 %16 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local range(i32 -1, 2) i32 @strncmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 align 16 { %4 = icmp eq i64 %2, 0 br i1 %4, label %.loopexit, label %.preheader @@ -503,7 +503,7 @@ define dso_local range(i32 -1, 2) i32 @strncmp(ptr nocapture noundef readonly %0 ret i32 %21 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local noundef ptr @strchr(ptr noundef readonly %0, i32 noundef %1) #0 align 16 { %3 = trunc i32 %1 to i8 %4 = load i8, ptr %0, align 1 @@ -527,7 +527,7 @@ define dso_local noundef ptr @strchr(ptr noundef readonly %0, i32 noundef %1) #0 ret ptr %13 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local noundef ptr @strchrnul(ptr noundef readonly %0, i32 noundef %1) #0 align 16 { %3 = trunc i32 %1 to i8 br label %4 @@ -545,7 +545,7 @@ define dso_local noundef ptr @strchrnul(ptr noundef readonly %0, i32 noundef %1) ret ptr %5 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local noundef ptr @strnchrnul(ptr noundef readonly %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 align 16 { %4 = icmp eq i64 %1, 0 br i1 %4, label %.loopexit, label %5 @@ -575,7 +575,7 @@ define dso_local noundef ptr @strnchrnul(ptr noundef readonly %0, i64 noundef %1 ret ptr %19 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local ptr @strrchr(ptr noundef readonly %0, i32 noundef %1) #0 align 16 { %3 = trunc i32 %1 to i8 br label %4 @@ -594,7 +594,7 @@ define dso_local ptr @strrchr(ptr noundef readonly %0, i32 noundef %1) #0 align ret ptr %9 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local ptr @strnchr(ptr noundef readonly %0, i64 noundef %1, i32 noundef %2) #0 align 16 { %4 = trunc i32 %2 to i8 br label %5 @@ -621,7 +621,7 @@ define dso_local ptr @strnchr(ptr noundef readonly %0, i64 noundef %1, i32 nound ret ptr %17 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local noundef i64 @strnlen(ptr noundef %0, i64 noundef %1) #0 align 16 { %3 = icmp eq i64 %1, 0 br i1 %3, label %.loopexit, label %4 @@ -651,7 +651,7 @@ define dso_local noundef i64 @strnlen(ptr noundef %0, i64 noundef %1) #0 align 1 ret i64 %18 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local noundef i64 @strspn(ptr noundef %0, ptr noundef readonly %1) #0 align 16 { %3 = load i8, ptr %0, align 1 %4 = icmp eq i8 %3, 0 @@ -698,7 +698,7 @@ define dso_local noundef i64 @strspn(ptr noundef %0, ptr noundef readonly %1) #0 ret i64 %27 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local noundef i64 @strcspn(ptr noundef %0, ptr noundef readonly %1) #0 align 16 { %3 = load i8, ptr %0, align 1 %4 = icmp eq i8 %3, 0 @@ -745,7 +745,7 @@ define dso_local noundef i64 @strcspn(ptr noundef %0, ptr noundef readonly %1) # ret i64 %26 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local noundef ptr @strpbrk(ptr noundef readonly %0, ptr noundef readonly %1) #0 align 16 { %3 = load i8, ptr %0, align 1 %4 = icmp eq i8 %3, 0 @@ -790,7 +790,7 @@ define dso_local noundef ptr @strpbrk(ptr noundef readonly %0, ptr noundef reado } ; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define dso_local ptr @strsep(ptr nocapture noundef %0, ptr noundef readonly %1) #1 align 16 { +define dso_local ptr @strsep(ptr nocapture noundef %0, ptr noundef readonly %1) #4 align 16 { %3 = load ptr, ptr %0, align 8 %4 = icmp eq ptr %3, null br i1 %4, label %31, label %5 @@ -851,7 +851,7 @@ define dso_local ptr @strsep(ptr nocapture noundef %0, ptr noundef readonly %1) ret ptr %3 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local range(i32 -255, 256) i32 @memcmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 align 16 { %4 = icmp ugt i64 %2, 7 br i1 %4, label %.preheader6, label %.loopexit7 @@ -909,7 +909,7 @@ define dso_local range(i32 -255, 256) i32 @memcmp(ptr nocapture noundef readonly ret i32 %34 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local range(i32 -255, 256) i32 @bcmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 align 16 { %4 = icmp ugt i64 %2, 7 br i1 %4, label %.preheader6, label %.loopexit7 @@ -967,7 +967,7 @@ define dso_local range(i32 -255, 256) i32 @bcmp(ptr nocapture noundef readonly % ret i32 %34 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local noundef ptr @memscan(ptr noundef readonly %0, i32 noundef %1, i64 noundef %2) #0 align 16 { %4 = icmp eq i64 %2, 0 br i1 %4, label %.loopexit, label %5 @@ -995,7 +995,7 @@ define dso_local noundef ptr @memscan(ptr noundef readonly %0, i32 noundef %1, i ret ptr %17 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local ptr @strstr(ptr noundef %0, ptr noundef %1) #0 align 16 { br label %3 @@ -1113,7 +1113,7 @@ define dso_local ptr @strstr(ptr noundef %0, ptr noundef %1) #0 align 16 { ret ptr %72 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local ptr @strnstr(ptr noundef readonly %0, ptr noundef %1, i64 noundef %2) #0 align 16 { br label %4 @@ -1221,7 +1221,7 @@ define dso_local ptr @strnstr(ptr noundef readonly %0, ptr noundef %1, i64 nound ret ptr %66 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local ptr @memchr(ptr noundef readonly %0, i32 noundef %1, i64 noundef %2) #0 align 16 { %4 = trunc i32 %1 to i8 br label %5 @@ -1244,7 +1244,7 @@ define dso_local ptr @memchr(ptr noundef readonly %0, i32 noundef %1, i64 nounde ret ptr %15 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local noundef ptr @memchr_inv(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 align 16 { %4 = trunc i32 %1 to i8 %5 = icmp ult i64 %2, 17 @@ -1372,14 +1372,15 @@ define dso_local noundef ptr @memchr_inv(ptr noundef %0, i32 noundef %1, i64 nou } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #4 +declare i64 @llvm.umin.i64(i64, i64) #5 -attributes #0 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) "min-legal-vector-width"="0" "no-builtins" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #1 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-builtins" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #0 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) "min-legal-vector-width"="0" "no-builtins" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #1 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) "min-legal-vector-width"="0" "no-builtins" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #2 = { fn_ret_thunk_extern nounwind null_pointer_is_valid "min-legal-vector-width"="0" "no-builtins" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #5 = { nounwind } +attributes #4 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-builtins" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #6 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/linux/optimized/string_helpers.ll b/bench/linux/optimized/string_helpers.ll index 028616776a1..e6ca0d3ea0c 100644 --- a/bench/linux/optimized/string_helpers.ll +++ b/bench/linux/optimized/string_helpers.ll @@ -81,7 +81,7 @@ module asm ".section \22.export_symbol\22,\22a\22 ; __export_symbol_memcpy_and_p ; Function Attrs: fn_ret_thunk_extern nofree nounwind null_pointer_is_valid define dso_local noundef i32 @string_get_size(i64 noundef %0, i64 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3, i32 noundef %4) #0 align 16 { %6 = alloca [8 x i8], align 8 - call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #16 + call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #17 store i64 0, ptr %6, align 8, !annotation !5 %7 = icmp eq i64 %1, 0 %8 = icmp eq i64 %0, 0 @@ -182,7 +182,7 @@ define dso_local noundef i32 @string_get_size(i64 noundef %0, i64 noundef %1, i3 67: ; preds = %54 %68 = add i32 %62, -1000 %69 = select i1 %63, i32 %68, i32 %62 - %70 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %6, i64 noundef 8, ptr noundef nonnull @.str.17, i32 noundef %69) #16 + %70 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %6, i64 noundef 8, ptr noundef nonnull @.str.17, i32 noundef %69) #17 %71 = sext i32 %53 to i64 %72 = getelementptr [8 x i8], ptr %6, i64 0, i64 %71 store i8 0, ptr %72, align 1 @@ -208,8 +208,8 @@ define dso_local noundef i32 @string_get_size(i64 noundef %0, i64 noundef %1, i3 %84 = phi ptr [ %81, %.thread ], [ @.str.18, %73 ] %85 = sext i32 %4 to i64 %86 = trunc nuw i64 %83 to i32 - %87 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %3, i64 noundef %85, ptr noundef nonnull @.str.19, i32 noundef %86, ptr noundef nonnull %6, ptr noundef %84) #16 - call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #16 + %87 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %3, i64 noundef %85, ptr noundef nonnull @.str.19, i32 noundef %86, ptr noundef nonnull %6, ptr noundef %84) #17 + call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #17 ret i32 %87 } @@ -228,8 +228,8 @@ declare dso_local noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid define dso_local i32 @parse_int_array_user(ptr noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2) #4 align 16 { %4 = alloca i32, align 4 - call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #16 - %5 = tail call ptr @memdup_user_nul(ptr noundef %0, i64 noundef %1) #16 + call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #17 + %5 = tail call ptr @memdup_user_nul(ptr noundef %0, i64 noundef %1) #17 %6 = icmp ugt ptr %5, inttoptr (i64 -4096 to ptr) br i1 %6, label %7, label %10 @@ -240,7 +240,7 @@ define dso_local i32 @parse_int_array_user(ptr noundef %0, i64 noundef %1, ptr n 10: ; preds = %3 store i32 0, ptr %4, align 4, !annotation !5 - %11 = call ptr @get_options(ptr noundef %5, i32 noundef 0, ptr noundef nonnull %4) #16 + %11 = call ptr @get_options(ptr noundef %5, i32 noundef 0, ptr noundef nonnull %4) #17 %12 = load i32, ptr %4, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label %.thread, label %14 @@ -253,25 +253,25 @@ define dso_local i32 @parse_int_array_user(ptr noundef %0, i64 noundef %1, ptr n 17: ; preds = %14 %18 = zext nneg i32 %15 to i64 %19 = shl nuw nsw i64 %18, 2 - %20 = call noalias align 8 ptr @__kmalloc(i64 noundef %19, i32 noundef 3520) #17 + %20 = call noalias align 8 ptr @__kmalloc(i64 noundef %19, i32 noundef 3520) #18 %21 = icmp eq ptr %20, null br i1 %21, label %.thread, label %22 22: ; preds = %17 %23 = load i32, ptr %4, align 4 %24 = add i32 %23, 1 - %25 = call ptr @get_options(ptr noundef %5, i32 noundef %24, ptr noundef nonnull %20) #16 + %25 = call ptr @get_options(ptr noundef %5, i32 noundef %24, ptr noundef nonnull %20) #17 store ptr %20, ptr %2, align 8 br label %.thread .thread: ; preds = %14, %22, %17, %10 %26 = phi i32 [ 0, %22 ], [ -2, %10 ], [ -12, %17 ], [ -12, %14 ] - call void @kfree(ptr noundef %5) #16 + call void @kfree(ptr noundef %5) #17 br label %27 27: ; preds = %.thread, %7 %28 = phi i32 [ %9, %7 ], [ %26, %.thread ] - call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #16 + call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #17 ret i32 %28 } @@ -405,14 +405,14 @@ define dso_local noundef i32 @string_unescape(ptr noundef %0, ptr noundef %1, i6 73: ; preds = %.thread6 %74 = getelementptr i8, ptr %21, i64 2 %75 = load i8, ptr %74, align 1 - %76 = tail call i32 @hex_to_bin(i8 noundef zeroext %75) #16 + %76 = tail call i32 @hex_to_bin(i8 noundef zeroext %75) #17 %77 = icmp slt i32 %76, 0 br i1 %77, label %.thread7, label %78 78: ; preds = %73 %79 = getelementptr i8, ptr %21, i64 3 %80 = load i8, ptr %79, align 1 - %81 = tail call i32 @hex_to_bin(i8 noundef zeroext %80) #16 + %81 = tail call i32 @hex_to_bin(i8 noundef zeroext %80) #17 %82 = icmp sgt i32 %81, -1 %83 = getelementptr i8, ptr %21, i64 4 %84 = shl i32 %76, 4 @@ -483,7 +483,7 @@ define dso_local noundef i32 @string_unescape(ptr noundef %0, ptr noundef %1, i6 ret i32 %116 } -; Function Attrs: fn_ret_thunk_extern nofree nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree nounwind null_pointer_is_valid memory(argmem: readwrite) define dso_local i32 @string_escape_mem(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i32 noundef %4, ptr noundef readonly %5) #6 align 16 { %7 = getelementptr i8, ptr %2, i64 %3 %8 = icmp eq ptr %5, null @@ -533,7 +533,7 @@ define dso_local i32 @string_escape_mem(ptr nocapture noundef readonly %0, i64 n 43: ; preds = %36 %44 = zext i8 %42 to i32 - %45 = tail call ptr @strchr(ptr noundef %5, i32 noundef %44) #16 + %45 = tail call ptr @strchr(ptr noundef %5, i32 noundef %44) #17 %46 = icmp ne ptr %45, null %47 = select i1 %16, i1 true, i1 %46 %48 = select i1 %47, i1 true, i1 %19 @@ -849,7 +849,7 @@ declare dso_local ptr @strchr(ptr noundef, i32 noundef) local_unnamed_addr #7 ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid define dso_local ptr @kstrdup_quotable(ptr noundef readonly %0, i32 noundef %1) #4 align 16 { %3 = alloca [10 x i8], align 1 - call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %3) #16 + call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %3) #17 store i8 12, ptr %3, align 1 %4 = getelementptr inbounds i8, ptr %3, i64 1 store i8 10, ptr %4, align 1 @@ -873,7 +873,7 @@ define dso_local ptr @kstrdup_quotable(ptr noundef readonly %0, i32 noundef %1) br i1 %13, label %119, label %14 14: ; preds = %2 - %15 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #16 + %15 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #17 %16 = icmp eq i64 %15, 0 br i1 %16, label %31, label %.preheader9 @@ -885,7 +885,7 @@ define dso_local ptr @kstrdup_quotable(ptr noundef readonly %0, i32 noundef %1) %21 = getelementptr i8, ptr %18, i64 1 %22 = load i8, ptr %18, align 1 %23 = zext i8 %22 to i32 - %24 = call ptr @strchr(ptr noundef nonnull dereferenceable(1) %3, i32 noundef %23) #16 + %24 = call ptr @strchr(ptr noundef nonnull dereferenceable(1) %3, i32 noundef %23) #17 %25 = icmp eq ptr %24, null %26 = select i1 %25, i64 1, i64 4 %27 = getelementptr i8, ptr %19, i64 %26 @@ -902,7 +902,7 @@ define dso_local ptr @kstrdup_quotable(ptr noundef readonly %0, i32 noundef %1) %34 = shl i64 %32, 32 %35 = ashr exact i64 %34, 32 %36 = add nsw i64 %35, 1 - %37 = call noalias align 8 ptr @__kmalloc(i64 noundef %36, i32 noundef %1) #17 + %37 = call noalias align 8 ptr @__kmalloc(i64 noundef %36, i32 noundef %1) #18 %38 = icmp eq ptr %37, null br i1 %38, label %119, label %39 @@ -977,7 +977,7 @@ define dso_local ptr @kstrdup_quotable(ptr noundef readonly %0, i32 noundef %1) %78 = getelementptr i8, ptr %75, i64 1 %79 = load i8, ptr %75, align 1 %80 = zext i8 %79 to i32 - %81 = call ptr @strchr(ptr noundef nonnull dereferenceable(1) %3, i32 noundef %80) #16 + %81 = call ptr @strchr(ptr noundef nonnull dereferenceable(1) %3, i32 noundef %80) #17 %.not = icmp eq ptr %81, null %82 = icmp ult ptr %76, %40 br i1 %.not, label %83, label %85 @@ -1047,9 +1047,9 @@ define dso_local ptr @kstrdup_quotable(ptr noundef readonly %0, i32 noundef %1) br i1 %116, label %118, label %117, !prof !16 117: ; preds = %.loopexit - call void asm sideeffect "343: nop\0A\09.pushsection .discard.instr_begin\0A\09.long 343b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 343) #16, !srcloc !17 - call void asm sideeffect "1:\09.byte 0x0f, 0x0b\0A.pushsection __bug_table,\22aw\22\0A2:\09.long 1b - .\09# bug_entry::bug_addr\0A\09.long ${0:c} - .\09# bug_entry::file\0A\09.word ${1:c}\09# bug_entry::line\0A\09.word ${2:c}\09# bug_entry::flags\0A\09.org 2b+${3:c}\0A.popsection\0A998:\0A\09.pushsection .discard.reachable\0A\09.long 998b\0A\09.popsection\0A\09", "i,i,i,i,~{dirflag},~{fpsr},~{flags}"(ptr nonnull @.str.20, i32 656, i32 2305, i64 12) #16, !srcloc !18 - call void asm sideeffect "344: nop\0A\09.pushsection .discard.instr_end\0A\09.long 344b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 344) #16, !srcloc !19 + call void asm sideeffect "343: nop\0A\09.pushsection .discard.instr_begin\0A\09.long 343b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 343) #17, !srcloc !17 + call void asm sideeffect "1:\09.byte 0x0f, 0x0b\0A.pushsection __bug_table,\22aw\22\0A2:\09.long 1b - .\09# bug_entry::bug_addr\0A\09.long ${0:c} - .\09# bug_entry::file\0A\09.word ${1:c}\09# bug_entry::line\0A\09.word ${2:c}\09# bug_entry::flags\0A\09.org 2b+${3:c}\0A.popsection\0A998:\0A\09.pushsection .discard.reachable\0A\09.long 998b\0A\09.popsection\0A\09", "i,i,i,i,~{dirflag},~{fpsr},~{flags}"(ptr nonnull @.str.20, i32 656, i32 2305, i64 12) #17, !srcloc !18 + call void asm sideeffect "344: nop\0A\09.pushsection .discard.instr_end\0A\09.long 344b - .\0A\09.popsection\0A\09", "i,~{dirflag},~{fpsr},~{flags}"(i32 344) #17, !srcloc !19 br label %118 118: ; preds = %117, %.loopexit @@ -1058,7 +1058,7 @@ define dso_local ptr @kstrdup_quotable(ptr noundef readonly %0, i32 noundef %1) 119: ; preds = %118, %31, %2 %120 = phi ptr [ %37, %118 ], [ null, %2 ], [ null, %31 ] - call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %3) #16 + call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %3) #17 ret ptr %120 } @@ -1068,12 +1068,12 @@ declare dso_local i64 @strlen(ptr nocapture noundef) local_unnamed_addr #7 ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid define dso_local ptr @kstrdup_quotable_cmdline(ptr noundef %0, i32 noundef %1) #4 align 16 { %3 = load ptr, ptr getelementptr inbounds (i8, ptr @kmalloc_caches, i64 96), align 16 - %4 = tail call noalias align 8 dereferenceable_or_null(4096) ptr @kmalloc_trace(ptr noundef %3, i32 noundef 3264, i64 noundef 4096) #18 + %4 = tail call noalias align 8 dereferenceable_or_null(4096) ptr @kmalloc_trace(ptr noundef %3, i32 noundef 3264, i64 noundef 4096) #19 %5 = icmp eq ptr %4, null br i1 %5, label %35, label %6 6: ; preds = %2 - %7 = tail call i32 @get_cmdline(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 4095) #16 + %7 = tail call i32 @get_cmdline(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 4095) #17 %8 = sext i32 %7 to i64 %9 = getelementptr i8, ptr %4, i64 %8 store i8 0, ptr %9, align 1 @@ -1118,7 +1118,7 @@ define dso_local ptr @kstrdup_quotable_cmdline(ptr noundef %0, i32 noundef %1) # .thread: ; preds = %11, %31 %34 = tail call ptr @kstrdup_quotable(ptr noundef nonnull %4, i32 noundef %1) - tail call void @kfree(ptr noundef nonnull %4) #16 + tail call void @kfree(ptr noundef nonnull %4) #17 br label %35 35: ; preds = %.thread, %2 @@ -1135,26 +1135,26 @@ define dso_local ptr @kstrdup_quotable_file(ptr noundef %0, i32 noundef %1) #4 a br i1 %3, label %4, label %6 4: ; preds = %2 - %5 = tail call noalias ptr @kstrdup(ptr noundef nonnull @.str.21, i32 noundef %1) #16 + %5 = tail call noalias ptr @kstrdup(ptr noundef nonnull @.str.21, i32 noundef %1) #17 br label %21 6: ; preds = %2 %7 = load ptr, ptr getelementptr inbounds (i8, ptr @kmalloc_caches, i64 104), align 8 - %8 = tail call noalias align 8 dereferenceable_or_null(4107) ptr @kmalloc_trace(ptr noundef %7, i32 noundef 3264, i64 noundef 4107) #18 + %8 = tail call noalias align 8 dereferenceable_or_null(4107) ptr @kmalloc_trace(ptr noundef %7, i32 noundef 3264, i64 noundef 4107) #19 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %6 - %11 = tail call noalias ptr @kstrdup(ptr noundef nonnull @.str.22, i32 noundef %1) #16 + %11 = tail call noalias ptr @kstrdup(ptr noundef nonnull @.str.22, i32 noundef %1) #17 br label %21 12: ; preds = %6 - %13 = tail call ptr @file_path(ptr noundef nonnull %0, ptr noundef nonnull %8, i32 noundef 4107) #16 + %13 = tail call ptr @file_path(ptr noundef nonnull %0, ptr noundef nonnull %8, i32 noundef 4107) #17 %14 = icmp ugt ptr %13, inttoptr (i64 -4096 to ptr) br i1 %14, label %15, label %17 15: ; preds = %12 - %16 = tail call noalias ptr @kstrdup(ptr noundef nonnull @.str.23, i32 noundef %1) #16 + %16 = tail call noalias ptr @kstrdup(ptr noundef nonnull @.str.23, i32 noundef %1) #17 br label %19 17: ; preds = %12 @@ -1163,7 +1163,7 @@ define dso_local ptr @kstrdup_quotable_file(ptr noundef %0, i32 noundef %1) #4 a 19: ; preds = %17, %15 %20 = phi ptr [ %16, %15 ], [ %18, %17 ] - tail call void @kfree(ptr noundef nonnull %8) #16 + tail call void @kfree(ptr noundef nonnull %8) #17 br label %21 21: ; preds = %19, %10, %4 @@ -1179,7 +1179,7 @@ declare dso_local ptr @file_path(ptr noundef, ptr noundef, i32 noundef) local_un ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid define dso_local noalias ptr @kstrdup_and_replace(ptr noundef %0, i8 noundef zeroext %1, i8 noundef zeroext %2, i32 noundef %3) #4 align 16 { - %5 = tail call noalias ptr @kstrdup(ptr noundef %0, i32 noundef %3) #16 + %5 = tail call noalias ptr @kstrdup(ptr noundef %0, i32 noundef %3) #17 %6 = icmp eq ptr %5, null br i1 %6, label %.loopexit, label %7 @@ -1208,7 +1208,7 @@ define dso_local noalias ptr @kstrdup_and_replace(ptr noundef %0, i8 noundef zer ret ptr %5 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) define dso_local noundef ptr @strreplace(ptr noundef returned %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #8 align 16 { %4 = load i8, ptr %0, align 1 %5 = icmp eq i8 %4, 0 @@ -1243,7 +1243,7 @@ define dso_local ptr @kasprintf_strarray(i32 noundef %0, ptr noundef %1, i64 nou 6: ; preds = %3 %7 = shl nuw i64 %4, 3 %8 = or i32 %0, 256 - %9 = tail call noalias align 8 ptr @__kmalloc(i64 noundef %7, i32 noundef %8) #17 + %9 = tail call noalias align 8 ptr @__kmalloc(i64 noundef %7, i32 noundef %8) #18 %10 = icmp eq ptr %9, null br i1 %10, label %.thread, label %11 @@ -1253,7 +1253,7 @@ define dso_local ptr @kasprintf_strarray(i32 noundef %0, ptr noundef %1, i64 nou .preheader3: ; preds = %11, %26 %13 = phi i64 [ %27, %26 ], [ 0, %11 ] - %14 = tail call noalias ptr (i32, ptr, ...) @kasprintf(i32 noundef %0, ptr noundef nonnull @.str.24, ptr noundef %1, i64 noundef %13) #16 + %14 = tail call noalias ptr (i32, ptr, ...) @kasprintf(i32 noundef %0, ptr noundef nonnull @.str.24, ptr noundef %1, i64 noundef %13) #17 %15 = getelementptr ptr, ptr %9, i64 %13 store ptr %14, ptr %15, align 8 %16 = icmp eq ptr %14, null @@ -1268,14 +1268,14 @@ define dso_local ptr @kasprintf_strarray(i32 noundef %0, ptr noundef %1, i64 nou %20 = phi i32 [ %23, %.preheader ], [ 0, %17 ] %21 = getelementptr ptr, ptr %9, i64 %19 %22 = load ptr, ptr %21, align 8 - tail call void @kfree(ptr noundef %22) #16 + tail call void @kfree(ptr noundef %22) #17 %23 = add i32 %20, 1 %24 = zext i32 %23 to i64 %25 = icmp ugt i64 %13, %24 br i1 %25, label %.preheader, label %.loopexit, !llvm.loop !23 .loopexit: ; preds = %.preheader, %17 - tail call void @kfree(ptr noundef nonnull %9) #16 + tail call void @kfree(ptr noundef nonnull %9) #17 br label %.thread 26: ; preds = %.preheader3 @@ -1305,14 +1305,14 @@ define dso_local void @kfree_strarray(ptr noundef %0, i64 noundef %1) #4 align 1 %7 = phi i32 [ %10, %.preheader ], [ 0, %4 ] %8 = getelementptr ptr, ptr %0, i64 %6 %9 = load ptr, ptr %8, align 8 - tail call void @kfree(ptr noundef %9) #16 + tail call void @kfree(ptr noundef %9) #17 %10 = add i32 %7, 1 %11 = zext i32 %10 to i64 %12 = icmp ult i64 %11, %1 br i1 %12, label %.preheader, label %.loopexit, !llvm.loop !23 .loopexit: ; preds = %.preheader, %4 - tail call void @kfree(ptr noundef nonnull %0) #16 + tail call void @kfree(ptr noundef nonnull %0) #17 br label %13 13: ; preds = %.loopexit, %2 @@ -1321,7 +1321,7 @@ define dso_local void @kfree_strarray(ptr noundef %0, i64 noundef %1) #4 align 1 ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid define dso_local ptr @devm_kasprintf_strarray(ptr noundef %0, ptr noundef %1, i64 noundef %2) #4 align 16 { - %4 = tail call noalias ptr @__devres_alloc_node(ptr noundef nonnull @devm_kfree_strarray, i64 noundef 16, i32 noundef 3264, i32 noundef -1, ptr noundef nonnull @.str.25) #16 + %4 = tail call noalias ptr @__devres_alloc_node(ptr noundef nonnull @devm_kfree_strarray, i64 noundef 16, i32 noundef 3264, i32 noundef -1, ptr noundef nonnull @.str.25) #17 %5 = icmp eq ptr %4, null br i1 %5, label %33, label %6 @@ -1332,7 +1332,7 @@ define dso_local ptr @devm_kasprintf_strarray(ptr noundef %0, ptr noundef %1, i6 9: ; preds = %6 %10 = shl nuw i64 %7, 3 - %11 = tail call noalias align 8 ptr @__kmalloc(i64 noundef %10, i32 noundef 3520) #17 + %11 = tail call noalias align 8 ptr @__kmalloc(i64 noundef %10, i32 noundef 3520) #18 %12 = icmp eq ptr %11, null br i1 %12, label %.thread4, label %13 @@ -1342,7 +1342,7 @@ define dso_local ptr @devm_kasprintf_strarray(ptr noundef %0, ptr noundef %1, i6 .preheader6: ; preds = %13, %28 %15 = phi i64 [ %29, %28 ], [ 0, %13 ] - %16 = tail call noalias ptr (i32, ptr, ...) @kasprintf(i32 noundef 3264, ptr noundef nonnull @.str.24, ptr noundef %1, i64 noundef %15) #16 + %16 = tail call noalias ptr (i32, ptr, ...) @kasprintf(i32 noundef 3264, ptr noundef nonnull @.str.24, ptr noundef %1, i64 noundef %15) #17 %17 = getelementptr ptr, ptr %11, i64 %15 store ptr %16, ptr %17, align 8 %18 = icmp eq ptr %16, null @@ -1357,14 +1357,14 @@ define dso_local ptr @devm_kasprintf_strarray(ptr noundef %0, ptr noundef %1, i6 %22 = phi i32 [ %25, %.preheader ], [ 0, %19 ] %23 = getelementptr ptr, ptr %11, i64 %21 %24 = load ptr, ptr %23, align 8 - tail call void @kfree(ptr noundef %24) #16 + tail call void @kfree(ptr noundef %24) #17 %25 = add i32 %22, 1 %26 = zext i32 %25 to i64 %27 = icmp ugt i64 %15, %26 br i1 %27, label %.preheader, label %.loopexit, !llvm.loop !23 .loopexit: ; preds = %.preheader, %19 - tail call void @kfree(ptr noundef nonnull %11) #16 + tail call void @kfree(ptr noundef nonnull %11) #17 br label %.thread4 28: ; preds = %.preheader6 @@ -1374,14 +1374,14 @@ define dso_local ptr @devm_kasprintf_strarray(ptr noundef %0, ptr noundef %1, i6 .thread4: ; preds = %.loopexit, %9, %6 store ptr null, ptr %4, align 8 - tail call void @devres_free(ptr noundef nonnull %4) #16 + tail call void @devres_free(ptr noundef nonnull %4) #17 br label %33 .thread5: ; preds = %28, %13 store ptr %11, ptr %4, align 8 %31 = getelementptr inbounds i8, ptr %4, i64 8 store i64 %2, ptr %31, align 8 - tail call void @devres_add(ptr noundef %0, ptr noundef nonnull %4) #16 + tail call void @devres_add(ptr noundef %0, ptr noundef nonnull %4) #17 %32 = load ptr, ptr %4, align 8 br label %33 @@ -1410,14 +1410,14 @@ define internal void @devm_kfree_strarray(ptr nocapture readnone %0, ptr nocaptu %10 = phi i32 [ %13, %.preheader ], [ 0, %7 ] %11 = getelementptr ptr, ptr %3, i64 %9 %12 = load ptr, ptr %11, align 8 - tail call void @kfree(ptr noundef %12) #16 + tail call void @kfree(ptr noundef %12) #17 %13 = add i32 %10, 1 %14 = zext i32 %13 to i64 %15 = icmp ugt i64 %5, %14 br i1 %15, label %.preheader, label %.loopexit, !llvm.loop !23 .loopexit: ; preds = %.preheader, %7 - tail call void @kfree(ptr noundef nonnull %3) #16 + tail call void @kfree(ptr noundef nonnull %3) #17 br label %16 16: ; preds = %.loopexit, %2 @@ -1432,7 +1432,7 @@ declare dso_local void @devres_add(ptr noundef, ptr noundef) local_unnamed_addr ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid define dso_local i64 @strscpy_pad(ptr noundef %0, ptr noundef %1, i64 noundef %2) #4 align 16 { - %4 = tail call i64 @strscpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #16 + %4 = tail call i64 @strscpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #17 %5 = icmp slt i64 %4, 0 %6 = add i64 %2, -1 %7 = icmp eq i64 %4, %6 @@ -1454,7 +1454,7 @@ define dso_local i64 @strscpy_pad(ptr noundef %0, ptr noundef %1, i64 noundef %2 ; Function Attrs: null_pointer_is_valid declare dso_local i64 @strscpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #5 -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local noundef ptr @skip_spaces(ptr noundef readonly %0) #9 align 16 { br label %2 @@ -1473,9 +1473,9 @@ define dso_local noundef ptr @skip_spaces(ptr noundef readonly %0) #9 align 16 { ret ptr %3 } -; Function Attrs: fn_ret_thunk_extern nofree nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree nounwind null_pointer_is_valid memory(argmem: readwrite) define dso_local noundef ptr @strim(ptr noundef %0) #6 align 16 { - %2 = tail call i64 @strlen(ptr noundef %0) #16 + %2 = tail call i64 @strlen(ptr noundef %0) #17 %3 = icmp eq i64 %2, 0 br i1 %3, label %.loopexit, label %4 @@ -1518,7 +1518,7 @@ define dso_local noundef ptr @strim(ptr noundef %0) #6 align 16 { ret ptr %27 } -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) define dso_local noundef zeroext i1 @sysfs_streq(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #9 align 16 { %3 = load i8, ptr %0, align 1 %4 = icmp eq i8 %3, 0 @@ -1596,7 +1596,7 @@ define dso_local i32 @match_string(ptr nocapture noundef readonly %0, i64 nounde br i1 %9, label %.loopexit, label %10 10: ; preds = %.preheader - %11 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %8, ptr noundef %2) #16 + %11 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %8, ptr noundef %2) #17 %12 = icmp eq i32 %11, 0 br i1 %12, label %.loopexit, label %13 @@ -1615,7 +1615,7 @@ define dso_local i32 @match_string(ptr nocapture noundef readonly %0, i64 nounde declare dso_local i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #7 ; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) -define dso_local i32 @__sysfs_match_string(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2) #9 align 16 { +define dso_local i32 @__sysfs_match_string(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2) #11 align 16 { %4 = icmp eq i64 %1, 0 br i1 %4, label %.loopexit11, label %.preheader10 @@ -1694,7 +1694,7 @@ define dso_local i32 @__sysfs_match_string(ptr nocapture noundef readonly %0, i6 } ; Function Attrs: fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: readwrite) -define dso_local void @memcpy_and_pad(ptr nocapture noundef writeonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i32 noundef %4) #11 align 16 { +define dso_local void @memcpy_and_pad(ptr nocapture noundef writeonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i32 noundef %4) #12 align 16 { %6 = icmp ugt i64 %1, %3 br i1 %6, label %7, label %11 @@ -1715,22 +1715,22 @@ define dso_local void @memcpy_and_pad(ptr nocapture noundef writeonly %0, i64 no } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #12 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #13 ; Function Attrs: null_pointer_is_valid allocsize(0) -declare dso_local noalias ptr @__kmalloc(i64 noundef, i32 noundef) local_unnamed_addr #13 +declare dso_local noalias ptr @__kmalloc(i64 noundef, i32 noundef) local_unnamed_addr #14 ; Function Attrs: null_pointer_is_valid declare dso_local i32 @hex_to_bin(i8 noundef zeroext) local_unnamed_addr #5 ; Function Attrs: null_pointer_is_valid allocsize(2) -declare dso_local noalias ptr @kmalloc_trace(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #14 +declare dso_local noalias ptr @kmalloc_trace(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #15 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #15 +declare i32 @llvm.fshl.i32(i32, i32, i32) #16 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #15 +declare i32 @llvm.smax.i32(i32, i32) #16 attributes #0 = { fn_ret_thunk_extern nofree nounwind null_pointer_is_valid "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } @@ -1738,19 +1738,20 @@ attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argm attributes #3 = { nofree nounwind null_pointer_is_valid "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #4 = { fn_ret_thunk_extern nounwind null_pointer_is_valid "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #5 = { null_pointer_is_valid "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #6 = { fn_ret_thunk_extern nofree nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #6 = { fn_ret_thunk_extern nofree nounwind null_pointer_is_valid memory(argmem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #7 = { mustprogress nofree nounwind null_pointer_is_valid willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #8 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #9 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #8 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #9 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(argmem: read) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #10 = { fn_ret_thunk_extern nofree nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #11 = { fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #12 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #13 = { null_pointer_is_valid allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #14 = { null_pointer_is_valid allocsize(2) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } -attributes #15 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #16 = { nounwind } -attributes #17 = { nounwind allocsize(0) } -attributes #18 = { nounwind allocsize(2) } +attributes #11 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #12 = { fn_ret_thunk_extern mustprogress nofree norecurse nosync nounwind null_pointer_is_valid willreturn memory(argmem: readwrite) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #13 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #14 = { null_pointer_is_valid allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #15 = { null_pointer_is_valid allocsize(2) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #16 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #17 = { nounwind } +attributes #18 = { nounwind allocsize(0) } +attributes #19 = { nounwind allocsize(2) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/linux/optimized/xz_dec_lzma2.ll b/bench/linux/optimized/xz_dec_lzma2.ll index cd0415c5ad5..f173c7ff3e7 100644 --- a/bench/linux/optimized/xz_dec_lzma2.ll +++ b/bench/linux/optimized/xz_dec_lzma2.ll @@ -701,7 +701,7 @@ define dso_local noundef range(i32 0, 8) i32 @xz_dec_lzma2_run(ptr noundef %0, p ; Function Attrs: fn_ret_thunk_extern nounwind null_pointer_is_valid define dso_local noundef ptr @xz_dec_lzma2_create(i32 noundef %0, i32 noundef %1) local_unnamed_addr #1 align 16 { - %3 = tail call noalias align 4096 dereferenceable_or_null(28496) ptr @kmalloc_large(i64 noundef 28496, i32 noundef 3264) #7 + %3 = tail call noalias align 4096 dereferenceable_or_null(28496) ptr @kmalloc_large(i64 noundef 28496, i32 noundef 3264) #8 %4 = icmp eq ptr %3, null br i1 %4, label %16, label %5 @@ -718,13 +718,13 @@ define dso_local noundef ptr @xz_dec_lzma2_create(i32 noundef %0, i32 noundef %1 9: ; preds = %5 %10 = zext i32 %1 to i64 - %11 = tail call noalias ptr @vmalloc(i64 noundef %10) #7 + %11 = tail call noalias ptr @vmalloc(i64 noundef %10) #8 store ptr %11, ptr %6, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %9 - tail call void @kfree(ptr noundef nonnull %3) #8 + tail call void @kfree(ptr noundef nonnull %3) #9 br label %16 14: ; preds = %5 @@ -786,10 +786,10 @@ define dso_local noundef range(i32 0, 7) i32 @xz_dec_lzma2_reset(ptr nocapture n 28: ; preds = %24 store i32 %12, ptr %25, align 8 %29 = load ptr, ptr %8, align 8 - tail call void @vfree(ptr noundef %29) #8 + tail call void @vfree(ptr noundef %29) #9 %30 = load i32, ptr %9, align 8 %31 = zext i32 %30 to i64 - %32 = tail call noalias ptr @vmalloc(i64 noundef %31) #7 + %32 = tail call noalias ptr @vmalloc(i64 noundef %31) #8 store ptr %32, ptr %8, align 8 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %35 @@ -825,11 +825,11 @@ define dso_local void @xz_dec_lzma2_end(ptr noundef %0) local_unnamed_addr #1 al 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %0, i64 40 %7 = load ptr, ptr %6, align 8 - tail call void @vfree(ptr noundef %7) #8 + tail call void @vfree(ptr noundef %7) #9 br label %8 8: ; preds = %5, %1 - tail call void @kfree(ptr noundef %0) #8 + tail call void @kfree(ptr noundef %0) #9 ret void } @@ -1912,8 +1912,8 @@ define internal fastcc noundef zeroext i1 @lzma_main(ptr noundef %0) unnamed_add ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #4 -; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) -define internal fastcc void @lzma_len(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2) unnamed_addr #0 align 16 { +; Function Attrs: fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) +define internal fastcc void @lzma_len(ptr nocapture noundef %0, ptr nocapture noundef %1, i32 noundef %2) unnamed_addr #6 align 16 { %4 = load i32, ptr %0, align 8 %5 = icmp ult i32 %4, 16777216 br i1 %5, label %6, label %._crit_edge @@ -2120,13 +2120,13 @@ define internal fastcc void @lzma_len(ptr nocapture noundef %0, ptr nocapture no declare dso_local noalias ptr @kmalloc_large(i64 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #6 +declare i64 @llvm.umin.i64(i64, i64) #7 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #6 +declare i32 @llvm.umax.i32(i32, i32) #7 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #6 +declare i32 @llvm.umin.i32(i32, i32) #7 attributes #0 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #1 = { fn_ret_thunk_extern nounwind null_pointer_is_valid "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } @@ -2134,9 +2134,10 @@ attributes #2 = { null_pointer_is_valid allocsize(0) "no-trapping-math"="true" " attributes #3 = { null_pointer_is_valid "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #7 = { nounwind allocsize(0) } -attributes #8 = { nounwind } +attributes #6 = { fn_ret_thunk_extern nofree norecurse nosync nounwind null_pointer_is_valid memory(read, argmem: readwrite, inaccessiblemem: none) "min-legal-vector-width"="0" "no-jump-tables"="true" "no-trapping-math"="true" "patchable-function-entry"="0" "patchable-function-prefix"="16" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+retpoline-external-thunk,+retpoline-indirect-branches,+retpoline-indirect-calls,-3dnow,-3dnowa,-aes,-avx,-avx10.1-256,-avx10.1-512,-avx2,-avx512bf16,-avx512bitalg,-avx512bw,-avx512cd,-avx512dq,-avx512er,-avx512f,-avx512fp16,-avx512ifma,-avx512pf,-avx512vbmi,-avx512vbmi2,-avx512vl,-avx512vnni,-avx512vp2intersect,-avx512vpopcntdq,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-f16c,-fma,-fma4,-gfni,-kl,-mmx,-pclmul,-sha,-sha512,-sm3,-sm4,-sse,-sse2,-sse3,-sse4.1,-sse4.2,-sse4a,-ssse3,-vaes,-vpclmulqdq,-widekl,-x87,-xop" "tune-cpu"="generic" } +attributes #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #8 = { nounwind allocsize(0) } +attributes #9 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/llama.cpp/optimized/ggml-quants.c.ll b/bench/llama.cpp/optimized/ggml-quants.c.ll index f47d1e2e02c..4bb03369b82 100644 --- a/bench/llama.cpp/optimized/ggml-quants.c.ll +++ b/bench/llama.cpp/optimized/ggml-quants.c.ll @@ -712,7 +712,7 @@ for.end35: ; preds = %for.inc33, %entry ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.round.f32(float) #1 -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @quantize_row_q8_0(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef writeonly %vy, i32 noundef %k) local_unnamed_addr #6 { entry: %cmp58 = icmp sgt i32 %k, 31 @@ -870,7 +870,7 @@ for.end64: ; preds = %for.end57, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @quantize_row_q8_1(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef writeonly %vy, i32 noundef %k) local_unnamed_addr #6 { entry: %cmp65 = icmp sgt i32 %k, 31 @@ -1664,8 +1664,8 @@ for.end239: ; preds = %for.end235, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @dequantize_row_q2_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef writeonly %y, i32 noundef %k) local_unnamed_addr #9 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define void @dequantize_row_q2_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef writeonly %y, i32 noundef %k) local_unnamed_addr #7 { entry: %cmp44 = icmp sgt i32 %k, 255 br i1 %cmp44, label %for.body.preheader, label %for.end77 @@ -1785,14 +1785,14 @@ for.end77: ; preds = %for.inc75, %entry } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define void @quantize_row_q2_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %vy, i32 noundef %k) local_unnamed_addr #10 { +define void @quantize_row_q2_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %vy, i32 noundef %k) local_unnamed_addr #9 { entry: tail call void @quantize_row_q2_K_reference(ptr noundef %x, ptr noundef %vy, i32 noundef %k) ret void } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define range(i64 -704643072, 704642989) i64 @ggml_quantize_q2_K(ptr noalias nocapture noundef readonly %src, ptr noalias nocapture noundef %dst, i32 noundef %n, i32 noundef %k, ptr noalias nocapture noundef readnone %hist) local_unnamed_addr #10 { +define range(i64 -704643072, 704642989) i64 @ggml_quantize_q2_K(ptr noalias nocapture noundef readonly %src, ptr noalias nocapture noundef %dst, i32 noundef %n, i32 noundef %k, ptr noalias nocapture noundef readnone %hist) local_unnamed_addr #9 { entry: %cmp6 = icmp sgt i32 %n, 0 br i1 %cmp6, label %for.body.preheader, label %for.end @@ -2236,10 +2236,10 @@ for.end284: ; preds = %for.end280, %entry } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #11 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #10 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @dequantize_row_q3_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef writeonly %y, i32 noundef %k) local_unnamed_addr #9 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define void @dequantize_row_q3_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef writeonly %y, i32 noundef %k) local_unnamed_addr #7 { entry: %aux = alloca [4 x i32], align 16 %cmp50 = icmp sgt i32 %k, 255 @@ -2380,14 +2380,14 @@ for.end116: ; preds = %for.inc114, %entry } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define void @quantize_row_q3_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %vy, i32 noundef %k) local_unnamed_addr #10 { +define void @quantize_row_q3_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %vy, i32 noundef %k) local_unnamed_addr #9 { entry: tail call void @quantize_row_q3_K_reference(ptr noundef %x, ptr noundef %vy, i32 noundef %k) ret void } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define range(i64 -922746880, 922746771) i64 @ggml_quantize_q3_K(ptr noalias nocapture noundef readonly %src, ptr noalias nocapture noundef %dst, i32 noundef %n, i32 noundef %k, ptr noalias nocapture noundef readnone %hist) local_unnamed_addr #10 { +define range(i64 -922746880, 922746771) i64 @ggml_quantize_q3_K(ptr noalias nocapture noundef readonly %src, ptr noalias nocapture noundef %dst, i32 noundef %n, i32 noundef %k, ptr noalias nocapture noundef readnone %hist) local_unnamed_addr #9 { entry: %cmp6 = icmp sgt i32 %n, 0 br i1 %cmp6, label %for.body.preheader, label %for.end @@ -2417,7 +2417,7 @@ for.end: ; preds = %for.body, %entry } ; Function Attrs: nofree nounwind uwtable -define void @quantize_row_q4_K_reference(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %y, i32 noundef %k) local_unnamed_addr #12 { +define void @quantize_row_q4_K_reference(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %y, i32 noundef %k) local_unnamed_addr #11 { entry: %L = alloca [256 x i8], align 16 %Laux = alloca [32 x i8], align 16 @@ -2457,7 +2457,7 @@ for.body6: ; preds = %for.cond4.preheader for.end: ; preds = %for.body6 %div12 = fmul float %3, 3.125000e-02 - %call = tail call float @sqrtf(float noundef %div12) #20 + %call = tail call float @sqrtf(float noundef %div12) #18 br label %for.body16 for.body16: ; preds = %for.end, %for.body16 @@ -2864,10 +2864,10 @@ for.end258: ; preds = %for.end254, %entry } ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare float @sqrtf(float noundef) local_unnamed_addr #13 +declare float @sqrtf(float noundef) local_unnamed_addr #12 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @dequantize_row_q4_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef writeonly %y, i32 noundef %k) local_unnamed_addr #9 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define void @dequantize_row_q4_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef writeonly %y, i32 noundef %k) local_unnamed_addr #7 { entry: %cmp50 = icmp sgt i32 %k, 255 br i1 %cmp50, label %for.body.preheader, label %for.end58 @@ -3013,14 +3013,14 @@ for.end58: ; preds = %for.inc56, %entry } ; Function Attrs: nofree nounwind uwtable -define void @quantize_row_q4_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %vy, i32 noundef %k) local_unnamed_addr #14 { +define void @quantize_row_q4_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %vy, i32 noundef %k) local_unnamed_addr #13 { entry: tail call void @quantize_row_q4_K_reference(ptr noundef %x, ptr noundef %vy, i32 noundef %k) ret void } ; Function Attrs: nofree nounwind uwtable -define range(i64 -1207959552, 1207959409) i64 @ggml_quantize_q4_K(ptr noalias nocapture noundef readonly %src, ptr noalias nocapture noundef %dst, i32 noundef %n, i32 noundef %k, ptr noalias nocapture noundef readnone %hist) local_unnamed_addr #14 { +define range(i64 -1207959552, 1207959409) i64 @ggml_quantize_q4_K(ptr noalias nocapture noundef readonly %src, ptr noalias nocapture noundef %dst, i32 noundef %n, i32 noundef %k, ptr noalias nocapture noundef readnone %hist) local_unnamed_addr #13 { entry: %cmp6 = icmp sgt i32 %n, 0 br i1 %cmp6, label %for.body.preheader, label %for.end @@ -3050,7 +3050,7 @@ for.end: ; preds = %for.body, %entry } ; Function Attrs: nofree nounwind uwtable -define void @quantize_row_q5_K_reference(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %y, i32 noundef %k) local_unnamed_addr #12 { +define void @quantize_row_q5_K_reference(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %y, i32 noundef %k) local_unnamed_addr #11 { entry: %L = alloca [256 x i8], align 16 %mins = alloca [8 x float], align 16 @@ -3090,7 +3090,7 @@ for.body6: ; preds = %for.cond4.preheader for.end: ; preds = %for.body6 %div12 = fmul float %3, 3.125000e-02 - %call = tail call float @sqrtf(float noundef %div12) #20 + %call = tail call float @sqrtf(float noundef %div12) #18 br label %for.body16 for.body16: ; preds = %for.end, %for.body16 @@ -3528,8 +3528,8 @@ for.end289: ; preds = %for.end285, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @dequantize_row_q5_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef writeonly %y, i32 noundef %k) local_unnamed_addr #9 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define void @dequantize_row_q5_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef writeonly %y, i32 noundef %k) local_unnamed_addr #7 { entry: %cmp61 = icmp sgt i32 %k, 255 br i1 %cmp61, label %for.body.preheader, label %for.end81 @@ -3694,14 +3694,14 @@ for.end81: ; preds = %for.inc79, %entry } ; Function Attrs: nofree nounwind uwtable -define void @quantize_row_q5_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %vy, i32 noundef %k) local_unnamed_addr #14 { +define void @quantize_row_q5_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %vy, i32 noundef %k) local_unnamed_addr #13 { entry: tail call void @quantize_row_q5_K_reference(ptr noundef %x, ptr noundef %vy, i32 noundef %k) ret void } ; Function Attrs: nofree nounwind uwtable -define range(i64 -1476395008, 1476394833) i64 @ggml_quantize_q5_K(ptr noalias nocapture noundef readonly %src, ptr noalias nocapture noundef %dst, i32 noundef %n, i32 noundef %k, ptr noalias nocapture noundef readnone %hist) local_unnamed_addr #14 { +define range(i64 -1476395008, 1476394833) i64 @ggml_quantize_q5_K(ptr noalias nocapture noundef readonly %src, ptr noalias nocapture noundef %dst, i32 noundef %n, i32 noundef %k, ptr noalias nocapture noundef readnone %hist) local_unnamed_addr #13 { entry: %cmp6 = icmp sgt i32 %n, 0 br i1 %cmp6, label %for.body.preheader, label %for.end @@ -3730,8 +3730,8 @@ for.end: ; preds = %for.body, %entry ret i64 %mul } -; Function Attrs: nofree norecurse nosync nounwind uwtable -define void @quantize_row_q6_K_reference(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %y, i32 noundef %k) local_unnamed_addr #15 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable +define void @quantize_row_q6_K_reference(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %y, i32 noundef %k) local_unnamed_addr #8 { entry: %L = alloca [256 x i8], align 16 %scales = alloca [16 x float], align 16 @@ -4057,8 +4057,8 @@ for.end207: ; preds = %for.inc205, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @dequantize_row_q6_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef writeonly %y, i32 noundef %k) local_unnamed_addr #9 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define void @dequantize_row_q6_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef writeonly %y, i32 noundef %k) local_unnamed_addr #7 { entry: %cmp54 = icmp sgt i32 %k, 255 br i1 %cmp54, label %for.body.preheader, label %for.end131 @@ -4180,15 +4180,15 @@ for.end131: ; preds = %for.inc129, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind uwtable -define void @quantize_row_q6_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %vy, i32 noundef %k) local_unnamed_addr #16 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable +define void @quantize_row_q6_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %vy, i32 noundef %k) local_unnamed_addr #9 { entry: tail call void @quantize_row_q6_K_reference(ptr noundef %x, ptr noundef %vy, i32 noundef %k) ret void } -; Function Attrs: nofree norecurse nosync nounwind uwtable -define range(i64 -1761607680, 1761607471) i64 @ggml_quantize_q6_K(ptr nocapture noundef readonly %src, ptr nocapture noundef %dst, i32 noundef %n, i32 noundef %k, ptr nocapture noundef readnone %hist) local_unnamed_addr #16 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable +define range(i64 -1761607680, 1761607471) i64 @ggml_quantize_q6_K(ptr nocapture noundef readonly %src, ptr nocapture noundef %dst, i32 noundef %n, i32 noundef %k, ptr nocapture noundef readnone %hist) local_unnamed_addr #9 { entry: %cmp6 = icmp sgt i32 %n, 0 br i1 %cmp6, label %for.body.preheader, label %for.end @@ -4217,8 +4217,8 @@ for.end: ; preds = %for.body, %entry ret i64 %mul } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @quantize_row_q8_K_reference(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %y, i32 noundef %k) local_unnamed_addr #7 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @quantize_row_q8_K_reference(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %y, i32 noundef %k) local_unnamed_addr #5 { entry: %cmp40 = icmp sgt i32 %k, 255 br i1 %cmp40, label %for.cond1.preheader.preheader, label %for.end64 @@ -4316,8 +4316,8 @@ for.end64: ; preds = %for.inc62, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define void @dequantize_row_q8_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef writeonly %y, i32 noundef %k) local_unnamed_addr #17 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @dequantize_row_q8_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef writeonly %y, i32 noundef %k) local_unnamed_addr #5 { entry: %cmp9 = icmp sgt i32 %k, 255 br i1 %cmp9, label %for.cond1.preheader.preheader, label %for.end11 @@ -4357,8 +4357,8 @@ for.end11: ; preds = %for.inc9, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define void @quantize_row_q8_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %y, i32 noundef %k) local_unnamed_addr #10 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable +define void @quantize_row_q8_K(ptr noalias nocapture noundef readonly %x, ptr noalias nocapture noundef %y, i32 noundef %k) local_unnamed_addr #14 { entry: tail call void @llvm.experimental.noalias.scope.decl(metadata !240) tail call void @llvm.experimental.noalias.scope.decl(metadata !243) @@ -4459,7 +4459,7 @@ quantize_row_q8_K_reference.exit: ; preds = %for.inc62.i, %entry } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @ggml_vec_dot_q4_0_q8_0(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #6 { +define void @ggml_vec_dot_q4_0_q8_0(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #15 { entry: %cmp51 = icmp sgt i32 %n, 31 br i1 %cmp51, label %for.body.preheader, label %for.end @@ -4522,7 +4522,7 @@ for.end: ; preds = %for.body, %entry } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @ggml_vec_dot_q4_1_q8_1(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #6 { +define void @ggml_vec_dot_q4_1_q8_1(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #15 { entry: %cmp31 = icmp sgt i32 %n, 31 br i1 %cmp31, label %for.body.preheader, label %for.end @@ -4590,7 +4590,7 @@ for.end: ; preds = %for.body, %entry } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @ggml_vec_dot_q5_0_q8_0(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #6 { +define void @ggml_vec_dot_q5_0_q8_0(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #15 { entry: %cmp54 = icmp sgt i32 %n, 31 br i1 %cmp54, label %for.body.preheader, label %for.end @@ -4664,7 +4664,7 @@ for.end: ; preds = %for.body, %entry } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @ggml_vec_dot_q5_1_q8_1(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #6 { +define void @ggml_vec_dot_q5_1_q8_1(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #15 { entry: %cmp66 = icmp sgt i32 %n, 31 br i1 %cmp66, label %for.body.preheader, label %for.end @@ -4743,7 +4743,7 @@ for.end: ; preds = %for.body, %entry } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @ggml_vec_dot_q8_0_q8_0(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #6 { +define void @ggml_vec_dot_q8_0_q8_0(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #15 { entry: %cmp18 = icmp sgt i32 %n, 31 br i1 %cmp18, label %for.body.preheader, label %for.end @@ -4798,7 +4798,7 @@ for.end: ; preds = %for.body, %entry } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @ggml_vec_dot_q2_K_q8_K(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #6 { +define void @ggml_vec_dot_q2_K_q8_K(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #15 { entry: %cmp114 = icmp sgt i32 %n, 255 br i1 %cmp114, label %for.body.lr.ph, label %for.end98 @@ -4929,7 +4929,7 @@ for.end98: ; preds = %for.end, %entry } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @ggml_vec_dot_q3_K_q8_K(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #6 { +define void @ggml_vec_dot_q3_K_q8_K(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #15 { entry: %cmp164 = icmp sgt i32 %n, 255 br i1 %cmp164, label %for.body.lr.ph, label %for.end142 @@ -5093,7 +5093,7 @@ for.end142: ; preds = %for.end, %entry } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @ggml_vec_dot_q4_K_q8_K(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #6 { +define void @ggml_vec_dot_q4_K_q8_K(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #15 { entry: %cmp96 = icmp sgt i32 %n, 255 br i1 %cmp96, label %for.body.preheader, label %for.end94 @@ -5233,7 +5233,7 @@ for.end94: ; preds = %for.end, %entry } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @ggml_vec_dot_q5_K_q8_K(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #6 { +define void @ggml_vec_dot_q5_K_q8_K(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #15 { entry: %cmp126 = icmp sgt i32 %n, 255 br i1 %cmp126, label %for.body.preheader, label %for.end112 @@ -5392,7 +5392,7 @@ for.end112: ; preds = %for.end, %entry } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @ggml_vec_dot_q6_K_q8_K(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #6 { +define void @ggml_vec_dot_q6_K_q8_K(i32 noundef %n, ptr noalias nocapture noundef writeonly %s, ptr noalias nocapture noundef readonly %vx, ptr noalias nocapture noundef readonly %vy) local_unnamed_addr #15 { entry: %cmp171 = icmp sgt i32 %n, 255 br i1 %cmp171, label %for.body.preheader, label %for.end102 @@ -5590,25 +5590,25 @@ declare <4 x i32> @llvm.x86.ssse3.phadd.d.128(<4 x i32>, <4 x i32>) #2 declare <16 x i8> @llvm.x86.ssse3.pshuf.b.128(<16 x i8>, <16 x i8>) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #18 +declare i32 @llvm.smin.i32(i32, i32) #16 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i8 @llvm.smin.i8(i8, i8) #18 +declare i8 @llvm.smin.i8(i8, i8) #16 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <8 x float> @llvm.fabs.v8f32(<8 x float>) #18 +declare <8 x float> @llvm.fabs.v8f32(<8 x float>) #16 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #18 +declare i32 @llvm.smax.i32(i32, i32) #16 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #18 +declare i32 @llvm.umin.i32(i32, i32) #16 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) -declare void @llvm.experimental.noalias.scope.decl(metadata) #19 +declare void @llvm.experimental.noalias.scope.decl(metadata) #17 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #18 +declare i32 @llvm.umax.i32(i32, i32) #16 attributes #0 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } @@ -5616,21 +5616,19 @@ attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memo attributes #3 = { nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #5 = { 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"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #6 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="256" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } +attributes #6 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="256" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } 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"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } attributes #8 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #9 = { 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"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #10 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #11 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #12 = { nofree nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #13 = { mustprogress nofree nounwind willreturn memory(write) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #14 = { nofree nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #15 = { nofree norecurse nosync nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #16 = { nofree norecurse nosync nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #17 = { nofree norecurse nosync nounwind 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"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #18 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #19 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } -attributes #20 = { nounwind } +attributes #9 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } +attributes #10 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #11 = { nofree nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } +attributes #12 = { mustprogress nofree nounwind willreturn memory(write) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } +attributes #13 = { nofree nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } +attributes #14 = { nofree norecurse nosync nounwind 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"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } +attributes #15 = { nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="256" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } +attributes #16 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #17 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } +attributes #18 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/lodepng/optimized/lodepng.cpp.ll b/bench/lodepng/optimized/lodepng.cpp.ll index 65a10fe4e0c..a95808b78a6 100644 --- a/bench/lodepng/optimized/lodepng.cpp.ll +++ b/bench/lodepng/optimized/lodepng.cpp.ll @@ -4170,7 +4170,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define noundef i32 @_Z13lodepng_crc32PKhm(ptr nocapture noundef readonly %data, i64 noundef %length) local_unnamed_addr #7 { entry: %cmp18 = icmp ugt i64 %length, 7 @@ -4276,7 +4276,7 @@ while.end50: ; preds = %while.body42, %whil } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef i32 @_Z20lodepng_chunk_lengthPKh(ptr nocapture noundef readonly %chunk) local_unnamed_addr #8 { +define noundef i32 @_Z20lodepng_chunk_lengthPKh(ptr nocapture noundef readonly %chunk) local_unnamed_addr #7 { entry: %0 = load i8, ptr %chunk, align 1 %conv.i = zext i8 %0 to i32 @@ -4299,7 +4299,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @_Z18lodepng_chunk_typePcPKh(ptr nocapture noundef writeonly %type, ptr nocapture noundef readonly %chunk) local_unnamed_addr #9 { +define void @_Z18lodepng_chunk_typePcPKh(ptr nocapture noundef writeonly %type, ptr nocapture noundef readonly %chunk) local_unnamed_addr #8 { entry: %invariant.gep = getelementptr inbounds i8, ptr %chunk, i64 4 br label %for.body @@ -4320,7 +4320,7 @@ for.end: ; preds = %for.body ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define noundef zeroext range(i8 0, 2) i8 @_Z25lodepng_chunk_type_equalsPKhPKc(ptr nocapture noundef readonly %chunk, ptr noundef %type) local_unnamed_addr #7 { entry: br label %while.cond.i @@ -4385,7 +4385,7 @@ return: ; preds = %if.end, %land.lhs.t } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef zeroext range(i8 0, 2) i8 @_Z23lodepng_chunk_ancillaryPKh(ptr nocapture noundef readonly %chunk) local_unnamed_addr #8 { +define noundef zeroext range(i8 0, 2) i8 @_Z23lodepng_chunk_ancillaryPKh(ptr nocapture noundef readonly %chunk) local_unnamed_addr #7 { entry: %arrayidx = getelementptr inbounds i8, ptr %chunk, i64 4 %0 = load i8, ptr %arrayidx, align 1 @@ -4395,7 +4395,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef zeroext range(i8 0, 2) i8 @_Z21lodepng_chunk_privatePKh(ptr nocapture noundef readonly %chunk) local_unnamed_addr #8 { +define noundef zeroext range(i8 0, 2) i8 @_Z21lodepng_chunk_privatePKh(ptr nocapture noundef readonly %chunk) local_unnamed_addr #7 { entry: %arrayidx = getelementptr inbounds i8, ptr %chunk, i64 6 %0 = load i8, ptr %arrayidx, align 1 @@ -4405,7 +4405,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef zeroext range(i8 0, 2) i8 @_Z24lodepng_chunk_safetocopyPKh(ptr nocapture noundef readonly %chunk) local_unnamed_addr #8 { +define noundef zeroext range(i8 0, 2) i8 @_Z24lodepng_chunk_safetocopyPKh(ptr nocapture noundef readonly %chunk) local_unnamed_addr #7 { entry: %arrayidx = getelementptr inbounds i8, ptr %chunk, i64 7 %0 = load i8, ptr %arrayidx, align 1 @@ -4415,20 +4415,20 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define noundef nonnull ptr @_Z18lodepng_chunk_dataPh(ptr noundef readnone %chunk) local_unnamed_addr #10 { +define noundef nonnull ptr @_Z18lodepng_chunk_dataPh(ptr noundef readnone %chunk) local_unnamed_addr #9 { entry: %arrayidx = getelementptr inbounds i8, ptr %chunk, i64 8 ret ptr %arrayidx } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define noundef nonnull ptr @_Z24lodepng_chunk_data_constPKh(ptr noundef readnone %chunk) local_unnamed_addr #10 { +define noundef nonnull ptr @_Z24lodepng_chunk_data_constPKh(ptr noundef readnone %chunk) local_unnamed_addr #9 { entry: %arrayidx = getelementptr inbounds i8, ptr %chunk, i64 8 ret ptr %arrayidx } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define noundef range(i32 0, 2) i32 @_Z23lodepng_chunk_check_crcPKh(ptr nocapture noundef readonly %chunk) local_unnamed_addr #7 { entry: %0 = load i8, ptr %chunk, align 1 @@ -4575,8 +4575,8 @@ _Z13lodepng_crc32PKhm.exit: ; preds = %while.body42.i, %wh ret i32 %. } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @_Z26lodepng_chunk_generate_crcPh(ptr nocapture noundef %chunk) local_unnamed_addr #11 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @_Z26lodepng_chunk_generate_crcPh(ptr nocapture noundef %chunk) local_unnamed_addr #8 { entry: %0 = load i8, ptr %chunk, align 1 %conv.i.i = zext i8 %0 to i32 @@ -4718,7 +4718,7 @@ _Z13lodepng_crc32PKhm.exit: ; preds = %while.body42.i, %wh } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef ptr @_Z18lodepng_chunk_nextPhS_(ptr noundef %chunk, ptr noundef %end) local_unnamed_addr #8 { +define noundef ptr @_Z18lodepng_chunk_nextPhS_(ptr noundef %chunk, ptr noundef %end) local_unnamed_addr #7 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast = ptrtoint ptr %chunk to i64 @@ -4805,7 +4805,7 @@ return: ; preds = %if.end34, %entry, % } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef ptr @_Z24lodepng_chunk_next_constPKhS0_(ptr noundef %chunk, ptr noundef %end) local_unnamed_addr #8 { +define noundef ptr @_Z24lodepng_chunk_next_constPKhS0_(ptr noundef %chunk, ptr noundef %end) local_unnamed_addr #7 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %sub.ptr.rhs.cast = ptrtoint ptr %chunk to i64 @@ -4892,7 +4892,7 @@ return: ; preds = %if.end34, %entry, % } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef ptr @_Z18lodepng_chunk_findPhS_PKc(ptr noundef %chunk, ptr noundef %end, ptr noundef %type) local_unnamed_addr #7 { +define noundef ptr @_Z18lodepng_chunk_findPhS_PKc(ptr noundef %chunk, ptr noundef %end, ptr noundef %type) local_unnamed_addr #10 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %cmp.not12 = icmp uge ptr %chunk, %end @@ -5048,7 +5048,7 @@ return: ; preds = %_Z18lodepng_chunk_n } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef ptr @_Z24lodepng_chunk_find_constPKhS0_PKc(ptr noundef %chunk, ptr noundef %end, ptr noundef %type) local_unnamed_addr #7 { +define noundef ptr @_Z24lodepng_chunk_find_constPKhS0_PKc(ptr noundef %chunk, ptr noundef %end, ptr noundef %type) local_unnamed_addr #10 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %end to i64 %cmp.not12 = icmp uge ptr %chunk, %end @@ -5342,7 +5342,7 @@ entry: } ; Function Attrs: mustprogress nounwind willreturn uwtable -define void @_Z26lodepng_color_mode_cleanupP16LodePNGColorMode(ptr nocapture noundef %info) local_unnamed_addr #12 { +define void @_Z26lodepng_color_mode_cleanupP16LodePNGColorMode(ptr nocapture noundef %info) local_unnamed_addr #11 { entry: %palette.i = getelementptr inbounds i8, ptr %info, i64 8 %0 = load ptr, ptr %palette.i, align 8 @@ -5359,7 +5359,7 @@ _Z21lodepng_palette_clearP16LodePNGColorMode.exit: ; preds = %entry, %if.then.i } ; Function Attrs: mustprogress nounwind willreturn uwtable -define void @_Z21lodepng_palette_clearP16LodePNGColorMode(ptr nocapture noundef %info) local_unnamed_addr #12 { +define void @_Z21lodepng_palette_clearP16LodePNGColorMode(ptr nocapture noundef %info) local_unnamed_addr #11 { entry: %palette = getelementptr inbounds i8, ptr %info, i64 8 %0 = load ptr, ptr %palette, align 8 @@ -5376,7 +5376,7 @@ if.end: ; preds = %if.then, %entry } ; Function Attrs: mustprogress nounwind willreturn uwtable -define noundef range(i32 0, 84) i32 @_Z23lodepng_color_mode_copyP16LodePNGColorModePKS_(ptr nocapture noundef %dest, ptr nocapture noundef readonly %source) local_unnamed_addr #12 { +define noundef range(i32 0, 84) i32 @_Z23lodepng_color_mode_copyP16LodePNGColorModePKS_(ptr nocapture noundef %dest, ptr nocapture noundef readonly %source) local_unnamed_addr #11 { entry: %palette.i.i = getelementptr inbounds i8, ptr %dest, i64 8 %0 = load ptr, ptr %palette.i.i, align 8 @@ -5437,7 +5437,7 @@ entry: } ; Function Attrs: mustprogress nofree nounwind memory(write, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define noundef range(i32 0, 109) i32 @_Z19lodepng_palette_addP16LodePNGColorModehhhh(ptr nocapture noundef %info, i8 noundef zeroext %r, i8 noundef zeroext %g, i8 noundef zeroext %b, i8 noundef zeroext %a) local_unnamed_addr #13 { +define noundef range(i32 0, 109) i32 @_Z19lodepng_palette_addP16LodePNGColorModehhhh(ptr nocapture noundef %info, i8 noundef zeroext %r, i8 noundef zeroext %g, i8 noundef zeroext %b, i8 noundef zeroext %a) local_unnamed_addr #12 { entry: %palette = getelementptr inbounds i8, ptr %info, i64 8 %0 = load ptr, ptr %palette, align 8 @@ -5517,7 +5517,7 @@ return: ; preds = %if.then.i, %if.end4 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef i32 @_Z15lodepng_get_bppPK16LodePNGColorMode(ptr nocapture noundef readonly %info) local_unnamed_addr #8 { +define noundef i32 @_Z15lodepng_get_bppPK16LodePNGColorMode(ptr nocapture noundef readonly %info) local_unnamed_addr #7 { entry: %0 = load i32, ptr %info, align 8 %bitdepth = getelementptr inbounds i8, ptr %info, i64 4 @@ -5553,7 +5553,7 @@ _ZL19lodepng_get_bpp_lct16LodePNGColorTypej.exit: ; preds = %entry, %entry, %sw. } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef range(i32 0, 5) i32 @_Z20lodepng_get_channelsPK16LodePNGColorMode(ptr nocapture noundef readonly %info) local_unnamed_addr #8 { +define noundef range(i32 0, 5) i32 @_Z20lodepng_get_channelsPK16LodePNGColorMode(ptr nocapture noundef readonly %info) local_unnamed_addr #7 { entry: %0 = load i32, ptr %info, align 8 switch i32 %0, label %sw.default.i [ @@ -5586,7 +5586,7 @@ _ZL19getNumColorChannels16LodePNGColorType.exit: ; preds = %entry, %entry, %sw. } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef range(i32 0, 2) i32 @_Z25lodepng_is_greyscale_typePK16LodePNGColorMode(ptr nocapture noundef readonly %info) local_unnamed_addr #8 { +define noundef range(i32 0, 2) i32 @_Z25lodepng_is_greyscale_typePK16LodePNGColorMode(ptr nocapture noundef readonly %info) local_unnamed_addr #7 { entry: %0 = load i32, ptr %info, align 8 %1 = and i32 %0, -5 @@ -5596,7 +5596,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef range(i32 0, 2) i32 @_Z21lodepng_is_alpha_typePK16LodePNGColorMode(ptr nocapture noundef readonly %info) local_unnamed_addr #8 { +define noundef range(i32 0, 2) i32 @_Z21lodepng_is_alpha_typePK16LodePNGColorMode(ptr nocapture noundef readonly %info) local_unnamed_addr #7 { entry: %0 = load i32, ptr %info, align 8 %and = lshr i32 %0, 2 @@ -5605,7 +5605,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef range(i32 0, 2) i32 @_Z23lodepng_is_palette_typePK16LodePNGColorMode(ptr nocapture noundef readonly %info) local_unnamed_addr #8 { +define noundef range(i32 0, 2) i32 @_Z23lodepng_is_palette_typePK16LodePNGColorMode(ptr nocapture noundef readonly %info) local_unnamed_addr #7 { entry: %0 = load i32, ptr %info, align 8 %cmp = icmp eq i32 %0, 3 @@ -5614,7 +5614,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef range(i32 0, 2) i32 @_Z25lodepng_has_palette_alphaPK16LodePNGColorMode(ptr nocapture noundef readonly %info) local_unnamed_addr #7 { +define noundef range(i32 0, 2) i32 @_Z25lodepng_has_palette_alphaPK16LodePNGColorMode(ptr nocapture noundef readonly %info) local_unnamed_addr #10 { entry: %palettesize = getelementptr inbounds i8, ptr %info, i64 16 %0 = load i64, ptr %palettesize, align 8 @@ -5646,7 +5646,7 @@ return: ; preds = %for.body, %for.cond } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define noundef range(i32 0, 2) i32 @_Z22lodepng_can_have_alphaPK16LodePNGColorMode(ptr nocapture noundef readonly %info) local_unnamed_addr #7 { +define noundef range(i32 0, 2) i32 @_Z22lodepng_can_have_alphaPK16LodePNGColorMode(ptr nocapture noundef readonly %info) local_unnamed_addr #10 { entry: %key_defined = getelementptr inbounds i8, ptr %info, i64 24 %0 = load i32, ptr %key_defined, align 8 @@ -5690,7 +5690,7 @@ lor.end: ; preds = %for.body.i, %for.co } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef i64 @_Z20lodepng_get_raw_sizejjPK16LodePNGColorMode(i32 noundef %w, i32 noundef %h, ptr nocapture noundef readonly %color) local_unnamed_addr #8 { +define noundef i64 @_Z20lodepng_get_raw_sizejjPK16LodePNGColorMode(i32 noundef %w, i32 noundef %h, ptr nocapture noundef readonly %color) local_unnamed_addr #7 { entry: %0 = load i32, ptr %color, align 8 %bitdepth = getelementptr inbounds i8, ptr %color, i64 4 @@ -6281,7 +6281,7 @@ _ZL18lodepng_assign_iccP11LodePNGInfoPKcPKhj.exit: ; preds = %if.end, %_ZL12allo } ; Function Attrs: mustprogress nounwind willreturn uwtable -define void @_Z17lodepng_clear_iccP11LodePNGInfo(ptr nocapture noundef %info) local_unnamed_addr #12 { +define void @_Z17lodepng_clear_iccP11LodePNGInfo(ptr nocapture noundef %info) local_unnamed_addr #11 { entry: %iccp_name = getelementptr inbounds i8, ptr %info, i64 240 %0 = load ptr, ptr %iccp_name, align 8 @@ -7927,7 +7927,7 @@ return: ; preds = %for.body.preheader. } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define internal fastcc noundef range(i32 0, 2) i32 @_ZL24lodepng_color_mode_equalPK16LodePNGColorModeS1_(ptr nocapture noundef readonly %a, ptr nocapture noundef readonly %b) unnamed_addr #7 { +define internal fastcc noundef range(i32 0, 2) i32 @_ZL24lodepng_color_mode_equalPK16LodePNGColorModeS1_(ptr nocapture noundef readonly %a, ptr nocapture noundef readonly %b) unnamed_addr #10 { entry: %0 = load i32, ptr %a, align 8 %1 = load i32, ptr %b, align 8 @@ -8018,7 +8018,7 @@ return: ; preds = %for.body, %for.cond } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal fastcc void @_ZL19getPixelColorRGBA16PtS_S_S_PKhmPK16LodePNGColorMode(ptr nocapture noundef writeonly %r, ptr nocapture noundef writeonly %g, ptr nocapture noundef writeonly %b, ptr nocapture noundef writeonly %a, ptr nocapture noundef readonly %in, i64 noundef %i, ptr nocapture noundef readonly %mode) unnamed_addr #14 { +define internal fastcc void @_ZL19getPixelColorRGBA16PtS_S_S_PKhmPK16LodePNGColorMode(ptr nocapture noundef writeonly %r, ptr nocapture noundef writeonly %g, ptr nocapture noundef writeonly %b, ptr nocapture noundef writeonly %a, ptr nocapture noundef readonly %in, i64 noundef %i, ptr nocapture noundef readonly %mode) unnamed_addr #13 { entry: %0 = load i32, ptr %mode, align 8 switch i32 %0, label %if.end176 [ @@ -8552,7 +8552,7 @@ if.end177: ; preds = %for.body155, %for.b } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @_ZL18getPixelColorRGBA8PhS_S_S_PKhmPK16LodePNGColorMode(ptr nocapture noundef %r, ptr nocapture noundef %g, ptr nocapture noundef writeonly %b, ptr nocapture noundef writeonly %a, ptr nocapture noundef readonly %in, i64 noundef %i, ptr nocapture noundef readonly %mode) unnamed_addr #11 { +define internal fastcc void @_ZL18getPixelColorRGBA8PhS_S_S_PKhmPK16LodePNGColorMode(ptr nocapture noundef %r, ptr nocapture noundef %g, ptr nocapture noundef writeonly %b, ptr nocapture noundef writeonly %a, ptr nocapture noundef readonly %in, i64 noundef %i, ptr nocapture noundef readonly %mode) unnamed_addr #14 { entry: %0 = load i32, ptr %mode, align 8 switch i32 %0, label %if.end227 [ @@ -8957,7 +8957,7 @@ for.end: ; preds = %for.inc } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define noundef range(i32 0, 83) i32 @_Z19lodepng_convert_rgbPjS_S_jjjPK16LodePNGColorModeS2_(ptr nocapture noundef writeonly %r_out, ptr nocapture noundef writeonly %g_out, ptr nocapture noundef writeonly %b_out, i32 noundef %r_in, i32 noundef %g_in, i32 noundef %b_in, ptr nocapture noundef readonly %mode_out, ptr nocapture noundef readonly %mode_in) local_unnamed_addr #11 { +define noundef range(i32 0, 83) i32 @_Z19lodepng_convert_rgbPjS_S_jjjPK16LodePNGColorModeS2_(ptr nocapture noundef writeonly %r_out, ptr nocapture noundef writeonly %g_out, ptr nocapture noundef writeonly %b_out, i32 noundef %r_in, i32 noundef %g_in, i32 noundef %b_in, ptr nocapture noundef readonly %mode_out, ptr nocapture noundef readonly %mode_in) local_unnamed_addr #14 { entry: %bitdepth = getelementptr inbounds i8, ptr %mode_in, i64 4 %0 = load i32, ptr %bitdepth, align 4 @@ -10245,7 +10245,7 @@ return: ; preds = %if.end99, %if.then1 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal fastcc noundef range(i32 0, 38) i32 @_ZL18checkColorValidity16LodePNGColorTypej(i32 noundef %colortype, i32 noundef %bd) unnamed_addr #10 { +define internal fastcc noundef range(i32 0, 38) i32 @_ZL18checkColorValidity16LodePNGColorTypej(i32 noundef %colortype, i32 noundef %bd) unnamed_addr #9 { entry: switch i32 %colortype, label %return [ i32 0, label %sw.bb @@ -10688,7 +10688,7 @@ return: ; preds = %if.then118, %if.els } ; Function Attrs: mustprogress nofree nounwind memory(write, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define internal fastcc noundef range(i32 0, 84) i32 @_ZL14readChunk_PLTEP16LodePNGColorModePKhm(ptr nocapture noundef %color, ptr nocapture noundef readonly %data, i64 noundef %chunkLength) unnamed_addr #13 { +define internal fastcc noundef range(i32 0, 84) i32 @_ZL14readChunk_PLTEP16LodePNGColorModePKhm(ptr nocapture noundef %color, ptr nocapture noundef readonly %data, i64 noundef %chunkLength) unnamed_addr #12 { entry: %div = udiv i64 %chunkLength, 3 %palettesize = getelementptr inbounds i8, ptr %color, i64 16 @@ -10908,7 +10908,7 @@ return: ; preds = %for.body, %return.s } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal fastcc noundef range(i32 0, 104) i32 @_ZL14readChunk_bKGDP11LodePNGInfoPKhm(ptr nocapture noundef %info, ptr nocapture noundef readonly %data, i64 noundef %chunkLength) unnamed_addr #14 { +define internal fastcc noundef range(i32 0, 104) i32 @_ZL14readChunk_bKGDP11LodePNGInfoPKhm(ptr nocapture noundef %info, ptr nocapture noundef readonly %data, i64 noundef %chunkLength) unnamed_addr #13 { entry: %color = getelementptr inbounds i8, ptr %info, i64 16 %0 = load i32, ptr %color, align 8 @@ -11407,7 +11407,7 @@ while.end: ; preds = %for.end71, %for.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal fastcc noundef range(i32 0, 74) i32 @_ZL14readChunk_tIMEP11LodePNGInfoPKhm(ptr nocapture noundef writeonly %info, ptr nocapture noundef readonly %data, i64 noundef %chunkLength) unnamed_addr #14 { +define internal fastcc noundef range(i32 0, 74) i32 @_ZL14readChunk_tIMEP11LodePNGInfoPKhm(ptr nocapture noundef writeonly %info, ptr nocapture noundef readonly %data, i64 noundef %chunkLength) unnamed_addr #13 { entry: %cmp.not = icmp eq i64 %chunkLength, 7 br i1 %cmp.not, label %if.end, label %return @@ -11457,7 +11457,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal fastcc noundef range(i32 0, 75) i32 @_ZL14readChunk_pHYsP11LodePNGInfoPKhm(ptr nocapture noundef writeonly %info, ptr nocapture noundef readonly %data, i64 noundef %chunkLength) unnamed_addr #14 { +define internal fastcc noundef range(i32 0, 75) i32 @_ZL14readChunk_pHYsP11LodePNGInfoPKhm(ptr nocapture noundef writeonly %info, ptr nocapture noundef readonly %data, i64 noundef %chunkLength) unnamed_addr #13 { entry: %cmp.not = icmp eq i64 %chunkLength, 9 br i1 %cmp.not, label %if.end, label %return @@ -11517,7 +11517,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal fastcc noundef range(i32 0, 98) i32 @_ZL14readChunk_cHRMP11LodePNGInfoPKhm(ptr nocapture noundef writeonly %info, ptr nocapture noundef readonly %data, i64 noundef %chunkLength) unnamed_addr #14 { +define internal fastcc noundef range(i32 0, 98) i32 @_ZL14readChunk_cHRMP11LodePNGInfoPKhm(ptr nocapture noundef writeonly %info, ptr nocapture noundef readonly %data, i64 noundef %chunkLength) unnamed_addr #13 { entry: %cmp.not = icmp eq i64 %chunkLength, 32 br i1 %cmp.not, label %if.end, label %return @@ -11854,7 +11854,7 @@ return: ; preds = %18, %if.then3.i, %. } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal fastcc noundef range(i32 0, 116) i32 @_ZL14readChunk_sBITP11LodePNGInfoPKhm(ptr nocapture noundef %info, ptr nocapture noundef readonly %data, i64 noundef %chunkLength) unnamed_addr #14 { +define internal fastcc noundef range(i32 0, 116) i32 @_ZL14readChunk_sBITP11LodePNGInfoPKhm(ptr nocapture noundef %info, ptr nocapture noundef readonly %data, i64 noundef %chunkLength) unnamed_addr #13 { entry: %color = getelementptr inbounds i8, ptr %info, i64 16 %0 = load i32, ptr %color, align 8 @@ -16363,7 +16363,7 @@ if.end116: ; preds = %if.end, %if.else, % } ; Function Attrs: mustprogress nounwind willreturn uwtable -define internal fastcc noundef range(i32 0, 84) i32 @_ZL14writeSignatureP8ucvector(ptr nocapture noundef %out) unnamed_addr #12 { +define internal fastcc noundef range(i32 0, 84) i32 @_ZL14writeSignatureP8ucvector(ptr nocapture noundef %out) unnamed_addr #11 { entry: %size = getelementptr inbounds i8, ptr %out, i64 8 %0 = load i64, ptr %size, align 8 @@ -18892,7 +18892,7 @@ _Z19lodepng_encode_filePKcPKhjj16LodePNGColorTypej.exit: ; preds = %entry, %if.t } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define noundef nonnull ptr @_Z18lodepng_error_textj(i32 noundef %code) local_unnamed_addr #10 { +define noundef nonnull ptr @_Z18lodepng_error_textj(i32 noundef %code) local_unnamed_addr #9 { entry: %0 = icmp ult i32 %code, 116 br i1 %0, label %switch.lookup, label %return @@ -21985,7 +21985,7 @@ return: ; preds = %if.end, %if.then8, declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #20 ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc noundef i32 @_ZL8unfilterPhPKhjjj(ptr noundef %out, ptr nocapture noundef readonly %in, i32 noundef %w, i32 noundef %h, i32 noundef %bpp) unnamed_addr #11 { +define internal fastcc noundef i32 @_ZL8unfilterPhPKhjjj(ptr noundef %out, ptr nocapture noundef readonly %in, i32 noundef %w, i32 noundef %h, i32 noundef %bpp) unnamed_addr #14 { entry: %add = add i32 %bpp, 7 %div12 = lshr i32 %add, 3 @@ -22827,7 +22827,7 @@ return: ; preds = %if.end, %for.body, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal fastcc void @_ZL14addPaddingBitsPhPKhmmj(ptr nocapture noundef %out, ptr nocapture noundef readonly %in, i64 noundef %olinebits, i64 noundef %ilinebits, i32 noundef %h) unnamed_addr #9 { +define internal fastcc void @_ZL14addPaddingBitsPhPKhmmj(ptr nocapture noundef %out, ptr nocapture noundef readonly %in, i64 noundef %olinebits, i64 noundef %ilinebits, i32 noundef %h) unnamed_addr #8 { entry: %sub = sub nsw i64 %olinebits, %ilinebits %cmp.not31 = icmp eq i32 %h, 0 @@ -23559,7 +23559,7 @@ return: ; preds = %for.body356, %for.b } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal fastcc void @_ZL14filterScanlinePhPKhS1_mmh(ptr nocapture noundef writeonly %out, ptr nocapture noundef readonly %scanline, ptr noundef readonly %prevline, i64 noundef %length, i64 noundef %bytewidth, i8 noundef zeroext %filterType) unnamed_addr #9 { +define internal fastcc void @_ZL14filterScanlinePhPKhS1_mmh(ptr nocapture noundef writeonly %out, ptr nocapture noundef readonly %scanline, ptr noundef readonly %prevline, i64 noundef %length, i64 noundef %bytewidth, i8 noundef zeroext %filterType) unnamed_addr #8 { entry: switch i8 %filterType, label %sw.epilog [ i8 0, label %for.cond.preheader @@ -24050,14 +24050,14 @@ attributes #3 = { mustprogress nofree norecurse nosync nounwind memory(readwrite attributes #4 = { mustprogress 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 #5 = { mustprogress 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 #6 = { 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 #7 = { 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 #8 = { 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 #9 = { mustprogress 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 #10 = { 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 #11 = { mustprogress 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 #12 = { mustprogress nounwind willreturn 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 nounwind memory(write, 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 #14 = { 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 #7 = { 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 #8 = { mustprogress 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 #9 = { 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 #10 = { 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 #11 = { mustprogress nounwind willreturn 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 nounwind memory(write, 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 #13 = { 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 #14 = { mustprogress 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 #15 = { mustprogress nofree norecurse nosync nounwind 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 #16 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #17 = { 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" } diff --git a/bench/luajit/optimized/lj_asm.ll b/bench/luajit/optimized/lj_asm.ll index edfc9f33c2d..1248c93858f 100644 --- a/bench/luajit/optimized/lj_asm.ll +++ b/bench/luajit/optimized/lj_asm.ll @@ -26,7 +26,7 @@ define hidden void @lj_asm_patchexit(ptr noundef %J, ptr nocapture noundef reado entry: %mcode = getelementptr inbounds i8, ptr %T, i64 88 %0 = load ptr, ptr %mcode, align 8 - %call = tail call ptr @lj_mcode_patch(ptr noundef %J, ptr noundef %0, i32 noundef 0) #15 + %call = tail call ptr @lj_mcode_patch(ptr noundef %J, ptr noundef %0, i32 noundef 0) #14 %szmcode = getelementptr inbounds i8, ptr %T, i64 84 %1 = load i32, ptr %szmcode, align 4 %exitstubgroup = getelementptr inbounds i8, ptr %J, i64 1696 @@ -162,14 +162,14 @@ for.end84: ; preds = %for.inc80, %for.end %15 = load i32, ptr %szmcode, align 4 %idx.ext88 = zext i32 %15 to i64 %add.ptr89 = getelementptr inbounds i8, ptr %14, i64 %idx.ext88 - tail call void @lj_mcode_sync(ptr noundef %14, ptr noundef %add.ptr89) #15 - %call90 = tail call ptr @lj_mcode_patch(ptr noundef %J, ptr noundef %call, i32 noundef 1) #15 + tail call void @lj_mcode_sync(ptr noundef %14, ptr noundef %add.ptr89) #14 + %call90 = tail call ptr @lj_mcode_patch(ptr noundef %J, ptr noundef %call, i32 noundef 1) #14 ret void } declare hidden ptr @lj_mcode_patch(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal fastcc i32 @asm_x86_inslen(ptr nocapture noundef readonly %p) unnamed_addr #2 { entry: br label %for.cond.outer.outer.outer @@ -434,7 +434,7 @@ if.end: ; preds = %entry, %do.end br i1 %cmp.i.not, label %lj_ir_nextins.exit, label %if.then.i if.then.i: ; preds = %if.end - tail call void @lj_ir_growtop(ptr noundef nonnull %J) #15 + tail call void @lj_ir_growtop(ptr noundef nonnull %J) #14 br label %lj_ir_nextins.exit lj_ir_nextins.exit: ; preds = %if.then.i, %if.end @@ -453,7 +453,7 @@ lj_ir_nextins.exit: ; preds = %if.then.i, %if.end store ptr %T, ptr %T22, align 8 %L = getelementptr inbounds i8, ptr %J, i64 128 %7 = load ptr, ptr %L, align 8 - %call23 = tail call ptr @lj_trace_alloc(ptr noundef %7, ptr noundef nonnull %T) #15 + %call23 = tail call ptr @lj_trace_alloc(ptr noundef %7, ptr noundef nonnull %T) #14 %curfinal = getelementptr inbounds i8, ptr %J, i64 120 store ptr %call23, ptr %curfinal, align 8 %flags = getelementptr inbounds i8, ptr %J, i64 168 @@ -487,7 +487,7 @@ cond.end: ; preds = %lj_ir_nextins.exit, %parent29 = getelementptr inbounds i8, ptr %as_, i64 280 store ptr %cond, ptr %parent29, align 8 %mcbot = getelementptr inbounds i8, ptr %as_, i64 288 - %call30 = call ptr @lj_mcode_reserve(ptr noundef nonnull %J, ptr noundef nonnull %mcbot) #15 + %call30 = call ptr @lj_mcode_reserve(ptr noundef nonnull %J, ptr noundef nonnull %mcbot) #14 %mctoporig = getelementptr inbounds i8, ptr %as_, i64 304 store ptr %call30, ptr %mctoporig, align 8 %mctop = getelementptr inbounds i8, ptr %as_, i64 296 @@ -516,7 +516,7 @@ for.body.lr.ph.i.i: ; preds = %for.cond.preheader. if.then.i.i: ; preds = %cond.end %18 = load ptr, ptr %J21, align 8 - call void @lj_trace_err(ptr noundef %18, i32 noundef 4) #16 + call void @lj_trace_err(ptr noundef %18, i32 noundef 4) #15 unreachable for.body.i.i: ; preds = %for.inc.i.i, %for.body.lr.ph.i.i @@ -536,7 +536,7 @@ if.then4.i.i: ; preds = %for.body.i.i br i1 %cmp.not.i.i.i, label %if.end.i.i.i, label %if.then.i.i.i if.then.i.i.i: ; preds = %if.then4.i.i - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable if.end.i.i.i: ; preds = %if.then4.i.i @@ -813,7 +813,7 @@ if.then18.i: ; preds = %for.end.i %54 = load ptr, ptr %J21, align 8 %exitno.i = getelementptr inbounds i8, ptr %54, i64 3020 %55 = load i32, ptr %exitno.i, align 4 - %call.i = call ptr @lj_snap_regspmap(ptr noundef %54, ptr noundef nonnull %53, i32 noundef %55, ptr noundef nonnull %arrayidx16.i) #15 + %call.i = call ptr @lj_snap_regspmap(ptr noundef %54, ptr noundef nonnull %53, i32 noundef %55, ptr noundef nonnull %arrayidx16.i) #14 %sub.ptr.lhs.cast.i = ptrtoint ptr %call.i to i64 %sub.ptr.rhs.cast.i = ptrtoint ptr %arrayidx16.i to i64 %sub.ptr.sub.i = sub i64 %sub.ptr.lhs.cast.i, %sub.ptr.rhs.cast.i @@ -822,7 +822,7 @@ if.then18.i: ; preds = %for.end.i if.then23.i: ; preds = %if.then18.i %56 = load ptr, ptr %J21, align 8 - call void @lj_trace_err(ptr noundef %56, i32 noundef 34) #16 + call void @lj_trace_err(ptr noundef %56, i32 noundef 34) #15 unreachable if.end25.i: ; preds = %if.then18.i @@ -1533,7 +1533,7 @@ asm_baseslot.exit.i: ; preds = %for.cond.i.i, %if.t br i1 %cmp.i.i173, label %if.then.i.i207, label %checkmclim.exit.i if.then.i.i207: ; preds = %asm_baseslot.exit.i - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable checkmclim.exit.i: ; preds = %asm_baseslot.exit.i @@ -2239,7 +2239,7 @@ if.else64.i.i: ; preds = %if.else25.i.i %225 = load ptr, ptr %J21, align 8 %L.i.i = getelementptr inbounds i8, ptr %225, i64 128 %226 = load ptr, ptr %L.i.i, align 8 - call void @lj_ir_kvalue(ptr noundef %226, ptr noundef nonnull %k.i.i, ptr noundef nonnull %arrayidx8.i.i184) #15 + call void @lj_ir_kvalue(ptr noundef %226, ptr noundef nonnull %k.i.i, ptr noundef nonnull %arrayidx8.i.i184) #14 %227 = load i64, ptr %k.i.i, align 8 %cmp65.i.i = icmp eq i64 %227, -1 br i1 %cmp65.i.i, label %if.then67.i.i, label %if.else72.i.i @@ -2349,7 +2349,7 @@ if.end81.i.i: ; preds = %emit_movmroi.exit27 br i1 %cmp.i.i80.i, label %if.then.i.i81.i, label %for.inc.i.i185 if.then.i.i81.i: ; preds = %if.end81.i.i - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable for.inc.i.i185: ; preds = %if.end81.i.i, %for.body.i69.i @@ -2403,7 +2403,7 @@ do.body.preheader.i: ; preds = %if.then.i212 if.then2.i: ; preds = %if.then.i212 %246 = load ptr, ptr %J21, align 8 - call void @lj_trace_err(ptr noundef %246, i32 noundef 28) #16 + call void @lj_trace_err(ptr noundef %246, i32 noundef 28) #15 unreachable do.body.i: ; preds = %if.end5.i, %do.body.preheader.i @@ -2620,7 +2620,7 @@ if.end16.i.i.i: ; preds = %if.else10.i.i.i, %i if.then20.i.i.i: ; preds = %if.end16.i.i.i %290 = load ptr, ptr %J21, align 8 - call void @lj_trace_err(ptr noundef %290, i32 noundef 30) #16 + call void @lj_trace_err(ptr noundef %290, i32 noundef 30) #15 unreachable if.end21.i.i.i: ; preds = %if.end16.i.i.i @@ -2652,7 +2652,7 @@ if.end83: ; preds = %for.inc.i254, %asm_ br i1 %cmp.i183, label %if.then.i187, label %checkmclim.exit188 if.then.i187: ; preds = %if.end83 - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable checkmclim.exit188: ; preds = %if.end83 @@ -2833,7 +2833,7 @@ if.else.i.i4336: ; preds = %if.then7.i.i4329 br i1 %cmp.i151.i.i, label %if.then.i155.i.i, label %if.end25.i.i4196 if.then.i155.i.i: ; preds = %if.else.i.i4336 - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable if.end25.i.i4196: ; preds = %if.else.i.i4336, %if.then.i.i4194 @@ -2955,7 +2955,7 @@ if.then.i80.i.i4314: ; preds = %emit_movrr.exit.i.i store i16 %conv.i.i.i.i4316, ptr %fold.i.i.i.i.i, align 8 %op2.i.i.i.i.i = getelementptr inbounds i8, ptr %331, i64 186 store i16 %conv1.i.i.i.i4317, ptr %op2.i.i.i.i.i, align 2 - %call.i.i.i.i4318 = call i32 @lj_ir_emit(ptr noundef %331) #15 + %call.i.i.i.i4318 = call i32 @lj_ir_emit(ptr noundef %331) #14 %conv4.i.i.i.i = and i32 %call.i.i.i.i4318, 65535 %332 = load ptr, ptr %J21, align 8 %ir.i.i.i.i = getelementptr inbounds i8, ptr %332, i64 32 @@ -2980,7 +2980,7 @@ ra_rename.exit.i.i: ; preds = %if.then.i80.i.i4314 br i1 %cmp.i142.i.i4313, label %if.then.i146.i.i, label %if.end30.i.i if.then.i146.i.i: ; preds = %ra_rename.exit.i.i - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable if.end30.i.i: ; preds = %ra_rename.exit.i.i, %if.end25.i.i4196, %if.end25.thread.i.i, %while.body.if.end30_crit_edge.i.i @@ -3086,7 +3086,7 @@ asm_phi_break.exit108.i.i: ; preds = %ra_pick.exit.i99.i. br i1 %cmp.i133.i.i, label %if.then.i137.i.i, label %if.end40.i.i if.then.i137.i.i: ; preds = %asm_phi_break.exit108.i.i - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable if.end40.i.i: ; preds = %asm_phi_break.exit108.i.i, %if.end35.i.i4200 @@ -3125,7 +3125,7 @@ while.body49.i.i: ; preds = %while.cond47.i.i br i1 %cmp.i124.i.i4207, label %if.then.i128.i.i, label %while.cond47.i.i, !llvm.loop !22 if.then.i128.i.i: ; preds = %while.body49.i.i - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable while.end60.i.i: ; preds = %while.cond47.i.i @@ -3158,7 +3158,7 @@ while.body69.i.i: ; preds = %while.cond67.i.i br i1 %cmp.i115.i.i, label %if.then.i119.i.i, label %while.cond67.i.i, !llvm.loop !23 if.then.i119.i.i: ; preds = %while.body69.i.i - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable while.end80.i.i: ; preds = %while.cond67.i.i @@ -3418,7 +3418,7 @@ ra_save.exit6436: ; preds = %if.end15.i.i6375, % br i1 %cmp.i.i.i4215, label %if.then.i.i.i4293, label %if.end107.i.i if.then.i.i.i4293: ; preds = %ra_save.exit6436 - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable if.end107.i.i: ; preds = %ra_save.exit6436, %while.body84.i.i @@ -3828,7 +3828,7 @@ emit_rmro.exit375.i.i: ; preds = %if.then46.i.i358.i. br i1 %cmp.i189.i.i, label %if.then.i193.i.i, label %for.inc81.i.i if.then.i193.i.i: ; preds = %emit_rmro.exit375.i.i, %emit_rmro.exit.i136.us.i.i - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable for.inc81.i.i: ; preds = %emit_rmro.exit375.i.i, %land.lhs.true60.i.i, %if.then51.i.i4260, %for.body46.i.i @@ -4128,7 +4128,7 @@ emit_rmro.exit507.i.i: ; preds = %if.then46.i.i490.i. br i1 %cmp.i.i30.i, label %if.then.i.i31.i, label %for.inc169.i.i if.then.i.i31.i: ; preds = %emit_rmro.exit507.i.i - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable for.inc169.i.i: ; preds = %emit_rmro.exit507.i.i, %land.lhs.true146.i.i, %if.then136.i.i, %for.body131.i.i @@ -4371,7 +4371,7 @@ lor.lhs.false.i4087: ; preds = %if.end.i4083 if.then24.i: ; preds = %lor.lhs.false.i4087, %if.end.i4083 %553 = load ptr, ptr %J21, align 8 - call void @lj_trace_err(ptr noundef %553, i32 noundef 33) #16 + call void @lj_trace_err(ptr noundef %553, i32 noundef 33) #15 unreachable if.end25.i4088: ; preds = %lor.lhs.false.i4087 @@ -4529,7 +4529,7 @@ lor.lhs.false65.i: ; preds = %if.else60.i if.then70.i: ; preds = %lor.lhs.false65.i, %if.else60.i %575 = load ptr, ptr %J21, align 8 - call void @lj_trace_err(ptr noundef %575, i32 noundef 33) #16 + call void @lj_trace_err(ptr noundef %575, i32 noundef 33) #15 unreachable if.end72.i: ; preds = %lor.lhs.false65.i @@ -4577,7 +4577,7 @@ if.end16.i.i: ; preds = %if.else10.i.i, %if. if.then20.i.i4159: ; preds = %if.end16.i.i %581 = load ptr, ptr %J21, align 8 - call void @lj_trace_err(ptr noundef %581, i32 noundef 30) #16 + call void @lj_trace_err(ptr noundef %581, i32 noundef 30) #15 unreachable if.end21.i.i: ; preds = %if.end16.i.i @@ -10687,7 +10687,7 @@ if.then86.i.i: ; preds = %asm_guardcc.exit166 br i1 %cmp.i.i172.i, label %if.then.i.i174.i, label %checkmclim.exit.i.i if.then.i.i174.i: ; preds = %if.then86.i.i - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable checkmclim.exit.i.i: ; preds = %if.then86.i.i @@ -12591,7 +12591,7 @@ if.then12.i.i293: ; preds = %if.else.i299.i %1792 = load ptr, ptr %ir37, align 8 %idxprom.i306.i = zext nneg i16 %1785 to i64 %arrayidx.i307.i = getelementptr inbounds %union.IRIns, ptr %1792, i64 %idxprom.i306.i - call void @lj_ir_kvalue(ptr noundef %1791, ptr noundef nonnull %k.i.i263, ptr noundef %arrayidx.i307.i) #15 + call void @lj_ir_kvalue(ptr noundef %1791, ptr noundef nonnull %k.i.i263, ptr noundef %arrayidx.i307.i) #14 %1793 = load i16, ptr %arrayidx63, align 8 %conv16.i.i = zext i16 %1793 to i32 call fastcc void @asm_fuseahuref(ptr noundef nonnull %as_, i32 noundef %conv16.i.i, i32 noundef 49135) @@ -13630,7 +13630,7 @@ sw.bb65.i: ; preds = %checkmclim.exit188, %idxprom.i332.i = zext i16 %1968 to i64 %arrayidx.i333.i = getelementptr inbounds %union.IRIns, ptr %1967, i64 %idxprom.i332.i %1969 = load i32, ptr %arrayidx.i333.i, align 8 - %call.i.i = call i32 @lj_ctype_info(ptr noundef %1966, i32 noundef %1969, ptr noundef nonnull %sz.i.i) #15 + %call.i.i = call i32 @lj_ctype_info(ptr noundef %1966, i32 noundef %1969, ptr noundef nonnull %sz.i.i) #14 %1970 = load i32, ptr %gcsteps, align 8 %inc.i335.i = add nsw i32 %1970, 1 store i32 %inc.i335.i, ptr %gcsteps, align 8 @@ -17734,7 +17734,7 @@ sw.default.i370: ; preds = %checkmclim.exit188 %errinfo.i = getelementptr inbounds i8, ptr %2544, i64 3088 %conv.i.i372 = uitofp i8 %296 to double store double %conv.i.i372, ptr %errinfo.i, align 8 - call void @lj_trace_err_info(ptr noundef %2544, i32 noundef 32) #16 + call void @lj_trace_err_info(ptr noundef %2544, i32 noundef 32) #15 unreachable for.inc: ; preds = %asm_callx.exit, %asm_call.exit.i, %asm_strto.exit, %asm_tostr.exit, %asm_obar.exit, %asm_tbar.exit, %sw.bb68.i, %asm_bufput.exit, %asm_bufhdr.exit, %asm_cnew.exit.i, %sw.bb64.i, %asm_tnew.exit, %sw.bb62.i, %sw.bb61.i, %sw.bb60.i, %asm_ahustore.exit.i, %sw.bb58.i, %sw.bb56.i, %sw.bb55.i, %emit_mrm.exit2118, %emit_mrm.exit2201, %emit_mrm.exit2285, %emit_mrm.exit2368, %if.else.i207.i, %if.then32.i206.i, %asm_lref.exit, %asm_tmpref.exit, %asm_fref.exit, %emit_rmro.exit173.i.i, %if.then32.i.i, %if.then.i139.i, %asm_newref.exit, %sw.bb46.i, %sw.bb44.i, %sw.bb43.i, %sw.bb42.i, %asm_tobit.exit, %asm_ldexp.exit, %sw.bb36.i, %sw.bb28.i, %sw.bb27.i, %sw.bb26.i, %sw.bb25.i, %sw.bb24.i, %sw.bb23.i, %sw.bb22.i, %sw.bb21.i, %asm_bswap.exit, %sw.bb19.i, %asm_retf.exit, %if.else.i.i361, %if.then.i.i364, %sw.bb16.i, %asm_prof.exit, %asm_gcstep.exit, %ra_alloc1.exit, %checkmclim.exit188, %checkmclim.exit188, %checkmclim.exit188, %asm_loop_fixup.exit.i, %if.then10.i, %sw.bb12.i, %if.end39.i, %if.then55.i, %ra_spill.exit.i, %lor.end13.i, %if.end23.i, %sw.bb.i4068, %if.then27.i, %if.then.i3744, %asm_lea.exit.i, %if.then11.i3664, %if.then.i3653, %if.else.i3651, %if.then.i3648, %if.else.i3646, %if.then.i3630, %if.else.i3639, %if.then.i3625, %if.else.i3623, %if.then.i3611, %if.else.i3620, %if.then.i3598, %if.else.i3607, %ra_dest.exit.i3494, %if.end.i3449, %emit_call_.exit.i, %if.else45.i, %if.then.i3280, %if.else.i3278, %if.then.i3275, %if.else.i3273, %if.then.i3195, %if.else.i3200, %if.then9.i3203, %cond.end56.i, %emit_rmro.exit203.i, %emit_rr.exit.i.i2610, %if.end.i23.i, %if.end.i33.i, %if.else15.i, %emit_rmro.exit206.i, %emit_rmro.exit295.i, %if.else96.i, %if.end105.i, %emit_rmro.exit414.i, %emit_rmro.exit464.i, %emit_rmro.exit514.i, %emit_rmro.exit616.i, %if.then25.i908, %emit_rr.exit.i875, %ra_alloc1.exit170.i, %cond.end101.i, %if.end126.i, %if.end173.i, %if.then192.i, %if.else193.i, %if.then207.i, %if.else210.i, %land.lhs.true73 @@ -17765,7 +17765,7 @@ if.end95: ; preds = %land.lhs.true88, %f br i1 %cmp.i175, label %if.then.i179, label %checkmclim.exit if.then.i179: ; preds = %if.end95 - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable checkmclim.exit: ; preds = %if.end95 @@ -17815,7 +17815,7 @@ if.then.i385: ; preds = %while.body.i br i1 %cmp.i35.i, label %if.then.i39.i, label %if.end.i if.then.i39.i: ; preds = %if.then.i385 - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable if.end.i: ; preds = %if.then.i385, %while.body.i @@ -17857,7 +17857,7 @@ if.then25.i: ; preds = %while.body12.i br i1 %cmp.i.i383, label %if.then.i.i384, label %if.end27.i if.then.i.i384: ; preds = %if.then25.i - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable if.end27.i: ; preds = %if.then25.i, %while.body12.i @@ -18159,7 +18159,7 @@ if.then31.if.end43_crit_edge.i: ; preds = %ra_save.exit4667 br label %if.end43.i if.then.i349.i: ; preds = %ra_save.exit4667 - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable if.else.i463: ; preds = %for.body.i459 @@ -18321,7 +18321,7 @@ if.end148.i: ; preds = %if.else139.i, %if.t if.then164.i: ; preds = %if.end148.i %2628 = load ptr, ptr %J21, align 8 - call void @lj_trace_err(ptr noundef %2628, i32 noundef 34) #16 + call void @lj_trace_err(ptr noundef %2628, i32 noundef 34) #15 unreachable if.end165.i: ; preds = %if.end148.i @@ -18466,7 +18466,7 @@ if.end185.i: ; preds = %if.else179.i, %if.t br i1 %cmp.i336.i, label %if.then.i340.i, label %for.inc187.i if.then.i340.i: ; preds = %if.end185.i - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable for.inc187.i: ; preds = %if.end185.i, %if.else139.i, %for.body109.i @@ -18684,7 +18684,7 @@ emit_loadofs.exit.i: ; preds = %if.then46.i.i.i, %i br i1 %cmp.i327.i, label %if.then.i331.i, label %if.end230.i if.then.i331.i: ; preds = %emit_loadofs.exit.i - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable if.end230.i: ; preds = %emit_loadofs.exit.i, %while.body.i422 @@ -18821,7 +18821,7 @@ emit_movrr.exit.i: ; preds = %if.then46.i.i18.i.i br i1 %cmp.i318.i, label %if.then.i322.i, label %while.cond234.i.outer, !llvm.loop !36 if.then.i322.i: ; preds = %emit_movrr.exit.i - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable while.end259.i: ; preds = %while.cond234.i @@ -18837,7 +18837,7 @@ if.then266.i: ; preds = %if.end263.i if.then274.i: ; preds = %if.then266.i %2681 = load ptr, ptr %J21, align 8 - call void @lj_trace_err(ptr noundef %2681, i32 noundef 34) #16 + call void @lj_trace_err(ptr noundef %2681, i32 noundef 34) #15 unreachable if.end276.i: ; preds = %if.then266.i @@ -18923,7 +18923,7 @@ if.then.i4471: ; preds = %emit_rr.exit.i.i451 store i16 %conv.i.i4476, ptr %fold.i.i.i4478, align 8 %op2.i.i.i4480 = getelementptr inbounds i8, ptr %2697, i64 186 store i16 %conv1.i.i4477, ptr %op2.i.i.i4480, align 2 - %call.i.i4481 = call i32 @lj_ir_emit(ptr noundef %2697) #15 + %call.i.i4481 = call i32 @lj_ir_emit(ptr noundef %2697) #14 %conv4.i.i4482 = and i32 %call.i.i4481, 65535 %2698 = load ptr, ptr %J21, align 8 %ir.i.i4484 = getelementptr inbounds i8, ptr %2698, i64 32 @@ -18952,7 +18952,7 @@ if.then281.i: ; preds = %if.end278.i if.then290.i: ; preds = %if.then281.i %2704 = load ptr, ptr %J21, align 8 - call void @lj_trace_err(ptr noundef %2704, i32 noundef 34) #16 + call void @lj_trace_err(ptr noundef %2704, i32 noundef 34) #15 unreachable if.end292.i: ; preds = %if.then281.i @@ -19026,7 +19026,7 @@ if.then.i4376: ; preds = %emit_rr.exit25.i.i4 store i16 %conv.i.i4381, ptr %fold.i.i.i4383, align 8 %op2.i.i.i4385 = getelementptr inbounds i8, ptr %2718, i64 186 store i16 %conv1.i.i4382, ptr %op2.i.i.i4385, align 2 - %call.i.i4386 = call i32 @lj_ir_emit(ptr noundef %2718) #15 + %call.i.i4386 = call i32 @lj_ir_emit(ptr noundef %2718) #14 %conv4.i.i4387 = and i32 %call.i.i4386, 65535 %2719 = load ptr, ptr %J21, align 8 %ir.i.i4389 = getelementptr inbounds i8, ptr %2719, i64 32 @@ -19050,7 +19050,7 @@ if.end294.i: ; preds = %if.then.i4376, %emi br i1 %cmp.i.i425, label %if.then.i.i426, label %while.cond234.i if.then.i.i426: ; preds = %if.end294.i - call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #17 + call fastcc void @asm_mclimit(ptr noundef nonnull %as_) #16 unreachable for.end295.i: ; preds = %while.end259.i @@ -19243,7 +19243,7 @@ if.then14.i: ; preds = %if.then.i573 store i16 %2756, ptr %fold.i.i.i, align 8 %op2.i.i.i575 = getelementptr inbounds i8, ptr %2762, i64 186 store i16 %conv1.i.i, ptr %op2.i.i.i575, align 2 - %call.i.i576 = call i32 @lj_ir_emit(ptr noundef %2762) #15 + %call.i.i576 = call i32 @lj_ir_emit(ptr noundef %2762) #14 %conv4.i.i = and i32 %call.i.i576, 65535 %conv5.i.i577 = trunc nuw nsw i32 %xor1.i to i8 %2763 = load ptr, ptr %J21, align 8 @@ -19312,7 +19312,7 @@ do.body.preheader.i596: ; preds = %if.then.i589 if.then2.i612: ; preds = %if.then.i589 %2778 = load ptr, ptr %J21, align 8 - call void @lj_trace_err(ptr noundef %2778, i32 noundef 28) #16 + call void @lj_trace_err(ptr noundef %2778, i32 noundef 28) #15 unreachable do.body.i600: ; preds = %if.end5.i602, %do.body.preheader.i596 @@ -19349,10 +19349,10 @@ asm_snap_prev.exit614: ; preds = %do.body.i600, %if.t br i1 %cmp142.not, label %if.end146, label %if.then144 if.end133: ; preds = %asm_phi_fixup.exit - call void @lj_trace_free(ptr noundef nonnull %g, ptr noundef nonnull %2767) #15 + call void @lj_trace_free(ptr noundef nonnull %g, ptr noundef nonnull %2767) #14 store ptr null, ptr %curfinal, align 8 %2787 = load ptr, ptr %L, align 8 - %call138 = call ptr @lj_trace_alloc(ptr noundef %2787, ptr noundef nonnull %T) #15 + %call138 = call ptr @lj_trace_alloc(ptr noundef %2787, ptr noundef nonnull %T) #14 store ptr %call138, ptr %curfinal, align 8 store ptr null, ptr %realign, align 8 br label %for.cond.backedge @@ -19364,7 +19364,7 @@ for.cond.backedge: ; preds = %if.end133, %land.lh if.then144: ; preds = %asm_snap_prev.exit614 %2788 = load ptr, ptr %J21, align 8 - call void @lj_trace_err(ptr noundef %2788, i32 noundef 31) #16 + call void @lj_trace_err(ptr noundef %2788, i32 noundef 31) #15 unreachable if.end146: ; preds = %asm_snap_prev.exit614 @@ -19528,7 +19528,7 @@ asm_snap_fixup_mcofs.exit: ; preds = %for.body.i648, %if. store i16 0, ptr %mcofs13.i, align 2 %2815 = load ptr, ptr %mcode, align 8 %2816 = load ptr, ptr %mctoporig, align 8 - call void @lj_mcode_sync(ptr noundef %2815, ptr noundef %2816) #15 + call void @lj_mcode_sync(ptr noundef %2815, ptr noundef %2816) #14 ret void } @@ -19703,7 +19703,7 @@ if.end16.i.i: ; preds = %if.else10.i.i, %if. if.then20.i.i: ; preds = %if.end16.i.i %J.i.i = getelementptr inbounds i8, ptr %as, i64 152 %28 = load ptr, ptr %J.i.i, align 8 - tail call void @lj_trace_err(ptr noundef %28, i32 noundef 30) #16 + tail call void @lj_trace_err(ptr noundef %28, i32 noundef 30) #15 unreachable if.end21.i.i: ; preds = %if.end16.i.i @@ -19966,7 +19966,7 @@ emit_loadi.exit: ; preds = %emit_loadi.exit.sin br i1 %cmp.i, label %if.then.i, label %checkmclim.exit if.then.i: ; preds = %emit_loadi.exit - tail call fastcc void @asm_mclimit(ptr noundef nonnull %as) #17 + tail call fastcc void @asm_mclimit(ptr noundef nonnull %as) #16 unreachable checkmclim.exit: ; preds = %emit_loadi.exit @@ -19996,7 +19996,7 @@ entry: %sub.ptr.rhs.cast = ptrtoint ptr %2 to i64 %sub.ptr.sub = add i64 %sub.ptr.lhs.cast, 256 %add = sub i64 %sub.ptr.sub, %sub.ptr.rhs.cast - tail call void @lj_mcode_limiterr(ptr noundef %0, i64 noundef %add) #16 + tail call void @lj_mcode_limiterr(ptr noundef %0, i64 noundef %add) #15 unreachable } @@ -21960,7 +21960,7 @@ if.end16.i: ; preds = %if.else10.i, %if.th if.then20.i: ; preds = %if.end16.i %J.i = getelementptr inbounds i8, ptr %as, i64 152 %8 = load ptr, ptr %J.i, align 8 - tail call void @lj_trace_err(ptr noundef %8, i32 noundef 30) #16 + tail call void @lj_trace_err(ptr noundef %8, i32 noundef 30) #15 unreachable if.end21.i: ; preds = %if.end16.i @@ -22173,7 +22173,7 @@ if.end16: ; preds = %if.then7, %if.else1 if.then20: ; preds = %if.end16 %J = getelementptr inbounds i8, ptr %as, i64 152 %7 = load ptr, ptr %J, align 8 - tail call void @lj_trace_err(ptr noundef %7, i32 noundef 30) #16 + tail call void @lj_trace_err(ptr noundef %7, i32 noundef 30) #15 unreachable if.end21: ; preds = %if.end16 @@ -22474,7 +22474,7 @@ if.end117: ; preds = %if.then114, %if.the br i1 %cmp.i, label %if.then.i, label %if.end122 if.then.i: ; preds = %if.end117 - tail call fastcc void @asm_mclimit(ptr noundef nonnull %as) #17 + tail call fastcc void @asm_mclimit(ptr noundef nonnull %as) #16 unreachable if.else118: ; preds = %for.cond.i, %lor.lhs.false100 @@ -25911,7 +25911,7 @@ if.end40: ; preds = %if.end35.i244, %if. br i1 %cmp.i169, label %if.then.i173, label %checkmclim.exit174 if.then.i173: ; preds = %if.end40 - tail call fastcc void @asm_mclimit(ptr noundef nonnull %as) #17 + tail call fastcc void @asm_mclimit(ptr noundef nonnull %as) #16 unreachable checkmclim.exit174: ; preds = %if.end40 @@ -27129,7 +27129,7 @@ emit_rr.exit1093: ; preds = %emit_rr.exit1067, % br i1 %cmp.i, label %if.then.i, label %checkmclim.exit if.then.i: ; preds = %emit_rr.exit1093 - tail call fastcc void @asm_mclimit(ptr noundef nonnull %as) #17 + tail call fastcc void @asm_mclimit(ptr noundef nonnull %as) #16 unreachable checkmclim.exit: ; preds = %emit_rr.exit1093 @@ -28030,7 +28030,7 @@ if.then: ; preds = %emit_movrr.exit %op2.i.i = getelementptr inbounds i8, ptr %17, i64 186 store i16 %conv1.i, ptr %op2.i.i, align 2 %18 = load ptr, ptr %J.i, align 8 - %call.i = tail call i32 @lj_ir_emit(ptr noundef %18) #15 + %call.i = tail call i32 @lj_ir_emit(ptr noundef %18) #14 %conv4.i = and i32 %call.i, 65535 %conv5.i = trunc nuw i32 %down to i8 %19 = load ptr, ptr %J.i, align 8 @@ -28376,7 +28376,7 @@ if.end16.i: ; preds = %if.else10.i, %if.th if.then20.i: ; preds = %if.end16.i %J.i = getelementptr inbounds i8, ptr %as, i64 152 %11 = load ptr, ptr %J.i, align 8 - tail call void @lj_trace_err(ptr noundef %11, i32 noundef 30) #16 + tail call void @lj_trace_err(ptr noundef %11, i32 noundef 30) #15 unreachable if.end21.i: ; preds = %if.end16.i @@ -29425,7 +29425,7 @@ return: ; preds = %if.end, %ra_alloc1. } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable -define internal fastcc range(i32 0, 2) i32 @noconflict(ptr nocapture readonly %as.144.val, i32 %as.200.val, i32 noundef %ref, i32 noundef %conflict, i32 noundef %check) unnamed_addr #12 { +define internal fastcc range(i32 0, 2) i32 @noconflict(ptr nocapture readonly %as.144.val, i32 %as.200.val, i32 noundef %ref, i32 noundef %conflict, i32 noundef %check) unnamed_addr #2 { entry: %add = add nuw nsw i32 %ref, 31 %cmp = icmp ult i32 %add, %as.200.val @@ -31661,7 +31661,7 @@ if.end96: ; preds = %emit_rr.exit25.i, % br i1 %cmp.i, label %if.then.i, label %for.cond if.then.i: ; preds = %if.end96 - tail call fastcc void @asm_mclimit(ptr noundef nonnull %as) #17 + tail call fastcc void @asm_mclimit(ptr noundef nonnull %as) #16 unreachable for.end.loopexit: ; preds = %for.cond @@ -31719,7 +31719,7 @@ while.body: ; preds = %while.cond br i1 %cmp.i25, label %if.then.i29, label %while.cond, !llvm.loop !46 if.then.i29: ; preds = %while.body - tail call fastcc void @asm_mclimit(ptr noundef nonnull %as) #17 + tail call fastcc void @asm_mclimit(ptr noundef nonnull %as) #16 unreachable while.end: ; preds = %while.cond @@ -31749,7 +31749,7 @@ while.body10: ; preds = %while.cond8 br i1 %cmp.i, label %if.then.i, label %while.cond8, !llvm.loop !47 if.then.i: ; preds = %while.body10 - tail call fastcc void @asm_mclimit(ptr noundef nonnull %as) #17 + tail call fastcc void @asm_mclimit(ptr noundef nonnull %as) #16 unreachable while.end21: ; preds = %while.cond8 @@ -32445,7 +32445,7 @@ if.then13: ; preds = %if.else %8 = load ptr, ptr %J, align 8 %L = getelementptr inbounds i8, ptr %8, i64 128 %9 = load ptr, ptr %L, align 8 - call void @lj_ir_kvalue(ptr noundef %9, ptr noundef nonnull %k, ptr noundef nonnull %arrayidx) #15 + call void @lj_ir_kvalue(ptr noundef %9, ptr noundef nonnull %k, ptr noundef nonnull %arrayidx) #14 %hi = getelementptr inbounds i8, ptr %k, i64 4 %10 = load i32, ptr %hi, align 4 %mcp.i39 = getelementptr inbounds i8, ptr %as, i64 128 @@ -33255,7 +33255,7 @@ emit_rr.exit129: ; preds = %emit_rr.exit108, %i br i1 %cmp.i, label %if.then.i, label %checkmclim.exit if.then.i: ; preds = %emit_rr.exit129 - tail call fastcc void @asm_mclimit(ptr noundef nonnull %as) #17 + tail call fastcc void @asm_mclimit(ptr noundef nonnull %as) #16 unreachable checkmclim.exit: ; preds = %emit_rr.exit129 @@ -33293,35 +33293,35 @@ emit_rr.exit153: ; preds = %checkmclim.exit, %i declare hidden i32 @lj_ctype_info(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #13 +declare i32 @llvm.fshl.i32(i32, i32, i32) #12 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.ctpop.i32(i32) #13 +declare i32 @llvm.ctpop.i32(i32) #12 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #14 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #13 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #14 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #13 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #13 +declare i32 @llvm.umin.i32(i32, i32) #12 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #13 +declare i32 @llvm.smax.i32(i32, i32) #12 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #13 +declare i64 @llvm.umin.i64(i64, i64) #12 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.vector.reduce.umin.v8i32(<8 x i32>) #13 +declare i32 @llvm.vector.reduce.umin.v8i32(<8 x i32>) #12 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.vector.reduce.umin.v16i32(<16 x i32>) #13 +declare i32 @llvm.vector.reduce.umin.v16i32(<16 x i32>) #12 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #2 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #2 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #5 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } @@ -33331,12 +33331,11 @@ attributes #8 = { nofree norecurse nosync nounwind memory(readwrite, inaccessibl attributes #9 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #10 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #11 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #12 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #13 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #14 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #15 = { nounwind } -attributes #16 = { noreturn nounwind } -attributes #17 = { noreturn } +attributes #12 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #13 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #14 = { nounwind } +attributes #15 = { noreturn nounwind } +attributes #16 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/luajit/optimized/lj_str.ll b/bench/luajit/optimized/lj_str.ll index faef85d9c7c..7ef791d5266 100644 --- a/bench/luajit/optimized/lj_str.ll +++ b/bench/luajit/optimized/lj_str.ll @@ -97,7 +97,7 @@ while.body: ; preds = %while.body.lr.ph, % %slen.addr.019 = phi i32 [ %sub, %while.body.lr.ph ], [ %sub14, %if.end11 ] %s.addr.018 = phi ptr [ %s, %while.body.lr.ph ], [ %add.ptr, %if.end11 ] %conv3 = zext i32 %slen.addr.019 to i64 - %call = tail call ptr @memchr(ptr noundef %s.addr.018, i32 noundef %conv, i64 noundef %conv3) #11 + %call = tail call ptr @memchr(ptr noundef %s.addr.018, i32 noundef %conv, i64 noundef %conv3) #12 %tobool4.not = icmp eq ptr %call, null br i1 %tobool4.not, label %return, label %if.end @@ -124,8 +124,8 @@ return: ; preds = %if.end, %while.body ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare ptr @memchr(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 -; Function Attrs: nofree nounwind memory(read, inaccessiblemem: none) uwtable -define hidden range(i32 0, 2) i32 @lj_str_haspattern(ptr noundef readonly %s) local_unnamed_addr #1 { +; Function Attrs: nofree nounwind memory(argmem: read) uwtable +define hidden range(i32 0, 2) i32 @lj_str_haspattern(ptr noundef readonly %s) local_unnamed_addr #3 { entry: %len = getelementptr inbounds i8, ptr %s, i64 20 %0 = load i32, ptr %len, align 4 @@ -166,7 +166,7 @@ return: ; preds = %land.lhs.true, %if. } ; Function Attrs: nounwind uwtable -define hidden void @lj_str_resize(ptr noundef %L, i32 noundef %newmask) local_unnamed_addr #3 { +define hidden void @lj_str_resize(ptr noundef %L, i32 noundef %newmask) local_unnamed_addr #4 { entry: %glref = getelementptr inbounds i8, ptr %L, i64 16 %0 = load i64, ptr %glref, align 8 @@ -185,7 +185,7 @@ if.end: ; preds = %entry %add = shl nuw nsw i32 %newmask, 3 %4 = add nuw nsw i32 %add, 8 %mul = zext nneg i32 %4 to i64 - %call = tail call ptr @lj_mem_realloc(ptr noundef nonnull %L, ptr noundef null, i64 noundef 0, i64 noundef %mul) #12 + %call = tail call ptr @lj_mem_realloc(ptr noundef nonnull %L, ptr noundef null, i64 noundef 0, i64 noundef %mul) #13 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(1) %call, i8 0, i64 %mul, i1 false) %second = getelementptr inbounds i8, ptr %1, i64 173 %5 = load i8, ptr %second, align 1 @@ -561,7 +561,7 @@ for.end133: ; preds = %for.end133.loopexit %54 = load ptr, ptr %1, align 8 %allocd.i = getelementptr inbounds i8, ptr %1, i64 8 %55 = load ptr, ptr %allocd.i, align 8 - %call.i = tail call ptr %54(ptr noundef %55, ptr noundef %52, i64 noundef %add138, i64 noundef 0) #12 + %call.i = tail call ptr %54(ptr noundef %55, ptr noundef %52, i64 noundef %add138, i64 noundef 0) #13 store ptr %call, ptr %str, align 8 store i32 %newmask, ptr %mask49, align 8 br label %return @@ -570,13 +570,13 @@ return: ; preds = %entry, %for.end133 ret void } -declare hidden ptr @lj_mem_realloc(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #4 +declare hidden ptr @lj_mem_realloc(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #5 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6 ; Function Attrs: nounwind uwtable -define hidden ptr @lj_str_new(ptr noundef %L, ptr noundef readonly %str, i64 noundef %lenx) local_unnamed_addr #3 { +define hidden ptr @lj_str_new(ptr noundef %L, ptr noundef readonly %str, i64 noundef %lenx) local_unnamed_addr #4 { entry: %glref = getelementptr inbounds i8, ptr %L, i64 16 %sub = add i64 %lenx, -1 @@ -852,7 +852,7 @@ if.else.i57: ; preds = %if.then.i53 store i64 %sub.i.i, ptr %gc.i.i, align 8 %42 = load ptr, ptr %4, align 8 %43 = load ptr, ptr %allocd.i.i, align 8 - %call.i.i = tail call ptr %42(ptr noundef %43, ptr noundef nonnull %o.0.i143, i64 noundef %add1.i126, i64 noundef 0) #12 + %call.i.i = tail call ptr %42(ptr noundef %43, ptr noundef nonnull %o.0.i143, i64 noundef %add1.i126, i64 noundef 0) #13 br label %while.cond.i.backedge while.cond.i.backedge: ; preds = %if.else.i57, %if.end35.i @@ -948,7 +948,7 @@ if.end35.i: ; preds = %hash_dense.exit121, if.end62: ; preds = %if.end, %while.end %idx.ext.i68 = and i64 %lenx, 2147483644 %add1.i = add nuw nsw i64 %idx.ext.i68, 28 - %call.i61 = tail call ptr @lj_mem_realloc(ptr noundef %L, ptr noundef null, i64 noundef 0, i64 noundef %add1.i) #12 + %call.i61 = tail call ptr @lj_mem_realloc(ptr noundef %L, ptr noundef null, i64 noundef 0, i64 noundef %add1.i) #13 %53 = load i64, ptr %glref, align 8 %54 = inttoptr i64 %53 to ptr %currentwhite.i63 = getelementptr inbounds i8, ptr %54, i64 32 @@ -977,7 +977,7 @@ entry.if.end_crit_edge.i: ; preds = %if.end62 if.then.i75: ; preds = %if.end62 %prng.i = getelementptr inbounds i8, ptr %54, i64 392 - %call8.i = tail call i64 @lj_prng_u64(ptr noundef nonnull %prng.i) #12 + %call8.i = tail call i64 @lj_prng_u64(ptr noundef nonnull %prng.i) #13 %conv9.i = trunc i64 %call8.i to i32 %shr.i76 = lshr i64 %call8.i, 56 %conv11.i = trunc nuw i64 %shr.i76 to i8 @@ -1033,7 +1033,7 @@ if.else: ; preds = %entry br i1 %tobool64.not, label %if.end66, label %if.then65 if.then65: ; preds = %if.else - tail call void @lj_err_msg(ptr noundef nonnull %L, i32 noundef 56) #13 + tail call void @lj_err_msg(ptr noundef nonnull %L, i32 noundef 56) #14 unreachable if.end66: ; preds = %if.else @@ -1046,10 +1046,10 @@ return: ; preds = %if.then38.i, %if.en } ; Function Attrs: noreturn -declare hidden void @lj_err_msg(ptr noundef, i32 noundef) local_unnamed_addr #6 +declare hidden void @lj_err_msg(ptr noundef, i32 noundef) local_unnamed_addr #7 ; Function Attrs: nounwind uwtable -define hidden void @lj_str_free(ptr nocapture noundef %g, ptr noundef %s) local_unnamed_addr #3 { +define hidden void @lj_str_free(ptr nocapture noundef %g, ptr noundef %s) local_unnamed_addr #4 { entry: %num = getelementptr inbounds i8, ptr %g, i64 164 %0 = load i32, ptr %num, align 4 @@ -1068,55 +1068,56 @@ entry: %4 = load ptr, ptr %g, align 8 %allocd.i = getelementptr inbounds i8, ptr %g, i64 8 %5 = load ptr, ptr %allocd.i, align 8 - %call.i = tail call ptr %4(ptr noundef %5, ptr noundef %s, i64 noundef %add1, i64 noundef 0) #12 + %call.i = tail call ptr %4(ptr noundef %5, ptr noundef %s, i64 noundef %add1, i64 noundef 0) #13 ret void } ; Function Attrs: nounwind uwtable -define hidden void @lj_str_init(ptr noundef %L) local_unnamed_addr #3 { +define hidden void @lj_str_init(ptr noundef %L) local_unnamed_addr #4 { entry: %glref = getelementptr inbounds i8, ptr %L, i64 16 %0 = load i64, ptr %glref, align 8 %1 = inttoptr i64 %0 to ptr %prng = getelementptr inbounds i8, ptr %1, i64 392 - %call = tail call i64 @lj_prng_u64(ptr noundef nonnull %prng) #12 + %call = tail call i64 @lj_prng_u64(ptr noundef nonnull %prng) #13 %seed = getelementptr inbounds i8, ptr %1, i64 176 store i64 %call, ptr %seed, align 8 tail call void @lj_str_resize(ptr noundef %L, i32 noundef 255) ret void } -declare hidden i64 @lj_prng_u64(ptr noundef) local_unnamed_addr #4 +declare hidden i64 @lj_prng_u64(ptr noundef) local_unnamed_addr #5 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.bswap.i32(i32) #7 +declare i32 @llvm.bswap.i32(i32) #8 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #8 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #9 ; Function Attrs: nofree nounwind willreturn memory(argmem: read) -declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #9 +declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #10 +declare i32 @llvm.fshl.i32(i32, i32, i32) #11 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #10 +declare i32 @llvm.umin.i32(i32, i32) #11 attributes #0 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nofree nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #4 = { "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 nounwind willreturn memory(argmem: write) } -attributes #6 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #9 = { nofree nounwind willreturn memory(argmem: read) } -attributes #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #11 = { nounwind willreturn memory(read) } -attributes #12 = { nounwind } -attributes #13 = { noreturn nounwind } +attributes #3 = { nofree nounwind memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #4 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #7 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #10 = { nofree nounwind willreturn memory(argmem: read) } +attributes #11 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #12 = { nounwind willreturn memory(read) } +attributes #13 = { nounwind } +attributes #14 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/luau/optimized/UnwindBuilderWin.cpp.ll b/bench/luau/optimized/UnwindBuilderWin.cpp.ll index 36f907385a4..bd37b64254b 100644 --- a/bench/luau/optimized/UnwindBuilderWin.cpp.ll +++ b/bench/luau/optimized/UnwindBuilderWin.cpp.ll @@ -80,7 +80,7 @@ define dso_local void @_ZN4Luau7CodeGen16UnwindBuilderWin13startFunctionEv(ptr n br i1 %22, label %23, label %_ZNKSt6vectorIN4Luau7CodeGen17UnwindFunctionWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i 23: ; preds = %17 - tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #11 + tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #12 unreachable _ZNKSt6vectorIN4Luau7CodeGen17UnwindFunctionWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i: ; preds = %17 @@ -95,7 +95,7 @@ _ZNKSt6vectorIN4Luau7CodeGen17UnwindFunctionWinESaIS2_EE12_M_check_lenEmPKc.exit 29: ; preds = %_ZNKSt6vectorIN4Luau7CodeGen17UnwindFunctionWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i %30 = mul nuw nsw i64 %28, 12 - %31 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %30) #12 + %31 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %30) #13 br label %_ZNSt12_Vector_baseIN4Luau7CodeGen17UnwindFunctionWinESaIS2_EE11_M_allocateEm.exit.i.i _ZNSt12_Vector_baseIN4Luau7CodeGen17UnwindFunctionWinESaIS2_EE11_M_allocateEm.exit.i.i: ; preds = %29, %_ZNKSt6vectorIN4Luau7CodeGen17UnwindFunctionWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i @@ -120,7 +120,7 @@ _ZNSt6vectorIN4Luau7CodeGen17UnwindFunctionWinESaIS2_EE11_S_relocateEPS2_S5_S5_R br i1 %.not.i17.i.i, label %_ZNSt6vectorIN4Luau7CodeGen17UnwindFunctionWinESaIS2_EE17_M_realloc_insertIJRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i, label %38 38: ; preds = %_ZNSt6vectorIN4Luau7CodeGen17UnwindFunctionWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i - tail call void @_ZdlPvm(ptr noundef nonnull %18, i64 noundef %21) #13 + tail call void @_ZdlPvm(ptr noundef nonnull %18, i64 noundef %21) #14 br label %_ZNSt6vectorIN4Luau7CodeGen17UnwindFunctionWinESaIS2_EE17_M_realloc_insertIJRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i _ZNSt6vectorIN4Luau7CodeGen17UnwindFunctionWinESaIS2_EE17_M_realloc_insertIJRKS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i: ; preds = %38, %_ZNSt6vectorIN4Luau7CodeGen17UnwindFunctionWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i @@ -152,12 +152,12 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE5clearEv.exit: ; preds = %_ZN br i1 %50, label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit.i, label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE7reserveEm.exit _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit.i: ; preds = %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE5clearEv.exit - %51 = tail call noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #12 + %51 = tail call noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #13 %.not.i8.i = icmp eq ptr %41, null br i1 %.not.i8.i, label %_ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE13_M_deallocateEPS2_m.exit.i, label %52 52: ; preds = %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit.i - tail call void @_ZdlPvm(ptr noundef nonnull %41, i64 noundef %49) #13 + tail call void @_ZdlPvm(ptr noundef nonnull %41, i64 noundef %49) #14 br label %_ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE13_M_deallocateEPS2_m.exit.i _ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE13_M_deallocateEPS2_m.exit.i: ; preds = %52, %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit.i @@ -304,7 +304,7 @@ define dso_local void @_ZN4Luau7CodeGen16UnwindBuilderWin11prologueX64EjjbSt16in br i1 %22, label %23, label %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i 23: ; preds = %17 - tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #11 + tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #12 unreachable _ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i: ; preds = %17 @@ -319,7 +319,7 @@ _ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i 29: ; preds = %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i %30 = shl nuw nsw i64 %28, 1 - %31 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %30) #12 + %31 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %30) #13 br label %_ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_M_allocateEm.exit.i.i.i _ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_M_allocateEm.exit.i.i.i: ; preds = %29, %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i @@ -340,7 +340,7 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_. br i1 %.not.i17.i.i.i, label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i, label %38 38: ; preds = %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i.i - tail call void @_ZdlPvm(ptr noundef nonnull %18, i64 noundef %21) #13 + tail call void @_ZdlPvm(ptr noundef nonnull %18, i64 noundef %21) #14 br label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i: ; preds = %38, %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i.i @@ -376,7 +376,7 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE9push_backEOS2_.exit: ; preds br i1 %52, label %53, label %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i52 53: ; preds = %47 - tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #11 + tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #12 unreachable _ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i52: ; preds = %47 @@ -391,7 +391,7 @@ _ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i 59: ; preds = %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i52 %60 = shl nuw nsw i64 %58, 1 - %61 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %60) #12 + %61 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %60) #13 br label %_ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_M_allocateEm.exit.i.i.i55 _ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_M_allocateEm.exit.i.i.i55: ; preds = %59, %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i52 @@ -412,7 +412,7 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_. br i1 %.not.i17.i.i.i57, label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i58, label %68 68: ; preds = %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i.i56 - tail call void @_ZdlPvm(ptr noundef nonnull %48, i64 noundef %51) #13 + tail call void @_ZdlPvm(ptr noundef nonnull %48, i64 noundef %51) #14 br label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i58 _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i58: ; preds = %68, %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i.i56 @@ -472,7 +472,7 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE9push_backEOS2_.exit59: ; pre br i1 %92, label %93, label %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i61 93: ; preds = %87 - tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #11 + tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #12 unreachable _ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i61: ; preds = %87 @@ -487,7 +487,7 @@ _ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i 99: ; preds = %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i61 %100 = shl nuw nsw i64 %98, 1 - %101 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %100) #12 + %101 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %100) #13 br label %_ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_M_allocateEm.exit.i.i.i64 _ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_M_allocateEm.exit.i.i.i64: ; preds = %99, %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i61 @@ -512,7 +512,7 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_. br i1 %.not.i17.i.i.i66, label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i67, label %108 108: ; preds = %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i.i65 - tail call void @_ZdlPvm(ptr noundef nonnull %88, i64 noundef %91) #13 + tail call void @_ZdlPvm(ptr noundef nonnull %88, i64 noundef %91) #14 br label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i67 _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i67: ; preds = %108, %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i.i65 @@ -585,7 +585,7 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE9push_backEOS2_.exit68: ; pre br i1 %146, label %147, label %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i70 147: ; preds = %141 - tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #11 + tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #12 unreachable _ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i70: ; preds = %141 @@ -600,7 +600,7 @@ _ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i 153: ; preds = %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i70 %154 = shl nuw nsw i64 %152, 1 - %155 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %154) #12 + %155 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %154) #13 br label %_ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_M_allocateEm.exit.i.i.i73 _ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_M_allocateEm.exit.i.i.i73: ; preds = %153, %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i70 @@ -625,7 +625,7 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_. br i1 %.not.i17.i.i.i75, label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i76, label %162 162: ; preds = %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i.i74 - tail call void @_ZdlPvm(ptr noundef nonnull %142, i64 noundef %145) #13 + tail call void @_ZdlPvm(ptr noundef nonnull %142, i64 noundef %145) #14 br label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i76 _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i76: ; preds = %162, %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i.i74 @@ -662,7 +662,7 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN br i1 %180, label %181, label %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i79 181: ; preds = %175 - tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #11 + tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #12 unreachable _ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i79: ; preds = %175 @@ -677,7 +677,7 @@ _ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i 187: ; preds = %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i79 %188 = shl nuw nsw i64 %186, 1 - %189 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %188) #12 + %189 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %188) #13 br label %_ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_M_allocateEm.exit.i.i.i82 _ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_M_allocateEm.exit.i.i.i82: ; preds = %187, %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i79 @@ -698,7 +698,7 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_. br i1 %.not.i17.i.i.i84, label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i85, label %196 196: ; preds = %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i.i83 - tail call void @_ZdlPvm(ptr noundef nonnull %176, i64 noundef %179) #13 + tail call void @_ZdlPvm(ptr noundef nonnull %176, i64 noundef %179) #14 br label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i85 _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i85: ; preds = %196, %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i.i83 @@ -735,7 +735,7 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE9push_backEOS2_.exit86: ; pre br i1 %210, label %211, label %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i88 211: ; preds = %205 - tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #11 + tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #12 unreachable _ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i88: ; preds = %205 @@ -750,7 +750,7 @@ _ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i 217: ; preds = %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i88 %218 = shl nuw nsw i64 %216, 1 - %219 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %218) #12 + %219 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %218) #13 br label %_ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_M_allocateEm.exit.i.i.i91 _ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_M_allocateEm.exit.i.i.i91: ; preds = %217, %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i88 @@ -773,7 +773,7 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_. br i1 %.not.i17.i.i.i93, label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i94, label %226 226: ; preds = %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i.i92 - tail call void @_ZdlPvm(ptr noundef nonnull %206, i64 noundef %209) #13 + tail call void @_ZdlPvm(ptr noundef nonnull %206, i64 noundef %209) #14 br label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i94 _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i94: ; preds = %226, %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i.i92 @@ -831,7 +831,7 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE9push_backEOS2_.exit77: ; pre br i1 %251, label %252, label %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i97 252: ; preds = %246 - tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #11 + tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #12 unreachable _ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i97: ; preds = %246 @@ -846,7 +846,7 @@ _ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i 258: ; preds = %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i97 %259 = shl nuw nsw i64 %257, 1 - %260 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %259) #12 + %260 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %259) #13 br label %_ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_M_allocateEm.exit.i.i.i100 _ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_M_allocateEm.exit.i.i.i100: ; preds = %258, %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i97 @@ -868,7 +868,7 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_. br i1 %.not.i17.i.i.i102, label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i103, label %267 267: ; preds = %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i.i101 - tail call void @_ZdlPvm(ptr noundef nonnull %247, i64 noundef %250) #13 + tail call void @_ZdlPvm(ptr noundef nonnull %247, i64 noundef %250) #14 br label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i103 _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i103: ; preds = %267, %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i.i101 @@ -908,7 +908,7 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE9push_backEOS2_.exit104: ; pr br i1 %283, label %284, label %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i106 284: ; preds = %278 - tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #11 + tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str) #12 unreachable _ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i106: ; preds = %278 @@ -923,7 +923,7 @@ _ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i 290: ; preds = %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i106 %291 = shl nuw nsw i64 %289, 1 - %292 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %291) #12 + %292 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %291) #13 br label %_ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_M_allocateEm.exit.i.i.i109 _ZNSt12_Vector_baseIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_M_allocateEm.exit.i.i.i109: ; preds = %290, %_ZNKSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE12_M_check_lenEmPKc.exit.i.i.i106 @@ -948,7 +948,7 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_. br i1 %.not.i17.i.i.i111, label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i112, label %299 299: ; preds = %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i.i110 - tail call void @_ZdlPvm(ptr noundef nonnull %279, i64 noundef %282) #13 + tail call void @_ZdlPvm(ptr noundef nonnull %279, i64 noundef %282) #14 br label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i112 _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE17_M_realloc_insertIJS2_EEEvN9__gnu_cxx17__normal_iteratorIPS2_S4_EEDpOT_.exit.i.i112: ; preds = %299, %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EE11_S_relocateEPS2_S5_S5_RS3_.exit16.i.i.i110 @@ -991,8 +991,8 @@ define dso_local noundef i64 @_ZNK4Luau7CodeGen16UnwindBuilderWin17getUnwindInfo ret i64 %16 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local noundef i64 @_ZNK4Luau7CodeGen16UnwindBuilderWin8finalizeEPcmPvm(ptr noundef nonnull align 8 dereferenceable(1099) %0, ptr nocapture noundef writeonly %1, i64 noundef %2, ptr nocapture readnone %3, i64 noundef %4) unnamed_addr #5 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define dso_local noundef i64 @_ZNK4Luau7CodeGen16UnwindBuilderWin8finalizeEPcmPvm(ptr noundef nonnull align 8 dereferenceable(1099) %0, ptr nocapture noundef writeonly %1, i64 noundef %2, ptr nocapture readnone %3, i64 noundef %4) unnamed_addr #6 align 2 { %6 = getelementptr inbounds i8, ptr %0, i64 1048 %7 = load ptr, ptr %6, align 8 %8 = getelementptr inbounds i8, ptr %0, i64 1056 @@ -1055,7 +1055,7 @@ define dso_local noundef i64 @_ZNK4Luau7CodeGen16UnwindBuilderWin8finalizeEPcmPv } ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr dso_local void @_ZN4Luau7CodeGen16UnwindBuilderWinD2Ev(ptr noundef nonnull align 8 dereferenceable(1099) %0) unnamed_addr #6 comdat align 2 personality ptr @__gxx_personality_v0 { +define linkonce_odr dso_local void @_ZN4Luau7CodeGen16UnwindBuilderWinD2Ev(ptr noundef nonnull align 8 dereferenceable(1099) %0) unnamed_addr #7 comdat align 2 personality ptr @__gxx_personality_v0 { store ptr getelementptr inbounds inrange(-16, 96) (i8, ptr @_ZTVN4Luau7CodeGen16UnwindBuilderWinE, i64 16), ptr %0, align 8 %2 = getelementptr inbounds i8, ptr %0, i64 1072 %3 = load ptr, ptr %2, align 8 @@ -1068,7 +1068,7 @@ define linkonce_odr dso_local void @_ZN4Luau7CodeGen16UnwindBuilderWinD2Ev(ptr n %7 = ptrtoint ptr %6 to i64 %8 = ptrtoint ptr %3 to i64 %9 = sub i64 %7, %8 - tail call void @_ZdlPvm(ptr noundef nonnull %3, i64 noundef %9) #13 + tail call void @_ZdlPvm(ptr noundef nonnull %3, i64 noundef %9) #14 br label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EED2Ev.exit _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EED2Ev.exit: ; preds = %1, %4 @@ -1083,7 +1083,7 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EED2Ev.exit: ; preds = %1, %4 %15 = ptrtoint ptr %14 to i64 %16 = ptrtoint ptr %11 to i64 %17 = sub i64 %15, %16 - tail call void @_ZdlPvm(ptr noundef nonnull %11, i64 noundef %17) #13 + tail call void @_ZdlPvm(ptr noundef nonnull %11, i64 noundef %17) #14 br label %_ZNSt6vectorIN4Luau7CodeGen17UnwindFunctionWinESaIS2_EED2Ev.exit _ZNSt6vectorIN4Luau7CodeGen17UnwindFunctionWinESaIS2_EED2Ev.exit: ; preds = %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EED2Ev.exit, %12 @@ -1091,7 +1091,7 @@ _ZNSt6vectorIN4Luau7CodeGen17UnwindFunctionWinESaIS2_EED2Ev.exit: ; preds = %_ZN } ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr dso_local void @_ZN4Luau7CodeGen16UnwindBuilderWinD0Ev(ptr noundef nonnull align 8 dereferenceable(1099) %0) unnamed_addr #6 comdat align 2 personality ptr @__gxx_personality_v0 { +define linkonce_odr dso_local void @_ZN4Luau7CodeGen16UnwindBuilderWinD0Ev(ptr noundef nonnull align 8 dereferenceable(1099) %0) unnamed_addr #7 comdat align 2 personality ptr @__gxx_personality_v0 { store ptr getelementptr inbounds inrange(-16, 96) (i8, ptr @_ZTVN4Luau7CodeGen16UnwindBuilderWinE, i64 16), ptr %0, align 8 %2 = getelementptr inbounds i8, ptr %0, i64 1072 %3 = load ptr, ptr %2, align 8 @@ -1104,7 +1104,7 @@ define linkonce_odr dso_local void @_ZN4Luau7CodeGen16UnwindBuilderWinD0Ev(ptr n %7 = ptrtoint ptr %6 to i64 %8 = ptrtoint ptr %3 to i64 %9 = sub i64 %7, %8 - tail call void @_ZdlPvm(ptr noundef nonnull %3, i64 noundef %9) #13 + tail call void @_ZdlPvm(ptr noundef nonnull %3, i64 noundef %9) #14 br label %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EED2Ev.exit.i _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EED2Ev.exit.i: ; preds = %4, %1 @@ -1119,33 +1119,33 @@ _ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EED2Ev.exit.i: ; preds = %4, %1 %15 = ptrtoint ptr %14 to i64 %16 = ptrtoint ptr %11 to i64 %17 = sub i64 %15, %16 - tail call void @_ZdlPvm(ptr noundef nonnull %11, i64 noundef %17) #13 + tail call void @_ZdlPvm(ptr noundef nonnull %11, i64 noundef %17) #14 br label %_ZN4Luau7CodeGen16UnwindBuilderWinD2Ev.exit _ZN4Luau7CodeGen16UnwindBuilderWinD2Ev.exit: ; preds = %_ZNSt6vectorIN4Luau7CodeGen13UnwindCodeWinESaIS2_EED2Ev.exit.i, %12 - tail call void @_ZdlPvm(ptr noundef nonnull %0, i64 noundef 1104) #13 + tail call void @_ZdlPvm(ptr noundef nonnull %0, i64 noundef 1104) #14 ret void } declare i32 @__gxx_personality_v0(...) ; Function Attrs: nobuiltin nounwind -declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #7 +declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #8 ; Function Attrs: noreturn -declare void @_ZSt20__throw_length_errorPKc(ptr noundef) local_unnamed_addr #8 +declare void @_ZSt20__throw_length_errorPKc(ptr noundef) local_unnamed_addr #9 ; Function Attrs: nobuiltin allocsize(0) -declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #9 +declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #10 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #4 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #10 +declare i64 @llvm.umax.i64(i64, i64) #11 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #10 +declare i64 @llvm.umin.i64(i64, i64) #11 attributes #0 = { 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 #1 = { 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" } @@ -1153,14 +1153,15 @@ attributes #2 = { mustprogress nofree norecurse nosync nounwind willreturn memor attributes #3 = { mustprogress 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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #5 = { mustprogress 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 #6 = { mustprogress 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 #7 = { nobuiltin 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 #8 = { noreturn "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 #9 = { nobuiltin allocsize(0) "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 #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #11 = { noreturn } -attributes #12 = { builtin allocsize(0) } -attributes #13 = { builtin nounwind } +attributes #6 = { mustprogress 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 #7 = { mustprogress 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 #8 = { nobuiltin 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 #9 = { noreturn "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 #10 = { nobuiltin allocsize(0) "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 #11 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #12 = { noreturn } +attributes #13 = { builtin allocsize(0) } +attributes #14 = { builtin nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/meshoptimizer/optimized/indexcodec.cpp.ll b/bench/meshoptimizer/optimized/indexcodec.cpp.ll index 3f2f1874761..48df948397f 100644 --- a/bench/meshoptimizer/optimized/indexcodec.cpp.ll +++ b/bench/meshoptimizer/optimized/indexcodec.cpp.ll @@ -1142,8 +1142,8 @@ return: ; preds = %for.body, %for.end, ret i32 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local i64 @meshopt_encodeIndexSequence(ptr noundef %buffer, i64 noundef %buffer_size, ptr nocapture noundef readonly %indices, i64 noundef %index_count) local_unnamed_addr #0 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define dso_local i64 @meshopt_encodeIndexSequence(ptr noundef %buffer, i64 noundef %buffer_size, ptr nocapture noundef readonly %indices, i64 noundef %index_count) local_unnamed_addr #4 { entry: %last = alloca [2 x i32], align 8 %add1 = add i64 %index_count, 5 @@ -1250,8 +1250,8 @@ while.end: ; preds = %while.cond ret i64 %add5 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local range(i32 -3, 1) i32 @meshopt_decodeIndexSequence(ptr nocapture noundef writeonly %destination, i64 noundef %index_count, i64 noundef %index_size, ptr noundef readonly %buffer, i64 noundef %buffer_size) local_unnamed_addr #4 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local range(i32 -3, 1) i32 @meshopt_decodeIndexSequence(ptr nocapture noundef writeonly %destination, i64 noundef %index_count, i64 noundef %index_size, ptr noundef readonly %buffer, i64 noundef %buffer_size) local_unnamed_addr #5 { entry: %last = alloca [2 x i32], align 8 %add1 = add i64 %index_count, 5 @@ -1403,14 +1403,15 @@ return: ; preds = %for.body, %for.body } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.abs.i32(i32, i1 immarg) #5 +declare i32 @llvm.abs.i32(i32, i1 immarg) #6 attributes #0 = { mustprogress 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 #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { 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 #3 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, 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 #4 = { mustprogress 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #5 = { mustprogress 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/minetest/optimized/CColorConverter.cpp.ll b/bench/minetest/optimized/CColorConverter.cpp.ll index 8c48859f561..1e8bf59cfa0 100644 --- a/bench/minetest/optimized/CColorConverter.cpp.ll +++ b/bench/minetest/optimized/CColorConverter.cpp.ll @@ -3,7 +3,7 @@ source_filename = "bench/minetest/original/CColorConverter.cpp.ll" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter18convert1BitTo16BitEPKhPsiiib(ptr noundef readonly %in, ptr noundef writeonly %out, i32 noundef %width, i32 noundef %height, i32 noundef %linepad, i1 noundef zeroext %flip) local_unnamed_addr #0 align 2 { entry: %tobool = icmp ne ptr %in, null @@ -176,7 +176,7 @@ for.end31: ; preds = %for.cond10.for.cond ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter18convert4BitTo16BitEPKhPsiiPKiib(ptr noundef readonly %in, ptr noundef writeonly %out, i32 noundef %width, i32 noundef %height, ptr noundef readonly %palette, i32 noundef %linepad, i1 noundef zeroext %flip) local_unnamed_addr #0 align 2 { entry: %tobool = icmp ne ptr %in, null @@ -257,7 +257,7 @@ for.end35: ; preds = %for.cond12.for.cond ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter18convert8BitTo16BitEPKhPsiiPKiib(ptr noundef readonly %in, ptr noundef writeonly %out, i32 noundef %width, i32 noundef %height, ptr noundef readonly %palette, i32 noundef %linepad, i1 noundef zeroext %flip) local_unnamed_addr #0 align 2 { entry: %tobool = icmp ne ptr %in, null @@ -328,7 +328,7 @@ for.end27: ; preds = %for.cond12.for.cond ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter18convert8BitTo24BitEPKhPhiiS3_ib(ptr noundef readonly %in, ptr noundef writeonly %out, i32 noundef %width, i32 noundef %height, ptr noundef readonly %palette, i32 noundef %linepad, i1 noundef zeroext %flip) local_unnamed_addr #0 align 2 { entry: %tobool = icmp ne ptr %in, null @@ -502,7 +502,7 @@ return: ; preds = %for.cond11.for.cond ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter18convert8BitTo32BitEPKhPhiiS3_ib(ptr noundef readonly %in, ptr noundef writeonly %out, i32 noundef %width, i32 noundef %height, ptr noundef readonly %palette, i32 noundef %linepad, i1 noundef zeroext %flip) local_unnamed_addr #0 align 2 { entry: %tobool = icmp ne ptr %in, null @@ -826,7 +826,7 @@ return: ; preds = %for.cond13.if.end34 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZN3irr5video15CColorConverter19convert16BitTo16BitEPKsPsiiib(ptr noundef readonly %in, ptr noundef writeonly %out, i32 noundef %width, i32 noundef %height, i32 noundef %linepad, i1 noundef zeroext %flip) local_unnamed_addr #0 align 2 { +define void @_ZN3irr5video15CColorConverter19convert16BitTo16BitEPKsPsiiib(ptr noundef readonly %in, ptr noundef writeonly %out, i32 noundef %width, i32 noundef %height, i32 noundef %linepad, i1 noundef zeroext %flip) local_unnamed_addr #1 align 2 { entry: %tobool = icmp ne ptr %in, null %tobool1 = icmp ne ptr %out, null @@ -906,10 +906,10 @@ for.end: ; preds = %for.body.epil, %for } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZN3irr5video15CColorConverter19convert24BitTo24BitEPKhPhiiibb(ptr noundef readonly %in, ptr noundef writeonly %out, i32 noundef %width, i32 noundef %height, i32 noundef %linepad, i1 noundef zeroext %flip, i1 noundef zeroext %bgr) local_unnamed_addr #0 align 2 { +define void @_ZN3irr5video15CColorConverter19convert24BitTo24BitEPKhPhiiibb(ptr noundef readonly %in, ptr noundef writeonly %out, i32 noundef %width, i32 noundef %height, i32 noundef %linepad, i1 noundef zeroext %flip, i1 noundef zeroext %bgr) local_unnamed_addr #1 align 2 { entry: %tobool = icmp ne ptr %in, null %tobool2 = icmp ne ptr %out, null @@ -1033,7 +1033,7 @@ return: ; preds = %for.body.epil, %for } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @_ZN3irr5video15CColorConverter31convert16bitToA8R8G8B8andResizeEPKsPiiiii(ptr nocapture noundef readonly %in, ptr nocapture noundef writeonly %out, i32 noundef %newWidth, i32 noundef %newHeight, i32 noundef %currentWidth, i32 noundef %currentHeight) local_unnamed_addr #2 align 2 { +define void @_ZN3irr5video15CColorConverter31convert16bitToA8R8G8B8andResizeEPKsPiiiii(ptr nocapture noundef readonly %in, ptr nocapture noundef writeonly %out, i32 noundef %newWidth, i32 noundef %newHeight, i32 noundef %currentWidth, i32 noundef %currentHeight) local_unnamed_addr #0 align 2 { entry: %tobool = icmp ne i32 %newWidth, 0 %tobool1 = icmp ne i32 %newHeight, 0 @@ -1107,7 +1107,7 @@ return: ; preds = %for.cond6.for.cond. declare float @llvm.fmuladd.f32(float, float, float) #3 ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZN3irr5video15CColorConverter19convert32BitTo32BitEPKiPiiiib(ptr noundef readonly %in, ptr noundef writeonly %out, i32 noundef %width, i32 noundef %height, i32 noundef %linepad, i1 noundef zeroext %flip) local_unnamed_addr #0 align 2 { +define void @_ZN3irr5video15CColorConverter19convert32BitTo32BitEPKiPiiiib(ptr noundef readonly %in, ptr noundef writeonly %out, i32 noundef %width, i32 noundef %height, i32 noundef %linepad, i1 noundef zeroext %flip) local_unnamed_addr #1 align 2 { entry: %tobool = icmp ne ptr %in, null %tobool1 = icmp ne ptr %out, null @@ -1186,7 +1186,7 @@ for.end: ; preds = %for.body.epil, %for ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter24convert_A1R5G5B5toR8G8B8EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp19 = icmp sgt i32 %sN, 0 @@ -1274,7 +1274,7 @@ for.body: ; preds = %for.body, %for.body br i1 %niter.ncmp.1, label %for.cond.cleanup.loopexit.unr-lcssa, label %for.body, !llvm.loop !42 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter24convert_A1R5G5B5toB8G8R8EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp19 = icmp sgt i32 %sN, 0 @@ -1362,7 +1362,7 @@ for.body: ; preds = %for.body, %for.body br i1 %niter.ncmp.1, label %for.cond.cleanup.loopexit.unr-lcssa, label %for.body, !llvm.loop !43 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter26convert_A1R5G5B5toR5G5B5A1EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp8 = icmp sgt i32 %sN, 0 @@ -1473,7 +1473,7 @@ for.body: ; preds = %for.body.prol.loope br i1 %exitcond.not.3, label %for.cond.cleanup, label %for.body, !llvm.loop !46 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter26convert_A1R5G5B5toA8R8G8B8EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp3 = icmp sgt i32 %sN, 0 @@ -1582,7 +1582,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter24convert_A1R5G5B5toR5G6B5EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp3 = icmp sgt i32 %sN, 0 @@ -1690,7 +1690,7 @@ for.body: ; preds = %for.body.prol.loope br i1 %exitcond.not.1, label %for.cond.cleanup, label %for.body, !llvm.loop !50 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter24convert_A8R8G8B8toR8G8B8EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp14 = icmp sgt i32 %sN, 0 @@ -1760,7 +1760,7 @@ for.body: ; preds = %for.body, %for.body br i1 %niter.ncmp.1, label %for.cond.cleanup.loopexit.unr-lcssa, label %for.body, !llvm.loop !51 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter24convert_A8R8G8B8toB8G8R8EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp14 = icmp sgt i32 %sN, 0 @@ -1839,7 +1839,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter26convert_A8R8G8B8toA1R5G5B5EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp3 = icmp sgt i32 %sN, 0 @@ -1937,7 +1937,7 @@ for.body: ; preds = %for.body.preheader1 br i1 %exitcond.not, label %for.cond.cleanup, label %for.body, !llvm.loop !54 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter26convert_A8R8G8B8toA1B5G5R5EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp23 = icmp sgt i32 %sN, 0 @@ -2047,7 +2047,7 @@ for.body: ; preds = %for.body.preheader1 br i1 %exitcond.not, label %for.cond.cleanup, label %for.body, !llvm.loop !61 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter24convert_A8R8G8B8toR5G6B5EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp17 = icmp sgt i32 %sN, 0 @@ -2222,7 +2222,7 @@ for.body: ; preds = %for.body.preheader1 br i1 %exitcond.not, label %for.cond.cleanup, label %for.body, !llvm.loop !68 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter24convert_A8R8G8B8toR3G3B2EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp25 = icmp sgt i32 %sN, 0 @@ -2624,7 +2624,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter24convert_R8G8B8toA8R8G8B8EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp13 = icmp sgt i32 %sN, 0 @@ -2706,7 +2706,7 @@ for.body: ; preds = %for.body, %for.body br i1 %niter.ncmp.1, label %for.cond.cleanup.loopexit.unr-lcssa, label %for.body, !llvm.loop !82 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter24convert_R8G8B8toA1R5G5B5EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp18 = icmp sgt i32 %sN, 0 @@ -2804,7 +2804,7 @@ for.body: ; preds = %for.body.preheader1 br i1 %exitcond.not, label %for.cond.cleanup, label %for.body, !llvm.loop !89 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter24convert_B8G8R8toA8R8G8B8EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp13 = icmp sgt i32 %sN, 0 @@ -2871,7 +2871,7 @@ for.body: ; preds = %for.body, %for.body br i1 %niter.ncmp.1, label %for.cond.cleanup.loopexit.unr-lcssa, label %for.body, !llvm.loop !90 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter26convert_A8R8G8B8toR8G8B8A8EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp5 = icmp sgt i32 %sN, 0 @@ -2982,7 +2982,7 @@ for.body: ; preds = %for.body.prol.loope br i1 %exitcond.not.3, label %for.cond.cleanup, label %for.body, !llvm.loop !93 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter26convert_A8R8G8B8toA8B8G8R8EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp9 = icmp sgt i32 %sN, 0 @@ -3105,7 +3105,7 @@ for.body: ; preds = %for.body.prol.loope br i1 %exitcond.not.1, label %for.cond.cleanup, label %for.body, !llvm.loop !95 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter26convert_B8G8R8A8toA8R8G8B8EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp18 = icmp sgt i32 %sN, 0 @@ -3187,7 +3187,7 @@ for.body: ; preds = %for.body, %for.body br i1 %niter.ncmp.1, label %for.cond.cleanup.loopexit.unr-lcssa, label %for.body, !llvm.loop !96 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter22convert_R8G8B8toB8G8R8EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp14 = icmp sgt i32 %sN, 0 @@ -3257,7 +3257,7 @@ for.body: ; preds = %for.body, %for.body br i1 %niter.ncmp.1, label %for.cond.cleanup.loopexit.unr-lcssa, label %for.body, !llvm.loop !97 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter22convert_R8G8B8toR5G6B5EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp17 = icmp sgt i32 %sN, 0 @@ -3365,7 +3365,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter22convert_R5G6B5toR8G8B8EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp19 = icmp sgt i32 %sN, 0 @@ -3453,7 +3453,7 @@ for.body: ; preds = %for.body, %for.body br i1 %niter.ncmp.1, label %for.cond.cleanup.loopexit.unr-lcssa, label %for.body, !llvm.loop !105 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter22convert_R5G6B5toB8G8R8EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp19 = icmp sgt i32 %sN, 0 @@ -3541,7 +3541,7 @@ for.body: ; preds = %for.body, %for.body br i1 %niter.ncmp.1, label %for.cond.cleanup.loopexit.unr-lcssa, label %for.body, !llvm.loop !106 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter24convert_R5G6B5toA8R8G8B8EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp3 = icmp sgt i32 %sN, 0 @@ -3633,7 +3633,7 @@ for.body: ; preds = %for.body.preheader1 br i1 %exitcond.not, label %for.cond.cleanup, label %for.body, !llvm.loop !108 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter24convert_R5G6B5toA1R5G5B5EPKviPv(ptr nocapture noundef readonly %sP, i32 noundef %sN, ptr nocapture noundef writeonly %dP) local_unnamed_addr #0 align 2 { entry: %cmp3 = icmp sgt i32 %sN, 0 @@ -3780,7 +3780,7 @@ return: ; preds = %sw.epilog15, %sw.bb ret i1 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @_ZN3irr5video15CColorConverter17convert_viaFormatEPKvNS0_13ECOLOR_FORMATEiPvS4_(ptr nocapture noundef readonly %sP, i32 noundef %sF, i32 noundef %sN, ptr nocapture noundef writeonly %dP, i32 noundef %dF) local_unnamed_addr #0 align 2 { entry: %sP418 = ptrtoint ptr %sP to i64 @@ -4997,9 +4997,9 @@ declare <8 x i16> @llvm.fshl.v8i16(<8 x i16>, <8 x i16>, <8 x i16>) #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare <4 x i32> @llvm.fshl.v4i32(<4 x i32>, <4 x i32>, <4 x i32>) #3 -attributes #0 = { mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #2 = { mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #0 = { mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #1 = { mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #5 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } diff --git a/bench/ocio/optimized/LogOpCPU.cpp.ll b/bench/ocio/optimized/LogOpCPU.cpp.ll index 9ceb03a41b6..b00bd319a26 100644 --- a/bench/ocio/optimized/LogOpCPU.cpp.ll +++ b/bench/ocio/optimized/LogOpCPU.cpp.ll @@ -974,7 +974,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nounwind memory(readwrite, inaccessiblemem: write) uwtable +; Function Attrs: mustprogress nofree nounwind memory(write, argmem: readwrite) uwtable define hidden void @_ZNK19OpenColorIO_v2_4dev11LogRenderer5applyEPKvPvl(ptr nocapture noundef nonnull readonly align 8 dereferenceable(12) %this, ptr nocapture noundef readonly %inImg, ptr nocapture noundef %outImg, i64 noundef %numPixels) unnamed_addr #7 align 2 { entry: %cmp13 = icmp sgt i64 %numPixels, 0 @@ -1040,7 +1040,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define hidden void @_ZNK19OpenColorIO_v2_4dev14LogRendererSSE5applyEPKvPvl(ptr nocapture noundef nonnull readonly align 8 dereferenceable(12) %this, ptr nocapture noundef readonly %inImg, ptr nocapture noundef writeonly %outImg, i64 noundef %numPixels) unnamed_addr #9 align 2 { entry: %m_logScale = getelementptr inbounds i8, ptr %this, i64 8 @@ -1121,7 +1121,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nounwind memory(readwrite, inaccessiblemem: write) uwtable +; Function Attrs: mustprogress nofree nounwind memory(write, argmem: readwrite) uwtable define hidden void @_ZNK19OpenColorIO_v2_4dev15AntiLogRenderer5applyEPKvPvl(ptr nocapture noundef nonnull readonly align 8 dereferenceable(12) %this, ptr nocapture noundef readonly %inImg, ptr nocapture noundef %outImg, i64 noundef %numPixels) unnamed_addr #7 align 2 { entry: %cmp10 = icmp sgt i64 %numPixels, 0 @@ -1177,7 +1177,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define hidden void @_ZNK19OpenColorIO_v2_4dev18AntiLogRendererSSE5applyEPKvPvl(ptr nocapture noundef nonnull readonly align 8 dereferenceable(12) %this, ptr nocapture noundef readonly %inImg, ptr nocapture noundef writeonly %outImg, i64 noundef %numPixels) unnamed_addr #9 align 2 { entry: %m_log2_base = getelementptr inbounds i8, ptr %this, i64 8 @@ -1374,7 +1374,7 @@ entry: ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) declare float @log2f(float noundef) local_unnamed_addr #10 -; Function Attrs: mustprogress nofree nounwind memory(readwrite, inaccessiblemem: write) uwtable +; Function Attrs: mustprogress nofree nounwind memory(write, argmem: readwrite) uwtable define hidden void @_ZNK19OpenColorIO_v2_4dev15Log2LinRenderer5applyEPKvPvl(ptr nocapture noundef nonnull readonly align 8 dereferenceable(136) %this, ptr nocapture noundef readonly %inImg, ptr nocapture noundef %outImg, i64 noundef %numPixels) unnamed_addr #7 align 2 { entry: %cmp28 = icmp sgt i64 %numPixels, 0 @@ -1487,7 +1487,7 @@ _ZN19OpenColorIO_v2_4dev15Log2LinRendererC2ERSt10shared_ptrIKNS_9LogOpDataEE.exi ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define hidden void @_ZNK19OpenColorIO_v2_4dev18Log2LinRendererSSE5applyEPKvPvl(ptr nocapture noundef nonnull readonly align 8 dereferenceable(136) %this, ptr nocapture noundef readonly %inImg, ptr nocapture noundef writeonly %outImg, i64 noundef %numPixels) unnamed_addr #9 align 2 { entry: %m_kinv = getelementptr inbounds i8, ptr %this, i64 88 @@ -1702,7 +1702,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nounwind memory(readwrite, inaccessiblemem: write) uwtable +; Function Attrs: mustprogress nofree nounwind memory(write, argmem: readwrite) uwtable define hidden void @_ZNK19OpenColorIO_v2_4dev15Lin2LogRenderer5applyEPKvPvl(ptr nocapture noundef nonnull readonly align 8 dereferenceable(136) %this, ptr nocapture noundef readonly %inImg, ptr nocapture noundef %outImg, i64 noundef %numPixels) unnamed_addr #7 align 2 { entry: %cmp31 = icmp sgt i64 %numPixels, 0 @@ -1821,7 +1821,7 @@ _ZN19OpenColorIO_v2_4dev15Lin2LogRendererC2ERSt10shared_ptrIKNS_9LogOpDataEE.exi ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define hidden void @_ZNK19OpenColorIO_v2_4dev18Lin2LogRendererSSE5applyEPKvPvl(ptr nocapture noundef nonnull readonly align 8 dereferenceable(136) %this, ptr nocapture noundef readonly %inImg, ptr nocapture noundef writeonly %outImg, i64 noundef %numPixels) unnamed_addr #9 align 2 { entry: %m_m = getelementptr inbounds i8, ptr %this, i64 88 @@ -2221,7 +2221,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nounwind memory(readwrite, inaccessiblemem: write) uwtable +; Function Attrs: mustprogress nofree nounwind memory(write, argmem: readwrite) uwtable define hidden void @_ZNK19OpenColorIO_v2_4dev21CameraLog2LinRenderer5applyEPKvPvl(ptr nocapture noundef nonnull readonly align 8 dereferenceable(200) %this, ptr nocapture noundef readonly %inImg, ptr nocapture noundef writeonly %outImg, i64 noundef %numPixels) unnamed_addr #7 align 2 { entry: %cmp31 = icmp sgt i64 %numPixels, 0 @@ -2309,7 +2309,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define hidden void @_ZNK19OpenColorIO_v2_4dev24CameraLog2LinRendererSSE5applyEPKvPvl(ptr nocapture noundef nonnull readonly align 8 dereferenceable(200) %this, ptr nocapture noundef readonly %inImg, ptr nocapture noundef writeonly %outImg, i64 noundef %numPixels) unnamed_addr #9 align 2 { entry: %m_kinv = getelementptr inbounds i8, ptr %this, i64 128 @@ -2620,7 +2620,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree nounwind memory(readwrite, inaccessiblemem: write) uwtable +; Function Attrs: mustprogress nofree nounwind memory(write, argmem: readwrite) uwtable define hidden void @_ZNK19OpenColorIO_v2_4dev21CameraLin2LogRenderer5applyEPKvPvl(ptr nocapture noundef nonnull readonly align 8 dereferenceable(188) %this, ptr nocapture noundef readonly %inImg, ptr nocapture noundef writeonly %outImg, i64 noundef %numPixels) unnamed_addr #7 align 2 { entry: %cmp35 = icmp sgt i64 %numPixels, 0 @@ -2710,7 +2710,7 @@ entry: ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define hidden void @_ZNK19OpenColorIO_v2_4dev24CameraLin2LogRendererSSE5applyEPKvPvl(ptr nocapture noundef nonnull readonly align 8 dereferenceable(188) %this, ptr nocapture noundef readonly %inImg, ptr nocapture noundef writeonly %outImg, i64 noundef %numPixels) unnamed_addr #9 align 2 { entry: %m_m = getelementptr inbounds i8, ptr %this, i64 128 @@ -4392,9 +4392,9 @@ attributes #3 = { mustprogress uwtable "frame-pointer"="all" "min-legal-vector-w attributes #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #6 = { 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 #7 = { mustprogress nofree nounwind memory(readwrite, inaccessiblemem: 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 #7 = { mustprogress nofree nounwind memory(write, 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 #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #9 = { mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 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 #11 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #12 = { mustprogress 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" } diff --git a/bench/ockam-rs/optimized/8oe7xo67uolatn4.ll b/bench/ockam-rs/optimized/8oe7xo67uolatn4.ll index c54f8375b58..fd78da84b60 100644 --- a/bench/ockam-rs/optimized/8oe7xo67uolatn4.ll +++ b/bench/ockam-rs/optimized/8oe7xo67uolatn4.ll @@ -47,7 +47,7 @@ define hidden { ptr, i64 } @"_ZN106_$LT$core..ops..range..Range$LT$usize$GT$$u20 br i1 %8, label %15, label %10 9: ; preds = %5 - tail call void @_ZN4core5slice5index22slice_index_order_fail17he265421b305b24a6E(i64 noundef %0, i64 noundef %1, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %4) #18 + tail call void @_ZN4core5slice5index22slice_index_order_fail17he265421b305b24a6E(i64 noundef %0, i64 noundef %1, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %4) #17 unreachable 10: ; preds = %7 @@ -58,7 +58,7 @@ define hidden { ptr, i64 } @"_ZN106_$LT$core..ops..range..Range$LT$usize$GT$$u20 ret { ptr, i64 } %14 15: ; preds = %7 - tail call void @_ZN4core5slice5index24slice_end_index_len_fail17hea09f7e31bfd8b3bE(i64 noundef %1, i64 noundef %3, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %4) #18 + tail call void @_ZN4core5slice5index24slice_end_index_len_fail17hea09f7e31bfd8b3bE(i64 noundef %1, i64 noundef %3, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %4) #17 unreachable } @@ -72,7 +72,7 @@ define internal fastcc { ptr, i64 } @"_ZN106_$LT$core..ops..range..Range$LT$usiz br i1 %8, label %15, label %10 9: ; preds = %5 - tail call void @_ZN4core5slice5index22slice_index_order_fail17he265421b305b24a6E(i64 noundef %0, i64 noundef 0, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %4) #18 + tail call void @_ZN4core5slice5index22slice_index_order_fail17he265421b305b24a6E(i64 noundef %0, i64 noundef 0, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %4) #17 unreachable 10: ; preds = %7 @@ -83,7 +83,7 @@ define internal fastcc { ptr, i64 } @"_ZN106_$LT$core..ops..range..Range$LT$usiz ret { ptr, i64 } %14 15: ; preds = %7 - tail call void @_ZN4core5slice5index24slice_end_index_len_fail17hea09f7e31bfd8b3bE(i64 noundef %1, i64 noundef %3, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %4) #18 + tail call void @_ZN4core5slice5index24slice_end_index_len_fail17hea09f7e31bfd8b3bE(i64 noundef %1, i64 noundef %3, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %4) #17 unreachable } @@ -247,7 +247,7 @@ define hidden void @"_ZN13generic_array25ArrayBuilder$LT$T$C$N$GT$13iter_positio ret void } -; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite) uwtable define hidden void @"_ZN13generic_array25GenericArray$LT$T$C$N$GT$15from_exact_iter17h531cbfa500a4533cE"(ptr noalias nocapture noundef writeonly sret({ i8, [32 x i8] }) align 1 dereferenceable(33) %0, ptr noundef nonnull readonly %1, ptr noundef readnone %2) unnamed_addr #4 personality ptr @rust_eh_personality { .lr.ph.i.i: %3 = alloca { { [32 x i8] }, i64 }, align 8 @@ -522,7 +522,7 @@ define hidden noundef range(i8 0, 6) i8 @"_ZN4core6result19Result$LT$T$C$E$GT$6e 11: ; preds = %4 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %5, ptr noundef nonnull align 8 dereferenceable(64) %0, i64 64, i1 false) - call void @_ZN4core6result13unwrap_failed17hed0fccbe07e724fcE(ptr noalias noundef nonnull readonly align 1 %1, i64 noundef %2, ptr noundef nonnull align 1 %5, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.3.llvm.16029863518473859452, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %3) #18 + call void @_ZN4core6result13unwrap_failed17hed0fccbe07e724fcE(ptr noalias noundef nonnull readonly align 1 %1, i64 noundef %2, ptr noundef nonnull align 1 %5, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.3.llvm.16029863518473859452, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %3) #17 unreachable } @@ -571,7 +571,7 @@ define hidden void @"_ZN4sec15point24EncodedPoint$LT$Size$GT$10from_bytes17h6765 br i1 %14, label %15, label %"_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$15copy_from_slice17h412c5207925ca8a6E.exit" 15: ; preds = %"_ZN110_$LT$generic_array..GenericArray$LT$T$C$N$GT$$u20$as$u20$generic_array..sequence..GenericSequence$LT$T$GT$$GT$8generate17h41a0bbede7120de6E.exit" - tail call void @_ZN4core5slice5index24slice_end_index_len_fail17hea09f7e31bfd8b3bE(i64 noundef %2, i64 noundef 65, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.5) #18, !noalias !157 + tail call void @_ZN4core5slice5index24slice_end_index_len_fail17hea09f7e31bfd8b3bE(i64 noundef %2, i64 noundef 65, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.5) #17, !noalias !157 unreachable "_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$15copy_from_slice17h412c5207925ca8a6E.exit": ; preds = %"_ZN110_$LT$generic_array..GenericArray$LT$T$C$N$GT$$u20$as$u20$generic_array..sequence..GenericSequence$LT$T$GT$$GT$8generate17h41a0bbede7120de6E.exit" @@ -636,7 +636,7 @@ define hidden noundef i64 @"_ZN4sec15point24EncodedPoint$LT$Size$GT$3len17h867d7 7: ; preds = %1 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2), !noalias !188 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef nonnull readonly align 8 dereferenceable(64) %3, i64 64, i1 false), !noalias !185 - call void @_ZN4core6result13unwrap_failed17hed0fccbe07e724fcE(ptr noalias noundef nonnull readonly align 1 @anon.50e4b3fdc7e30e1eefc60711095a76f7.13.llvm.16029863518473859452, i64 noundef 11, ptr noundef nonnull align 1 %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.3.llvm.16029863518473859452, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.14.llvm.16029863518473859452) #18, !noalias !189 + call void @_ZN4core6result13unwrap_failed17hed0fccbe07e724fcE(ptr noalias noundef nonnull readonly align 1 @anon.50e4b3fdc7e30e1eefc60711095a76f7.13.llvm.16029863518473859452, i64 noundef 11, ptr noundef nonnull align 1 %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.3.llvm.16029863518473859452, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.14.llvm.16029863518473859452) #17, !noalias !189 unreachable "_ZN4sec15point24EncodedPoint$LT$Size$GT$3tag17h439cde5c70814e77E.exit": ; preds = %1 @@ -662,7 +662,7 @@ define hidden noundef range(i8 0, 6) i8 @"_ZN4sec15point24EncodedPoint$LT$Size$G 7: ; preds = %1 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2), !noalias !196 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef nonnull readonly align 8 dereferenceable(64) %3, i64 64, i1 false), !noalias !193 - call void @_ZN4core6result13unwrap_failed17hed0fccbe07e724fcE(ptr noalias noundef nonnull readonly align 1 @anon.50e4b3fdc7e30e1eefc60711095a76f7.13.llvm.16029863518473859452, i64 noundef 11, ptr noundef nonnull align 1 %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.3.llvm.16029863518473859452, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.14.llvm.16029863518473859452) #18, !noalias !190 + call void @_ZN4core6result13unwrap_failed17hed0fccbe07e724fcE(ptr noalias noundef nonnull readonly align 1 @anon.50e4b3fdc7e30e1eefc60711095a76f7.13.llvm.16029863518473859452, i64 noundef 11, ptr noundef nonnull align 1 %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.3.llvm.16029863518473859452, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.14.llvm.16029863518473859452) #17, !noalias !190 unreachable "_ZN4core6result19Result$LT$T$C$E$GT$6expect17h4387f2b1f2a7e230E.llvm.16029863518473859452.exit": ; preds = %1 @@ -689,7 +689,7 @@ define hidden { ptr, i64 } @"_ZN4sec15point24EncodedPoint$LT$Size$GT$8as_bytes17 7: ; preds = %1 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2), !noalias !210 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef nonnull readonly align 8 dereferenceable(64) %3, i64 64, i1 false), !noalias !207 - call void @_ZN4core6result13unwrap_failed17hed0fccbe07e724fcE(ptr noalias noundef nonnull readonly align 1 @anon.50e4b3fdc7e30e1eefc60711095a76f7.13.llvm.16029863518473859452, i64 noundef 11, ptr noundef nonnull align 1 %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.3.llvm.16029863518473859452, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.14.llvm.16029863518473859452) #18, !noalias !211 + call void @_ZN4core6result13unwrap_failed17hed0fccbe07e724fcE(ptr noalias noundef nonnull readonly align 1 @anon.50e4b3fdc7e30e1eefc60711095a76f7.13.llvm.16029863518473859452, i64 noundef 11, ptr noundef nonnull align 1 %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.3.llvm.16029863518473859452, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.14.llvm.16029863518473859452) #17, !noalias !211 unreachable "_ZN4sec15point24EncodedPoint$LT$Size$GT$3len17h867d7fcc25e717b1E.llvm.16029863518473859452.exit": ; preds = %1 @@ -701,7 +701,7 @@ define hidden { ptr, i64 } @"_ZN4sec15point24EncodedPoint$LT$Size$GT$8as_bytes17 br i1 %11, label %12, label %"_ZN106_$LT$core..ops..range..Range$LT$usize$GT$$u20$as$u20$core..slice..index..SliceIndex$LT$$u5b$T$u5d$$GT$$GT$5index17h1651df35c96ecfa5E.llvm.16029863518473859452.exit" 12: ; preds = %"_ZN4sec15point24EncodedPoint$LT$Size$GT$3len17h867d7fcc25e717b1E.llvm.16029863518473859452.exit" - tail call void @_ZN4core5slice5index24slice_end_index_len_fail17hea09f7e31bfd8b3bE(i64 noundef %10, i64 noundef 65, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.15.llvm.16029863518473859452) #18, !noalias !212 + tail call void @_ZN4core5slice5index24slice_end_index_len_fail17hea09f7e31bfd8b3bE(i64 noundef %10, i64 noundef 65, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.15.llvm.16029863518473859452) #17, !noalias !212 unreachable "_ZN106_$LT$core..ops..range..Range$LT$usize$GT$$u20$as$u20$core..slice..index..SliceIndex$LT$$u5b$T$u5d$$GT$$GT$5index17h1651df35c96ecfa5E.llvm.16029863518473859452.exit": ; preds = %"_ZN4sec15point24EncodedPoint$LT$Size$GT$3len17h867d7fcc25e717b1E.llvm.16029863518473859452.exit" @@ -730,7 +730,7 @@ define hidden { ptr, i64 } @"_ZN4sec15point24EncodedPoint$LT$Size$GT$8to_bytes17 8: ; preds = %1 call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2), !noalias !231 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef nonnull readonly align 8 dereferenceable(64) %3, i64 64, i1 false), !noalias !228 - call void @_ZN4core6result13unwrap_failed17hed0fccbe07e724fcE(ptr noalias noundef nonnull readonly align 1 @anon.50e4b3fdc7e30e1eefc60711095a76f7.13.llvm.16029863518473859452, i64 noundef 11, ptr noundef nonnull align 1 %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.3.llvm.16029863518473859452, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.14.llvm.16029863518473859452) #18, !noalias !232 + call void @_ZN4core6result13unwrap_failed17hed0fccbe07e724fcE(ptr noalias noundef nonnull readonly align 1 @anon.50e4b3fdc7e30e1eefc60711095a76f7.13.llvm.16029863518473859452, i64 noundef 11, ptr noundef nonnull align 1 %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.3.llvm.16029863518473859452, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.14.llvm.16029863518473859452) #17, !noalias !232 unreachable "_ZN4sec15point24EncodedPoint$LT$Size$GT$3len17h867d7fcc25e717b1E.llvm.16029863518473859452.exit.i": ; preds = %1 @@ -742,7 +742,7 @@ define hidden { ptr, i64 } @"_ZN4sec15point24EncodedPoint$LT$Size$GT$8to_bytes17 br i1 %12, label %13, label %"_ZN4sec15point24EncodedPoint$LT$Size$GT$8as_bytes17h88c04c7edff9aa6bE.llvm.16029863518473859452.exit" 13: ; preds = %"_ZN4sec15point24EncodedPoint$LT$Size$GT$3len17h867d7fcc25e717b1E.llvm.16029863518473859452.exit.i" - tail call void @_ZN4core5slice5index24slice_end_index_len_fail17hea09f7e31bfd8b3bE(i64 noundef %11, i64 noundef 65, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.15.llvm.16029863518473859452) #18, !noalias !234 + tail call void @_ZN4core5slice5index24slice_end_index_len_fail17hea09f7e31bfd8b3bE(i64 noundef %11, i64 noundef 65, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.15.llvm.16029863518473859452) #17, !noalias !234 unreachable "_ZN4sec15point24EncodedPoint$LT$Size$GT$8as_bytes17h88c04c7edff9aa6bE.llvm.16029863518473859452.exit": ; preds = %"_ZN4sec15point24EncodedPoint$LT$Size$GT$3len17h867d7fcc25e717b1E.llvm.16029863518473859452.exit.i" @@ -1677,7 +1677,7 @@ define hidden void @"_ZN5ecdsa3der18Signature$LT$C$GT$10from_bytes17h1893b388d8c br i1 %.not.i, label %"_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$15copy_from_slice17h412c5207925ca8a6E.exit", label %50 50: ; preds = %"_ZN110_$LT$generic_array..GenericArray$LT$T$C$N$GT$$u20$as$u20$generic_array..sequence..GenericSequence$LT$T$GT$$GT$8generate17ha81a4e8f9845f45dE.exit" - call void @"_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$15copy_from_slice17len_mismatch_fail17h40a84adb6c367f19E"(i64 noundef %49, i64 noundef %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.18) #18, !noalias !304 + call void @"_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$15copy_from_slice17len_mismatch_fail17h40a84adb6c367f19E"(i64 noundef %49, i64 noundef %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.18) #17, !noalias !304 unreachable "_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$15copy_from_slice17h412c5207925ca8a6E.exit": ; preds = %"_ZN110_$LT$generic_array..GenericArray$LT$T$C$N$GT$$u20$as$u20$generic_array..sequence..GenericSequence$LT$T$GT$$GT$8generate17ha81a4e8f9845f45dE.exit" @@ -1734,11 +1734,11 @@ define hidden { ptr, i64 } @"_ZN5ecdsa3der18Signature$LT$C$GT$1r17h4cec06a314fee br i1 %7, label %9, label %"_ZN106_$LT$core..ops..range..Range$LT$usize$GT$$u20$as$u20$core..slice..index..SliceIndex$LT$$u5b$T$u5d$$GT$$GT$5index17h1651df35c96ecfa5E.llvm.16029863518473859452.exit" 8: ; preds = %1 - tail call void @_ZN4core5slice5index22slice_index_order_fail17he265421b305b24a6E(i64 noundef %2, i64 noundef %4, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.19.llvm.16029863518473859452) #18, !noalias !315 + tail call void @_ZN4core5slice5index22slice_index_order_fail17he265421b305b24a6E(i64 noundef %2, i64 noundef %4, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.19.llvm.16029863518473859452) #17, !noalias !315 unreachable 9: ; preds = %6 - tail call void @_ZN4core5slice5index24slice_end_index_len_fail17hea09f7e31bfd8b3bE(i64 noundef %4, i64 noundef 73, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.19.llvm.16029863518473859452) #18, !noalias !315 + tail call void @_ZN4core5slice5index24slice_end_index_len_fail17hea09f7e31bfd8b3bE(i64 noundef %4, i64 noundef 73, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.19.llvm.16029863518473859452) #17, !noalias !315 unreachable "_ZN106_$LT$core..ops..range..Range$LT$usize$GT$$u20$as$u20$core..slice..index..SliceIndex$LT$$u5b$T$u5d$$GT$$GT$5index17h1651df35c96ecfa5E.llvm.16029863518473859452.exit": ; preds = %6 @@ -1764,11 +1764,11 @@ define hidden { ptr, i64 } @"_ZN5ecdsa3der18Signature$LT$C$GT$1s17hbd7ce4706a946 br i1 %8, label %10, label %"_ZN106_$LT$core..ops..range..Range$LT$usize$GT$$u20$as$u20$core..slice..index..SliceIndex$LT$$u5b$T$u5d$$GT$$GT$5index17h1651df35c96ecfa5E.llvm.16029863518473859452.exit" 9: ; preds = %1 - tail call void @_ZN4core5slice5index22slice_index_order_fail17he265421b305b24a6E(i64 noundef %3, i64 noundef %5, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.20.llvm.16029863518473859452) #18, !noalias !326 + tail call void @_ZN4core5slice5index22slice_index_order_fail17he265421b305b24a6E(i64 noundef %3, i64 noundef %5, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.20.llvm.16029863518473859452) #17, !noalias !326 unreachable 10: ; preds = %7 - tail call void @_ZN4core5slice5index24slice_end_index_len_fail17hea09f7e31bfd8b3bE(i64 noundef %5, i64 noundef 73, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.20.llvm.16029863518473859452) #18, !noalias !326 + tail call void @_ZN4core5slice5index24slice_end_index_len_fail17hea09f7e31bfd8b3bE(i64 noundef %5, i64 noundef 73, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.50e4b3fdc7e30e1eefc60711095a76f7.20.llvm.16029863518473859452) #17, !noalias !326 unreachable "_ZN106_$LT$core..ops..range..Range$LT$usize$GT$$u20$as$u20$core..slice..index..SliceIndex$LT$$u5b$T$u5d$$GT$$GT$5index17h1651df35c96ecfa5E.llvm.16029863518473859452.exit": ; preds = %7 @@ -1970,7 +1970,7 @@ define hidden void @"_ZN87_$LT$core..future..poll_fn..PollFn$LT$F$GT$$u20$as$u20 } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite) uwtable -define hidden void @"_ZN89_$LT$sec1..point..EncodedPoint$LT$Size$GT$$u20$as$u20$subtle..ConditionallySelectable$GT$18conditional_select17h0eb1ec84edbbdcdaE"(ptr noalias nocapture noundef writeonly sret({ { { { { { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, {} }, { { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, {} }, {} }, { { { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, {} }, { { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, {} }, {} }, i8 } } }) align 1 dereferenceable(65) %0, ptr noalias nocapture noundef readonly align 1 dereferenceable(65) %1, ptr noalias nocapture noundef readonly align 1 dereferenceable(65) %2, i8 noundef %3) unnamed_addr #11 personality ptr @rust_eh_personality { +define hidden void @"_ZN89_$LT$sec1..point..EncodedPoint$LT$Size$GT$$u20$as$u20$subtle..ConditionallySelectable$GT$18conditional_select17h0eb1ec84edbbdcdaE"(ptr noalias nocapture noundef writeonly sret({ { { { { { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, {} }, { { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, {} }, {} }, { { { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, {} }, { { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, {} }, {} }, i8 } } }) align 1 dereferenceable(65) %0, ptr noalias nocapture noundef readonly align 1 dereferenceable(65) %1, ptr noalias nocapture noundef readonly align 1 dereferenceable(65) %2, i8 noundef %3) unnamed_addr #4 personality ptr @rust_eh_personality { "_ZN110_$LT$generic_array..GenericArray$LT$T$C$N$GT$$u20$as$u20$generic_array..sequence..GenericSequence$LT$T$GT$$GT$8generate17h41a0bbede7120de6E.exit": %4 = alloca { { { { { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, {} }, { { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, {} }, {} }, { { { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, {} }, { { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, { { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, { { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, { { [0 x i8], [0 x i8], i8 }, { [0 x i8], [0 x i8], i8 }, {} }, {} }, {} }, {} }, {} }, i8 } }, align 8 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(65) %4, i8 0, i64 65, i1 false), !alias.scope !365 @@ -2127,16 +2127,16 @@ define hidden void @"_ZN94_$LT$core..slice..iter..IterMut$LT$T$GT$$u20$as$u20$co } ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN4core5slice5index24slice_end_index_len_fail17hea09f7e31bfd8b3bE(i64 noundef, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #12 +declare void @_ZN4core5slice5index24slice_end_index_len_fail17hea09f7e31bfd8b3bE(i64 noundef, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #11 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN4core5slice5index22slice_index_order_fail17he265421b305b24a6E(i64 noundef, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #12 +declare void @_ZN4core5slice5index22slice_index_order_fail17he265421b305b24a6E(i64 noundef, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #11 ; Function Attrs: nonlazybind uwtable declare noundef i32 @rust_eh_personality(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) unnamed_addr #6 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #13 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #12 ; Function Attrs: nonlazybind uwtable declare void @_ZN16aws_smithy_types4body7SdkBody9poll_next17h7e80a2b3f91529e3E(ptr noalias nocapture noundef sret({ i64, [4 x i64] }) align 8 dereferenceable(40), ptr noalias noundef align 8 dereferenceable(88), ptr noalias noundef align 8 dereferenceable(8)) unnamed_addr #6 @@ -2151,7 +2151,7 @@ declare void @_ZN4sec15point3Tag7from_u817h0bcc195108734500E(ptr noalias nocaptu declare noundef zeroext i1 @"_ZN55_$LT$sec1..error..Error$u20$as$u20$core..fmt..Debug$GT$3fmt17hfe344f4278f576c0E"(ptr noalias noundef readonly align 8 dereferenceable(64), ptr noalias noundef align 8 dereferenceable(64)) unnamed_addr #6 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN4core6result13unwrap_failed17hed0fccbe07e724fcE(ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noundef nonnull align 1, ptr noalias noundef readonly align 8 dereferenceable(24), ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #12 +declare void @_ZN4core6result13unwrap_failed17hed0fccbe07e724fcE(ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noundef nonnull align 1, ptr noalias noundef readonly align 8 dereferenceable(24), ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #11 ; Function Attrs: nonlazybind uwtable declare noundef i64 @_ZN4sec15point3Tag11message_len17h230a553fea613c7eE(i8 noundef, i64 noundef) unnamed_addr #6 @@ -2226,16 +2226,16 @@ declare hidden noundef zeroext i1 @"_ZN42_$LT$$RF$T$u20$as$u20$core..fmt..Debug$ declare noundef zeroext i1 @_ZN4core3fmt9Formatter26debug_struct_field5_finish17hf04259a23546d7b1E(ptr noalias noundef align 8 dereferenceable(64), ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noundef nonnull align 1, ptr noalias noundef readonly align 8 dereferenceable(24), ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noundef nonnull align 1, ptr noalias noundef readonly align 8 dereferenceable(24), ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noundef nonnull align 1, ptr noalias noundef readonly align 8 dereferenceable(24), ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noundef nonnull align 1, ptr noalias noundef readonly align 8 dereferenceable(24), ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noundef nonnull align 1, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #6 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #14 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #13 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #14 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #13 ; Function Attrs: nonlazybind uwtable declare hidden void @_ZN3der6reader6Reader9read_into17h268bf907d2dd1e97E(ptr noalias nocapture noundef sret({ i32, [13 x i32] }) align 8 dereferenceable(56), ptr noalias noundef align 8 dereferenceable(32), ptr noalias noundef nonnull align 1, i64 noundef) unnamed_addr #6 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @"_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$15copy_from_slice17len_mismatch_fail17h40a84adb6c367f19E"(i64 noundef, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #12 +declare void @"_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$15copy_from_slice17len_mismatch_fail17h40a84adb6c367f19E"(i64 noundef, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #11 ; Function Attrs: nonlazybind uwtable declare void @_ZN3der9bytes_ref8BytesRef3new17h1bd9e6085ef718b7E(ptr noalias nocapture noundef sret({ i32, [13 x i32] }) align 8 dereferenceable(56), ptr noalias noundef nonnull readonly align 1, i64 noundef) unnamed_addr #6 @@ -2265,33 +2265,32 @@ declare noundef zeroext i1 @_ZN4core3fmt9Formatter25debug_tuple_field1_finish17h declare noundef zeroext i1 @_ZN4core3fmt9Formatter26debug_struct_field3_finish17h5275aa84e8d96af2E(ptr noalias noundef align 8 dereferenceable(64), ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noundef nonnull align 1, ptr noalias noundef readonly align 8 dereferenceable(24), ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noundef nonnull align 1, ptr noalias noundef readonly align 8 dereferenceable(24), ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noundef nonnull align 1, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #6 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #15 +declare void @llvm.assume(i1 noundef) #14 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) -declare void @llvm.experimental.noalias.scope.decl(metadata) #16 +declare void @llvm.experimental.noalias.scope.decl(metadata) #15 ; Function Attrs: 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) #16 attributes #0 = { inlinehint nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #1 = { inlinehint nofree norecurse nosync nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #2 = { nofree norecurse nosync nounwind nonlazybind memory(argmem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #3 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #4 = { nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #4 = { nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #5 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #6 = { nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #7 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #8 = { alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #9 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #10 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #11 = { nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #12 = { cold noreturn nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #13 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #14 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #15 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #16 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } -attributes #17 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #18 = { noreturn } +attributes #11 = { cold noreturn nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #12 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #13 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #14 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #15 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } +attributes #16 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #17 = { noreturn } !llvm.module.flags = !{!0, !1, !2} !llvm.ident = !{!3} diff --git a/bench/oiio/optimized/DPXHeader.cpp.ll b/bench/oiio/optimized/DPXHeader.cpp.ll index edb2a04d8e4..a2f096d4c39 100644 --- a/bench/oiio/optimized/DPXHeader.cpp.ll +++ b/bench/oiio/optimized/DPXHeader.cpp.ll @@ -74,7 +74,7 @@ _ZN3dpx13GenericHeaderC2Ev.exit: ; preds = %arrayctor.loop.i store ptr @.str, ptr %agg.tmp.i.i, align 8 %m_len.i.i.i = getelementptr inbounds i8, ptr %agg.tmp.i.i, i64 8 store i64 4, ptr %m_len.i.i.i, align 8 - %call.i.i = call noundef ptr @_ZN18OpenImageIO_v2_6_07Strutil11safe_strcpyEPcNS_17basic_string_viewIcSt11char_traitsIcEEEm(ptr noundef nonnull %version.i.i, ptr noundef nonnull %agg.tmp.i.i, i64 noundef 8) #17 + %call.i.i = call noundef ptr @_ZN18OpenImageIO_v2_6_07Strutil11safe_strcpyEPcNS_17basic_string_viewIcSt11char_traitsIcEEEm(ptr noundef nonnull %version.i.i, ptr noundef nonnull %agg.tmp.i.i, i64 noundef 8) #16 %fileSize.i.i = getelementptr inbounds i8, ptr %this, i64 16 store <4 x i32> , ptr %fileSize.i.i, align 4 %userSize.i.i = getelementptr inbounds i8, ptr %this, i64 32 @@ -173,7 +173,7 @@ arrayctor.cont: ; preds = %arrayctor.loop store ptr @.str, ptr %agg.tmp.i, align 8 %m_len.i.i = getelementptr inbounds i8, ptr %agg.tmp.i, i64 8 store i64 4, ptr %m_len.i.i, align 8 - %call.i = call noundef ptr @_ZN18OpenImageIO_v2_6_07Strutil11safe_strcpyEPcNS_17basic_string_viewIcSt11char_traitsIcEEEm(ptr noundef nonnull %version.i, ptr noundef nonnull %agg.tmp.i, i64 noundef 8) #17 + %call.i = call noundef ptr @_ZN18OpenImageIO_v2_6_07Strutil11safe_strcpyEPcNS_17basic_string_viewIcSt11char_traitsIcEEEm(ptr noundef nonnull %version.i, ptr noundef nonnull %agg.tmp.i, i64 noundef 8) #16 %fileSize.i = getelementptr inbounds i8, ptr %this, i64 16 store <4 x i32> , ptr %fileSize.i, align 4 %userSize.i = getelementptr inbounds i8, ptr %this, i64 32 @@ -251,7 +251,7 @@ entry: store ptr @.str, ptr %agg.tmp, align 8 %m_len.i = getelementptr inbounds i8, ptr %agg.tmp, i64 8 store i64 4, ptr %m_len.i, align 8 - %call = call noundef ptr @_ZN18OpenImageIO_v2_6_07Strutil11safe_strcpyEPcNS_17basic_string_viewIcSt11char_traitsIcEEEm(ptr noundef nonnull %version, ptr noundef nonnull %agg.tmp, i64 noundef 8) #17 + %call = call noundef ptr @_ZN18OpenImageIO_v2_6_07Strutil11safe_strcpyEPcNS_17basic_string_viewIcSt11char_traitsIcEEEm(ptr noundef nonnull %version, ptr noundef nonnull %agg.tmp, i64 noundef 8) #16 %fileSize = getelementptr inbounds i8, ptr %this, i64 16 store <4 x i32> , ptr %fileSize, align 4 %userSize = getelementptr inbounds i8, ptr %this, i64 32 @@ -361,7 +361,7 @@ return: ; preds = %entry, %if.end ret i1 %retval.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden noundef zeroext i1 @_ZN3dpx6Header8ValidateEv(ptr noundef nonnull align 4 dereferenceable(2049) %this) local_unnamed_addr #7 align 2 { entry: %mc.i = alloca i32, align 4 @@ -1534,7 +1534,7 @@ return: ; preds = %for.inc, %if.end74, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define hidden void @_ZN3dpx13GenericHeader25CalculateNumberOfElementsEv(ptr nocapture noundef nonnull align 4 dereferenceable(1664) %this) local_unnamed_addr #8 align 2 { +define hidden void @_ZN3dpx13GenericHeader25CalculateNumberOfElementsEv(ptr nocapture noundef nonnull align 4 dereferenceable(1664) %this) local_unnamed_addr #7 align 2 { while.cond.preheader.i: %chan.i.i = getelementptr inbounds i8, ptr %this, i64 780 br label %_ZNK3dpx13GenericHeader15ImageDescriptorEi.exit.i @@ -1620,7 +1620,7 @@ entry: store ptr @.str, ptr %agg.tmp.i, align 8 %m_len.i.i = getelementptr inbounds i8, ptr %agg.tmp.i, i64 8 store i64 4, ptr %m_len.i.i, align 8 - %call.i = call noundef ptr @_ZN18OpenImageIO_v2_6_07Strutil11safe_strcpyEPcNS_17basic_string_viewIcSt11char_traitsIcEEEm(ptr noundef nonnull %version.i, ptr noundef nonnull %agg.tmp.i, i64 noundef 8) #17 + %call.i = call noundef ptr @_ZN18OpenImageIO_v2_6_07Strutil11safe_strcpyEPcNS_17basic_string_viewIcSt11char_traitsIcEEEm(ptr noundef nonnull %version.i, ptr noundef nonnull %agg.tmp.i, i64 noundef 8) #16 %fileSize.i = getelementptr inbounds i8, ptr %this, i64 16 store <4 x i32> , ptr %fileSize.i, align 4 %userSize.i = getelementptr inbounds i8, ptr %this, i64 32 @@ -1682,7 +1682,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef range(i32 1, 9) i32 @_ZNK3dpx13GenericHeader26ImageElementComponentCountEi(ptr nocapture noundef nonnull readonly align 4 dereferenceable(1664) %this, i32 noundef %element) local_unnamed_addr #9 align 2 { +define hidden noundef range(i32 1, 9) i32 @_ZNK3dpx13GenericHeader26ImageElementComponentCountEi(ptr nocapture noundef nonnull readonly align 4 dereferenceable(1664) %this, i32 noundef %element) local_unnamed_addr #8 align 2 { entry: %chan = getelementptr inbounds i8, ptr %this, i64 780 %idxprom = sext i32 %element to i64 @@ -1750,7 +1750,7 @@ sw.epilog: ; preds = %sw.bb15, %sw.bb14, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef i32 @_ZNK3dpx13GenericHeader17ImageElementCountEv(ptr nocapture noundef nonnull readonly align 4 dereferenceable(1664) %this) local_unnamed_addr #9 align 2 { +define hidden noundef i32 @_ZNK3dpx13GenericHeader17ImageElementCountEv(ptr nocapture noundef nonnull readonly align 4 dereferenceable(1664) %this) local_unnamed_addr #8 align 2 { entry: %numberOfElements = getelementptr inbounds i8, ptr %this, i64 770 %0 = load i16, ptr %numberOfElements, align 2 @@ -1791,7 +1791,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef range(i32 0, 5) i32 @_ZNK3dpx13GenericHeader17ComponentDataSizeEi(ptr nocapture noundef nonnull readonly align 4 dereferenceable(1664) %this, i32 noundef %element) local_unnamed_addr #9 align 2 { +define hidden noundef range(i32 0, 5) i32 @_ZNK3dpx13GenericHeader17ComponentDataSizeEi(ptr nocapture noundef nonnull readonly align 4 dereferenceable(1664) %this, i32 noundef %element) local_unnamed_addr #8 align 2 { entry: %or.cond = icmp ugt i32 %element, 7 br i1 %or.cond, label %return, label %if.end @@ -1828,7 +1828,7 @@ return: ; preds = %sw.bb3, %sw.bb4, %s } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef range(i32 0, 9) i32 @_ZNK3dpx13GenericHeader18ComponentByteCountEi(ptr nocapture noundef nonnull readonly align 4 dereferenceable(1664) %this, i32 noundef %element) local_unnamed_addr #9 align 2 { +define hidden noundef range(i32 0, 9) i32 @_ZNK3dpx13GenericHeader18ComponentByteCountEi(ptr nocapture noundef nonnull readonly align 4 dereferenceable(1664) %this, i32 noundef %element) local_unnamed_addr #8 align 2 { entry: %or.cond = icmp ugt i32 %element, 7 br i1 %or.cond, label %return, label %if.end @@ -1882,7 +1882,7 @@ sw.epilog: ; preds = %entry, %switch.look } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define hidden void @_ZNK3dpx14IndustryHeader12FilmEdgeCodeEPc(ptr nocapture noundef nonnull readonly align 4 dereferenceable(384) %this, ptr nocapture noundef writeonly %edge) local_unnamed_addr #10 align 2 { +define hidden void @_ZNK3dpx14IndustryHeader12FilmEdgeCodeEPc(ptr nocapture noundef nonnull readonly align 4 dereferenceable(384) %this, ptr nocapture noundef writeonly %edge) local_unnamed_addr #9 align 2 { entry: %0 = load i8, ptr %this, align 4 store i8 %0, ptr %edge, align 1 @@ -1952,7 +1952,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define hidden void @_ZN3dpx14IndustryHeader15SetFileEdgeCodeEPKc(ptr nocapture noundef nonnull writeonly align 4 dereferenceable(384) %this, ptr nocapture noundef readonly %edge) local_unnamed_addr #10 align 2 { +define hidden void @_ZN3dpx14IndustryHeader15SetFileEdgeCodeEPKc(ptr nocapture noundef nonnull writeonly align 4 dereferenceable(384) %this, ptr nocapture noundef readonly %edge) local_unnamed_addr #9 align 2 { entry: %0 = load i8, ptr %edge, align 1 store i8 %0, ptr %this, align 4 @@ -2020,7 +2020,7 @@ entry: } ; Function Attrs: mustprogress nofree nounwind uwtable -define hidden void @_ZNK3dpx14IndustryHeader8TimeCodeEPc(ptr nocapture noundef nonnull readonly align 4 dereferenceable(384) %this, ptr nocapture noundef writeonly %str) local_unnamed_addr #11 align 2 { +define hidden void @_ZNK3dpx14IndustryHeader8TimeCodeEPc(ptr nocapture noundef nonnull readonly align 4 dereferenceable(384) %this, ptr nocapture noundef writeonly %str) local_unnamed_addr #10 align 2 { entry: %timeCode = getelementptr inbounds i8, ptr %this, i64 256 %0 = load i32, ptr %timeCode, align 4 @@ -2074,15 +2074,15 @@ entry: %retval.0.v.i27 = select i1 %cmp.i26, i8 55, i8 48 %retval.0.i28 = add nuw nsw i8 %retval.0.v.i27, %conv34 %conv36 = zext nneg i8 %retval.0.i28 to i32 - %call37 = tail call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %str, i64 noundef 12, ptr noundef nonnull @.str.1, i32 noundef %retval.0.i, i32 noundef %conv7, i32 noundef %conv12, i32 noundef %conv17, i32 noundef %conv22, i32 noundef %conv27, i32 noundef %conv32, i32 noundef %conv36) #17 + %call37 = tail call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %str, i64 noundef 12, ptr noundef nonnull @.str.1, i32 noundef %retval.0.i, i32 noundef %conv7, i32 noundef %conv12, i32 noundef %conv17, i32 noundef %conv22, i32 noundef %conv27, i32 noundef %conv32, i32 noundef %conv36) #16 ret void } ; Function Attrs: nofree nounwind -declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #12 +declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #11 ; Function Attrs: mustprogress nofree nounwind uwtable -define hidden void @_ZNK3dpx14IndustryHeader8UserBitsEPc(ptr nocapture noundef nonnull readonly align 4 dereferenceable(384) %this, ptr nocapture noundef writeonly %str) local_unnamed_addr #11 align 2 { +define hidden void @_ZNK3dpx14IndustryHeader8UserBitsEPc(ptr nocapture noundef nonnull readonly align 4 dereferenceable(384) %this, ptr nocapture noundef writeonly %str) local_unnamed_addr #10 align 2 { entry: %userBits = getelementptr inbounds i8, ptr %this, i64 260 %0 = load i32, ptr %userBits, align 4 @@ -2136,14 +2136,14 @@ entry: %retval.0.v.i27 = select i1 %cmp.i26, i8 55, i8 48 %retval.0.i28 = add nuw nsw i8 %retval.0.v.i27, %conv34 %conv36 = zext nneg i8 %retval.0.i28 to i32 - %call37 = tail call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %str, i64 noundef 12, ptr noundef nonnull @.str.1, i32 noundef %retval.0.i, i32 noundef %conv7, i32 noundef %conv12, i32 noundef %conv17, i32 noundef %conv22, i32 noundef %conv27, i32 noundef %conv32, i32 noundef %conv36) #17 + %call37 = tail call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %str, i64 noundef 12, ptr noundef nonnull @.str.1, i32 noundef %retval.0.i, i32 noundef %conv7, i32 noundef %conv12, i32 noundef %conv17, i32 noundef %conv22, i32 noundef %conv27, i32 noundef %conv32, i32 noundef %conv36) #16 ret void } ; Function Attrs: mustprogress nounwind uwtable define hidden noundef i32 @_ZNK3dpx14IndustryHeader12TCFromStringEPKc(ptr nocapture noundef nonnull readnone align 4 dereferenceable(384) %this, ptr noundef %str) local_unnamed_addr #4 align 2 { entry: - %call = tail call noundef i64 @_ZN18OpenImageIO_v2_6_07Strutil11safe_strlenEPKcm(ptr noundef %str, i64 noundef 12) #17 + %call = tail call noundef i64 @_ZN18OpenImageIO_v2_6_07Strutil11safe_strlenEPKcm(ptr noundef %str, i64 noundef 12) #16 %cmp.not = icmp eq i64 %call, 11 br i1 %cmp.not, label %for.body, label %return @@ -2188,7 +2188,7 @@ declare noundef i64 @_ZN18OpenImageIO_v2_6_07Strutil11safe_strlenEPKcm(ptr nound ; Function Attrs: mustprogress nounwind uwtable define hidden void @_ZN3dpx14IndustryHeader11SetTimeCodeEPKc(ptr nocapture noundef nonnull writeonly align 4 dereferenceable(384) %this, ptr noundef %str) local_unnamed_addr #4 align 2 { entry: - %call.i = tail call noundef i64 @_ZN18OpenImageIO_v2_6_07Strutil11safe_strlenEPKcm(ptr noundef %str, i64 noundef 12) #17 + %call.i = tail call noundef i64 @_ZN18OpenImageIO_v2_6_07Strutil11safe_strlenEPKcm(ptr noundef %str, i64 noundef 12) #16 %cmp.not.i = icmp eq i64 %call.i, 11 br i1 %cmp.not.i, label %for.body.i, label %if.end @@ -2238,7 +2238,7 @@ if.end: ; preds = %for.body.i, %entry, ; Function Attrs: mustprogress nounwind uwtable define hidden void @_ZN3dpx14IndustryHeader11SetUserBitsEPKc(ptr nocapture noundef nonnull writeonly align 4 dereferenceable(384) %this, ptr noundef %str) local_unnamed_addr #4 align 2 { entry: - %call.i = tail call noundef i64 @_ZN18OpenImageIO_v2_6_07Strutil11safe_strlenEPKcm(ptr noundef %str, i64 noundef 12) #17 + %call.i = tail call noundef i64 @_ZN18OpenImageIO_v2_6_07Strutil11safe_strlenEPKcm(ptr noundef %str, i64 noundef 12) #16 %cmp.not.i = icmp eq i64 %call.i, 11 br i1 %cmp.not.i, label %for.body.i, label %if.end @@ -2294,13 +2294,13 @@ entry: %agg.tmp = alloca %"class.OpenImageIO_v2_6_0::basic_string_view", align 8 store i64 %sec, ptr %t, align 8 call void @_ZN18OpenImageIO_v2_6_07Sysutil14get_local_timeEPKlP2tm(ptr noundef nonnull %t, ptr noundef nonnull %localtm) - %call = call i64 @strftime(ptr noundef nonnull %str, i64 noundef 32, ptr noundef nonnull @.str.2, ptr noundef nonnull %localtm) #17 + %call = call i64 @strftime(ptr noundef nonnull %str, i64 noundef 32, ptr noundef nonnull @.str.2, ptr noundef nonnull %localtm) #16 %creationTimeDate = getelementptr inbounds i8, ptr %this, i64 136 store ptr %str, ptr %agg.tmp, align 8 - %call.i.i.i = call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %str) #17 + %call.i.i.i = call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %str) #16 %m_len.i = getelementptr inbounds i8, ptr %agg.tmp, i64 8 store i64 %call.i.i.i, ptr %m_len.i, align 8 - %call4 = call noundef ptr @_ZN18OpenImageIO_v2_6_07Strutil11safe_strcpyEPcNS_17basic_string_viewIcSt11char_traitsIcEEEm(ptr noundef nonnull %creationTimeDate, ptr noundef nonnull %agg.tmp, i64 noundef 24) #17 + %call4 = call noundef ptr @_ZN18OpenImageIO_v2_6_07Strutil11safe_strcpyEPcNS_17basic_string_viewIcSt11char_traitsIcEEEm(ptr noundef nonnull %creationTimeDate, ptr noundef nonnull %agg.tmp, i64 noundef 24) #16 ret void } @@ -2318,18 +2318,18 @@ entry: %agg.tmp = alloca %"class.OpenImageIO_v2_6_0::basic_string_view", align 8 store i64 %sec, ptr %t, align 8 call void @_ZN18OpenImageIO_v2_6_07Sysutil14get_local_timeEPKlP2tm(ptr noundef nonnull %t, ptr noundef nonnull %localtm) - %call = call i64 @strftime(ptr noundef nonnull %str, i64 noundef 32, ptr noundef nonnull @.str.2, ptr noundef nonnull %localtm) #17 + %call = call i64 @strftime(ptr noundef nonnull %str, i64 noundef 32, ptr noundef nonnull @.str.2, ptr noundef nonnull %localtm) #16 %sourceTimeDate = getelementptr inbounds i8, ptr %this, i64 1532 store ptr %str, ptr %agg.tmp, align 8 - %call.i.i.i = call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %str) #17 + %call.i.i.i = call noundef i64 @strlen(ptr noundef nonnull dereferenceable(1) %str) #16 %m_len.i = getelementptr inbounds i8, ptr %agg.tmp, i64 8 store i64 %call.i.i.i, ptr %m_len.i, align 8 - %call4 = call noundef ptr @_ZN18OpenImageIO_v2_6_07Strutil11safe_strcpyEPcNS_17basic_string_viewIcSt11char_traitsIcEEEm(ptr noundef nonnull %sourceTimeDate, ptr noundef nonnull %agg.tmp, i64 noundef 24) #17 + %call4 = call noundef ptr @_ZN18OpenImageIO_v2_6_07Strutil11safe_strcpyEPcNS_17basic_string_viewIcSt11char_traitsIcEEEm(ptr noundef nonnull %sourceTimeDate, ptr noundef nonnull %agg.tmp, i64 noundef 24) #16 ret void } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef zeroext i1 @_ZNK3dpx6Header9DatumSwapEi(ptr nocapture noundef nonnull readonly align 4 dereferenceable(2049) %this, i32 noundef %element) local_unnamed_addr #9 align 2 { +define hidden noundef zeroext i1 @_ZNK3dpx6Header9DatumSwapEi(ptr nocapture noundef nonnull readonly align 4 dereferenceable(2049) %this, i32 noundef %element) local_unnamed_addr #8 align 2 { entry: %datumSwap = getelementptr inbounds i8, ptr %this, i64 2048 %0 = load i8, ptr %datumSwap, align 4 @@ -2363,7 +2363,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef i32 @_ZNK3dpx6Header6HeightEv(ptr nocapture noundef nonnull readonly align 4 dereferenceable(2049) %this) local_unnamed_addr #9 align 2 { +define hidden noundef i32 @_ZNK3dpx6Header6HeightEv(ptr nocapture noundef nonnull readonly align 4 dereferenceable(2049) %this) local_unnamed_addr #8 align 2 { entry: %imageOrientation.i = getelementptr inbounds i8, ptr %this, i64 768 %0 = load i16, ptr %imageOrientation.i, align 4 @@ -2378,7 +2378,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef i32 @_ZNK3dpx6Header5WidthEv(ptr nocapture noundef nonnull readonly align 4 dereferenceable(2049) %this) local_unnamed_addr #9 align 2 { +define hidden noundef i32 @_ZNK3dpx6Header5WidthEv(ptr nocapture noundef nonnull readonly align 4 dereferenceable(2049) %this) local_unnamed_addr #8 align 2 { entry: %imageOrientation.i = getelementptr inbounds i8, ptr %this, i64 768 %0 = load i16, ptr %imageOrientation.i, align 4 @@ -2395,24 +2395,24 @@ entry: declare i32 @__gxx_personality_v0(...) ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #13 +declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #12 ; Function Attrs: uwtable -define internal void @_GLOBAL__sub_I_DPXHeader.cpp() #14 section ".text.startup" { +define internal void @_GLOBAL__sub_I_DPXHeader.cpp() #13 section ".text.startup" { entry: tail call void @_ZNSt8ios_base4InitC1Ev(ptr noundef nonnull align 1 dereferenceable(1) @_ZStL8__ioinit) - %0 = tail call i32 @__cxa_atexit(ptr nonnull @_ZNSt8ios_base4InitD1Ev, ptr nonnull @_ZStL8__ioinit, ptr nonnull @__dso_handle) #17 + %0 = tail call i32 @__cxa_atexit(ptr nonnull @_ZNSt8ios_base4InitD1Ev, ptr nonnull @_ZStL8__ioinit, ptr nonnull @__dso_handle) #16 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #15 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #14 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #16 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #15 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #16 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #15 attributes #0 = { "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 #1 = { 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" } @@ -2421,17 +2421,16 @@ attributes #3 = { mustprogress nofree norecurse nosync nounwind willreturn memor attributes #4 = { mustprogress 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 #5 = { 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 #6 = { mustprogress 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 = { mustprogress 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 #8 = { mustprogress 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 #9 = { 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 #10 = { 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 #11 = { mustprogress 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 #12 = { 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 #13 = { 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 #14 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #16 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #17 = { nounwind } +attributes #7 = { mustprogress 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 #8 = { 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 #9 = { 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 #10 = { mustprogress 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 #11 = { 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 #12 = { 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 #13 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #15 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #16 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/openblas/optimized/common.c.ll b/bench/openblas/optimized/common.c.ll index 8ac226b87fc..995c80c434a 100644 --- a/bench/openblas/optimized/common.c.ll +++ b/bench/openblas/optimized/common.c.ll @@ -14,7 +14,7 @@ define void @srand_generate(ptr nocapture noundef writeonly %0, i32 noundef %1) 6: ; preds = %6, %4 %7 = phi i64 [ 0, %4 ], [ %12, %6 ] - %8 = tail call i32 @rand() #6 + %8 = tail call i32 @rand() #5 %9 = sitofp i32 %8 to float %10 = fmul float %9, 0x3E00000000000000 %11 = getelementptr inbounds float, ptr %0, i64 %7 @@ -41,7 +41,7 @@ define void @drand_generate(ptr nocapture noundef writeonly %0, i32 noundef %1) 6: ; preds = %6, %4 %7 = phi i64 [ 0, %4 ], [ %12, %6 ] - %8 = tail call i32 @rand() #6 + %8 = tail call i32 @rand() #5 %9 = sitofp i32 %8 to double %10 = fdiv double %9, 0x41DFFFFFFFC00000 %11 = getelementptr inbounds double, ptr %0, i64 %7 @@ -85,7 +85,7 @@ define float @smatrix_difference(ptr noundef %0, ptr nocapture noundef readonly br i1 %23, label %.loopexit.us, label %15, !llvm.loop !13 .loopexit.us: ; preds = %15 - %24 = tail call float @cblas_snrm2(i32 noundef %2, ptr noundef nonnull %12, i32 noundef 1) #6 + %24 = tail call float @cblas_snrm2(i32 noundef %2, ptr noundef nonnull %12, i32 noundef 1) #5 %25 = fadd float %13, %24 %26 = getelementptr inbounds float, ptr %12, i64 %9 %27 = getelementptr inbounds float, ptr %11, i64 %9 @@ -97,7 +97,7 @@ define float @smatrix_difference(ptr noundef %0, ptr nocapture noundef readonly %30 = phi ptr [ %35, %.split ], [ %0, %7 ] %31 = phi float [ %34, %.split ], [ 0.000000e+00, %7 ] %32 = phi i32 [ %36, %.split ], [ 0, %7 ] - %33 = tail call float @cblas_snrm2(i32 noundef %2, ptr noundef %30, i32 noundef 1) #6 + %33 = tail call float @cblas_snrm2(i32 noundef %2, ptr noundef %30, i32 noundef 1) #5 %34 = fadd float %31, %33 %35 = getelementptr inbounds float, ptr %30, i64 %9 %36 = add nuw nsw i32 %32, 1 @@ -144,7 +144,7 @@ define double @dmatrix_difference(ptr noundef %0, ptr nocapture noundef readonly br i1 %23, label %.loopexit.us, label %15, !llvm.loop !15 .loopexit.us: ; preds = %15 - %24 = tail call double @cblas_dnrm2(i32 noundef %2, ptr noundef nonnull %12, i32 noundef 1) #6 + %24 = tail call double @cblas_dnrm2(i32 noundef %2, ptr noundef nonnull %12, i32 noundef 1) #5 %25 = fadd double %13, %24 %26 = getelementptr inbounds double, ptr %12, i64 %9 %27 = getelementptr inbounds double, ptr %11, i64 %9 @@ -156,7 +156,7 @@ define double @dmatrix_difference(ptr noundef %0, ptr nocapture noundef readonly %30 = phi ptr [ %35, %.split ], [ %0, %7 ] %31 = phi double [ %34, %.split ], [ 0.000000e+00, %7 ] %32 = phi i32 [ %36, %.split ], [ 0, %7 ] - %33 = tail call double @cblas_dnrm2(i32 noundef %2, ptr noundef %30, i32 noundef 1) #6 + %33 = tail call double @cblas_dnrm2(i32 noundef %2, ptr noundef %30, i32 noundef 1) #5 %34 = fadd double %31, %33 %35 = getelementptr inbounds double, ptr %30, i64 %9 %36 = add nuw nsw i32 %32, 1 @@ -172,7 +172,7 @@ define double @dmatrix_difference(ptr noundef %0, ptr nocapture noundef readonly declare double @cblas_dnrm2(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @cconjugate_vector(i32 noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #3 { %4 = icmp sgt i32 %0, 0 br i1 %4, label %5, label %.loopexit @@ -198,7 +198,7 @@ define void @cconjugate_vector(i32 noundef %0, i32 noundef %1, ptr nocapture nou ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @zconjugate_vector(i32 noundef %0, i32 noundef %1, ptr nocapture noundef %2) local_unnamed_addr #3 { %4 = icmp sgt i32 %0, 0 br i1 %4, label %5, label %.loopexit @@ -225,7 +225,7 @@ define void @zconjugate_vector(i32 noundef %0, i32 noundef %1, ptr nocapture nou } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @stranspose(i32 noundef %0, i32 noundef %1, float noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5, i32 noundef %6) local_unnamed_addr #4 { +define void @stranspose(i32 noundef %0, i32 noundef %1, float noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5, i32 noundef %6) local_unnamed_addr #3 { %8 = icmp eq i32 %1, 0 br i1 %8, label %.loopexit2, label %9 @@ -266,7 +266,7 @@ define void @stranspose(i32 noundef %0, i32 noundef %1, float noundef %2, ptr no } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @dtranspose(i32 noundef %0, i32 noundef %1, double noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5, i32 noundef %6) local_unnamed_addr #4 { +define void @dtranspose(i32 noundef %0, i32 noundef %1, double noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5, i32 noundef %6) local_unnamed_addr #3 { %8 = icmp eq i32 %1, 0 br i1 %8, label %.loopexit2, label %9 @@ -307,7 +307,7 @@ define void @dtranspose(i32 noundef %0, i32 noundef %1, double noundef %2, ptr n } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @ctranspose(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #4 { +define void @ctranspose(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #3 { %9 = icmp eq i32 %1, 0 br i1 %9, label %.loopexit2, label %10 @@ -376,10 +376,10 @@ define void @ctranspose(i32 noundef %0, i32 noundef %1, ptr nocapture noundef re } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare float @llvm.fmuladd.f32(float, float, float) #5 +declare float @llvm.fmuladd.f32(float, float, float) #4 ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @ztranspose(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #4 { +define void @ztranspose(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #3 { %9 = icmp eq i32 %1, 0 br i1 %9, label %.loopexit2, label %10 @@ -448,10 +448,10 @@ define void @ztranspose(i32 noundef %0, i32 noundef %1, ptr nocapture noundef re } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare double @llvm.fmuladd.f64(double, double, double) #5 +declare double @llvm.fmuladd.f64(double, double, double) #4 ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @scopy(i32 noundef %0, i32 noundef %1, float noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5, i32 noundef %6) local_unnamed_addr #4 { +define void @scopy(i32 noundef %0, i32 noundef %1, float noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5, i32 noundef %6) local_unnamed_addr #3 { %8 = icmp eq i32 %0, 0 br i1 %8, label %.loopexit2, label %9 @@ -492,7 +492,7 @@ define void @scopy(i32 noundef %0, i32 noundef %1, float noundef %2, ptr nocaptu } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @dcopy(i32 noundef %0, i32 noundef %1, double noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5, i32 noundef %6) local_unnamed_addr #4 { +define void @dcopy(i32 noundef %0, i32 noundef %1, double noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5, i32 noundef %6) local_unnamed_addr #3 { %8 = icmp eq i32 %0, 0 br i1 %8, label %.loopexit2, label %9 @@ -533,7 +533,7 @@ define void @dcopy(i32 noundef %0, i32 noundef %1, double noundef %2, ptr nocapt } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @ccopy(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #4 { +define void @ccopy(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #3 { %9 = icmp eq i32 %0, 0 br i1 %9, label %.loopexit2, label %10 @@ -597,7 +597,7 @@ define void @ccopy(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonl } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define void @zcopy(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #4 { +define void @zcopy(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, i32 noundef %4, ptr nocapture noundef writeonly %5, i32 noundef %6, i32 noundef %7) local_unnamed_addr #3 { %9 = icmp eq i32 %0, 0 br i1 %9, label %.loopexit2, label %10 @@ -663,10 +663,9 @@ define void @zcopy(i32 noundef %0, i32 noundef %1, ptr nocapture noundef readonl attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="skylake-avx512" "target-features"="+adx,+aes,+avx,+avx2,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512vl,+bmi,+bmi2,+clflushopt,+clwb,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdrnd,+rdseed,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave,+xsavec,+xsaveopt,+xsaves" } attributes #1 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="skylake-avx512" "target-features"="+adx,+aes,+avx,+avx2,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512vl,+bmi,+bmi2,+clflushopt,+clwb,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdrnd,+rdseed,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave,+xsavec,+xsaveopt,+xsaves" } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="skylake-avx512" "target-features"="+adx,+aes,+avx,+avx2,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512vl,+bmi,+bmi2,+clflushopt,+clwb,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdrnd,+rdseed,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave,+xsavec,+xsaveopt,+xsaves" } -attributes #3 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="skylake-avx512" "target-features"="+adx,+aes,+avx,+avx2,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512vl,+bmi,+bmi2,+clflushopt,+clwb,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdrnd,+rdseed,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave,+xsavec,+xsaveopt,+xsaves" } -attributes #4 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="skylake-avx512" "target-features"="+adx,+aes,+avx,+avx2,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512vl,+bmi,+bmi2,+clflushopt,+clwb,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdrnd,+rdseed,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave,+xsavec,+xsaveopt,+xsaves" } -attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #6 = { nounwind } +attributes #3 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="skylake-avx512" "target-features"="+adx,+aes,+avx,+avx2,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512vl,+bmi,+bmi2,+clflushopt,+clwb,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdrnd,+rdseed,+sahf,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+x87,+xsave,+xsavec,+xsaveopt,+xsaves" } +attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2} diff --git a/bench/opencv/optimized/accum.dispatch.cpp.ll b/bench/opencv/optimized/accum.dispatch.cpp.ll index 472382e0298..f0ff874d911 100644 --- a/bench/opencv/optimized/accum.dispatch.cpp.ll +++ b/bench/opencv/optimized/accum.dispatch.cpp.ll @@ -3,7 +3,7 @@ source_filename = "bench/opencv/original/accum.dispatch.cpp.ll" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline9acc_simd_EPKhPfS2_ii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i = icmp eq ptr %2, null br i1 %.not.i, label %6, label %15 @@ -77,7 +77,7 @@ _ZN2cv12cpu_baseline12acc_general_IhfEEvPKT_PT0_PKhiii.exit: ; preds = %..loopex ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline9acc_simd_EPKtPfPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i = icmp eq ptr %2, null br i1 %.not.i, label %6, label %15 @@ -151,7 +151,7 @@ _ZN2cv12cpu_baseline12acc_general_ItfEEvPKT_PT0_PKhiii.exit: ; preds = %..loopex ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline9acc_simd_EPKfPfPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i = icmp eq ptr %2, null br i1 %.not.i, label %6, label %14 @@ -223,7 +223,7 @@ _ZN2cv12cpu_baseline12acc_general_IffEEvPKT_PT0_PKhiii.exit: ; preds = %..loopex ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline9acc_simd_EPKhPdS2_ii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i = icmp eq ptr %2, null br i1 %.not.i, label %6, label %15 @@ -297,7 +297,7 @@ _ZN2cv12cpu_baseline12acc_general_IhdEEvPKT_PT0_PKhiii.exit: ; preds = %..loopex ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline9acc_simd_EPKtPdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i = icmp eq ptr %2, null br i1 %.not.i, label %6, label %15 @@ -371,7 +371,7 @@ _ZN2cv12cpu_baseline12acc_general_ItdEEvPKT_PT0_PKhiii.exit: ; preds = %..loopex ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline9acc_simd_EPKfPdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i = icmp eq ptr %2, null br i1 %.not.i, label %6, label %15 @@ -445,7 +445,7 @@ _ZN2cv12cpu_baseline12acc_general_IfdEEvPKT_PT0_PKhiii.exit: ; preds = %..loopex ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline9acc_simd_EPKdPdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i = icmp eq ptr %2, null br i1 %.not.i, label %6, label %14 @@ -517,7 +517,7 @@ _ZN2cv12cpu_baseline12acc_general_IddEEvPKT_PT0_PKhiii.exit: ; preds = %..loopex ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline12accSqr_simd_EPKhPfS2_ii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i = icmp eq ptr %2, null br i1 %.not.i, label %6, label %15 @@ -591,7 +591,7 @@ _ZN2cv12cpu_baseline15accSqr_general_IhfEEvPKT_PT0_PKhiii.exit: ; preds = %..loo ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline12accSqr_simd_EPKtPfPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i = icmp eq ptr %2, null br i1 %.not.i, label %6, label %15 @@ -665,7 +665,7 @@ _ZN2cv12cpu_baseline15accSqr_general_ItfEEvPKT_PT0_PKhiii.exit: ; preds = %..loo ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline12accSqr_simd_EPKfPfPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i = icmp eq ptr %2, null br i1 %.not.i, label %6, label %14 @@ -737,7 +737,7 @@ _ZN2cv12cpu_baseline15accSqr_general_IffEEvPKT_PT0_PKhiii.exit: ; preds = %..loo ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline12accSqr_simd_EPKhPdS2_ii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i = icmp eq ptr %2, null br i1 %.not.i, label %6, label %15 @@ -811,7 +811,7 @@ _ZN2cv12cpu_baseline15accSqr_general_IhdEEvPKT_PT0_PKhiii.exit: ; preds = %..loo ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline12accSqr_simd_EPKtPdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i = icmp eq ptr %2, null br i1 %.not.i, label %6, label %15 @@ -885,7 +885,7 @@ _ZN2cv12cpu_baseline15accSqr_general_ItdEEvPKT_PT0_PKhiii.exit: ; preds = %..loo ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline12accSqr_simd_EPKfPdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i = icmp eq ptr %2, null br i1 %.not.i, label %6, label %15 @@ -959,7 +959,7 @@ _ZN2cv12cpu_baseline15accSqr_general_IfdEEvPKT_PT0_PKhiii.exit: ; preds = %..loo ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline12accSqr_simd_EPKdPdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i = icmp eq ptr %2, null br i1 %.not.i, label %6, label %14 @@ -1031,7 +1031,7 @@ _ZN2cv12cpu_baseline15accSqr_general_IddEEvPKT_PT0_PKhiii.exit: ; preds = %..loo ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline13accProd_simd_EPKhS2_PfS2_ii(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef readonly %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %.not.i = icmp eq ptr %3, null br i1 %.not.i, label %7, label %19 @@ -1113,7 +1113,7 @@ _ZN2cv12cpu_baseline16accProd_general_IhfEEvPKT_S4_PT0_PKhiii.exit: ; preds = %. ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline13accProd_simd_EPKtS2_PfPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef readonly %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %.not.i = icmp eq ptr %3, null br i1 %.not.i, label %7, label %19 @@ -1195,7 +1195,7 @@ _ZN2cv12cpu_baseline16accProd_general_ItfEEvPKT_S4_PT0_PKhiii.exit: ; preds = %. ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline13accProd_simd_EPKfS2_PfPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef readonly %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %.not.i = icmp eq ptr %3, null br i1 %.not.i, label %7, label %17 @@ -1273,7 +1273,7 @@ _ZN2cv12cpu_baseline16accProd_general_IffEEvPKT_S4_PT0_PKhiii.exit: ; preds = %. ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline13accProd_simd_EPKhS2_PdS2_ii(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef readonly %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %.not.i = icmp eq ptr %3, null br i1 %.not.i, label %7, label %19 @@ -1355,7 +1355,7 @@ _ZN2cv12cpu_baseline16accProd_general_IhdEEvPKT_S4_PT0_PKhiii.exit: ; preds = %. ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline13accProd_simd_EPKtS2_PdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef readonly %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %.not.i = icmp eq ptr %3, null br i1 %.not.i, label %7, label %19 @@ -1437,7 +1437,7 @@ _ZN2cv12cpu_baseline16accProd_general_ItdEEvPKT_S4_PT0_PKhiii.exit: ; preds = %. ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline13accProd_simd_EPKfS2_PdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef readonly %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %.not.i = icmp eq ptr %3, null br i1 %.not.i, label %7, label %19 @@ -1519,7 +1519,7 @@ _ZN2cv12cpu_baseline16accProd_general_IfdEEvPKT_S4_PT0_PKhiii.exit: ; preds = %. ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline13accProd_simd_EPKdS2_PdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef readonly %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %.not.i = icmp eq ptr %3, null br i1 %.not.i, label %7, label %17 @@ -1597,7 +1597,7 @@ _ZN2cv12cpu_baseline16accProd_general_IddEEvPKT_S4_PT0_PKhiii.exit: ; preds = %. ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline10accW_simd_EPKhPfS2_iid(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4, double noundef %5) local_unnamed_addr #0 { %7 = fptrunc double %5 to float %8 = fsub float 1.000000e+00, %7 @@ -1675,7 +1675,7 @@ _ZN2cv12cpu_baseline13accW_general_IhfEEvPKT_PT0_PKhiidi.exit: ; preds = %..loop ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline10accW_simd_EPKtPfPKhiid(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4, double noundef %5) local_unnamed_addr #0 { %7 = fptrunc double %5 to float %8 = fsub float 1.000000e+00, %7 @@ -1753,7 +1753,7 @@ _ZN2cv12cpu_baseline13accW_general_ItfEEvPKT_PT0_PKhiidi.exit: ; preds = %..loop ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline10accW_simd_EPKfPfPKhiid(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4, double noundef %5) local_unnamed_addr #0 { %7 = fptrunc double %5 to float %8 = fsub float 1.000000e+00, %7 @@ -1829,7 +1829,7 @@ _ZN2cv12cpu_baseline13accW_general_IffEEvPKT_PT0_PKhiidi.exit: ; preds = %..loop ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline10accW_simd_EPKhPdS2_iid(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4, double noundef %5) local_unnamed_addr #0 { %7 = fsub double 1.000000e+00, %5 %.not.i = icmp eq ptr %2, null @@ -1906,7 +1906,7 @@ _ZN2cv12cpu_baseline13accW_general_IhdEEvPKT_PT0_PKhiidi.exit: ; preds = %..loop ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline10accW_simd_EPKtPdPKhiid(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4, double noundef %5) local_unnamed_addr #0 { %7 = fsub double 1.000000e+00, %5 %.not.i = icmp eq ptr %2, null @@ -1983,7 +1983,7 @@ _ZN2cv12cpu_baseline13accW_general_ItdEEvPKT_PT0_PKhiidi.exit: ; preds = %..loop ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline10accW_simd_EPKfPdPKhiid(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4, double noundef %5) local_unnamed_addr #0 { %7 = fsub double 1.000000e+00, %5 %.not.i = icmp eq ptr %2, null @@ -2060,7 +2060,7 @@ _ZN2cv12cpu_baseline13accW_general_IfdEEvPKT_PT0_PKhiidi.exit: ; preds = %..loop ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12cpu_baseline10accW_simd_EPKdPdPKhiid(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4, double noundef %5) local_unnamed_addr #0 { %7 = fsub double 1.000000e+00, %5 %.not.i = icmp eq ptr %2, null @@ -2135,7 +2135,7 @@ _ZN2cv12cpu_baseline13accW_general_IddEEvPKT_PT0_PKhiidi.exit: ; preds = %..loop ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv9acc_8u32fEPKhPfS1_ii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %2, null br i1 %.not.i.i, label %6, label %15 @@ -2209,7 +2209,7 @@ _ZN2cv12cpu_baseline9acc_simd_EPKhPfS2_ii.exit: ; preds = %..loopexit37_crit_e ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12accSqr_8u32fEPKhPfS1_ii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %2, null br i1 %.not.i.i, label %6, label %15 @@ -2283,7 +2283,7 @@ _ZN2cv12cpu_baseline12accSqr_simd_EPKhPfS2_ii.exit: ; preds = %..loopexit41_crit ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv13accProd_8u32fEPKhS1_PfS1_ii(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef readonly %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %3, null br i1 %.not.i.i, label %7, label %19 @@ -2365,7 +2365,7 @@ _ZN2cv12cpu_baseline13accProd_simd_EPKhS2_PfS2_ii.exit: ; preds = %..loopexit47_ ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv10accW_8u32fEPKhPfS1_iid(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4, double noundef %5) local_unnamed_addr #0 { %7 = fptrunc double %5 to float %8 = fsub float 1.000000e+00, %7 @@ -2443,7 +2443,7 @@ _ZN2cv12cpu_baseline10accW_simd_EPKhPfS2_iid.exit: ; preds = %..loopexit47_crit_ ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv9acc_8u64fEPKhPdS1_ii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %2, null br i1 %.not.i.i, label %6, label %15 @@ -2517,7 +2517,7 @@ _ZN2cv12cpu_baseline9acc_simd_EPKhPdS2_ii.exit: ; preds = %..loopexit37_crit_e ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv12accSqr_8u64fEPKhPdS1_ii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %2, null br i1 %.not.i.i, label %6, label %15 @@ -2591,7 +2591,7 @@ _ZN2cv12cpu_baseline12accSqr_simd_EPKhPdS2_ii.exit: ; preds = %..loopexit41_crit ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv13accProd_8u64fEPKhS1_PdS1_ii(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef readonly %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %3, null br i1 %.not.i.i, label %7, label %19 @@ -2673,7 +2673,7 @@ _ZN2cv12cpu_baseline13accProd_simd_EPKhS2_PdS2_ii.exit: ; preds = %..loopexit47_ ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv10accW_8u64fEPKhPdS1_iid(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4, double noundef %5) local_unnamed_addr #0 { %7 = fsub double 1.000000e+00, %5 %.not.i.i = icmp eq ptr %2, null @@ -2750,7 +2750,7 @@ _ZN2cv12cpu_baseline10accW_simd_EPKhPdS2_iid.exit: ; preds = %..loopexit47_crit_ ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv10acc_16u32fEPKtPfPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %2, null br i1 %.not.i.i, label %6, label %15 @@ -2824,7 +2824,7 @@ _ZN2cv12cpu_baseline9acc_simd_EPKtPfPKhii.exit: ; preds = %..loopexit37_crit_e ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv13accSqr_16u32fEPKtPfPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %2, null br i1 %.not.i.i, label %6, label %15 @@ -2898,7 +2898,7 @@ _ZN2cv12cpu_baseline12accSqr_simd_EPKtPfPKhii.exit: ; preds = %..loopexit41_crit ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv14accProd_16u32fEPKtS1_PfPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef readonly %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %3, null br i1 %.not.i.i, label %7, label %19 @@ -2980,7 +2980,7 @@ _ZN2cv12cpu_baseline13accProd_simd_EPKtS2_PfPKhii.exit: ; preds = %..loopexit47_ ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv11accW_16u32fEPKtPfPKhiid(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4, double noundef %5) local_unnamed_addr #0 { %7 = fptrunc double %5 to float %8 = fsub float 1.000000e+00, %7 @@ -3058,7 +3058,7 @@ _ZN2cv12cpu_baseline10accW_simd_EPKtPfPKhiid.exit: ; preds = %..loopexit47_crit_ ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv10acc_16u64fEPKtPdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %2, null br i1 %.not.i.i, label %6, label %15 @@ -3132,7 +3132,7 @@ _ZN2cv12cpu_baseline9acc_simd_EPKtPdPKhii.exit: ; preds = %..loopexit37_crit_e ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv13accSqr_16u64fEPKtPdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %2, null br i1 %.not.i.i, label %6, label %15 @@ -3206,7 +3206,7 @@ _ZN2cv12cpu_baseline12accSqr_simd_EPKtPdPKhii.exit: ; preds = %..loopexit41_crit ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv14accProd_16u64fEPKtS1_PdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef readonly %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %3, null br i1 %.not.i.i, label %7, label %19 @@ -3288,7 +3288,7 @@ _ZN2cv12cpu_baseline13accProd_simd_EPKtS2_PdPKhii.exit: ; preds = %..loopexit47_ ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv11accW_16u64fEPKtPdPKhiid(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4, double noundef %5) local_unnamed_addr #0 { %7 = fsub double 1.000000e+00, %5 %.not.i.i = icmp eq ptr %2, null @@ -3365,7 +3365,7 @@ _ZN2cv12cpu_baseline10accW_simd_EPKtPdPKhiid.exit: ; preds = %..loopexit47_crit_ ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv7acc_32fEPKfPfPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %2, null br i1 %.not.i.i, label %6, label %14 @@ -3437,7 +3437,7 @@ _ZN2cv12cpu_baseline9acc_simd_EPKfPfPKhii.exit: ; preds = %..loopexit37_crit_e ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv10accSqr_32fEPKfPfPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %2, null br i1 %.not.i.i, label %6, label %14 @@ -3509,7 +3509,7 @@ _ZN2cv12cpu_baseline12accSqr_simd_EPKfPfPKhii.exit: ; preds = %..loopexit41_crit ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv11accProd_32fEPKfS1_PfPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef readonly %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %3, null br i1 %.not.i.i, label %7, label %17 @@ -3587,7 +3587,7 @@ _ZN2cv12cpu_baseline13accProd_simd_EPKfS2_PfPKhii.exit: ; preds = %..loopexit47_ ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv8accW_32fEPKfPfPKhiid(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4, double noundef %5) local_unnamed_addr #0 { %7 = fptrunc double %5 to float %8 = fsub float 1.000000e+00, %7 @@ -3663,7 +3663,7 @@ _ZN2cv12cpu_baseline10accW_simd_EPKfPfPKhiid.exit: ; preds = %..loopexit47_crit_ ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv10acc_32f64fEPKfPdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %2, null br i1 %.not.i.i, label %6, label %15 @@ -3737,7 +3737,7 @@ _ZN2cv12cpu_baseline9acc_simd_EPKfPdPKhii.exit: ; preds = %..loopexit37_crit_e ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv13accSqr_32f64fEPKfPdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %2, null br i1 %.not.i.i, label %6, label %15 @@ -3811,7 +3811,7 @@ _ZN2cv12cpu_baseline12accSqr_simd_EPKfPdPKhii.exit: ; preds = %..loopexit41_crit ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv14accProd_32f64fEPKfS1_PdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef readonly %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %3, null br i1 %.not.i.i, label %7, label %19 @@ -3893,7 +3893,7 @@ _ZN2cv12cpu_baseline13accProd_simd_EPKfS2_PdPKhii.exit: ; preds = %..loopexit47_ ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv11accW_32f64fEPKfPdPKhiid(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4, double noundef %5) local_unnamed_addr #0 { %7 = fsub double 1.000000e+00, %5 %.not.i.i = icmp eq ptr %2, null @@ -3970,7 +3970,7 @@ _ZN2cv12cpu_baseline10accW_simd_EPKfPdPKhiid.exit: ; preds = %..loopexit47_crit_ ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv7acc_64fEPKdPdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %2, null br i1 %.not.i.i, label %6, label %14 @@ -4042,7 +4042,7 @@ _ZN2cv12cpu_baseline9acc_simd_EPKdPdPKhii.exit: ; preds = %..loopexit37_crit_e ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv10accSqr_64fEPKdPdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %2, null br i1 %.not.i.i, label %6, label %14 @@ -4114,7 +4114,7 @@ _ZN2cv12cpu_baseline12accSqr_simd_EPKdPdPKhii.exit: ; preds = %..loopexit41_crit ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv11accProd_64fEPKdS1_PdPKhii(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr noundef readonly %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #0 { %.not.i.i = icmp eq ptr %3, null br i1 %.not.i.i, label %7, label %17 @@ -4192,7 +4192,7 @@ _ZN2cv12cpu_baseline13accProd_simd_EPKdS2_PdPKhii.exit: ; preds = %..loopexit47_ ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv8accW_64fEPKdPdPKhiid(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 noundef %3, i32 noundef %4, double noundef %5) local_unnamed_addr #0 { %7 = fsub double 1.000000e+00, %5 %.not.i.i = icmp eq ptr %2, null @@ -4273,7 +4273,7 @@ declare float @llvm.fmuladd.f32(float, float, float) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 -attributes #0 = { mustprogress 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,+sse3,+x87" "tune-cpu"="generic" } +attributes #0 = { mustprogress 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,+sse3,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/opencv/optimized/cap_mjpeg_encoder.cpp.ll b/bench/opencv/optimized/cap_mjpeg_encoder.cpp.ll index 2dab97455be..6e9e63710a7 100644 --- a/bench/opencv/optimized/cap_mjpeg_encoder.cpp.ll +++ b/bench/opencv/optimized/cap_mjpeg_encoder.cpp.ll @@ -1867,34 +1867,34 @@ define linkonce_odr hidden void @_ZNK2cv5mjpeg12MjpegEncoderclERKNS_5RangeE(ptr %74 = load i32, ptr %18, align 4 %75 = load i32, ptr %25, align 8 call void @_ZN2cv5mjpeg12convertToYUVEiiiPsS1_PKhiiiii(i32 noundef %73, i32 noundef %74, i32 noundef %63, ptr noundef nonnull %54, ptr noundef nonnull %17, ptr noundef %66, i32 noundef %.0150.us, i32 noundef %spec.select.us, i32 noundef %75, i32 noundef %29, i32 noundef %30) - br label %76 - -76: ; preds = %.lr.ph.us, %76 - %.0143289.us = phi i32 [ 0, %.lr.ph.us ], [ %94, %76 ] - %77 = icmp uge i32 %.0143289.us, %22 - %78 = zext i1 %77 to i64 - %79 = and i32 %.0143289.us, 2147483646 - %80 = zext nneg i32 %79 to i64 - %81 = getelementptr inbounds [6 x [64 x i16]], ptr %17, i64 0, i64 %80 - %82 = shl i32 %.0143289.us, 3 - %83 = and i32 %82, 8 - %84 = zext nneg i32 %83 to i64 - %85 = getelementptr inbounds i16, ptr %81, i64 %84 - %86 = load ptr, ptr %61, align 8 - %87 = getelementptr inbounds [2 x [64 x i16]], ptr %86, i64 0, i64 %78 - call fastcc void @_ZN2cv5mjpegL11aan_fdct8x8EPKsPsiS2_(ptr noundef nonnull %85, ptr noundef nonnull %15, i32 noundef %21, ptr noundef %87) + %76 = load ptr, ptr %61, align 8 + br label %77 + +77: ; preds = %.lr.ph.us, %77 + %.0143289.us = phi i32 [ 0, %.lr.ph.us ], [ %94, %77 ] + %78 = icmp uge i32 %.0143289.us, %22 + %79 = zext i1 %78 to i64 + %80 = and i32 %.0143289.us, 2147483646 + %81 = zext nneg i32 %80 to i64 + %82 = getelementptr inbounds [6 x [64 x i16]], ptr %17, i64 0, i64 %81 + %83 = shl i32 %.0143289.us, 3 + %84 = and i32 %83, 8 + %85 = zext nneg i32 %84 to i64 + %86 = getelementptr inbounds i16, ptr %82, i64 %85 + %87 = getelementptr inbounds [2 x [64 x i16]], ptr %76, i64 0, i64 %79 + call fastcc void @_ZN2cv5mjpegL11aan_fdct8x8EPKsPsiS2_(ptr noundef nonnull %86, ptr noundef nonnull %15, i32 noundef %21, ptr noundef %87) %88 = icmp ugt i32 %.0143289.us, %22 %89 = zext i1 %88 to i64 - %90 = add nuw nsw i64 %78, %89 + %90 = add nuw nsw i64 %79, %89 %91 = load i16, ptr %15, align 16 %92 = sext i16 %91 to i32 %93 = getelementptr inbounds [3 x i32], ptr %16, i64 0, i64 %90 store i32 %92, ptr %93, align 4 %94 = add nuw nsw i32 %.0143289.us, 1 %exitcond.not = icmp eq i32 %94, %.fr330 - br i1 %exitcond.not, label %..loopexit279_crit_edge.us, label %76, !llvm.loop !51 + br i1 %exitcond.not, label %..loopexit279_crit_edge.us, label %77, !llvm.loop !51 -..loopexit279_crit_edge.us: ; preds = %76 +..loopexit279_crit_edge.us: ; preds = %77 %95 = load i32, ptr %49, align 4 %96 = icmp slt i32 %67, %95 br i1 %96, label %.lr.ph.us, label %.loopexit280, !llvm.loop !52 @@ -4170,7 +4170,7 @@ define linkonce_odr hidden void @_ZN2cv5mjpeg12convertToYUVEiiiPsS1_PKhiiiii(i32 ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal fastcc void @_ZN2cv5mjpegL11aan_fdct8x8EPKsPsiS2_(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, i32 noundef %2, ptr nocapture noundef readonly %3) unnamed_addr #14 { %5 = alloca [64 x i32], align 16 %6 = zext nneg i32 %2 to i64 @@ -5876,7 +5876,7 @@ attributes #10 = { mustprogress nocallback nofree nosync nounwind speculatable w attributes #11 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #12 = { nobuiltin allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+sse3,+x87" "tune-cpu"="generic" } attributes #13 = { nobuiltin 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,+sse3,+x87" "tune-cpu"="generic" } -attributes #14 = { mustprogress 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,+sse3,+x87" "tune-cpu"="generic" } +attributes #14 = { mustprogress 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,+sse3,+x87" "tune-cpu"="generic" } attributes #15 = { 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,+sse3,+x87" "tune-cpu"="generic" } attributes #16 = { 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,+sse3,+x87" "tune-cpu"="generic" } attributes #17 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } diff --git a/bench/opencv/optimized/conv_depthwise.cpp.ll b/bench/opencv/optimized/conv_depthwise.cpp.ll index d9f3bfcbd70..c4c89a333c6 100644 --- a/bench/opencv/optimized/conv_depthwise.cpp.ll +++ b/bench/opencv/optimized/conv_depthwise.cpp.ll @@ -152,14 +152,14 @@ _ZNK2cv11_InputArray6getMatEi.exit97: ; preds = %56, %59 br i1 %64, label %65, label %_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.exit.i.i 65: ; preds = %63 - invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.6) #17 + invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.6) #16 to label %.noexc124 unwind label %_ZNSt6vectorIiSaIiEED2Ev.exit.i.i .noexc124: ; preds = %65 unreachable _ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.exit.i.i: ; preds = %63 - %66 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %.idx) #18 + %66 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %.idx) #17 to label %.noexc125 unwind label %_ZNSt6vectorIiSaIiEED2Ev.exit.i.i .noexc125: ; preds = %_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.exit.i.i @@ -189,14 +189,14 @@ _ZN2cv3dnn14dnn4_v20240521L5shapeERKNS_3MatE.exit: ; preds = %_ZNK2cv11_InputArr br i1 %73, label %74, label %_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.exit.i.i141 74: ; preds = %72 - invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.6) #17 + invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.6) #16 to label %.noexc146 unwind label %_ZNSt6vectorIiSaIiEED2Ev.exit.i.i99 .noexc146: ; preds = %74 unreachable _ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.exit.i.i141: ; preds = %72 - %75 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %.idx197) #18 + %75 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %.idx197) #17 to label %.noexc147 unwind label %_ZNSt6vectorIiSaIiEED2Ev.exit.i.i99 .noexc147: ; preds = %_ZNSt12_Vector_baseIiSaIiEE11_M_allocateEm.exit.i.i141 @@ -226,12 +226,12 @@ _ZN2cv3dnn14dnn4_v20240521L5shapeERKNS_3MatE.exit102: ; preds = %_ZN2cv3dnn14dnn br label %297 84: ; preds = %_ZN2cv3dnn14dnn4_v20240521L5shapeERKNS_3MatE.exit102 - call void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #19 + call void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #18 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @.str, ptr noundef nonnull align 1 dereferenceable(1) %13) to label %85 unwind label %87 85: ; preds = %84 - invoke void @_ZN2cv5errorEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcS9_i(i32 noundef -215, ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @__func__._ZN2cv3dnn12runDepthwiseERKNS_11_InputArrayERKNS_12_OutputArrayERKNS_3PtrINS0_8FastConvEEEPNS0_14dnn4_v2024052115ActivationLayerERKSt6vectorIfSaIfEEb, ptr noundef nonnull @.str.1, i32 noundef 39) #17 + invoke void @_ZN2cv5errorEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcS9_i(i32 noundef -215, ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @__func__._ZN2cv3dnn12runDepthwiseERKNS_11_InputArrayERKNS_12_OutputArrayERKNS_3PtrINS0_8FastConvEEEPNS0_14dnn4_v2024052115ActivationLayerERKSt6vectorIfSaIfEEb, ptr noundef nonnull @.str.1, i32 noundef 39) #16 to label %86 unwind label %89 86: ; preds = %85 @@ -245,12 +245,12 @@ _ZN2cv3dnn14dnn4_v20240521L5shapeERKNS_3MatE.exit102: ; preds = %_ZN2cv3dnn14dnn 89: ; preds = %85 %90 = landingpad { ptr, i32 } cleanup - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #19 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #18 br label %91 91: ; preds = %89, %87 %.pn = phi { ptr, i32 } [ %90, %89 ], [ %88, %87 ] - call void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #19 + call void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #18 br label %_ZNSt6vectorIiSaIiEED2Ev.exit117 92: ; preds = %_ZN2cv3dnn14dnn4_v20240521L5shapeERKNS_3MatE.exit102 @@ -261,12 +261,12 @@ _ZN2cv3dnn14dnn4_v20240521L5shapeERKNS_3MatE.exit102: ; preds = %_ZN2cv3dnn14dnn br i1 %96, label %105, label %97 97: ; preds = %92 - call void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #19 + call void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #18 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %15) to label %98 unwind label %100 98: ; preds = %97 - invoke void @_ZN2cv5errorEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcS9_i(i32 noundef -215, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @__func__._ZN2cv3dnn12runDepthwiseERKNS_11_InputArrayERKNS_12_OutputArrayERKNS_3PtrINS0_8FastConvEEEPNS0_14dnn4_v2024052115ActivationLayerERKSt6vectorIfSaIfEEb, ptr noundef nonnull @.str.1, i32 noundef 40) #17 + invoke void @_ZN2cv5errorEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcS9_i(i32 noundef -215, ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @__func__._ZN2cv3dnn12runDepthwiseERKNS_11_InputArrayERKNS_12_OutputArrayERKNS_3PtrINS0_8FastConvEEEPNS0_14dnn4_v2024052115ActivationLayerERKSt6vectorIfSaIfEEb, ptr noundef nonnull @.str.1, i32 noundef 40) #16 to label %99 unwind label %102 99: ; preds = %98 @@ -280,12 +280,12 @@ _ZN2cv3dnn14dnn4_v20240521L5shapeERKNS_3MatE.exit102: ; preds = %_ZN2cv3dnn14dnn 102: ; preds = %98 %103 = landingpad { ptr, i32 } cleanup - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #19 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #18 br label %104 104: ; preds = %102, %100 %.pn75 = phi { ptr, i32 } [ %103, %102 ], [ %101, %100 ] - call void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #19 + call void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #18 br label %_ZNSt6vectorIiSaIiEED2Ev.exit117 105: ; preds = %92 @@ -297,12 +297,12 @@ _ZN2cv3dnn14dnn4_v20240521L5shapeERKNS_3MatE.exit102: ; preds = %_ZN2cv3dnn14dnn br i1 %or.cond, label %117, label %109 109: ; preds = %105 - call void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #19 + call void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #18 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %18) to label %110 unwind label %112 110: ; preds = %109 - invoke void @_ZN2cv5errorEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcS9_i(i32 noundef -215, ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @__func__._ZN2cv3dnn12runDepthwiseERKNS_11_InputArrayERKNS_12_OutputArrayERKNS_3PtrINS0_8FastConvEEEPNS0_14dnn4_v2024052115ActivationLayerERKSt6vectorIfSaIfEEb, ptr noundef nonnull @.str.1, i32 noundef 44) #17 + invoke void @_ZN2cv5errorEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcS9_i(i32 noundef -215, ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull @__func__._ZN2cv3dnn12runDepthwiseERKNS_11_InputArrayERKNS_12_OutputArrayERKNS_3PtrINS0_8FastConvEEEPNS0_14dnn4_v2024052115ActivationLayerERKSt6vectorIfSaIfEEb, ptr noundef nonnull @.str.1, i32 noundef 44) #16 to label %111 unwind label %114 111: ; preds = %110 @@ -316,12 +316,12 @@ _ZN2cv3dnn14dnn4_v20240521L5shapeERKNS_3MatE.exit102: ; preds = %_ZN2cv3dnn14dnn 114: ; preds = %110 %115 = landingpad { ptr, i32 } cleanup - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #19 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #18 br label %116 116: ; preds = %114, %112 %.pn77 = phi { ptr, i32 } [ %115, %114 ], [ %113, %112 ] - call void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #19 + call void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #18 br label %_ZNSt6vectorIiSaIiEED2Ev.exit117 117: ; preds = %105 @@ -390,12 +390,12 @@ _ZN2cv3dnn14dnn4_v20240521L5shapeERKNS_3MatE.exit102: ; preds = %_ZN2cv3dnn14dnn br i1 %or.cond91, label %168, label %160 160: ; preds = %146 - call void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #19 + call void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #18 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull @.str.4, ptr noundef nonnull align 1 dereferenceable(1) %30) to label %161 unwind label %163 161: ; preds = %160 - invoke void @_ZN2cv5errorEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcS9_i(i32 noundef -215, ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull @__func__._ZN2cv3dnn12runDepthwiseERKNS_11_InputArrayERKNS_12_OutputArrayERKNS_3PtrINS0_8FastConvEEEPNS0_14dnn4_v2024052115ActivationLayerERKSt6vectorIfSaIfEEb, ptr noundef nonnull @.str.1, i32 noundef 61) #17 + invoke void @_ZN2cv5errorEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcS9_i(i32 noundef -215, ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull @__func__._ZN2cv3dnn12runDepthwiseERKNS_11_InputArrayERKNS_12_OutputArrayERKNS_3PtrINS0_8FastConvEEEPNS0_14dnn4_v2024052115ActivationLayerERKSt6vectorIfSaIfEEb, ptr noundef nonnull @.str.1, i32 noundef 61) #16 to label %162 unwind label %165 162: ; preds = %161 @@ -409,12 +409,12 @@ _ZN2cv3dnn14dnn4_v20240521L5shapeERKNS_3MatE.exit102: ; preds = %_ZN2cv3dnn14dnn 165: ; preds = %161 %166 = landingpad { ptr, i32 } cleanup - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #19 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #18 br label %167 167: ; preds = %165, %163 %.pn79 = phi { ptr, i32 } [ %166, %165 ], [ %164, %163 ] - call void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #19 + call void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #18 br label %_ZNSt6vectorIiSaIiEED2Ev.exit117.thread 168: ; preds = %146 @@ -457,7 +457,7 @@ _ZN2cv3dnn14dnn4_v20240521L5shapeERKNS_3MatE.exit102: ; preds = %_ZN2cv3dnn14dnn br i1 %195, label %196, label %_ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i 196: ; preds = %168 - invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.6) #17 + invoke void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.6) #16 to label %.noexc103 unwind label %214 .noexc103: ; preds = %196 @@ -469,7 +469,7 @@ _ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i: ; preds = %168 197: ; preds = %_ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i %198 = shl nsw i64 %194, 2 - %199 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %198) #18 + %199 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %198) #17 to label %.lr.ph.preheader unwind label %214 .lr.ph.preheader: ; preds = %197 @@ -538,12 +538,12 @@ _ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i: ; preds = %168 br label %_ZNSt8functionIFvRKN2cv5RangeEEED2Ev.exit115 232: ; preds = %223 - call void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #19 + call void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #18 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %44) to label %233 unwind label %235 233: ; preds = %232 - invoke void @_ZN2cv5errorEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcS9_i(i32 noundef -215, ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull @__func__._ZN2cv3dnn12runDepthwiseERKNS_11_InputArrayERKNS_12_OutputArrayERKNS_3PtrINS0_8FastConvEEEPNS0_14dnn4_v2024052115ActivationLayerERKSt6vectorIfSaIfEEb, ptr noundef nonnull @.str.1, i32 noundef 97) #17 + invoke void @_ZN2cv5errorEiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcS9_i(i32 noundef -215, ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull @__func__._ZN2cv3dnn12runDepthwiseERKNS_11_InputArrayERKNS_12_OutputArrayERKNS_3PtrINS0_8FastConvEEEPNS0_14dnn4_v2024052115ActivationLayerERKSt6vectorIfSaIfEEb, ptr noundef nonnull @.str.1, i32 noundef 97) #16 to label %234 unwind label %237 234: ; preds = %233 @@ -557,12 +557,12 @@ _ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i: ; preds = %168 237: ; preds = %233 %238 = landingpad { ptr, i32 } cleanup - call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #19 + call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #18 br label %239 239: ; preds = %237, %235 %.pn81 = phi { ptr, i32 } [ %238, %237 ], [ %236, %235 ] - call void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #19 + call void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #18 br label %_ZNSt8functionIFvRKN2cv5RangeEEED2Ev.exit115 240: ; preds = %217, %223 @@ -573,7 +573,7 @@ _ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i: ; preds = %168 store i32 %242, ptr %243, align 4 %244 = getelementptr inbounds i8, ptr %46, i64 16 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %46, i8 0, i64 32, i1 false) - %245 = invoke noalias noundef nonnull dereferenceable(192) ptr @_Znwm(i64 noundef 192) #18 + %245 = invoke noalias noundef nonnull dereferenceable(192) ptr @_Znwm(i64 noundef 192) #17 to label %246 unwind label %230 246: ; preds = %240 @@ -632,7 +632,7 @@ _ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i: ; preds = %168 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) %248 = getelementptr inbounds i8, ptr %8, i64 16 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %8, i8 0, i64 32, i1 false) - %249 = invoke noalias noundef nonnull dereferenceable(192) ptr @_Znwm(i64 noundef 192) #18 + %249 = invoke noalias noundef nonnull dereferenceable(192) ptr @_Znwm(i64 noundef 192) #17 to label %252 unwind label %250 250: ; preds = %246 @@ -650,13 +650,13 @@ _ZNSt6vectorIiSaIiEE17_S_check_init_lenEmRKS0_.exit.i: ; preds = %168 %254 = getelementptr inbounds i8, ptr %7, i64 8 %255 = getelementptr inbounds i8, ptr %7, i64 24 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %254, i8 0, i64 32, i1 false) - %256 = invoke noalias noundef nonnull dereferenceable(192) ptr @_Znwm(i64 noundef 192) #18 + %256 = invoke noalias noundef nonnull dereferenceable(192) ptr @_Znwm(i64 noundef 192) #17 to label %_ZN2cv29ParallelLoopBodyLambdaWrapperC2ESt8functionIFvRKNS_5RangeEEE.exit.i unwind label %.body.i.i .body.i.i: ; preds = %252 %257 = landingpad { ptr, i32 } cleanup - call void @_ZN2cv16ParallelLoopBodyD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #19 + call void @_ZN2cv16ParallelLoopBodyD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #18 br label %.body.i _ZN2cv29ParallelLoopBodyLambdaWrapperC2ESt8functionIFvRKNS_5RangeEEE.exit.i: ; preds = %252 @@ -682,11 +682,11 @@ _ZN2cv29ParallelLoopBodyLambdaWrapperC2ESt8functionIFvRKNS_5RangeEEE.exit.i: ; p %264 = landingpad { ptr, i32 } catch ptr null %265 = extractvalue { ptr, i32 } %264, 0 - call void @__clang_call_terminate(ptr %265) #20 + call void @__clang_call_terminate(ptr %265) #19 unreachable _ZN2cv29ParallelLoopBodyLambdaWrapperD2Ev.exit.i: ; preds = %261, %259 - call void @_ZN2cv16ParallelLoopBodyD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #19 + call void @_ZN2cv16ParallelLoopBodyD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #18 %266 = load ptr, ptr %248, align 8 %.not.i.i6.i = icmp eq ptr %266, null br i1 %.not.i.i6.i, label %280, label %267 @@ -699,13 +699,13 @@ _ZN2cv29ParallelLoopBodyLambdaWrapperD2Ev.exit.i: ; preds = %261, %259 %270 = landingpad { ptr, i32 } catch ptr null %271 = extractvalue { ptr, i32 } %270, 0 - call void @__clang_call_terminate(ptr %271) #20 + call void @__clang_call_terminate(ptr %271) #19 unreachable 272: ; preds = %_ZN2cv29ParallelLoopBodyLambdaWrapperC2ESt8functionIFvRKNS_5RangeEEE.exit.i %273 = landingpad { ptr, i32 } cleanup - call void @_ZN2cv29ParallelLoopBodyLambdaWrapperD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #19 + call void @_ZN2cv29ParallelLoopBodyLambdaWrapperD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #18 br label %.body.i .body.i: ; preds = %272, %.body.i.i @@ -722,7 +722,7 @@ _ZN2cv29ParallelLoopBodyLambdaWrapperD2Ev.exit.i: ; preds = %261, %259 %278 = landingpad { ptr, i32 } catch ptr null %279 = extractvalue { ptr, i32 } %278, 0 - call void @__clang_call_terminate(ptr %279) #20 + call void @__clang_call_terminate(ptr %279) #19 unreachable 280: ; preds = %267, %_ZN2cv29ParallelLoopBodyLambdaWrapperD2Ev.exit.i @@ -740,7 +740,7 @@ _ZN2cv29ParallelLoopBodyLambdaWrapperD2Ev.exit.i: ; preds = %261, %259 %285 = landingpad { ptr, i32 } catch ptr null %286 = extractvalue { ptr, i32 } %285, 0 - call void @__clang_call_terminate(ptr %286) #20 + call void @__clang_call_terminate(ptr %286) #19 unreachable _ZNSt8functionIFvRKN2cv5RangeEEED2Ev.exit: ; preds = %280, %282 @@ -748,7 +748,7 @@ _ZNSt8functionIFvRKN2cv5RangeEEED2Ev.exit: ; preds = %280, %282 br i1 %.not.i.i.i109, label %_ZNSt6vectorIiSaIiEED2Ev.exit, label %287 287: ; preds = %_ZNSt8functionIFvRKN2cv5RangeEEED2Ev.exit - call void @_ZdlPv(ptr noundef nonnull %.sroa.0149.0205) #21 + call void @_ZdlPv(ptr noundef nonnull %.sroa.0149.0205) #20 br label %_ZNSt6vectorIiSaIiEED2Ev.exit _ZNSt6vectorIiSaIiEED2Ev.exit: ; preds = %_ZNSt8functionIFvRKN2cv5RangeEEED2Ev.exit, %287 @@ -756,13 +756,13 @@ _ZNSt6vectorIiSaIiEED2Ev.exit: ; preds = %_ZNSt8functionIFvRK br i1 %.not.i.i.i110, label %_ZNSt6vectorIiSaIiEED2Ev.exit113, label %288 288: ; preds = %_ZNSt6vectorIiSaIiEED2Ev.exit - call void @_ZdlPv(ptr noundef nonnull %.sroa.0157.0) #21 + call void @_ZdlPv(ptr noundef nonnull %.sroa.0157.0) #20 br label %_ZNSt6vectorIiSaIiEED2Ev.exit113 _ZNSt6vectorIiSaIiEED2Ev.exit113: ; preds = %_ZNSt6vectorIiSaIiEED2Ev.exit, %288 - call void @_ZdlPv(ptr noundef nonnull %.sroa.0171.0) #21 - call void @_ZN2cv3MatD1Ev(ptr noundef nonnull align 8 dereferenceable(96) %11) #19 - call void @_ZN2cv3MatD1Ev(ptr noundef nonnull align 8 dereferenceable(96) %10) #19 + call void @_ZdlPv(ptr noundef nonnull %.sroa.0171.0) #20 + call void @_ZN2cv3MatD1Ev(ptr noundef nonnull align 8 dereferenceable(96) %11) #18 + call void @_ZN2cv3MatD1Ev(ptr noundef nonnull align 8 dereferenceable(96) %10) #18 ret void .body107: ; preds = %250, %.body.i, %275 @@ -779,7 +779,7 @@ _ZNSt6vectorIiSaIiEED2Ev.exit113: ; preds = %_ZNSt6vectorIiSaIiE %293 = landingpad { ptr, i32 } catch ptr null %294 = extractvalue { ptr, i32 } %293, 0 - call void @__clang_call_terminate(ptr %294) #20 + call void @__clang_call_terminate(ptr %294) #19 unreachable _ZNSt8functionIFvRKN2cv5RangeEEED2Ev.exit115: ; preds = %290, %.body107, %239, %230 @@ -788,7 +788,7 @@ _ZNSt8functionIFvRKN2cv5RangeEEED2Ev.exit115: ; preds = %290, %.body107, %23 br i1 %.not.i.i.i116, label %_ZNSt6vectorIiSaIiEED2Ev.exit117, label %295 295: ; preds = %_ZNSt8functionIFvRKN2cv5RangeEEED2Ev.exit115 - call void @_ZdlPv(ptr noundef nonnull %.sroa.0149.0205) #21 + call void @_ZdlPv(ptr noundef nonnull %.sroa.0149.0205) #20 br label %_ZNSt6vectorIiSaIiEED2Ev.exit117 _ZNSt6vectorIiSaIiEED2Ev.exit117: ; preds = %295, %_ZNSt8functionIFvRKN2cv5RangeEEED2Ev.exit115, %116, %104, %91 @@ -798,7 +798,7 @@ _ZNSt6vectorIiSaIiEED2Ev.exit117: ; preds = %295, %_ZNSt8functio _ZNSt6vectorIiSaIiEED2Ev.exit117.thread: ; preds = %167, %214, %_ZNSt6vectorIiSaIiEED2Ev.exit117 %.pn83.pn192 = phi { ptr, i32 } [ %.pn83.pn, %_ZNSt6vectorIiSaIiEED2Ev.exit117 ], [ %.pn79, %167 ], [ %215, %214 ] - call void @_ZdlPv(ptr noundef nonnull %.sroa.0157.0) #21 + call void @_ZdlPv(ptr noundef nonnull %.sroa.0157.0) #20 br label %.body100 .body100: ; preds = %_ZNSt6vectorIiSaIiEED2Ev.exit117.thread, %_ZNSt6vectorIiSaIiEED2Ev.exit117, %_ZNSt6vectorIiSaIiEED2Ev.exit.i.i99 @@ -807,17 +807,17 @@ _ZNSt6vectorIiSaIiEED2Ev.exit117.thread: ; preds = %167, %214, %_ZNSt6v br i1 %.not.i.i.i120, label %.body, label %296 296: ; preds = %.body100 - call void @_ZdlPv(ptr noundef nonnull %.sroa.0171.0) #21 + call void @_ZdlPv(ptr noundef nonnull %.sroa.0171.0) #20 br label %.body .body: ; preds = %296, %.body100, %_ZNSt6vectorIiSaIiEED2Ev.exit.i.i %.pn83.pn.pn.pn = phi { ptr, i32 } [ %68, %_ZNSt6vectorIiSaIiEED2Ev.exit.i.i ], [ %.pn83.pn.pn, %.body100 ], [ %.pn83.pn.pn, %296 ] - call void @_ZN2cv3MatD1Ev(ptr noundef nonnull align 8 dereferenceable(96) %11) #19 + call void @_ZN2cv3MatD1Ev(ptr noundef nonnull align 8 dereferenceable(96) %11) #18 br label %297 297: ; preds = %.body, %82 %.pn83.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn83.pn.pn.pn, %.body ], [ %83, %82 ] - call void @_ZN2cv3MatD1Ev(ptr noundef nonnull align 8 dereferenceable(96) %10) #19 + call void @_ZN2cv3MatD1Ev(ptr noundef nonnull align 8 dereferenceable(96) %10) #18 resume { ptr, i32 } %.pn83.pn.pn.pn.pn } @@ -842,7 +842,7 @@ declare noundef ptr @_ZN2cv3dnn8FastConv10getWeightsEv(ptr noundef nonnull align ; Function Attrs: nounwind declare void @_ZN2cv3MatD1Ev(ptr noundef nonnull align 8 dereferenceable(96)) unnamed_addr #1 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN2cv3dnn20depthWiseBlockConv2DEPKfiiiiiiiiS2_S2_S2_iiPfiiib(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, ptr nocapture noundef readonly %9, ptr noundef readonly %10, ptr nocapture noundef readonly %11, i32 noundef %12, i32 noundef %13, ptr nocapture noundef %14, i32 noundef %15, i32 noundef %16, i32 noundef %17, i1 noundef zeroext %18) local_unnamed_addr #5 { %20 = load float, ptr %0, align 4 %21 = getelementptr inbounds i8, ptr %0, i64 4 @@ -1153,7 +1153,7 @@ define hidden void @_ZN2cv3dnn20depthWiseBlockConv2DEPKfiiiiiiiiS2_S2_S2_iiPfiii declare float @llvm.fmuladd.f32(float, float, float) #6 ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define hidden void @_ZN2cv3dnn20depthWiseBlockConv1DEPKfiiiiS2_S2_S2_iPfiib(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr nocapture noundef readonly %5, ptr noundef readonly %6, ptr nocapture noundef readonly %7, i32 noundef %8, ptr nocapture noundef %9, i32 noundef %10, i32 noundef %11, i1 noundef zeroext %12) local_unnamed_addr #7 { +define hidden void @_ZN2cv3dnn20depthWiseBlockConv1DEPKfiiiiS2_S2_S2_iPfiib(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr nocapture noundef readonly %5, ptr noundef readonly %6, ptr nocapture noundef readonly %7, i32 noundef %8, ptr nocapture noundef %9, i32 noundef %10, i32 noundef %11, i1 noundef zeroext %12) local_unnamed_addr #5 { %14 = load float, ptr %0, align 4 %15 = getelementptr inbounds i8, ptr %0, i64 4 %16 = load float, ptr %15, align 4 @@ -1429,9 +1429,9 @@ declare void @_ZNK2cv11_InputArray7getMat_Ei(ptr dead_on_unwind writable sret(%" declare void @_ZSt20__throw_length_errorPKc(ptr noundef) local_unnamed_addr #4 ; Function Attrs: noreturn nounwind uwtable -define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #8 comdat { - %2 = tail call ptr @__cxa_begin_catch(ptr %0) #19 - tail call void @_ZSt9terminatev() #20 +define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #7 comdat { + %2 = tail call ptr @__cxa_begin_catch(ptr %0) #18 + tail call void @_ZSt9terminatev() #19 unreachable } @@ -1440,15 +1440,15 @@ declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr declare void @_ZSt9terminatev() local_unnamed_addr ; Function Attrs: nobuiltin allocsize(0) -declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #9 +declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #8 ; Function Attrs: nobuiltin nounwind -declare void @_ZdlPv(ptr noundef) local_unnamed_addr #10 +declare void @_ZdlPv(ptr noundef) local_unnamed_addr #9 declare void @_ZN2cv13parallel_for_ERKNS_5RangeERKNS_16ParallelLoopBodyEd(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #0 ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr hidden void @_ZN2cv29ParallelLoopBodyLambdaWrapperD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) unnamed_addr #11 comdat align 2 personality ptr @__gxx_personality_v0 { +define linkonce_odr hidden void @_ZN2cv29ParallelLoopBodyLambdaWrapperD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) unnamed_addr #10 comdat align 2 personality ptr @__gxx_personality_v0 { store ptr getelementptr inbounds inrange(-16, 24) (i8, ptr @_ZTVN2cv29ParallelLoopBodyLambdaWrapperE, i64 16), ptr %0, align 8 %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = load ptr, ptr %2, align 8 @@ -1464,22 +1464,22 @@ define linkonce_odr hidden void @_ZN2cv29ParallelLoopBodyLambdaWrapperD2Ev(ptr n %8 = landingpad { ptr, i32 } catch ptr null %9 = extractvalue { ptr, i32 } %8, 0 - tail call void @__clang_call_terminate(ptr %9) #20 + tail call void @__clang_call_terminate(ptr %9) #19 unreachable _ZNSt8functionIFvRKN2cv5RangeEEED2Ev.exit: ; preds = %1, %4 - tail call void @_ZN2cv16ParallelLoopBodyD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #19 + tail call void @_ZN2cv16ParallelLoopBodyD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #18 ret void } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #12 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #11 ; Function Attrs: nounwind declare void @_ZN2cv16ParallelLoopBodyD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr hidden void @_ZN2cv29ParallelLoopBodyLambdaWrapperD0Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) unnamed_addr #11 comdat align 2 personality ptr @__gxx_personality_v0 { +define linkonce_odr hidden void @_ZN2cv29ParallelLoopBodyLambdaWrapperD0Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) unnamed_addr #10 comdat align 2 personality ptr @__gxx_personality_v0 { store ptr getelementptr inbounds inrange(-16, 24) (i8, ptr @_ZTVN2cv29ParallelLoopBodyLambdaWrapperE, i64 16), ptr %0, align 8 %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = load ptr, ptr %2, align 8 @@ -1495,12 +1495,12 @@ define linkonce_odr hidden void @_ZN2cv29ParallelLoopBodyLambdaWrapperD0Ev(ptr n %8 = landingpad { ptr, i32 } catch ptr null %9 = extractvalue { ptr, i32 } %8, 0 - tail call void @__clang_call_terminate(ptr %9) #20 + tail call void @__clang_call_terminate(ptr %9) #19 unreachable _ZN2cv29ParallelLoopBodyLambdaWrapperD2Ev.exit: ; preds = %1, %4 - tail call void @_ZN2cv16ParallelLoopBodyD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #19 - tail call void @_ZdlPv(ptr noundef nonnull %0) #21 + tail call void @_ZN2cv16ParallelLoopBodyD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #18 + tail call void @_ZdlPv(ptr noundef nonnull %0) #20 ret void } @@ -1512,7 +1512,7 @@ define linkonce_odr hidden void @_ZNK2cv29ParallelLoopBodyLambdaWrapperclERKNS_5 br i1 %.not.i.i, label %5, label %_ZNKSt8functionIFvRKN2cv5RangeEEEclES3_.exit 5: ; preds = %2 - tail call void @_ZSt25__throw_bad_function_callv() #17 + tail call void @_ZSt25__throw_bad_function_callv() #16 unreachable _ZNKSt8functionIFvRKN2cv5RangeEEEclES3_.exit: ; preds = %2 @@ -1698,7 +1698,7 @@ define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFvRKN2cv5RangeEEZN 6: ; preds = %3 %.val6 = load ptr, ptr %1, align 8 - %7 = tail call noalias noundef nonnull dereferenceable(192) ptr @_Znwm(i64 noundef 192) #18 + %7 = tail call noalias noundef nonnull dereferenceable(192) ptr @_Znwm(i64 noundef 192) #17 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(192) %7, ptr noundef nonnull readonly align 8 dereferenceable(192) %.val6, i64 192, i1 false) store ptr %7, ptr %0, align 8 br label %"_ZNSt14_Function_base13_Base_managerIZN2cv3dnn12runDepthwiseERKNS1_11_InputArrayERKNS1_12_OutputArrayERKNS1_3PtrINS2_8FastConvEEEPNS2_14dnn4_v2024052115ActivationLayerERKSt6vectorIfSaIfEEbE3$_0E10_M_managerERSt9_Any_dataRKSO_St18_Manager_operation.exit" @@ -1709,7 +1709,7 @@ define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFvRKN2cv5RangeEEZN br i1 %9, label %"_ZNSt14_Function_base13_Base_managerIZN2cv3dnn12runDepthwiseERKNS1_11_InputArrayERKNS1_12_OutputArrayERKNS1_3PtrINS2_8FastConvEEEPNS2_14dnn4_v2024052115ActivationLayerERKSt6vectorIfSaIfEEbE3$_0E10_M_managerERSt9_Any_dataRKSO_St18_Manager_operation.exit", label %10 10: ; preds = %8 - tail call void @_ZdlPv(ptr noundef nonnull %.val7.i) #21 + tail call void @_ZdlPv(ptr noundef nonnull %.val7.i) #20 br label %"_ZNSt14_Function_base13_Base_managerIZN2cv3dnn12runDepthwiseERKNS1_11_InputArrayERKNS1_12_OutputArrayERKNS1_3PtrINS2_8FastConvEEEPNS2_14dnn4_v2024052115ActivationLayerERKSt6vectorIfSaIfEEbE3$_0E10_M_managerERSt9_Any_dataRKSO_St18_Manager_operation.exit" "_ZNSt14_Function_base13_Base_managerIZN2cv3dnn12runDepthwiseERKNS1_11_InputArrayERKNS1_12_OutputArrayERKNS1_3PtrINS2_8FastConvEEEPNS2_14dnn4_v2024052115ActivationLayerERKSt6vectorIfSaIfEEbE3$_0E10_M_managerERSt9_Any_dataRKSO_St18_Manager_operation.exit": ; preds = %3, %10, %8, %6, %5, %4 @@ -1717,46 +1717,45 @@ define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFvRKN2cv5RangeEEZN } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #13 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #12 ; Function Attrs: uwtable -define internal void @_GLOBAL__sub_I_conv_depthwise.cpp() #14 section ".text.startup" { +define internal void @_GLOBAL__sub_I_conv_depthwise.cpp() #13 section ".text.startup" { tail call void @_ZNSt8ios_base4InitC1Ev(ptr noundef nonnull align 1 dereferenceable(1) @_ZStL8__ioinit) - %1 = tail call i32 @__cxa_atexit(ptr nonnull @_ZNSt8ios_base4InitD1Ev, ptr nonnull @_ZStL8__ioinit, ptr nonnull @__dso_handle) #19 + %1 = tail call i32 @__cxa_atexit(ptr nonnull @_ZNSt8ios_base4InitD1Ev, ptr nonnull @_ZStL8__ioinit, ptr nonnull @__dso_handle) #18 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #15 +declare i32 @llvm.smin.i32(i32, i32) #14 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #16 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #15 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #16 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #15 attributes #0 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+sse3,+x87" "tune-cpu"="generic" } attributes #1 = { 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,+sse3,+x87" "tune-cpu"="generic" } attributes #2 = { nofree nounwind } attributes #3 = { mustprogress 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,+sse3,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+sse3,+x87" "tune-cpu"="generic" } -attributes #5 = { mustprogress 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,+sse3,+x87" "tune-cpu"="generic" } +attributes #5 = { mustprogress 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,+sse3,+x87" "tune-cpu"="generic" } attributes #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #7 = { mustprogress 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,+sse3,+x87" "tune-cpu"="generic" } -attributes #8 = { noreturn nounwind uwtable "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+sse3,+x87" "tune-cpu"="generic" } -attributes #9 = { nobuiltin allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+sse3,+x87" "tune-cpu"="generic" } -attributes #10 = { nobuiltin 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,+sse3,+x87" "tune-cpu"="generic" } -attributes #11 = { mustprogress 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,+sse3,+x87" "tune-cpu"="generic" } -attributes #12 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #13 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #14 = { 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,+sse3,+x87" "tune-cpu"="generic" } -attributes #15 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #16 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #17 = { noreturn } -attributes #18 = { builtin allocsize(0) } -attributes #19 = { nounwind } -attributes #20 = { noreturn nounwind } -attributes #21 = { builtin nounwind } +attributes #7 = { noreturn nounwind uwtable "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+sse3,+x87" "tune-cpu"="generic" } +attributes #8 = { nobuiltin allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+sse3,+x87" "tune-cpu"="generic" } +attributes #9 = { nobuiltin 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,+sse3,+x87" "tune-cpu"="generic" } +attributes #10 = { mustprogress 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,+sse3,+x87" "tune-cpu"="generic" } +attributes #11 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #12 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #13 = { 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,+sse3,+x87" "tune-cpu"="generic" } +attributes #14 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #15 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #16 = { noreturn } +attributes #17 = { builtin allocsize(0) } +attributes #18 = { nounwind } +attributes #19 = { noreturn nounwind } +attributes #20 = { builtin nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/openexr/optimized/ImfLut.cpp.ll b/bench/openexr/optimized/ImfLut.cpp.ll index 4e9ecfcb4a7..9a279d48890 100644 --- a/bench/openexr/optimized/ImfLut.cpp.ll +++ b/bench/openexr/optimized/ImfLut.cpp.ll @@ -21,7 +21,7 @@ declare void @_ZNSt8ios_base4InitD1Ev(ptr noundef nonnull align 1 dereferenceabl ; Function Attrs: nofree nounwind declare i32 @__cxa_atexit(ptr, ptr, ptr) local_unnamed_addr #2 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define void @_ZNK7Imf_3_27HalfLut5applyEPN9Imath_3_24halfEii(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %this, ptr nocapture noundef %data, i32 noundef %nData, i32 noundef %stride) local_unnamed_addr #3 align 2 { entry: %tobool.not4 = icmp eq i32 %nData, 0 @@ -50,7 +50,7 @@ while.end: ; preds = %while.body, %entry } ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @_ZNK7Imf_3_27HalfLut5applyERKNS_5SliceERKN9Imath_3_23BoxINS4_4Vec2IiEEEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(50) %data, ptr nocapture noundef nonnull readonly align 4 dereferenceable(16) %dataWindow) local_unnamed_addr #3 align 2 { +define void @_ZNK7Imf_3_27HalfLut5applyERKNS_5SliceERKN9Imath_3_23BoxINS4_4Vec2IiEEEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(50) %data, ptr nocapture noundef nonnull readonly align 4 dereferenceable(16) %dataWindow) local_unnamed_addr #4 align 2 { entry: %yStride = getelementptr inbounds i8, ptr %data, i64 24 %y = getelementptr inbounds i8, ptr %dataWindow, i64 4 @@ -142,7 +142,7 @@ for.end29: ; preds = %for.end, %for.body. ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define void @_ZNK7Imf_3_27RgbaLut5applyEPNS_4RgbaEii(ptr nocapture noundef nonnull readonly align 8 dereferenceable(12) %this, ptr nocapture noundef %data, i32 noundef %nData, i32 noundef %stride) local_unnamed_addr #3 align 2 { entry: %tobool.not19 = icmp eq i32 %nData, 0 @@ -231,7 +231,7 @@ while.end: ; preds = %if.end40, %entry ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define void @_ZNK7Imf_3_27RgbaLut5applyEPNS_4RgbaEiiRKN9Imath_3_23BoxINS3_4Vec2IiEEEE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(12) %this, ptr nocapture noundef %base, i32 noundef %xStride, i32 noundef %yStride, ptr nocapture noundef nonnull readonly align 4 dereferenceable(16) %dataWindow) local_unnamed_addr #3 align 2 { entry: %y = getelementptr inbounds i8, ptr %dataWindow, i64 4 @@ -364,7 +364,7 @@ for.end62: ; preds = %for.end, %for.body. } ; Function Attrs: mustprogress uwtable -define i16 @_ZN7Imf_3_210round12logEN9Imath_3_24halfE(i16 %x.coerce) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 { +define i16 @_ZN7Imf_3_210round12logEN9Imath_3_24halfE(i16 %x.coerce) local_unnamed_addr #5 personality ptr @__gxx_personality_v0 { entry: %0 = load ptr, ptr @imath_half_to_float_table, align 8 %idxprom.i.i = zext i16 %x.coerce to i64 @@ -375,7 +375,7 @@ entry: if.else: ; preds = %entry %div = fdiv float %1, 0x3FC6A09E60000000 - %call.i = tail call noundef float @logf(float noundef %div) #8 + %call.i = tail call noundef float @logf(float noundef %div) #9 %conv4 = fpext float %call.i to double %mul = fmul double %conv4, 2.000000e+02 %div6 = fdiv double %mul, 0x3FE62E42FEFA39EF @@ -473,36 +473,37 @@ return: ; preds = %if.then55.i.i, %lor declare i32 @__gxx_personality_v0(...) ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare float @logf(float noundef) local_unnamed_addr #5 +declare float @logf(float noundef) local_unnamed_addr #6 ; Function Attrs: uwtable -define internal void @_GLOBAL__sub_I_ImfLut.cpp() #6 section ".text.startup" { +define internal void @_GLOBAL__sub_I_ImfLut.cpp() #7 section ".text.startup" { entry: tail call void @_ZNSt8ios_base4InitC1Ev(ptr noundef nonnull align 1 dereferenceable(1) @_ZStL8__ioinit) - %0 = tail call i32 @__cxa_atexit(ptr nonnull @_ZNSt8ios_base4InitD1Ev, ptr nonnull @_ZStL8__ioinit, ptr nonnull @__dso_handle) #8 + %0 = tail call i32 @__cxa_atexit(ptr nonnull @_ZNSt8ios_base4InitD1Ev, ptr nonnull @_ZStL8__ioinit, ptr nonnull @__dso_handle) #9 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #7 +declare i32 @llvm.smin.i32(i32, i32) #8 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #7 +declare i32 @llvm.smax.i32(i32, i32) #8 declare double @exp2(double) local_unnamed_addr ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare float @llvm.fabs.f32(float) #7 +declare float @llvm.fabs.f32(float) #8 attributes #0 = { "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 #1 = { 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 #2 = { nofree nounwind } -attributes #3 = { mustprogress 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 #4 = { mustprogress 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 #5 = { 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 #6 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #8 = { nounwind } +attributes #3 = { mustprogress 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 #4 = { mustprogress 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 #5 = { mustprogress 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 #6 = { 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 #7 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #9 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/openjdk/optimized/FourByteAbgr.ll b/bench/openjdk/optimized/FourByteAbgr.ll index 42177160b99..c077219f30d 100644 --- a/bench/openjdk/optimized/FourByteAbgr.ll +++ b/bench/openjdk/optimized/FourByteAbgr.ll @@ -4161,7 +4161,7 @@ define hidden void @FourByteAbgrDrawGlyphListLCD(ptr nocapture noundef readonly ; Function Attrs: nounwind uwtable define hidden zeroext i8 @RegisterFourByteAbgr(ptr noundef %0) local_unnamed_addr #2 { - %2 = tail call zeroext i8 @RegisterPrimitives(ptr noundef %0, ptr noundef nonnull @FourByteAbgrPrimitives, i32 noundef 30) #6 + %2 = tail call zeroext i8 @RegisterPrimitives(ptr noundef %0, ptr noundef nonnull @FourByteAbgrPrimitives, i32 noundef 30) #7 ret i8 %2 } @@ -4176,8 +4176,8 @@ define hidden noundef i32 @PixelForFourByteAbgr(ptr nocapture noundef readnone % ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #4 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @FourByteAbgrNrstNbrTransformHelper(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, i32 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @FourByteAbgrNrstNbrTransformHelper(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, i32 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #5 { %8 = sext i32 %2 to i64 %9 = getelementptr inbounds i32, ptr %1, i64 %8 %10 = icmp sgt i32 %2, 0 @@ -4277,8 +4277,8 @@ define hidden void @FourByteAbgrNrstNbrTransformHelper(ptr nocapture noundef rea ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @FourByteAbgrBilinearTransformHelper(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, i32 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @FourByteAbgrBilinearTransformHelper(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, i32 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #5 { %8 = getelementptr inbounds i8, ptr %0, i64 32 %9 = load i32, ptr %8, align 8 %10 = shl nsw i32 %2, 2 @@ -4565,8 +4565,8 @@ define hidden void @FourByteAbgrBilinearTransformHelper(ptr nocapture noundef re ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @FourByteAbgrBicubicTransformHelper(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, i32 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @FourByteAbgrBicubicTransformHelper(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, i32 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #5 { %8 = getelementptr inbounds i8, ptr %0, i64 32 %9 = load i32, ptr %8, align 8 %10 = shl nsw i32 %2, 4 @@ -5529,21 +5529,22 @@ define hidden void @FourByteAbgrBicubicTransformHelper(ptr nocapture noundef rea } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #5 +declare i32 @llvm.fshl.i32(i32, i32, i32) #6 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #5 +declare i32 @llvm.smax.i32(i32, i32) #6 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #5 +declare i32 @llvm.smin.i32(i32, i32) #6 attributes #0 = { "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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #6 = { nounwind } +attributes #5 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #7 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4, !5} diff --git a/bench/openjdk/optimized/FourByteAbgrPre.ll b/bench/openjdk/optimized/FourByteAbgrPre.ll index 51346c4fbdd..05e5a53181a 100644 --- a/bench/openjdk/optimized/FourByteAbgrPre.ll +++ b/bench/openjdk/optimized/FourByteAbgrPre.ll @@ -4820,7 +4820,7 @@ define hidden void @FourByteAbgrPreDrawGlyphListLCD(ptr nocapture noundef readon ; Function Attrs: nounwind uwtable define hidden zeroext i8 @RegisterFourByteAbgrPre(ptr noundef %0) local_unnamed_addr #2 { - %2 = tail call zeroext i8 @RegisterPrimitives(ptr noundef %0, ptr noundef nonnull @FourByteAbgrPrePrimitives, i32 noundef 32) #6 + %2 = tail call zeroext i8 @RegisterPrimitives(ptr noundef %0, ptr noundef nonnull @FourByteAbgrPrePrimitives, i32 noundef 32) #7 ret i8 %2 } @@ -4868,8 +4868,8 @@ define hidden i32 @PixelForFourByteAbgrPre(ptr nocapture noundef readnone %0, i3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #4 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @FourByteAbgrPreNrstNbrTransformHelper(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, i32 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @FourByteAbgrPreNrstNbrTransformHelper(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, i32 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #5 { %8 = sext i32 %2 to i64 %9 = getelementptr inbounds i32, ptr %1, i64 %8 %10 = icmp sgt i32 %2, 0 @@ -4941,8 +4941,8 @@ define hidden void @FourByteAbgrPreNrstNbrTransformHelper(ptr nocapture noundef ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @FourByteAbgrPreBilinearTransformHelper(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, i32 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @FourByteAbgrPreBilinearTransformHelper(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, i32 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #5 { %8 = getelementptr inbounds i8, ptr %0, i64 32 %9 = load i32, ptr %8, align 8 %10 = shl nsw i32 %2, 2 @@ -5105,8 +5105,8 @@ define hidden void @FourByteAbgrPreBilinearTransformHelper(ptr nocapture noundef ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @FourByteAbgrPreBicubicTransformHelper(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, i32 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #1 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @FourByteAbgrPreBicubicTransformHelper(ptr nocapture noundef readonly %0, ptr noundef writeonly %1, i32 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6) #5 { %8 = getelementptr inbounds i8, ptr %0, i64 32 %9 = load i32, ptr %8, align 8 %10 = shl nsw i32 %2, 4 @@ -5549,18 +5549,19 @@ define hidden void @FourByteAbgrPreBicubicTransformHelper(ptr nocapture noundef } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #5 +declare i32 @llvm.smax.i32(i32, i32) #6 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #5 +declare i32 @llvm.smin.i32(i32, i32) #6 attributes #0 = { "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 #1 = { 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 #2 = { 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 #3 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, 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 #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #6 = { nounwind } +attributes #5 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #7 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4, !5} diff --git a/bench/openjdk/optimized/cmspack.ll b/bench/openjdk/optimized/cmspack.ll index 7dea0b111a6..544a93cfbe6 100644 --- a/bench/openjdk/optimized/cmspack.ll +++ b/bench/openjdk/optimized/cmspack.ll @@ -42,7 +42,7 @@ define hidden void @_cmsAllocFormattersPluginChunk(ptr nocapture noundef %0, ptr %.0154.i = phi ptr [ null, %.lr.ph.i ], [ %10, %16 ] %8 = phi ptr [ null, %.lr.ph.i ], [ %spec.select.i, %16 ] %9 = load ptr, ptr %6, align 8 - %10 = tail call ptr @_cmsSubAllocDup(ptr noundef %9, ptr noundef nonnull %.05.i, i32 noundef 16) #11 + %10 = tail call ptr @_cmsSubAllocDup(ptr noundef %9, ptr noundef nonnull %.05.i, i32 noundef 16) #9 %11 = icmp eq ptr %10, null br i1 %11, label %DupFormatterFactoryList.exit, label %12 @@ -70,7 +70,7 @@ define hidden void @_cmsAllocFormattersPluginChunk(ptr nocapture noundef %0, ptr store ptr %.lcssa.i, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = load ptr, ptr %19, align 8 - %21 = call ptr @_cmsSubAllocDup(ptr noundef %20, ptr noundef nonnull %3, i32 noundef 8) #11 + %21 = call ptr @_cmsSubAllocDup(ptr noundef %20, ptr noundef nonnull %3, i32 noundef 8) #9 %22 = getelementptr inbounds i8, ptr %0, i64 72 store ptr %21, ptr %22, align 8 br label %DupFormatterFactoryList.exit @@ -82,7 +82,7 @@ DupFormatterFactoryList.exit: ; preds = %7, %._crit_edge.i 23: ; preds = %2 %24 = getelementptr inbounds i8, ptr %0, i64 8 %25 = load ptr, ptr %24, align 8 - %26 = tail call ptr @_cmsSubAllocDup(ptr noundef %25, ptr noundef nonnull @_cmsAllocFormattersPluginChunk.FormattersPluginChunk, i32 noundef 8) #11 + %26 = tail call ptr @_cmsSubAllocDup(ptr noundef %25, ptr noundef nonnull @_cmsAllocFormattersPluginChunk.FormattersPluginChunk, i32 noundef 8) #9 %27 = getelementptr inbounds i8, ptr %0, i64 72 store ptr %26, ptr %27, align 8 br label %28 @@ -95,12 +95,12 @@ declare ptr @_cmsSubAllocDup(ptr noundef, ptr noundef, i32 noundef) local_unname ; Function Attrs: nounwind uwtable define hidden range(i32 0, 2) i32 @_cmsRegisterFormattersPlugin(ptr noundef %0, ptr noundef readonly %1) local_unnamed_addr #0 { - %3 = tail call ptr @_cmsContextGetClientChunk(ptr noundef %0, i32 noundef 7) #11 + %3 = tail call ptr @_cmsContextGetClientChunk(ptr noundef %0, i32 noundef 7) #9 %4 = icmp eq ptr %1, null br i1 %4, label %.sink.split, label %5 5: ; preds = %2 - %6 = tail call ptr @_cmsPluginMalloc(ptr noundef %0, i32 noundef 16) #11 + %6 = tail call ptr @_cmsPluginMalloc(ptr noundef %0, i32 noundef 16) #9 %7 = icmp eq ptr %6, null br i1 %7, label %13, label %8 @@ -129,7 +129,7 @@ declare ptr @_cmsPluginMalloc(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nounwind uwtable define hidden ptr @_cmsGetFormatter(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { - %5 = tail call ptr @_cmsContextGetClientChunk(ptr noundef %0, i32 noundef 7) #11 + %5 = tail call ptr @_cmsContextGetClientChunk(ptr noundef %0, i32 noundef 7) #9 %6 = and i32 %1, 120 %7 = icmp eq i32 %6, 0 br i1 %7, label %_cmsGetStockInputFormatter.exit, label %.preheader @@ -148,7 +148,7 @@ define hidden ptr @_cmsGetFormatter(ptr noundef %0, i32 noundef %1, i32 noundef .lr.ph: ; preds = %.preheader, %8 %.038 = phi ptr [ %.0, %8 ], [ %.036, %.preheader ] %10 = load ptr, ptr %.038, align 8 - %11 = tail call ptr %10(i32 noundef %1, i32 noundef %2, i32 noundef %3) #11 + %11 = tail call ptr %10(i32 noundef %1, i32 noundef %2, i32 noundef %3) #9 %.not15 = icmp eq ptr %11, null br i1 %.not15, label %8, label %_cmsGetStockInputFormatter.exit @@ -261,9 +261,9 @@ define hidden range(i32 0, 2) i32 @_cmsFormatterIs8bit(i32 noundef %0) local_unn ; Function Attrs: nounwind uwtable define hidden i32 @cmsFormatterForColorspaceOfProfile(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { - %4 = tail call i32 @cmsGetColorSpace(ptr noundef %0) #11 - %5 = tail call i32 @_cmsLCMScolorSpace(i32 noundef %4) #11 - %6 = tail call i32 @cmsChannelsOfColorSpace(i32 noundef %4) #11 + %4 = tail call i32 @cmsGetColorSpace(ptr noundef %0) #9 + %5 = tail call i32 @_cmsLCMScolorSpace(i32 noundef %4) #9 + %6 = tail call i32 @cmsChannelsOfColorSpace(i32 noundef %4) #9 %7 = icmp slt i32 %6, 0 br i1 %7, label %15, label %8 @@ -290,9 +290,9 @@ declare i32 @cmsChannelsOfColorSpace(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nounwind uwtable define hidden i32 @cmsFormatterForPCSOfProfile(ptr noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { - %4 = tail call i32 @cmsGetPCS(ptr noundef %0) #11 - %5 = tail call i32 @_cmsLCMScolorSpace(i32 noundef %4) #11 - %6 = tail call i32 @cmsChannelsOfColorSpace(i32 noundef %4) #11 + %4 = tail call i32 @cmsGetPCS(ptr noundef %0) #9 + %5 = tail call i32 @_cmsLCMScolorSpace(i32 noundef %4) #9 + %6 = tail call i32 @cmsChannelsOfColorSpace(i32 noundef %4) #9 %7 = icmp slt i32 %6, 0 br i1 %7, label %15, label %8 @@ -335,12 +335,12 @@ define internal nonnull ptr @UnrollLabDoubleTo16(ptr nocapture noundef readonly %17 = load double, ptr %13, align 8 %18 = getelementptr inbounds i8, ptr %5, i64 16 store double %17, ptr %18, align 8 - call void @cmsFloat2LabEncoded(ptr noundef %1, ptr noundef nonnull %5) #11 + call void @cmsFloat2LabEncoded(ptr noundef %1, ptr noundef nonnull %5) #9 %19 = getelementptr inbounds i8, ptr %2, i64 8 br label %27 20: ; preds = %4 - tail call void @cmsFloat2LabEncoded(ptr noundef %1, ptr noundef %2) #11 + tail call void @cmsFloat2LabEncoded(ptr noundef %1, ptr noundef %2) #9 %21 = load i32, ptr %0, align 8 %22 = lshr i32 %21, 4 %23 = and i32 %22, 56 @@ -376,12 +376,12 @@ define internal nonnull ptr @UnrollXYZDoubleTo16(ptr nocapture noundef readonly %17 = load double, ptr %13, align 8 %18 = getelementptr inbounds i8, ptr %5, i64 16 store double %17, ptr %18, align 8 - call void @cmsFloat2XYZEncoded(ptr noundef %1, ptr noundef nonnull %5) #11 + call void @cmsFloat2XYZEncoded(ptr noundef %1, ptr noundef nonnull %5) #9 %19 = getelementptr inbounds i8, ptr %2, i64 8 br label %27 20: ; preds = %4 - tail call void @cmsFloat2XYZEncoded(ptr noundef %1, ptr noundef %2) #11 + tail call void @cmsFloat2XYZEncoded(ptr noundef %1, ptr noundef %2) #9 %21 = load i32, ptr %0, align 8 %22 = lshr i32 %21, 4 %23 = and i32 %22, 56 @@ -419,7 +419,7 @@ define internal nonnull ptr @UnrollLabFloatTo16(ptr nocapture noundef readonly % %20 = fpext float %19 to double %21 = getelementptr inbounds i8, ptr %5, i64 16 store double %20, ptr %21, align 16 - call void @cmsFloat2LabEncoded(ptr noundef %1, ptr noundef nonnull %5) #11 + call void @cmsFloat2LabEncoded(ptr noundef %1, ptr noundef nonnull %5) #9 %22 = getelementptr inbounds i8, ptr %2, i64 4 br label %36 @@ -432,7 +432,7 @@ define internal nonnull ptr @UnrollLabFloatTo16(ptr nocapture noundef readonly % %28 = fpext float %27 to double %29 = getelementptr inbounds i8, ptr %5, i64 16 store double %28, ptr %29, align 16 - call void @cmsFloat2LabEncoded(ptr noundef %1, ptr noundef nonnull %5) #11 + call void @cmsFloat2LabEncoded(ptr noundef %1, ptr noundef nonnull %5) #9 %30 = load i32, ptr %0, align 8 %31 = lshr i32 %30, 5 %32 = and i32 %31, 28 @@ -471,7 +471,7 @@ define internal nonnull ptr @UnrollXYZFloatTo16(ptr nocapture noundef readonly % %21 = fpext float %20 to double %22 = getelementptr inbounds i8, ptr %5, i64 16 store double %21, ptr %22, align 16 - call void @cmsFloat2XYZEncoded(ptr noundef %1, ptr noundef nonnull %5) #11 + call void @cmsFloat2XYZEncoded(ptr noundef %1, ptr noundef nonnull %5) #9 %23 = getelementptr inbounds i8, ptr %2, i64 4 br label %37 @@ -484,7 +484,7 @@ define internal nonnull ptr @UnrollXYZFloatTo16(ptr nocapture noundef readonly % %29 = fpext float %28 to double %30 = getelementptr inbounds i8, ptr %6, i64 16 store double %29, ptr %30, align 16 - call void @cmsFloat2XYZEncoded(ptr noundef %1, ptr noundef nonnull %6) #11 + call void @cmsFloat2XYZEncoded(ptr noundef %1, ptr noundef nonnull %6) #9 %31 = load i32, ptr %0, align 8 %32 = lshr i32 %31, 5 %33 = and i32 %32, 28 @@ -1268,8 +1268,8 @@ define internal nonnull ptr @Unroll4BytesSwapSwapFirst(ptr nocapture readnone %0 ret ptr %27 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal nonnull ptr @UnrollPlanarBytes(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr noundef readonly %2, i32 noundef %3) #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal nonnull ptr @UnrollPlanarBytes(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr noundef readonly %2, i32 noundef %3) #4 { %5 = load i32, ptr %0, align 8 %.fr71 = freeze i32 %5 %6 = lshr i32 %.fr71, 3 @@ -1473,8 +1473,8 @@ define internal nonnull ptr @UnrollPlanarBytes(ptr nocapture noundef readonly %0 ret ptr %111 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal ptr @UnrollChunkyBytes(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 %3) #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal ptr @UnrollChunkyBytes(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 %3) #4 { %5 = load i32, ptr %0, align 8 %.fr = freeze i32 %5 %6 = lshr i32 %.fr, 3 @@ -1913,8 +1913,8 @@ define internal nonnull ptr @Unroll4WordsSwapSwapFirst(ptr nocapture readnone %0 ret ptr %15 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal nonnull ptr @UnrollPlanarWords(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr noundef readonly %2, i32 noundef %3) #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal nonnull ptr @UnrollPlanarWords(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr noundef readonly %2, i32 noundef %3) #4 { %5 = load i32, ptr %0, align 8 %.fr41 = freeze i32 %5 %6 = lshr i32 %.fr41, 3 @@ -2009,8 +2009,8 @@ define internal nonnull ptr @UnrollPlanarWords(ptr nocapture noundef readonly %0 ret ptr %36 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal ptr @UnrollAnyWords(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 %3) #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal ptr @UnrollAnyWords(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr noundef readonly %2, i32 %3) #4 { %5 = load i32, ptr %0, align 8 %.fr = freeze i32 %5 %6 = lshr i32 %.fr, 3 @@ -2127,8 +2127,8 @@ define internal ptr @UnrollAnyWords(ptr nocapture noundef readonly %0, ptr nocap ret ptr %.2 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal nonnull ptr @UnrollPlanarWordsPremul(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr noundef readonly %2, i32 noundef %3) #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal nonnull ptr @UnrollPlanarWordsPremul(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr noundef readonly %2, i32 noundef %3) #4 { %5 = load i32, ptr %0, align 8 %.fr72 = freeze i32 %5 %6 = lshr i32 %.fr72, 3 @@ -2327,8 +2327,8 @@ define internal nonnull ptr @UnrollPlanarWordsPremul(ptr nocapture noundef reado ret ptr %84 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal ptr @UnrollAnyWordsPremul(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr noundef readonly %2, i32 %3) #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal ptr @UnrollAnyWordsPremul(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr noundef readonly %2, i32 %3) #4 { %5 = load i32, ptr %0, align 8 %.fr79 = freeze i32 %5 %6 = lshr i32 %.fr79, 3 @@ -2534,10 +2534,10 @@ declare void @cmsFloat2LabEncoded(ptr noundef, ptr noundef) local_unnamed_addr # declare void @cmsFloat2XYZEncoded(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare double @llvm.floor.f64(double) #6 +declare double @llvm.floor.f64(double) #5 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #7 +declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #6 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal nonnull ptr @UnrollLabDoubleToFloat(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr noundef readonly %2, i32 noundef %3) #3 { @@ -3717,7 +3717,7 @@ define internal nonnull ptr @PackLabDoubleFrom16(ptr nocapture noundef readonly br i1 %.not, label %21, label %9 9: ; preds = %4 - call void @cmsLabEncoded2Float(ptr noundef nonnull %5, ptr noundef %1) #11 + call void @cmsLabEncoded2Float(ptr noundef nonnull %5, ptr noundef %1) #9 %10 = load double, ptr %5, align 8 store double %10, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %5, i64 8 @@ -3735,7 +3735,7 @@ define internal nonnull ptr @PackLabDoubleFrom16(ptr nocapture noundef readonly br label %28 21: ; preds = %4 - tail call void @cmsLabEncoded2Float(ptr noundef %2, ptr noundef %1) #11 + tail call void @cmsLabEncoded2Float(ptr noundef %2, ptr noundef %1) #9 %22 = load i32, ptr %6, align 4 %23 = lshr i32 %22, 4 %24 = and i32 %23, 56 @@ -3759,7 +3759,7 @@ define internal nonnull ptr @PackXYZDoubleFrom16(ptr nocapture noundef readonly br i1 %.not, label %25, label %9 9: ; preds = %4 - call void @cmsXYZEncoded2Float(ptr noundef nonnull %5, ptr noundef %1) #11 + call void @cmsXYZEncoded2Float(ptr noundef nonnull %5, ptr noundef %1) #9 %10 = load i32, ptr %6, align 4 %11 = and i32 %10, 7 %12 = icmp eq i32 %11, 0 @@ -3782,7 +3782,7 @@ define internal nonnull ptr @PackXYZDoubleFrom16(ptr nocapture noundef readonly br label %32 25: ; preds = %4 - tail call void @cmsXYZEncoded2Float(ptr noundef %2, ptr noundef %1) #11 + tail call void @cmsXYZEncoded2Float(ptr noundef %2, ptr noundef %1) #9 %26 = load i32, ptr %6, align 4 %27 = lshr i32 %26, 4 %28 = and i32 %27, 56 @@ -3799,7 +3799,7 @@ define internal nonnull ptr @PackXYZDoubleFrom16(ptr nocapture noundef readonly ; Function Attrs: nounwind uwtable define internal nonnull ptr @PackLabFloatFrom16(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef writeonly %2, i32 noundef %3) #0 { %5 = alloca %struct.cmsCIELab, align 16 - call void @cmsLabEncoded2Float(ptr noundef nonnull %5, ptr noundef %1) #11 + call void @cmsLabEncoded2Float(ptr noundef nonnull %5, ptr noundef %1) #9 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = load i32, ptr %6, align 4 %8 = and i32 %7, 4096 @@ -3863,7 +3863,7 @@ define internal nonnull ptr @PackXYZFloatFrom16(ptr nocapture noundef readonly % br i1 %.not, label %29, label %10 10: ; preds = %4 - call void @cmsXYZEncoded2Float(ptr noundef nonnull %5, ptr noundef %1) #11 + call void @cmsXYZEncoded2Float(ptr noundef nonnull %5, ptr noundef %1) #9 %11 = load i32, ptr %7, align 4 %12 = and i32 %11, 7 %13 = icmp eq i32 %12, 0 @@ -3889,7 +3889,7 @@ define internal nonnull ptr @PackXYZFloatFrom16(ptr nocapture noundef readonly % br label %42 29: ; preds = %4 - call void @cmsXYZEncoded2Float(ptr noundef nonnull %6, ptr noundef %1) #11 + call void @cmsXYZEncoded2Float(ptr noundef nonnull %6, ptr noundef %1) #9 %30 = load <2 x double>, ptr %6, align 16 %31 = fptrunc <2 x double> %30 to <2 x float> store <2 x float> %31, ptr %2, align 4 @@ -5158,8 +5158,8 @@ define internal nonnull ptr @Pack6BytesSwap(ptr nocapture readnone %0, ptr nocap ret ptr %51 } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define internal ptr @PackChunkyBytes(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 %3) #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal ptr @PackChunkyBytes(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 %3) #4 { %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4 %.fr = freeze i32 %6 @@ -5352,8 +5352,8 @@ define internal ptr @PackChunkyBytes(ptr nocapture noundef readonly %0, ptr noca ret ptr %.2 } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define internal nonnull ptr @PackPlanarBytes(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3) #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal nonnull ptr @PackPlanarBytes(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3) #4 { %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4 %.fr65 = freeze i32 %6 @@ -5823,8 +5823,8 @@ define internal nonnull ptr @Pack6WordsSwap(ptr nocapture readnone %0, ptr nocap ret ptr %21 } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define internal ptr @PackChunkyWords(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 %3) #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal ptr @PackChunkyWords(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 %3) #4 { %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4 %.fr = freeze i32 %6 @@ -6071,8 +6071,8 @@ define internal ptr @PackChunkyWords(ptr nocapture noundef readonly %0, ptr noca ret ptr %.2 } -; Function Attrs: nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define internal nonnull ptr @PackPlanarWords(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3) #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal nonnull ptr @PackPlanarWords(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, i32 noundef %3) #4 { %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4 %.fr82 = freeze i32 %6 @@ -6576,7 +6576,7 @@ define internal nonnull ptr @PackEncodedBytesLabV2FromFloat(ptr nocapture nounde %13 = fpext <2 x float> %12 to <2 x double> %14 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %13, <2 x double> , <2 x double> ) store <2 x double> %14, ptr %11, align 8 - call void @cmsFloat2LabEncoded(ptr noundef nonnull %6, ptr noundef nonnull %5) #11 + call void @cmsFloat2LabEncoded(ptr noundef nonnull %6, ptr noundef nonnull %5) #9 %15 = getelementptr inbounds i8, ptr %0, i64 4 %16 = load i32, ptr %15, align 4 %17 = and i32 %16, 4096 @@ -6654,7 +6654,7 @@ define internal nonnull ptr @PackEncodedWordsLabV2FromFloat(ptr nocapture nounde %13 = fpext <2 x float> %12 to <2 x double> %14 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %13, <2 x double> , <2 x double> ) store <2 x double> %14, ptr %11, align 8 - call void @cmsFloat2LabEncodedV2(ptr noundef nonnull %6, ptr noundef nonnull %5) #11 + call void @cmsFloat2LabEncodedV2(ptr noundef nonnull %6, ptr noundef nonnull %5) #9 %15 = getelementptr inbounds i8, ptr %0, i64 4 %16 = load i32, ptr %15, align 4 %17 = and i32 %16, 4096 @@ -7612,37 +7612,35 @@ _cmsQuickSaturateWord.exit: ; preds = %.lr.ph.split.split. } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare double @llvm.fmuladd.f64(double, double, double) #6 +declare double @llvm.fmuladd.f64(double, double, double) #5 declare void @cmsFloat2LabEncodedV2(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #9 +declare i32 @llvm.umin.i32(i32, i32) #7 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i16 @llvm.bswap.i16(i16) #9 +declare i16 @llvm.bswap.i16(i16) #7 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #10 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #8 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #10 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #8 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #9 +declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #7 attributes #0 = { 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 #1 = { "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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #8 = { nofree norecurse nosync nounwind 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 #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #10 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #11 = { nounwind } +attributes #5 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #8 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #9 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4, !5} diff --git a/bench/openjdk/optimized/imageFile.ll b/bench/openjdk/optimized/imageFile.ll index 204aafe8d34..91d37d04cb7 100644 --- a/bench/openjdk/optimized/imageFile.ll +++ b/bench/openjdk/optimized/imageFile.ll @@ -27,7 +27,7 @@ $_ZN15ImageFileReader10index_sizeEv = comdat any @_ZN15ImageFileReaderC1EPKcb = hidden unnamed_addr alias void (ptr, ptr, i1), ptr @_ZN15ImageFileReaderC2EPKcb @_ZN15ImageFileReaderD1Ev = hidden unnamed_addr alias void (ptr), ptr @_ZN15ImageFileReaderD2Ev -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define hidden noundef range(i32 0, -2147483648) i32 @_ZN12ImageStrings9hash_codeEPKci(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 align 2 { %.09 = load i8, ptr %0, align 1 %.not10 = icmp eq i8 %.09, 0 @@ -124,7 +124,7 @@ _ZN12ImageStrings9hash_codeEPKci.exit: ; preds = %.lr.ph.i, %21 ret i32 %.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define hidden noundef ptr @_ZN12ImageStrings11starts_withEPKcS1_(ptr noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 align 2 { %3 = load i8, ptr %0, align 1 %.not13 = icmp eq i8 %3, 0 @@ -154,7 +154,7 @@ define hidden noundef ptr @_ZN12ImageStrings11starts_withEPKcS1_(ptr noundef rea ret ptr %.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN13ImageLocation8set_dataEPh(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(64) %0, ptr noundef readonly %1) local_unnamed_addr #2 align 2 { %.not12 = icmp eq ptr %1, null br i1 %.not12, label %.critedge, label %.lr.ph.preheader @@ -692,7 +692,7 @@ define hidden void @_ZN20ImageFileReaderTable6removeEP15ImageFileReader(ptr noca } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define hidden noundef zeroext i1 @_ZN20ImageFileReaderTable8containsEP15ImageFileReader(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %0, ptr noundef readnone %1) local_unnamed_addr #0 align 2 { +define hidden noundef zeroext i1 @_ZN20ImageFileReaderTable8containsEP15ImageFileReader(ptr nocapture noundef nonnull readonly align 8 dereferenceable(16) %0, ptr noundef readnone %1) local_unnamed_addr #16 align 2 { %3 = load i32, ptr %0, align 8 %.not = icmp eq i32 %3, 0 br i1 %.not, label %._crit_edge, label %.lr.ph @@ -726,7 +726,7 @@ define hidden noundef zeroext i1 @_ZN20ImageFileReaderTable8containsEP15ImageFil ret i1 %.lcssa } -declare void @_ZN21SimpleCriticalSectionC1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #16 +declare void @_ZN21SimpleCriticalSectionC1Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #17 ; Function Attrs: mustprogress uwtable define hidden noundef ptr @_ZN15ImageFileReader10find_imageEPKc(ptr nocapture noundef readonly %0) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 { @@ -1389,7 +1389,7 @@ define hidden void @_ZN15ImageFileReaderC2EPKcb(ptr nocapture noundef nonnull wr ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite) declare ptr @strncpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly, i64 noundef) local_unnamed_addr #9 -declare noundef ptr @_ZN6Endian11get_handlerEb(i1 noundef zeroext) local_unnamed_addr #16 +declare noundef ptr @_ZN6Endian11get_handlerEb(i1 noundef zeroext) local_unnamed_addr #17 ; Function Attrs: mustprogress nounwind uwtable define hidden void @_ZN15ImageFileReaderD2Ev(ptr nocapture noundef nonnull align 8 dereferenceable(120) %0) unnamed_addr #15 align 2 personality ptr @__gxx_personality_v0 { @@ -1464,7 +1464,7 @@ _ZN15ImageFileReader5closeEv.exit: ; preds = %17, %14 } ; Function Attrs: noreturn nounwind uwtable -define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #17 comdat { +define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #18 comdat { %2 = tail call ptr @__cxa_begin_catch(ptr %0) #23 tail call void @_ZSt9terminatev() #27 unreachable @@ -1474,9 +1474,9 @@ declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr declare void @_ZSt9terminatev() local_unnamed_addr -declare noundef i32 @_ZN9osSupport12openReadOnlyEPKc(ptr noundef) local_unnamed_addr #16 +declare noundef i32 @_ZN9osSupport12openReadOnlyEPKc(ptr noundef) local_unnamed_addr #17 -declare noundef i64 @_ZN9osSupport4sizeEPKc(ptr noundef) local_unnamed_addr #16 +declare noundef i64 @_ZN9osSupport4sizeEPKc(ptr noundef) local_unnamed_addr #17 ; Function Attrs: mustprogress uwtable define hidden noundef zeroext i1 @_ZNK15ImageFileReader7read_atEPhyy(ptr nocapture noundef nonnull readonly align 8 dereferenceable(120) %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #1 align 2 { @@ -1521,13 +1521,13 @@ define linkonce_odr hidden noundef i64 @_ZN15ImageFileReader10index_sizeEv(ptr n ret i64 %30 } -declare noundef ptr @_ZN9osSupport10map_memoryEiPKcmm(i32 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #16 +declare noundef ptr @_ZN9osSupport10map_memoryEiPKcmm(i32 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #17 -declare noundef i32 @_ZN9osSupport12unmap_memoryEPvm(ptr noundef, i64 noundef) local_unnamed_addr #16 +declare noundef i32 @_ZN9osSupport12unmap_memoryEPvm(ptr noundef, i64 noundef) local_unnamed_addr #17 -declare noundef i32 @_ZN9osSupport5closeEi(i32 noundef) local_unnamed_addr #16 +declare noundef i32 @_ZN9osSupport5closeEi(i32 noundef) local_unnamed_addr #17 -declare noundef i64 @_ZN9osSupport4readEiPcll(i32 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #16 +declare noundef i64 @_ZN9osSupport4readEiPcll(i32 noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #17 ; Function Attrs: mustprogress uwtable define hidden noundef zeroext i1 @_ZNK15ImageFileReader15verify_locationER13ImageLocationPKc(ptr nocapture noundef nonnull readonly align 8 dereferenceable(120) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %1, ptr nocapture noundef readonly %2) local_unnamed_addr #1 align 2 { @@ -1923,18 +1923,18 @@ _ZN13ImageLocationC2EPh.exit: ; preds = %.lr.ph.i, %_ZN13Ima ret void } -declare void @_ZN17ImageDecompressor19decompress_resourceEPhS0_yPK12ImageStringsP6Endian(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #16 +declare void @_ZN17ImageDecompressor19decompress_resourceEPhS0_yPK12ImageStringsP6Endian(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #17 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define hidden noundef ptr @_ZN15ImageFileReader21get_image_module_dataEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(120) %0) local_unnamed_addr #18 align 2 { +define hidden noundef ptr @_ZN15ImageFileReader21get_image_module_dataEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(120) %0) local_unnamed_addr #0 align 2 { %2 = getelementptr inbounds i8, ptr %0, i64 112 %3 = load ptr, ptr %2, align 8 ret ptr %3 } -declare void @_ZN21SimpleCriticalSection5enterEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #16 +declare void @_ZN21SimpleCriticalSection5enterEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #17 -declare void @_ZN21SimpleCriticalSection4exitEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #16 +declare void @_ZN21SimpleCriticalSection4exitEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #17 ; Function Attrs: uwtable define internal void @_GLOBAL__sub_I_imageFile.cpp() #19 section ".text.startup" { @@ -1949,9 +1949,9 @@ define internal void @_GLOBAL__sub_I_imageFile.cpp() #19 section ".text.startup" ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #20 -attributes #0 = { 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 #0 = { 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 #1 = { mustprogress 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 #2 = { mustprogress 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 #2 = { mustprogress 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 #3 = { 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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #5 = { 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" } @@ -1965,9 +1965,9 @@ attributes #12 = { mustprogress nofree nounwind willreturn allockind("alloc,zero attributes #13 = { mustprogress nounwind willreturn 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 nounwind willreturn allockind("realloc") allocsize(1) 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 #15 = { mustprogress 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 #16 = { "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 #17 = { noreturn nounwind uwtable "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 #18 = { 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 #16 = { 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 #17 = { "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 #18 = { noreturn nounwind uwtable "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 #19 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #21 = { nounwind willreturn memory(read) } diff --git a/bench/openjdk/optimized/jvmtiManageCapabilities.ll b/bench/openjdk/optimized/jvmtiManageCapabilities.ll index 0bf6283808b..e1030526b20 100644 --- a/bench/openjdk/optimized/jvmtiManageCapabilities.ll +++ b/bench/openjdk/optimized/jvmtiManageCapabilities.ll @@ -42,10 +42,10 @@ target triple = "x86_64-pc-linux-gnu" ; Function Attrs: mustprogress nounwind uwtable define hidden void @_ZN23JvmtiManageCapabilities10initializeEv() local_unnamed_addr #0 align 2 { - %1 = tail call noundef ptr @_Z12AllocateHeapm8MEMFLAGSN17AllocFailStrategy13AllocFailEnumE(i64 noundef 104, i8 noundef zeroext 22, i32 noundef 0) #8 - tail call void @_ZN5MutexC2ENS_4RankEPKcb(ptr noundef nonnull align 8 dereferenceable(104) %1, i32 noundef 21, ptr noundef nonnull @.str, i1 noundef zeroext true) #8 + %1 = tail call noundef ptr @_Z12AllocateHeapm8MEMFLAGSN17AllocFailStrategy13AllocFailEnumE(i64 noundef 104, i8 noundef zeroext 22, i32 noundef 0) #9 + tail call void @_ZN5MutexC2ENS_4RankEPKcb(ptr noundef nonnull align 8 dereferenceable(104) %1, i32 noundef 21, ptr noundef nonnull @.str, i1 noundef zeroext true) #9 store ptr %1, ptr @_ZN23JvmtiManageCapabilities18_capabilities_lockE, align 8 - %2 = tail call noundef zeroext i1 @_ZN2os28is_thread_cpu_time_supportedEv() #8 + %2 = tail call noundef zeroext i1 @_ZN2os28is_thread_cpu_time_supportedEv() #9 %spec.select.i = select i1 %2, i64 19765387075225, i64 19765374492313 store i64 %spec.select.i, ptr @_ZN23JvmtiManageCapabilities19always_capabilitiesE, align 8 store i64 6622890418528, ptr @_ZN23JvmtiManageCapabilities19onload_capabilitiesE, align 8 @@ -59,7 +59,7 @@ define hidden void @_ZN23JvmtiManageCapabilities10initializeEv() local_unnamed_a ; Function Attrs: mustprogress nounwind uwtable define hidden noundef range(i64 19765372387328, 19765389164544) i64 @_ZN23JvmtiManageCapabilities24init_always_capabilitiesEv() local_unnamed_addr #0 align 2 { - %1 = tail call noundef zeroext i1 @_ZN2os28is_thread_cpu_time_supportedEv() #8 + %1 = tail call noundef zeroext i1 @_ZN2os28is_thread_cpu_time_supportedEv() #9 %spec.select = select i1 %1, i64 19765387075225, i64 19765374492313 ret i64 %spec.select } @@ -84,7 +84,7 @@ declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare noundef zeroext i1 @_ZN2os28is_thread_cpu_time_supportedEv() local_unnamed_addr #3 -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden noundef ptr @_ZN23JvmtiManageCapabilities6eitherEPK17jvmtiCapabilitiesS2_PS0_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef returned writeonly %2) local_unnamed_addr #4 align 2 { br label %4 @@ -108,7 +108,7 @@ define hidden noundef ptr @_ZN23JvmtiManageCapabilities6eitherEPK17jvmtiCapabili ret ptr %2 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden noundef ptr @_ZN23JvmtiManageCapabilities4bothEPK17jvmtiCapabilitiesS2_PS0_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef returned writeonly %2) local_unnamed_addr #4 align 2 { br label %4 @@ -132,7 +132,7 @@ define hidden noundef ptr @_ZN23JvmtiManageCapabilities4bothEPK17jvmtiCapabiliti ret ptr %2 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden noundef ptr @_ZN23JvmtiManageCapabilities7excludeEPK17jvmtiCapabilitiesS2_PS0_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef returned writeonly %2) local_unnamed_addr #4 align 2 { br label %4 @@ -157,7 +157,7 @@ define hidden noundef ptr @_ZN23JvmtiManageCapabilities7excludeEPK17jvmtiCapabil ret ptr %2 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define hidden noundef zeroext i1 @_ZN23JvmtiManageCapabilities8has_someEPK17jvmtiCapabilities(ptr nocapture noundef readonly %0) local_unnamed_addr #5 align 2 { %2 = load i8, ptr %0, align 1 %.not8 = icmp eq i8 %2, 0 @@ -185,7 +185,7 @@ define hidden noundef zeroext i1 @_ZN23JvmtiManageCapabilities8has_someEPK17jvmt ret i1 %.lcssa } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define hidden void @_ZN23JvmtiManageCapabilities17copy_capabilitiesEPK17jvmtiCapabilitiesPS0_(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #4 align 2 { br label %3 @@ -205,8 +205,8 @@ define hidden void @_ZN23JvmtiManageCapabilities17copy_capabilitiesEPK17jvmtiCap ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @_ZN23JvmtiManageCapabilities33get_potential_capabilities_nolockEPK17jvmtiCapabilitiesS2_PS0_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2) local_unnamed_addr #4 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @_ZN23JvmtiManageCapabilities33get_potential_capabilities_nolockEPK17jvmtiCapabilitiesS2_PS0_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2) local_unnamed_addr #6 align 2 { br label %4 4: ; preds = %4, %3 @@ -302,7 +302,7 @@ define hidden void @_ZN23JvmtiManageCapabilities26get_potential_capabilitiesEPK1 br i1 %.not.i.i.i, label %_ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerC2Ev.exit.preheader, label %8 8: ; preds = %3 - tail call void @_ZN5Mutex28lock_without_safepoint_checkEv(ptr noundef nonnull align 8 dereferenceable(104) %7) #8 + tail call void @_ZN5Mutex28lock_without_safepoint_checkEv(ptr noundef nonnull align 8 dereferenceable(104) %7) #9 br label %_ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerC2Ev.exit.preheader _ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerC2Ev.exit.preheader: ; preds = %3, %8 @@ -390,7 +390,7 @@ _ZN23JvmtiManageCapabilities33get_potential_capabilities_nolockEPK17jvmtiCapabil br i1 %.not.i.i.i, label %_ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerD2Ev.exit, label %43 43: ; preds = %_ZN23JvmtiManageCapabilities33get_potential_capabilities_nolockEPK17jvmtiCapabilitiesS2_PS0_.exit - tail call void @_ZN5Mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(104) %7) #8 + tail call void @_ZN5Mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(104) %7) #9 br label %_ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerD2Ev.exit _ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerD2Ev.exit: ; preds = %_ZN23JvmtiManageCapabilities33get_potential_capabilities_nolockEPK17jvmtiCapabilitiesS2_PS0_.exit, %43 @@ -409,7 +409,7 @@ define hidden noundef range(i32 0, 99) i32 @_ZN23JvmtiManageCapabilities16add_ca br i1 %.not.i.i.i, label %_ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerC2Ev.exit.preheader, label %10 10: ; preds = %4 - tail call void @_ZN5Mutex28lock_without_safepoint_checkEv(ptr noundef nonnull align 8 dereferenceable(104) %9) #8 + tail call void @_ZN5Mutex28lock_without_safepoint_checkEv(ptr noundef nonnull align 8 dereferenceable(104) %9) #9 br label %_ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerC2Ev.exit.preheader _ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerC2Ev.exit.preheader: ; preds = %4, %10 @@ -716,15 +716,15 @@ _ZN23JvmtiManageCapabilities6eitherEPK17jvmtiCapabilitiesS2_PS0_.exit72: ; preds br i1 %.not.i.i.i, label %_ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerD2Ev.exit, label %134 134: ; preds = %.critedge - tail call void @_ZN5Mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(104) %9) #8 + tail call void @_ZN5Mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(104) %9) #9 br label %_ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerD2Ev.exit _ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerD2Ev.exit: ; preds = %.critedge, %134 ret i32 %.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, argmem: read, inaccessiblemem: none) uwtable -define hidden void @_ZN23JvmtiManageCapabilities6updateEv() local_unnamed_addr #6 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, argmem: none, inaccessiblemem: none) uwtable +define hidden void @_ZN23JvmtiManageCapabilities6updateEv() local_unnamed_addr #7 align 2 { %1 = alloca %struct.jvmtiCapabilities, align 8 br label %2 @@ -856,7 +856,7 @@ define hidden void @_ZN23JvmtiManageCapabilities23relinquish_capabilitiesEPK17jv br i1 %.not.i.i.i, label %_ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerC2Ev.exit.preheader, label %10 10: ; preds = %3 - tail call void @_ZN5Mutex28lock_without_safepoint_checkEv(ptr noundef nonnull align 8 dereferenceable(104) %9) #8 + tail call void @_ZN5Mutex28lock_without_safepoint_checkEv(ptr noundef nonnull align 8 dereferenceable(104) %9) #9 br label %_ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerC2Ev.exit.preheader _ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerC2Ev.exit.preheader: ; preds = %3, %10 @@ -975,7 +975,7 @@ _ZN23JvmtiManageCapabilities7excludeEPK17jvmtiCapabilitiesS2_PS0_.exit: ; preds br i1 %.not.i.i.i, label %_ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerD2Ev.exit, label %59 59: ; preds = %_ZN23JvmtiManageCapabilities7excludeEPK17jvmtiCapabilitiesS2_PS0_.exit - tail call void @_ZN5Mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(104) %9) #8 + tail call void @_ZN5Mutex6unlockEv(ptr noundef nonnull align 8 dereferenceable(104) %9) #9 br label %_ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerD2Ev.exit _ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerD2Ev.exit: ; preds = %_ZN23JvmtiManageCapabilities7excludeEPK17jvmtiCapabilitiesS2_PS0_.exit, %59 @@ -985,7 +985,7 @@ _ZN23JvmtiManageCapabilities23CapabilitiesMutexLockerD2Ev.exit: ; preds = %_ZN23 declare void @_ZN5MutexC2ENS_4RankEPKcb(ptr noundef nonnull align 8 dereferenceable(104), i32 noundef, ptr noundef, i1 noundef zeroext) unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #7 +declare nonnull ptr @llvm.threadlocal.address.p0(ptr nonnull) #8 declare void @_ZN5Mutex28lock_without_safepoint_checkEv(ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #3 @@ -997,11 +997,12 @@ attributes #0 = { mustprogress nounwind uwtable "frame-pointer"="all" "min-legal attributes #1 = { 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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "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 #4 = { mustprogress 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 #5 = { 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 #6 = { mustprogress nofree norecurse nosync nounwind memory(readwrite, argmem: 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #8 = { nounwind } +attributes #4 = { mustprogress 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 #5 = { 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 #6 = { mustprogress 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 #7 = { mustprogress nofree norecurse nosync nounwind memory(readwrite, argmem: none, 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #9 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4, !5} diff --git a/bench/openjdk/optimized/mlib_c_ImageLookUp_f.ll b/bench/openjdk/optimized/mlib_c_ImageLookUp_f.ll index 4428a17e3b2..38ef31e2e15 100644 --- a/bench/openjdk/optimized/mlib_c_ImageLookUp_f.ll +++ b/bench/openjdk/optimized/mlib_c_ImageLookUp_f.ll @@ -1788,8 +1788,8 @@ default.unreachable: ; preds = %811 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUp_S16_U8(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUp_S16_U8(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -2093,8 +2093,8 @@ define hidden void @mlib_c_ImageLookUp_S16_U8(ptr nocapture noundef readonly %0, ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUp_U16_U8(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUp_U16_U8(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -2389,8 +2389,8 @@ define hidden void @mlib_c_ImageLookUp_U16_U8(ptr nocapture noundef readonly %0, ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUp_S32_U8(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUp_S32_U8(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -4547,8 +4547,8 @@ default.unreachable: ; preds = %880 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUp_S16_S16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUp_S16_S16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -4852,8 +4852,8 @@ define hidden void @mlib_c_ImageLookUp_S16_S16(ptr nocapture noundef readonly %0 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUp_U16_S16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUp_U16_S16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -5148,8 +5148,8 @@ define hidden void @mlib_c_ImageLookUp_U16_S16(ptr nocapture noundef readonly %0 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUp_S32_S16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUp_S32_S16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -5453,8 +5453,8 @@ define hidden void @mlib_c_ImageLookUp_S32_S16(ptr nocapture noundef readonly %0 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUp_S16_U16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUp_S16_U16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -5758,8 +5758,8 @@ define hidden void @mlib_c_ImageLookUp_S16_U16(ptr nocapture noundef readonly %0 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUp_U16_U16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUp_U16_U16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -6054,8 +6054,8 @@ define hidden void @mlib_c_ImageLookUp_U16_U16(ptr nocapture noundef readonly %0 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUp_S32_U16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUp_S32_U16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -7491,8 +7491,8 @@ default.unreachable: ; preds = %485 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUp_S16_S32(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUp_S16_S32(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -7796,8 +7796,8 @@ define hidden void @mlib_c_ImageLookUp_S16_S32(ptr nocapture noundef readonly %0 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUp_U16_S32(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUp_U16_S32(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -8092,8 +8092,8 @@ define hidden void @mlib_c_ImageLookUp_U16_S32(ptr nocapture noundef readonly %0 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUp_S32_S32(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUp_S32_S32(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -8397,8 +8397,8 @@ define hidden void @mlib_c_ImageLookUp_S32_S32(ptr nocapture noundef readonly %0 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUpSI_U8_U8(ptr noundef readonly %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUpSI_U8_U8(ptr noundef readonly %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = ptrtoint ptr %2 to i64 %10 = alloca [256 x i16], align 16 %11 = alloca [256 x i32], align 16 @@ -9444,8 +9444,8 @@ define hidden void @mlib_c_ImageLookUpSI_U8_U8(ptr noundef readonly %0, i32 noun ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUpSI_S16_U8(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUpSI_S16_U8(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = ptrtoint ptr %2 to i64 %10 = alloca [4 x ptr], align 16 %11 = icmp sgt i32 %6, 0 @@ -10225,8 +10225,8 @@ define hidden void @mlib_c_ImageLookUpSI_S16_U8(ptr nocapture noundef readonly % ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUpSI_U16_U8(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUpSI_U16_U8(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = ptrtoint ptr %2 to i64 %10 = alloca [4 x ptr], align 16 %11 = icmp sgt i32 %6, 0 @@ -10997,8 +10997,8 @@ define hidden void @mlib_c_ImageLookUpSI_U16_U8(ptr nocapture noundef readonly % ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUpSI_S32_U8(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUpSI_S32_U8(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -11298,8 +11298,8 @@ define hidden void @mlib_c_ImageLookUpSI_S32_U8(ptr nocapture noundef readonly % ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUpSI_U8_S16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUpSI_U8_S16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [256 x i32], align 16 %10 = alloca [512 x i32], align 16 %11 = alloca [512 x i32], align 16 @@ -12266,8 +12266,8 @@ define hidden void @mlib_c_ImageLookUpSI_U8_S16(ptr nocapture noundef readonly % ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUpSI_S16_S16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUpSI_S16_S16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -12567,8 +12567,8 @@ define hidden void @mlib_c_ImageLookUpSI_S16_S16(ptr nocapture noundef readonly ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUpSI_U16_S16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUpSI_U16_S16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -12859,8 +12859,8 @@ define hidden void @mlib_c_ImageLookUpSI_U16_S16(ptr nocapture noundef readonly ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUpSI_S32_S16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUpSI_S32_S16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -13160,8 +13160,8 @@ define hidden void @mlib_c_ImageLookUpSI_S32_S16(ptr nocapture noundef readonly ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUpSI_S16_U16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUpSI_S16_U16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -13461,8 +13461,8 @@ define hidden void @mlib_c_ImageLookUpSI_S16_U16(ptr nocapture noundef readonly ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUpSI_U16_U16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUpSI_U16_U16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -13753,8 +13753,8 @@ define hidden void @mlib_c_ImageLookUpSI_U16_U16(ptr nocapture noundef readonly ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUpSI_S32_U16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUpSI_S32_U16(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -14054,8 +14054,8 @@ define hidden void @mlib_c_ImageLookUpSI_S32_U16(ptr nocapture noundef readonly ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUpSI_U8_S32(ptr noundef %0, i32 noundef %1, ptr noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUpSI_U8_S32(ptr noundef %0, i32 noundef %1, ptr noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = ptrtoint ptr %0 to i64 %10 = icmp slt i32 %4, 7 br i1 %10, label %11, label %141 @@ -15096,8 +15096,8 @@ define hidden void @mlib_c_ImageLookUpSI_U8_S32(ptr noundef %0, i32 noundef %1, ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUpSI_S16_S32(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUpSI_S16_S32(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -15397,8 +15397,8 @@ define hidden void @mlib_c_ImageLookUpSI_S16_S32(ptr nocapture noundef readonly ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUpSI_U16_S32(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUpSI_U16_S32(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -15689,8 +15689,8 @@ define hidden void @mlib_c_ImageLookUpSI_U16_S32(ptr nocapture noundef readonly ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @mlib_c_ImageLookUpSI_S32_S32(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define hidden void @mlib_c_ImageLookUpSI_S32_S32(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #1 { %9 = alloca [4 x ptr], align 16 %10 = icmp sgt i32 %6, 0 br i1 %10, label %.lr.ph.preheader, label %._crit_edge @@ -15991,17 +15991,18 @@ define hidden void @mlib_c_ImageLookUpSI_S32_S32(ptr nocapture noundef readonly } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #1 +declare i32 @llvm.fshl.i32(i32, i32, i32) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <4 x i32> @llvm.fshl.v4i32(<4 x i32>, <4 x i32>, <4 x i32>) #1 +declare <4 x i32> @llvm.fshl.v4i32(<4 x i32>, <4 x i32>, <4 x i32>) #2 attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #1 = { 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4, !5} diff --git a/bench/openjdk/optimized/utf8.ll b/bench/openjdk/optimized/utf8.ll index 78fd45f7b0f..4c04d45b5ad 100644 --- a/bench/openjdk/optimized/utf8.ll +++ b/bench/openjdk/optimized/utf8.ll @@ -361,8 +361,8 @@ define hidden noundef i32 @_ZN4UTF814unicode_lengthEPKciRbS2_(ptr nocapture noun ret i32 %.0.lcssa } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden noundef i32 @_ZN4UTF814unicode_lengthEPKcRbS2_(ptr nocapture noundef readonly %0, ptr nocapture noundef nonnull writeonly align 1 dereferenceable(1) %1, ptr nocapture noundef nonnull writeonly align 1 dereferenceable(1) %2) local_unnamed_addr #4 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden noundef i32 @_ZN4UTF814unicode_lengthEPKcRbS2_(ptr nocapture noundef readonly %0, ptr nocapture noundef nonnull writeonly align 1 dereferenceable(1) %1, ptr nocapture noundef nonnull writeonly align 1 dereferenceable(1) %2) local_unnamed_addr #3 align 2 { store i8 0, ptr %2, align 1 store i8 1, ptr %1, align 1 %4 = load i8, ptr %0, align 1 @@ -671,8 +671,8 @@ _ZN4UTF84nextIaEEPcPKcPT_.exit: ; preds = %.lr.ph25, %16, %21, ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define hidden noundef i32 @_ZN4UTF819quoted_ascii_lengthEPKci(ptr noundef readonly %0, i32 noundef %1) local_unnamed_addr #5 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable +define hidden noundef i32 @_ZN4UTF819quoted_ascii_lengthEPKci(ptr noundef readonly %0, i32 noundef %1) local_unnamed_addr #1 align 2 { %3 = sext i32 %1 to i64 %4 = getelementptr inbounds i8, ptr %0, i64 %3 %5 = icmp sgt i32 %1, 0 @@ -860,7 +860,7 @@ _ZN4UTF84nextItEEPcPKcPT_.exit: ; preds = %12, %19, %36, %46 br i1 %.not, label %57, label %._crit_edge 57: ; preds = %55 - %58 = tail call noundef i32 (ptr, i64, ptr, ...) @_ZN2os16snprintf_checkedEPcmPKcz(ptr noundef %.01822, i64 noundef 7, ptr noundef nonnull @.str, i32 noundef %49) #9 + %58 = tail call noundef i32 (ptr, i64, ptr, ...) @_ZN2os16snprintf_checkedEPcmPKcz(ptr noundef %.01822, i64 noundef 7, ptr noundef nonnull @.str, i32 noundef %49) #6 br label %59 59: ; preds = %57, %53 @@ -874,7 +874,7 @@ _ZN4UTF84nextItEEPcPKcPT_.exit: ; preds = %12, %19, %36, %46 ret void } -declare noundef i32 @_ZN2os16snprintf_checkedEPcmPKcz(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #6 +declare noundef i32 @_ZN2os16snprintf_checkedEPcmPKcz(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define hidden noundef zeroext i1 @_ZN4UTF85equalEPKaiS1_i(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) local_unnamed_addr #1 align 2 { @@ -1098,7 +1098,7 @@ default.unreachable: ; preds = %_ZN4UTF826is_supple } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef zeroext i1 @_ZN7UNICODE9is_latin1Et(i16 noundef zeroext %0) local_unnamed_addr #7 align 2 { +define hidden noundef zeroext i1 @_ZN7UNICODE9is_latin1Et(i16 noundef zeroext %0) local_unnamed_addr #5 align 2 { %2 = icmp ult i16 %0, 256 ret i1 %2 } @@ -1137,7 +1137,7 @@ define hidden noundef zeroext i1 @_ZN7UNICODE9is_latin1EPKti(ptr nocapture nound } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef range(i32 1, 4) i32 @_ZN7UNICODE9utf8_sizeEt(i16 noundef zeroext %0) local_unnamed_addr #7 align 2 { +define hidden noundef range(i32 1, 4) i32 @_ZN7UNICODE9utf8_sizeEt(i16 noundef zeroext %0) local_unnamed_addr #5 align 2 { %2 = add i16 %0, -1 %or.cond = icmp ult i16 %2, 127 %3 = icmp ult i16 %0, 2048 @@ -1147,14 +1147,14 @@ define hidden noundef range(i32 1, 4) i32 @_ZN7UNICODE9utf8_sizeEt(i16 noundef z } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define hidden noundef range(i32 1, 3) i32 @_ZN7UNICODE9utf8_sizeEa(i8 noundef signext %0) local_unnamed_addr #7 align 2 { +define hidden noundef range(i32 1, 3) i32 @_ZN7UNICODE9utf8_sizeEa(i8 noundef signext %0) local_unnamed_addr #5 align 2 { %2 = icmp sgt i8 %0, 0 %. = select i1 %2, i32 1, i32 2 ret i32 %. } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden noundef ptr @_ZN7UNICODE7as_utf8EPKtiPci(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef returned writeonly %2, i32 noundef %3) local_unnamed_addr #8 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden noundef ptr @_ZN7UNICODE7as_utf8EPKtiPci(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef returned writeonly %2, i32 noundef %3) local_unnamed_addr #3 align 2 { %5 = icmp sgt i32 %1, 0 br i1 %5, label %.lr.ph.preheader, label %._crit_edge @@ -1231,8 +1231,8 @@ _ZL10utf8_writePht.exit: ; preds = %13, %16, %24 ret ptr %2 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden noundef ptr @_ZN7UNICODE7as_utf8EPKaiPci(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef returned writeonly %2, i32 noundef %3) local_unnamed_addr #8 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden noundef ptr @_ZN7UNICODE7as_utf8EPKaiPci(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef returned writeonly %2, i32 noundef %3) local_unnamed_addr #3 align 2 { %5 = icmp sgt i32 %1, 0 br i1 %5, label %.lr.ph.preheader, label %._crit_edge @@ -1294,8 +1294,8 @@ _ZL10utf8_writePht.exit: ; preds = %14, %17 ret ptr %2 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @_ZN7UNICODE15convert_to_utf8EPKtiPc(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #8 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @_ZN7UNICODE15convert_to_utf8EPKtiPc(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #3 align 2 { %4 = icmp sgt i32 %1, 0 br i1 %4, label %.lr.ph.preheader, label %._crit_edge @@ -1445,7 +1445,7 @@ _ZN7UNICODE11utf8_lengthIaEEiPKT_i.exit: ; preds = %.lr.ph.i, %2 %.0.lcssa.i = phi i32 [ 0, %2 ], [ %8, %.lr.ph.i ] %9 = add nsw i32 %.0.lcssa.i, 1 %10 = sext i32 %9 to i64 - %11 = tail call noundef ptr @_Z23resource_allocate_bytesmN17AllocFailStrategy13AllocFailEnumE(i64 noundef %10, i32 noundef 0) #9 + %11 = tail call noundef ptr @_Z23resource_allocate_bytesmN17AllocFailStrategy13AllocFailEnumE(i64 noundef %10, i32 noundef 0) #6 %12 = load i32, ptr %1, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %.lr.ph.preheader.i9, label %_ZN7UNICODE7as_utf8EPKaiPci.exit @@ -1509,7 +1509,7 @@ _ZN7UNICODE7as_utf8EPKaiPci.exit: ; preds = %.lr.ph.i11, %32, %_ ret ptr %11 } -declare noundef ptr @_Z23resource_allocate_bytesmN17AllocFailStrategy13AllocFailEnumE(i64 noundef, i32 noundef) local_unnamed_addr #6 +declare noundef ptr @_Z23resource_allocate_bytesmN17AllocFailStrategy13AllocFailEnumE(i64 noundef, i32 noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nounwind uwtable define weak_odr hidden noundef ptr @_ZN7UNICODE7as_utf8ItEEPcPKT_Ri(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(4) %1) local_unnamed_addr #2 comdat align 2 { @@ -1540,7 +1540,7 @@ _ZN7UNICODE11utf8_lengthItEEiPKT_i.exit: ; preds = %.lr.ph.i, %2 %.0.lcssa.i = phi i32 [ 0, %2 ], [ %9, %.lr.ph.i ] %10 = add nsw i32 %.0.lcssa.i, 1 %11 = sext i32 %10 to i64 - %12 = tail call noundef ptr @_Z23resource_allocate_bytesmN17AllocFailStrategy13AllocFailEnumE(i64 noundef %11, i32 noundef 0) #9 + %12 = tail call noundef ptr @_Z23resource_allocate_bytesmN17AllocFailStrategy13AllocFailEnumE(i64 noundef %11, i32 noundef 0) #6 %13 = load i32, ptr %1, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %.lr.ph.preheader.i9, label %_ZN7UNICODE7as_utf8EPKtiPci.exit @@ -1709,7 +1709,7 @@ define weak_odr hidden void @_ZN7UNICODE15as_quoted_asciiIaEEvPKT_iPci(ptr nound br i1 %.not, label %17, label %._crit_edge 17: ; preds = %15 - %18 = tail call noundef i32 (ptr, i64, ptr, ...) @_ZN2os16snprintf_checkedEPcmPKcz(ptr noundef %.026, i64 noundef 7, ptr noundef nonnull @.str, i32 noundef %10) #9 + %18 = tail call noundef i32 (ptr, i64, ptr, ...) @_ZN2os16snprintf_checkedEPcmPKcz(ptr noundef %.026, i64 noundef 7, ptr noundef nonnull @.str, i32 noundef %10) #6 br label %19 19: ; preds = %14, %17 @@ -1761,7 +1761,7 @@ define weak_odr hidden void @_ZN7UNICODE15as_quoted_asciiItEEvPKT_iPci(ptr nound br i1 %.not, label %18, label %._crit_edge 18: ; preds = %16 - %19 = tail call noundef i32 (ptr, i64, ptr, ...) @_ZN2os16snprintf_checkedEPcmPKcz(ptr noundef %.026, i64 noundef 7, ptr noundef nonnull @.str, i32 noundef %10) #9 + %19 = tail call noundef i32 (ptr, i64, ptr, ...) @_ZN2os16snprintf_checkedEPcmPKcz(ptr noundef %.026, i64 noundef 7, ptr noundef nonnull @.str, i32 noundef %10) #6 br label %20 20: ; preds = %14, %18 @@ -1780,12 +1780,9 @@ attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memor attributes #1 = { 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 #2 = { mustprogress 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 #3 = { mustprogress 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 #4 = { mustprogress 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 #5 = { 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 #6 = { "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 #7 = { 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 #8 = { mustprogress nofree norecurse nosync nounwind 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 #9 = { nounwind } +attributes #4 = { "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 #5 = { 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 #6 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4, !5} diff --git a/bench/openmpi/optimized/opal_copy_functions_heterogeneous.ll b/bench/openmpi/optimized/opal_copy_functions_heterogeneous.ll index c4aae1e9179..04b816ed653 100644 --- a/bench/openmpi/optimized/opal_copy_functions_heterogeneous.ll +++ b/bench/openmpi/optimized/opal_copy_functions_heterogeneous.ll @@ -7,7 +7,7 @@ target triple = "x86_64-pc-linux-gnu" @opal_local_arch = external local_unnamed_addr global i32, align 4 @alignment_of_long_double.val = internal unnamed_addr global i1 false, align 8 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @copy_int1_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #0 { datatype_check.exit: %9 = getelementptr inbounds i8, ptr %0, i64 20 @@ -91,7 +91,7 @@ opal_dt_swap_bytes.exit.loopexit.us: ; preds = %.lr.ph34.us.i.us ret i32 %35 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @copy_int2_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #0 { datatype_check.exit: %9 = getelementptr inbounds i8, ptr %0, i64 20 @@ -215,7 +215,7 @@ opal_dt_swap_bytes.exit.loopexit.us: ; preds = %..loopexit_crit_edg ret i32 %52 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @copy_int4_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #0 { datatype_check.exit: %9 = getelementptr inbounds i8, ptr %0, i64 20 @@ -339,7 +339,7 @@ opal_dt_swap_bytes.exit.loopexit.us: ; preds = %..loopexit_crit_edg ret i32 %52 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @copy_int8_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #0 { datatype_check.exit: %9 = getelementptr inbounds i8, ptr %0, i64 20 @@ -463,7 +463,7 @@ opal_dt_swap_bytes.exit.loopexit.us: ; preds = %..loopexit_crit_edg ret i32 %52 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @copy_float2_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #0 { datatype_check.exit: %9 = getelementptr inbounds i8, ptr %0, i64 20 @@ -587,7 +587,7 @@ opal_dt_swap_bytes.exit.loopexit.us: ; preds = %..loopexit_crit_edg ret i32 %52 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @copy_float4_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #0 { datatype_check.exit: %9 = getelementptr inbounds i8, ptr %0, i64 20 @@ -711,7 +711,7 @@ opal_dt_swap_bytes.exit.loopexit.us: ; preds = %..loopexit_crit_edg ret i32 %52 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @copy_float8_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #0 { datatype_check.exit: %9 = getelementptr inbounds i8, ptr %0, i64 20 @@ -836,7 +836,7 @@ opal_dt_swap_bytes.exit.loopexit.us: ; preds = %..loopexit_crit_edg } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal noundef i32 @copy_float16_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #0 { +define internal noundef i32 @copy_float16_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #1 { datatype_check.exit: %9 = alloca [32 x i8], align 16 %10 = getelementptr inbounds i8, ptr %0, i64 20 @@ -1245,7 +1245,7 @@ opal_dt_swap_bytes.exit: ; preds = %..loopexit_crit_edg ret i32 %159 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @copy_short_float_complex_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #0 { datatype_check.exit: %9 = getelementptr inbounds i8, ptr %0, i64 20 @@ -1370,7 +1370,7 @@ opal_dt_swap_bytes.exit.loopexit: ; preds = %..loopexit_crit_edg ret i32 %52 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @copy_float_complex_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #0 { datatype_check.exit: %9 = getelementptr inbounds i8, ptr %0, i64 20 @@ -1495,7 +1495,7 @@ opal_dt_swap_bytes.exit.loopexit: ; preds = %..loopexit_crit_edg ret i32 %52 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @copy_double_complex_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #0 { datatype_check.exit: %9 = getelementptr inbounds i8, ptr %0, i64 20 @@ -1621,7 +1621,7 @@ opal_dt_swap_bytes.exit.loopexit: ; preds = %..loopexit_crit_edg } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal noundef i32 @copy_long_double_complex_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #0 { +define internal noundef i32 @copy_long_double_complex_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, ptr noundef %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #1 { datatype_check.exit: %9 = alloca [32 x i8], align 16 %10 = getelementptr inbounds i8, ptr %0, i64 20 @@ -2033,7 +2033,7 @@ opal_dt_swap_bytes.exit: ; preds = %..loopexit_crit_edg ret i32 %161 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @copy_cxx_bool_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #0 { %10 = getelementptr inbounds i8, ptr %0, i64 16 %11 = load i32, ptr %10, align 8 @@ -2159,7 +2159,7 @@ datatype_check.exit: ; preds = %17, %15, %9 ret i32 %47 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal noundef i32 @copy_wchar_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #0 { datatype_check.exit: %9 = getelementptr inbounds i8, ptr %0, i64 20 @@ -2283,7 +2283,7 @@ opal_dt_swap_bytes.exit.loopexit.us: ; preds = %..loopexit_crit_edg ret i32 %52 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i32 @copy_long_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #0 { %10 = alloca i32, align 4 %11 = alloca i64, align 8 @@ -2582,7 +2582,7 @@ opal_dt_swap_bytes.exit146: ; preds = %.lr.ph.i142 ret i32 %111 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i32 @copy_unsigned_long_heterogeneous(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4, ptr nocapture noundef writeonly %5, i64 %6, i64 noundef %7, ptr nocapture noundef writeonly %8) #0 { %10 = alloca i32, align 4 %11 = alloca i64, align 8 @@ -2882,21 +2882,22 @@ opal_dt_swap_bytes.exit146: ; preds = %.lr.ph.i142 } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #2 +declare i64 @llvm.umin.i64(i64, i64) #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #3 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #4 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #3 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #4 -attributes #0 = { 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #0 = { 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #1 = { 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #4 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/openssl/optimized/libcrypto-lib-bio_addr.ll b/bench/openssl/optimized/libcrypto-lib-bio_addr.ll index 417b1280e20..3def27a6689 100644 --- a/bench/openssl/optimized/libcrypto-lib-bio_addr.ll +++ b/bench/openssl/optimized/libcrypto-lib-bio_addr.ll @@ -17,7 +17,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define noalias ptr @BIO_ADDR_new() local_unnamed_addr #0 { entry: - %call = tail call noalias ptr @CRYPTO_zalloc(i64 noundef 112, ptr noundef nonnull @.str, i32 noundef 54) #14 + %call = tail call noalias ptr @CRYPTO_zalloc(i64 noundef 112, ptr noundef nonnull @.str, i32 noundef 54) #13 %cmp = icmp eq ptr %call, null br i1 %cmp, label %return, label %if.end @@ -34,7 +34,7 @@ declare noalias ptr @CRYPTO_zalloc(i64 noundef, ptr noundef, i32 noundef) local_ ; Function Attrs: nounwind uwtable define void @BIO_ADDR_free(ptr noundef %ap) local_unnamed_addr #0 { entry: - tail call void @CRYPTO_free(ptr noundef %ap, ptr noundef nonnull @.str, i32 noundef 65) #14 + tail call void @CRYPTO_free(ptr noundef %ap, ptr noundef nonnull @.str, i32 noundef 65) #13 ret void } @@ -119,7 +119,7 @@ entry: br i1 %cmp.not, label %if.end4, label %if.then if.then: ; preds = %entry - %call.i = tail call noalias ptr @CRYPTO_zalloc(i64 noundef 112, ptr noundef nonnull @.str, i32 noundef 54) #14 + %call.i = tail call noalias ptr @CRYPTO_zalloc(i64 noundef 112, ptr noundef nonnull @.str, i32 noundef 54) #13 %cmp.i = icmp eq ptr %call.i, null br i1 %cmp.i, label %if.end4, label %if.end.i6 @@ -150,7 +150,7 @@ if.then12.i.i: ; preds = %if.end.i6 br label %if.end4 if.then3: ; preds = %if.end.i6 - tail call void @CRYPTO_free(ptr noundef nonnull %call.i, ptr noundef nonnull @.str, i32 noundef 65) #14 + tail call void @CRYPTO_free(ptr noundef nonnull %call.i, ptr noundef nonnull @.str, i32 noundef 65) #13 br label %if.end4 if.end4: ; preds = %if.then12.i.i, %if.then6.i.i, %if.then.i.i, %if.then4.i, %if.then, %if.then3, %entry @@ -182,7 +182,7 @@ if.end: ; preds = %if.then tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(110) %ap, i8 0, i64 110, i1 false) store i16 1, ptr %ap, align 4 %sun_path = getelementptr inbounds i8, ptr %ap, i64 2 - %call = tail call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %sun_path, ptr noundef nonnull dereferenceable(1) %where, i64 noundef 107) #14 + %call = tail call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %sun_path, ptr noundef nonnull dereferenceable(1) %where, i64 noundef 107) #13 br label %return if.then6: ; preds = %entry @@ -230,8 +230,8 @@ entry: ret i32 %conv } -; Function Attrs: mustprogress nofree nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @BIO_ADDR_rawaddress(ptr nocapture noundef readonly %ap, ptr noundef writeonly %p, ptr noundef writeonly %l) local_unnamed_addr #9 { +; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite) uwtable +define range(i32 0, 2) i32 @BIO_ADDR_rawaddress(ptr nocapture noundef readonly %ap, ptr noundef writeonly %p, ptr noundef writeonly %l) local_unnamed_addr #6 { entry: %0 = load i16, ptr %ap, align 4 switch i16 %0, label %return [ @@ -250,7 +250,7 @@ if.then6: ; preds = %entry if.then12: ; preds = %entry %sun_path = getelementptr inbounds i8, ptr %ap, i64 2 - %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %sun_path) #15 + %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %sun_path) #14 br label %if.end19 if.end19: ; preds = %if.then, %if.then6, %if.then12 @@ -277,7 +277,7 @@ return: ; preds = %entry, %if.end23, % } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #10 +declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #9 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define zeroext i16 @BIO_ADDR_rawport(ptr nocapture noundef readonly %ap) local_unnamed_addr #8 { @@ -315,7 +315,7 @@ define internal fastcc range(i32 0, 2) i32 @addr_strings(ptr noundef %ap, i32 no entry: %host = alloca [1025 x i8], align 16 %serv = alloca [32 x i8], align 16 - %call = tail call i32 @BIO_sock_init() #14 + %call = tail call i32 @BIO_sock_init() #13 %cmp.not = icmp eq i32 %call, 1 br i1 %cmp.not, label %if.end, label %return @@ -342,25 +342,25 @@ if.end13.i: ; preds = %if.end BIO_ADDR_sockaddr_size.exit: ; preds = %if.end, %if.then6.i, %if.then12.i, %if.end13.i %retval.0.i = phi i32 [ 28, %if.then6.i ], [ 110, %if.then12.i ], [ 112, %if.end13.i ], [ 16, %if.end ] - %call6 = call i32 @getnameinfo(ptr noundef nonnull %ap, i32 noundef %retval.0.i, ptr noundef nonnull %host, i32 noundef 1025, ptr noundef nonnull %serv, i32 noundef 32, i32 noundef %spec.select) #14 + %call6 = call i32 @getnameinfo(ptr noundef nonnull %ap, i32 noundef %retval.0.i, ptr noundef nonnull %host, i32 noundef 1025, ptr noundef nonnull %serv, i32 noundef 32, i32 noundef %spec.select) #13 switch i32 %call6, label %if.else [ i32 0, label %if.end14 i32 -11, label %if.then10 ] if.then10: ; preds = %BIO_ADDR_sockaddr_size.exit - call void @ERR_new() #14 - call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 249, ptr noundef nonnull @__func__.addr_strings) #14 - %call11 = tail call ptr @__errno_location() #16 + call void @ERR_new() #13 + call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 249, ptr noundef nonnull @__func__.addr_strings) #13 + %call11 = tail call ptr @__errno_location() #15 %1 = load i32, ptr %call11, align 4 - call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 2, i32 noundef %1, ptr noundef nonnull @.str.6) #14 + call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 2, i32 noundef %1, ptr noundef nonnull @.str.6) #13 br label %return if.else: ; preds = %BIO_ADDR_sockaddr_size.exit - call void @ERR_new() #14 - call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 254, ptr noundef nonnull @__func__.addr_strings) #14 - %call12 = call ptr @gai_strerror(i32 noundef %call6) #14 - call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 32, i32 noundef 524290, ptr noundef %call12) #14 + call void @ERR_new() #13 + call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 254, ptr noundef nonnull @__func__.addr_strings) #13 + %call12 = call ptr @gai_strerror(i32 noundef %call6) #13 + call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 32, i32 noundef 524290, ptr noundef %call12) #13 br label %return if.end14: ; preds = %BIO_ADDR_sockaddr_size.exit @@ -382,9 +382,9 @@ return.sink.split.i: ; preds = %if.then17, %if.then BIO_ADDR_rawport.exit: ; preds = %if.then17, %return.sink.split.i %retval.0.i17 = phi i16 [ 0, %if.then17 ], [ %4, %return.sink.split.i ] - %call20 = call zeroext i16 @ntohs(i16 noundef zeroext %retval.0.i17) #16 + %call20 = call zeroext i16 @ntohs(i16 noundef zeroext %retval.0.i17) #15 %conv21 = zext i16 %call20 to i32 - %call22 = call i32 (ptr, i64, ptr, ...) @BIO_snprintf(ptr noundef nonnull %serv, i64 noundef 32, ptr noundef nonnull @.str.7, i32 noundef %conv21) #14 + %call22 = call i32 (ptr, i64, ptr, ...) @BIO_snprintf(ptr noundef nonnull %serv, i64 noundef 32, ptr noundef nonnull @.str.7, i32 noundef %conv21) #13 br label %if.end23 if.end23: ; preds = %BIO_ADDR_rawport.exit, %if.end14 @@ -392,7 +392,7 @@ if.end23: ; preds = %BIO_ADDR_rawport.ex br i1 %cmp24.not, label %if.end29, label %if.then26 if.then26: ; preds = %if.end23 - %call28 = call noalias ptr @CRYPTO_strdup(ptr noundef nonnull %host, ptr noundef nonnull @.str, i32 noundef 271) #14 + %call28 = call noalias ptr @CRYPTO_strdup(ptr noundef nonnull %host, ptr noundef nonnull @.str, i32 noundef 271) #13 store ptr %call28, ptr %hostname, align 8 br label %if.end29 @@ -401,7 +401,7 @@ if.end29: ; preds = %if.then26, %if.end2 br i1 %cmp30.not, label %if.end35, label %if.then32 if.then32: ; preds = %if.end29 - %call34 = call noalias ptr @CRYPTO_strdup(ptr noundef nonnull %serv, ptr noundef nonnull @.str, i32 noundef 273) #14 + %call34 = call noalias ptr @CRYPTO_strdup(ptr noundef nonnull %serv, ptr noundef nonnull @.str, i32 noundef 273) #13 store ptr %call34, ptr %service, align 8 br label %if.end35 @@ -426,18 +426,18 @@ if.then45: ; preds = %land.lhs.true42 if.end49.thread18: ; preds = %if.then45 %7 = load ptr, ptr %hostname, align 8 - call void @CRYPTO_free(ptr noundef %7, ptr noundef nonnull @.str, i32 noundef 288) #14 + call void @CRYPTO_free(ptr noundef %7, ptr noundef nonnull @.str, i32 noundef 288) #13 store ptr null, ptr %hostname, align 8 br label %if.then52 if.end49: ; preds = %land.lhs.true - call void @CRYPTO_free(ptr noundef null, ptr noundef nonnull @.str, i32 noundef 288) #14 + call void @CRYPTO_free(ptr noundef null, ptr noundef nonnull @.str, i32 noundef 288) #13 store ptr null, ptr %hostname, align 8 br i1 %cmp30.not, label %return, label %if.then52 if.then52: ; preds = %if.then45, %if.end49.thread18, %if.end49 %8 = load ptr, ptr %service, align 8 - call void @CRYPTO_free(ptr noundef %8, ptr noundef nonnull @.str, i32 noundef 292) #14 + call void @CRYPTO_free(ptr noundef %8, ptr noundef nonnull @.str, i32 noundef 292) #13 store ptr null, ptr %service, align 8 br label %return @@ -467,7 +467,7 @@ entry: if.then: ; preds = %entry %sun_path = getelementptr inbounds i8, ptr %ap, i64 2 - %call = tail call noalias ptr @CRYPTO_strdup(ptr noundef nonnull %sun_path, ptr noundef nonnull @.str, i32 noundef 325) #14 + %call = tail call noalias ptr @CRYPTO_strdup(ptr noundef nonnull %sun_path, ptr noundef nonnull @.str, i32 noundef 325) #13 br label %return return: ; preds = %entry, %if.then @@ -478,13 +478,13 @@ return: ; preds = %entry, %if.then declare noalias ptr @CRYPTO_strdup(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define noundef ptr @BIO_ADDR_sockaddr(ptr noundef readnone returned %ap) local_unnamed_addr #11 { +define noundef ptr @BIO_ADDR_sockaddr(ptr noundef readnone returned %ap) local_unnamed_addr #10 { entry: ret ptr %ap } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define noundef ptr @BIO_ADDR_sockaddr_noconst(ptr noundef readnone returned %ap) local_unnamed_addr #11 { +define noundef ptr @BIO_ADDR_sockaddr_noconst(ptr noundef readnone returned %ap) local_unnamed_addr #10 { entry: ret ptr %ap } @@ -654,7 +654,7 @@ if.end: ; preds = %entry br i1 %cmp1.not, label %while.body, label %if.then2 if.then2: ; preds = %if.end - tail call void @freeaddrinfo(ptr noundef nonnull %bai) #14 + tail call void @freeaddrinfo(ptr noundef nonnull %bai) #13 br label %while.end while.body: ; preds = %if.end, %while.body @@ -663,8 +663,8 @@ while.body: ; preds = %if.end, %while.body %1 = load ptr, ptr %ai_next, align 8 %ai_addr = getelementptr inbounds i8, ptr %bai.addr.07, i64 24 %2 = load ptr, ptr %ai_addr, align 8 - tail call void @CRYPTO_free(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef 473) #14 - tail call void @CRYPTO_free(ptr noundef nonnull %bai.addr.07, ptr noundef nonnull @.str, i32 noundef 474) #14 + tail call void @CRYPTO_free(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef 473) #13 + tail call void @CRYPTO_free(ptr noundef nonnull %bai.addr.07, ptr noundef nonnull @.str, i32 noundef 474) #13 %cmp4.not = icmp eq ptr %1, null br i1 %cmp4.not, label %while.end, label %while.body, !llvm.loop !4 @@ -673,7 +673,7 @@ while.end: ; preds = %while.body, %entry, } ; Function Attrs: nounwind -declare void @freeaddrinfo(ptr noundef) local_unnamed_addr #12 +declare void @freeaddrinfo(ptr noundef) local_unnamed_addr #11 ; Function Attrs: nounwind uwtable define range(i32 0, 2) i32 @BIO_parse_hostserv(ptr noundef %hostserv, ptr noundef writeonly %host, ptr noundef writeonly %service, i32 noundef %hostserv_prio) local_unnamed_addr #0 { @@ -683,7 +683,7 @@ entry: br i1 %cmp, label %if.then, label %if.else18 if.then: ; preds = %entry - %call = tail call ptr @strchr(ptr noundef nonnull dereferenceable(1) %hostserv, i32 noundef 93) #15 + %call = tail call ptr @strchr(ptr noundef nonnull dereferenceable(1) %hostserv, i32 noundef 93) #14 %cmp2 = icmp eq ptr %call, null br i1 %cmp2, label %spec_err, label %if.end @@ -704,8 +704,8 @@ if.else13: ; preds = %if.end br label %land.lhs.true.sink.split if.else18: ; preds = %entry - %call19 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) %hostserv, i32 noundef 58) #15 - %call20 = tail call ptr @strchr(ptr noundef nonnull dereferenceable(1) %hostserv, i32 noundef 58) #15 + %call19 = tail call ptr @strrchr(ptr noundef nonnull dereferenceable(1) %hostserv, i32 noundef 58) #14 + %call20 = tail call ptr @strchr(ptr noundef nonnull dereferenceable(1) %hostserv, i32 noundef 58) #14 %cmp21.not = icmp eq ptr %call20, %call19 br i1 %cmp21.not, label %if.end24, label %amb_err @@ -722,14 +722,14 @@ if.then27: ; preds = %if.end24 if.else33: ; preds = %if.end24 %cmp34 = icmp eq i32 %hostserv_prio, 0 - %call37 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %hostserv) #15 + %call37 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %hostserv) #14 br i1 %cmp34, label %if.end47, label %land.lhs.true land.lhs.true.sink.split: ; preds = %if.then27, %if.else13 %incdec.ptr14.sink = phi ptr [ %incdec.ptr14, %if.else13 ], [ %incdec.ptr31, %if.then27 ] %h.0.ph.ph = phi ptr [ %add.ptr, %if.else13 ], [ %hostserv, %if.then27 ] %hl.0.ph.ph = phi i64 [ %sub.ptr.sub, %if.else13 ], [ %sub.ptr.sub30, %if.then27 ] - %call15 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %incdec.ptr14.sink) #15 + %call15 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %incdec.ptr14.sink) #14 br label %land.lhs.true land.lhs.true: ; preds = %land.lhs.true.sink.split, %if.else33 @@ -737,7 +737,7 @@ land.lhs.true: ; preds = %land.lhs.true.sink. %hl.0.ph = phi i64 [ 0, %if.else33 ], [ %hl.0.ph.ph, %land.lhs.true.sink.split ] %p.0.ph = phi ptr [ %hostserv, %if.else33 ], [ %incdec.ptr14.sink, %land.lhs.true.sink.split ] %pl.0.ph = phi i64 [ %call37, %if.else33 ], [ %call15, %land.lhs.true.sink.split ] - %call45 = tail call ptr @strchr(ptr noundef nonnull dereferenceable(1) %p.0.ph, i32 noundef 58) #15 + %call45 = tail call ptr @strchr(ptr noundef nonnull dereferenceable(1) %p.0.ph, i32 noundef 58) #14 %tobool.not = icmp eq ptr %call45, null br i1 %tobool.not, label %if.end47, label %spec_err @@ -768,7 +768,7 @@ if.then62: ; preds = %if.then53, %land.lh br label %if.end70 if.else63: ; preds = %if.then53, %land.lhs.true58 - %call64 = tail call noalias ptr @CRYPTO_strndup(ptr noundef nonnull %h.045, i64 noundef %hl.047, ptr noundef nonnull @.str, i32 noundef 563) #14 + %call64 = tail call noalias ptr @CRYPTO_strndup(ptr noundef nonnull %h.045, i64 noundef %hl.047, ptr noundef nonnull @.str, i32 noundef 563) #13 store ptr %call64, ptr %host, align 8 %cmp65 = icmp eq ptr %call64, null br i1 %cmp65, label %return, label %if.end70 @@ -794,7 +794,7 @@ if.then87: ; preds = %if.then76, %land.lh br label %if.end95 if.else88: ; preds = %if.then76, %land.lhs.true82 - %call89 = tail call noalias ptr @CRYPTO_strndup(ptr noundef nonnull %p.050, i64 noundef %pl.051, ptr noundef nonnull @.str, i32 noundef 573) #14 + %call89 = tail call noalias ptr @CRYPTO_strndup(ptr noundef nonnull %p.050, i64 noundef %pl.051, ptr noundef nonnull @.str, i32 noundef 573) #13 store ptr %call89, ptr %service, align 8 %cmp90 = icmp eq ptr %call89, null br i1 %cmp90, label %return, label %if.end95 @@ -803,15 +803,15 @@ if.end95: ; preds = %if.then87, %if.else br label %return amb_err: ; preds = %if.else18 - tail call void @ERR_new() #14 - tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 581, ptr noundef nonnull @__func__.BIO_parse_hostserv) #14 - tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 32, i32 noundef 129, ptr noundef null) #14 + tail call void @ERR_new() #13 + tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 581, ptr noundef nonnull @__func__.BIO_parse_hostserv) #13 + tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 32, i32 noundef 129, ptr noundef null) #13 br label %return spec_err: ; preds = %if.end, %land.lhs.true, %if.then - tail call void @ERR_new() #14 - tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 584, ptr noundef nonnull @__func__.BIO_parse_hostserv) #14 - tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 32, i32 noundef 130, ptr noundef null) #14 + tail call void @ERR_new() #13 + tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 584, ptr noundef nonnull @__func__.BIO_parse_hostserv) #13 + tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 32, i32 noundef 130, ptr noundef null) #13 br label %return return: ; preds = %if.else88, %if.else63, %spec_err, %amb_err, %if.end95 @@ -820,10 +820,10 @@ return: ; preds = %if.else88, %if.else } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare ptr @strchr(ptr noundef, i32 noundef) local_unnamed_addr #10 +declare ptr @strchr(ptr noundef, i32 noundef) local_unnamed_addr #9 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare ptr @strrchr(ptr noundef, i32 noundef) local_unnamed_addr #10 +declare ptr @strrchr(ptr noundef, i32 noundef) local_unnamed_addr #9 declare noalias ptr @CRYPTO_strndup(ptr noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 @@ -852,14 +852,14 @@ entry: ] sw.default: ; preds = %entry - tail call void @ERR_new() #14 - tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 689, ptr noundef nonnull @__func__.BIO_lookup_ex) #14 - tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 32, i32 noundef 131, ptr noundef null) #14 + tail call void @ERR_new() #13 + tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 689, ptr noundef nonnull @__func__.BIO_lookup_ex) #13 + tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 32, i32 noundef 131, ptr noundef null) #13 br label %return if.then: ; preds = %entry - %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %host) #15 - %call.i = tail call noalias ptr @CRYPTO_zalloc(i64 noundef 48, ptr noundef nonnull @.str, i32 noundef 602) #14 + %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %host) #14 + %call.i = tail call noalias ptr @CRYPTO_zalloc(i64 noundef 48, ptr noundef nonnull @.str, i32 noundef 602) #13 store ptr %call.i, ptr %res, align 8 %cmp.i = icmp eq ptr %call.i, null br i1 %cmp.i, label %if.else, label %if.end.i @@ -871,7 +871,7 @@ if.end.i: ; preds = %if.then store i32 %socktype, ptr %ai_socktype.i, align 8 %ai_protocol10.i = getelementptr inbounds i8, ptr %call.i, i64 12 store i32 0, ptr %ai_protocol10.i, align 4 - %call.i.i = tail call noalias ptr @CRYPTO_zalloc(i64 noundef 112, ptr noundef nonnull @.str, i32 noundef 54) #14 + %call.i.i = tail call noalias ptr @CRYPTO_zalloc(i64 noundef 112, ptr noundef nonnull @.str, i32 noundef 54) #13 %cmp.i.i = icmp eq ptr %call.i.i, null br i1 %cmp.i.i, label %if.end17.i, label %if.then14.i @@ -886,7 +886,7 @@ if.end.i17.i: ; preds = %if.then14.i store i16 0, ptr %1, align 4 store i16 1, ptr %call.i.i, align 4 %sun_path.i.i = getelementptr inbounds i8, ptr %call.i.i, i64 2 - %call.i18.i = tail call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %sun_path.i.i, ptr noundef nonnull readonly dereferenceable(1) %host, i64 noundef 107) #14 + %call.i18.i = tail call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %sun_path.i.i, ptr noundef nonnull readonly dereferenceable(1) %host, i64 noundef 107) #13 br label %BIO_ADDR_rawmake.exit.i BIO_ADDR_rawmake.exit.i: ; preds = %if.end.i17.i, %if.then14.i @@ -912,7 +912,7 @@ if.end.i20.i: ; preds = %if.end17.i br i1 %cmp1.not.i.i, label %while.body.i.i, label %if.then2.i.i if.then2.i.i: ; preds = %if.end.i20.i - tail call void @freeaddrinfo(ptr noundef nonnull %4) #14 + tail call void @freeaddrinfo(ptr noundef nonnull %4) #13 br label %BIO_ADDRINFO_free.exit.i while.body.i.i: ; preds = %if.end.i20.i, %while.body.i.i @@ -921,8 +921,8 @@ while.body.i.i: ; preds = %if.end.i20.i, %whil %7 = load ptr, ptr %ai_next.i.i, align 8 %ai_addr.i.i = getelementptr inbounds i8, ptr %bai.addr.07.i.i, i64 24 %8 = load ptr, ptr %ai_addr.i.i, align 8 - tail call void @CRYPTO_free(ptr noundef %8, ptr noundef nonnull @.str, i32 noundef 473) #14 - tail call void @CRYPTO_free(ptr noundef nonnull %bai.addr.07.i.i, ptr noundef nonnull @.str, i32 noundef 474) #14 + tail call void @CRYPTO_free(ptr noundef %8, ptr noundef nonnull @.str, i32 noundef 473) #13 + tail call void @CRYPTO_free(ptr noundef nonnull %bai.addr.07.i.i, ptr noundef nonnull @.str, i32 noundef 474) #13 %cmp4.not.i.i = icmp eq ptr %7, null br i1 %cmp4.not.i.i, label %BIO_ADDRINFO_free.exit.i, label %while.body.i.i, !llvm.loop !4 @@ -931,13 +931,13 @@ BIO_ADDRINFO_free.exit.i: ; preds = %while.body.i.i, %if br label %if.else if.else: ; preds = %BIO_ADDRINFO_free.exit.i, %if.then - tail call void @ERR_new() #14 - tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 698, ptr noundef nonnull @__func__.BIO_lookup_ex) #14 - tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 32, i32 noundef 524320, ptr noundef null) #14 + tail call void @ERR_new() #13 + tail call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 698, ptr noundef nonnull @__func__.BIO_lookup_ex) #13 + tail call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 32, i32 noundef 524320, ptr noundef null) #13 br label %return if.end3: ; preds = %entry, %entry, %entry - %call4 = tail call i32 @BIO_sock_init() #14 + %call4 = tail call i32 @BIO_sock_init() #13 %cmp5.not = icmp eq i32 %call4, 1 br i1 %cmp5.not, label %if.then8, label %return @@ -967,7 +967,7 @@ retry.preheader: ; preds = %if.then8, %10 retry: ; preds = %retry.preheader, %if.then28 %old_ret.0 = phi i32 [ %call18, %if.then28 ], [ 0, %retry.preheader ] - %call18 = call i32 @getaddrinfo(ptr noundef %host, ptr noundef %service, ptr noundef nonnull %hints, ptr noundef %res) #14 + %call18 = call i32 @getaddrinfo(ptr noundef %host, ptr noundef %service, ptr noundef nonnull %hints, ptr noundef %res) #13 switch i32 %call18, label %sw.default25 [ i32 -11, label %sw.bb19 i32 -10, label %sw.bb21 @@ -975,23 +975,23 @@ retry: ; preds = %retry.preheader, %i ] sw.bb19: ; preds = %retry - call void @ERR_new() #14 - call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 735, ptr noundef nonnull @__func__.BIO_lookup_ex) #14 - %call20 = tail call ptr @__errno_location() #16 + call void @ERR_new() #13 + call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 735, ptr noundef nonnull @__func__.BIO_lookup_ex) #13 + %call20 = tail call ptr @__errno_location() #15 %11 = load i32, ptr %call20, align 4 - call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 2, i32 noundef %11, ptr noundef nonnull @.str.1) #14 - call void @ERR_new() #14 - call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 737, ptr noundef nonnull @__func__.BIO_lookup_ex) #14 - call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 32, i32 noundef 524290, ptr noundef null) #14 + call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 2, i32 noundef %11, ptr noundef nonnull @.str.1) #13 + call void @ERR_new() #13 + call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 737, ptr noundef nonnull @__func__.BIO_lookup_ex) #13 + call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 32, i32 noundef 524290, ptr noundef null) #13 br label %return sw.bb21: ; preds = %retry - call void @ERR_new() #14 - call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 742, ptr noundef nonnull @__func__.BIO_lookup_ex) #14 + call void @ERR_new() #13 + call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 742, ptr noundef nonnull @__func__.BIO_lookup_ex) #13 %tobool22.not = icmp eq i32 %old_ret.0, 0 %cond = select i1 %tobool22.not, i32 -10, i32 %old_ret.0 - %call23 = call ptr @gai_strerror(i32 noundef %cond) #14 - call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 32, i32 noundef 524290, ptr noundef %call23) #14 + %call23 = call ptr @gai_strerror(i32 noundef %cond) #13 + call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 32, i32 noundef 524290, ptr noundef %call23) #13 br label %return sw.default25: ; preds = %retry @@ -1007,12 +1007,12 @@ if.then28: ; preds = %sw.default25 br label %retry if.end33: ; preds = %sw.default25 - call void @ERR_new() #14 - call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 758, ptr noundef nonnull @__func__.BIO_lookup_ex) #14 + call void @ERR_new() #13 + call void @ERR_set_debug(ptr noundef nonnull @.str, i32 noundef 758, ptr noundef nonnull @__func__.BIO_lookup_ex) #13 %tobool34.not = icmp eq i32 %old_ret.0, 0 %cond38 = select i1 %tobool34.not, i32 %call18, i32 %old_ret.0 - %call39 = call ptr @gai_strerror(i32 noundef %cond38) #14 - call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 32, i32 noundef 524290, ptr noundef %call39) #14 + %call39 = call ptr @gai_strerror(i32 noundef %cond38) #13 + call void (i32, i32, ptr, ...) @ERR_set_error(i32 noundef 32, i32 noundef 524290, ptr noundef %call39) #13 br label %return return: ; preds = %retry, %if.end17.i, %if.end33, %sw.bb21, %sw.bb19, %if.end3, %if.else, %sw.default @@ -1025,17 +1025,17 @@ declare i32 @BIO_sock_init() local_unnamed_addr #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) -declare ptr @__errno_location() local_unnamed_addr #13 +declare ptr @__errno_location() local_unnamed_addr #12 ; Function Attrs: nounwind -declare ptr @gai_strerror(i32 noundef) local_unnamed_addr #12 +declare ptr @gai_strerror(i32 noundef) local_unnamed_addr #11 declare i32 @getnameinfo(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BIO_snprintf(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) -declare zeroext i16 @ntohs(i16 noundef zeroext) local_unnamed_addr #13 +declare zeroext i16 @ntohs(i16 noundef zeroext) local_unnamed_addr #12 attributes #0 = { 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 #1 = { "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" } @@ -1046,14 +1046,13 @@ attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argm attributes #6 = { mustprogress nofree 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 #7 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 #8 = { 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 #9 = { mustprogress nofree 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 #10 = { 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 #11 = { 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 #12 = { 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 #13 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 #14 = { nounwind } -attributes #15 = { nounwind willreturn memory(read) } -attributes #16 = { nounwind willreturn memory(none) } +attributes #9 = { 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 #10 = { 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 #11 = { 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 #12 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 #13 = { nounwind } +attributes #14 = { nounwind willreturn memory(read) } +attributes #15 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/pbrt-v4/optimized/aggregates.cpp.ll b/bench/pbrt-v4/optimized/aggregates.cpp.ll index dfef80250a5..bc45fa00533 100644 --- a/bench/pbrt-v4/optimized/aggregates.cpp.ll +++ b/bench/pbrt-v4/optimized/aggregates.cpp.ll @@ -5335,8 +5335,8 @@ return: ; preds = %"_ZSt16__insertion_ ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc noundef ptr @"_ZSt9partitionIPN4pbrt12BVHPrimitiveEZNS0_12BVHAggregate14buildRecursiveERNS0_11ThreadLocalIN4pstd3pmr21polymorphic_allocatorISt4byteEEEENS5_4spanIS1_EEPSt6atomicIiESG_RSt6vectorINS0_9PrimitiveESaISI_EEE3$_4ET_SN_SN_T0_"(ptr noundef %__first, ptr noundef %__last, ptr nocapture noundef readonly byval(%class.anon.36) align 8 %__pred) unnamed_addr #9 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc noundef ptr @"_ZSt9partitionIPN4pbrt12BVHPrimitiveEZNS0_12BVHAggregate14buildRecursiveERNS0_11ThreadLocalIN4pstd3pmr21polymorphic_allocatorISt4byteEEEENS5_4spanIS1_EEPSt6atomicIiESG_RSt6vectorINS0_9PrimitiveESaISI_EEE3$_4ET_SN_SN_T0_"(ptr noundef %__first, ptr noundef %__last, ptr nocapture noundef readonly byval(%class.anon.36) align 8 %__pred) unnamed_addr #10 { entry: %__tmp.i.i.i = alloca %"struct.pbrt::BVHPrimitive", align 8 %agg.tmp.sroa.2.0.__pred.sroa_idx = getelementptr inbounds i8, ptr %__pred, i64 8 @@ -7438,13 +7438,13 @@ eh.resume: ; preds = %ehcleanup43, %ehcle declare void @_ZNK4pbrt19ParameterDictionary12GetOneStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_(ptr sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(108), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 ; Function Attrs: nounwind -declare void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #10 +declare void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #11 ; Function Attrs: nounwind -declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #10 +declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #11 ; Function Attrs: nounwind -declare void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #10 +declare void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #11 declare noundef i32 @_ZNK4pbrt19ParameterDictionary9GetOneIntERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi(ptr noundef nonnull align 8 dereferenceable(108), ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #0 @@ -7452,7 +7452,7 @@ declare noundef i32 @_ZNK4pbrt19ParameterDictionary9GetOneIntERKNSt7__cxx1112bas declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #7 ; Function Attrs: nobuiltin nounwind -declare void @_ZdlPv(ptr noundef) local_unnamed_addr #11 +declare void @_ZdlPv(ptr noundef) local_unnamed_addr #12 ; Function Attrs: mustprogress uwtable define dso_local void @_ZN4pbrt15KdTreeAggregateC2ESt6vectorINS_9PrimitiveESaIS2_EEiifii(ptr noundef nonnull align 8 dereferenceable(104) %this, ptr nocapture noundef %p, i32 noundef %isectCost, i32 noundef %traversalCost, float noundef %emptyBonus, i32 noundef %maxPrims, i32 noundef %maxDepth) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 { @@ -9074,7 +9074,7 @@ lpad: ; preds = %_ZN4pbrt12StringPri declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #7 ; Function Attrs: nobuiltin nounwind -declare void @_ZdaPv(ptr noundef) local_unnamed_addr #11 +declare void @_ZdaPv(ptr noundef) local_unnamed_addr #12 ; Function Attrs: mustprogress noreturn uwtable define linkonce_odr dso_local void @_ZN4pbrt8LogFatalIJRA37_KcEEEvNS_8LogLevelEPS1_iS5_DpOT_(i32 noundef %level, ptr noundef %file, i32 noundef %line, ptr noundef %fmt, ptr noundef nonnull align 1 dereferenceable(37) %args) local_unnamed_addr #2 comdat personality ptr @__gxx_personality_v0 { @@ -10303,10 +10303,10 @@ entry: declare void @_ZN4pbrt21PixelStatsAccumulator13ReportCounterENS_6Point2IiEEiPKcl(ptr noundef nonnull align 8 dereferenceable(8), i64, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #0 ; Function Attrs: nounwind -declare noundef ptr @_ZN4pstd3pmr20get_default_resourceEv() local_unnamed_addr #10 +declare noundef ptr @_ZN4pstd3pmr20get_default_resourceEv() local_unnamed_addr #11 ; Function Attrs: noreturn nounwind uwtable -define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #12 comdat { +define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #13 comdat { %2 = tail call ptr @__cxa_begin_catch(ptr %0) #27 tail call void @_ZSt9terminatev() #28 unreachable @@ -10391,13 +10391,13 @@ lpad: ; preds = %_ZN4pbrt12StringPri } ; Function Attrs: noreturn -declare void @_ZN4pbrt8LogFatalENS_8LogLevelEPKciS2_(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #13 +declare void @_ZN4pbrt8LogFatalENS_8LogLevelEPKciS2_(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #14 ; Function Attrs: nounwind -declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #10 +declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #11 ; Function Attrs: nounwind -declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #10 +declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #11 ; Function Attrs: mustprogress uwtable define linkonce_odr dso_local void @_ZN4pbrt6detail21stringPrintfRecursiveIRA4_KcJEEEvPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS2_OT_DpOT0_(ptr noundef %s, ptr noundef %fmt, ptr noundef nonnull align 1 dereferenceable(4) %v) local_unnamed_addr #1 comdat personality ptr @__gxx_personality_v0 { @@ -10536,7 +10536,7 @@ ehcleanup42: ; preds = %lpad33, %ehcleanup2 declare void @_ZN4pbrt6detail18copyToFormatStringEPPKcPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef) local_unnamed_addr #0 ; Function Attrs: nounwind -declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext, i64 noundef) local_unnamed_addr #10 +declare noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm(ptr noundef nonnull align 8 dereferenceable(32), i8 noundef signext, i64 noundef) local_unnamed_addr #11 declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #0 @@ -10575,10 +10575,10 @@ declare void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 ; Function Attrs: nounwind -declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #10 +declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #11 ; Function Attrs: nounwind -declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #10 +declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #11 ; Function Attrs: mustprogress uwtable define linkonce_odr dso_local void @_ZN4pbrt6detail9formatOneIRA4_KcEENSt9enable_ifIXntsr3stdE10is_class_vINSt5decayIT_E4typeEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4typeEPS2_OS7_(ptr noalias sret(%"class.std::__cxx11::basic_string") align 8 %agg.result, ptr noundef %fmt, ptr noundef nonnull align 1 dereferenceable(4) %v) local_unnamed_addr #1 comdat personality ptr @__gxx_personality_v0 { @@ -10609,17 +10609,17 @@ lpad: ; preds = %invoke.cont, %entry declare void @_ZN4pbrt6detail21stringPrintfRecursiveEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKc(ptr noundef, ptr noundef) local_unnamed_addr #0 ; Function Attrs: nofree nounwind -declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #14 +declare noundef i32 @snprintf(ptr noalias nocapture noundef writeonly, i64 noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #15 declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #0 declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #0 ; Function Attrs: nounwind -declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #10 +declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #11 ; Function Attrs: nounwind -declare void @_ZN4pstd3pmr15memory_resourceD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #10 +declare void @_ZN4pstd3pmr15memory_resourceD2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #11 declare void @_ZN4pbrt11ParallelForEllSt8functionIFvllEE(i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #0 @@ -10686,7 +10686,7 @@ sw.epilog: ; preds = %entry, %sw.bb4.i, % } ; Function Attrs: noreturn -declare void @_ZSt25__throw_bad_function_callv() local_unnamed_addr #13 +declare void @_ZSt25__throw_bad_function_callv() local_unnamed_addr #14 ; Function Attrs: mustprogress uwtable define linkonce_odr dso_local void @_ZN4pbrt6detail9formatOneIRA7_KcEENSt9enable_ifIXntsr3stdE10is_class_vINSt5decayIT_E4typeEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE4typeEPS2_OS7_(ptr noalias sret(%"class.std::__cxx11::basic_string") align 8 %agg.result, ptr noundef %fmt, ptr noundef nonnull align 1 dereferenceable(7) %v) local_unnamed_addr #1 comdat personality ptr @__gxx_personality_v0 { @@ -11728,7 +11728,7 @@ declare noundef ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_cr declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_capacityEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #0 ; Function Attrs: nounwind -declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcPKcS7_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #10 +declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_S_copy_charsEPcPKcS7_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #11 declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7_M_dataEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 @@ -11759,10 +11759,10 @@ terminate.lpad: ; preds = %if.then declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 ; Function Attrs: nounwind -declare void @_ZNSaIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #10 +declare void @_ZNSaIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #11 ; Function Attrs: noreturn -declare void @_ZSt20__throw_length_errorPKc(ptr noundef) local_unnamed_addr #13 +declare void @_ZSt20__throw_length_errorPKc(ptr noundef) local_unnamed_addr #14 ; Function Attrs: mustprogress uwtable define linkonce_odr dso_local void @_ZN4pbrt6detail21stringPrintfRecursiveIRA20_KcJEEEvPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS2_OT_DpOT0_(ptr noundef %s, ptr noundef %fmt, ptr noundef nonnull align 1 dereferenceable(20) %v) local_unnamed_addr #1 comdat personality ptr @__gxx_personality_v0 { @@ -12039,7 +12039,7 @@ _ZNSt10unique_ptrIN4pstd3pmr25monotonic_buffer_resourceESt14default_deleteIS2_EE } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFN4pstd3pmr21polymorphic_allocatorISt4byteEEvEZN4pbrt12BVHAggregateC1ESt6vectorINS6_9PrimitiveESaIS9_EEiNS7_11SplitMethodEE3$_0E10_M_managerERSt9_Any_dataRKSF_St18_Manager_operation"(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(16) %__dest, ptr noundef nonnull align 8 dereferenceable(16) %__source, i32 noundef %__op) #15 align 2 personality ptr @__gxx_personality_v0 { +define internal noundef zeroext i1 @"_ZNSt17_Function_handlerIFN4pstd3pmr21polymorphic_allocatorISt4byteEEvEZN4pbrt12BVHAggregateC1ESt6vectorINS6_9PrimitiveESaIS9_EEiNS7_11SplitMethodEE3$_0E10_M_managerERSt9_Any_dataRKSF_St18_Manager_operation"(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(16) %__dest, ptr noundef nonnull align 8 dereferenceable(16) %__source, i32 noundef %__op) #16 align 2 personality ptr @__gxx_personality_v0 { entry: switch i32 %__op, label %sw.epilog [ i32 0, label %sw.bb @@ -14459,15 +14459,15 @@ lpad: ; preds = %_ZN4pbrt12StringPri } ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) -declare i64 @pthread_self() local_unnamed_addr #16 +declare i64 @pthread_self() local_unnamed_addr #17 declare noundef i64 @_ZSt11_Hash_bytesPKvmm(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #0 ; Function Attrs: noreturn -declare void @_ZSt20__throw_system_errori(i32 noundef) local_unnamed_addr #13 +declare void @_ZSt20__throw_system_errori(i32 noundef) local_unnamed_addr #14 ; Function Attrs: nounwind -declare i32 @pthread_rwlock_rdlock(ptr noundef) local_unnamed_addr #10 +declare i32 @pthread_rwlock_rdlock(ptr noundef) local_unnamed_addr #11 ; Function Attrs: mustprogress uwtable define linkonce_odr dso_local void @_ZN4pbrt6detail21stringPrintfRecursiveIRA8_KcJRA17_S2_S4_RiS6_RmEEEvPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS2_OT_DpOT0_(ptr noundef %s, ptr noundef %fmt, ptr noundef nonnull align 1 dereferenceable(8) %v, ptr noundef nonnull align 1 dereferenceable(17) %args, ptr noundef nonnull align 1 dereferenceable(8) %args1, ptr noundef nonnull align 4 dereferenceable(4) %args3, ptr noundef nonnull align 1 dereferenceable(17) %args5, ptr noundef nonnull align 8 dereferenceable(8) %args7) local_unnamed_addr #1 comdat personality ptr @__gxx_personality_v0 { @@ -15260,13 +15260,13 @@ ehcleanup42: ; preds = %lpad33, %ehcleanup2 } ; Function Attrs: nounwind -declare i32 @pthread_rwlock_unlock(ptr noundef) local_unnamed_addr #10 +declare i32 @pthread_rwlock_unlock(ptr noundef) local_unnamed_addr #11 ; Function Attrs: nounwind -declare i32 @pthread_rwlock_wrlock(ptr noundef) local_unnamed_addr #10 +declare i32 @pthread_rwlock_wrlock(ptr noundef) local_unnamed_addr #11 ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal fastcc void @"_ZSt13__adjust_heapIPN4pbrt12BVHPrimitiveElS1_N9__gnu_cxx5__ops15_Iter_comp_iterIZNS0_12BVHAggregate14buildRecursiveERNS0_11ThreadLocalIN4pstd3pmr21polymorphic_allocatorISt4byteEEEENS8_4spanIS1_EEPSt6atomicIiESJ_RSt6vectorINS0_9PrimitiveESaISL_EEE3$_2EEEvT_T0_SS_T1_T2_"(ptr nocapture noundef %__first, i64 noundef %__holeIndex, i64 noundef %__len, ptr nocapture noundef readonly byval(%"struct.pbrt::BVHPrimitive") align 8 %__value, i32 %__comp.coerce) unnamed_addr #17 { +define internal fastcc void @"_ZSt13__adjust_heapIPN4pbrt12BVHPrimitiveElS1_N9__gnu_cxx5__ops15_Iter_comp_iterIZNS0_12BVHAggregate14buildRecursiveERNS0_11ThreadLocalIN4pstd3pmr21polymorphic_allocatorISt4byteEEEENS8_4spanIS1_EEPSt6atomicIiESJ_RSt6vectorINS0_9PrimitiveESaISL_EEE3$_2EEEvT_T0_SS_T1_T2_"(ptr nocapture noundef %__first, i64 noundef %__holeIndex, i64 noundef %__len, ptr nocapture noundef readonly byval(%"struct.pbrt::BVHPrimitive") align 8 %__value, i32 %__comp.coerce) unnamed_addr #10 { entry: %sub = add nsw i64 %__len, -1 %div = sdiv i64 %sub, 2 @@ -15481,7 +15481,7 @@ while.body.i: ; preds = %"_ZN9__gnu_cxx5__op declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #3 ; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal fastcc void @"_ZSt13__adjust_heapIPN4pbrt12BVHPrimitiveElS1_N9__gnu_cxx5__ops15_Iter_comp_iterIZNS0_12BVHAggregate14buildRecursiveERNS0_11ThreadLocalIN4pstd3pmr21polymorphic_allocatorISt4byteEEEENS8_4spanIS1_EEPSt6atomicIiESJ_RSt6vectorINS0_9PrimitiveESaISL_EEE3$_3EEEvT_T0_SS_T1_T2_"(ptr nocapture noundef %__first, i64 noundef %__holeIndex, i64 noundef %__len, ptr nocapture noundef readonly byval(%"struct.pbrt::BVHPrimitive") align 8 %__value, i32 %__comp.coerce) unnamed_addr #17 { +define internal fastcc void @"_ZSt13__adjust_heapIPN4pbrt12BVHPrimitiveElS1_N9__gnu_cxx5__ops15_Iter_comp_iterIZNS0_12BVHAggregate14buildRecursiveERNS0_11ThreadLocalIN4pstd3pmr21polymorphic_allocatorISt4byteEEEENS8_4spanIS1_EEPSt6atomicIiESJ_RSt6vectorINS0_9PrimitiveESaISL_EEE3$_3EEEvT_T0_SS_T1_T2_"(ptr nocapture noundef %__first, i64 noundef %__holeIndex, i64 noundef %__len, ptr nocapture noundef readonly byval(%"struct.pbrt::BVHPrimitive") align 8 %__value, i32 %__comp.coerce) unnamed_addr #10 { entry: %sub = add nsw i64 %__len, -1 %div = sdiv i64 %sub, 2 @@ -22533,7 +22533,7 @@ ehcleanup46: ; preds = %lpad37, %ehcleanup3 } ; Function Attrs: nounwind -declare noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #10 +declare noundef i32 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #11 declare void @_ZN4pbrt7WarningEPKNS_7FileLocEPKc(ptr noundef, ptr noundef) local_unnamed_addr #0 @@ -24391,7 +24391,7 @@ lpad: ; preds = %invoke.cont, %entry } ; Function Attrs: noreturn -declare void @_ZN4pbrt9ErrorExitEPKNS_7FileLocEPKc(ptr noundef, ptr noundef) local_unnamed_addr #13 +declare void @_ZN4pbrt9ErrorExitEPKNS_7FileLocEPKc(ptr noundef, ptr noundef) local_unnamed_addr #14 ; Function Attrs: mustprogress uwtable define linkonce_odr dso_local void @_ZN4pbrt6detail21stringPrintfRecursiveIRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEJEEEvPS7_PKcOT_DpOT0_(ptr noundef %s, ptr noundef %fmt, ptr noundef nonnull align 8 dereferenceable(32) %v) local_unnamed_addr #1 comdat personality ptr @__gxx_personality_v0 { @@ -24567,14 +24567,14 @@ attributes #6 = { mustprogress nocallback nofree nosync nounwind speculatable wi attributes #7 = { nobuiltin allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } attributes #8 = { mustprogress nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } attributes #9 = { mustprogress 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"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #10 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #11 = { nobuiltin nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #12 = { noreturn nounwind uwtable "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #13 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #14 = { nofree nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #15 = { 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"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #16 = { mustprogress nofree nosync nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } -attributes #17 = { mustprogress 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"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } +attributes #10 = { mustprogress 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"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } +attributes #11 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } +attributes #12 = { nobuiltin nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } +attributes #13 = { noreturn nounwind uwtable "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } +attributes #14 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } +attributes #15 = { nofree nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } +attributes #16 = { 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"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } +attributes #17 = { mustprogress nofree nosync nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } attributes #18 = { 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"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } attributes #19 = { mustprogress 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"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } attributes #20 = { uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="rocketlake" "target-features"="+64bit,+adx,+aes,+avx,+avx2,+avx512bitalg,+avx512bw,+avx512cd,+avx512dq,+avx512f,+avx512ifma,+avx512vbmi,+avx512vbmi2,+avx512vl,+avx512vnni,+avx512vpopcntdq,+bmi,+bmi2,+clflushopt,+cmov,+crc32,+cx16,+cx8,+evex512,+f16c,+fma,+fsgsbase,+fxsr,+gfni,+invpcid,+lzcnt,+mmx,+movbe,+pclmul,+pku,+popcnt,+prfchw,+rdpid,+rdrnd,+rdseed,+sahf,+sha,+sse,+sse2,+sse3,+sse4.1,+sse4.2,+ssse3,+vaes,+vpclmulqdq,+x87,+xsave,+xsavec,+xsaveopt,+xsaves,-amx-bf16,-amx-complex,-amx-fp16,-amx-int8,-amx-tile,-avx10.1-256,-avx10.1-512,-avx512bf16,-avx512er,-avx512fp16,-avx512pf,-avx512vp2intersect,-avxifma,-avxneconvert,-avxvnni,-avxvnniint16,-avxvnniint8,-cldemote,-clwb,-clzero,-cmpccxadd,-enqcmd,-fma4,-hreset,-kl,-lwp,-movdir64b,-movdiri,-mwaitx,-pconfig,-prefetchi,-prefetchwt1,-ptwrite,-raoint,-rdpru,-rtm,-serialize,-sgx,-sha512,-shstk,-sm3,-sm4,-sse4a,-tbm,-tsxldtrk,-uintr,-usermsr,-waitpkg,-wbnoinvd,-widekl,-xop" } diff --git a/bench/php/optimized/crypt_sha512.ll b/bench/php/optimized/crypt_sha512.ll index 986277c3e1f..211e3e83125 100644 --- a/bench/php/optimized/crypt_sha512.ll +++ b/bench/php/optimized/crypt_sha512.ll @@ -49,13 +49,13 @@ sub_2: ; preds = %sub_1 %21 = icmp eq i32 %20, 0 %spec.select.idx = select i1 %21, i64 3, i64 0 %spec.select = getelementptr inbounds i8, ptr %1, i64 %spec.select.idx - %22 = tail call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %spec.select, ptr noundef nonnull dereferenceable(8) @sha512_rounds_prefix, i64 noundef 7) #13 + %22 = tail call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %spec.select, ptr noundef nonnull dereferenceable(8) @sha512_rounds_prefix, i64 noundef 7) #12 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %34 24: ; preds = %.tail %25 = getelementptr inbounds i8, ptr %spec.select, i64 7 - %26 = call i64 @strtoull(ptr noundef nonnull %25, ptr noundef nonnull %8, i32 noundef 10) #14 + %26 = call i64 @strtoull(ptr noundef nonnull %25, ptr noundef nonnull %8, i32 noundef 10) #13 %27 = load ptr, ptr %8, align 8 %28 = load i8, ptr %27, align 1 %29 = icmp eq i8 %28, 36 @@ -74,9 +74,9 @@ sub_2: ; preds = %sub_1 %.0475 = phi i64 [ %26, %32 ], [ 5000, %24 ], [ 5000, %.tail ] %.0474 = phi i1 [ true, %32 ], [ false, %24 ], [ false, %.tail ] %.1 = phi ptr [ %33, %32 ], [ %spec.select, %24 ], [ %spec.select, %.tail ] - %35 = tail call i64 @strcspn(ptr noundef %.1, ptr noundef nonnull @.str) #13 + %35 = tail call i64 @strcspn(ptr noundef %.1, ptr noundef nonnull @.str) #12 %spec.select533 = tail call i64 @llvm.umin.i64(i64 %35, i64 16) - %36 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #13 + %36 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #12 %37 = ptrtoint ptr %0 to i64 %38 = and i64 %37, 7 %.not = icmp eq i64 %38, 0 @@ -88,7 +88,7 @@ sub_2: ; preds = %sub_1 br i1 %41, label %42, label %44 42: ; preds = %39 - %43 = tail call noalias ptr @_emalloc(i64 noundef %40) #15 + %43 = tail call noalias ptr @_emalloc(i64 noundef %40) #14 br label %46 44: ; preds = %39 @@ -247,7 +247,7 @@ sub_2: ; preds = %sub_1 br i1 %93, label %94, label %96 94: ; preds = %._crit_edge544 - %95 = call noalias ptr @_emalloc(i64 noundef %36) #15 + %95 = call noalias ptr @_emalloc(i64 noundef %36) #14 br label %.lr.ph548.preheader 96: ; preds = %._crit_edge544 @@ -262,7 +262,7 @@ sub_2: ; preds = %sub_1 .lr.ph548: ; preds = %.lr.ph548.preheader, %.lr.ph548 %.3479546 = phi i64 [ %101, %.lr.ph548 ], [ %36, %.lr.ph548.preheader ] %.0483545 = phi ptr [ %100, %.lr.ph548 ], [ %99, %.lr.ph548.preheader ] - call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(64) %.0483545, ptr noundef nonnull align 8 dereferenceable(64) %5, i64 noundef 64, i1 false) #14 + call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(64) %.0483545, ptr noundef nonnull align 8 dereferenceable(64) %5, i64 noundef 64, i1 false) #13 %100 = getelementptr inbounds i8, ptr %.0483545, i64 64 %101 = add i64 %.3479546, -64 %102 = icmp ugt i64 %101, 63 @@ -363,14 +363,14 @@ sub_2: ; preds = %sub_1 ._crit_edge556: ; preds = %126, %111 %129 = call i32 @llvm.smax.i32(i32 %3, i32 0) %130 = zext nneg i32 %129 to i64 - %131 = call ptr @__php_stpncpy(ptr noundef %2, ptr noundef nonnull @sha512_salt_prefix, i64 noundef %130) #14 + %131 = call ptr @__php_stpncpy(ptr noundef %2, ptr noundef nonnull @sha512_salt_prefix, i64 noundef %130) #13 %132 = add i32 %3, -3 br i1 %.0474, label %133, label %140 133: ; preds = %._crit_edge556 %134 = call i32 @llvm.smax.i32(i32 %132, i32 0) %135 = zext nneg i32 %134 to i64 - %136 = call i32 (ptr, i64, ptr, ...) @ap_php_snprintf(ptr noundef %131, i64 noundef %135, ptr noundef nonnull @.str.1, ptr noundef nonnull @sha512_rounds_prefix, i64 noundef %.0475) #14 + %136 = call i32 (ptr, i64, ptr, ...) @ap_php_snprintf(ptr noundef %131, i64 noundef %135, ptr noundef nonnull @.str.1, ptr noundef nonnull @sha512_rounds_prefix, i64 noundef %.0475) #13 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i8, ptr %131, i64 %137 %139 = sub nsw i32 %132, %136 @@ -382,7 +382,7 @@ sub_2: ; preds = %sub_1 %141 = call i32 @llvm.smax.i32(i32 %.0471, i32 0) %142 = zext nneg i32 %141 to i64 %.spec.select533 = call i64 @llvm.umin.i64(i64 %spec.select533, i64 %142) - %143 = call ptr @__php_stpncpy(ptr noundef %.2485, ptr noundef %.2, i64 noundef %.spec.select533) #14 + %143 = call ptr @__php_stpncpy(ptr noundef %.2485, ptr noundef %.2, i64 noundef %.spec.select533) #13 %144 = trunc nuw nsw i64 %.spec.select533 to i32 %145 = sub nsw i32 %.0471, %144 %146 = icmp sgt i32 %145, 0 @@ -1243,7 +1243,7 @@ sub_2: ; preds = %sub_1 br i1 %667, label %._crit_edge752.thread, label %669 ._crit_edge752.thread: ; preds = %140, %147, %._crit_edge563, %._crit_edge572, %._crit_edge581, %._crit_edge590, %._crit_edge599, %._crit_edge608, %._crit_edge617, %._crit_edge626, %._crit_edge635, %._crit_edge644, %._crit_edge653, %._crit_edge662, %._crit_edge671, %._crit_edge680, %._crit_edge689, %._crit_edge698, %._crit_edge707, %._crit_edge716, %._crit_edge725, %._crit_edge734, %._crit_edge743, %._crit_edge752 - %668 = tail call ptr @__errno_location() #16 + %668 = tail call ptr @__errno_location() #15 store i32 34, ptr %668, align 4 br label %670 @@ -1263,16 +1263,16 @@ sub_2: ; preds = %sub_1 store i64 6620516959819538809, ptr %68, align 8 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %69, i8 0, i64 24, i1 false) %671 = call fastcc ptr @sha512_finish_ctx(ptr noundef nonnull %6, ptr noundef nonnull %4) - call void @explicit_bzero(ptr noundef nonnull %5, i64 noundef 64) #14 - call void @explicit_bzero(ptr noundef %103, i64 noundef %36) #14 - call void @explicit_bzero(ptr noundef nonnull %113, i64 noundef %spec.select533) #14 - call void @explicit_bzero(ptr noundef nonnull %6, i64 noundef 344) #14 - call void @explicit_bzero(ptr noundef nonnull %7, i64 noundef 344) #14 + call void @explicit_bzero(ptr noundef nonnull %5, i64 noundef 64) #13 + call void @explicit_bzero(ptr noundef %103, i64 noundef %36) #13 + call void @explicit_bzero(ptr noundef nonnull %113, i64 noundef %spec.select533) #13 + call void @explicit_bzero(ptr noundef nonnull %6, i64 noundef 344) #13 + call void @explicit_bzero(ptr noundef nonnull %7, i64 noundef 344) #13 %.not525 = icmp eq ptr %.0508, null br i1 %.not525, label %673, label %672 672: ; preds = %670 - call void @explicit_bzero(ptr noundef nonnull %.0508, i64 noundef %36) #14 + call void @explicit_bzero(ptr noundef nonnull %.0508, i64 noundef %36) #13 br label %673 673: ; preds = %672, %670 @@ -1280,7 +1280,7 @@ sub_2: ; preds = %sub_1 br i1 %.not526, label %675, label %674 674: ; preds = %673 - call void @explicit_bzero(ptr noundef nonnull %.0507, i64 noundef %spec.select533) #14 + call void @explicit_bzero(ptr noundef nonnull %.0507, i64 noundef %spec.select533) #13 br label %675 675: ; preds = %674, %673 @@ -1289,7 +1289,7 @@ sub_2: ; preds = %sub_1 br i1 %brmerge.not, label %676, label %677 676: ; preds = %675 - call void @_efree(ptr noundef nonnull %.0469) #14 + call void @_efree(ptr noundef nonnull %.0469) #13 br label %677 677: ; preds = %675, %676 @@ -1298,14 +1298,14 @@ sub_2: ; preds = %sub_1 br i1 %brmerge534, label %679, label %678 678: ; preds = %677 - call void @_efree(ptr noundef nonnull %.0467) #14 + call void @_efree(ptr noundef nonnull %.0467) #13 br label %679 679: ; preds = %677, %678 br i1 %104, label %680, label %681 680: ; preds = %679 - call void @_efree(ptr noundef %103) #14 + call void @_efree(ptr noundef %103) #13 br label %681 681: ; preds = %680, %679, %30 @@ -1331,7 +1331,7 @@ declare noalias ptr @_emalloc(i64 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal fastcc void @sha512_process_bytes(ptr noundef %0, i64 noundef %1, ptr nocapture noundef %2) unnamed_addr #5 { %4 = getelementptr inbounds i8, ptr %2, i64 80 %5 = load i64, ptr %4, align 8 @@ -1437,8 +1437,8 @@ define internal fastcc void @sha512_process_bytes(ptr noundef %0, i64 noundef %1 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc noundef ptr @sha512_finish_ctx(ptr nocapture noundef %0, ptr noundef returned writeonly %1) unnamed_addr #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc noundef ptr @sha512_finish_ctx(ptr nocapture noundef %0, ptr noundef returned writeonly %1) unnamed_addr #5 { %3 = getelementptr inbounds i8, ptr %0, i64 80 %4 = load i64, ptr %3, align 8 %5 = getelementptr inbounds i8, ptr %0, i64 64 @@ -1512,21 +1512,21 @@ define internal fastcc noundef ptr @sha512_finish_ctx(ptr nocapture noundef %0, ret ptr %1 } -declare ptr @__php_stpncpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #7 +declare ptr @__php_stpncpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #6 -declare i32 @ap_php_snprintf(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #7 +declare i32 @ap_php_snprintf(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #6 ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) -declare ptr @__errno_location() local_unnamed_addr #8 +declare ptr @__errno_location() local_unnamed_addr #7 ; Function Attrs: nounwind -declare void @explicit_bzero(ptr noundef, i64 noundef) local_unnamed_addr #9 +declare void @explicit_bzero(ptr noundef, i64 noundef) local_unnamed_addr #8 -declare void @_efree(ptr noundef) local_unnamed_addr #7 +declare void @_efree(ptr noundef) local_unnamed_addr #6 ; Function Attrs: nounwind uwtable define hidden noundef ptr @php_sha512_crypt(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { - %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #13 + %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #12 %4 = trunc i64 %3 to i32 %5 = add i32 %4, 109 %6 = load i32, ptr @php_sha512_crypt.buflen, align 4 @@ -1536,7 +1536,7 @@ define hidden noundef ptr @php_sha512_crypt(ptr noundef %0, ptr noundef %1) loca 8: ; preds = %2 %9 = zext nneg i32 %5 to i64 - %10 = tail call ptr @realloc(ptr noundef %.pre, i64 noundef %9) #17 + %10 = tail call ptr @realloc(ptr noundef %.pre, i64 noundef %9) #16 %11 = icmp eq ptr %10, null br i1 %11, label %17, label %12 @@ -1557,10 +1557,10 @@ define hidden noundef ptr @php_sha512_crypt(ptr noundef %0, ptr noundef %1) loca } ; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) -declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #10 +declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #9 -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @sha512_process_block(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef %2) unnamed_addr #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc void @sha512_process_block(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef %2) unnamed_addr #5 { %4 = alloca [80 x i64], align 16 %5 = lshr i64 %1, 3 %6 = load i64, ptr %2, align 8 @@ -1733,38 +1733,37 @@ define internal fastcc void @sha512_process_block(ptr nocapture noundef readonly } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #11 +declare i32 @llvm.smax.i32(i32, i32) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #11 +declare i64 @llvm.umin.i64(i64, i64) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.fshl.i64(i64, i64, i64) #11 +declare i64 @llvm.fshl.i64(i64, i64, i64) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.bswap.i64(i64) #11 +declare i64 @llvm.bswap.i64(i64) #10 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #12 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #11 attributes #0 = { 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 #1 = { 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 #2 = { mustprogress nofree nounwind willreturn "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 #3 = { allocsize(0) "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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #5 = { 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 #6 = { 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 #7 = { "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 #8 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 #9 = { 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 #10 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) 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 #11 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #12 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #13 = { nounwind willreturn memory(read) } -attributes #14 = { nounwind } -attributes #15 = { nounwind allocsize(0) } -attributes #16 = { nounwind willreturn memory(none) } -attributes #17 = { nounwind allocsize(1) } +attributes #5 = { 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 #6 = { "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 #7 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 #8 = { 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 #9 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) 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 #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #11 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #12 = { nounwind willreturn memory(read) } +attributes #13 = { nounwind } +attributes #14 = { nounwind allocsize(0) } +attributes #15 = { nounwind willreturn memory(none) } +attributes #16 = { nounwind allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/php/optimized/hash_xxhash.ll b/bench/php/optimized/hash_xxhash.ll index c5c4eba3579..7359f9e869c 100644 --- a/bench/php/optimized/hash_xxhash.ll +++ b/bench/php/optimized/hash_xxhash.ll @@ -29,7 +29,7 @@ define void @PHP_XXH32Init(ptr nocapture noundef writeonly %0, ptr noundef %1) # br i1 %.not, label %21, label %3 3: ; preds = %2 - %4 = tail call ptr @zend_hash_str_find(ptr noundef nonnull %1, ptr noundef nonnull @.str.2, i64 noundef 4) #17 + %4 = tail call ptr @zend_hash_str_find(ptr noundef nonnull %1, ptr noundef nonnull @.str.2, i64 noundef 4) #16 %.not19 = icmp eq ptr %4, null br i1 %.not19, label %.sink.split, label %5 @@ -86,7 +86,7 @@ define void @PHP_XXH32Init(ptr nocapture noundef writeonly %0, ptr noundef %1) # ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @PHP_XXH32Update(ptr nocapture noundef %0, ptr noundef %1, i64 noundef %2) #1 { %4 = icmp eq ptr %1, null br i1 %4, label %XXH_INLINE_XXH32_update.exit, label %5 @@ -222,8 +222,8 @@ XXH_INLINE_XXH32_update.exit: ; preds = %3, %.loopexit.i, %. ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @PHP_XXH32Final(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @PHP_XXH32Final(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #1 { %3 = getelementptr inbounds i8, ptr %1, i64 4 %4 = load i32, ptr %3, align 4 %.not.i = icmp eq i32 %4, 0 @@ -306,12 +306,12 @@ XXH_INLINE_XXH32_digest.exit: ; preds = %.lr.ph27.i.i, %.pre } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define noundef i32 @PHP_XXH32Copy(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #3 { +define noundef i32 @PHP_XXH32Copy(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #2 { tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(48) %2, ptr noundef nonnull align 4 dereferenceable(48) %1, i64 48, i1 false) ret i32 0 } -declare i32 @php_hash_serialize(ptr noundef, ptr noundef, ptr noundef) #4 +declare i32 @php_hash_serialize(ptr noundef, ptr noundef, ptr noundef) #3 ; Function Attrs: nounwind uwtable define internal i32 @php_hash_xxh32_unserialize(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { @@ -321,7 +321,7 @@ define internal i32 @php_hash_xxh32_unserialize(ptr noundef %0, i64 noundef %1, br i1 %6, label %7, label %.thread 7: ; preds = %3 - %8 = tail call i32 @php_hash_unserialize_spec(ptr noundef nonnull %0, ptr noundef %2, ptr noundef nonnull @.str.1) #17 + %8 = tail call i32 @php_hash_unserialize_spec(ptr noundef nonnull %0, ptr noundef %2, ptr noundef nonnull @.str.1) #16 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %.thread @@ -338,10 +338,10 @@ define internal i32 @php_hash_xxh32_unserialize(ptr noundef %0, i64 noundef %1, } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5 ; Function Attrs: nounwind uwtable define void @PHP_XXH64Init(ptr nocapture noundef writeonly %0, ptr noundef %1) #0 { @@ -350,7 +350,7 @@ define void @PHP_XXH64Init(ptr nocapture noundef writeonly %0, ptr noundef %1) # br i1 %.not, label %22, label %3 3: ; preds = %2 - %4 = tail call ptr @zend_hash_str_find(ptr noundef nonnull %1, ptr noundef nonnull @.str.2, i64 noundef 4) #17 + %4 = tail call ptr @zend_hash_str_find(ptr noundef nonnull %1, ptr noundef nonnull @.str.2, i64 noundef 4) #16 %.not19 = icmp eq ptr %4, null br i1 %.not19, label %.sink.split, label %5 @@ -403,7 +403,7 @@ define void @PHP_XXH64Init(ptr nocapture noundef writeonly %0, ptr noundef %1) # ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @PHP_XXH64Update(ptr nocapture noundef %0, ptr noundef %1, i64 noundef %2) #1 { %4 = icmp eq ptr %1, null br i1 %4, label %XXH_INLINE_XXH64_update.exit, label %5 @@ -559,8 +559,8 @@ XXH_INLINE_XXH64_update.exit: ; preds = %3, %.loopexit.i, %. ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define void @PHP_XXH64Final(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @PHP_XXH64Final(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #1 { %3 = load i64, ptr %1, align 8 %4 = icmp ugt i64 %3, 31 br i1 %4, label %5, label %45 @@ -695,7 +695,7 @@ XXH_INLINE_XXH64_digest.exit: ; preds = %.lr.ph39.i.i, %74 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define noundef i32 @PHP_XXH64Copy(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #3 { +define noundef i32 @PHP_XXH64Copy(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #2 { tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(88) %2, ptr noundef nonnull align 8 dereferenceable(88) %1, i64 88, i1 false) ret i32 0 } @@ -708,7 +708,7 @@ define internal i32 @php_hash_xxh64_unserialize(ptr noundef %0, i64 noundef %1, br i1 %6, label %7, label %.thread 7: ; preds = %3 - %8 = tail call i32 @php_hash_unserialize_spec(ptr noundef nonnull %0, ptr noundef %2, ptr noundef nonnull @.str.4) #17 + %8 = tail call i32 @php_hash_unserialize_spec(ptr noundef nonnull %0, ptr noundef %2, ptr noundef nonnull @.str.4) #16 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %.thread @@ -725,13 +725,13 @@ define internal i32 @php_hash_xxh64_unserialize(ptr noundef %0, i64 noundef %1, } ; Function Attrs: nounwind uwtable -define void @PHP_XXH3_64_Init(ptr noundef %0, ptr noundef %1) #7 { +define void @PHP_XXH3_64_Init(ptr noundef %0, ptr noundef %1) #6 { tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(576) %0, i8 0, i64 576, i1 false) %.not = icmp eq ptr %1, null br i1 %.not, label %XXH_INLINE_XXH3_64bits_reset_withSeed.exit67, label %3 3: ; preds = %2 - %4 = tail call ptr @zend_hash_str_find(ptr noundef nonnull %1, ptr noundef nonnull @.str.2, i64 noundef 4) #17 + %4 = tail call ptr @zend_hash_str_find(ptr noundef nonnull %1, ptr noundef nonnull @.str.2, i64 noundef 4) #16 %.not61.not = icmp eq ptr %4, null br i1 %.not61.not, label %.thread75, label %5 @@ -748,12 +748,12 @@ define void @PHP_XXH3_64_Init(ptr noundef %0, ptr noundef %1) #7 { 12: ; preds = %5, %9 %.052 = phi ptr [ %11, %9 ], [ %4, %5 ] - %13 = tail call ptr @zend_hash_str_find(ptr noundef nonnull %1, ptr noundef nonnull @.str.7, i64 noundef 6) #17 + %13 = tail call ptr @zend_hash_str_find(ptr noundef nonnull %1, ptr noundef nonnull @.str.7, i64 noundef 6) #16 %.not62 = icmp eq ptr %13, null br i1 %.not62, label %.thread, label %15 .thread75: ; preds = %3 - %14 = tail call ptr @zend_hash_str_find(ptr noundef nonnull %1, ptr noundef nonnull @.str.7, i64 noundef 6) #17 + %14 = tail call ptr @zend_hash_str_find(ptr noundef nonnull %1, ptr noundef nonnull @.str.7, i64 noundef 6) #16 %.not6277 = icmp eq ptr %14, null br i1 %.not6277, label %XXH_INLINE_XXH3_64bits_reset_withSeed.exit67, label %15 @@ -774,7 +774,7 @@ define void @PHP_XXH3_64_Init(ptr noundef %0, ptr noundef %1) #7 { br i1 %.not61.not, label %70, label %24 24: ; preds = %23 - tail call void (ptr, ptr, ...) @zend_throw_error(ptr noundef null, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.5) #17 + tail call void (ptr, ptr, ...) @zend_throw_error(ptr noundef null, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.5) #16 br label %113 .thread: ; preds = %12 @@ -827,7 +827,7 @@ define void @PHP_XXH3_64_Init(ptr noundef %0, ptr noundef %1) #7 { %49 = sub i64 0, %29 %50 = insertelement <2 x i64> poison, i64 %29, i64 0 %51 = insertelement <2 x i64> %50, i64 %49, i64 1 - %52 = tail call ptr asm sideeffect "", "=r,0,~{dirflag},~{fpsr},~{flags}"(ptr nonnull %48) #17, !srcloc !4 + %52 = tail call ptr asm sideeffect "", "=r,0,~{dirflag},~{fpsr},~{flags}"(ptr nonnull %48) #16, !srcloc !4 br label %53 53: ; preds = %53, %47 @@ -881,7 +881,7 @@ XXH_INLINE_XXH3_64bits_reset_withSeed.exit: ; preds = %31, %XXH3_initCusto br i1 %73, label %.critedge, label %74 74: ; preds = %70 - %75 = tail call zeroext i1 @_try_convert_to_string(ptr noundef nonnull %.054) #17 + %75 = tail call zeroext i1 @_try_convert_to_string(ptr noundef nonnull %.054) #16 br i1 %75, label %.critedge, label %113 .critedge: ; preds = %70, %74 @@ -892,7 +892,7 @@ XXH_INLINE_XXH3_64bits_reset_withSeed.exit: ; preds = %31, %XXH3_initCusto br i1 %79, label %80, label %81 80: ; preds = %.critedge - tail call void (ptr, ptr, ...) @zend_throw_error(ptr noundef null, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.5, i32 noundef 136, i64 noundef %78) #17 + tail call void (ptr, ptr, ...) @zend_throw_error(ptr noundef null, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.5, i32 noundef 136, i64 noundef %78) #16 br label %113 81: ; preds = %.critedge @@ -900,7 +900,7 @@ XXH_INLINE_XXH3_64bits_reset_withSeed.exit: ; preds = %31, %XXH3_initCusto br i1 %82, label %83, label %XXH_INLINE_XXH3_64bits_reset_withSecret.exit 83: ; preds = %81 - tail call void (ptr, i32, ptr, ...) @php_error_docref(ptr noundef null, i32 noundef 2, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.5, i64 noundef 256) #17 + tail call void (ptr, i32, ptr, ...) @php_error_docref(ptr noundef null, i32 noundef 2, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.5, i64 noundef 256) #16 %.pre = load ptr, ptr %.054, align 8 br label %XXH_INLINE_XXH3_64bits_reset_withSecret.exit @@ -972,13 +972,13 @@ XXH_INLINE_XXH3_64bits_reset_withSeed.exit67: ; preds = %.thread, %.thread75 } ; Function Attrs: nofree norecurse nosync nounwind uwtable -define void @PHP_XXH3_64_Update(ptr nocapture noundef %0, ptr noundef %1, i64 noundef %2) #8 { +define void @PHP_XXH3_64_Update(ptr nocapture noundef %0, ptr noundef %1, i64 noundef %2) #7 { tail call fastcc void @XXH3_update(ptr noundef %0, ptr noundef %1, i64 noundef %2) ret void } ; Function Attrs: nofree norecurse nosync nounwind uwtable -define void @PHP_XXH3_64_Final(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #9 { +define void @PHP_XXH3_64_Final(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #8 { %3 = alloca i64, align 8 %4 = alloca [64 x i8], align 16 %5 = alloca [8 x i64], align 16 @@ -1157,21 +1157,21 @@ XXH_INLINE_XXH3_64bits_digest.exit: ; preds = %XXH3_mergeAccs.exit } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define noundef i32 @PHP_XXH3_64_Copy(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #3 { +define noundef i32 @PHP_XXH3_64_Copy(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #2 { tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 64 dereferenceable(576) %2, ptr noundef nonnull align 64 dereferenceable(576) %1, i64 576, i1 false) ret i32 0 } -declare i32 @php_hash_unserialize(ptr noundef, i64 noundef, ptr noundef) #4 +declare i32 @php_hash_unserialize(ptr noundef, i64 noundef, ptr noundef) #3 ; Function Attrs: nounwind uwtable -define void @PHP_XXH3_128_Init(ptr noundef %0, ptr noundef %1) #7 { +define void @PHP_XXH3_128_Init(ptr noundef %0, ptr noundef %1) #6 { tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 64 dereferenceable(576) %0, i8 0, i64 576, i1 false) %.not = icmp eq ptr %1, null br i1 %.not, label %XXH_INLINE_XXH3_128bits_reset_withSeed.exit67, label %3 3: ; preds = %2 - %4 = tail call ptr @zend_hash_str_find(ptr noundef nonnull %1, ptr noundef nonnull @.str.2, i64 noundef 4) #17 + %4 = tail call ptr @zend_hash_str_find(ptr noundef nonnull %1, ptr noundef nonnull @.str.2, i64 noundef 4) #16 %.not61.not = icmp eq ptr %4, null br i1 %.not61.not, label %.thread75, label %5 @@ -1188,12 +1188,12 @@ define void @PHP_XXH3_128_Init(ptr noundef %0, ptr noundef %1) #7 { 12: ; preds = %5, %9 %.052 = phi ptr [ %11, %9 ], [ %4, %5 ] - %13 = tail call ptr @zend_hash_str_find(ptr noundef nonnull %1, ptr noundef nonnull @.str.7, i64 noundef 6) #17 + %13 = tail call ptr @zend_hash_str_find(ptr noundef nonnull %1, ptr noundef nonnull @.str.7, i64 noundef 6) #16 %.not62 = icmp eq ptr %13, null br i1 %.not62, label %.thread, label %15 .thread75: ; preds = %3 - %14 = tail call ptr @zend_hash_str_find(ptr noundef nonnull %1, ptr noundef nonnull @.str.7, i64 noundef 6) #17 + %14 = tail call ptr @zend_hash_str_find(ptr noundef nonnull %1, ptr noundef nonnull @.str.7, i64 noundef 6) #16 %.not6277 = icmp eq ptr %14, null br i1 %.not6277, label %XXH_INLINE_XXH3_128bits_reset_withSeed.exit67, label %15 @@ -1214,7 +1214,7 @@ define void @PHP_XXH3_128_Init(ptr noundef %0, ptr noundef %1) #7 { br i1 %.not61.not, label %70, label %24 24: ; preds = %23 - tail call void (ptr, ptr, ...) @zend_throw_error(ptr noundef null, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.6) #17 + tail call void (ptr, ptr, ...) @zend_throw_error(ptr noundef null, ptr noundef nonnull @.str.8, ptr noundef nonnull @.str.6) #16 br label %113 .thread: ; preds = %12 @@ -1267,7 +1267,7 @@ define void @PHP_XXH3_128_Init(ptr noundef %0, ptr noundef %1) #7 { %49 = sub i64 0, %29 %50 = insertelement <2 x i64> poison, i64 %29, i64 0 %51 = insertelement <2 x i64> %50, i64 %49, i64 1 - %52 = tail call ptr asm sideeffect "", "=r,0,~{dirflag},~{fpsr},~{flags}"(ptr nonnull %48) #17, !srcloc !4 + %52 = tail call ptr asm sideeffect "", "=r,0,~{dirflag},~{fpsr},~{flags}"(ptr nonnull %48) #16, !srcloc !4 br label %53 53: ; preds = %53, %47 @@ -1321,7 +1321,7 @@ XXH_INLINE_XXH3_128bits_reset_withSeed.exit: ; preds = %31, %XXH3_initCusto br i1 %73, label %.critedge, label %74 74: ; preds = %70 - %75 = tail call zeroext i1 @_try_convert_to_string(ptr noundef nonnull %.054) #17 + %75 = tail call zeroext i1 @_try_convert_to_string(ptr noundef nonnull %.054) #16 br i1 %75, label %.critedge, label %113 .critedge: ; preds = %70, %74 @@ -1332,7 +1332,7 @@ XXH_INLINE_XXH3_128bits_reset_withSeed.exit: ; preds = %31, %XXH3_initCusto br i1 %79, label %80, label %81 80: ; preds = %.critedge - tail call void (ptr, ptr, ...) @zend_throw_error(ptr noundef null, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.6, i32 noundef 136, i64 noundef %78) #17 + tail call void (ptr, ptr, ...) @zend_throw_error(ptr noundef null, ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.6, i32 noundef 136, i64 noundef %78) #16 br label %113 81: ; preds = %.critedge @@ -1340,7 +1340,7 @@ XXH_INLINE_XXH3_128bits_reset_withSeed.exit: ; preds = %31, %XXH3_initCusto br i1 %82, label %83, label %XXH_INLINE_XXH3_128bits_reset_withSecret.exit 83: ; preds = %81 - tail call void (ptr, i32, ptr, ...) @php_error_docref(ptr noundef null, i32 noundef 2, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.6, i64 noundef 256) #17 + tail call void (ptr, i32, ptr, ...) @php_error_docref(ptr noundef null, i32 noundef 2, ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.6, i64 noundef 256) #16 %.pre = load ptr, ptr %.054, align 8 br label %XXH_INLINE_XXH3_128bits_reset_withSecret.exit @@ -1412,13 +1412,13 @@ XXH_INLINE_XXH3_128bits_reset_withSeed.exit67: ; preds = %.thread, %.thread75 } ; Function Attrs: nofree norecurse nosync nounwind uwtable -define void @PHP_XXH3_128_Update(ptr nocapture noundef %0, ptr noundef %1, i64 noundef %2) #8 { +define void @PHP_XXH3_128_Update(ptr nocapture noundef %0, ptr noundef %1, i64 noundef %2) #7 { tail call fastcc void @XXH3_update(ptr noundef %0, ptr noundef %1, i64 noundef %2) ret void } ; Function Attrs: nofree norecurse nosync nounwind uwtable -define void @PHP_XXH3_128_Final(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #9 { +define void @PHP_XXH3_128_Final(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) #8 { %3 = alloca i64, align 8 %4 = alloca [64 x i8], align 16 %5 = alloca [8 x i64], align 16 @@ -1643,29 +1643,29 @@ XXH_INLINE_XXH3_128bits_digest.exit: ; preds = %XXH3_mergeAccs.exit } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define noundef i32 @PHP_XXH3_128_Copy(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #3 { +define noundef i32 @PHP_XXH3_128_Copy(ptr nocapture readnone %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) #2 { tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 64 dereferenceable(576) %2, ptr noundef nonnull align 64 dereferenceable(576) %1, i64 576, i1 false) ret i32 0 } -declare ptr @zend_hash_str_find(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #4 +declare ptr @zend_hash_str_find(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #10 +declare i32 @llvm.fshl.i32(i32, i32, i32) #9 -declare i32 @php_hash_unserialize_spec(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4 +declare i32 @php_hash_unserialize_spec(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.fshl.i64(i64, i64, i64) #10 +declare i64 @llvm.fshl.i64(i64, i64, i64) #9 -declare void @zend_throw_error(ptr noundef, ptr noundef, ...) local_unnamed_addr #4 +declare void @zend_throw_error(ptr noundef, ptr noundef, ...) local_unnamed_addr #3 -declare void @php_error_docref(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #4 +declare void @php_error_docref(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #3 -declare zeroext i1 @_try_convert_to_string(ptr noundef) local_unnamed_addr #4 +declare zeroext i1 @_try_convert_to_string(ptr noundef) local_unnamed_addr #3 ; Function Attrs: nofree norecurse nosync nounwind uwtable -define internal fastcc void @XXH3_update(ptr noalias nocapture noundef %0, ptr noalias noundef %1, i64 noundef %2) unnamed_addr #9 { +define internal fastcc void @XXH3_update(ptr noalias nocapture noundef %0, ptr noalias noundef %1, i64 noundef %2) unnamed_addr #8 { %4 = icmp eq ptr %1, null br i1 %4, label %196, label %5 @@ -2012,7 +2012,7 @@ XXH3_accumulate.exit132: ; preds = %XXH3_accumulate_512 } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define internal fastcc void @XXH3_consumeStripes(ptr noalias nocapture noundef %0, ptr noalias nocapture noundef %1, i64 noundef %2, ptr noalias nocapture noundef readonly %3, i64 noundef %4, ptr noalias nocapture noundef readonly %5, i64 noundef %6) unnamed_addr #11 { +define internal fastcc void @XXH3_consumeStripes(ptr noalias nocapture noundef %0, ptr noalias nocapture noundef %1, i64 noundef %2, ptr noalias nocapture noundef readonly %3, i64 noundef %4, ptr noalias nocapture noundef readonly %5, i64 noundef %6) unnamed_addr #10 { %8 = load i64, ptr %1, align 8 %9 = sub i64 %2, %8 %.not = icmp ugt i64 %9, %4 @@ -2207,10 +2207,10 @@ XXH3_accumulate.exit41: ; preds = %XXH3_accumulate_512 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) -declare void @llvm.prefetch.p0(ptr nocapture readonly, i32 immarg, i32 immarg, i32 immarg) #12 +declare void @llvm.prefetch.p0(ptr nocapture readonly, i32 immarg, i32 immarg, i32 immarg) #11 ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read, inaccessiblemem: readwrite) uwtable -define internal fastcc i64 @XXH3_64bits_internal(ptr noalias nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, ptr noalias nocapture noundef readonly %3) unnamed_addr #13 { +define internal fastcc i64 @XXH3_64bits_internal(ptr noalias nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, ptr noalias nocapture noundef readonly %3) unnamed_addr #12 { %5 = icmp ult i64 %1, 17 br i1 %5, label %6, label %110 @@ -2651,7 +2651,7 @@ XXH3_len_0to16_64b.exit: ; preds = %97, %67, %38, %8, % } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read, inaccessiblemem: readwrite) uwtable -define internal fastcc { i64, i64 } @XXH3_128bits_internal(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, ptr noalias nocapture noundef readonly %3) unnamed_addr #13 { +define internal fastcc { i64, i64 } @XXH3_128bits_internal(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, ptr noalias nocapture noundef readonly %3) unnamed_addr #12 { %5 = icmp ult i64 %1, 17 br i1 %5, label %6, label %163 @@ -3279,47 +3279,46 @@ XXH3_len_129to240_128b.exit: ; preds = %382, %367 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.bswap.i32(i32) #14 +declare i32 @llvm.bswap.i32(i32) #13 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.bswap.i64(i64) #14 +declare i64 @llvm.bswap.i64(i64) #13 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) -declare void @llvm.experimental.noalias.scope.decl(metadata) #15 +declare void @llvm.experimental.noalias.scope.decl(metadata) #14 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #14 +declare i32 @llvm.umax.i32(i32, i32) #13 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #16 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #15 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #16 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #15 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <4 x i32> @llvm.fshl.v4i32(<4 x i32>, <4 x i32>, <4 x i32>) #14 +declare <4 x i32> @llvm.fshl.v4i32(<4 x i32>, <4 x i32>, <4 x i32>) #13 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #14 +declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #13 attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { "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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #7 = { nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 norecurse nosync 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 #9 = { nofree norecurse nosync nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #11 = { nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 nosync nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) } -attributes #13 = { nofree norecurse nosync nounwind memory(argmem: read, 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 #14 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #15 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } -attributes #16 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #17 = { nounwind } +attributes #1 = { 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 #2 = { 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 #3 = { "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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #6 = { nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 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 norecurse nosync nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #10 = { nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) } +attributes #12 = { nofree norecurse nosync nounwind memory(argmem: read, 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 #13 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #14 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } +attributes #15 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #16 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/php/optimized/md5.ll b/bench/php/optimized/md5.ll index 04964e195b7..f2a9731b66a 100644 --- a/bench/php/optimized/md5.ll +++ b/bench/php/optimized/md5.ll @@ -95,7 +95,7 @@ define hidden void @zif_md5(ptr noundef %0, ptr nocapture noundef writeonly %1) br i1 %or.cond, label %10, label %11 10: ; preds = %2 - tail call void @zend_wrong_parameters_count_error(i32 noundef 1, i32 noundef 2) #11 + tail call void @zend_wrong_parameters_count_error(i32 noundef 1, i32 noundef 2) #10 br label %.thread231 11: ; preds = %2 @@ -111,7 +111,7 @@ define hidden void @zif_md5(ptr noundef %0, ptr nocapture noundef writeonly %1) br label %19 17: ; preds = %11 - %18 = call zeroext i1 @zend_parse_arg_str_slow(ptr noundef nonnull %12, ptr noundef nonnull %3, i32 noundef 1) #11 + %18 = call zeroext i1 @zend_parse_arg_str_slow(ptr noundef nonnull %12, ptr noundef nonnull %3, i32 noundef 1) #10 br i1 %18, label %19, label %.thread231 19: ; preds = %17, %.critedge @@ -136,7 +136,7 @@ define hidden void @zif_md5(ptr noundef %0, ptr nocapture noundef writeonly %1) 25: ; preds = %21 %26 = getelementptr inbounds i8, ptr %0, i64 96 - %27 = call zeroext i1 @zend_parse_arg_bool_slow(ptr noundef nonnull %26, ptr noundef nonnull %4, i32 noundef 2) #11 + %27 = call zeroext i1 @zend_parse_arg_bool_slow(ptr noundef nonnull %26, ptr noundef nonnull %4, i32 noundef 2) #10 %.fr = freeze i1 %27 br i1 %.fr, label %.thread224, label %.thread231 @@ -145,7 +145,7 @@ define hidden void @zif_md5(ptr noundef %0, ptr nocapture noundef writeonly %1) %.0201239 = phi i32 [ 9, %17 ], [ 1, %10 ], [ 9, %25 ] %.0202238 = phi ptr [ %12, %17 ], [ null, %10 ], [ %26, %25 ] %.0203237 = phi i32 [ 4, %17 ], [ 0, %10 ], [ 2, %25 ] - call void @zend_wrong_parameter_error(i32 noundef %.0201239, i32 noundef %.0200240, ptr noundef null, i32 noundef %.0203237, ptr noundef %.0202238) #11 + call void @zend_wrong_parameter_error(i32 noundef %.0201239, i32 noundef %.0200240, ptr noundef null, i32 noundef %.0203237, ptr noundef %.0202238) #10 br label %76 .thread224: ; preds = %25, %.thread220, %19 @@ -182,7 +182,7 @@ PHP_MD5Update.exit: ; preds = %.thread224, %39 br i1 %45, label %46, label %54 46: ; preds = %PHP_MD5Update.exit - %47 = call noalias ptr @_emalloc_48() #11 + %47 = call noalias ptr @_emalloc_48() #10 store i32 1, ptr %47, align 4 %48 = getelementptr inbounds i8, ptr %47, i64 4 store i32 22, ptr %48, align 4 @@ -200,7 +200,7 @@ PHP_MD5Update.exit: ; preds = %.thread224, %39 br label %76 54: ; preds = %PHP_MD5Update.exit - %55 = call noalias ptr @_emalloc_64() #11 + %55 = call noalias ptr @_emalloc_64() #10 store i32 1, ptr %55, align 4 %56 = getelementptr inbounds i8, ptr %55, i64 4 store i32 22, ptr %56, align 4 @@ -468,7 +468,7 @@ define void @PHP_MD5Final(ptr nocapture noundef writeonly %0, ptr noundef %1) lo %109 = trunc nuw i32 %108 to i8 %110 = getelementptr inbounds i8, ptr %0, i64 15 store i8 %109, ptr %110, align 1 - tail call void @explicit_bzero(ptr noundef nonnull %1, i64 noundef 152) #11 + tail call void @explicit_bzero(ptr noundef nonnull %1, i64 noundef 152) #10 ret void } @@ -487,7 +487,7 @@ define hidden void @zif_md5_file(ptr noundef %0, ptr nocapture noundef writeonly br i1 %or.cond, label %11, label %12 11: ; preds = %2 - tail call void @zend_wrong_parameters_count_error(i32 noundef 1, i32 noundef 2) #11 + tail call void @zend_wrong_parameters_count_error(i32 noundef 1, i32 noundef 2) #10 br label %.thread262 12: ; preds = %2 @@ -503,7 +503,7 @@ define hidden void @zif_md5_file(ptr noundef %0, ptr nocapture noundef writeonly br label %20 18: ; preds = %12 - %19 = call zeroext i1 @zend_parse_arg_str_slow(ptr noundef nonnull %13, ptr noundef nonnull %3, i32 noundef 1) #11 + %19 = call zeroext i1 @zend_parse_arg_str_slow(ptr noundef nonnull %13, ptr noundef nonnull %3, i32 noundef 1) #10 br i1 %19, label %thread-pre-split, label %.thread262 thread-pre-split: ; preds = %18 @@ -519,7 +519,7 @@ thread-pre-split: ; preds = %18 %23 = getelementptr inbounds i8, ptr %21, i64 24 %24 = getelementptr inbounds i8, ptr %21, i64 16 %25 = load i64, ptr %24, align 8 - %26 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %23) #12 + %26 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %23) #11 %.not240 = icmp eq i64 %25, %26 br i1 %.not240, label %27, label %.thread262 @@ -546,7 +546,7 @@ thread-pre-split: ; preds = %18 34: ; preds = %30 %35 = getelementptr inbounds i8, ptr %0, i64 96 - %36 = call zeroext i1 @zend_parse_arg_bool_slow(ptr noundef nonnull %35, ptr noundef nonnull %4, i32 noundef 2) #11 + %36 = call zeroext i1 @zend_parse_arg_bool_slow(ptr noundef nonnull %35, ptr noundef nonnull %4, i32 noundef 2) #10 %cond.fr249 = freeze i1 %36 br i1 %cond.fr249, label %.thread273, label %.thread262 @@ -555,11 +555,11 @@ thread-pre-split: ; preds = %18 %.0230271 = phi i32 [ 1, %18 ], [ 1, %22 ], [ 0, %11 ], [ 2, %34 ] %.0231270 = phi i32 [ 16, %18 ], [ 16, %22 ], [ 0, %11 ], [ 2, %34 ] %.0232269 = phi ptr [ %13, %18 ], [ %13, %22 ], [ null, %11 ], [ %35, %34 ] - call void @zend_wrong_parameter_error(i32 noundef %.0229272, i32 noundef %.0230271, ptr noundef null, i32 noundef %.0231270, ptr noundef %.0232269) #11 + call void @zend_wrong_parameter_error(i32 noundef %.0229272, i32 noundef %.0230271, ptr noundef null, i32 noundef %.0231270, ptr noundef %.0232269) #10 br label %118 .thread273: ; preds = %34, %.thread281, %27 - %37 = call ptr @_php_stream_open_wrapper_ex(ptr noundef nonnull %28, ptr noundef nonnull @.str, i32 noundef 8, ptr noundef null, ptr noundef null) #11 + %37 = call ptr @_php_stream_open_wrapper_ex(ptr noundef nonnull %28, ptr noundef nonnull @.str, i32 noundef 8, ptr noundef null, ptr noundef null) #10 %.not242 = icmp eq ptr %37, null br i1 %.not242, label %38, label %40 @@ -575,7 +575,7 @@ thread-pre-split: ; preds = %18 store i32 271733878, ptr %42, align 4 %43 = getelementptr inbounds i8, ptr %7, i64 4 store <4 x i32> , ptr %7, align 16 - %44 = call i64 @_php_stream_read(ptr noundef nonnull %37, ptr noundef nonnull %5, i64 noundef 1024) #11 + %44 = call i64 @_php_stream_read(ptr noundef nonnull %37, ptr noundef nonnull %5, i64 noundef 1024) #10 %45 = icmp sgt i64 %44, 0 br i1 %45, label %.lr.ph, label %._crit_edge @@ -640,13 +640,13 @@ thread-pre-split: ; preds = %18 br label %PHP_MD5Update.exit PHP_MD5Update.exit: ; preds = %67, %78 - %79 = call i64 @_php_stream_read(ptr noundef nonnull %37, ptr noundef nonnull %5, i64 noundef 1024) #11 + %79 = call i64 @_php_stream_read(ptr noundef nonnull %37, ptr noundef nonnull %5, i64 noundef 1024) #10 %80 = icmp sgt i64 %79, 0 br i1 %80, label %47, label %._crit_edge ._crit_edge: ; preds = %PHP_MD5Update.exit, %40 - %81 = call zeroext i1 @_php_stream_eof(ptr noundef nonnull %37) #11 - %82 = call i32 @_php_stream_free(ptr noundef nonnull %37, i32 noundef 3) #11 + %81 = call zeroext i1 @_php_stream_eof(ptr noundef nonnull %37) #10 + %82 = call i32 @_php_stream_free(ptr noundef nonnull %37, i32 noundef 3) #10 call void @PHP_MD5Final(ptr noundef nonnull %6, ptr noundef nonnull %7) br i1 %81, label %85, label %83 @@ -661,7 +661,7 @@ PHP_MD5Update.exit: ; preds = %67, %78 br i1 %87, label %88, label %96 88: ; preds = %85 - %89 = call noalias ptr @_emalloc_48() #11 + %89 = call noalias ptr @_emalloc_48() #10 store i32 1, ptr %89, align 4 %90 = getelementptr inbounds i8, ptr %89, i64 4 store i32 22, ptr %90, align 4 @@ -679,7 +679,7 @@ PHP_MD5Update.exit: ; preds = %67, %78 br label %118 96: ; preds = %85 - %97 = call noalias ptr @_emalloc_64() #11 + %97 = call noalias ptr @_emalloc_64() #10 store i32 1, ptr %97, align 4 %98 = getelementptr inbounds i8, ptr %97, i64 4 store i32 22, ptr %98, align 4 @@ -735,8 +735,8 @@ declare i32 @_php_stream_free(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5 -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc nonnull ptr @body(ptr nocapture noundef %0, ptr noundef readonly %1, i64 noundef %2) unnamed_addr #6 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc nonnull ptr @body(ptr nocapture noundef %0, ptr noundef readonly %1, i64 noundef %2) unnamed_addr #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i32, ptr %4, align 4 %6 = getelementptr inbounds i8, ptr %0, i64 12 @@ -1298,10 +1298,10 @@ define internal fastcc nonnull ptr @body(ptr nocapture noundef %0, ptr noundef r } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6 ; Function Attrs: nounwind -declare void @explicit_bzero(ptr noundef, i64 noundef) local_unnamed_addr #8 +declare void @explicit_bzero(ptr noundef, i64 noundef) local_unnamed_addr #7 declare zeroext i1 @zend_parse_arg_str_slow(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 @@ -1312,10 +1312,10 @@ declare noalias ptr @_emalloc_48() local_unnamed_addr #2 declare noalias ptr @_emalloc_64() local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #9 +declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #8 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #10 +declare i32 @llvm.fshl.i32(i32, i32, i32) #9 attributes #0 = { 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 #1 = { 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" } @@ -1323,13 +1323,12 @@ attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protect attributes #3 = { 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 #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #6 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #8 = { 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 #9 = { 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 #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #11 = { nounwind } -attributes #12 = { nounwind willreturn memory(read) } +attributes #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #7 = { 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 #8 = { 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 #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #10 = { nounwind } +attributes #11 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/php/optimized/pcre2_compile.ll b/bench/php/optimized/pcre2_compile.ll index fde7cec0df9..68afe58a90d 100644 --- a/bench/php/optimized/pcre2_compile.ll +++ b/bench/php/optimized/pcre2_compile.ll @@ -96,7 +96,7 @@ define ptr @php_pcre2_code_copy(ptr noundef readonly %0) local_unnamed_addr #0 { %6 = load i64, ptr %5, align 8 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load ptr, ptr %7, align 8 - %9 = tail call ptr %4(i64 noundef %6, ptr noundef %8) #16 + %9 = tail call ptr %4(i64 noundef %6, ptr noundef %8) #17 %10 = icmp eq ptr %9, null br i1 %10, label %23, label %11 @@ -139,7 +139,7 @@ define ptr @php_pcre2_code_copy_with_tables(ptr noundef readonly %0) local_unnam %6 = load i64, ptr %5, align 8 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load ptr, ptr %7, align 8 - %9 = tail call ptr %4(i64 noundef %6, ptr noundef %8) #16 + %9 = tail call ptr %4(i64 noundef %6, ptr noundef %8) #17 %10 = icmp eq ptr %9, null br i1 %10, label %30, label %11 @@ -150,7 +150,7 @@ define ptr @php_pcre2_code_copy_with_tables(ptr noundef readonly %0) local_unnam store ptr null, ptr %13, align 8 %14 = load ptr, ptr %0, align 8 %15 = load ptr, ptr %7, align 8 - %16 = tail call ptr %14(i64 noundef 1096, ptr noundef %15) #16 + %16 = tail call ptr %14(i64 noundef 1096, ptr noundef %15) #17 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %22 @@ -158,7 +158,7 @@ define ptr @php_pcre2_code_copy_with_tables(ptr noundef readonly %0) local_unnam %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = load ptr, ptr %19, align 8 %21 = load ptr, ptr %7, align 8 - tail call void %20(ptr noundef nonnull %9, ptr noundef %21) #16 + tail call void %20(ptr noundef nonnull %9, ptr noundef %21) #17 br label %30 22: ; preds = %11 @@ -192,7 +192,7 @@ define void @php_pcre2_code_free(ptr noundef %0) local_unnamed_addr #0 { br i1 %.not17, label %6, label %5 5: ; preds = %2 - tail call void @_pcre2_jit_free_8(ptr noundef nonnull %4, ptr noundef nonnull %0) #16 + tail call void @_pcre2_jit_free_8(ptr noundef nonnull %4, ptr noundef nonnull %0) #17 br label %6 6: ; preds = %5, %2 @@ -222,7 +222,7 @@ define void @php_pcre2_code_free(ptr noundef %0) local_unnamed_addr #0 { %21 = load ptr, ptr %11, align 8 %22 = getelementptr inbounds i8, ptr %0, i64 16 %23 = load ptr, ptr %22, align 8 - tail call void %20(ptr noundef %21, ptr noundef %23) #16 + tail call void %20(ptr noundef %21, ptr noundef %23) #17 br label %24 24: ; preds = %10, %18, %15, %6 @@ -230,7 +230,7 @@ define void @php_pcre2_code_free(ptr noundef %0) local_unnamed_addr #0 { %26 = load ptr, ptr %25, align 8 %27 = getelementptr inbounds i8, ptr %0, i64 16 %28 = load ptr, ptr %27, align 8 - tail call void %26(ptr noundef nonnull %0, ptr noundef %28) #16 + tail call void %26(ptr noundef nonnull %0, ptr noundef %28) #17 br label %29 29: ; preds = %24, %1 @@ -2024,7 +2024,7 @@ define ptr @php_pcre2_compile(ptr noundef %0, i64 noundef %1, i32 noundef %2, pt br i1 %47, label %48, label %50 48: ; preds = %46 - %49 = tail call i64 @_pcre2_strlen_8(ptr noundef nonnull %.0313) #16 + %49 = tail call i64 @_pcre2_strlen_8(ptr noundef nonnull %.0313) #17 br label %50 50: ; preds = %48, %46 @@ -2155,7 +2155,7 @@ define ptr @php_pcre2_compile(ptr noundef %0, i64 noundef %1, i32 noundef %2, pt 114: ; preds = %109 %115 = load ptr, ptr %110, align 16 - %116 = call i32 @_pcre2_strncmp_c8_8(ptr noundef nonnull %108, ptr noundef %115, i64 noundef %113) #16 + %116 = call i32 @_pcre2_strncmp_c8_8(ptr noundef nonnull %108, ptr noundef %115, i64 noundef %113) #17 %117 = icmp eq i32 %116, 0 br i1 %117, label %118, label %169 @@ -2306,7 +2306,7 @@ define ptr @php_pcre2_compile(ptr noundef %0, i64 noundef %1, i32 noundef %2, pt br i1 %183, label %184, label %186 184: ; preds = %181 - %185 = call i32 @_pcre2_valid_utf_8(ptr noundef nonnull %.0313, i64 noundef %.0323, ptr noundef nonnull %4) #16 + %185 = call i32 @_pcre2_valid_utf_8(ptr noundef nonnull %.0313, i64 noundef %.0323, ptr noundef nonnull %4) #17 store i32 %185, ptr %16, align 4 %.not397 = icmp eq i32 %185, 0 br i1 %.not397, label %._crit_edge, label %.thread450 @@ -2424,7 +2424,7 @@ define ptr @php_pcre2_compile(ptr noundef %0, i64 noundef %1, i32 noundef %2, pt %231 = add i64 %230, 4 %232 = getelementptr inbounds i8, ptr %spec.store.select, i64 16 %233 = load ptr, ptr %232, align 8 - %234 = call ptr %229(i64 noundef %231, ptr noundef %233) #16 + %234 = call ptr %229(i64 noundef %231, ptr noundef %233) #17 %235 = icmp eq ptr %234, null br i1 %235, label %236, label %237 @@ -2472,7 +2472,7 @@ define ptr @php_pcre2_compile(ptr noundef %0, i64 noundef %1, i32 noundef %2, pt %255 = shl nuw nsw i64 %254, 2 %256 = getelementptr inbounds i8, ptr %spec.store.select, i64 16 %257 = load ptr, ptr %256, align 8 - %258 = call ptr %251(i64 noundef %255, ptr noundef %257) #16 + %258 = call ptr %251(i64 noundef %255, ptr noundef %257) #17 store ptr %258, ptr %73, align 8 %259 = icmp eq ptr %258, null br i1 %259, label %260, label %._crit_edge620 @@ -2528,7 +2528,7 @@ define ptr @php_pcre2_compile(ptr noundef %0, i64 noundef %1, i32 noundef %2, pt %287 = load ptr, ptr %spec.store.select, align 8 %288 = getelementptr inbounds i8, ptr %spec.store.select, i64 16 %289 = load ptr, ptr %288, align 8 - %290 = call ptr %287(i64 noundef %286, ptr noundef %289) #16 + %290 = call ptr %287(i64 noundef %286, ptr noundef %289) #17 %291 = icmp eq ptr %290, null br i1 %291, label %.thread459, label %292 @@ -2743,7 +2743,7 @@ define ptr @php_pcre2_compile(ptr noundef %0, i64 noundef %1, i32 noundef %2, pt .thread440: ; preds = %395, %.preheader, %399 %.0311476 = phi ptr [ %.0311558, %399 ], [ %327, %.preheader ], [ %.1312, %395 ] - %402 = call ptr @_pcre2_find_bracket_8(ptr noundef %.0311476, i32 noundef %.lobit, i32 noundef %384) #16 + %402 = call ptr @_pcre2_find_bracket_8(ptr noundef %.0311476, i32 noundef %.lobit, i32 noundef %384) #17 %403 = icmp eq ptr %402, null br i1 %403, label %.thread445.thread, label %404 @@ -2793,7 +2793,7 @@ thread-pre-split.thread: ; preds = %375, %thread-pre-sp br i1 %423, label %424, label %426 424: ; preds = %thread-pre-split.thread - %425 = call i32 @_pcre2_auto_possessify_8(ptr noundef nonnull %327, ptr noundef nonnull %8) #16 + %425 = call i32 @_pcre2_auto_possessify_8(ptr noundef nonnull %327, ptr noundef nonnull %8) #17 %.not409 = icmp eq i32 %425, 0 br i1 %.not409, label %thread-pre-split632, label %.thread445.thread @@ -3017,7 +3017,7 @@ thread-pre-split632: ; preds = %424 542: ; preds = %.sink.split680, %506, %519, %526, %525, %509, %488 %.2 = phi i32 [ %.1, %519 ], [ %.1, %525 ], [ %.1, %526 ], [ %.1, %509 ], [ %.0, %488 ], [ %.1, %506 ], [ %.1, %.sink.split680 ] - %543 = call i32 @_pcre2_study_8(ptr noundef nonnull %290) #16 + %543 = call i32 @_pcre2_study_8(ptr noundef nonnull %290) #17 %.not423 = icmp eq i32 %543, 0 br i1 %.not423, label %544, label %.thread445.thread @@ -3049,7 +3049,7 @@ php_pcre2_code_free.exit: ; preds = %601, %.thread450, % %557 = load ptr, ptr %556, align 8 %558 = getelementptr inbounds i8, ptr %spec.store.select, i64 16 %559 = load ptr, ptr %558, align 8 - call void %557(ptr noundef %554, ptr noundef %559) #16 + call void %557(ptr noundef %554, ptr noundef %559) #17 br label %560 560: ; preds = %555, %php_pcre2_code_free.exit @@ -3063,7 +3063,7 @@ php_pcre2_code_free.exit: ; preds = %601, %.thread450, % %566 = load ptr, ptr %82, align 8 %567 = getelementptr inbounds i8, ptr %spec.store.select, i64 16 %568 = load ptr, ptr %567, align 8 - call void %565(ptr noundef %566, ptr noundef %568) #16 + call void %565(ptr noundef %566, ptr noundef %568) #17 br label %569 569: ; preds = %563, %560 @@ -3076,7 +3076,7 @@ php_pcre2_code_free.exit: ; preds = %601, %.thread450, % %573 = load ptr, ptr %572, align 8 %574 = getelementptr inbounds i8, ptr %spec.store.select, i64 16 %575 = load ptr, ptr %574, align 8 - call void %573(ptr noundef %570, ptr noundef %575) #16 + call void %573(ptr noundef %570, ptr noundef %575) #17 br label %606 .thread454: ; preds = %202, %186, %179, %.loopexit474, %146 @@ -3106,7 +3106,7 @@ php_pcre2_code_free.exit: ; preds = %601, %.thread450, % br i1 %.not17.i, label %585, label %584 584: ; preds = %.thread445.thread - call void @_pcre2_jit_free_8(ptr noundef nonnull %583, ptr noundef nonnull %290) #16 + call void @_pcre2_jit_free_8(ptr noundef nonnull %583, ptr noundef nonnull %290) #17 br label %585 585: ; preds = %584, %.thread445.thread @@ -3134,7 +3134,7 @@ php_pcre2_code_free.exit: ; preds = %601, %.thread450, % %598 = load ptr, ptr %295, align 8 %599 = getelementptr inbounds i8, ptr %290, i64 16 %600 = load ptr, ptr %599, align 8 - call void %597(ptr noundef %598, ptr noundef %600) #16 + call void %597(ptr noundef %598, ptr noundef %600) #17 br label %601 601: ; preds = %595, %592, %588, %585 @@ -3142,7 +3142,7 @@ php_pcre2_code_free.exit: ; preds = %601, %.thread450, % %603 = load ptr, ptr %602, align 8 %604 = getelementptr inbounds i8, ptr %290, i64 16 %605 = load ptr, ptr %604, align 8 - call void %603(ptr noundef nonnull %290, ptr noundef %605) #16 + call void %603(ptr noundef nonnull %290, ptr noundef %605) #17 br label %php_pcre2_code_free.exit 606: ; preds = %569, %571, %6, %54, %45, %38, %29 @@ -4068,7 +4068,7 @@ thread-pre-split: ; preds = %410, %403, %407 br i1 %476, label %477, label %497 477: ; preds = %475 - %478 = call i32 @_pcre2_is_newline_8(ptr noundef nonnull %472, i32 noundef %473, ptr noundef nonnull %474, ptr noundef nonnull %232, i32 noundef %.lobit) #16 + %478 = call i32 @_pcre2_is_newline_8(ptr noundef nonnull %472, i32 noundef %473, ptr noundef nonnull %474, ptr noundef nonnull %232, i32 noundef %.lobit) #17 %.not1036 = icmp eq i32 %478, 0 %.pre1769 = load ptr, ptr %5, align 8 br i1 %.not1036, label %497, label %._crit_edge1766 @@ -4852,13 +4852,13 @@ thread-pre-split1140: ; preds = %.thread1137 br i1 %853, label %854, label %882 854: ; preds = %849 - %855 = call i32 @_pcre2_strncmp_c8_8(ptr noundef %850, ptr noundef nonnull @.str.22, i64 noundef 6) #16 + %855 = call i32 @_pcre2_strncmp_c8_8(ptr noundef %850, ptr noundef nonnull @.str.22, i64 noundef 6) #17 %856 = icmp eq i32 %855, 0 br i1 %856, label %861, label %857 857: ; preds = %854 %858 = load ptr, ptr %5, align 8 - %859 = call i32 @_pcre2_strncmp_c8_8(ptr noundef %858, ptr noundef nonnull @.str.23, i64 noundef 6) #16 + %859 = call i32 @_pcre2_strncmp_c8_8(ptr noundef %858, ptr noundef nonnull @.str.23, i64 noundef 6) #17 %860 = icmp eq i32 %859, 0 br i1 %860, label %861, label %._crit_edge1784 @@ -5133,7 +5133,7 @@ thread-pre-split1140: ; preds = %.thread1137 br i1 %1015, label %1016, label %.loopexit1198.thread 1016: ; preds = %1012 - %1017 = call i32 @_pcre2_strncmp_c8_8(ptr noundef nonnull %1005, ptr noundef nonnull @.str.24, i64 noundef 3) #16 + %1017 = call i32 @_pcre2_strncmp_c8_8(ptr noundef nonnull %1005, ptr noundef nonnull @.str.24, i64 noundef 3) #17 %1018 = icmp eq i32 %1017, 0 br i1 %1018, label %1019, label %..loopexit1198.loopexit_crit_edge @@ -6001,7 +6001,7 @@ thread-pre-split1142: ; preds = %1058 br i1 %1462, label %1463, label %1466 1463: ; preds = %1459 - %1464 = call i32 @_pcre2_strncmp_c8_8(ptr noundef %1456, ptr noundef %.06901546, i64 noundef %1457) #16 + %1464 = call i32 @_pcre2_strncmp_c8_8(ptr noundef %1456, ptr noundef %.06901546, i64 noundef %1457) #17 %1465 = icmp eq i32 %1464, 0 br i1 %1465, label %1471, label %1466 @@ -6149,7 +6149,7 @@ thread-pre-split1142: ; preds = %1058 br i1 %1529, label %1530, label %1533 1530: ; preds = %1526 - %1531 = call i32 @_pcre2_strncmp_c8_8(ptr noundef %1524, ptr noundef %.16911549, i64 noundef %1525) #16 + %1531 = call i32 @_pcre2_strncmp_c8_8(ptr noundef %1524, ptr noundef %.16911549, i64 noundef %1525) #17 %1532 = icmp eq i32 %1531, 0 br i1 %1532, label %1538, label %1533 @@ -7049,7 +7049,7 @@ thread-pre-split1142: ; preds = %1058 br i1 %1943, label %1944, label %2008 1944: ; preds = %1939 - %1945 = call i32 @_pcre2_strncmp_c8_8(ptr noundef %1940, ptr noundef nonnull @.str.25, i64 noundef 7) #16 + %1945 = call i32 @_pcre2_strncmp_c8_8(ptr noundef %1940, ptr noundef nonnull @.str.25, i64 noundef 7) #17 %1946 = icmp eq i32 %1945, 0 %.pre1773 = load ptr, ptr %5, align 8 br i1 %1946, label %1947, label %2008 @@ -7240,7 +7240,7 @@ read_number.exit: ; preds = %1968 br i1 %2028, label %2029, label %2032 2029: ; preds = %2026 - %2030 = call i32 @_pcre2_strncmp_c8_8(ptr noundef %.pre1774.pre, ptr noundef nonnull @.str.26, i64 noundef 6) #16 + %2030 = call i32 @_pcre2_strncmp_c8_8(ptr noundef %.pre1774.pre, ptr noundef nonnull @.str.26, i64 noundef 6) #17 %2031 = icmp eq i32 %2030, 0 br i1 %2031, label %2046, label %.lr.ph1552 @@ -7521,7 +7521,7 @@ read_number.exit: ; preds = %1968 2160: ; preds = %2154 %2161 = load ptr, ptr %.07361578, align 8 - %2162 = call i32 @_pcre2_strncmp_8(ptr noundef %2150, ptr noundef %2161, i64 noundef %2151) #16 + %2162 = call i32 @_pcre2_strncmp_8(ptr noundef %2150, ptr noundef %2161, i64 noundef %2151) #17 %2163 = icmp eq i32 %2162, 0 %.pre1777 = load i32, ptr %235, align 4 br i1 %2163, label %2164, label %2172 @@ -7595,7 +7595,7 @@ read_number.exit: ; preds = %1968 %2194 = shl nuw nsw i64 %2193, 4 %2195 = getelementptr inbounds i8, ptr %2191, i64 16 %2196 = load ptr, ptr %2195, align 8 - %2197 = call ptr %2192(i64 noundef %2194, ptr noundef %2196) #16 + %2197 = call ptr %2192(i64 noundef %2194, ptr noundef %2196) #17 %2198 = icmp eq ptr %2197, null br i1 %2198, label %2199, label %2200 @@ -7620,7 +7620,7 @@ read_number.exit: ; preds = %1968 %2211 = load ptr, ptr %238, align 8 %2212 = getelementptr inbounds i8, ptr %2208, i64 16 %2213 = load ptr, ptr %2212, align 8 - call void %2210(ptr noundef %2211, ptr noundef %2213) #16 + call void %2210(ptr noundef %2211, ptr noundef %2213) #17 br label %2214 2214: ; preds = %2207, %2200 @@ -8229,7 +8229,7 @@ define internal fastcc range(i32 -1, 2) i32 @compile_regex(i32 noundef %0, i32 n %43 = zext i16 %42 to i32 %44 = getelementptr inbounds i8, ptr %37, i64 32 %45 = load ptr, ptr %44, align 8 - %46 = tail call i32 %39(i32 noundef %43, ptr noundef %45) #16 + %46 = tail call i32 %39(i32 noundef %43, ptr noundef %45) #17 %.not109 = icmp eq i32 %46, 0 br i1 %.not109, label %48, label %47 @@ -8679,7 +8679,7 @@ switch.edge.thread219: ; preds = %48, %48, %48 br i1 %or.cond11.i, label %226, label %228 226: ; preds = %222 - %227 = call i32 @_pcre2_ord2utf_8(i32 noundef %185, ptr noundef nonnull %224) #16 + %227 = call i32 @_pcre2_ord2utf_8(i32 noundef %185, ptr noundef nonnull %224) #17 br label %230 228: ; preds = %222 @@ -9372,12 +9372,12 @@ add_list_to_class.exit152: ; preds = %.preheader388, %.pr 538: ; preds = %.thread230, %536 %539 = load ptr, ptr %19, align 8 - %540 = call i32 @_pcre2_ord2utf_8(i32 noundef 256, ptr noundef %539) #16 + %540 = call i32 @_pcre2_ord2utf_8(i32 noundef 256, ptr noundef %539) #17 %541 = load ptr, ptr %19, align 8 %542 = zext i32 %540 to i64 %543 = getelementptr inbounds i8, ptr %541, i64 %542 store ptr %543, ptr %19, align 8 - %544 = call i32 @_pcre2_ord2utf_8(i32 noundef 1114111, ptr noundef %543) #16 + %544 = call i32 @_pcre2_ord2utf_8(i32 noundef 1114111, ptr noundef %543) #17 %545 = load ptr, ptr %19, align 8 %546 = zext i32 %544 to i64 %547 = getelementptr inbounds i8, ptr %545, i64 %546 @@ -9591,7 +9591,7 @@ add_list_to_class.exit152: ; preds = %.preheader388, %.pr br i1 %126, label %642, label %644 642: ; preds = %.lr.ph829 - %643 = call i32 @_pcre2_ord2utf_8(i32 noundef %641, ptr noundef nonnull %24) #16 + %643 = call i32 @_pcre2_ord2utf_8(i32 noundef %641, ptr noundef nonnull %24) #17 br label %646 644: ; preds = %.lr.ph829 @@ -9687,7 +9687,7 @@ add_list_to_class.exit152: ; preds = %.preheader388, %.pr 687: ; preds = %681 %688 = load ptr, ptr %.01259.i816, align 8 - %689 = call i32 @_pcre2_strncmp_8(ptr noundef %678, ptr noundef %688, i64 noundef %680) #16 + %689 = call i32 @_pcre2_strncmp_8(ptr noundef %678, ptr noundef %688, i64 noundef %680) #17 %690 = icmp eq i32 %689, 0 br i1 %690, label %691, label %._crit_edge1356 @@ -10246,7 +10246,7 @@ add_list_to_class.exit152: ; preds = %.preheader388, %.pr 965: ; preds = %960 %966 = load ptr, ptr %.01248.i808, align 8 - %967 = call i32 @_pcre2_strncmp_8(ptr noundef %956, ptr noundef %966, i64 noundef %958) #16 + %967 = call i32 @_pcre2_strncmp_8(ptr noundef %956, ptr noundef %966, i64 noundef %958) #17 %968 = icmp eq i32 %967, 0 br i1 %968, label %969, label %984 @@ -10728,7 +10728,7 @@ add_list_to_class.exit152: ; preds = %.preheader388, %.pr br i1 %1217, label %.lr.ph, label %.loopexit407 1218: ; preds = %1215 - %1219 = call i32 @_pcre2_ckd_smul(ptr noundef nonnull %30, i32 noundef %spec.select1536.i, i32 noundef 3) #16 + %1219 = call i32 @_pcre2_ckd_smul(ptr noundef nonnull %30, i32 noundef %spec.select1536.i, i32 noundef 3) #17 %.not1450.i = icmp eq i32 %1219, 0 br i1 %.not1450.i, label %.cont1315, label %1223 @@ -10905,7 +10905,7 @@ add_list_to_class.exit152: ; preds = %.preheader388, %.pr %1290 = add i32 %.21193.i264274, -1 %1291 = load i64, ptr %16, align 8 %1292 = trunc i64 %1291 to i32 - %1293 = call i32 @_pcre2_ckd_smul(ptr noundef nonnull %31, i32 noundef %1290, i32 noundef %1292) #16 + %1293 = call i32 @_pcre2_ckd_smul(ptr noundef nonnull %31, i32 noundef %1290, i32 noundef %1292) #17 %.not1456.i = icmp eq i32 %1293, 0 br i1 %.not1456.i, label %.cont1322, label %1297 @@ -10985,7 +10985,7 @@ add_list_to_class.exit152: ; preds = %.preheader388, %.pr %1314 = load i64, ptr %16, align 8 %1315 = trunc i64 %1314 to i32 %1316 = add i32 %1315, 7 - %1317 = call i32 @_pcre2_ckd_smul(ptr noundef nonnull %32, i32 noundef %.5.i, i32 noundef %1316) #16 + %1317 = call i32 @_pcre2_ckd_smul(ptr noundef nonnull %32, i32 noundef %.5.i, i32 noundef %1316) #17 %.not1469.i = icmp eq i32 %1317, 0 br i1 %.not1469.i, label %.cont1329, label %1321 @@ -11851,7 +11851,7 @@ select.unfold294: ; preds = %.loopexit404, %sele br i1 %126, label %1742, label %1744 1742: ; preds = %1741 - %1743 = call i32 @_pcre2_ord2utf_8(i32 noundef %.21258.i, ptr noundef nonnull %24) #16 + %1743 = call i32 @_pcre2_ord2utf_8(i32 noundef %.21258.i, ptr noundef nonnull %24) #17 br label %1746 1744: ; preds = %1741 @@ -12190,7 +12190,7 @@ define internal fastcc void @add_name_to_table(ptr nocapture noundef readonly %0 %.02940 = phi ptr [ %7, %.lr.ph ], [ %29, %.thread34 ] %.03039 = phi i32 [ 0, %.lr.ph ], [ %30, %.thread34 ] %12 = getelementptr inbounds i8, ptr %.02940, i64 2 - %13 = tail call i32 @memcmp(ptr noundef %1, ptr noundef nonnull %12, i64 noundef %.pre) #17 + %13 = tail call i32 @memcmp(ptr noundef %1, ptr noundef nonnull %12, i64 noundef %.pre) #18 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %18 @@ -12244,7 +12244,7 @@ define internal fastcc void @add_name_to_table(ptr nocapture noundef readonly %0 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal fastcc noundef ptr @find_recurse(ptr noundef readonly %0, i32 noundef %1) unnamed_addr #7 { %.not.not = icmp eq i32 %1, 0 br i1 %.not.not, label %.split.us, label %.split @@ -13146,7 +13146,7 @@ define internal fastcc range(i32 0, 2) i32 @get_ucp(ptr nocapture noundef %0, pt ] 28: ; preds = %.preheader - %29 = tail call ptr @__ctype_b_loc() #18 + %29 = tail call ptr @__ctype_b_loc() #19 %30 = load ptr, ptr %29, align 8 %31 = zext i8 %.196 to i64 %32 = getelementptr inbounds i16, ptr %30, i64 %31 @@ -13167,7 +13167,7 @@ define internal fastcc range(i32 0, 2) i32 @get_ucp(ptr nocapture noundef %0, pt 36: ; preds = %35 %37 = zext i8 %.196 to i32 - %38 = call i32 @tolower(i32 noundef %37) #17 + %38 = call i32 @tolower(i32 noundef %37) #18 %39 = trunc i32 %38 to i8 %40 = getelementptr inbounds [50 x i8], ptr %7, i64 0, i64 %.093153 store i8 %39, ptr %40, align 1 @@ -13196,7 +13196,7 @@ define internal fastcc range(i32 0, 2) i32 @get_ucp(ptr nocapture noundef %0, pt br i1 %.not105, label %.loopexit132, label %.thread121 .thread121: ; preds = %46 - %53 = tail call i32 @tolower(i32 noundef %14) #17 + %53 = tail call i32 @tolower(i32 noundef %14) #18 %54 = trunc i32 %53 to i8 store i8 %54, ptr %7, align 16 %55 = getelementptr inbounds i8, ptr %7, i64 1 @@ -13215,32 +13215,32 @@ define internal fastcc range(i32 0, 2) i32 @get_ucp(ptr nocapture noundef %0, pt 57: ; preds = %.thread store i8 0, ptr %.084141, align 1 - %58 = call i32 @_pcre2_strcmp_c8_8(ptr noundef nonnull %7, ptr noundef nonnull @.str.27) #16 + %58 = call i32 @_pcre2_strcmp_c8_8(ptr noundef nonnull %7, ptr noundef nonnull @.str.27) #17 %59 = icmp eq i32 %58, 0 br i1 %59, label %80, label %60 60: ; preds = %57 - %61 = call i32 @_pcre2_strcmp_c8_8(ptr noundef nonnull %7, ptr noundef nonnull @.str.28) #16 + %61 = call i32 @_pcre2_strcmp_c8_8(ptr noundef nonnull %7, ptr noundef nonnull @.str.28) #17 %62 = icmp eq i32 %61, 0 br i1 %62, label %80, label %63 63: ; preds = %60 - %64 = call i32 @_pcre2_strcmp_c8_8(ptr noundef nonnull %7, ptr noundef nonnull @.str.29) #16 + %64 = call i32 @_pcre2_strcmp_c8_8(ptr noundef nonnull %7, ptr noundef nonnull @.str.29) #17 %65 = icmp eq i32 %64, 0 br i1 %65, label %.thread127, label %66 66: ; preds = %63 - %67 = call i32 @_pcre2_strcmp_c8_8(ptr noundef nonnull %7, ptr noundef nonnull @.str.30) #16 + %67 = call i32 @_pcre2_strcmp_c8_8(ptr noundef nonnull %7, ptr noundef nonnull @.str.30) #17 %68 = icmp eq i32 %67, 0 br i1 %68, label %.thread127, label %69 69: ; preds = %66 - %70 = call i32 @_pcre2_strcmp_c8_8(ptr noundef nonnull %7, ptr noundef nonnull @.str.31) #16 + %70 = call i32 @_pcre2_strcmp_c8_8(ptr noundef nonnull %7, ptr noundef nonnull @.str.31) #17 %71 = icmp eq i32 %70, 0 br i1 %71, label %.thread127, label %72 72: ; preds = %69 - %73 = call i32 @_pcre2_strcmp_c8_8(ptr noundef nonnull %7, ptr noundef nonnull @.str.32) #16 + %73 = call i32 @_pcre2_strcmp_c8_8(ptr noundef nonnull %7, ptr noundef nonnull @.str.32) #17 %74 = icmp eq i32 %73, 0 br i1 %74, label %.thread127, label %75 @@ -13282,7 +13282,7 @@ define internal fastcc range(i32 0, 2) i32 @get_ucp(ptr nocapture noundef %0, pt %90 = load i16, ptr %89, align 2 %91 = zext i16 %90 to i64 %92 = getelementptr inbounds i8, ptr @_pcre2_utt_names_8, i64 %91 - %93 = call i32 @_pcre2_strcmp_c8_8(ptr noundef nonnull %7, ptr noundef nonnull %92) #16 + %93 = call i32 @_pcre2_strcmp_c8_8(ptr noundef nonnull %7, ptr noundef nonnull %92) #17 %94 = icmp eq i32 %93, 0 br i1 %94, label %95, label %105 @@ -13789,8 +13789,8 @@ define internal fastcc range(i32 0, 2) i32 @read_name(ptr nocapture noundef %0, ret i32 %.0137 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 0, 2) i32 @check_posix_syntax(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) unnamed_addr #4 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc range(i32 0, 2) i32 @check_posix_syntax(ptr noundef %0, ptr noundef %1, ptr nocapture noundef writeonly %2) unnamed_addr #11 { %4 = load i8, ptr %0, align 1 %5 = ptrtoint ptr %1 to i64 %.01722 = getelementptr inbounds i8, ptr %0, i64 1 @@ -13864,7 +13864,7 @@ define internal fastcc i32 @check_posix_name(ptr noundef %0, i32 noundef %1) unn br i1 %8, label %9, label %12 9: ; preds = %4 - %10 = tail call i32 @_pcre2_strncmp_c8_8(ptr noundef %0, ptr noundef %.01014, i64 noundef %3) #16 + %10 = tail call i32 @_pcre2_strncmp_c8_8(ptr noundef %0, ptr noundef %.01014, i64 noundef %3) #17 %11 = icmp eq i32 %10, 0 br i1 %11, label %.split.loop.exit17, label %12 @@ -13888,10 +13888,10 @@ define internal fastcc i32 @check_posix_name(ptr noundef %0, i32 noundef %1) unn declare i32 @_pcre2_strncmp_8(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) -declare ptr @__ctype_b_loc() local_unnamed_addr #11 +declare ptr @__ctype_b_loc() local_unnamed_addr #12 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) -declare i32 @tolower(i32 noundef) local_unnamed_addr #12 +declare i32 @tolower(i32 noundef) local_unnamed_addr #13 declare i32 @_pcre2_strcmp_c8_8(ptr noundef, ptr noundef) local_unnamed_addr #2 @@ -14257,7 +14257,7 @@ set_lookbehind_lengths.exit: ; preds = %117, %118 154: ; preds = %148 %155 = load ptr, ptr %.0118285, align 8 - %156 = call i32 @_pcre2_strncmp_8(ptr noundef %145, ptr noundef %155, i64 noundef %147) #16 + %156 = call i32 @_pcre2_strncmp_8(ptr noundef %145, ptr noundef %155, i64 noundef %147) #17 %157 = icmp eq i32 %156, 0 br i1 %157, label %164, label %._crit_edge415 @@ -14726,7 +14726,7 @@ get_grouplength.exit164.thread: ; preds = %295, %325, %._crit_ ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal fastcc noundef ptr @parsed_skip(ptr noundef readonly %0, i32 noundef %1) unnamed_addr #7 { %3 = icmp eq i32 %1, 1 br i1 %3, label %.split.us, label %.split @@ -14978,7 +14978,7 @@ define internal fastcc range(i32 0, 2) i32 @find_dupname_details(ptr noundef %0, %.051 = phi ptr [ %12, %.lr.ph ], [ %26, %23 ] %.04250 = phi i32 [ 0, %.lr.ph ], [ %27, %23 ] %16 = getelementptr inbounds i8, ptr %.051, i64 2 - %17 = tail call i32 @_pcre2_strncmp_8(ptr noundef %0, ptr noundef nonnull %16, i64 noundef %13) #16 + %17 = tail call i32 @_pcre2_strncmp_8(ptr noundef %0, ptr noundef nonnull %16, i64 noundef %13) #17 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %23 @@ -15067,7 +15067,7 @@ define internal fastcc range(i32 0, 2) i32 @find_dupname_details(ptr noundef %0, %66 = zext i16 %65 to i64 %67 = getelementptr inbounds i8, ptr %.1, i64 %66 %68 = getelementptr inbounds i8, ptr %67, i64 2 - %69 = tail call i32 @_pcre2_strncmp_8(ptr noundef %0, ptr noundef nonnull %68, i64 noundef %42) #16 + %69 = tail call i32 @_pcre2_strncmp_8(ptr noundef %0, ptr noundef nonnull %68, i64 noundef %42) #17 %.not47 = icmp eq i32 %69, 0 br i1 %.not47, label %70, label %73 @@ -15439,7 +15439,7 @@ get_othercase_range.exit: ; preds = %22, %64, %40, %get_ 161: ; preds = %159 %162 = getelementptr inbounds i8, ptr %158, i64 1 store i8 2, ptr %158, align 1 - %163 = tail call i32 @_pcre2_ord2utf_8(i32 noundef %spec.store.select, ptr noundef nonnull %162) #16 + %163 = tail call i32 @_pcre2_ord2utf_8(i32 noundef %spec.store.select, ptr noundef nonnull %162) #17 %164 = zext i32 %163 to i64 %165 = getelementptr inbounds i8, ptr %162, i64 %164 br label %.sink.split @@ -15455,7 +15455,7 @@ get_othercase_range.exit: ; preds = %22, %64, %40, %get_ .sink.split: ; preds = %168, %161 %.sink248 = phi ptr [ %165, %161 ], [ %169, %168 ] - %170 = tail call i32 @_pcre2_ord2utf_8(i32 noundef %.284, ptr noundef nonnull %.sink248) #16 + %170 = tail call i32 @_pcre2_ord2utf_8(i32 noundef %.284, ptr noundef nonnull %.sink248) #17 %171 = zext i32 %170 to i64 %172 = getelementptr inbounds i8, ptr %.sink248, i64 %171 br label %173 @@ -15471,9 +15471,9 @@ get_othercase_range.exit: ; preds = %22, %64, %40, %get_ } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i32 @memcmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #13 +declare i32 @memcmp(ptr nocapture noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #14 -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define internal fastcc noundef ptr @first_significant_code(ptr noundef readonly %0, i32 noundef %1) unnamed_addr #7 { %.not34 = icmp eq i32 %1, 0 br i1 %.not34, label %.split.us.split.us, label %.split.split @@ -15710,25 +15710,25 @@ define internal fastcc noundef ptr @first_significant_code(ptr noundef readonly } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #14 +declare i32 @llvm.fshl.i32(i32, i32, i32) #15 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #14 +declare i32 @llvm.umin.i32(i32, i32) #15 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #14 +declare i32 @llvm.umax.i32(i32, i32) #15 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #15 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #16 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #15 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #16 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #14 +declare i32 @llvm.smax.i32(i32, i32) #15 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #14 +declare i32 @llvm.smin.i32(i32, i32) #15 attributes #0 = { 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 #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } @@ -15737,18 +15737,19 @@ attributes #3 = { nofree norecurse nosync nounwind memory(readwrite, inaccessibl attributes #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #6 = { nofree 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 #7 = { 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(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 #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 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 #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 nosync nounwind willreturn memory(none) "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 #12 = { mustprogress nofree nounwind willreturn memory(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 #13 = { 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 #14 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #15 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #16 = { nounwind } -attributes #17 = { nounwind willreturn memory(read) } -attributes #18 = { nounwind willreturn memory(none) } +attributes #11 = { 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 #12 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 #13 = { mustprogress nofree nounwind willreturn memory(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 #14 = { 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 #15 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #16 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #17 = { nounwind } +attributes #18 = { nounwind willreturn memory(read) } +attributes #19 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/php/optimized/zend_accelerator_util_funcs.ll b/bench/php/optimized/zend_accelerator_util_funcs.ll index aadd88467c6..a054e278c4a 100644 --- a/bench/php/optimized/zend_accelerator_util_funcs.ll +++ b/bench/php/optimized/zend_accelerator_util_funcs.ll @@ -47,12 +47,12 @@ target triple = "x86_64-pc-linux-gnu" ; Function Attrs: nounwind uwtable define hidden noundef ptr @create_persistent_script() local_unnamed_addr #0 { - %1 = tail call noalias ptr @_emalloc_512() #10 + %1 = tail call noalias ptr @_emalloc_512() #11 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(464) %1, i8 0, i64 464, i1 false) %2 = getelementptr inbounds i8, ptr %1, i64 248 - tail call void @_zend_hash_init(ptr noundef nonnull %2, i32 noundef 0, ptr noundef nonnull @zend_function_dtor, i1 noundef zeroext false) #10 + tail call void @_zend_hash_init(ptr noundef nonnull %2, i32 noundef 0, ptr noundef nonnull @zend_function_dtor, i1 noundef zeroext false) #11 %3 = getelementptr inbounds i8, ptr %1, i64 304 - tail call void @_zend_hash_init(ptr noundef nonnull %3, i32 noundef 0, ptr noundef nonnull @destroy_zend_class, i1 noundef zeroext false) #10 + tail call void @_zend_hash_init(ptr noundef nonnull %3, i32 noundef 0, ptr noundef nonnull @destroy_zend_class, i1 noundef zeroext false) #11 ret ptr %1 } @@ -81,14 +81,14 @@ define hidden void @free_persistent_script(ptr noundef %0, i32 noundef %1) local 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %0, i64 8 - tail call void @destroy_op_array(ptr noundef nonnull %7) #10 + tail call void @destroy_op_array(ptr noundef nonnull %7) #11 br label %8 8: ; preds = %6, %3 %9 = getelementptr inbounds i8, ptr %0, i64 248 - tail call void @zend_hash_destroy(ptr noundef nonnull %9) #10 + tail call void @zend_hash_destroy(ptr noundef nonnull %9) #11 %10 = getelementptr inbounds i8, ptr %0, i64 304 - tail call void @zend_hash_destroy(ptr noundef nonnull %10) #10 + tail call void @zend_hash_destroy(ptr noundef nonnull %10) #11 %11 = load ptr, ptr %0, align 8 %.not46 = icmp eq ptr %11, null br i1 %.not46, label %22, label %12 @@ -110,7 +110,7 @@ define hidden void @free_persistent_script(ptr noundef %0, i32 noundef %1) local br i1 %20, label %21, label %22 21: ; preds = %16 - tail call void @_efree(ptr noundef nonnull %11) #10 + tail call void @_efree(ptr noundef nonnull %11) #11 br label %22 22: ; preds = %12, %21, %16, %8 @@ -153,11 +153,11 @@ define hidden void @free_persistent_script(ptr noundef %0, i32 noundef %1) local br i1 %.not50, label %43, label %42 42: ; preds = %40 - tail call void @free(ptr noundef nonnull %31) #10 + tail call void @free(ptr noundef nonnull %31) #11 br label %44 43: ; preds = %40 - tail call void @_efree(ptr noundef nonnull %31) #10 + tail call void @_efree(ptr noundef nonnull %31) #11 br label %44 44: ; preds = %35, %43, %42, %.lr.ph @@ -184,15 +184,15 @@ define hidden void @free_persistent_script(ptr noundef %0, i32 noundef %1) local br i1 %.not52, label %58, label %57 57: ; preds = %55 - tail call void @free(ptr noundef nonnull %46) #10 + tail call void @free(ptr noundef nonnull %46) #11 br label %59 58: ; preds = %55 - tail call void @_efree(ptr noundef nonnull %46) #10 + tail call void @_efree(ptr noundef nonnull %46) #11 br label %59 59: ; preds = %50, %58, %57, %44 - tail call void @_efree(ptr noundef nonnull %29) #10 + tail call void @_efree(ptr noundef nonnull %29) #11 %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1 %60 = load i32, ptr %25, align 4 %61 = zext i32 %60 to i64 @@ -205,12 +205,12 @@ define hidden void @free_persistent_script(ptr noundef %0, i32 noundef %1) local ._crit_edge: ; preds = %._crit_edge.loopexit, %.preheader %63 = phi ptr [ %.pre, %._crit_edge.loopexit ], [ %24, %.preheader ] - tail call void @_efree(ptr noundef %63) #10 + tail call void @_efree(ptr noundef %63) #11 br label %64 64: ; preds = %._crit_edge, %22 tail call void @zend_accel_free_delayed_early_binding_list(ptr noundef nonnull %0) - tail call void @_efree(ptr noundef nonnull %0) #10 + tail call void @_efree(ptr noundef nonnull %0) #11 ret void } @@ -257,11 +257,11 @@ define hidden void @zend_accel_free_delayed_early_binding_list(ptr nocapture nou br i1 %.not39, label %20, label %19 19: ; preds = %17 - tail call void @free(ptr noundef nonnull %8) #10 + tail call void @free(ptr noundef nonnull %8) #11 br label %21 20: ; preds = %17 - tail call void @_efree(ptr noundef nonnull %8) #10 + tail call void @_efree(ptr noundef nonnull %8) #11 br label %21 21: ; preds = %12, %20, %19, %5 @@ -288,11 +288,11 @@ define hidden void @zend_accel_free_delayed_early_binding_list(ptr nocapture nou br i1 %.not41, label %35, label %34 34: ; preds = %32 - tail call void @free(ptr noundef nonnull %23) #10 + tail call void @free(ptr noundef nonnull %23) #11 br label %36 35: ; preds = %32 - tail call void @_efree(ptr noundef nonnull %23) #10 + tail call void @_efree(ptr noundef nonnull %23) #11 br label %36 36: ; preds = %27, %35, %34, %21 @@ -319,11 +319,11 @@ define hidden void @zend_accel_free_delayed_early_binding_list(ptr nocapture nou br i1 %.not43, label %50, label %49 49: ; preds = %47 - tail call void @free(ptr noundef nonnull %38) #10 + tail call void @free(ptr noundef nonnull %38) #11 br label %51 50: ; preds = %47 - tail call void @_efree(ptr noundef nonnull %38) #10 + tail call void @_efree(ptr noundef nonnull %38) #11 br label %51 51: ; preds = %36, %49, %50, %42 @@ -336,7 +336,7 @@ define hidden void @zend_accel_free_delayed_early_binding_list(ptr nocapture nou ._crit_edge: ; preds = %51 %55 = getelementptr inbounds i8, ptr %0, i64 408 %56 = load ptr, ptr %55, align 8 - tail call void @_efree(ptr noundef %56) #10 + tail call void @_efree(ptr noundef %56) #11 store ptr null, ptr %55, align 8 store i32 0, ptr %2, align 8 br label %57 @@ -357,7 +357,7 @@ define hidden void @zend_accel_move_user_functions(ptr noundef %0, i32 noundef % %7 = getelementptr inbounds i8, ptr %0, i64 48 %8 = load ptr, ptr %7, align 8 store ptr null, ptr %7, align 8 - tail call void @zend_hash_extend(ptr noundef nonnull %4, i32 noundef %1, i1 noundef zeroext false) #10 + tail call void @zend_hash_extend(ptr noundef nonnull %4, i32 noundef %1, i1 noundef zeroext false) #11 %9 = getelementptr inbounds i8, ptr %0, i64 16 %10 = load ptr, ptr %9, align 8 %11 = getelementptr inbounds i8, ptr %0, i64 24 @@ -433,7 +433,7 @@ define hidden void @zend_accel_move_user_functions(ptr noundef %0, i32 noundef % br i1 %.not64, label %58, label %60 58: ; preds = %55 - %59 = tail call i64 @zend_string_hash_func(ptr noundef nonnull %37) #10 + %59 = tail call i64 @zend_string_hash_func(ptr noundef nonnull %37) #11 br label %60 60: ; preds = %58, %55, %35 @@ -458,7 +458,7 @@ define hidden void @zend_accel_move_user_functions(ptr noundef %0, i32 noundef % %75 = load i32, ptr %22, align 4 %76 = add i32 %75, 1 store i32 %76, ptr %22, align 4 - tail call void @zend_hash_del_bucket(ptr noundef %0, ptr noundef nonnull %.066) #10 + tail call void @zend_hash_del_bucket(ptr noundef %0, ptr noundef nonnull %.066) #11 br label %77 77: ; preds = %27, %31, %60, %23 @@ -490,7 +490,7 @@ define hidden void @zend_accel_move_user_classes(ptr noundef %0, i32 noundef %1, %7 = getelementptr inbounds i8, ptr %0, i64 48 %8 = load ptr, ptr %7, align 8 store ptr null, ptr %7, align 8 - tail call void @zend_hash_extend(ptr noundef nonnull %4, i32 noundef %1, i1 noundef zeroext false) #10 + tail call void @zend_hash_extend(ptr noundef nonnull %4, i32 noundef %1, i1 noundef zeroext false) #11 %9 = getelementptr inbounds i8, ptr %0, i64 16 %10 = load ptr, ptr %9, align 8 %11 = getelementptr inbounds i8, ptr %0, i64 24 @@ -566,7 +566,7 @@ define hidden void @zend_accel_move_user_classes(ptr noundef %0, i32 noundef %1, br i1 %.not64, label %58, label %60 58: ; preds = %55 - %59 = tail call i64 @zend_string_hash_func(ptr noundef nonnull %37) #10 + %59 = tail call i64 @zend_string_hash_func(ptr noundef nonnull %37) #11 br label %60 60: ; preds = %58, %55, %35 @@ -591,7 +591,7 @@ define hidden void @zend_accel_move_user_classes(ptr noundef %0, i32 noundef %1, %75 = load i32, ptr %22, align 4 %76 = add i32 %75, 1 store i32 %76, ptr %22, align 4 - tail call void @zend_hash_del_bucket(ptr noundef %0, ptr noundef nonnull %.066) #10 + tail call void @zend_hash_del_bucket(ptr noundef %0, ptr noundef nonnull %.066) #11 br label %77 77: ; preds = %27, %31, %60, %23 @@ -652,7 +652,7 @@ define hidden void @zend_accel_build_delayed_early_binding_list(ptr nocapture no %24 = load i32, ptr %23, align 8 %25 = zext i32 %24 to i64 %26 = shl nuw nsw i64 %25, 5 - %27 = tail call noalias ptr @_emalloc(i64 noundef %26) #11 + %27 = tail call noalias ptr @_emalloc(i64 noundef %26) #12 %28 = getelementptr inbounds i8, ptr %0, i64 408 store ptr %27, ptr %28, align 8 %29 = load ptr, ptr %6, align 8 @@ -798,7 +798,7 @@ define hidden void @zend_accel_finalize_delayed_early_binding_list(ptr nocapture br i1 %34, label %35, label %.critedge41 35: ; preds = %30 - %36 = tail call zeroext i1 @zend_string_equal_val(ptr noundef nonnull %28, ptr noundef nonnull %24) #10 + %36 = tail call zeroext i1 @zend_string_equal_val(ptr noundef nonnull %28, ptr noundef nonnull %24) #11 br i1 %36, label %.critedge, label %.critedge41 .critedge41: ; preds = %30, %35 @@ -827,7 +827,7 @@ define hidden void @zend_accel_finalize_delayed_early_binding_list(ptr nocapture ; Function Attrs: nounwind uwtable define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { - %3 = tail call noalias ptr @_emalloc_256() #10 + %3 = tail call noalias ptr @_emalloc_256() #11 %4 = getelementptr inbounds i8, ptr %0, i64 8 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(240) %3, ptr noundef nonnull align 8 dereferenceable(240) %4, i64 240, i1 false) %.not = icmp eq i32 %1, 0 @@ -842,7 +842,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no br i1 %10, label %11, label %12 11: ; preds = %5 - tail call void @zend_map_ptr_extend(i64 noundef %8) #10 + tail call void @zend_map_ptr_extend(i64 noundef %8) #11 br label %12 12: ; preds = %11, %5 @@ -860,9 +860,9 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no %18 = getelementptr inbounds i8, ptr %16, i64 24 %19 = getelementptr inbounds i8, ptr %16, i64 16 %20 = load i64, ptr %19, align 8 - %21 = tail call ptr @zend_mangle_property_name(ptr noundef nonnull @zend_accel_load_script.haltoff, i64 noundef 24, ptr noundef nonnull %18, i64 noundef %20, i1 noundef zeroext false) #10 + %21 = tail call ptr @zend_mangle_property_name(ptr noundef nonnull @zend_accel_load_script.haltoff, i64 noundef 24, ptr noundef nonnull %18, i64 noundef %20, i1 noundef zeroext false) #11 %22 = load ptr, ptr getelementptr inbounds (i8, ptr @executor_globals, i64 448), align 8 - %23 = tail call ptr @zend_hash_find(ptr noundef %22, ptr noundef %21) #10 + %23 = tail call ptr @zend_hash_find(ptr noundef %22, ptr noundef %21) #11 %.not175 = icmp eq ptr %23, null br i1 %.not175, label %24, label %29 @@ -871,7 +871,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no %26 = getelementptr inbounds i8, ptr %21, i64 16 %27 = load i64, ptr %26, align 8 %28 = load i64, ptr %13, align 8 - tail call void @zend_register_long_constant(ptr noundef nonnull %25, i64 noundef %27, i64 noundef %28, i32 noundef 0, i32 noundef 0) #10 + tail call void @zend_register_long_constant(ptr noundef nonnull %25, i64 noundef %27, i64 noundef %28, i32 noundef 0, i32 noundef 0) #11 br label %29 29: ; preds = %24, %17 @@ -891,7 +891,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no br i1 %37, label %38, label %39 38: ; preds = %33 - tail call void @_efree(ptr noundef nonnull %21) #10 + tail call void @_efree(ptr noundef nonnull %21) #11 br label %39 39: ; preds = %12, %15, %33, %38, %29, %2 @@ -909,7 +909,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no %48 = getelementptr inbounds i8, ptr %0, i64 272 %49 = load i32, ptr %48, align 8 %50 = add i32 %49, %47 - tail call void @zend_hash_extend(ptr noundef %45, i32 noundef %50, i1 noundef zeroext false) #10 + tail call void @zend_hash_extend(ptr noundef %45, i32 noundef %50, i1 noundef zeroext false) #11 %51 = getelementptr inbounds i8, ptr %0, i64 264 %52 = load ptr, ptr %51, align 8 %53 = load i32, ptr %48, align 8 @@ -931,7 +931,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no %.0169202 = phi ptr [ %52, %.lr.ph ], [ %101, %76 ] %61 = getelementptr inbounds i8, ptr %.0169202, i64 24 %62 = load ptr, ptr %61, align 8, !nonnull !4, !noundef !4 - %63 = tail call ptr @zend_hash_find_known_hash(ptr noundef nonnull %45, ptr noundef nonnull %62) #10 + %63 = tail call ptr @zend_hash_find_known_hash(ptr noundef nonnull %45, ptr noundef nonnull %62) #11 %.not188 = icmp eq ptr %63, null br i1 %.not188, label %76, label %64 @@ -941,7 +941,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no store i8 1, ptr getelementptr inbounds (i8, ptr @compiler_globals, i64 81), align 1 %67 = getelementptr inbounds i8, ptr %65, i64 152 %68 = load ptr, ptr %67, align 8 - %69 = tail call ptr @zend_set_compiled_filename(ptr noundef %68) #10 + %69 = tail call ptr @zend_set_compiled_filename(ptr noundef %68) #11 %70 = getelementptr inbounds i8, ptr %65, i64 88 %71 = load ptr, ptr %70, align 8 %72 = getelementptr inbounds i8, ptr %71, i64 24 @@ -1005,14 +1005,14 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no %113 = load ptr, ptr %112, align 8 %114 = getelementptr inbounds i8, ptr %113, i64 24 %115 = load i32, ptr %114, align 8 - tail call void (i32, ptr, ...) @zend_error_noreturn(i32 noundef 1, ptr noundef nonnull @.str, ptr noundef nonnull %108, ptr noundef nonnull %111, i32 noundef %115) #12 + tail call void (i32, ptr, ...) @zend_error_noreturn(i32 noundef 1, ptr noundef nonnull @.str, ptr noundef nonnull %108, ptr noundef nonnull %111, i32 noundef %115) #13 unreachable 116: ; preds = %102, %64 %117 = getelementptr inbounds i8, ptr %65, i64 8 %118 = load ptr, ptr %117, align 8 %119 = getelementptr inbounds i8, ptr %118, i64 24 - tail call void (i32, ptr, ...) @zend_error_noreturn(i32 noundef 1, ptr noundef nonnull @.str.1, ptr noundef nonnull %119) #12 + tail call void (i32, ptr, ...) @zend_error_noreturn(i32 noundef 1, ptr noundef nonnull @.str.1, ptr noundef nonnull %119) #13 unreachable 120: ; preds = %42 @@ -1028,7 +1028,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no %.069.i = phi ptr [ %52, %.lr.ph.i ], [ %171, %170 ] %125 = getelementptr inbounds i8, ptr %.069.i, i64 24 %126 = load ptr, ptr %125, align 8, !nonnull !4, !noundef !4 - %127 = tail call ptr @zend_hash_find_known_hash(ptr noundef nonnull %45, ptr noundef nonnull %126) #10 + %127 = tail call ptr @zend_hash_find_known_hash(ptr noundef nonnull %45, ptr noundef nonnull %126) #11 %.not64.i = icmp eq ptr %127, null br i1 %.not64.i, label %140, label %128 @@ -1038,7 +1038,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no store i8 1, ptr getelementptr inbounds (i8, ptr @compiler_globals, i64 81), align 1 %131 = getelementptr inbounds i8, ptr %129, i64 152 %132 = load ptr, ptr %131, align 8 - %133 = tail call ptr @zend_set_compiled_filename(ptr noundef %132) #10 + %133 = tail call ptr @zend_set_compiled_filename(ptr noundef %132) #11 %134 = getelementptr inbounds i8, ptr %129, i64 88 %135 = load ptr, ptr %134, align 8 %136 = getelementptr inbounds i8, ptr %135, i64 24 @@ -1089,7 +1089,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no 168: ; preds = %140 %169 = load ptr, ptr %.069.i, align 8 - tail call void @_zend_observer_function_declared_notify(ptr noundef %169, ptr noundef nonnull %165) #10 + tail call void @_zend_observer_function_declared_notify(ptr noundef %169, ptr noundef nonnull %165) #11 br label %170 170: ; preds = %168, %140 @@ -1114,14 +1114,14 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no %183 = load ptr, ptr %182, align 8 %184 = getelementptr inbounds i8, ptr %183, i64 24 %185 = load i32, ptr %184, align 8 - tail call void (i32, ptr, ...) @zend_error_noreturn(i32 noundef 1, ptr noundef nonnull @.str, ptr noundef nonnull %178, ptr noundef nonnull %181, i32 noundef %185) #12 + tail call void (i32, ptr, ...) @zend_error_noreturn(i32 noundef 1, ptr noundef nonnull @.str, ptr noundef nonnull %178, ptr noundef nonnull %181, i32 noundef %185) #13 unreachable 186: ; preds = %172, %128 %187 = getelementptr inbounds i8, ptr %129, i64 8 %188 = load ptr, ptr %187, align 8 %189 = getelementptr inbounds i8, ptr %188, i64 24 - tail call void (i32, ptr, ...) @zend_error_noreturn(i32 noundef 1, ptr noundef nonnull @.str.1, ptr noundef nonnull %189) #12 + tail call void (i32, ptr, ...) @zend_error_noreturn(i32 noundef 1, ptr noundef nonnull @.str.1, ptr noundef nonnull %189) #13 unreachable .sink.split: ; preds = %76, %170, %120, %56 @@ -1144,7 +1144,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no %200 = getelementptr inbounds i8, ptr %0, i64 328 %201 = load i32, ptr %200, align 8 %202 = add i32 %201, %199 - tail call void @zend_hash_extend(ptr noundef %197, i32 noundef %202, i1 noundef zeroext false) #10 + tail call void @zend_hash_extend(ptr noundef %197, i32 noundef %202, i1 noundef zeroext false) #11 %203 = getelementptr inbounds i8, ptr %0, i64 320 %204 = load ptr, ptr %203, align 8 %205 = load i32, ptr %200, align 8 @@ -1166,7 +1166,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no %.0204 = phi ptr [ %204, %.lr.ph206 ], [ %286, %285 ] %213 = getelementptr inbounds i8, ptr %.0204, i64 24 %214 = load ptr, ptr %213, align 8, !nonnull !4, !noundef !4 - %215 = tail call ptr @zend_hash_find_known_hash(ptr noundef %197, ptr noundef nonnull %214) #10 + %215 = tail call ptr @zend_hash_find_known_hash(ptr noundef %197, ptr noundef nonnull %214) #11 %.not182 = icmp eq ptr %215, null br i1 %.not182, label %242, label %216 @@ -1200,15 +1200,15 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no store i8 1, ptr getelementptr inbounds (i8, ptr @compiler_globals, i64 81), align 1 %233 = getelementptr inbounds i8, ptr %228, i64 496 %234 = load ptr, ptr %233, align 8 - %235 = tail call ptr @zend_set_compiled_filename(ptr noundef %234) #10 + %235 = tail call ptr @zend_set_compiled_filename(ptr noundef %234) #11 %236 = getelementptr inbounds i8, ptr %228, i64 504 %237 = load i32, ptr %236, align 8 store i32 %237, ptr getelementptr inbounds (i8, ptr @compiler_globals, i64 40), align 8 - %238 = tail call ptr @zend_get_object_type_case(ptr noundef nonnull %228, i1 noundef zeroext false) #10 + %238 = tail call ptr @zend_get_object_type_case(ptr noundef nonnull %228, i1 noundef zeroext false) #11 %239 = getelementptr inbounds i8, ptr %228, i64 8 %240 = load ptr, ptr %239, align 8 %241 = getelementptr inbounds i8, ptr %240, i64 24 - tail call void (i32, ptr, ...) @zend_error_noreturn(i32 noundef 1, ptr noundef nonnull @.str.2, ptr noundef %238, ptr noundef nonnull %241) #12 + tail call void (i32, ptr, ...) @zend_error_noreturn(i32 noundef 1, ptr noundef nonnull @.str.2, ptr noundef %238, ptr noundef nonnull %241) #13 unreachable 242: ; preds = %212 @@ -1292,7 +1292,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no %.076.i = phi ptr [ %204, %.lr.ph.i190 ], [ %367, %366 ] %292 = getelementptr inbounds i8, ptr %.076.i, i64 24 %293 = load ptr, ptr %292, align 8, !nonnull !4, !noundef !4 - %294 = tail call ptr @zend_hash_find_known_hash(ptr noundef %197, ptr noundef nonnull %293) #10 + %294 = tail call ptr @zend_hash_find_known_hash(ptr noundef %197, ptr noundef nonnull %293) #11 %.not69.i = icmp eq ptr %294, null br i1 %.not69.i, label %321, label %295 @@ -1326,15 +1326,15 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no store i8 1, ptr getelementptr inbounds (i8, ptr @compiler_globals, i64 81), align 1 %312 = getelementptr inbounds i8, ptr %307, i64 496 %313 = load ptr, ptr %312, align 8 - %314 = tail call ptr @zend_set_compiled_filename(ptr noundef %313) #10 + %314 = tail call ptr @zend_set_compiled_filename(ptr noundef %313) #11 %315 = getelementptr inbounds i8, ptr %307, i64 504 %316 = load i32, ptr %315, align 8 store i32 %316, ptr getelementptr inbounds (i8, ptr @compiler_globals, i64 40), align 8 - %317 = tail call ptr @zend_get_object_type_case(ptr noundef nonnull %307, i1 noundef zeroext false) #10 + %317 = tail call ptr @zend_get_object_type_case(ptr noundef nonnull %307, i1 noundef zeroext false) #11 %318 = getelementptr inbounds i8, ptr %307, i64 8 %319 = load ptr, ptr %318, align 8 %320 = getelementptr inbounds i8, ptr %319, i64 24 - tail call void (i32, ptr, ...) @zend_error_noreturn(i32 noundef 1, ptr noundef nonnull @.str.2, ptr noundef %317, ptr noundef nonnull %320) #12 + tail call void (i32, ptr, ...) @zend_error_noreturn(i32 noundef 1, ptr noundef nonnull @.str.2, ptr noundef %317, ptr noundef nonnull %320) #13 unreachable 321: ; preds = %291 @@ -1403,7 +1403,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no 364: ; preds = %359, %353 %365 = phi ptr [ %350, %353 ], [ %.pre.i, %359 ] - tail call void @_zend_observer_class_linked_notify(ptr noundef nonnull %322, ptr noundef %365) #10 + tail call void @_zend_observer_class_linked_notify(ptr noundef nonnull %322, ptr noundef %365) #11 br label %366 366: ; preds = %364, %349, %321, %306, %303, %299 @@ -1435,7 +1435,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no %379 = getelementptr inbounds i8, ptr %3, i64 76 %380 = load i32, ptr %379, align 4 %381 = sext i32 %380 to i64 - %382 = tail call noalias ptr @_emalloc(i64 noundef %381) #11 + %382 = tail call noalias ptr @_emalloc(i64 noundef %381) #12 store ptr %382, ptr %373, align 8 %383 = sext i32 %380 to i64 tail call void @llvm.memset.p0.i64(ptr align 1 %382, i8 0, i64 %383, i1 false) @@ -1458,7 +1458,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no %391 = getelementptr inbounds %struct._zend_early_binding, ptr %390, i64 %indvars.iv.i %392 = load ptr, ptr %391, align 8 %393 = load ptr, ptr getelementptr inbounds (i8, ptr @executor_globals, i64 440), align 8 - %394 = tail call ptr @zend_hash_find_known_hash(ptr noundef %393, ptr noundef %392) #10 + %394 = tail call ptr @zend_hash_find_known_hash(ptr noundef %393, ptr noundef %392) #11 %.not101.i = icmp eq ptr %394, null br i1 %.not101.i, label %395, label %.thread112.i @@ -1466,7 +1466,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no %396 = load ptr, ptr getelementptr inbounds (i8, ptr @executor_globals, i64 440), align 8 %397 = getelementptr inbounds i8, ptr %391, i64 8 %398 = load ptr, ptr %397, align 8 - %399 = tail call ptr @zend_hash_find_known_hash(ptr noundef %396, ptr noundef %398) #10 + %399 = tail call ptr @zend_hash_find_known_hash(ptr noundef %396, ptr noundef %398) #11 %.not103.i = icmp eq ptr %399, null br i1 %.not103.i, label %.thread112.i, label %400 @@ -1482,7 +1482,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no %406 = getelementptr inbounds i8, ptr %391, i64 16 %407 = load ptr, ptr %406, align 8 %408 = load ptr, ptr getelementptr inbounds (i8, ptr @executor_globals, i64 440), align 8 - %409 = tail call ptr @zend_hash_find_known_hash(ptr noundef %408, ptr noundef %407) #10 + %409 = tail call ptr @zend_hash_find_known_hash(ptr noundef %408, ptr noundef %407) #11 %.not105.i = icmp eq ptr %409, null br i1 %.not105.i, label %412, label %410 @@ -1499,7 +1499,7 @@ define hidden noalias noundef ptr @zend_accel_load_script(ptr noundef %0, i32 no .thread.i: ; preds = %412, %410, %400 %413 = phi ptr [ null, %412 ], [ %411, %410 ], [ null, %400 ] %414 = load ptr, ptr %391, align 8 - %415 = tail call ptr @zend_try_early_bind(ptr noundef nonnull %401, ptr noundef %413, ptr noundef %414, ptr noundef nonnull %399) #10 + %415 = tail call ptr @zend_try_early_bind(ptr noundef nonnull %401, ptr noundef %413, ptr noundef %414, ptr noundef nonnull %399) #11 %.not108.i = icmp eq ptr %415, null br i1 %.not108.i, label %.thread112.i, label %416 @@ -1548,7 +1548,7 @@ declare ptr @zend_mangle_property_name(ptr noundef, i64 noundef, ptr noundef, i6 declare void @zend_register_long_constant(ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define hidden i32 @zend_adler32(i32 noundef %0, ptr noundef readonly %1, i32 noundef %2) local_unnamed_addr #5 { %4 = and i32 %0, 65535 %5 = lshr i32 %0, 16 @@ -1701,7 +1701,7 @@ define hidden i32 @zend_adler32(i32 noundef %0, ptr noundef readonly %1, i32 nou } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define hidden i32 @zend_accel_script_checksum(ptr noundef %0) local_unnamed_addr #5 { +define hidden i32 @zend_accel_script_checksum(ptr noundef %0) local_unnamed_addr #6 { %2 = getelementptr inbounds i8, ptr %0, i64 416 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i8, ptr %0, i64 424 @@ -2029,10 +2029,10 @@ zend_adler32.exit92: ; preds = %._crit_edge.i56, %. } ; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) -declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #6 +declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #7 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #7 +declare void @llvm.assume(i1 noundef) #8 declare i64 @zend_string_hash_func(ptr noundef) local_unnamed_addr #1 @@ -2047,7 +2047,7 @@ declare void @_zend_observer_function_declared_notify(ptr noundef, ptr noundef) declare ptr @zend_set_compiled_filename(ptr noundef) local_unnamed_addr #1 ; Function Attrs: noreturn -declare void @zend_error_noreturn(i32 noundef, ptr noundef, ...) local_unnamed_addr #8 +declare void @zend_error_noreturn(i32 noundef, ptr noundef, ...) local_unnamed_addr #9 declare void @_zend_observer_class_linked_notify(ptr noundef, ptr noundef) local_unnamed_addr #1 @@ -2056,24 +2056,25 @@ declare ptr @zend_get_object_type_case(ptr noundef, i1 noundef zeroext) local_un declare ptr @zend_try_early_bind(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <4 x i32> @llvm.x86.sse2.pmadd.wd(<8 x i16>, <8 x i16>) #9 +declare <4 x i32> @llvm.x86.sse2.pmadd.wd(<8 x i16>, <8 x i16>) #10 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(none) -declare <2 x i64> @llvm.x86.sse2.psad.bw(<16 x i8>, <16 x i8>) #9 +declare <2 x i64> @llvm.x86.sse2.psad.bw(<16 x i8>, <16 x i8>) #10 attributes #0 = { 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 #1 = { "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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { allocsize(0) "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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #5 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #6 = { mustprogress 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 #7 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #8 = { noreturn "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 #9 = { mustprogress nocallback nofree nosync nounwind willreturn memory(none) } -attributes #10 = { nounwind } -attributes #11 = { nounwind allocsize(0) } -attributes #12 = { noreturn nounwind } +attributes #5 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #6 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { 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 #8 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #9 = { noreturn "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 #10 = { mustprogress nocallback nofree nosync nounwind willreturn memory(none) } +attributes #11 = { nounwind } +attributes #12 = { nounwind allocsize(0) } +attributes #13 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/postgres/optimized/aset.ll b/bench/postgres/optimized/aset.ll index 8a91160758f..91c28eb0465 100644 --- a/bench/postgres/optimized/aset.ll +++ b/bench/postgres/optimized/aset.ll @@ -47,7 +47,7 @@ define dso_local ptr @AllocSetContextCreateInternal(ptr noundef %0, ptr noundef %19 = trunc i64 %4 to i32 %20 = getelementptr inbounds i8, ptr %13, i64 180 store i32 %19, ptr %20, align 4 - tail call void @MemoryContextCreate(ptr noundef nonnull %13, i32 noundef 457, i32 noundef 3, ptr noundef %0, ptr noundef %1) #14 + tail call void @MemoryContextCreate(ptr noundef nonnull %13, i32 noundef 457, i32 noundef 3, ptr noundef %0, ptr noundef %1) #13 %21 = getelementptr i8, ptr %13, i64 232 %22 = load ptr, ptr %21, align 8 %23 = ptrtoint ptr %22 to i64 @@ -63,7 +63,7 @@ define dso_local ptr @AllocSetContextCreateInternal(ptr noundef %0, ptr noundef %.sink = phi i64 [ %3, %.thread ], [ %spec.select, %26 ] %.0819296 = phi i32 [ %.08193, %.thread ], [ -1, %26 ] %27 = tail call i64 @llvm.umax.i64(i64 %.sink, i64 248) - %28 = tail call noalias ptr @malloc(i64 noundef %27) #15 + %28 = tail call noalias ptr @malloc(i64 noundef %27) #14 %29 = ptrtoint ptr %28 to i64 %30 = icmp eq ptr %28, null br i1 %30, label %31, label %39 @@ -74,16 +74,16 @@ define dso_local ptr @AllocSetContextCreateInternal(ptr noundef %0, ptr noundef br i1 %.not89, label %34, label %33 33: ; preds = %31 - tail call void @MemoryContextStats(ptr noundef nonnull %32) #14 + tail call void @MemoryContextStats(ptr noundef nonnull %32) #13 br label %34 34: ; preds = %33, %31 - %35 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #16 + %35 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #15 tail call void @llvm.assume(i1 %35) - %36 = tail call i32 @errcode(i32 noundef 8389) #14 - %37 = tail call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str) #14 - %38 = tail call i32 (ptr, ...) @errdetail(ptr noundef nonnull @.str.1, ptr noundef %1) #14 - tail call void @errfinish(ptr noundef nonnull @.str.2, i32 noundef 453, ptr noundef nonnull @__func__.AllocSetContextCreateInternal) #14 + %36 = tail call i32 @errcode(i32 noundef 8389) #13 + %37 = tail call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str) #13 + %38 = tail call i32 (ptr, ...) @errdetail(ptr noundef nonnull @.str.1, ptr noundef %1) #13 + tail call void @errfinish(ptr noundef nonnull @.str.2, i32 noundef 453, ptr noundef nonnull @__func__.AllocSetContextCreateInternal) #13 unreachable 39: ; preds = %.thread94 @@ -140,7 +140,7 @@ define dso_local ptr @AllocSetContextCreateInternal(ptr noundef %0, ptr noundef 67: ; preds = %63 %68 = getelementptr inbounds i8, ptr %28, i64 188 store i32 %storemerge, ptr %68, align 4 - tail call void @MemoryContextCreate(ptr noundef nonnull %28, i32 noundef 457, i32 noundef 3, ptr noundef %0, ptr noundef %1) #14 + tail call void @MemoryContextCreate(ptr noundef nonnull %28, i32 noundef 457, i32 noundef 3, ptr noundef %0, ptr noundef %1) #13 br label %69 69: ; preds = %67, %14 @@ -224,7 +224,7 @@ define dso_local void @AllocSetReset(ptr noundef %0) local_unnamed_addr #0 { %29 = load i64, ptr %15, align 8 %30 = add i64 %.neg, %29 store i64 %30, ptr %15, align 8 - tail call void @free(ptr noundef nonnull %.040) #14 + tail call void @free(ptr noundef nonnull %.040) #13 br label %31 31: ; preds = %24, %20 @@ -268,7 +268,7 @@ define dso_local void @AllocSetDelete(ptr noundef %0) local_unnamed_addr #0 { br i1 %14, label %16, label %15 15: ; preds = %9 - tail call void @MemoryContextResetOnly(ptr noundef nonnull %0) #14 + tail call void @MemoryContextResetOnly(ptr noundef nonnull %0) #13 br label %16 16: ; preds = %15, %9 @@ -290,7 +290,7 @@ define dso_local void @AllocSetDelete(ptr noundef %0) local_unnamed_addr #0 { %23 = load i32, ptr %11, align 16 %24 = add i32 %23, -1 store i32 %24, ptr %11, align 16 - tail call void @free(ptr noundef nonnull %20) #14 + tail call void @free(ptr noundef nonnull %20) #13 %.not34 = icmp eq ptr %22, null br i1 %.not34, label %.loopexit.loopexit, label %.lr.ph40, !llvm.loop !8 @@ -325,7 +325,7 @@ define dso_local void @AllocSetDelete(ptr noundef %0) local_unnamed_addr #0 { %39 = load i64, ptr %8, align 8 %40 = add i64 %.neg, %39 store i64 %40, ptr %8, align 8 - tail call void @free(ptr noundef nonnull %.038) #14 + tail call void @free(ptr noundef nonnull %.038) #13 br label %.critedge .critedge: ; preds = %30, %34 @@ -333,7 +333,7 @@ define dso_local void @AllocSetDelete(ptr noundef %0) local_unnamed_addr #0 { br i1 %.not, label %._crit_edge, label %30, !llvm.loop !9 ._crit_edge: ; preds = %.critedge, %.preheader36 - tail call void @free(ptr noundef %0) #14 + tail call void @free(ptr noundef %0) #13 br label %41 41: ; preds = %._crit_edge, %.loopexit @@ -362,19 +362,19 @@ define dso_local ptr @AllocSetAlloc(ptr noundef %0, i64 noundef %1, i32 noundef br i1 %or.cond.i.i, label %MemoryContextCheckSize.exit.i, label %14 14: ; preds = %10 - tail call void @MemoryContextSizeFailure(ptr noundef nonnull %0, i64 noundef %1, i32 noundef %2) #17 + tail call void @MemoryContextSizeFailure(ptr noundef nonnull %0, i64 noundef %1, i32 noundef %2) #16 unreachable MemoryContextCheckSize.exit.i: ; preds = %10, %8 %15 = add nuw i64 %1, 7 %16 = and i64 %15, -8 %17 = add nuw i64 %16, 48 - %18 = tail call noalias ptr @malloc(i64 noundef %17) #15 + %18 = tail call noalias ptr @malloc(i64 noundef %17) #14 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %22 20: ; preds = %MemoryContextCheckSize.exit.i - %21 = tail call ptr @MemoryContextAllocationFailure(ptr noundef nonnull %0, i64 noundef %1, i32 noundef %2) #14 + %21 = tail call ptr @MemoryContextAllocationFailure(ptr noundef nonnull %0, i64 noundef %1, i32 noundef %2) #13 br label %AllocSetAllocLarge.exit 22: ; preds = %MemoryContextCheckSize.exit.i @@ -527,7 +527,7 @@ MemoryContextCheckSize.exit.i: ; preds = %10, %8 br i1 %110, label %109, label %112, !llvm.loop !11 112: ; preds = %109 - %113 = tail call noalias ptr @malloc(i64 noundef %.074.i) #15 + %113 = tail call noalias ptr @malloc(i64 noundef %.074.i) #14 %114 = icmp eq ptr %113, null %115 = icmp ugt i64 %.074.i, 1048576 %116 = and i1 %115, %114 @@ -540,7 +540,7 @@ MemoryContextCheckSize.exit.i: ; preds = %10, %8 br i1 %118, label %.thread.i, label %119 119: ; preds = %.lr.ph89.i - %120 = tail call noalias ptr @malloc(i64 noundef %117) #15 + %120 = tail call noalias ptr @malloc(i64 noundef %117) #14 %121 = icmp eq ptr %120, null %122 = icmp ugt i64 %.187.i, 2097153 %123 = and i1 %122, %121 @@ -553,7 +553,7 @@ MemoryContextCheckSize.exit.i: ; preds = %10, %8 br i1 %.lcssa.i, label %.thread.i, label %125 .thread.i: ; preds = %.lr.ph89.i, %._crit_edge90.i - %124 = tail call ptr @MemoryContextAllocationFailure(ptr noundef %0, i64 noundef %1, i32 noundef %2) #14 + %124 = tail call ptr @MemoryContextAllocationFailure(ptr noundef %0, i64 noundef %1, i32 noundef %2) #13 br label %AllocSetAllocLarge.exit 125: ; preds = %._crit_edge90.i @@ -650,10 +650,10 @@ define dso_local void @AllocSetFree(ptr noundef %0) local_unnamed_addr #0 { br i1 %.not35, label %19, label %16 16: ; preds = %11, %8, %6, %4 - %17 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #16 + %17 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #15 tail call void @llvm.assume(i1 %17) - %18 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.3, ptr noundef nonnull %2) #14 - tail call void @errfinish(ptr noundef nonnull @.str.2, i32 noundef 1080, ptr noundef nonnull @__func__.AllocSetFree) #14 + %18 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.3, ptr noundef nonnull %2) #13 + tail call void @errfinish(ptr noundef nonnull @.str.2, i32 noundef 1080, ptr noundef nonnull @__func__.AllocSetFree) #13 unreachable 19: ; preds = %11 @@ -684,7 +684,7 @@ define dso_local void @AllocSetFree(ptr noundef %0) local_unnamed_addr #0 { %34 = load i64, ptr %33, align 8 %35 = add i64 %.neg, %34 store i64 %35, ptr %33, align 8 - tail call void @free(ptr noundef nonnull %5) #14 + tail call void @free(ptr noundef nonnull %5) #13 br label %46 36: ; preds = %1 @@ -739,10 +739,10 @@ define dso_local ptr @AllocSetRealloc(ptr noundef %0, i64 noundef %1, i32 nounde br i1 %.not74, label %21, label %18 18: ; preds = %13, %10, %8, %6 - %19 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #16 + %19 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #15 tail call void @llvm.assume(i1 %19) - %20 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.3, ptr noundef nonnull %4) #14 - tail call void @errfinish(ptr noundef nonnull @.str.2, i32 noundef 1198, ptr noundef nonnull @__func__.AllocSetRealloc) #14 + %20 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.3, ptr noundef nonnull %4) #13 + tail call void @errfinish(ptr noundef nonnull @.str.2, i32 noundef 1198, ptr noundef nonnull @__func__.AllocSetRealloc) #13 unreachable 21: ; preds = %13 @@ -757,19 +757,19 @@ define dso_local ptr @AllocSetRealloc(ptr noundef %0, i64 noundef %1, i32 nounde br i1 %or.cond.i, label %MemoryContextCheckSize.exit, label %27 27: ; preds = %23 - tail call void @MemoryContextSizeFailure(ptr noundef nonnull %9, i64 noundef %1, i32 noundef %2) #17 + tail call void @MemoryContextSizeFailure(ptr noundef nonnull %9, i64 noundef %1, i32 noundef %2) #16 unreachable MemoryContextCheckSize.exit: ; preds = %21, %23 %28 = add nuw i64 %1, 7 %29 = and i64 %28, -8 %30 = add nuw i64 %29, 48 - %31 = tail call ptr @realloc(ptr noundef nonnull %7, i64 noundef %30) #18 + %31 = tail call ptr @realloc(ptr noundef nonnull %7, i64 noundef %30) #17 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %35 33: ; preds = %MemoryContextCheckSize.exit - %34 = tail call ptr @MemoryContextAllocationFailure(ptr noundef nonnull %9, i64 noundef %1, i32 noundef %2) #14 + %34 = tail call ptr @MemoryContextAllocationFailure(ptr noundef nonnull %9, i64 noundef %1, i32 noundef %2) #13 br label %68 35: ; preds = %MemoryContextCheckSize.exit @@ -821,7 +821,7 @@ MemoryContextCheckSize.exit: ; preds = %21, %23 br i1 %64, label %65, label %67 65: ; preds = %62 - %66 = tail call ptr @MemoryContextAllocationFailure(ptr noundef %58, i64 noundef %1, i32 noundef %2) #14 + %66 = tail call ptr @MemoryContextAllocationFailure(ptr noundef %58, i64 noundef %1, i32 noundef %2) #13 br label %68 67: ; preds = %62 @@ -842,7 +842,7 @@ declare ptr @MemoryContextAllocationFailure(ptr noundef, i64 noundef, i32 nounde ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6 -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local ptr @AllocSetGetChunkContext(ptr nocapture noundef readonly %0) local_unnamed_addr #7 { %2 = getelementptr i8, ptr %0, i64 -8 %.val = load i64, ptr %2, align 8 @@ -858,7 +858,7 @@ define dso_local ptr @AllocSetGetChunkContext(ptr nocapture noundef readonly %0) } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define dso_local i64 @AllocSetGetChunkSpace(ptr noundef %0) local_unnamed_addr #8 { +define dso_local i64 @AllocSetGetChunkSpace(ptr noundef %0) local_unnamed_addr #7 { %2 = getelementptr i8, ptr %0, i64 -8 %.val = load i64, ptr %2, align 8 %3 = and i64 %.val, 8 @@ -886,7 +886,7 @@ define dso_local i64 @AllocSetGetChunkSpace(ptr noundef %0) local_unnamed_addr # } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define dso_local zeroext i1 @AllocSetIsEmpty(ptr nocapture noundef readonly %0) local_unnamed_addr #8 { +define dso_local zeroext i1 @AllocSetIsEmpty(ptr nocapture noundef readonly %0) local_unnamed_addr #7 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = load i8, ptr %2, align 4 %4 = trunc i8 %3 to i1 @@ -968,8 +968,8 @@ define dso_local void @AllocSetStats(ptr noundef %0, ptr noundef readonly %1, pt 31: ; preds = %30 %32 = sub i64 %.047.lcssa, %.2.lcssa - %33 = call i32 (ptr, i64, ptr, ...) @pg_snprintf(ptr noundef nonnull %6, i64 noundef 200, ptr noundef nonnull @.str.4, i64 noundef %.047.lcssa, i64 noundef %.0.lcssa, i64 noundef %.2.lcssa, i64 noundef %.1.lcssa, i64 noundef %32) #14 - call void %1(ptr noundef %0, ptr noundef %2, ptr noundef nonnull %6, i1 noundef zeroext %4) #14 + %33 = call i32 (ptr, i64, ptr, ...) @pg_snprintf(ptr noundef nonnull %6, i64 noundef 200, ptr noundef nonnull @.str.4, i64 noundef %.047.lcssa, i64 noundef %.0.lcssa, i64 noundef %.2.lcssa, i64 noundef %.1.lcssa, i64 noundef %32) #13 + call void %1(ptr noundef %0, ptr noundef %2, ptr noundef nonnull %6, i1 noundef zeroext %4) #13 br label %34 34: ; preds = %31, %30 @@ -1001,22 +1001,22 @@ define dso_local void @AllocSetStats(ptr noundef %0, ptr noundef readonly %1, pt declare i32 @pg_snprintf(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.ctlz.i32(i32, i1 immarg) #9 +declare i32 @llvm.ctlz.i32(i32, i1 immarg) #8 ; Function Attrs: noreturn -declare void @MemoryContextSizeFailure(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #10 +declare void @MemoryContextSizeFailure(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #9 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #11 +declare void @llvm.assume(i1 noundef) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #12 +declare i64 @llvm.umax.i64(i64, i64) #11 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #13 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #12 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #12 +declare i32 @llvm.umin.i32(i32, i32) #11 attributes #0 = { 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 #1 = { "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" } @@ -1025,18 +1025,17 @@ attributes #3 = { cold "frame-pointer"="all" "no-trapping-math"="true" "stack-pr attributes #4 = { 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 #5 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #7 = { 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 #8 = { 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 #9 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #10 = { noreturn "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 #11 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #12 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #13 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #14 = { nounwind } -attributes #15 = { nounwind allocsize(0) } -attributes #16 = { cold nounwind } -attributes #17 = { noreturn nounwind } -attributes #18 = { nounwind allocsize(1) } +attributes #7 = { 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 #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #9 = { noreturn "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 #10 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #11 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #12 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #13 = { nounwind } +attributes #14 = { nounwind allocsize(0) } +attributes #15 = { cold nounwind } +attributes #16 = { noreturn nounwind } +attributes #17 = { nounwind allocsize(1) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/postgres/optimized/freepage.ll b/bench/postgres/optimized/freepage.ll index af1e177897c..5eca6f4c9b7 100644 --- a/bench/postgres/optimized/freepage.ll +++ b/bench/postgres/optimized/freepage.ll @@ -1230,10 +1230,10 @@ FreePageBtreeGetRecycled.exit: ; preds = %159, %.split17.i br label %186 183: ; preds = %177 - %184 = tail call zeroext i1 @errstart_cold(i32 noundef 22, ptr noundef null) #11 + %184 = tail call zeroext i1 @errstart_cold(i32 noundef 22, ptr noundef null) #12 tail call void @llvm.assume(i1 %184) - %185 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.11) #12 - tail call void @errfinish(ptr noundef nonnull @.str.12, i32 noundef 1534, ptr noundef nonnull @__func__.FreePageManagerPutInternal) #12 + %185 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.11) #13 + tail call void @errfinish(ptr noundef nonnull @.str.12, i32 noundef 1534, ptr noundef nonnull @__func__.FreePageManagerPutInternal) #13 unreachable 186: ; preds = %179, %FreePageBtreeGetRecycled.exit @@ -1764,10 +1764,10 @@ FreePageBtreeAdjustAncestorKeys.exit.loopexit: ; preds = %427, %456 br i1 %471, label %475, label %472 472: ; preds = %470 - %473 = tail call zeroext i1 @errstart_cold(i32 noundef 22, ptr noundef null) #11 + %473 = tail call zeroext i1 @errstart_cold(i32 noundef 22, ptr noundef null) #12 tail call void @llvm.assume(i1 %473) - %474 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.11) #12 - tail call void @errfinish(ptr noundef nonnull @.str.12, i32 noundef 1689, ptr noundef nonnull @__func__.FreePageManagerPutInternal) #12 + %474 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.11) #13 + tail call void @errfinish(ptr noundef nonnull @.str.12, i32 noundef 1689, ptr noundef nonnull @__func__.FreePageManagerPutInternal) #13 unreachable 475: ; preds = %470 @@ -2507,19 +2507,19 @@ define dso_local ptr @FreePageManagerDump(ptr noundef %0) local_unnamed_addr #1 %3 = load i64, ptr %0, align 8 %4 = sub i64 1, %3 %5 = getelementptr i8, ptr %0, i64 %4 - call void @initStringInfo(ptr noundef nonnull %2) #12 + call void @initStringInfo(ptr noundef nonnull %2) #13 %6 = load i64, ptr %0, align 8 %7 = add i64 %6, -1 %8 = getelementptr inbounds i8, ptr %0, i64 48 %9 = load i64, ptr %8, align 8 - call void (ptr, ptr, ...) @appendStringInfo(ptr noundef nonnull %2, ptr noundef nonnull @.str, i64 noundef %7, i64 noundef %9) #12 + call void (ptr, ptr, ...) @appendStringInfo(ptr noundef nonnull %2, ptr noundef nonnull @.str, i64 noundef %7, i64 noundef %9) #13 %10 = getelementptr inbounds i8, ptr %0, i64 24 %11 = load i32, ptr %10, align 8 %.not = icmp eq i32 %11, 0 br i1 %.not, label %19, label %12 12: ; preds = %1 - call void (ptr, ptr, ...) @appendStringInfo(ptr noundef nonnull %2, ptr noundef nonnull @.str.1, i32 noundef %11) #12 + call void (ptr, ptr, ...) @appendStringInfo(ptr noundef nonnull %2, ptr noundef nonnull @.str.1, i32 noundef %11) #13 %13 = getelementptr inbounds i8, ptr %0, i64 8 %14 = load i64, ptr %13, align 8 %15 = icmp eq i64 %14, 0 @@ -2538,7 +2538,7 @@ define dso_local ptr @FreePageManagerDump(ptr noundef %0) local_unnamed_addr #1 22: ; preds = %19 %23 = getelementptr inbounds i8, ptr %0, i64 32 %24 = load i64, ptr %23, align 8 - call void (ptr, ptr, ...) @appendStringInfo(ptr noundef nonnull %2, ptr noundef nonnull @.str.2, i64 noundef %24, i64 noundef %21) #12 + call void (ptr, ptr, ...) @appendStringInfo(ptr noundef nonnull %2, ptr noundef nonnull @.str.2, i64 noundef %24, i64 noundef %21) #13 br label %25 25: ; preds = %19, %22, %12 @@ -2552,7 +2552,7 @@ define dso_local ptr @FreePageManagerDump(ptr noundef %0) local_unnamed_addr #1 br i1 %.not41, label %46, label %.lr.ph.i .lr.ph.i: ; preds = %25 - call void @appendStringInfoString(ptr noundef nonnull %2, ptr noundef nonnull @.str.3) #12 + call void @appendStringInfoString(ptr noundef nonnull %2, ptr noundef nonnull @.str.3) #13 %31 = load i64, ptr %0, align 8 %32 = sub i64 1, %31 %33 = getelementptr i8, ptr %0, i64 %32 @@ -2571,11 +2571,11 @@ define dso_local ptr @FreePageManagerDump(ptr noundef %0) local_unnamed_addr #1 br i1 %.not17.i, label %42, label %41 41: ; preds = %35 - call void (ptr, ptr, ...) @appendStringInfo(ptr noundef nonnull %2, ptr noundef nonnull @.str.9, i64 noundef %40, i64 noundef %37) #12 + call void (ptr, ptr, ...) @appendStringInfo(ptr noundef nonnull %2, ptr noundef nonnull @.str.9, i64 noundef %40, i64 noundef %37) #13 br label %select.unfold.i 42: ; preds = %35 - call void (ptr, ptr, ...) @appendStringInfo(ptr noundef nonnull %2, ptr noundef nonnull @.str.10, i64 noundef %40) #12 + call void (ptr, ptr, ...) @appendStringInfo(ptr noundef nonnull %2, ptr noundef nonnull @.str.10, i64 noundef %40) #13 br label %select.unfold.i select.unfold.i: ; preds = %42, %41 @@ -2588,7 +2588,7 @@ select.unfold.i: ; preds = %42, %41 br i1 %.not.i, label %FreePageManagerDumpSpans.exit, label %35 FreePageManagerDumpSpans.exit: ; preds = %select.unfold.i - call void @appendStringInfoChar(ptr noundef nonnull %2, i8 noundef signext 10) #12 + call void @appendStringInfoChar(ptr noundef nonnull %2, i8 noundef signext 10) #13 br label %46 46: ; preds = %FreePageManagerDumpSpans.exit, %25 @@ -2612,12 +2612,12 @@ FreePageManagerDumpSpans.exit: ; preds = %select.unfold.i br i1 %.055, label %54, label %53 53: ; preds = %52 - call void @appendStringInfoString(ptr noundef nonnull %2, ptr noundef nonnull @.str.4) #12 + call void @appendStringInfoString(ptr noundef nonnull %2, ptr noundef nonnull @.str.4) #13 br label %54 54: ; preds = %53, %52 %55 = add nuw nsw i64 %.03354, 1 - call void (ptr, ptr, ...) @appendStringInfo(ptr noundef nonnull %2, ptr noundef nonnull @.str.5, i64 noundef %55) #12 + call void (ptr, ptr, ...) @appendStringInfo(ptr noundef nonnull %2, ptr noundef nonnull @.str.5, i64 noundef %55) #13 %56 = load i64, ptr %49, align 8 %57 = icmp eq i64 %56, 0 %gep = getelementptr i8, ptr %invariant.gep, i64 %56 @@ -2644,11 +2644,11 @@ FreePageManagerDumpSpans.exit: ; preds = %select.unfold.i br i1 %.not17.i46, label %69, label %68 68: ; preds = %62 - call void (ptr, ptr, ...) @appendStringInfo(ptr noundef nonnull %2, ptr noundef nonnull @.str.9, i64 noundef %67, i64 noundef %64) #12 + call void (ptr, ptr, ...) @appendStringInfo(ptr noundef nonnull %2, ptr noundef nonnull @.str.9, i64 noundef %67, i64 noundef %64) #13 br label %select.unfold.i47 69: ; preds = %62 - call void (ptr, ptr, ...) @appendStringInfo(ptr noundef nonnull %2, ptr noundef nonnull @.str.10, i64 noundef %67) #12 + call void (ptr, ptr, ...) @appendStringInfo(ptr noundef nonnull %2, ptr noundef nonnull @.str.10, i64 noundef %67) #13 br label %select.unfold.i47 select.unfold.i47: ; preds = %69, %68 @@ -2661,7 +2661,7 @@ select.unfold.i47: ; preds = %69, %68 br i1 %.not.i50, label %FreePageManagerDumpSpans.exit51, label %62 FreePageManagerDumpSpans.exit51: ; preds = %select.unfold.i47, %54 - call void @appendStringInfoChar(ptr noundef nonnull %2, i8 noundef signext 10) #12 + call void @appendStringInfoChar(ptr noundef nonnull %2, i8 noundef signext 10) #13 br label %73 73: ; preds = %._crit_edge, %FreePageManagerDumpSpans.exit51 @@ -2688,7 +2688,7 @@ define internal fastcc void @FreePageManagerDumpBtree(ptr noundef %0, ptr nounde %10 = ptrtoint ptr %8 to i64 %11 = sub i64 %9, %10 %12 = lshr i64 %11, 12 - tail call void @check_stack_depth() #12 + tail call void @check_stack_depth() #13 %13 = getelementptr inbounds i8, ptr %1, i64 16 %14 = load i64, ptr %13, align 8 %15 = icmp eq i64 %14, 0 @@ -2698,7 +2698,7 @@ define internal fastcc void @FreePageManagerDumpBtree(ptr noundef %0, ptr nounde %19 = load i32, ptr %1, align 8 %20 = icmp eq i32 %19, 430584521 %21 = select i1 %20, i32 105, i32 108 - tail call void (ptr, ptr, ...) @appendStringInfo(ptr noundef %4, ptr noundef nonnull @.str.6, i64 noundef %12, i32 noundef %3, i32 noundef %21) #12 + tail call void (ptr, ptr, ...) @appendStringInfo(ptr noundef %4, ptr noundef nonnull @.str.6, i64 noundef %12, i32 noundef %3, i32 noundef %21) #13 %.not = icmp eq ptr %18, %2 br i1 %.not, label %29, label %22 @@ -2709,11 +2709,11 @@ define internal fastcc void @FreePageManagerDumpBtree(ptr noundef %0, ptr nounde %26 = ptrtoint ptr %2 to i64 %27 = sub i64 %26, %10 %28 = lshr i64 %27, 12 - tail call void (ptr, ptr, ...) @appendStringInfo(ptr noundef %4, ptr noundef nonnull @.str.7, i64 noundef %25, i64 noundef %28) #12 + tail call void (ptr, ptr, ...) @appendStringInfo(ptr noundef %4, ptr noundef nonnull @.str.7, i64 noundef %25, i64 noundef %28) #13 br label %29 29: ; preds = %22, %5 - tail call void @appendStringInfoChar(ptr noundef %4, i8 noundef signext 58) #12 + tail call void @appendStringInfoChar(ptr noundef %4, i8 noundef signext 58) #13 %30 = getelementptr inbounds i8, ptr %1, i64 8 %31 = load i64, ptr %30, align 8 %.not54 = icmp eq i64 %31, 0 @@ -2736,7 +2736,7 @@ define internal fastcc void @FreePageManagerDumpBtree(ptr noundef %0, ptr nounde %40 = load i64, ptr %39, align 8 %41 = add i64 %40, -1 %42 = lshr i64 %41, 12 - tail call void (ptr, ptr, ...) @appendStringInfo(ptr noundef %4, ptr noundef nonnull @.str.8, i64 noundef %38, i64 noundef %42) #12 + tail call void (ptr, ptr, ...) @appendStringInfo(ptr noundef %4, ptr noundef nonnull @.str.8, i64 noundef %38, i64 noundef %42) #13 br label %48 43: ; preds = %33 @@ -2744,7 +2744,7 @@ define internal fastcc void @FreePageManagerDumpBtree(ptr noundef %0, ptr nounde %45 = load i64, ptr %44, align 8 %46 = getelementptr inbounds i8, ptr %44, i64 8 %47 = load i64, ptr %46, align 8 - tail call void (ptr, ptr, ...) @appendStringInfo(ptr noundef %4, ptr noundef nonnull @.str.9, i64 noundef %45, i64 noundef %47) #12 + tail call void (ptr, ptr, ...) @appendStringInfo(ptr noundef %4, ptr noundef nonnull @.str.9, i64 noundef %45, i64 noundef %47) #13 br label %48 48: ; preds = %36, %43 @@ -2754,7 +2754,7 @@ define internal fastcc void @FreePageManagerDumpBtree(ptr noundef %0, ptr nounde br i1 %51, label %33, label %._crit_edge, !llvm.loop !18 ._crit_edge: ; preds = %48, %29 - tail call void @appendStringInfoChar(ptr noundef %4, i8 noundef signext 10) #12 + tail call void @appendStringInfoChar(ptr noundef %4, i8 noundef signext 10) #13 %52 = load i32, ptr %1, align 8 %53 = icmp eq i32 %52, 430584521 br i1 %53, label %.preheader, label %.loopexit @@ -2835,7 +2835,7 @@ declare void @check_stack_depth() local_unnamed_addr #3 declare void @appendStringInfoChar(ptr noundef, i8 noundef signext) local_unnamed_addr #3 -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal fastcc void @FreePageBtreeSearch(ptr noundef %0, i64 noundef %1, ptr nocapture noundef writeonly %2) unnamed_addr #5 { %4 = load i64, ptr %0, align 8 %5 = sub i64 1, %4 @@ -3093,7 +3093,7 @@ FreePageBtreeAdjustAncestorKeys.exit: ; preds = %52, %23, %8, %11 } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @FreePageBtreeAdjustAncestorKeys(ptr noundef %0, ptr noundef readonly %1) unnamed_addr #5 { +define internal fastcc void @FreePageBtreeAdjustAncestorKeys(ptr noundef %0, ptr noundef readonly %1) unnamed_addr #6 { %3 = load i64, ptr %0, align 8 %4 = sub i64 1, %3 %5 = getelementptr i8, ptr %0, i64 %4 @@ -3459,7 +3459,7 @@ FreePageBtreeAdjustAncestorKeys.exit: ; preds = %157, %128, %FreePag } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #6 +declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #7 ; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define internal fastcc void @FreePageBtreeConsolidate(ptr noundef %0, ptr noundef %1) unnamed_addr #2 { @@ -3764,43 +3764,44 @@ FreePageBtreeFindLeftSibling.exit.thread: ; preds = %FreePageBtreeSearch } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7 ; Function Attrs: cold -declare zeroext i1 @errstart_cold(i32 noundef, ptr noundef) local_unnamed_addr #7 +declare zeroext i1 @errstart_cold(i32 noundef, ptr noundef) local_unnamed_addr #8 declare i32 @errmsg_internal(ptr noundef, ...) local_unnamed_addr #3 declare void @errfinish(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #8 +declare void @llvm.assume(i1 noundef) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #9 +declare i64 @llvm.umin.i64(i64, i64) #10 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #10 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #11 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #9 +declare i64 @llvm.umax.i64(i64, i64) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #9 +declare i32 @llvm.umax.i32(i32, i32) #10 attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { "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 #4 = { 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 #5 = { 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #7 = { cold "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 #8 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #9 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #10 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #11 = { cold nounwind } -attributes #12 = { nounwind } +attributes #5 = { 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 #6 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #8 = { cold "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 #9 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #11 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #12 = { cold nounwind } +attributes #13 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/postgres/optimized/generation.ll b/bench/postgres/optimized/generation.ll index 5836b7aa419..159cc4a3d32 100644 --- a/bench/postgres/optimized/generation.ll +++ b/bench/postgres/optimized/generation.ll @@ -18,19 +18,19 @@ define dso_local noundef ptr @GenerationContextCreate(ptr noundef %0, ptr nounde %.not = icmp eq i64 %2, 0 %. = select i1 %.not, i64 %3, i64 %2 %6 = tail call i64 @llvm.umax.i64(i64 %., i64 192) - %7 = tail call noalias ptr @malloc(i64 noundef %6) #13 + %7 = tail call noalias ptr @malloc(i64 noundef %6) #12 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %dlist_push_head.exit 9: ; preds = %5 %10 = load ptr, ptr @TopMemoryContext, align 8 - tail call void @MemoryContextStats(ptr noundef %10) #14 - %11 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #15 + tail call void @MemoryContextStats(ptr noundef %10) #13 + %11 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #14 tail call void @llvm.assume(i1 %11) - %12 = tail call i32 @errcode(i32 noundef 8389) #14 - %13 = tail call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str) #14 - %14 = tail call i32 (ptr, ...) @errdetail(ptr noundef nonnull @.str.1, ptr noundef %1) #14 - tail call void @errfinish(ptr noundef nonnull @.str.2, i32 noundef 217, ptr noundef nonnull @__func__.GenerationContextCreate) #14 + %12 = tail call i32 @errcode(i32 noundef 8389) #13 + %13 = tail call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str) #13 + %14 = tail call i32 (ptr, ...) @errdetail(ptr noundef nonnull @.str.1, ptr noundef %1) #13 + tail call void @errfinish(ptr noundef nonnull @.str.2, i32 noundef 217, ptr noundef nonnull @__func__.GenerationContextCreate) #13 unreachable dlist_push_head.exit: ; preds = %5 @@ -86,7 +86,7 @@ dlist_push_head.exit: ; preds = %5 43: ; preds = %39 %44 = getelementptr inbounds i8, ptr %7, i64 92 store i32 %storemerge, ptr %44, align 4 - tail call void @MemoryContextCreate(ptr noundef nonnull %7, i32 noundef 458, i32 noundef 4, ptr noundef %0, ptr noundef %1) #14 + tail call void @MemoryContextCreate(ptr noundef nonnull %7, i32 noundef 458, i32 noundef 4, ptr noundef %0, ptr noundef %1) #13 %45 = getelementptr inbounds i8, ptr %7, i64 8 store i64 %18, ptr %45, align 8 ret ptr %7 @@ -155,7 +155,7 @@ define dso_local void @GenerationReset(ptr noundef %0) local_unnamed_addr #0 { %21 = load i64, ptr %7, align 8 %22 = sub i64 %21, %20 store i64 %22, ptr %7, align 8 - tail call void @free(ptr noundef nonnull %.sroa.0.022) #14 + tail call void @free(ptr noundef nonnull %.sroa.0.022) #13 br label %23 23: ; preds = %10, %15 @@ -218,7 +218,7 @@ define dso_local void @GenerationDelete(ptr noundef %0) local_unnamed_addr #0 { %21 = load i64, ptr %7, align 8 %22 = sub i64 %21, %20 store i64 %22, ptr %7, align 8 - tail call void @free(ptr noundef nonnull %.sroa.0.022.i) #14 + tail call void @free(ptr noundef nonnull %.sroa.0.022.i) #13 br label %23 23: ; preds = %15, %10 @@ -226,7 +226,7 @@ define dso_local void @GenerationDelete(ptr noundef %0) local_unnamed_addr #0 { br i1 %.not18.i, label %GenerationReset.exit, label %8, !llvm.loop !7 GenerationReset.exit: ; preds = %23, %1 - tail call void @free(ptr noundef %0) #14 + tail call void @free(ptr noundef %0) #13 ret void } @@ -255,17 +255,17 @@ define dso_local ptr @GenerationAlloc(ptr noundef %0, i64 noundef %1, i32 nounde br i1 %or.cond.i.i, label %MemoryContextCheckSize.exit.i, label %16 16: ; preds = %12 - tail call void @MemoryContextSizeFailure(ptr noundef nonnull %0, i64 noundef %1, i32 noundef %2) #16 + tail call void @MemoryContextSizeFailure(ptr noundef nonnull %0, i64 noundef %1, i32 noundef %2) #15 unreachable MemoryContextCheckSize.exit.i: ; preds = %12, %10 %17 = add nuw i64 %5, 64 - %18 = tail call noalias ptr @malloc(i64 noundef %17) #13 + %18 = tail call noalias ptr @malloc(i64 noundef %17) #12 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %22 20: ; preds = %MemoryContextCheckSize.exit.i - %21 = tail call ptr @MemoryContextAllocationFailure(ptr noundef nonnull %0, i64 noundef %1, i32 noundef %2) #14 + %21 = tail call ptr @MemoryContextAllocationFailure(ptr noundef nonnull %0, i64 noundef %1, i32 noundef %2) #13 br label %GenerationAllocLarge.exit 22: ; preds = %MemoryContextCheckSize.exit.i @@ -385,12 +385,12 @@ dlist_push_head.exit.i: ; preds = %38, %22 91: ; preds = %85, %76 %.029.i = phi i64 [ %.0.i.i, %85 ], [ %79, %76 ] - %92 = tail call noalias ptr @malloc(i64 noundef %.029.i) #13 + %92 = tail call noalias ptr @malloc(i64 noundef %.029.i) #12 %93 = icmp eq ptr %92, null br i1 %93, label %94, label %96 94: ; preds = %91 - %95 = tail call ptr @MemoryContextAllocationFailure(ptr noundef nonnull %0, i64 noundef %1, i32 noundef %2) #14 + %95 = tail call ptr @MemoryContextAllocationFailure(ptr noundef nonnull %0, i64 noundef %1, i32 noundef %2) #13 br label %GenerationAllocLarge.exit 96: ; preds = %91 @@ -496,10 +496,10 @@ define dso_local void @GenerationFree(ptr noundef %0) local_unnamed_addr #0 { br i1 %11, label %19, label %12 12: ; preds = %9, %6, %4 - %13 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #15 + %13 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #14 tail call void @llvm.assume(i1 %13) - %14 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.3, ptr noundef nonnull %2) #14 - tail call void @errfinish(ptr noundef nonnull @.str.2, i32 noundef 711, ptr noundef nonnull @__func__.GenerationFree) #14 + %14 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.3, ptr noundef nonnull %2) #13 + tail call void @errfinish(ptr noundef nonnull @.str.2, i32 noundef 711, ptr noundef nonnull @__func__.GenerationFree) #13 unreachable 15: ; preds = %1 @@ -569,7 +569,7 @@ define dso_local void @GenerationFree(ptr noundef %0) local_unnamed_addr #0 { %54 = load i64, ptr %53, align 8 %55 = sub i64 %54, %52 store i64 %55, ptr %53, align 8 - tail call void @free(ptr noundef nonnull %.0) #14 + tail call void @free(ptr noundef nonnull %.0) #13 br label %56 56: ; preds = %42, %45, %19, %35 @@ -603,10 +603,10 @@ define dso_local ptr @GenerationRealloc(ptr noundef %0, i64 noundef %1, i32 noun br i1 %13, label %17, label %14 14: ; preds = %11, %8, %6 - %15 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #15 + %15 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #14 tail call void @llvm.assume(i1 %15) - %16 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.3, ptr noundef nonnull %4) #14 - tail call void @errfinish(ptr noundef nonnull @.str.2, i32 noundef 820, ptr noundef nonnull @__func__.GenerationRealloc) #14 + %16 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.3, ptr noundef nonnull %4) #13 + tail call void @errfinish(ptr noundef nonnull @.str.2, i32 noundef 820, ptr noundef nonnull @__func__.GenerationRealloc) #13 unreachable 17: ; preds = %11 @@ -639,7 +639,7 @@ define dso_local ptr @GenerationRealloc(ptr noundef %0, i64 noundef %1, i32 noun br i1 %34, label %35, label %37 35: ; preds = %32 - %36 = tail call ptr @MemoryContextAllocationFailure(ptr noundef %31, i64 noundef %1, i32 noundef %2) #14 + %36 = tail call ptr @MemoryContextAllocationFailure(ptr noundef %31, i64 noundef %1, i32 noundef %2) #13 br label %38 37: ; preds = %32 @@ -657,7 +657,7 @@ declare ptr @MemoryContextAllocationFailure(ptr noundef, i64 noundef, i32 nounde ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5 -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local ptr @GenerationGetChunkContext(ptr nocapture noundef readonly %0) local_unnamed_addr #6 { %2 = getelementptr i8, ptr %0, i64 -8 %.val = load i64, ptr %2, align 8 @@ -674,7 +674,7 @@ define dso_local ptr @GenerationGetChunkContext(ptr nocapture noundef readonly % } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define dso_local i64 @GenerationGetChunkSpace(ptr noundef %0) local_unnamed_addr #7 { +define dso_local i64 @GenerationGetChunkSpace(ptr noundef %0) local_unnamed_addr #6 { %2 = getelementptr i8, ptr %0, i64 -8 %.val = load i64, ptr %2, align 8 %3 = and i64 %.val, 8 @@ -701,7 +701,7 @@ define dso_local i64 @GenerationGetChunkSpace(ptr noundef %0) local_unnamed_addr } ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @GenerationIsEmpty(ptr noundef readonly %0) local_unnamed_addr #8 { +define dso_local noundef zeroext i1 @GenerationIsEmpty(ptr noundef readonly %0) local_unnamed_addr #7 { %2 = getelementptr inbounds i8, ptr %0, i64 112 %3 = getelementptr inbounds i8, ptr %0, i64 120 %4 = load ptr, ptr %3, align 8 @@ -782,8 +782,8 @@ define dso_local void @GenerationStats(ptr noundef %0, ptr noundef readonly %1, 32: ; preds = %._crit_edge %33 = sub i64 %.039.lcssa, %.040.lcssa - %34 = call i32 (ptr, i64, ptr, ...) @pg_snprintf(ptr noundef nonnull %6, i64 noundef 200, ptr noundef nonnull @.str.4, i64 noundef %.039.lcssa, i64 noundef %.0.lcssa, i64 noundef %.037.lcssa, i64 noundef %.040.lcssa, i64 noundef %.038.lcssa, i64 noundef %33) #14 - call void %1(ptr noundef %0, ptr noundef %2, ptr noundef nonnull %6, i1 noundef zeroext %4) #14 + %34 = call i32 (ptr, i64, ptr, ...) @pg_snprintf(ptr noundef nonnull %6, i64 noundef 200, ptr noundef nonnull @.str.4, i64 noundef %.039.lcssa, i64 noundef %.0.lcssa, i64 noundef %.037.lcssa, i64 noundef %.040.lcssa, i64 noundef %.038.lcssa, i64 noundef %33) #13 + call void %1(ptr noundef %0, ptr noundef %2, ptr noundef nonnull %6, i1 noundef zeroext %4) #13 br label %35 35: ; preds = %32, %._crit_edge @@ -815,25 +815,25 @@ define dso_local void @GenerationStats(ptr noundef %0, ptr noundef readonly %1, declare i32 @pg_snprintf(ptr noundef, i64 noundef, ptr noundef, ...) local_unnamed_addr #2 ; Function Attrs: noreturn -declare void @MemoryContextSizeFailure(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #9 +declare void @MemoryContextSizeFailure(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #8 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.ctlz.i64(i64, i1 immarg) #10 +declare i64 @llvm.ctlz.i64(i64, i1 immarg) #9 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #11 +declare void @llvm.assume(i1 noundef) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #12 +declare i64 @llvm.umax.i64(i64, i64) #11 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #12 +declare i64 @llvm.umin.i64(i64, i64) #11 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.ctpop.i64(i64) #12 +declare i64 @llvm.ctpop.i64(i64) #11 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #12 +declare i32 @llvm.umin.i32(i32, i32) #11 attributes #0 = { 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 #1 = { 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" } @@ -841,17 +841,16 @@ attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protect attributes #3 = { cold "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 #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #6 = { 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 #7 = { 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 #8 = { 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 #9 = { noreturn "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 #10 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #11 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #12 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #13 = { nounwind allocsize(0) } -attributes #14 = { nounwind } -attributes #15 = { cold nounwind } -attributes #16 = { noreturn nounwind } +attributes #6 = { 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 #7 = { 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 #8 = { noreturn "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 #9 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #10 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #11 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #12 = { nounwind allocsize(0) } +attributes #13 = { nounwind } +attributes #14 = { cold nounwind } +attributes #15 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/postgres/optimized/localtime.ll b/bench/postgres/optimized/localtime.ll index 0fffb8be7d7..6d740e42fec 100644 --- a/bench/postgres/optimized/localtime.ll +++ b/bench/postgres/optimized/localtime.ll @@ -18,12 +18,12 @@ target triple = "x86_64-pc-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @tzload(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3) local_unnamed_addr #0 { - %5 = tail call noalias dereferenceable_or_null(78408) ptr @malloc(i64 noundef 78408) #19 + %5 = tail call noalias dereferenceable_or_null(78408) ptr @malloc(i64 noundef 78408) #17 %.not = icmp eq ptr %5, null br i1 %.not, label %6, label %9 6: ; preds = %4 - %7 = tail call ptr @__errno_location() #20 + %7 = tail call ptr @__errno_location() #18 %8 = load i32, ptr %7, align 4 br label %594 @@ -38,12 +38,12 @@ define dso_local i32 @tzload(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 %13 = icmp eq i8 %12, 58 %.1.idx.i = zext i1 %13 to i64 %.1.i = getelementptr i8, ptr %spec.select.i, i64 %.1.idx.i - %14 = tail call i32 @pg_open_tzfile(ptr noundef %.1.i, ptr noundef %1) #21 + %14 = tail call i32 @pg_open_tzfile(ptr noundef %.1.i, ptr noundef %1) #19 %15 = icmp slt i32 %14, 0 br i1 %15, label %tzloadbody.exit, label %16 16: ; preds = %9 - %17 = tail call i64 @read(i32 noundef %14, ptr noundef nonnull %5, i64 noundef 54968) #21 + %17 = tail call i64 @read(i32 noundef %14, ptr noundef nonnull %5, i64 noundef 54968) #19 %18 = icmp slt i64 %17, 44 br i1 %18, label %19, label %27 @@ -52,17 +52,17 @@ define dso_local i32 @tzload(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 br i1 %20, label %21, label %24 21: ; preds = %19 - %22 = tail call ptr @__errno_location() #20 + %22 = tail call ptr @__errno_location() #18 %23 = load i32, ptr %22, align 4 br label %24 24: ; preds = %21, %19 %25 = phi i32 [ %23, %21 ], [ 22, %19 ] - %26 = tail call i32 @close(i32 noundef %14) #21 + %26 = tail call i32 @close(i32 noundef %14) #19 br label %tzloadbody.exit 27: ; preds = %16 - %28 = tail call i32 @close(i32 noundef %14) #21 + %28 = tail call i32 @close(i32 noundef %14) #19 %29 = icmp slt i32 %28, 0 br i1 %29, label %47, label %.preheader517.i @@ -87,7 +87,7 @@ define dso_local i32 @tzload(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 br label %50 47: ; preds = %27 - %48 = tail call ptr @__errno_location() #20 + %48 = tail call ptr @__errno_location() #18 %49 = load i32, ptr %48, align 4 br label %tzloadbody.exit @@ -747,7 +747,7 @@ detzcode.exit481.i: ; preds = %268 .lr.ph601.i: ; preds = %345, %.lr.ph601.preheader.i %indvars.iv706.i = phi i64 [ 0, %.lr.ph601.preheader.i ], [ %indvars.iv.next707.i, %345 ] %341 = getelementptr i8, ptr %43, i64 %indvars.iv706.i - %342 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %341, ptr noundef nonnull dereferenceable(1) %338) #22 + %342 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %341, ptr noundef nonnull dereferenceable(1) %338) #20 %343 = icmp eq i32 %342, 0 br i1 %343, label %.thread.i, label %345 @@ -762,7 +762,7 @@ detzcode.exit481.i: ; preds = %268 ._crit_edge602.i: ; preds = %345, %334 %.0339.lcssa.i = phi i32 [ 0, %334 ], [ %.0341606.i, %345 ] - %346 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %338) #22 + %346 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %338) #20 %347 = trunc i64 %346 to i32 %348 = add i32 %.0339.lcssa.i, %347 %349 = icmp slt i32 %348, 50 @@ -771,7 +771,7 @@ detzcode.exit481.i: ; preds = %268 350: ; preds = %._crit_edge602.i %351 = zext nneg i32 %.0339.lcssa.i to i64 %352 = getelementptr i8, ptr %43, i64 %351 - %353 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %352, ptr noundef nonnull dereferenceable(1) %338) #21 + %353 = tail call ptr @strcpy(ptr noundef nonnull dereferenceable(1) %352, ptr noundef nonnull dereferenceable(1) %338) #19 %354 = add nsw i32 %348, 1 br label %.sink.split @@ -1058,7 +1058,7 @@ typesequiv.exit.i: ; preds = %484 %495 = load i32, ptr %460, align 4 %496 = sext i32 %495 to i64 %497 = getelementptr [512 x i8], ptr %43, i64 0, i64 %496 - %498 = tail call i32 @strcmp(ptr noundef nonnull readonly dereferenceable(1) %494, ptr noundef nonnull readonly dereferenceable(1) %497) #22 + %498 = tail call i32 @strcmp(ptr noundef nonnull readonly dereferenceable(1) %494, ptr noundef nonnull readonly dereferenceable(1) %497) #20 %499 = icmp eq i32 %498, 0 br i1 %499, label %500, label %typesequiv.exit.thread.i @@ -1152,7 +1152,7 @@ typesequiv.exit494.i: ; preds = %544 %555 = load i32, ptr %554, align 4 %556 = sext i32 %555 to i64 %557 = getelementptr [512 x i8], ptr %43, i64 0, i64 %556 - %558 = tail call i32 @strcmp(ptr noundef nonnull readonly dereferenceable(1) %553, ptr noundef nonnull readonly dereferenceable(1) %557) #22 + %558 = tail call i32 @strcmp(ptr noundef nonnull readonly dereferenceable(1) %553, ptr noundef nonnull readonly dereferenceable(1) %557) #20 %559 = icmp eq i32 %558, 0 br i1 %559, label %560, label %typesequiv.exit494.thread.i @@ -1247,7 +1247,7 @@ typesequiv.exit494.thread.i: ; preds = %560, %typesequiv.ex tzloadbody.exit: ; preds = %detzcode.exit440.i, %114, %117, %120, %168, %.lr.ph562.i, %detzcode.exit460.i, %216, %detzcode.exit481.i, %279, %290, %296, %9, %24, %47, %.loopexit507.i, %.thread500.i %.0.i = phi i32 [ %25, %24 ], [ %49, %47 ], [ 0, %.thread500.i ], [ 2, %9 ], [ 22, %.loopexit507.i ], [ 22, %296 ], [ 22, %290 ], [ 22, %279 ], [ 22, %detzcode.exit481.i ], [ 22, %216 ], [ 22, %detzcode.exit460.i ], [ 22, %.lr.ph562.i ], [ 22, %168 ], [ 22, %120 ], [ 22, %117 ], [ 22, %114 ], [ 22, %detzcode.exit440.i ] - tail call void @free(ptr noundef %5) #21 + tail call void @free(ptr noundef %5) #19 br label %594 594: ; preds = %tzloadbody.exit, %6 @@ -1273,7 +1273,7 @@ define dso_local noundef zeroext i1 @tzparse(ptr noundef %0, ptr noundef %1, i1 br i1 %2, label %8, label %11 8: ; preds = %3 - %9 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #22 + %9 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #20 %10 = getelementptr i8, ptr %0, i64 %9 store i32 0, ptr %4, align 4 br label %43 @@ -1917,7 +1917,7 @@ increment_overflow_time.exit280.thread: ; preds = %216, %213, %210 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #5 -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal fastcc noundef ptr @getoffset(ptr noundef readonly %0, ptr nocapture noundef writeonly %1) unnamed_addr #6 { %3 = load i8, ptr %0, align 1 %4 = icmp eq i8 %3, 45 @@ -2063,8 +2063,8 @@ getsecs.exit.thread: ; preds = %.preheader.i.i, %.p ret ptr %.0.i18 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc noundef ptr @getrule(ptr noundef %0, ptr nocapture noundef writeonly %1) unnamed_addr #7 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc noundef ptr @getrule(ptr noundef %0, ptr nocapture noundef writeonly %1) unnamed_addr #6 { %3 = load i8, ptr %0, align 1 switch i8 %3, label %96 [ i8 74, label %4 @@ -2302,7 +2302,7 @@ getnum.exit40.thread: ; preds = %.preheader.i36, %.p } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable -define internal fastcc i32 @transtime(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) unnamed_addr #8 { +define internal fastcc i32 @transtime(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) unnamed_addr #7 { %4 = and i32 %0, 3 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %11 @@ -2442,7 +2442,7 @@ define internal fastcc i32 @transtime(i32 noundef %0, ptr nocapture noundef read } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #9 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #8 ; Function Attrs: nounwind uwtable define dso_local ptr @pg_localtime(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { @@ -2466,7 +2466,7 @@ define internal fastcc ptr @localsub(ptr noundef %0, ptr nocapture noundef reado br i1 %9, label %10, label %gmtload.exit.i 10: ; preds = %7 - %11 = tail call noalias dereferenceable_or_null(23440) ptr @malloc(i64 noundef 23440) #19 + %11 = tail call noalias dereferenceable_or_null(23440) ptr @malloc(i64 noundef 23440) #17 store ptr %11, ptr @gmtsub.gmtptr, align 8 %12 = icmp eq ptr %11, null br i1 %12, label %gmtsub.exit, label %13 @@ -2679,7 +2679,7 @@ define dso_local noundef ptr @pg_gmtime(ptr nocapture noundef readonly %0) local br i1 %3, label %4, label %gmtload.exit.i 4: ; preds = %1 - %5 = tail call noalias dereferenceable_or_null(23440) ptr @malloc(i64 noundef 23440) #19 + %5 = tail call noalias dereferenceable_or_null(23440) ptr @malloc(i64 noundef 23440) #17 store ptr %5, ptr @gmtsub.gmtptr, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %gmtsub.exit, label %7 @@ -2707,7 +2707,7 @@ gmtsub.exit: ; preds = %4, %gmtload.exit.i } ; Function Attrs: nofree nosync nounwind memory(argmem: readwrite) uwtable -define dso_local range(i32 -1, 2) i32 @pg_next_dst_boundary(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef writeonly %5, ptr nocapture noundef readonly %6) local_unnamed_addr #10 { +define dso_local range(i32 -1, 2) i32 @pg_next_dst_boundary(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef writeonly %5, ptr nocapture noundef readonly %6) local_unnamed_addr #9 { %8 = alloca i64, align 8 %9 = load i64, ptr %0, align 8 %10 = getelementptr inbounds i8, ptr %6, i64 260 @@ -2973,8 +2973,8 @@ define dso_local range(i32 -1, 2) i32 @pg_next_dst_boundary(ptr nocapture nounde ret i32 %.0 } -; Function Attrs: nofree nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local noundef zeroext i1 @pg_interpret_timezone_abbrev(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef readonly %4) local_unnamed_addr #11 { +; Function Attrs: nofree nounwind memory(argmem: readwrite) uwtable +define dso_local noundef zeroext i1 @pg_interpret_timezone_abbrev(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef readonly %4) local_unnamed_addr #10 { %6 = load i64, ptr %1, align 8 %7 = getelementptr inbounds i8, ptr %4, i64 22376 %8 = getelementptr inbounds i8, ptr %4, i64 268 @@ -2986,7 +2986,7 @@ define dso_local noundef zeroext i1 @pg_interpret_timezone_abbrev(ptr nocapture %.05563 = phi i32 [ %18, %19 ], [ 0, %5 ] %11 = sext i32 %.05563 to i64 %12 = getelementptr i8, ptr %7, i64 %11 - %13 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %12) #22 + %13 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %12) #20 %14 = icmp eq i32 %13, 0 br i1 %14, label %21, label %.preheader59 @@ -3098,7 +3098,7 @@ define dso_local noundef zeroext i1 @pg_interpret_timezone_abbrev(ptr nocapture declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #5 ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define dso_local zeroext i1 @pg_get_timezone_offset(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #12 { +define dso_local zeroext i1 @pg_get_timezone_offset(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #6 { %3 = getelementptr inbounds i8, ptr %0, i64 264 %4 = load i32, ptr %3, align 8 %5 = icmp slt i32 %4, 2 @@ -3146,7 +3146,7 @@ define dso_local zeroext i1 @pg_get_timezone_offset(ptr nocapture noundef readon } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define dso_local noundef ptr @pg_get_timezone_name(ptr noundef readnone returned %0) local_unnamed_addr #13 { +define dso_local noundef ptr @pg_get_timezone_name(ptr noundef readnone returned %0) local_unnamed_addr #11 { ret ptr %0 } @@ -3169,21 +3169,21 @@ define dso_local zeroext i1 @pg_tz_acceptable(ptr noundef %0) local_unnamed_addr ret i1 %.0 } -declare i32 @pg_open_tzfile(ptr noundef, ptr noundef) local_unnamed_addr #14 +declare i32 @pg_open_tzfile(ptr noundef, ptr noundef) local_unnamed_addr #12 ; Function Attrs: nofree -declare noundef i64 @read(i32 noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #15 +declare noundef i64 @read(i32 noundef, ptr nocapture noundef, i64 noundef) local_unnamed_addr #13 -declare i32 @close(i32 noundef) local_unnamed_addr #14 +declare i32 @close(i32 noundef) local_unnamed_addr #12 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #9 +declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #8 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite) -declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #16 +declare ptr @strcpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly) local_unnamed_addr #14 ; Function Attrs: nofree nosync nounwind memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc noundef ptr @timesub(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef readonly %2) unnamed_addr #17 { +define internal fastcc noundef ptr @timesub(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef readonly %2) unnamed_addr #15 { %4 = icmp eq ptr %2, null br i1 %4, label %8, label %5 @@ -3593,7 +3593,7 @@ leaps_thru_end_of.exit106: ; preds = %182, %190 br label %230 increment_overflow.exit.thread: ; preds = %57, %60, %.critedge, %.lr.ph70, %.thread26, %175 - %229 = tail call ptr @__errno_location() #20 + %229 = tail call ptr @__errno_location() #18 store i32 75, ptr %229, align 4 br label %230 @@ -3603,16 +3603,16 @@ increment_overflow.exit.thread: ; preds = %57, %60, %.critedge } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #18 +declare i32 @llvm.smin.i32(i32, i32) #16 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #18 +declare i32 @llvm.smax.i32(i32, i32) #16 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #18 +declare i64 @llvm.umax.i64(i64, i64) #16 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.usub.sat.i64(i64, i64) #18 +declare i64 @llvm.usub.sat.i64(i64, i64) #16 attributes #0 = { 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 #1 = { 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" } @@ -3620,23 +3620,21 @@ attributes #2 = { mustprogress nofree nosync nounwind willreturn memory(none) "f attributes #3 = { 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 #4 = { nofree 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 #5 = { 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 #6 = { 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 #7 = { 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 #8 = { 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 #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #10 = { 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 #11 = { nofree 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 #12 = { 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 #13 = { 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 #14 = { "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 #15 = { 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 #16 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 #17 = { nofree nosync nounwind 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 #18 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #19 = { nounwind allocsize(0) } -attributes #20 = { nounwind willreturn memory(none) } -attributes #21 = { nounwind } -attributes #22 = { nounwind willreturn memory(read) } +attributes #6 = { 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 #7 = { 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 #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #9 = { 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 #10 = { nofree 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 #11 = { 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 #12 = { "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 #13 = { 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 #14 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "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 #15 = { nofree nosync nounwind 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 #16 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #17 = { nounwind allocsize(0) } +attributes #18 = { nounwind willreturn memory(none) } +attributes #19 = { nounwind } +attributes #20 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/postgres/optimized/path.ll b/bench/postgres/optimized/path.ll index 932940e0597..4c36682666d 100644 --- a/bench/postgres/optimized/path.ll +++ b/bench/postgres/optimized/path.ll @@ -27,7 +27,7 @@ define dso_local noundef zeroext i1 @has_drive_prefix(ptr nocapture noundef read ret i1 false } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define dso_local noundef ptr @first_dir_separator(ptr noundef readonly %0) local_unnamed_addr #1 { br label %2 @@ -51,7 +51,7 @@ define dso_local noundef ptr @first_dir_separator(ptr noundef readonly %0) local ret ptr %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define dso_local noundef ptr @first_path_var_separator(ptr noundef readonly %0) local_unnamed_addr #1 { br label %2 @@ -75,7 +75,7 @@ define dso_local noundef ptr @first_path_var_separator(ptr noundef readonly %0) ret ptr %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define dso_local ptr @last_dir_separator(ptr noundef readonly %0) local_unnamed_addr #1 { br label %2 @@ -116,7 +116,7 @@ define dso_local void @join_path_components(ptr noundef %0, ptr noundef %1, ptr br i1 %.not, label %6, label %4 4: ; preds = %3 - %5 = tail call i64 @strlcpy(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %1, i64 noundef 1024) #17 + %5 = tail call i64 @strlcpy(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %1, i64 noundef 1024) #18 br label %6 6: ; preds = %4, %3 @@ -125,13 +125,13 @@ define dso_local void @join_path_components(ptr noundef %0, ptr noundef %1, ptr br i1 %.not11, label %15, label %8 8: ; preds = %6 - %9 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #18 + %9 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #19 %10 = getelementptr i8, ptr %0, i64 %9 %11 = sub i64 1024, %9 %12 = load i8, ptr %1, align 1 %.not12 = icmp eq i8 %12, 0 %13 = select i1 %.not12, ptr @.str.2, ptr @.str.1 - %14 = tail call i32 (ptr, i64, ptr, ...) @pg_snprintf(ptr noundef %10, i64 noundef %11, ptr noundef nonnull @.str, ptr noundef nonnull %13, ptr noundef nonnull %2) #17 + %14 = tail call i32 (ptr, i64, ptr, ...) @pg_snprintf(ptr noundef %10, i64 noundef %11, ptr noundef nonnull @.str, ptr noundef nonnull %13, ptr noundef nonnull %2) #18 br label %15 15: ; preds = %8, %6 @@ -148,7 +148,7 @@ declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #5 ; Function Attrs: nofree nounwind memory(readwrite, inaccessiblemem: none) uwtable define dso_local void @canonicalize_path(ptr noundef %0) local_unnamed_addr #6 { - %2 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #18 + %2 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #19 %3 = getelementptr i8, ptr %0, i64 %2 %4 = icmp ugt ptr %3, %0 %.013.i = getelementptr i8, ptr %3, i64 -1 @@ -299,7 +299,7 @@ sub_2: ; preds = %sub_1125 br i1 %44, label %.outer.backedge, label %46 46: ; preds = %45 - %47 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #18 + %47 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #19 %.not.i = icmp eq ptr %.179.ph, %.177 br i1 %.not.i, label %append_subdir_to_path.exit, label %48 @@ -322,7 +322,7 @@ append_subdir_to_path.exit: ; preds = %46, %48 br i1 %54, label %trim_directory.exit, label %55 55: ; preds = %52 - %56 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #18 + %56 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #19 %57 = getelementptr i8, ptr %0, i64 %56 br label %58 @@ -380,7 +380,7 @@ trim_directory.exit: ; preds = %52, %.critedge.i 77: ; preds = %51 %78 = getelementptr i8, ptr %.179.ph, i64 1 store i8 47, ptr %.179.ph, align 1 - %79 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #18 + %79 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #19 %.not.i99 = icmp eq ptr %78, %.177 br i1 %.not.i99, label %append_subdir_to_path.exit100, label %80 @@ -394,7 +394,7 @@ append_subdir_to_path.exit100: ; preds = %77, %80 br label %.outer.backedge 83: ; preds = %.tail123 - %84 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #18 + %84 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #19 %.not.i101 = icmp eq ptr %.179.ph, %.177 br i1 %44, label %85, label %88 @@ -431,7 +431,7 @@ append_subdir_to_path.exit104: ; preds = %88, %89 br i1 %95, label %trim_directory.exit116, label %96 96: ; preds = %93 - %97 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #18 + %97 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #19 %98 = getelementptr i8, ptr %0, i64 %97 br label %99 @@ -487,7 +487,7 @@ trim_directory.exit116: ; preds = %93, %.critedge.i111 120: ; preds = %92 %121 = getelementptr i8, ptr %.179.ph, i64 1 store i8 47, ptr %.179.ph, align 1 - %122 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #18 + %122 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #19 %.not.i117 = icmp eq ptr %121, %.177 br i1 %.not.i117, label %append_subdir_to_path.exit118, label %123 @@ -503,7 +503,7 @@ append_subdir_to_path.exit118: ; preds = %120, %123 126: ; preds = %.tail123 %127 = getelementptr i8, ptr %.179.ph, i64 1 store i8 47, ptr %.179.ph, align 1 - %128 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #18 + %128 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #19 %.not.i119 = icmp eq ptr %127, %.177 br i1 %44, label %129, label %132 @@ -606,10 +606,10 @@ path_contains_parent_reference.exit.thread: ; preds = %path_contains_paren ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) uwtable define dso_local zeroext i1 @path_is_prefix_of_path(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #8 { - %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #18 + %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #19 %sext = shl i64 %3, 32 %4 = ashr exact i64 %sext, 32 - %5 = tail call i32 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %4) #18 + %5 = tail call i32 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %4) #19 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %10 @@ -654,14 +654,14 @@ last_dir_separator.exit: ; preds = %2 %.not = icmp eq ptr %.06.i, null %7 = getelementptr i8, ptr %.06.i, i64 1 %.0 = select i1 %.not, ptr %0, ptr %7 - %8 = tail call noalias ptr @strdup(ptr noundef %.0) #17 + %8 = tail call noalias ptr @strdup(ptr noundef %.0) #18 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %last_dir_separator.exit %11 = load ptr, ptr @stderr, align 8 - %12 = tail call i32 (ptr, ptr, ...) @pg_fprintf(ptr noundef %11, ptr noundef nonnull @.str.5, ptr noundef %.0) #17 - tail call void @abort() #19 + %12 = tail call i32 (ptr, ptr, ...) @pg_fprintf(ptr noundef %11, ptr noundef nonnull @.str.5, ptr noundef %.0) #18 + tail call void @abort() #20 unreachable 13: ; preds = %last_dir_separator.exit @@ -687,70 +687,70 @@ define dso_local noundef ptr @make_absolute_path(ptr noundef %0) local_unnamed_a br i1 %5, label %33, label %.preheader .preheader: ; preds = %3 - %6 = tail call noalias dereferenceable_or_null(1024) ptr @malloc(i64 noundef 1024) #20 + %6 = tail call noalias dereferenceable_or_null(1024) ptr @malloc(i64 noundef 1024) #21 %.not36 = icmp eq ptr %6, null br i1 %.not36, label %._crit_edge, label %.lr.ph ._crit_edge: ; preds = %15, %.preheader %7 = load ptr, ptr @stderr, align 8 - %8 = tail call i32 (ptr, ptr, ...) @pg_fprintf(ptr noundef %7, ptr noundef nonnull @.str.6) #17 + %8 = tail call i32 (ptr, ptr, ...) @pg_fprintf(ptr noundef %7, ptr noundef nonnull @.str.6) #18 br label %39 .lr.ph: ; preds = %.preheader, %15 %9 = phi ptr [ %17, %15 ], [ %6, %.preheader ] %.02237 = phi i64 [ %16, %15 ], [ 1024, %.preheader ] - %10 = tail call ptr @getcwd(ptr noundef nonnull %9, i64 noundef %.02237) #17 + %10 = tail call ptr @getcwd(ptr noundef nonnull %9, i64 noundef %.02237) #18 %.not29 = icmp eq ptr %10, null br i1 %.not29, label %11, label %22 11: ; preds = %.lr.ph - %12 = tail call ptr @__errno_location() #21 + %12 = tail call ptr @__errno_location() #22 %13 = load i32, ptr %12, align 4 %14 = icmp eq i32 %13, 34 - tail call void @free(ptr noundef nonnull %9) #17 + tail call void @free(ptr noundef nonnull %9) #18 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = shl i64 %.02237, 1 - %17 = tail call noalias ptr @malloc(i64 noundef %16) #20 + %17 = tail call noalias ptr @malloc(i64 noundef %16) #21 %.not = icmp eq ptr %17, null br i1 %.not, label %._crit_edge, label %.lr.ph 18: ; preds = %11 store i32 %13, ptr %12, align 4 %19 = load ptr, ptr @stderr, align 8 - %20 = tail call ptr @pg_strerror(i32 noundef %13) #17 - %21 = tail call i32 (ptr, ptr, ...) @pg_fprintf(ptr noundef %19, ptr noundef nonnull @.str.7, ptr noundef %20) #17 + %20 = tail call ptr @pg_strerror(i32 noundef %13) #18 + %21 = tail call i32 (ptr, ptr, ...) @pg_fprintf(ptr noundef %19, ptr noundef nonnull @.str.7, ptr noundef %20) #18 br label %39 22: ; preds = %.lr.ph - %23 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %9) #18 - %24 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #18 + %23 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %9) #19 + %24 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #19 %25 = add i64 %23, 2 %26 = add i64 %25, %24 - %27 = tail call noalias ptr @malloc(i64 noundef %26) #20 + %27 = tail call noalias ptr @malloc(i64 noundef %26) #21 %.not30 = icmp eq ptr %27, null br i1 %.not30, label %28, label %31 28: ; preds = %22 - tail call void @free(ptr noundef nonnull %9) #17 + tail call void @free(ptr noundef nonnull %9) #18 %29 = load ptr, ptr @stderr, align 8 - %30 = tail call i32 (ptr, ptr, ...) @pg_fprintf(ptr noundef %29, ptr noundef nonnull @.str.6) #17 + %30 = tail call i32 (ptr, ptr, ...) @pg_fprintf(ptr noundef %29, ptr noundef nonnull @.str.6) #18 br label %39 31: ; preds = %22 - %32 = tail call i32 (ptr, ptr, ...) @pg_sprintf(ptr noundef nonnull %27, ptr noundef nonnull @.str.8, ptr noundef nonnull %9, ptr noundef nonnull %0) #17 - tail call void @free(ptr noundef nonnull %9) #17 + %32 = tail call i32 (ptr, ptr, ...) @pg_sprintf(ptr noundef nonnull %27, ptr noundef nonnull @.str.8, ptr noundef nonnull %9, ptr noundef nonnull %0) #18 + tail call void @free(ptr noundef nonnull %9) #18 br label %38 33: ; preds = %3 - %34 = tail call noalias ptr @strdup(ptr noundef nonnull %0) #17 + %34 = tail call noalias ptr @strdup(ptr noundef nonnull %0) #18 %.not31 = icmp eq ptr %34, null br i1 %.not31, label %35, label %38 35: ; preds = %33 %36 = load ptr, ptr @stderr, align 8 - %37 = tail call i32 (ptr, ptr, ...) @pg_fprintf(ptr noundef %36, ptr noundef nonnull @.str.6) #17 + %37 = tail call i32 (ptr, ptr, ...) @pg_fprintf(ptr noundef %36, ptr noundef nonnull @.str.6) #18 br label %39 38: ; preds = %33, %31 @@ -836,13 +836,13 @@ define internal fastcc void @make_relative_path(ptr noundef %0, ptr noundef %1, 20: ; preds = %.critedge %21 = sext i32 %.040.lcssa to i64 %.neg = add i32 %.040.lcssa, -20 - %22 = tail call i64 @strlcpy(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %2, i64 noundef 1024) #17 + %22 = tail call i64 @strlcpy(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %2, i64 noundef 1024) #18 %23 = load i8, ptr %0, align 1 %24 = icmp eq i8 %23, 0 br i1 %24, label %trim_directory.exit, label %25 25: ; preds = %20 - %26 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #18 + %26 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #19 %27 = getelementptr i8, ptr %0, i64 %26 br label %28 @@ -886,7 +886,7 @@ define internal fastcc void @make_relative_path(ptr noundef %0, ptr noundef %1, trim_directory.exit: ; preds = %20, %.critedge.i tail call void @canonicalize_path(ptr noundef nonnull %0) - %45 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #18 + %45 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #19 %46 = trunc i64 %45 to i32 %47 = add i32 %.neg, %46 %48 = icmp sgt i32 %47, 0 @@ -951,7 +951,7 @@ dir_strcmp.exit: ; preds = %64, %._crit_edge.i 74: ; preds = %dir_strcmp.exit store i8 0, ptr %51, align 1 - %75 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #18 + %75 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #19 %76 = getelementptr i8, ptr %0, i64 %75 %77 = icmp ugt ptr %76, %0 %.013.i47 = getelementptr i8, ptr %76, i64 -1 @@ -978,13 +978,13 @@ trim_trailing_separator.exit: ; preds = %.lr.ph.i50, %81, %7 br i1 %.not11.i, label %join_path_components.exit, label %85 85: ; preds = %trim_trailing_separator.exit - %86 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #18 + %86 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #19 %87 = getelementptr i8, ptr %0, i64 %86 %88 = sub i64 1024, %86 %89 = load i8, ptr %0, align 1 %.not12.i = icmp eq i8 %89, 0 %90 = select i1 %.not12.i, ptr @.str.2, ptr @.str.1 - %91 = tail call i32 (ptr, i64, ptr, ...) @pg_snprintf(ptr noundef %87, i64 noundef %88, ptr noundef nonnull @.str, ptr noundef nonnull %90, ptr noundef nonnull %83) #17 + %91 = tail call i32 (ptr, i64, ptr, ...) @pg_snprintf(ptr noundef %87, i64 noundef %88, ptr noundef nonnull @.str, ptr noundef nonnull %90, ptr noundef nonnull %83) #18 br label %join_path_components.exit join_path_components.exit: ; preds = %trim_trailing_separator.exit, %85 @@ -992,7 +992,7 @@ join_path_components.exit: ; preds = %trim_trailing_separ br label %93 dir_strcmp.exit.thread: ; preds = %.lr.ph.i, %3, %trim_directory.exit, %49, %dir_strcmp.exit, %.critedge - %92 = tail call i64 @strlcpy(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %1, i64 noundef 1024) #17 + %92 = tail call i64 @strlcpy(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %1, i64 noundef 1024) #18 tail call void @canonicalize_path(ptr noundef %0) br label %93 @@ -1062,7 +1062,7 @@ define dso_local void @get_man_path(ptr noundef %0, ptr noundef %1) local_unname ; Function Attrs: nounwind uwtable define dso_local zeroext i1 @get_home_path(ptr noundef %0) local_unnamed_addr #2 { - %2 = tail call ptr @getenv(ptr noundef nonnull @.str.18) #17 + %2 = tail call ptr @getenv(ptr noundef nonnull @.str.18) #18 %3 = icmp eq ptr %2, null br i1 %3, label %7, label %4 @@ -1072,12 +1072,12 @@ define dso_local zeroext i1 @get_home_path(ptr noundef %0) local_unnamed_addr #2 br i1 %6, label %7, label %10 7: ; preds = %4, %1 - %8 = tail call i32 @geteuid() #17 - %9 = tail call zeroext i1 @pg_get_user_home_dir(i32 noundef %8, ptr noundef %0, i64 noundef 1024) #17 + %8 = tail call i32 @geteuid() #18 + %9 = tail call zeroext i1 @pg_get_user_home_dir(i32 noundef %8, ptr noundef %0, i64 noundef 1024) #18 br label %12 10: ; preds = %4 - %11 = tail call i64 @strlcpy(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %2, i64 noundef 1024) #17 + %11 = tail call i64 @strlcpy(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %2, i64 noundef 1024) #18 br label %12 12: ; preds = %10, %7 @@ -1093,14 +1093,14 @@ declare zeroext i1 @pg_get_user_home_dir(i32 noundef, ptr noundef, i64 noundef) ; Function Attrs: nounwind declare i32 @geteuid() local_unnamed_addr #12 -; Function Attrs: nofree nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local void @get_parent_directory(ptr noundef %0) local_unnamed_addr #6 { +; Function Attrs: nofree nounwind memory(argmem: readwrite) uwtable +define dso_local void @get_parent_directory(ptr noundef %0) local_unnamed_addr #16 { %2 = load i8, ptr %0, align 1 %3 = icmp eq i8 %2, 0 br i1 %3, label %trim_directory.exit, label %4 4: ; preds = %1 - %5 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #18 + %5 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #19 %6 = getelementptr i8, ptr %0, i64 %5 br label %7 @@ -1147,10 +1147,10 @@ trim_directory.exit: ; preds = %1, %.critedge.i } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #16 +declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #17 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 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { "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" } @@ -1165,12 +1165,13 @@ attributes #12 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "sta attributes #13 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 #14 = { 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 #15 = { nofree nounwind memory(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 #16 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #17 = { nounwind } -attributes #18 = { nounwind willreturn memory(read) } -attributes #19 = { noreturn nounwind } -attributes #20 = { nounwind allocsize(0) } -attributes #21 = { nounwind willreturn memory(none) } +attributes #16 = { nofree 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 #17 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #18 = { nounwind } +attributes #19 = { nounwind willreturn memory(read) } +attributes #20 = { noreturn nounwind } +attributes #21 = { nounwind allocsize(0) } +attributes #22 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/postgres/optimized/path_srv.ll b/bench/postgres/optimized/path_srv.ll index 5bcc17a180c..44f2fbb6848 100644 --- a/bench/postgres/optimized/path_srv.ll +++ b/bench/postgres/optimized/path_srv.ll @@ -29,7 +29,7 @@ define dso_local noundef zeroext i1 @has_drive_prefix(ptr nocapture noundef read ret i1 false } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define dso_local noundef ptr @first_dir_separator(ptr noundef readonly %0) local_unnamed_addr #1 { br label %2 @@ -53,7 +53,7 @@ define dso_local noundef ptr @first_dir_separator(ptr noundef readonly %0) local ret ptr %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define dso_local noundef ptr @first_path_var_separator(ptr noundef readonly %0) local_unnamed_addr #1 { br label %2 @@ -77,7 +77,7 @@ define dso_local noundef ptr @first_path_var_separator(ptr noundef readonly %0) ret ptr %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define dso_local ptr @last_dir_separator(ptr noundef readonly %0) local_unnamed_addr #1 { br label %2 @@ -118,7 +118,7 @@ define dso_local void @join_path_components(ptr noundef %0, ptr noundef %1, ptr br i1 %.not, label %6, label %4 4: ; preds = %3 - %5 = tail call i64 @strlcpy(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %1, i64 noundef 1024) #19 + %5 = tail call i64 @strlcpy(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %1, i64 noundef 1024) #20 br label %6 6: ; preds = %4, %3 @@ -127,13 +127,13 @@ define dso_local void @join_path_components(ptr noundef %0, ptr noundef %1, ptr br i1 %.not11, label %15, label %8 8: ; preds = %6 - %9 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #20 + %9 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #21 %10 = getelementptr i8, ptr %0, i64 %9 %11 = sub i64 1024, %9 %12 = load i8, ptr %1, align 1 %.not12 = icmp eq i8 %12, 0 %13 = select i1 %.not12, ptr @.str.2, ptr @.str.1 - %14 = tail call i32 (ptr, i64, ptr, ...) @pg_snprintf(ptr noundef %10, i64 noundef %11, ptr noundef nonnull @.str, ptr noundef nonnull %13, ptr noundef nonnull %2) #19 + %14 = tail call i32 (ptr, i64, ptr, ...) @pg_snprintf(ptr noundef %10, i64 noundef %11, ptr noundef nonnull @.str, ptr noundef nonnull %13, ptr noundef nonnull %2) #20 br label %15 15: ; preds = %8, %6 @@ -150,7 +150,7 @@ declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #5 ; Function Attrs: nofree nounwind memory(readwrite, inaccessiblemem: none) uwtable define dso_local void @canonicalize_path(ptr noundef %0) local_unnamed_addr #6 { - %2 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #20 + %2 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #21 %3 = getelementptr i8, ptr %0, i64 %2 %4 = icmp ugt ptr %3, %0 %.013.i = getelementptr i8, ptr %3, i64 -1 @@ -301,7 +301,7 @@ sub_2: ; preds = %sub_1125 br i1 %44, label %.outer.backedge, label %46 46: ; preds = %45 - %47 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #20 + %47 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #21 %.not.i = icmp eq ptr %.179.ph, %.177 br i1 %.not.i, label %append_subdir_to_path.exit, label %48 @@ -324,7 +324,7 @@ append_subdir_to_path.exit: ; preds = %46, %48 br i1 %54, label %trim_directory.exit, label %55 55: ; preds = %52 - %56 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #20 + %56 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #21 %57 = getelementptr i8, ptr %0, i64 %56 br label %58 @@ -382,7 +382,7 @@ trim_directory.exit: ; preds = %52, %.critedge.i 77: ; preds = %51 %78 = getelementptr i8, ptr %.179.ph, i64 1 store i8 47, ptr %.179.ph, align 1 - %79 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #20 + %79 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #21 %.not.i99 = icmp eq ptr %78, %.177 br i1 %.not.i99, label %append_subdir_to_path.exit100, label %80 @@ -396,7 +396,7 @@ append_subdir_to_path.exit100: ; preds = %77, %80 br label %.outer.backedge 83: ; preds = %.tail123 - %84 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #20 + %84 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #21 %.not.i101 = icmp eq ptr %.179.ph, %.177 br i1 %44, label %85, label %88 @@ -433,7 +433,7 @@ append_subdir_to_path.exit104: ; preds = %88, %89 br i1 %95, label %trim_directory.exit116, label %96 96: ; preds = %93 - %97 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #20 + %97 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #21 %98 = getelementptr i8, ptr %0, i64 %97 br label %99 @@ -489,7 +489,7 @@ trim_directory.exit116: ; preds = %93, %.critedge.i111 120: ; preds = %92 %121 = getelementptr i8, ptr %.179.ph, i64 1 store i8 47, ptr %.179.ph, align 1 - %122 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #20 + %122 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #21 %.not.i117 = icmp eq ptr %121, %.177 br i1 %.not.i117, label %append_subdir_to_path.exit118, label %123 @@ -505,7 +505,7 @@ append_subdir_to_path.exit118: ; preds = %120, %123 126: ; preds = %.tail123 %127 = getelementptr i8, ptr %.179.ph, i64 1 store i8 47, ptr %.179.ph, align 1 - %128 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #20 + %128 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %.177) #21 %.not.i119 = icmp eq ptr %127, %.177 br i1 %44, label %129, label %132 @@ -608,10 +608,10 @@ path_contains_parent_reference.exit.thread: ; preds = %path_contains_paren ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) uwtable define dso_local zeroext i1 @path_is_prefix_of_path(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #8 { - %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #20 + %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #21 %sext = shl i64 %3, 32 %4 = ashr exact i64 %sext, 32 - %5 = tail call i32 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %4) #20 + %5 = tail call i32 @strncmp(ptr noundef %0, ptr noundef %1, i64 noundef %4) #21 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %10 @@ -656,14 +656,14 @@ last_dir_separator.exit: ; preds = %2 %.not = icmp eq ptr %.06.i, null %7 = getelementptr i8, ptr %.06.i, i64 1 %.0 = select i1 %.not, ptr %0, ptr %7 - %8 = tail call noalias ptr @strdup(ptr noundef %.0) #19 + %8 = tail call noalias ptr @strdup(ptr noundef %.0) #20 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %13 10: ; preds = %last_dir_separator.exit %11 = load ptr, ptr @stderr, align 8 - %12 = tail call i32 (ptr, ptr, ...) @pg_fprintf(ptr noundef %11, ptr noundef nonnull @.str.5, ptr noundef %.0) #19 - tail call void @abort() #21 + %12 = tail call i32 (ptr, ptr, ...) @pg_fprintf(ptr noundef %11, ptr noundef nonnull @.str.5, ptr noundef %.0) #20 + tail call void @abort() #22 unreachable 13: ; preds = %last_dir_separator.exit @@ -689,80 +689,80 @@ define dso_local noundef ptr @make_absolute_path(ptr noundef %0) local_unnamed_a br i1 %5, label %34, label %.preheader .preheader: ; preds = %3 - %6 = tail call noalias dereferenceable_or_null(1024) ptr @malloc(i64 noundef 1024) #22 + %6 = tail call noalias dereferenceable_or_null(1024) ptr @malloc(i64 noundef 1024) #23 %.not36 = icmp eq ptr %6, null br i1 %.not36, label %._crit_edge, label %.lr.ph ._crit_edge: ; preds = %16, %.preheader - %7 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #23 + %7 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #24 tail call void @llvm.assume(i1 %7) - %8 = tail call i32 @errcode(i32 noundef 8389) #19 - %9 = tail call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.6) #19 - tail call void @errfinish(ptr noundef nonnull @.str.7, i32 noundef 751, ptr noundef nonnull @__func__.make_absolute_path) #19 + %8 = tail call i32 @errcode(i32 noundef 8389) #20 + %9 = tail call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.6) #20 + tail call void @errfinish(ptr noundef nonnull @.str.7, i32 noundef 751, ptr noundef nonnull @__func__.make_absolute_path) #20 unreachable .lr.ph: ; preds = %.preheader, %16 %10 = phi ptr [ %18, %16 ], [ %6, %.preheader ] %.02237 = phi i64 [ %17, %16 ], [ 1024, %.preheader ] - %11 = tail call ptr @getcwd(ptr noundef nonnull %10, i64 noundef %.02237) #19 + %11 = tail call ptr @getcwd(ptr noundef nonnull %10, i64 noundef %.02237) #20 %.not29 = icmp eq ptr %11, null br i1 %.not29, label %12, label %22 12: ; preds = %.lr.ph - %13 = tail call ptr @__errno_location() #24 + %13 = tail call ptr @__errno_location() #25 %14 = load i32, ptr %13, align 4 %15 = icmp eq i32 %14, 34 - tail call void @free(ptr noundef nonnull %10) #19 + tail call void @free(ptr noundef nonnull %10) #20 br i1 %15, label %16, label %19 16: ; preds = %12 %17 = shl i64 %.02237, 1 - %18 = tail call noalias ptr @malloc(i64 noundef %17) #22 + %18 = tail call noalias ptr @malloc(i64 noundef %17) #23 %.not = icmp eq ptr %18, null br i1 %.not, label %._crit_edge, label %.lr.ph 19: ; preds = %12 store i32 %14, ptr %13, align 4 - %20 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #23 + %20 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #24 tail call void @llvm.assume(i1 %20) - %21 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.8) #19 - tail call void @errfinish(ptr noundef nonnull @.str.7, i32 noundef 773, ptr noundef nonnull @__func__.make_absolute_path) #19 + %21 = tail call i32 (ptr, ...) @errmsg_internal(ptr noundef nonnull @.str.8) #20 + tail call void @errfinish(ptr noundef nonnull @.str.7, i32 noundef 773, ptr noundef nonnull @__func__.make_absolute_path) #20 unreachable 22: ; preds = %.lr.ph - %23 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %10) #20 - %24 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #20 + %23 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %10) #21 + %24 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #21 %25 = add i64 %23, 2 %26 = add i64 %25, %24 - %27 = tail call noalias ptr @malloc(i64 noundef %26) #22 + %27 = tail call noalias ptr @malloc(i64 noundef %26) #23 %.not30 = icmp eq ptr %27, null br i1 %.not30, label %28, label %32 28: ; preds = %22 - tail call void @free(ptr noundef nonnull %10) #19 - %29 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #23 + tail call void @free(ptr noundef nonnull %10) #20 + %29 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #24 tail call void @llvm.assume(i1 %29) - %30 = tail call i32 @errcode(i32 noundef 8389) #19 - %31 = tail call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.6) #19 - tail call void @errfinish(ptr noundef nonnull @.str.7, i32 noundef 789, ptr noundef nonnull @__func__.make_absolute_path) #19 + %30 = tail call i32 @errcode(i32 noundef 8389) #20 + %31 = tail call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.6) #20 + tail call void @errfinish(ptr noundef nonnull @.str.7, i32 noundef 789, ptr noundef nonnull @__func__.make_absolute_path) #20 unreachable 32: ; preds = %22 - %33 = tail call i32 (ptr, ptr, ...) @pg_sprintf(ptr noundef nonnull %27, ptr noundef nonnull @.str.9, ptr noundef nonnull %10, ptr noundef nonnull %0) #19 - tail call void @free(ptr noundef nonnull %10) #19 + %33 = tail call i32 (ptr, ptr, ...) @pg_sprintf(ptr noundef nonnull %27, ptr noundef nonnull @.str.9, ptr noundef nonnull %10, ptr noundef nonnull %0) #20 + tail call void @free(ptr noundef nonnull %10) #20 br label %40 34: ; preds = %3 - %35 = tail call noalias ptr @strdup(ptr noundef nonnull %0) #19 + %35 = tail call noalias ptr @strdup(ptr noundef nonnull %0) #20 %.not31 = icmp eq ptr %35, null br i1 %.not31, label %36, label %40 36: ; preds = %34 - %37 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #23 + %37 = tail call zeroext i1 @errstart_cold(i32 noundef 21, ptr noundef null) #24 tail call void @llvm.assume(i1 %37) - %38 = tail call i32 @errcode(i32 noundef 8389) #19 - %39 = tail call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.6) #19 - tail call void @errfinish(ptr noundef nonnull @.str.7, i32 noundef 806, ptr noundef nonnull @__func__.make_absolute_path) #19 + %38 = tail call i32 @errcode(i32 noundef 8389) #20 + %39 = tail call i32 (ptr, ...) @errmsg(ptr noundef nonnull @.str.6) #20 + tail call void @errfinish(ptr noundef nonnull @.str.7, i32 noundef 806, ptr noundef nonnull @__func__.make_absolute_path) #20 unreachable 40: ; preds = %34, %32 @@ -857,13 +857,13 @@ define internal fastcc void @make_relative_path(ptr noundef %0, ptr noundef %1, 20: ; preds = %.critedge %21 = sext i32 %.040.lcssa to i64 %.neg = add i32 %.040.lcssa, -20 - %22 = tail call i64 @strlcpy(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %2, i64 noundef 1024) #19 + %22 = tail call i64 @strlcpy(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %2, i64 noundef 1024) #20 %23 = load i8, ptr %0, align 1 %24 = icmp eq i8 %23, 0 br i1 %24, label %trim_directory.exit, label %25 25: ; preds = %20 - %26 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #20 + %26 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #21 %27 = getelementptr i8, ptr %0, i64 %26 br label %28 @@ -907,7 +907,7 @@ define internal fastcc void @make_relative_path(ptr noundef %0, ptr noundef %1, trim_directory.exit: ; preds = %20, %.critedge.i tail call void @canonicalize_path(ptr noundef nonnull %0) - %45 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #20 + %45 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #21 %46 = trunc i64 %45 to i32 %47 = add i32 %.neg, %46 %48 = icmp sgt i32 %47, 0 @@ -972,7 +972,7 @@ dir_strcmp.exit: ; preds = %64, %._crit_edge.i 74: ; preds = %dir_strcmp.exit store i8 0, ptr %51, align 1 - %75 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #20 + %75 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #21 %76 = getelementptr i8, ptr %0, i64 %75 %77 = icmp ugt ptr %76, %0 %.013.i47 = getelementptr i8, ptr %76, i64 -1 @@ -999,13 +999,13 @@ trim_trailing_separator.exit: ; preds = %.lr.ph.i50, %81, %7 br i1 %.not11.i, label %join_path_components.exit, label %85 85: ; preds = %trim_trailing_separator.exit - %86 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #20 + %86 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #21 %87 = getelementptr i8, ptr %0, i64 %86 %88 = sub i64 1024, %86 %89 = load i8, ptr %0, align 1 %.not12.i = icmp eq i8 %89, 0 %90 = select i1 %.not12.i, ptr @.str.2, ptr @.str.1 - %91 = tail call i32 (ptr, i64, ptr, ...) @pg_snprintf(ptr noundef %87, i64 noundef %88, ptr noundef nonnull @.str, ptr noundef nonnull %90, ptr noundef nonnull %83) #19 + %91 = tail call i32 (ptr, i64, ptr, ...) @pg_snprintf(ptr noundef %87, i64 noundef %88, ptr noundef nonnull @.str, ptr noundef nonnull %90, ptr noundef nonnull %83) #20 br label %join_path_components.exit join_path_components.exit: ; preds = %trim_trailing_separator.exit, %85 @@ -1013,7 +1013,7 @@ join_path_components.exit: ; preds = %trim_trailing_separ br label %93 dir_strcmp.exit.thread: ; preds = %.lr.ph.i, %3, %trim_directory.exit, %49, %dir_strcmp.exit, %.critedge - %92 = tail call i64 @strlcpy(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %1, i64 noundef 1024) #19 + %92 = tail call i64 @strlcpy(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %1, i64 noundef 1024) #20 tail call void @canonicalize_path(ptr noundef %0) br label %93 @@ -1083,7 +1083,7 @@ define dso_local void @get_man_path(ptr noundef %0, ptr noundef %1) local_unname ; Function Attrs: nounwind uwtable define dso_local zeroext i1 @get_home_path(ptr noundef %0) local_unnamed_addr #2 { - %2 = tail call ptr @getenv(ptr noundef nonnull @.str.19) #19 + %2 = tail call ptr @getenv(ptr noundef nonnull @.str.19) #20 %3 = icmp eq ptr %2, null br i1 %3, label %7, label %4 @@ -1093,12 +1093,12 @@ define dso_local zeroext i1 @get_home_path(ptr noundef %0) local_unnamed_addr #2 br i1 %6, label %7, label %10 7: ; preds = %4, %1 - %8 = tail call i32 @geteuid() #19 - %9 = tail call zeroext i1 @pg_get_user_home_dir(i32 noundef %8, ptr noundef %0, i64 noundef 1024) #19 + %8 = tail call i32 @geteuid() #20 + %9 = tail call zeroext i1 @pg_get_user_home_dir(i32 noundef %8, ptr noundef %0, i64 noundef 1024) #20 br label %12 10: ; preds = %4 - %11 = tail call i64 @strlcpy(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %2, i64 noundef 1024) #19 + %11 = tail call i64 @strlcpy(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) %2, i64 noundef 1024) #20 br label %12 12: ; preds = %10, %7 @@ -1114,14 +1114,14 @@ declare zeroext i1 @pg_get_user_home_dir(i32 noundef, ptr noundef, i64 noundef) ; Function Attrs: nounwind declare i32 @geteuid() local_unnamed_addr #13 -; Function Attrs: nofree nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local void @get_parent_directory(ptr noundef %0) local_unnamed_addr #6 { +; Function Attrs: nofree nounwind memory(argmem: readwrite) uwtable +define dso_local void @get_parent_directory(ptr noundef %0) local_unnamed_addr #17 { %2 = load i8, ptr %0, align 1 %3 = icmp eq i8 %2, 0 br i1 %3, label %trim_directory.exit, label %4 4: ; preds = %1 - %5 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #20 + %5 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #21 %6 = getelementptr i8, ptr %0, i64 %5 br label %7 @@ -1168,13 +1168,13 @@ trim_directory.exit: ; preds = %1, %.critedge.i } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #17 +declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #18 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #18 +declare void @llvm.assume(i1 noundef) #19 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 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { "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" } @@ -1190,14 +1190,15 @@ attributes #13 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "sta attributes #14 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 #15 = { 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 #16 = { nofree nounwind memory(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 #17 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #18 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #19 = { nounwind } -attributes #20 = { nounwind willreturn memory(read) } -attributes #21 = { noreturn nounwind } -attributes #22 = { nounwind allocsize(0) } -attributes #23 = { cold nounwind } -attributes #24 = { nounwind willreturn memory(none) } +attributes #17 = { nofree 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 #18 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #19 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #20 = { nounwind } +attributes #21 = { nounwind willreturn memory(read) } +attributes #22 = { noreturn nounwind } +attributes #23 = { nounwind allocsize(0) } +attributes #24 = { cold nounwind } +attributes #25 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/qemu/optimized/audio_mixeng.c.ll b/bench/qemu/optimized/audio_mixeng.c.ll index 593f545484b..206c33d2834 100644 --- a/bench/qemu/optimized/audio_mixeng.c.ll +++ b/bench/qemu/optimized/audio_mixeng.c.ll @@ -10,7 +10,7 @@ target triple = "x86_64-unknown-linux-gnu" @mixeng_conv_float = dso_local local_unnamed_addr global [2 x ptr] [ptr @conv_natural_float_to_mono, ptr @conv_natural_float_to_stereo], align 16 @mixeng_clip_float = dso_local local_unnamed_addr global [2 x ptr] [ptr @clip_natural_float_from_mono, ptr @clip_natural_float_from_stereo], align 16 -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_natural_uint8_t_to_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not5 = icmp eq i32 %samples, 0 @@ -37,7 +37,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_natural_uint16_t_to_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not5 = icmp eq i32 %samples, 0 @@ -64,7 +64,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_natural_uint32_t_to_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not5 = icmp eq i32 %samples, 0 @@ -90,7 +90,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_swap_uint16_t_to_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not5 = icmp eq i32 %samples, 0 @@ -118,7 +118,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_swap_uint32_t_to_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not5 = icmp eq i32 %samples, 0 @@ -145,7 +145,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_natural_int8_t_to_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not5 = icmp eq i32 %samples, 0 @@ -171,7 +171,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_natural_int16_t_to_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not5 = icmp eq i32 %samples, 0 @@ -197,7 +197,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_natural_int32_t_to_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not5 = icmp eq i32 %samples, 0 @@ -222,7 +222,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_swap_int16_t_to_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not5 = icmp eq i32 %samples, 0 @@ -249,7 +249,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_swap_int32_t_to_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not5 = icmp eq i32 %samples, 0 @@ -275,7 +275,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_natural_uint8_t_to_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not7 = icmp eq i32 %samples, 0 @@ -307,7 +307,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_natural_uint16_t_to_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not7 = icmp eq i32 %samples, 0 @@ -339,7 +339,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_natural_uint32_t_to_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not6 = icmp eq i32 %samples, 0 @@ -369,7 +369,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_swap_uint16_t_to_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not7 = icmp eq i32 %samples, 0 @@ -403,7 +403,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_swap_uint32_t_to_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not6 = icmp eq i32 %samples, 0 @@ -435,7 +435,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_natural_int8_t_to_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not6 = icmp eq i32 %samples, 0 @@ -465,7 +465,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_natural_int16_t_to_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not6 = icmp eq i32 %samples, 0 @@ -495,7 +495,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_natural_int32_t_to_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not5 = icmp eq i32 %samples, 0 @@ -523,7 +523,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_swap_int16_t_to_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not6 = icmp eq i32 %samples, 0 @@ -555,7 +555,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_swap_int32_t_to_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not5 = icmp eq i32 %samples, 0 @@ -585,7 +585,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_natural_uint8_t_from_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not3 = icmp eq i32 %samples, 0 @@ -625,7 +625,7 @@ while.end: ; preds = %clip_natural_uint8_ ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_natural_uint16_t_from_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not3 = icmp eq i32 %samples, 0 @@ -665,7 +665,7 @@ while.end: ; preds = %clip_natural_uint16 ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_natural_uint32_t_from_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not3 = icmp eq i32 %samples, 0 @@ -704,7 +704,7 @@ while.end: ; preds = %clip_natural_uint32 ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_swap_uint16_t_from_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not3 = icmp eq i32 %samples, 0 @@ -745,7 +745,7 @@ while.end: ; preds = %clip_swap_uint16_t. ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_swap_uint32_t_from_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not3 = icmp eq i32 %samples, 0 @@ -785,7 +785,7 @@ while.end: ; preds = %clip_swap_uint32_t. ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_natural_int8_t_from_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not3 = icmp eq i32 %samples, 0 @@ -824,7 +824,7 @@ while.end: ; preds = %clip_natural_int8_t ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_natural_int16_t_from_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not3 = icmp eq i32 %samples, 0 @@ -863,7 +863,7 @@ while.end: ; preds = %clip_natural_int16_ ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_natural_int32_t_from_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not3 = icmp eq i32 %samples, 0 @@ -892,7 +892,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_swap_int16_t_from_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not3 = icmp eq i32 %samples, 0 @@ -932,7 +932,7 @@ while.end: ; preds = %clip_swap_int16_t.e ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_swap_int32_t_from_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not3 = icmp eq i32 %samples, 0 @@ -971,7 +971,7 @@ while.end: ; preds = %clip_swap_int32_t.e ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_natural_uint8_t_from_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not12 = icmp eq i32 %samples, 0 @@ -1027,7 +1027,7 @@ while.end: ; preds = %clip_natural_uint8_ ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_natural_uint16_t_from_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not12 = icmp eq i32 %samples, 0 @@ -1083,7 +1083,7 @@ while.end: ; preds = %clip_natural_uint16 ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_natural_uint32_t_from_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not11 = icmp eq i32 %samples, 0 @@ -1137,7 +1137,7 @@ while.end: ; preds = %clip_natural_uint32 ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_swap_uint16_t_from_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not12 = icmp eq i32 %samples, 0 @@ -1195,7 +1195,7 @@ while.end: ; preds = %clip_swap_uint16_t. ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_swap_uint32_t_from_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not11 = icmp eq i32 %samples, 0 @@ -1251,7 +1251,7 @@ while.end: ; preds = %clip_swap_uint32_t. ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_natural_int8_t_from_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not12 = icmp eq i32 %samples, 0 @@ -1305,7 +1305,7 @@ while.end: ; preds = %clip_natural_int8_t ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_natural_int16_t_from_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not12 = icmp eq i32 %samples, 0 @@ -1359,7 +1359,7 @@ while.end: ; preds = %clip_natural_int16_ ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_natural_int32_t_from_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not8 = icmp eq i32 %samples, 0 @@ -1393,7 +1393,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_swap_int16_t_from_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not12 = icmp eq i32 %samples, 0 @@ -1449,7 +1449,7 @@ while.end: ; preds = %clip_swap_int16_t.e ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_swap_int32_t_from_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not11 = icmp eq i32 %samples, 0 @@ -1503,7 +1503,7 @@ while.end: ; preds = %clip_swap_int32_t.e ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_natural_float_to_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not3 = icmp eq i32 %samples, 0 @@ -1529,7 +1529,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @conv_natural_float_to_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not4 = icmp eq i32 %samples, 0 @@ -1559,7 +1559,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_natural_float_from_mono(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not3 = icmp eq i32 %samples, 0 @@ -1586,7 +1586,7 @@ while.end: ; preds = %while.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define internal void @clip_natural_float_from_stereo(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i32 noundef %samples) #0 { entry: %tobool.not4 = icmp eq i32 %samples, 0 @@ -1661,7 +1661,7 @@ entry: ; Function Attrs: allocsize(0,1) declare noalias ptr @g_malloc0_n(i64 noundef, i64 noundef) local_unnamed_addr #4 -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define dso_local void @st_rate_flow_mix(ptr nocapture noundef %opaque, ptr noundef %ibuf, ptr noundef %obuf, ptr nocapture noundef %isamp, ptr nocapture noundef %osamp) local_unnamed_addr #0 { entry: %0 = load i64, ptr %isamp, align 8 @@ -1826,7 +1826,7 @@ return: ; preds = %the_end, %if.then18 ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define dso_local void @st_rate_flow(ptr nocapture noundef %opaque, ptr noundef %ibuf, ptr noundef %obuf, ptr nocapture noundef %isamp, ptr nocapture noundef %osamp) local_unnamed_addr #0 { entry: %0 = load i64, ptr %isamp, align 8 @@ -2092,7 +2092,7 @@ entry: ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7 -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable define dso_local void @mixeng_volume(ptr nocapture noundef %buf, i32 noundef %len, ptr nocapture noundef readonly %vol) local_unnamed_addr #0 { entry: %0 = load i32, ptr %vol, align 8 @@ -2152,7 +2152,7 @@ declare i64 @llvm.umin.i64(i64, i64) #9 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.smax.i64(i64, i64) #9 -attributes #0 = { nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #0 = { nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } diff --git a/bench/qemu/optimized/hw_net_can_can_sja1000.c.ll b/bench/qemu/optimized/hw_net_can_can_sja1000.c.ll index 7932fa6c162..5196d002e25 100644 --- a/bench/qemu/optimized/hw_net_can_can_sja1000.c.ll +++ b/bench/qemu/optimized/hw_net_can_can_sja1000.c.ll @@ -66,7 +66,7 @@ entry: store i8 0, ptr %interrupt_bas, align 2 %irq = getelementptr inbounds i8, ptr %s, i64 144 %0 = load ptr, ptr %irq, align 8 - tail call void @qemu_set_irq(ptr noundef %0, i32 noundef 0) #9 + tail call void @qemu_set_irq(ptr noundef %0, i32 noundef 0) #8 ret void } @@ -184,7 +184,7 @@ if.else: ; preds = %if.then11 if.end66: ; preds = %if.else, %if.then16 %.sink = phi i64 [ 4, %if.else ], [ 2, %if.then16 ] %bus_client62 = getelementptr inbounds i8, ptr %s, i64 152 - %call65 = tail call i32 @can_bus_client_set_filters(ptr noundef nonnull %bus_client62, ptr noundef nonnull %filter30, i64 noundef %.sink) #9 + %call65 = tail call i32 @can_bus_client_set_filters(ptr noundef nonnull %bus_client62, ptr noundef nonnull %filter30, i64 noundef %.sink) #8 %rxmsg_cnt = getelementptr inbounds i8, ptr %s, i64 4 store i8 0, ptr %rxmsg_cnt, align 4 %rx_cnt = getelementptr inbounds i8, ptr %s, i64 96 @@ -204,7 +204,7 @@ if.then71: ; preds = %sw.bb68 %11 = and i8 %10, -13 store i8 %11, ptr %status_pel, align 1 %bus_client76 = getelementptr inbounds i8, ptr %s, i64 152 - %call77 = call i64 @can_bus_client_send(ptr noundef nonnull %bus_client76, ptr noundef nonnull %frame, i64 noundef 1) #9 + %call77 = call i64 @can_bus_client_send(ptr noundef nonnull %bus_client76, ptr noundef nonnull %frame, i64 noundef 1) #8 %12 = load i8, ptr %status_pel, align 1 %13 = and i8 %12, -45 %14 = or disjoint i8 %13, 12 @@ -220,7 +220,7 @@ if.then71: ; preds = %sw.bb68 %irq2.i = getelementptr inbounds i8, ptr %s, i64 144 %18 = load ptr, ptr %irq2.i, align 8 %..i = zext i1 %tobool.not.i to i32 - call void @qemu_set_irq(ptr noundef %18, i32 noundef %..i) #9 + call void @qemu_set_irq(ptr noundef %18, i32 noundef %..i) #8 br label %if.end88 if.end88: ; preds = %if.then71, %sw.bb68 @@ -277,7 +277,7 @@ if.then134: ; preds = %if.end97 %irq2.i149 = getelementptr inbounds i8, ptr %s, i64 144 %30 = load ptr, ptr %irq2.i149, align 8 %..i150 = zext i1 %tobool.not.i148 to i32 - call void @qemu_set_irq(ptr noundef %30, i32 noundef %..i150) #9 + call void @qemu_set_irq(ptr noundef %30, i32 noundef %..i150) #8 br label %if.end144 if.end144: ; preds = %if.end97, %if.then134, %if.end88 @@ -301,7 +301,7 @@ if.then147: ; preds = %if.end144 %irq2.i155 = getelementptr inbounds i8, ptr %s, i64 144 %36 = load ptr, ptr %irq2.i155, align 8 %..i156 = zext i1 %tobool.not.i154 to i32 - call void @qemu_set_irq(ptr noundef %36, i32 noundef %..i156) #9 + call void @qemu_set_irq(ptr noundef %36, i32 noundef %..i156) #8 br label %if.end339 sw.bb158: ; preds = %if.then1 @@ -392,7 +392,7 @@ if.then197: ; preds = %sw.bb189 %can_mask = getelementptr inbounds i8, ptr %s, i64 112 store i32 %or205, ptr %can_mask, align 4 %bus_client208 = getelementptr inbounds i8, ptr %s, i64 152 - %call211 = tail call i32 @can_bus_client_set_filters(ptr noundef nonnull %bus_client208, ptr noundef nonnull %filter200, i64 noundef 1) #9 + %call211 = tail call i32 @can_bus_client_set_filters(ptr noundef nonnull %bus_client208, ptr noundef nonnull %filter200, i64 noundef 1) #8 br label %if.end224.sink.split if.else214: ; preds = %sw.bb189 @@ -440,7 +440,7 @@ if.then231: ; preds = %sw.bb228 %53 = and i8 %52, -13 store i8 %53, ptr %status_bas, align 1 %bus_client237 = getelementptr inbounds i8, ptr %s, i64 152 - %call238 = call i64 @can_bus_client_send(ptr noundef nonnull %bus_client237, ptr noundef nonnull %frame, i64 noundef 1) #9 + %call238 = call i64 @can_bus_client_send(ptr noundef nonnull %bus_client237, ptr noundef nonnull %frame, i64 noundef 1) #8 %54 = load i8, ptr %status_bas, align 1 %55 = and i8 %54, -45 %56 = or disjoint i8 %55, 12 @@ -457,7 +457,7 @@ if.then231: ; preds = %sw.bb228 %irq2.i159 = getelementptr inbounds i8, ptr %s, i64 144 %61 = load ptr, ptr %irq2.i159, align 8 %..i160 = zext i1 %tobool.not.i158 to i32 - call void @qemu_set_irq(ptr noundef %61, i32 noundef %..i160) #9 + call void @qemu_set_irq(ptr noundef %61, i32 noundef %..i160) #8 br label %if.end250 if.end250: ; preds = %if.then231, %sw.bb228 @@ -512,7 +512,7 @@ if.then289: ; preds = %if.end259 %irq2.i165 = getelementptr inbounds i8, ptr %s, i64 144 %76 = load ptr, ptr %irq2.i165, align 8 %..i166 = zext i1 %tobool.not.i164 to i32 - call void @qemu_set_irq(ptr noundef %76, i32 noundef %..i166) #9 + call void @qemu_set_irq(ptr noundef %76, i32 noundef %..i166) #8 br label %if.end299 if.end299: ; preds = %if.end259, %if.then289, %if.end250 @@ -537,7 +537,7 @@ if.then302: ; preds = %if.end299 %irq2.i171 = getelementptr inbounds i8, ptr %s, i64 144 %83 = load ptr, ptr %irq2.i171, align 8 %..i172 = zext i1 %tobool.not.i170 to i32 - call void @qemu_set_irq(ptr noundef %83, i32 noundef %..i172) #9 + call void @qemu_set_irq(ptr noundef %83, i32 noundef %..i172) #8 br label %if.end339 sw.bb312: ; preds = %if.else188 @@ -583,7 +583,7 @@ if.end339: ; preds = %if.else188, %if.end ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(argmem: readwrite) uwtable define internal fastcc void @can_sja_single_filter(ptr nocapture noundef writeonly %filter, ptr nocapture noundef readonly %acr, ptr nocapture noundef readonly %amr, i32 noundef %extended) unnamed_addr #1 { entry: %tobool.not = icmp eq i32 %extended, 0 @@ -703,7 +703,7 @@ if.end87: ; preds = %if.end87.sink.split declare i32 @can_bus_client_set_filters(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(argmem: readwrite) uwtable -define internal fastcc void @can_sja_dual_filter(ptr nocapture noundef writeonly %filter, ptr nocapture noundef readonly %acr, ptr nocapture noundef readonly %amr, i32 noundef %extended) unnamed_addr #3 { +define internal fastcc void @can_sja_dual_filter(ptr nocapture noundef writeonly %filter, ptr nocapture noundef readonly %acr, ptr nocapture noundef readonly %amr, i32 noundef %extended) unnamed_addr #1 { entry: %tobool.not = icmp eq i32 %extended, 0 %0 = load i8, ptr %acr, align 1 @@ -779,7 +779,7 @@ if.end52: ; preds = %if.end, %if.then48, } ; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable -define internal fastcc void @buff2frame_pel(ptr nocapture noundef readonly %buff, ptr nocapture noundef writeonly %frame) unnamed_addr #4 { +define internal fastcc void @buff2frame_pel(ptr nocapture noundef readonly %buff, ptr nocapture noundef writeonly %frame) unnamed_addr #3 { entry: %flags = getelementptr inbounds i8, ptr %frame, i64 5 store i8 0, ptr %flags, align 1 @@ -901,7 +901,7 @@ if.end94: ; preds = %if.end94.sink.split declare i64 @can_bus_client_send(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable -define internal fastcc void @buff2frame_bas(ptr nocapture noundef readonly %buff, ptr nocapture noundef writeonly %frame) unnamed_addr #4 { +define internal fastcc void @buff2frame_bas(ptr nocapture noundef readonly %buff, ptr nocapture noundef writeonly %frame) unnamed_addr #3 { entry: %flags = getelementptr inbounds i8, ptr %frame, i64 5 store i8 0, ptr %flags, align 1 @@ -1031,7 +1031,7 @@ sw.bb6: ; preds = %if.then1 %irq2.i = getelementptr inbounds i8, ptr %s, i64 144 %6 = load ptr, ptr %irq2.i, align 8 %..i = zext nneg i8 %and4.i to i32 - tail call void @qemu_set_irq(ptr noundef %6, i32 noundef %..i) #9 + tail call void @qemu_set_irq(ptr noundef %6, i32 noundef %..i) #8 br label %do.end75 sw.bb15: ; preds = %if.then1 @@ -1119,7 +1119,7 @@ sw.bb44: ; preds = %if.else39 %irq2.i36 = getelementptr inbounds i8, ptr %s, i64 144 %19 = load ptr, ptr %irq2.i36, align 8 %..i37 = zext nneg i8 %and4.i34 to i32 - tail call void @qemu_set_irq(ptr noundef %19, i32 noundef %..i37) #9 + tail call void @qemu_set_irq(ptr noundef %19, i32 noundef %..i37) #8 br label %do.end75 sw.bb55: ; preds = %if.else39 @@ -1158,7 +1158,7 @@ return: ; preds = %entry, %do.end75 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(argmem: read) uwtable -define dso_local noundef zeroext i1 @can_sja_can_receive(ptr nocapture noundef readonly %client) #5 { +define dso_local noundef zeroext i1 @can_sja_can_receive(ptr nocapture noundef readonly %client) #4 { entry: %clock = getelementptr i8, ptr %client, i64 -146 %0 = load i8, ptr %clock, align 2 @@ -1275,7 +1275,7 @@ if.then7.i: ; preds = %if.then4.i %or85.i.i = or i32 %and39.i.i, 1073741824 %storemerge97.i = select i1 %tobool44.not.i.i, i32 %or85.i.i, i32 %and39.i.i store i32 %storemerge97.i, ptr %can_mask.i.i, align 4 - %call.i = call i32 @can_bus_filter_match(ptr noundef nonnull %filter.i, i32 noundef %7) #9 + %call.i = call i32 @can_bus_filter_match(ptr noundef nonnull %filter.i, i32 noundef %7) #8 %tobool12.not.i = icmp eq i32 %call.i, 0 br i1 %tobool12.not.i, label %can_sja_accept_filter.exit.thread99, label %can_sja_accept_filter.exit.thread @@ -1305,7 +1305,7 @@ if.else.i: ; preds = %if.then4.i %or85.i50.i = or disjoint i32 %and77.i.i, 1073741824 %storemerge99.i = select i1 %tobool82.not.i.i, i32 %or85.i50.i, i32 %and77.i.i store i32 %storemerge99.i, ptr %can_mask69.i.i, align 4 - %call21.i = call i32 @can_bus_filter_match(ptr noundef nonnull %filter.i, i32 noundef %7) #9 + %call21.i = call i32 @can_bus_filter_match(ptr noundef nonnull %filter.i, i32 noundef %7) #8 %tobool22.not.i = icmp eq i32 %call21.i, 0 br i1 %tobool22.not.i, label %can_sja_accept_filter.exit.thread99, label %if.end24.i @@ -1376,7 +1376,7 @@ if.then82.i: ; preds = %if.else78.i %or12.i.i = or disjoint i32 %shl10.i.i, %shl7.i57.i %and.i.i = xor i32 %or12.i.i, 536862720 store i32 %and.i.i, ptr %can_mask.i58.i, align 4 - %call90.i = call i32 @can_bus_filter_match(ptr noundef nonnull %filter.i, i32 noundef %7) #9 + %call90.i = call i32 @can_bus_filter_match(ptr noundef nonnull %filter.i, i32 noundef %7) #8 %tobool91.not.i = icmp eq i32 %call90.i, 0 br i1 %tobool91.not.i, label %if.end93.i, label %can_sja_accept_filter.exit.thread @@ -1403,7 +1403,7 @@ if.end93.i: ; preds = %if.then82.i %and.i72.i = xor i32 %or12.i71.i, 536862720 store i32 %and.i72.i, ptr %can_mask.i58.i, align 4 %51 = load i32, ptr %frames, align 8 - %call101.i = call i32 @can_bus_filter_match(ptr noundef nonnull %filter.i, i32 noundef %51) #9 + %call101.i = call i32 @can_bus_filter_match(ptr noundef nonnull %filter.i, i32 noundef %51) #8 %tobool102.not.i.not = icmp eq i32 %call101.i, 0 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %filter.i) br i1 %tobool102.not.i.not, label %if.then11, label %if.end17 @@ -1433,7 +1433,7 @@ if.else105.i: ; preds = %if.else78.i %or50.i.i = or disjoint i32 %and42.i.i, 1073741824 %storemerge101.i = select i1 %tobool47.not.i.i, i32 %or50.i.i, i32 %and42.i.i store i32 %storemerge101.i, ptr %can_mask34.i.i, align 4 - %call113.i = call i32 @can_bus_filter_match(ptr noundef nonnull %filter.i, i32 noundef %7) #9 + %call113.i = call i32 @can_bus_filter_match(ptr noundef nonnull %filter.i, i32 noundef %7) #8 %tobool114.not.i = icmp eq i32 %call113.i, 0 br i1 %tobool114.not.i, label %if.else105.if.end154_crit_edge.i, label %if.then115.i @@ -1502,7 +1502,7 @@ can_sja_accept_filter.exit: ; preds = %if.else105.if.end15 %storemerge103.i = select i1 %tobool47.not.i93.i, i32 %or50.i95.i, i32 %and42.i92.i store i32 %storemerge103.i, ptr %can_mask34.i.i, align 4 %82 = load i32, ptr %frames, align 8 - %call162.i = call i32 @can_bus_filter_match(ptr noundef nonnull %filter.i, i32 noundef %82) #9 + %call162.i = call i32 @can_bus_filter_match(ptr noundef nonnull %filter.i, i32 noundef %82) #8 %tobool163.not.i.not = icmp eq i32 %call162.i, 0 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %filter.i) br i1 %tobool163.not.i.not, label %if.then11, label %if.end17 @@ -1635,7 +1635,7 @@ if.then30: ; preds = %if.end27 %irq2.i = getelementptr i8, ptr %client, i64 -8 %108 = load ptr, ptr %irq2.i, align 8 %..i = zext i1 %tobool.not.i63 to i32 - call void @qemu_set_irq(ptr noundef %108, i32 noundef %..i) #9 + call void @qemu_set_irq(ptr noundef %108, i32 noundef %..i) #8 %conv42 = zext nneg i32 %add44.i to i64 br label %return @@ -1684,7 +1684,7 @@ for.end: ; preds = %for.body %irq2.i68 = getelementptr i8, ptr %client, i64 -8 %117 = load ptr, ptr %irq2.i68, align 8 %..i69 = zext i1 %tobool.not.i67 to i32 - call void @qemu_set_irq(ptr noundef %117, i32 noundef %..i69) #9 + call void @qemu_set_irq(ptr noundef %117, i32 noundef %..i69) #8 br label %return if.else: ; preds = %if.end2 @@ -1767,7 +1767,7 @@ if.then87: ; preds = %if.end82 %irq2.i87 = getelementptr i8, ptr %client, i64 -8 %138 = load ptr, ptr %irq2.i87, align 8 %..i88 = zext i1 %tobool.not.i86 to i32 - tail call void @qemu_set_irq(ptr noundef %138, i32 noundef %..i88) #9 + tail call void @qemu_set_irq(ptr noundef %138, i32 noundef %..i88) #8 %conv99 = zext nneg i32 %add33.i113 to i64 br label %return @@ -1817,7 +1817,7 @@ for.end119: ; preds = %for.body108 %irq2.i93 = getelementptr i8, ptr %client, i64 -8 %148 = load ptr, ptr %irq2.i93, align 8 %..i94 = zext i1 %tobool.not.i92 to i32 - tail call void @qemu_set_irq(ptr noundef %148, i32 noundef %..i94) #9 + tail call void @qemu_set_irq(ptr noundef %148, i32 noundef %..i94) #8 br label %return return: ; preds = %for.end, %for.end119, %if.end, %entry, %if.then87, %if.then76, %if.then30, %if.then21, %if.then11 @@ -1834,7 +1834,7 @@ entry: br i1 %tobool.not, label %return, label %if.end if.end: ; preds = %entry - %call = tail call i32 @can_bus_insert_client(ptr noundef nonnull %bus, ptr noundef nonnull %bus_client) #9 + %call = tail call i32 @can_bus_insert_client(ptr noundef nonnull %bus, ptr noundef nonnull %bus_client) #8 %call.lobit = ashr i32 %call, 31 br label %return @@ -1849,7 +1849,7 @@ declare i32 @can_bus_insert_client(ptr noundef, ptr noundef) local_unnamed_addr define dso_local void @can_sja_disconnect(ptr noundef %s) local_unnamed_addr #0 { entry: %bus_client = getelementptr inbounds i8, ptr %s, i64 152 - %call = tail call i32 @can_bus_remove_client(ptr noundef nonnull %bus_client) #9 + %call = tail call i32 @can_bus_remove_client(ptr noundef nonnull %bus_client) #8 ret void } @@ -1860,7 +1860,7 @@ define dso_local noundef i32 @can_sja_init(ptr nocapture noundef %s, ptr noundef entry: %irq1 = getelementptr inbounds i8, ptr %s, i64 144 store ptr %irq, ptr %irq1, align 8 - tail call void @qemu_set_irq(ptr noundef %irq, i32 noundef 0) #9 + tail call void @qemu_set_irq(ptr noundef %irq, i32 noundef 0) #8 store i8 1, ptr %s, align 8 %status_pel.i = getelementptr inbounds i8, ptr %s, i64 1 store i8 60, ptr %status_pel.i, align 1 @@ -1881,7 +1881,7 @@ entry: %interrupt_bas.i = getelementptr inbounds i8, ptr %s, i64 102 store i8 0, ptr %interrupt_bas.i, align 2 %0 = load ptr, ptr %irq1, align 8 - tail call void @qemu_set_irq(ptr noundef %0, i32 noundef 0) #9 + tail call void @qemu_set_irq(ptr noundef %0, i32 noundef 0) #8 ret i32 0 } @@ -1916,7 +1916,7 @@ if.end: ; preds = %if.else, %if.then %irq2.i5 = getelementptr inbounds i8, ptr %opaque, i64 144 %6 = load ptr, ptr %irq2.i5, align 8 %..i6 = zext i1 %tobool.not.i4 to i32 - tail call void @qemu_set_irq(ptr noundef %6, i32 noundef %..i6) #9 + tail call void @qemu_set_irq(ptr noundef %6, i32 noundef %..i6) #8 ret i32 0 } @@ -1925,27 +1925,26 @@ declare void @qemu_set_irq(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @can_bus_filter_match(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i8 @llvm.umin.i8(i8, i8) #6 +declare i8 @llvm.umin.i8(i8, i8) #5 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #8 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #7 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #8 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #7 attributes #0 = { nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #1 = { mustprogress nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #1 = { mustprogress nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #3 = { mustprogress nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #4 = { nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #5 = { mustprogress nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #8 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #9 = { nounwind } +attributes #3 = { nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #4 = { mustprogress nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #7 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #8 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/qemu/optimized/util_bitmap.c.ll b/bench/qemu/optimized/util_bitmap.c.ll index 3da77e9aaaf..0cafd68cd7b 100644 --- a/bench/qemu/optimized/util_bitmap.c.ll +++ b/bench/qemu/optimized/util_bitmap.c.ll @@ -322,7 +322,7 @@ while.cond.preheader: ; preds = %entry br i1 %cmp616, label %while.body, label %while.end if.else: ; preds = %entry - tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 167, ptr noundef nonnull @__PRETTY_FUNCTION__.bitmap_set) #11 + tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 167, ptr noundef nonnull @__PRETTY_FUNCTION__.bitmap_set) #10 unreachable while.body: ; preds = %while.cond.preheader, %while.body @@ -374,7 +374,7 @@ entry: br i1 %or.cond, label %if.end, label %if.else if.else: ; preds = %entry - tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 189, ptr noundef nonnull @__PRETTY_FUNCTION__.bitmap_set_atomic) #11 + tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 189, ptr noundef nonnull @__PRETTY_FUNCTION__.bitmap_set_atomic) #10 unreachable if.end: ; preds = %entry @@ -426,7 +426,7 @@ if.then21: ; preds = %if.end20 br label %if.end28 if.else27: ; preds = %if.end20 - tail call void asm sideeffect "", "~{memory},~{dirflag},~{fpsr},~{flags}"() #12, !srcloc !15 + tail call void asm sideeffect "", "~{memory},~{dirflag},~{fpsr},~{flags}"() #11, !srcloc !15 fence seq_cst br label %if.end28 @@ -457,7 +457,7 @@ while.body.preheader: ; preds = %while.cond.preheade br label %while.body if.else: ; preds = %entry - tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 228, ptr noundef nonnull @__PRETTY_FUNCTION__.bitmap_clear) #11 + tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 228, ptr noundef nonnull @__PRETTY_FUNCTION__.bitmap_clear) #10 unreachable while.body: ; preds = %while.body.preheader, %while.body @@ -507,7 +507,7 @@ entry: br i1 %or.cond, label %if.end, label %if.else if.else: ; preds = %entry - tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 251, ptr noundef nonnull @__PRETTY_FUNCTION__.bitmap_test_and_clear) #11 + tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 251, ptr noundef nonnull @__PRETTY_FUNCTION__.bitmap_test_and_clear) #10 unreachable if.end: ; preds = %entry @@ -597,7 +597,7 @@ entry: br i1 %or.cond, label %if.end, label %if.else if.else: ; preds = %entry - tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 297, ptr noundef nonnull @__PRETTY_FUNCTION__.bitmap_test_and_clear_atomic) #11 + tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 297, ptr noundef nonnull @__PRETTY_FUNCTION__.bitmap_test_and_clear_atomic) #10 unreachable if.end: ; preds = %entry @@ -671,7 +671,7 @@ if.else41: ; preds = %if.end30 br i1 %tobool42.not, label %if.then43, label %if.end45 if.then43: ; preds = %if.else41 - tail call void asm sideeffect "", "~{memory},~{dirflag},~{fpsr},~{flags}"() #12, !srcloc !17 + tail call void asm sideeffect "", "~{memory},~{dirflag},~{fpsr},~{flags}"() #11, !srcloc !17 fence seq_cst br label %if.end45 @@ -680,7 +680,7 @@ if.end45: ; preds = %if.else41, %if.then ret i1 %dirty.4 } -; Function Attrs: nofree norecurse nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nounwind sspstrong memory(argmem: readwrite) uwtable define dso_local void @bitmap_copy_and_clear_atomic(ptr nocapture noundef writeonly %dst, ptr nocapture noundef %src, i64 noundef %nr) local_unnamed_addr #4 { entry: %cmp4 = icmp sgt i64 %nr, 0 @@ -705,7 +705,7 @@ while.end5: ; preds = %while.end, %entry ; Function Attrs: nounwind sspstrong uwtable define dso_local i64 @bitmap_find_next_zero_area(ptr noundef %map, i64 noundef %size, i64 noundef %start, i64 noundef %nr, i64 noundef %align_mask) local_unnamed_addr #2 { entry: - %call11 = tail call i64 @find_next_zero_bit(ptr noundef %map, i64 noundef %size, i64 noundef %start) #12 + %call11 = tail call i64 @find_next_zero_bit(ptr noundef %map, i64 noundef %size, i64 noundef %start) #11 %add12 = add i64 %call11, %align_mask %not = xor i64 %align_mask, -1 %and13 = and i64 %add12, %not @@ -715,7 +715,7 @@ entry: again: ; preds = %if.end %add5 = add nuw i64 %call2, 1 - %call = tail call i64 @find_next_zero_bit(ptr noundef %map, i64 noundef %size, i64 noundef %add5) #12 + %call = tail call i64 @find_next_zero_bit(ptr noundef %map, i64 noundef %size, i64 noundef %add5) #11 %add = add i64 %call, %align_mask %and = and i64 %add, %not %add1 = add i64 %and, %nr @@ -725,7 +725,7 @@ again: ; preds = %if.end if.end: ; preds = %entry, %again %add117 = phi i64 [ %add1, %again ], [ %add114, %entry ] %and16 = phi i64 [ %and, %again ], [ %and13, %entry ] - %call2 = tail call i64 @find_next_bit(ptr noundef %map, i64 noundef %add117, i64 noundef %and16) #12 + %call2 = tail call i64 @find_next_bit(ptr noundef %map, i64 noundef %add117, i64 noundef %and16) #11 %cmp3 = icmp ult i64 %call2, %add117 br i1 %cmp3, label %again, label %return @@ -848,8 +848,8 @@ entry: ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable -define dso_local void @bitmap_copy_with_src_offset(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i64 noundef %shift, i64 noundef %nbits) local_unnamed_addr #7 { +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable +define dso_local void @bitmap_copy_with_src_offset(ptr nocapture noundef writeonly %dst, ptr nocapture noundef readonly %src, i64 noundef %shift, i64 noundef %nbits) local_unnamed_addr #1 { entry: %div34 = lshr i64 %shift, 6 %add.ptr = getelementptr i64, ptr %src, i64 %div34 @@ -937,8 +937,8 @@ if.end27: ; preds = %if.else.i, %if.then ret void } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable -define dso_local void @bitmap_copy_with_dst_offset(ptr nocapture noundef %dst, ptr nocapture noundef readonly %src, i64 noundef %shift, i64 noundef %nbits) local_unnamed_addr #7 { +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: readwrite) uwtable +define dso_local void @bitmap_copy_with_dst_offset(ptr nocapture noundef %dst, ptr nocapture noundef readonly %src, i64 noundef %shift, i64 noundef %nbits) local_unnamed_addr #1 { entry: %div37 = lshr i64 %shift, 6 %add.ptr = getelementptr i64, ptr %dst, i64 %div37 @@ -1035,27 +1035,26 @@ if.end34: ; preds = %if.else.i, %if.then } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.ctpop.i64(i64) #8 +declare i64 @llvm.ctpop.i64(i64) #7 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #9 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #8 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #10 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #9 attributes #0 = { nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #4 = { nofree norecurse nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #4 = { nofree norecurse nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #5 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #6 = { mustprogress nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #7 = { nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #10 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #11 = { noreturn nounwind } -attributes #12 = { nounwind } +attributes #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #9 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #10 = { noreturn nounwind } +attributes #11 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/qemu/optimized/util_bitops.c.ll b/bench/qemu/optimized/util_bitops.c.ll index 7a095a49a6d..8da1e22f8ed 100644 --- a/bench/qemu/optimized/util_bitops.c.ll +++ b/bench/qemu/optimized/util_bitops.c.ll @@ -3,7 +3,7 @@ source_filename = "bench/qemu/original/util_bitops.c.ll" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: read) uwtable define dso_local i64 @find_next_bit(ptr nocapture noundef readonly %addr, i64 noundef %size, i64 noundef %offset) local_unnamed_addr #0 { entry: %div36 = lshr i64 %offset, 6 @@ -134,7 +134,7 @@ return: ; preds = %while.end34, %entry ret i64 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: read) uwtable define dso_local i64 @find_next_zero_bit(ptr nocapture noundef readonly %addr, i64 noundef %size, i64 noundef %offset) local_unnamed_addr #0 { entry: %div26 = lshr i64 %offset, 6 @@ -227,7 +227,7 @@ return: ; preds = %while.end, %entry, } ; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(argmem: read) uwtable -define dso_local i64 @find_last_bit(ptr nocapture noundef readonly %addr, i64 noundef %size) local_unnamed_addr #1 { +define dso_local i64 @find_last_bit(ptr nocapture noundef readonly %addr, i64 noundef %size) local_unnamed_addr #0 { entry: %div10 = lshr i64 %size, 6 %and = and i64 %size, 63 @@ -273,14 +273,13 @@ return: ; preds = %while.cond, %found } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.cttz.i64(i64, i1 immarg) #2 +declare i64 @llvm.cttz.i64(i64, i1 immarg) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.ctlz.i64(i64, i1 immarg) #2 +declare i64 @llvm.ctlz.i64(i64, i1 immarg) #1 -attributes #0 = { nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #1 = { nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #0 = { nofree norecurse nosync nounwind sspstrong 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,+cx16,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/quickjs/optimized/libunicode.ll b/bench/quickjs/optimized/libunicode.ll index 471b36c1ec0..2ff3b282fc9 100644 --- a/bench/quickjs/optimized/libunicode.ll +++ b/bench/quickjs/optimized/libunicode.ll @@ -517,7 +517,7 @@ lre_case_folding_entry.exit: ; preds = %31, %33, %34, %35, ret i32 %.033 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable define dso_local range(i32 0, 2) i32 @lre_is_cased(i32 noundef %0) local_unnamed_addr #2 { br label %2 @@ -563,8 +563,8 @@ define dso_local range(i32 0, 2) i32 @lre_is_cased(i32 noundef %0) local_unnamed ret i32 %.018 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define internal fastcc range(i32 0, 2) i32 @lre_is_in_table(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 noundef %3) unnamed_addr #2 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define internal fastcc range(i32 0, 2) i32 @lre_is_in_table(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 noundef %3) unnamed_addr #3 { %.val.i = load i16, ptr %2, align 2 %5 = getelementptr i8, ptr %2, i64 2 %.val31.i = load i8, ptr %5, align 1 @@ -721,14 +721,14 @@ get_index_pos.exit.thread: ; preds = %91, %55, %11, %get_ ret i32 %.026 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable define dso_local range(i32 0, 2) i32 @lre_is_case_ignorable(i32 noundef %0) local_unnamed_addr #2 { %2 = tail call fastcc i32 @lre_is_in_table(i32 noundef %0, ptr noundef nonnull @unicode_prop_Case_Ignorable_table, ptr noundef nonnull @unicode_prop_Case_Ignorable_index, i32 noundef 23) ret i32 %2 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable -define dso_local void @cr_init(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #3 { +define dso_local void @cr_init(ptr nocapture noundef writeonly %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #4 { %4 = getelementptr inbounds i8, ptr %0, i64 16 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) store ptr %1, ptr %4, align 8 @@ -740,13 +740,13 @@ define dso_local void @cr_init(ptr nocapture noundef writeonly %0, ptr noundef % } ; Function Attrs: mustprogress nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define internal noalias noundef ptr @cr_default_realloc(ptr nocapture readnone %0, ptr nocapture noundef %1, i64 noundef %2) #4 { +define internal noalias noundef ptr @cr_default_realloc(ptr nocapture readnone %0, ptr nocapture noundef %1, i64 noundef %2) #5 { %4 = tail call ptr @realloc(ptr noundef %1, i64 noundef %2) #19 ret ptr %4 } ; Function Attrs: nounwind uwtable -define dso_local void @cr_free(ptr nocapture noundef readonly %0) local_unnamed_addr #5 { +define dso_local void @cr_free(ptr nocapture noundef readonly %0) local_unnamed_addr #6 { %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i8, ptr %0, i64 16 @@ -758,7 +758,7 @@ define dso_local void @cr_free(ptr nocapture noundef readonly %0) local_unnamed_ } ; Function Attrs: nounwind uwtable -define dso_local range(i32 -1, 1) i32 @cr_realloc(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #5 { +define dso_local range(i32 -1, 1) i32 @cr_realloc(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #6 { %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, %1 @@ -791,7 +791,7 @@ define dso_local range(i32 -1, 1) i32 @cr_realloc(ptr nocapture noundef %0, i32 } ; Function Attrs: nounwind uwtable -define dso_local range(i32 -1, 1) i32 @cr_copy(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #5 { +define dso_local range(i32 -1, 1) i32 @cr_copy(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #6 { %3 = load i32, ptr %1, align 8 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = load i32, ptr %4, align 4 @@ -843,10 +843,10 @@ cr_realloc.exit: ; preds = %7, %20 } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #7 ; Function Attrs: nounwind uwtable -define dso_local range(i32 -1, 1) i32 @cr_op(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #5 { +define dso_local range(i32 -1, 1) i32 @cr_op(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #6 { %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = getelementptr inbounds i8, ptr %0, i64 24 %9 = getelementptr inbounds i8, ptr %0, i64 16 @@ -1063,10 +1063,10 @@ cr_add_point.exit: ; preds = %54, %cr_compress.ex } ; Function Attrs: noreturn nounwind -declare void @abort() local_unnamed_addr #7 +declare void @abort() local_unnamed_addr #8 ; Function Attrs: nounwind uwtable -define dso_local range(i32 -1, 1) i32 @cr_union1(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #5 { +define dso_local range(i32 -1, 1) i32 @cr_union1(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #6 { %.sroa.0.0.copyload = load i32, ptr %0, align 8 %.sroa.27.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 8 %.sroa.27.0.copyload = load ptr, ptr %.sroa.27.0..sroa_idx, align 8 @@ -1081,7 +1081,7 @@ define dso_local range(i32 -1, 1) i32 @cr_union1(ptr nocapture noundef %0, ptr n } ; Function Attrs: nounwind uwtable -define dso_local range(i32 -1, 1) i32 @cr_invert(ptr nocapture noundef %0) local_unnamed_addr #5 { +define dso_local range(i32 -1, 1) i32 @cr_invert(ptr nocapture noundef %0) local_unnamed_addr #6 { %2 = load i32, ptr %0, align 8 %3 = add i32 %2, 2 %4 = getelementptr inbounds i8, ptr %0, i64 4 @@ -1201,15 +1201,15 @@ cr_realloc.exit: ; preds = %7, %cr_compress.exi } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #6 +declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #7 -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable define dso_local range(i32 0, 2) i32 @lre_is_id_start(i32 noundef %0) local_unnamed_addr #2 { %2 = tail call fastcc i32 @lre_is_in_table(i32 noundef %0, ptr noundef nonnull @unicode_prop_ID_Start_table, ptr noundef nonnull @unicode_prop_ID_Start_index, i32 noundef 35) ret i32 %2 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable define dso_local range(i32 0, 2) i32 @lre_is_id_continue(i32 noundef %0) local_unnamed_addr #2 { %2 = tail call fastcc range(i32 0, 2) i32 @lre_is_in_table(i32 noundef %0, ptr noundef nonnull @unicode_prop_ID_Start_table, ptr noundef nonnull @unicode_prop_ID_Start_index, i32 noundef 35) %.not = icmp eq i32 %2, 0 @@ -1225,7 +1225,7 @@ define dso_local range(i32 0, 2) i32 @lre_is_id_continue(i32 noundef %0) local_u } ; Function Attrs: nounwind uwtable -define dso_local i32 @unicode_normalize(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #5 { +define dso_local i32 @unicode_normalize(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #6 { %7 = alloca [2 x i32], align 4 %8 = alloca %struct.DynBuf, align 8 %9 = lshr i32 %3, 1 @@ -1778,12 +1778,12 @@ sort_cc.exit.thread: ; preds = %274, %sort_cc.exit, ret i32 %.0 } -declare void @dbuf_init2(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #8 +declare void @dbuf_init2(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #9 -declare i32 @dbuf_realloc(ptr noundef, i64 noundef) local_unnamed_addr #8 +declare i32 @dbuf_realloc(ptr noundef, i64 noundef) local_unnamed_addr #9 ; Function Attrs: nounwind uwtable -define internal fastcc void @to_nfd_rec(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) unnamed_addr #5 { +define internal fastcc void @to_nfd_rec(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) unnamed_addr #6 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 @@ -1900,7 +1900,7 @@ unicode_decomp_char.exit.thread: ; preds = %45, %42, %unicode_d } ; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable -define internal fastcc i32 @unicode_get_cc(i32 noundef %0) unnamed_addr #9 { +define internal fastcc i32 @unicode_get_cc(i32 noundef %0) unnamed_addr #2 { %2 = icmp ult i32 %0, 845 br i1 %2, label %get_index_pos.exit.thread41, label %3 @@ -2040,7 +2040,7 @@ get_index_pos.exit.thread: ; preds = %3, %66, %70, %76, % } ; Function Attrs: nounwind uwtable -define dso_local range(i32 -2, 1) i32 @unicode_script(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #5 { +define dso_local range(i32 -2, 1) i32 @unicode_script(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #6 { %.sroa.0226 = alloca i32, align 8 %.sroa.2 = alloca i32, align 4 %.sroa.3 = alloca ptr, align 8 @@ -2565,7 +2565,7 @@ unicode_find_name.exit.thread: ; preds = %19, %92, %239, %uni } ; Function Attrs: nounwind uwtable -define internal fastcc range(i32 -1, 1) i32 @cr_add_interval(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) unnamed_addr #5 { +define internal fastcc range(i32 -1, 1) i32 @cr_add_interval(ptr nocapture noundef %0, i32 noundef %1, i32 noundef %2) unnamed_addr #6 { %4 = load i32, ptr %0, align 8 %5 = add i32 %4, 2 %6 = getelementptr inbounds i8, ptr %0, i64 4 @@ -2624,7 +2624,7 @@ cr_realloc.exit: ; preds = %9, %21 } ; Function Attrs: nounwind uwtable -define dso_local range(i32 -1, 1) i32 @cr_regexp_canonicalize(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #5 { +define dso_local range(i32 -1, 1) i32 @cr_regexp_canonicalize(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #6 { %3 = alloca [3 x i32], align 4 %4 = alloca %struct.CharRange, align 8 %5 = alloca %struct.CharRange, align 8 @@ -3033,7 +3033,7 @@ cr_invert.exit: ; preds = %.cr_invert.exit_cri } ; Function Attrs: nounwind uwtable -define internal fastcc range(i32 -1, 1) i32 @unicode_case1(ptr nocapture noundef %0, i32 noundef %1) unnamed_addr #5 { +define internal fastcc range(i32 -1, 1) i32 @unicode_case1(ptr nocapture noundef %0, i32 noundef %1) unnamed_addr #6 { %3 = icmp eq i32 %1, 0 br i1 %3, label %cr_add_interval.exit, label %.preheader109 @@ -3344,7 +3344,7 @@ cr_add_interval.exit: ; preds = %132, %117, %91, %67 } ; Function Attrs: nounwind uwtable -define internal fastcc void @cr_sort_and_remove_overlap(ptr nocapture noundef %0) unnamed_addr #5 { +define internal fastcc void @cr_sort_and_remove_overlap(ptr nocapture noundef %0) unnamed_addr #6 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8 %4 = load i32, ptr %0, align 8 @@ -3414,7 +3414,7 @@ define internal fastcc void @cr_sort_and_remove_overlap(ptr nocapture noundef %0 } ; Function Attrs: nounwind uwtable -define dso_local range(i32 -2, 1) i32 @unicode_general_category(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #5 { +define dso_local range(i32 -2, 1) i32 @unicode_general_category(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #6 { %3 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %1) #22 br label %.preheader.i @@ -3492,7 +3492,7 @@ unicode_find_name.exit.thread: ; preds = %18, %unicode_find_n } ; Function Attrs: nounwind uwtable -define internal fastcc range(i32 -1, 1) i32 @unicode_general_category1(ptr nocapture noundef %0, i32 noundef %1) unnamed_addr #5 { +define internal fastcc range(i32 -1, 1) i32 @unicode_general_category1(ptr nocapture noundef %0, i32 noundef %1) unnamed_addr #6 { %3 = and i32 %1, 6 %4 = getelementptr inbounds i8, ptr %0, i64 4 %.phi.trans.insert.i53 = getelementptr inbounds i8, ptr %0, i64 8 @@ -3681,7 +3681,7 @@ cr_add_interval.exit: ; preds = %83, %.loopexit, %53 } ; Function Attrs: nounwind uwtable -define dso_local range(i32 -2, 1) i32 @unicode_prop(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #5 { +define dso_local range(i32 -2, 1) i32 @unicode_prop(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #6 { %3 = tail call i64 @strlen(ptr noundef nonnull readonly dereferenceable(1) %1) #22 br label %.preheader.i @@ -3943,7 +3943,7 @@ cr_add_interval.exit: ; preds = %18, %82, %84, %86, } ; Function Attrs: nounwind uwtable -define internal range(i32 -1, 1) i32 @unicode_prop_ops(ptr nocapture noundef %0, ...) unnamed_addr #5 { +define internal range(i32 -1, 1) i32 @unicode_prop_ops(ptr nocapture noundef %0, ...) unnamed_addr #6 { %2 = alloca [1 x %struct.__va_list_tag], align 16 %3 = alloca [4 x %struct.CharRange], align 16 call void @llvm.va_start.p0(ptr nonnull %2) @@ -4252,7 +4252,7 @@ cr_copy.exit: ; preds = %.cr_copy.exit_crit_ } ; Function Attrs: nounwind uwtable -define internal fastcc range(i32 -1, 1) i32 @unicode_prop1(ptr nocapture noundef %0, i32 noundef %1) unnamed_addr #5 { +define internal fastcc range(i32 -1, 1) i32 @unicode_prop1(ptr nocapture noundef %0, i32 noundef %1) unnamed_addr #6 { %3 = sext i32 %1 to i64 %4 = getelementptr [50 x ptr], ptr @unicode_prop_table, i64 0, i64 %3 %5 = load ptr, ptr %4, align 8 @@ -4445,7 +4445,7 @@ cr_add_interval.exit: ; preds = %103, %28, %84, %2 ; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #10 -declare i32 @dbuf_put(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #8 +declare i32 @dbuf_put(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #9 ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: write) uwtable define internal fastcc i32 @unicode_decomp_entry(ptr nocapture noundef writeonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) unnamed_addr #11 { @@ -4852,7 +4852,7 @@ declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #12 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare ptr @strchr(ptr noundef, i32 noundef) local_unnamed_addr #12 -declare void @rqsort(ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #8 +declare void @rqsort(ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #9 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal range(i32 -1, 2) i32 @point_cmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture readnone %2) #13 { @@ -4889,14 +4889,14 @@ declare i32 @llvm.umax.i32(i32, i32) #18 attributes #0 = { 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 #1 = { nofree nosync nounwind 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #7 = { noreturn 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 #8 = { "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 #9 = { nofree norecurse nosync nounwind 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 #2 = { nofree norecurse nosync nounwind 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 #3 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #8 = { noreturn 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 #9 = { "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 #10 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) 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 #11 = { 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 #12 = { 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" } diff --git a/bench/raylib/optimized/rtextures.c.ll b/bench/raylib/optimized/rtextures.c.ll index ab1de981f2b..08e19bbb8bf 100644 --- a/bench/raylib/optimized/rtextures.c.ll +++ b/bench/raylib/optimized/rtextures.c.ll @@ -28196,8 +28196,8 @@ stbi__malloc_mad3.exit.thread: ; preds = %stbi__mul2sizes_val ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @stbi__compute_transparency16(i32 %.0.val.0.val, i32 %.0.val.4.val, ptr nocapture %.24.val, ptr nocapture noundef readonly %0, i32 noundef %1) unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc void @stbi__compute_transparency16(i32 %.0.val.0.val, i32 %.0.val.4.val, ptr nocapture %.24.val, ptr nocapture noundef readonly %0, i32 noundef %1) unnamed_addr #38 { %3 = mul i32 %.0.val.4.val, %.0.val.0.val %4 = icmp eq i32 %1, 2 %.not8 = icmp eq i32 %3, 0 @@ -28265,8 +28265,8 @@ define internal fastcc void @stbi__compute_transparency16(i32 %.0.val.0.val, i32 ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @stbi__compute_transparency(i32 %.0.val.0.val, i32 %.0.val.4.val, ptr nocapture %.24.val, ptr nocapture noundef readonly %0, i32 noundef %1) unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc void @stbi__compute_transparency(i32 %.0.val.0.val, i32 %.0.val.4.val, ptr nocapture %.24.val, ptr nocapture noundef readonly %0, i32 noundef %1) unnamed_addr #38 { %3 = mul i32 %.0.val.4.val, %.0.val.0.val %4 = icmp eq i32 %1, 2 %.not8 = icmp eq i32 %3, 0 @@ -28334,8 +28334,8 @@ define internal fastcc void @stbi__compute_transparency(i32 %.0.val.0.val, i32 % ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @stbi__de_iphone(ptr nocapture readonly %.0.val, ptr nocapture %.24.val) unnamed_addr #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define internal fastcc void @stbi__de_iphone(ptr nocapture readonly %.0.val, ptr nocapture %.24.val) unnamed_addr #13 { %1 = load i32, ptr %.0.val, align 8 %2 = getelementptr inbounds i8, ptr %.0.val, i64 4 %3 = load i32, ptr %2, align 4 @@ -32056,7 +32056,7 @@ stbi__get8.exit26: ; preds = %78, %81, %stbi__ref } ; Function Attrs: nofree nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @stbi__out_gif_code(ptr nocapture noundef %0, i16 noundef zeroext %1) unnamed_addr #38 { +define internal fastcc void @stbi__out_gif_code(ptr nocapture noundef %0, i16 noundef zeroext %1) unnamed_addr #39 { %3 = getelementptr inbounds i8, ptr %0, i64 2100 %4 = zext i16 %1 to i64 %5 = getelementptr inbounds [8192 x %struct.stbi__gif_lzw], ptr %3, i64 0, i64 %4 @@ -32953,7 +32953,7 @@ define internal void @stbiw__writef(ptr nocapture noundef readonly %0, ptr nocap } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: write) -declare double @frexp(double noundef, ptr nocapture noundef) local_unnamed_addr #39 +declare double @frexp(double noundef, ptr nocapture noundef) local_unnamed_addr #40 ; Function Attrs: nounwind uwtable define internal fastcc i32 @stbiw__jpg_processDU(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr nocapture noundef %2, ptr nocapture noundef %3, i32 noundef %4, ptr nocapture noundef readonly %5, i32 noundef %6, ptr nocapture noundef readonly %7, ptr nocapture noundef readonly %8) unnamed_addr #4 { @@ -33673,7 +33673,7 @@ stbiw__jpg_writeBits.exit212: ; preds = %338, %stbiw__jpg_wr } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal fastcc range(i32 0, 2) i32 @stbir__calculate_region_transform(ptr nocapture noundef writeonly %0, i32 noundef %1, ptr nocapture noundef %2, i32 noundef %3, i32 noundef %4, double noundef %5, double noundef %6) unnamed_addr #40 { +define internal fastcc range(i32 0, 2) i32 @stbir__calculate_region_transform(ptr nocapture noundef writeonly %0, i32 noundef %1, ptr nocapture noundef %2, i32 noundef %3, i32 noundef %4, double noundef %5, double noundef %6) unnamed_addr #38 { %8 = fsub double %6, %5 %9 = icmp eq i32 %1, 0 %10 = icmp eq i32 %4, 0 @@ -36163,8 +36163,8 @@ define internal void @stbir__fancy_alpha_unweight_4ch(ptr noundef %0, i32 nounde ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @stbir__fancy_alpha_unweight_2ch(ptr noundef %0, i32 noundef %1) #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @stbir__fancy_alpha_unweight_2ch(ptr noundef %0, i32 noundef %1) #38 { %3 = sext i32 %1 to i64 %4 = getelementptr inbounds float, ptr %0, i64 %3 br label %5 @@ -36337,8 +36337,8 @@ define internal void @stbir__simple_alpha_unweight_4ch(ptr noundef %0, i32 nound ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @stbir__simple_alpha_unweight_2ch(ptr noundef %0, i32 noundef %1) #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @stbir__simple_alpha_unweight_2ch(ptr noundef %0, i32 noundef %1) #38 { %3 = sext i32 %1 to i64 %4 = getelementptr inbounds float, ptr %0, i64 %3 br label %5 @@ -43746,8 +43746,8 @@ define internal void @stbir__decode_half_float_linear(ptr noundef %0, i32 nounde ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @stbir__decode_uint8_srgb4_linearalpha(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @stbir__decode_uint8_srgb4_linearalpha(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #38 { %4 = sext i32 %1 to i64 %5 = getelementptr inbounds float, ptr %0, i64 %4 br label %6 @@ -43789,8 +43789,8 @@ define internal void @stbir__decode_uint8_srgb4_linearalpha(ptr noundef writeonl ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @stbir__decode_uint8_srgb4_linearalpha_BGRA(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @stbir__decode_uint8_srgb4_linearalpha_BGRA(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #38 { %4 = sext i32 %1 to i64 %5 = getelementptr inbounds float, ptr %0, i64 %4 br label %6 @@ -43832,8 +43832,8 @@ define internal void @stbir__decode_uint8_srgb4_linearalpha_BGRA(ptr noundef wri ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @stbir__decode_uint8_srgb_BGRA(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @stbir__decode_uint8_srgb_BGRA(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #38 { %4 = sext i32 %1 to i64 %.idx = shl nsw i64 %4, 2 %5 = getelementptr inbounds i8, ptr %0, i64 %.idx @@ -44127,8 +44127,8 @@ define internal void @stbir__decode_half_float_linear_BGRA(ptr noundef %0, i32 n ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @stbir__decode_uint8_srgb4_linearalpha_ARGB(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @stbir__decode_uint8_srgb4_linearalpha_ARGB(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #38 { %4 = sext i32 %1 to i64 %5 = getelementptr inbounds float, ptr %0, i64 %4 br label %6 @@ -44170,8 +44170,8 @@ define internal void @stbir__decode_uint8_srgb4_linearalpha_ARGB(ptr noundef wri ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @stbir__decode_uint8_srgb_ARGB(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @stbir__decode_uint8_srgb_ARGB(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #38 { %4 = sext i32 %1 to i64 %.idx = shl nsw i64 %4, 2 %5 = getelementptr inbounds i8, ptr %0, i64 %.idx @@ -44465,8 +44465,8 @@ define internal void @stbir__decode_half_float_linear_ARGB(ptr noundef %0, i32 n ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @stbir__decode_uint8_srgb4_linearalpha_ABGR(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @stbir__decode_uint8_srgb4_linearalpha_ABGR(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #38 { %4 = sext i32 %1 to i64 %5 = getelementptr inbounds float, ptr %0, i64 %4 br label %6 @@ -44508,8 +44508,8 @@ define internal void @stbir__decode_uint8_srgb4_linearalpha_ABGR(ptr noundef wri ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @stbir__decode_uint8_srgb_ABGR(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @stbir__decode_uint8_srgb_ABGR(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #38 { %4 = sext i32 %1 to i64 %.idx = shl nsw i64 %4, 2 %5 = getelementptr inbounds i8, ptr %0, i64 %.idx @@ -44803,8 +44803,8 @@ define internal void @stbir__decode_half_float_linear_ABGR(ptr noundef %0, i32 n ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @stbir__decode_uint8_srgb2_linearalpha(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @stbir__decode_uint8_srgb2_linearalpha(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #38 { %4 = sext i32 %1 to i64 %.idx = shl nsw i64 %4, 2 %5 = getelementptr inbounds i8, ptr %0, i64 %.idx @@ -44868,8 +44868,8 @@ define internal void @stbir__decode_uint8_srgb2_linearalpha(ptr noundef writeonl ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal void @stbir__decode_uint8_srgb2_linearalpha_AR(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #30 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal void @stbir__decode_uint8_srgb2_linearalpha_AR(ptr noundef writeonly %0, i32 noundef %1, ptr nocapture noundef readonly %2) #38 { %4 = sext i32 %1 to i64 %.idx = shl nsw i64 %4, 2 %5 = getelementptr inbounds i8, ptr %0, i64 %.idx @@ -61500,9 +61500,9 @@ attributes #34 = { nofree norecurse nosync nounwind memory(write, argmem: readwr attributes #35 = { 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 #36 = { 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 #37 = { mustprogress nofree nounwind willreturn memory(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 #38 = { 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 #39 = { mustprogress nofree nounwind willreturn memory(argmem: 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 #40 = { 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 #38 = { 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 #39 = { 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 #40 = { mustprogress nofree nounwind willreturn memory(argmem: 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 #41 = { nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(none) } attributes #43 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) } diff --git a/bench/recastnavigation/optimized/fastlz.c.ll b/bench/recastnavigation/optimized/fastlz.c.ll index 2de0a5ccc40..a9ce2f489bb 100644 --- a/bench/recastnavigation/optimized/fastlz.c.ll +++ b/bench/recastnavigation/optimized/fastlz.c.ll @@ -1004,8 +1004,8 @@ define internal fastcc i32 @fastlz2_compress(ptr noundef %0, i32 noundef %1, ptr ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local i32 @fastlz_decompress(ptr noundef readonly %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +define dso_local i32 @fastlz_decompress(ptr noundef readonly %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #1 { %5 = load i8, ptr %0, align 1 %6 = icmp ult i8 %5, 32 br i1 %6, label %7, label %88 @@ -1417,10 +1417,11 @@ define dso_local i32 @fastlz_compress_level(i32 noundef %0, ptr noundef %1, i32 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { 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 #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} diff --git a/bench/redis/optimized/hyperloglog.ll b/bench/redis/optimized/hyperloglog.ll index 799ef3309e9..3af324423be 100644 --- a/bench/redis/optimized/hyperloglog.ll +++ b/bench/redis/optimized/hyperloglog.ll @@ -44,7 +44,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str.25 = private unnamed_addr constant [50 x i8] c"Wrong number of arguments for the '%s' subcommand\00", align 1 @.str.26 = private unnamed_addr constant [42 x i8] c"-INVALIDOBJ Corrupted HLL object detected\00", align 1 -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define dso_local i64 @MurmurHash64A(ptr noundef readonly %key, i32 noundef %len, i32 noundef %seed) local_unnamed_addr #0 { entry: %conv = zext i32 %seed to i64 @@ -160,7 +160,7 @@ sw.epilog: ; preds = %while.end, %sw.bb37 ret i64 %xor46 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define dso_local i32 @hllPatLen(ptr noundef readonly %ele, i64 noundef %elesize, ptr nocapture noundef writeonly %regp) local_unnamed_addr #1 { entry: %conv = trunc i64 %elesize to i32 @@ -343,7 +343,7 @@ return: ; preds = %entry, %do.body9 ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define dso_local range(i32 0, 2) i32 @hllDenseAdd(ptr nocapture noundef %registers, ptr noundef %ele, i64 noundef %elesize) local_unnamed_addr #1 { entry: %index = alloca i64, align 8 @@ -393,7 +393,7 @@ hllDenseSet.exit: ; preds = %entry, %do.body9.i ret i32 %retval.0.i } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define dso_local void @hllDenseRegHisto(ptr nocapture noundef readonly %registers, ptr nocapture noundef %reghisto) local_unnamed_addr #1 { entry: br label %for.body @@ -1532,7 +1532,7 @@ entry: ret i32 %call1 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define dso_local void @hllSparseRegHisto(ptr noundef readonly %sparse, i32 noundef %sparselen, ptr noundef writeonly %invalid, ptr nocapture noundef %reghisto) local_unnamed_addr #1 { entry: %idx.ext = sext i32 %sparselen to i64 @@ -1610,8 +1610,8 @@ if.end36: ; preds = %if.then35, %while.e ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define dso_local void @hllRawRegHisto(ptr nocapture noundef readonly %registers, ptr nocapture noundef %reghisto) local_unnamed_addr #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define dso_local void @hllRawRegHisto(ptr nocapture noundef readonly %registers, ptr nocapture noundef %reghisto) local_unnamed_addr #1 { entry: br label %for.body @@ -1692,7 +1692,7 @@ for.end: ; preds = %if.end } ; Function Attrs: nofree norecurse nosync nounwind memory(none) uwtable -define dso_local double @hllSigma(double noundef %x) local_unnamed_addr #9 { +define dso_local double @hllSigma(double noundef %x) local_unnamed_addr #8 { entry: %cmp = fcmp oeq double %x, 1.000000e+00 br i1 %cmp, label %return, label %do.body @@ -1713,10 +1713,10 @@ return: ; preds = %do.body, %entry } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare double @llvm.fmuladd.f64(double, double, double) #10 +declare double @llvm.fmuladd.f64(double, double, double) #9 ; Function Attrs: nofree nounwind memory(write) uwtable -define dso_local double @hllTau(double noundef %x) local_unnamed_addr #11 { +define dso_local double @hllTau(double noundef %x) local_unnamed_addr #10 { entry: %cmp = fcmp oeq double %x, 0.000000e+00 %cmp1 = fcmp oeq double %x, 1.000000e+00 @@ -1750,7 +1750,7 @@ return: ; preds = %entry, %do.end } ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) -declare double @sqrt(double noundef) local_unnamed_addr #12 +declare double @sqrt(double noundef) local_unnamed_addr #11 ; Function Attrs: nounwind uwtable define dso_local i64 @hllCount(ptr noundef readonly %hdr, ptr noundef writeonly %invalid) local_unnamed_addr #3 { @@ -2037,12 +2037,12 @@ hllSigma.exit: ; preds = %do.body.i29, %for.e } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #13 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #12 declare void @_serverPanic(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #5 ; Function Attrs: nounwind -declare i64 @llroundl(x86_fp80 noundef) local_unnamed_addr #14 +declare i64 @llroundl(x86_fp80 noundef) local_unnamed_addr #13 ; Function Attrs: nounwind uwtable define dso_local i32 @hllAdd(ptr nocapture noundef %o, ptr noundef %ele, i64 noundef %elesize) local_unnamed_addr #3 { @@ -2122,7 +2122,7 @@ return: ; preds = %entry, %sw.bb1, %hl } ; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define dso_local range(i32 -1, 1) i32 @hllMerge(ptr nocapture noundef %max, ptr nocapture noundef readonly %hll) local_unnamed_addr #1 { +define dso_local range(i32 -1, 1) i32 @hllMerge(ptr nocapture noundef %max, ptr nocapture noundef readonly %hll) local_unnamed_addr #14 { entry: %ptr = getelementptr inbounds i8, ptr %hll, i64 8 %0 = load ptr, ptr %ptr, align 8 @@ -3225,12 +3225,12 @@ if.end147: ; preds = %cleanup.thread67, % } ; Function Attrs: nounwind -declare i32 @rand() local_unnamed_addr #14 +declare i32 @rand() local_unnamed_addr #13 declare void @addReplyErrorFormat(ptr noundef, ptr noundef, ...) local_unnamed_addr #5 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare double @llvm.ceil.f64(double) #10 +declare double @llvm.ceil.f64(double) #9 declare void @decrRefCount(ptr noundef) local_unnamed_addr #5 @@ -3552,21 +3552,21 @@ declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #17 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.abs.i64(i64, i1 immarg) #16 -attributes #0 = { 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 #1 = { 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 #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { "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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #7 = { noreturn 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 #8 = { 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 #9 = { nofree norecurse nosync nounwind 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 #10 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #11 = { nofree nounwind memory(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 #12 = { 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 #13 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #14 = { 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 #8 = { nofree norecurse nosync nounwind 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 #9 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #10 = { nofree nounwind memory(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 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 #12 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #13 = { 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 #14 = { 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 #15 = { mustprogress nofree nounwind willreturn memory(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 #16 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #17 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } diff --git a/bench/ripgrep-rs/optimized/20vllb8f66lp502b.ll b/bench/ripgrep-rs/optimized/20vllb8f66lp502b.ll index 102652a3937..039b19593b6 100644 --- a/bench/ripgrep-rs/optimized/20vllb8f66lp502b.ll +++ b/bench/ripgrep-rs/optimized/20vllb8f66lp502b.ll @@ -61,7 +61,7 @@ define hidden void @"_ZN111_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloc..vec.. 20: ; preds = %"_ZN5alloc3vec16Vec$LT$T$C$A$GT$14extend_trusted17hb73fd55a596e34bfE.exit.i", %17 %21 = landingpad { ptr, i32 } cleanup - invoke void @"_ZN4core3ptr70drop_in_place$LT$alloc..vec..Vec$LT$$RF$regex_syntax..hir..Hir$GT$$GT$17h27de0667df8eb529E"(ptr noalias noundef nonnull align 8 dereferenceable(24) %5) #21 + invoke void @"_ZN4core3ptr70drop_in_place$LT$alloc..vec..Vec$LT$$RF$regex_syntax..hir..Hir$GT$$GT$17h27de0667df8eb529E"(ptr noalias noundef nonnull align 8 dereferenceable(24) %5) #22 to label %25 unwind label %23 22: ; preds = %"_ZN5alloc3vec16Vec$LT$T$C$A$GT$14extend_trusted17hb73fd55a596e34bfE.exit.i" @@ -73,7 +73,7 @@ define hidden void @"_ZN111_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloc..vec.. 23: ; preds = %20 %24 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17h76c6e1c84248d3ffE() #22 + call void @_ZN4core9panicking16panic_in_cleanup17h76c6e1c84248d3ffE() #23 unreachable 25: ; preds = %20 @@ -303,8 +303,8 @@ _ZN4core4hash6Hasher19write_length_prefix17h2daf303c2b01a965E.llvm.1408189901302 ret i64 %.0 } -; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable -define hidden noundef i64 @_ZN4core4hash11BuildHasher8hash_one17hafd0714c8bd2f965E(ptr noalias nocapture noundef nonnull readonly align 1 %0, ptr noalias noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #1 personality ptr @rust_eh_personality { +; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: read, inaccessiblemem: readwrite) uwtable +define hidden noundef i64 @_ZN4core4hash11BuildHasher8hash_one17hafd0714c8bd2f965E(ptr noalias nocapture noundef nonnull readonly align 1 %0, ptr noalias noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #2 personality ptr @rust_eh_personality { %4 = alloca [8 x i8], align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !83) call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4), !noalias !86 @@ -345,8 +345,8 @@ _ZN4core4hash6Hasher19write_length_prefix17h2daf303c2b01a965E.llvm.1408189901302 ret i64 %.0 } -; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN4core4hash5impls49_$LT$impl$u20$core..hash..Hash$u20$for$u20$u8$GT$10hash_slice17h0600802104ac604aE.llvm.1408189901302408350"(ptr noalias noundef nonnull readonly align 1 %0, i64 noundef %1, ptr noalias nocapture noundef align 8 dereferenceable(8) %2) unnamed_addr #2 { +; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable +define hidden void @"_ZN4core4hash5impls49_$LT$impl$u20$core..hash..Hash$u20$for$u20$u8$GT$10hash_slice17h0600802104ac604aE.llvm.1408189901302408350"(ptr noalias noundef nonnull readonly align 1 %0, i64 noundef %1, ptr noalias nocapture noundef align 8 dereferenceable(8) %2) unnamed_addr #3 { tail call void @llvm.experimental.noalias.scope.decl(metadata !108) tail call void @llvm.experimental.noalias.scope.decl(metadata !111) %4 = getelementptr inbounds i8, ptr %0, i64 %1 @@ -377,7 +377,7 @@ define hidden void @"_ZN4core4hash5impls49_$LT$impl$u20$core..hash..Hash$u20$for } ; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN4core4hash5impls52_$LT$impl$u20$core..hash..Hash$u20$for$u20$$RF$T$GT$4hash17h092e98ee5cb71b3dE.llvm.1408189901302408350"(ptr noalias nocapture noundef readonly align 8 dereferenceable(8) %0, ptr noalias nocapture noundef align 8 dereferenceable(8) %1) unnamed_addr #2 { +define hidden void @"_ZN4core4hash5impls52_$LT$impl$u20$core..hash..Hash$u20$for$u20$$RF$T$GT$4hash17h092e98ee5cb71b3dE.llvm.1408189901302408350"(ptr noalias nocapture noundef readonly align 8 dereferenceable(8) %0, ptr noalias nocapture noundef align 8 dereferenceable(8) %1) unnamed_addr #4 { %3 = alloca [8 x i8], align 8 %4 = load ptr, ptr %0, align 8, !nonnull !16, !align !23, !noundef !16 tail call void @llvm.experimental.noalias.scope.decl(metadata !113) @@ -438,7 +438,7 @@ _ZN4core4hash6Hasher19write_length_prefix17h2daf303c2b01a965E.llvm.1408189901302 } ; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN4core4hash5impls52_$LT$impl$u20$core..hash..Hash$u20$for$u20$$RF$T$GT$4hash17hb91c32aefec8fe7eE.llvm.1408189901302408350"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, ptr noalias nocapture noundef align 8 dereferenceable(8) %1) unnamed_addr #2 { +define hidden void @"_ZN4core4hash5impls52_$LT$impl$u20$core..hash..Hash$u20$for$u20$$RF$T$GT$4hash17hb91c32aefec8fe7eE.llvm.1408189901302408350"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, ptr noalias nocapture noundef align 8 dereferenceable(8) %1) unnamed_addr #4 { %3 = alloca [8 x i8], align 8 %4 = load ptr, ptr %0, align 8, !nonnull !16, !align !147, !noundef !16 %5 = getelementptr inbounds i8, ptr %0, i64 8 @@ -496,8 +496,8 @@ _ZN4core4hash6Hasher19write_length_prefix17h2daf303c2b01a965E.llvm.1408189901302 ret void } -; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN4core4hash5impls58_$LT$impl$u20$core..hash..Hash$u20$for$u20$$u5b$T$u5d$$GT$4hash17ha42b859270be4ff0E.llvm.1408189901302408350"(ptr noalias noundef nonnull readonly align 1 %0, i64 noundef %1, ptr noalias nocapture noundef align 8 dereferenceable(8) %2) unnamed_addr #2 { +; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable +define hidden void @"_ZN4core4hash5impls58_$LT$impl$u20$core..hash..Hash$u20$for$u20$$u5b$T$u5d$$GT$4hash17ha42b859270be4ff0E.llvm.1408189901302408350"(ptr noalias noundef nonnull readonly align 1 %0, i64 noundef %1, ptr noalias nocapture noundef align 8 dereferenceable(8) %2) unnamed_addr #3 { %4 = alloca [8 x i8], align 8 tail call void @llvm.experimental.noalias.scope.decl(metadata !180) tail call void @llvm.experimental.noalias.scope.decl(metadata !183) @@ -617,12 +617,12 @@ define hidden void @"_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$15copy_from_sl ret void 7: ; preds = %5 - tail call void @"_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$15copy_from_slice17len_mismatch_fail17h7c1b0c97bc5cd9c2E"(i64 noundef %1, i64 noundef %3, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %4) #23 + tail call void @"_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$15copy_from_slice17len_mismatch_fail17h7c1b0c97bc5cd9c2E"(i64 noundef %1, i64 noundef %3, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %4) #24 unreachable } ; Function Attrs: alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden { ptr, i64 } @"_ZN4core5slice4iter13Iter$LT$T$GT$10make_slice17h0280e245eba832b6E.llvm.1408189901302408350"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0) unnamed_addr #4 { +define hidden { ptr, i64 } @"_ZN4core5slice4iter13Iter$LT$T$GT$10make_slice17h0280e245eba832b6E.llvm.1408189901302408350"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0) unnamed_addr #5 { %2 = load ptr, ptr %0, align 8, !nonnull !16, !noundef !16 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !nonnull !16, !noundef !16 @@ -636,7 +636,7 @@ define hidden { ptr, i64 } @"_ZN4core5slice4iter13Iter$LT$T$GT$10make_slice17h02 } ; Function Attrs: alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden { ptr, i64 } @"_ZN4core5slice4iter13Iter$LT$T$GT$10make_slice17hea12843df8ecb004E.llvm.1408189901302408350"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0) unnamed_addr #4 { +define hidden { ptr, i64 } @"_ZN4core5slice4iter13Iter$LT$T$GT$10make_slice17hea12843df8ecb004E.llvm.1408189901302408350"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0) unnamed_addr #5 { %2 = load ptr, ptr %0, align 8, !nonnull !16, !noundef !16 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !nonnull !16, !noundef !16 @@ -649,19 +649,19 @@ define hidden { ptr, i64 } @"_ZN4core5slice4iter13Iter$LT$T$GT$10make_slice17hea } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden { i64, i64 } @"_ZN4core6result19Result$LT$T$C$E$GT$7map_err17h0839520e8569b23aE.llvm.1408189901302408350"(i64 noundef %0, i64 %1) unnamed_addr #5 { +define hidden { i64, i64 } @"_ZN4core6result19Result$LT$T$C$E$GT$7map_err17h0839520e8569b23aE.llvm.1408189901302408350"(i64 noundef %0, i64 %1) unnamed_addr #6 { %3 = insertvalue { i64, i64 } poison, i64 %0, 0 %4 = insertvalue { i64, i64 } %3, i64 %1, 1 ret { i64, i64 } %4 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN51_$LT$T$u20$as$u20$core..borrow..Borrow$LT$T$GT$$GT$6borrow17h3c2a6a8d67683ce5E.llvm.1408189901302408350"(ptr noalias noundef readonly returned align 8 dereferenceable(24) %0) unnamed_addr #6 { +define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN51_$LT$T$u20$as$u20$core..borrow..Borrow$LT$T$GT$$GT$6borrow17h3c2a6a8d67683ce5E.llvm.1408189901302408350"(ptr noalias noundef readonly returned align 8 dereferenceable(24) %0) unnamed_addr #7 { ret ptr %0 } ; Function Attrs: mustprogress nofree nounwind nonlazybind willreturn memory(read, inaccessiblemem: readwrite) uwtable -define hidden noundef zeroext i1 @"_ZN52_$LT$Q$u20$as$u20$hashbrown..Equivalent$LT$K$GT$$GT$10equivalent17hbe3a1886fba9f2edE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #7 { +define hidden noundef zeroext i1 @"_ZN52_$LT$Q$u20$as$u20$hashbrown..Equivalent$LT$K$GT$$GT$10equivalent17hbe3a1886fba9f2edE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #8 { tail call void @llvm.experimental.noalias.scope.decl(metadata !219) tail call void @llvm.experimental.noalias.scope.decl(metadata !222) %3 = getelementptr inbounds i8, ptr %0, i64 16 @@ -686,7 +686,7 @@ define hidden noundef zeroext i1 @"_ZN52_$LT$Q$u20$as$u20$hashbrown..Equivalent$ } ; Function Attrs: inlinehint nonlazybind uwtable -define hidden void @"_ZN52_$LT$T$u20$as$u20$alloc..slice..hack..ConvertVec$GT$6to_vec17h19b01107c03c9e5aE.llvm.1408189901302408350"(ptr noalias nocapture noundef writeonly sret({ { i64, ptr, {} }, i64 }) align 8 dereferenceable(24) %0, ptr noalias noundef nonnull readonly align 8 %1, i64 noundef %2) unnamed_addr #8 personality ptr @rust_eh_personality { +define hidden void @"_ZN52_$LT$T$u20$as$u20$alloc..slice..hack..ConvertVec$GT$6to_vec17h19b01107c03c9e5aE.llvm.1408189901302408350"(ptr noalias nocapture noundef writeonly sret({ { i64, ptr, {} }, i64 }) align 8 dereferenceable(24) %0, ptr noalias noundef nonnull readonly align 8 %1, i64 noundef %2) unnamed_addr #9 personality ptr @rust_eh_personality { %4 = alloca { { i64, ptr, {} }, i64 }, align 8 %.sroa.06.i.i = alloca [3 x i64], align 8 %5 = alloca { { i64, ptr, {} }, i64 }, align 8 @@ -852,14 +852,14 @@ define hidden void @"_ZN52_$LT$T$u20$as$u20$alloc..slice..hack..ConvertVec$GT$6t 71: ; preds = %73 %72 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17h76c6e1c84248d3ffE() #22, !noalias !256 + call void @_ZN4core9panicking16panic_in_cleanup17h76c6e1c84248d3ffE() #23, !noalias !256 unreachable 73: ; preds = %61 %lpad.loopexit = landingpad { ptr, i32 } cleanup store i64 %.sroa.737.080, ptr %15, align 8, !noalias !256 - invoke void @"_ZN4core3ptr65drop_in_place$LT$alloc..vec..Vec$LT$globset..glob..Tokens$GT$$GT$17hd37ad3e6b7fa4c61E"(ptr noalias noundef nonnull align 8 dereferenceable(24) %5) #21 + invoke void @"_ZN4core3ptr65drop_in_place$LT$alloc..vec..Vec$LT$globset..glob..Tokens$GT$$GT$17hd37ad3e6b7fa4c61E"(ptr noalias noundef nonnull align 8 dereferenceable(24) %5) #22 to label %79 unwind label %71, !noalias !256 .noexc13.loopexit: ; preds = %.lr.ph, %66 @@ -906,13 +906,13 @@ define hidden void @"_ZN52_$LT$T$u20$as$u20$alloc..slice..hack..ConvertVec$GT$6t 77: ; preds = %79 %78 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17h76c6e1c84248d3ffE() #22 + call void @_ZN4core9panicking16panic_in_cleanup17h76c6e1c84248d3ffE() #23 unreachable 79: ; preds = %.loopexit60, %73 %eh.lpad-body = phi { ptr, i32 } [ %lpad.loopexit, %73 ], [ %lpad.loopexit62, %.loopexit60 ] store i64 %.sroa.7.088, ptr %11, align 8 - invoke void @"_ZN4core3ptr64drop_in_place$LT$alloc..vec..Vec$LT$globset..glob..Token$GT$$GT$17h140e2789a73e0b37E"(ptr noalias noundef nonnull align 8 dereferenceable(24) %6) #21 + invoke void @"_ZN4core3ptr64drop_in_place$LT$alloc..vec..Vec$LT$globset..glob..Token$GT$$GT$17h140e2789a73e0b37E"(ptr noalias noundef nonnull align 8 dereferenceable(24) %6) #22 to label %80 unwind label %77 80: ; preds = %79 @@ -920,7 +920,7 @@ define hidden void @"_ZN52_$LT$T$u20$as$u20$alloc..slice..hack..ConvertVec$GT$6t } ; Function Attrs: inlinehint nonlazybind uwtable -define hidden void @"_ZN52_$LT$T$u20$as$u20$alloc..slice..hack..ConvertVec$GT$6to_vec17h2b25d476089bd2f0E.llvm.1408189901302408350"(ptr noalias nocapture noundef writeonly sret({ { i64, ptr, {} }, i64 }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #8 { +define hidden void @"_ZN52_$LT$T$u20$as$u20$alloc..slice..hack..ConvertVec$GT$6to_vec17h2b25d476089bd2f0E.llvm.1408189901302408350"(ptr noalias nocapture noundef writeonly sret({ { i64, ptr, {} }, i64 }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #9 { %4 = tail call { i64, ptr } @"_ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$11allocate_in17h504aeed381656eecE"(i64 noundef %2, i1 noundef zeroext false) %5 = extractvalue { i64, ptr } %4, 0 %6 = extractvalue { i64, ptr } %4, 1 @@ -936,12 +936,12 @@ define hidden void @"_ZN52_$LT$T$u20$as$u20$alloc..slice..hack..ConvertVec$GT$6t } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden void @"_ZN59_$LT$alloc..alloc..Global$u20$as$u20$core..clone..Clone$GT$5clone17h1ec69adfbb753ae1E.llvm.1408189901302408350"(ptr noalias nocapture noundef nonnull readonly align 1 %0) unnamed_addr #5 { +define hidden void @"_ZN59_$LT$alloc..alloc..Global$u20$as$u20$core..clone..Clone$GT$5clone17h1ec69adfbb753ae1E.llvm.1408189901302408350"(ptr noalias nocapture noundef nonnull readonly align 1 %0) unnamed_addr #6 { ret void } ; Function Attrs: inlinehint mustprogress nofree nounwind nonlazybind willreturn memory(read, inaccessiblemem: none) uwtable -define hidden noundef zeroext i1 @"_ZN5alloc3vec10partial_eq117_$LT$impl$u20$core..cmp..PartialEq$LT$alloc..vec..Vec$LT$U$C$A2$GT$$GT$$u20$for$u20$alloc..vec..Vec$LT$T$C$A1$GT$$GT$2eq17h66b5f2af20e0fffdE.llvm.1408189901302408350"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #9 { +define hidden noundef zeroext i1 @"_ZN5alloc3vec10partial_eq117_$LT$impl$u20$core..cmp..PartialEq$LT$alloc..vec..Vec$LT$U$C$A2$GT$$GT$$u20$for$u20$alloc..vec..Vec$LT$T$C$A1$GT$$GT$2eq17h66b5f2af20e0fffdE.llvm.1408189901302408350"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #10 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load i64, ptr %3, align 8, !noundef !16 %5 = getelementptr inbounds i8, ptr %1, i64 16 @@ -980,12 +980,12 @@ define hidden void @"_ZN5alloc3vec16Vec$LT$T$C$A$GT$13shrink_to_fit17h157adc53d9 ] 9: ; preds = %6 - tail call void @_ZN5alloc7raw_vec17capacity_overflow17h2434c0983b86c347E() #23 + tail call void @_ZN5alloc7raw_vec17capacity_overflow17h2434c0983b86c347E() #24 unreachable 10: ; preds = %6 %11 = extractvalue { i64, i64 } %7, 1 - tail call void @_ZN5alloc5alloc18handle_alloc_error17h836e982fea7018bdE(i64 noundef %8, i64 noundef %11) #23 + tail call void @_ZN5alloc5alloc18handle_alloc_error17h836e982fea7018bdE(i64 noundef %8, i64 noundef %11) #24 unreachable _ZN5alloc7raw_vec14handle_reserve17hbe02af521469e2d1E.llvm.1408189901302408350.exit: ; preds = %6, %1 @@ -1009,12 +1009,12 @@ define hidden void @"_ZN5alloc3vec16Vec$LT$T$C$A$GT$13shrink_to_fit17h218310edd3 ] 9: ; preds = %6 - tail call void @_ZN5alloc7raw_vec17capacity_overflow17h2434c0983b86c347E() #23 + tail call void @_ZN5alloc7raw_vec17capacity_overflow17h2434c0983b86c347E() #24 unreachable 10: ; preds = %6 %11 = extractvalue { i64, i64 } %7, 1 - tail call void @_ZN5alloc5alloc18handle_alloc_error17h836e982fea7018bdE(i64 noundef %8, i64 noundef %11) #23 + tail call void @_ZN5alloc5alloc18handle_alloc_error17h836e982fea7018bdE(i64 noundef %8, i64 noundef %11) #24 unreachable _ZN5alloc7raw_vec14handle_reserve17hbe02af521469e2d1E.llvm.1408189901302408350.exit: ; preds = %6, %1 @@ -1038,12 +1038,12 @@ define hidden void @"_ZN5alloc3vec16Vec$LT$T$C$A$GT$13shrink_to_fit17h668a9b14ce ] 9: ; preds = %6 - tail call void @_ZN5alloc7raw_vec17capacity_overflow17h2434c0983b86c347E() #23 + tail call void @_ZN5alloc7raw_vec17capacity_overflow17h2434c0983b86c347E() #24 unreachable 10: ; preds = %6 %11 = extractvalue { i64, i64 } %7, 1 - tail call void @_ZN5alloc5alloc18handle_alloc_error17h836e982fea7018bdE(i64 noundef %8, i64 noundef %11) #23 + tail call void @_ZN5alloc5alloc18handle_alloc_error17h836e982fea7018bdE(i64 noundef %8, i64 noundef %11) #24 unreachable _ZN5alloc7raw_vec14handle_reserve17hbe02af521469e2d1E.llvm.1408189901302408350.exit: ; preds = %6, %1 @@ -1067,12 +1067,12 @@ define hidden void @"_ZN5alloc3vec16Vec$LT$T$C$A$GT$13shrink_to_fit17hb973f17375 ] 9: ; preds = %6 - tail call void @_ZN5alloc7raw_vec17capacity_overflow17h2434c0983b86c347E() #23 + tail call void @_ZN5alloc7raw_vec17capacity_overflow17h2434c0983b86c347E() #24 unreachable 10: ; preds = %6 %11 = extractvalue { i64, i64 } %7, 1 - tail call void @_ZN5alloc5alloc18handle_alloc_error17h836e982fea7018bdE(i64 noundef %8, i64 noundef %11) #23 + tail call void @_ZN5alloc5alloc18handle_alloc_error17h836e982fea7018bdE(i64 noundef %8, i64 noundef %11) #24 unreachable _ZN5alloc7raw_vec14handle_reserve17hbe02af521469e2d1E.llvm.1408189901302408350.exit: ; preds = %6, %1 @@ -1096,12 +1096,12 @@ define hidden void @"_ZN5alloc3vec16Vec$LT$T$C$A$GT$13shrink_to_fit17hd1eeb61a0a ] 9: ; preds = %6 - tail call void @_ZN5alloc7raw_vec17capacity_overflow17h2434c0983b86c347E() #23 + tail call void @_ZN5alloc7raw_vec17capacity_overflow17h2434c0983b86c347E() #24 unreachable 10: ; preds = %6 %11 = extractvalue { i64, i64 } %7, 1 - tail call void @_ZN5alloc5alloc18handle_alloc_error17h836e982fea7018bdE(i64 noundef %8, i64 noundef %11) #23 + tail call void @_ZN5alloc5alloc18handle_alloc_error17h836e982fea7018bdE(i64 noundef %8, i64 noundef %11) #24 unreachable _ZN5alloc7raw_vec14handle_reserve17hbe02af521469e2d1E.llvm.1408189901302408350.exit: ; preds = %6, %1 @@ -1194,7 +1194,7 @@ define hidden void @"_ZN5alloc3vec16Vec$LT$T$C$A$GT$7reserve17ha54154e5a6dbbbe1E } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @"_ZN5alloc3vec16Vec$LT$T$C$A$GT$8dedup_by17h512738fb60b28d9dE"(ptr noalias nocapture noundef align 8 dereferenceable(24) %0) unnamed_addr #10 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc3vec16Vec$LT$T$C$A$GT$8dedup_by17h512738fb60b28d9dE"(ptr noalias nocapture noundef align 8 dereferenceable(24) %0) unnamed_addr #11 personality ptr @rust_eh_personality { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load i64, ptr %2, align 8, !noundef !16 %4 = icmp ult i64 %3, 2 @@ -1255,7 +1255,7 @@ define hidden void @"_ZN5alloc3vec16Vec$LT$T$C$A$GT$8dedup_by17h512738fb60b28d9d } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable -define hidden void @"_ZN5alloc3vec16Vec$LT$T$C$A$GT$8truncate17h38797a4cc0b0cb93E"(ptr noalias nocapture noundef align 8 dereferenceable(24) %0, i64 noundef %1) unnamed_addr #11 { +define hidden void @"_ZN5alloc3vec16Vec$LT$T$C$A$GT$8truncate17h38797a4cc0b0cb93E"(ptr noalias nocapture noundef align 8 dereferenceable(24) %0, i64 noundef %1) unnamed_addr #12 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load i64, ptr %3, align 8, !noundef !16 %5 = icmp ult i64 %4, %1 @@ -1270,7 +1270,7 @@ define hidden void @"_ZN5alloc3vec16Vec$LT$T$C$A$GT$8truncate17h38797a4cc0b0cb93 } ; Function Attrs: inlinehint nonlazybind uwtable -define hidden void @_ZN5alloc7raw_vec14handle_reserve17hbe02af521469e2d1E.llvm.1408189901302408350(i64 noundef %0, i64 %1) unnamed_addr #8 { +define hidden void @_ZN5alloc7raw_vec14handle_reserve17hbe02af521469e2d1E.llvm.1408189901302408350(i64 noundef %0, i64 %1) unnamed_addr #9 { switch i64 %0, label %5 [ i64 -9223372036854775807, label %3 i64 0, label %4 @@ -1280,23 +1280,23 @@ define hidden void @_ZN5alloc7raw_vec14handle_reserve17hbe02af521469e2d1E.llvm.1 ret void 4: ; preds = %2 - tail call void @_ZN5alloc7raw_vec17capacity_overflow17h2434c0983b86c347E() #23 + tail call void @_ZN5alloc7raw_vec17capacity_overflow17h2434c0983b86c347E() #24 unreachable 5: ; preds = %2 - tail call void @_ZN5alloc5alloc18handle_alloc_error17h836e982fea7018bdE(i64 noundef %0, i64 noundef %1) #23 + tail call void @_ZN5alloc5alloc18handle_alloc_error17h836e982fea7018bdE(i64 noundef %0, i64 noundef %1) #24 unreachable } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden { i64, i64 } @"_ZN5alloc7raw_vec14handle_reserve28_$u7b$$u7b$closure$u7d$$u7d$17h002fa7d0da94e38fE.llvm.1408189901302408350"(i64 noundef %0, i64 %1) unnamed_addr #5 { +define hidden { i64, i64 } @"_ZN5alloc7raw_vec14handle_reserve28_$u7b$$u7b$closure$u7d$$u7d$17h002fa7d0da94e38fE.llvm.1408189901302408350"(i64 noundef %0, i64 %1) unnamed_addr #6 { %3 = insertvalue { i64, i64 } poison, i64 %0, 0 %4 = insertvalue { i64, i64 } %3, i64 %1, 1 ret { i64, i64 } %4 } ; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN65_$LT$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..hash..Hash$GT$4hash17h01cee9e83eca3374E.llvm.1408189901302408350"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0, ptr noalias nocapture noundef align 8 dereferenceable(8) %1) unnamed_addr #2 { +define hidden void @"_ZN65_$LT$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..hash..Hash$GT$4hash17h01cee9e83eca3374E.llvm.1408189901302408350"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0, ptr noalias nocapture noundef align 8 dereferenceable(8) %1) unnamed_addr #4 { %3 = alloca [8 x i8], align 8 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !nonnull !16, !noundef !16 @@ -1385,7 +1385,7 @@ define hidden void @"_ZN67_$LT$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..clo } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @"_ZN83_$LT$core..hash..BuildHasherDefault$LT$H$GT$$u20$as$u20$core..hash..BuildHasher$GT$12build_hasher17h57a0b308e4c7eb3bE.llvm.1408189901302408350"(ptr noalias nocapture noundef nonnull readonly align 1 %0) unnamed_addr #6 { +define hidden noundef i64 @"_ZN83_$LT$core..hash..BuildHasherDefault$LT$H$GT$$u20$as$u20$core..hash..BuildHasher$GT$12build_hasher17h57a0b308e4c7eb3bE.llvm.1408189901302408350"(ptr noalias nocapture noundef nonnull readonly align 1 %0) unnamed_addr #7 { ret i64 -3750763034362895579 } @@ -1437,13 +1437,13 @@ define hidden void @"_ZN98_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$alloc..vec..s 20: ; preds = %"_ZN5alloc3vec16Vec$LT$T$C$A$GT$14extend_trusted17hb73fd55a596e34bfE.exit.i.i", %17 %21 = landingpad { ptr, i32 } cleanup - invoke void @"_ZN4core3ptr70drop_in_place$LT$alloc..vec..Vec$LT$$RF$regex_syntax..hir..Hir$GT$$GT$17h27de0667df8eb529E"(ptr noalias noundef nonnull align 8 dereferenceable(24) %5) #21 + invoke void @"_ZN4core3ptr70drop_in_place$LT$alloc..vec..Vec$LT$$RF$regex_syntax..hir..Hir$GT$$GT$17h27de0667df8eb529E"(ptr noalias noundef nonnull align 8 dereferenceable(24) %5) #22 to label %24 unwind label %22, !noalias !299 22: ; preds = %20 %23 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17h76c6e1c84248d3ffE() #22, !noalias !299 + call void @_ZN4core9panicking16panic_in_cleanup17h76c6e1c84248d3ffE() #23, !noalias !299 unreachable 24: ; preds = %20 @@ -1463,13 +1463,13 @@ declare noundef i32 @rust_eh_personality(i32 noundef, i32 noundef, i64 noundef, declare hidden { i64, ptr } @"_ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$11allocate_in17h2d30999cdba6ff26E"(i64 noundef, i1 noundef zeroext) unnamed_addr #0 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #12 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #13 ; Function Attrs: cold noreturn nounwind nonlazybind uwtable -declare void @_ZN4core9panicking16panic_in_cleanup17h76c6e1c84248d3ffE() unnamed_addr #13 +declare void @_ZN4core9panicking16panic_in_cleanup17h76c6e1c84248d3ffE() unnamed_addr #14 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @"_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$15copy_from_slice17len_mismatch_fail17h7c1b0c97bc5cd9c2E"(i64 noundef, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #14 +declare void @"_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$15copy_from_slice17len_mismatch_fail17h7c1b0c97bc5cd9c2E"(i64 noundef, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #15 ; Function Attrs: nonlazybind uwtable declare hidden { i64, ptr } @"_ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$11allocate_in17h580c8b04d5eb67c3E"(i64 noundef, i1 noundef zeroext) unnamed_addr #0 @@ -1502,37 +1502,37 @@ declare hidden { i64, i64 } @"_ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$6shrink17hc9 declare hidden { i64, i64 } @_ZN4core5slice5index5range17hb0685d0ffbfdcdbaE(i64 noundef, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #0 ; Function Attrs: noreturn nonlazybind uwtable -declare void @_ZN5alloc7raw_vec17capacity_overflow17h2434c0983b86c347E() unnamed_addr #15 +declare void @_ZN5alloc7raw_vec17capacity_overflow17h2434c0983b86c347E() unnamed_addr #16 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN5alloc5alloc18handle_alloc_error17h836e982fea7018bdE(i64 noundef, i64 noundef) unnamed_addr #14 +declare void @_ZN5alloc5alloc18handle_alloc_error17h836e982fea7018bdE(i64 noundef, i64 noundef) unnamed_addr #15 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #16 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #17 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #16 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #17 ; Function Attrs: inlinehint nonlazybind uwtable -declare hidden noundef align 4 dereferenceable_or_null(8) ptr @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h26515cf5fb12a580E.llvm.7666408431565956165"(ptr noalias noundef align 8 dereferenceable(16)) unnamed_addr #8 +declare hidden noundef align 4 dereferenceable_or_null(8) ptr @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h26515cf5fb12a580E.llvm.7666408431565956165"(ptr noalias noundef align 8 dereferenceable(16)) unnamed_addr #9 ; Function Attrs: nonlazybind uwtable declare noundef align 8 dereferenceable(16) ptr @_ZN4core3fmt8builders9DebugList5entry17h6a4bfbf11826c806E(ptr noalias noundef align 8 dereferenceable(16), ptr noundef nonnull align 1, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #0 ; Function Attrs: inlinehint nonlazybind uwtable -declare hidden noundef align 8 dereferenceable_or_null(32) ptr @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hae95074b2042d8eaE.llvm.7666408431565956165"(ptr noalias noundef align 8 dereferenceable(16)) unnamed_addr #8 +declare hidden noundef align 8 dereferenceable_or_null(32) ptr @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hae95074b2042d8eaE.llvm.7666408431565956165"(ptr noalias noundef align 8 dereferenceable(16)) unnamed_addr #9 ; Function Attrs: inlinehint nonlazybind uwtable -declare hidden noundef align 8 dereferenceable_or_null(24) ptr @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h7f3bae71b3475ce4E.llvm.7666408431565956165"(ptr noalias noundef align 8 dereferenceable(16)) unnamed_addr #8 +declare hidden noundef align 8 dereferenceable_or_null(24) ptr @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h7f3bae71b3475ce4E.llvm.7666408431565956165"(ptr noalias noundef align 8 dereferenceable(16)) unnamed_addr #9 ; Function Attrs: inlinehint nonlazybind uwtable -declare hidden void @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4fold17h634f8de3a3368414E.llvm.17903458067552599651"(ptr noundef nonnull, ptr noundef, ptr noalias nocapture noundef align 8 dereferenceable(24)) unnamed_addr #8 +declare hidden void @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4fold17h634f8de3a3368414E.llvm.17903458067552599651"(ptr noundef nonnull, ptr noundef, ptr noalias nocapture noundef align 8 dereferenceable(24)) unnamed_addr #9 ; Function Attrs: nonlazybind uwtable declare hidden void @"_ZN4core3ptr65drop_in_place$LT$alloc..vec..Vec$LT$globset..glob..Tokens$GT$$GT$17hd37ad3e6b7fa4c61E"(ptr noalias noundef align 8 dereferenceable(24)) unnamed_addr #0 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #17 +declare void @llvm.assume(i1 noundef) #18 ; Function Attrs: nonlazybind uwtable declare hidden void @"_ZN4core3ptr64drop_in_place$LT$alloc..vec..Vec$LT$globset..glob..Token$GT$$GT$17h140e2789a73e0b37E"(ptr noalias noundef align 8 dereferenceable(24)) unnamed_addr #0 @@ -1541,13 +1541,13 @@ declare hidden void @"_ZN4core3ptr64drop_in_place$LT$alloc..vec..Vec$LT$globset. declare hidden void @"_ZN4core3ptr70drop_in_place$LT$alloc..vec..Vec$LT$$RF$regex_syntax..hir..Hir$GT$$GT$17h27de0667df8eb529E"(ptr noalias noundef align 8 dereferenceable(24)) unnamed_addr #0 ; Function Attrs: cold nonlazybind uwtable -declare hidden void @"_ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$7reserve21do_reserve_and_handle17haef4c475324e5683E"(ptr noalias noundef align 8 dereferenceable(16), i64 noundef, i64 noundef) unnamed_addr #18 +declare hidden void @"_ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$7reserve21do_reserve_and_handle17haef4c475324e5683E"(ptr noalias noundef align 8 dereferenceable(16), i64 noundef, i64 noundef) unnamed_addr #19 ; Function Attrs: cold nonlazybind uwtable -declare hidden void @"_ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$7reserve21do_reserve_and_handle17hd8f02907808fe742E"(ptr noalias noundef align 8 dereferenceable(16), i64 noundef, i64 noundef) unnamed_addr #18 +declare hidden void @"_ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$7reserve21do_reserve_and_handle17hd8f02907808fe742E"(ptr noalias noundef align 8 dereferenceable(16), i64 noundef, i64 noundef) unnamed_addr #19 ; Function Attrs: cold nonlazybind uwtable -declare hidden void @"_ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$7reserve21do_reserve_and_handle17he3ed088f91c40dd7E"(ptr noalias noundef align 8 dereferenceable(16), i64 noundef, i64 noundef) unnamed_addr #18 +declare hidden void @"_ZN5alloc7raw_vec19RawVec$LT$T$C$A$GT$7reserve21do_reserve_and_handle17he3ed088f91c40dd7E"(ptr noalias noundef align 8 dereferenceable(16), i64 noundef, i64 noundef) unnamed_addr #19 ; Function Attrs: nonlazybind uwtable declare void @_ZN4core3fmt9Formatter10debug_list17h49c875ef35de4d8dE(ptr noalias nocapture noundef sret({ { ptr, i8, i8, [6 x i8] } }) align 8 dereferenceable(16), ptr noalias noundef align 8 dereferenceable(64)) unnamed_addr #0 @@ -1556,35 +1556,36 @@ declare void @_ZN4core3fmt9Formatter10debug_list17h49c875ef35de4d8dE(ptr noalias declare noundef zeroext i1 @_ZN4core3fmt8builders9DebugList6finish17h6a2ca9c452a62c72E(ptr noalias noundef align 8 dereferenceable(16)) unnamed_addr #0 ; Function Attrs: nofree nounwind nonlazybind willreturn memory(argmem: read) -declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #19 +declare i32 @bcmp(ptr nocapture, ptr nocapture, i64) local_unnamed_addr #20 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) -declare void @llvm.experimental.noalias.scope.decl(metadata) #20 +declare void @llvm.experimental.noalias.scope.decl(metadata) #21 attributes #0 = { nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #1 = { nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #2 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #2 = { nofree norecurse nosync nounwind nonlazybind memory(argmem: read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #3 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #4 = { alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #5 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #6 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #7 = { mustprogress nofree nounwind nonlazybind willreturn memory(read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #8 = { inlinehint nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #9 = { inlinehint mustprogress nofree nounwind nonlazybind willreturn memory(read, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #10 = { nofree norecurse nosync nounwind nonlazybind memory(readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #11 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #12 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #13 = { cold noreturn nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #14 = { cold noreturn nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #15 = { noreturn nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #16 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #17 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #18 = { cold nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #19 = { nofree nounwind nonlazybind willreturn memory(argmem: read) } -attributes #20 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } -attributes #21 = { cold } -attributes #22 = { cold noreturn nounwind } -attributes #23 = { noreturn } +attributes #4 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #5 = { alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #6 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #7 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #8 = { mustprogress nofree nounwind nonlazybind willreturn memory(read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #9 = { inlinehint nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #10 = { inlinehint mustprogress nofree nounwind nonlazybind willreturn memory(read, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #11 = { nofree norecurse nosync nounwind nonlazybind memory(readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #12 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #13 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #14 = { cold noreturn nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #15 = { cold noreturn nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #16 = { noreturn nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #17 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #18 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #19 = { cold nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #20 = { nofree nounwind nonlazybind willreturn memory(argmem: read) } +attributes #21 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } +attributes #22 = { cold } +attributes #23 = { cold noreturn nounwind } +attributes #24 = { noreturn } !llvm.module.flags = !{!0, !1, !2} !llvm.ident = !{!3} diff --git a/bench/ropey-rs/optimized/sjmtivrqc2m3vu9.ll b/bench/ropey-rs/optimized/sjmtivrqc2m3vu9.ll index 712b066283c..f0d1ccdc5e0 100644 --- a/bench/ropey-rs/optimized/sjmtivrqc2m3vu9.ll +++ b/bench/ropey-rs/optimized/sjmtivrqc2m3vu9.ll @@ -33,7 +33,7 @@ define hidden { ptr, i64 } @"_ZN110_$LT$core..ops..range..RangeFrom$LT$usize$GT$ ret { ptr, i64 } %10 11: ; preds = %4 - tail call void @_ZN4core5slice5index26slice_start_index_len_fail17h9fca8563b179f90fE(i64 noundef %0, i64 noundef %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %3) #18 + tail call void @_ZN4core5slice5index26slice_start_index_len_fail17h9fca8563b179f90fE(i64 noundef %0, i64 noundef %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %3) #17 unreachable } @@ -100,12 +100,12 @@ define hidden void @"_ZN133_$LT$smallvec..SmallVec$LT$A$GT$$u20$as$u20$core..ite br label %_ZN8smallvec10infallible17hac02ab9634219958E.exit "_ZN8smallvec17SmallVec$LT$A$GT$11try_reserve17h92d9c953f9ea6823E.exit.thread": ; preds = %22, %19, %"_ZN8smallvec17SmallVec$LT$A$GT$11try_reserve17h92d9c953f9ea6823E.exit" - tail call void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.9.llvm.16952314824741166450, i64 noundef 17, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.10.llvm.16952314824741166450) #18 + tail call void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.9.llvm.16952314824741166450, i64 noundef 17, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.10.llvm.16952314824741166450) #17 unreachable 33: ; preds = %"_ZN8smallvec17SmallVec$LT$A$GT$11try_reserve17h92d9c953f9ea6823E.exit" %34 = extractvalue { i64, i64 } %31, 1 - tail call void @_ZN5alloc5alloc18handle_alloc_error17hc735483c05842e7cE(i64 noundef %32, i64 noundef %34) #18 + tail call void @_ZN5alloc5alloc18handle_alloc_error17hc735483c05842e7cE(i64 noundef %32, i64 noundef %34) #17 unreachable _ZN8smallvec10infallible17hac02ab9634219958E.exit: ; preds = %"_ZN8smallvec17SmallVec$LT$A$GT$11try_reserve17h92d9c953f9ea6823E.exit._ZN8smallvec10infallible17hac02ab9634219958E.exit_crit_edge", %"_ZN8smallvec17SmallVec$LT$A$GT$10triple_mut17h071505bc27cf3d0bE.llvm.16952314824741166450.exit.i" @@ -332,7 +332,7 @@ define hidden noundef nonnull align 8 dereferenceable(8) ptr @"_ZN75_$LT$usize$u ret ptr %7 8: ; preds = %4 - tail call void @_ZN4core9panicking18panic_bounds_check17hd7e618b1b39cc1c3E(i64 noundef %0, i64 noundef %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %3) #18 + tail call void @_ZN4core9panicking18panic_bounds_check17hd7e618b1b39cc1c3E(i64 noundef %0, i64 noundef %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %3) #17 unreachable } @@ -346,7 +346,7 @@ define hidden noundef nonnull align 8 dereferenceable(8) ptr @"_ZN75_$LT$usize$u ret ptr %7 8: ; preds = %4 - tail call void @_ZN4core9panicking18panic_bounds_check17hd7e618b1b39cc1c3E(i64 noundef %0, i64 noundef %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %3) #18 + tail call void @_ZN4core9panicking18panic_bounds_check17hd7e618b1b39cc1c3E(i64 noundef %0, i64 noundef %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %3) #17 unreachable } @@ -378,7 +378,7 @@ define hidden noundef nonnull align 8 dereferenceable(8) ptr @"_ZN80_$LT$smallve br i1 %16, label %"_ZN75_$LT$usize$u20$as$u20$core..slice..index..SliceIndex$LT$$u5b$T$u5d$$GT$$GT$5index17hbeb9c33922d8d8bcE.llvm.16952314824741166450.exit", label %17, !prof !42 17: ; preds = %"_ZN8smallvec17SmallVec$LT$A$GT$6triple17hff352671a5492543E.llvm.16952314824741166450.exit" - tail call void @_ZN4core9panicking18panic_bounds_check17hd7e618b1b39cc1c3E(i64 noundef %1, i64 noundef %.sink7.i, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %2) #18, !noalias !49 + tail call void @_ZN4core9panicking18panic_bounds_check17hd7e618b1b39cc1c3E(i64 noundef %1, i64 noundef %.sink7.i, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %2) #17, !noalias !49 unreachable "_ZN75_$LT$usize$u20$as$u20$core..slice..index..SliceIndex$LT$$u5b$T$u5d$$GT$$GT$5index17hbeb9c33922d8d8bcE.llvm.16952314824741166450.exit": ; preds = %"_ZN8smallvec17SmallVec$LT$A$GT$6triple17hff352671a5492543E.llvm.16952314824741166450.exit" @@ -414,7 +414,7 @@ define hidden { ptr, i64 } @"_ZN80_$LT$smallvec..SmallVec$LT$A$GT$$u20$as$u20$co br i1 %16, label %17, label %"_ZN110_$LT$core..ops..range..RangeFrom$LT$usize$GT$$u20$as$u20$core..slice..index..SliceIndex$LT$$u5b$T$u5d$$GT$$GT$5index17h06e5dcfa222d39b0E.llvm.16952314824741166450.exit" 17: ; preds = %"_ZN8smallvec17SmallVec$LT$A$GT$6triple17h2f30d8a9bb127a1cE.llvm.16952314824741166450.exit" - tail call void @_ZN4core5slice5index26slice_start_index_len_fail17h9fca8563b179f90fE(i64 noundef %1, i64 noundef %.sink7.i, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %2) #18, !noalias !57 + tail call void @_ZN4core5slice5index26slice_start_index_len_fail17h9fca8563b179f90fE(i64 noundef %1, i64 noundef %.sink7.i, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %2) #17, !noalias !57 unreachable "_ZN110_$LT$core..ops..range..RangeFrom$LT$usize$GT$$u20$as$u20$core..slice..index..SliceIndex$LT$$u5b$T$u5d$$GT$$GT$5index17h06e5dcfa222d39b0E.llvm.16952314824741166450.exit": ; preds = %"_ZN8smallvec17SmallVec$LT$A$GT$6triple17h2f30d8a9bb127a1cE.llvm.16952314824741166450.exit" @@ -425,7 +425,7 @@ define hidden { ptr, i64 } @"_ZN80_$LT$smallvec..SmallVec$LT$A$GT$$u20$as$u20$co ret { ptr, i64 } %21 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(read, inaccessiblemem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable define hidden { ptr, i64 } @"_ZN83_$LT$smallvec..SmallVec$LT$A$GT$$u20$as$u20$core..ops..index..IndexMut$LT$I$GT$$GT$9index_mut17h06be1725db0fc6deE"(ptr noalias noundef align 8 dereferenceable(1000) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #3 personality ptr @rust_eh_personality { %3 = getelementptr inbounds i8, ptr %0, i64 992 %4 = load i64, ptr %3, align 8, !alias.scope !60, !noalias !63, !noundef !4 @@ -456,7 +456,7 @@ define hidden { ptr, i64 } @"_ZN83_$LT$smallvec..SmallVec$LT$A$GT$$u20$as$u20$co ret { ptr, i64 } %17 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(read, inaccessiblemem: write) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable define hidden { ptr, i64 } @"_ZN83_$LT$smallvec..SmallVec$LT$A$GT$$u20$as$u20$core..ops..index..IndexMut$LT$I$GT$$GT$9index_mut17h3a4086c11be748e6E"(ptr noalias noundef align 8 dereferenceable(48) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #3 personality ptr @rust_eh_personality { %3 = getelementptr inbounds i8, ptr %0, i64 40 %4 = load i64, ptr %3, align 8, !alias.scope !65, !noalias !68, !noundef !4 @@ -517,7 +517,7 @@ define hidden noundef nonnull align 8 dereferenceable(8) ptr @"_ZN83_$LT$smallve br i1 %17, label %"_ZN75_$LT$usize$u20$as$u20$core..slice..index..SliceIndex$LT$$u5b$T$u5d$$GT$$GT$9index_mut17h45ec3214435d9227E.llvm.16952314824741166450.exit", label %18, !prof !42 18: ; preds = %"_ZN8smallvec17SmallVec$LT$A$GT$10triple_mut17hc2d58eb60de132d3E.llvm.16952314824741166450.exit" - tail call void @_ZN4core9panicking18panic_bounds_check17hd7e618b1b39cc1c3E(i64 noundef %1, i64 noundef %16, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %2) #18, !noalias !75 + tail call void @_ZN4core9panicking18panic_bounds_check17hd7e618b1b39cc1c3E(i64 noundef %1, i64 noundef %16, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %2) #17, !noalias !75 unreachable "_ZN75_$LT$usize$u20$as$u20$core..slice..index..SliceIndex$LT$$u5b$T$u5d$$GT$$GT$9index_mut17h45ec3214435d9227E.llvm.16952314824741166450.exit": ; preds = %"_ZN8smallvec17SmallVec$LT$A$GT$10triple_mut17hc2d58eb60de132d3E.llvm.16952314824741166450.exit" @@ -536,11 +536,11 @@ define hidden void @_ZN8smallvec10infallible17hac02ab9634219958E(i64 noundef %0, ret void 4: ; preds = %2 - tail call void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.9.llvm.16952314824741166450, i64 noundef 17, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.10.llvm.16952314824741166450) #18 + tail call void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.9.llvm.16952314824741166450, i64 noundef 17, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.10.llvm.16952314824741166450) #17 unreachable 5: ; preds = %2 - tail call void @_ZN5alloc5alloc18handle_alloc_error17hc735483c05842e7cE(i64 noundef %0, i64 noundef %1) #18 + tail call void @_ZN5alloc5alloc18handle_alloc_error17hc735483c05842e7cE(i64 noundef %0, i64 noundef %1) #17 unreachable } @@ -709,11 +709,11 @@ _ZN8smallvec10infallible17hac02ab9634219958E.exit: ; preds = %18, %1, %_ZN8small store i64 0, ptr %2, align 8, !noalias !83 %17 = getelementptr inbounds i8, ptr %2, i64 8 store i64 %14, ptr %17, align 8, !noalias !83 - call void @_ZN4core6result13unwrap_failed17h82b551e0ff2b2176E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.1, i64 noundef 43, ptr noundef nonnull align 1 %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.8) #18, !noalias !83 + call void @_ZN4core6result13unwrap_failed17h82b551e0ff2b2176E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.1, i64 noundef 43, ptr noundef nonnull align 1 %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.8) #17, !noalias !83 unreachable _ZN8smallvec10deallocate17h8331b8735a47b8c8E.exit: ; preds = %11 - tail call void @__rust_dealloc(ptr noundef nonnull %13, i64 noundef %14, i64 noundef 1) #19 + tail call void @__rust_dealloc(ptr noundef nonnull %13, i64 noundef %14, i64 noundef 1) #18 store i64 %9, ptr %3, align 8 br label %_ZN8smallvec10infallible17hac02ab9634219958E.exit @@ -726,12 +726,12 @@ _ZN8smallvec10deallocate17h8331b8735a47b8c8E.exit: ; preds = %11 ] 21: ; preds = %18 - tail call void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.9.llvm.16952314824741166450, i64 noundef 17, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.10.llvm.16952314824741166450) #18 + tail call void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.9.llvm.16952314824741166450, i64 noundef 17, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.10.llvm.16952314824741166450) #17 unreachable 22: ; preds = %18 %23 = extractvalue { i64, i64 } %19, 1 - tail call void @_ZN5alloc5alloc18handle_alloc_error17hc735483c05842e7cE(i64 noundef %20, i64 noundef %23) #18 + tail call void @_ZN5alloc5alloc18handle_alloc_error17hc735483c05842e7cE(i64 noundef %20, i64 noundef %23) #17 unreachable } @@ -815,7 +815,7 @@ define internal fastcc void @"_ZN8smallvec17SmallVec$LT$A$GT$21reserve_one_unche br i1 %19, label %20, label %21 20: ; preds = %"_ZN8smallvec17SmallVec$LT$A$GT$6triple17h2f30d8a9bb127a1cE.llvm.16952314824741166450.exit", %12 - tail call void @_ZN4core6option13expect_failed17h7f842a57ad883afaE(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.9.llvm.16952314824741166450, i64 noundef 17, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.13.llvm.16952314824741166450) #18 + tail call void @_ZN4core6option13expect_failed17h7f842a57ad883afaE(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.9.llvm.16952314824741166450, i64 noundef 17, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.13.llvm.16952314824741166450) #17 unreachable 21: ; preds = %12 @@ -828,12 +828,12 @@ define internal fastcc void @"_ZN8smallvec17SmallVec$LT$A$GT$21reserve_one_unche ] 25: ; preds = %21 - tail call void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.9.llvm.16952314824741166450, i64 noundef 17, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.10.llvm.16952314824741166450) #18 + tail call void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.9.llvm.16952314824741166450, i64 noundef 17, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.10.llvm.16952314824741166450) #17 unreachable 26: ; preds = %21 %27 = extractvalue { i64, i64 } %23, 1 - tail call void @_ZN5alloc5alloc18handle_alloc_error17hc735483c05842e7cE(i64 noundef %24, i64 noundef %27) #18 + tail call void @_ZN5alloc5alloc18handle_alloc_error17hc735483c05842e7cE(i64 noundef %24, i64 noundef %27) #17 unreachable _ZN8smallvec10infallible17hac02ab9634219958E.exit: ; preds = %21 @@ -873,7 +873,7 @@ define hidden void @"_ZN8smallvec17SmallVec$LT$A$GT$21reserve_one_unchecked17hf4 br i1 %19, label %20, label %21 20: ; preds = %"_ZN8smallvec17SmallVec$LT$A$GT$6triple17hff352671a5492543E.llvm.16952314824741166450.exit", %12 - tail call void @_ZN4core6option13expect_failed17h7f842a57ad883afaE(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.9.llvm.16952314824741166450, i64 noundef 17, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.13.llvm.16952314824741166450) #18 + tail call void @_ZN4core6option13expect_failed17h7f842a57ad883afaE(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.9.llvm.16952314824741166450, i64 noundef 17, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.13.llvm.16952314824741166450) #17 unreachable 21: ; preds = %12 @@ -886,12 +886,12 @@ define hidden void @"_ZN8smallvec17SmallVec$LT$A$GT$21reserve_one_unchecked17hf4 ] 25: ; preds = %21 - tail call void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.9.llvm.16952314824741166450, i64 noundef 17, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.10.llvm.16952314824741166450) #18 + tail call void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.9.llvm.16952314824741166450, i64 noundef 17, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.10.llvm.16952314824741166450) #17 unreachable 26: ; preds = %21 %27 = extractvalue { i64, i64 } %23, 1 - tail call void @_ZN5alloc5alloc18handle_alloc_error17hc735483c05842e7cE(i64 noundef %24, i64 noundef %27) #18 + tail call void @_ZN5alloc5alloc18handle_alloc_error17hc735483c05842e7cE(i64 noundef %24, i64 noundef %27) #17 unreachable _ZN8smallvec10infallible17hac02ab9634219958E.exit: ; preds = %21 @@ -970,7 +970,7 @@ define hidden void @"_ZN8smallvec17SmallVec$LT$A$GT$6insert17h999ac5928038a5a5E" br i1 %36, label %41, label %38 37: ; preds = %25 - invoke void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.14.llvm.16952314824741166450, i64 noundef 20, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.15.llvm.16952314824741166450) #18 + invoke void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.14.llvm.16952314824741166450, i64 noundef 20, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.15.llvm.16952314824741166450) #17 to label %45 unwind label %17 38: ; preds = %41, %34 @@ -993,7 +993,7 @@ define hidden void @"_ZN8smallvec17SmallVec$LT$A$GT$6insert17h999ac5928038a5a5E" 46: ; preds = %21 %47 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17hd62aa59d1fda1c9fE() #20 + call void @_ZN4core9panicking16panic_in_cleanup17hd62aa59d1fda1c9fE() #19 unreachable "_ZN4core3ptr68drop_in_place$LT$alloc..sync..Arc$LT$ropey..tree..node..Node$GT$$GT$17h6e1db2bdc1e26a9dE.llvm.16952314824741166450.exit": ; preds = %17, %21 @@ -1067,7 +1067,7 @@ define hidden void @"_ZN8smallvec17SmallVec$LT$A$GT$6triple17hff352671a5492543E. } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable -define hidden { ptr, i64 } @"_ZN8smallvec17SmallVec$LT$A$GT$8as_slice17h3e407e10e5dca0c5E"(ptr noalias noundef readonly align 8 dereferenceable(1000) %0) unnamed_addr #6 { +define hidden { ptr, i64 } @"_ZN8smallvec17SmallVec$LT$A$GT$8as_slice17h3e407e10e5dca0c5E"(ptr noalias noundef readonly align 8 dereferenceable(1000) %0) unnamed_addr #3 { %2 = getelementptr inbounds i8, ptr %0, i64 992 %3 = load i64, ptr %2, align 8, !alias.scope !111, !noalias !114, !noundef !4 %4 = icmp ugt i64 %3, 984 @@ -1095,8 +1095,8 @@ define hidden { ptr, i64 } @"_ZN8smallvec17SmallVec$LT$A$GT$8as_slice17h3e407e10 ret { ptr, i64 } %15 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(readwrite, inaccessiblemem: write) uwtable -define hidden void @"_ZN8smallvec17SmallVec$LT$A$GT$8truncate17h5e63882184e2c3ebE"(ptr noalias nocapture noundef align 8 dereferenceable(1000) %0, i64 noundef %1) unnamed_addr #7 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite, inaccessiblemem: write) uwtable +define hidden void @"_ZN8smallvec17SmallVec$LT$A$GT$8truncate17h5e63882184e2c3ebE"(ptr noalias nocapture noundef align 8 dereferenceable(1000) %0, i64 noundef %1) unnamed_addr #6 { %3 = getelementptr inbounds i8, ptr %0, i64 992 %4 = load i64, ptr %3, align 8, !alias.scope !116, !noalias !119, !noundef !4 %5 = icmp ugt i64 %4, 984 @@ -1161,7 +1161,7 @@ define hidden { i64, i64 } @"_ZN8smallvec17SmallVec$LT$A$GT$8try_grow17h0a833344 br i1 %.not, label %18, label %19 18: ; preds = %"_ZN8smallvec17SmallVec$LT$A$GT$10triple_mut17hc2d58eb60de132d3E.llvm.16952314824741166450.exit" - tail call void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.16, i64 noundef 32, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.17) #18 + tail call void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.16, i64 noundef 32, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.17) #17 unreachable 19: ; preds = %"_ZN8smallvec17SmallVec$LT$A$GT$10triple_mut17hc2d58eb60de132d3E.llvm.16952314824741166450.exit" @@ -1189,13 +1189,13 @@ define hidden { i64, i64 } @"_ZN8smallvec17SmallVec$LT$A$GT$8try_grow17h0a833344 29: ; preds = %25 %30 = load volatile i8, ptr @__rust_no_alloc_shim_is_unstable, align 1 - %31 = tail call noalias noundef align 8 ptr @__rust_alloc(i64 noundef %26, i64 noundef 8) #19 + %31 = tail call noalias noundef align 8 ptr @__rust_alloc(i64 noundef %26, i64 noundef 8) #18 %32 = icmp eq ptr %31, null br i1 %32, label %45, label %38 33: ; preds = %27 %34 = shl nuw nsw i64 %.sink.i, 3 - %35 = tail call noundef align 8 ptr @__rust_realloc(ptr noundef nonnull %.sink13.i, i64 noundef %34, i64 noundef 8, i64 noundef %26) #19 + %35 = tail call noundef align 8 ptr @__rust_realloc(ptr noundef nonnull %.sink13.i, i64 noundef %34, i64 noundef 8, i64 noundef %26) #18 %36 = icmp eq ptr %35, null br i1 %36, label %45, label %37 @@ -1226,12 +1226,12 @@ define hidden { i64, i64 } @"_ZN8smallvec17SmallVec$LT$A$GT$8try_grow17h0a833344 43: ; preds = %40 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3), !noalias !126 store i64 0, ptr %3, align 8, !noalias !126 - call void @_ZN4core6result13unwrap_failed17h82b551e0ff2b2176E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.1, i64 noundef 43, ptr noundef nonnull align 1 %3, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.8) #18, !noalias !126 + call void @_ZN4core6result13unwrap_failed17h82b551e0ff2b2176E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.1, i64 noundef 43, ptr noundef nonnull align 1 %3, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.8) #17, !noalias !126 unreachable _ZN8smallvec10deallocate17h84c60ef2dbb46db3E.exit: ; preds = %40 %44 = shl nuw nsw i64 %.sink.i, 3 - tail call void @__rust_dealloc(ptr noundef nonnull %.sink13.i, i64 noundef %44, i64 noundef 8) #19 + tail call void @__rust_dealloc(ptr noundef nonnull %.sink13.i, i64 noundef %44, i64 noundef 8) #18 br label %45 45: ; preds = %27, %23, %22, %_ZN8smallvec10deallocate17h84c60ef2dbb46db3E.exit, %37, %21, %29, %33 @@ -1274,7 +1274,7 @@ define internal fastcc { i64, i64 } @"_ZN8smallvec17SmallVec$LT$A$GT$8try_grow17 br i1 %.not70, label %16, label %17 16: ; preds = %"_ZN8smallvec17SmallVec$LT$A$GT$10triple_mut17h071505bc27cf3d0bE.llvm.16952314824741166450.exit" - tail call void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.16, i64 noundef 32, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.17) #18 + tail call void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.16, i64 noundef 32, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.17) #17 unreachable 17: ; preds = %"_ZN8smallvec17SmallVec$LT$A$GT$10triple_mut17h071505bc27cf3d0bE.llvm.16952314824741166450.exit" @@ -1301,12 +1301,12 @@ define internal fastcc { i64, i64 } @"_ZN8smallvec17SmallVec$LT$A$GT$8try_grow17 25: ; preds = %22 %26 = load volatile i8, ptr @__rust_no_alloc_shim_is_unstable, align 1 - %27 = tail call noalias noundef ptr @__rust_alloc(i64 noundef %1, i64 noundef 1) #19 + %27 = tail call noalias noundef ptr @__rust_alloc(i64 noundef %1, i64 noundef 1) #18 %28 = icmp eq ptr %27, null br i1 %28, label %38, label %33 29: ; preds = %23 - %30 = tail call noundef ptr @__rust_realloc(ptr noundef nonnull %.sink13.i, i64 noundef %.sink.i, i64 noundef 1, i64 noundef %1) #19 + %30 = tail call noundef ptr @__rust_realloc(ptr noundef nonnull %.sink13.i, i64 noundef %.sink.i, i64 noundef 1, i64 noundef %1) #18 %31 = icmp eq ptr %30, null br i1 %31, label %38, label %32 @@ -1337,11 +1337,11 @@ define internal fastcc { i64, i64 } @"_ZN8smallvec17SmallVec$LT$A$GT$8try_grow17 store i64 0, ptr %3, align 8, !noalias !134 %37 = getelementptr inbounds i8, ptr %3, i64 8 store i64 %.sink.i, ptr %37, align 8, !noalias !134 - call void @_ZN4core6result13unwrap_failed17h82b551e0ff2b2176E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.1, i64 noundef 43, ptr noundef nonnull align 1 %3, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.8) #18, !noalias !134 + call void @_ZN4core6result13unwrap_failed17h82b551e0ff2b2176E(ptr noalias noundef nonnull readonly align 1 @anon.066e256b88afcb17f824fe9d079f94fa.1, i64 noundef 43, ptr noundef nonnull align 1 %3, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.066e256b88afcb17f824fe9d079f94fa.8) #17, !noalias !134 unreachable _ZN8smallvec10deallocate17h8331b8735a47b8c8E.exit: ; preds = %34 - tail call void @__rust_dealloc(ptr noundef nonnull %.sink13.i, i64 noundef %.sink.i, i64 noundef 1) #19 + tail call void @__rust_dealloc(ptr noundef nonnull %.sink13.i, i64 noundef %.sink.i, i64 noundef 1) #18 br label %38 38: ; preds = %23, %20, %19, %_ZN8smallvec10deallocate17h8331b8735a47b8c8E.exit, %32, %18, %25, %29 @@ -1367,28 +1367,28 @@ define hidden { ptr, i64 } @"_ZN97_$LT$core..ops..range..RangeFull$u20$as$u20$co } ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN4core5slice5index26slice_start_index_len_fail17h9fca8563b179f90fE(i64 noundef, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #8 +declare void @_ZN4core5slice5index26slice_start_index_len_fail17h9fca8563b179f90fE(i64 noundef, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #7 ; Function Attrs: nonlazybind uwtable declare noundef i32 @rust_eh_personality(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) unnamed_addr #1 ; Function Attrs: cold noreturn nounwind nonlazybind uwtable -declare void @_ZN4core9panicking16panic_in_cleanup17hd62aa59d1fda1c9fE() unnamed_addr #9 +declare void @_ZN4core9panicking16panic_in_cleanup17hd62aa59d1fda1c9fE() unnamed_addr #8 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.ctlz.i64(i64, i1 immarg) #10 +declare i64 @llvm.ctlz.i64(i64, i1 immarg) #9 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare { i64, i1 } @llvm.uadd.with.overflow.i64(i64, i64) #10 +declare { i64, i1 } @llvm.uadd.with.overflow.i64(i64, i64) #9 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #11 +declare void @llvm.assume(i1 noundef) #10 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN4core6result13unwrap_failed17h82b551e0ff2b2176E(ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noundef nonnull align 1, ptr noalias noundef readonly align 8 dereferenceable(24), ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #8 +declare void @_ZN4core6result13unwrap_failed17h82b551e0ff2b2176E(ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noundef nonnull align 1, ptr noalias noundef readonly align 8 dereferenceable(24), ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #7 ; Function Attrs: nounwind nonlazybind allockind("alloc,uninitialized,aligned") allocsize(0) uwtable -declare noalias noundef ptr @__rust_alloc(i64 noundef, i64 allocalign noundef) unnamed_addr #12 +declare noalias noundef ptr @__rust_alloc(i64 noundef, i64 allocalign noundef) unnamed_addr #11 ; Function Attrs: nonlazybind uwtable declare noundef zeroext i1 @_ZN4core3fmt9Formatter9write_str17ha0e23c75b4556cf5E(ptr noalias noundef align 8 dereferenceable(64), ptr noalias noundef nonnull readonly align 1, i64 noundef) unnamed_addr #1 @@ -1403,59 +1403,58 @@ declare noundef zeroext i1 @_ZN4core3fmt9Formatter26debug_struct_field1_finish17 declare hidden void @"_ZN5alloc4sync16Arc$LT$T$C$A$GT$9drop_slow17hc31afbaf454bf08eE"(ptr noalias noundef align 8 dereferenceable(8)) unnamed_addr #1 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN4core9panicking18panic_bounds_check17hd7e618b1b39cc1c3E(i64 noundef, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #8 +declare void @_ZN4core9panicking18panic_bounds_check17hd7e618b1b39cc1c3E(i64 noundef, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #7 ; Function Attrs: nounwind nonlazybind allockind("free") uwtable -declare void @__rust_dealloc(ptr allocptr noundef, i64 noundef, i64 noundef) unnamed_addr #13 +declare void @__rust_dealloc(ptr allocptr noundef, i64 noundef, i64 noundef) unnamed_addr #12 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #8 +declare void @_ZN4core9panicking5panic17h75b3c9209f97d725E(ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #7 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN5alloc5alloc18handle_alloc_error17hc735483c05842e7cE(i64 noundef, i64 noundef) unnamed_addr #8 +declare void @_ZN5alloc5alloc18handle_alloc_error17hc735483c05842e7cE(i64 noundef, i64 noundef) unnamed_addr #7 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #14 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #13 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN4core6option13expect_failed17h7f842a57ad883afaE(ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #8 +declare void @_ZN4core6option13expect_failed17h7f842a57ad883afaE(ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #7 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #14 +declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #13 ; Function Attrs: nounwind nonlazybind allockind("realloc,aligned") allocsize(3) uwtable -declare noalias noundef ptr @__rust_realloc(ptr allocptr noundef, i64 noundef, i64 allocalign noundef, i64 noundef) unnamed_addr #15 +declare noalias noundef ptr @__rust_realloc(ptr allocptr noundef, i64 noundef, i64 allocalign noundef, i64 noundef) unnamed_addr #14 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #16 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #15 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #16 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #15 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) -declare void @llvm.experimental.noalias.scope.decl(metadata) #17 +declare void @llvm.experimental.noalias.scope.decl(metadata) #16 attributes #0 = { inlinehint nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #1 = { nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #2 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #3 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(read, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #3 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #4 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #5 = { cold nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #6 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #7 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(readwrite, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #8 = { cold noreturn nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #9 = { cold noreturn nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #10 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #11 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #12 = { nounwind nonlazybind allockind("alloc,uninitialized,aligned") allocsize(0) uwtable "alloc-family"="__rust_alloc" "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #13 = { nounwind nonlazybind allockind("free") uwtable "alloc-family"="__rust_alloc" "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #14 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #15 = { nounwind nonlazybind allockind("realloc,aligned") allocsize(3) uwtable "alloc-family"="__rust_alloc" "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #16 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #17 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } -attributes #18 = { noreturn } -attributes #19 = { nounwind } -attributes #20 = { cold noreturn nounwind } +attributes #6 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #7 = { cold noreturn nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #8 = { cold noreturn nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #9 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #10 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #11 = { nounwind nonlazybind allockind("alloc,uninitialized,aligned") allocsize(0) uwtable "alloc-family"="__rust_alloc" "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #12 = { nounwind nonlazybind allockind("free") uwtable "alloc-family"="__rust_alloc" "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #13 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #14 = { nounwind nonlazybind allockind("realloc,aligned") allocsize(3) uwtable "alloc-family"="__rust_alloc" "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #15 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #16 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } +attributes #17 = { noreturn } +attributes #18 = { nounwind } +attributes #19 = { cold noreturn nounwind } !llvm.module.flags = !{!0, !1, !2} !llvm.ident = !{!3} diff --git a/bench/ruby/optimized/iso2022.ll b/bench/ruby/optimized/iso2022.ll index 6a235d10fc4..5591c09c831 100644 --- a/bench/ruby/optimized/iso2022.ll +++ b/bench/ruby/optimized/iso2022.ll @@ -31,14 +31,14 @@ define weak i64 @ruby_abi_version() local_unnamed_addr #0 { ; Function Attrs: nounwind uwtable define void @Init_iso2022() local_unnamed_addr #0 { - tail call void @rb_register_transcoder(ptr noundef nonnull @rb_iso2022jp_decoder) #7 - tail call void @rb_register_transcoder(ptr noundef nonnull @rb_iso2022jp_encoder) #7 - tail call void @rb_register_transcoder(ptr noundef nonnull @rb_stateless_iso2022jp_to_eucjp) #7 - tail call void @rb_register_transcoder(ptr noundef nonnull @rb_eucjp_to_stateless_iso2022jp) #7 - tail call void @rb_register_transcoder(ptr noundef nonnull @rb_cp50220_decoder) #7 - tail call void @rb_register_transcoder(ptr noundef nonnull @rb_cp50221_decoder) #7 - tail call void @rb_register_transcoder(ptr noundef nonnull @rb_cp50220_encoder) #7 - tail call void @rb_register_transcoder(ptr noundef nonnull @rb_cp50221_encoder) #7 + tail call void @rb_register_transcoder(ptr noundef nonnull @rb_iso2022jp_decoder) #5 + tail call void @rb_register_transcoder(ptr noundef nonnull @rb_iso2022jp_encoder) #5 + tail call void @rb_register_transcoder(ptr noundef nonnull @rb_stateless_iso2022jp_to_eucjp) #5 + tail call void @rb_register_transcoder(ptr noundef nonnull @rb_eucjp_to_stateless_iso2022jp) #5 + tail call void @rb_register_transcoder(ptr noundef nonnull @rb_cp50220_decoder) #5 + tail call void @rb_register_transcoder(ptr noundef nonnull @rb_cp50221_decoder) #5 + tail call void @rb_register_transcoder(ptr noundef nonnull @rb_cp50220_encoder) #5 + tail call void @rb_register_transcoder(ptr noundef nonnull @rb_cp50221_encoder) #5 ret void } @@ -128,8 +128,8 @@ define internal range(i64 0, 4) i64 @fun_so_iso2022jp_decoder(ptr nocapture noun ret i64 %.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define internal i64 @fun_so_iso2022jp_encoder(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr noundef %3, i64 %4) #5 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define internal i64 @fun_so_iso2022jp_encoder(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr noundef %3, i64 %4) #4 { %6 = icmp eq i64 %2, 1 br i1 %6, label %7, label %.thread @@ -403,8 +403,8 @@ define internal range(i64 0, 3) i64 @fun_so_cp50221_decoder(ptr nocapture nounde ret i64 %.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define internal i64 @fun_so_cp50220_encoder(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr noundef %3, i64 %4) #6 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define internal i64 @fun_so_cp50220_encoder(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr noundef %3, i64 %4) #4 { %6 = load i8, ptr %0, align 1 %7 = icmp eq i8 %6, 3 br i1 %7, label %8, label %49 @@ -663,8 +663,8 @@ fun_so_cp5022x_encoder.exit: ; preds = %67, %.thread52.i, % ret i64 %122 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define internal i64 @finish_cp50220_encoder(ptr nocapture noundef %0, ptr noundef %1, i64 %2) #5 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define internal i64 @finish_cp50220_encoder(ptr nocapture noundef %0, ptr noundef %1, i64 %2) #4 { %4 = load i8, ptr %0, align 1 switch i8 %4, label %24 [ i8 0, label %31 @@ -722,8 +722,8 @@ define internal i64 @finish_cp50220_encoder(ptr nocapture noundef %0, ptr nounde ret i64 %.0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define internal i64 @fun_so_cp5022x_encoder(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr noundef %3, i64 %4) #6 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable +define internal i64 @fun_so_cp5022x_encoder(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr noundef %3, i64 %4) #4 { %6 = icmp eq i64 %2, 1 br i1 %6, label %.thread, label %7 @@ -815,9 +815,7 @@ attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protect attributes #2 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 #7 = { nounwind } +attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4, !5} diff --git a/bench/ruby/optimized/parser_st.ll b/bench/ruby/optimized/parser_st.ll index b1453f0cfc6..273f87002f2 100644 --- a/bench/ruby/optimized/parser_st.ll +++ b/bench/ruby/optimized/parser_st.ll @@ -3338,7 +3338,7 @@ define dso_local range(i32 0, 2) i32 @rb_parser_st_foreach_check(ptr nocapture n ret i32 %5 } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local range(i64 -1152921504606846976, 1152921504606846976) i64 @rb_parser_st_keys(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #10 { %4 = getelementptr inbounds i8, ptr %0, i64 48 %5 = load ptr, ptr %4, align 8 @@ -3385,7 +3385,7 @@ st_general_keys.exit: ; preds = %20, %3 ret i64 %27 } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local range(i64 -1152921504606846976, 1152921504606846976) i64 @rb_parser_st_keys_check(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #10 { %5 = getelementptr inbounds i8, ptr %0, i64 48 %6 = load ptr, ptr %5, align 8 @@ -3432,7 +3432,7 @@ st_general_keys.exit: ; preds = %21, %4 ret i64 %28 } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local range(i64 -1152921504606846976, 1152921504606846976) i64 @rb_parser_st_values(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #10 { %4 = getelementptr inbounds i8, ptr %0, i64 48 %5 = load ptr, ptr %4, align 8 @@ -3479,7 +3479,7 @@ st_general_values.exit: ; preds = %20, %3 ret i64 %27 } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local range(i64 -1152921504606846976, 1152921504606846976) i64 @rb_parser_st_values_check(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #10 { %5 = getelementptr inbounds i8, ptr %0, i64 48 %6 = load ptr, ptr %5, align 8 @@ -3526,8 +3526,8 @@ st_general_values.exit: ; preds = %21, %4 ret i64 %28 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local i64 @rb_parser_st_hash(ptr noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #11 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(argmem: read) uwtable +define dso_local i64 @rb_parser_st_hash(ptr noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #3 { %4 = icmp ugt i64 %1, 7 br i1 %4, label %.preheader, label %.loopexit @@ -3648,7 +3648,7 @@ define dso_local i64 @rb_parser_st_hash(ptr noundef %0, i64 noundef %1, i64 noun } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #12 +declare void @llvm.assume(i1 noundef) #11 ; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(none) uwtable define dso_local i64 @rb_parser_st_hash_uint32(i64 noundef %0, i32 noundef %1) local_unnamed_addr #9 { @@ -3698,8 +3698,8 @@ define dso_local noundef i64 @rb_parser_st_hash_start(i64 noundef returned %0) l ret i64 %0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local range(i32 -1, 2) i32 @rb_parser_st_locale_insensitive_strcasecmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #11 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(argmem: read) uwtable +define dso_local range(i32 -1, 2) i32 @rb_parser_st_locale_insensitive_strcasecmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #3 { br label %3 3: ; preds = %9, %2 @@ -3742,8 +3742,8 @@ define dso_local range(i32 -1, 2) i32 @rb_parser_st_locale_insensitive_strcasecm ret i32 %.027 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local range(i32 -1, 2) i32 @rb_parser_st_locale_insensitive_strncasecmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #11 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(argmem: read) uwtable +define dso_local range(i32 -1, 2) i32 @rb_parser_st_locale_insensitive_strncasecmp(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #3 { %.not46 = icmp eq i64 %2, 0 br i1 %.not46, label %.loopexit, label %.lr.ph @@ -3811,13 +3811,13 @@ define dso_local noundef i64 @rb_parser_st_numhash(i64 noundef %0) #9 { } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.ctlz.i64(i64, i1 immarg) #13 +declare i64 @llvm.ctlz.i64(i64, i1 immarg) #12 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #14 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #13 ; Function Attrs: mustprogress nofree nounwind sspstrong willreturn memory(read, inaccessiblemem: none) uwtable -define internal i32 @st_strcmp(i64 noundef %0, i64 noundef %1) #15 { +define internal i32 @st_strcmp(i64 noundef %0, i64 noundef %1) #14 { %3 = inttoptr i64 %0 to ptr %4 = inttoptr i64 %1 to ptr %5 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) %4) #24 @@ -3825,7 +3825,7 @@ define internal i32 @st_strcmp(i64 noundef %0, i64 noundef %1) #15 { } ; Function Attrs: nofree nounwind sspstrong memory(read, inaccessiblemem: write) uwtable -define internal i64 @strhash(i64 noundef %0) #16 { +define internal i64 @strhash(i64 noundef %0) #15 { %2 = inttoptr i64 %0 to ptr %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %2) #24 %4 = icmp ugt i64 %3, 7 @@ -3948,13 +3948,13 @@ rb_parser_st_hash.exit: ; preds = %.loopexit.i, %54 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #17 +declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #16 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #17 +declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #16 ; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(read, inaccessiblemem: none) uwtable -define internal range(i32 -1, 2) i32 @st_locale_insensitive_strcasecmp_i(i64 noundef %0, i64 noundef %1) #18 { +define internal range(i32 -1, 2) i32 @st_locale_insensitive_strcasecmp_i(i64 noundef %0, i64 noundef %1) #17 { %3 = inttoptr i64 %0 to ptr %4 = inttoptr i64 %1 to ptr br label %5 @@ -4000,7 +4000,7 @@ rb_parser_st_locale_insensitive_strcasecmp.exit: ; preds = %10, %18 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(read, inaccessiblemem: none) uwtable -define internal i64 @strcasehash(i64 noundef %0) #11 { +define internal i64 @strcasehash(i64 noundef %0) #18 { %2 = inttoptr i64 %0 to ptr %3 = load i8, ptr %2, align 1 %.not11 = icmp eq i8 %3, 0 @@ -4263,15 +4263,15 @@ attributes #6 = { nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-ve attributes #7 = { mustprogress nofree nounwind sspstrong willreturn 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #9 = { mustprogress nofree norecurse nosync nounwind sspstrong 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 #10 = { nofree norecurse nosync nounwind sspstrong 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 #11 = { mustprogress nofree norecurse nosync nounwind sspstrong 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 #12 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #13 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #14 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #15 = { mustprogress nofree nounwind sspstrong 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 #16 = { nofree nounwind sspstrong memory(read, inaccessiblemem: 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 #17 = { 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 #18 = { nofree norecurse nosync nounwind sspstrong 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 = { nofree norecurse nosync nounwind sspstrong 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 #11 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #12 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #13 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #14 = { mustprogress nofree nounwind sspstrong 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 #15 = { nofree nounwind sspstrong memory(read, inaccessiblemem: 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 #16 = { 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 #17 = { nofree norecurse nosync nounwind sspstrong 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 #18 = { mustprogress nofree norecurse nosync nounwind sspstrong 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 #19 = { nofree norecurse nosync nounwind sspstrong 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) } attributes #21 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } diff --git a/bench/ruby/optimized/sha2.ll b/bench/ruby/optimized/sha2.ll index ac7cd02e3f7..0a2b9414b44 100644 --- a/bench/ruby/optimized/sha2.ll +++ b/bench/ruby/optimized/sha2.ll @@ -40,7 +40,7 @@ declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @rb_Digest_SHA256_Transform(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #4 { %3 = getelementptr inbounds i8, ptr %0, i64 40 %4 = load i32, ptr %0, align 8 @@ -196,8 +196,8 @@ define void @rb_Digest_SHA256_Transform(ptr nocapture noundef %0, ptr nocapture ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @rb_Digest_SHA256_Update(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @rb_Digest_SHA256_Update(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #4 { %4 = icmp eq i64 %2, 0 br i1 %4, label %39, label %5 @@ -281,8 +281,8 @@ define void @rb_Digest_SHA256_Update(ptr nocapture noundef %0, ptr nocapture nou ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define noundef i32 @rb_Digest_SHA256_Finish(ptr nocapture noundef %0, ptr noundef writeonly %1) local_unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define noundef i32 @rb_Digest_SHA256_Finish(ptr nocapture noundef %0, ptr noundef writeonly %1) local_unnamed_addr #4 { %.not = icmp eq ptr %1, null br i1 %.not, label %.loopexit, label %3 @@ -362,8 +362,8 @@ define noundef i32 @rb_Digest_SHA256_Finish(ptr nocapture noundef %0, ptr nounde ret i32 1 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define ptr @rb_Digest_SHA256_End(ptr nocapture noundef %0, ptr noundef writeonly %1) local_unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define ptr @rb_Digest_SHA256_End(ptr nocapture noundef %0, ptr noundef writeonly %1) local_unnamed_addr #4 { %3 = alloca [32 x i8], align 16 %.not = icmp eq ptr %1, null br i1 %.not, label %51, label %4 @@ -476,8 +476,8 @@ rb_Digest_SHA256_Finish.exit: ; preds = %33 ret ptr %.1 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define ptr @rb_Digest_SHA256_Data(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define ptr @rb_Digest_SHA256_Data(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #4 { %4 = alloca %struct._SHA256_CTX, align 8 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 16 dereferenceable(32) @sha256_initial_hash_value, i64 32, i1 false) %5 = getelementptr inbounds i8, ptr %4, i64 32 @@ -542,7 +542,7 @@ define range(i32 0, 2) i32 @rb_Digest_SHA512_Init(ptr noundef writeonly %0) loca ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @rb_Digest_SHA512_Transform(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #4 { %3 = getelementptr inbounds i8, ptr %0, i64 80 %4 = load i64, ptr %0, align 8 @@ -698,8 +698,8 @@ define void @rb_Digest_SHA512_Transform(ptr nocapture noundef %0, ptr nocapture ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @rb_Digest_SHA512_Update(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @rb_Digest_SHA512_Update(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #4 { %4 = icmp eq i64 %2, 0 br i1 %4, label %59, label %5 @@ -814,7 +814,7 @@ define void @rb_Digest_SHA512_Update(ptr nocapture noundef %0, ptr nocapture nou ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @rb_Digest_SHA512_Last(ptr nocapture noundef %0) local_unnamed_addr #4 { %2 = getelementptr inbounds i8, ptr %0, i64 64 %3 = load i64, ptr %2, align 8 @@ -879,8 +879,8 @@ define void @rb_Digest_SHA512_Last(ptr nocapture noundef %0) local_unnamed_addr ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define noundef i32 @rb_Digest_SHA512_Finish(ptr nocapture noundef %0, ptr noundef writeonly %1) local_unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define noundef i32 @rb_Digest_SHA512_Finish(ptr nocapture noundef %0, ptr noundef writeonly %1) local_unnamed_addr #4 { %.not = icmp eq ptr %1, null br i1 %.not, label %.loopexit, label %3 @@ -964,8 +964,8 @@ rb_Digest_SHA512_Last.exit: ; preds = %19, %30, %31 ret i32 1 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define ptr @rb_Digest_SHA512_End(ptr nocapture noundef %0, ptr noundef writeonly %1) local_unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define ptr @rb_Digest_SHA512_End(ptr nocapture noundef %0, ptr noundef writeonly %1) local_unnamed_addr #4 { %3 = alloca [64 x i8], align 16 %.not = icmp eq ptr %1, null br i1 %.not, label %54, label %4 @@ -1083,8 +1083,8 @@ rb_Digest_SHA512_Finish.exit: ; preds = %36 ret ptr %.1 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define ptr @rb_Digest_SHA512_Data(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define ptr @rb_Digest_SHA512_Data(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #4 { %4 = alloca %struct._SHA512_CTX, align 8 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %4, ptr noundef nonnull align 16 dereferenceable(64) @sha512_initial_hash_value, i64 64, i1 false) %5 = getelementptr inbounds i8, ptr %4, i64 64 @@ -1110,14 +1110,14 @@ define range(i32 0, 2) i32 @rb_Digest_SHA384_Init(ptr noundef writeonly %0) loca ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @rb_Digest_SHA384_Update(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define void @rb_Digest_SHA384_Update(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #4 { tail call void @rb_Digest_SHA512_Update(ptr noundef %0, ptr noundef %1, i64 noundef %2) ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define noundef i32 @rb_Digest_SHA384_Finish(ptr nocapture noundef %0, ptr noundef writeonly %1) local_unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define noundef i32 @rb_Digest_SHA384_Finish(ptr nocapture noundef %0, ptr noundef writeonly %1) local_unnamed_addr #4 { %.not = icmp eq ptr %1, null br i1 %.not, label %.loopexit, label %3 @@ -1201,8 +1201,8 @@ rb_Digest_SHA512_Last.exit: ; preds = %19, %30, %31 ret i32 1 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define ptr @rb_Digest_SHA384_End(ptr nocapture noundef %0, ptr noundef writeonly %1) local_unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define ptr @rb_Digest_SHA384_End(ptr nocapture noundef %0, ptr noundef writeonly %1) local_unnamed_addr #4 { %3 = alloca [48 x i8], align 16 %.not = icmp eq ptr %1, null br i1 %.not, label %54, label %4 @@ -1320,8 +1320,8 @@ rb_Digest_SHA384_Finish.exit: ; preds = %36 ret ptr %.1 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define ptr @rb_Digest_SHA384_Data(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define ptr @rb_Digest_SHA384_Data(ptr nocapture noundef readonly %0, i64 noundef %1, ptr noundef %2) local_unnamed_addr #4 { %4 = alloca %struct._SHA512_CTX, align 8 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %4, ptr noundef nonnull align 16 dereferenceable(64) @sha384_initial_hash_value, i64 64, i1 false) %5 = getelementptr inbounds i8, ptr %4, i64 64 @@ -1332,24 +1332,23 @@ define ptr @rb_Digest_SHA384_Data(ptr nocapture noundef readonly %0, i64 noundef } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #6 +declare i32 @llvm.fshl.i32(i32, i32, i32) #5 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.bswap.i32(i32) #6 +declare i32 @llvm.bswap.i32(i32) #5 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.fshl.i64(i64, i64, i64) #6 +declare i64 @llvm.fshl.i64(i64, i64, i64) #5 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.bswap.i64(i64) #6 +declare i64 @llvm.bswap.i64(i64) #5 attributes #0 = { 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 #1 = { 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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #4 = { 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 #5 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #4 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4, !5} diff --git a/bench/ruby/optimized/st.ll b/bench/ruby/optimized/st.ll index 26faee2905e..6f6a221b3cd 100644 --- a/bench/ruby/optimized/st.ll +++ b/bench/ruby/optimized/st.ll @@ -3243,7 +3243,7 @@ define dso_local range(i32 0, 2) i32 @rb_st_foreach_check(ptr nocapture noundef ret i32 %5 } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local range(i64 -1152921504606846976, 1152921504606846976) i64 @rb_st_keys(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #7 { %4 = getelementptr inbounds i8, ptr %0, i64 48 %5 = load ptr, ptr %4, align 8 @@ -3290,7 +3290,7 @@ st_general_keys.exit: ; preds = %20, %3 ret i64 %27 } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local range(i64 -1152921504606846976, 1152921504606846976) i64 @rb_st_keys_check(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #7 { %5 = getelementptr inbounds i8, ptr %0, i64 48 %6 = load ptr, ptr %5, align 8 @@ -3337,7 +3337,7 @@ st_general_keys.exit: ; preds = %21, %4 ret i64 %28 } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local range(i64 -1152921504606846976, 1152921504606846976) i64 @rb_st_values(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #7 { %4 = getelementptr inbounds i8, ptr %0, i64 48 %5 = load ptr, ptr %4, align 8 @@ -3384,7 +3384,7 @@ st_general_values.exit: ; preds = %20, %3 ret i64 %27 } -; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local range(i64 -1152921504606846976, 1152921504606846976) i64 @rb_st_values_check(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #7 { %5 = getelementptr inbounds i8, ptr %0, i64 48 %6 = load ptr, ptr %5, align 8 @@ -3431,8 +3431,8 @@ st_general_values.exit: ; preds = %21, %4 ret i64 %28 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local i64 @rb_st_hash(ptr noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #8 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(argmem: read) uwtable +define dso_local i64 @rb_st_hash(ptr noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #2 { %4 = icmp ugt i64 %1, 7 br i1 %4, label %.preheader, label %.loopexit @@ -3553,7 +3553,7 @@ define dso_local i64 @rb_st_hash(ptr noundef %0, i64 noundef %1, i64 noundef %2) } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #9 +declare void @llvm.assume(i1 noundef) #8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(none) uwtable define dso_local i64 @rb_st_hash_uint32(i64 noundef %0, i32 noundef %1) local_unnamed_addr #6 { @@ -3603,8 +3603,8 @@ define dso_local noundef i64 @rb_st_hash_start(i64 noundef returned %0) local_un ret i64 %0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local range(i32 -1, 2) i32 @rb_st_locale_insensitive_strcasecmp(ptr nocapture noundef nonnull readonly %0, ptr nocapture noundef nonnull readonly %1) local_unnamed_addr #8 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(argmem: read) uwtable +define dso_local range(i32 -1, 2) i32 @rb_st_locale_insensitive_strcasecmp(ptr nocapture noundef nonnull readonly %0, ptr nocapture noundef nonnull readonly %1) local_unnamed_addr #2 { br label %3 3: ; preds = %9, %2 @@ -3647,8 +3647,8 @@ define dso_local range(i32 -1, 2) i32 @rb_st_locale_insensitive_strcasecmp(ptr n ret i32 %.027 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(read, inaccessiblemem: none) uwtable -define dso_local range(i32 -1, 2) i32 @rb_st_locale_insensitive_strncasecmp(ptr nocapture noundef nonnull readonly %0, ptr nocapture noundef nonnull readonly %1, i64 noundef %2) local_unnamed_addr #8 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(argmem: read) uwtable +define dso_local range(i32 -1, 2) i32 @rb_st_locale_insensitive_strncasecmp(ptr nocapture noundef nonnull readonly %0, ptr nocapture noundef nonnull readonly %1, i64 noundef %2) local_unnamed_addr #2 { %.not46 = icmp eq i64 %2, 0 br i1 %.not46, label %.loopexit, label %.lr.ph @@ -4339,7 +4339,7 @@ define hidden i64 @rb_st_nth_key(ptr nocapture noundef readonly %0, i64 noundef } ; Function Attrs: cold noreturn -declare void @rb_bug(ptr noundef, ...) local_unnamed_addr #10 +declare void @rb_bug(ptr noundef, ...) local_unnamed_addr #9 ; Function Attrs: nounwind sspstrong uwtable define hidden void @rb_st_compact_table(ptr nocapture noundef %0) local_unnamed_addr #0 { @@ -4397,7 +4397,7 @@ define hidden void @rb_st_compact_table(ptr nocapture noundef %0) local_unnamed_ } ; Function Attrs: nofree norecurse nosync nounwind sspstrong uwtable -define internal fastcc void @rebuild_table_with(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) unnamed_addr #11 { +define internal fastcc void @rebuild_table_with(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) unnamed_addr #10 { %3 = getelementptr inbounds i8, ptr %0, i64 48 %4 = load ptr, ptr %3, align 8 %5 = getelementptr inbounds i8, ptr %0, i64 24 @@ -4613,16 +4613,16 @@ set_bin.exit: ; preds = %96, %93, %90, %87 } ; Function Attrs: noreturn -declare void @rb_raise(i64 noundef, ptr noundef, ...) local_unnamed_addr #12 +declare void @rb_raise(i64 noundef, ptr noundef, ...) local_unnamed_addr #11 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.ctlz.i64(i64, i1 immarg) #13 +declare i64 @llvm.ctlz.i64(i64, i1 immarg) #12 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #14 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #13 ; Function Attrs: mustprogress nofree nounwind sspstrong willreturn memory(read, inaccessiblemem: none) uwtable -define internal i32 @st_strcmp(i64 noundef %0, i64 noundef %1) #15 { +define internal i32 @st_strcmp(i64 noundef %0, i64 noundef %1) #14 { %3 = inttoptr i64 %0 to ptr %4 = inttoptr i64 %1 to ptr %5 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) %4) #27 @@ -4630,7 +4630,7 @@ define internal i32 @st_strcmp(i64 noundef %0, i64 noundef %1) #15 { } ; Function Attrs: nofree nounwind sspstrong memory(read, inaccessiblemem: write) uwtable -define internal i64 @strhash(i64 noundef %0) #16 { +define internal i64 @strhash(i64 noundef %0) #15 { %2 = inttoptr i64 %0 to ptr %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %2) #27 %4 = icmp ugt i64 %3, 7 @@ -4753,13 +4753,13 @@ rb_st_hash.exit: ; preds = %.loopexit.i, %54 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #17 +declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #16 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) -declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #17 +declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #16 ; Function Attrs: nofree norecurse nosync nounwind sspstrong memory(read, inaccessiblemem: none) uwtable -define internal range(i32 -1, 2) i32 @st_locale_insensitive_strcasecmp_i(i64 noundef %0, i64 noundef %1) #18 { +define internal range(i32 -1, 2) i32 @st_locale_insensitive_strcasecmp_i(i64 noundef %0, i64 noundef %1) #17 { %3 = inttoptr i64 %0 to ptr %4 = inttoptr i64 %1 to ptr br label %5 @@ -4805,7 +4805,7 @@ rb_st_locale_insensitive_strcasecmp.exit: ; preds = %10, %18 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(read, inaccessiblemem: none) uwtable -define internal i64 @strcasehash(i64 noundef %0) #8 { +define internal i64 @strcasehash(i64 noundef %0) #18 { %2 = inttoptr i64 %0 to ptr %3 = load i8, ptr %2, align 1 %.not11 = icmp eq i8 %3, 0 @@ -4834,10 +4834,10 @@ define internal i64 @strcasehash(i64 noundef %0) #8 { } ; Function Attrs: noreturn -declare void @ruby_malloc_size_overflow(i64 noundef, i64 noundef) local_unnamed_addr #12 +declare void @ruby_malloc_size_overflow(i64 noundef, i64 noundef) local_unnamed_addr #11 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #13 +declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #12 ; Function Attrs: allocsize(1) declare nonnull ptr @ruby_xrealloc(ptr noundef, i64 noundef) local_unnamed_addr #19 @@ -4864,18 +4864,18 @@ attributes #3 = { mustprogress nofree norecurse nosync nounwind sspstrong willre attributes #4 = { "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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #6 = { mustprogress nofree norecurse nosync nounwind sspstrong 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 #7 = { nofree norecurse nosync nounwind sspstrong 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 #8 = { mustprogress nofree norecurse nosync nounwind sspstrong 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 #9 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #10 = { cold noreturn "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 #11 = { nofree norecurse nosync nounwind sspstrong 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 = { noreturn "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 #13 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #14 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #15 = { mustprogress nofree nounwind sspstrong 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 #16 = { nofree nounwind sspstrong memory(read, inaccessiblemem: 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 #17 = { 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 #18 = { nofree norecurse nosync nounwind sspstrong 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 sspstrong 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #9 = { cold noreturn "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 #10 = { nofree norecurse nosync nounwind sspstrong 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 = { noreturn "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 #12 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #13 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #14 = { mustprogress nofree nounwind sspstrong 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 #15 = { nofree nounwind sspstrong memory(read, inaccessiblemem: 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 #16 = { 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 #17 = { nofree norecurse nosync nounwind sspstrong 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 #18 = { mustprogress nofree norecurse nosync nounwind sspstrong 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 #19 = { allocsize(1) "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 #20 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) } attributes #21 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } diff --git a/bench/rust-analyzer-rs/optimized/1qi1hdvt97mcv6ru.ll b/bench/rust-analyzer-rs/optimized/1qi1hdvt97mcv6ru.ll index 820ab721d43..ba77d7c3fd9 100644 --- a/bench/rust-analyzer-rs/optimized/1qi1hdvt97mcv6ru.ll +++ b/bench/rust-analyzer-rs/optimized/1qi1hdvt97mcv6ru.ll @@ -54,7 +54,7 @@ define hidden { i64, i32 } @_ZN15crossbeam_utils6atomic11atomic_cell11atomic_loa .preheader.i.i: ; preds = %.lr.ph.i, %.preheader.i.i %.sroa.01.08.i.i = phi i32 [ %19, %.preheader.i.i ], [ 0, %.lr.ph.i ] %19 = add nuw nsw i32 %.sroa.01.08.i.i, 1 - tail call void @llvm.x86.sse2.pause() #6 + tail call void @llvm.x86.sse2.pause() #7 %.sroa.01.0.highbits.i.i = lshr i32 %19, %.02.i %20 = icmp eq i32 %.sroa.01.0.highbits.i.i, 0 br i1 %20, label %.preheader.i.i, label %.thread.i.i @@ -111,7 +111,7 @@ define hidden void @_ZN15crossbeam_utils6atomic11atomic_cell28atomic_compare_exc .preheader.i.i: ; preds = %.lr.ph.i, %.preheader.i.i %.sroa.01.08.i.i = phi i32 [ %18, %.preheader.i.i ], [ 0, %.lr.ph.i ] %18 = add nuw nsw i32 %.sroa.01.08.i.i, 1 - tail call void @llvm.x86.sse2.pause() #6 + tail call void @llvm.x86.sse2.pause() #7 %.sroa.01.0.highbits.i.i = lshr i32 %18, %.02.i %19 = icmp eq i32 %.sroa.01.0.highbits.i.i, 0 br i1 %19, label %.preheader.i.i, label %.thread.i.i @@ -162,7 +162,7 @@ define hidden { ptr, ptr } @"_ZN3std6thread18JoinInner$LT$T$GT$4join17he0df60fed 4: ; preds = %.invoke, %6, %1 %5 = landingpad { ptr, i32 } cleanup - invoke void @"_ZN4core3ptr40drop_in_place$LT$std..thread..Thread$GT$17hde21e1a3e4461e3dE"(ptr noalias noundef nonnull align 8 dereferenceable(8) %0) #12 + invoke void @"_ZN4core3ptr40drop_in_place$LT$std..thread..Thread$GT$17hde21e1a3e4461e3dE"(ptr noalias noundef nonnull align 8 dereferenceable(8) %0) #13 to label %38 unwind label %36 6: ; preds = %1 @@ -199,7 +199,7 @@ define hidden { ptr, ptr } @"_ZN3std6thread18JoinInner$LT$T$GT$4join17he0df60fed .invoke: ; preds = %15, %"_ZN5alloc4sync16Arc$LT$T$C$A$GT$9is_unique17hf62c432b7ccf64ebE.exit", %.noexc %18 = phi ptr [ @anon.8e1c7397de9a49defed4f04e7ab77c7a.9.llvm.14517926847443944930, %.noexc ], [ @anon.8e1c7397de9a49defed4f04e7ab77c7a.9.llvm.14517926847443944930, %"_ZN5alloc4sync16Arc$LT$T$C$A$GT$9is_unique17hf62c432b7ccf64ebE.exit" ], [ @anon.8e1c7397de9a49defed4f04e7ab77c7a.10.llvm.14517926847443944930, %15 ] - invoke void @_ZN4core6option13unwrap_failed17hcb3a256a9f1ca882E(ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %18) #13 + invoke void @_ZN4core6option13unwrap_failed17hcb3a256a9f1ca882E(ptr noalias noundef nonnull readonly align 8 dereferenceable(24) %18) #14 to label %.cont unwind label %4 .cont: ; preds = %.invoke @@ -259,7 +259,7 @@ define hidden { ptr, ptr } @"_ZN3std6thread18JoinInner$LT$T$GT$4join17he0df60fed 36: ; preds = %43, %29, %4 %37 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - tail call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #14 + tail call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #15 unreachable "_ZN4core3ptr80drop_in_place$LT$alloc..sync..Arc$LT$std..thread..Packet$LT$$LP$$RP$$GT$$GT$$GT$17hc0b6eb0adc541736E.llvm.14517926847443944930.exit": ; preds = %38, %43, %24, %29 @@ -315,7 +315,7 @@ define hidden void @_ZN4core4hash6Hasher11write_isize17h6fb6cd99561c4768E.llvm.1 ret void } -; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable +; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable define hidden void @_ZN4core4hash6Hasher9write_str17h1e84de3c0c4cd39cE.llvm.14517926847443944930(ptr noalias nocapture noundef align 8 dereferenceable(8) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #2 personality ptr @rust_eh_personality { tail call void @llvm.experimental.noalias.scope.decl(metadata !55) tail call void @llvm.experimental.noalias.scope.decl(metadata !58) @@ -419,7 +419,7 @@ define hidden void @_ZN4core4sync6atomic5fence17h58c21b3babc78cabE.llvm.14517926 store ptr @anon.8e1c7397de9a49defed4f04e7ab77c7a.11, ptr %7, align 8 %8 = getelementptr inbounds i8, ptr %2, i64 24 store i64 0, ptr %8, align 8 - call void @_ZN4core9panicking9panic_fmt17ha6effc2775a0749cE(ptr noalias nocapture noundef nonnull align 8 dereferenceable(48) %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.8e1c7397de9a49defed4f04e7ab77c7a.39) #13 + call void @_ZN4core9panicking9panic_fmt17ha6effc2775a0749cE(ptr noalias nocapture noundef nonnull align 8 dereferenceable(48) %2, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.8e1c7397de9a49defed4f04e7ab77c7a.39) #14 unreachable 9: ; preds = %1 @@ -576,7 +576,7 @@ _ZN4core4hash6Hasher9write_str17h1e84de3c0c4cd39cE.llvm.14517926847443944930.exi } ; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN54_$LT$std..path..Prefix$u20$as$u20$core..hash..Hash$GT$4hash17h2a0b6e83864de369E.llvm.14517926847443944930"(ptr noalias nocapture noundef readonly align 8 dereferenceable(40) %0, ptr noalias nocapture noundef align 8 dereferenceable(8) %1) unnamed_addr #2 personality ptr @rust_eh_personality { +define hidden void @"_ZN54_$LT$std..path..Prefix$u20$as$u20$core..hash..Hash$GT$4hash17h2a0b6e83864de369E.llvm.14517926847443944930"(ptr noalias nocapture noundef readonly align 8 dereferenceable(40) %0, ptr noalias nocapture noundef align 8 dereferenceable(8) %1) unnamed_addr #4 personality ptr @rust_eh_personality { %3 = load i8, ptr %0, align 8, !range !114, !noundef !4 %4 = zext nneg i8 %3 to i64 %5 = load i64, ptr %1, align 8, !alias.scope !115, !noundef !4 @@ -1081,7 +1081,7 @@ define hidden void @"_ZN56_$LT$camino..Utf8PathBuf$u20$as$u20$core..hash..Hash$G } ; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN58_$LT$camino..Utf8Component$u20$as$u20$core..hash..Hash$GT$4hash17heabcb037ec937f5bE.llvm.14517926847443944930"(ptr noalias nocapture noundef readonly align 8 dereferenceable(56) %0, ptr noalias nocapture noundef align 8 dereferenceable(8) %1) unnamed_addr #2 personality ptr @rust_eh_personality { +define hidden void @"_ZN58_$LT$camino..Utf8Component$u20$as$u20$core..hash..Hash$GT$4hash17heabcb037ec937f5bE.llvm.14517926847443944930"(ptr noalias nocapture noundef readonly align 8 dereferenceable(56) %0, ptr noalias nocapture noundef align 8 dereferenceable(8) %1) unnamed_addr #4 personality ptr @rust_eh_personality { %3 = load i8, ptr %0, align 8, !range !255, !noundef !4 %4 = add nsw i8 %3, -6 %5 = icmp ult i8 %4, 4 @@ -1196,8 +1196,8 @@ define hidden void @"_ZN59_$LT$rustc_hash..FxHasher$u20$as$u20$core..hash..Hashe ret void } -; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @"_ZN59_$LT$rustc_hash..FxHasher$u20$as$u20$core..hash..Hasher$GT$5write17hdaf3c64ce7294b9eE.llvm.14517926847443944930"(ptr noalias nocapture noundef align 8 dereferenceable(8) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #4 personality ptr @rust_eh_personality { +; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite) uwtable +define hidden void @"_ZN59_$LT$rustc_hash..FxHasher$u20$as$u20$core..hash..Hasher$GT$5write17hdaf3c64ce7294b9eE.llvm.14517926847443944930"(ptr noalias nocapture noundef align 8 dereferenceable(8) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #5 personality ptr @rust_eh_personality { %4 = load i64, ptr %0, align 8, !noundef !4 %5 = icmp ugt i64 %2, 7 br i1 %5, label %"_ZN59_$LT$rustc_hash..FxHasher$u20$as$u20$core..hash..Hasher$GT$5write28_$u7b$$u7b$closure$u7d$$u7d$17h33d7930312f9690eE.exit", label %._crit_edge @@ -1301,25 +1301,25 @@ define hidden void @"_ZN71_$LT$alloc..sync..Arc$LT$T$C$A$GT$$u20$as$u20$core..op declare noundef i32 @rust_eh_personality(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) unnamed_addr #0 ; Function Attrs: cold noreturn nounwind nonlazybind uwtable -declare void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() unnamed_addr #5 +declare void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() unnamed_addr #6 ; Function Attrs: nonlazybind uwtable declare void @_ZN3std6thread9yield_now17h644406618513f1f1E() unnamed_addr #0 ; Function Attrs: nounwind -declare void @llvm.x86.sse2.pause() unnamed_addr #6 +declare void @llvm.x86.sse2.pause() unnamed_addr #7 ; Function Attrs: nonlazybind uwtable declare void @_ZN3std3sys3pal4unix6thread6Thread4join17h4f4f68010317fc99E(i64 noundef) unnamed_addr #0 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN4core6option13unwrap_failed17hcb3a256a9f1ca882E(ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #7 +declare void @_ZN4core6option13unwrap_failed17hcb3a256a9f1ca882E(ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #8 ; Function Attrs: nonlazybind uwtable declare noundef zeroext i1 @"_ZN56_$LT$camino..Utf8PathBuf$u20$as$u20$core..fmt..Debug$GT$3fmt17h03ee5ad881aebed8E"(ptr noalias noundef readonly align 8 dereferenceable(24), ptr noalias noundef align 8 dereferenceable(64)) unnamed_addr #0 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN4core9panicking9panic_fmt17ha6effc2775a0749cE(ptr noalias nocapture noundef align 8 dereferenceable(48), ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #7 +declare void @_ZN4core9panicking9panic_fmt17ha6effc2775a0749cE(ptr noalias nocapture noundef align 8 dereferenceable(48), ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #8 ; Function Attrs: nonlazybind uwtable declare void @_ZN6camino8Utf8Path10components17h6ae8f8cb9dae6e13E(ptr noalias nocapture noundef sret({ { { ptr, i64 }, { i8, [39 x i8] }, i8, i8, i8, [5 x i8] } }) align 8 dereferenceable(64), ptr noalias noundef nonnull readonly align 1, i64 noundef) unnamed_addr #0 @@ -1328,16 +1328,16 @@ declare void @_ZN6camino8Utf8Path10components17h6ae8f8cb9dae6e13E(ptr noalias no declare void @"_ZN81_$LT$camino..Utf8Components$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h13a6c03a00f603f1E"(ptr noalias nocapture noundef sret({ i8, [55 x i8] }) align 8 dereferenceable(56), ptr noalias noundef align 8 dereferenceable(64)) unnamed_addr #0 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.fshl.i64(i64, i64, i64) #8 +declare i64 @llvm.fshl.i64(i64, i64, i64) #9 ; Function Attrs: nonlazybind uwtable declare hidden void @"_ZN5alloc4sync16Arc$LT$T$C$A$GT$9drop_slow17h08e2b090d8d16010E"(ptr noalias noundef align 8 dereferenceable(8)) unnamed_addr #0 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #9 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #10 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #9 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #10 ; Function Attrs: nonlazybind uwtable declare hidden void @"_ZN4core3ptr40drop_in_place$LT$std..thread..Thread$GT$17hde21e1a3e4461e3dE"(ptr noalias noundef align 8 dereferenceable(8)) unnamed_addr #0 @@ -1352,26 +1352,27 @@ declare hidden void @"_ZN5alloc4sync16Arc$LT$T$C$A$GT$9drop_slow17h5ce83c48167ce declare hidden { i64, i64 } @_ZN4core4sync6atomic23atomic_compare_exchange17h0c5e99cc50b9b7c9E.llvm.6969479408765091135(ptr noundef, i64 noundef, i64 noundef, i8 noundef, i8 noundef) unnamed_addr #3 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) -declare void @llvm.experimental.noalias.scope.decl(metadata) #10 +declare void @llvm.experimental.noalias.scope.decl(metadata) #11 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #11 +declare void @llvm.assume(i1 noundef) #12 attributes #0 = { nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #1 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #2 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #2 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #3 = { inlinehint nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #4 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #5 = { cold noreturn nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #6 = { nounwind } -attributes #7 = { cold noreturn nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #9 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #10 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } -attributes #11 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #12 = { cold } -attributes #13 = { noreturn } -attributes #14 = { cold noreturn nounwind } +attributes #4 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #5 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #6 = { cold noreturn nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #7 = { nounwind } +attributes #8 = { cold noreturn nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #9 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #10 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #11 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } +attributes #12 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #13 = { cold } +attributes #14 = { noreturn } +attributes #15 = { cold noreturn nounwind } !llvm.module.flags = !{!0, !1, !2} !llvm.ident = !{!3} diff --git a/bench/rust-analyzer-rs/optimized/2ggwxq7zy4uqwag1.ll b/bench/rust-analyzer-rs/optimized/2ggwxq7zy4uqwag1.ll index 45ff57f153d..1d86b572c94 100644 --- a/bench/rust-analyzer-rs/optimized/2ggwxq7zy4uqwag1.ll +++ b/bench/rust-analyzer-rs/optimized/2ggwxq7zy4uqwag1.ll @@ -27,7 +27,7 @@ define hidden void @_ZN4core4hash6Hasher11write_isize17hd12c03964ea803c4E.llvm.1 ret void } -; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable +; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable define hidden void @_ZN4core4hash6Hasher9write_str17hfa2b9b08f018a67fE.llvm.14405210946879359481(ptr noalias nocapture noundef align 8 dereferenceable(8) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #3 personality ptr @rust_eh_personality { tail call void @llvm.experimental.noalias.scope.decl(metadata !9) tail call void @llvm.experimental.noalias.scope.decl(metadata !12) @@ -240,7 +240,7 @@ _ZN4core4hash6Hasher9write_str17hfa2b9b08f018a67fE.llvm.14405210946879359481.exi } ; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN54_$LT$std..path..Prefix$u20$as$u20$core..hash..Hash$GT$4hash17hc32c6d5b877170feE.llvm.14405210946879359481"(ptr noalias nocapture noundef readonly align 8 dereferenceable(40) %0, ptr noalias nocapture noundef align 8 dereferenceable(8) %1) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden void @"_ZN54_$LT$std..path..Prefix$u20$as$u20$core..hash..Hash$GT$4hash17hc32c6d5b877170feE.llvm.14405210946879359481"(ptr noalias nocapture noundef readonly align 8 dereferenceable(40) %0, ptr noalias nocapture noundef align 8 dereferenceable(8) %1) unnamed_addr #4 personality ptr @rust_eh_personality { %3 = load i8, ptr %0, align 8, !range !68, !noundef !4 %4 = zext nneg i8 %3 to i64 %5 = load i64, ptr %1, align 8, !alias.scope !69, !noundef !4 @@ -735,7 +735,7 @@ default.unreachable145: ; preds = %2 } ; Function Attrs: inlinehint nonlazybind uwtable -define hidden { ptr, i64 } @"_ZN55_$LT$$RF$T$u20$as$u20$core..convert..AsRef$LT$U$GT$$GT$6as_ref17h7804eba629c91126E.llvm.14405210946879359481"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0) unnamed_addr #4 { +define hidden { ptr, i64 } @"_ZN55_$LT$$RF$T$u20$as$u20$core..convert..AsRef$LT$U$GT$$GT$6as_ref17h7804eba629c91126E.llvm.14405210946879359481"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0) unnamed_addr #5 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !align !74, !noundef !4 %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !noundef !4 @@ -744,7 +744,7 @@ define hidden { ptr, i64 } @"_ZN55_$LT$$RF$T$u20$as$u20$core..convert..AsRef$LT$ } ; Function Attrs: inlinehint nonlazybind uwtable -define hidden { ptr, i64 } @"_ZN55_$LT$$RF$T$u20$as$u20$core..convert..AsRef$LT$U$GT$$GT$6as_ref17hb6bc36d37f8820c3E.llvm.14405210946879359481"(ptr noalias nocapture noundef readonly align 8 dereferenceable(8) %0) unnamed_addr #4 { +define hidden { ptr, i64 } @"_ZN55_$LT$$RF$T$u20$as$u20$core..convert..AsRef$LT$U$GT$$GT$6as_ref17hb6bc36d37f8820c3E.llvm.14405210946879359481"(ptr noalias nocapture noundef readonly align 8 dereferenceable(8) %0) unnamed_addr #5 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !align !5, !noundef !4 tail call void @llvm.experimental.noalias.scope.decl(metadata !209) %3 = load ptr, ptr %2, align 8, !alias.scope !209, !nonnull !4, !align !74, !noundef !4 @@ -765,7 +765,7 @@ define hidden void @"_ZN56_$LT$camino..Utf8PathBuf$u20$as$u20$core..hash..Hash$G } ; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN58_$LT$camino..Utf8Component$u20$as$u20$core..hash..Hash$GT$4hash17hb3a73666996a02d8E.llvm.14405210946879359481"(ptr noalias nocapture noundef readonly align 8 dereferenceable(56) %0, ptr noalias nocapture noundef align 8 dereferenceable(8) %1) unnamed_addr #3 personality ptr @rust_eh_personality { +define hidden void @"_ZN58_$LT$camino..Utf8Component$u20$as$u20$core..hash..Hash$GT$4hash17hb3a73666996a02d8E.llvm.14405210946879359481"(ptr noalias nocapture noundef readonly align 8 dereferenceable(56) %0, ptr noalias nocapture noundef align 8 dereferenceable(8) %1) unnamed_addr #4 personality ptr @rust_eh_personality { %3 = load i8, ptr %0, align 8, !range !212, !noundef !4 %4 = add nsw i8 %3, -6 %5 = icmp ult i8 %4, 4 @@ -880,8 +880,8 @@ define hidden void @"_ZN59_$LT$rustc_hash..FxHasher$u20$as$u20$core..hash..Hashe ret void } -; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @"_ZN59_$LT$rustc_hash..FxHasher$u20$as$u20$core..hash..Hasher$GT$5write17hdaf3c64ce7294b9eE.llvm.14405210946879359481"(ptr noalias nocapture noundef align 8 dereferenceable(8) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #5 personality ptr @rust_eh_personality { +; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite) uwtable +define hidden void @"_ZN59_$LT$rustc_hash..FxHasher$u20$as$u20$core..hash..Hasher$GT$5write17hdaf3c64ce7294b9eE.llvm.14405210946879359481"(ptr noalias nocapture noundef align 8 dereferenceable(8) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #6 personality ptr @rust_eh_personality { %4 = load i64, ptr %0, align 8, !noundef !4 %5 = icmp ugt i64 %2, 7 br i1 %5, label %"_ZN59_$LT$rustc_hash..FxHasher$u20$as$u20$core..hash..Hasher$GT$5write28_$u7b$$u7b$closure$u7d$$u7d$17hacb4f233cf7304c8E.exit", label %._crit_edge @@ -996,12 +996,12 @@ define hidden void @_ZN6camino8Utf8Path4join17hce2c57aabf5efd95E(ptr noalias noc } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden void @"_ZN78_$LT$core..hash..BuildHasherDefault$LT$H$GT$$u20$as$u20$core..clone..Clone$GT$5clone17hc30b1c4829322906E.llvm.14405210946879359481"(ptr noalias nocapture noundef nonnull readonly align 1 %0) unnamed_addr #6 { +define hidden void @"_ZN78_$LT$core..hash..BuildHasherDefault$LT$H$GT$$u20$as$u20$core..clone..Clone$GT$5clone17hc30b1c4829322906E.llvm.14405210946879359481"(ptr noalias nocapture noundef nonnull readonly align 1 %0) unnamed_addr #7 { ret void } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden void @"_ZN78_$LT$core..hash..BuildHasherDefault$LT$H$GT$$u20$as$u20$core..clone..Clone$GT$5clone17he088467cba2f728bE.llvm.14405210946879359481"(ptr noalias nocapture noundef nonnull readonly align 1 %0) unnamed_addr #6 { +define hidden void @"_ZN78_$LT$core..hash..BuildHasherDefault$LT$H$GT$$u20$as$u20$core..clone..Clone$GT$5clone17he088467cba2f728bE.llvm.14405210946879359481"(ptr noalias nocapture noundef nonnull readonly align 1 %0) unnamed_addr #7 { ret void } @@ -1036,7 +1036,7 @@ define hidden void @"_ZN83_$LT$hashbrown..map..HashMap$LT$K$C$V$C$S$C$A$GT$$u20$ 13: ; preds = %9 %14 = landingpad { ptr, i32 } cleanup - invoke void @"_ZN4core3ptr97drop_in_place$LT$hashbrown..raw..RawTable$LT$$LP$vfs..FileId$C$vfs..vfs_path..VfsPath$RP$$GT$$GT$17h35faf339026398aeE"(ptr noalias noundef nonnull align 8 dereferenceable(32) %4) #17 + invoke void @"_ZN4core3ptr97drop_in_place$LT$hashbrown..raw..RawTable$LT$$LP$vfs..FileId$C$vfs..vfs_path..VfsPath$RP$$GT$$GT$17h35faf339026398aeE"(ptr noalias noundef nonnull align 8 dereferenceable(32) %4) #18 to label %17 unwind label %15, !noalias !270 "_ZN87_$LT$hashbrown..raw..RawTable$LT$T$C$A$GT$$u20$as$u20$hashbrown..raw..RawTableClone$GT$15clone_from_spec17h9eb137f04ffd488fE.llvm.16646241683577740079.exit.i": ; preds = %9 @@ -1047,7 +1047,7 @@ define hidden void @"_ZN83_$LT$hashbrown..map..HashMap$LT$K$C$V$C$S$C$A$GT$$u20$ 15: ; preds = %13 %16 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #18, !noalias !270 + call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #19, !noalias !270 unreachable 17: ; preds = %13 @@ -1091,7 +1091,7 @@ define hidden void @"_ZN83_$LT$hashbrown..map..HashMap$LT$K$C$V$C$S$C$A$GT$$u20$ 13: ; preds = %9 %14 = landingpad { ptr, i32 } cleanup - invoke void @"_ZN4core3ptr97drop_in_place$LT$hashbrown..raw..RawTable$LT$$LP$vfs..vfs_path..VfsPath$C$vfs..FileId$RP$$GT$$GT$17hc29b19af38102024E"(ptr noalias noundef nonnull align 8 dereferenceable(32) %4) #17 + invoke void @"_ZN4core3ptr97drop_in_place$LT$hashbrown..raw..RawTable$LT$$LP$vfs..vfs_path..VfsPath$C$vfs..FileId$RP$$GT$$GT$17hc29b19af38102024E"(ptr noalias noundef nonnull align 8 dereferenceable(32) %4) #18 to label %17 unwind label %15, !noalias !276 "_ZN87_$LT$hashbrown..raw..RawTable$LT$T$C$A$GT$$u20$as$u20$hashbrown..raw..RawTableClone$GT$15clone_from_spec17h2e234e79b0099a8fE.llvm.16646241683577740079.exit.i": ; preds = %9 @@ -1102,7 +1102,7 @@ define hidden void @"_ZN83_$LT$hashbrown..map..HashMap$LT$K$C$V$C$S$C$A$GT$$u20$ 15: ; preds = %13 %16 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #18, !noalias !276 + call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #19, !noalias !276 unreachable 17: ; preds = %13 @@ -1116,7 +1116,7 @@ define hidden void @"_ZN83_$LT$hashbrown..map..HashMap$LT$K$C$V$C$S$C$A$GT$$u20$ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZN8indexmap19Bucket$LT$K$C$V$GT$7key_ref17ha104d47624ef13b2E.llvm.14405210946879359481"(ptr noalias noundef readonly returned align 8 dereferenceable(40) %0) unnamed_addr #6 { +define hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZN8indexmap19Bucket$LT$K$C$V$GT$7key_ref17ha104d47624ef13b2E.llvm.14405210946879359481"(ptr noalias noundef readonly returned align 8 dereferenceable(40) %0) unnamed_addr #7 { ret ptr %0 } @@ -1142,7 +1142,7 @@ define hidden { i64, i1 } @"_ZN8indexmap3set21IndexSet$LT$T$C$S$GT$11insert_full 8: ; preds = %5 %9 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #18, !noalias !285 + call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #19, !noalias !285 unreachable "_ZN8indexmap3map25IndexMap$LT$K$C$V$C$S$GT$11insert_full17hf1c9513be8ca52f7E.exit": ; preds = %2 @@ -1159,7 +1159,7 @@ define hidden { i64, i1 } @"_ZN8indexmap3set21IndexSet$LT$T$C$S$GT$11insert_full } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef align 8 dereferenceable_or_null(32) ptr @"_ZN8indexmap3set21IndexSet$LT$T$C$S$GT$9get_index17hdd8273ee5da8f15dE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(56) %0, i64 noundef %1) unnamed_addr #7 { +define hidden noundef align 8 dereferenceable_or_null(32) ptr @"_ZN8indexmap3set21IndexSet$LT$T$C$S$GT$9get_index17hdd8273ee5da8f15dE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(56) %0, i64 noundef %1) unnamed_addr #8 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load i64, ptr %3, align 8, !noundef !4 %.not = icmp ugt i64 %4, %1 @@ -1171,7 +1171,7 @@ define hidden noundef align 8 dereferenceable_or_null(32) ptr @"_ZN8indexmap3set } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @"_ZN9hashbrown3map28HashMap$LT$K$C$V$C$S$C$A$GT$4iter17h3c4470a03a3b1892E"(ptr noalias nocapture noundef writeonly sret({ { { ptr, ptr, ptr, i16, [3 x i16] }, i64 }, {} }) align 8 dereferenceable(40) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(32) %1) unnamed_addr #8 { +define hidden void @"_ZN9hashbrown3map28HashMap$LT$K$C$V$C$S$C$A$GT$4iter17h3c4470a03a3b1892E"(ptr noalias nocapture noundef writeonly sret({ { { ptr, ptr, ptr, i16, [3 x i16] }, i64 }, {} }) align 8 dereferenceable(40) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(32) %1) unnamed_addr #9 { %3 = load ptr, ptr %1, align 8, !nonnull !4, !noundef !4 %4 = getelementptr inbounds i8, ptr %1, i64 8 %5 = load i64, ptr %4, align 8, !noundef !4 @@ -1359,7 +1359,7 @@ define hidden void @"_ZN9hashbrown3map28HashMap$LT$K$C$V$C$S$C$A$GT$6insert17h30 79: ; preds = %76 %80 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - tail call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #18 + tail call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #19 unreachable "_ZN4core3ptr43drop_in_place$LT$vfs..vfs_path..VfsPath$GT$17h284ed7a6ec451a16E.exit": ; preds = %76 @@ -1653,7 +1653,7 @@ define hidden { i32, i32 } @"_ZN9hashbrown3map28HashMap$LT$K$C$V$C$S$C$A$GT$6ins 122: ; preds = %.loopexit.split-lp %123 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #18 + call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #19 unreachable } @@ -1668,7 +1668,7 @@ define hidden noundef nonnull ptr @"_ZN9hashbrown3raw15Bucket$LT$T$GT$15from_bas declare noundef zeroext i1 @"_ZN56_$LT$camino..Utf8PathBuf$u20$as$u20$core..fmt..Debug$GT$3fmt17h03ee5ad881aebed8E"(ptr noalias noundef readonly align 8 dereferenceable(24), ptr noalias noundef align 8 dereferenceable(64)) unnamed_addr #0 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #9 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #10 ; Function Attrs: nonlazybind uwtable declare noundef i32 @rust_eh_personality(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) unnamed_addr #0 @@ -1683,22 +1683,22 @@ declare void @"_ZN81_$LT$camino..Utf8Components$u20$as$u20$core..iter..traits..i declare { ptr, i64 } @"_ZN6camino78_$LT$impl$u20$core..convert..AsRef$LT$camino..Utf8Path$GT$$u20$for$u20$str$GT$6as_ref17h02821cf3bf4b2a93E"(ptr noalias noundef nonnull readonly align 1, i64 noundef) unnamed_addr #0 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.fshl.i64(i64, i64, i64) #10 +declare i64 @llvm.fshl.i64(i64, i64, i64) #11 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #11 +declare void @llvm.assume(i1 noundef) #12 ; Function Attrs: cold noreturn nounwind nonlazybind uwtable -declare void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() unnamed_addr #12 +declare void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() unnamed_addr #13 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i16 @llvm.cttz.i16(i16, i1 immarg) #10 +declare i16 @llvm.cttz.i16(i16, i1 immarg) #11 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #13 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #14 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #13 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #14 ; Function Attrs: nonlazybind uwtable declare hidden void @"_ZN9hashbrown3raw21RawTable$LT$T$C$A$GT$17new_uninitialized17h71de45d32fe2c66eE.llvm.16646241683577740079"(ptr noalias nocapture noundef sret({ ptr, [3 x i64] }) align 8 dereferenceable(32), i64 noundef, i1 noundef zeroext) unnamed_addr #0 @@ -1713,10 +1713,10 @@ declare hidden void @"_ZN9hashbrown3raw21RawTable$LT$T$C$A$GT$17new_uninitialize declare hidden void @"_ZN9hashbrown3raw21RawTable$LT$T$C$A$GT$15clone_from_impl17h1a55f1d8b1e160d8E.llvm.16646241683577740079"(ptr noalias noundef align 8 dereferenceable(32), ptr noalias noundef readonly align 8 dereferenceable(32)) unnamed_addr #0 ; Function Attrs: cold nonlazybind uwtable -declare hidden { i64, i64 } @"_ZN9hashbrown3raw21RawTable$LT$T$C$A$GT$14reserve_rehash17h8f6e721981d23a66E.llvm.16646241683577740079"(ptr noalias noundef align 8 dereferenceable(32), i64 noundef, ptr noalias noundef nonnull readonly align 1, i1 noundef zeroext) unnamed_addr #14 +declare hidden { i64, i64 } @"_ZN9hashbrown3raw21RawTable$LT$T$C$A$GT$14reserve_rehash17h8f6e721981d23a66E.llvm.16646241683577740079"(ptr noalias noundef align 8 dereferenceable(32), i64 noundef, ptr noalias noundef nonnull readonly align 1, i1 noundef zeroext) unnamed_addr #15 ; Function Attrs: cold nonlazybind uwtable -declare hidden { i64, i64 } @"_ZN9hashbrown3raw21RawTable$LT$T$C$A$GT$14reserve_rehash17h939a46bcd9019effE.llvm.16646241683577740079"(ptr noalias noundef align 8 dereferenceable(32), i64 noundef, ptr noalias noundef nonnull readonly align 1, i1 noundef zeroext) unnamed_addr #14 +declare hidden { i64, i64 } @"_ZN9hashbrown3raw21RawTable$LT$T$C$A$GT$14reserve_rehash17h939a46bcd9019effE.llvm.16646241683577740079"(ptr noalias noundef align 8 dereferenceable(32), i64 noundef, ptr noalias noundef nonnull readonly align 1, i1 noundef zeroext) unnamed_addr #15 ; Function Attrs: nonlazybind uwtable declare void @_ZN3std4path4Path5_join17h9500bce508c32853E(ptr noalias nocapture noundef sret({ { { { { i64, ptr, {} }, i64 } } } }) align 8 dereferenceable(24), ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noalias noundef nonnull readonly align 1, i64 noundef) unnamed_addr #0 @@ -1725,7 +1725,7 @@ declare void @_ZN3std4path4Path5_join17h9500bce508c32853E(ptr noalias nocapture declare hidden { i64, i1 } @"_ZN8indexmap3map4core25IndexMapCore$LT$K$C$V$GT$11insert_full17h8da41ebf0f3b350eE"(ptr noalias noundef align 8 dereferenceable(56), i64 noundef, ptr noalias nocapture noundef align 8 dereferenceable(32)) unnamed_addr #0 ; Function Attrs: inlinehint nonlazybind uwtable -declare hidden void @"_ZN63_$LT$vfs..vfs_path..VfsPathRepr$u20$as$u20$core..hash..Hash$GT$4hash17h5d37719b5fcb7280E.llvm.5655766238960710218"(ptr noalias noundef readonly align 8 dereferenceable(32), ptr noalias noundef align 8 dereferenceable(8)) unnamed_addr #4 +declare hidden void @"_ZN63_$LT$vfs..vfs_path..VfsPathRepr$u20$as$u20$core..hash..Hash$GT$4hash17h5d37719b5fcb7280E.llvm.5655766238960710218"(ptr noalias noundef readonly align 8 dereferenceable(32), ptr noalias noundef align 8 dereferenceable(8)) unnamed_addr #5 ; Function Attrs: nonlazybind uwtable declare hidden void @"_ZN4core3ptr46drop_in_place$LT$alloc..vec..Vec$LT$u8$GT$$GT$17h0bc1d51c2821d2ccE"(ptr noalias noundef align 8 dereferenceable(24)) unnamed_addr #0 @@ -1737,39 +1737,40 @@ declare hidden void @"_ZN4core3ptr97drop_in_place$LT$hashbrown..raw..RawTable$LT declare hidden void @"_ZN4core3ptr97drop_in_place$LT$hashbrown..raw..RawTable$LT$$LP$vfs..vfs_path..VfsPath$C$vfs..FileId$RP$$GT$$GT$17hc29b19af38102024E"(ptr noalias noundef align 8 dereferenceable(32)) unnamed_addr #0 ; Function Attrs: inlinehint nonlazybind uwtable -declare hidden void @"_ZN63_$LT$vfs..vfs_path..VfsPathRepr$u20$as$u20$core..hash..Hash$GT$4hash17h5d37719b5fcb7280E.llvm.16399167019466869338"(ptr noalias noundef readonly align 8 dereferenceable(32), ptr noalias noundef align 8 dereferenceable(8)) unnamed_addr #4 +declare hidden void @"_ZN63_$LT$vfs..vfs_path..VfsPathRepr$u20$as$u20$core..hash..Hash$GT$4hash17h5d37719b5fcb7280E.llvm.16399167019466869338"(ptr noalias noundef readonly align 8 dereferenceable(32), ptr noalias noundef align 8 dereferenceable(8)) unnamed_addr #5 ; Function Attrs: nonlazybind uwtable declare hidden noundef zeroext i1 @"_ZN67_$LT$paths..AbsPathBuf$u20$as$u20$core..cmp..PartialEq$LT$P$GT$$GT$2eq17hc4522090f1d5df7dE"(ptr noalias noundef readonly align 8 dereferenceable(24), ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #0 ; Function Attrs: inlinehint nonlazybind uwtable -declare hidden noundef zeroext i1 @"_ZN5alloc3vec10partial_eq117_$LT$impl$u20$core..cmp..PartialEq$LT$alloc..vec..Vec$LT$U$C$A2$GT$$GT$$u20$for$u20$alloc..vec..Vec$LT$T$C$A1$GT$$GT$2eq17hd299c10dab286eefE.llvm.16399167019466869338"(ptr noalias noundef readonly align 8 dereferenceable(24), ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #4 +declare hidden noundef zeroext i1 @"_ZN5alloc3vec10partial_eq117_$LT$impl$u20$core..cmp..PartialEq$LT$alloc..vec..Vec$LT$U$C$A2$GT$$GT$$u20$for$u20$alloc..vec..Vec$LT$T$C$A1$GT$$GT$2eq17hd299c10dab286eefE.llvm.16399167019466869338"(ptr noalias noundef readonly align 8 dereferenceable(24), ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #5 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) -declare void @llvm.experimental.noalias.scope.decl(metadata) #15 +declare void @llvm.experimental.noalias.scope.decl(metadata) #16 ; 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) #16 +declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #17 attributes #0 = { nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #1 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #2 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #3 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #4 = { inlinehint nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #5 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #6 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #7 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #8 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #10 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #11 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #12 = { cold noreturn nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #13 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #14 = { cold nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #15 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } -attributes #16 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #17 = { cold } -attributes #18 = { cold noreturn nounwind } +attributes #3 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #4 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #5 = { inlinehint nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #6 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #7 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #8 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #9 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #10 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #11 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #12 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #13 = { cold noreturn nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #14 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #15 = { cold nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #16 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } +attributes #17 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #18 = { cold } +attributes #19 = { cold noreturn nounwind } !llvm.module.flags = !{!0, !1, !2} !llvm.ident = !{!3} diff --git a/bench/rust-analyzer-rs/optimized/47txxwz9tojfkorr.ll b/bench/rust-analyzer-rs/optimized/47txxwz9tojfkorr.ll index 5859eb95ca0..bdb7ac171a6 100644 --- a/bench/rust-analyzer-rs/optimized/47txxwz9tojfkorr.ll +++ b/bench/rust-analyzer-rs/optimized/47txxwz9tojfkorr.ll @@ -43,7 +43,7 @@ define hidden void @"_ZN5alloc11collections5btree4node115NodeRef$LT$alloc..colle br i1 %8, label %10, label %9 9: ; preds = %4 - tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.9.llvm.10207511071709237075, i64 noundef 32, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.11.llvm.10207511071709237075) #22 + tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.9.llvm.10207511071709237075, i64 noundef 32, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.11.llvm.10207511071709237075) #23 unreachable 10: ; preds = %4 @@ -73,7 +73,7 @@ define hidden { ptr, i64 } @"_ZN5alloc11collections5btree4node117NodeRef$LT$allo br i1 %2, label %3, label %"_ZN5alloc11collections5btree4node21LeafNode$LT$K$C$V$GT$3new17haeea33ab4a25b4a4E.llvm.10207511071709237075.exit" 3: ; preds = %0 - tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 8, i64 noundef 104) #22 + tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 8, i64 noundef 104) #23 unreachable "_ZN5alloc11collections5btree4node21LeafNode$LT$K$C$V$GT$3new17haeea33ab4a25b4a4E.llvm.10207511071709237075.exit": ; preds = %0 @@ -107,7 +107,7 @@ define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..colle %.sink20.i11 = phi i64 [ %8, %7 ], [ %6, %"_ZN5alloc11collections5btree4node40NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$6ascend17he7f2f7235195bcf8E.llvm.10207511071709237075.exit.thread" ] %.not = icmp eq i64 %2, 0 %. = select i1 %.not, i64 104, i64 200 - tail call void @__rust_dealloc(ptr noundef nonnull %1, i64 noundef %., i64 noundef 8) #23 + tail call void @__rust_dealloc(ptr noundef nonnull %1, i64 noundef %., i64 noundef 8) #24 store ptr %4, ptr %0, align 8 %.sroa.5.0..sroa_idx2 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %.sink20.i11, ptr %.sroa.5.0..sroa_idx2, align 8 @@ -251,7 +251,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec br i1 %35, label %36, label %"_ZN5alloc11collections5btree4node21LeafNode$LT$K$C$V$GT$3new17haeea33ab4a25b4a4E.llvm.10207511071709237075.exit.i.i" 36: ; preds = %31 - tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 8, i64 noundef 104) #22, !noalias !24 + tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 8, i64 noundef 104) #23, !noalias !24 unreachable "_ZN5alloc11collections5btree4node21LeafNode$LT$K$C$V$GT$3new17haeea33ab4a25b4a4E.llvm.10207511071709237075.exit.i.i": ; preds = %31 @@ -276,7 +276,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec br i1 %50, label %51, label %"_ZN106_$LT$core..ops..range..Range$LT$usize$GT$$u20$as$u20$core..slice..index..SliceIndex$LT$$u5b$T$u5d$$GT$$GT$9index_mut17h163917ca72e43ed8E.exit.i.i.i" 51: ; preds = %"_ZN5alloc11collections5btree4node21LeafNode$LT$K$C$V$GT$3new17haeea33ab4a25b4a4E.llvm.10207511071709237075.exit.i.i" - invoke void @_ZN4core5slice5index24slice_end_index_len_fail17h334e37603831ab29E(i64 noundef %41, i64 noundef 11, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.19) #22 + invoke void @_ZN4core5slice5index24slice_end_index_len_fail17h334e37603831ab29E(i64 noundef %41, i64 noundef 11, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.19) #23 to label %.noexc.i.i unwind label %55, !noalias !24 .noexc.i.i: ; preds = %51 @@ -288,7 +288,7 @@ define hidden void @"_ZN5alloc11collections5btree4node210Handle$LT$alloc..collec br i1 %53, label %"_ZN5alloc11collections5btree4node208Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..KV$GT$5split17hb9d81f920d0591dcE.exit.i", label %54 54: ; preds = %"_ZN106_$LT$core..ops..range..Range$LT$usize$GT$$u20$as$u20$core..slice..index..SliceIndex$LT$$u5b$T$u5d$$GT$$GT$9index_mut17h163917ca72e43ed8E.exit.i.i.i" - invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.17, i64 noundef 40, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.18) #22 + invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.17, i64 noundef 40, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.18) #23 to label %.noexc5.i.i unwind label %55, !noalias !24 .noexc5.i.i: ; preds = %54 @@ -301,7 +301,7 @@ common.resume: ; preds = %240, %196, %55 55: ; preds = %54, %51 %56 = landingpad { ptr, i32 } cleanup - tail call void @__rust_dealloc(ptr noundef nonnull %34, i64 noundef 104, i64 noundef 8) #23, !noalias !24 + tail call void @__rust_dealloc(ptr noundef nonnull %34, i64 noundef 104, i64 noundef 8) #24, !noalias !24 br label %common.resume "_ZN5alloc11collections5btree4node208Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..KV$GT$5split17hb9d81f920d0591dcE.exit.i": ; preds = %"_ZN106_$LT$core..ops..range..Range$LT$usize$GT$$u20$as$u20$core..slice..index..SliceIndex$LT$$u5b$T$u5d$$GT$$GT$9index_mut17h163917ca72e43ed8E.exit.i.i.i" @@ -374,7 +374,7 @@ common.resume: ; preds = %240, %196, %55 br i1 %93, label %95, label %94 94: ; preds = %.lr.ph - tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.22, i64 noundef 53, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.23) #22, !noalias !53 + tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.22, i64 noundef 53, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.23) #23, !noalias !53 unreachable 95: ; preds = %.lr.ph @@ -475,7 +475,7 @@ _ZN5alloc11collections5btree4node12slice_insert17h2dd62a479812bd95E.exit.i.i: ; br i1 %142, label %143, label %"_ZN5alloc11collections5btree4node25InternalNode$LT$K$C$V$GT$3new17ha21e0b39506f32f0E.exit.i.i" 143: ; preds = %140 - tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 8, i64 noundef 200) #22, !noalias !69 + tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 8, i64 noundef 200) #23, !noalias !69 unreachable "_ZN5alloc11collections5btree4node25InternalNode$LT$K$C$V$GT$3new17ha21e0b39506f32f0E.exit.i.i": ; preds = %140 @@ -500,7 +500,7 @@ _ZN5alloc11collections5btree4node12slice_insert17h2dd62a479812bd95E.exit.i.i: ; br i1 %157, label %158, label %"_ZN106_$LT$core..ops..range..Range$LT$usize$GT$$u20$as$u20$core..slice..index..SliceIndex$LT$$u5b$T$u5d$$GT$$GT$9index_mut17h163917ca72e43ed8E.exit.i.i.i48" 158: ; preds = %"_ZN5alloc11collections5btree4node25InternalNode$LT$K$C$V$GT$3new17ha21e0b39506f32f0E.exit.i.i" - invoke void @_ZN4core5slice5index24slice_end_index_len_fail17h334e37603831ab29E(i64 noundef %148, i64 noundef 11, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.19) #22 + invoke void @_ZN4core5slice5index24slice_end_index_len_fail17h334e37603831ab29E(i64 noundef %148, i64 noundef 11, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.19) #23 to label %.noexc.i.i49 unwind label %162, !noalias !69 .noexc.i.i49: ; preds = %158 @@ -512,7 +512,7 @@ _ZN5alloc11collections5btree4node12slice_insert17h2dd62a479812bd95E.exit.i.i: ; br i1 %160, label %166, label %161 161: ; preds = %"_ZN106_$LT$core..ops..range..Range$LT$usize$GT$$u20$as$u20$core..slice..index..SliceIndex$LT$$u5b$T$u5d$$GT$$GT$9index_mut17h163917ca72e43ed8E.exit.i.i.i48" - invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.17, i64 noundef 40, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.18) #22 + invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.17, i64 noundef 40, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.18) #23 to label %.noexc8.i.i unwind label %162, !noalias !69 .noexc8.i.i: ; preds = %161 @@ -550,7 +550,7 @@ _ZN5alloc11collections5btree4node12slice_insert17h2dd62a479812bd95E.exit.i.i: ; br i1 %181, label %182, label %183 182: ; preds = %166 - invoke void @_ZN4core5slice5index24slice_end_index_len_fail17h334e37603831ab29E(i64 noundef %180, i64 noundef 12, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.21) #22 + invoke void @_ZN4core5slice5index24slice_end_index_len_fail17h334e37603831ab29E(i64 noundef %180, i64 noundef 12, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.21) #23 to label %.noexc9.i.i unwind label %164, !noalias !69 .noexc9.i.i: ; preds = %182 @@ -561,7 +561,7 @@ _ZN5alloc11collections5btree4node12slice_insert17h2dd62a479812bd95E.exit.i.i: ; br i1 %184, label %186, label %185 185: ; preds = %183 - invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.17, i64 noundef 40, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.18) #22 + invoke void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.17, i64 noundef 40, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.18) #23 to label %.noexc10.i.i unwind label %164, !noalias !69 .noexc10.i.i: ; preds = %185 @@ -592,7 +592,7 @@ _ZN5alloc11collections5btree4node12slice_insert17h2dd62a479812bd95E.exit.i.i: ; 196: ; preds = %164, %162 %.pn.i.i = phi { ptr, i32 } [ %165, %164 ], [ %163, %162 ] - tail call void @__rust_dealloc(ptr noundef nonnull %141, i64 noundef 200, i64 noundef 8) #23, !noalias !69 + tail call void @__rust_dealloc(ptr noundef nonnull %141, i64 noundef 200, i64 noundef 8) #24, !noalias !69 br label %common.resume "_ZN5alloc11collections5btree4node212Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$alloc..collections..btree..node..marker..Internal$GT$$C$alloc..collections..btree..node..marker..KV$GT$5split17h435e43561ab2501fE.exit.i": ; preds = %188 @@ -670,7 +670,7 @@ _ZN5alloc11collections5btree4node12slice_insert17h2dd62a479812bd95E.exit.i19.i: br i1 %232, label %233, label %234 233: ; preds = %._crit_edge - tail call void @_ZN4core6option13unwrap_failed17hcb3a256a9f1ca882E(ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.8) #22, !noalias !108 + tail call void @_ZN4core6option13unwrap_failed17hcb3a256a9f1ca882E(ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.8) #23, !noalias !108 unreachable 234: ; preds = %._crit_edge @@ -686,7 +686,7 @@ _ZN5alloc11collections5btree4node12slice_insert17h2dd62a479812bd95E.exit.i19.i: br i1 %238, label %239, label %_ZN5alloc11collections5btree3mem7replace17h5eee1cb286f1f6a9E.exit.i 239: ; preds = %.noexc.i.i51 - invoke void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 8, i64 noundef 200) #22 + invoke void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 8, i64 noundef 200) #23 to label %.noexc3.i.i unwind label %240, !noalias !114 .noexc3.i.i: ; preds = %239 @@ -701,7 +701,7 @@ _ZN5alloc11collections5btree4node12slice_insert17h2dd62a479812bd95E.exit.i19.i: 242: ; preds = %240 %243 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #24, !noalias !114 + call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #25, !noalias !114 unreachable _ZN5alloc11collections5btree3mem7replace17h5eee1cb286f1f6a9E.exit.i: ; preds = %.noexc.i.i51 @@ -721,7 +721,7 @@ _ZN5alloc11collections5btree3mem7replace17h5eee1cb286f1f6a9E.exit.i: ; preds = % br i1 %248, label %250, label %249 249: ; preds = %_ZN5alloc11collections5btree3mem7replace17h5eee1cb286f1f6a9E.exit.i - tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.12, i64 noundef 48, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.13) #22, !noalias !108 + tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.12, i64 noundef 48, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.13) #23, !noalias !108 unreachable 250: ; preds = %_ZN5alloc11collections5btree3mem7replace17h5eee1cb286f1f6a9E.exit.i @@ -730,7 +730,7 @@ _ZN5alloc11collections5btree3mem7replace17h5eee1cb286f1f6a9E.exit.i: ; preds = % br i1 %252, label %"_ZN5alloc11collections5btree3map5entry28VacantEntry$LT$K$C$V$C$A$GT$6insert28_$u7b$$u7b$closure$u7d$$u7d$17h8f638abfa395460fE.exit", label %253 253: ; preds = %250 - tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.9.llvm.10207511071709237075, i64 noundef 32, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.14) #22, !noalias !108 + tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.9.llvm.10207511071709237075, i64 noundef 32, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.14) #23, !noalias !108 unreachable "_ZN5alloc11collections5btree3map5entry28VacantEntry$LT$K$C$V$C$A$GT$6insert28_$u7b$$u7b$closure$u7d$$u7d$17h8f638abfa395460fE.exit": ; preds = %250 @@ -776,7 +776,7 @@ define hidden noundef nonnull align 8 ptr @"_ZN5alloc11collections5btree4node21L br i1 %2, label %3, label %"_ZN5alloc5boxed16Box$LT$T$C$A$GT$13new_uninit_in17h73bb3879646e17c0E.exit" 3: ; preds = %0 - tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 8, i64 noundef 104) #22 + tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 8, i64 noundef 104) #23 unreachable "_ZN5alloc5boxed16Box$LT$T$C$A$GT$13new_uninit_in17h73bb3879646e17c0E.exit": ; preds = %0 @@ -812,7 +812,7 @@ define internal fastcc { ptr, i64 } @"_ZN5alloc11collections5btree4node29Balanci br i1 %22, label %_ZN5alloc11collections5btree4node13move_to_slice17h795638a28d0ce89eE.exit41, label %23 23: ; preds = %1 - tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.43, i64 noundef 42, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.44) #22 + tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.43, i64 noundef 42, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.44) #23 unreachable _ZN5alloc11collections5btree4node13move_to_slice17h795638a28d0ce89eE.exit41: ; preds = %1 @@ -886,7 +886,7 @@ _ZN5alloc11collections5btree4node13move_to_slice17h795638a28d0ce89eE.exit41: ; p br i1 %66, label %_ZN5alloc11collections5btree4node13move_to_slice17h6f6d55eec4473bdaE.exit, label %67 67: ; preds = %62 - tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.17, i64 noundef 40, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.18) #22, !noalias !143 + tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.17, i64 noundef 40, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.18) #23, !noalias !143 unreachable _ZN5alloc11collections5btree4node13move_to_slice17h6f6d55eec4473bdaE.exit: ; preds = %62 @@ -912,7 +912,7 @@ _ZN5alloc11collections5btree4node13move_to_slice17h6f6d55eec4473bdaE.exit: ; pre "_ZN5alloc11collections5btree4node119NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$alloc..collections..btree..node..marker..Internal$GT$30correct_childrens_parent_links17h64fb39a9933b109aE.exit45": ; preds = %.lr.ph.i42, %"_ZN5alloc11collections5btree4node119NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$alloc..collections..btree..node..marker..Internal$GT$30correct_childrens_parent_links17h64fb39a9933b109aE.exit" %.sink = phi i64 [ 104, %"_ZN5alloc11collections5btree4node119NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$alloc..collections..btree..node..marker..Internal$GT$30correct_childrens_parent_links17h64fb39a9933b109aE.exit" ], [ 200, %.lr.ph.i42 ] - tail call void @__rust_dealloc(ptr noundef nonnull %16, i64 noundef %.sink, i64 noundef 8) #23 + tail call void @__rust_dealloc(ptr noundef nonnull %16, i64 noundef %.sink, i64 noundef 8) #24 %77 = insertvalue { ptr, i64 } poison, ptr %9, 0 %78 = insertvalue { ptr, i64 } %77, i64 %11, 1 ret { ptr, i64 } %78 @@ -1133,7 +1133,7 @@ define hidden { ptr, i64 } @"_ZN5alloc11collections5btree5split178_$LT$impl$u20$ br i1 %9, label %10, label %"_ZN5alloc11collections5btree4node117NodeRef$LT$alloc..collections..btree..node..marker..Owned$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$8new_leaf17hdeff0735630babccE.exit.i" 10: ; preds = %2 - tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 8, i64 noundef 104) #22 + tail call void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 8, i64 noundef 104) #23 unreachable "_ZN5alloc11collections5btree4node117NodeRef$LT$alloc..collections..btree..node..marker..Owned$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$8new_leaf17hdeff0735630babccE.exit.i": ; preds = %2 @@ -1156,7 +1156,7 @@ define hidden { ptr, i64 } @"_ZN5alloc11collections5btree5split178_$LT$impl$u20$ br i1 %14, label %15, label %_ZN5alloc11collections5btree3mem7replace17h5eee1cb286f1f6a9E.exit.i 15: ; preds = %.noexc.i.i - invoke void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 8, i64 noundef 200) #22 + invoke void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef 8, i64 noundef 200) #23 to label %.noexc3.i.i unwind label %.loopexit.split-lp.i, !noalias !164 .noexc3.i.i: ; preds = %15 @@ -1180,7 +1180,7 @@ define hidden { ptr, i64 } @"_ZN5alloc11collections5btree5split178_$LT$impl$u20$ 17: ; preds = %16 %18 = landingpad { ptr, i32 } filter [0 x ptr] zeroinitializer - call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #24, !noalias !164 + call void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() #25, !noalias !164 unreachable "_ZN4core3ptr72drop_in_place$LT$alloc..collections..btree..mem..replace..PanicGuard$GT$17h0315362bd771fd9cE.exit.i.i": ; preds = %16 @@ -1240,7 +1240,7 @@ _ZN5alloc11collections5btree3mem7replace17h5eee1cb286f1f6a9E.exit.i: ; preds = % br i1 %35, label %37, label %36 36: ; preds = %.loopexit.loopexit.i.i - tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.28, i64 noundef 39, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.29) #22, !noalias !184 + tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.28, i64 noundef 39, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.29) #23, !noalias !184 unreachable 37: ; preds = %.loopexit.loopexit.i.i @@ -1326,7 +1326,7 @@ _ZN5alloc11collections5btree4node13move_to_slice17h6f6d55eec4473bdaE.exit.i: ; p %72 = add i64 %65, -1 store i64 %72, ptr %6, align 8, !alias.scope !209 store ptr null, ptr %71, align 8, !noalias !209 - tail call void @__rust_dealloc(ptr noundef nonnull %66, i64 noundef 200, i64 noundef 8) #23, !noalias !209 + tail call void @__rust_dealloc(ptr noundef nonnull %66, i64 noundef 200, i64 noundef 8) #24, !noalias !209 %.not.i.i = icmp eq i64 %72, 0 br i1 %.not.i.i, label %"_ZN5alloc11collections5btree3fix178_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Owned$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$7fix_top17hb9a5d15a38325998E.exit.i", label %.lr.ph.i.i33 @@ -1402,7 +1402,7 @@ _ZN5alloc11collections5btree4node13move_to_slice17h6f6d55eec4473bdaE.exit.i: ; p br i1 %103, label %105, label %104 104: ; preds = %100 - tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.32, i64 noundef 51, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.33) #22, !noalias !219 + tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.32, i64 noundef 51, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.33) #23, !noalias !219 unreachable 105: ; preds = %100 @@ -1427,7 +1427,7 @@ _ZN5alloc11collections5btree4node13move_to_slice17h6f6d55eec4473bdaE.exit.i: ; p br i1 %117, label %_ZN5alloc11collections5btree4node13move_to_slice17h795638a28d0ce89eE.exit55.i.i.i.i, label %118 118: ; preds = %105 - tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.17, i64 noundef 40, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.18) #22, !noalias !227 + tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.17, i64 noundef 40, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.18) #23, !noalias !227 unreachable _ZN5alloc11collections5btree4node13move_to_slice17h795638a28d0ce89eE.exit55.i.i.i.i: ; preds = %105 @@ -1495,7 +1495,7 @@ _ZN5alloc11collections5btree4node13move_to_slice17h6f6d55eec4473bdaE.exit.i.i.i. br i1 %.not.i2.i16.i, label %.loopexit.i35, label %"_ZN5alloc11collections5btree3fix269_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$30fix_right_border_of_right_edge17h26fd5ee462bb9b1fE.exit.i" .loopexit.i35: ; preds = %"_ZN5alloc11collections5btree3fix263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$alloc..collections..btree..node..marker..Internal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$15fix_right_child17hfafca1653cf2d44cE.exit.i.i", %"_ZN5alloc11collections5btree3fix263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$alloc..collections..btree..node..marker..Internal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$15fix_right_child17hfafca1653cf2d44cE.exit.i.thread.i" - tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.45, i64 noundef 25, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.46) #22, !noalias !242 + tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.45, i64 noundef 25, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.46) #23, !noalias !242 unreachable "_ZN5alloc11collections5btree4node40NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$7last_kv17h4d63aac4b9a94497E.exit.i.i": ; preds = %"_ZN5alloc11collections5btree3fix263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$alloc..collections..btree..node..marker..Internal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$15fix_right_child17hfafca1653cf2d44cE.exit.i.i" @@ -1528,7 +1528,7 @@ _ZN5alloc11collections5btree4node13move_to_slice17h6f6d55eec4473bdaE.exit.i.i.i. %159 = add i64 %152, -1 store i64 %159, ptr %6, align 8, !alias.scope !250 store ptr null, ptr %158, align 8, !noalias !250 - tail call void @__rust_dealloc(ptr noundef nonnull %153, i64 noundef 200, i64 noundef 8) #23, !noalias !250 + tail call void @__rust_dealloc(ptr noundef nonnull %153, i64 noundef 200, i64 noundef 8) #24, !noalias !250 %.not.i12.i = icmp eq i64 %159, 0 br i1 %.not.i12.i, label %"_ZN5alloc11collections5btree3fix178_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Owned$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$16fix_right_border17hfc0c0d90a4387cbaE.exit", label %.lr.ph.i10.i @@ -1548,7 +1548,7 @@ _ZN5alloc11collections5btree4node13move_to_slice17h6f6d55eec4473bdaE.exit.i.i.i. %164 = load ptr, ptr %163, align 8, !noalias !254, !nonnull !4, !noundef !4 %165 = add i64 %.sroa.9.0, -1 store ptr null, ptr %164, align 8, !noalias !254 - tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.0.090, i64 noundef 200, i64 noundef 8) #23, !noalias !254 + tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.0.090, i64 noundef 200, i64 noundef 8) #24, !noalias !254 %.not.i.i64 = icmp eq i64 %165, 0 br i1 %.not.i.i64, label %"_ZN5alloc11collections5btree3fix178_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Owned$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$15fix_left_border17h1a99b1883f72004aE.exit", label %.lr.ph.i.i40 @@ -1606,7 +1606,7 @@ _ZN5alloc11collections5btree4node13move_to_slice17h6f6d55eec4473bdaE.exit.i.i.i. br i1 %189, label %_ZN5alloc11collections5btree4node13move_to_slice17h795638a28d0ce89eE.exit59.i.i.i.i, label %190 190: ; preds = %186 - tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.38, i64 noundef 50, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.39) #22, !noalias !268 + tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.38, i64 noundef 50, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.39) #23, !noalias !268 unreachable _ZN5alloc11collections5btree4node13move_to_slice17h795638a28d0ce89eE.exit59.i.i.i.i: ; preds = %186 @@ -1705,7 +1705,7 @@ _ZN5alloc11collections5btree4node13move_to_slice17h795638a28d0ce89eE.exit59.i.i. br i1 %.not.i217.i.i, label %.loopexit.i.i, label %.lr.ph.i10.i60.preheader .loopexit.i.i: ; preds = %"_ZN5alloc11collections5btree3fix263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$alloc..collections..btree..node..marker..Internal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$14fix_left_child17h8ba5f4e201204bafE.exit.i.i", %"_ZN5alloc11collections5btree3fix263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$alloc..collections..btree..node..marker..Internal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$14fix_left_child17h8ba5f4e201204bafE.exit.thread.i.i" - tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.45, i64 noundef 25, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.47) #22, !noalias !287 + tail call void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1 @anon.3db9d535089e91b85ba091d93876ca95.45, i64 noundef 25, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.3db9d535089e91b85ba091d93876ca95.47) #23, !noalias !287 unreachable "_ZN5alloc11collections5btree4node40NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$8first_kv17hef7b810f2b2d6974E.exit.i.i": ; preds = %"_ZN5alloc11collections5btree3fix263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$alloc..collections..btree..node..marker..Internal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$14fix_left_child17h8ba5f4e201204bafE.exit.i.i" @@ -1728,7 +1728,7 @@ _ZN5alloc11collections5btree4node13move_to_slice17h795638a28d0ce89eE.exit59.i.i. %241 = load ptr, ptr %240, align 8, !noalias !291, !nonnull !4, !noundef !4 %242 = add i64 %.sroa.9.2, -1 store ptr null, ptr %241, align 8, !noalias !291 - tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.0.2, i64 noundef 200, i64 noundef 8) #23, !noalias !291 + tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.0.2, i64 noundef 200, i64 noundef 8) #24, !noalias !291 %.not.i12.i62 = icmp eq i64 %242, 0 br i1 %.not.i12.i62, label %"_ZN5alloc11collections5btree3fix178_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Owned$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$15fix_left_border17h1a99b1883f72004aE.exit", label %.lr.ph.i10.i60 @@ -1808,8 +1808,8 @@ default.unreachable: ; preds = %"_ZN110_$LT$core..i br label %5 } -; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$11search_node17h6c8b2179ff28b6c3E.llvm.10207511071709237075"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 4 dereferenceable(4) %3) unnamed_addr #7 personality ptr @rust_eh_personality { +; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable +define hidden void @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$11search_node17h6c8b2179ff28b6c3E.llvm.10207511071709237075"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 4 dereferenceable(4) %3) unnamed_addr #8 personality ptr @rust_eh_personality { tail call void @llvm.experimental.noalias.scope.decl(metadata !305) %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = getelementptr inbounds i8, ptr %1, i64 98 @@ -1859,7 +1859,7 @@ default.unreachable: ; preds = %"_ZN110_$LT$core..i } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: none) uwtable -define hidden { i64, i64 } @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$14find_key_index17h07ca03f103ee090eE.llvm.10207511071709237075"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, ptr noalias nocapture noundef readonly align 4 dereferenceable(4) %1, i64 noundef %2) unnamed_addr #8 personality ptr @rust_eh_personality { +define hidden { i64, i64 } @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$14find_key_index17h07ca03f103ee090eE.llvm.10207511071709237075"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, ptr noalias nocapture noundef readonly align 4 dereferenceable(4) %1, i64 noundef %2) unnamed_addr #9 personality ptr @rust_eh_personality { %4 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %5 = getelementptr inbounds i8, ptr %4, i64 8 %6 = getelementptr inbounds i8, ptr %4, i64 98 @@ -1910,7 +1910,7 @@ default.unreachable35: ; preds = %"_ZN110_$LT$core..i } ; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate142_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$15first_leaf_edge17h661453db2eb889cbE.llvm.10207511071709237075"(ptr noalias nocapture noundef writeonly sret({ { ptr, i64, {} }, i64, {} }) align 8 dereferenceable(24) %0, ptr noundef nonnull %1, i64 noundef %2) unnamed_addr #9 { +define hidden void @"_ZN5alloc11collections5btree8navigate142_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$15first_leaf_edge17h661453db2eb889cbE.llvm.10207511071709237075"(ptr noalias nocapture noundef writeonly sret({ { ptr, i64, {} }, i64, {} }) align 8 dereferenceable(24) %0, ptr noundef nonnull %1, i64 noundef %2) unnamed_addr #10 { %.not11 = icmp eq i64 %2, 0 br i1 %.not11, label %._crit_edge, label %.lr.ph @@ -1932,7 +1932,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate142_$LT$impl$u20$alloc } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: write) uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate142_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$30find_leaf_edges_spanning_range17hc596e7cf52eb21b4E"(ptr noalias nocapture noundef writeonly sret({ { ptr, [2 x i64] }, { ptr, [2 x i64] } }) align 8 dereferenceable(48) %0, ptr noundef nonnull %1, i64 noundef %2, i32 noundef %3) unnamed_addr #10 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree8navigate142_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$30find_leaf_edges_spanning_range17hc596e7cf52eb21b4E"(ptr noalias nocapture noundef writeonly sret({ { ptr, [2 x i64] }, { ptr, [2 x i64] } }) align 8 dereferenceable(48) %0, ptr noundef nonnull %1, i64 noundef %2, i32 noundef %3) unnamed_addr #11 personality ptr @rust_eh_personality { %5 = alloca i32, align 4 store i32 %3, ptr %5, align 4 br label %6 @@ -2201,7 +2201,7 @@ default.unreachable: ; preds = %6, %"_ZN110_$LT$cor } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: write) uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate178_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Immut$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$20visit_nodes_in_order17h24110e0fb698ff5cE.llvm.10207511071709237075"(ptr nocapture noundef nonnull readonly %0, i64 noundef %1, ptr noalias nocapture noundef align 8 dereferenceable(8) %2) unnamed_addr #10 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree8navigate178_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Immut$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$20visit_nodes_in_order17h24110e0fb698ff5cE.llvm.10207511071709237075"(ptr nocapture noundef nonnull readonly %0, i64 noundef %1, ptr noalias nocapture noundef align 8 dereferenceable(8) %2) unnamed_addr #11 personality ptr @rust_eh_personality { %.not = icmp eq i64 %1, 0 %4 = getelementptr inbounds i8, ptr %0, i64 98 %5 = load i16, ptr %4, align 2, !noundef !4 @@ -2275,7 +2275,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate178_$LT$impl$u20$alloc } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate227_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$7next_kv17h21380dfd3e9f04efE"(ptr noalias nocapture noundef writeonly sret({ ptr, [2 x i64] }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #11 { +define hidden void @"_ZN5alloc11collections5btree8navigate227_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$7next_kv17h21380dfd3e9f04efE"(ptr noalias nocapture noundef writeonly sret({ ptr, [2 x i64] }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #12 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i64, ptr %3, align 8, !noundef !4 %5 = load ptr, ptr %1, align 8, !nonnull !4, !noundef !4 @@ -2394,7 +2394,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc %8 = add i64 %.sroa.5.09, 1 %.not.i = icmp eq i64 %.sroa.5.09, 0 %..i = select i1 %.not.i, i64 104, i64 200 - tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.02.08, i64 noundef %..i, i64 noundef 8) #23, !noalias !351 + tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.02.08, i64 noundef %..i, i64 noundef 8) #24, !noalias !351 %9 = load ptr, ptr %7, align 8, !noalias !346, !noundef !4 %10 = icmp eq ptr %9, null br i1 %10, label %._crit_edge, label %.lr.ph @@ -2404,7 +2404,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc %.sroa.5.0.lcssa = phi i64 [ %3, %1 ], [ %8, %.lr.ph ] %.not.i6 = icmp eq i64 %.sroa.5.0.lcssa, 0 %..i7 = select i1 %.not.i6, i64 104, i64 200 - tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.02.0.lcssa, i64 noundef %..i7, i64 noundef 8) #23, !noalias !351 + tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.02.0.lcssa, i64 noundef %..i7, i64 noundef 8) #24, !noalias !351 ret void } @@ -2482,7 +2482,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc 25: ; preds = %.lr.ph %.not.i59 = icmp eq i64 %.sroa.5.065, 0 %..i60 = select i1 %.not.i59, i64 104, i64 200 - tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.0.066, i64 noundef %..i60, i64 noundef 8) #23, !noalias !364 + tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.0.066, i64 noundef %..i60, i64 noundef 8) #24, !noalias !364 store ptr null, ptr %0, align 8 br label %24 @@ -2492,7 +2492,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc %29 = load i16, ptr %28, align 8, !noalias !359 %.not.i = icmp eq i64 %.sroa.5.065, 0 %..i = select i1 %.not.i, i64 104, i64 200 - tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.0.066, i64 noundef %..i, i64 noundef 8) #23, !noalias !364 + tail call void @__rust_dealloc(ptr noundef nonnull %.sroa.0.066, i64 noundef %..i, i64 noundef 8) #24, !noalias !364 %30 = getelementptr inbounds i8, ptr %22, i64 98 %31 = load i16, ptr %30, align 2, !noundef !4 %.not = icmp ult i16 %29, %31 @@ -2500,7 +2500,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc } ; Function Attrs: inlinehint nounwind nonlazybind uwtable -define hidden void @"_ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$10deallocate17h611556c63980c062E.llvm.10207511071709237075"(ptr noalias nocapture noundef nonnull readonly align 1 %0, ptr noundef nonnull %1, i64 noundef %2, i64 noundef %3) unnamed_addr #12 { +define hidden void @"_ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allocator$GT$10deallocate17h611556c63980c062E.llvm.10207511071709237075"(ptr noalias nocapture noundef nonnull readonly align 1 %0, ptr noundef nonnull %1, i64 noundef %2, i64 noundef %3) unnamed_addr #13 { %5 = icmp eq i64 %3, 0 br i1 %5, label %9, label %6 @@ -2508,7 +2508,7 @@ define hidden void @"_ZN63_$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Allo %7 = add i64 %2, -1 %8 = icmp sgt i64 %7, -1 tail call void @llvm.assume(i1 %8) - tail call void @__rust_dealloc(ptr noundef nonnull %1, i64 noundef %3, i64 noundef %2) #23 + tail call void @__rust_dealloc(ptr noundef nonnull %1, i64 noundef %3, i64 noundef %2) #24 br label %9 9: ; preds = %4, %6 @@ -2522,40 +2522,40 @@ define hidden noundef ptr @"_ZN75_$LT$usize$u20$as$u20$core..slice..index..Slice } ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN4core5slice5index24slice_end_index_len_fail17h334e37603831ab29E(i64 noundef, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #13 +declare void @_ZN4core5slice5index24slice_end_index_len_fail17h334e37603831ab29E(i64 noundef, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #14 ; Function Attrs: nonlazybind uwtable declare noundef i32 @rust_eh_personality(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) unnamed_addr #1 ; Function Attrs: cold noreturn nounwind nonlazybind uwtable -declare void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() unnamed_addr #14 +declare void @_ZN4core9panicking16panic_in_cleanup17hbacfddf1bcf21a1eE() unnamed_addr #15 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.usub.sat.i64(i64, i64) #15 +declare i64 @llvm.usub.sat.i64(i64, i64) #16 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #16 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #17 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN4core6option13unwrap_failed17hcb3a256a9f1ca882E(ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #13 +declare void @_ZN4core6option13unwrap_failed17hcb3a256a9f1ca882E(ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #14 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #13 +declare void @_ZN4core9panicking5panic17h44790a89027c670fE(ptr noalias noundef nonnull readonly align 1, i64 noundef, ptr noalias noundef readonly align 8 dereferenceable(24)) unnamed_addr #14 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #17 +declare void @llvm.assume(i1 noundef) #18 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #16 +declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #17 ; Function Attrs: nounwind nonlazybind allockind("free") uwtable -declare void @__rust_dealloc(ptr allocptr noundef, i64 noundef, i64 noundef) unnamed_addr #18 +declare void @__rust_dealloc(ptr allocptr noundef, i64 noundef, i64 noundef) unnamed_addr #19 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #19 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #20 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #19 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #20 ; Function Attrs: nonlazybind uwtable declare void @"_ZN93_$LT$alloc..collections..btree..mem..replace..PanicGuard$u20$as$u20$core..ops..drop..Drop$GT$4drop17he7f40e69e6f26b83E"(ptr noalias noundef nonnull align 1) unnamed_addr #1 @@ -2564,16 +2564,16 @@ declare void @"_ZN93_$LT$alloc..collections..btree..mem..replace..PanicGuard$u20 declare hidden noundef align 8 ptr @"_ZN5alloc5boxed16Box$LT$T$C$A$GT$17try_new_uninit_in17h4ab40a848708de50E.llvm.9602705825316643594"() unnamed_addr #1 ; Function Attrs: cold noreturn nonlazybind uwtable -declare void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef, i64 noundef) unnamed_addr #13 +declare void @_ZN5alloc5alloc18handle_alloc_error17h426354a964e0805cE(i64 noundef, i64 noundef) unnamed_addr #14 ; Function Attrs: nonlazybind uwtable declare hidden noundef align 8 ptr @"_ZN5alloc5boxed16Box$LT$T$C$A$GT$17try_new_uninit_in17h9de2d6cc2c3c48a4E.llvm.9602705825316643594"() unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) -declare void @llvm.experimental.noalias.scope.decl(metadata) #20 +declare void @llvm.experimental.noalias.scope.decl(metadata) #21 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #21 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #22 attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #1 = { nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } @@ -2583,23 +2583,24 @@ attributes #4 = { mustprogress nofree norecurse nosync nounwind nonlazybind will attributes #5 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #6 = { nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #7 = { nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #8 = { nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #9 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #10 = { nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #11 = { nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #12 = { inlinehint nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #13 = { cold noreturn nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #14 = { cold noreturn nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #15 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #16 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #17 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #18 = { nounwind nonlazybind allockind("free") uwtable "alloc-family"="__rust_alloc" "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #19 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #20 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } -attributes #21 = { nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #22 = { noreturn } -attributes #23 = { nounwind } -attributes #24 = { cold noreturn nounwind } +attributes #8 = { nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #9 = { nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #10 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #11 = { nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #12 = { nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #13 = { inlinehint nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #14 = { cold noreturn nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #15 = { cold noreturn nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #16 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #17 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #18 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #19 = { nounwind nonlazybind allockind("free") uwtable "alloc-family"="__rust_alloc" "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #20 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #21 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } +attributes #22 = { nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #23 = { noreturn } +attributes #24 = { nounwind } +attributes #25 = { cold noreturn nounwind } !llvm.module.flags = !{!0, !1, !2} !llvm.ident = !{!3} diff --git a/bench/rust-analyzer-rs/optimized/4fo6e09jeifrbt47.ll b/bench/rust-analyzer-rs/optimized/4fo6e09jeifrbt47.ll index 3217188fb34..70f0e1f81a6 100644 --- a/bench/rust-analyzer-rs/optimized/4fo6e09jeifrbt47.ll +++ b/bench/rust-analyzer-rs/optimized/4fo6e09jeifrbt47.ll @@ -17887,7 +17887,7 @@ define hidden noundef zeroext i1 @"_ZN52_$LT$vfs..FileId$u20$as$u20$core..cmp..P ret i1 %5 } -; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable +; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: read, inaccessiblemem: readwrite) uwtable define hidden noundef zeroext i1 @"_ZN53_$LT$T$u20$as$u20$core..slice..cmp..SliceContains$GT$14slice_contains17h62ed6fc971b83676E"(ptr noalias nocapture noundef readonly align 4 dereferenceable(4) %0, ptr noalias noundef nonnull readonly align 4 %1, i64 noundef %2) unnamed_addr #34 personality ptr @rust_eh_personality { %4 = getelementptr inbounds i32, ptr %1, i64 %2 tail call void @llvm.experimental.noalias.scope.decl(metadata !4301) @@ -18952,7 +18952,7 @@ define hidden void @_ZN6hir_ty7display8HirWrite19start_location_link17h1b93800ed } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: read, inaccessiblemem: readwrite) uwtable -define hidden noundef zeroext i1 @"_ZN73_$LT$$u5b$A$u5d$$u20$as$u20$core..slice..cmp..SlicePartialEq$LT$B$GT$$GT$5equal17ha640fee43b804ac4E"(ptr noalias nocapture noundef nonnull readonly align 4 %0, i64 noundef %1, ptr noalias nocapture noundef nonnull readonly align 4 %2, i64 noundef %3) unnamed_addr #38 { +define hidden noundef zeroext i1 @"_ZN73_$LT$$u5b$A$u5d$$u20$as$u20$core..slice..cmp..SlicePartialEq$LT$B$GT$$GT$5equal17ha640fee43b804ac4E"(ptr noalias nocapture noundef nonnull readonly align 4 %0, i64 noundef %1, ptr noalias nocapture noundef nonnull readonly align 4 %2, i64 noundef %3) unnamed_addr #34 { %.not = icmp eq i64 %1, %3 br i1 %.not, label %.preheader.split, label %.thread @@ -20193,13 +20193,13 @@ define hidden void @"_ZN82_$LT$core..hash..BuildHasherDefault$LT$H$GT$$u20$as$u2 } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: write) uwtable -define hidden void @"_ZN84_$LT$core..option..Option$LT$T$GT$$u20$as$u20$core..ops..try_trait..FromResidual$GT$13from_residual17h046800ca84f56e14E.llvm.18263967998570167583"(ptr noalias nocapture noundef writeonly sret({ i64, [2 x i64] }) align 8 dereferenceable(24) %0) unnamed_addr #39 { +define hidden void @"_ZN84_$LT$core..option..Option$LT$T$GT$$u20$as$u20$core..ops..try_trait..FromResidual$GT$13from_residual17h046800ca84f56e14E.llvm.18263967998570167583"(ptr noalias nocapture noundef writeonly sret({ i64, [2 x i64] }) align 8 dereferenceable(24) %0) unnamed_addr #38 { store i64 -9223372036854775808, ptr %0, align 8 ret void } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: write) uwtable -define hidden void @"_ZN84_$LT$core..option..Option$LT$T$GT$$u20$as$u20$core..ops..try_trait..FromResidual$GT$13from_residual17hcf02640e814183fdE.llvm.18263967998570167583"(ptr noalias nocapture noundef writeonly sret({ i64, [2 x i64] }) align 8 dereferenceable(24) %0) unnamed_addr #39 { +define hidden void @"_ZN84_$LT$core..option..Option$LT$T$GT$$u20$as$u20$core..ops..try_trait..FromResidual$GT$13from_residual17hcf02640e814183fdE.llvm.18263967998570167583"(ptr noalias nocapture noundef writeonly sret({ i64, [2 x i64] }) align 8 dereferenceable(24) %0) unnamed_addr #38 { store i64 -9223372036854775808, ptr %0, align 8 ret void } @@ -20229,7 +20229,7 @@ define hidden void @"_ZN87_$LT$hashbrown..map..HashMap$LT$K$C$V$C$S$C$A$GT$$u20$ } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable -define hidden noundef zeroext i1 @"_ZN90_$LT$core..ops..control_flow..ControlFlow$LT$B$C$C$GT$$u20$as$u20$core..cmp..PartialEq$GT$2eq17hf67fa5c75de6f8aaE.llvm.18263967998570167583"(ptr noalias nocapture noundef readonly align 1 dereferenceable(1) %0, ptr noalias nocapture noundef readonly align 1 dereferenceable(1) %1) unnamed_addr #40 { +define hidden noundef zeroext i1 @"_ZN90_$LT$core..ops..control_flow..ControlFlow$LT$B$C$C$GT$$u20$as$u20$core..cmp..PartialEq$GT$2eq17hf67fa5c75de6f8aaE.llvm.18263967998570167583"(ptr noalias nocapture noundef readonly align 1 dereferenceable(1) %0, ptr noalias nocapture noundef readonly align 1 dereferenceable(1) %1) unnamed_addr #39 { %3 = load i8, ptr %0, align 1, !range !257, !noundef !4 %4 = load i8, ptr %1, align 1, !range !257, !noundef !4 %5 = icmp eq i8 %3, %4 @@ -20499,7 +20499,7 @@ _ZN4core3fmt8builders8DebugMap7entries17h1babf13195c44e88E.exit: ; preds = %"_ZN } ; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden noundef zeroext i1 @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$3any17h8daeda38f0cb29d3E.llvm.18263967998570167583"(ptr noalias nocapture noundef align 8 dereferenceable(16) %0, ptr noalias nocapture noundef readonly align 4 dereferenceable(4) %1) unnamed_addr #41 personality ptr @rust_eh_personality { +define hidden noundef zeroext i1 @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$3any17h8daeda38f0cb29d3E.llvm.18263967998570167583"(ptr noalias nocapture noundef align 8 dereferenceable(16) %0, ptr noalias nocapture noundef readonly align 4 dereferenceable(4) %1) unnamed_addr #40 personality ptr @rust_eh_personality { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !alias.scope !4800, !nonnull !4, !noundef !4 %.promoted = load ptr, ptr %0, align 8, !alias.scope !4800 @@ -21307,7 +21307,7 @@ define hidden noundef i64 @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$u } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h0c13e17500f74728E"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #42 { +define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h0c13e17500f74728E"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #41 { tail call void @llvm.experimental.noalias.scope.decl(metadata !4921) %2 = getelementptr inbounds i8, ptr %0, i64 32 %3 = load i64, ptr %2, align 8, !alias.scope !4921, !noundef !4 @@ -21371,7 +21371,7 @@ define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$ } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h6b152adb853bc567E"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #42 { +define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h6b152adb853bc567E"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #41 { tail call void @llvm.experimental.noalias.scope.decl(metadata !4934) %2 = getelementptr inbounds i8, ptr %0, i64 32 %3 = load i64, ptr %2, align 8, !alias.scope !4934, !noundef !4 @@ -21435,7 +21435,7 @@ define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$ } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h8912590c12ed0ee9E.llvm.18263967998570167583"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #42 { +define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h8912590c12ed0ee9E.llvm.18263967998570167583"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #41 { tail call void @llvm.experimental.noalias.scope.decl(metadata !4947) %2 = getelementptr inbounds i8, ptr %0, i64 32 %3 = load i64, ptr %2, align 8, !alias.scope !4947, !noundef !4 @@ -21497,7 +21497,7 @@ define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$ } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h93e4df2adcfa0c67E"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #42 { +define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h93e4df2adcfa0c67E"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #41 { tail call void @llvm.experimental.noalias.scope.decl(metadata !4960) %2 = getelementptr inbounds i8, ptr %0, i64 32 %3 = load i64, ptr %2, align 8, !alias.scope !4960, !noundef !4 @@ -21561,7 +21561,7 @@ define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$ } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17ha693a77711647c3aE"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #42 { +define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17ha693a77711647c3aE"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #41 { tail call void @llvm.experimental.noalias.scope.decl(metadata !4973) %2 = getelementptr inbounds i8, ptr %0, i64 32 %3 = load i64, ptr %2, align 8, !alias.scope !4973, !noundef !4 @@ -21625,7 +21625,7 @@ define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$ } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hbf4915694deafeb7E"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #42 { +define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hbf4915694deafeb7E"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #41 { tail call void @llvm.experimental.noalias.scope.decl(metadata !4986) %2 = getelementptr inbounds i8, ptr %0, i64 32 %3 = load i64, ptr %2, align 8, !alias.scope !4986, !noundef !4 @@ -21689,7 +21689,7 @@ define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$ } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hd39f1011ac1f2126E"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #42 { +define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hd39f1011ac1f2126E"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #41 { tail call void @llvm.experimental.noalias.scope.decl(metadata !4999) %2 = getelementptr inbounds i8, ptr %0, i64 32 %3 = load i64, ptr %2, align 8, !alias.scope !4999, !noundef !4 @@ -21753,7 +21753,7 @@ define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$ } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hf54b61965ef59564E.llvm.18263967998570167583"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #42 { +define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hf54b61965ef59564E.llvm.18263967998570167583"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #41 { tail call void @llvm.experimental.noalias.scope.decl(metadata !5012) %2 = getelementptr inbounds i8, ptr %0, i64 32 %3 = load i64, ptr %2, align 8, !alias.scope !5012, !noundef !4 @@ -21815,7 +21815,7 @@ define hidden { ptr, ptr } @"_ZN92_$LT$hashbrown..map..Iter$LT$K$C$V$GT$$u20$as$ } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden noundef align 4 dereferenceable_or_null(4) ptr @"_ZN92_$LT$hashbrown..map..Keys$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hb7e94f3bb42ab207E"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #42 { +define hidden noundef align 4 dereferenceable_or_null(4) ptr @"_ZN92_$LT$hashbrown..map..Keys$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hb7e94f3bb42ab207E"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #41 { tail call void @llvm.experimental.noalias.scope.decl(metadata !5025) tail call void @llvm.experimental.noalias.scope.decl(metadata !5028) %2 = getelementptr inbounds i8, ptr %0, i64 32 @@ -21876,7 +21876,7 @@ define hidden noundef align 4 dereferenceable_or_null(4) ptr @"_ZN92_$LT$hashbro } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden noundef align 4 dereferenceable_or_null(4) ptr @"_ZN92_$LT$hashbrown..map..Keys$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hfe736b6c9e3ef788E"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #42 { +define hidden noundef align 4 dereferenceable_or_null(4) ptr @"_ZN92_$LT$hashbrown..map..Keys$LT$K$C$V$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hfe736b6c9e3ef788E"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #41 { tail call void @llvm.experimental.noalias.scope.decl(metadata !5042) tail call void @llvm.experimental.noalias.scope.decl(metadata !5045) %2 = getelementptr inbounds i8, ptr %0, i64 32 @@ -21980,7 +21980,7 @@ define hidden { i64, i64 } @"_ZN92_$LT$rayon..iter..enumerate..Enumerate$LT$I$GT } ; Function Attrs: alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define internal noundef nonnull align 8 dereferenceable(120) ptr @"_ZN92_$LT$tracing_core..callsite..DefaultCallsite$u20$as$u20$tracing_core..callsite..Callsite$GT$8metadata17h89e014fa0bc48910E"(ptr nocapture noundef nonnull readonly align 8 %0) unnamed_addr #43 { +define internal noundef nonnull align 8 dereferenceable(120) ptr @"_ZN92_$LT$tracing_core..callsite..DefaultCallsite$u20$as$u20$tracing_core..callsite..Callsite$GT$8metadata17h89e014fa0bc48910E"(ptr nocapture noundef nonnull readonly align 8 %0) unnamed_addr #42 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !align !22, !noundef !4 ret ptr %2 } @@ -22107,7 +22107,7 @@ define hidden noundef zeroext i1 @"_ZN94_$LT$std..collections..hash..map..HashMa } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable -define hidden noundef zeroext i1 @"_ZN94_$LT$std..collections..hash..map..HashMap$LT$K$C$V$C$S$GT$$u20$as$u20$core..cmp..PartialEq$GT$2eq17he1e32af5ebf7aab9E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(32) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(32) %1) unnamed_addr #34 personality ptr @rust_eh_personality { +define hidden noundef zeroext i1 @"_ZN94_$LT$std..collections..hash..map..HashMap$LT$K$C$V$C$S$GT$$u20$as$u20$core..cmp..PartialEq$GT$2eq17he1e32af5ebf7aab9E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(32) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(32) %1) unnamed_addr #43 personality ptr @rust_eh_personality { %3 = getelementptr inbounds i8, ptr %0, i64 24 %4 = load i64, ptr %3, align 8, !noundef !4 %5 = getelementptr inbounds i8, ptr %1, i64 24 @@ -22299,7 +22299,7 @@ define hidden void @"_ZN95_$LT$alloc..vec..Vec$LT$T$GT$$u20$as$u20$core..iter..t } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: write) uwtable -define hidden void @"_ZN95_$LT$core..ops..control_flow..ControlFlow$LT$B$C$C$GT$$u20$as$u20$core..ops..try_trait..Try$GT$11from_output17h0e195ac512bc16cfE.llvm.18263967998570167583"(ptr noalias nocapture noundef writeonly sret({ i8, [23 x i8] }) align 8 dereferenceable(24) %0) unnamed_addr #39 { +define hidden void @"_ZN95_$LT$core..ops..control_flow..ControlFlow$LT$B$C$C$GT$$u20$as$u20$core..ops..try_trait..Try$GT$11from_output17h0e195ac512bc16cfE.llvm.18263967998570167583"(ptr noalias nocapture noundef writeonly sret({ i8, [23 x i8] }) align 8 dereferenceable(24) %0) unnamed_addr #38 { store i8 26, ptr %0, align 8 ret void } @@ -23239,7 +23239,7 @@ define hidden noundef zeroext i1 @"_ZN9hashbrown3map28HashMap$LT$K$C$V$C$S$C$A$G } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable -define hidden noundef zeroext i1 @"_ZN9hashbrown3map28HashMap$LT$K$C$V$C$S$C$A$GT$12contains_key17h41ff1e33cc7aa4d8E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(32) %0, ptr noalias nocapture noundef readonly align 4 dereferenceable(4) %1) unnamed_addr #34 personality ptr @rust_eh_personality { +define hidden noundef zeroext i1 @"_ZN9hashbrown3map28HashMap$LT$K$C$V$C$S$C$A$GT$12contains_key17h41ff1e33cc7aa4d8E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(32) %0, ptr noalias nocapture noundef readonly align 4 dereferenceable(4) %1) unnamed_addr #43 personality ptr @rust_eh_personality { %3 = getelementptr inbounds i8, ptr %0, i64 24 %4 = load i64, ptr %3, align 8, !noundef !4 %5 = icmp eq i64 %4, 0 @@ -23379,7 +23379,7 @@ define hidden noundef zeroext i1 @"_ZN9hashbrown3map28HashMap$LT$K$C$V$C$S$C$A$G } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable -define hidden noundef zeroext i1 @"_ZN9hashbrown3map28HashMap$LT$K$C$V$C$S$C$A$GT$12contains_key17h9d0abb4851d9ebe8E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(32) %0, ptr noalias nocapture noundef readonly align 4 dereferenceable(4) %1) unnamed_addr #34 personality ptr @rust_eh_personality { +define hidden noundef zeroext i1 @"_ZN9hashbrown3map28HashMap$LT$K$C$V$C$S$C$A$GT$12contains_key17h9d0abb4851d9ebe8E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(32) %0, ptr noalias nocapture noundef readonly align 4 dereferenceable(4) %1) unnamed_addr #43 personality ptr @rust_eh_personality { %3 = getelementptr inbounds i8, ptr %0, i64 24 %4 = load i64, ptr %3, align 8, !noundef !4 %5 = icmp eq i64 %4, 0 @@ -26829,7 +26829,7 @@ define hidden void @"_ZN9hashbrown3map28HashMap$LT$K$C$V$C$S$C$A$GT$6retain17h55 } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable -define hidden noundef align 8 dereferenceable_or_null(32) ptr @"_ZN9hashbrown3map28HashMap$LT$K$C$V$C$S$C$A$GT$7get_mut17h118ebdf5f21dde95E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(32) %0, ptr noalias nocapture noundef readonly align 4 dereferenceable(4) %1) unnamed_addr #34 personality ptr @rust_eh_personality { +define hidden noundef align 8 dereferenceable_or_null(32) ptr @"_ZN9hashbrown3map28HashMap$LT$K$C$V$C$S$C$A$GT$7get_mut17h118ebdf5f21dde95E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(32) %0, ptr noalias nocapture noundef readonly align 4 dereferenceable(4) %1) unnamed_addr #43 personality ptr @rust_eh_personality { %3 = getelementptr inbounds i8, ptr %0, i64 24 %4 = load i64, ptr %3, align 8, !noundef !4 %5 = icmp eq i64 %4, 0 @@ -30586,7 +30586,7 @@ define void @_ZN6ide_db13source_change12SourceChange21push_file_system_edit17h1b } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable -define noundef align 8 dereferenceable_or_null(48) ptr @_ZN6ide_db13source_change12SourceChange27get_source_and_snippet_edit17hc041b3b63e9097baE(ptr noalias nocapture noundef readonly align 8 dereferenceable(64) %0, i32 noundef %1) unnamed_addr #34 personality ptr @rust_eh_personality { +define noundef align 8 dereferenceable_or_null(48) ptr @_ZN6ide_db13source_change12SourceChange27get_source_and_snippet_edit17hc041b3b63e9097baE(ptr noalias nocapture noundef readonly align 8 dereferenceable(64) %0, i32 noundef %1) unnamed_addr #43 personality ptr @rust_eh_personality { tail call void @llvm.experimental.noalias.scope.decl(metadata !7344) %3 = getelementptr inbounds i8, ptr %0, i64 48 %4 = load i64, ptr %3, align 8, !alias.scope !7344, !noundef !4 @@ -37321,16 +37321,16 @@ attributes #30 = { inlinehint mustprogress nofree norecurse nosync nounwind nonl attributes #31 = { alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #32 = { mustprogress nofree nounwind nonlazybind willreturn memory(read, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #33 = { mustprogress nofree nounwind nonlazybind willreturn memory(read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #34 = { nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #34 = { nofree norecurse nosync nounwind nonlazybind memory(argmem: read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #35 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #36 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #37 = { inlinehint mustprogress nofree nounwind nonlazybind willreturn memory(read, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #38 = { nofree norecurse nosync nounwind nonlazybind memory(argmem: read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #39 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #40 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #41 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #42 = { nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #43 = { alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #38 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #39 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #40 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #41 = { nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #42 = { alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #43 = { nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #44 = { nofree nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #45 = { alwaysinline nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #46 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(read, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } diff --git a/bench/rust-analyzer-rs/optimized/gh7k7tbgb4rm61k.ll b/bench/rust-analyzer-rs/optimized/gh7k7tbgb4rm61k.ll index 90bd0afff51..866119edfef 100644 --- a/bench/rust-analyzer-rs/optimized/gh7k7tbgb4rm61k.ll +++ b/bench/rust-analyzer-rs/optimized/gh7k7tbgb4rm61k.ll @@ -455,8 +455,8 @@ define hidden void @_ZN4core4hash6Hasher11write_isize17he3c2cf190aded2efE.llvm.8 ret void } -; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @_ZN4core4hash6Hasher9write_str17h80ffc2566048106cE.llvm.8183971497901119748(ptr noalias nocapture noundef align 8 dereferenceable(8) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #4 personality ptr @rust_eh_personality { +; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable +define hidden void @_ZN4core4hash6Hasher9write_str17h80ffc2566048106cE.llvm.8183971497901119748(ptr noalias nocapture noundef align 8 dereferenceable(8) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #7 personality ptr @rust_eh_personality { tail call void @llvm.experimental.noalias.scope.decl(metadata !168) tail call void @llvm.experimental.noalias.scope.decl(metadata !171) %4 = load i64, ptr %0, align 8, !alias.scope !168, !noalias !171, !noundef !10 @@ -967,8 +967,8 @@ define hidden void @"_ZN59_$LT$rustc_hash..FxHasher$u20$as$u20$core..hash..Hashe ret void } -; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @"_ZN59_$LT$rustc_hash..FxHasher$u20$as$u20$core..hash..Hasher$GT$5write17hdaf3c64ce7294b9eE.llvm.8183971497901119748"(ptr noalias nocapture noundef align 8 dereferenceable(8) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #7 personality ptr @rust_eh_personality { +; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite) uwtable +define hidden void @"_ZN59_$LT$rustc_hash..FxHasher$u20$as$u20$core..hash..Hasher$GT$5write17hdaf3c64ce7294b9eE.llvm.8183971497901119748"(ptr noalias nocapture noundef align 8 dereferenceable(8) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #8 personality ptr @rust_eh_personality { %4 = load i64, ptr %0, align 8, !noundef !10 %5 = icmp ugt i64 %2, 7 br i1 %5, label %"_ZN59_$LT$rustc_hash..FxHasher$u20$as$u20$core..hash..Hasher$GT$5write28_$u7b$$u7b$closure$u7d$$u7d$17hcdc6dcbfa38aa4a2E.exit", label %._crit_edge @@ -1042,7 +1042,7 @@ define hidden void @"_ZN59_$LT$rustc_hash..FxHasher$u20$as$u20$core..hash..Hashe } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef i64 @"_ZN59_$LT$rustc_hash..FxHasher$u20$as$u20$core..hash..Hasher$GT$6finish17hb1b9f8bb22552943E.llvm.8183971497901119748"(ptr noalias nocapture noundef readonly align 8 dereferenceable(8) %0) unnamed_addr #8 { +define hidden noundef i64 @"_ZN59_$LT$rustc_hash..FxHasher$u20$as$u20$core..hash..Hasher$GT$6finish17hb1b9f8bb22552943E.llvm.8183971497901119748"(ptr noalias nocapture noundef readonly align 8 dereferenceable(8) %0) unnamed_addr #9 { %2 = load i64, ptr %0, align 8, !noundef !10 ret i64 %2 } @@ -1177,17 +1177,17 @@ _ZN4core4hash6Hasher9write_str17h80ffc2566048106cE.llvm.8183971497901119748.exit } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @"_ZN63_$LT$rustc_hash..FxHasher$u20$as$u20$core..default..Default$GT$7default17hc61d453379383071E.llvm.8183971497901119748"() unnamed_addr #9 { +define hidden noundef i64 @"_ZN63_$LT$rustc_hash..FxHasher$u20$as$u20$core..default..Default$GT$7default17hc61d453379383071E.llvm.8183971497901119748"() unnamed_addr #10 { ret i64 0 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i64 @"_ZN83_$LT$core..hash..BuildHasherDefault$LT$H$GT$$u20$as$u20$core..hash..BuildHasher$GT$12build_hasher17h923bdfb605de66c6E.llvm.8183971497901119748"(ptr noalias nocapture noundef nonnull readonly align 1 %0) unnamed_addr #10 { +define hidden noundef i64 @"_ZN83_$LT$core..hash..BuildHasherDefault$LT$H$GT$$u20$as$u20$core..hash..BuildHasher$GT$12build_hasher17h923bdfb605de66c6E.llvm.8183971497901119748"(ptr noalias nocapture noundef nonnull readonly align 1 %0) unnamed_addr #11 { ret i64 0 } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable -define hidden { ptr, i64 } @_ZN8smol_str4Repr6as_str17h6612cd4653de1669E.llvm.8183971497901119748(ptr noalias noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #11 { +define hidden { ptr, i64 } @_ZN8smol_str4Repr6as_str17h6612cd4653de1669E.llvm.8183971497901119748(ptr noalias noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #12 { %2 = load i8, ptr %0, align 8, !range !40, !noundef !10 %3 = add nsw i8 %2, -24 %narrow = tail call i8 @llvm.umin.i8(i8 %3, i8 2) @@ -1231,25 +1231,25 @@ default.unreachable: ; preds = %1 } ; Function Attrs: nonlazybind uwtable -declare noundef i32 @rust_eh_personality(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) unnamed_addr #12 +declare noundef i32 @rust_eh_personality(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) unnamed_addr #13 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.fshl.i64(i64, i64, i64) #13 +declare i64 @llvm.fshl.i64(i64, i64, i64) #14 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #14 +declare void @llvm.assume(i1 noundef) #15 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #15 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #16 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #15 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #16 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i8 @llvm.umin.i8(i8, i8) #16 +declare i8 @llvm.umin.i8(i8, i8) #17 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) -declare void @llvm.experimental.noalias.scope.decl(metadata) #17 +declare void @llvm.experimental.noalias.scope.decl(metadata) #18 attributes #0 = { nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #1 = { nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } @@ -1258,17 +1258,18 @@ attributes #3 = { inlinehint nofree norecurse nosync nounwind nonlazybind uwtabl attributes #4 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #5 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #6 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #7 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #8 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #9 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #10 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #11 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #12 = { nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #13 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #14 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #15 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #16 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #17 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } +attributes #7 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #8 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #9 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #10 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #11 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #12 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #13 = { nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #14 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #15 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #16 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #17 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #18 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: readwrite) } !llvm.module.flags = !{!0, !1, !2} !llvm.ident = !{!3} diff --git a/bench/slurm/optimized/bitstring.ll b/bench/slurm/optimized/bitstring.ll index 78e9bf3a28f..ff4e50c2b4f 100644 --- a/bench/slurm/optimized/bitstring.ll +++ b/bench/slurm/optimized/bitstring.ll @@ -328,7 +328,7 @@ define noundef ptr @bit_alloc(i64 noundef %0) #0 { %3 = lshr i64 %2, 3 %4 = and i64 %3, 2305843009213693944 %5 = add nuw nsw i64 %4, 16 - %6 = tail call ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %5, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 239, ptr noundef nonnull @__func__.bit_alloc) #17 + %6 = tail call ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %5, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 239, ptr noundef nonnull @__func__.bit_alloc) #16 store i64 1111704645, ptr %6, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 8 store i64 %0, ptr %7, align 8 @@ -1184,7 +1184,7 @@ define noundef ptr @bit_rotate_copy(ptr nocapture noundef readonly %0, i32 nound %14 = lshr i64 %13, 3 %15 = and i64 %14, 2305843009213693944 %16 = add nuw nsw i64 %15, 16 - %17 = tail call noundef ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %16, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 239, ptr noundef nonnull @__func__.bit_alloc) #17 + %17 = tail call noundef ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %16, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 239, ptr noundef nonnull @__func__.bit_alloc) #16 store i64 1111704645, ptr %17, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 8 store i64 %2, ptr %18, align 8 @@ -1312,7 +1312,7 @@ define void @bit_rotate(ptr nocapture noundef %0, i32 noundef %1) #0 { %16 = and i64 %sext.i, -8 tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %12, ptr nonnull readonly align 8 %13, i64 %16, i1 false) store i64 0, ptr %9, align 8 - call void @slurm_xfree(ptr noundef nonnull %3) #17 + call void @slurm_xfree(ptr noundef nonnull %3) #16 br label %17 17: ; preds = %2, %5 @@ -1380,7 +1380,7 @@ define noundef ptr @bit_fmt(ptr noundef returned %0, i32 noundef %1, ptr nocaptu br i1 %.not.i40.not, label %.critedge, label %.preheader, !llvm.loop !23 .critedge: ; preds = %.preheader, %25 - %31 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #18 + %31 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #17 %32 = trunc i64 %31 to i32 %33 = icmp eq i64 %.134, %.03343 %sext39 = shl i64 %31, 32 @@ -1391,11 +1391,11 @@ define noundef ptr @bit_fmt(ptr noundef returned %0, i32 noundef %1, ptr nocaptu br i1 %33, label %38, label %40 38: ; preds = %.critedge - %39 = tail call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %35, i64 noundef %37, ptr noundef nonnull @.str.2, ptr noundef %.0.ph47, i64 noundef %.03343) #17 + %39 = tail call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %35, i64 noundef %37, ptr noundef nonnull @.str.2, ptr noundef %.0.ph47, i64 noundef %.03343) #16 br label %42 40: ; preds = %.critedge - %41 = tail call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %35, i64 noundef %37, ptr noundef nonnull @.str.3, ptr noundef %.0.ph47, i64 noundef %.03343, i64 noundef %.134) #17 + %41 = tail call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull %35, i64 noundef %37, ptr noundef nonnull @.str.3, ptr noundef %.0.ph47, i64 noundef %.03343, i64 noundef %.134) #16 br label %42 42: ; preds = %40, %38 @@ -1404,7 +1404,7 @@ define noundef ptr @bit_fmt(ptr noundef returned %0, i32 noundef %1, ptr nocaptu br i1 %43, label %44, label %.outer 44: ; preds = %42 - %45 = tail call i32 (ptr, ...) @error(ptr noundef nonnull @.str.5) #17 + %45 = tail call i32 (ptr, ...) @error(ptr noundef nonnull @.str.5) #16 br label %.outer .outer: ; preds = %..outer_crit_edge, %42, %44 @@ -1480,11 +1480,11 @@ define ptr @bit_fmt_full(ptr nocapture noundef readonly %0) #0 { br i1 %30, label %31, label %32 31: ; preds = %.critedge - call void (ptr, ptr, ...) @_xstrfmtcat(ptr noundef nonnull %2, ptr noundef nonnull @.str.2, ptr noundef %.0.ph32, i64 noundef %.02128) #17 + call void (ptr, ptr, ...) @_xstrfmtcat(ptr noundef nonnull %2, ptr noundef nonnull @.str.2, ptr noundef %.0.ph32, i64 noundef %.02128) #16 br label %.outer 32: ; preds = %.critedge - call void (ptr, ptr, ...) @_xstrfmtcat(ptr noundef nonnull %2, ptr noundef nonnull @.str.3, ptr noundef %.0.ph32, i64 noundef %.02128, i64 noundef %.122) #17 + call void (ptr, ptr, ...) @_xstrfmtcat(ptr noundef nonnull %2, ptr noundef nonnull @.str.3, ptr noundef %.0.ph32, i64 noundef %.02128, i64 noundef %.122) #16 br label %.outer .outer: ; preds = %31, %32, %16 @@ -1519,7 +1519,7 @@ define range(i32 -1, 1) i32 @bit_unfmt(ptr nocapture noundef %0, ptr noundef %1) 10: ; preds = %7 %11 = tail call i32 @inx2bitstr(ptr noundef %0, ptr noundef nonnull %8) - call void @slurm_xfree(ptr noundef nonnull %3) #17 + call void @slurm_xfree(ptr noundef nonnull %3) #16 br label %12 12: ; preds = %7, %2, %4, %10 @@ -1535,19 +1535,19 @@ define ptr @bitfmt2int(ptr noundef %0) #0 { br i1 %3, label %70, label %4 4: ; preds = %1 - %5 = tail call ptr @xstrchr(ptr noundef nonnull %0, i32 noundef 58) #17 + %5 = tail call ptr @xstrchr(ptr noundef nonnull %0, i32 noundef 58) #16 %.not = icmp eq ptr %5, null br i1 %.not, label %6, label %33 6: ; preds = %4 - %7 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #18 + %7 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #17 %8 = trunc i64 %7 to i32 %9 = add i32 %8, 1 %10 = shl nsw i32 %9, 1 %11 = or disjoint i32 %10, 1 %12 = sext i32 %11 to i64 %13 = shl nsw i64 %12, 2 - %14 = tail call ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %13, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 1384, ptr noundef nonnull @__func__.bitfmt2int) #17 + %14 = tail call ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %13, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 1384, ptr noundef nonnull @__func__.bitfmt2int) #16 %15 = icmp ult i32 %8, 2147483647 br i1 %15, label %.lr.ph79.preheader, label %.loopexit @@ -1606,7 +1606,7 @@ define ptr @bitfmt2int(ptr noundef %0) #0 { br i1 %exitcond.not, label %.loopexit, label %.lr.ph79, !llvm.loop !26 33: ; preds = %4 - %34 = call i64 @strtol(ptr noundef nonnull %0, ptr noundef nonnull %2, i32 noundef 10) #17 + %34 = call i64 @strtol(ptr noundef nonnull %0, ptr noundef nonnull %2, i32 noundef 10) #16 %35 = trunc i64 %34 to i32 %36 = load ptr, ptr %2, align 8 %37 = load i8, ptr %36, align 1 @@ -1615,7 +1615,7 @@ define ptr @bitfmt2int(ptr noundef %0) #0 { 38: ; preds = %33 %39 = getelementptr inbounds i8, ptr %36, i64 1 - %40 = call i64 @strtol(ptr noundef nonnull %39, ptr noundef nonnull %2, i32 noundef 10) #17 + %40 = call i64 @strtol(ptr noundef nonnull %39, ptr noundef nonnull %2, i32 noundef 10) #16 %41 = trunc i64 %40 to i32 %42 = load ptr, ptr %2, align 8 %43 = load i8, ptr %42, align 1 @@ -1624,7 +1624,7 @@ define ptr @bitfmt2int(ptr noundef %0) #0 { 44: ; preds = %38 %45 = getelementptr inbounds i8, ptr %42, i64 1 - %46 = call i64 @strtol(ptr noundef nonnull %45, ptr noundef nonnull %2, i32 noundef 10) #17 + %46 = call i64 @strtol(ptr noundef nonnull %45, ptr noundef nonnull %2, i32 noundef 10) #16 %47 = trunc i64 %46 to i32 %48 = load ptr, ptr %2, align 8 %49 = load i8, ptr %48, align 1 @@ -1644,7 +1644,7 @@ define ptr @bitfmt2int(ptr noundef %0) #0 { %57 = add i32 %56, 3 %58 = sext i32 %57 to i64 %59 = shl nsw i64 %58, 2 - %60 = tail call ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %59, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 1421, ptr noundef nonnull @__func__.bitfmt2int) #17 + %60 = tail call ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %59, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 1421, ptr noundef nonnull @__func__.bitfmt2int) #16 %61 = icmp slt i32 %35, %41 br i1 %61, label %.lr.ph, label %.loopexit @@ -1698,7 +1698,7 @@ define range(i32 -1, 1) i32 @bit_unfmt_hexmask(ptr noundef %0, ptr noundef %1) # br i1 %or.cond, label %5, label %.loopexit 5: ; preds = %2 - %6 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #18 + %6 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #17 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i64, ptr %7, align 8 %sext = shl i64 %6, 32 @@ -1734,7 +1734,7 @@ define range(i32 -1, 1) i32 @bit_unfmt_hexmask(ptr noundef %0, ptr noundef %1) # br label %bit_nclear.exit bit_nclear.exit: ; preds = %.critedge.i, %5, %.critedge2.i - %20 = tail call i32 @xstrncmp(ptr noundef nonnull %1, ptr noundef nonnull @.str.8, i64 noundef 2) #17 + %20 = tail call i32 @xstrncmp(ptr noundef nonnull %1, ptr noundef nonnull @.str.8, i64 noundef 2) #16 %21 = icmp eq i32 %20, 0 %spec.select.idx = select i1 %21, i64 2, i64 0 %spec.select = getelementptr inbounds i8, ptr %1, i64 %spec.select.idx @@ -1742,7 +1742,7 @@ bit_nclear.exit: ; preds = %.critedge.i, %5, %. br i1 %.not81, label %.loopexit, label %.lr.ph .lr.ph: ; preds = %bit_nclear.exit - %22 = tail call ptr @__ctype_b_loc() #19 + %22 = tail call ptr @__ctype_b_loc() #18 br label %23 23: ; preds = %.lr.ph, %.backedge @@ -1769,7 +1769,7 @@ bit_nclear.exit: ; preds = %.critedge.i, %5, %. br label %40 36: ; preds = %32 - %37 = tail call i32 @toupper(i32 noundef %27) #18 + %37 = tail call i32 @toupper(i32 noundef %27) #17 %38 = zext i32 %37 to i64 %39 = add nsw i64 %38, -55 br label %40 @@ -1873,7 +1873,7 @@ define ptr @bit_fmt_binmask(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %2, align 8 %4 = add nsw i64 %3, 1 - %5 = tail call ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %4, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 1730, ptr noundef nonnull @__func__.bit_fmt_binmask) #17 + %5 = tail call ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %4, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 1730, ptr noundef nonnull @__func__.bit_fmt_binmask) #16 %6 = getelementptr inbounds i8, ptr %5, i64 %3 store i8 0, ptr %6, align 1 %invariant.gep = getelementptr i8, ptr %0, i64 16 @@ -1901,9 +1901,9 @@ define ptr @bit_fmt_binmask(ptr nocapture noundef readonly %0) #0 { ret ptr %5 } -; Function Attrs: nofree nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree nounwind memory(argmem: readwrite) uwtable define void @bit_unfmt_binmask(ptr nocapture noundef %0, ptr noundef readonly %1) #5 { - %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #18 + %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #17 %sext = shl i64 %3, 32 %4 = ashr exact i64 %sext, 32 %5 = getelementptr inbounds i8, ptr %1, i64 %4 @@ -2456,7 +2456,7 @@ define noundef ptr @bit_copy(ptr nocapture noundef readonly %0) #0 { %6 = lshr i64 %5, 3 %7 = and i64 %6, 2305843009213693944 %8 = add nuw nsw i64 %7, 16 - %9 = tail call noundef ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %8, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 239, ptr noundef nonnull @__func__.bit_alloc) #17 + %9 = tail call noundef ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %8, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 239, ptr noundef nonnull @__func__.bit_alloc) #16 store i64 1111704645, ptr %9, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 8 store i64 %4, ptr %10, align 8 @@ -2479,7 +2479,7 @@ define noundef ptr @bit_pick_cnt(ptr nocapture noundef readonly %0, i64 noundef %9 = lshr i64 %8, 3 %10 = and i64 %9, 2305843009213693944 %11 = add nuw nsw i64 %10, 16 - %12 = tail call noundef ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %11, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 239, ptr noundef nonnull @__func__.bit_alloc) #17 + %12 = tail call noundef ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %11, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 239, ptr noundef nonnull @__func__.bit_alloc) #16 store i64 1111704645, ptr %12, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 8 store i64 %5, ptr %13, align 8 @@ -2586,7 +2586,7 @@ define noundef ptr @bit_pick_cnt(ptr nocapture noundef readonly %0, i64 noundef .loopexit: ; preds = %24, %.outer._crit_edge store i64 0, ptr %12, align 8 - call void @slurm_xfree(ptr noundef nonnull %3) #17 + call void @slurm_xfree(ptr noundef nonnull %3) #16 br label %.critedge .critedge: ; preds = %.outer._crit_edge, %.loopexit, %2 @@ -2825,7 +2825,7 @@ define ptr @slurm_bit_realloc(ptr noundef %0, i64 noundef %1) local_unnamed_addr %3 = add i64 %1, 63 %4 = lshr i64 %3, 6 %5 = add nuw nsw i64 %4, 2 - %6 = tail call ptr @slurm_xrecalloc(ptr noundef %0, i64 noundef %5, i64 noundef 8, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 257, ptr noundef nonnull @__func__.slurm_bit_realloc) #17 + %6 = tail call ptr @slurm_xrecalloc(ptr noundef %0, i64 noundef %5, i64 noundef 8, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 257, ptr noundef nonnull @__func__.slurm_bit_realloc) #16 %7 = load ptr, ptr %0, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 8 store i64 %1, ptr %8, align 8 @@ -2839,7 +2839,7 @@ declare ptr @slurm_xrecalloc(ptr noundef, i64 noundef, i64 noundef, i1 noundef z define void @slurm_bit_free(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8 store i64 0, ptr %2, align 8 - tail call void @slurm_xfree(ptr noundef nonnull %0) #17 + tail call void @slurm_xfree(ptr noundef nonnull %0) #16 ret void } @@ -3094,12 +3094,12 @@ define ptr @bit_fmt_range(ptr nocapture noundef readonly %0, i32 noundef %1, i32 br i1 %34, label %36, label %37 36: ; preds = %.critedge - call void (ptr, ptr, ...) @_xstrfmtcat(ptr noundef nonnull %4, ptr noundef nonnull @.str.2, ptr noundef %.0.ph44, i64 noundef %35) #17 + call void (ptr, ptr, ...) @_xstrfmtcat(ptr noundef nonnull %4, ptr noundef nonnull @.str.2, ptr noundef %.0.ph44, i64 noundef %35) #16 br label %.outer 37: ; preds = %.critedge %38 = sub nsw i64 %.132, %9 - call void (ptr, ptr, ...) @_xstrfmtcat(ptr noundef nonnull %4, ptr noundef nonnull @.str.3, ptr noundef %.0.ph44, i64 noundef %35, i64 noundef %38) #17 + call void (ptr, ptr, ...) @_xstrfmtcat(ptr noundef nonnull %4, ptr noundef nonnull @.str.3, ptr noundef %.0.ph44, i64 noundef %35, i64 noundef %38) #16 br label %.outer .outer: ; preds = %36, %37, %20 @@ -3114,8 +3114,8 @@ define ptr @bit_fmt_range(ptr nocapture noundef readonly %0, i32 noundef %1, i32 ret ptr %41 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define range(i32 -1, 1) i32 @inx2bitstr(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #12 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define range(i32 -1, 1) i32 @inx2bitstr(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #3 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8 %5 = trunc i64 %4 to i32 @@ -3259,7 +3259,7 @@ bit_nset.exit: ; preds = %.critedge2.i27, %52 declare ptr @xstrchr(ptr noundef, i32 noundef) local_unnamed_addr #6 ; Function Attrs: mustprogress nofree nounwind willreturn -declare i64 @strtol(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #13 +declare i64 @strtol(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #12 ; Function Attrs: nounwind uwtable define ptr @inx2bitfmt(ptr noundef readonly %0) local_unnamed_addr #0 { @@ -3282,7 +3282,7 @@ define ptr @inx2bitfmt(ptr noundef readonly %0) local_unnamed_addr #0 { %9 = getelementptr inbounds i32, ptr %0, i64 %8 %10 = load i32, ptr %9, align 4 %.str.7..str.6 = select i1 %.not, ptr @.str.7, ptr @.str.6 - call void (ptr, ptr, ...) @_xstrfmtcat(ptr noundef nonnull %2, ptr noundef nonnull %.str.7..str.6, i32 noundef %6, i32 noundef %10) #17 + call void (ptr, ptr, ...) @_xstrfmtcat(ptr noundef nonnull %2, ptr noundef nonnull %.str.7..str.6, i32 noundef %6, i32 noundef %10) #16 %indvars.iv.next = add nuw nsw i64 %indvars.iv, 2 %11 = getelementptr inbounds i32, ptr %0, i64 %indvars.iv.next %12 = load i32, ptr %11, align 4 @@ -3304,7 +3304,7 @@ define ptr @bitstr2inx(ptr noundef readonly %0) local_unnamed_addr #0 { br i1 %.not, label %2, label %4 2: ; preds = %1 - %3 = tail call ptr @slurm_xcalloc(i64 noundef 1, i64 noundef 4, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 1492, ptr noundef nonnull @__func__.bitstr2inx) #17 + %3 = tail call ptr @slurm_xcalloc(i64 noundef 1, i64 noundef 4, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 1492, ptr noundef nonnull @__func__.bitstr2inx) #16 br label %39 4: ; preds = %1 @@ -3312,7 +3312,7 @@ define ptr @bitstr2inx(ptr noundef readonly %0) local_unnamed_addr #0 { %6 = load i64, ptr %5, align 8 %7 = shl i64 %6, 2 %8 = add i64 %7, 8 - %9 = tail call ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %8, i1 noundef zeroext false, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 1500, ptr noundef nonnull @__func__.bitstr2inx) #17 + %9 = tail call ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %8, i1 noundef zeroext false, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 1500, ptr noundef nonnull @__func__.bitstr2inx) #16 %invariant.gep = getelementptr i8, ptr %0, i64 16 %10 = load i64, ptr %5, align 8 %11 = icmp sgt i64 %10, 0 @@ -3465,14 +3465,14 @@ bit_fls.exit: ; preds = %9, %15, %.outer.i.i br i1 %.not, label %29, label %31 29: ; preds = %28 - %30 = tail call ptr @xstrdup(ptr noundef nonnull @.str.9) #17 + %30 = tail call ptr @xstrdup(ptr noundef nonnull @.str.9) #16 br label %.loopexit80 31: ; preds = %28 %32 = add nsw i64 %.054, 3 %33 = sdiv i64 %32, 4 %34 = add nsw i64 %33, 3 - %35 = tail call ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %34, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 1544, ptr noundef nonnull @__func__._bit_fmt_hexmask) #17 + %35 = tail call ptr @slurm_xcalloc(i64 noundef 1, i64 noundef %34, i1 noundef zeroext true, i1 noundef zeroext false, ptr noundef nonnull @.str, i32 noundef 1544, ptr noundef nonnull @__func__._bit_fmt_hexmask) #16 store i8 48, ptr %35, align 1 %36 = getelementptr inbounds i8, ptr %35, i64 1 store i8 120, ptr %36, align 1 @@ -3607,10 +3607,10 @@ bit_fls.exit: ; preds = %9, %15, %.outer.i.i declare i32 @xstrncmp(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #6 ; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) -declare ptr @__ctype_b_loc() local_unnamed_addr #14 +declare ptr @__ctype_b_loc() local_unnamed_addr #13 ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) -declare i32 @toupper(i32 noundef) local_unnamed_addr #15 +declare i32 @toupper(i32 noundef) local_unnamed_addr #14 ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @bit_consolidate(ptr nocapture noundef %0) local_unnamed_addr #3 { @@ -3770,28 +3770,27 @@ bit_nset.exit: ; preds = %.critedge.i25, %bit declare ptr @xstrdup(ptr noundef) local_unnamed_addr #6 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.smin.i64(i64, i64) #16 +declare i64 @llvm.smin.i64(i64, i64) #15 attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { nofree 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 #5 = { nofree 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 #6 = { "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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #8 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #10 = { 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 #11 = { 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 #12 = { 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 #13 = { mustprogress nofree nounwind willreturn "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 #14 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 #15 = { mustprogress nofree nounwind willreturn memory(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 #16 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #17 = { nounwind } -attributes #18 = { nounwind willreturn memory(read) } -attributes #19 = { nounwind willreturn memory(none) } +attributes #12 = { mustprogress nofree nounwind willreturn "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 #13 = { mustprogress nofree nosync nounwind willreturn memory(none) "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 #14 = { mustprogress nofree nounwind willreturn memory(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 #15 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #16 = { nounwind } +attributes #17 = { nounwind willreturn memory(read) } +attributes #18 = { nounwind willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4, !5} diff --git a/bench/stb/optimized/stb_tilemap_editor.c.ll b/bench/stb/optimized/stb_tilemap_editor.c.ll index 7bab4359f7b..e9d3fe5364d 100644 --- a/bench/stb/optimized/stb_tilemap_editor.c.ll +++ b/bench/stb/optimized/stb_tilemap_editor.c.ll @@ -687,8 +687,8 @@ for.end: ; preds = %for.body, %entry ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @stbte__strequal(ptr nocapture noundef readonly %p, ptr nocapture noundef readonly %q) local_unnamed_addr #8 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable +define range(i32 0, 2) i32 @stbte__strequal(ptr nocapture noundef readonly %p, ptr nocapture noundef readonly %q) local_unnamed_addr #11 { entry: br label %while.cond @@ -718,7 +718,7 @@ return: ; preds = %while.body, %while. } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @stbte__compute_tileinfo(ptr nocapture noundef %tm) local_unnamed_addr #11 { +define void @stbte__compute_tileinfo(ptr nocapture noundef %tm) local_unnamed_addr #12 { entry: %num_categories = getelementptr inbounds i8, ptr %tm, i64 800848 store i32 0, ptr %num_categories, align 8 @@ -855,7 +855,7 @@ stbte__choose_category.exit: ; preds = %for.body.i, %if.end } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @stbte__prepare_tileinfo(ptr nocapture noundef %tm) local_unnamed_addr #11 { +define void @stbte__prepare_tileinfo(ptr nocapture noundef %tm) local_unnamed_addr #12 { entry: %tileinfo_dirty = getelementptr inbounds i8, ptr %tm, i64 800888 %0 = load i32, ptr %tileinfo_dirty, align 8 @@ -1000,7 +1000,7 @@ if.end: ; preds = %stbte__compute_tile } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define void @stbte__write_undo(ptr nocapture noundef %tm, i16 noundef signext %value) local_unnamed_addr #12 { +define void @stbte__write_undo(ptr nocapture noundef %tm, i16 noundef signext %value) local_unnamed_addr #13 { entry: %undo_pos = getelementptr inbounds i8, ptr %tm, i64 801044 %0 = load i32, ptr %undo_pos, align 4 @@ -1030,7 +1030,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define void @stbte__write_redo(ptr nocapture noundef %tm, i16 noundef signext %value) local_unnamed_addr #12 { +define void @stbte__write_redo(ptr nocapture noundef %tm, i16 noundef signext %value) local_unnamed_addr #13 { entry: %undo_pos = getelementptr inbounds i8, ptr %tm, i64 801044 %0 = load i32, ptr %undo_pos, align 4 @@ -1060,7 +1060,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define void @stbte__begin_undo(ptr nocapture noundef %tm) local_unnamed_addr #12 { +define void @stbte__begin_undo(ptr nocapture noundef %tm) local_unnamed_addr #13 { entry: %redo_len = getelementptr inbounds i8, ptr %tm, i64 801052 store i32 0, ptr %redo_len, align 4 @@ -1223,7 +1223,7 @@ if.end: ; preds = %if.then, %entry } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define void @stbte__redo_record(ptr nocapture noundef %tm, i32 noundef %x, i32 noundef %y, i32 noundef %i, i32 noundef %v) local_unnamed_addr #12 { +define void @stbte__redo_record(ptr nocapture noundef %tm, i32 noundef %x, i32 noundef %y, i32 noundef %i, i32 noundef %v) local_unnamed_addr #13 { entry: %conv = trunc i32 %v to i16 %undo_pos.i = getelementptr inbounds i8, ptr %tm, i64 801044 @@ -1444,7 +1444,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable -define void @stbte__redo_record_prop(ptr nocapture noundef %tm, i32 noundef %x, i32 noundef %y, i32 noundef %i, i16 noundef signext %s0, i16 noundef signext %s1) local_unnamed_addr #12 { +define void @stbte__redo_record_prop(ptr nocapture noundef %tm, i32 noundef %x, i32 noundef %y, i32 noundef %i, i16 noundef signext %s0, i16 noundef signext %s1) local_unnamed_addr #13 { entry: %undo_pos.i = getelementptr inbounds i8, ptr %tm, i64 801044 %0 = load i32, ptr %undo_pos.i, align 4 @@ -1582,7 +1582,7 @@ for.end: ; preds = %if.end, %for.body, } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @stbte__undo(ptr nocapture noundef %tm) local_unnamed_addr #11 { +define void @stbte__undo(ptr nocapture noundef %tm) local_unnamed_addr #12 { entry: %undo_len.i = getelementptr inbounds i8, ptr %tm, i64 801048 %0 = load i32, ptr %undo_len.i, align 8 @@ -1921,7 +1921,7 @@ for.end: ; preds = %if.end, %for.body, } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @stbte__redo(ptr nocapture noundef %tm) local_unnamed_addr #11 { +define void @stbte__redo(ptr nocapture noundef %tm) local_unnamed_addr #12 { entry: %redo_len.i = getelementptr inbounds i8, ptr %tm, i64 801052 %0 = load i32, ptr %redo_len.i, align 4 @@ -2483,16 +2483,16 @@ if.end: ; preds = %entry.if.end_crit_e } ; Function Attrs: nounwind uwtable -define void @stbte__draw_rect(i32 noundef %x0, i32 noundef %y0, i32 noundef %x1, i32 noundef %y1, i32 noundef %color) local_unnamed_addr #13 { +define void @stbte__draw_rect(i32 noundef %x0, i32 noundef %y0, i32 noundef %x1, i32 noundef %y1, i32 noundef %color) local_unnamed_addr #14 { entry: tail call void @STBTE_DRAW_RECT(i32 noundef %x0, i32 noundef %y0, i32 noundef %x1, i32 noundef %y1, i32 noundef %color) #25 ret void } -declare void @STBTE_DRAW_RECT(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #14 +declare void @STBTE_DRAW_RECT(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #15 ; Function Attrs: nounwind uwtable -define void @stbte__draw_frame(i32 noundef %x0, i32 noundef %y0, i32 noundef %x1, i32 noundef %y1, i32 noundef %color) local_unnamed_addr #13 { +define void @stbte__draw_frame(i32 noundef %x0, i32 noundef %y0, i32 noundef %x1, i32 noundef %y1, i32 noundef %color) local_unnamed_addr #14 { entry: %sub = add nsw i32 %x1, -1 %add = add nsw i32 %y0, 1 @@ -2506,7 +2506,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable -define range(i32 -32768, 32768) i32 @stbte__get_char_width(i32 noundef %ch) local_unnamed_addr #15 { +define range(i32 -32768, 32768) i32 @stbte__get_char_width(i32 noundef %ch) local_unnamed_addr #16 { entry: %sub = add nsw i32 %ch, -16 %idxprom = sext i32 %sub to i64 @@ -2517,7 +2517,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable -define nonnull ptr @stbte__get_char_bitmap(i32 noundef %ch) local_unnamed_addr #15 { +define nonnull ptr @stbte__get_char_bitmap(i32 noundef %ch) local_unnamed_addr #16 { entry: %sub = add nsw i32 %ch, -16 %idxprom = sext i32 %sub to i64 @@ -2529,7 +2529,7 @@ entry: } ; Function Attrs: nounwind uwtable -define void @stbte__draw_bitmask_as_columns(i32 noundef %x, i32 noundef %y, i16 noundef signext %bitmask, i32 noundef %color) local_unnamed_addr #13 { +define void @stbte__draw_bitmask_as_columns(i32 noundef %x, i32 noundef %y, i16 noundef signext %bitmask, i32 noundef %color) local_unnamed_addr #14 { entry: %tobool.not11 = icmp eq i16 %bitmask, 0 br i1 %tobool.not11, label %while.end, label %while.body.lr.ph @@ -2578,7 +2578,7 @@ while.end: ; preds = %if.end14, %entry } ; Function Attrs: nounwind uwtable -define void @stbte__draw_bitmap(i32 noundef %x, i32 noundef %y, i32 noundef %w, ptr nocapture noundef readonly %bitmap, i32 noundef %color) local_unnamed_addr #13 { +define void @stbte__draw_bitmap(i32 noundef %x, i32 noundef %y, i32 noundef %w, ptr nocapture noundef readonly %bitmap, i32 noundef %color) local_unnamed_addr #14 { entry: %cmp3 = icmp sgt i32 %w, 0 br i1 %cmp3, label %for.body, label %for.end @@ -2641,7 +2641,7 @@ for.end: ; preds = %stbte__draw_bitmask } ; Function Attrs: nounwind uwtable -define void @stbte__draw_text_core(i32 noundef %x, i32 noundef %y, ptr nocapture noundef readonly %str, i32 noundef %w, i32 noundef %color, i32 noundef %digitspace) local_unnamed_addr #13 { +define void @stbte__draw_text_core(i32 noundef %x, i32 noundef %y, ptr nocapture noundef readonly %str, i32 noundef %w, i32 noundef %color, i32 noundef %digitspace) local_unnamed_addr #14 { entry: %add = add nsw i32 %w, %x %0 = load i8, ptr %str, align 1 @@ -2747,7 +2747,7 @@ while.end: ; preds = %stbte__draw_bitmap. } ; Function Attrs: nounwind uwtable -define void @stbte__draw_text(i32 noundef %x, i32 noundef %y, ptr nocapture noundef readonly %str, i32 noundef %w, i32 noundef %color) local_unnamed_addr #13 { +define void @stbte__draw_text(i32 noundef %x, i32 noundef %y, ptr nocapture noundef readonly %str, i32 noundef %w, i32 noundef %color) local_unnamed_addr #14 { entry: %add.i = add nsw i32 %w, %x %0 = load i8, ptr %str, align 1 @@ -2843,7 +2843,7 @@ stbte__draw_text_core.exit: ; preds = %while.body.i, %stbt } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable -define void @stbte__draw_frame_delayed(i32 noundef %x0, i32 noundef %y0, i32 noundef %x1, i32 noundef %y1, i32 noundef %color) local_unnamed_addr #16 { +define void @stbte__draw_frame_delayed(i32 noundef %x0, i32 noundef %y0, i32 noundef %x1, i32 noundef %y1, i32 noundef %color) local_unnamed_addr #17 { entry: %0 = load i32, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 5184), align 8 %cmp = icmp slt i32 %0, 256 @@ -2870,10 +2870,10 @@ if.end: ; preds = %if.then, %entry } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #17 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #18 ; Function Attrs: nounwind uwtable -define void @stbte__flush_delay() local_unnamed_addr #13 { +define void @stbte__flush_delay() local_unnamed_addr #14 { entry: %0 = load i32, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 5184), align 8 %cmp7 = icmp sgt i32 %0, 0 @@ -2911,7 +2911,7 @@ for.end: ; preds = %for.body, %entry } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable -define void @stbte__activate(i32 noundef %id) local_unnamed_addr #16 { +define void @stbte__activate(i32 noundef %id) local_unnamed_addr #17 { entry: store i32 %id, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 8), align 8 %0 = load i32, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 20), align 4 @@ -2922,7 +2922,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @stbte__hittest(i32 noundef %x0, i32 noundef %y0, i32 noundef %x1, i32 noundef %y1, i32 noundef %id) local_unnamed_addr #16 { +define range(i32 0, 2) i32 @stbte__hittest(i32 noundef %x0, i32 noundef %y0, i32 noundef %x1, i32 noundef %y1, i32 noundef %id) local_unnamed_addr #17 { entry: %0 = load i32, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 24), align 8 %cmp.not = icmp slt i32 %0, %x0 @@ -2951,7 +2951,7 @@ if.end: ; preds = %entry, %if.then, %l } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable -define range(i32 -1, 2) i32 @stbte__button_core(i32 noundef %id) local_unnamed_addr #16 { +define range(i32 -1, 2) i32 @stbte__button_core(i32 noundef %id) local_unnamed_addr #17 { entry: %0 = load i32, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 20), align 4 switch i32 %0, label %return [ @@ -3008,7 +3008,7 @@ return: ; preds = %return.sink.split, } ; Function Attrs: nounwind uwtable -define void @stbte__draw_box(i32 noundef %x0, i32 noundef %y0, i32 noundef %x1, i32 noundef %y1, i32 noundef %colormode, i32 noundef %colorindex) local_unnamed_addr #13 { +define void @stbte__draw_box(i32 noundef %x0, i32 noundef %y0, i32 noundef %x1, i32 noundef %y1, i32 noundef %colormode, i32 noundef %colorindex) local_unnamed_addr #14 { entry: %idxprom = sext i32 %colormode to i64 %arrayidx = getelementptr inbounds [13 x [3 x [7 x i32]]], ptr @stbte__color_table, i64 0, i64 %idxprom @@ -3031,7 +3031,7 @@ entry: } ; Function Attrs: nounwind uwtable -define void @stbte__draw_textbox(i32 noundef %x0, i32 noundef %y0, i32 noundef %x1, i32 noundef %y1, ptr nocapture noundef readonly %text, i32 noundef %xoff, i32 noundef %yoff, i32 noundef %colormode, i32 noundef %colorindex) local_unnamed_addr #13 { +define void @stbte__draw_textbox(i32 noundef %x0, i32 noundef %y0, i32 noundef %x1, i32 noundef %y1, ptr nocapture noundef readonly %text, i32 noundef %xoff, i32 noundef %yoff, i32 noundef %colormode, i32 noundef %colorindex) local_unnamed_addr #14 { entry: %idxprom.i = sext i32 %colormode to i64 %arrayidx.i = getelementptr inbounds [13 x [3 x [7 x i32]]], ptr @stbte__color_table, i64 0, i64 %idxprom.i @@ -3150,7 +3150,7 @@ stbte__draw_text.exit: ; preds = %while.body.i.i, %st } ; Function Attrs: nounwind uwtable -define range(i32 0, 2) i32 @stbte__button(i32 noundef %colormode, ptr nocapture noundef readonly %label, i32 noundef %x, i32 noundef %y, i32 noundef %textoff, i32 noundef %width, i32 noundef %id, i32 noundef %toggled, i32 noundef %disabled) local_unnamed_addr #13 { +define range(i32 0, 2) i32 @stbte__button(i32 noundef %colormode, ptr nocapture noundef readonly %label, i32 noundef %x, i32 noundef %y, i32 noundef %textoff, i32 noundef %width, i32 noundef %id, i32 noundef %toggled, i32 noundef %disabled) local_unnamed_addr #14 { entry: %add = add nsw i32 %width, %x %add1 = add nsw i32 %y, 13 @@ -3266,7 +3266,7 @@ return: ; preds = %return.sink.split.i } ; Function Attrs: nounwind uwtable -define range(i32 0, 2) i32 @stbte__button_icon(i32 noundef %colormode, i8 noundef signext %ch, i32 noundef %x, i32 noundef %y, i32 noundef %width, i32 noundef %id, i32 noundef %toggled, i32 noundef %disabled) local_unnamed_addr #13 { +define range(i32 0, 2) i32 @stbte__button_icon(i32 noundef %colormode, i8 noundef signext %ch, i32 noundef %x, i32 noundef %y, i32 noundef %width, i32 noundef %id, i32 noundef %toggled, i32 noundef %disabled) local_unnamed_addr #14 { entry: %label = alloca [2 x i8], align 1 %add = add nsw i32 %width, %x @@ -3386,7 +3386,7 @@ return: ; preds = %return.sink.split.i } ; Function Attrs: nounwind uwtable -define range(i32 -1, 2) i32 @stbte__minibutton(i32 noundef %colormode, i32 noundef %x, i32 noundef %y, i32 noundef %ch, i32 noundef %id) local_unnamed_addr #13 { +define range(i32 -1, 2) i32 @stbte__minibutton(i32 noundef %colormode, i32 noundef %x, i32 noundef %y, i32 noundef %ch, i32 noundef %id) local_unnamed_addr #14 { entry: %str = alloca [2 x i8], align 1 %add = add nsw i32 %x, 8 @@ -3494,7 +3494,7 @@ stbte__button_core.exit: ; preds = %if.end, %sw.bb.i, % } ; Function Attrs: nounwind uwtable -define range(i32 -1, 2) i32 @stbte__layerbutton(i32 noundef %x, i32 noundef %y, i32 noundef %ch, i32 noundef %id, i32 noundef %toggled, i32 noundef %disabled, i32 noundef %colormode) local_unnamed_addr #13 { +define range(i32 -1, 2) i32 @stbte__layerbutton(i32 noundef %x, i32 noundef %y, i32 noundef %ch, i32 noundef %id, i32 noundef %toggled, i32 noundef %disabled, i32 noundef %colormode) local_unnamed_addr #14 { entry: %str = alloca [2 x i8], align 1 %add = add nsw i32 %x, 10 @@ -3622,7 +3622,7 @@ return: ; preds = %return.sink.split.i } ; Function Attrs: nounwind uwtable -define range(i32 -1, 2) i32 @stbte__microbutton(i32 noundef %x, i32 noundef %y, i32 noundef %size, i32 noundef %id, i32 noundef %colormode) local_unnamed_addr #13 { +define range(i32 -1, 2) i32 @stbte__microbutton(i32 noundef %x, i32 noundef %y, i32 noundef %size, i32 noundef %id, i32 noundef %colormode) local_unnamed_addr #14 { entry: %add = add nsw i32 %size, %x %add1 = add nsw i32 %size, %y @@ -3740,7 +3740,7 @@ stbte__button_core.exit: ; preds = %if.end, %sw.bb.i, % } ; Function Attrs: nounwind uwtable -define range(i32 -1, 2) i32 @stbte__microbutton_dragger(i32 noundef %x, i32 noundef %y, i32 noundef %size, i32 noundef %id, ptr nocapture noundef %pos) local_unnamed_addr #13 { +define range(i32 -1, 2) i32 @stbte__microbutton_dragger(i32 noundef %x, i32 noundef %y, i32 noundef %size, i32 noundef %id, ptr nocapture noundef %pos) local_unnamed_addr #14 { entry: %add = add nsw i32 %size, %x %add1 = add nsw i32 %size, %y @@ -3879,7 +3879,7 @@ return: ; preds = %stbte__hittest.exit } ; Function Attrs: nounwind uwtable -define range(i32 0, 2) i32 @stbte__category_button(ptr nocapture noundef readonly %label, i32 noundef %x, i32 noundef %y, i32 noundef %width, i32 noundef %id, i32 noundef %toggled) local_unnamed_addr #13 { +define range(i32 0, 2) i32 @stbte__category_button(ptr nocapture noundef readonly %label, i32 noundef %x, i32 noundef %y, i32 noundef %width, i32 noundef %id, i32 noundef %toggled) local_unnamed_addr #14 { entry: %add = add nsw i32 %width, %x %add1 = add nsw i32 %y, 13 @@ -3983,7 +3983,7 @@ stbte__button_core.exit: ; preds = %if.end, %sw.bb.i, % } ; Function Attrs: nounwind uwtable -define range(i32 0, 4) i32 @stbte__slider(i32 noundef %x0, i32 noundef %w, i32 noundef %y, i32 noundef %range, ptr nocapture noundef %value, i32 noundef %id) local_unnamed_addr #13 { +define range(i32 0, 4) i32 @stbte__slider(i32 noundef %x0, i32 noundef %w, i32 noundef %y, i32 noundef %range, ptr nocapture noundef %value, i32 noundef %id) local_unnamed_addr #14 { entry: %add = add nsw i32 %w, %x0 %0 = load i32, ptr %value, align 4 @@ -4089,7 +4089,7 @@ return: ; preds = %stbte__hittest.exit } ; Function Attrs: nounwind uwtable -define range(i32 0, 4) i32 @stbte__float_control(i32 noundef %x0, i32 noundef %y0, i32 noundef %w, float noundef %minv, float noundef %maxv, float noundef %scale, ptr noundef readonly %fmt, ptr nocapture noundef %value, i32 noundef %colormode, i32 noundef %id) local_unnamed_addr #13 { +define range(i32 0, 4) i32 @stbte__float_control(i32 noundef %x0, i32 noundef %y0, i32 noundef %w, float noundef %minv, float noundef %maxv, float noundef %scale, ptr noundef readonly %fmt, ptr nocapture noundef %value, i32 noundef %colormode, i32 noundef %id) local_unnamed_addr #14 { entry: %text = alloca [32 x i8], align 16 %add = add nsw i32 %w, %x0 @@ -4241,13 +4241,13 @@ return: ; preds = %stbte__hittest.exit } ; Function Attrs: nofree nounwind -declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #18 +declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #19 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare float @llvm.fmuladd.f32(float, float, float) #19 +declare float @llvm.fmuladd.f32(float, float, float) #20 ; Function Attrs: nounwind uwtable -define void @stbte__scrollbar(i32 noundef %x, i32 noundef %y0, i32 noundef %y1, ptr nocapture noundef %val, i32 noundef %v0, i32 noundef %v1, i32 noundef %num_vis, i32 noundef %id) local_unnamed_addr #13 { +define void @stbte__scrollbar(i32 noundef %x, i32 noundef %y0, i32 noundef %y1, ptr nocapture noundef %val, i32 noundef %v0, i32 noundef %v1, i32 noundef %num_vis, i32 noundef %id) local_unnamed_addr #14 { entry: %sub = sub nsw i32 %v1, %v0 %cmp.not = icmp sgt i32 %sub, %num_vis @@ -4441,7 +4441,7 @@ if.end11: ; preds = %if.then7, %if.else9 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable -define range(i32 0, 2) i32 @stbte__is_single_selection() local_unnamed_addr #15 { +define range(i32 0, 2) i32 @stbte__is_single_selection() local_unnamed_addr #16 { entry: %0 = load i32, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 5296), align 8 %tobool.not = icmp eq i32 %0, 0 @@ -4466,7 +4466,7 @@ land.end: ; preds = %land.rhs, %land.lhs } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @stbte__compute_panel_locations(ptr nocapture noundef %tm) local_unnamed_addr #11 { +define void @stbte__compute_panel_locations(ptr nocapture noundef %tm) local_unnamed_addr #12 { entry: %min_width = alloca [7 x i32], align 16 %height = alloca [7 x i32], align 16 @@ -4789,10 +4789,10 @@ for.end276: ; preds = %for.inc274 } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #20 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #21 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable -define void @stbte__activate_map(i32 noundef %x, i32 noundef %y) local_unnamed_addr #16 { +define void @stbte__activate_map(i32 noundef %x, i32 noundef %y) local_unnamed_addr #17 { entry: %0 = shl i32 %x, 19 %1 = shl i32 %y, 7 @@ -4913,7 +4913,7 @@ for.end: ; preds = %for.inc, %if.end, % } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @stbte__brush(ptr nocapture noundef %tm, i32 noundef %x, i32 noundef %y) local_unnamed_addr #11 { +define void @stbte__brush(ptr nocapture noundef %tm, i32 noundef %x, i32 noundef %y) local_unnamed_addr #12 { entry: %cur_tile = getelementptr inbounds i8, ptr %tm, i64 800040 %0 = load i32, ptr %cur_tile, align 8 @@ -5277,7 +5277,7 @@ return: ; preds = %land.lhs.true153, % } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define range(i32 -1, 3) i32 @stbte__erase(ptr nocapture noundef %tm, i32 noundef %x, i32 noundef %y, i32 noundef %allow_any) local_unnamed_addr #11 { +define range(i32 -1, 3) i32 @stbte__erase(ptr nocapture noundef %tm, i32 noundef %x, i32 noundef %y, i32 noundef %allow_any) local_unnamed_addr #12 { entry: %cur_tile = getelementptr inbounds i8, ptr %tm, i64 800040 %0 = load i32, ptr %cur_tile, align 8 @@ -5583,7 +5583,7 @@ return: ; preds = %land.lhs.true216, % } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, argmem: read, inaccessiblemem: none) uwtable -define i32 @stbte__find_tile(ptr nocapture noundef readonly %tm, i32 noundef %tile_id) local_unnamed_addr #21 { +define i32 @stbte__find_tile(ptr nocapture noundef readonly %tm, i32 noundef %tile_id) local_unnamed_addr #22 { entry: %num_tiles = getelementptr inbounds i8, ptr %tm, i64 800864 %0 = load i32, ptr %num_tiles, align 8 @@ -5624,7 +5624,7 @@ return: ; preds = %return.loopexit, %f } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @stbte__eyedrop(ptr nocapture noundef %tm, i32 noundef %x, i32 noundef %y) local_unnamed_addr #11 { +define void @stbte__eyedrop(ptr nocapture noundef %tm, i32 noundef %x, i32 noundef %y) local_unnamed_addr #12 { entry: %0 = load i32, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 5200), align 8 %cmp.not = icmp eq i32 %0, %x @@ -5775,7 +5775,7 @@ for.end: ; preds = %for.inc, %for.end.s } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable -define range(i32 0, 2) i32 @stbte__should_copy_properties(ptr nocapture noundef readonly %tm) local_unnamed_addr #22 { +define range(i32 0, 2) i32 @stbte__should_copy_properties(ptr nocapture noundef readonly %tm) local_unnamed_addr #11 { entry: %propmode = getelementptr inbounds i8, ptr %tm, i64 801036 %0 = load i32, ptr %propmode, align 4 @@ -6097,7 +6097,7 @@ if.end28: ; preds = %for.inc, %for.cond. } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @stbte__fillrect(ptr nocapture noundef %tm, i32 noundef %x0, i32 noundef %y0, i32 noundef %x1, i32 noundef %y1, i32 noundef %fill) local_unnamed_addr #11 { +define void @stbte__fillrect(ptr nocapture noundef %tm, i32 noundef %x0, i32 noundef %y0, i32 noundef %x1, i32 noundef %y1, i32 noundef %fill) local_unnamed_addr #12 { entry: %redo_len.i = getelementptr inbounds i8, ptr %tm, i64 801052 store i32 0, ptr %redo_len.i, align 4 @@ -6424,7 +6424,7 @@ entry: } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @stbte__copy_cut(ptr noundef %tm, i32 noundef %cut) local_unnamed_addr #11 { +define void @stbte__copy_cut(ptr noundef %tm, i32 noundef %cut) local_unnamed_addr #12 { entry: %propmode.i = getelementptr inbounds i8, ptr %tm, i64 801036 %0 = load i32, ptr %propmode.i, align 4 @@ -6928,7 +6928,7 @@ entry: } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @stbte__paste(ptr noundef %tm, i32 noundef %mapx, i32 noundef %mapy) local_unnamed_addr #11 { +define void @stbte__paste(ptr noundef %tm, i32 noundef %mapx, i32 noundef %mapy) local_unnamed_addr #12 { entry: %tilestack = alloca [8 x i16], align 16 %0 = load i32, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 1316328), align 8 @@ -7494,7 +7494,7 @@ return: ; preds = %if.end.i, %for.end1 } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @stbte__drag_update(ptr nocapture noundef %tm, i32 noundef %mapx, i32 noundef %mapy, i32 noundef %copy_props) local_unnamed_addr #11 { +define void @stbte__drag_update(ptr nocapture noundef %tm, i32 noundef %mapx, i32 noundef %mapy, i32 noundef %copy_props) local_unnamed_addr #12 { entry: %temp = alloca [8 x i16], align 16 %0 = load i32, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 5268), align 4 @@ -7758,7 +7758,7 @@ if.end151: ; preds = %for.inc148, %for.co } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @stbte__drag_place(ptr nocapture noundef %tm, i32 %mapx, i32 %mapy) local_unnamed_addr #11 { +define void @stbte__drag_place(ptr nocapture noundef %tm, i32 %mapx, i32 %mapy) local_unnamed_addr #12 { entry: %propmode.i = getelementptr inbounds i8, ptr %tm, i64 801036 %0 = load i32, ptr %propmode.i, align 4 @@ -7972,7 +7972,7 @@ return: ; preds = %stbte__should_copy_ } ; Function Attrs: nounwind uwtable -define void @stbte__tile_paint(ptr noundef %tm, i32 noundef %sx, i32 noundef %sy, i32 noundef %mapx, i32 noundef %mapy, i32 noundef %layer) local_unnamed_addr #13 { +define void @stbte__tile_paint(ptr noundef %tm, i32 noundef %sx, i32 noundef %sy, i32 noundef %mapx, i32 noundef %mapy, i32 noundef %layer) local_unnamed_addr #14 { entry: %temp = alloca [8 x i16], align 16 %0 = shl i32 %mapx, 19 @@ -8537,10 +8537,10 @@ if.end199: ; preds = %if.then185, %if.the ret void } -declare void @STBTE_DRAW_TILE(i32 noundef, i32 noundef, i16 noundef zeroext, i32 noundef, ptr noundef) local_unnamed_addr #14 +declare void @STBTE_DRAW_TILE(i32 noundef, i32 noundef, i16 noundef zeroext, i32 noundef, ptr noundef) local_unnamed_addr #15 ; Function Attrs: nounwind uwtable -define void @stbte__tile(ptr noundef %tm, i32 noundef %sx, i32 noundef %sy, i32 noundef %mapx, i32 noundef %mapy) local_unnamed_addr #13 { +define void @stbte__tile(ptr noundef %tm, i32 noundef %sx, i32 noundef %sy, i32 noundef %mapx, i32 noundef %mapy) local_unnamed_addr #14 { entry: %0 = load i32, ptr @stbte__ui, align 8 %spacing_x = getelementptr inbounds i8, ptr %tm, i64 800012 @@ -9099,7 +9099,7 @@ sw.epilog224: ; preds = %if.then77, %if.end8 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable -define void @stbte__start_paste(ptr nocapture noundef readnone %tm) local_unnamed_addr #16 { +define void @stbte__start_paste(ptr nocapture noundef readnone %tm) local_unnamed_addr #17 { entry: %0 = load i32, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 1316336), align 8 %tobool.not = icmp eq i32 %0, 0 @@ -9119,7 +9119,7 @@ if.end: ; preds = %if.then, %entry } ; Function Attrs: nounwind uwtable -define void @stbte__toolbar(ptr noundef %tm, i32 noundef %x0, i32 noundef %y0, i32 noundef %w, i32 %h) local_unnamed_addr #13 { +define void @stbte__toolbar(ptr noundef %tm, i32 noundef %x0, i32 noundef %y0, i32 noundef %w, i32 %h) local_unnamed_addr #14 { entry: %div = sdiv i32 %w, 2 %add = add i32 %x0, -126 @@ -9454,7 +9454,7 @@ if.end79: ; preds = %if.then.i91, %if.en } ; Function Attrs: nounwind uwtable -define i32 @stbte__info_value(ptr nocapture noundef readonly %label, i32 noundef %x, i32 noundef %y, i32 noundef %val, i32 noundef %digits, i32 noundef %id) local_unnamed_addr #13 { +define i32 @stbte__info_value(ptr nocapture noundef readonly %label, i32 noundef %x, i32 noundef %y, i32 noundef %val, i32 noundef %digits, i32 noundef %id) local_unnamed_addr #14 { entry: %text = alloca [16 x i8], align 16 %0 = load i32, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 20), align 4 @@ -9607,7 +9607,7 @@ if.end31: ; preds = %if.then3, %if.else, } ; Function Attrs: nounwind uwtable -define void @stbte__info(ptr nocapture noundef %tm, i32 noundef %x0, i32 noundef %y0, i32 %w, i32 %h) local_unnamed_addr #13 { +define void @stbte__info(ptr nocapture noundef %tm, i32 noundef %x0, i32 noundef %y0, i32 %w, i32 %h) local_unnamed_addr #14 { entry: %0 = load i32, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 5432), align 8 %digits = getelementptr inbounds i8, ptr %tm, i64 800872 @@ -9759,7 +9759,7 @@ if.end37: ; preds = %if.then34, %stbte__ } ; Function Attrs: nounwind uwtable -define void @stbte__layers(ptr nocapture noundef %tm, i32 noundef %x0, i32 noundef %y0, i32 noundef %w, i32 noundef %h) local_unnamed_addr #13 { +define void @stbte__layers(ptr nocapture noundef %tm, i32 noundef %x0, i32 noundef %y0, i32 noundef %w, i32 noundef %h) local_unnamed_addr #14 { entry: %text = alloca [3 x i8], align 1 %has_layer_names = getelementptr inbounds i8, ptr %tm, i64 801024 @@ -10166,7 +10166,7 @@ if.end140: ; preds = %if.then135, %stbte_ } ; Function Attrs: nounwind uwtable -define void @stbte__categories(ptr nocapture noundef %tm, i32 noundef %x0, i32 noundef %y0, i32 noundef %w, i32 noundef %h) local_unnamed_addr #13 { +define void @stbte__categories(ptr nocapture noundef %tm, i32 noundef %x0, i32 noundef %y0, i32 noundef %w, i32 noundef %h) local_unnamed_addr #14 { entry: %div = sdiv i32 %h, 11 %sub = add nsw i32 %w, -4 @@ -10305,7 +10305,7 @@ return: ; preds = %if.then18, %for.end } ; Function Attrs: nounwind uwtable -define void @stbte__tile_in_palette(ptr nocapture noundef %tm, i32 noundef %x, i32 noundef %y, i32 noundef %slot) local_unnamed_addr #13 { +define void @stbte__tile_in_palette(ptr nocapture noundef %tm, i32 noundef %x, i32 noundef %y, i32 noundef %slot) local_unnamed_addr #14 { entry: %palette_spacing_x = getelementptr inbounds i8, ptr %tm, i64 800020 %0 = load i32, ptr %palette_spacing_x, align 4 @@ -10446,7 +10446,7 @@ sw.epilog: ; preds = %sw.default, %sw.bb. } ; Function Attrs: nounwind uwtable -define void @stbte__palette_of_tiles(ptr nocapture noundef %tm, i32 noundef %x0, i32 noundef %y0, i32 noundef %w, i32 noundef %h) local_unnamed_addr #13 { +define void @stbte__palette_of_tiles(ptr nocapture noundef %tm, i32 noundef %x0, i32 noundef %y0, i32 noundef %w, i32 noundef %h) local_unnamed_addr #14 { entry: %sub = add nsw i32 %h, -6 %palette_spacing_y = getelementptr inbounds i8, ptr %tm, i64 800024 @@ -10560,7 +10560,7 @@ entry: } ; Function Attrs: nounwind uwtable -define void @stbte__editor_traverse(ptr noundef %tm) local_unnamed_addr #13 { +define void @stbte__editor_traverse(ptr noundef %tm) local_unnamed_addr #14 { entry: %width346 = alloca i32, align 4 %cmp = icmp eq ptr %tm, null @@ -11583,7 +11583,7 @@ if.end473: ; preds = %if.then462, %if.the } ; Function Attrs: nounwind uwtable -define void @stbte__do_event(ptr noundef %tm) local_unnamed_addr #13 { +define void @stbte__do_event(ptr noundef %tm) local_unnamed_addr #14 { entry: store i32 0, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 16), align 8 tail call void @stbte__editor_traverse(ptr noundef %tm) @@ -11708,7 +11708,7 @@ if.end34: ; preds = %if.then23, %if.then } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable -define void @stbte__set_event(i32 noundef %event, i32 noundef %x, i32 noundef %y) local_unnamed_addr #16 { +define void @stbte__set_event(i32 noundef %event, i32 noundef %x, i32 noundef %y) local_unnamed_addr #17 { entry: store i32 %event, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 20), align 4 store i32 %x, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 24), align 8 @@ -11731,7 +11731,7 @@ entry: } ; Function Attrs: nounwind uwtable -define void @stbte_draw(ptr noundef %tm) local_unnamed_addr #13 { +define void @stbte_draw(ptr noundef %tm) local_unnamed_addr #14 { entry: store i32 0, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 20), align 4 tail call void @stbte__editor_traverse(ptr noundef %tm) @@ -11739,7 +11739,7 @@ entry: } ; Function Attrs: nounwind uwtable -define void @stbte_mouse_move(ptr noundef %tm, i32 noundef %x, i32 noundef %y, i32 noundef %shifted, i32 noundef %scrollkey) local_unnamed_addr #13 { +define void @stbte_mouse_move(ptr noundef %tm, i32 noundef %x, i32 noundef %y, i32 noundef %shifted, i32 noundef %scrollkey) local_unnamed_addr #14 { entry: store i32 2, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 20), align 4 store i32 %x, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 24), align 8 @@ -11765,7 +11765,7 @@ entry: } ; Function Attrs: nounwind uwtable -define void @stbte_mouse_button(ptr noundef %tm, i32 noundef %x, i32 noundef %y, i32 noundef %right, i32 noundef %down, i32 noundef %shifted, i32 noundef %scrollkey) local_unnamed_addr #13 { +define void @stbte_mouse_button(ptr noundef %tm, i32 noundef %x, i32 noundef %y, i32 noundef %right, i32 noundef %down, i32 noundef %shifted, i32 noundef %scrollkey) local_unnamed_addr #14 { entry: %idxprom = sext i32 %right to i64 %idxprom1 = sext i32 %down to i64 @@ -11801,7 +11801,7 @@ entry: } ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define void @stbte_action(ptr noundef %tm, i32 noundef %act) local_unnamed_addr #11 { +define void @stbte_action(ptr noundef %tm, i32 noundef %act) local_unnamed_addr #12 { entry: switch i32 %act, label %sw.epilog [ i32 0, label %sw.bb @@ -11931,7 +11931,7 @@ sw.epilog: ; preds = %if.then.i, %sw.bb12 } ; Function Attrs: nounwind uwtable -define void @stbte_tick(ptr noundef %tm, float noundef %dt) local_unnamed_addr #13 { +define void @stbte_tick(ptr noundef %tm, float noundef %dt) local_unnamed_addr #14 { entry: store i32 1, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 20), align 4 store float %dt, ptr getelementptr inbounds (i8, ptr @stbte__ui, i64 5360), align 8 @@ -11974,18 +11974,18 @@ attributes #7 = { nofree norecurse nosync nounwind memory(read, argmem: readwrit attributes #8 = { 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 #9 = { 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 #10 = { 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 #11 = { 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 #12 = { 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 #13 = { 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 #14 = { "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 #15 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, 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 #16 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, 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 #17 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #18 = { 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 #19 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #20 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #21 = { nofree norecurse nosync nounwind memory(readwrite, argmem: 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 #22 = { 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 #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 = { 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 #13 = { 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 #14 = { 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 #15 = { "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 #16 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, 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 #17 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, 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 #18 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #19 = { 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 #20 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #21 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #22 = { nofree norecurse nosync nounwind memory(readwrite, argmem: 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 #23 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #24 = { nounwind allocsize(0) } attributes #25 = { nounwind } diff --git a/bench/tree-sitter-rs/optimized/50gi8jfmf82cuy8e.ll b/bench/tree-sitter-rs/optimized/50gi8jfmf82cuy8e.ll index ca7342c9fb1..49438c574bc 100644 --- a/bench/tree-sitter-rs/optimized/50gi8jfmf82cuy8e.ll +++ b/bench/tree-sitter-rs/optimized/50gi8jfmf82cuy8e.ll @@ -4767,8 +4767,8 @@ define hidden noundef zeroext i1 @"_ZN53_$LT$T$u20$as$u20$core..slice..cmp..Slic ret i1 %.not.i.not } -; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable -define hidden noundef zeroext i1 @"_ZN53_$LT$T$u20$as$u20$core..slice..cmp..SliceContains$GT$14slice_contains17h5486ba470b1c5536E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(8) %0, ptr noalias noundef nonnull readonly align 8 %1, i64 noundef %2) unnamed_addr #38 personality ptr @rust_eh_personality { +; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: read, inaccessiblemem: readwrite) uwtable +define hidden noundef zeroext i1 @"_ZN53_$LT$T$u20$as$u20$core..slice..cmp..SliceContains$GT$14slice_contains17h5486ba470b1c5536E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(8) %0, ptr noalias noundef nonnull readonly align 8 %1, i64 noundef %2) unnamed_addr #10 personality ptr @rust_eh_personality { %4 = getelementptr inbounds i64, ptr %1, i64 %2 tail call void @llvm.experimental.noalias.scope.decl(metadata !1824) %5 = load i64, ptr %0, align 8, !alias.scope !1824, !noalias !1827 @@ -4828,8 +4828,8 @@ define hidden noundef zeroext i1 @"_ZN53_$LT$T$u20$as$u20$core..slice..cmp..Slic ret i1 %.lcssa.i } -; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable -define hidden noundef zeroext i1 @"_ZN53_$LT$T$u20$as$u20$core..slice..cmp..SliceContains$GT$14slice_contains17h7a86c3d4d592af28E"(ptr noalias nocapture noundef readonly align 4 dereferenceable(4) %0, ptr noalias noundef nonnull readonly align 4 %1, i64 noundef %2) unnamed_addr #38 personality ptr @rust_eh_personality { +; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: read, inaccessiblemem: readwrite) uwtable +define hidden noundef zeroext i1 @"_ZN53_$LT$T$u20$as$u20$core..slice..cmp..SliceContains$GT$14slice_contains17h7a86c3d4d592af28E"(ptr noalias nocapture noundef readonly align 4 dereferenceable(4) %0, ptr noalias noundef nonnull readonly align 4 %1, i64 noundef %2) unnamed_addr #10 personality ptr @rust_eh_personality { %4 = getelementptr inbounds i32, ptr %1, i64 %2 tail call void @llvm.experimental.noalias.scope.decl(metadata !1863) %5 = load i32, ptr %0, align 4, !range !202, !alias.scope !1863, !noalias !1866 @@ -5510,7 +5510,7 @@ define hidden { ptr, i64 } @"_ZN5alloc11collections5btree4node117NodeRef$LT$allo } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$21deallocate_and_ascend17h11db8336e7aa5c02E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ ptr, [2 x i64] }) align 8 dereferenceable(24) %0, ptr noundef nonnull %1, i64 noundef %2) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$21deallocate_and_ascend17h11db8336e7aa5c02E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ ptr, [2 x i64] }) align 8 dereferenceable(24) %0, ptr noundef nonnull %1, i64 noundef %2) unnamed_addr #38 personality ptr @rust_eh_personality { %4 = load ptr, ptr %1, align 8, !noalias !1966, !noundef !4 %5 = icmp eq ptr %4, null br i1 %5, label %"_ZN5alloc11collections5btree4node40NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$6ascend17hfb2671030cdfdabcE.llvm.17454970623020605724.exit.thread", label %7 @@ -5541,7 +5541,7 @@ define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..colle } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$21deallocate_and_ascend17h31f50fc9eb45240dE.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ ptr, [2 x i64] }) align 8 dereferenceable(24) %0, ptr noundef nonnull %1, i64 noundef %2) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$21deallocate_and_ascend17h31f50fc9eb45240dE.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ ptr, [2 x i64] }) align 8 dereferenceable(24) %0, ptr noundef nonnull %1, i64 noundef %2) unnamed_addr #38 personality ptr @rust_eh_personality { %4 = load ptr, ptr %1, align 8, !noalias !1969, !noundef !4 %5 = icmp eq ptr %4, null br i1 %5, label %"_ZN5alloc11collections5btree4node40NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$6ascend17hfe2ada568a004cc2E.llvm.17454970623020605724.exit.thread", label %7 @@ -5572,7 +5572,7 @@ define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..colle } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$21deallocate_and_ascend17h76f221d275ed046cE.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ ptr, [2 x i64] }) align 8 dereferenceable(24) %0, ptr noundef nonnull %1, i64 noundef %2) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$21deallocate_and_ascend17h76f221d275ed046cE.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ ptr, [2 x i64] }) align 8 dereferenceable(24) %0, ptr noundef nonnull %1, i64 noundef %2) unnamed_addr #38 personality ptr @rust_eh_personality { %4 = getelementptr inbounds i8, ptr %1, i64 352 %5 = load ptr, ptr %4, align 8, !noalias !1972, !noundef !4 %6 = icmp eq ptr %5, null @@ -5604,7 +5604,7 @@ define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..colle } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$21deallocate_and_ascend17ha1534c26c26373a3E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ ptr, [2 x i64] }) align 8 dereferenceable(24) %0, ptr noundef nonnull %1, i64 noundef %2) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$21deallocate_and_ascend17ha1534c26c26373a3E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ ptr, [2 x i64] }) align 8 dereferenceable(24) %0, ptr noundef nonnull %1, i64 noundef %2) unnamed_addr #38 personality ptr @rust_eh_personality { %4 = load ptr, ptr %1, align 8, !noalias !1975, !noundef !4 %5 = icmp eq ptr %4, null br i1 %5, label %"_ZN5alloc11collections5btree4node40NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$6ascend17hb83d746b05ff4974E.llvm.17454970623020605724.exit.thread", label %7 @@ -5635,7 +5635,7 @@ define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..colle } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$21deallocate_and_ascend17hfa346f3e6eaa09f8E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ ptr, [2 x i64] }) align 8 dereferenceable(24) %0, ptr noundef nonnull %1, i64 noundef %2) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$21deallocate_and_ascend17hfa346f3e6eaa09f8E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ ptr, [2 x i64] }) align 8 dereferenceable(24) %0, ptr noundef nonnull %1, i64 noundef %2) unnamed_addr #38 personality ptr @rust_eh_personality { %4 = getelementptr inbounds i8, ptr %1, i64 176 %5 = load ptr, ptr %4, align 8, !noalias !1978, !noundef !4 %6 = icmp eq ptr %5, null @@ -5667,7 +5667,7 @@ define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..colle } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$21deallocate_and_ascend17hff1dd531c7cf59a0E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ ptr, [2 x i64] }) align 8 dereferenceable(24) %0, ptr noundef nonnull %1, i64 noundef %2) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree4node127NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$21deallocate_and_ascend17hff1dd531c7cf59a0E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ ptr, [2 x i64] }) align 8 dereferenceable(24) %0, ptr noundef nonnull %1, i64 noundef %2) unnamed_addr #38 personality ptr @rust_eh_personality { %4 = load ptr, ptr %1, align 8, !noalias !1981, !noundef !4 %5 = icmp eq ptr %4, null br i1 %5, label %"_ZN5alloc11collections5btree4node40NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$6ascend17h8c83d7c2273cd01eE.llvm.17454970623020605724.exit.thread", label %7 @@ -5858,7 +5858,7 @@ define hidden void @"_ZN5alloc11collections5btree4node145Handle$LT$alloc..collec } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17h1198ce3b328a5344E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #40 { +define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17h1198ce3b328a5344E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %3 = getelementptr inbounds i8, ptr %2, i64 184 %4 = getelementptr inbounds i8, ptr %0, i64 16 @@ -5868,7 +5868,7 @@ define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11colle } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17h238938a57cc90102E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #40 { +define hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17h238938a57cc90102E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load i64, ptr %3, align 8, !noundef !4 @@ -5877,7 +5877,7 @@ define hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZN5alloc11colle } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17h293caf5900b01f4bE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #40 { +define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17h293caf5900b01f4bE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %3 = getelementptr inbounds i8, ptr %2, i64 272 %4 = getelementptr inbounds i8, ptr %0, i64 16 @@ -5887,7 +5887,7 @@ define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11colle } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17h2e603c2ee9ca4dbdE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #40 { +define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17h2e603c2ee9ca4dbdE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %3 = getelementptr inbounds i8, ptr %2, i64 184 %4 = getelementptr inbounds i8, ptr %0, i64 16 @@ -5897,7 +5897,7 @@ define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11colle } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17h3152d60a7496f860E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #40 { +define hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17h3152d60a7496f860E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load i64, ptr %3, align 8, !noundef !4 @@ -5906,7 +5906,7 @@ define hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZN5alloc11colle } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17h4ccaa67f31ab8606E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #40 { +define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17h4ccaa67f31ab8606E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %3 = getelementptr inbounds i8, ptr %2, i64 272 %4 = getelementptr inbounds i8, ptr %0, i64 16 @@ -5916,14 +5916,14 @@ define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11colle } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 1 ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17h5efc74f1aa829854E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #40 { +define hidden noundef nonnull align 1 ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17h5efc74f1aa829854E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %3 = getelementptr inbounds i8, ptr %2, i64 100 ret ptr %3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(120) ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17hd4806d92a1ca1e09E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #40 { +define hidden noundef nonnull align 8 dereferenceable(120) ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17hd4806d92a1ca1e09E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %3 = getelementptr inbounds i8, ptr %2, i64 272 %4 = getelementptr inbounds i8, ptr %0, i64 16 @@ -5933,7 +5933,7 @@ define hidden noundef nonnull align 8 dereferenceable(120) ptr @"_ZN5alloc11coll } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(120) ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17head10b64e6bc6120E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #40 { +define hidden noundef nonnull align 8 dereferenceable(120) ptr @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_val_mut17head10b64e6bc6120E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %3 = getelementptr inbounds i8, ptr %2, i64 272 %4 = getelementptr inbounds i8, ptr %0, i64 16 @@ -5943,7 +5943,7 @@ define hidden noundef nonnull align 8 dereferenceable(120) ptr @"_ZN5alloc11coll } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$6kv_mut17hf55c3fa9d9a58a7aE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #40 { +define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node171Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$6kv_mut17hf55c3fa9d9a58a7aE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = getelementptr inbounds i8, ptr %0, i64 16 @@ -5956,7 +5956,7 @@ define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node171Handle$LT$alloc } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @"_ZN5alloc11collections5btree4node173Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_key_val17h747ae4218335397aE"(ptr noalias nocapture noundef writeonly sret({ { i64, i8 }, { { { i64, ptr }, i64 } } }) align 8 dereferenceable(40) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #41 { +define hidden void @"_ZN5alloc11collections5btree4node173Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_key_val17h747ae4218335397aE"(ptr noalias nocapture noundef writeonly sret({ { i64, i8 }, { { { i64, ptr }, i64 } } }) align 8 dereferenceable(40) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #40 { %3 = load ptr, ptr %1, align 8, !nonnull !4, !noundef !4 %4 = getelementptr inbounds i8, ptr %1, i64 16 %5 = load i64, ptr %4, align 8, !noundef !4 @@ -5975,7 +5975,7 @@ define hidden void @"_ZN5alloc11collections5btree4node173Handle$LT$alloc..collec } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(readwrite, inaccessiblemem: none) uwtable -define hidden void @"_ZN5alloc11collections5btree4node173Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_key_val17hb6d633727ab89cb4E"(ptr noalias nocapture noundef writeonly sret({ { { { i64, ptr }, i64 } }, { { i64, [3 x i64] }, { { { i64, ptr }, i64 } }, { i64, [3 x i64] }, { i64, [2 x i64] }, i8, [7 x i8] } }) align 8 dereferenceable(144) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #41 { +define hidden void @"_ZN5alloc11collections5btree4node173Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$12into_key_val17hb6d633727ab89cb4E"(ptr noalias nocapture noundef writeonly sret({ { { { i64, ptr }, i64 } }, { { i64, [3 x i64] }, { { { i64, ptr }, i64 } }, { i64, [3 x i64] }, { i64, [2 x i64] }, i8, [7 x i8] } }) align 8 dereferenceable(144) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #40 { %3 = load ptr, ptr %1, align 8, !nonnull !4, !noundef !4 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = getelementptr inbounds i8, ptr %1, i64 16 @@ -5990,7 +5990,7 @@ define hidden void @"_ZN5alloc11collections5btree4node173Handle$LT$alloc..collec } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable -define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node173Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Immut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$7into_kv17h1346c3ac851b520eE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #42 { +define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node173Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Immut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$7into_kv17h1346c3ac851b520eE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #41 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load i64, ptr %3, align 8, !noundef !4 @@ -6005,7 +6005,7 @@ define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node173Handle$LT$alloc } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable -define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node173Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Immut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$7into_kv17h82008e8e3520c18fE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #42 { +define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node173Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Immut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$7into_kv17h82008e8e3520c18fE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #41 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %3 = getelementptr inbounds i8, ptr %2, i64 360 %4 = getelementptr inbounds i8, ptr %0, i64 16 @@ -6020,7 +6020,7 @@ define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node173Handle$LT$alloc } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable -define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node173Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Immut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$7into_kv17h9fb91dd0003313d8E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #42 { +define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node173Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Immut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$7into_kv17h9fb91dd0003313d8E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #41 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = getelementptr inbounds i8, ptr %0, i64 16 @@ -6036,7 +6036,7 @@ define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node173Handle$LT$alloc } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable -define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node173Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Immut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$7into_kv17ha9f2c8e0f0405dc9E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #42 { +define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node173Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Immut$C$K$C$V$C$NodeType$GT$$C$alloc..collections..btree..node..marker..KV$GT$7into_kv17ha9f2c8e0f0405dc9E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #41 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = getelementptr inbounds i8, ptr %0, i64 16 @@ -10444,7 +10444,7 @@ define hidden void @"_ZN5alloc11collections5btree4node40NodeRef$LT$BorrowType$C$ } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12key_area_mut17h1db5f4de93b15ff8E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #40 personality ptr @rust_eh_personality { +define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12key_area_mut17h1db5f4de93b15ff8E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #39 personality ptr @rust_eh_personality { %3 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = getelementptr inbounds { [3 x i64] }, ptr %4, i64 %1 @@ -10452,14 +10452,14 @@ define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11colle } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(16) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12key_area_mut17h3180b2a83a1bc067E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #40 personality ptr @rust_eh_personality { +define hidden noundef nonnull align 8 dereferenceable(16) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12key_area_mut17h3180b2a83a1bc067E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #39 personality ptr @rust_eh_personality { %3 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %4 = getelementptr inbounds { i64, i8 }, ptr %3, i64 %1 ret ptr %4 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12key_area_mut17h3654165393feb0ebE.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #40 personality ptr @rust_eh_personality { +define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12key_area_mut17h3654165393feb0ebE.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #39 personality ptr @rust_eh_personality { %3 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %4 = getelementptr inbounds i8, ptr %3, i64 360 %5 = getelementptr inbounds { [3 x i64] }, ptr %4, i64 %1 @@ -10467,7 +10467,7 @@ define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11colle } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12key_area_mut17he65532d61a6b2fe9E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #40 personality ptr @rust_eh_personality { +define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12key_area_mut17he65532d61a6b2fe9E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #39 personality ptr @rust_eh_personality { %3 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = getelementptr inbounds { [3 x i64] }, ptr %4, i64 %1 @@ -10475,7 +10475,7 @@ define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11colle } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(8) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12key_area_mut17hfe966e76cef537b7E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #40 personality ptr @rust_eh_personality { +define hidden noundef nonnull align 8 dereferenceable(8) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12key_area_mut17hfe966e76cef537b7E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #39 personality ptr @rust_eh_personality { %3 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = getelementptr inbounds i64, ptr %4, i64 %1 @@ -10483,7 +10483,7 @@ define hidden noundef nonnull align 8 dereferenceable(8) ptr @"_ZN5alloc11collec } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12val_area_mut17h1ae1c49d260945bcE.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #40 personality ptr @rust_eh_personality { +define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12val_area_mut17h1ae1c49d260945bcE.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #39 personality ptr @rust_eh_personality { %3 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %4 = getelementptr inbounds i8, ptr %3, i64 184 %5 = getelementptr inbounds { [3 x i64] }, ptr %4, i64 %1 @@ -10491,7 +10491,7 @@ define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11colle } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(120) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12val_area_mut17h3bbbeba9d09f61bbE.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #40 personality ptr @rust_eh_personality { +define hidden noundef nonnull align 8 dereferenceable(120) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12val_area_mut17h3bbbeba9d09f61bbE.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #39 personality ptr @rust_eh_personality { %3 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %4 = getelementptr inbounds i8, ptr %3, i64 272 %5 = getelementptr inbounds { [15 x i64] }, ptr %4, i64 %1 @@ -10499,7 +10499,7 @@ define hidden noundef nonnull align 8 dereferenceable(120) ptr @"_ZN5alloc11coll } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12val_area_mut17hb61311fc4298fb59E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #40 personality ptr @rust_eh_personality { +define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12val_area_mut17hb61311fc4298fb59E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #39 personality ptr @rust_eh_personality { %3 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %4 = getelementptr inbounds i8, ptr %3, i64 272 %5 = getelementptr inbounds { [3 x i64] }, ptr %4, i64 %1 @@ -10507,21 +10507,21 @@ define hidden noundef nonnull align 8 dereferenceable(24) ptr @"_ZN5alloc11colle } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 1 ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12val_area_mut17hbe0464ff990371e1E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #40 personality ptr @rust_eh_personality { +define hidden noundef nonnull align 1 ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12val_area_mut17hbe0464ff990371e1E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #39 personality ptr @rust_eh_personality { %3 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %4 = getelementptr inbounds i8, ptr %3, i64 100 ret ptr %4 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12val_area_mut17hdc7e7b58064da844E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #40 personality ptr @rust_eh_personality { +define hidden noundef nonnull align 8 dereferenceable(32) ptr @"_ZN5alloc11collections5btree4node74NodeRef$LT$alloc..collections..btree..node..marker..Mut$C$K$C$V$C$Type$GT$12val_area_mut17hdc7e7b58064da844E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0, i64 noundef %1) unnamed_addr #39 personality ptr @rust_eh_personality { %3 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %4 = getelementptr inbounds { [4 x i64] }, ptr %3, i64 %1 ret ptr %4 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(inaccessiblemem: write) uwtable -define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node77NodeRef$LT$alloc..collections..btree..node..marker..ValMut$C$K$C$V$C$Type$GT$19into_key_val_mut_at17h739243b892175dcdE.llvm.17454970623020605724"(ptr noundef nonnull %0, i64 noundef %1, i64 noundef %2) unnamed_addr #43 { +define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node77NodeRef$LT$alloc..collections..btree..node..marker..ValMut$C$K$C$V$C$Type$GT$19into_key_val_mut_at17h739243b892175dcdE.llvm.17454970623020605724"(ptr noundef nonnull %0, i64 noundef %1, i64 noundef %2) unnamed_addr #42 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = getelementptr inbounds i8, ptr %0, i64 272 %6 = icmp ult i64 %2, 11 @@ -10534,7 +10534,7 @@ define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node77NodeRef$LT$alloc } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(inaccessiblemem: write) uwtable -define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node77NodeRef$LT$alloc..collections..btree..node..marker..ValMut$C$K$C$V$C$Type$GT$19into_key_val_mut_at17h7690e1d046cced52E.llvm.17454970623020605724"(ptr noundef nonnull %0, i64 noundef %1, i64 noundef %2) unnamed_addr #43 { +define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node77NodeRef$LT$alloc..collections..btree..node..marker..ValMut$C$K$C$V$C$Type$GT$19into_key_val_mut_at17h7690e1d046cced52E.llvm.17454970623020605724"(ptr noundef nonnull %0, i64 noundef %1, i64 noundef %2) unnamed_addr #42 { %4 = getelementptr inbounds i8, ptr %0, i64 360 %5 = icmp ult i64 %2, 11 tail call void @llvm.assume(i1 %5) @@ -10546,7 +10546,7 @@ define hidden { ptr, ptr } @"_ZN5alloc11collections5btree4node77NodeRef$LT$alloc } ; Function Attrs: nofree nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree6search142_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$11search_tree17h2b0d14de60d03b70E"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %3) unnamed_addr #44 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree6search142_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$11search_tree17h2b0d14de60d03b70E"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %3) unnamed_addr #43 personality ptr @rust_eh_personality { %5 = getelementptr inbounds i8, ptr %3, i64 8 %.val.i.i = load ptr, ptr %5, align 8, !alias.scope !2729, !noalias !2734, !nonnull !4 %6 = getelementptr inbounds i8, ptr %3, i64 16 @@ -10626,7 +10626,7 @@ default.unreachable: ; preds = %"_ZN110_$LT$core..i } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree6search142_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$11search_tree17h4c488c154fabb2aaE"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %3) unnamed_addr #45 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree6search142_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$11search_tree17h4c488c154fabb2aaE"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %3) unnamed_addr #44 personality ptr @rust_eh_personality { %.val.i.i = load i64, ptr %3, align 8, !alias.scope !2744, !noalias !2749 %5 = getelementptr inbounds i8, ptr %3, i64 8 %.val20.i.i = load i8, ptr %5, align 8, !range !9, !alias.scope !2744, !noalias !2749 @@ -10705,7 +10705,7 @@ define hidden void @"_ZN5alloc11collections5btree6search142_$LT$impl$u20$alloc.. } ; Function Attrs: nofree nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree6search142_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$11search_tree17h5f3e6cf5ae56b682E"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %3) unnamed_addr #44 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree6search142_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$11search_tree17h5f3e6cf5ae56b682E"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %3) unnamed_addr #43 personality ptr @rust_eh_personality { %5 = getelementptr inbounds i8, ptr %3, i64 8 %.val.i.i = load ptr, ptr %5, align 8, !alias.scope !2755, !noalias !2760, !nonnull !4 %6 = getelementptr inbounds i8, ptr %3, i64 16 @@ -10785,7 +10785,7 @@ default.unreachable: ; preds = %"_ZN110_$LT$core..i } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree6search142_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$11search_tree17h6fb427572366243bE"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(8) %3) unnamed_addr #45 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree6search142_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$11search_tree17h6fb427572366243bE"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(8) %3) unnamed_addr #44 personality ptr @rust_eh_personality { %5 = load i64, ptr %3, align 8, !alias.scope !2770, !noalias !2775 br label %6 @@ -10853,7 +10853,7 @@ default.unreachable: ; preds = %"_ZN110_$LT$core..i } ; Function Attrs: nofree nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree6search142_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$11search_tree17he49c4d70d353f9b9E"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %3) unnamed_addr #44 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree6search142_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$11search_tree17he49c4d70d353f9b9E"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %3) unnamed_addr #43 personality ptr @rust_eh_personality { %5 = getelementptr inbounds i8, ptr %3, i64 8 %.val.i.i = load ptr, ptr %5, align 8, !alias.scope !2786, !noalias !2791, !nonnull !4 %6 = getelementptr inbounds i8, ptr %3, i64 16 @@ -10933,7 +10933,7 @@ default.unreachable: ; preds = %"_ZN110_$LT$core..i } ; Function Attrs: nofree nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: write) uwtable -define hidden void @"_ZN5alloc11collections5btree6search142_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$11search_tree17hffc0d1d2ffe528b1E"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef nonnull readonly align 1 %3, i64 noundef %4) unnamed_addr #46 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree6search142_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$GT$11search_tree17hffc0d1d2ffe528b1E"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef nonnull readonly align 1 %3, i64 noundef %4) unnamed_addr #45 personality ptr @rust_eh_personality { br label %6 6: ; preds = %23, %5 @@ -11005,7 +11005,7 @@ default.unreachable: ; preds = %"_ZN110_$LT$core..i } ; Function Attrs: nofree nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$11search_node17h4e73d122f14d7f5dE.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef nonnull readonly align 1 %3, i64 noundef %4) unnamed_addr #47 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$11search_node17h4e73d122f14d7f5dE.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef nonnull readonly align 1 %3, i64 noundef %4) unnamed_addr #46 personality ptr @rust_eh_personality { %6 = getelementptr inbounds i8, ptr %1, i64 274 %7 = load i16, ptr %6, align 2, !noalias !2816, !noundef !4 %8 = zext i16 %7 to i64 @@ -11060,7 +11060,7 @@ default.unreachable: ; preds = %"_ZN110_$LT$core..i } ; Function Attrs: nofree nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$11search_node17h70bc3fb404d1078aE.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %3) unnamed_addr #44 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$11search_node17h70bc3fb404d1078aE.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %3) unnamed_addr #43 personality ptr @rust_eh_personality { tail call void @llvm.experimental.noalias.scope.decl(metadata !2828) %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = getelementptr inbounds i8, ptr %1, i64 1594 @@ -11122,7 +11122,7 @@ default.unreachable: ; preds = %"_ZN110_$LT$core..i } ; Function Attrs: nofree nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$11search_node17he98b61891e4b364eE.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %3) unnamed_addr #44 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$11search_node17he98b61891e4b364eE.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %3) unnamed_addr #43 personality ptr @rust_eh_personality { tail call void @llvm.experimental.noalias.scope.decl(metadata !2838) %5 = getelementptr inbounds i8, ptr %1, i64 360 %6 = getelementptr inbounds i8, ptr %1, i64 626 @@ -11183,8 +11183,8 @@ default.unreachable: ; preds = %"_ZN110_$LT$core..i ret void } -; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$11search_node17hee2283995327c324E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %3) unnamed_addr #45 personality ptr @rust_eh_personality { +; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable +define hidden void @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$11search_node17hee2283995327c324E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %3) unnamed_addr #47 personality ptr @rust_eh_personality { tail call void @llvm.experimental.noalias.scope.decl(metadata !2848) %5 = getelementptr inbounds i8, ptr %1, i64 450 %6 = load i16, ptr %5, align 2, !noalias !2851, !noundef !4 @@ -11241,8 +11241,8 @@ define hidden void @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..c ret void } -; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$11search_node17hf5e784a423147b27E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(8) %3) unnamed_addr #45 personality ptr @rust_eh_personality { +; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable +define hidden void @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$11search_node17hf5e784a423147b27E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(8) %3) unnamed_addr #47 personality ptr @rust_eh_personality { tail call void @llvm.experimental.noalias.scope.decl(metadata !2854) %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = getelementptr inbounds i8, ptr %1, i64 98 @@ -11292,7 +11292,7 @@ default.unreachable: ; preds = %"_ZN110_$LT$core..i } ; Function Attrs: nofree nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$11search_node17hf7efe91d8fdd2c95E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %3) unnamed_addr #44 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree6search91_$LT$impl$u20$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$Type$GT$$GT$11search_node17hf7efe91d8fdd2c95E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ i64, [3 x i64] }) align 8 dereferenceable(32) %0, ptr noundef nonnull %1, i64 noundef %2, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %3) unnamed_addr #43 personality ptr @rust_eh_personality { tail call void @llvm.experimental.noalias.scope.decl(metadata !2865) %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = getelementptr inbounds i8, ptr %1, i64 538 @@ -12313,7 +12313,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate227_$LT$impl$u20$alloc } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$14next_leaf_edge17h2338af690706cd43E"(ptr noalias nocapture noundef writeonly sret({ { ptr, i64 }, i64, {} }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #45 { +define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$14next_leaf_edge17h2338af690706cd43E"(ptr noalias nocapture noundef writeonly sret({ { ptr, i64 }, i64, {} }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #44 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i64, ptr %3, align 8, !alias.scope !2917, !noalias !2920, !noundef !4 %5 = load ptr, ptr %1, align 8, !alias.scope !2917, !noalias !2920, !nonnull !4, !noundef !4 @@ -12361,7 +12361,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$14next_leaf_edge17h41754f30a9073decE"(ptr noalias nocapture noundef writeonly sret({ { ptr, i64 }, i64, {} }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #45 { +define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$14next_leaf_edge17h41754f30a9073decE"(ptr noalias nocapture noundef writeonly sret({ { ptr, i64 }, i64, {} }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #44 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i64, ptr %3, align 8, !alias.scope !2925, !noalias !2928, !noundef !4 %5 = load ptr, ptr %1, align 8, !alias.scope !2925, !noalias !2928, !nonnull !4, !noundef !4 @@ -12409,7 +12409,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$14next_leaf_edge17h47aaccccb5bae479E"(ptr noalias nocapture noundef writeonly sret({ { ptr, i64 }, i64, {} }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #45 { +define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$14next_leaf_edge17h47aaccccb5bae479E"(ptr noalias nocapture noundef writeonly sret({ { ptr, i64 }, i64, {} }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #44 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i64, ptr %3, align 8, !alias.scope !2933, !noalias !2936, !noundef !4 %5 = load ptr, ptr %1, align 8, !alias.scope !2933, !noalias !2936, !nonnull !4, !noundef !4 @@ -12457,7 +12457,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$14next_leaf_edge17h9c32c2928c7bc425E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ { ptr, i64 }, i64, {} }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #45 { +define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$14next_leaf_edge17h9c32c2928c7bc425E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ { ptr, i64 }, i64, {} }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #44 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i64, ptr %3, align 8, !alias.scope !2941, !noalias !2944, !noundef !4 %5 = load ptr, ptr %1, align 8, !alias.scope !2941, !noalias !2944, !nonnull !4, !noundef !4 @@ -12505,7 +12505,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$14next_leaf_edge17hc4fc29d17319a814E"(ptr noalias nocapture noundef writeonly sret({ { ptr, i64 }, i64, {} }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #45 { +define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$14next_leaf_edge17hc4fc29d17319a814E"(ptr noalias nocapture noundef writeonly sret({ { ptr, i64 }, i64, {} }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #44 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i64, ptr %3, align 8, !alias.scope !2949, !noalias !2952, !noundef !4 %5 = load ptr, ptr %1, align 8, !alias.scope !2949, !noalias !2952, !nonnull !4, !noundef !4 @@ -12553,7 +12553,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$14next_leaf_edge17hddfe6d02214da854E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ { ptr, i64 }, i64, {} }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #45 { +define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$BorrowType$C$K$C$V$C$alloc..collections..btree..node..marker..LeafOrInternal$GT$$C$alloc..collections..btree..node..marker..KV$GT$$GT$14next_leaf_edge17hddfe6d02214da854E.llvm.17454970623020605724"(ptr noalias nocapture noundef writeonly sret({ { ptr, i64 }, i64, {} }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #44 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i64, ptr %3, align 8, !alias.scope !2957, !noalias !2960, !noundef !4 %5 = load ptr, ptr %1, align 8, !alias.scope !2957, !noalias !2960, !nonnull !4, !noundef !4 @@ -12601,7 +12601,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate235_$LT$impl$u20$alloc } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$16deallocating_end17h60e7b0a9c7e6b738E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$16deallocating_end17h60e7b0a9c7e6b738E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #38 personality ptr @rust_eh_personality { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %2, align 8, !noundef !4 %4 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 @@ -12631,7 +12631,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$16deallocating_end17h93b4c728653d7022E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$16deallocating_end17h93b4c728653d7022E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #38 personality ptr @rust_eh_personality { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %2, align 8, !noundef !4 %4 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 @@ -12661,7 +12661,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$16deallocating_end17ha6c51f2ef8bf1a82E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$16deallocating_end17ha6c51f2ef8bf1a82E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #38 personality ptr @rust_eh_personality { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %2, align 8, !noundef !4 %4 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 @@ -12691,7 +12691,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$16deallocating_end17hd0b3713d3da8c40cE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$16deallocating_end17hd0b3713d3da8c40cE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #38 personality ptr @rust_eh_personality { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %2, align 8, !noundef !4 %4 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 @@ -12723,7 +12723,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$16deallocating_end17hdb525d3e39496248E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$16deallocating_end17hdb525d3e39496248E"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #38 personality ptr @rust_eh_personality { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %2, align 8, !noundef !4 %4 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 @@ -12753,7 +12753,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$16deallocating_end17hdfa539ab6cbf778bE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$16deallocating_end17hdfa539ab6cbf778bE"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #38 personality ptr @rust_eh_personality { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %2, align 8, !noundef !4 %4 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 @@ -12785,7 +12785,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$17deallocating_next17h321b1d1437490f3aE"(ptr noalias nocapture noundef writeonly sret({ ptr, [5 x i64] }) align 8 dereferenceable(48) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$17deallocating_next17h321b1d1437490f3aE"(ptr noalias nocapture noundef writeonly sret({ ptr, [5 x i64] }) align 8 dereferenceable(48) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #38 personality ptr @rust_eh_personality { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i64, ptr %3, align 8, !noundef !4 %5 = load ptr, ptr %1, align 8, !nonnull !4, !noundef !4 @@ -12876,7 +12876,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$17deallocating_next17h91b4f128552f4bf8E"(ptr noalias nocapture noundef writeonly sret({ ptr, [5 x i64] }) align 8 dereferenceable(48) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$17deallocating_next17h91b4f128552f4bf8E"(ptr noalias nocapture noundef writeonly sret({ ptr, [5 x i64] }) align 8 dereferenceable(48) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #38 personality ptr @rust_eh_personality { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i64, ptr %3, align 8, !noundef !4 %5 = load ptr, ptr %1, align 8, !nonnull !4, !noundef !4 @@ -12968,7 +12968,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$17deallocating_next17h96ef1115397cd124E"(ptr noalias nocapture noundef writeonly sret({ ptr, [5 x i64] }) align 8 dereferenceable(48) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$17deallocating_next17h96ef1115397cd124E"(ptr noalias nocapture noundef writeonly sret({ ptr, [5 x i64] }) align 8 dereferenceable(48) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #38 personality ptr @rust_eh_personality { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i64, ptr %3, align 8, !noundef !4 %5 = load ptr, ptr %1, align 8, !nonnull !4, !noundef !4 @@ -13059,7 +13059,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$17deallocating_next17hbb04e74ea7008150E"(ptr noalias nocapture noundef writeonly sret({ ptr, [5 x i64] }) align 8 dereferenceable(48) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$17deallocating_next17hbb04e74ea7008150E"(ptr noalias nocapture noundef writeonly sret({ ptr, [5 x i64] }) align 8 dereferenceable(48) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #38 personality ptr @rust_eh_personality { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i64, ptr %3, align 8, !noundef !4 %5 = load ptr, ptr %1, align 8, !nonnull !4, !noundef !4 @@ -13150,7 +13150,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$17deallocating_next17hd9ad3eb23e7dc52bE"(ptr noalias nocapture noundef writeonly sret({ ptr, [5 x i64] }) align 8 dereferenceable(48) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$17deallocating_next17hd9ad3eb23e7dc52bE"(ptr noalias nocapture noundef writeonly sret({ ptr, [5 x i64] }) align 8 dereferenceable(48) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #38 personality ptr @rust_eh_personality { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i64, ptr %3, align 8, !noundef !4 %5 = load ptr, ptr %1, align 8, !nonnull !4, !noundef !4 @@ -13241,7 +13241,7 @@ define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc } ; Function Attrs: nounwind nonlazybind uwtable -define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$17deallocating_next17he7ca28bcf22ff7a6E"(ptr noalias nocapture noundef writeonly sret({ ptr, [5 x i64] }) align 8 dereferenceable(48) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #39 personality ptr @rust_eh_personality { +define hidden void @"_ZN5alloc11collections5btree8navigate263_$LT$impl$u20$alloc..collections..btree..node..Handle$LT$alloc..collections..btree..node..NodeRef$LT$alloc..collections..btree..node..marker..Dying$C$K$C$V$C$alloc..collections..btree..node..marker..Leaf$GT$$C$alloc..collections..btree..node..marker..Edge$GT$$GT$17deallocating_next17he7ca28bcf22ff7a6E"(ptr noalias nocapture noundef writeonly sret({ ptr, [5 x i64] }) align 8 dereferenceable(48) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #38 personality ptr @rust_eh_personality { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i64, ptr %3, align 8, !noundef !4 %5 = load ptr, ptr %1, align 8, !nonnull !4, !noundef !4 @@ -16237,7 +16237,7 @@ define hidden void @"_ZN71_$LT$std..hash..random..DefaultHasher$u20$as$u20$core. } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @"_ZN72_$LT$$RF$mut$u20$I$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4fold17h12906480e386d144E"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #45 personality ptr @rust_eh_personality { +define hidden void @"_ZN72_$LT$$RF$mut$u20$I$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4fold17h12906480e386d144E"(ptr noalias nocapture noundef align 8 dereferenceable(40) %0) unnamed_addr #44 personality ptr @rust_eh_personality { tail call void @llvm.experimental.noalias.scope.decl(metadata !3476) tail call void @llvm.experimental.noalias.scope.decl(metadata !3479) %2 = getelementptr inbounds i8, ptr %0, i64 8 @@ -17442,7 +17442,7 @@ define hidden void @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core. } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden { ptr, ptr } @"_ZN94_$LT$$RF$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..iter..traits..collect..IntoIterator$GT$9into_iter17h3dea14dc7e0b11f6E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #40 { +define hidden { ptr, ptr } @"_ZN94_$LT$$RF$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..iter..traits..collect..IntoIterator$GT$9into_iter17h3dea14dc7e0b11f6E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !nonnull !4, !noundef !4 %4 = getelementptr inbounds i8, ptr %0, i64 16 @@ -17454,7 +17454,7 @@ define hidden { ptr, ptr } @"_ZN94_$LT$$RF$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden { ptr, ptr } @"_ZN94_$LT$$RF$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..iter..traits..collect..IntoIterator$GT$9into_iter17h832f93f28fa83d23E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #40 { +define hidden { ptr, ptr } @"_ZN94_$LT$$RF$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..iter..traits..collect..IntoIterator$GT$9into_iter17h832f93f28fa83d23E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !nonnull !4, !noundef !4 %4 = getelementptr inbounds i8, ptr %0, i64 16 @@ -17466,7 +17466,7 @@ define hidden { ptr, ptr } @"_ZN94_$LT$$RF$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden { ptr, ptr } @"_ZN94_$LT$$RF$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..iter..traits..collect..IntoIterator$GT$9into_iter17hfe96774af0f17b39E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #40 { +define hidden { ptr, ptr } @"_ZN94_$LT$$RF$alloc..vec..Vec$LT$T$C$A$GT$$u20$as$u20$core..iter..traits..collect..IntoIterator$GT$9into_iter17hfe96774af0f17b39E.llvm.17454970623020605724"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #39 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !nonnull !4, !noundef !4 %4 = getelementptr inbounds i8, ptr %0, i64 16 @@ -19794,7 +19794,7 @@ define noundef i64 @_ZN15tree_sitter_cli8generate8grammars14LexicalGrammar28vari } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef zeroext i1 @_ZN15tree_sitter_cli8generate8grammars14SyntaxVariable12is_auxiliary17h5bf71017bf12473aE(ptr noalias nocapture noundef readonly align 8 dereferenceable(56) %0) unnamed_addr #40 { +define hidden noundef zeroext i1 @_ZN15tree_sitter_cli8generate8grammars14SyntaxVariable12is_auxiliary17h5bf71017bf12473aE(ptr noalias nocapture noundef readonly align 8 dereferenceable(56) %0) unnamed_addr #39 { %2 = getelementptr inbounds i8, ptr %0, i64 48 %3 = load i8, ptr %2, align 8, !range !838, !noundef !4 %4 = icmp eq i8 %3, 1 @@ -19802,7 +19802,7 @@ define hidden noundef zeroext i1 @_ZN15tree_sitter_cli8generate8grammars14Syntax } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef zeroext i1 @_ZN15tree_sitter_cli8generate8grammars14SyntaxVariable9is_hidden17hc85d7b32c8a0feb5E(ptr noalias nocapture noundef readonly align 8 dereferenceable(56) %0) unnamed_addr #40 { +define hidden noundef zeroext i1 @_ZN15tree_sitter_cli8generate8grammars14SyntaxVariable9is_hidden17hc85d7b32c8a0feb5E(ptr noalias nocapture noundef readonly align 8 dereferenceable(56) %0) unnamed_addr #39 { %2 = getelementptr inbounds i8, ptr %0, i64 48 %3 = load i8, ptr %2, align 8, !range !838, !noundef !4 %.0 = icmp ult i8 %3, 2 @@ -21664,16 +21664,16 @@ attributes #34 = { inlinehint mustprogress nofree norecurse nosync nounwind nonl attributes #35 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #36 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #37 = { nofree nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #38 = { nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #39 = { nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #40 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #41 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #42 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #43 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #44 = { nofree nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #45 = { nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #46 = { nofree nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #47 = { nofree nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #38 = { nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #39 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #40 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #41 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #42 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #43 = { nofree nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #44 = { nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #45 = { nofree nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #46 = { nofree nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #47 = { nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #48 = { nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #49 = { nofree nounwind nonlazybind memory(read, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #50 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } diff --git a/bench/typst-rs/optimized/3dimj4rf5dyrieyi.ll b/bench/typst-rs/optimized/3dimj4rf5dyrieyi.ll index ef599c1c2ac..db3a293833a 100644 --- a/bench/typst-rs/optimized/3dimj4rf5dyrieyi.ll +++ b/bench/typst-rs/optimized/3dimj4rf5dyrieyi.ll @@ -21168,7 +21168,7 @@ define hidden void @_ZN4core4hash4Hash10hash_slice17h59f48f5c9998d8d2E(ptr noali br i1 %25, label %._crit_edge, label %10 } -; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite) uwtable define hidden void @_ZN4core4hash4Hash10hash_slice17h623dd0eca0537168E(ptr noalias noundef nonnull readonly align 1 %0, i64 noundef %1, ptr noalias nocapture noundef align 8 dereferenceable(72) %2) unnamed_addr #20 { %4 = getelementptr inbounds { i8, [1 x i8] }, ptr %0, i64 %1 %5 = icmp eq i64 %1, 0 @@ -21185,8 +21185,8 @@ define hidden void @_ZN4core4hash4Hash10hash_slice17h623dd0eca0537168E(ptr noali br i1 %7, label %._crit_edge, label %.lr.ph } -; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @_ZN4core4hash4Hash10hash_slice17h627e4e9c002c4da2E(ptr noalias noundef nonnull readonly align 1 %0, i64 noundef %1, ptr noalias nocapture noundef align 8 dereferenceable(72) %2) unnamed_addr #19 personality ptr @rust_eh_personality { +; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable +define hidden void @_ZN4core4hash4Hash10hash_slice17h627e4e9c002c4da2E(ptr noalias noundef nonnull readonly align 1 %0, i64 noundef %1, ptr noalias nocapture noundef align 8 dereferenceable(72) %2) unnamed_addr #21 personality ptr @rust_eh_personality { %4 = getelementptr inbounds i8, ptr %0, i64 %1 %5 = icmp eq i64 %1, 0 br i1 %5, label %14, label %.lr.ph @@ -21280,8 +21280,8 @@ define hidden void @_ZN4core4hash4Hash10hash_slice17h627e4e9c002c4da2E(ptr noali br i1 %55, label %._crit_edge, label %15 } -; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @_ZN4core4hash4Hash10hash_slice17h6b69cdc8906eb316E(ptr noalias noundef nonnull readonly align 1 %0, i64 noundef %1, ptr noalias nocapture noundef align 8 dereferenceable(72) %2) unnamed_addr #19 personality ptr @rust_eh_personality { +; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable +define hidden void @_ZN4core4hash4Hash10hash_slice17h6b69cdc8906eb316E(ptr noalias noundef nonnull readonly align 1 %0, i64 noundef %1, ptr noalias nocapture noundef align 8 dereferenceable(72) %2) unnamed_addr #21 personality ptr @rust_eh_personality { %4 = getelementptr inbounds i8, ptr %0, i64 %1 %5 = icmp eq i64 %1, 0 br i1 %5, label %14, label %.lr.ph @@ -21513,8 +21513,8 @@ define hidden void @_ZN4core4hash4Hash10hash_slice17h82252d4aad949a98E(ptr noali br i1 %60, label %._crit_edge, label %12 } -; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @_ZN4core4hash4Hash10hash_slice17h8af1a7995b20cd8dE(ptr noalias noundef nonnull readonly align 8 %0, i64 noundef %1, ptr noalias nocapture noundef align 8 dereferenceable(72) %2) unnamed_addr #19 personality ptr @rust_eh_personality { +; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable +define hidden void @_ZN4core4hash4Hash10hash_slice17h8af1a7995b20cd8dE(ptr noalias noundef nonnull readonly align 8 %0, i64 noundef %1, ptr noalias nocapture noundef align 8 dereferenceable(72) %2) unnamed_addr #21 personality ptr @rust_eh_personality { %4 = getelementptr inbounds double, ptr %0, i64 %1 %5 = icmp eq i64 %1, 0 br i1 %5, label %12, label %.lr.ph @@ -21748,8 +21748,8 @@ define hidden void @_ZN4core4hash4Hash10hash_slice17hb2ae2567ae4221edE(ptr noali br i1 %7, label %._crit_edge, label %.lr.ph } -; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @_ZN4core4hash4Hash10hash_slice17hbc990bd7370fa098E(ptr noalias noundef nonnull readonly align 1 %0, i64 noundef %1, ptr noalias nocapture noundef align 8 dereferenceable(72) %2) unnamed_addr #19 personality ptr @rust_eh_personality { +; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable +define hidden void @_ZN4core4hash4Hash10hash_slice17hbc990bd7370fa098E(ptr noalias noundef nonnull readonly align 1 %0, i64 noundef %1, ptr noalias nocapture noundef align 8 dereferenceable(72) %2) unnamed_addr #21 personality ptr @rust_eh_personality { %4 = getelementptr inbounds i8, ptr %0, i64 %1 %5 = icmp eq i64 %1, 0 br i1 %5, label %14, label %.lr.ph @@ -21920,8 +21920,8 @@ define hidden void @_ZN4core4hash4Hash10hash_slice17hca6942a1e9276982E(ptr noali br i1 %21, label %._crit_edge, label %12 } -; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable -define hidden void @_ZN4core4hash4Hash10hash_slice17hcd91b9025e90470dE(ptr noalias noundef nonnull readonly align 1 %0, i64 noundef %1, ptr noalias nocapture noundef align 8 dereferenceable(72) %2) unnamed_addr #19 personality ptr @rust_eh_personality { +; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable +define hidden void @_ZN4core4hash4Hash10hash_slice17hcd91b9025e90470dE(ptr noalias noundef nonnull readonly align 1 %0, i64 noundef %1, ptr noalias nocapture noundef align 8 dereferenceable(72) %2) unnamed_addr #21 personality ptr @rust_eh_personality { %4 = getelementptr inbounds i8, ptr %0, i64 %1 %5 = icmp eq i64 %1, 0 br i1 %5, label %14, label %.lr.ph @@ -22257,7 +22257,7 @@ define hidden void @"_ZN4core4hash5impls60_$LT$impl$u20$core..hash..Hash$u20$for } ; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: write) uwtable -define hidden void @_ZN4core4hash6Hasher10write_i12817hde11c7a22a6ff507E.llvm.2456044669961016091(ptr noalias nocapture noundef align 8 dereferenceable(72) %0, i128 noundef %1) unnamed_addr #21 { +define hidden void @_ZN4core4hash6Hasher10write_i12817hde11c7a22a6ff507E.llvm.2456044669961016091(ptr noalias nocapture noundef align 8 dereferenceable(72) %0, i128 noundef %1) unnamed_addr #22 { %3 = alloca [16 x i8], align 16 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3), !noalias !4067 store i128 %1, ptr %3, align 16, !noalias !4067 @@ -22267,7 +22267,7 @@ define hidden void @_ZN4core4hash6Hasher10write_i12817hde11c7a22a6ff507E.llvm.24 } ; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: write) uwtable -define hidden void @_ZN4core4hash6Hasher10write_u12817h080f88488fa9be19E.llvm.2456044669961016091(ptr noalias nocapture noundef align 8 dereferenceable(72) %0, i128 noundef %1) unnamed_addr #21 { +define hidden void @_ZN4core4hash6Hasher10write_u12817h080f88488fa9be19E.llvm.2456044669961016091(ptr noalias nocapture noundef align 8 dereferenceable(72) %0, i128 noundef %1) unnamed_addr #22 { %3 = alloca [16 x i8], align 16 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) store i128 %1, ptr %3, align 16 @@ -22465,7 +22465,7 @@ define hidden void @_ZN4core4hash6Hasher8write_i817he85872889631f276E.llvm.24560 } ; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: write) uwtable -define hidden void @_ZN4core4hash6Hasher9write_i1617h90c64b3fa1f6f3e5E.llvm.2456044669961016091(ptr noalias nocapture noundef align 8 dereferenceable(72) %0, i16 noundef %1) unnamed_addr #21 { +define hidden void @_ZN4core4hash6Hasher9write_i1617h90c64b3fa1f6f3e5E.llvm.2456044669961016091(ptr noalias nocapture noundef align 8 dereferenceable(72) %0, i16 noundef %1) unnamed_addr #22 { %3 = alloca [2 x i8], align 2 call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %3), !noalias !4094 store i16 %1, ptr %3, align 2, !noalias !4094 @@ -22601,7 +22601,7 @@ define hidden void @_ZN4core4hash6Hasher9write_i6417h03bca27e2d52726dE.llvm.2456 } ; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: write) uwtable -define hidden void @_ZN4core4hash6Hasher9write_str17hb3d01cf47c41154bE.llvm.2456044669961016091(ptr noalias nocapture noundef align 8 dereferenceable(72) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #21 personality ptr @rust_eh_personality { +define hidden void @_ZN4core4hash6Hasher9write_str17hb3d01cf47c41154bE.llvm.2456044669961016091(ptr noalias nocapture noundef align 8 dereferenceable(72) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #22 personality ptr @rust_eh_personality { tail call fastcc void @"_ZN73_$LT$siphasher..sip128..Hasher$LT$S$GT$$u20$as$u20$core..hash..Hasher$GT$5write17h181a8c71bccb2bcaE"(ptr noalias noundef nonnull align 8 dereferenceable(72) %0, ptr noalias noundef nonnull readonly align 1 %1, i64 noundef %2) %4 = getelementptr inbounds i8, ptr %0, i64 48 %5 = load i64, ptr %4, align 8, !alias.scope !4113, !noundef !4 @@ -22851,7 +22851,7 @@ define hidden void @_ZN4core4sync6atomic5fence17h683d388ef8afd54bE.llvm.24560446 } ; Function Attrs: alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable -define hidden noundef zeroext i1 @"_ZN4core5clone5impls53_$LT$impl$u20$core..clone..Clone$u20$for$u20$bool$GT$5clone17h89736246235f5a5cE.llvm.2456044669961016091"(ptr noalias nocapture noundef readonly align 1 dereferenceable(1) %0) unnamed_addr #22 { +define hidden noundef zeroext i1 @"_ZN4core5clone5impls53_$LT$impl$u20$core..clone..Clone$u20$for$u20$bool$GT$5clone17h89736246235f5a5cE.llvm.2456044669961016091"(ptr noalias nocapture noundef readonly align 1 dereferenceable(1) %0) unnamed_addr #23 { %2 = load i8, ptr %0, align 1, !range !339, !noundef !4 %3 = trunc nuw i8 %2 to i1 ret i1 %3 @@ -23074,7 +23074,7 @@ define hidden void @"_ZN4core6result19Result$LT$T$C$E$GT$6expect17hf19c82211a39f } ; Function Attrs: alwaysinline nonlazybind uwtable -define hidden void @"_ZN4core6result19Result$LT$T$C$E$GT$6unwrap17h530d178225a0875aE.llvm.2456044669961016091"(i1 noundef zeroext %0, ptr noalias noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #23 personality ptr @rust_eh_personality { +define hidden void @"_ZN4core6result19Result$LT$T$C$E$GT$6unwrap17h530d178225a0875aE.llvm.2456044669961016091"(i1 noundef zeroext %0, ptr noalias noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #24 personality ptr @rust_eh_personality { %3 = alloca {}, align 1 br i1 %0, label %5, label %4 @@ -23621,33 +23621,33 @@ define hidden noundef zeroext i1 @"_ZN50_$LT$$RF$mut$u20$W$u20$as$u20$core..fmt. } ; Function Attrs: alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable -define hidden void @"_ZN50_$LT$T$u20$as$u20$core..convert..From$LT$T$GT$$GT$4from17h1b7950c97a12f331E.llvm.2456044669961016091"(ptr noalias nocapture noundef writeonly sret({ i32, [5 x i32] }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #24 { +define hidden void @"_ZN50_$LT$T$u20$as$u20$core..convert..From$LT$T$GT$$GT$4from17h1b7950c97a12f331E.llvm.2456044669961016091"(ptr noalias nocapture noundef writeonly sret({ i32, [5 x i32] }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #25 { tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i64 24, i1 false) ret void } ; Function Attrs: alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef nonnull align 8 dereferenceable(328) ptr @"_ZN50_$LT$T$u20$as$u20$core..convert..From$LT$T$GT$$GT$4from17h201807628380e0e1E.llvm.2456044669961016091"(ptr noalias noundef readonly returned align 8 dereferenceable(328) %0) unnamed_addr #25 { +define hidden noundef nonnull align 8 dereferenceable(328) ptr @"_ZN50_$LT$T$u20$as$u20$core..convert..From$LT$T$GT$$GT$4from17h201807628380e0e1E.llvm.2456044669961016091"(ptr noalias noundef readonly returned align 8 dereferenceable(328) %0) unnamed_addr #26 { ret ptr %0 } ; Function Attrs: alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef double @"_ZN50_$LT$T$u20$as$u20$core..convert..From$LT$T$GT$$GT$4from17h2f45b9ee7be6d4a3E.llvm.2456044669961016091"(double noundef returned %0) unnamed_addr #25 { +define hidden noundef double @"_ZN50_$LT$T$u20$as$u20$core..convert..From$LT$T$GT$$GT$4from17h2f45b9ee7be6d4a3E.llvm.2456044669961016091"(double noundef returned %0) unnamed_addr #26 { ret double %0 } ; Function Attrs: alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i8 @"_ZN50_$LT$T$u20$as$u20$core..convert..From$LT$T$GT$$GT$4from17h3b44fdb5f31de5ddE.llvm.2456044669961016091"(i8 noundef returned %0) unnamed_addr #25 { +define hidden noundef i8 @"_ZN50_$LT$T$u20$as$u20$core..convert..From$LT$T$GT$$GT$4from17h3b44fdb5f31de5ddE.llvm.2456044669961016091"(i8 noundef returned %0) unnamed_addr #26 { ret i8 %0 } ; Function Attrs: alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable -define hidden noundef i8 @"_ZN50_$LT$T$u20$as$u20$core..convert..From$LT$T$GT$$GT$4from17h425576a51d8b2686E.llvm.2456044669961016091"(i8 noundef returned %0) unnamed_addr #25 { +define hidden noundef i8 @"_ZN50_$LT$T$u20$as$u20$core..convert..From$LT$T$GT$$GT$4from17h425576a51d8b2686E.llvm.2456044669961016091"(i8 noundef returned %0) unnamed_addr #26 { ret i8 %0 } ; Function Attrs: alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable -define hidden void @"_ZN50_$LT$T$u20$as$u20$core..convert..From$LT$T$GT$$GT$4from17h629a844ee6e3f575E.llvm.2456044669961016091"(ptr noalias nocapture noundef writeonly sret({ i64, [13 x i64] }) align 16 dereferenceable(112) %0, ptr noalias nocapture noundef readonly align 16 dereferenceable(112) %1) unnamed_addr #24 { +define hidden void @"_ZN50_$LT$T$u20$as$u20$core..convert..From$LT$T$GT$$GT$4from17h629a844ee6e3f575E.llvm.2456044669961016091"(ptr noalias nocapture noundef writeonly sret({ i64, [13 x i64] }) align 16 dereferenceable(112) %0, ptr noalias nocapture noundef readonly align 16 dereferenceable(112) %1) unnamed_addr #25 { tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(112) %0, ptr noundef nonnull align 16 dereferenceable(112) %1, i64 112, i1 false) ret void } @@ -23734,7 +23734,7 @@ define hidden noundef nonnull align 16 dereferenceable(32) ptr @"_ZN51_$LT$T$u20 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: read) uwtable -define hidden noundef zeroext i1 @"_ZN52_$LT$Q$u20$as$u20$hashbrown..Equivalent$LT$K$GT$$GT$10equivalent17h784d2381699d25aeE"(ptr noalias nocapture noundef readonly align 16 dereferenceable(32) %0, ptr noalias nocapture noundef readonly align 16 dereferenceable(32) %1) unnamed_addr #26 { +define hidden noundef zeroext i1 @"_ZN52_$LT$Q$u20$as$u20$hashbrown..Equivalent$LT$K$GT$$GT$10equivalent17h784d2381699d25aeE"(ptr noalias nocapture noundef readonly align 16 dereferenceable(32) %0, ptr noalias nocapture noundef readonly align 16 dereferenceable(32) %1) unnamed_addr #27 { tail call void @llvm.experimental.noalias.scope.decl(metadata !4271) tail call void @llvm.experimental.noalias.scope.decl(metadata !4274) %3 = load i128, ptr %0, align 16, !alias.scope !4271, !noalias !4274, !noundef !4 @@ -23776,8 +23776,8 @@ define hidden void @"_ZN52_$LT$ttf_parser..Tag$u20$as$u20$core..hash..Hash$GT$4h ret void } -; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable -define hidden noundef zeroext i1 @"_ZN53_$LT$T$u20$as$u20$core..slice..cmp..SliceContains$GT$14slice_contains17h0dc55d1b601c496dE"(ptr noalias nocapture noundef readonly align 1 dereferenceable(2) %0, ptr noalias noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #27 personality ptr @rust_eh_personality { +; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: read, inaccessiblemem: readwrite) uwtable +define hidden noundef zeroext i1 @"_ZN53_$LT$T$u20$as$u20$core..slice..cmp..SliceContains$GT$14slice_contains17h0dc55d1b601c496dE"(ptr noalias nocapture noundef readonly align 1 dereferenceable(2) %0, ptr noalias noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #28 personality ptr @rust_eh_personality { %4 = getelementptr inbounds { i8, [1 x i8] }, ptr %1, i64 %2 tail call void @llvm.experimental.noalias.scope.decl(metadata !4279) %5 = load i8, ptr %0, align 1, !range !768, !alias.scope !4279, !noalias !4282 @@ -23804,8 +23804,8 @@ define hidden noundef zeroext i1 @"_ZN53_$LT$T$u20$as$u20$core..slice..cmp..Slic ret i1 %.not.i.not } -; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable -define hidden noundef zeroext i1 @"_ZN53_$LT$T$u20$as$u20$core..slice..cmp..SliceContains$GT$14slice_contains17h939f28ecd9256e36E"(ptr noalias nocapture noundef readonly align 1 dereferenceable(1) %0, ptr noalias noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #27 personality ptr @rust_eh_personality { +; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: read, inaccessiblemem: readwrite) uwtable +define hidden noundef zeroext i1 @"_ZN53_$LT$T$u20$as$u20$core..slice..cmp..SliceContains$GT$14slice_contains17h939f28ecd9256e36E"(ptr noalias nocapture noundef readonly align 1 dereferenceable(1) %0, ptr noalias noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #28 personality ptr @rust_eh_personality { %4 = getelementptr inbounds i8, ptr %1, i64 %2 tail call void @llvm.experimental.noalias.scope.decl(metadata !4292) %5 = load i8, ptr %0, align 1, !range !950, !alias.scope !4292, !noalias !4295 @@ -23864,7 +23864,7 @@ define hidden noundef zeroext i1 @"_ZN53_$LT$T$u20$as$u20$core..slice..cmp..Slic } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(read, inaccessiblemem: readwrite) uwtable -define hidden noundef zeroext i1 @"_ZN53_$LT$T$u20$as$u20$core..slice..cmp..SliceContains$GT$14slice_contains28_$u7b$$u7b$closure$u7d$$u7d$17hc0db9a4febe26a5eE.llvm.2456044669961016091"(ptr noalias nocapture noundef readonly align 8 dereferenceable(8) %0, ptr noalias nocapture noundef readonly align 1 dereferenceable(2) %1) unnamed_addr #28 { +define hidden noundef zeroext i1 @"_ZN53_$LT$T$u20$as$u20$core..slice..cmp..SliceContains$GT$14slice_contains28_$u7b$$u7b$closure$u7d$$u7d$17hc0db9a4febe26a5eE.llvm.2456044669961016091"(ptr noalias nocapture noundef readonly align 8 dereferenceable(8) %0, ptr noalias nocapture noundef readonly align 1 dereferenceable(2) %1) unnamed_addr #29 { %3 = load ptr, ptr %0, align 8, !nonnull !4, !align !268, !noundef !4 tail call void @llvm.experimental.noalias.scope.decl(metadata !4315) tail call void @llvm.experimental.noalias.scope.decl(metadata !4318) @@ -24562,7 +24562,7 @@ _ZN5alloc5alloc6Global10alloc_impl17h996700ad2487d67cE.llvm.2456044669961016091. } ; Function Attrs: inlinehint nounwind nonlazybind uwtable -define hidden { ptr, i64 } @_ZN5alloc5alloc6Global10alloc_impl17h996700ad2487d67cE.llvm.2456044669961016091(ptr noalias nocapture noundef nonnull readonly align 1 %0, i64 noundef %1, i64 noundef %2, i1 noundef zeroext %3) unnamed_addr #29 { +define hidden { ptr, i64 } @_ZN5alloc5alloc6Global10alloc_impl17h996700ad2487d67cE.llvm.2456044669961016091(ptr noalias nocapture noundef nonnull readonly align 1 %0, i64 noundef %1, i64 noundef %2, i1 noundef zeroext %3) unnamed_addr #30 { %5 = icmp eq i64 %2, 0 br i1 %5, label %6, label %10 @@ -24599,7 +24599,7 @@ define hidden { ptr, i64 } @_ZN5alloc5alloc6Global10alloc_impl17h996700ad2487d67 } ; Function Attrs: alwaysinline nonlazybind uwtable -define hidden noalias noundef nonnull align 16 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17h077fe47fd5918d1cE.llvm.2456044669961016091"(ptr noalias nocapture noundef align 16 dereferenceable(80) %0) unnamed_addr #23 personality ptr @rust_eh_personality { +define hidden noalias noundef nonnull align 16 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17h077fe47fd5918d1cE.llvm.2456044669961016091"(ptr noalias nocapture noundef align 16 dereferenceable(80) %0) unnamed_addr #24 personality ptr @rust_eh_personality { %2 = load volatile i8, ptr @__rust_no_alloc_shim_is_unstable, align 1 %3 = tail call noundef align 16 dereferenceable_or_null(80) ptr @__rust_alloc(i64 noundef 80, i64 noundef 16) #58 %4 = icmp eq ptr %3, null @@ -24633,7 +24633,7 @@ _ZN5alloc5alloc15exchange_malloc17ha641d2894b944555E.llvm.2456044669961016091.ex } ; Function Attrs: alwaysinline nonlazybind uwtable -define hidden noalias noundef nonnull align 8 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17h16fc4e7f8caa88fbE.llvm.2456044669961016091"(ptr noalias nocapture noundef align 8 dereferenceable(128) %0) unnamed_addr #23 personality ptr @rust_eh_personality { +define hidden noalias noundef nonnull align 8 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17h16fc4e7f8caa88fbE.llvm.2456044669961016091"(ptr noalias nocapture noundef align 8 dereferenceable(128) %0) unnamed_addr #24 personality ptr @rust_eh_personality { %2 = load volatile i8, ptr @__rust_no_alloc_shim_is_unstable, align 1 %3 = tail call noundef align 8 dereferenceable_or_null(128) ptr @__rust_alloc(i64 noundef 128, i64 noundef 8) #58 %4 = icmp eq ptr %3, null @@ -24668,7 +24668,7 @@ _ZN5alloc5alloc15exchange_malloc17ha641d2894b944555E.llvm.2456044669961016091.ex } ; Function Attrs: alwaysinline nonlazybind uwtable -define hidden noalias noundef nonnull align 16 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17h537fafa986a2de96E.llvm.2456044669961016091"(ptr noalias nocapture noundef align 16 dereferenceable(64) %0) unnamed_addr #23 personality ptr @rust_eh_personality { +define hidden noalias noundef nonnull align 16 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17h537fafa986a2de96E.llvm.2456044669961016091"(ptr noalias nocapture noundef align 16 dereferenceable(64) %0) unnamed_addr #24 personality ptr @rust_eh_personality { %2 = load volatile i8, ptr @__rust_no_alloc_shim_is_unstable, align 1 %3 = tail call noundef align 16 dereferenceable_or_null(64) ptr @__rust_alloc(i64 noundef 64, i64 noundef 16) #58 %4 = icmp eq ptr %3, null @@ -24702,7 +24702,7 @@ _ZN5alloc5alloc15exchange_malloc17ha641d2894b944555E.llvm.2456044669961016091.ex } ; Function Attrs: alwaysinline nonlazybind uwtable -define hidden noalias noundef nonnull align 8 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17h5a7411b96394adc9E.llvm.2456044669961016091"(ptr noalias nocapture noundef align 8 dereferenceable(48) %0) unnamed_addr #23 personality ptr @rust_eh_personality { +define hidden noalias noundef nonnull align 8 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17h5a7411b96394adc9E.llvm.2456044669961016091"(ptr noalias nocapture noundef align 8 dereferenceable(48) %0) unnamed_addr #24 personality ptr @rust_eh_personality { %2 = load volatile i8, ptr @__rust_no_alloc_shim_is_unstable, align 1 %3 = tail call noundef align 8 dereferenceable_or_null(48) ptr @__rust_alloc(i64 noundef 48, i64 noundef 8) #58 %4 = icmp eq ptr %3, null @@ -24736,7 +24736,7 @@ _ZN5alloc5alloc15exchange_malloc17ha641d2894b944555E.llvm.2456044669961016091.ex } ; Function Attrs: alwaysinline nonlazybind uwtable -define hidden noalias noundef nonnull align 8 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17h6089ea386fe4faffE.llvm.2456044669961016091"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0) unnamed_addr #23 personality ptr @rust_eh_personality { +define hidden noalias noundef nonnull align 8 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17h6089ea386fe4faffE.llvm.2456044669961016091"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0) unnamed_addr #24 personality ptr @rust_eh_personality { %2 = load volatile i8, ptr @__rust_no_alloc_shim_is_unstable, align 1 %3 = tail call noundef align 8 dereferenceable_or_null(16) ptr @__rust_alloc(i64 noundef 16, i64 noundef 8) #58 %4 = icmp eq ptr %3, null @@ -24752,7 +24752,7 @@ _ZN5alloc5alloc15exchange_malloc17ha641d2894b944555E.llvm.2456044669961016091.ex } ; Function Attrs: alwaysinline nonlazybind uwtable -define hidden noalias noundef nonnull align 8 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17ha5bdff2e68296527E.llvm.2456044669961016091"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #23 personality ptr @rust_eh_personality { +define hidden noalias noundef nonnull align 8 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17ha5bdff2e68296527E.llvm.2456044669961016091"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #24 personality ptr @rust_eh_personality { %2 = load volatile i8, ptr @__rust_no_alloc_shim_is_unstable, align 1 %3 = tail call noundef align 8 dereferenceable_or_null(24) ptr @__rust_alloc(i64 noundef 24, i64 noundef 8) #58 %4 = icmp eq ptr %3, null @@ -24768,7 +24768,7 @@ _ZN5alloc5alloc15exchange_malloc17ha641d2894b944555E.llvm.2456044669961016091.ex } ; Function Attrs: alwaysinline nonlazybind uwtable -define hidden noalias noundef nonnull align 16 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17hbdb526c9750422c9E.llvm.2456044669961016091"(ptr noalias nocapture noundef align 16 dereferenceable(80) %0) unnamed_addr #23 personality ptr @rust_eh_personality { +define hidden noalias noundef nonnull align 16 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17hbdb526c9750422c9E.llvm.2456044669961016091"(ptr noalias nocapture noundef align 16 dereferenceable(80) %0) unnamed_addr #24 personality ptr @rust_eh_personality { %2 = load volatile i8, ptr @__rust_no_alloc_shim_is_unstable, align 1 %3 = tail call noundef align 16 dereferenceable_or_null(80) ptr @__rust_alloc(i64 noundef 80, i64 noundef 16) #58 %4 = icmp eq ptr %3, null @@ -24803,7 +24803,7 @@ _ZN5alloc5alloc15exchange_malloc17ha641d2894b944555E.llvm.2456044669961016091.ex } ; Function Attrs: alwaysinline nonlazybind uwtable -define hidden noalias noundef nonnull align 8 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17hc357fecd18edc3f1E.llvm.2456044669961016091"(ptr noalias nocapture noundef align 8 dereferenceable(64) %0) unnamed_addr #23 personality ptr @rust_eh_personality { +define hidden noalias noundef nonnull align 8 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17hc357fecd18edc3f1E.llvm.2456044669961016091"(ptr noalias nocapture noundef align 8 dereferenceable(64) %0) unnamed_addr #24 personality ptr @rust_eh_personality { %2 = load volatile i8, ptr @__rust_no_alloc_shim_is_unstable, align 1 %3 = tail call noundef align 8 dereferenceable_or_null(64) ptr @__rust_alloc(i64 noundef 64, i64 noundef 8) #58 %4 = icmp eq ptr %3, null @@ -24837,7 +24837,7 @@ _ZN5alloc5alloc15exchange_malloc17ha641d2894b944555E.llvm.2456044669961016091.ex } ; Function Attrs: alwaysinline nonlazybind uwtable -define hidden noalias noundef nonnull align 8 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17hca2096ed97741ac0E.llvm.2456044669961016091"(ptr noalias nocapture noundef align 8 dereferenceable(48) %0) unnamed_addr #23 personality ptr @rust_eh_personality { +define hidden noalias noundef nonnull align 8 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17hca2096ed97741ac0E.llvm.2456044669961016091"(ptr noalias nocapture noundef align 8 dereferenceable(48) %0) unnamed_addr #24 personality ptr @rust_eh_personality { %2 = load volatile i8, ptr @__rust_no_alloc_shim_is_unstable, align 1 %3 = tail call noundef align 8 dereferenceable_or_null(48) ptr @__rust_alloc(i64 noundef 48, i64 noundef 8) #58 %4 = icmp eq ptr %3, null @@ -24871,7 +24871,7 @@ _ZN5alloc5alloc15exchange_malloc17ha641d2894b944555E.llvm.2456044669961016091.ex } ; Function Attrs: alwaysinline nonlazybind uwtable -define hidden noalias noundef nonnull align 8 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17hdd15055ffbf508b2E.llvm.2456044669961016091"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #23 personality ptr @rust_eh_personality { +define hidden noalias noundef nonnull align 8 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17hdd15055ffbf508b2E.llvm.2456044669961016091"(ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %0) unnamed_addr #24 personality ptr @rust_eh_personality { %2 = load volatile i8, ptr @__rust_no_alloc_shim_is_unstable, align 1 %3 = tail call noundef align 8 dereferenceable_or_null(24) ptr @__rust_alloc(i64 noundef 24, i64 noundef 8) #58 %4 = icmp eq ptr %3, null @@ -24887,7 +24887,7 @@ _ZN5alloc5alloc15exchange_malloc17ha641d2894b944555E.llvm.2456044669961016091.ex } ; Function Attrs: alwaysinline nonlazybind uwtable -define hidden noalias noundef nonnull align 16 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17he374a9d063abfab8E.llvm.2456044669961016091"(ptr noalias nocapture noundef readonly align 16 dereferenceable(48) %0) unnamed_addr #23 personality ptr @rust_eh_personality { +define hidden noalias noundef nonnull align 16 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17he374a9d063abfab8E.llvm.2456044669961016091"(ptr noalias nocapture noundef readonly align 16 dereferenceable(48) %0) unnamed_addr #24 personality ptr @rust_eh_personality { %2 = load volatile i8, ptr @__rust_no_alloc_shim_is_unstable, align 1 %3 = tail call noundef align 16 dereferenceable_or_null(48) ptr @__rust_alloc(i64 noundef 48, i64 noundef 16) #58 %4 = icmp eq ptr %3, null @@ -24903,7 +24903,7 @@ _ZN5alloc5alloc15exchange_malloc17ha641d2894b944555E.llvm.2456044669961016091.ex } ; Function Attrs: alwaysinline nonlazybind uwtable -define hidden noalias noundef nonnull align 8 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17heec576f8fe7c502cE.llvm.2456044669961016091"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0) unnamed_addr #23 personality ptr @rust_eh_personality { +define hidden noalias noundef nonnull align 8 ptr @"_ZN5alloc5boxed12Box$LT$T$GT$3new17heec576f8fe7c502cE.llvm.2456044669961016091"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0) unnamed_addr #24 personality ptr @rust_eh_personality { %2 = load volatile i8, ptr @__rust_no_alloc_shim_is_unstable, align 1 %3 = tail call noundef align 8 dereferenceable_or_null(16) ptr @__rust_alloc(i64 noundef 16, i64 noundef 8) #58 %4 = icmp eq ptr %3, null @@ -30764,7 +30764,7 @@ switch.lookup: } ; Function Attrs: inlinehint nounwind nonlazybind memory(readwrite, inaccessiblemem: write) uwtable -define hidden { ptr, ptr } @"_ZN68_$LT$alloc..sync..Arc$LT$T$C$A$GT$$u20$as$u20$core..clone..Clone$GT$5clone17h1c32926eb311b31fE.llvm.2456044669961016091"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0) unnamed_addr #30 { +define hidden { ptr, ptr } @"_ZN68_$LT$alloc..sync..Arc$LT$T$C$A$GT$$u20$as$u20$core..clone..Clone$GT$5clone17h1c32926eb311b31fE.llvm.2456044669961016091"(ptr noalias nocapture noundef readonly align 8 dereferenceable(16) %0) unnamed_addr #31 { %2 = load ptr, ptr %0, align 8, !nonnull !4, !noundef !4 %3 = atomicrmw add ptr %2, i64 1 monotonic, align 8 %4 = icmp slt i64 %3, 0 @@ -31165,7 +31165,7 @@ define hidden void @"_ZN69_$LT$siphasher..sip128..SipHasher13$u20$as$u20$core..h } ; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: write) uwtable -define hidden void @"_ZN69_$LT$siphasher..sip128..SipHasher13$u20$as$u20$core..hash..Hasher$GT$5write17h78a1e76b796f8b37E.llvm.2456044669961016091"(ptr noalias nocapture noundef align 8 dereferenceable(72) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #21 { +define hidden void @"_ZN69_$LT$siphasher..sip128..SipHasher13$u20$as$u20$core..hash..Hasher$GT$5write17h78a1e76b796f8b37E.llvm.2456044669961016091"(ptr noalias nocapture noundef align 8 dereferenceable(72) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #22 { tail call fastcc void @"_ZN73_$LT$siphasher..sip128..Hasher$LT$S$GT$$u20$as$u20$core..hash..Hasher$GT$5write17h181a8c71bccb2bcaE"(ptr noalias noundef nonnull align 8 dereferenceable(72) %0, ptr noalias noundef nonnull readonly align 1 %1, i64 noundef %2) ret void } @@ -31242,7 +31242,7 @@ define hidden void @"_ZN69_$LT$siphasher..sip128..SipHasher13$u20$as$u20$core..h } ; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: write) uwtable -define hidden void @"_ZN69_$LT$siphasher..sip128..SipHasher13$u20$as$u20$core..hash..Hasher$GT$9write_u1617h468f3ee4076b363cE.llvm.2456044669961016091"(ptr noalias nocapture noundef align 8 dereferenceable(72) %0, i16 noundef %1) unnamed_addr #21 { +define hidden void @"_ZN69_$LT$siphasher..sip128..SipHasher13$u20$as$u20$core..hash..Hasher$GT$9write_u1617h468f3ee4076b363cE.llvm.2456044669961016091"(ptr noalias nocapture noundef align 8 dereferenceable(72) %0, i16 noundef %1) unnamed_addr #22 { %3 = alloca [2 x i8], align 2 call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %3) store i16 %1, ptr %3, align 2 @@ -32094,7 +32094,7 @@ define hidden noundef zeroext i1 @"_ZN73_$LT$$u5b$A$u5d$$u20$as$u20$core..slice. } ; Function Attrs: nofree norecurse nosync nounwind nonlazybind memory(argmem: read, inaccessiblemem: readwrite) uwtable -define hidden noundef zeroext i1 @"_ZN73_$LT$$u5b$A$u5d$$u20$as$u20$core..slice..cmp..SlicePartialEq$LT$B$GT$$GT$5equal17hf25de9c2673589d1E"(ptr noalias nocapture noundef nonnull readonly align 1 %0, i64 noundef %1, ptr noalias nocapture noundef nonnull readonly align 1 %2, i64 noundef %3) unnamed_addr #31 { +define hidden noundef zeroext i1 @"_ZN73_$LT$$u5b$A$u5d$$u20$as$u20$core..slice..cmp..SlicePartialEq$LT$B$GT$$GT$5equal17hf25de9c2673589d1E"(ptr noalias nocapture noundef nonnull readonly align 1 %0, i64 noundef %1, ptr noalias nocapture noundef nonnull readonly align 1 %2, i64 noundef %3) unnamed_addr #28 { %.not = icmp eq i64 %1, %3 br i1 %.not, label %.preheader.split, label %.thread @@ -32264,7 +32264,7 @@ define hidden noundef zeroext i1 @"_ZN73_$LT$citationberg..taxonomy..Variable$u2 } ; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: write) uwtable -define internal fastcc void @"_ZN73_$LT$siphasher..sip128..Hasher$LT$S$GT$$u20$as$u20$core..hash..Hasher$GT$5write17h181a8c71bccb2bcaE"(ptr noalias nocapture noundef align 8 dereferenceable(72) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #21 personality ptr @rust_eh_personality { +define internal fastcc void @"_ZN73_$LT$siphasher..sip128..Hasher$LT$S$GT$$u20$as$u20$core..hash..Hasher$GT$5write17h181a8c71bccb2bcaE"(ptr noalias nocapture noundef align 8 dereferenceable(72) %0, ptr noalias nocapture noundef nonnull readonly align 1 %1, i64 noundef %2) unnamed_addr #22 personality ptr @rust_eh_personality { %4 = getelementptr inbounds i8, ptr %0, i64 48 %5 = load i64, ptr %4, align 8, !noundef !4 %6 = add i64 %5, %2 @@ -137755,7 +137755,7 @@ define internal noundef zeroext i1 @"_ZN66_$LT$typst..layout..grid..GridCell$u20 } ; Function Attrs: inlinehint nounwind nonlazybind uwtable -define internal fastcc void @"_ZN68_$LT$typst..layout..grid..GridCell$u20$as$u20$core..clone..Clone$GT$5clone17he9adb61c68cff1f1E"(ptr noalias nocapture noundef writeonly align 8 dereferenceable(296) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(296) %1) unnamed_addr #29 personality ptr @rust_eh_personality { +define internal fastcc void @"_ZN68_$LT$typst..layout..grid..GridCell$u20$as$u20$core..clone..Clone$GT$5clone17he9adb61c68cff1f1E"(ptr noalias nocapture noundef writeonly align 8 dereferenceable(296) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(296) %1) unnamed_addr #30 personality ptr @rust_eh_personality { %3 = getelementptr inbounds i8, ptr %1, i64 248 tail call void @llvm.experimental.noalias.scope.decl(metadata !27120) %4 = load ptr, ptr %3, align 8, !alias.scope !27120, !nonnull !4, !noundef !4 @@ -146175,7 +146175,7 @@ define internal noundef zeroext i1 @"_ZN67_$LT$typst..model..table..TableCell$u2 } ; Function Attrs: inlinehint nounwind nonlazybind uwtable -define internal fastcc void @"_ZN69_$LT$typst..model..table..TableCell$u20$as$u20$core..clone..Clone$GT$5clone17h2e9680f5689fdea8E"(ptr noalias nocapture noundef writeonly align 8 dereferenceable(296) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(296) %1) unnamed_addr #29 personality ptr @rust_eh_personality { +define internal fastcc void @"_ZN69_$LT$typst..model..table..TableCell$u20$as$u20$core..clone..Clone$GT$5clone17h2e9680f5689fdea8E"(ptr noalias nocapture noundef writeonly align 8 dereferenceable(296) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(296) %1) unnamed_addr #30 personality ptr @rust_eh_personality { %3 = getelementptr inbounds i8, ptr %1, i64 248 tail call void @llvm.experimental.noalias.scope.decl(metadata !29150) %4 = load ptr, ptr %3, align 8, !alias.scope !29150, !nonnull !4, !noundef !4 @@ -154710,7 +154710,7 @@ define hidden noundef zeroext i1 @"_ZN81_$LT$typst..introspection..location..Loc } ; Function Attrs: inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: write) uwtable -define internal fastcc void @"_ZN77_$LT$typst..introspection..location..Location$u20$as$u20$core..hash..Hash$GT$4hash17h02c502a8b269530aE"(ptr noalias nocapture noundef readonly align 16 dereferenceable(32) %0, ptr noalias nocapture noundef align 8 dereferenceable(72) %1) unnamed_addr #21 personality ptr @rust_eh_personality { +define internal fastcc void @"_ZN77_$LT$typst..introspection..location..Location$u20$as$u20$core..hash..Hash$GT$4hash17h02c502a8b269530aE"(ptr noalias nocapture noundef readonly align 16 dereferenceable(32) %0, ptr noalias nocapture noundef align 8 dereferenceable(72) %1) unnamed_addr #22 personality ptr @rust_eh_personality { %3 = alloca [16 x i8], align 16 %4 = load i128, ptr %0, align 16, !noundef !4 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3), !noalias !31098 @@ -156840,7 +156840,7 @@ define void @"_ZN5typst11foundations8datetime84_$LT$impl$u20$typst..foundations. } ; Function Attrs: inlinehint nounwind nonlazybind uwtable -define hidden void @"_ZN75_$LT$typst..foundations..content..Content$u20$as$u20$core..clone..Clone$GT$5clone17h921a3abe49c4d1a5E.llvm.2456044669961016091"(ptr noalias nocapture noundef writeonly sret({ { { { ptr, ptr } }, {}, {} }, i64 }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #29 { +define hidden void @"_ZN75_$LT$typst..foundations..content..Content$u20$as$u20$core..clone..Clone$GT$5clone17h921a3abe49c4d1a5E.llvm.2456044669961016091"(ptr noalias nocapture noundef writeonly sret({ { { { ptr, ptr } }, {}, {} }, i64 }) align 8 dereferenceable(24) %0, ptr noalias nocapture noundef readonly align 8 dereferenceable(24) %1) unnamed_addr #30 { tail call void @llvm.experimental.noalias.scope.decl(metadata !31540) %3 = load ptr, ptr %1, align 8, !alias.scope !31540, !nonnull !4, !noundef !4 %4 = atomicrmw add ptr %3, i64 1 monotonic, align 8, !noalias !31540 @@ -163537,18 +163537,18 @@ attributes #16 = { mustprogress nofree norecurse nosync nounwind nonlazybind wil attributes #17 = { inlinehint mustprogress nofree nounwind nonlazybind willreturn memory(argmem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #18 = { cold nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #19 = { nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #20 = { nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #21 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #22 = { alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #23 = { alwaysinline nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #24 = { alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #25 = { alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #26 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #27 = { nofree norecurse nosync nounwind nonlazybind memory(read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #28 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #29 = { inlinehint nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #30 = { inlinehint nounwind nonlazybind memory(readwrite, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } -attributes #31 = { nofree norecurse nosync nounwind nonlazybind memory(argmem: read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #20 = { nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #21 = { nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #22 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(argmem: readwrite, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #23 = { alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #24 = { alwaysinline nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #25 = { alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #26 = { alwaysinline mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #27 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read, inaccessiblemem: read) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #28 = { nofree norecurse nosync nounwind nonlazybind memory(argmem: read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #29 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(read, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #30 = { inlinehint nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } +attributes #31 = { inlinehint nounwind nonlazybind memory(readwrite, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #32 = { noreturn nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #33 = { inlinehint nofree norecurse nosync nounwind nonlazybind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } attributes #34 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(read, argmem: readwrite, inaccessiblemem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" } diff --git a/bench/wolfssl/optimized/sha256.c.ll b/bench/wolfssl/optimized/sha256.c.ll index 3f24428d96f..4bb1379a811 100644 --- a/bench/wolfssl/optimized/sha256.c.ll +++ b/bench/wolfssl/optimized/sha256.c.ll @@ -32,7 +32,7 @@ return: ; preds = %entry, %if.end ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define range(i32 -173, 1) i32 @wc_Sha256Update(ptr noundef %sha256, ptr noundef %data, i32 noundef %len) local_unnamed_addr #1 { entry: %cmp = icmp eq ptr %sha256, null @@ -58,7 +58,7 @@ return: ; preds = %if.end, %entry, %lo ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal fastcc range(i32 -173, 1) i32 @Sha256Update(ptr noundef %sha256, ptr noundef readonly %data, i32 noundef %len) unnamed_addr #1 { entry: %cmp1 = icmp eq ptr %data, null @@ -219,7 +219,7 @@ return: ; preds = %while.end, %if.then } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define range(i32 -173, 1) i32 @wc_Sha256FinalRaw(ptr noundef %sha256, ptr noundef writeonly %hash) local_unnamed_addr #2 { +define range(i32 -173, 1) i32 @wc_Sha256FinalRaw(ptr noundef %sha256, ptr noundef writeonly %hash) local_unnamed_addr #1 { entry: %digest = alloca [8 x i32], align 16 %cmp = icmp eq ptr %sha256, null @@ -265,10 +265,10 @@ return: ; preds = %entry, %ByteReverse } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define i32 @wc_Sha256Final(ptr noundef %sha256, ptr noundef writeonly %hash) local_unnamed_addr #2 { +define i32 @wc_Sha256Final(ptr noundef %sha256, ptr noundef writeonly %hash) local_unnamed_addr #1 { entry: %cmp = icmp eq ptr %sha256, null %cmp1 = icmp eq ptr %hash, null @@ -325,7 +325,7 @@ return: ; preds = %if.end, %entry, %By } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal fastcc range(i32 -192, 1) i32 @Sha256Final(ptr noundef %sha256) unnamed_addr #2 { +define internal fastcc range(i32 -192, 1) i32 @Sha256Final(ptr noundef %sha256) unnamed_addr #1 { entry: %buffLen = getelementptr inbounds i8, ptr %sha256, i64 96 %0 = load i32, ptr %buffLen, align 16 @@ -462,7 +462,7 @@ return: ; preds = %entry, %if.end ret i32 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define range(i32 -173, 1) i32 @wc_Sha224Update(ptr noundef %sha224, ptr noundef %data, i32 noundef %len) local_unnamed_addr #1 { entry: %cmp = icmp eq ptr %sha224, null @@ -484,7 +484,7 @@ return: ; preds = %entry, %lor.lhs.fal } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define i32 @wc_Sha224Final(ptr noundef %sha224, ptr noundef writeonly %hash) local_unnamed_addr #2 { +define i32 @wc_Sha224Final(ptr noundef %sha224, ptr noundef writeonly %hash) local_unnamed_addr #1 { entry: %cmp = icmp eq ptr %sha224, null %cmp1 = icmp eq ptr %hash, null @@ -565,8 +565,8 @@ wc_InitSha224_ex.exit: ; preds = %entry, %if.end.i ret i32 %retval.0.i } -; Function Attrs: nofree norecurse nounwind uwtable -define void @wc_Sha224Free(ptr noundef %sha224) local_unnamed_addr #4 { +; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable +define void @wc_Sha224Free(ptr noundef %sha224) local_unnamed_addr #3 { entry: %cmp = icmp eq ptr %sha224, null br i1 %cmp, label %return, label %if.end @@ -644,8 +644,8 @@ wc_InitSha256_ex.exit: ; preds = %entry, %if.end.i ret i32 %retval.0.i } -; Function Attrs: nofree norecurse nounwind uwtable -define void @wc_Sha256Free(ptr noundef %sha256) local_unnamed_addr #4 { +; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable +define void @wc_Sha256Free(ptr noundef %sha256) local_unnamed_addr #3 { entry: %cmp = icmp eq ptr %sha256, null br i1 %cmp, label %return, label %if.end @@ -699,7 +699,7 @@ return: ; preds = %while.body12.i, %wh } ; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define i32 @wc_Sha224GetHash(ptr noundef readonly %sha224, ptr noundef writeonly %hash) local_unnamed_addr #5 { +define i32 @wc_Sha224GetHash(ptr noundef readonly %sha224, ptr noundef writeonly %hash) local_unnamed_addr #3 { entry: %tmpSha224 = alloca [1 x %struct.wc_Sha256], align 16 %cmp = icmp eq ptr %sha224, null @@ -746,7 +746,7 @@ return: ; preds = %for.body.i.i9, %ent } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define range(i32 -173, 1) i32 @wc_Sha224Copy(ptr noundef readonly %src, ptr noundef writeonly %dst) local_unnamed_addr #6 { +define range(i32 -173, 1) i32 @wc_Sha224Copy(ptr noundef readonly %src, ptr noundef writeonly %dst) local_unnamed_addr #4 { entry: %cmp = icmp eq ptr %src, null %cmp1 = icmp eq ptr %dst, null @@ -763,7 +763,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define i32 @wc_Sha256GetHash(ptr noundef readonly %sha256, ptr noundef writeonly %hash) local_unnamed_addr #5 { +define i32 @wc_Sha256GetHash(ptr noundef readonly %sha256, ptr noundef writeonly %hash) local_unnamed_addr #3 { entry: %tmpSha256 = alloca [1 x %struct.wc_Sha256], align 16 %cmp = icmp eq ptr %sha256, null @@ -810,7 +810,7 @@ return: ; preds = %for.body.i.i9, %ent } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define range(i32 -173, 1) i32 @wc_Sha256Copy(ptr noundef readonly %src, ptr noundef writeonly %dst) local_unnamed_addr #6 { +define range(i32 -173, 1) i32 @wc_Sha256Copy(ptr noundef readonly %src, ptr noundef writeonly %dst) local_unnamed_addr #4 { entry: %cmp = icmp eq ptr %src, null %cmp1 = icmp eq ptr %dst, null @@ -827,10 +827,10 @@ return: ; preds = %entry, %if.end } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5 ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal fastcc void @Transform_Sha256(ptr nocapture noundef %sha256, ptr nocapture noundef readonly %data) unnamed_addr #2 { +define internal fastcc void @Transform_Sha256(ptr nocapture noundef %sha256, ptr nocapture noundef readonly %data) unnamed_addr #1 { entry: %S = alloca [8 x i32], align 16 %W = alloca [64 x i32], align 16 @@ -1161,23 +1161,21 @@ for.end454: ; preds = %for.body445 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.fshl.i32(i32, i32, i32) #8 +declare i32 @llvm.fshl.i32(i32, i32, i32) #6 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #8 +declare i32 @llvm.umin.i32(i32, i32) #6 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.bswap.i32(i32) #8 +declare i32 @llvm.bswap.i32(i32) #6 attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #4 = { nofree norecurse 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 #5 = { nofree norecurse nounwind 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 #6 = { 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 #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #1 = { 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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #3 = { nofree norecurse nounwind 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 #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/wolfssl/optimized/sha512.c.ll b/bench/wolfssl/optimized/sha512.c.ll index d7e058c763d..277a1706404 100644 --- a/bench/wolfssl/optimized/sha512.c.ll +++ b/bench/wolfssl/optimized/sha512.c.ll @@ -112,7 +112,7 @@ InitSha512_Family.exit: ; preds = %entry, %InitSha512_ ret i32 %retval.0.i } -; Function Attrs: nofree norecurse nounwind uwtable +; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable define range(i32 -173, 1) i32 @wc_Sha512Update(ptr noundef %sha512, ptr noundef readonly %data, i32 noundef %len) local_unnamed_addr #1 { entry: %cmp = icmp eq ptr %sha512, null @@ -133,7 +133,7 @@ return: ; preds = %entry, %lor.lhs.fal ret i32 %retval.0 } -; Function Attrs: nofree norecurse nounwind uwtable +; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable define internal fastcc range(i32 -132, 1) i32 @Sha512Update(ptr nocapture noundef %sha512, ptr nocapture noundef readonly %data, i32 noundef %len) unnamed_addr #1 { entry: %buffer = getelementptr inbounds i8, ptr %sha512, i64 64 @@ -274,7 +274,7 @@ Sha512FinalRaw.exit: ; preds = %entry, %ByteReverse } ; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define i32 @wc_Sha512Final(ptr noundef %sha512, ptr noundef writeonly %hash) local_unnamed_addr #3 { +define i32 @wc_Sha512Final(ptr noundef %sha512, ptr noundef writeonly %hash) local_unnamed_addr #1 { entry: %cmp.i = icmp eq ptr %sha512, null %cmp1.i = icmp eq ptr %hash, null @@ -349,7 +349,7 @@ wc_InitSha512_ex.exit: ; preds = %entry, %InitSha512. ret i32 %retval.0.i.i } -; Function Attrs: nofree norecurse nounwind uwtable +; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable define void @wc_Sha512Free(ptr noundef %sha512) local_unnamed_addr #1 { entry: %cmp = icmp eq ptr %sha512, null @@ -403,7 +403,7 @@ return: ; preds = %while.body12.i, %wh ret void } -; Function Attrs: nofree norecurse nounwind uwtable +; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable define range(i32 -173, 1) i32 @wc_Sha384Update(ptr noundef %sha384, ptr noundef readonly %data, i32 noundef %len) local_unnamed_addr #1 { entry: %cmp = icmp eq ptr %sha384, null @@ -454,10 +454,10 @@ return: ; preds = %entry, %ByteReverse } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 ; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define range(i32 -192, 1) i32 @wc_Sha384Final(ptr noundef %sha384, ptr noundef writeonly %hash) local_unnamed_addr #3 { +define range(i32 -192, 1) i32 @wc_Sha384Final(ptr noundef %sha384, ptr noundef writeonly %hash) local_unnamed_addr #1 { entry: %cmp = icmp eq ptr %sha384, null %cmp1 = icmp eq ptr %hash, null @@ -498,7 +498,7 @@ return: ; preds = %if.end, %entry, %if } ; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define internal fastcc range(i32 -192, 1) i32 @Sha512Final(ptr nocapture noundef %sha512) unnamed_addr #3 { +define internal fastcc range(i32 -192, 1) i32 @Sha512Final(ptr nocapture noundef %sha512) unnamed_addr #1 { entry: %buffer = getelementptr inbounds i8, ptr %sha512, i64 64 %buffLen = getelementptr inbounds i8, ptr %sha512, i64 192 @@ -660,7 +660,7 @@ wc_InitSha384_ex.exit: ; preds = %entry, %if.end.i ret i32 %retval.0.i } -; Function Attrs: nofree norecurse nounwind uwtable +; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable define void @wc_Sha384Free(ptr noundef %sha384) local_unnamed_addr #1 { entry: %cmp = icmp eq ptr %sha384, null @@ -715,7 +715,7 @@ return: ; preds = %while.body12.i, %wh } ; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define i32 @wc_Sha512GetHash(ptr noundef readonly %sha512, ptr noundef writeonly %hash) local_unnamed_addr #3 { +define i32 @wc_Sha512GetHash(ptr noundef readonly %sha512, ptr noundef writeonly %hash) local_unnamed_addr #1 { entry: %tmpSha512.i = alloca [1 x %struct.wc_Sha512], align 16 call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %tmpSha512.i) @@ -753,7 +753,7 @@ Sha512_Family_GetHash.exit: ; preds = %for.body.i.i.i, %en } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define range(i32 -173, 1) i32 @wc_Sha512Copy(ptr noundef readonly %src, ptr noundef writeonly %dst) local_unnamed_addr #5 { +define range(i32 -173, 1) i32 @wc_Sha512Copy(ptr noundef readonly %src, ptr noundef writeonly %dst) local_unnamed_addr #4 { entry: %cmp = icmp eq ptr %src, null %cmp1 = icmp eq ptr %dst, null @@ -804,7 +804,7 @@ wc_InitSha512_224_ex.exit: ; preds = %entry, %InitSha512_ ret i32 %retval.0.i.i } -; Function Attrs: nofree norecurse nounwind uwtable +; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable define range(i32 -173, 1) i32 @wc_Sha512_224Update(ptr noundef %sha, ptr noundef readonly %data, i32 noundef %len) local_unnamed_addr #1 { entry: %cmp.i = icmp eq ptr %sha, null @@ -857,7 +857,7 @@ Sha512FinalRaw.exit: ; preds = %entry, %ByteReverse } ; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define i32 @wc_Sha512_224Final(ptr noundef %sha512, ptr noundef writeonly %hash) local_unnamed_addr #3 { +define i32 @wc_Sha512_224Final(ptr noundef %sha512, ptr noundef writeonly %hash) local_unnamed_addr #1 { entry: %cmp.i = icmp eq ptr %sha512, null %cmp1.i = icmp eq ptr %hash, null @@ -897,7 +897,7 @@ Sha512_Family_Final.exit: ; preds = %entry, %if.end.i, % ret i32 %retval.0.i } -; Function Attrs: nofree norecurse nounwind uwtable +; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable define void @wc_Sha512_224Free(ptr noundef %sha) local_unnamed_addr #1 { entry: %cmp.i = icmp eq ptr %sha, null @@ -952,7 +952,7 @@ wc_Sha512Free.exit: ; preds = %while.body12.i.i, % } ; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define i32 @wc_Sha512_224GetHash(ptr noundef readonly %sha512, ptr noundef writeonly %hash) local_unnamed_addr #3 { +define i32 @wc_Sha512_224GetHash(ptr noundef readonly %sha512, ptr noundef writeonly %hash) local_unnamed_addr #1 { entry: %tmpSha512.i = alloca [1 x %struct.wc_Sha512], align 16 call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %tmpSha512.i) @@ -990,7 +990,7 @@ Sha512_Family_GetHash.exit: ; preds = %for.body.i.i.i, %en } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define range(i32 -173, 1) i32 @wc_Sha512_224Copy(ptr noundef readonly %src, ptr noundef writeonly %dst) local_unnamed_addr #5 { +define range(i32 -173, 1) i32 @wc_Sha512_224Copy(ptr noundef readonly %src, ptr noundef writeonly %dst) local_unnamed_addr #4 { entry: %cmp.i = icmp eq ptr %src, null %cmp1.i = icmp eq ptr %dst, null @@ -1041,7 +1041,7 @@ wc_InitSha512_256_ex.exit: ; preds = %entry, %InitSha512_ ret i32 %retval.0.i.i } -; Function Attrs: nofree norecurse nounwind uwtable +; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable define range(i32 -173, 1) i32 @wc_Sha512_256Update(ptr noundef %sha, ptr noundef readonly %data, i32 noundef %len) local_unnamed_addr #1 { entry: %cmp.i = icmp eq ptr %sha, null @@ -1094,7 +1094,7 @@ Sha512FinalRaw.exit: ; preds = %entry, %ByteReverse } ; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define i32 @wc_Sha512_256Final(ptr noundef %sha512, ptr noundef writeonly %hash) local_unnamed_addr #3 { +define i32 @wc_Sha512_256Final(ptr noundef %sha512, ptr noundef writeonly %hash) local_unnamed_addr #1 { entry: %cmp.i = icmp eq ptr %sha512, null %cmp1.i = icmp eq ptr %hash, null @@ -1134,7 +1134,7 @@ Sha512_Family_Final.exit: ; preds = %entry, %if.end.i, % ret i32 %retval.0.i } -; Function Attrs: nofree norecurse nounwind uwtable +; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable define void @wc_Sha512_256Free(ptr noundef %sha) local_unnamed_addr #1 { entry: %cmp.i = icmp eq ptr %sha, null @@ -1189,7 +1189,7 @@ wc_Sha512Free.exit: ; preds = %while.body12.i.i, % } ; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define i32 @wc_Sha512_256GetHash(ptr noundef readonly %sha512, ptr noundef writeonly %hash) local_unnamed_addr #3 { +define i32 @wc_Sha512_256GetHash(ptr noundef readonly %sha512, ptr noundef writeonly %hash) local_unnamed_addr #1 { entry: %tmpSha512.i = alloca [1 x %struct.wc_Sha512], align 16 call void @llvm.lifetime.start.p0(i64 224, ptr nonnull %tmpSha512.i) @@ -1227,7 +1227,7 @@ Sha512_Family_GetHash.exit: ; preds = %for.body.i.i.i, %en } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define range(i32 -173, 1) i32 @wc_Sha512_256Copy(ptr noundef readonly %src, ptr noundef writeonly %dst) local_unnamed_addr #5 { +define range(i32 -173, 1) i32 @wc_Sha512_256Copy(ptr noundef readonly %src, ptr noundef writeonly %dst) local_unnamed_addr #4 { entry: %cmp.i = icmp eq ptr %src, null %cmp1.i = icmp eq ptr %dst, null @@ -1244,7 +1244,7 @@ wc_Sha512Copy.exit: ; preds = %entry, %if.end.i } ; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define i32 @wc_Sha384GetHash(ptr noundef readonly %sha384, ptr noundef writeonly %hash) local_unnamed_addr #3 { +define i32 @wc_Sha384GetHash(ptr noundef readonly %sha384, ptr noundef writeonly %hash) local_unnamed_addr #1 { entry: %tmpSha384 = alloca [1 x %struct.wc_Sha512], align 16 %cmp = icmp eq ptr %sha384, null @@ -1280,7 +1280,7 @@ return: ; preds = %for.body.i.i, %entr } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define range(i32 -173, 1) i32 @wc_Sha384Copy(ptr noundef readonly %src, ptr noundef writeonly %dst) local_unnamed_addr #5 { +define range(i32 -173, 1) i32 @wc_Sha384Copy(ptr noundef readonly %src, ptr noundef writeonly %dst) local_unnamed_addr #4 { entry: %cmp = icmp eq ptr %src, null %cmp1 = icmp eq ptr %dst, null @@ -1297,7 +1297,7 @@ return: ; preds = %entry, %if.end } ; Function Attrs: nofree norecurse nounwind memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable -define internal fastcc void @_Transform_Sha512(ptr nocapture noundef %sha512) unnamed_addr #3 { +define internal fastcc void @_Transform_Sha512(ptr nocapture noundef %sha512) unnamed_addr #1 { entry: %T = alloca [8 x i64], align 16 %W = alloca [16 x i64], align 16 @@ -2238,32 +2238,31 @@ ForceZero.exit578: ; preds = %for.body.i572 } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #6 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #5 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.fshl.i64(i64, i64, i64) #7 +declare i64 @llvm.fshl.i64(i64, i64, i64) #6 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #7 +declare i32 @llvm.umin.i32(i32, i32) #6 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.bswap.i64(i64) #7 +declare i64 @llvm.bswap.i64(i64) #6 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #8 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #7 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #8 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #7 attributes #0 = { 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 #1 = { nofree norecurse 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 #1 = { nofree norecurse nounwind 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 #2 = { 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 #3 = { nofree norecurse nounwind 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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #5 = { 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 #6 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #8 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #4 = { 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 #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #7 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/z3/optimized/sat_cutset.cpp.ll b/bench/z3/optimized/sat_cutset.cpp.ll index 55dba0ed34c..fad08de6408 100644 --- a/bench/z3/optimized/sat_cutset.cpp.ll +++ b/bench/z3/optimized/sat_cutset.cpp.ll @@ -288,7 +288,7 @@ for.body.i58: ; preds = %_ZNKSt8functionIFvj br i1 %tobool.not.i.i6.i, label %if.then.i.i, label %_ZNKSt8functionIFvjRKN3sat3cutEEEclEjS3_.exit.i if.then.i.i: ; preds = %for.body.i58 - call void @_ZSt25__throw_bad_function_callv() #18 + call void @_ZSt25__throw_bad_function_callv() #17 unreachable _ZNKSt8functionIFvjRKN3sat3cutEEEclEjS3_.exit.i: ; preds = %for.body.i58 @@ -470,7 +470,7 @@ for.body: ; preds = %for.body.lr.ph, %_Z br i1 %tobool.not.i.i6, label %if.then.i, label %_ZNKSt8functionIFvjRKN3sat3cutEEEclEjS3_.exit if.then.i: ; preds = %for.body - call void @_ZSt25__throw_bad_function_callv() #18 + call void @_ZSt25__throw_bad_function_callv() #17 unreachable _ZNKSt8functionIFvjRKN3sat3cutEEEclEjS3_.exit: ; preds = %for.body @@ -529,7 +529,7 @@ if.then: ; preds = %invoke.cont6 to label %invoke.cont9 unwind label %lpad.loopexit.split-lp invoke.cont9: ; preds = %if.then - call void @exit(i32 noundef 114) #19 + call void @exit(i32 noundef 114) #18 unreachable lpad.loopexit: ; preds = %if.end, %for.body @@ -544,7 +544,7 @@ lpad.loopexit.split-lp: ; preds = %if.then lpad: ; preds = %lpad.loopexit.split-lp, %lpad.loopexit %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit7, %lpad.loopexit ], [ %lpad.loopexit.split-lp8, %lpad.loopexit.split-lp ] - call void @_ZN9hashtableIPKN3sat3cutENS1_9hash_procENS1_7eq_procEED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %table) #20 + call void @_ZN9hashtableIPKN3sat3cutENS1_9hash_procENS1_7eq_procEED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %table) #19 resume { ptr, i32 } %lpad.phi if.end: ; preds = %invoke.cont6 @@ -571,7 +571,7 @@ terminate.lpad.i.i: ; preds = %for.cond.preheader. %3 = landingpad { ptr, i32 } catch ptr null %4 = extractvalue { ptr, i32 } %3, 0 - call void @__clang_call_terminate(ptr %4) #19 + call void @__clang_call_terminate(ptr %4) #18 unreachable _ZN9hashtableIPKN3sat3cutENS1_9hash_procENS1_7eq_procEED2Ev.exit: ; preds = %for.end, %for.cond.preheader.i.i.i.i @@ -846,7 +846,7 @@ for.inc54: ; preds = %_ZNK3sat3cutixEj.ex for.end56: ; preds = %for.inc54, %for.cond27.preheader tail call void @_Z26notify_assertion_violationPKciS0_(ptr noundef nonnull @.str.11, i32 noundef 404, ptr noundef nonnull @.str.10) - tail call void @exit(i32 noundef 114) #19 + tail call void @exit(i32 noundef 114) #18 unreachable return: ; preds = %if.end48, %if.then37, %if.end21, %if.then14 @@ -868,7 +868,7 @@ terminate.lpad.i: ; preds = %for.cond.preheader. %1 = landingpad { ptr, i32 } catch ptr null %2 = extractvalue { ptr, i32 } %1, 0 - tail call void @__clang_call_terminate(ptr %2) #19 + tail call void @__clang_call_terminate(ptr %2) #18 unreachable _ZN14core_hashtableI18default_hash_entryIPKN3sat3cutEENS2_9hash_procENS2_7eq_procEED2Ev.exit: ; preds = %entry, %for.cond.preheader.i.i.i @@ -1201,7 +1201,7 @@ entry: if.then: ; preds = %entry tail call void @_Z26notify_assertion_violationPKciS0_(ptr noundef nonnull @.str, i32 noundef 114, ptr noundef nonnull @.str.3) - tail call void @exit(i32 noundef 114) #19 + tail call void @exit(i32 noundef 114) #18 unreachable if.end: ; preds = %entry @@ -4312,7 +4312,7 @@ sw.bb12276.i: ; preds = %for.end sw.default.i: ; preds = %for.end tail call void @_Z26notify_assertion_violationPKciS0_(ptr noundef nonnull @.str.9, i32 noundef 842, ptr noundef nonnull @.str.10) - tail call void @exit(i32 noundef 114) #19 + tail call void @exit(i32 noundef 114) #18 unreachable _ZL13compute_shiftmj.exit: ; preds = %for.end, %sw.bb.i, %sw.bb1.i, %sw.bb4.i, %sw.bb6.i, %sw.bb17.i, %sw.bb22.i, %sw.bb34.i, %sw.bb36.i, %sw.bb59.i, %sw.bb70.i, %sw.bb95.i, %sw.bb100.i, %sw.bb126.i, %sw.bb138.i, %sw.bb164.i, %sw.bb166.i, %sw.bb213.i, %sw.bb236.i, %sw.bb287.i, %sw.bb298.i, %sw.bb351.i, %sw.bb376.i, %sw.bb429.i, %sw.bb434.i, %sw.bb488.i, %sw.bb514.i, %sw.bb568.i, %sw.bb580.i, %sw.bb636.i, %sw.bb662.i, %sw.bb716.i, %sw.bb718.i, %sw.bb813.i, %sw.bb860.i, %sw.bb963.i, %sw.bb986.i, %sw.bb1093.i, %sw.bb1144.i, %sw.bb1251.i, %sw.bb1262.i, %sw.bb1371.i, %sw.bb1424.i, %sw.bb1533.i, %sw.bb1558.i, %sw.bb1671.i, %sw.bb1724.i, %sw.bb1833.i, %sw.bb1838.i, %sw.bb1948.i, %sw.bb2002.i, %sw.bb2112.i, %sw.bb2138.i, %sw.bb2252.i, %sw.bb2306.i, %sw.bb2416.i, %sw.bb2428.i, %sw.bb2544.i, %sw.bb2600.i, %sw.bb2712.i, %sw.bb2738.i, %sw.bb2854.i, %sw.bb2908.i, %sw.bb3018.i, %sw.bb3020.i, %sw.bb3211.i, %sw.bb3306.i, %sw.bb3513.i, %sw.bb3560.i, %sw.bb3775.i, %sw.bb3878.i, %sw.bb4093.i, %sw.bb4116.i, %sw.bb4335.i, %sw.bb4442.i, %sw.bb4661.i, %sw.bb4712.i, %sw.bb4939.i, %sw.bb5046.i, %sw.bb5265.i, %sw.bb5276.i, %sw.bb5497.i, %sw.bb5606.i, %sw.bb5827.i, %sw.bb5880.i, %sw.bb6109.i, %sw.bb6218.i, %sw.bb6439.i, %sw.bb6464.i, %sw.bb6697.i, %sw.bb6810.i, %sw.bb7035.i, %sw.bb7088.i, %sw.bb7321.i, %sw.bb7430.i, %sw.bb7651.i, %sw.bb7656.i, %sw.bb7878.i, %sw.bb7988.i, %sw.bb8210.i, %sw.bb8264.i, %sw.bb8494.i, %sw.bb8604.i, %sw.bb8826.i, %sw.bb8852.i, %sw.bb9086.i, %sw.bb9200.i, %sw.bb9426.i, %sw.bb9480.i, %sw.bb9714.i, %sw.bb9824.i, %sw.bb10046.i, %sw.bb10058.i, %sw.bb10294.i, %sw.bb10410.i, %sw.bb10638.i, %sw.bb10694.i, %sw.bb10930.i, %sw.bb11042.i, %sw.bb11266.i, %sw.bb11292.i, %sw.bb11532.i, %sw.bb11648.i, %sw.bb11876.i, %sw.bb11930.i, %sw.bb12166.i, %sw.bb12276.i @@ -5162,8 +5162,8 @@ if.end: ; preds = %while.body, %if.els ret i64 %m.1 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define hidden void @_ZN3sat3cut11remove_elemEj(ptr noundef nonnull align 8 dereferenceable(48) %this, i32 noundef %i) local_unnamed_addr #10 align 2 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define hidden void @_ZN3sat3cut11remove_elemEj(ptr noundef nonnull align 8 dereferenceable(48) %this, i32 noundef %i) local_unnamed_addr #8 align 2 { entry: %m_size = getelementptr inbounds i8, ptr %this, i64 4 %0 = load i32, ptr %m_size, align 4 @@ -5282,7 +5282,7 @@ for.end29: ; preds = %for.body24, %for.en } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable -define hidden { i64, i64 } @_ZNK3sat3cut4evalERK7svectorINS_7cut_valEjE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(48) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %env) local_unnamed_addr #11 align 2 { +define hidden { i64, i64 } @_ZNK3sat3cut4evalERK7svectorINS_7cut_valEjE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(48) %this, ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %env) local_unnamed_addr #10 align 2 { entry: %m_table.i = getelementptr inbounds i8, ptr %this, i64 32 %0 = load i64, ptr %m_table.i, align 8 @@ -5426,7 +5426,7 @@ invoke.cont: ; preds = %call.i.noexc to label %invoke.cont1 unwind label %lpad.loopexit.split-lp invoke.cont1: ; preds = %invoke.cont - call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %strm) #20 + call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %strm) #19 ret void lpad.loopexit: ; preds = %for.body.i @@ -5441,7 +5441,7 @@ lpad.loopexit.split-lp: ; preds = %invoke.cont lpad: ; preds = %lpad.loopexit.split-lp, %lpad.loopexit %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit2, %lpad.loopexit ], [ %lpad.loopexit.split-lp3, %lpad.loopexit.split-lp ] - call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %strm) #20 + call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %strm) #19 resume { ptr, i32 } %lpad.phi } @@ -5453,9 +5453,9 @@ declare void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strE declare void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #1 ; Function Attrs: noreturn nounwind uwtable -define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #12 comdat { - %2 = tail call ptr @__cxa_begin_catch(ptr %0) #20 - tail call void @_ZSt9terminatev() #19 +define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #11 comdat { + %2 = tail call ptr @__cxa_begin_catch(ptr %0) #19 + tail call void @_ZSt9terminatev() #18 unreachable } @@ -5470,7 +5470,7 @@ declare noundef ptr @_ZN6region8allocateEm(ptr noundef nonnull align 8 dereferen declare noalias noundef ptr @_ZN6memory8allocateEm(i64 noundef) local_unnamed_addr #0 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #13 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #12 ; Function Attrs: mustprogress uwtable define linkonce_odr hidden noundef ptr @_ZNK14core_hashtableI18default_hash_entryIPKN3sat3cutEENS2_9hash_procENS2_7eq_procEE9find_coreERKS4_(ptr noundef nonnull align 8 dereferenceable(20) %this, ptr noundef nonnull align 8 dereferenceable(8) %e) local_unnamed_addr #3 comdat align 2 { @@ -5723,7 +5723,7 @@ for.inc17.i: ; preds = %for.body13.i for.end19.i: ; preds = %for.cond11.preheader.i, %for.inc17.i tail call void @_Z26notify_assertion_violationPKciS0_(ptr noundef nonnull @.str.11, i32 noundef 212, ptr noundef nonnull @.str.10) - tail call void @exit(i32 noundef 114) #19 + tail call void @exit(i32 noundef 114) #18 unreachable for.inc21.sink.split.i: ; preds = %for.body8.i, %for.body13.i @@ -5758,24 +5758,24 @@ _ZN14core_hashtableI18default_hash_entryIPKN3sat3cutEENS2_9hash_procENS2_7eq_pro } ; Function Attrs: noreturn -declare void @_ZSt25__throw_bad_function_callv() local_unnamed_addr #14 +declare void @_ZSt25__throw_bad_function_callv() local_unnamed_addr #13 ; Function Attrs: uwtable -define internal void @_GLOBAL__sub_I_sat_cutset.cpp() #15 section ".text.startup" { +define internal void @_GLOBAL__sub_I_sat_cutset.cpp() #14 section ".text.startup" { entry: tail call void @_ZNSt8ios_base4InitC1Ev(ptr noundef nonnull align 1 dereferenceable(1) @_ZStL8__ioinit) - %0 = tail call i32 @__cxa_atexit(ptr nonnull @_ZNSt8ios_base4InitD1Ev, ptr nonnull @_ZStL8__ioinit, ptr nonnull @__dso_handle) #20 + %0 = tail call i32 @__cxa_atexit(ptr nonnull @_ZNSt8ios_base4InitD1Ev, ptr nonnull @_ZStL8__ioinit, ptr nonnull @__dso_handle) #19 ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #16 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #15 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #16 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #15 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umax.i32(i32, i32) #17 +declare i32 @llvm.umax.i32(i32, i32) #16 attributes #0 = { "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 #1 = { 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" } @@ -5787,17 +5787,16 @@ attributes #6 = { mustprogress nocallback nofree nounwind willreturn memory(argm attributes #7 = { 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 #8 = { mustprogress 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 #9 = { 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 #10 = { mustprogress 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 #11 = { 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 #12 = { noreturn nounwind uwtable "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 #13 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #14 = { noreturn "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 #15 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #17 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #18 = { noreturn } -attributes #19 = { noreturn nounwind } -attributes #20 = { nounwind } +attributes #10 = { 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 #11 = { noreturn nounwind uwtable "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 #12 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #13 = { noreturn "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 #14 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #16 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #17 = { noreturn } +attributes #18 = { noreturn nounwind } +attributes #19 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/zstd/optimized/xxhash.c.ll b/bench/zstd/optimized/xxhash.c.ll index 6ef09350c05..4bc7e5f4e05 100644 --- a/bench/zstd/optimized/xxhash.c.ll +++ b/bench/zstd/optimized/xxhash.c.ll @@ -9,7 +9,7 @@ entry: ret i32 802 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define i32 @ZSTD_XXH32(ptr noundef readonly %input, i64 noundef %len, i32 noundef %seed) local_unnamed_addr #1 { entry: %cmp.i = icmp eq ptr %input, null @@ -144,14 +144,14 @@ XXH32_endian_align.exit: ; preds = %do.body7.i.i, %whil ; Function Attrs: mustprogress nofree nounwind willreturn memory(inaccessiblemem: readwrite) uwtable define noalias noundef ptr @ZSTD_XXH32_createState() local_unnamed_addr #2 { entry: - %call.i = tail call noalias noundef dereferenceable_or_null(48) ptr @malloc(i64 noundef 48) #16 + %call.i = tail call noalias noundef dereferenceable_or_null(48) ptr @malloc(i64 noundef 48) #15 ret ptr %call.i } ; Function Attrs: mustprogress nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable define noundef i32 @ZSTD_XXH32_freeState(ptr nocapture noundef %statePtr) local_unnamed_addr #3 { entry: - tail call void @free(ptr noundef %statePtr) #17 + tail call void @free(ptr noundef %statePtr) #16 ret i32 0 } @@ -188,7 +188,7 @@ declare void @llvm.assume(i1 noundef) #6 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #7 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: write) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: write) uwtable define noundef i32 @ZSTD_XXH32_update(ptr nocapture noundef %state, ptr noundef %input, i64 noundef %len) local_unnamed_addr #8 { entry: %cmp = icmp eq ptr %input, null @@ -327,7 +327,7 @@ return: ; preds = %if.end96, %if.then9 ret i32 0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define i32 @ZSTD_XXH32_digest(ptr nocapture noundef readonly %state) local_unnamed_addr #1 { entry: %large_len = getelementptr inbounds i8, ptr %state, i64 4 @@ -421,14 +421,14 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef i32 @ZSTD_XXH32_hashFromCanonical(ptr nocapture noundef readonly %src) local_unnamed_addr #11 { +define noundef i32 @ZSTD_XXH32_hashFromCanonical(ptr nocapture noundef readonly %src) local_unnamed_addr #1 { entry: %src.val = load i32, ptr %src, align 1 %or7.i.i = tail call noundef i32 @llvm.bswap.i32(i32 %src.val) ret i32 %or7.i.i } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define i64 @ZSTD_XXH64(ptr nocapture noundef readonly %input, i64 noundef %len, i64 noundef %seed) local_unnamed_addr #1 { entry: %cmp.i = icmp eq ptr %input, null @@ -605,14 +605,14 @@ XXH64_endian_align.exit: ; preds = %while.body17.i.i, % ; Function Attrs: mustprogress nofree nounwind willreturn memory(inaccessiblemem: readwrite) uwtable define noalias noundef ptr @ZSTD_XXH64_createState() local_unnamed_addr #2 { entry: - %call.i = tail call noalias noundef dereferenceable_or_null(88) ptr @malloc(i64 noundef 88) #16 + %call.i = tail call noalias noundef dereferenceable_or_null(88) ptr @malloc(i64 noundef 88) #15 ret ptr %call.i } ; Function Attrs: mustprogress nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable define noundef i32 @ZSTD_XXH64_freeState(ptr nocapture noundef %statePtr) local_unnamed_addr #3 { entry: - tail call void @free(ptr noundef %statePtr) #17 + tail call void @free(ptr noundef %statePtr) #16 ret i32 0 } @@ -643,7 +643,7 @@ entry: ret i32 0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: write) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: write) uwtable define noundef i32 @ZSTD_XXH64_update(ptr nocapture noundef %state, ptr nocapture noundef %input, i64 noundef %len) local_unnamed_addr #8 { entry: %cmp = icmp eq ptr %input, null @@ -802,7 +802,7 @@ return: ; preds = %if.end97, %if.then1 ret i32 0 } -; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable +; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define i64 @ZSTD_XXH64_digest(ptr nocapture noundef readonly %state) local_unnamed_addr #1 { entry: %0 = load i64, ptr %state, align 8 @@ -948,7 +948,7 @@ entry: } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable -define noundef i64 @ZSTD_XXH64_hashFromCanonical(ptr nocapture noundef readonly %src) local_unnamed_addr #11 { +define noundef i64 @ZSTD_XXH64_hashFromCanonical(ptr nocapture noundef readonly %src) local_unnamed_addr #1 { entry: %src.val = load i64, ptr %src, align 1 %or19.i.i = tail call noundef i64 @llvm.bswap.i64(i64 %src.val) @@ -956,44 +956,43 @@ entry: } ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) -declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #12 +declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #11 ; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) -declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #13 +declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #12 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) -declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #14 +declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #13 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.bswap.i32(i32) #15 +declare i32 @llvm.bswap.i32(i32) #14 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.bswap.i64(i64) #15 +declare i64 @llvm.bswap.i64(i64) #14 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare <4 x i32> @llvm.fshl.v4i32(<4 x i32>, <4 x i32>, <4 x i32>) #15 +declare <4 x i32> @llvm.fshl.v4i32(<4 x i32>, <4 x i32>, <4 x i32>) #14 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #15 +declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #14 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 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 #5 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write, inaccessiblemem: 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 #6 = { mustprogress nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } attributes #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #8 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: 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 #8 = { nofree norecurse nosync nounwind memory(argmem: readwrite, inaccessiblemem: 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 #9 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } 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 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 #13 = { 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 #14 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #15 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #16 = { nounwind allocsize(0) } -attributes #17 = { nounwind } +attributes #11 = { 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 #12 = { 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 #13 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } +attributes #14 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #15 = { nounwind allocsize(0) } +attributes #16 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/zstd/optimized/zstd_decompress_block.c.ll b/bench/zstd/optimized/zstd_decompress_block.c.ll index c6f2750aaf1..f4dcac3c2a4 100644 --- a/bench/zstd/optimized/zstd_decompress_block.c.ll +++ b/bench/zstd/optimized/zstd_decompress_block.c.ll @@ -272,11 +272,11 @@ if.then164: ; preds = %if.end161 br i1 %singleStream.0, label %if.else, label %if.then166 if.then166: ; preds = %if.then164 - %call169 = tail call i64 @HUF_decompress1X_usingDTable(ptr noundef %14, i64 noundef %litSize.0, ptr noundef nonnull %add.ptr171, i64 noundef %litCSize.0, ptr noundef %17, i32 noundef %or52) #16 + %call169 = tail call i64 @HUF_decompress1X_usingDTable(ptr noundef %14, i64 noundef %litSize.0, ptr noundef nonnull %add.ptr171, i64 noundef %litCSize.0, ptr noundef %17, i32 noundef %or52) #17 br label %if.end192 if.else: ; preds = %if.then164 - %call173 = tail call i64 @HUF_decompress4X_usingDTable(ptr noundef %14, i64 noundef %litSize.0, ptr noundef nonnull %add.ptr171, i64 noundef %litCSize.0, ptr noundef %17, i32 noundef %or52) #16 + %call173 = tail call i64 @HUF_decompress4X_usingDTable(ptr noundef %14, i64 noundef %litSize.0, ptr noundef nonnull %add.ptr171, i64 noundef %litCSize.0, ptr noundef %17, i32 noundef %or52) #17 br label %if.end192 if.else175: ; preds = %if.end161 @@ -286,11 +286,11 @@ if.else175: ; preds = %if.end161 br i1 %singleStream.0, label %if.else182, label %if.then177 if.then177: ; preds = %if.else175 - %call181 = tail call i64 @HUF_decompress1X1_DCtx_wksp(ptr noundef nonnull %hufTable184, ptr noundef %14, i64 noundef %litSize.0, ptr noundef nonnull %add.ptr187, i64 noundef %litCSize.0, ptr noundef nonnull %workspace188, i64 noundef 2560, i32 noundef %or52) #16 + %call181 = tail call i64 @HUF_decompress1X1_DCtx_wksp(ptr noundef nonnull %hufTable184, ptr noundef %14, i64 noundef %litSize.0, ptr noundef nonnull %add.ptr187, i64 noundef %litCSize.0, ptr noundef nonnull %workspace188, i64 noundef 2560, i32 noundef %or52) #17 br label %if.end192 if.else182: ; preds = %if.else175 - %call190 = tail call i64 @HUF_decompress4X_hufOnly_wksp(ptr noundef nonnull %hufTable184, ptr noundef %14, i64 noundef %litSize.0, ptr noundef nonnull %add.ptr187, i64 noundef %litCSize.0, ptr noundef nonnull %workspace188, i64 noundef 2560, i32 noundef %or52) #16 + %call190 = tail call i64 @HUF_decompress4X_hufOnly_wksp(ptr noundef nonnull %hufTable184, ptr noundef %14, i64 noundef %litSize.0, ptr noundef nonnull %add.ptr187, i64 noundef %litCSize.0, ptr noundef nonnull %workspace188, i64 noundef 2560, i32 noundef %or52) #17 br label %if.end192 if.end192: ; preds = %if.then177, %if.else182, %if.then166, %if.else @@ -1257,7 +1257,7 @@ for.body.i: ; preds = %for.body.i, %if.the sw.bb51.i: ; preds = %do.end85 %sub.ptr.rhs.cast94 = ptrtoint ptr %add.ptr72 to i64 %sub.ptr.sub95 = sub i64 %sub.ptr.lhs.cast93, %sub.ptr.rhs.cast94 - %call.i = call i64 @FSE_readNCount(ptr noundef nonnull %norm.i, ptr noundef nonnull %max.addr.i, ptr noundef nonnull %tableLog.i, ptr noundef nonnull %add.ptr72, i64 noundef %sub.ptr.sub95) #16 + %call.i = call i64 @FSE_readNCount(ptr noundef nonnull %norm.i, ptr noundef nonnull %max.addr.i, ptr noundef nonnull %tableLog.i, ptr noundef nonnull %add.ptr72, i64 noundef %sub.ptr.sub95) #17 %cmp.i.i = icmp ult i64 %call.i, -119 br i1 %cmp.i.i, label %do.body66.i, label %ZSTD_buildSeqTable.exit.thread @@ -1369,7 +1369,7 @@ for.body.i84: ; preds = %for.body.i84, %if.t sw.bb51.i67: ; preds = %do.end111 %sub.ptr.rhs.cast116 = ptrtoint ptr %add.ptr112 to i64 %sub.ptr.sub117 = sub i64 %sub.ptr.lhs.cast93, %sub.ptr.rhs.cast116 - %call.i68 = call i64 @FSE_readNCount(ptr noundef nonnull %norm.i66, ptr noundef nonnull %max.addr.i64, ptr noundef nonnull %tableLog.i65, ptr noundef nonnull %add.ptr112, i64 noundef %sub.ptr.sub117) #16 + %call.i68 = call i64 @FSE_readNCount(ptr noundef nonnull %norm.i66, ptr noundef nonnull %max.addr.i64, ptr noundef nonnull %tableLog.i65, ptr noundef nonnull %add.ptr112, i64 noundef %sub.ptr.sub117) #17 %cmp.i.i69 = icmp ult i64 %call.i68, -119 br i1 %cmp.i.i69, label %do.body66.i71, label %ZSTD_buildSeqTable.exit104.thread @@ -1476,7 +1476,7 @@ for.body.i127: ; preds = %for.body.i127, %if. sw.bb51.i110: ; preds = %do.end137 %sub.ptr.rhs.cast142 = ptrtoint ptr %add.ptr138 to i64 %sub.ptr.sub143 = sub i64 %sub.ptr.lhs.cast93, %sub.ptr.rhs.cast142 - %call.i111 = call i64 @FSE_readNCount(ptr noundef nonnull %norm.i109, ptr noundef nonnull %max.addr.i107, ptr noundef nonnull %tableLog.i108, ptr noundef nonnull %add.ptr138, i64 noundef %sub.ptr.sub143) #16 + %call.i111 = call i64 @FSE_readNCount(ptr noundef nonnull %norm.i109, ptr noundef nonnull %max.addr.i107, ptr noundef nonnull %tableLog.i108, ptr noundef nonnull %add.ptr138, i64 noundef %sub.ptr.sub143) #17 %cmp.i.i112 = icmp ult i64 %call.i111, -119 br i1 %cmp.i.i112, label %do.body66.i114, label %ZSTD_buildSeqTable.exit147.thread @@ -5055,7 +5055,7 @@ ZSTD_initFseState.exit1094.i: ; preds = %if.end18.i.i1076.i, %add.ptr.i1071.i = getelementptr inbounds i8, ptr %41, i64 8 %table.i1072.i = getelementptr inbounds i8, ptr %seqState.i.i, i64 80 store ptr %add.ptr.i1071.i, ptr %table.i1072.i, align 8 - tail call void asm sideeffect ".p2align 6", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !32 + tail call void asm sideeffect ".p2align 6", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !32 %arrayidx105.i376.i.i = getelementptr inbounds i8, ptr %seqState.i.i, i64 96 %arrayidx107.i378.i.i = getelementptr inbounds i8, ptr %seqState.i.i, i64 104 %sub.ptr.rhs.cast23.i.i.i = ptrtoint ptr %3 to i64 @@ -6055,11 +6055,11 @@ if.end96.i.i: ; preds = %ZSTD_execSequence.e br i1 %cmp97.i.i, label %for.body102.i.lr.ph.i, label %if.end119.i.i for.body102.i.lr.ph.i: ; preds = %if.end96.i.i - tail call void asm sideeffect ".p2align 6", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !37 - tail call void asm sideeffect "nop", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !38 - tail call void asm sideeffect ".p2align 4", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !39 - tail call void asm sideeffect "nop", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !40 - tail call void asm sideeffect ".p2align 3", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !41 + tail call void asm sideeffect ".p2align 6", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !37 + tail call void asm sideeffect "nop", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !38 + tail call void asm sideeffect ".p2align 4", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !39 + tail call void asm sideeffect "nop", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !40 + tail call void asm sideeffect ".p2align 3", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !41 %sequence103.i.sroa.4.0.sequence103433.i.sroa_idx.i = getelementptr inbounds i8, ptr %sequence103433.i.i, i64 8 %sequence103.i.sroa.7.0.sequence103433.i.sroa_idx.i = getelementptr inbounds i8, ptr %sequence103433.i.i, i64 16 br label %for.body102.i.i @@ -7115,11 +7115,11 @@ ZSTD_initFseState.exit516.i: ; preds = %if.end18.i.i498.i, %add.ptr.i493.i = getelementptr inbounds i8, ptr %43, i64 8 %table.i494.i = getelementptr inbounds i8, ptr %seqState.i.i, i64 80 store ptr %add.ptr.i493.i, ptr %table.i494.i, align 8 - tail call void asm sideeffect ".p2align 6", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !48 - tail call void asm sideeffect "nop", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !49 - tail call void asm sideeffect ".p2align 4", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !50 - tail call void asm sideeffect "nop", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !51 - tail call void asm sideeffect ".p2align 3", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !52 + tail call void asm sideeffect ".p2align 6", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !48 + tail call void asm sideeffect "nop", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !49 + tail call void asm sideeffect ".p2align 4", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !50 + tail call void asm sideeffect "nop", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !51 + tail call void asm sideeffect ".p2align 3", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !52 %sequence.i.sroa.4.0.sequence101.i.sroa_idx.i = getelementptr inbounds i8, ptr %sequence101.i.i, i64 8 %sequence.i.sroa.7.0.sequence101.i.sroa_idx.i = getelementptr inbounds i8, ptr %sequence101.i.i, i64 16 %add.ptr3.i.i.i = getelementptr inbounds i8, ptr %cond.i.i, i64 -32 @@ -11030,8 +11030,8 @@ return: ; preds = %do.body38, %do.body ret i64 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @ZSTD_safecopy(ptr noundef %op, ptr noundef %oend_w, ptr noundef %ip, i64 noundef %length, i32 noundef %ovtype) unnamed_addr #12 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc void @ZSTD_safecopy(ptr noundef %op, ptr noundef %oend_w, ptr noundef %ip, i64 noundef %length, i32 noundef %ovtype) unnamed_addr #13 { entry: %sub.ptr.lhs.cast = ptrtoint ptr %op to i64 %sub.ptr.rhs.cast = ptrtoint ptr %ip to i64 @@ -11227,7 +11227,7 @@ while.end28: ; preds = %do.body11.i47, %do. } ; Function Attrs: nounwind uwtable -define internal fastcc i64 @ZSTD_decompressSequencesSplitLitBuffer_bmi2(ptr noundef %dctx, ptr noundef %dst, i64 noundef %maxDstSize, ptr noundef %seqStart, i64 noundef %seqSize, i32 noundef %nbSeq) unnamed_addr #13 { +define internal fastcc i64 @ZSTD_decompressSequencesSplitLitBuffer_bmi2(ptr noundef %dctx, ptr noundef %dst, i64 noundef %maxDstSize, ptr noundef %seqStart, i64 noundef %seqSize, i32 noundef %nbSeq) unnamed_addr #14 { entry: %sequence449.i = alloca %struct.seq_t, align 8 %sequence103433.i = alloca %struct.seq_t, align 8 @@ -11605,7 +11605,7 @@ ZSTD_initFseState.exit1094: ; preds = %if.then.i.i1093, %i %add.ptr.i1071 = getelementptr inbounds i8, ptr %40, i64 8 %table.i1072 = getelementptr inbounds i8, ptr %seqState.i, i64 80 store ptr %add.ptr.i1071, ptr %table.i1072, align 8 - tail call void asm sideeffect ".p2align 6", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !32 + tail call void asm sideeffect ".p2align 6", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !32 %arrayidx105.i376.i = getelementptr inbounds i8, ptr %seqState.i, i64 96 %arrayidx107.i378.i = getelementptr inbounds i8, ptr %seqState.i, i64 104 %sub.ptr.rhs.cast23.i.i = ptrtoint ptr %2 to i64 @@ -12605,11 +12605,11 @@ if.end96.i: ; preds = %ZSTD_execSequence.e br i1 %cmp97.i, label %for.body102.i.lr.ph, label %if.end119.i for.body102.i.lr.ph: ; preds = %if.end96.i - tail call void asm sideeffect ".p2align 6", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !37 - tail call void asm sideeffect "nop", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !38 - tail call void asm sideeffect ".p2align 4", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !39 - tail call void asm sideeffect "nop", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !40 - tail call void asm sideeffect ".p2align 3", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !41 + tail call void asm sideeffect ".p2align 6", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !37 + tail call void asm sideeffect "nop", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !38 + tail call void asm sideeffect ".p2align 4", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !39 + tail call void asm sideeffect "nop", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !40 + tail call void asm sideeffect ".p2align 3", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !41 %sequence103.i.sroa.4.0.sequence103433.i.sroa_idx = getelementptr inbounds i8, ptr %sequence103433.i, i64 8 %sequence103.i.sroa.7.0.sequence103433.i.sroa_idx = getelementptr inbounds i8, ptr %sequence103433.i, i64 16 br label %for.body102.i @@ -13251,7 +13251,7 @@ ZSTD_decompressSequences_bodySplitLitBuffer.exit: ; preds = %do.body53.i, %do.bo } ; Function Attrs: nounwind uwtable -define internal fastcc i64 @ZSTD_decompressSequences_bmi2(ptr nocapture noundef %dctx, ptr noundef %dst, i64 noundef %maxDstSize, ptr noundef %seqStart, i64 noundef %seqSize, i32 noundef %nbSeq) unnamed_addr #13 { +define internal fastcc i64 @ZSTD_decompressSequences_bmi2(ptr nocapture noundef %dctx, ptr noundef %dst, i64 noundef %maxDstSize, ptr noundef %seqStart, i64 noundef %seqSize, i32 noundef %nbSeq) unnamed_addr #14 { entry: %sequence101.i = alloca %struct.seq_t, align 8 %litPtr.i = alloca ptr, align 8 @@ -13644,11 +13644,11 @@ ZSTD_initFseState.exit516: ; preds = %if.then.i.i515, %if %add.ptr.i493 = getelementptr inbounds i8, ptr %42, i64 8 %table.i494 = getelementptr inbounds i8, ptr %seqState.i, i64 80 store ptr %add.ptr.i493, ptr %table.i494, align 8 - tail call void asm sideeffect ".p2align 6", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !48 - tail call void asm sideeffect "nop", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !49 - tail call void asm sideeffect ".p2align 4", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !50 - tail call void asm sideeffect "nop", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !51 - tail call void asm sideeffect ".p2align 3", "~{dirflag},~{fpsr},~{flags}"() #16, !srcloc !52 + tail call void asm sideeffect ".p2align 6", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !48 + tail call void asm sideeffect "nop", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !49 + tail call void asm sideeffect ".p2align 4", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !50 + tail call void asm sideeffect "nop", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !51 + tail call void asm sideeffect ".p2align 3", "~{dirflag},~{fpsr},~{flags}"() #17, !srcloc !52 %sequence.i.sroa.4.0.sequence101.i.sroa_idx = getelementptr inbounds i8, ptr %sequence101.i, i64 8 %sequence.i.sroa.7.0.sequence101.i.sroa_idx = getelementptr inbounds i8, ptr %sequence101.i, i64 16 %add.ptr3.i.i = getelementptr inbounds i8, ptr %cond.i, i64 -32 @@ -14251,22 +14251,22 @@ ZSTD_decompressSequences_body.exit: ; preds = %if.then28.i.i, %ZST } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #14 +declare i64 @llvm.umin.i64(i64, i64) #15 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.smax.i64(i64, i64) #14 +declare i64 @llvm.smax.i64(i64, i64) #15 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smin.i32(i32, i32) #14 +declare i32 @llvm.smin.i32(i32, i32) #15 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #14 +declare i64 @llvm.umax.i64(i64, i64) #15 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #15 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #16 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #15 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #16 attributes #0 = { 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 #1 = { 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" } @@ -14281,10 +14281,11 @@ attributes #9 = { mustprogress nocallback nofree nounwind willreturn memory(argm attributes #10 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #11 = { nofree norecurse nosync nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+bmi,+bmi2,+cmov,+cx8,+fxsr,+lzcnt,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #12 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+bmi,+bmi2,+cmov,+cx8,+fxsr,+lzcnt,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } -attributes #14 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #15 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #16 = { nounwind } +attributes #13 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "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 = { nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="128" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+bmi,+bmi2,+cmov,+cx8,+fxsr,+lzcnt,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } +attributes #15 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #16 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #17 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/zstd/optimized/zstd_v01.c.ll b/bench/zstd/optimized/zstd_v01.c.ll index a2a915c8f36..04582c34bcf 100644 --- a/bench/zstd/optimized/zstd_v01.c.ll +++ b/bench/zstd/optimized/zstd_v01.c.ll @@ -3792,7 +3792,7 @@ entry: ret i64 %call } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @ZSTDv01_findFrameSizeInfoLegacy(ptr noundef %src, i64 noundef %srcSize, ptr nocapture noundef writeonly %cSize, ptr nocapture noundef writeonly %dBound) local_unnamed_addr #2 { entry: %cmp = icmp ult i64 %srcSize, 7 @@ -3951,7 +3951,7 @@ entry: ; Function Attrs: mustprogress nofree nounwind willreturn memory(write, argmem: none, inaccessiblemem: readwrite) uwtable define noalias noundef ptr @ZSTDv01_createDCtx() local_unnamed_addr #4 { entry: - %call = tail call noalias dereferenceable_or_null(10288) ptr @malloc(i64 noundef 10288) #17 + %call = tail call noalias dereferenceable_or_null(10288) ptr @malloc(i64 noundef 10288) #16 %cmp = icmp eq ptr %call, null br i1 %cmp, label %return, label %if.end @@ -3974,7 +3974,7 @@ declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #5 ; Function Attrs: mustprogress nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable define noundef i64 @ZSTDv01_freeDCtx(ptr nocapture noundef %dctx) local_unnamed_addr #6 { entry: - tail call void @free(ptr noundef %dctx) #18 + tail call void @free(ptr noundef %dctx) #17 ret i64 0 } @@ -4141,7 +4141,7 @@ declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #9 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #10 -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal fastcc i64 @FSE_readNCount(ptr nocapture noundef writeonly %normalizedCounter, ptr nocapture noundef %maxSVPtr, ptr nocapture noundef writeonly %tableLogPtr, ptr noundef %headerBuffer, i64 noundef %hbSize) unnamed_addr #2 { entry: %add.ptr = getelementptr inbounds i8, ptr %headerBuffer, i64 %hbSize @@ -4384,7 +4384,7 @@ return: ; preds = %land.rhs, %while.en } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal fastcc void @FSE_buildDTable(ptr nocapture noundef %dt, ptr nocapture noundef readonly %normalizedCounter, i32 noundef %maxSymbolValue, i32 noundef %tableLog) unnamed_addr #11 { +define internal fastcc void @FSE_buildDTable(ptr nocapture noundef %dt, ptr nocapture noundef readonly %normalizedCounter, i32 noundef %maxSymbolValue, i32 noundef %tableLog) unnamed_addr #2 { entry: %symbolNext = alloca [256 x i16], align 16 %add.ptr = getelementptr inbounds i8, ptr %dt, i64 4 @@ -4525,7 +4525,7 @@ return: ; preds = %for.end60, %entry, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal fastcc range(i64 1, 0) i64 @FSE_initDStream(ptr nocapture noundef writeonly %bitD, ptr noundef %srcBuffer, i64 noundef %srcSize) unnamed_addr #12 { +define internal fastcc range(i64 1, 0) i64 @FSE_initDStream(ptr nocapture noundef writeonly %bitD, ptr noundef %srcBuffer, i64 noundef %srcSize) unnamed_addr #11 { entry: %cmp = icmp eq i64 %srcSize, 0 br i1 %cmp, label %return, label %if.end @@ -4655,7 +4655,7 @@ return: ; preds = %if.end8, %if.end63, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 0, 4) i32 @FSE_reloadDStream(ptr nocapture noundef %bitD) unnamed_addr #13 { +define internal fastcc range(i32 0, 4) i32 @FSE_reloadDStream(ptr nocapture noundef %bitD) unnamed_addr #12 { entry: %bitsConsumed = getelementptr inbounds i8, ptr %bitD, i64 8 %0 = load i32, ptr %bitsConsumed, align 8 @@ -4721,23 +4721,23 @@ return: ; preds = %if.then15, %entry, } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.ctlz.i32(i32, i1 immarg) #14 +declare i32 @llvm.ctlz.i32(i32, i1 immarg) #13 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #10 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i16 @llvm.abs.i16(i16, i1 immarg) #15 +declare i16 @llvm.abs.i16(i16, i1 immarg) #14 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #16 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #15 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #16 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #15 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 = { 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 #2 = { 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 #2 = { 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 #3 = { 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 #4 = { mustprogress nofree nounwind willreturn memory(write, argmem: none, 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 #5 = { 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" } @@ -4746,14 +4746,13 @@ attributes #7 = { mustprogress nounwind willreturn allockind("free") memory(argm attributes #8 = { 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 #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #10 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #11 = { 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 #12 = { 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 #13 = { 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 #14 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #15 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #16 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #17 = { nounwind allocsize(0) } -attributes #18 = { nounwind } +attributes #11 = { 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 #12 = { 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 #13 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #14 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #15 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #16 = { nounwind allocsize(0) } +attributes #17 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/zstd/optimized/zstd_v04.c.ll b/bench/zstd/optimized/zstd_v04.c.ll index f1371a2e753..2f62848fd05 100644 --- a/bench/zstd/optimized/zstd_v04.c.ll +++ b/bench/zstd/optimized/zstd_v04.c.ll @@ -17,7 +17,7 @@ target triple = "x86_64-unknown-linux-gnu" @ZSTD_execSequence.dec32table = internal unnamed_addr constant [8 x i32] [i32 0, i32 1, i32 2, i32 1, i32 4, i32 4, i32 4, i32 4], align 16 @ZSTD_execSequence.dec64table = internal unnamed_addr constant [8 x i32] [i32 8, i32 8, i32 8, i32 7, i32 8, i32 9, i32 10, i32 11], align 16 -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define void @ZSTDv04_findFrameSizeInfoLegacy(ptr noundef %src, i64 noundef %srcSize, ptr nocapture noundef writeonly %cSize, ptr nocapture noundef writeonly %dBound) local_unnamed_addr #0 { entry: %cmp = icmp ult i64 %srcSize, 5 @@ -165,7 +165,7 @@ entry: %0 = trunc i64 %errorCode to i32 %conv.i.i = sub i32 0, %0 %retval.0.i.i = select i1 %cmp.i.i.i, i32 0, i32 %conv.i.i - %call1.i = tail call ptr @ERR_getErrorString(i32 noundef %retval.0.i.i) #22 + %call1.i = tail call ptr @ERR_getErrorString(i32 noundef %retval.0.i.i) #21 ret ptr %call1.i } @@ -331,7 +331,7 @@ ZSTD_decompress_usingDict.exit: ; preds = %if.end31.i, %if.end ; Function Attrs: nounwind uwtable define i64 @ZSTDv04_decompress(ptr noundef %dst, i64 noundef %maxDstSize, ptr noundef %src, i64 noundef %srcSize) local_unnamed_addr #2 { entry: - %call.i = tail call noalias dereferenceable_or_null(141448) ptr @malloc(i64 noundef 141448) #23 + %call.i = tail call noalias dereferenceable_or_null(141448) ptr @malloc(i64 noundef 141448) #22 %cmp.i = icmp eq ptr %call.i, null br i1 %cmp.i, label %return, label %if.end @@ -343,7 +343,7 @@ if.end: ; preds = %entry %previousDstEnd.i.i = getelementptr inbounds i8, ptr %call.i, i64 10256 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %previousDstEnd.i.i, i8 0, i64 32, i1 false) %call1 = tail call i64 @ZSTDv04_decompressDCtx(ptr noundef nonnull %call.i, ptr noundef %dst, i64 noundef %maxDstSize, ptr noundef %src, i64 noundef %srcSize) - tail call void @free(ptr noundef nonnull %call.i) #22 + tail call void @free(ptr noundef nonnull %call.i) #21 br label %return return: ; preds = %entry, %if.end @@ -569,7 +569,7 @@ entry: br i1 %cmp.i, label %ZBUFF_createDCtx.exit, label %if.end.i if.end.i: ; preds = %entry - %call.i.i = tail call noalias dereferenceable_or_null(141448) ptr @malloc(i64 noundef 141448) #23 + %call.i.i = tail call noalias dereferenceable_or_null(141448) ptr @malloc(i64 noundef 141448) #22 %cmp.i.i = icmp eq ptr %call.i.i, null br i1 %cmp.i.i, label %ZSTD_createDCtx.exit.i, label %if.end.i.i @@ -598,14 +598,14 @@ entry: if.end.i: ; preds = %entry %0 = load ptr, ptr %dctx, align 8 - tail call void @free(ptr noundef %0) #22 + tail call void @free(ptr noundef %0) #21 %inBuff.i = getelementptr inbounds i8, ptr %dctx, i64 40 %1 = load ptr, ptr %inBuff.i, align 8 - tail call void @free(ptr noundef %1) #22 + tail call void @free(ptr noundef %1) #21 %outBuff.i = getelementptr inbounds i8, ptr %dctx, i64 64 %2 = load ptr, ptr %outBuff.i, align 8 - tail call void @free(ptr noundef %2) #22 - tail call void @free(ptr noundef nonnull %dctx) #22 + tail call void @free(ptr noundef %2) #21 + tail call void @free(ptr noundef nonnull %dctx) #21 br label %ZBUFF_freeDCtx.exit ZBUFF_freeDCtx.exit: ; preds = %entry, %if.end.i @@ -800,9 +800,9 @@ sw.bb41.i: ; preds = %if.end35.i, %while. if.then43.i: ; preds = %sw.bb41.i %19 = load ptr, ptr %inBuff.i, align 8 - tail call void @free(ptr noundef %19) #22 + tail call void @free(ptr noundef %19) #21 store i64 131072, ptr %inBuffSize.i, align 8 - %call45.i = tail call noalias dereferenceable_or_null(131072) ptr @malloc(i64 noundef 131072) #23 + %call45.i = tail call noalias dereferenceable_or_null(131072) ptr @malloc(i64 noundef 131072) #22 store ptr %call45.i, ptr %inBuff.i, align 8 %cmp48.i = icmp eq ptr %call45.i, null br i1 %cmp48.i, label %ZBUFF_decompressContinue.exit, label %if.end51.i @@ -814,9 +814,9 @@ if.end51.i: ; preds = %if.then43.i, %sw.bb if.then53.i: ; preds = %if.end51.i %21 = load ptr, ptr %outBuff.i, align 8 - tail call void @free(ptr noundef %21) #22 + tail call void @free(ptr noundef %21) #21 store i64 %shl.i, ptr %outBuffSize.i, align 8 - %call55.i = tail call noalias ptr @malloc(i64 noundef %shl.i) #23 + %call55.i = tail call noalias ptr @malloc(i64 noundef %shl.i) #22 store ptr %call55.i, ptr %outBuff.i, align 8 %cmp58.i = icmp eq ptr %call55.i, null br i1 %cmp58.i, label %ZBUFF_decompressContinue.exit, label %if.end61.i @@ -1050,7 +1050,7 @@ ZBUFF_decompressContinue.exit: ; preds = %if.end.i.i, %ZSTD_g ; Function Attrs: mustprogress nofree nounwind willreturn memory(write, argmem: none, inaccessiblemem: readwrite) uwtable define noalias noundef ptr @ZSTDv04_createDCtx() local_unnamed_addr #5 { entry: - %call.i = tail call noalias dereferenceable_or_null(141448) ptr @malloc(i64 noundef 141448) #23 + %call.i = tail call noalias dereferenceable_or_null(141448) ptr @malloc(i64 noundef 141448) #22 %cmp.i = icmp eq ptr %call.i, null br i1 %cmp.i, label %ZSTD_createDCtx.exit, label %if.end.i @@ -1070,7 +1070,7 @@ ZSTD_createDCtx.exit: ; preds = %entry, %if.end.i ; Function Attrs: mustprogress nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) uwtable define noundef i64 @ZSTDv04_freeDCtx(ptr nocapture noundef %dctx) local_unnamed_addr #8 { entry: - tail call void @free(ptr noundef %dctx) #22 + tail call void @free(ptr noundef %dctx) #21 ret i64 0 } @@ -1194,7 +1194,7 @@ HUF_decompress.exit.i.i: ; preds = %for.body.i.i.i %spec.select.i.i.i = zext i1 %cmp37.i.i.i to i64 %arrayidx42.i.i.i = getelementptr inbounds [3 x ptr], ptr @HUF_decompress.decompress, i64 0, i64 %spec.select.i.i.i %9 = load ptr, ptr %arrayidx42.i.i.i, align 8 - %call.i.i.i = tail call i64 %9(ptr noundef nonnull %litBuffer.i, i64 noundef %conv.i.i, ptr noundef nonnull %add.ptr10.i.i, i64 noundef %conv4.i.i) #22 + %call.i.i.i = tail call i64 %9(ptr noundef nonnull %litBuffer.i, i64 noundef %conv.i.i, ptr noundef nonnull %add.ptr10.i.i, i64 noundef %conv4.i.i) #21 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %Dtime.i.i.i) %cmp.i.i.i.i = icmp ult i64 %call.i.i.i, -119 br i1 %cmp.i.i.i.i, label %ZSTD_decodeLiteralsBlock.exit, label %ZSTD_decodeLiteralsBlock.exit.thread45 @@ -2322,7 +2322,7 @@ return: ; preds = %if.end31.i, %if.the ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #11 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i64 @HUF_decompress4X2(ptr noundef %dst, i64 noundef %dstSize, ptr noundef %cSrc, i64 noundef %cSrcSize) #12 { entry: %bitD1.i = alloca %struct.BIT_DStream_t, align 8 @@ -3377,7 +3377,7 @@ return: ; preds = %HUF_readDTableX2.ex ret i64 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i64 @HUF_decompress4X4(ptr noundef %dst, i64 noundef %dstSize, ptr noundef %cSrc, i64 noundef %cSrcSize) #12 { if.end.i: %bitD1.i = alloca %struct.BIT_DStream_t, align 8 @@ -4699,7 +4699,7 @@ return: ; preds = %HUF_readDTableX4.ex ret i64 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal fastcc i64 @HUF_readStats(ptr nocapture noundef %huffWeight, ptr nocapture noundef %rankStats, ptr nocapture noundef writeonly %nbSymbolsPtr, ptr nocapture noundef writeonly %tableLogPtr, ptr noundef %src, i64 noundef %srcSize) unnamed_addr #0 { entry: %counting.i = alloca [256 x i16], align 16 @@ -5965,7 +5965,7 @@ return: ; preds = %for.body54, %if.end ret i64 %retval.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal fastcc i64 @FSE_readNCount(ptr nocapture noundef writeonly %normalizedCounter, ptr nocapture noundef %maxSVPtr, ptr nocapture noundef writeonly %tableLogPtr, ptr noundef %headerBuffer, i64 noundef %hbSize) unnamed_addr #0 { entry: %add.ptr = getelementptr inbounds i8, ptr %headerBuffer, i64 %hbSize @@ -6208,7 +6208,7 @@ return: ; preds = %land.rhs, %while.en } ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable -define internal fastcc range(i64 -46, 1) i64 @FSE_buildDTable(ptr nocapture noundef %dt, ptr nocapture noundef readonly %normalizedCounter, i32 noundef %maxSymbolValue, i32 noundef %tableLog) unnamed_addr #13 { +define internal fastcc range(i64 -46, 1) i64 @FSE_buildDTable(ptr nocapture noundef %dt, ptr nocapture noundef readonly %normalizedCounter, i32 noundef %maxSymbolValue, i32 noundef %tableLog) unnamed_addr #0 { entry: %symbolNext = alloca [256 x i16], align 16 %add.ptr = getelementptr inbounds i8, ptr %dt, i64 4 @@ -6356,7 +6356,7 @@ return: ; preds = %for.end61, %if.end, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal fastcc range(i64 1, 0) i64 @BIT_initDStream(ptr nocapture noundef writeonly %bitD, ptr noundef %srcBuffer, i64 noundef %srcSize) unnamed_addr #14 { +define internal fastcc range(i64 1, 0) i64 @BIT_initDStream(ptr nocapture noundef writeonly %bitD, ptr noundef %srcBuffer, i64 noundef %srcSize) unnamed_addr #13 { entry: %cmp = icmp eq i64 %srcSize, 0 br i1 %cmp, label %if.then, label %if.end @@ -6490,7 +6490,7 @@ return: ; preds = %if.end8, %if.end63, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define internal fastcc range(i32 0, 4) i32 @BIT_reloadDStream(ptr nocapture noundef %bitD) unnamed_addr #15 { +define internal fastcc range(i32 0, 4) i32 @BIT_reloadDStream(ptr nocapture noundef %bitD) unnamed_addr #14 { entry: %bitsConsumed = getelementptr inbounds i8, ptr %bitD, i64 8 %0 = load i32, ptr %bitsConsumed, align 8 @@ -6556,9 +6556,9 @@ return: ; preds = %if.then15, %entry, } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.ctlz.i32(i32, i1 immarg) #16 +declare i32 @llvm.ctlz.i32(i32, i1 immarg) #15 -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal fastcc void @HUF_decodeStreamX2(ptr noundef %p, ptr nocapture noundef %bitDPtr, ptr noundef %pEnd, ptr nocapture noundef readonly %dt, i32 noundef %dtLog) unnamed_addr #12 { entry: %bitsConsumed.i = getelementptr inbounds i8, ptr %bitDPtr, i64 8 @@ -6805,7 +6805,7 @@ while.end33: ; preds = %while.body30, %BIT_ ret void } -; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable +; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal fastcc void @HUF_decodeStreamX4(ptr noundef %p, ptr nocapture noundef %bitDPtr, ptr noundef readnone %pEnd, ptr nocapture noundef readonly %dt, i32 noundef %dtLog) unnamed_addr #12 { entry: %bitsConsumed.i = getelementptr inbounds i8, ptr %bitDPtr, i64 8 @@ -7116,33 +7116,33 @@ if.end47: ; preds = %if.end18.sink.split declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #9 ; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) -declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #17 +declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #16 ; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) -declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #18 +declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #17 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i16 @llvm.abs.i16(i16, i1 immarg) #19 +declare i16 @llvm.abs.i16(i16, i1 immarg) #18 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #19 +declare i32 @llvm.smax.i32(i32, i32) #18 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #19 +declare i64 @llvm.umin.i64(i64, i64) #18 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #20 +declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #19 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) -declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #20 +declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #19 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #19 +declare i32 @llvm.umin.i32(i32, i32) #18 ; Function Attrs: nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) -declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #21 +declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #20 -attributes #0 = { 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 #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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" } @@ -7154,18 +7154,17 @@ attributes #8 = { mustprogress nounwind willreturn memory(argmem: readwrite, ina attributes #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #10 = { "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 #11 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #12 = { 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 #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 = { 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 #15 = { 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 #16 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #17 = { 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 #18 = { 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 #19 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #20 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } -attributes #21 = { nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" } -attributes #22 = { nounwind } -attributes #23 = { nounwind allocsize(0) } +attributes #12 = { 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 #13 = { 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 #14 = { 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 #15 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #16 = { 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 #17 = { 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 #18 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #19 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } +attributes #20 = { nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" } +attributes #21 = { nounwind } +attributes #22 = { nounwind allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/zxing/optimized/PDFDetectionResultColumn.cpp.ll b/bench/zxing/optimized/PDFDetectionResultColumn.cpp.ll index be5fcd96cc9..b017ac29a59 100644 --- a/bench/zxing/optimized/PDFDetectionResultColumn.cpp.ll +++ b/bench/zxing/optimized/PDFDetectionResultColumn.cpp.ll @@ -50,12 +50,12 @@ define void @_ZN5ZXing6Pdf41721DetectionResultColumnC2ERKNS0_11BoundingBoxENS1_1 br i1 %10, label %11, label %18 11: ; preds = %3 - %12 = tail call ptr @__cxa_allocate_exception(i64 16) #13 + %12 = tail call ptr @__cxa_allocate_exception(i64 16) #14 invoke void @_ZNSt16invalid_argumentC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull @.str) to label %13 unwind label %16 13: ; preds = %11 - invoke void @__cxa_throw(ptr nonnull %12, ptr nonnull @_ZTISt16invalid_argument, ptr nonnull @_ZNSt16invalid_argumentD1Ev) #14 + invoke void @__cxa_throw(ptr nonnull %12, ptr nonnull @_ZTISt16invalid_argument, ptr nonnull @_ZNSt16invalid_argumentD1Ev) #15 to label %26 unwind label %14 14: ; preds = %20, %13 @@ -66,7 +66,7 @@ define void @_ZN5ZXing6Pdf41721DetectionResultColumnC2ERKNS0_11BoundingBoxENS1_1 16: ; preds = %11 %17 = landingpad { ptr, i32 } cleanup - tail call void @__cxa_free_exception(ptr %12) #13 + tail call void @__cxa_free_exception(ptr %12) #14 br label %23 18: ; preds = %3 @@ -90,7 +90,7 @@ _ZNSt6vectorIN5ZXing8NullableINS0_6Pdf4178CodewordEEESaIS4_EE6resizeEm.exit: ; p br i1 %.not.i.i.i, label %_ZNSt6vectorIN5ZXing8NullableINS0_6Pdf4178CodewordEEESaIS4_EED2Ev.exit, label %25 25: ; preds = %23 - tail call void @_ZdlPv(ptr noundef nonnull %24) #15 + tail call void @_ZdlPv(ptr noundef nonnull %24) #16 br label %_ZNSt6vectorIN5ZXing8NullableINS0_6Pdf4178CodewordEEESaIS4_EED2Ev.exit _ZNSt6vectorIN5ZXing8NullableINS0_6Pdf4178CodewordEEESaIS4_EED2Ev.exit: ; preds = %23, %25 @@ -552,8 +552,8 @@ _ZNK5ZXing8NullableINS_6Pdf4178CodewordEEcvS2_Ev.exit: ; preds = %101 ret void } -; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable -define internal fastcc void @_ZN5ZXing6Pdf417L24RemoveIncorrectCodewordsEbRSt6vectorINS_8NullableINS0_8CodewordEEESaIS4_EERKNS0_15BarcodeMetadataE(i1 noundef zeroext %0, ptr %.0.val, ptr readnone %.8.val, ptr nocapture noundef nonnull readonly align 4 dereferenceable(16) %1) unnamed_addr #4 { +; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define internal fastcc void @_ZN5ZXing6Pdf417L24RemoveIncorrectCodewordsEbRSt6vectorINS_8NullableINS0_8CodewordEEESaIS4_EERKNS0_15BarcodeMetadataE(i1 noundef zeroext %0, ptr %.0.val, ptr readnone %.8.val, ptr nocapture noundef nonnull readonly align 4 dereferenceable(16) %1) unnamed_addr #5 { %.not67 = icmp eq ptr %.0.val, %.8.val br i1 %.not67, label %._crit_edge, label %.lr.ph @@ -1129,7 +1129,7 @@ thread-pre-split: ; preds = %105, %94, %91, %81, br i1 %.not.i.i.i33, label %_ZNSt6vectorIiSaIiEED2Ev.exit34, label %111 111: ; preds = %109 - call void @_ZdlPv(ptr noundef nonnull %110) #15 + call void @_ZdlPv(ptr noundef nonnull %110) #16 br label %_ZNSt6vectorIiSaIiEED2Ev.exit34 _ZNSt6vectorIiSaIiEED2Ev.exit34: ; preds = %109, %111 @@ -1138,7 +1138,7 @@ _ZNSt6vectorIiSaIiEED2Ev.exit34: ; preds = %109, %111 br i1 %.not.i.i.i35, label %_ZNSt6vectorIiSaIiEED2Ev.exit36, label %113 113: ; preds = %_ZNSt6vectorIiSaIiEED2Ev.exit34 - call void @_ZdlPv(ptr noundef nonnull %112) #15 + call void @_ZdlPv(ptr noundef nonnull %112) #16 br label %_ZNSt6vectorIiSaIiEED2Ev.exit36 _ZNSt6vectorIiSaIiEED2Ev.exit36: ; preds = %_ZNSt6vectorIiSaIiEED2Ev.exit34, %113 @@ -1147,7 +1147,7 @@ _ZNSt6vectorIiSaIiEED2Ev.exit36: ; preds = %_ZNSt6vectorIiSaIiE br i1 %.not.i.i.i37, label %_ZNSt6vectorIiSaIiEED2Ev.exit38, label %115 115: ; preds = %_ZNSt6vectorIiSaIiEED2Ev.exit36 - call void @_ZdlPv(ptr noundef nonnull %114) #15 + call void @_ZdlPv(ptr noundef nonnull %114) #16 br label %_ZNSt6vectorIiSaIiEED2Ev.exit38 _ZNSt6vectorIiSaIiEED2Ev.exit38: ; preds = %_ZNSt6vectorIiSaIiEED2Ev.exit36, %115 @@ -1156,7 +1156,7 @@ _ZNSt6vectorIiSaIiEED2Ev.exit38: ; preds = %_ZNSt6vectorIiSaIiE br i1 %.not.i.i.i39, label %_ZNSt6vectorIiSaIiEED2Ev.exit40, label %117 117: ; preds = %_ZNSt6vectorIiSaIiEED2Ev.exit38 - call void @_ZdlPv(ptr noundef nonnull %116) #15 + call void @_ZdlPv(ptr noundef nonnull %116) #16 br label %_ZNSt6vectorIiSaIiEED2Ev.exit40 _ZNSt6vectorIiSaIiEED2Ev.exit40: ; preds = %_ZNSt6vectorIiSaIiEED2Ev.exit38, %117 @@ -1168,7 +1168,7 @@ _ZNSt6vectorIiSaIiEED2Ev.exit40: ; preds = %_ZNSt6vectorIiSaIiE %120 = landingpad { ptr, i32 } catch ptr null %121 = extractvalue { ptr, i32 } %120, 0 - call void @__clang_call_terminate(ptr %121) #16 + call void @__clang_call_terminate(ptr %121) #17 unreachable _ZN5ZXing6Pdf41712BarcodeValueD2Ev.exit: ; preds = %_ZNSt6vectorIiSaIiEED2Ev.exit40 @@ -1180,7 +1180,7 @@ _ZN5ZXing6Pdf41712BarcodeValueD2Ev.exit: ; preds = %_ZNSt6vectorIiSaIiE %124 = landingpad { ptr, i32 } catch ptr null %125 = extractvalue { ptr, i32 } %124, 0 - call void @__clang_call_terminate(ptr %125) #16 + call void @__clang_call_terminate(ptr %125) #17 unreachable _ZN5ZXing6Pdf41712BarcodeValueD2Ev.exit41: ; preds = %_ZN5ZXing6Pdf41712BarcodeValueD2Ev.exit @@ -1192,7 +1192,7 @@ _ZN5ZXing6Pdf41712BarcodeValueD2Ev.exit41: ; preds = %_ZN5ZXing6Pdf41712B %128 = landingpad { ptr, i32 } catch ptr null %129 = extractvalue { ptr, i32 } %128, 0 - call void @__clang_call_terminate(ptr %129) #16 + call void @__clang_call_terminate(ptr %129) #17 unreachable _ZN5ZXing6Pdf41712BarcodeValueD2Ev.exit42: ; preds = %_ZN5ZXing6Pdf41712BarcodeValueD2Ev.exit41 @@ -1204,11 +1204,11 @@ _ZN5ZXing6Pdf41712BarcodeValueD2Ev.exit42: ; preds = %_ZN5ZXing6Pdf41712B %132 = landingpad { ptr, i32 } catch ptr null %133 = extractvalue { ptr, i32 } %132, 0 - call void @__clang_call_terminate(ptr %133) #16 + call void @__clang_call_terminate(ptr %133) #17 unreachable 134: ; preds = %_ZNSt6vectorIiSaIiEED2Ev.exit - call void @_ZdlPv(ptr noundef nonnull %104) #15 + call void @_ZdlPv(ptr noundef nonnull %104) #16 br label %_ZNSt6vectorIiSaIiEED2Ev.exit45 _ZNSt6vectorIiSaIiEED2Ev.exit45: ; preds = %134, %_ZNSt6vectorIiSaIiEED2Ev.exit, %101 @@ -1218,7 +1218,7 @@ _ZNSt6vectorIiSaIiEED2Ev.exit45: ; preds = %134, %_ZNSt6vectorI br i1 %.not.i.i.i46, label %_ZNSt6vectorIiSaIiEED2Ev.exit47, label %136 136: ; preds = %_ZNSt6vectorIiSaIiEED2Ev.exit45 - call void @_ZdlPv(ptr noundef nonnull %135) #15 + call void @_ZdlPv(ptr noundef nonnull %135) #16 br label %_ZNSt6vectorIiSaIiEED2Ev.exit47 _ZNSt6vectorIiSaIiEED2Ev.exit47: ; preds = %136, %_ZNSt6vectorIiSaIiEED2Ev.exit45, %99 @@ -1228,15 +1228,15 @@ _ZNSt6vectorIiSaIiEED2Ev.exit47: ; preds = %136, %_ZNSt6vectorI br i1 %.not.i.i.i48, label %_ZNSt6vectorIiSaIiEED2Ev.exit49, label %138 138: ; preds = %_ZNSt6vectorIiSaIiEED2Ev.exit47 - call void @_ZdlPv(ptr noundef nonnull %137) #15 + call void @_ZdlPv(ptr noundef nonnull %137) #16 br label %_ZNSt6vectorIiSaIiEED2Ev.exit49 _ZNSt6vectorIiSaIiEED2Ev.exit49: ; preds = %.loopexit, %.loopexit.split-lp, %138, %_ZNSt6vectorIiSaIiEED2Ev.exit47 %.pn30 = phi { ptr, i32 } [ %.pn.pn.pn, %_ZNSt6vectorIiSaIiEED2Ev.exit47 ], [ %.pn.pn.pn, %138 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ] - call void @_ZN5ZXing6Pdf41712BarcodeValueD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #13 - call void @_ZN5ZXing6Pdf41712BarcodeValueD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #13 - call void @_ZN5ZXing6Pdf41712BarcodeValueD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #13 - call void @_ZN5ZXing6Pdf41712BarcodeValueD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #13 + call void @_ZN5ZXing6Pdf41712BarcodeValueD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %6) #14 + call void @_ZN5ZXing6Pdf41712BarcodeValueD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %5) #14 + call void @_ZN5ZXing6Pdf41712BarcodeValueD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #14 + call void @_ZN5ZXing6Pdf41712BarcodeValueD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #14 resume { ptr, i32 } %.pn30 _ZN5ZXing6Pdf41712BarcodeValueD2Ev.exit43: ; preds = %_ZN5ZXing6Pdf41712BarcodeValueD2Ev.exit42, %2 @@ -1249,7 +1249,7 @@ declare void @_ZN5ZXing6Pdf41712BarcodeValue8setValueEi(ptr noundef nonnull alig declare void @_ZNK5ZXing6Pdf41712BarcodeValue5valueEv(ptr dead_on_unwind writable sret(%"class.std::vector.1") align 8, ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 ; Function Attrs: mustprogress nounwind uwtable -define linkonce_odr void @_ZN5ZXing6Pdf41712BarcodeValueD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) unnamed_addr #5 comdat align 2 personality ptr @__gxx_personality_v0 { +define linkonce_odr void @_ZN5ZXing6Pdf41712BarcodeValueD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) unnamed_addr #6 comdat align 2 personality ptr @__gxx_personality_v0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8 invoke void @_ZNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef %3) @@ -1259,7 +1259,7 @@ define linkonce_odr void @_ZN5ZXing6Pdf41712BarcodeValueD2Ev(ptr noundef nonnull %5 = landingpad { ptr, i32 } catch ptr null %6 = extractvalue { ptr, i32 } %5, 0 - tail call void @__clang_call_terminate(ptr %6) #16 + tail call void @__clang_call_terminate(ptr %6) #17 unreachable _ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEED2Ev.exit: ; preds = %1 @@ -1267,9 +1267,9 @@ _ZNSt3mapIiiSt4lessIiESaISt4pairIKiiEEED2Ev.exit: ; preds = %1 } ; Function Attrs: noreturn nounwind uwtable -define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #6 comdat { - %2 = tail call ptr @__cxa_begin_catch(ptr %0) #13 - tail call void @_ZSt9terminatev() #16 +define linkonce_odr hidden void @__clang_call_terminate(ptr noundef %0) local_unnamed_addr #7 comdat { + %2 = tail call ptr @__cxa_begin_catch(ptr %0) #14 + tail call void @_ZSt9terminatev() #17 unreachable } @@ -1289,7 +1289,7 @@ define linkonce_odr void @_ZNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4less tail call void @_ZNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4lessIiESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef %4) %5 = getelementptr inbounds i8, ptr %.07, i64 16 %6 = load ptr, ptr %5, align 8 - tail call void @_ZdlPv(ptr noundef nonnull %.07) #15 + tail call void @_ZdlPv(ptr noundef nonnull %.07) #16 %.not = icmp eq ptr %6, null br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !9 @@ -1298,7 +1298,7 @@ define linkonce_odr void @_ZNSt8_Rb_treeIiSt4pairIKiiESt10_Select1stIS2_ESt4less } ; Function Attrs: nobuiltin nounwind -declare void @_ZdlPv(ptr noundef) local_unnamed_addr #7 +declare void @_ZdlPv(ptr noundef) local_unnamed_addr #8 ; Function Attrs: mustprogress uwtable define linkonce_odr void @_ZNSt6vectorIN5ZXing8NullableINS0_6Pdf4178CodewordEEESaIS4_EE17_M_default_appendEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %1) local_unnamed_addr #0 comdat align 2 personality ptr @__gxx_personality_v0 { @@ -1346,7 +1346,7 @@ _ZSt27__uninitialized_default_n_aIPN5ZXing8NullableINS0_6Pdf4178CodewordEEEmS4_E br i1 %23, label %24, label %_ZNKSt6vectorIN5ZXing8NullableINS0_6Pdf4178CodewordEEESaIS4_EE12_M_check_lenEmPKc.exit 24: ; preds = %22 - tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.1) #14 + tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.1) #15 unreachable _ZNKSt6vectorIN5ZXing8NullableINS0_6Pdf4178CodewordEEESaIS4_EE12_M_check_lenEmPKc.exit: ; preds = %22 @@ -1354,7 +1354,7 @@ _ZNKSt6vectorIN5ZXing8NullableINS0_6Pdf4178CodewordEEESaIS4_EE12_M_check_lenEmPK %25 = add nuw nsw i64 %.sroa.speculated.i, %10 %26 = tail call i64 @llvm.umin.i64(i64 %25, i64 384307168202282325) %27 = mul nuw nsw i64 %26, 24 - %28 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %27) #17 + %28 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %27) #18 %29 = getelementptr inbounds i8, ptr %28, i64 %9 br label %.lr.ph.i.i.i30 @@ -1387,7 +1387,7 @@ _ZNSt6vectorIN5ZXing8NullableINS0_6Pdf4178CodewordEEESaIS4_EE11_S_relocateEPS4_S br i1 %.not.i40, label %_ZNSt12_Vector_baseIN5ZXing8NullableINS0_6Pdf4178CodewordEEESaIS4_EE13_M_deallocateEPS4_m.exit41, label %35 35: ; preds = %_ZNSt6vectorIN5ZXing8NullableINS0_6Pdf4178CodewordEEESaIS4_EE11_S_relocateEPS4_S7_S7_RS5_.exit - tail call void @_ZdlPv(ptr noundef nonnull %6) #15 + tail call void @_ZdlPv(ptr noundef nonnull %6) #16 br label %_ZNSt12_Vector_baseIN5ZXing8NullableINS0_6Pdf4178CodewordEEESaIS4_EE13_M_deallocateEPS4_m.exit41 _ZNSt12_Vector_baseIN5ZXing8NullableINS0_6Pdf4178CodewordEEESaIS4_EE13_M_deallocateEPS4_m.exit41: ; preds = %_ZNSt6vectorIN5ZXing8NullableINS0_6Pdf4178CodewordEEESaIS4_EE11_S_relocateEPS4_S7_S7_RS5_.exit, %35 @@ -1403,13 +1403,13 @@ _ZNSt12_Vector_baseIN5ZXing8NullableINS0_6Pdf4178CodewordEEESaIS4_EE13_M_dealloc } ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) -declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #8 +declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #9 ; Function Attrs: noreturn -declare void @_ZSt20__throw_length_errorPKc(ptr noundef) local_unnamed_addr #9 +declare void @_ZSt20__throw_length_errorPKc(ptr noundef) local_unnamed_addr #10 ; Function Attrs: nobuiltin allocsize(0) -declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #10 +declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #11 ; Function Attrs: mustprogress uwtable define linkonce_odr void @_ZNSt6vectorIiSaIiEE17_M_default_appendEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %1) local_unnamed_addr #0 comdat align 2 personality ptr @__gxx_personality_v0 { @@ -1460,7 +1460,7 @@ _ZSt27__uninitialized_default_n_aIPimiET_S1_T0_RSaIT1_E.exit: ; preds = %19, %_Z br i1 %26, label %27, label %_ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc.exit 27: ; preds = %25 - tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.1) #14 + tail call void @_ZSt20__throw_length_errorPKc(ptr noundef nonnull @.str.1) #15 unreachable _ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc.exit: ; preds = %25 @@ -1468,7 +1468,7 @@ _ZNKSt6vectorIiSaIiEE12_M_check_lenEmPKc.exit: ; preds = %25 %28 = add nuw nsw i64 %.sroa.speculated.i, %10 %29 = tail call i64 @llvm.umin.i64(i64 %28, i64 2305843009213693951) %30 = shl nuw nsw i64 %29, 2 - %31 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %30) #17 + %31 = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %30) #18 %32 = getelementptr inbounds i8, ptr %31, i64 %9 store i32 0, ptr %32, align 4 %33 = icmp eq i64 %1, 1 @@ -1494,7 +1494,7 @@ _ZNSt6vectorIiSaIiEE11_S_relocateEPiS2_S2_RS0_.exit: ; preds = %_ZSt27__uninitia br i1 %.not.i34, label %_ZNSt12_Vector_baseIiSaIiEE13_M_deallocateEPim.exit35, label %39 39: ; preds = %_ZNSt6vectorIiSaIiEE11_S_relocateEPiS2_S2_RS0_.exit - tail call void @_ZdlPv(ptr noundef nonnull %6) #15 + tail call void @_ZdlPv(ptr noundef nonnull %6) #16 br label %_ZNSt12_Vector_baseIiSaIiEE13_M_deallocateEPim.exit35 _ZNSt12_Vector_baseIiSaIiEE13_M_deallocateEPim.exit35: ; preds = %_ZNSt6vectorIiSaIiEE11_S_relocateEPiS2_S2_RS0_.exit, %39 @@ -1513,35 +1513,36 @@ _ZNSt12_Vector_baseIiSaIiEE13_M_deallocateEPim.exit35: ; preds = %_ZNSt6vectorIi declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) -declare void @llvm.assume(i1 noundef) #11 +declare void @llvm.assume(i1 noundef) #12 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umax.i64(i64, i64) #12 +declare i64 @llvm.umax.i64(i64, i64) #13 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i64 @llvm.umin.i64(i64, i64) #12 +declare i64 @llvm.umin.i64(i64, i64) #13 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.smax.i32(i32, i32) #12 +declare i32 @llvm.smax.i32(i32, i32) #13 attributes #0 = { mustprogress 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 = { "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 #3 = { 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 #4 = { mustprogress 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 #5 = { mustprogress 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 #6 = { noreturn nounwind uwtable "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 #7 = { nobuiltin 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 #8 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } -attributes #9 = { noreturn "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 #10 = { nobuiltin allocsize(0) "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 #11 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } -attributes #12 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #13 = { nounwind } -attributes #14 = { noreturn } -attributes #15 = { builtin nounwind } -attributes #16 = { noreturn nounwind } -attributes #17 = { builtin allocsize(0) } +attributes #5 = { mustprogress 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 #6 = { mustprogress 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 #7 = { noreturn nounwind uwtable "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 #8 = { nobuiltin 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 #9 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } +attributes #10 = { noreturn "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 #11 = { nobuiltin allocsize(0) "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 #12 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) } +attributes #13 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #14 = { nounwind } +attributes #15 = { noreturn } +attributes #16 = { builtin nounwind } +attributes #17 = { noreturn nounwind } +attributes #18 = { builtin allocsize(0) } !llvm.module.flags = !{!0, !1, !2, !3} diff --git a/bench/zxing/optimized/zueci.c.ll b/bench/zxing/optimized/zueci.c.ll index 3b9da79ae8c..775c99fc89f 100644 --- a/bench/zxing/optimized/zueci.c.ll +++ b/bench/zxing/optimized/zueci.c.ll @@ -347,12 +347,12 @@ switch.early.test72: ; preds = %zueci_decode_utf8.e br i1 %.not99, label %.loopexit106.thread, label %zueci_is_valid_utf8.exit.thread .loopexit106: ; preds = %switch.early.test72 - %101 = tail call i32 %.060(i32 noundef %92, ptr noundef %.1136) #8 + %101 = tail call i32 %.060(i32 noundef %92, ptr noundef %.1136) #7 %102 = icmp eq i32 %101, 0 br i1 %102, label %zueci_is_valid_utf8.exit.thread, label %107 .loopexit106.thread: ; preds = %.critedge13 - %103 = tail call i32 %.060(i32 noundef %92, ptr noundef %.1136) #8 + %103 = tail call i32 %.060(i32 noundef %92, ptr noundef %.1136) #7 %104 = icmp eq i32 %103, 0 br i1 %104, label %zueci_is_valid_utf8.exit.thread, label %.thread169 @@ -2929,8 +2929,8 @@ define internal range(i32 0, 2) i32 @zueci_u_binary(i32 noundef %0, ptr nocaptur ret i32 %.0 } -; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable -define range(i32 0, 9) i32 @zueci_dest_len_eci(i32 noundef %0, ptr noundef readonly %1, i32 noundef %2, ptr noundef writeonly %3) local_unnamed_addr #5 { +; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable +define range(i32 0, 9) i32 @zueci_dest_len_eci(i32 noundef %0, ptr noundef readonly %1, i32 noundef %2, ptr noundef writeonly %3) local_unnamed_addr #3 { %or.cond.i = icmp ugt i32 %0, 35 br i1 %or.cond.i, label %switch.early.test, label %switch.early.test47 @@ -3511,7 +3511,7 @@ zueci_is_valid_utf8.exit: ; preds = %.preheader190 %207 = ptrtoint ptr %.7232 to i64 %208 = sub i64 %202, %207 %209 = trunc i64 %208 to i32 - %210 = call i32 %.0131(ptr noundef %.7232, i32 noundef %209, i32 noundef %4, ptr noundef nonnull %8) #8 + %210 = call i32 %.0131(ptr noundef %.7232, i32 noundef %209, i32 noundef %4, ptr noundef nonnull %8) #7 %.not155 = icmp eq i32 %210, 0 br i1 %.not155, label %211, label %228 @@ -3669,7 +3669,7 @@ zueci_is_valid_utf8.exit.thread: ; preds = %zueci_decode_utf8.e } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_ascii_inv_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #6 { +define internal range(i32 0, 2) i32 @zueci_ascii_inv_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) unnamed_addr #5 { %5 = load i8, ptr %0, align 1 %.fr = freeze i8 %5 %6 = and i32 %2, 1 @@ -3962,7 +3962,7 @@ switch.early.test: ; preds = %zueci_decode_utf8.e %99 = ptrtoint ptr %.7192.us to i64 %100 = sub i64 %95, %99 %101 = trunc i64 %100 to i32 - %102 = call i32 %.0112(ptr noundef %.7192.us, i32 noundef %101, i32 noundef %4, ptr noundef nonnull %7) #8 + %102 = call i32 %.0112(ptr noundef %.7192.us, i32 noundef %101, i32 noundef %4, ptr noundef nonnull %7) #7 %.not129.us = icmp eq i32 %102, 0 br i1 %.not129.us, label %.loopexit, label %zueci_replacement_incr.exit.us @@ -3989,7 +3989,7 @@ zueci_replacement_incr.exit.us: ; preds = %.lr.ph197.split.us %113 = ptrtoint ptr %.7192 to i64 %114 = sub i64 %95, %113 %115 = trunc i64 %114 to i32 - %116 = call i32 %.0112(ptr noundef %.7192, i32 noundef %115, i32 noundef %4, ptr noundef nonnull %7) #8 + %116 = call i32 %.0112(ptr noundef %.7192, i32 noundef %115, i32 noundef %4, ptr noundef nonnull %7) #7 %.not129 = icmp eq i32 %116, 0 br i1 %.not129, label %117, label %133 @@ -4075,7 +4075,7 @@ zueci_replacement_incr.exit: ; preds = %.fold.split.i, %132 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal fastcc range(i32 0, 3) i32 @zueci_u_lookup_uro(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4) unnamed_addr #6 { +define internal fastcc range(i32 0, 3) i32 @zueci_u_lookup_uro(i32 noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4) unnamed_addr #5 { %6 = add nsw i32 %0, -19968 %7 = lshr i32 %6, 4 %8 = and i32 %0, 15 @@ -4124,7 +4124,7 @@ define internal fastcc range(i32 0, 3) i32 @zueci_u_lookup_uro(i32 noundef %0, p } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal noundef i32 @zueci_cp437_u(ptr nocapture noundef readonly %0, i32 %1, i32 %2, ptr nocapture noundef writeonly %3) #6 { +define internal noundef i32 @zueci_cp437_u(ptr nocapture noundef readonly %0, i32 %1, i32 %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp sgt i8 %5, -1 @@ -4148,7 +4148,7 @@ define internal noundef i32 @zueci_cp437_u(ptr nocapture noundef readonly %0, i3 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_iso8859_2_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_iso8859_2_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp ult i8 %5, -96 @@ -4205,7 +4205,7 @@ zueci_iso8859_u.exit: ; preds = %8, %31, %.sink.spli } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_iso8859_3_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_iso8859_3_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp ult i8 %5, -96 @@ -4262,7 +4262,7 @@ zueci_iso8859_u.exit: ; preds = %8, %31, %.sink.spli } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_iso8859_4_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_iso8859_4_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp ult i8 %5, -96 @@ -4319,7 +4319,7 @@ zueci_iso8859_u.exit: ; preds = %8, %31, %.sink.spli } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_iso8859_5_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_iso8859_5_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp ult i8 %5, -96 @@ -4376,7 +4376,7 @@ zueci_iso8859_u.exit: ; preds = %8, %31, %.sink.spli } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_iso8859_6_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_iso8859_6_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp ult i8 %5, -96 @@ -4437,7 +4437,7 @@ zueci_iso8859_u.exit: ; preds = %8, %33, %.sink.spli } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_iso8859_7_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_iso8859_7_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp ult i8 %5, -96 @@ -4498,7 +4498,7 @@ zueci_iso8859_u.exit: ; preds = %8, %33, %.sink.spli } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_iso8859_8_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_iso8859_8_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp ult i8 %5, -96 @@ -4559,7 +4559,7 @@ zueci_iso8859_u.exit: ; preds = %8, %33, %.sink.spli } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_iso8859_9_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_iso8859_9_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp ult i8 %5, -96 @@ -4620,7 +4620,7 @@ zueci_iso8859_u.exit: ; preds = %8, %33, %.sink.spli } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_iso8859_10_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_iso8859_10_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp ult i8 %5, -96 @@ -4677,7 +4677,7 @@ zueci_iso8859_u.exit: ; preds = %8, %31, %.sink.spli } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_iso8859_11_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_iso8859_11_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp ult i8 %5, -96 @@ -4738,7 +4738,7 @@ zueci_iso8859_u.exit: ; preds = %8, %33, %.sink.spli } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_iso8859_13_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_iso8859_13_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp ult i8 %5, -96 @@ -4795,7 +4795,7 @@ zueci_iso8859_u.exit: ; preds = %8, %31, %.sink.spli } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_iso8859_14_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_iso8859_14_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp ult i8 %5, -96 @@ -4856,7 +4856,7 @@ zueci_iso8859_u.exit: ; preds = %8, %33, %.sink.spli } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_iso8859_15_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_iso8859_15_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp ult i8 %5, -96 @@ -4917,7 +4917,7 @@ zueci_iso8859_u.exit: ; preds = %8, %33, %.sink.spli } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_iso8859_16_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_iso8859_16_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp ult i8 %5, -96 @@ -4978,7 +4978,7 @@ zueci_iso8859_u.exit: ; preds = %8, %33, %.sink.spli } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 3) i32 @zueci_sjis_u(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 3) i32 @zueci_sjis_u(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp sgt i8 %5, -1 @@ -5089,7 +5089,7 @@ switch.lookup: ; preds = %switch.hole_check, } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_cp1250_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_cp1250_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp sgt i8 %5, -1 @@ -5144,7 +5144,7 @@ zueci_cp125x_u.exit: ; preds = %31, %.sink.split.i } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_cp1251_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_cp1251_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp sgt i8 %5, -1 @@ -5199,7 +5199,7 @@ zueci_cp125x_u.exit: ; preds = %31, %.sink.split.i } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_cp1252_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_cp1252_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %or.cond = icmp sgt i8 %5, -97 @@ -5236,7 +5236,7 @@ zueci_cp125x_u.exit: ; preds = %17, %.sink.split.i } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_cp1256_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_cp1256_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp sgt i8 %5, -1 @@ -5291,7 +5291,7 @@ zueci_cp125x_u.exit: ; preds = %31, %.sink.split.i } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 5) i32 @zueci_utf16be_u(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 5) i32 @zueci_utf16be_u(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2, ptr nocapture noundef writeonly %3) #5 { %5 = icmp ult i32 %1, 2 br i1 %5, label %32, label %6 @@ -5344,7 +5344,7 @@ define internal range(i32 0, 5) i32 @zueci_utf16be_u(ptr nocapture noundef reado } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 2) i32 @zueci_ascii_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 2) i32 @zueci_ascii_u(ptr nocapture noundef readonly %0, i32 %1, i32 noundef %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = icmp slt i8 %5, 0 %7 = and i32 %2, 1 @@ -5363,7 +5363,7 @@ define internal range(i32 0, 2) i32 @zueci_ascii_u(ptr nocapture noundef readonl } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 3) i32 @zueci_big5_u(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 3) i32 @zueci_big5_u(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp sgt i8 %5, -1 @@ -5430,7 +5430,7 @@ define internal range(i32 0, 3) i32 @zueci_big5_u(ptr nocapture noundef readonly } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 3) i32 @zueci_gb2312_u(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 3) i32 @zueci_gb2312_u(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp sgt i8 %5, -1 @@ -5498,7 +5498,7 @@ define internal range(i32 0, 3) i32 @zueci_gb2312_u(ptr nocapture noundef readon } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 3) i32 @zueci_ksx1001_u(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 3) i32 @zueci_ksx1001_u(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2, ptr nocapture noundef writeonly %3) #5 { %5 = load i8, ptr %0, align 1 %6 = zext i8 %5 to i32 %7 = icmp sgt i8 %5, -1 @@ -5964,7 +5964,7 @@ switch.early.test: ; preds = %8 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 5) i32 @zueci_utf16le_u(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 5) i32 @zueci_utf16le_u(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2, ptr nocapture noundef writeonly %3) #5 { %5 = icmp ult i32 %1, 2 br i1 %5, label %32, label %6 @@ -6017,7 +6017,7 @@ define internal range(i32 0, 5) i32 @zueci_utf16le_u(ptr nocapture noundef reado } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 5) i32 @zueci_utf32be_u(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 5) i32 @zueci_utf32be_u(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2, ptr nocapture noundef writeonly %3) #5 { %5 = icmp ult i32 %1, 4 br i1 %5, label %29, label %6 @@ -6058,7 +6058,7 @@ define internal range(i32 0, 5) i32 @zueci_utf32be_u(ptr nocapture noundef reado } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable -define internal range(i32 0, 5) i32 @zueci_utf32le_u(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2, ptr nocapture noundef writeonly %3) #6 { +define internal range(i32 0, 5) i32 @zueci_utf32le_u(ptr nocapture noundef readonly %0, i32 noundef %1, i32 %2, ptr nocapture noundef writeonly %3) #5 { %5 = icmp ult i32 %1, 4 br i1 %5, label %29, label %6 @@ -6099,17 +6099,16 @@ define internal range(i32 0, 5) i32 @zueci_utf32le_u(ptr nocapture noundef reado } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) -declare i32 @llvm.umin.i32(i32, i32) #7 +declare i32 @llvm.umin.i32(i32, i32) #6 attributes #0 = { 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 #1 = { 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 #2 = { 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 #3 = { 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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } -attributes #5 = { 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 #6 = { 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 #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } -attributes #8 = { nounwind } +attributes #5 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } +attributes #7 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3}