From 01edceff2c93d2c106db8897bc41771e20cd9f73 Mon Sep 17 00:00:00 2001 From: Yingwei Zheng Date: Thu, 21 Dec 2023 16:47:57 +0800 Subject: [PATCH 1/2] pre-commit: Test PR68882 --- 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 bba61ce1da6..e72d6d5b29f 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/68882" # Please rebase manually # git fetch origin From 6d1e1718f2d77be940f0e8666bcf062786fd98a7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 19 Jan 2024 05:56:44 +0800 Subject: [PATCH 2/2] pre-commit: Update --- bench/abseil-cpp/optimized/futex_waiter.cc.ll | 4 ++-- bench/abseil-cpp/optimized/has_absl_stringify_test.cc.ll | 2 +- bench/abseil-cpp/optimized/has_ostream_operator_test.cc.ll | 2 +- bench/abseil-cpp/optimized/mutex_method_pointer_test.cc.ll | 2 +- bench/abseil-cpp/optimized/program_name.cc.ll | 4 ++-- bench/abseil-cpp/optimized/randen.cc.ll | 4 +--- bench/abseil-cpp/optimized/sample_element_size_test.cc.ll | 2 +- bench/abseil-cpp/optimized/seed_material.cc.ll | 4 ++-- bench/abseil-cpp/optimized/stacktrace_test.cc.ll | 2 +- bench/abseil-cpp/optimized/status_payload_printer.cc.ll | 3 +-- bench/abseil-cpp/optimized/str_split.cc.ll | 4 ++-- bench/abseil-cpp/optimized/sysinfo.cc.ll | 4 ++-- bench/abseil-cpp/optimized/test_util.cc.ll | 2 +- bench/abseil-cpp/optimized/traits_test.cc.ll | 2 +- bench/abseil-cpp/optimized/vdso_support.cc.ll | 4 ++-- bench/arrow/optimized/fast-dtoa.cc.ll | 4 ++-- bench/box2d/optimized/b2_timer.cpp.ll | 5 ++--- bench/bullet3/optimized/b3AlignedAllocator.ll | 4 ++-- bench/bullet3/optimized/btAlignedAllocator.ll | 4 ++-- bench/bullet3/optimized/btCollisionAlgorithm.ll | 4 +--- bench/cpython/optimized/_statisticsmodule.ll | 4 ++-- bench/cpython/optimized/_testclinic_limited.ll | 4 ++-- bench/cpython/optimized/myreadline.ll | 4 ++-- bench/cpython/optimized/pystrtod.ll | 4 ++-- bench/cvc5/optimized/icp_solver.cpp.ll | 5 ++--- bench/cvc5/optimized/inference_id.cpp.ll | 2 +- bench/cvc5/optimized/lfsc_util.cpp.ll | 2 +- bench/cvc5/optimized/safe_print.cpp.ll | 4 +--- bench/cvc5/optimized/sat_solver_factory.cpp.ll | 5 ++--- bench/cvc5/optimized/stats.cpp.ll | 5 +---- bench/cvc5/optimized/theory_fp_utils.cpp.ll | 2 +- bench/cvc5/optimized/trust_id.cpp.ll | 2 +- bench/cvc5/optimized/utility.cpp.ll | 2 +- bench/double_conversion/optimized/fast-dtoa.cc.ll | 4 ++-- bench/eastl/optimized/TestSpan.cpp.ll | 4 ++-- bench/eastl/optimized/eathread_rwmutex_ip.cpp.ll | 4 ++-- bench/eastl/optimized/thread_support.cpp.ll | 2 +- bench/flac/optimized/vorbiscomment.c.ll | 4 ++-- bench/folly/optimized/AsyncSocketTransport.cpp.ll | 2 +- bench/folly/optimized/ClockGettimeWrappers.cpp.ll | 2 +- bench/folly/optimized/HazptrDomain.cpp.ll | 2 +- bench/folly/optimized/InlineExecutor.cpp.ll | 4 +--- bench/folly/optimized/LogName.cpp.ll | 4 ++-- bench/folly/optimized/Logger.cpp.ll | 2 +- bench/folly/optimized/MemoryIdler.cpp.ll | 4 ++-- bench/folly/optimized/SocketFastOpen.cpp.ll | 4 ++-- bench/folly/optimized/UncaughtExceptions.cpp.ll | 4 +--- bench/grpc/optimized/grpc_alts_credentials_options.cc.ll | 4 +--- bench/grpc/optimized/grpc_tls_certificate_match.cc.ll | 3 +-- bench/grpc/optimized/internal_errqueue.cc.ll | 5 ++--- bench/grpc/optimized/socket_utils_linux.cc.ll | 3 +-- bench/grpc/optimized/xds_bootstrap.cc.ll | 3 +-- bench/hermes/optimized/Conversions.cpp.ll | 4 ++-- bench/hermes/optimized/HeapSnapshot.cpp.ll | 4 ++-- bench/hermes/optimized/RandomSeedParser.cpp.ll | 4 ++-- bench/hermes/optimized/StringRefUtils.cpp.ll | 5 ++--- bench/hermes/optimized/count.c.ll | 4 ++-- bench/icu/optimized/bocsu.ll | 4 ++-- bench/icu/optimized/cal.ll | 2 +- bench/icu/optimized/cecal.ll | 2 +- bench/icu/optimized/curramt.ll | 3 +-- bench/icu/optimized/currfmt.ll | 4 ++-- bench/icu/optimized/double-conversion-fast-dtoa.ll | 4 ++-- bench/icu/optimized/escapesrc.ll | 4 ++-- bench/icu/optimized/gencfu.ll | 5 ++--- bench/icu/optimized/gencmn.ll | 4 ++-- bench/icu/optimized/nultrans.ll | 5 ++--- bench/icu/optimized/punycode.ll | 2 +- bench/icu/optimized/tmutamt.ll | 5 ++--- bench/icu/optimized/unistr_titlecase_brkiter.ll | 4 ++-- bench/icu/optimized/uobject.ll | 2 +- bench/icu/optimized/uscript_props.ll | 4 ++-- bench/icu/optimized/uwmsg.ll | 4 ++-- bench/jemalloc/optimized/exp_grow.ll | 4 +--- bench/jemalloc/optimized/exp_grow.pic.ll | 4 +--- bench/jemalloc/optimized/exp_grow.sym.ll | 4 +--- bench/jemalloc/optimized/malloc_io.ll | 4 ++-- bench/jemalloc/optimized/malloc_io.pic.ll | 4 ++-- bench/jemalloc/optimized/malloc_io.sym.ll | 4 ++-- bench/libdeflate/optimized/utils.c.ll | 4 ++-- bench/libuv/optimized/random-devurandom.c.ll | 4 ++-- bench/lua/optimized/linit.ll | 4 ++-- bench/lua/optimized/lua.ll | 4 ++-- bench/luajit/optimized/lib_init.ll | 4 ++-- bench/luajit/optimized/lib_init_dyn.ll | 4 ++-- bench/memcached/optimized/timedrun.ll | 4 ++-- bench/meshoptimizer/optimized/vfetchanalyzer.cpp.ll | 4 ++-- bench/ms-gsl/optimized/owner_tests.cpp.ll | 4 ++-- bench/ms-gsl/optimized/span_compatibility_tests.cpp.ll | 2 +- bench/ms-gsl/optimized/strict_notnull_tests.cpp.ll | 2 +- bench/node/optimized/random-devurandom.ll | 4 ++-- bench/ocio/optimized/HashUtils.cpp.ll | 2 +- bench/oiio/optimized/Cineon.cpp.ll | 4 ++-- bench/oiio/optimized/DPX.cpp.ll | 4 ++-- bench/oiio/optimized/pugixml.cpp.ll | 4 ++-- bench/openexr/optimized/ImfGenericInputFile.cpp.ll | 4 ++-- .../optimized/event_queue_test-bin-event_queue_test.ll | 4 ++-- bench/openssl/optimized/libapps-lib-s_socket.ll | 4 ++-- bench/openssl/optimized/libcrypto-lib-asn1_item_list.ll | 4 +--- bench/openssl/optimized/libcrypto-lib-bf_cfb64.ll | 4 ++-- bench/openssl/optimized/libcrypto-lib-bf_ecb.ll | 4 ++-- bench/openssl/optimized/libcrypto-lib-bf_ofb64.ll | 2 +- bench/openssl/optimized/libcrypto-lib-bf_skey.ll | 4 ++-- bench/openssl/optimized/libcrypto-lib-c_cfb64.ll | 4 ++-- bench/openssl/optimized/libcrypto-lib-c_ecb.ll | 2 +- bench/openssl/optimized/libcrypto-lib-c_ofb64.ll | 2 +- bench/openssl/optimized/libcrypto-lib-cbc_cksm.ll | 2 +- bench/openssl/optimized/libcrypto-lib-cfb128.ll | 2 +- bench/openssl/optimized/libcrypto-lib-cfb64enc.ll | 4 ++-- bench/openssl/optimized/libcrypto-lib-ecb3_enc.ll | 2 +- bench/openssl/optimized/libcrypto-lib-ecb_enc.ll | 4 ++-- bench/openssl/optimized/libcrypto-lib-i_cfb64.ll | 4 ++-- bench/openssl/optimized/libcrypto-lib-i_ecb.ll | 4 ++-- bench/openssl/optimized/libcrypto-lib-i_ofb64.ll | 2 +- bench/openssl/optimized/libcrypto-lib-ofb64ede.ll | 2 +- bench/openssl/optimized/libcrypto-lib-ofb64enc.ll | 2 +- bench/openssl/optimized/libcrypto-lib-ofb_enc.ll | 2 +- bench/openssl/optimized/libcrypto-lib-p12_p8e.ll | 4 +--- bench/openssl/optimized/libcrypto-lib-pcbc_enc.ll | 4 ++-- bench/openssl/optimized/libcrypto-lib-punycode.ll | 2 +- bench/openssl/optimized/libcrypto-lib-rc2_ecb.ll | 2 +- bench/openssl/optimized/libcrypto-lib-rc2cfb64.ll | 4 ++-- bench/openssl/optimized/libcrypto-lib-rc2ofb64.ll | 2 +- bench/openssl/optimized/libcrypto-lib-rsa_pk1.ll | 4 ++-- bench/openssl/optimized/libcrypto-lib-time.ll | 4 ++-- bench/openssl/optimized/libcrypto-lib-v3_ia5.ll | 3 +-- bench/openssl/optimized/libcrypto-lib-v3_utf8.ll | 3 +-- bench/openssl/optimized/libcrypto-lib-x_attrib.ll | 5 ++--- bench/openssl/optimized/libcrypto-shlib-asn1_item_list.ll | 4 +--- bench/openssl/optimized/libcrypto-shlib-bf_cfb64.ll | 4 ++-- bench/openssl/optimized/libcrypto-shlib-bf_ecb.ll | 4 ++-- bench/openssl/optimized/libcrypto-shlib-bf_ofb64.ll | 2 +- bench/openssl/optimized/libcrypto-shlib-bf_skey.ll | 4 ++-- bench/openssl/optimized/libcrypto-shlib-c_cfb64.ll | 4 ++-- bench/openssl/optimized/libcrypto-shlib-c_ecb.ll | 2 +- bench/openssl/optimized/libcrypto-shlib-c_ofb64.ll | 2 +- bench/openssl/optimized/libcrypto-shlib-cbc_cksm.ll | 2 +- bench/openssl/optimized/libcrypto-shlib-cfb128.ll | 2 +- bench/openssl/optimized/libcrypto-shlib-cfb64enc.ll | 4 ++-- bench/openssl/optimized/libcrypto-shlib-ecb3_enc.ll | 2 +- bench/openssl/optimized/libcrypto-shlib-ecb_enc.ll | 4 ++-- bench/openssl/optimized/libcrypto-shlib-i_cfb64.ll | 4 ++-- bench/openssl/optimized/libcrypto-shlib-i_ecb.ll | 4 ++-- bench/openssl/optimized/libcrypto-shlib-i_ofb64.ll | 2 +- bench/openssl/optimized/libcrypto-shlib-ofb64ede.ll | 2 +- bench/openssl/optimized/libcrypto-shlib-ofb64enc.ll | 2 +- bench/openssl/optimized/libcrypto-shlib-ofb_enc.ll | 2 +- bench/openssl/optimized/libcrypto-shlib-p12_p8e.ll | 4 +--- bench/openssl/optimized/libcrypto-shlib-pcbc_enc.ll | 4 ++-- bench/openssl/optimized/libcrypto-shlib-punycode.ll | 2 +- bench/openssl/optimized/libcrypto-shlib-rc2_ecb.ll | 2 +- bench/openssl/optimized/libcrypto-shlib-rc2cfb64.ll | 4 ++-- bench/openssl/optimized/libcrypto-shlib-rc2ofb64.ll | 2 +- bench/openssl/optimized/libcrypto-shlib-rsa_pk1.ll | 4 ++-- bench/openssl/optimized/libcrypto-shlib-time.ll | 4 ++-- bench/openssl/optimized/libcrypto-shlib-v3_ia5.ll | 3 +-- bench/openssl/optimized/libcrypto-shlib-v3_utf8.ll | 3 +-- bench/openssl/optimized/libcrypto-shlib-x_attrib.ll | 5 ++--- bench/openssl/optimized/libssl-shlib-time.ll | 4 ++-- bench/openssl/optimized/mdc2test-bin-mdc2test.ll | 4 ++-- bench/openssl/optimized/memleaktest-bin-memleaktest.ll | 4 ++-- bench/openssl/optimized/moduleloadtest-bin-moduleloadtest.ll | 4 ++-- bench/openssl/optimized/openssl-bin-dsaparam.ll | 4 ++-- bench/openssl/optimized/openssl-bin-errstr.ll | 2 +- bench/openssl/optimized/openssl-bin-pkeyutl.ll | 4 ++-- bench/openssl/optimized/openssl-bin-smime.ll | 2 +- bench/openssl/optimized/openssl-bin-spkac.ll | 5 ++--- bench/openssl/optimized/rc4test-bin-rc4test.ll | 4 ++-- .../openssl/optimized/servername_test-bin-servername_test.ll | 4 ++-- bench/pbrt-v4/optimized/rng.cpp.ll | 3 +-- bench/pbrt-v4/optimized/scattering.cpp.ll | 3 +-- bench/protobuf/optimized/main.cc.ll | 4 ++-- bench/protobuf/optimized/repeated_field.cc.ll | 5 ++--- bench/proxygen/optimized/CryptUtil.cpp.ll | 5 ++--- bench/proxygen/optimized/HTTP3ErrorCode.cpp.ll | 4 ++-- bench/qemu/optimized/chardev_char-null.c.ll | 4 +--- bench/qemu/optimized/crypto_pbkdf.c.ll | 4 ++-- bench/qemu/optimized/disas_riscv-xventana.c.ll | 5 ++--- bench/qemu/optimized/dump_dump-hmp-cmds.c.ll | 5 ++--- bench/qemu/optimized/fdt_check.c.ll | 4 +--- bench/qemu/optimized/fdt_wip.c.ll | 4 ++-- bench/qemu/optimized/hw_watchdog_watchdog.c.ll | 4 ++-- .../meson-generated_.._qapi_qapi-init-commands.c.ll | 4 +--- bench/qemu/optimized/migration_colo-failover.c.ll | 2 +- bench/qemu/optimized/migration_migration-stats.c.ll | 2 +- bench/qemu/optimized/migration_target.c.ll | 4 +--- bench/qemu/optimized/qobject_qnull.c.ll | 4 ++-- bench/qemu/optimized/qobject_qobject.c.ll | 4 +--- bench/qemu/optimized/qom_container.c.ll | 2 +- .../qemu/optimized/source_s_shortShiftRightJam128Extra.c.ll | 4 ++-- bench/qemu/optimized/stubs_cpu-get-clock.c.ll | 2 +- bench/qemu/optimized/system_datadir.c.ll | 4 ++-- bench/qemu/optimized/system_runstate-hmp-cmds.c.ll | 3 +-- bench/qemu/optimized/util_memalign.c.ll | 4 ++-- bench/qemu/optimized/util_mmap-alloc.c.ll | 4 ++-- bench/qemu/optimized/util_qemu-progress.c.ll | 4 ++-- bench/qemu/optimized/util_qemu-timer-common.c.ll | 4 ++-- bench/readerwriterqueue/optimized/systemtime.cpp.ll | 4 ++-- bench/redis/optimized/exp_grow.ll | 4 +--- bench/redis/optimized/exp_grow.sym.ll | 4 +--- bench/redis/optimized/malloc_io.ll | 4 ++-- bench/redis/optimized/malloc_io.sym.ll | 4 ++-- bench/redis/optimized/sds.ll | 4 ++-- bench/regex-rs/optimized/10yjupz8j620axf1.ll | 4 ++-- bench/regex-rs/optimized/13wny1mjt9ucrwvk.ll | 4 ++-- bench/regex-rs/optimized/15cj91zt2qxjie1y.ll | 4 ++-- bench/regex-rs/optimized/1g9gwtztz6tsq88i.ll | 2 +- bench/regex-rs/optimized/1gr7fde687nprwdy.ll | 2 +- bench/regex-rs/optimized/1iepbmygf3kezbqf.ll | 2 +- bench/regex-rs/optimized/1pl7zwq2cwnifbtf.ll | 4 ++-- bench/regex-rs/optimized/1xia534uffyn6bmu.ll | 2 +- bench/regex-rs/optimized/211jg0dhcvxizq33.ll | 4 ++-- bench/regex-rs/optimized/26qz5fal2ldx1bui.ll | 2 +- bench/regex-rs/optimized/2gy6kkxw04y7s7d8.ll | 4 ++-- bench/regex-rs/optimized/2lcnzm924qah7iw6.ll | 4 ++-- bench/regex-rs/optimized/2meohf7un8nmj7l0.ll | 4 ++-- bench/regex-rs/optimized/2xajdy55u48bn08r.ll | 4 ++-- bench/regex-rs/optimized/2xbpp4akg6cnton7.ll | 4 ++-- bench/regex-rs/optimized/2zc3p92xss3up6r7.ll | 4 ++-- bench/regex-rs/optimized/2zdmrck42com1293.ll | 2 +- bench/regex-rs/optimized/316nql7bc7a4t5y0.ll | 4 ++-- bench/regex-rs/optimized/35vn7b0j3g3sx2je.ll | 4 ++-- bench/regex-rs/optimized/36agsfwwmlkqn91e.ll | 4 ++-- bench/regex-rs/optimized/39nxakkx0k9s2eg5.ll | 2 +- bench/regex-rs/optimized/3an2zixf0miql8u8.ll | 2 +- bench/regex-rs/optimized/3gr36vt90wvdmv67.ll | 2 +- bench/regex-rs/optimized/3teyp2y6p9k5zoa6.ll | 2 +- bench/regex-rs/optimized/3u1ijd21feqbo7f8.ll | 2 +- bench/regex-rs/optimized/3wryzpxl9e06751v.ll | 4 ++-- bench/regex-rs/optimized/3y98h5kyuvxjkkc4.ll | 4 ++-- bench/regex-rs/optimized/3z1xpyai8zv9m9fp.ll | 4 ++-- bench/regex-rs/optimized/3z502kk30l0em2ea.ll | 2 +- bench/regex-rs/optimized/3zk0lu6keb29vihe.ll | 4 ++-- bench/regex-rs/optimized/3zkth7069hy28kw8.ll | 2 +- bench/regex-rs/optimized/43pf4qap0cq18nmz.ll | 2 +- bench/regex-rs/optimized/45sf1x22iourq6wa.ll | 2 +- bench/regex-rs/optimized/47zdt95temv3j4xs.ll | 4 ++-- bench/regex-rs/optimized/4biblbf8adn48vk6.ll | 2 +- bench/regex-rs/optimized/4e0d86ph2jiywitl.ll | 2 +- bench/regex-rs/optimized/4ie59u4lyhzgqesi.ll | 4 ++-- bench/regex-rs/optimized/4jbmkk40gajqk66t.ll | 2 +- bench/regex-rs/optimized/4nqxanihj1936fod.ll | 4 ++-- bench/regex-rs/optimized/4olxe9b37s79ikpq.ll | 2 +- bench/regex-rs/optimized/4pa8j7jfouxios37.ll | 4 ++-- bench/regex-rs/optimized/4qaq22bvipuvpuzt.ll | 2 +- bench/regex-rs/optimized/4wxaoh9hv1inofg1.ll | 4 ++-- bench/regex-rs/optimized/4yjbi5f5kvj63alx.ll | 4 ++-- bench/regex-rs/optimized/4zejx27xpszt3t0m.ll | 4 ++-- bench/regex-rs/optimized/4zohxd7ez2qa28mj.ll | 4 ++-- bench/regex-rs/optimized/502v72piu9ppp8bi.ll | 2 +- bench/regex-rs/optimized/50twtxmw8ox5h9nz.ll | 4 ++-- bench/regex-rs/optimized/5334zwjomjroyvjd.ll | 4 ++-- bench/regex-rs/optimized/5799z6vgkeizj2hs.ll | 2 +- bench/regex-rs/optimized/5851q1lozj4km9cq.ll | 4 ++-- bench/regex-rs/optimized/5aqo4j3o33bjqwdd.ll | 2 +- bench/regex-rs/optimized/5ct00004bdae9sso.ll | 2 +- bench/regex-rs/optimized/5gekrg1jkzgre82x.ll | 2 +- bench/regex-rs/optimized/5macqfxdak3cdut.ll | 2 +- bench/regex-rs/optimized/5v2wqyojclloeos.ll | 4 ++-- bench/regex-rs/optimized/5vfodoa8paq7dhb.ll | 4 ++-- bench/regex-rs/optimized/82jluotf3xfkupn.ll | 4 ++-- bench/regex-rs/optimized/bomjgu0jhdu0dn1.ll | 2 +- bench/regex-rs/optimized/fwtmpmpkh8ud37s.ll | 4 ++-- bench/regex-rs/optimized/p50vq3yepey0v6f.ll | 2 +- bench/regex-rs/optimized/t3kqfjav1djn5nj.ll | 2 +- bench/regex-rs/optimized/vxmolxdv3g9u4u3.ll | 4 ++-- bench/rocksdb/optimized/malloc_stats.cc.ll | 4 ++-- bench/rocksdb/optimized/murmurhash.cc.ll | 2 +- bench/rocksdb/optimized/read_write_util.cc.ll | 2 +- bench/syn/optimized/1242drsusdcn6vn3.ll | 2 +- bench/syn/optimized/12h5s0aum2b9g0a2.ll | 4 ++-- bench/syn/optimized/1c6oehurr6fih9wp.ll | 4 ++-- bench/syn/optimized/1dx0ttor97ms7n36.ll | 2 +- bench/syn/optimized/1vdqps5rnz4xfdo1.ll | 2 +- bench/syn/optimized/1w7wziidcd6sqii8.ll | 4 ++-- bench/syn/optimized/278eof7enmedabx1.ll | 2 +- bench/syn/optimized/2gdgdupviybsn2xk.ll | 4 ++-- bench/syn/optimized/2qnskl2sqblg3n5j.ll | 4 ++-- bench/syn/optimized/407uf3sp6xgg9jxk.ll | 2 +- bench/syn/optimized/42py4pyfuph0fw4x.ll | 2 +- bench/syn/optimized/4l5d42r4egimgges.ll | 4 ++-- bench/syn/optimized/4p64qxtxlkfxjg8e.ll | 2 +- bench/syn/optimized/4tgxxn4z0bxqaxr0.ll | 4 ++-- bench/syn/optimized/5367s6v503zuw97p.ll | 2 +- bench/syn/optimized/eg6elanlq4m85ad.ll | 2 +- bench/syn/optimized/q0msnzslvq5sm89.ll | 4 ++-- bench/syn/optimized/x3x3z08118qbc4t.ll | 4 ++-- bench/velox/optimized/FunctionCallToSpecialForm.cpp.ll | 4 ++-- bench/velox/optimized/KllSketch.cpp.ll | 2 +- bench/velox/optimized/LzoDecompressor.cpp.ll | 2 +- bench/velox/optimized/SuccinctPrinter.cpp.ll | 2 +- bench/velox/optimized/flags.cpp.ll | 2 +- bench/yaml-cpp/optimized/binary.cpp.ll | 4 ++-- bench/z3/optimized/fd_solver.cpp.ll | 2 +- bench/z3/optimized/main.cpp.ll | 4 ++-- bench/z3/optimized/smt_tactic.cpp.ll | 4 ++-- bench/z3/optimized/timeout.cpp.ll | 3 +-- bench/z3/optimized/z3_log_frontend.cpp.ll | 2 +- 298 files changed, 460 insertions(+), 531 deletions(-) diff --git a/bench/abseil-cpp/optimized/futex_waiter.cc.ll b/bench/abseil-cpp/optimized/futex_waiter.cc.ll index a0fa0d45367..4f3fd5a1d8a 100644 --- a/bench/abseil-cpp/optimized/futex_waiter.cc.ll +++ b/bench/abseil-cpp/optimized/futex_waiter.cc.ll @@ -41,7 +41,7 @@ if.then3: ; preds = %if.else %2 = extractvalue { i64, i64 } %call4, 1 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %ts.i) store i64 %1, ptr %ts.i, align 8 - %tv_nsec7.i.i = getelementptr inbounds %"struct.absl::synchronization_internal::FutexTimespec", ptr %ts.i, i64 0, i32 1 + %tv_nsec7.i.i = getelementptr inbounds i8, ptr %ts.i, i64 8 store i64 %2, ptr %tv_nsec7.i.i, align 8 %call1.i = call i64 (i64, ...) @syscall(i64 noundef 202, ptr noundef %v, i32 noundef 128, i32 noundef %val, ptr noundef nonnull %ts.i) #5 %cmp.not.i = icmp eq i64 %call1.i, 0 @@ -64,7 +64,7 @@ if.else6: ; preds = %if.else %5 = extractvalue { i64, i64 } %call7, 1 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %ts.i7) store i64 %4, ptr %ts.i7, align 8 - %tv_nsec7.i.i9 = getelementptr inbounds %"struct.absl::synchronization_internal::FutexTimespec", ptr %ts.i7, i64 0, i32 1 + %tv_nsec7.i.i9 = getelementptr inbounds i8, ptr %ts.i7, i64 8 store i64 %5, ptr %tv_nsec7.i.i9, align 8 %call1.i11 = call i64 (i64, ...) @syscall(i64 noundef 202, ptr noundef %v, i32 noundef 393, i32 noundef %val, ptr noundef nonnull %ts.i7, ptr null, i32 noundef -1) #5 %cmp.not.i12 = icmp eq i64 %call1.i11, 0 diff --git a/bench/abseil-cpp/optimized/has_absl_stringify_test.cc.ll b/bench/abseil-cpp/optimized/has_absl_stringify_test.cc.ll index 9c80965e69b..94791468c45 100644 --- a/bench/abseil-cpp/optimized/has_absl_stringify_test.cc.ll +++ b/bench/abseil-cpp/optimized/has_absl_stringify_test.cc.ll @@ -392,7 +392,7 @@ invoke.cont.i: ; preds = %.noexc.i to label %invoke.cont3.i unwind label %lpad2.i invoke.cont3.i: ; preds = %invoke.cont.i - %line.i.i = getelementptr inbounds %"struct.testing::internal::CodeLocation", ptr %agg.tmp.i, i64 0, i32 1 + %line.i.i = getelementptr inbounds i8, ptr %agg.tmp.i, i64 32 store i32 31, ptr %line.i.i, align 8 %call.i = invoke noundef ptr @_ZN7testing8internal13GetTestTypeIdEv() to label %invoke.cont5.i unwind label %lpad4.i diff --git a/bench/abseil-cpp/optimized/has_ostream_operator_test.cc.ll b/bench/abseil-cpp/optimized/has_ostream_operator_test.cc.ll index 2a2a4b45e4a..34ec5557752 100644 --- a/bench/abseil-cpp/optimized/has_ostream_operator_test.cc.ll +++ b/bench/abseil-cpp/optimized/has_ostream_operator_test.cc.ll @@ -392,7 +392,7 @@ invoke.cont.i: ; preds = %.noexc.i to label %invoke.cont3.i unwind label %lpad2.i invoke.cont3.i: ; preds = %invoke.cont.i - %line.i.i = getelementptr inbounds %"struct.testing::internal::CodeLocation", ptr %agg.tmp.i, i64 0, i32 1 + %line.i.i = getelementptr inbounds i8, ptr %agg.tmp.i, i64 32 store i32 33, ptr %line.i.i, align 8 %call.i = invoke noundef ptr @_ZN7testing8internal13GetTestTypeIdEv() to label %invoke.cont5.i unwind label %lpad4.i diff --git a/bench/abseil-cpp/optimized/mutex_method_pointer_test.cc.ll b/bench/abseil-cpp/optimized/mutex_method_pointer_test.cc.ll index 13ad069d712..8903c6a5482 100644 --- a/bench/abseil-cpp/optimized/mutex_method_pointer_test.cc.ll +++ b/bench/abseil-cpp/optimized/mutex_method_pointer_test.cc.ll @@ -392,7 +392,7 @@ invoke.cont.i: ; preds = %.noexc.i to label %invoke.cont3.i unwind label %lpad2.i invoke.cont3.i: ; preds = %invoke.cont.i - %line.i.i = getelementptr inbounds %"struct.testing::internal::CodeLocation", ptr %agg.tmp.i, i64 0, i32 1 + %line.i.i = getelementptr inbounds i8, ptr %agg.tmp.i, i64 32 store i32 118, ptr %line.i.i, align 8 %call.i = invoke noundef ptr @_ZN7testing8internal13GetTestTypeIdEv() to label %invoke.cont5.i unwind label %lpad4.i diff --git a/bench/abseil-cpp/optimized/program_name.cc.ll b/bench/abseil-cpp/optimized/program_name.cc.ll index 49f8d395c2c..427e2bf9382 100644 --- a/bench/abseil-cpp/optimized/program_name.cc.ll +++ b/bench/abseil-cpp/optimized/program_name.cc.ll @@ -173,7 +173,7 @@ invoke.cont: ; preds = %do.cond.i.i.i, %_ZN %5 = extractvalue { i64, ptr } %call.i, 1 call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12__sv_wrapperC1ESt17basic_string_viewIcS2_E(ptr noundef nonnull align 8 dereferenceable(16) %agg.tmp.i, i64 %4, ptr %5) #9 %6 = load i64, ptr %agg.tmp.i, align 8 - %7 = getelementptr inbounds { i64, ptr }, ptr %agg.tmp.i, i64 0, i32 1 + %7 = getelementptr inbounds i8, ptr %agg.tmp.i, i64 8 %8 = load ptr, ptr %7, align 8 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ENS4_12__sv_wrapperERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %agg.result, i64 %6, ptr %8, ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp2) to label %cond.end unwind label %ehcleanup @@ -279,7 +279,7 @@ invoke.cont: ; preds = %if.then %2 = extractvalue { i64, ptr } %call.i, 1 call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12__sv_wrapperC1ESt17basic_string_viewIcS2_E(ptr noundef nonnull align 8 dereferenceable(16) %agg.tmp.i, i64 %1, ptr %2) #9 %3 = load i64, ptr %agg.tmp.i, align 8 - %4 = getelementptr inbounds { i64, ptr }, ptr %agg.tmp.i, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %agg.tmp.i, i64 8 %5 = load ptr, ptr %4, align 8 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ENS4_12__sv_wrapperERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %call, i64 %3, ptr %5, ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp) to label %invoke.cont2 unwind label %lpad1 diff --git a/bench/abseil-cpp/optimized/randen.cc.ll b/bench/abseil-cpp/optimized/randen.cc.ll index 0e11dee1b5f..0491894be99 100644 --- a/bench/abseil-cpp/optimized/randen.cc.ll +++ b/bench/abseil-cpp/optimized/randen.cc.ll @@ -3,8 +3,6 @@ source_filename = "bench/abseil-cpp/original/randen.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" -%"class.absl::random_internal::Randen" = type <{ ptr, i8, [7 x i8] }> - @_ZZN4absl15random_internal12_GLOBAL__N_114GetRandenStateEvE5state.0 = internal unnamed_addr global ptr null, align 8 @_ZZN4absl15random_internal12_GLOBAL__N_114GetRandenStateEvE5state.1 = internal unnamed_addr global i8 0, align 8 @_ZGVZN4absl15random_internal12_GLOBAL__N_114GetRandenStateEvE5state = internal global i64 0, align 8 @@ -46,7 +44,7 @@ _ZN4absl15random_internal12_GLOBAL__N_114GetRandenStateEv.exit: ; preds = %entry %retval.sroa.2.0.copyload.i = load i8, ptr @_ZZN4absl15random_internal12_GLOBAL__N_114GetRandenStateEvE5state.1, align 8 store ptr %retval.sroa.0.0.copyload.i, ptr %this, align 8 %5 = and i8 %retval.sroa.2.0.copyload.i, 1 - %has_crypto_ = getelementptr inbounds %"class.absl::random_internal::Randen", ptr %this, i64 0, i32 1 + %has_crypto_ = getelementptr inbounds i8, ptr %this, i64 8 store i8 %5, ptr %has_crypto_, align 8 ret void } diff --git a/bench/abseil-cpp/optimized/sample_element_size_test.cc.ll b/bench/abseil-cpp/optimized/sample_element_size_test.cc.ll index b03416d317b..b3a0200102b 100644 --- a/bench/abseil-cpp/optimized/sample_element_size_test.cc.ll +++ b/bench/abseil-cpp/optimized/sample_element_size_test.cc.ll @@ -392,7 +392,7 @@ invoke.cont.i: ; preds = %.noexc.i to label %invoke.cont3.i unwind label %lpad2.i invoke.cont3.i: ; preds = %invoke.cont.i - %line.i.i = getelementptr inbounds %"struct.testing::internal::CodeLocation", ptr %agg.tmp.i, i64 0, i32 1 + %line.i.i = getelementptr inbounds i8, ptr %agg.tmp.i, i64 32 store i32 74, ptr %line.i.i, align 8 %call.i = invoke noundef ptr @_ZN7testing8internal13GetTestTypeIdEv() to label %invoke.cont5.i unwind label %lpad4.i diff --git a/bench/abseil-cpp/optimized/seed_material.cc.ll b/bench/abseil-cpp/optimized/seed_material.cc.ll index 340c11175c9..da6ecc7a51d 100644 --- a/bench/abseil-cpp/optimized/seed_material.cc.ll +++ b/bench/abseil-cpp/optimized/seed_material.cc.ll @@ -111,12 +111,12 @@ for.body6: ; preds = %for.body, %for.body %shr.i11 = lshr i32 %sub.i, 16 %xor.i12 = xor i32 %shr.i11, %sub.i store i32 %xor.i12, ptr %__begin3.019, align 4 - %incdec.ptr = getelementptr inbounds i32, ptr %__begin3.019, i64 1 + %incdec.ptr = getelementptr inbounds i8, ptr %__begin3.019, i64 4 %cmp5.not = icmp eq ptr %incdec.ptr, %add.ptr.i9 br i1 %cmp5.not, label %for.cond4.for.inc9_crit_edge, label %for.body6 for.cond4.for.inc9_crit_edge: ; preds = %for.body6 - %incdec.ptr10 = getelementptr inbounds i32, ptr %__begin2.022, i64 1 + %incdec.ptr10 = getelementptr inbounds i8, ptr %__begin2.022, i64 4 %cmp.not = icmp eq ptr %incdec.ptr10, %add.ptr.i br i1 %cmp.not, label %for.end11, label %for.body diff --git a/bench/abseil-cpp/optimized/stacktrace_test.cc.ll b/bench/abseil-cpp/optimized/stacktrace_test.cc.ll index 887e42ed1cf..4171bcd27f4 100644 --- a/bench/abseil-cpp/optimized/stacktrace_test.cc.ll +++ b/bench/abseil-cpp/optimized/stacktrace_test.cc.ll @@ -432,7 +432,7 @@ invoke.cont.i: ; preds = %.noexc.i to label %invoke.cont3.i unwind label %lpad2.i invoke.cont3.i: ; preds = %invoke.cont.i - %line.i.i = getelementptr inbounds %"struct.testing::internal::CodeLocation", ptr %agg.tmp.i, i64 0, i32 1 + %line.i.i = getelementptr inbounds i8, ptr %agg.tmp.i, i64 32 store i32 40, ptr %line.i.i, align 8 %call.i = invoke noundef ptr @_ZN7testing8internal13GetTestTypeIdEv() to label %invoke.cont5.i unwind label %lpad4.i diff --git a/bench/abseil-cpp/optimized/status_payload_printer.cc.ll b/bench/abseil-cpp/optimized/status_payload_printer.cc.ll index 6fe1b70cd5c..9b431130dfb 100644 --- a/bench/abseil-cpp/optimized/status_payload_printer.cc.ll +++ b/bench/abseil-cpp/optimized/status_payload_printer.cc.ll @@ -16,7 +16,6 @@ target triple = "x86_64-unknown-linux-gnu" %"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string::_Alloc_hider", i64, %union.anon } %"struct.std::__cxx11::basic_string::_Alloc_hider" = type { ptr } %union.anon = type { i64, [8 x i8] } -%"struct.std::_Optional_payload_base" = type <{ %"union.std::_Optional_payload_base>::_Storage", i8, [7 x i8] }> $_ZN4absl13base_internal10AtomicHookIPFSt8optionalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt17basic_string_viewIcS6_ERKNS_4CordEEE13DummyFunctionESB_SE_ = comdat any @@ -56,7 +55,7 @@ entry: ; Function Attrs: mustprogress nounwind uwtable define linkonce_odr dso_local void @_ZN4absl13base_internal10AtomicHookIPFSt8optionalINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt17basic_string_viewIcS6_ERKNS_4CordEEE13DummyFunctionESB_SE_(ptr noalias sret(%"class.std::optional") align 8 %agg.result, i64 %.coerce0, ptr %.coerce1, ptr noundef nonnull align 8 dereferenceable(16) %0) #4 comdat align 2 { entry: - %_M_engaged.i.i.i.i.i = getelementptr inbounds %"struct.std::_Optional_payload_base", ptr %agg.result, i64 0, i32 1 + %_M_engaged.i.i.i.i.i = getelementptr inbounds i8, ptr %agg.result, i64 32 store i8 0, ptr %_M_engaged.i.i.i.i.i, align 8 ret void } diff --git a/bench/abseil-cpp/optimized/str_split.cc.ll b/bench/abseil-cpp/optimized/str_split.cc.ll index 055f1840d2d..59bb92f0edb 100644 --- a/bench/abseil-cpp/optimized/str_split.cc.ll +++ b/bench/abseil-cpp/optimized/str_split.cc.ll @@ -30,7 +30,7 @@ entry: %1 = extractvalue { i64, ptr } %call.i, 1 call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12__sv_wrapperC1ESt17basic_string_viewIcS2_E(ptr noundef nonnull align 8 dereferenceable(16) %agg.tmp.i, i64 %0, ptr %1) #10 %2 = load i64, ptr %agg.tmp.i, align 8 - %3 = getelementptr inbounds { i64, ptr }, ptr %agg.tmp.i, i64 0, i32 1 + %3 = getelementptr inbounds i8, ptr %agg.tmp.i, i64 8 %4 = load ptr, ptr %3, align 8 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ENS4_12__sv_wrapperERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %this, i64 %2, ptr %4, ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp) to label %invoke.cont unwind label %lpad @@ -248,7 +248,7 @@ entry: %1 = extractvalue { i64, ptr } %call.i, 1 call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12__sv_wrapperC1ESt17basic_string_viewIcS2_E(ptr noundef nonnull align 8 dereferenceable(16) %agg.tmp.i, i64 %0, ptr %1) #10 %2 = load i64, ptr %agg.tmp.i, align 8 - %3 = getelementptr inbounds { i64, ptr }, ptr %agg.tmp.i, i64 0, i32 1 + %3 = getelementptr inbounds i8, ptr %agg.tmp.i, i64 8 %4 = load ptr, ptr %3, align 8 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ENS4_12__sv_wrapperERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %this, i64 %2, ptr %4, ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp) to label %invoke.cont unwind label %lpad diff --git a/bench/abseil-cpp/optimized/sysinfo.cc.ll b/bench/abseil-cpp/optimized/sysinfo.cc.ll index 514f4b0cc99..e33b99e3043 100644 --- a/bench/abseil-cpp/optimized/sysinfo.cc.ll +++ b/bench/abseil-cpp/optimized/sysinfo.cc.ll @@ -147,7 +147,7 @@ if.then.i.i.i.i.i.i.i: ; preds = %land.lhs.true.i.i.i br label %release.i.i.i if.end.i.i.i.i.i.i.i: ; preds = %_ZN4absl13base_internalL16ReadLongFromFileEPKcPl.exit.thread4.i.i.i.i.i.i.i, %_ZN4absl13base_internalL16ReadLongFromFileEPKcPl.exit.thread.i.i.i.i.i.i.i - %tv_nsec.i.i.i.i.i.i.i.i.i = getelementptr inbounds %struct.timespec, ptr %ts.i.i.i.i.i.i.i.i.i, i64 0, i32 1 + %tv_nsec.i.i.i.i.i.i.i.i.i = getelementptr inbounds i8, ptr %ts.i.i.i.i.i.i.i.i.i, i64 8 br label %for.body.i.i.i.i.i.i.i.i for.body.i.i.i.i.i.i.i.i: ; preds = %if.end.i.i.i.i.i.i.i.i, %if.end.i.i.i.i.i.i.i @@ -398,7 +398,7 @@ ehcleanup10: ; preds = %ehcleanup, %lpad if.end: ; preds = %entry %5 = load i64, ptr %t, align 8 %mul = mul nsw i64 %5, 1000000000 - %tv_nsec = getelementptr inbounds %struct.timespec, ptr %t, i64 0, i32 1 + %tv_nsec = getelementptr inbounds i8, ptr %t, i64 8 %6 = load i64, ptr %tv_nsec, align 8 %add = add nsw i64 %mul, %6 ret i64 %add diff --git a/bench/abseil-cpp/optimized/test_util.cc.ll b/bench/abseil-cpp/optimized/test_util.cc.ll index 0404cdeffa8..f502cc00f97 100644 --- a/bench/abseil-cpp/optimized/test_util.cc.ll +++ b/bench/abseil-cpp/optimized/test_util.cc.ll @@ -68,7 +68,7 @@ if.end: ; preds = %entry, %_ZNSt11char %1 = extractvalue { i64, ptr } %call.i, 1 call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12__sv_wrapperC1ESt17basic_string_viewIcS2_E(ptr noundef nonnull align 8 dereferenceable(16) %agg.tmp.i, i64 %0, ptr %1) #5 %2 = load i64, ptr %agg.tmp.i, align 8 - %3 = getelementptr inbounds { i64, ptr }, ptr %agg.tmp.i, i64 0, i32 1 + %3 = getelementptr inbounds i8, ptr %agg.tmp.i, i64 8 %4 = load ptr, ptr %3, align 8 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2ENS4_12__sv_wrapperERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %ref.tmp5, i64 %2, ptr %4, ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp6) to label %invoke.cont unwind label %lpad diff --git a/bench/abseil-cpp/optimized/traits_test.cc.ll b/bench/abseil-cpp/optimized/traits_test.cc.ll index 0808a7e6aa9..f7ebca59c3e 100644 --- a/bench/abseil-cpp/optimized/traits_test.cc.ll +++ b/bench/abseil-cpp/optimized/traits_test.cc.ll @@ -392,7 +392,7 @@ invoke.cont.i: ; preds = %.noexc.i to label %invoke.cont3.i unwind label %lpad2.i invoke.cont3.i: ; preds = %invoke.cont.i - %line.i.i = getelementptr inbounds %"struct.testing::internal::CodeLocation", ptr %agg.tmp.i, i64 0, i32 1 + %line.i.i = getelementptr inbounds i8, ptr %agg.tmp.i, i64 32 store i32 104, ptr %line.i.i, align 8 %call.i = invoke noundef ptr @_ZN7testing8internal13GetTestTypeIdEv() to label %invoke.cont5.i unwind label %lpad4.i diff --git a/bench/abseil-cpp/optimized/vdso_support.cc.ll b/bench/abseil-cpp/optimized/vdso_support.cc.ll index ea3ff667e3a..288875e6c21 100644 --- a/bench/abseil-cpp/optimized/vdso_support.cc.ll +++ b/bench/abseil-cpp/optimized/vdso_support.cc.ll @@ -119,7 +119,7 @@ while.body: ; preds = %while.cond br i1 %cmp16, label %if.then17, label %while.cond, !llvm.loop !5 if.then17: ; preds = %while.body - %a_un = getelementptr inbounds %struct.Elf64_auxv_t, ptr %aux, i64 0, i32 1 + %a_un = getelementptr inbounds i8, ptr %aux, i64 8 %4 = load i64, ptr %a_un, align 8 store atomic i64 %4, ptr @_ZN4absl18debugging_internal11VDSOSupport10vdso_base_E monotonic, align 8 br label %while.end @@ -162,7 +162,7 @@ _ZN4absl18debugging_internal11VDSOSupportC2Ev.exit: ; preds = %cond.true.i, %con br i1 %call.i6, label %if.then28, label %if.end30 if.then28: ; preds = %_ZN4absl18debugging_internal11VDSOSupportC2Ev.exit - %address = getelementptr inbounds %"struct.absl::debugging_internal::ElfMemImage::SymbolInfo", ptr %info, i64 0, i32 2 + %address = getelementptr inbounds i8, ptr %info, i64 16 %9 = load ptr, ptr %address, align 8 br label %if.end30 diff --git a/bench/arrow/optimized/fast-dtoa.cc.ll b/bench/arrow/optimized/fast-dtoa.cc.ll index b4af26c61de..cf41f3d27e2 100644 --- a/bench/arrow/optimized/fast-dtoa.cc.ll +++ b/bench/arrow/optimized/fast-dtoa.cc.ll @@ -152,7 +152,7 @@ if.end.i: ; preds = %_ZNK14arrow_vendore %sh_prom.i39.i = zext nneg i32 %sub21.i38.sink.i to i64 %shl22.i40.i = shl i64 %m_minus.sroa.0.0.i36.sink.i, %sh_prom.i39.i store i64 0, ptr %ten_mk.i, align 8 - %e_.i49.i = getelementptr inbounds %"class.arrow_vendored::double_conversion::DiyFp", ptr %ten_mk.i, i64 0, i32 1 + %e_.i49.i = getelementptr inbounds i8, ptr %ten_mk.i, i64 8 store i32 0, ptr %e_.i49.i, align 8 %sub.i = sub nsw i32 -113, %e.0.lcssa.i.i %sub6.i = sub nsw i32 -85, %e.0.lcssa.i.i @@ -452,7 +452,7 @@ _ZNK14arrow_vendored17double_conversion6Double17AsNormalizedDiyFpEv.exit.i16: ; %e.0.lcssa.i.i18 = phi i32 [ %sub.i.i.i15, %sw.bb1 ], [ %32, %while.body.preheader.i.i73 ] %shl3.i.i19 = shl i64 %f.0.lcssa.i.i17, 11 store i64 0, ptr %ten_mk.i7, align 8 - %e_.i.i = getelementptr inbounds %"class.arrow_vendored::double_conversion::DiyFp", ptr %ten_mk.i7, i64 0, i32 1 + %e_.i.i = getelementptr inbounds i8, ptr %ten_mk.i7, i64 8 store i32 0, ptr %e_.i.i, align 8 %sub.i20 = sub nsw i32 -113, %e.0.lcssa.i.i18 %sub4.i = sub nsw i32 -85, %e.0.lcssa.i.i18 diff --git a/bench/box2d/optimized/b2_timer.cpp.ll b/bench/box2d/optimized/b2_timer.cpp.ll index d3379699861..4bfbc48c95c 100644 --- a/bench/box2d/optimized/b2_timer.cpp.ll +++ b/bench/box2d/optimized/b2_timer.cpp.ll @@ -4,7 +4,6 @@ target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80: target triple = "x86_64-unknown-linux-gnu" %struct.timeval = type { i64, i64 } -%class.b2Timer = type { i64, i64 } @_ZN7b2TimerC1Ev = unnamed_addr alias void (ptr), ptr @_ZN7b2TimerC2Ev @@ -39,9 +38,9 @@ entry: %t = alloca %struct.timeval, align 8 %call = call i32 @gettimeofday(ptr noundef nonnull %t, ptr noundef null) #4 %0 = load i64, ptr %this, align 8 - %m_start_usec = getelementptr inbounds %class.b2Timer, ptr %this, i64 0, i32 1 + %m_start_usec = getelementptr inbounds i8, ptr %this, i64 8 %1 = load i64, ptr %m_start_usec, align 8 - %tv_usec = getelementptr inbounds %struct.timeval, ptr %t, i64 0, i32 1 + %tv_usec = getelementptr inbounds i8, ptr %t, i64 8 %2 = load i64, ptr %tv_usec, align 8 %cmp = icmp slt i64 %2, %1 br i1 %cmp, label %if.then, label %if.end diff --git a/bench/bullet3/optimized/b3AlignedAllocator.ll b/bench/bullet3/optimized/b3AlignedAllocator.ll index 529bfe72065..b20b26a50be 100644 --- a/bench/bullet3/optimized/b3AlignedAllocator.ll +++ b/bench/bullet3/optimized/b3AlignedAllocator.ll @@ -41,7 +41,7 @@ if.then: ; preds = %entry %add.i = add i64 %sub.i, %1 %and.i = and i64 %add.i, %not.i %2 = inttoptr i64 %and.i to ptr - %add.ptr4 = getelementptr inbounds ptr, ptr %2, i64 -1 + %add.ptr4 = getelementptr inbounds i8, ptr %2, i64 -8 store ptr %call, ptr %add.ptr4, align 8 br label %if.end @@ -57,7 +57,7 @@ entry: br i1 %tobool.not, label %if.end, label %if.then if.then: ; preds = %entry - %add.ptr = getelementptr inbounds ptr, ptr %ptr, i64 -1 + %add.ptr = getelementptr inbounds i8, ptr %ptr, i64 -8 %0 = load ptr, ptr %add.ptr, align 8 %1 = load ptr, ptr @_ZL12b3s_freeFunc, align 8 tail call void %1(ptr noundef %0) diff --git a/bench/bullet3/optimized/btAlignedAllocator.ll b/bench/bullet3/optimized/btAlignedAllocator.ll index 34866aee836..d0bb826cd4c 100644 --- a/bench/bullet3/optimized/btAlignedAllocator.ll +++ b/bench/bullet3/optimized/btAlignedAllocator.ll @@ -42,7 +42,7 @@ if.then: ; preds = %entry %add.i = add i64 %sub.i, %1 %and.i = and i64 %add.i, %not.i %2 = inttoptr i64 %and.i to ptr - %add.ptr4 = getelementptr inbounds ptr, ptr %2, i64 -1 + %add.ptr4 = getelementptr inbounds i8, ptr %2, i64 -8 store ptr %call, ptr %add.ptr4, align 8 br label %if.end @@ -59,7 +59,7 @@ entry: br i1 %tobool.not, label %if.end, label %if.then if.then: ; preds = %entry - %add.ptr = getelementptr inbounds ptr, ptr %ptr, i64 -1 + %add.ptr = getelementptr inbounds i8, ptr %ptr, i64 -8 %0 = load ptr, ptr %add.ptr, align 8 %1 = load ptr, ptr @_ZL9sFreeFunc, align 8 tail call void %1(ptr noundef %0) diff --git a/bench/bullet3/optimized/btCollisionAlgorithm.ll b/bench/bullet3/optimized/btCollisionAlgorithm.ll index eede17e1966..9786a896adc 100644 --- a/bench/bullet3/optimized/btCollisionAlgorithm.ll +++ b/bench/bullet3/optimized/btCollisionAlgorithm.ll @@ -3,8 +3,6 @@ source_filename = "bench/bullet3/original/btCollisionAlgorithm.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" -%class.btCollisionAlgorithm = type { ptr, ptr } - $_ZN20btCollisionAlgorithmD2Ev = comdat any $_ZN20btCollisionAlgorithmD0Ev = comdat any @@ -26,7 +24,7 @@ define dso_local void @_ZN20btCollisionAlgorithmC2ERK36btCollisionAlgorithmConst entry: store ptr getelementptr inbounds ({ [7 x ptr] }, ptr @_ZTV20btCollisionAlgorithm, i64 0, inrange i32 0, i64 2), ptr %this, align 8 %0 = load ptr, ptr %ci, align 8 - %m_dispatcher = getelementptr inbounds %class.btCollisionAlgorithm, ptr %this, i64 0, i32 1 + %m_dispatcher = getelementptr inbounds i8, ptr %this, i64 8 store ptr %0, ptr %m_dispatcher, align 8 ret void } diff --git a/bench/cpython/optimized/_statisticsmodule.ll b/bench/cpython/optimized/_statisticsmodule.ll index a284ff8481b..28ceea11f53 100644 --- a/bench/cpython/optimized/_statisticsmodule.ll +++ b/bench/cpython/optimized/_statisticsmodule.ll @@ -67,7 +67,7 @@ land.lhs.true10: ; preds = %if.else if.end15: ; preds = %if.else, %land.lhs.true10, %if.then4 %p.0 = phi double [ %.val17, %if.then4 ], [ -1.000000e+00, %land.lhs.true10 ], [ %call8, %if.else ] - %arrayidx16 = getelementptr ptr, ptr %args, i64 1 + %arrayidx16 = getelementptr i8, ptr %args, i64 8 %3 = load ptr, ptr %arrayidx16, align 8 %4 = getelementptr i8, ptr %3, i64 8 %.val15 = load ptr, ptr %4, align 8 @@ -91,7 +91,7 @@ land.lhs.true26: ; preds = %if.else22 if.end31: ; preds = %if.else22, %land.lhs.true26, %if.then19 %mu.0 = phi double [ %.val18, %if.then19 ], [ -1.000000e+00, %land.lhs.true26 ], [ %call24, %if.else22 ] - %arrayidx32 = getelementptr ptr, ptr %args, i64 2 + %arrayidx32 = getelementptr i8, ptr %args, i64 16 %6 = load ptr, ptr %arrayidx32, align 8 %7 = getelementptr i8, ptr %6, i64 8 %.val16 = load ptr, ptr %7, align 8 diff --git a/bench/cpython/optimized/_testclinic_limited.ll b/bench/cpython/optimized/_testclinic_limited.ll index aae33954e86..45d49ec5a9a 100644 --- a/bench/cpython/optimized/_testclinic_limited.ll +++ b/bench/cpython/optimized/_testclinic_limited.ll @@ -32,7 +32,7 @@ entry: declare ptr @PyModule_Create2(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define internal nonnull ptr @test_empty_function(ptr nocapture readnone %module, ptr nocapture readnone %_unused_ignored) #2 { +define internal noundef nonnull ptr @test_empty_function(ptr nocapture readnone %module, ptr nocapture readnone %_unused_ignored) #2 { entry: ret ptr @_Py_NoneStruct } @@ -87,7 +87,7 @@ land.lhs.true: ; preds = %if.end br i1 %tobool.not, label %if.end5, label %exit if.end5: ; preds = %land.lhs.true, %if.end - %arrayidx6 = getelementptr ptr, ptr %args, i64 1 + %arrayidx6 = getelementptr i8, ptr %args, i64 8 %2 = load ptr, ptr %arrayidx6, align 8 %call7 = tail call i32 @PyLong_AsInt(ptr noundef %2) #3 %cmp8 = icmp eq i32 %call7, -1 diff --git a/bench/cpython/optimized/myreadline.ll b/bench/cpython/optimized/myreadline.ll index 75cba72898e..2accbc2e6f1 100644 --- a/bench/cpython/optimized/myreadline.ll +++ b/bench/cpython/optimized/myreadline.ll @@ -894,7 +894,7 @@ if.then: ; preds = %entry if.end: ; preds = %if.then, %entry %2 = load ptr, ptr @stderr, align 8 %call2 = tail call i32 @fflush(ptr noundef %2) - %interp.i = getelementptr inbounds %struct._ts, ptr %0, i64 0, i32 2 + %interp.i = getelementptr inbounds i8, ptr %0, i64 16 br label %do.body do.body: ; preds = %if.end22, %if.end @@ -1091,7 +1091,7 @@ lor.lhs.false: ; preds = %if.end10 br i1 %tobool17.not, label %if.then21, label %lor.lhs.false18 lor.lhs.false18: ; preds = %lor.lhs.false - %interp = getelementptr inbounds %struct._ts, ptr %1, i64 0, i32 2 + %interp = getelementptr inbounds i8, ptr %1, i64 16 %8 = load ptr, ptr %interp, align 8 %9 = load ptr, ptr getelementptr inbounds (%struct.pyruntimestate, ptr @_PyRuntime, i64 0, i32 8, i32 2), align 8 %cmp.i.not = icmp eq ptr %9, %8 diff --git a/bench/cpython/optimized/pystrtod.ll b/bench/cpython/optimized/pystrtod.ll index beb2fe0e024..80ae92f8e08 100644 --- a/bench/cpython/optimized/pystrtod.ll +++ b/bench/cpython/optimized/pystrtod.ll @@ -585,7 +585,7 @@ lor.lhs.false88.i: ; preds = %if.end67.i br label %if.then93.i if.then93.i: ; preds = %lor.lhs.false88.i, %if.end67.i - %arrayidx94.i = getelementptr ptr, ptr %float_strings.3, i64 1 + %arrayidx94.i = getelementptr i8, ptr %float_strings.3, i64 8 %9 = load ptr, ptr %arrayidx94.i, align 8 %call95.i = call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %p.0.i, ptr noundef nonnull dereferenceable(1) %9, i64 noundef 3) #13 %add.ptr96.i = getelementptr i8, ptr %p.0.i, i64 3 @@ -770,7 +770,7 @@ if.end235.i: ; preds = %if.else231.i, %if.t br i1 %tobool133.not.i, label %if.then254.i, label %if.then246.i if.then246.i: ; preds = %if.end235.i - %arrayidx247.i = getelementptr ptr, ptr %float_strings.3, i64 2 + %arrayidx247.i = getelementptr i8, ptr %float_strings.3, i64 16 %14 = load ptr, ptr %arrayidx247.i, align 8 %15 = load i8, ptr %14, align 1 %incdec.ptr249.i = getelementptr i8, ptr %spec.select138.i, i64 1 diff --git a/bench/cvc5/optimized/icp_solver.cpp.ll b/bench/cvc5/optimized/icp_solver.cpp.ll index ae71e345870..e705e41a4a1 100644 --- a/bench/cvc5/optimized/icp_solver.cpp.ll +++ b/bench/cvc5/optimized/icp_solver.cpp.ll @@ -6,7 +6,6 @@ target triple = "x86_64-unknown-linux-gnu" %"class.std::ios_base::Init" = type { i8 } %"class.cvc5::internal::NodeTemplate" = type { ptr } %"class.cvc5::internal::FatalStream" = type { i8 } -%"class.cvc5::internal::expr::NodeValue" = type { i64, i16, i32, [0 x ptr] } $_ZN4cvc58internal12NodeTemplateILb1EE6s_nullE = comdat any @@ -129,9 +128,9 @@ init.i: ; preds = %init.check.i invoke.cont.i: ; preds = %init.i store i64 1152920405095219200, ptr %call.i, align 8 - %d_kind.i.i = getelementptr inbounds %"class.cvc5::internal::expr::NodeValue", ptr %call.i, i64 0, i32 1 + %d_kind.i.i = getelementptr inbounds i8, ptr %call.i, i64 8 store i16 0, ptr %d_kind.i.i, align 8 - %d_nchildren.i.i = getelementptr inbounds %"class.cvc5::internal::expr::NodeValue", ptr %call.i, i64 0, i32 2 + %d_nchildren.i.i = getelementptr inbounds i8, ptr %call.i, i64 12 store i32 0, ptr %d_nchildren.i.i, align 4 store ptr %call.i, ptr @_ZZN4cvc58internal4expr9NodeValue4nullEvE6s_null, align 8 tail call void @__cxa_guard_release(ptr nonnull @_ZGVZN4cvc58internal4expr9NodeValue4nullEvE6s_null) #10 diff --git a/bench/cvc5/optimized/inference_id.cpp.ll b/bench/cvc5/optimized/inference_id.cpp.ll index 4234a4f8406..3b22040042d 100644 --- a/bench/cvc5/optimized/inference_id.cpp.ll +++ b/bench/cvc5/optimized/inference_id.cpp.ll @@ -496,7 +496,7 @@ invoke.cont: ; preds = %entry to label %.noexc unwind label %lpad3 .noexc: ; preds = %invoke.cont - %_mp_den.i = getelementptr inbounds %struct.__mpq_struct, ptr %this, i64 0, i32 1 + %_mp_den.i = getelementptr inbounds i8, ptr %this, i64 16 invoke void @__gmpz_init_set(ptr noundef nonnull %_mp_den.i, ptr noundef nonnull %ref.tmp2) to label %invoke.cont4 unwind label %lpad3 diff --git a/bench/cvc5/optimized/lfsc_util.cpp.ll b/bench/cvc5/optimized/lfsc_util.cpp.ll index f6ac121d9dc..b5d4ae26494 100644 --- a/bench/cvc5/optimized/lfsc_util.cpp.ll +++ b/bench/cvc5/optimized/lfsc_util.cpp.ll @@ -288,7 +288,7 @@ invoke.cont: ; preds = %entry to label %.noexc unwind label %lpad3 .noexc: ; preds = %invoke.cont - %_mp_den.i = getelementptr inbounds %struct.__mpq_struct, ptr %this, i64 0, i32 1 + %_mp_den.i = getelementptr inbounds i8, ptr %this, i64 16 invoke void @__gmpz_init_set(ptr noundef nonnull %_mp_den.i, ptr noundef nonnull %ref.tmp2) to label %invoke.cont4 unwind label %lpad3 diff --git a/bench/cvc5/optimized/safe_print.cpp.ll b/bench/cvc5/optimized/safe_print.cpp.ll index 01e55e1aae5..f57cb60318d 100644 --- a/bench/cvc5/optimized/safe_print.cpp.ll +++ b/bench/cvc5/optimized/safe_print.cpp.ll @@ -3,8 +3,6 @@ source_filename = "bench/cvc5/original/safe_print.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" -%struct.timespec = type { i64, i64 } - @.str = private unnamed_addr constant [2 x i8] c"0\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c".\00", align 1 @@ -463,7 +461,7 @@ if.then.i5: ; preds = %_ZN4cvc58internal10 unreachable _ZN4cvc58internal10safe_printILm2EEEviRAT__Kc.exit: ; preds = %_ZN4cvc58internal10safe_printImEEviRKT_.exit - %tv_nsec = getelementptr inbounds %struct.timespec, ptr %t, i64 0, i32 1 + %tv_nsec = getelementptr inbounds i8, ptr %t, i64 8 %3 = load i64, ptr %tv_nsec, align 8 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %buf.i6) call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(9) %buf.i6, i8 48, i64 9, i1 false) diff --git a/bench/cvc5/optimized/sat_solver_factory.cpp.ll b/bench/cvc5/optimized/sat_solver_factory.cpp.ll index 63ef6d8e47f..5a720d9691a 100644 --- a/bench/cvc5/optimized/sat_solver_factory.cpp.ll +++ b/bench/cvc5/optimized/sat_solver_factory.cpp.ll @@ -6,7 +6,6 @@ target triple = "x86_64-unknown-linux-gnu" %"class.std::ios_base::Init" = type { i8 } %"class.cvc5::internal::NodeTemplate" = type { ptr } %"class.cvc5::internal::FatalStream" = type { i8 } -%"class.cvc5::internal::expr::NodeValue" = type { i64, i16, i32, [0 x ptr] } $_ZN4cvc58internal12NodeTemplateILb1EE6s_nullE = comdat any @@ -198,9 +197,9 @@ init.i: ; preds = %init.check.i invoke.cont.i: ; preds = %init.i store i64 1152920405095219200, ptr %call.i, align 8 - %d_kind.i.i = getelementptr inbounds %"class.cvc5::internal::expr::NodeValue", ptr %call.i, i64 0, i32 1 + %d_kind.i.i = getelementptr inbounds i8, ptr %call.i, i64 8 store i16 0, ptr %d_kind.i.i, align 8 - %d_nchildren.i.i = getelementptr inbounds %"class.cvc5::internal::expr::NodeValue", ptr %call.i, i64 0, i32 2 + %d_nchildren.i.i = getelementptr inbounds i8, ptr %call.i, i64 12 store i32 0, ptr %d_nchildren.i.i, align 4 store ptr %call.i, ptr @_ZZN4cvc58internal4expr9NodeValue4nullEvE6s_null, align 8 tail call void @__cxa_guard_release(ptr nonnull @_ZGVZN4cvc58internal4expr9NodeValue4nullEvE6s_null) #14 diff --git a/bench/cvc5/optimized/stats.cpp.ll b/bench/cvc5/optimized/stats.cpp.ll index 1d4b43ad067..92e519c4bb0 100644 --- a/bench/cvc5/optimized/stats.cpp.ll +++ b/bench/cvc5/optimized/stats.cpp.ll @@ -8,9 +8,6 @@ target triple = "x86_64-unknown-linux-gnu" %"struct.std::__cxx11::basic_string::_Alloc_hider" = type { ptr } %union.anon = type { i64, [8 x i8] } %"class.std::allocator.2" = type { i8 } -%"class.cvc5::internal::theory::arith::nl::NlStats" = type { %"class.cvc5::internal::IntStat", %"class.cvc5::internal::IntStat" } -%"class.cvc5::internal::IntStat" = type { %"class.cvc5::internal::ValueStat" } -%"class.cvc5::internal::ValueStat" = type { ptr } %struct._Guard = type { ptr } $_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag = comdat any @@ -91,7 +88,7 @@ invoke.cont9: ; preds = %.noexc12 to label %invoke.cont11 unwind label %lpad10 invoke.cont11: ; preds = %invoke.cont9 - %d_checkRuns = getelementptr inbounds %"class.cvc5::internal::theory::arith::nl::NlStats", ptr %this, i64 0, i32 1 + %d_checkRuns = getelementptr inbounds i8, ptr %this, i64 8 store ptr %call12, ptr %d_checkRuns, align 8 call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %ref.tmp6) #7 call void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp7) #7 diff --git a/bench/cvc5/optimized/theory_fp_utils.cpp.ll b/bench/cvc5/optimized/theory_fp_utils.cpp.ll index 501f96e1e3b..e9a6e662c24 100644 --- a/bench/cvc5/optimized/theory_fp_utils.cpp.ll +++ b/bench/cvc5/optimized/theory_fp_utils.cpp.ll @@ -43,7 +43,7 @@ entry: to label %invoke.cont unwind label %lpad invoke.cont: ; preds = %entry - %d_sig_size.i = getelementptr inbounds %"class.cvc5::internal::FloatingPointSize", ptr %fps, i64 0, i32 1 + %d_sig_size.i = getelementptr inbounds i8, ptr %fps, i64 4 %1 = load i32, ptr %d_sig_size.i, align 4 invoke void @_ZNK4cvc58internal7Integer3powEj(ptr nonnull sret(%"class.cvc5::internal::Integer") align 8 %ref.tmp2, ptr noundef nonnull align 8 dereferenceable(16) %ref.tmp3, i32 noundef %1) to label %invoke.cont7 unwind label %lpad4 diff --git a/bench/cvc5/optimized/trust_id.cpp.ll b/bench/cvc5/optimized/trust_id.cpp.ll index 7ec6af4feb8..55f64012121 100644 --- a/bench/cvc5/optimized/trust_id.cpp.ll +++ b/bench/cvc5/optimized/trust_id.cpp.ll @@ -141,7 +141,7 @@ invoke.cont: ; preds = %entry to label %.noexc unwind label %lpad3 .noexc: ; preds = %invoke.cont - %_mp_den.i = getelementptr inbounds %struct.__mpq_struct, ptr %this, i64 0, i32 1 + %_mp_den.i = getelementptr inbounds i8, ptr %this, i64 16 invoke void @__gmpz_init_set(ptr noundef nonnull %_mp_den.i, ptr noundef nonnull %ref.tmp2) to label %invoke.cont4 unwind label %lpad3 diff --git a/bench/cvc5/optimized/utility.cpp.ll b/bench/cvc5/optimized/utility.cpp.ll index e406d0b77d9..2d5dc2ad191 100644 --- a/bench/cvc5/optimized/utility.cpp.ll +++ b/bench/cvc5/optimized/utility.cpp.ll @@ -215,7 +215,7 @@ lpad41.body: ; preds = %lpad.i31, %lpad41 _ZNSt10unique_ptrISt13basic_fstreamIcSt11char_traitsIcEESt14default_deleteIS3_EED2Ev.exit: ; preds = %lpad41.body, %lpad36 %.pn19 = phi { ptr, i32 } [ %eh.lpad-body35, %lpad41.body ], [ %7, %lpad36 ] %vtable.i.i = load ptr, ptr %call30, align 8 - %vfn.i.i = getelementptr inbounds ptr, ptr %vtable.i.i, i64 1 + %vfn.i.i = getelementptr inbounds i8, ptr %vtable.i.i, i64 8 %9 = load ptr, ptr %vfn.i.i, align 8 call void %9(ptr noundef nonnull align 8 dereferenceable(264) %call30) #10 store ptr null, ptr %agg.result, align 8 diff --git a/bench/double_conversion/optimized/fast-dtoa.cc.ll b/bench/double_conversion/optimized/fast-dtoa.cc.ll index c0b50583434..a26c348d9da 100644 --- a/bench/double_conversion/optimized/fast-dtoa.cc.ll +++ b/bench/double_conversion/optimized/fast-dtoa.cc.ll @@ -152,7 +152,7 @@ if.end.i: ; preds = %_ZNK17double_conver %sh_prom.i39.i = zext nneg i32 %sub21.i38.sink.i to i64 %shl22.i40.i = shl i64 %m_minus.sroa.0.0.i36.sink.i, %sh_prom.i39.i store i64 0, ptr %ten_mk.i, align 8 - %e_.i49.i = getelementptr inbounds %"class.double_conversion::DiyFp", ptr %ten_mk.i, i64 0, i32 1 + %e_.i49.i = getelementptr inbounds i8, ptr %ten_mk.i, i64 8 store i32 0, ptr %e_.i49.i, align 8 %sub.i = sub nsw i32 -113, %e.0.lcssa.i.i %sub6.i = sub nsw i32 -85, %e.0.lcssa.i.i @@ -452,7 +452,7 @@ _ZNK17double_conversion6Double17AsNormalizedDiyFpEv.exit.i16: ; preds = %while.b %e.0.lcssa.i.i18 = phi i32 [ %sub.i.i.i15, %sw.bb1 ], [ %32, %while.body.preheader.i.i73 ] %shl3.i.i19 = shl i64 %f.0.lcssa.i.i17, 11 store i64 0, ptr %ten_mk.i7, align 8 - %e_.i.i = getelementptr inbounds %"class.double_conversion::DiyFp", ptr %ten_mk.i7, i64 0, i32 1 + %e_.i.i = getelementptr inbounds i8, ptr %ten_mk.i7, i64 8 store i32 0, ptr %e_.i.i, align 8 %sub.i20 = sub nsw i32 -113, %e.0.lcssa.i.i18 %sub4.i = sub nsw i32 -85, %e.0.lcssa.i.i18 diff --git a/bench/eastl/optimized/TestSpan.cpp.ll b/bench/eastl/optimized/TestSpan.cpp.ll index 5bd170b768f..f7f8a560ff0 100644 --- a/bench/eastl/optimized/TestSpan.cpp.ll +++ b/bench/eastl/optimized/TestSpan.cpp.ll @@ -205,7 +205,7 @@ for.body: ; preds = %entry, %for.body %__begin1.0.idx305 = phi i64 [ 0, %entry ], [ %__begin1.0.add, %for.body ] %__begin1.0.ptr = getelementptr inbounds i8, ptr @__const._Z17TestSpanIteratorsRi.arr, i64 %__begin1.0.idx305 %0 = load i32, ptr %__begin1.0.ptr, align 4 - %incdec.ptr = getelementptr inbounds i32, ptr %pBegin.0306, i64 1 + %incdec.ptr = getelementptr inbounds i8, ptr %pBegin.0306, i64 4 %1 = load i32, ptr %pBegin.0306, align 4 %cmp3 = icmp eq i32 %0, %1 %call = tail call noundef i32 @_ZN2EA8UnitTest12TestInternal17EATEST_VERIFY_IMPEbRiPKciS4_(i1 noundef zeroext %cmp3, ptr noundef nonnull align 4 dereferenceable(4) %nErrorCount, ptr noundef nonnull @.str, i32 noundef 160, ptr noundef nonnull @.str.31) @@ -466,7 +466,7 @@ for.body.i.i: ; preds = %for.body.i.i, %land %1 = load i32, ptr %first2.addr.06.i.i, align 4 %cmp1.i.i = icmp eq i32 %0, %1 %first1.addr.05.i.i.add = add nuw nsw i64 %first1.addr.05.i.i.idx, 4 - %incdec.ptr2.i.i = getelementptr inbounds i32, ptr %first2.addr.06.i.i, i64 1 + %incdec.ptr2.i.i = getelementptr inbounds i8, ptr %first2.addr.06.i.i, i64 4 %cmp.not.i.i = icmp ne i64 %first1.addr.05.i.i.add, 32 %or.cond.not = select i1 %cmp1.i.i, i1 %cmp.not.i.i, i1 false br i1 %or.cond.not, label %for.body.i.i, label %_ZN5eastlneIiLm18446744073709551615EiLm18446744073709551615EEEbNS_4spanIT_XT0_EEENS1_IT1_XT2_EEE.exit, !llvm.loop !5 diff --git a/bench/eastl/optimized/eathread_rwmutex_ip.cpp.ll b/bench/eastl/optimized/eathread_rwmutex_ip.cpp.ll index d4ba5bca605..3bd43bc22a7 100644 --- a/bench/eastl/optimized/eathread_rwmutex_ip.cpp.ll +++ b/bench/eastl/optimized/eathread_rwmutex_ip.cpp.ll @@ -61,7 +61,7 @@ entry: if.then: ; preds = %entry %vtable = load ptr, ptr %0, align 8 - %vfn = getelementptr inbounds ptr, ptr %vtable, i64 2 + %vfn = getelementptr inbounds i8, ptr %vtable, i64 16 %1 = load ptr, ptr %vfn, align 8 %call = tail call noundef ptr %1(ptr noundef nonnull align 8 dereferenceable(8) %0, i64 noundef 1, ptr noundef null, i32 noundef 0) br label %return @@ -92,7 +92,7 @@ entry: if.then: ; preds = %entry %vtable = load ptr, ptr %0, align 8 - %vfn = getelementptr inbounds ptr, ptr %vtable, i64 4 + %vfn = getelementptr inbounds i8, ptr %vtable, i64 32 %1 = load ptr, ptr %vfn, align 8 tail call void %1(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull %pRWMutexIP, i64 noundef 0) br label %if.end diff --git a/bench/eastl/optimized/thread_support.cpp.ll b/bench/eastl/optimized/thread_support.cpp.ll index ce18190959a..d00313d05e5 100644 --- a/bench/eastl/optimized/thread_support.cpp.ll +++ b/bench/eastl/optimized/thread_support.cpp.ll @@ -73,7 +73,7 @@ declare i32 @pthread_mutex_unlock(ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nounwind uwtable define linkonce_odr dso_local void @_ZN5eastl16late_constructedINS_8Internal5mutexELb1ELb1EED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %this) unnamed_addr #0 comdat align 2 { entry: - %mpValue = getelementptr inbounds %"class.eastl::late_constructed", ptr %this, i64 0, i32 1 + %mpValue = getelementptr inbounds i8, ptr %this, i64 40 %0 = load ptr, ptr %mpValue, align 8 %tobool.not = icmp eq ptr %0, null br i1 %tobool.not, label %if.end, label %if.then diff --git a/bench/flac/optimized/vorbiscomment.c.ll b/bench/flac/optimized/vorbiscomment.c.ll index 859ca8330ff..3ead1bd59c3 100644 --- a/bench/flac/optimized/vorbiscomment.c.ll +++ b/bench/flac/optimized/vorbiscomment.c.ll @@ -23,7 +23,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str.14 = private unnamed_addr constant [29 x i8] c"tag value is not valid UTF-8\00", align 1 ; Function Attrs: nounwind sspstrong uwtable -define dso_local i32 @flac__vorbiscomment_add(ptr noundef %block, ptr nocapture noundef readonly %comment, i32 noundef %value_from_file, i32 noundef %raw, ptr nocapture noundef writeonly %violation) local_unnamed_addr #0 { +define dso_local noundef i32 @flac__vorbiscomment_add(ptr noundef %block, ptr nocapture noundef readonly %comment, i32 noundef %value_from_file, i32 noundef %raw, ptr nocapture noundef writeonly %violation) local_unnamed_addr #0 { entry: %entry1.i = alloca %struct.FLAC__StreamMetadata_VorbisComment_Entry, align 8 %converted.i = alloca ptr, align 8 @@ -211,7 +211,7 @@ if.end33.i: ; preds = %if.then30.i, %if.th if.end37.i: ; preds = %if.end33.i %10 = load i32, ptr %entry1.i, align 8 - %11 = getelementptr inbounds { i32, ptr }, ptr %entry1.i, i64 0, i32 1 + %11 = getelementptr inbounds i8, ptr %entry1.i, i64 8 %12 = load ptr, ptr %11, align 8 %call38.i = call i32 @FLAC__metadata_object_vorbiscomment_append_comment(ptr noundef %block, i32 %10, ptr %12, i32 noundef 0) #9 %tobool39.not.i = icmp eq i32 %call38.i, 0 diff --git a/bench/folly/optimized/AsyncSocketTransport.cpp.ll b/bench/folly/optimized/AsyncSocketTransport.cpp.ll index 3b021b749fa..95f8906691a 100644 --- a/bench/folly/optimized/AsyncSocketTransport.cpp.ll +++ b/bench/folly/optimized/AsyncSocketTransport.cpp.ll @@ -59,7 +59,7 @@ declare i32 @__gxx_personality_v0(...) ; Function Attrs: mustprogress nounwind uwtable define linkonce_odr void @_ZN5folly13SocketAddressD2Ev(ptr noundef nonnull align 8 dereferenceable(27) %this) unnamed_addr #2 comdat align 2 personality ptr @__gxx_personality_v0 { entry: - %external_ = getelementptr inbounds %"class.folly::SocketAddress", ptr %this, i64 0, i32 2 + %external_ = getelementptr inbounds i8, ptr %this, i64 26 %0 = load i8, ptr %external_, align 2, !tbaa !14, !range !15, !noundef !16 %tobool.not = icmp eq i8 %0, 0 br i1 %tobool.not, label %if.end, label %if.then diff --git a/bench/folly/optimized/ClockGettimeWrappers.cpp.ll b/bench/folly/optimized/ClockGettimeWrappers.cpp.ll index c953ca84037..122c3637cb0 100644 --- a/bench/folly/optimized/ClockGettimeWrappers.cpp.ll +++ b/bench/folly/optimized/ClockGettimeWrappers.cpp.ll @@ -30,7 +30,7 @@ entry: if.end: ; preds = %entry %1 = load i64, ptr %ts, align 8, !tbaa !12 - %tv_nsec = getelementptr inbounds %struct.timespec, ptr %ts, i64 0, i32 1 + %tv_nsec = getelementptr inbounds i8, ptr %ts, i64 8 %2 = load i64, ptr %tv_nsec, align 8, !tbaa !12 %mul.i.i.i.i = mul nsw i64 %1, 1000000000 %add.i = add nsw i64 %mul.i.i.i.i, %2 diff --git a/bench/folly/optimized/HazptrDomain.cpp.ll b/bench/folly/optimized/HazptrDomain.cpp.ll index 64e0a084ce4..026a763e470 100644 --- a/bench/folly/optimized/HazptrDomain.cpp.ll +++ b/bench/folly/optimized/HazptrDomain.cpp.ll @@ -14,7 +14,7 @@ _ZN5folly8Executor9KeepAliveIS0_EC2EPS0_.exit: %vbase.offset = load i64, ptr %vbase.offset.ptr, align 8 %add.ptr = getelementptr inbounds i8, ptr %call, i64 %vbase.offset %vtable.i.i = load ptr, ptr %add.ptr, align 8, !tbaa !7, !noalias !10 - %vfn.i.i = getelementptr inbounds ptr, ptr %vtable.i.i, i64 5 + %vfn.i.i = getelementptr inbounds i8, ptr %vtable.i.i, i64 40 %0 = load ptr, ptr %vfn.i.i, align 8, !noalias !10 %call.i.i = tail call noundef zeroext i1 %0(ptr noundef nonnull align 8 dereferenceable(8) %add.ptr) #2, !noalias !10 %1 = ptrtoint ptr %add.ptr to i64 diff --git a/bench/folly/optimized/InlineExecutor.cpp.ll b/bench/folly/optimized/InlineExecutor.cpp.ll index ef7fcf59b1c..94c25e64b9a 100644 --- a/bench/folly/optimized/InlineExecutor.cpp.ll +++ b/bench/folly/optimized/InlineExecutor.cpp.ll @@ -8,8 +8,6 @@ target triple = "x86_64-unknown-linux-gnu" %"union.std::aligned_storage<8, 8>::type" = type { [8 x i8] } %"struct.std::atomic" = type { %"struct.std::__atomic_base" } %"struct.std::__atomic_base" = type { ptr } -%"class.folly::Function" = type { %"union.folly::detail::function::Data", ptr, ptr } -%"union.folly::detail::function::Data" = type { ptr, [40 x i8] } $_ZNK5folly8Executor16getNumPrioritiesEv = comdat any @@ -99,7 +97,7 @@ entry: ; Function Attrs: mustprogress uwtable define linkonce_odr void @_ZN5folly14InlineExecutor3addENS_8FunctionIFvvEEE(ptr noundef nonnull align 8 dereferenceable(8) %this, ptr noundef %f) unnamed_addr #6 comdat align 2 { entry: - %call_.i = getelementptr inbounds %"class.folly::Function", ptr %f, i64 0, i32 1 + %call_.i = getelementptr inbounds i8, ptr %f, i64 48 %0 = load ptr, ptr %call_.i, align 16, !tbaa !11 tail call void %0(ptr noundef nonnull align 16 dereferenceable(48) %f) ret void diff --git a/bench/folly/optimized/LogName.cpp.ll b/bench/folly/optimized/LogName.cpp.ll index 3c0ec595a50..80a131f5667 100644 --- a/bench/folly/optimized/LogName.cpp.ll +++ b/bench/folly/optimized/LogName.cpp.ll @@ -10,9 +10,9 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress uwtable define void @_ZN5folly7LogName12canonicalizeB5cxx11ENS_5RangeIPKcEE(ptr noalias nonnull sret(%"class.std::__cxx11::basic_string") align 8 %agg.result, ptr %input.coerce0, ptr %input.coerce1) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 { entry: - %0 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %agg.result, i64 0, i32 2 + %0 = getelementptr inbounds i8, ptr %agg.result, i64 16 store ptr %0, ptr %agg.result, align 8, !tbaa !7 - %_M_string_length.i.i.i = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %agg.result, i64 0, i32 1 + %_M_string_length.i.i.i = getelementptr inbounds i8, ptr %agg.result, i64 8 store i64 0, ptr %_M_string_length.i.i.i, align 8, !tbaa !12 store i8 0, ptr %0, align 8, !tbaa !15 %sub.ptr.lhs.cast.i = ptrtoint ptr %input.coerce1 to i64 diff --git a/bench/folly/optimized/Logger.cpp.ll b/bench/folly/optimized/Logger.cpp.ll index ac81bf5e9c9..11f673947b0 100644 --- a/bench/folly/optimized/Logger.cpp.ll +++ b/bench/folly/optimized/Logger.cpp.ll @@ -139,7 +139,7 @@ entry: br i1 %tobool.not, label %if.then, label %if.end if.then: ; preds = %entry - %function_.i = getelementptr inbounds %"class.folly::detail::ScopeGuardImpl", ptr %this, i64 0, i32 1 + %function_.i = getelementptr inbounds i8, ptr %this, i64 8 %1 = load ptr, ptr %function_.i, align 8, !tbaa !23 invoke void @_ZN5folly8LoggerDB15cleanupHandlersEv(ptr noundef nonnull align 8 dereferenceable(232) %1) to label %if.end unwind label %lpad.i.i diff --git a/bench/folly/optimized/MemoryIdler.cpp.ll b/bench/folly/optimized/MemoryIdler.cpp.ll index d0c087e1594..6be2f8ca0dc 100644 --- a/bench/folly/optimized/MemoryIdler.cpp.ll +++ b/bench/folly/optimized/MemoryIdler.cpp.ll @@ -233,7 +233,7 @@ land.lhs.true43: ; preds = %invoke.cont40 if.then46: ; preds = %land.lhs.true43 %11 = load i32, ptr %arenaForCurrent, align 4, !tbaa !16 %conv47 = zext i32 %11 to i64 - %arrayidx = getelementptr inbounds [3 x i64], ptr %mib, i64 0, i64 1 + %arrayidx = getelementptr inbounds i8, ptr %mib, i64 8 store i64 %conv47, ptr %arrayidx, align 8, !tbaa !14 %12 = load i64, ptr %miblen, align 8, !tbaa !14 %call49 = call i32 @mallctlbymib(ptr noundef nonnull %mib, i64 noundef %12, ptr noundef null, ptr noundef null, ptr noundef null, i64 noundef 0) #20 @@ -289,7 +289,7 @@ invoke.cont98: ; preds = %if.else95 invoke.cont100: ; preds = %invoke.cont98 %vtable = load ptr, ptr %17, align 8, !tbaa !25 - %vfn = getelementptr inbounds ptr, ptr %vtable, i64 2 + %vfn = getelementptr inbounds i8, ptr %vtable, i64 16 %21 = load ptr, ptr %vfn, align 8 %call102 = call noundef ptr %21(ptr noundef nonnull align 8 dereferenceable(16) %17) #20 %call104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %call101, ptr noundef %call102) diff --git a/bench/folly/optimized/SocketFastOpen.cpp.ll b/bench/folly/optimized/SocketFastOpen.cpp.ll index ff8778f4ea1..d2da261b7ac 100644 --- a/bench/folly/optimized/SocketFastOpen.cpp.ll +++ b/bench/folly/optimized/SocketFastOpen.cpp.ll @@ -57,7 +57,7 @@ entry: store i32 0, ptr %call, align 4, !tbaa !11 %call2 = call noundef i32 @_ZN5folly6netops10getsockoptENS_13NetworkSocketEiiPvPj(i32 %sockfd.coerce, i32 noundef 6, i32 noundef 11, ptr noundef nonnull %info, ptr noundef nonnull %info_len) %cmp.not = icmp eq i32 %call2, 0 - %tcpi_options = getelementptr inbounds %struct.tcp_info, ptr %info, i64 0, i32 5 + %tcpi_options = getelementptr inbounds i8, ptr %info, i64 5 %0 = load i8, ptr %tcpi_options, align 1 %1 = and i8 %0, 32 %tobool = icmp ne i8 %1, 0 @@ -125,7 +125,7 @@ entry: to label %invoke.cont unwind label %lpad invoke.cont: ; preds = %entry - %_M_file.i.i = getelementptr inbounds %"class.std::basic_ifstream", ptr %ifs, i64 0, i32 1, i32 2 + %_M_file.i.i = getelementptr inbounds i8, ptr %ifs, i64 120 %call.i.i = call noundef zeroext i1 @_ZNKSt12__basic_fileIcE7is_openEv(ptr noundef nonnull align 8 dereferenceable(9) %_M_file.i.i) #11 br i1 %call.i.i, label %if.then, label %if.end diff --git a/bench/folly/optimized/UncaughtExceptions.cpp.ll b/bench/folly/optimized/UncaughtExceptions.cpp.ll index ca35918c703..3c7949e481e 100644 --- a/bench/folly/optimized/UncaughtExceptions.cpp.ll +++ b/bench/folly/optimized/UncaughtExceptions.cpp.ll @@ -3,8 +3,6 @@ source_filename = "bench/folly/original/UncaughtExceptions.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" -%"struct.__cxxabiv1::__cxa_eh_globals" = type { ptr, i32 } - $__clang_call_terminate = comdat any ; Function Attrs: mustprogress nounwind uwtable @@ -14,7 +12,7 @@ entry: to label %invoke.cont unwind label %terminate.lpad invoke.cont: ; preds = %entry - %uncaught_exceptions_ = getelementptr inbounds %"struct.__cxxabiv1::__cxa_eh_globals", ptr %call, i64 0, i32 1 + %uncaught_exceptions_ = getelementptr inbounds i8, ptr %call, i64 8 ret ptr %uncaught_exceptions_ terminate.lpad: ; preds = %entry diff --git a/bench/grpc/optimized/grpc_alts_credentials_options.cc.ll b/bench/grpc/optimized/grpc_alts_credentials_options.cc.ll index 54896d8dfd3..b411ec69fa3 100644 --- a/bench/grpc/optimized/grpc_alts_credentials_options.cc.ll +++ b/bench/grpc/optimized/grpc_alts_credentials_options.cc.ll @@ -3,8 +3,6 @@ source_filename = "bench/grpc/original/grpc_alts_credentials_options.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" -%struct.grpc_alts_credentials_options_vtable = type { ptr, ptr } - @.str = private unnamed_addr constant [159 x i8] c"generated/home/dtcxzyw/WorkSpace/Projects/compilers/llvm-opt-benchmark/bench/grpc/grpc/src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc\00", align 1 @.str.1 = private unnamed_addr constant [58 x i8] c"Invalid arguments to grpc_alts_credentials_options_copy()\00", align 1 @@ -51,7 +49,7 @@ if.then: ; preds = %entry br i1 %cmp1.not, label %if.end, label %land.lhs.true land.lhs.true: ; preds = %if.then - %destruct = getelementptr inbounds %struct.grpc_alts_credentials_options_vtable, ptr %0, i64 0, i32 1 + %destruct = getelementptr inbounds i8, ptr %0, i64 8 %1 = load ptr, ptr %destruct, align 8 %cmp3.not = icmp eq ptr %1, null br i1 %cmp3.not, label %if.end, label %if.then4 diff --git a/bench/grpc/optimized/grpc_tls_certificate_match.cc.ll b/bench/grpc/optimized/grpc_tls_certificate_match.cc.ll index e8006bc2290..b682219ae69 100644 --- a/bench/grpc/optimized/grpc_tls_certificate_match.cc.ll +++ b/bench/grpc/optimized/grpc_tls_certificate_match.cc.ll @@ -11,7 +11,6 @@ target triple = "x86_64-unknown-linux-gnu" %"class.absl::lts_20230802::Status" = type { i64 } %union.anon.0 = type { %"struct.absl::lts_20230802::internal_statusor::StatusOrData::Dummy" } %"struct.absl::lts_20230802::internal_statusor::StatusOrData::Dummy" = type { i8 } -%"class.absl::lts_20230802::internal_statusor::StatusOrData" = type <{ %union.anon, %union.anon.0, [7 x i8] }> $_ZN4absl12lts_202308028StatusOrIbEC2INS0_6StatusETnNSt9enable_ifIXsr4absl11conjunctionISt14is_convertibleIOT_S4_ESt16is_constructibleIS4_JS8_EENS0_8negationISt7is_sameINSt5decayIS7_E4typeES2_EEENSC_ISD_ISG_bEEENSC_ISD_ISG_St10in_place_tEEENSC_INS0_17internal_statusor31HasConversionOperatorToStatusOrIbS8_vEEEEEE5valueEiE4typeELi0EEES8_ = comdat any @@ -325,7 +324,7 @@ if.end55: ; preds = %if.end46 %frombool = zext i1 %cmp57 to i8 tail call void @EVP_PKEY_free(ptr noundef nonnull %call47) tail call void @EVP_PKEY_free(ptr noundef nonnull %call27) - %25 = getelementptr inbounds %"class.absl::lts_20230802::internal_statusor::StatusOrData", ptr %agg.result, i64 0, i32 1 + %25 = getelementptr inbounds i8, ptr %agg.result, i64 8 store i8 %frombool, ptr %25, align 8 store i64 0, ptr %agg.result, align 8 br label %return diff --git a/bench/grpc/optimized/internal_errqueue.cc.ll b/bench/grpc/optimized/internal_errqueue.cc.ll index 26cc9c1c89f..1d6955eb92c 100644 --- a/bench/grpc/optimized/internal_errqueue.cc.ll +++ b/bench/grpc/optimized/internal_errqueue.cc.ll @@ -3,7 +3,6 @@ source_filename = "bench/grpc/original/internal_errqueue.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" -%"struct.grpc_event_engine::experimental::tcp_info" = type { i8, i8, i8, i8, i8, i8, i16, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64, i32, i32, i64, i64, i32, i32, i32 } %struct.utsname = type { [65 x i8], [65 x i8], [65 x i8], [65 x i8], [65 x i8], [65 x i8] } %"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string::_Alloc_hider", i64, %union.anon } %"struct.std::__cxx11::basic_string::_Alloc_hider" = type { ptr } @@ -19,7 +18,7 @@ target triple = "x86_64-unknown-linux-gnu" define noundef i32 @_ZN17grpc_event_engine12experimental16GetSocketTcpInfoEPNS0_8tcp_infoEi(ptr noundef %info, i32 noundef %fd) local_unnamed_addr #0 { entry: tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(232) %info, i8 0, i64 232, i1 false) - %length = getelementptr inbounds %"struct.grpc_event_engine::experimental::tcp_info", ptr %info, i64 0, i32 51 + %length = getelementptr inbounds i8, ptr %info, i64 224 store i32 224, ptr %length, align 8 %call = tail call i32 @getsockopt(i32 noundef %fd, i32 noundef 6, i32 noundef 11, ptr noundef %info, ptr noundef nonnull %length) #9 ret i32 %call @@ -97,7 +96,7 @@ lpad: ; preds = %if.then resume { ptr, i32 } %1 if.end7: ; preds = %entry - %release4 = getelementptr inbounds %struct.utsname, ptr %buffer, i64 0, i32 2 + %release4 = getelementptr inbounds i8, ptr %buffer, i64 130 %call8 = call i64 @strtol(ptr nocapture noundef nonnull %release4, ptr noundef null, i32 noundef 10) #9 %cmp9 = icmp sgt i64 %call8, 3 br i1 %cmp9, label %return, label %if.else diff --git a/bench/grpc/optimized/socket_utils_linux.cc.ll b/bench/grpc/optimized/socket_utils_linux.cc.ll index 6c57508c038..e8aca6a45d3 100644 --- a/bench/grpc/optimized/socket_utils_linux.cc.ll +++ b/bench/grpc/optimized/socket_utils_linux.cc.ll @@ -5,7 +5,6 @@ target triple = "x86_64-unknown-linux-gnu" %"class.std::ios_base::Init" = type { i8 } %"class.grpc_core::NoDestruct" = type { [8 x i8] } -%struct.grpc_resolved_address = type { [128 x i8], i32 } $_ZN9grpc_core19NoDestructSingletonINS_14promise_detail10UnwakeableEE6value_E = comdat any @@ -33,7 +32,7 @@ entry: %tobool1.not = icmp eq i32 %cloexec, 0 %cond2 = select i1 %tobool1.not, i32 0, i32 524288 %or3 = or disjoint i32 %cond2, %cond - %len = getelementptr inbounds %struct.grpc_resolved_address, ptr %resolved_addr, i64 0, i32 1 + %len = getelementptr inbounds i8, ptr %resolved_addr, i64 128 %call = tail call i32 @accept4(i32 noundef %sockfd, ptr noundef %resolved_addr, ptr noundef nonnull %len, i32 noundef %or3) ret i32 %call } diff --git a/bench/grpc/optimized/xds_bootstrap.cc.ll b/bench/grpc/optimized/xds_bootstrap.cc.ll index 426c1214fbd..11c6c7c3607 100644 --- a/bench/grpc/optimized/xds_bootstrap.cc.ll +++ b/bench/grpc/optimized/xds_bootstrap.cc.ll @@ -12,7 +12,6 @@ target triple = "x86_64-unknown-linux-gnu" %"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string::_Alloc_hider", i64, %union.anon } %"struct.std::__cxx11::basic_string::_Alloc_hider" = type { ptr } %union.anon = type { i64, [8 x i8] } -%"struct.std::_Optional_payload_base" = type <{ %"union.std::_Optional_payload_base>::_Storage", i8, [7 x i8] }> @.str = private unnamed_addr constant [33 x i8] c"GRPC_EXPERIMENTAL_XDS_FEDERATION\00", align 1 @@ -22,7 +21,7 @@ entry: %value = alloca %"class.std::optional", align 8 %parsed_value = alloca i8, align 1 call void @_ZN9grpc_core6GetEnvB5cxx11EPKc(ptr nonnull sret(%"class.std::optional") align 8 %value, ptr noundef nonnull @.str) - %_M_engaged.i.i = getelementptr inbounds %"struct.std::_Optional_payload_base", ptr %value, i64 0, i32 1 + %_M_engaged.i.i = getelementptr inbounds i8, ptr %value, i64 32 %0 = load i8, ptr %_M_engaged.i.i, align 8 %1 = and i8 %0, 1 %tobool.i.i.not = icmp eq i8 %1, 0 diff --git a/bench/hermes/optimized/Conversions.cpp.ll b/bench/hermes/optimized/Conversions.cpp.ll index cf3e1571780..be198a96e6e 100644 --- a/bench/hermes/optimized/Conversions.cpp.ll +++ b/bench/hermes/optimized/Conversions.cpp.ll @@ -65,7 +65,7 @@ entry: %nBuf = alloca [32 x i8], align 16 %nBuf105 = alloca [32 x i8], align 16 %call.i = call ptr @dtoa_alloc_init(ptr noundef nonnull %dalloc, i32 noundef 1200) #7 - %dalloc_.i = getelementptr inbounds %class.DtoaAllocator, ptr %dalloc, i64 0, i32 1 + %dalloc_.i = getelementptr inbounds i8, ptr %dalloc, i64 1200 store ptr %call.i, ptr %dalloc_.i, align 8 %0 = fcmp uno double %m, 0.000000e+00 br i1 %0, label %if.then, label %if.end @@ -354,7 +354,7 @@ declare i32 @llvm.abs.i32(i32, i1 immarg) #4 declare void @g_freedtoa(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nounwind uwtable -define hidden i64 @hermes_numberToString(double noundef %m, ptr noundef %dest, i64 noundef %destSize) local_unnamed_addr #1 { +define hidden noundef i64 @hermes_numberToString(double noundef %m, ptr noundef %dest, i64 noundef %destSize) local_unnamed_addr #1 { entry: %call = tail call noundef i64 @_ZN6hermes14numberToStringEdPcm(double noundef %m, ptr noundef %dest, i64 poison) ret i64 %call diff --git a/bench/hermes/optimized/HeapSnapshot.cpp.ll b/bench/hermes/optimized/HeapSnapshot.cpp.ll index d2bda98dd19..c93c4901c11 100644 --- a/bench/hermes/optimized/HeapSnapshot.cpp.ll +++ b/bench/hermes/optimized/HeapSnapshot.cpp.ll @@ -297,9 +297,9 @@ entry: %buf = alloca %"class.llvh::SmallVector", align 8 %add.ptr.i.i.i.i.i = getelementptr inbounds i8, ptr %buf, i64 16 store ptr %add.ptr.i.i.i.i.i, ptr %buf, align 8 - %Size.i.i.i.i.i = getelementptr inbounds %"class.llvh::SmallVectorBase", ptr %buf, i64 0, i32 1 + %Size.i.i.i.i.i = getelementptr inbounds i8, ptr %buf, i64 8 store i32 0, ptr %Size.i.i.i.i.i, align 8 - %Capacity2.i.i.i.i.i = getelementptr inbounds %"class.llvh::SmallVectorBase", ptr %buf, i64 0, i32 2 + %Capacity2.i.i.i.i.i = getelementptr inbounds i8, ptr %buf, i64 12 store i32 16, ptr %Capacity2.i.i.i.i.i, align 4 call void @_ZNK6hermes2vm15StringPrimitive17appendUTF16StringERN4llvh15SmallVectorImplIDsEE(ptr noundef nonnull align 4 dereferenceable(8) %str, ptr noundef nonnull align 8 dereferenceable(16) %buf) #7 call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %agg.result) #7 diff --git a/bench/hermes/optimized/RandomSeedParser.cpp.ll b/bench/hermes/optimized/RandomSeedParser.cpp.ll index 45f8a36664f..61a940a7d16 100644 --- a/bench/hermes/optimized/RandomSeedParser.cpp.ll +++ b/bench/hermes/optimized/RandomSeedParser.cpp.ll @@ -46,9 +46,9 @@ if.then: ; preds = %entry call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %ref.tmp1.i) %call.i = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(32) %ref.tmp4, ptr noundef nonnull @.str.1) #5, !noalias !7 call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EOS4_(ptr noundef nonnull align 8 dereferenceable(32) %ref.tmp3, ptr noundef nonnull align 8 dereferenceable(32) %call.i) #5 - %LHSKind.i = getelementptr inbounds %"class.llvh::Twine", ptr %ref.tmp, i64 0, i32 2 + %LHSKind.i = getelementptr inbounds i8, ptr %ref.tmp, i64 16 store i8 4, ptr %LHSKind.i, align 8 - %RHSKind.i = getelementptr inbounds %"class.llvh::Twine", ptr %ref.tmp, i64 0, i32 3 + %RHSKind.i = getelementptr inbounds i8, ptr %ref.tmp, i64 17 store i8 1, ptr %RHSKind.i, align 1 store ptr %ref.tmp3, ptr %ref.tmp, align 8 %call5 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN4llvh4errsEv() #5 diff --git a/bench/hermes/optimized/StringRefUtils.cpp.ll b/bench/hermes/optimized/StringRefUtils.cpp.ll index 7d1e4f1a82f..0921760ab9a 100644 --- a/bench/hermes/optimized/StringRefUtils.cpp.ll +++ b/bench/hermes/optimized/StringRefUtils.cpp.ll @@ -3,7 +3,6 @@ source_filename = "bench/hermes/original/StringRefUtils.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" -%"class.llvh::raw_ostream" = type <{ ptr, ptr, ptr, ptr, i32, [4 x i8] }> %"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string::_Alloc_hider", i64, %union.anon } %"struct.std::__cxx11::basic_string::_Alloc_hider" = type { ptr } %union.anon = type { i64, [8 x i8] } @@ -39,9 +38,9 @@ entry: ; Function Attrs: mustprogress nounwind uwtable define hidden noundef nonnull align 8 dereferenceable(36) ptr @_ZN6hermes2vmlsERN4llvh11raw_ostreamENS1_8ArrayRefIcEE(ptr noundef nonnull align 8 dereferenceable(36) %OS, ptr %asciiRef.coerce0, i64 %asciiRef.coerce1) local_unnamed_addr #2 { entry: - %OutBufEnd.i = getelementptr inbounds %"class.llvh::raw_ostream", ptr %OS, i64 0, i32 2 + %OutBufEnd.i = getelementptr inbounds i8, ptr %OS, i64 16 %0 = load ptr, ptr %OutBufEnd.i, align 8 - %OutBufCur.i = getelementptr inbounds %"class.llvh::raw_ostream", ptr %OS, i64 0, i32 3 + %OutBufCur.i = getelementptr inbounds i8, ptr %OS, i64 24 %1 = load ptr, ptr %OutBufCur.i, align 8 %sub.ptr.lhs.cast.i = ptrtoint ptr %0 to i64 %sub.ptr.rhs.cast.i = ptrtoint ptr %1 to i64 diff --git a/bench/hermes/optimized/count.c.ll b/bench/hermes/optimized/count.c.ll index 652f14df3bb..740e6e11164 100644 --- a/bench/hermes/optimized/count.c.ll +++ b/bench/hermes/optimized/count.c.ll @@ -11,7 +11,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str.3 = private unnamed_addr constant [28 x i8] c"Expected %d lines, got %d.\0A\00", align 1 ; Function Attrs: nofree nounwind uwtable -define hidden i32 @main(i32 noundef %argc, ptr nocapture noundef readonly %argv) local_unnamed_addr #0 { +define hidden noundef i32 @main(i32 noundef %argc, ptr nocapture noundef readonly %argv) local_unnamed_addr #0 { entry: %Buffer = alloca [4096 x i8], align 16 %End = alloca ptr, align 8 @@ -25,7 +25,7 @@ if.then: ; preds = %entry br label %return if.end: ; preds = %entry - %arrayidx1 = getelementptr inbounds ptr, ptr %argv, i64 1 + %arrayidx1 = getelementptr inbounds i8, ptr %argv, i64 8 %2 = load ptr, ptr %arrayidx1, align 8 %call2 = call i64 @strtol(ptr noundef %2, ptr noundef nonnull %End, i32 noundef 10) #4 %conv = trunc i64 %call2 to i32 diff --git a/bench/icu/optimized/bocsu.ll b/bench/icu/optimized/bocsu.ll index 893e5428cd6..7373184fc9e 100644 --- a/bench/icu/optimized/bocsu.ll +++ b/bench/icu/optimized/bocsu.ll @@ -19,7 +19,7 @@ while.body: ; preds = %while.body.lr.ph, % %prev.addr.041 = phi i32 [ %prev, %while.body.lr.ph ], [ %prev.addr.1.lcssa, %while.end ] %i.040 = phi i32 [ 0, %while.body.lr.ph ], [ %i.1.lcssa, %while.end ] %vtable = load ptr, ptr %sink, align 8 - %vfn = getelementptr inbounds ptr, ptr %vtable, i64 3 + %vfn = getelementptr inbounds i8, ptr %vtable, i64 24 %0 = load ptr, ptr %vfn, align 8 %call = call noundef ptr %0(ptr noundef nonnull align 8 dereferenceable(8) %sink, i32 noundef 1, i32 noundef %mul, ptr noundef nonnull %scratch, i32 noundef 64, ptr noundef nonnull %capacity) %1 = load i32, ptr %capacity, align 4 @@ -266,7 +266,7 @@ while.end: ; preds = %if.end32, %if.end %sub.ptr.sub = sub i64 %sub.ptr.lhs.cast, %sub.ptr.rhs.cast %conv33 = trunc i64 %sub.ptr.sub to i32 %vtable34 = load ptr, ptr %sink, align 8 - %vfn35 = getelementptr inbounds ptr, ptr %vtable34, i64 2 + %vfn35 = getelementptr inbounds i8, ptr %vtable34, i64 16 %25 = load ptr, ptr %vfn35, align 8 call void %25(ptr noundef nonnull align 8 dereferenceable(8) %sink, ptr noundef %buffer.0, i32 noundef %conv33) %cmp = icmp slt i32 %i.1.lcssa, %length diff --git a/bench/icu/optimized/cal.ll b/bench/icu/optimized/cal.ll index c07e4710477..52367ed47bc 100644 --- a/bench/icu/optimized/cal.ll +++ b/bench/icu/optimized/cal.ll @@ -154,7 +154,7 @@ if.then33: ; preds = %for.end if.then35: ; preds = %if.then33 %call38 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %3, ptr noundef nonnull @.str.9, ptr noundef nonnull %month) #10 - %arrayidx40 = getelementptr ptr, ptr %arrayidx37, i64 1 + %arrayidx40 = getelementptr i8, ptr %arrayidx37, i64 8 %4 = load ptr, ptr %arrayidx40, align 8 %call41 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %4, ptr noundef nonnull @.str.9, ptr noundef nonnull %year) #10 %5 = load i32, ptr %month, align 4 diff --git a/bench/icu/optimized/cecal.ll b/bench/icu/optimized/cecal.ll index b50151add62..42cf4ef7d7f 100644 --- a/bench/icu/optimized/cecal.ll +++ b/bench/icu/optimized/cecal.ll @@ -89,7 +89,7 @@ declare noundef nonnull align 8 dereferenceable(618) ptr @_ZN6icu_758CalendaraSE define noundef i32 @_ZNK6icu_7510CECalendar23handleComputeMonthStartEiia(ptr noundef nonnull align 8 dereferenceable(618) %this, i32 noundef %eyear, i32 noundef %emonth, i8 signext %0) unnamed_addr #0 align 2 { entry: %vtable = load ptr, ptr %this, align 8 - %vfn = getelementptr inbounds ptr, ptr %vtable, i64 55 + %vfn = getelementptr inbounds i8, ptr %vtable, i64 440 %1 = load ptr, ptr %vfn, align 8 %call = tail call noundef i32 %1(ptr noundef nonnull align 8 dereferenceable(618) %this) %cmp.i = icmp sgt i32 %emonth, -1 diff --git a/bench/icu/optimized/curramt.ll b/bench/icu/optimized/curramt.ll index 47488bb5862..79dff811d8d 100644 --- a/bench/icu/optimized/curramt.ll +++ b/bench/icu/optimized/curramt.ll @@ -12,7 +12,6 @@ target triple = "x86_64-unknown-linux-gnu" %"class.icu_75::Replaceable" = type { %"class.icu_75::UObject" } %"union.icu_75::UnicodeString::StackBufferOrFields" = type { %struct.anon.1, [32 x i8] } %struct.anon.1 = type { i16, i32, i32, ptr } -%"class.icu_75::Measure" = type { %"class.icu_75::UObject", %"class.icu_75::Formattable", ptr } @_ZTVN6icu_7514CurrencyAmountE = unnamed_addr constant { [6 x ptr] } { [6 x ptr] [ptr null, ptr @_ZTIN6icu_7514CurrencyAmountE, ptr @_ZN6icu_7514CurrencyAmountD1Ev, ptr @_ZN6icu_7514CurrencyAmountD0Ev, ptr @_ZNK6icu_7514CurrencyAmount17getDynamicClassIDEv, ptr @_ZNK6icu_7514CurrencyAmount5cloneEv] }, align 8 @_ZZN6icu_7514CurrencyAmount16getStaticClassIDEvE7classID = internal global i8 0, align 1 @@ -214,7 +213,7 @@ entry: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define noundef nonnull align 8 dereferenceable(28) ptr @_ZNK6icu_7514CurrencyAmount11getCurrencyEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(128) %this) local_unnamed_addr #4 align 2 { entry: - %unit.i = getelementptr inbounds %"class.icu_75::Measure", ptr %this, i64 0, i32 2 + %unit.i = getelementptr inbounds i8, ptr %this, i64 120 %0 = load ptr, ptr %unit.i, align 8 ret ptr %0 } diff --git a/bench/icu/optimized/currfmt.ll b/bench/icu/optimized/currfmt.ll index 6f2010303a4..38da6213d4f 100644 --- a/bench/icu/optimized/currfmt.ll +++ b/bench/icu/optimized/currfmt.ll @@ -86,7 +86,7 @@ define noundef nonnull align 8 dereferenceable(64) ptr @_ZNK6icu_7514CurrencyFor entry: %call = tail call noundef nonnull align 8 dereferenceable(356) ptr @_ZNK6icu_7513MeasureFormat25getCurrencyFormatInternalEv(ptr noundef nonnull align 8 dereferenceable(368) %this) %vtable = load ptr, ptr %call, align 8 - %vfn = getelementptr inbounds ptr, ptr %vtable, i64 5 + %vfn = getelementptr inbounds i8, ptr %vtable, i64 40 %0 = load ptr, ptr %vfn, align 8 %call2 = tail call noundef nonnull align 8 dereferenceable(64) ptr %0(ptr noundef nonnull align 8 dereferenceable(356) %call, ptr noundef nonnull align 8 dereferenceable(112) %obj, ptr noundef nonnull align 8 dereferenceable(64) %appendTo, ptr noundef nonnull align 8 dereferenceable(20) %pos, ptr noundef nonnull align 4 dereferenceable(4) %ec) ret ptr %call2 @@ -99,7 +99,7 @@ define void @_ZNK6icu_7514CurrencyFormat11parseObjectERKNS_13UnicodeStringERNS_1 entry: %call = tail call noundef nonnull align 8 dereferenceable(356) ptr @_ZNK6icu_7513MeasureFormat25getCurrencyFormatInternalEv(ptr noundef nonnull align 8 dereferenceable(368) %this) %vtable = load ptr, ptr %call, align 8 - %vfn = getelementptr inbounds ptr, ptr %vtable, i64 22 + %vfn = getelementptr inbounds i8, ptr %vtable, i64 176 %0 = load ptr, ptr %vfn, align 8 %call2 = tail call noundef ptr %0(ptr noundef nonnull align 8 dereferenceable(356) %call, ptr noundef nonnull align 8 dereferenceable(64) %source, ptr noundef nonnull align 8 dereferenceable(16) %pos) %cmp.not = icmp eq ptr %call2, null diff --git a/bench/icu/optimized/double-conversion-fast-dtoa.ll b/bench/icu/optimized/double-conversion-fast-dtoa.ll index f46e0985fa8..022280ac5d7 100644 --- a/bench/icu/optimized/double-conversion-fast-dtoa.ll +++ b/bench/icu/optimized/double-conversion-fast-dtoa.ll @@ -152,7 +152,7 @@ if.end.i: ; preds = %_ZNK6icu_7517double %sh_prom.i39.i = zext nneg i32 %sub21.i38.sink.i to i64 %shl22.i40.i = shl i64 %m_minus.sroa.0.0.i36.sink.i, %sh_prom.i39.i store i64 0, ptr %ten_mk.i, align 8 - %e_.i49.i = getelementptr inbounds %"class.icu_75::double_conversion::DiyFp", ptr %ten_mk.i, i64 0, i32 1 + %e_.i49.i = getelementptr inbounds i8, ptr %ten_mk.i, i64 8 store i32 0, ptr %e_.i49.i, align 8 %sub.i = sub nsw i32 -113, %e.0.lcssa.i.i %sub6.i = sub nsw i32 -85, %e.0.lcssa.i.i @@ -452,7 +452,7 @@ _ZNK6icu_7517double_conversion6Double17AsNormalizedDiyFpEv.exit.i16: ; preds = % %e.0.lcssa.i.i18 = phi i32 [ %sub.i.i.i15, %sw.bb1 ], [ %32, %while.body.preheader.i.i73 ] %shl3.i.i19 = shl i64 %f.0.lcssa.i.i17, 11 store i64 0, ptr %ten_mk.i7, align 8 - %e_.i.i = getelementptr inbounds %"class.icu_75::double_conversion::DiyFp", ptr %ten_mk.i7, i64 0, i32 1 + %e_.i.i = getelementptr inbounds i8, ptr %ten_mk.i7, i64 8 store i32 0, ptr %e_.i.i, align 8 %sub.i20 = sub nsw i32 -113, %e.0.lcssa.i.i18 %sub4.i = sub nsw i32 -85, %e.0.lcssa.i.i18 diff --git a/bench/icu/optimized/escapesrc.ll b/bench/icu/optimized/escapesrc.ll index e3bc4026a60..93d4fa8fc70 100644 --- a/bench/icu/optimized/escapesrc.ll +++ b/bench/icu/optimized/escapesrc.ll @@ -1060,7 +1060,7 @@ if.then: ; preds = %entry br label %return if.end: ; preds = %entry - %arrayidx1 = getelementptr inbounds ptr, ptr %argv, i64 1 + %arrayidx1 = getelementptr inbounds i8, ptr %argv, i64 8 %2 = load ptr, ptr %arrayidx1, align 8 call void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp) #13 %call.i56 = invoke noundef ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_M_local_dataEv(ptr noundef nonnull align 8 dereferenceable(32) %infile) @@ -1095,7 +1095,7 @@ if.end.i: ; preds = %.noexc invoke.cont: ; preds = %if.end.i call void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp) #13 - %arrayidx2 = getelementptr inbounds ptr, ptr %argv, i64 2 + %arrayidx2 = getelementptr inbounds i8, ptr %argv, i64 16 %4 = load ptr, ptr %arrayidx2, align 8 call void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp3) #13 %call.i715 = invoke noundef ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_M_local_dataEv(ptr noundef nonnull align 8 dereferenceable(32) %outfile) diff --git a/bench/icu/optimized/gencfu.ll b/bench/icu/optimized/gencfu.ll index 21a97f0d8d8..2bc480fcbf8 100644 --- a/bench/icu/optimized/gencfu.ll +++ b/bench/icu/optimized/gencfu.ll @@ -8,7 +8,6 @@ target triple = "x86_64-unknown-linux-gnu" %struct.UDataInfo = type { i16, i16, i8, i8, i8, i8, [4 x i8], [4 x i8], [4 x i8] } %struct.UOption = type { ptr, ptr, ptr, ptr, i8, i8, i8 } %struct.UParseError = type { i32, i32, [16 x i16], [16 x i16] } -%"struct.icu_75::SpoofDataHeader" = type { i32, [4 x i8], i32, i32, i32, i32, i32, i32, i32, [15 x i32] } @.str = private unnamed_addr constant [66 x i8] c"Usage: %s [-v] [-options] -r confusablesRules.txt -o output-file\0A\00", align 1 @_ZL8progName = internal unnamed_addr global ptr null, align 8 @@ -185,7 +184,7 @@ if.end34: ; preds = %if.end.i %conv.i34 = trunc i64 %call2.i33 to i32 %call14.i = call i32 @fclose(ptr noundef nonnull %call.i30) store i32 0, ptr %parseError, align 4 - %offset = getelementptr inbounds %struct.UParseError, ptr %parseError, i64 0, i32 1 + %offset = getelementptr inbounds i8, ptr %parseError, i64 4 store i32 0, ptr %offset, align 4 %call35 = call ptr @uspoof_openFromSource_75(ptr noundef nonnull %call4.i, i32 noundef %conv.i34, ptr noundef null, i32 noundef 0, ptr noundef nonnull %errType, ptr noundef nonnull %parseError, ptr noundef nonnull %status) %23 = load i32, ptr %status, align 4 @@ -221,7 +220,7 @@ if.end49: ; preds = %if.end43 %conv = zext i32 %call44 to i64 %call50 = call noalias noundef nonnull ptr @_Znam(i64 noundef %conv) #10 %call51 = call i32 @uspoof_serialize_75(ptr noundef %call35, ptr noundef nonnull %call50, i32 noundef %call44, ptr noundef nonnull %status) - %fFormatVersion = getelementptr inbounds %"struct.icu_75::SpoofDataHeader", ptr %call50, i64 0, i32 1 + %fFormatVersion = getelementptr inbounds i8, ptr %call50, i64 4 %31 = load i32, ptr %fFormatVersion, align 4 store i32 %31, ptr getelementptr inbounds (%struct.DataHeader, ptr @dh, i64 0, i32 1, i32 7), align 2 %call52 = call ptr @udata_create(ptr noundef %spec.select, ptr noundef null, ptr noundef %13, ptr noundef nonnull getelementptr inbounds (%struct.DataHeader, ptr @dh, i64 0, i32 1), ptr noundef %copyright.0, ptr noundef nonnull %status) diff --git a/bench/icu/optimized/gencmn.ll b/bench/icu/optimized/gencmn.ll index 5ae8ce098f0..89fed9f456f 100644 --- a/bench/icu/optimized/gencmn.ll +++ b/bench/icu/optimized/gencmn.ll @@ -84,7 +84,7 @@ if.end25: ; preds = %if.then9, %if.then2 if.end29: ; preds = %if.end4 %12 = load i8, ptr getelementptr inbounds ([11 x %struct.UOption], ptr @options, i64 0, i64 8, i32 6), align 2 %13 = load i8, ptr getelementptr inbounds ([11 x %struct.UOption], ptr @options, i64 0, i64 2, i32 6), align 2 - %arrayidx30 = getelementptr inbounds ptr, ptr %argv, i64 1 + %arrayidx30 = getelementptr inbounds i8, ptr %argv, i64 8 %14 = load ptr, ptr %arrayidx30, align 8 %call31 = tail call i64 @strtoul(ptr nocapture noundef %14, ptr noundef null, i32 noundef 0) #5 %conv32 = trunc i64 %call31 to i32 @@ -119,7 +119,7 @@ if.end29: ; preds = %if.end4 br i1 %cmp81, label %cond.end86, label %cond.false84 cond.false84: ; preds = %if.end29 - %arrayidx85 = getelementptr inbounds ptr, ptr %argv, i64 2 + %arrayidx85 = getelementptr inbounds i8, ptr %argv, i64 16 %28 = load ptr, ptr %arrayidx85, align 8 br label %cond.end86 diff --git a/bench/icu/optimized/nultrans.ll b/bench/icu/optimized/nultrans.ll index bf0198c9cf3..612fe3c7a62 100644 --- a/bench/icu/optimized/nultrans.ll +++ b/bench/icu/optimized/nultrans.ll @@ -9,7 +9,6 @@ target triple = "x86_64-unknown-linux-gnu" %"union.icu_75::UnicodeString::StackBufferOrFields" = type { %struct.anon.0, [32 x i8] } %struct.anon.0 = type { i16, i32, i32, ptr } %"class.icu_75::ConstChar16Ptr" = type { ptr } -%struct.UTransPosition = type { i32, i32, i32, i32 } @_ZZN6icu_7518NullTransliterator16getStaticClassIDEvE7classID = internal global i8 0, align 1 @.str = private unnamed_addr constant [9 x i16] [i16 65, i16 110, i16 121, i16 45, i16 78, i16 117, i16 108, i16 108, i16 0], align 2 @@ -129,9 +128,9 @@ declare noundef ptr @_ZN6icu_757UMemorynwEm(i64 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define void @_ZNK6icu_7518NullTransliterator19handleTransliterateERNS_11ReplaceableER14UTransPositiona(ptr nocapture nonnull readnone align 8 %this, ptr nocapture nonnull readnone align 8 %0, ptr nocapture noundef nonnull align 4 dereferenceable(16) %offsets, i8 signext %1) unnamed_addr #5 align 2 { entry: - %limit = getelementptr inbounds %struct.UTransPosition, ptr %offsets, i64 0, i32 3 + %limit = getelementptr inbounds i8, ptr %offsets, i64 12 %2 = load i32, ptr %limit, align 4 - %start = getelementptr inbounds %struct.UTransPosition, ptr %offsets, i64 0, i32 2 + %start = getelementptr inbounds i8, ptr %offsets, i64 8 store i32 %2, ptr %start, align 4 ret void } diff --git a/bench/icu/optimized/punycode.ll b/bench/icu/optimized/punycode.ll index 62502e83571..ab230ed6bf8 100644 --- a/bench/icu/optimized/punycode.ll +++ b/bench/icu/optimized/punycode.ll @@ -1005,7 +1005,7 @@ if.end190: ; preds = %if.end174.thread220 %22 = trunc i32 %add93 to i16 %23 = and i16 %22, 1023 %conv186 = or disjoint i16 %23, -9216 - %arrayidx189 = getelementptr i16, ptr %arrayidx184, i64 1 + %arrayidx189 = getelementptr i8, ptr %arrayidx184, i64 2 store i16 %conv186, ptr %arrayidx189, align 2 br i1 %cmp161.not, label %if.end215, label %if.then192 diff --git a/bench/icu/optimized/tmutamt.ll b/bench/icu/optimized/tmutamt.ll index 91215012a68..5381bf64bdb 100644 --- a/bench/icu/optimized/tmutamt.ll +++ b/bench/icu/optimized/tmutamt.ll @@ -11,7 +11,6 @@ target triple = "x86_64-unknown-linux-gnu" %"class.icu_75::Replaceable" = type { %"class.icu_75::UObject" } %"union.icu_75::UnicodeString::StackBufferOrFields" = type { %struct.anon.1, [32 x i8] } %struct.anon.1 = type { i16, i32, i32, ptr } -%"class.icu_75::Measure" = type { %"class.icu_75::UObject", %"class.icu_75::Formattable", ptr } @_ZZN6icu_7514TimeUnitAmount16getStaticClassIDEvE7classID = internal global i8 0, align 1 @_ZTVN6icu_7514TimeUnitAmountE = unnamed_addr constant { [7 x ptr] } { [7 x ptr] [ptr null, ptr @_ZTIN6icu_7514TimeUnitAmountE, ptr @_ZN6icu_7514TimeUnitAmountD1Ev, ptr @_ZN6icu_7514TimeUnitAmountD0Ev, ptr @_ZNK6icu_7514TimeUnitAmount17getDynamicClassIDEv, ptr @_ZNK6icu_7514TimeUnitAmount5cloneEv, ptr @_ZNK6icu_7514TimeUnitAmounteqERKNS_7UObjectE] }, align 8 @@ -157,7 +156,7 @@ entry: ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define noundef nonnull align 8 dereferenceable(24) ptr @_ZNK6icu_7514TimeUnitAmount11getTimeUnitEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(128) %this) local_unnamed_addr #5 align 2 { entry: - %unit.i = getelementptr inbounds %"class.icu_75::Measure", ptr %this, i64 0, i32 2 + %unit.i = getelementptr inbounds i8, ptr %this, i64 120 %0 = load ptr, ptr %unit.i, align 8 ret ptr %0 } @@ -165,7 +164,7 @@ entry: ; Function Attrs: mustprogress uwtable define noundef i32 @_ZNK6icu_7514TimeUnitAmount16getTimeUnitFieldEv(ptr nocapture noundef nonnull readonly align 8 dereferenceable(128) %this) local_unnamed_addr #1 align 2 { entry: - %unit.i.i = getelementptr inbounds %"class.icu_75::Measure", ptr %this, i64 0, i32 2 + %unit.i.i = getelementptr inbounds i8, ptr %this, i64 120 %0 = load ptr, ptr %unit.i.i, align 8 %call2 = tail call noundef i32 @_ZNK6icu_758TimeUnit16getTimeUnitFieldEv(ptr noundef nonnull align 8 dereferenceable(24) %0) ret i32 %call2 diff --git a/bench/icu/optimized/unistr_titlecase_brkiter.ll b/bench/icu/optimized/unistr_titlecase_brkiter.ll index 5083aff8e52..0cfa83cd095 100644 --- a/bench/icu/optimized/unistr_titlecase_brkiter.ll +++ b/bench/icu/optimized/unistr_titlecase_brkiter.ll @@ -43,7 +43,7 @@ lpad: ; preds = %invoke.cont5, %invo delete.notnull.i: ; preds = %lpad %vtable.i = load ptr, ptr %1, align 8 - %vfn.i = getelementptr inbounds ptr, ptr %vtable.i, i64 1 + %vfn.i = getelementptr inbounds i8, ptr %vtable.i, i64 8 %2 = load ptr, ptr %vfn.i, align 8 call void %2(ptr noundef nonnull align 8 dereferenceable(479) %1) #2 br label %_ZN6icu_7512LocalPointerINS_13BreakIteratorEED2Ev.exit @@ -70,7 +70,7 @@ cleanup: ; preds = %invoke.cont5, %if.t delete.notnull.i6: ; preds = %cleanup %vtable.i7 = load ptr, ptr %3, align 8 - %vfn.i8 = getelementptr inbounds ptr, ptr %vtable.i7, i64 1 + %vfn.i8 = getelementptr inbounds i8, ptr %vtable.i7, i64 8 %4 = load ptr, ptr %vfn.i8, align 8 call void %4(ptr noundef nonnull align 8 dereferenceable(479) %3) #2 br label %_ZN6icu_7512LocalPointerINS_13BreakIteratorEED2Ev.exit9 diff --git a/bench/icu/optimized/uobject.ll b/bench/icu/optimized/uobject.ll index a87d7263bd4..929e9f114c5 100644 --- a/bench/icu/optimized/uobject.ll +++ b/bench/icu/optimized/uobject.ll @@ -151,7 +151,7 @@ entry: delete.notnull: ; preds = %entry %vtable = load ptr, ptr %obj, align 8 - %vfn = getelementptr inbounds ptr, ptr %vtable, i64 1 + %vfn = getelementptr inbounds i8, ptr %vtable, i64 8 %0 = load ptr, ptr %vfn, align 8 tail call void %0(ptr noundef nonnull align 8 dereferenceable(8) %obj) #7 br label %delete.end diff --git a/bench/icu/optimized/uscript_props.ll b/bench/icu/optimized/uscript_props.ll index 2387e01a3e8..0d54a65aa72 100644 --- a/bench/icu/optimized/uscript_props.ll +++ b/bench/icu/optimized/uscript_props.ll @@ -67,7 +67,7 @@ if.else13: ; preds = %if.then10 %3 = trunc i32 %1 to i16 %4 = and i16 %3, 1023 %conv19 = or disjoint i16 %4, -9216 - %arrayidx22 = getelementptr inbounds i16, ptr %dest, i64 1 + %arrayidx22 = getelementptr inbounds i8, ptr %dest, i64 2 store i16 %conv19, ptr %arrayidx22, align 2 br label %if.end25 @@ -87,7 +87,7 @@ declare i32 @u_terminateUChars_75(ptr noundef, i32 noundef, i32 noundef, ptr nou define void @_Z33uscript_getSampleUnicodeString_7511UScriptCode(ptr noalias sret(%"class.icu_75::UnicodeString") align 8 %agg.result, i32 noundef %script) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 { entry: store ptr getelementptr inbounds ({ [13 x ptr] }, ptr @_ZTVN6icu_7513UnicodeStringE, i64 0, inrange i32 0, i64 2), ptr %agg.result, align 8 - %fUnion2.i = getelementptr inbounds %"class.icu_75::UnicodeString", ptr %agg.result, i64 0, i32 1 + %fUnion2.i = getelementptr inbounds i8, ptr %agg.result, i64 8 store i16 2, ptr %fUnion2.i, align 8 %or.cond.i = icmp ult i32 %script, 200 br i1 %or.cond.i, label %_ZN12_GLOBAL__N_114getScriptPropsE11UScriptCode.exit, label %nrvo.skipdtor diff --git a/bench/icu/optimized/uwmsg.ll b/bench/icu/optimized/uwmsg.ll index bc61f4d00c2..983f67bb222 100644 --- a/bench/icu/optimized/uwmsg.ll +++ b/bench/icu/optimized/uwmsg.ll @@ -213,7 +213,7 @@ fetchErrorName.exit: ; preds = %if.end.i, %if.then2 %arrayidx.i = getelementptr inbounds ptr, ptr %3, i64 %idxprom.i %4 = sext i32 %err to i64 %5 = getelementptr ptr, ptr %1, i64 %4 - %arrayidx7.i = getelementptr ptr, ptr %5, i64 128 + %arrayidx7.i = getelementptr i8, ptr %5, i64 1024 %cmp3.i = icmp slt i32 %err, 0 %retval.0.in.i = select i1 %cmp3.i, ptr %arrayidx7.i, ptr %arrayidx.i %retval.0.i = load ptr, ptr %retval.0.in.i, align 8 @@ -265,7 +265,7 @@ if.end23: ; preds = %if.then4, %if.end18 %arrayidx = getelementptr inbounds ptr, ptr %10, i64 %idxprom.i %11 = load ptr, ptr @gInfoMessages, align 8 %12 = getelementptr ptr, ptr %11, i64 %4 - %arrayidx29 = getelementptr ptr, ptr %12, i64 128 + %arrayidx29 = getelementptr i8, ptr %12, i64 1024 %cmp2419 = icmp slt i32 %err, 0 %arrayidx.sink = select i1 %cmp2419, ptr %arrayidx29, ptr %arrayidx store ptr %msg.1, ptr %arrayidx.sink, align 8 diff --git a/bench/jemalloc/optimized/exp_grow.ll b/bench/jemalloc/optimized/exp_grow.ll index 9ce0243e698..3f44c1a8f72 100644 --- a/bench/jemalloc/optimized/exp_grow.ll +++ b/bench/jemalloc/optimized/exp_grow.ll @@ -3,13 +3,11 @@ source_filename = "bench/jemalloc/original/exp_grow.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" -%struct.exp_grow_s = type { i32, i32 } - ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define hidden void @exp_grow_init(ptr nocapture noundef writeonly %exp_grow) local_unnamed_addr #0 { entry: store i32 31, ptr %exp_grow, align 4 - %limit = getelementptr inbounds %struct.exp_grow_s, ptr %exp_grow, i64 0, i32 1 + %limit = getelementptr inbounds i8, ptr %exp_grow, i64 4 store i32 198, ptr %limit, align 4 ret void } diff --git a/bench/jemalloc/optimized/exp_grow.pic.ll b/bench/jemalloc/optimized/exp_grow.pic.ll index 21733ab8a8d..53e329e05fa 100644 --- a/bench/jemalloc/optimized/exp_grow.pic.ll +++ b/bench/jemalloc/optimized/exp_grow.pic.ll @@ -3,13 +3,11 @@ source_filename = "bench/jemalloc/original/exp_grow.pic.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" -%struct.exp_grow_s = type { i32, i32 } - ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define hidden void @exp_grow_init(ptr nocapture noundef writeonly %exp_grow) local_unnamed_addr #0 { entry: store i32 31, ptr %exp_grow, align 4 - %limit = getelementptr inbounds %struct.exp_grow_s, ptr %exp_grow, i64 0, i32 1 + %limit = getelementptr inbounds i8, ptr %exp_grow, i64 4 store i32 198, ptr %limit, align 4 ret void } diff --git a/bench/jemalloc/optimized/exp_grow.sym.ll b/bench/jemalloc/optimized/exp_grow.sym.ll index 9db2398b757..bb27f8aba1c 100644 --- a/bench/jemalloc/optimized/exp_grow.sym.ll +++ b/bench/jemalloc/optimized/exp_grow.sym.ll @@ -3,13 +3,11 @@ source_filename = "bench/jemalloc/original/exp_grow.sym.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" -%struct.exp_grow_s = type { i32, i32 } - ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define hidden void @exp_grow_init(ptr nocapture noundef writeonly %exp_grow) local_unnamed_addr #0 { entry: store i32 31, ptr %exp_grow, align 4 - %limit = getelementptr inbounds %struct.exp_grow_s, ptr %exp_grow, i64 0, i32 1 + %limit = getelementptr inbounds i8, ptr %exp_grow, i64 4 store i32 198, ptr %limit, align 4 ret void } diff --git a/bench/jemalloc/optimized/malloc_io.ll b/bench/jemalloc/optimized/malloc_io.ll index b914f1e82e6..27fd4f25b6c 100644 --- a/bench/jemalloc/optimized/malloc_io.ll +++ b/bench/jemalloc/optimized/malloc_io.ll @@ -285,8 +285,8 @@ entry: %buf829 = alloca [67 x i8], align 16 %buf1317 = alloca [67 x i8], align 16 store ptr %format, ptr %f, align 8 - %overflow_arg_area_p = getelementptr inbounds %struct.__va_list_tag, ptr %ap, i64 0, i32 2 - %0 = getelementptr inbounds %struct.__va_list_tag, ptr %ap, i64 0, i32 3 + %overflow_arg_area_p = getelementptr inbounds i8, ptr %ap, i64 8 + %0 = getelementptr inbounds i8, ptr %ap, i64 16 %arrayidx.i.i331 = getelementptr inbounds i8, ptr %buf1317, i64 64 %arrayidx.i.i325 = getelementptr inbounds i8, ptr %buf829, i64 64 %arrayidx.i = getelementptr inbounds i8, ptr %buf577, i64 64 diff --git a/bench/jemalloc/optimized/malloc_io.pic.ll b/bench/jemalloc/optimized/malloc_io.pic.ll index 9efd9d79fa0..f5fbfe997d0 100644 --- a/bench/jemalloc/optimized/malloc_io.pic.ll +++ b/bench/jemalloc/optimized/malloc_io.pic.ll @@ -285,8 +285,8 @@ entry: %buf829 = alloca [67 x i8], align 16 %buf1317 = alloca [67 x i8], align 16 store ptr %format, ptr %f, align 8 - %overflow_arg_area_p = getelementptr inbounds %struct.__va_list_tag, ptr %ap, i64 0, i32 2 - %0 = getelementptr inbounds %struct.__va_list_tag, ptr %ap, i64 0, i32 3 + %overflow_arg_area_p = getelementptr inbounds i8, ptr %ap, i64 8 + %0 = getelementptr inbounds i8, ptr %ap, i64 16 %arrayidx.i.i331 = getelementptr inbounds i8, ptr %buf1317, i64 64 %arrayidx.i.i325 = getelementptr inbounds i8, ptr %buf829, i64 64 %arrayidx.i = getelementptr inbounds i8, ptr %buf577, i64 64 diff --git a/bench/jemalloc/optimized/malloc_io.sym.ll b/bench/jemalloc/optimized/malloc_io.sym.ll index 9b1394c831e..5676c6b9f77 100644 --- a/bench/jemalloc/optimized/malloc_io.sym.ll +++ b/bench/jemalloc/optimized/malloc_io.sym.ll @@ -285,8 +285,8 @@ entry: %buf829 = alloca [67 x i8], align 16 %buf1317 = alloca [67 x i8], align 16 store ptr %format, ptr %f, align 8 - %overflow_arg_area_p = getelementptr inbounds %struct.__va_list_tag, ptr %ap, i64 0, i32 2 - %0 = getelementptr inbounds %struct.__va_list_tag, ptr %ap, i64 0, i32 3 + %overflow_arg_area_p = getelementptr inbounds i8, ptr %ap, i64 8 + %0 = getelementptr inbounds i8, ptr %ap, i64 16 %arrayidx.i.i331 = getelementptr inbounds i8, ptr %buf1317, i64 64 %arrayidx.i.i325 = getelementptr inbounds i8, ptr %buf829, i64 64 %arrayidx.i = getelementptr inbounds i8, ptr %buf577, i64 64 diff --git a/bench/libdeflate/optimized/utils.c.ll b/bench/libdeflate/optimized/utils.c.ll index 3be03027618..d293e2abb56 100644 --- a/bench/libdeflate/optimized/utils.c.ll +++ b/bench/libdeflate/optimized/utils.c.ll @@ -27,7 +27,7 @@ if.then: ; preds = %entry %not = sub i64 0, %alignment %and = and i64 %sub4, %not %1 = inttoptr i64 %and to ptr - %arrayidx = getelementptr inbounds ptr, ptr %1, i64 -1 + %arrayidx = getelementptr inbounds i8, ptr %1, i64 -8 store ptr %call, ptr %arrayidx, align 8 br label %if.end @@ -39,7 +39,7 @@ if.end: ; preds = %if.then, %entry ; Function Attrs: nounwind uwtable define hidden void @libdeflate_aligned_free(ptr nocapture noundef readonly %free_func, ptr nocapture noundef readonly %ptr) local_unnamed_addr #2 { entry: - %arrayidx = getelementptr inbounds ptr, ptr %ptr, i64 -1 + %arrayidx = getelementptr inbounds i8, ptr %ptr, i64 -8 %0 = load ptr, ptr %arrayidx, align 8 tail call void %free_func(ptr noundef %0) #4 ret void diff --git a/bench/libuv/optimized/random-devurandom.c.ll b/bench/libuv/optimized/random-devurandom.c.ll index 9bae60f2db2..c4f9e1bbab6 100644 --- a/bench/libuv/optimized/random-devurandom.c.ll +++ b/bench/libuv/optimized/random-devurandom.c.ll @@ -20,7 +20,7 @@ entry: br i1 %cmp, label %return, label %if.end if.end: ; preds = %entry - %call.i = call i32 @fstat64(i32 noundef %call, ptr noundef nonnull %s) #5 + %call.i = call noundef i32 @fstat64(i32 noundef %call, ptr noundef nonnull %s) #5 %tobool.not = icmp eq i32 %call.i, 0 br i1 %tobool.not, label %if.end5, label %if.then2 @@ -32,7 +32,7 @@ if.then2: ; preds = %if.end br label %return if.end5: ; preds = %if.end - %st_mode = getelementptr inbounds %struct.stat, ptr %s, i64 0, i32 3 + %st_mode = getelementptr inbounds i8, ptr %s, i64 24 %1 = load i32, ptr %st_mode, align 8 %and = and i32 %1, 61440 %cmp6 = icmp eq i32 %and, 8192 diff --git a/bench/lua/optimized/linit.ll b/bench/lua/optimized/linit.ll index da826d6537a..79c91ad6e32 100644 --- a/bench/lua/optimized/linit.ll +++ b/bench/lua/optimized/linit.ll @@ -28,8 +28,8 @@ for.body: ; preds = %entry, %for.body %1 = load ptr, ptr %lib.05, align 8 tail call void @luaL_requiref(ptr noundef %L, ptr noundef %1, ptr noundef nonnull %0, i32 noundef 1) #2 tail call void @lua_settop(ptr noundef %L, i32 noundef -2) #2 - %incdec.ptr = getelementptr inbounds %struct.luaL_Reg, ptr %lib.05, i64 1 - %func = getelementptr inbounds %struct.luaL_Reg, ptr %lib.05, i64 1, i32 1 + %incdec.ptr = getelementptr inbounds i8, ptr %lib.05, i64 16 + %func = getelementptr inbounds i8, ptr %lib.05, i64 24 %2 = load ptr, ptr %func, align 8 %tobool.not = icmp eq ptr %2, null br i1 %tobool.not, label %for.end, label %for.body, !llvm.loop !5 diff --git a/bench/lua/optimized/lua.ll b/bench/lua/optimized/lua.ll index 7b74a751566..5d0d36bd525 100644 --- a/bench/lua/optimized/lua.ll +++ b/bench/lua/optimized/lua.ll @@ -116,7 +116,7 @@ if.then3.i: ; preds = %if.then.i br label %if.end5.i if.end5.i: ; preds = %if.then3.i, %if.then.i - %arrayidx645.i = getelementptr inbounds ptr, ptr %call1, i64 1 + %arrayidx645.i = getelementptr inbounds i8, ptr %call1, i64 8 %2 = load ptr, ptr %arrayidx645.i, align 8 %cmp7.not46.i = icmp eq ptr %2, null br i1 %cmp7.not46.i, label %collectargs.exit, label %for.body.i @@ -479,7 +479,7 @@ if.then29: ; preds = %if.end26 br i1 %cmp.i63, label %land.lhs.true.i, label %if.end.i64 land.lhs.true.i: ; preds = %if.then29 - %arrayidx1.i73 = getelementptr inbounds ptr, ptr %add.ptr, i64 -1 + %arrayidx1.i73 = getelementptr inbounds i8, ptr %add.ptr, i64 -8 %40 = load ptr, ptr %arrayidx1.i73, align 8 %call2.i74 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %40, ptr noundef nonnull dereferenceable(3) @.str.20) #10 %cmp3.not.i = icmp eq i32 %call2.i74, 0 diff --git a/bench/luajit/optimized/lib_init.ll b/bench/luajit/optimized/lib_init.ll index ffa4ed81343..82337e43be2 100644 --- a/bench/luajit/optimized/lib_init.ll +++ b/bench/luajit/optimized/lib_init.ll @@ -31,8 +31,8 @@ for.body: ; preds = %entry, %for.body %1 = load ptr, ptr %lib.015, align 8 tail call void @lua_pushstring(ptr noundef %L, ptr noundef %1) #2 tail call void @lua_call(ptr noundef %L, i32 noundef 1, i32 noundef 0) #2 - %incdec.ptr = getelementptr inbounds %struct.luaL_Reg, ptr %lib.015, i64 1 - %func = getelementptr inbounds %struct.luaL_Reg, ptr %lib.015, i64 1, i32 1 + %incdec.ptr = getelementptr inbounds i8, ptr %lib.015, i64 16 + %func = getelementptr inbounds i8, ptr %lib.015, i64 24 %2 = load ptr, ptr %func, align 8 %tobool.not = icmp eq ptr %2, null br i1 %tobool.not, label %for.end, label %for.body, !llvm.loop !4 diff --git a/bench/luajit/optimized/lib_init_dyn.ll b/bench/luajit/optimized/lib_init_dyn.ll index 3b444ed1510..c92979cca3b 100644 --- a/bench/luajit/optimized/lib_init_dyn.ll +++ b/bench/luajit/optimized/lib_init_dyn.ll @@ -31,8 +31,8 @@ for.body: ; preds = %entry, %for.body %1 = load ptr, ptr %lib.015, align 8 tail call void @lua_pushstring(ptr noundef %L, ptr noundef %1) #2 tail call void @lua_call(ptr noundef %L, i32 noundef 1, i32 noundef 0) #2 - %incdec.ptr = getelementptr inbounds %struct.luaL_Reg, ptr %lib.015, i64 1 - %func = getelementptr inbounds %struct.luaL_Reg, ptr %lib.015, i64 1, i32 1 + %incdec.ptr = getelementptr inbounds i8, ptr %lib.015, i64 16 + %func = getelementptr inbounds i8, ptr %lib.015, i64 24 %2 = load ptr, ptr %func, align 8 %tobool.not = icmp eq ptr %2, null br i1 %tobool.not, label %for.end, label %for.body, !llvm.loop !3 diff --git a/bench/memcached/optimized/timedrun.ll b/bench/memcached/optimized/timedrun.ll index ca2263796d3..48eeae859aa 100644 --- a/bench/memcached/optimized/timedrun.ll +++ b/bench/memcached/optimized/timedrun.ll @@ -30,7 +30,7 @@ if.then: ; preds = %entry unreachable if.end: ; preds = %entry - %arrayidx = getelementptr inbounds ptr, ptr %argv, i64 1 + %arrayidx = getelementptr inbounds i8, ptr %argv, i64 8 %2 = load ptr, ptr %arrayidx, align 8 %call = tail call i32 @atoi(ptr nocapture noundef %2) #12 %call1 = tail call i32 @alarm(i32 noundef %call) #13 @@ -45,7 +45,7 @@ sw.bb.i: ; preds = %if.end br label %spawn_and_wait.exit sw.bb1.i: ; preds = %if.end - %add.ptr = getelementptr inbounds ptr, ptr %argv, i64 2 + %add.ptr = getelementptr inbounds i8, ptr %argv, i64 16 %3 = load ptr, ptr %add.ptr, align 8 %call2.i = tail call i32 @execvp(ptr noundef %3, ptr noundef nonnull %add.ptr) #13 tail call void @perror(ptr noundef nonnull @.str.2) #10 diff --git a/bench/meshoptimizer/optimized/vfetchanalyzer.cpp.ll b/bench/meshoptimizer/optimized/vfetchanalyzer.cpp.ll index 13eaf4b82d2..529109d7b4c 100644 --- a/bench/meshoptimizer/optimized/vfetchanalyzer.cpp.ll +++ b/bench/meshoptimizer/optimized/vfetchanalyzer.cpp.ll @@ -27,7 +27,7 @@ entry: to label %invoke.cont unwind label %lpad invoke.cont: ; preds = %entry - %count.i = getelementptr inbounds %class.meshopt_Allocator, ptr %allocator, i64 0, i32 1 + %count.i = getelementptr inbounds i8, ptr %allocator, i64 192 store i64 1, ptr %count.i, align 8 store ptr %call.i26, ptr %allocator, align 8 tail call void @llvm.memset.p0.i64(ptr align 1 %call.i26, i8 0, i64 %vertex_count, i1 false) @@ -148,7 +148,7 @@ declare i32 @__gxx_personality_v0(...) ; Function Attrs: mustprogress nounwind uwtable define linkonce_odr dso_local void @_ZN17meshopt_AllocatorD2Ev(ptr noundef nonnull align 8 dereferenceable(200) %this) unnamed_addr #2 comdat align 2 personality ptr @__gxx_personality_v0 { entry: - %count = getelementptr inbounds %class.meshopt_Allocator, ptr %this, i64 0, i32 1 + %count = getelementptr inbounds i8, ptr %this, i64 192 %0 = load i64, ptr %count, align 8 br label %for.cond diff --git a/bench/ms-gsl/optimized/owner_tests.cpp.ll b/bench/ms-gsl/optimized/owner_tests.cpp.ll index dbb532b1605..86c94e5908a 100644 --- a/bench/ms-gsl/optimized/owner_tests.cpp.ll +++ b/bench/ms-gsl/optimized/owner_tests.cpp.ll @@ -370,7 +370,7 @@ invoke.cont.i: ; preds = %entry to label %invoke.cont3.i unwind label %lpad2.i invoke.cont3.i: ; preds = %invoke.cont.i - %line.i.i = getelementptr inbounds %"struct.testing::internal::CodeLocation", ptr %agg.tmp.i, i64 0, i32 1 + %line.i.i = getelementptr inbounds i8, ptr %agg.tmp.i, i64 32 store i32 26, ptr %line.i.i, align 8 %call.i = invoke noundef ptr @_ZN7testing8internal13GetTestTypeIdEv() to label %invoke.cont5.i unwind label %lpad4.i @@ -439,7 +439,7 @@ invoke.cont.i7: ; preds = %__cxx_global_var_in to label %invoke.cont3.i10 unwind label %lpad2.i8 invoke.cont3.i10: ; preds = %invoke.cont.i7 - %line.i.i11 = getelementptr inbounds %"struct.testing::internal::CodeLocation", ptr %agg.tmp.i1, i64 0, i32 1 + %line.i.i11 = getelementptr inbounds i8, ptr %agg.tmp.i1, i64 32 store i32 35, ptr %line.i.i11, align 8 %call.i12 = invoke noundef ptr @_ZN7testing8internal13GetTestTypeIdEv() to label %invoke.cont5.i14 unwind label %lpad4.i13 diff --git a/bench/ms-gsl/optimized/span_compatibility_tests.cpp.ll b/bench/ms-gsl/optimized/span_compatibility_tests.cpp.ll index aa0962c06a5..7ef3668882d 100644 --- a/bench/ms-gsl/optimized/span_compatibility_tests.cpp.ll +++ b/bench/ms-gsl/optimized/span_compatibility_tests.cpp.ll @@ -282,7 +282,7 @@ invoke.cont.i: ; preds = %entry to label %invoke.cont3.i unwind label %lpad2.i invoke.cont3.i: ; preds = %invoke.cont.i - %line.i.i = getelementptr inbounds %"struct.testing::internal::CodeLocation", ptr %agg.tmp.i, i64 0, i32 1 + %line.i.i = getelementptr inbounds i8, ptr %agg.tmp.i, i64 32 store i32 72, ptr %line.i.i, align 8 %call.i = invoke noundef ptr @_ZN7testing8internal13GetTestTypeIdEv() to label %invoke.cont5.i unwind label %lpad4.i diff --git a/bench/ms-gsl/optimized/strict_notnull_tests.cpp.ll b/bench/ms-gsl/optimized/strict_notnull_tests.cpp.ll index f4129719480..2863d7c5f68 100644 --- a/bench/ms-gsl/optimized/strict_notnull_tests.cpp.ll +++ b/bench/ms-gsl/optimized/strict_notnull_tests.cpp.ll @@ -282,7 +282,7 @@ invoke.cont.i: ; preds = %entry to label %invoke.cont3.i unwind label %lpad2.i invoke.cont3.i: ; preds = %invoke.cont.i - %line.i.i = getelementptr inbounds %"struct.testing::internal::CodeLocation", ptr %agg.tmp.i, i64 0, i32 1 + %line.i.i = getelementptr inbounds i8, ptr %agg.tmp.i, i64 32 store i32 52, ptr %line.i.i, align 8 %call.i = invoke noundef ptr @_ZN7testing8internal13GetTestTypeIdEv() to label %invoke.cont5.i unwind label %lpad4.i diff --git a/bench/node/optimized/random-devurandom.ll b/bench/node/optimized/random-devurandom.ll index f2eb030d156..edf9deefb73 100644 --- a/bench/node/optimized/random-devurandom.ll +++ b/bench/node/optimized/random-devurandom.ll @@ -20,7 +20,7 @@ entry: br i1 %cmp, label %return, label %if.end if.end: ; preds = %entry - %call.i = call i32 @fstat64(i32 noundef %call, ptr noundef nonnull %s) #5 + %call.i = call noundef i32 @fstat64(i32 noundef %call, ptr noundef nonnull %s) #5 %tobool.not = icmp eq i32 %call.i, 0 br i1 %tobool.not, label %if.end5, label %if.then2 @@ -32,7 +32,7 @@ if.then2: ; preds = %if.end br label %return if.end5: ; preds = %if.end - %st_mode = getelementptr inbounds %struct.stat, ptr %s, i64 0, i32 3 + %st_mode = getelementptr inbounds i8, ptr %s, i64 24 %1 = load i32, ptr %st_mode, align 8 %and = and i32 %1, 61440 %cmp6 = icmp eq i32 %and, 8192 diff --git a/bench/ocio/optimized/HashUtils.cpp.ll b/bench/ocio/optimized/HashUtils.cpp.ll index c312d98d6c4..22aa9f1714d 100644 --- a/bench/ocio/optimized/HashUtils.cpp.ll +++ b/bench/ocio/optimized/HashUtils.cpp.ll @@ -764,7 +764,7 @@ declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0 ; Function Attrs: mustprogress uwtable define linkonce_odr noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3hexRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216) %__base) #2 comdat { entry: - %_M_flags.i = getelementptr inbounds %"class.std::ios_base", ptr %__base, i64 0, i32 3 + %_M_flags.i = getelementptr inbounds i8, ptr %__base, i64 24 %0 = load i32, ptr %_M_flags.i, align 8 %and.i.i.i = and i32 %0, -75 %or.i.i.i = or disjoint i32 %and.i.i.i, 8 diff --git a/bench/oiio/optimized/Cineon.cpp.ll b/bench/oiio/optimized/Cineon.cpp.ll index d41790b193d..e925df675e3 100644 --- a/bench/oiio/optimized/Cineon.cpp.ll +++ b/bench/oiio/optimized/Cineon.cpp.ll @@ -23,11 +23,11 @@ define hidden noundef zeroext i1 @_ZN6cineon12IdentifyFileEPNS_8InStreamE(ptr no entry: %magic = alloca i32, align 4 %vtable = load ptr, ptr %fp, align 8 - %vfn = getelementptr inbounds ptr, ptr %vtable, i64 4 + %vfn = getelementptr inbounds i8, ptr %vtable, i64 32 %0 = load ptr, ptr %vfn, align 8 tail call void %0(ptr noundef nonnull align 8 dereferenceable(16) %fp) %vtable1 = load ptr, ptr %fp, align 8 - %vfn2 = getelementptr inbounds ptr, ptr %vtable1, i64 5 + %vfn2 = getelementptr inbounds i8, ptr %vtable1, i64 40 %1 = load ptr, ptr %vfn2, align 8 %call = call noundef i64 %1(ptr noundef nonnull align 8 dereferenceable(16) %fp, ptr noundef nonnull %magic, i64 noundef 4) %cmp.not = icmp eq i64 %call, 4 diff --git a/bench/oiio/optimized/DPX.cpp.ll b/bench/oiio/optimized/DPX.cpp.ll index c255738bd79..20eaed1f966 100644 --- a/bench/oiio/optimized/DPX.cpp.ll +++ b/bench/oiio/optimized/DPX.cpp.ll @@ -23,11 +23,11 @@ define hidden noundef zeroext i1 @_ZN3dpx12IdentifyFileEP8InStream(ptr noundef % entry: %magic = alloca i32, align 4 %vtable = load ptr, ptr %fp, align 8 - %vfn = getelementptr inbounds ptr, ptr %vtable, i64 2 + %vfn = getelementptr inbounds i8, ptr %vtable, i64 16 %0 = load ptr, ptr %vfn, align 8 tail call void %0(ptr noundef nonnull align 8 dereferenceable(16) %fp) %vtable1 = load ptr, ptr %fp, align 8 - %vfn2 = getelementptr inbounds ptr, ptr %vtable1, i64 3 + %vfn2 = getelementptr inbounds i8, ptr %vtable1, i64 24 %1 = load ptr, ptr %vfn2, align 8 %call = call noundef i64 %1(ptr noundef nonnull align 8 dereferenceable(16) %fp, ptr noundef nonnull %magic, i64 noundef 4) %cmp.not = icmp eq i64 %call, 4 diff --git a/bench/oiio/optimized/pugixml.cpp.ll b/bench/oiio/optimized/pugixml.cpp.ll index 6463712148c..9ee77b98cc9 100644 --- a/bench/oiio/optimized/pugixml.cpp.ll +++ b/bench/oiio/optimized/pugixml.cpp.ll @@ -24,9 +24,9 @@ $_ZN18OpenImageIO_v2_6_04pugi4impl38xml_memory_management_function_storageIiE10d ; Function Attrs: mustprogress nounwind uwtable define linkonce_odr void @_ZN18OpenImageIO_v2_6_04pugi14xpath_node_setD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %this) unnamed_addr #0 comdat align 2 personality ptr @__gxx_personality_v0 { entry: - %_begin = getelementptr inbounds %"class.OpenImageIO_v2_6_0::pugi::xpath_node_set", ptr %this, i64 0, i32 2 + %_begin = getelementptr inbounds i8, ptr %this, i64 24 %0 = load ptr, ptr %_begin, align 8 - %_storage = getelementptr inbounds %"class.OpenImageIO_v2_6_0::pugi::xpath_node_set", ptr %this, i64 0, i32 1 + %_storage = getelementptr inbounds i8, ptr %this, i64 8 %cmp.not = icmp eq ptr %0, %_storage br i1 %cmp.not, label %if.end, label %if.then diff --git a/bench/openexr/optimized/ImfGenericInputFile.cpp.ll b/bench/openexr/optimized/ImfGenericInputFile.cpp.ll index 59bdfe5c4d9..4b31fe8e200 100644 --- a/bench/openexr/optimized/ImfGenericInputFile.cpp.ll +++ b/bench/openexr/optimized/ImfGenericInputFile.cpp.ll @@ -76,14 +76,14 @@ entry: %_iex_throw_s25 = alloca %"class.std::__cxx11::basic_stringstream", align 8 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %b.i) %vtable.i.i.i = load ptr, ptr %is, align 8 - %vfn.i.i.i = getelementptr inbounds ptr, ptr %vtable.i.i.i, i64 3 + %vfn.i.i.i = getelementptr inbounds i8, ptr %vtable.i.i.i, i64 24 %0 = load ptr, ptr %vfn.i.i.i, align 8 %call.i.i.i = call noundef zeroext i1 %0(ptr noundef nonnull align 8 dereferenceable(40) %is, ptr noundef nonnull %b.i, i32 noundef 4) %1 = load i32, ptr %b.i, align 4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %b.i) call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %b.i10) %vtable.i.i.i11 = load ptr, ptr %is, align 8 - %vfn.i.i.i12 = getelementptr inbounds ptr, ptr %vtable.i.i.i11, i64 3 + %vfn.i.i.i12 = getelementptr inbounds i8, ptr %vtable.i.i.i11, i64 24 %2 = load ptr, ptr %vfn.i.i.i12, align 8 %call.i.i.i13 = call noundef zeroext i1 %2(ptr noundef nonnull align 8 dereferenceable(40) %is, ptr noundef nonnull %b.i10, i32 noundef 4) %3 = load i32, ptr %b.i10, align 4 diff --git a/bench/openssl/optimized/event_queue_test-bin-event_queue_test.ll b/bench/openssl/optimized/event_queue_test-bin-event_queue_test.ll index 6b57ed5b2ad..c85b265b7a3 100644 --- a/bench/openssl/optimized/event_queue_test-bin-event_queue_test.ll +++ b/bench/openssl/optimized/event_queue_test-bin-event_queue_test.ll @@ -51,7 +51,7 @@ entry: } ; Function Attrs: nounwind uwtable -define dso_local i32 @setup_tests() local_unnamed_addr #1 { +define dso_local noundef i32 @setup_tests() local_unnamed_addr #1 { entry: tail call void @add_test(ptr noundef nonnull @.str, ptr noundef nonnull @event_test) #4 ret i32 1 @@ -126,7 +126,7 @@ lor.lhs.false48: ; preds = %lor.lhs.false40 br i1 %tobool51.not, label %err, label %lor.lhs.false52 lor.lhs.false52: ; preds = %lor.lhs.false48 - %payload.i = getelementptr inbounds %struct.ossl_event_st, ptr %call5, i64 0, i32 4 + %payload.i = getelementptr inbounds i8, ptr %call5, i64 24 %3 = load ptr, ptr %payload.i, align 8 %call54 = call i32 @test_ptr(ptr noundef nonnull @.str.1, i32 noundef 56, ptr noundef nonnull @.str.20, ptr noundef %3) #4 %tobool55.not = icmp eq i32 %call54, 0 diff --git a/bench/openssl/optimized/libapps-lib-s_socket.ll b/bench/openssl/optimized/libapps-lib-s_socket.ll index 54c74ea4f25..ee487d27051 100644 --- a/bench/openssl/optimized/libapps-lib-s_socket.ll +++ b/bench/openssl/optimized/libapps-lib-s_socket.ll @@ -28,7 +28,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str.15 = private unnamed_addr constant [192 x i8] c"assertion failed: (family == AF_UNSPEC || family == BIO_ADDRINFO_family(res)) && (type == 0 || type == BIO_ADDRINFO_socktype(res)) && (protocol == 0 || protocol == BIO_ADDRINFO_protocol(res))\00", align 1 ; Function Attrs: nounwind uwtable -define i32 @init_client(ptr nocapture noundef %sock, ptr noundef %host, ptr noundef %port, ptr noundef %bindhost, ptr noundef %bindport, i32 noundef %family, i32 noundef %type, i32 noundef %protocol, i32 noundef %tfo, i32 noundef %doconn, ptr noundef writeonly %ba_ret) local_unnamed_addr #0 { +define noundef i32 @init_client(ptr nocapture noundef %sock, ptr noundef %host, ptr noundef %port, ptr noundef %bindhost, ptr noundef %bindport, i32 noundef %family, i32 noundef %type, i32 noundef %protocol, i32 noundef %tfo, i32 noundef %doconn, ptr noundef writeonly %ba_ret) local_unnamed_addr #0 { entry: %res = alloca ptr, align 8 %bindaddr = alloca ptr, align 8 @@ -647,7 +647,7 @@ if.then79: ; preds = %if.end76 if.end80: ; preds = %if.then79, %if.end76 %cmp81 = icmp eq i32 %type, 1 - %tv_usec = getelementptr inbounds %struct.timeval, ptr %timeout, i64 0, i32 1 + %tv_usec = getelementptr inbounds i8, ptr %timeout, i64 8 br i1 %cmp81, label %for.cond.us, label %for.cond for.cond.us: ; preds = %if.end80, %do.end124.us diff --git a/bench/openssl/optimized/libcrypto-lib-asn1_item_list.ll b/bench/openssl/optimized/libcrypto-lib-asn1_item_list.ll index 920d99d397e..5f7469ad400 100644 --- a/bench/openssl/optimized/libcrypto-lib-asn1_item_list.ll +++ b/bench/openssl/optimized/libcrypto-lib-asn1_item_list.ll @@ -3,8 +3,6 @@ source_filename = "bench/openssl/original/libcrypto-lib-asn1_item_list.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" -%struct.ASN1_ITEM_st = type { i8, i64, ptr, i64, ptr, i64, ptr } - @asn1_item_list = internal unnamed_addr constant [146 x ptr] [ptr @ACCESS_DESCRIPTION_it, ptr @ASIdOrRange_it, ptr @ASIdentifierChoice_it, ptr @ASIdentifiers_it, ptr @ASN1_ANY_it, ptr @ASN1_BIT_STRING_it, ptr @ASN1_BMPSTRING_it, ptr @ASN1_BOOLEAN_it, ptr @ASN1_ENUMERATED_it, ptr @ASN1_FBOOLEAN_it, ptr @ASN1_GENERALIZEDTIME_it, ptr @ASN1_GENERALSTRING_it, ptr @ASN1_IA5STRING_it, ptr @ASN1_INTEGER_it, ptr @ASN1_NULL_it, ptr @ASN1_OBJECT_it, ptr @ASN1_OCTET_STRING_NDEF_it, ptr @ASN1_OCTET_STRING_it, ptr @ASN1_PRINTABLESTRING_it, ptr @ASN1_PRINTABLE_it, ptr @ASN1_SEQUENCE_ANY_it, ptr @ASN1_SEQUENCE_it, ptr @ASN1_SET_ANY_it, ptr @ASN1_T61STRING_it, ptr @ASN1_TBOOLEAN_it, ptr @ASN1_TIME_it, ptr @ASN1_UNIVERSALSTRING_it, ptr @ASN1_UTCTIME_it, ptr @ASN1_UTF8STRING_it, ptr @ASN1_VISIBLESTRING_it, ptr @ASRange_it, ptr @AUTHORITY_INFO_ACCESS_it, ptr @AUTHORITY_KEYID_it, ptr @BASIC_CONSTRAINTS_it, ptr @BIGNUM_it, ptr @CBIGNUM_it, ptr @CERTIFICATEPOLICIES_it, ptr @CMS_ContentInfo_it, ptr @CMS_EnvelopedData_it, ptr @CMS_ReceiptRequest_it, ptr @CRL_DIST_POINTS_it, ptr @DHparams_it, ptr @DIRECTORYSTRING_it, ptr @DISPLAYTEXT_it, ptr @DIST_POINT_NAME_it, ptr @DIST_POINT_it, ptr @ECPARAMETERS_it, ptr @ECPKPARAMETERS_it, ptr @EDIPARTYNAME_it, ptr @EXTENDED_KEY_USAGE_it, ptr @GENERAL_NAMES_it, ptr @GENERAL_NAME_it, ptr @GENERAL_SUBTREE_it, ptr @IPAddressChoice_it, ptr @IPAddressFamily_it, ptr @IPAddressOrRange_it, ptr @IPAddressRange_it, ptr @ISSUING_DIST_POINT_it, ptr @LONG_it, ptr @NAME_CONSTRAINTS_it, ptr @NETSCAPE_CERT_SEQUENCE_it, ptr @NETSCAPE_SPKAC_it, ptr @NETSCAPE_SPKI_it, ptr @NOTICEREF_it, ptr @OCSP_BASICRESP_it, ptr @OCSP_CERTID_it, ptr @OCSP_CERTSTATUS_it, ptr @OCSP_CRLID_it, ptr @OCSP_ONEREQ_it, ptr @OCSP_REQINFO_it, ptr @OCSP_REQUEST_it, ptr @OCSP_RESPBYTES_it, ptr @OCSP_RESPDATA_it, ptr @OCSP_RESPID_it, ptr @OCSP_RESPONSE_it, ptr @OCSP_REVOKEDINFO_it, ptr @OCSP_SERVICELOC_it, ptr @OCSP_SIGNATURE_it, ptr @OCSP_SINGLERESP_it, ptr @OTHERNAME_it, ptr @PBE2PARAM_it, ptr @PBEPARAM_it, ptr @PBKDF2PARAM_it, ptr @PKCS12_AUTHSAFES_it, ptr @PKCS12_BAGS_it, ptr @PKCS12_MAC_DATA_it, ptr @PKCS12_SAFEBAGS_it, ptr @PKCS12_SAFEBAG_it, ptr @PKCS12_it, ptr @PKCS7_ATTR_SIGN_it, ptr @PKCS7_ATTR_VERIFY_it, ptr @PKCS7_DIGEST_it, ptr @PKCS7_ENCRYPT_it, ptr @PKCS7_ENC_CONTENT_it, ptr @PKCS7_ENVELOPE_it, ptr @PKCS7_ISSUER_AND_SERIAL_it, ptr @PKCS7_RECIP_INFO_it, ptr @PKCS7_SIGNED_it, ptr @PKCS7_SIGNER_INFO_it, ptr @PKCS7_SIGN_ENVELOPE_it, ptr @PKCS7_it, ptr @PKCS8_PRIV_KEY_INFO_it, ptr @PKEY_USAGE_PERIOD_it, ptr @POLICYINFO_it, ptr @POLICYQUALINFO_it, ptr @POLICY_CONSTRAINTS_it, ptr @POLICY_MAPPINGS_it, ptr @POLICY_MAPPING_it, ptr @PROXY_CERT_INFO_EXTENSION_it, ptr @PROXY_POLICY_it, ptr @RSAPrivateKey_it, ptr @RSAPublicKey_it, ptr @RSA_OAEP_PARAMS_it, ptr @RSA_PSS_PARAMS_it, ptr @SCRYPT_PARAMS_it, ptr @SXNETID_it, ptr @SXNET_it, ptr @ISSUER_SIGN_TOOL_it, ptr @USERNOTICE_it, ptr @X509_ALGORS_it, ptr @X509_ALGOR_it, ptr @X509_ATTRIBUTE_it, ptr @X509_CERT_AUX_it, ptr @X509_CINF_it, ptr @X509_CRL_INFO_it, ptr @X509_CRL_it, ptr @X509_EXTENSIONS_it, ptr @X509_EXTENSION_it, ptr @X509_NAME_ENTRY_it, ptr @X509_NAME_it, ptr @X509_PUBKEY_it, ptr @X509_REQ_INFO_it, ptr @X509_REQ_it, ptr @X509_REVOKED_it, ptr @X509_SIG_it, ptr @X509_VAL_it, ptr @X509_it, ptr @ZLONG_it, ptr @INT32_it, ptr @UINT32_it, ptr @ZINT32_it, ptr @ZUINT32_it, ptr @INT64_it, ptr @UINT64_it, ptr @ZINT64_it, ptr @ZUINT64_it], align 16 ; Function Attrs: nounwind uwtable @@ -22,7 +20,7 @@ for.body: ; preds = %entry, %for.cond %arrayidx = getelementptr inbounds [146 x ptr], ptr @asn1_item_list, i64 0, i64 %i.04 %0 = load ptr, ptr %arrayidx, align 8 %call = tail call ptr %0() #3 - %sname = getelementptr inbounds %struct.ASN1_ITEM_st, ptr %call, i64 0, i32 6 + %sname = getelementptr inbounds i8, ptr %call, i64 48 %1 = load ptr, ptr %sname, align 8 %call1 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(1) %name) #4 %cmp2 = icmp eq i32 %call1, 0 diff --git a/bench/openssl/optimized/libcrypto-lib-bf_cfb64.ll b/bench/openssl/optimized/libcrypto-lib-bf_cfb64.ll index c4b189d5022..08a4ff128dd 100644 --- a/bench/openssl/optimized/libcrypto-lib-bf_cfb64.ll +++ b/bench/openssl/optimized/libcrypto-lib-bf_cfb64.ll @@ -23,7 +23,7 @@ while.body.lr.ph: ; preds = %while.cond.preheade %incdec.ptr20 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr24 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr30 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx41 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx41 = getelementptr inbounds i8, ptr %ti, i64 4 br label %while.body while.cond81.preheader: ; preds = %entry @@ -37,7 +37,7 @@ while.body84.lr.ph: ; preds = %while.cond81.prehea %incdec.ptr110 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr114 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr120 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx131 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx131 = getelementptr inbounds i8, ptr %ti, i64 4 br label %while.body84 while.body: ; preds = %while.body.lr.ph, %if.end diff --git a/bench/openssl/optimized/libcrypto-lib-bf_ecb.ll b/bench/openssl/optimized/libcrypto-lib-bf_ecb.ll index 13e03792306..6424777840e 100644 --- a/bench/openssl/optimized/libcrypto-lib-bf_ecb.ll +++ b/bench/openssl/optimized/libcrypto-lib-bf_ecb.ll @@ -6,7 +6,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"blowfish(ptr)\00", align 1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define nonnull ptr @BF_options() local_unnamed_addr #0 { +define noundef nonnull ptr @BF_options() local_unnamed_addr #0 { entry: ret ptr @.str } @@ -51,7 +51,7 @@ entry: %7 = load i8, ptr %incdec.ptr28, align 1 %conv35 = zext i8 %7 to i32 %or37 = or disjoint i32 %or32, %conv35 - %arrayidx39 = getelementptr inbounds [2 x i32], ptr %d, i64 0, i64 1 + %arrayidx39 = getelementptr inbounds i8, ptr %d, i64 4 store i32 %or37, ptr %arrayidx39, align 4 %tobool.not = icmp eq i32 %encrypt, 0 br i1 %tobool.not, label %if.else, label %if.then diff --git a/bench/openssl/optimized/libcrypto-lib-bf_ofb64.ll b/bench/openssl/optimized/libcrypto-lib-bf_ofb64.ll index 41265e5dedd..10fd0056d10 100644 --- a/bench/openssl/optimized/libcrypto-lib-bf_ofb64.ll +++ b/bench/openssl/optimized/libcrypto-lib-bf_ofb64.ll @@ -45,7 +45,7 @@ entry: %10 = or disjoint i32 %or26, %shl30 %or37 = or disjoint i32 %10, %conv35 store i32 %or16, ptr %ti, align 4 - %arrayidx39 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx39 = getelementptr inbounds i8, ptr %ti, i64 4 store i32 %or37, ptr %arrayidx39, align 4 %incdec.ptr41 = getelementptr inbounds i8, ptr %d, i64 1 store i8 %1, ptr %d, align 1 diff --git a/bench/openssl/optimized/libcrypto-lib-bf_skey.ll b/bench/openssl/optimized/libcrypto-lib-bf_skey.ll index 5476c399f11..614c3e33861 100644 --- a/bench/openssl/optimized/libcrypto-lib-bf_skey.ll +++ b/bench/openssl/optimized/libcrypto-lib-bf_skey.ll @@ -56,7 +56,7 @@ for.body: ; preds = %entry, %for.body for.end: ; preds = %for.body store i32 0, ptr %in, align 8 - %arrayidx31 = getelementptr inbounds [2 x i32], ptr %in, i64 0, i64 1 + %arrayidx31 = getelementptr inbounds i8, ptr %in, i64 4 store i32 0, ptr %arrayidx31, align 4 br label %for.body35 @@ -71,7 +71,7 @@ for.body35: ; preds = %for.end, %for.body3 br i1 %cmp33, label %for.body35, label %for.end45, !llvm.loop !6 for.end45: ; preds = %for.body35 - %S = getelementptr inbounds %struct.bf_key_st, ptr %key, i64 0, i32 1 + %S = getelementptr inbounds i8, ptr %key, i64 72 br label %for.body50 for.body50: ; preds = %for.end45, %for.body50 diff --git a/bench/openssl/optimized/libcrypto-lib-c_cfb64.ll b/bench/openssl/optimized/libcrypto-lib-c_cfb64.ll index 4135d364791..61f3df74571 100644 --- a/bench/openssl/optimized/libcrypto-lib-c_cfb64.ll +++ b/bench/openssl/optimized/libcrypto-lib-c_cfb64.ll @@ -23,7 +23,7 @@ while.body.lr.ph: ; preds = %while.cond.preheade %incdec.ptr20 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr24 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr30 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx41 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx41 = getelementptr inbounds i8, ptr %ti, i64 4 br label %while.body while.cond81.preheader: ; preds = %entry @@ -37,7 +37,7 @@ while.body84.lr.ph: ; preds = %while.cond81.prehea %incdec.ptr110 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr114 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr120 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx131 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx131 = getelementptr inbounds i8, ptr %ti, i64 4 br label %while.body84 while.body: ; preds = %while.body.lr.ph, %if.end diff --git a/bench/openssl/optimized/libcrypto-lib-c_ecb.ll b/bench/openssl/optimized/libcrypto-lib-c_ecb.ll index 4850da7eaa0..492a1e95462 100644 --- a/bench/openssl/optimized/libcrypto-lib-c_ecb.ll +++ b/bench/openssl/optimized/libcrypto-lib-c_ecb.ll @@ -43,7 +43,7 @@ entry: %7 = load i8, ptr %incdec.ptr28, align 1 %conv35 = zext i8 %7 to i32 %or37 = or disjoint i32 %or32, %conv35 - %arrayidx39 = getelementptr inbounds [2 x i32], ptr %d, i64 0, i64 1 + %arrayidx39 = getelementptr inbounds i8, ptr %d, i64 4 store i32 %or37, ptr %arrayidx39, align 4 %tobool.not = icmp eq i32 %enc, 0 br i1 %tobool.not, label %if.else, label %if.then diff --git a/bench/openssl/optimized/libcrypto-lib-c_ofb64.ll b/bench/openssl/optimized/libcrypto-lib-c_ofb64.ll index 29675f91bae..af6e17bc0a3 100644 --- a/bench/openssl/optimized/libcrypto-lib-c_ofb64.ll +++ b/bench/openssl/optimized/libcrypto-lib-c_ofb64.ll @@ -45,7 +45,7 @@ entry: %10 = or disjoint i32 %or26, %shl30 %or37 = or disjoint i32 %10, %conv35 store i32 %or16, ptr %ti, align 4 - %arrayidx39 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx39 = getelementptr inbounds i8, ptr %ti, i64 4 store i32 %or37, ptr %arrayidx39, align 4 %incdec.ptr41 = getelementptr inbounds i8, ptr %d, i64 1 store i8 %1, ptr %d, align 1 diff --git a/bench/openssl/optimized/libcrypto-lib-cbc_cksm.ll b/bench/openssl/optimized/libcrypto-lib-cbc_cksm.ll index 4213777af2d..f8b875c51f1 100644 --- a/bench/openssl/optimized/libcrypto-lib-cbc_cksm.ll +++ b/bench/openssl/optimized/libcrypto-lib-cbc_cksm.ll @@ -14,7 +14,7 @@ entry: br i1 %cmp71, label %for.body.lr.ph, label %for.end for.body.lr.ph: ; preds = %entry - %arrayidx94 = getelementptr inbounds [2 x i32], ptr %tin, i64 0, i64 1 + %arrayidx94 = getelementptr inbounds i8, ptr %tin, i64 4 br label %for.body for.body: ; preds = %for.body.lr.ph, %if.end diff --git a/bench/openssl/optimized/libcrypto-lib-cfb128.ll b/bench/openssl/optimized/libcrypto-lib-cfb128.ll index 6c24f75a889..e046f7ef554 100644 --- a/bench/openssl/optimized/libcrypto-lib-cfb128.ll +++ b/bench/openssl/optimized/libcrypto-lib-cfb128.ll @@ -224,7 +224,7 @@ entry: for.body.lr.ph: ; preds = %entry %tobool.not.i = icmp eq i32 %enc, 0 - %0 = getelementptr inbounds [33 x i8], ptr %ovec.i, i64 0, i64 16 + %0 = getelementptr inbounds i8, ptr %ovec.i, i64 16 br i1 %tobool.not.i, label %for.body.us, label %for.body for.body.us: ; preds = %for.body.lr.ph, %cfbr_encrypt_block.exit.us diff --git a/bench/openssl/optimized/libcrypto-lib-cfb64enc.ll b/bench/openssl/optimized/libcrypto-lib-cfb64enc.ll index 5479f51ef35..793a96ad76f 100644 --- a/bench/openssl/optimized/libcrypto-lib-cfb64enc.ll +++ b/bench/openssl/optimized/libcrypto-lib-cfb64enc.ll @@ -23,7 +23,7 @@ while.body.lr.ph: ; preds = %while.cond.preheade %incdec.ptr14 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr16 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr20 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx28 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx28 = getelementptr inbounds i8, ptr %ti, i64 4 br label %while.body while.cond70.preheader: ; preds = %entry @@ -37,7 +37,7 @@ while.body73.lr.ph: ; preds = %while.cond70.prehea %incdec.ptr92 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr94 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr98 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx106 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx106 = getelementptr inbounds i8, ptr %ti, i64 4 br label %while.body73 while.body: ; preds = %while.body.lr.ph, %if.end diff --git a/bench/openssl/optimized/libcrypto-lib-ecb3_enc.ll b/bench/openssl/optimized/libcrypto-lib-ecb3_enc.ll index 39180acbacb..ad3b5d38bef 100644 --- a/bench/openssl/optimized/libcrypto-lib-ecb3_enc.ll +++ b/bench/openssl/optimized/libcrypto-lib-ecb3_enc.ll @@ -21,7 +21,7 @@ if.else: ; preds = %entry br label %if.end if.end: ; preds = %if.else, %if.then - %arrayidx27 = getelementptr inbounds [2 x i32], ptr %ll, i64 0, i64 1 + %arrayidx27 = getelementptr inbounds i8, ptr %ll, i64 4 %1 = load i32, ptr %ll, align 8 %2 = load i32, ptr %arrayidx27, align 4 %conv31 = trunc i32 %1 to i8 diff --git a/bench/openssl/optimized/libcrypto-lib-ecb_enc.ll b/bench/openssl/optimized/libcrypto-lib-ecb_enc.ll index d0f94332f1c..1f97cf5c6ab 100644 --- a/bench/openssl/optimized/libcrypto-lib-ecb_enc.ll +++ b/bench/openssl/optimized/libcrypto-lib-ecb_enc.ll @@ -8,7 +8,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"des(int)\00", align 1 ; Function Attrs: nounwind uwtable -define nonnull ptr @DES_options() local_unnamed_addr #0 { +define noundef nonnull ptr @DES_options() local_unnamed_addr #0 { entry: %.b = load i1, ptr @DES_options.init, align 4 br i1 %.b, label %if.end, label %if.then @@ -28,7 +28,7 @@ declare i64 @OPENSSL_strlcpy(ptr noundef, ptr noundef, i64 noundef) local_unname define void @DES_ecb_encrypt(ptr nocapture noundef readonly %input, ptr nocapture noundef writeonly %output, ptr noundef %ks, i32 noundef %enc) local_unnamed_addr #0 { entry: %ll = alloca [2 x i32], align 8 - %arrayidx27 = getelementptr inbounds [2 x i32], ptr %ll, i64 0, i64 1 + %arrayidx27 = getelementptr inbounds i8, ptr %ll, i64 4 %0 = load <2 x i32>, ptr %input, align 1 store <2 x i32> %0, ptr %ll, align 8 call void @DES_encrypt1(ptr noundef nonnull %ll, ptr noundef %ks, i32 noundef %enc) #2 diff --git a/bench/openssl/optimized/libcrypto-lib-i_cfb64.ll b/bench/openssl/optimized/libcrypto-lib-i_cfb64.ll index a3e4643b704..d0240b0fc23 100644 --- a/bench/openssl/optimized/libcrypto-lib-i_cfb64.ll +++ b/bench/openssl/optimized/libcrypto-lib-i_cfb64.ll @@ -27,7 +27,7 @@ while.body.lr.ph: ; preds = %while.cond.preheade %incdec.ptr15 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr18 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr22 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx29 = getelementptr inbounds [2 x i64], ptr %ti, i64 0, i64 1 + %arrayidx29 = getelementptr inbounds i8, ptr %ti, i64 8 br label %while.body while.cond70.preheader: ; preds = %if.end @@ -41,7 +41,7 @@ while.body73.lr.ph: ; preds = %while.cond70.prehea %incdec.ptr92 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr95 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr99 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx106 = getelementptr inbounds [2 x i64], ptr %ti, i64 0, i64 1 + %arrayidx106 = getelementptr inbounds i8, ptr %ti, i64 8 br label %while.body73 while.body: ; preds = %while.body.lr.ph, %if.end60 diff --git a/bench/openssl/optimized/libcrypto-lib-i_ecb.ll b/bench/openssl/optimized/libcrypto-lib-i_ecb.ll index ee5201a10f9..f26802c9409 100644 --- a/bench/openssl/optimized/libcrypto-lib-i_ecb.ll +++ b/bench/openssl/optimized/libcrypto-lib-i_ecb.ll @@ -6,7 +6,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"idea(int)\00", align 1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define nonnull ptr @IDEA_options() local_unnamed_addr #0 { +define noundef nonnull ptr @IDEA_options() local_unnamed_addr #0 { entry: ret ptr @.str } @@ -51,7 +51,7 @@ entry: %7 = load i8, ptr %incdec.ptr18, align 1 %conv23 = zext i8 %7 to i64 %or24 = or disjoint i64 %or21, %conv23 - %arrayidx25 = getelementptr inbounds [2 x i64], ptr %d, i64 0, i64 1 + %arrayidx25 = getelementptr inbounds i8, ptr %d, i64 8 store i64 %or24, ptr %arrayidx25, align 8 call void @IDEA_encrypt(ptr noundef nonnull %d, ptr noundef %ks) #3 %8 = load i64, ptr %d, align 16 diff --git a/bench/openssl/optimized/libcrypto-lib-i_ofb64.ll b/bench/openssl/optimized/libcrypto-lib-i_ofb64.ll index a20af09eba6..f27a8b821ce 100644 --- a/bench/openssl/optimized/libcrypto-lib-i_ofb64.ll +++ b/bench/openssl/optimized/libcrypto-lib-i_ofb64.ll @@ -49,7 +49,7 @@ if.end: ; preds = %entry %10 = or disjoint i64 %or17, %shl20 %or24 = or disjoint i64 %10, %conv23 store i64 %or10, ptr %ti, align 16 - %arrayidx25 = getelementptr inbounds [2 x i64], ptr %ti, i64 0, i64 1 + %arrayidx25 = getelementptr inbounds i8, ptr %ti, i64 8 store i64 %or24, ptr %arrayidx25, align 8 %incdec.ptr27 = getelementptr inbounds i8, ptr %d, i64 1 store i8 %1, ptr %d, align 1 diff --git a/bench/openssl/optimized/libcrypto-lib-ofb64ede.ll b/bench/openssl/optimized/libcrypto-lib-ofb64ede.ll index daed1026e3f..325884077ca 100644 --- a/bench/openssl/optimized/libcrypto-lib-ofb64ede.ll +++ b/bench/openssl/optimized/libcrypto-lib-ofb64ede.ll @@ -45,7 +45,7 @@ entry: %10 = or disjoint i32 %or16, %shl19 %or24 = or disjoint i32 %10, %shl23 store i32 %or10, ptr %ti, align 4 - %arrayidx26 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx26 = getelementptr inbounds i8, ptr %ti, i64 4 store i32 %or24, ptr %arrayidx26, align 4 %incdec.ptr28 = getelementptr inbounds i8, ptr %d, i64 1 store i8 %1, ptr %d, align 1 diff --git a/bench/openssl/optimized/libcrypto-lib-ofb64enc.ll b/bench/openssl/optimized/libcrypto-lib-ofb64enc.ll index 89c1f1d5149..ffa0ec3bde7 100644 --- a/bench/openssl/optimized/libcrypto-lib-ofb64enc.ll +++ b/bench/openssl/optimized/libcrypto-lib-ofb64enc.ll @@ -45,7 +45,7 @@ entry: %10 = or disjoint i32 %or16, %shl19 %or24 = or disjoint i32 %10, %shl23 store i32 %or10, ptr %ti, align 4 - %arrayidx26 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx26 = getelementptr inbounds i8, ptr %ti, i64 4 store i32 %or24, ptr %arrayidx26, align 4 %incdec.ptr28 = getelementptr inbounds i8, ptr %d, i64 1 store i8 %1, ptr %d, align 1 diff --git a/bench/openssl/optimized/libcrypto-lib-ofb_enc.ll b/bench/openssl/optimized/libcrypto-lib-ofb_enc.ll index bb1ab1203aa..347b76cc417 100644 --- a/bench/openssl/optimized/libcrypto-lib-ofb_enc.ll +++ b/bench/openssl/optimized/libcrypto-lib-ofb_enc.ll @@ -67,7 +67,7 @@ if.end17: ; preds = %if.then2, %if.else, %conv41 = zext i8 %9 to i32 %shl42 = shl nuw i32 %conv41, 24 %or43 = or disjoint i32 %or39, %shl42 - %arrayidx45 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx45 = getelementptr inbounds i8, ptr %ti, i64 4 %cmp46102 = icmp sgt i64 %length, 0 br i1 %cmp46102, label %while.body.lr.ph, label %while.end diff --git a/bench/openssl/optimized/libcrypto-lib-p12_p8e.ll b/bench/openssl/optimized/libcrypto-lib-p12_p8e.ll index 53faca03350..f59c237183f 100644 --- a/bench/openssl/optimized/libcrypto-lib-p12_p8e.ll +++ b/bench/openssl/optimized/libcrypto-lib-p12_p8e.ll @@ -3,8 +3,6 @@ source_filename = "bench/openssl/original/libcrypto-lib-p12_p8e.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" -%struct.X509_sig_st = type { ptr, ptr } - @.str = private unnamed_addr constant [35 x i8] c"../openssl/crypto/pkcs12/p12_p8e.c\00", align 1 @__func__.PKCS8_encrypt_ex = private unnamed_addr constant [17 x i8] c"PKCS8_encrypt_ex\00", align 1 @__func__.PKCS8_set0_pbe_ex = private unnamed_addr constant [18 x i8] c"PKCS8_set0_pbe_ex\00", align 1 @@ -123,7 +121,7 @@ if.then3: ; preds = %if.end if.end4: ; preds = %if.end store ptr %pbe, ptr %call2, align 8 - %digest = getelementptr inbounds %struct.X509_sig_st, ptr %call2, i64 0, i32 1 + %digest = getelementptr inbounds i8, ptr %call2, i64 8 store ptr %call1, ptr %digest, align 8 br label %return diff --git a/bench/openssl/optimized/libcrypto-lib-pcbc_enc.ll b/bench/openssl/optimized/libcrypto-lib-pcbc_enc.ll index 3bbcda5790c..9ae1333f654 100644 --- a/bench/openssl/optimized/libcrypto-lib-pcbc_enc.ll +++ b/bench/openssl/optimized/libcrypto-lib-pcbc_enc.ll @@ -18,7 +18,7 @@ for.body.lr.ph: ; preds = %if.then %incdec.ptr7 = getelementptr inbounds i8, ptr %ivec, i64 4 %0 = load i32, ptr %incdec.ptr7, align 1 %1 = load i32, ptr %ivec, align 1 - %arrayidx94 = getelementptr inbounds [2 x i32], ptr %tin, i64 0, i64 1 + %arrayidx94 = getelementptr inbounds i8, ptr %tin, i64 4 br label %for.body for.body: ; preds = %for.body.lr.ph, %if.end @@ -173,7 +173,7 @@ for.body159.lr.ph: ; preds = %if.else127 %incdec.ptr138 = getelementptr inbounds i8, ptr %ivec, i64 4 %13 = load i32, ptr %incdec.ptr138, align 1 %14 = load i32, ptr %ivec, align 1 - %arrayidx189 = getelementptr inbounds [2 x i32], ptr %tin, i64 0, i64 1 + %arrayidx189 = getelementptr inbounds i8, ptr %tin, i64 4 br label %for.body159 for.body159: ; preds = %for.body159.lr.ph, %if.end269 diff --git a/bench/openssl/optimized/libcrypto-lib-punycode.ll b/bench/openssl/optimized/libcrypto-lib-punycode.ll index 2ac5eb9d4b6..4320dee4b4a 100644 --- a/bench/openssl/optimized/libcrypto-lib-punycode.ll +++ b/bench/openssl/optimized/libcrypto-lib-punycode.ll @@ -209,7 +209,7 @@ if.end112: ; preds = %adapt.exit %8 = trunc i64 %div92 to i32 %conv104 = add i32 %n.093, %8 %add.ptr = getelementptr inbounds i32, ptr %pDecoded, i64 %rem.zext - %add.ptr113 = getelementptr inbounds i32, ptr %add.ptr, i64 1 + %add.ptr113 = getelementptr inbounds i8, ptr %add.ptr, i64 4 %sub117 = sub nsw i64 %written_out.289, %rem.zext %mul118 = shl nsw i64 %sub117, 2 tail call void @llvm.memmove.p0.p0.i64(ptr nonnull align 4 %add.ptr113, ptr align 4 %add.ptr, i64 %mul118, i1 false) diff --git a/bench/openssl/optimized/libcrypto-lib-rc2_ecb.ll b/bench/openssl/optimized/libcrypto-lib-rc2_ecb.ll index cfb2186c25a..fd60870bc1a 100644 --- a/bench/openssl/optimized/libcrypto-lib-rc2_ecb.ll +++ b/bench/openssl/optimized/libcrypto-lib-rc2_ecb.ll @@ -22,7 +22,7 @@ if.else: ; preds = %entry br label %if.end if.end: ; preds = %if.else, %if.then - %arrayidx25 = getelementptr inbounds [2 x i64], ptr %d, i64 0, i64 1 + %arrayidx25 = getelementptr inbounds i8, ptr %d, i64 8 %2 = load i64, ptr %d, align 16 %conv28 = trunc i64 %2 to i8 %incdec.ptr29 = getelementptr inbounds i8, ptr %out, i64 1 diff --git a/bench/openssl/optimized/libcrypto-lib-rc2cfb64.ll b/bench/openssl/optimized/libcrypto-lib-rc2cfb64.ll index c2cc54382a0..758d94031d9 100644 --- a/bench/openssl/optimized/libcrypto-lib-rc2cfb64.ll +++ b/bench/openssl/optimized/libcrypto-lib-rc2cfb64.ll @@ -23,7 +23,7 @@ while.body.lr.ph: ; preds = %while.cond.preheade %incdec.ptr13 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr15 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr19 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx27 = getelementptr inbounds [2 x i64], ptr %ti, i64 0, i64 1 + %arrayidx27 = getelementptr inbounds i8, ptr %ti, i64 8 br label %while.body while.cond67.preheader: ; preds = %entry @@ -37,7 +37,7 @@ while.body70.lr.ph: ; preds = %while.cond67.prehea %incdec.ptr89 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr91 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr95 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx103 = getelementptr inbounds [2 x i64], ptr %ti, i64 0, i64 1 + %arrayidx103 = getelementptr inbounds i8, ptr %ti, i64 8 br label %while.body70 while.body: ; preds = %while.body.lr.ph, %if.end diff --git a/bench/openssl/optimized/libcrypto-lib-rc2ofb64.ll b/bench/openssl/optimized/libcrypto-lib-rc2ofb64.ll index c5df3d7ff14..dcad373807b 100644 --- a/bench/openssl/optimized/libcrypto-lib-rc2ofb64.ll +++ b/bench/openssl/optimized/libcrypto-lib-rc2ofb64.ll @@ -45,7 +45,7 @@ entry: %10 = or disjoint i64 %or16, %shl19 %or24 = or disjoint i64 %10, %shl23 store i64 %or10, ptr %ti, align 16 - %arrayidx25 = getelementptr inbounds [2 x i64], ptr %ti, i64 0, i64 1 + %arrayidx25 = getelementptr inbounds i8, ptr %ti, i64 8 store i64 %or24, ptr %arrayidx25, align 8 %incdec.ptr27 = getelementptr inbounds i8, ptr %d, i64 1 store i8 %1, ptr %d, align 1 diff --git a/bench/openssl/optimized/libcrypto-lib-rsa_pk1.ll b/bench/openssl/optimized/libcrypto-lib-rsa_pk1.ll index c139ed88e72..b85b00b8797 100644 --- a/bench/openssl/optimized/libcrypto-lib-rsa_pk1.ll +++ b/bench/openssl/optimized/libcrypto-lib-rsa_pk1.ll @@ -697,7 +697,7 @@ if.end: ; preds = %entry %conv3 = trunc i16 %shr to i8 store i8 %conv3, ptr %be_bitlen, align 1 %conv6 = trunc i16 %bitlen to i8 - %arrayidx7 = getelementptr inbounds [2 x i8], ptr %be_bitlen, i64 0, i64 1 + %arrayidx7 = getelementptr inbounds i8, ptr %be_bitlen, i64 1 store i8 %conv6, ptr %arrayidx7, align 1 %call = tail call ptr @HMAC_CTX_new() #4 %cmp8 = icmp eq ptr %call, null @@ -730,7 +730,7 @@ for.cond.preheader: ; preds = %if.end16 br i1 %cmp2225, label %for.body.lr.ph, label %err for.body.lr.ph: ; preds = %for.cond.preheader - %arrayidx37 = getelementptr inbounds [2 x i8], ptr %be_iter, i64 0, i64 1 + %arrayidx37 = getelementptr inbounds i8, ptr %be_iter, i64 1 %conv43 = zext nneg i32 %llen to i64 %0 = zext nneg i32 %tlen to i64 br label %for.body diff --git a/bench/openssl/optimized/libcrypto-lib-time.ll b/bench/openssl/optimized/libcrypto-lib-time.ll index 9f1727b4813..5717c22097c 100644 --- a/bench/openssl/optimized/libcrypto-lib-time.ll +++ b/bench/openssl/optimized/libcrypto-lib-time.ll @@ -31,7 +31,7 @@ if.end: ; preds = %entry br i1 %cmp3, label %if.then4, label %if.else if.then4: ; preds = %if.end - %tv_usec = getelementptr inbounds %struct.timeval, ptr %t, i64 0, i32 1 + %tv_usec = getelementptr inbounds i8, ptr %t, i64 8 %2 = load i64, ptr %tv_usec, align 8 %mul = mul i64 %2, 1000 %cmp5.inv = icmp sgt i64 %2, 0 @@ -40,7 +40,7 @@ if.then4: ; preds = %if.end if.else: ; preds = %if.end %mul9 = mul i64 %1, 1000000 - %tv_usec10 = getelementptr inbounds %struct.timeval, ptr %t, i64 0, i32 1 + %tv_usec10 = getelementptr inbounds i8, ptr %t, i64 8 %3 = load i64, ptr %tv_usec10, align 8 %add = add i64 %3, %mul9 %mul11 = mul i64 %add, 1000 diff --git a/bench/openssl/optimized/libcrypto-lib-v3_ia5.ll b/bench/openssl/optimized/libcrypto-lib-v3_ia5.ll index 1b28da8bb2f..32821e790e1 100644 --- a/bench/openssl/optimized/libcrypto-lib-v3_ia5.ll +++ b/bench/openssl/optimized/libcrypto-lib-v3_ia5.ll @@ -4,7 +4,6 @@ target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80: target triple = "x86_64-unknown-linux-gnu" %struct.v3_ext_method = type { i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr } -%struct.asn1_string_st = type { i32, i32, ptr, i64 } @ossl_v3_ns_ia5_list = local_unnamed_addr constant [8 x %struct.v3_ext_method] [%struct.v3_ext_method { i32 72, i32 0, ptr @ASN1_IA5STRING_it, ptr null, ptr null, ptr null, ptr null, ptr @i2s_ASN1_IA5STRING, ptr @s2i_ASN1_IA5STRING, ptr null, ptr null, ptr null, ptr null, ptr null }, %struct.v3_ext_method { i32 73, i32 0, ptr @ASN1_IA5STRING_it, ptr null, ptr null, ptr null, ptr null, ptr @i2s_ASN1_IA5STRING, ptr @s2i_ASN1_IA5STRING, ptr null, ptr null, ptr null, ptr null, ptr null }, %struct.v3_ext_method { i32 74, i32 0, ptr @ASN1_IA5STRING_it, ptr null, ptr null, ptr null, ptr null, ptr @i2s_ASN1_IA5STRING, ptr @s2i_ASN1_IA5STRING, ptr null, ptr null, ptr null, ptr null, ptr null }, %struct.v3_ext_method { i32 75, i32 0, ptr @ASN1_IA5STRING_it, ptr null, ptr null, ptr null, ptr null, ptr @i2s_ASN1_IA5STRING, ptr @s2i_ASN1_IA5STRING, ptr null, ptr null, ptr null, ptr null, ptr null }, %struct.v3_ext_method { i32 76, i32 0, ptr @ASN1_IA5STRING_it, ptr null, ptr null, ptr null, ptr null, ptr @i2s_ASN1_IA5STRING, ptr @s2i_ASN1_IA5STRING, ptr null, ptr null, ptr null, ptr null, ptr null }, %struct.v3_ext_method { i32 77, i32 0, ptr @ASN1_IA5STRING_it, ptr null, ptr null, ptr null, ptr null, ptr @i2s_ASN1_IA5STRING, ptr @s2i_ASN1_IA5STRING, ptr null, ptr null, ptr null, ptr null, ptr null }, %struct.v3_ext_method { i32 78, i32 0, ptr @ASN1_IA5STRING_it, ptr null, ptr null, ptr null, ptr null, ptr @i2s_ASN1_IA5STRING, ptr @s2i_ASN1_IA5STRING, ptr null, ptr null, ptr null, ptr null, ptr null }, %struct.v3_ext_method { i32 -1, i32 0, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null }], align 16 @.str = private unnamed_addr constant [32 x i8] c"../openssl/crypto/x509/v3_ia5.c\00", align 1 @@ -31,7 +30,7 @@ if.end: ; preds = %lor.lhs.false br i1 %cmp3, label %return, label %if.end6 if.end6: ; preds = %if.end - %data = getelementptr inbounds %struct.asn1_string_st, ptr %ia5, i64 0, i32 2 + %data = getelementptr inbounds i8, ptr %ia5, i64 8 %1 = load ptr, ptr %data, align 8 %2 = load i32, ptr %ia5, align 8 %conv8 = sext i32 %2 to i64 diff --git a/bench/openssl/optimized/libcrypto-lib-v3_utf8.ll b/bench/openssl/optimized/libcrypto-lib-v3_utf8.ll index 6ef4ef57dfb..a7888835efb 100644 --- a/bench/openssl/optimized/libcrypto-lib-v3_utf8.ll +++ b/bench/openssl/optimized/libcrypto-lib-v3_utf8.ll @@ -4,7 +4,6 @@ target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80: target triple = "x86_64-unknown-linux-gnu" %struct.v3_ext_method = type { i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr } -%struct.asn1_string_st = type { i32, i32, ptr, i64 } @ossl_v3_utf8_list = local_unnamed_addr constant [1 x %struct.v3_ext_method] [%struct.v3_ext_method { i32 1007, i32 0, ptr @ASN1_UTF8STRING_it, ptr null, ptr null, ptr null, ptr null, ptr @i2s_ASN1_UTF8STRING, ptr @s2i_ASN1_UTF8STRING, ptr null, ptr null, ptr null, ptr null, ptr null }], align 16 @.str = private unnamed_addr constant [33 x i8] c"../openssl/crypto/x509/v3_utf8.c\00", align 1 @@ -38,7 +37,7 @@ if.end: ; preds = %lor.lhs.false br i1 %cmp3, label %return, label %if.end6 if.end6: ; preds = %if.end - %data = getelementptr inbounds %struct.asn1_string_st, ptr %utf8, i64 0, i32 2 + %data = getelementptr inbounds i8, ptr %utf8, i64 8 %1 = load ptr, ptr %data, align 8 %2 = load i32, ptr %utf8, align 8 %conv8 = sext i32 %2 to i64 diff --git a/bench/openssl/optimized/libcrypto-lib-x_attrib.ll b/bench/openssl/optimized/libcrypto-lib-x_attrib.ll index 21e00c47336..1297b347374 100644 --- a/bench/openssl/optimized/libcrypto-lib-x_attrib.ll +++ b/bench/openssl/optimized/libcrypto-lib-x_attrib.ll @@ -5,7 +5,6 @@ target triple = "x86_64-unknown-linux-gnu" %struct.ASN1_ITEM_st = type { i8, i64, ptr, i64, ptr, i64, ptr } %struct.ASN1_TEMPLATE_st = type { i64, i64, i64, ptr, ptr } -%struct.x509_attributes_st = type { ptr, ptr } @X509_ATTRIBUTE_it.local_it = internal constant %struct.ASN1_ITEM_st { i8 1, i64 16, ptr @X509_ATTRIBUTE_seq_tt, i64 2, ptr null, i64 16, ptr @.str }, align 8 @X509_ATTRIBUTE_seq_tt = internal constant [2 x %struct.ASN1_TEMPLATE_st] [%struct.ASN1_TEMPLATE_st { i64 0, i64 0, i64 0, ptr @.str.1, ptr @ASN1_OBJECT_it }, %struct.ASN1_TEMPLATE_st { i64 2, i64 0, i64 8, ptr @.str.2, ptr @ASN1_ANY_it }], align 16 @@ -14,7 +13,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str.2 = private unnamed_addr constant [4 x i8] c"set\00", align 1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define nonnull ptr @X509_ATTRIBUTE_it() local_unnamed_addr #0 { +define noundef nonnull ptr @X509_ATTRIBUTE_it() local_unnamed_addr #0 { entry: ret ptr @X509_ATTRIBUTE_it.local_it } @@ -83,7 +82,7 @@ if.end4: ; preds = %if.end br i1 %cmp6, label %err, label %if.end8 if.end8: ; preds = %if.end4 - %set = getelementptr inbounds %struct.x509_attributes_st, ptr %call1.i, i64 0, i32 1 + %set = getelementptr inbounds i8, ptr %call1.i, i64 8 %0 = load ptr, ptr %set, align 8 %call11 = tail call i32 @OPENSSL_sk_push(ptr noundef %0, ptr noundef nonnull %call5) #3 %tobool.not = icmp eq i32 %call11, 0 diff --git a/bench/openssl/optimized/libcrypto-shlib-asn1_item_list.ll b/bench/openssl/optimized/libcrypto-shlib-asn1_item_list.ll index cad96942b6d..46a546b7570 100644 --- a/bench/openssl/optimized/libcrypto-shlib-asn1_item_list.ll +++ b/bench/openssl/optimized/libcrypto-shlib-asn1_item_list.ll @@ -3,8 +3,6 @@ source_filename = "bench/openssl/original/libcrypto-shlib-asn1_item_list.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" -%struct.ASN1_ITEM_st = type { i8, i64, ptr, i64, ptr, i64, ptr } - @asn1_item_list = internal unnamed_addr constant [146 x ptr] [ptr @ACCESS_DESCRIPTION_it, ptr @ASIdOrRange_it, ptr @ASIdentifierChoice_it, ptr @ASIdentifiers_it, ptr @ASN1_ANY_it, ptr @ASN1_BIT_STRING_it, ptr @ASN1_BMPSTRING_it, ptr @ASN1_BOOLEAN_it, ptr @ASN1_ENUMERATED_it, ptr @ASN1_FBOOLEAN_it, ptr @ASN1_GENERALIZEDTIME_it, ptr @ASN1_GENERALSTRING_it, ptr @ASN1_IA5STRING_it, ptr @ASN1_INTEGER_it, ptr @ASN1_NULL_it, ptr @ASN1_OBJECT_it, ptr @ASN1_OCTET_STRING_NDEF_it, ptr @ASN1_OCTET_STRING_it, ptr @ASN1_PRINTABLESTRING_it, ptr @ASN1_PRINTABLE_it, ptr @ASN1_SEQUENCE_ANY_it, ptr @ASN1_SEQUENCE_it, ptr @ASN1_SET_ANY_it, ptr @ASN1_T61STRING_it, ptr @ASN1_TBOOLEAN_it, ptr @ASN1_TIME_it, ptr @ASN1_UNIVERSALSTRING_it, ptr @ASN1_UTCTIME_it, ptr @ASN1_UTF8STRING_it, ptr @ASN1_VISIBLESTRING_it, ptr @ASRange_it, ptr @AUTHORITY_INFO_ACCESS_it, ptr @AUTHORITY_KEYID_it, ptr @BASIC_CONSTRAINTS_it, ptr @BIGNUM_it, ptr @CBIGNUM_it, ptr @CERTIFICATEPOLICIES_it, ptr @CMS_ContentInfo_it, ptr @CMS_EnvelopedData_it, ptr @CMS_ReceiptRequest_it, ptr @CRL_DIST_POINTS_it, ptr @DHparams_it, ptr @DIRECTORYSTRING_it, ptr @DISPLAYTEXT_it, ptr @DIST_POINT_NAME_it, ptr @DIST_POINT_it, ptr @ECPARAMETERS_it, ptr @ECPKPARAMETERS_it, ptr @EDIPARTYNAME_it, ptr @EXTENDED_KEY_USAGE_it, ptr @GENERAL_NAMES_it, ptr @GENERAL_NAME_it, ptr @GENERAL_SUBTREE_it, ptr @IPAddressChoice_it, ptr @IPAddressFamily_it, ptr @IPAddressOrRange_it, ptr @IPAddressRange_it, ptr @ISSUING_DIST_POINT_it, ptr @LONG_it, ptr @NAME_CONSTRAINTS_it, ptr @NETSCAPE_CERT_SEQUENCE_it, ptr @NETSCAPE_SPKAC_it, ptr @NETSCAPE_SPKI_it, ptr @NOTICEREF_it, ptr @OCSP_BASICRESP_it, ptr @OCSP_CERTID_it, ptr @OCSP_CERTSTATUS_it, ptr @OCSP_CRLID_it, ptr @OCSP_ONEREQ_it, ptr @OCSP_REQINFO_it, ptr @OCSP_REQUEST_it, ptr @OCSP_RESPBYTES_it, ptr @OCSP_RESPDATA_it, ptr @OCSP_RESPID_it, ptr @OCSP_RESPONSE_it, ptr @OCSP_REVOKEDINFO_it, ptr @OCSP_SERVICELOC_it, ptr @OCSP_SIGNATURE_it, ptr @OCSP_SINGLERESP_it, ptr @OTHERNAME_it, ptr @PBE2PARAM_it, ptr @PBEPARAM_it, ptr @PBKDF2PARAM_it, ptr @PKCS12_AUTHSAFES_it, ptr @PKCS12_BAGS_it, ptr @PKCS12_MAC_DATA_it, ptr @PKCS12_SAFEBAGS_it, ptr @PKCS12_SAFEBAG_it, ptr @PKCS12_it, ptr @PKCS7_ATTR_SIGN_it, ptr @PKCS7_ATTR_VERIFY_it, ptr @PKCS7_DIGEST_it, ptr @PKCS7_ENCRYPT_it, ptr @PKCS7_ENC_CONTENT_it, ptr @PKCS7_ENVELOPE_it, ptr @PKCS7_ISSUER_AND_SERIAL_it, ptr @PKCS7_RECIP_INFO_it, ptr @PKCS7_SIGNED_it, ptr @PKCS7_SIGNER_INFO_it, ptr @PKCS7_SIGN_ENVELOPE_it, ptr @PKCS7_it, ptr @PKCS8_PRIV_KEY_INFO_it, ptr @PKEY_USAGE_PERIOD_it, ptr @POLICYINFO_it, ptr @POLICYQUALINFO_it, ptr @POLICY_CONSTRAINTS_it, ptr @POLICY_MAPPINGS_it, ptr @POLICY_MAPPING_it, ptr @PROXY_CERT_INFO_EXTENSION_it, ptr @PROXY_POLICY_it, ptr @RSAPrivateKey_it, ptr @RSAPublicKey_it, ptr @RSA_OAEP_PARAMS_it, ptr @RSA_PSS_PARAMS_it, ptr @SCRYPT_PARAMS_it, ptr @SXNETID_it, ptr @SXNET_it, ptr @ISSUER_SIGN_TOOL_it, ptr @USERNOTICE_it, ptr @X509_ALGORS_it, ptr @X509_ALGOR_it, ptr @X509_ATTRIBUTE_it, ptr @X509_CERT_AUX_it, ptr @X509_CINF_it, ptr @X509_CRL_INFO_it, ptr @X509_CRL_it, ptr @X509_EXTENSIONS_it, ptr @X509_EXTENSION_it, ptr @X509_NAME_ENTRY_it, ptr @X509_NAME_it, ptr @X509_PUBKEY_it, ptr @X509_REQ_INFO_it, ptr @X509_REQ_it, ptr @X509_REVOKED_it, ptr @X509_SIG_it, ptr @X509_VAL_it, ptr @X509_it, ptr @ZLONG_it, ptr @INT32_it, ptr @UINT32_it, ptr @ZINT32_it, ptr @ZUINT32_it, ptr @INT64_it, ptr @UINT64_it, ptr @ZINT64_it, ptr @ZUINT64_it], align 16 ; Function Attrs: nounwind uwtable @@ -22,7 +20,7 @@ for.body: ; preds = %entry, %for.cond %arrayidx = getelementptr inbounds [146 x ptr], ptr @asn1_item_list, i64 0, i64 %i.04 %0 = load ptr, ptr %arrayidx, align 8 %call = tail call ptr %0() #3 - %sname = getelementptr inbounds %struct.ASN1_ITEM_st, ptr %call, i64 0, i32 6 + %sname = getelementptr inbounds i8, ptr %call, i64 48 %1 = load ptr, ptr %sname, align 8 %call1 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %1, ptr noundef nonnull dereferenceable(1) %name) #4 %cmp2 = icmp eq i32 %call1, 0 diff --git a/bench/openssl/optimized/libcrypto-shlib-bf_cfb64.ll b/bench/openssl/optimized/libcrypto-shlib-bf_cfb64.ll index 62bf206ad37..707dace77dd 100644 --- a/bench/openssl/optimized/libcrypto-shlib-bf_cfb64.ll +++ b/bench/openssl/optimized/libcrypto-shlib-bf_cfb64.ll @@ -23,7 +23,7 @@ while.body.lr.ph: ; preds = %while.cond.preheade %incdec.ptr20 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr24 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr30 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx41 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx41 = getelementptr inbounds i8, ptr %ti, i64 4 br label %while.body while.cond81.preheader: ; preds = %entry @@ -37,7 +37,7 @@ while.body84.lr.ph: ; preds = %while.cond81.prehea %incdec.ptr110 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr114 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr120 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx131 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx131 = getelementptr inbounds i8, ptr %ti, i64 4 br label %while.body84 while.body: ; preds = %while.body.lr.ph, %if.end diff --git a/bench/openssl/optimized/libcrypto-shlib-bf_ecb.ll b/bench/openssl/optimized/libcrypto-shlib-bf_ecb.ll index d18a7a79f54..d1594e8c270 100644 --- a/bench/openssl/optimized/libcrypto-shlib-bf_ecb.ll +++ b/bench/openssl/optimized/libcrypto-shlib-bf_ecb.ll @@ -6,7 +6,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"blowfish(ptr)\00", align 1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define nonnull ptr @BF_options() local_unnamed_addr #0 { +define noundef nonnull ptr @BF_options() local_unnamed_addr #0 { entry: ret ptr @.str } @@ -51,7 +51,7 @@ entry: %7 = load i8, ptr %incdec.ptr28, align 1 %conv35 = zext i8 %7 to i32 %or37 = or disjoint i32 %or32, %conv35 - %arrayidx39 = getelementptr inbounds [2 x i32], ptr %d, i64 0, i64 1 + %arrayidx39 = getelementptr inbounds i8, ptr %d, i64 4 store i32 %or37, ptr %arrayidx39, align 4 %tobool.not = icmp eq i32 %encrypt, 0 br i1 %tobool.not, label %if.else, label %if.then diff --git a/bench/openssl/optimized/libcrypto-shlib-bf_ofb64.ll b/bench/openssl/optimized/libcrypto-shlib-bf_ofb64.ll index 127acd22771..1fb333a4b21 100644 --- a/bench/openssl/optimized/libcrypto-shlib-bf_ofb64.ll +++ b/bench/openssl/optimized/libcrypto-shlib-bf_ofb64.ll @@ -45,7 +45,7 @@ entry: %10 = or disjoint i32 %or26, %shl30 %or37 = or disjoint i32 %10, %conv35 store i32 %or16, ptr %ti, align 4 - %arrayidx39 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx39 = getelementptr inbounds i8, ptr %ti, i64 4 store i32 %or37, ptr %arrayidx39, align 4 %incdec.ptr41 = getelementptr inbounds i8, ptr %d, i64 1 store i8 %1, ptr %d, align 1 diff --git a/bench/openssl/optimized/libcrypto-shlib-bf_skey.ll b/bench/openssl/optimized/libcrypto-shlib-bf_skey.ll index 162b770f0bf..9debe0bf0b0 100644 --- a/bench/openssl/optimized/libcrypto-shlib-bf_skey.ll +++ b/bench/openssl/optimized/libcrypto-shlib-bf_skey.ll @@ -56,7 +56,7 @@ for.body: ; preds = %entry, %for.body for.end: ; preds = %for.body store i32 0, ptr %in, align 8 - %arrayidx31 = getelementptr inbounds [2 x i32], ptr %in, i64 0, i64 1 + %arrayidx31 = getelementptr inbounds i8, ptr %in, i64 4 store i32 0, ptr %arrayidx31, align 4 br label %for.body35 @@ -71,7 +71,7 @@ for.body35: ; preds = %for.end, %for.body3 br i1 %cmp33, label %for.body35, label %for.end45, !llvm.loop !6 for.end45: ; preds = %for.body35 - %S = getelementptr inbounds %struct.bf_key_st, ptr %key, i64 0, i32 1 + %S = getelementptr inbounds i8, ptr %key, i64 72 br label %for.body50 for.body50: ; preds = %for.end45, %for.body50 diff --git a/bench/openssl/optimized/libcrypto-shlib-c_cfb64.ll b/bench/openssl/optimized/libcrypto-shlib-c_cfb64.ll index 7023005480b..9ba3c5e01a2 100644 --- a/bench/openssl/optimized/libcrypto-shlib-c_cfb64.ll +++ b/bench/openssl/optimized/libcrypto-shlib-c_cfb64.ll @@ -23,7 +23,7 @@ while.body.lr.ph: ; preds = %while.cond.preheade %incdec.ptr20 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr24 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr30 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx41 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx41 = getelementptr inbounds i8, ptr %ti, i64 4 br label %while.body while.cond81.preheader: ; preds = %entry @@ -37,7 +37,7 @@ while.body84.lr.ph: ; preds = %while.cond81.prehea %incdec.ptr110 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr114 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr120 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx131 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx131 = getelementptr inbounds i8, ptr %ti, i64 4 br label %while.body84 while.body: ; preds = %while.body.lr.ph, %if.end diff --git a/bench/openssl/optimized/libcrypto-shlib-c_ecb.ll b/bench/openssl/optimized/libcrypto-shlib-c_ecb.ll index 7c2cbfe0970..e40281514de 100644 --- a/bench/openssl/optimized/libcrypto-shlib-c_ecb.ll +++ b/bench/openssl/optimized/libcrypto-shlib-c_ecb.ll @@ -43,7 +43,7 @@ entry: %7 = load i8, ptr %incdec.ptr28, align 1 %conv35 = zext i8 %7 to i32 %or37 = or disjoint i32 %or32, %conv35 - %arrayidx39 = getelementptr inbounds [2 x i32], ptr %d, i64 0, i64 1 + %arrayidx39 = getelementptr inbounds i8, ptr %d, i64 4 store i32 %or37, ptr %arrayidx39, align 4 %tobool.not = icmp eq i32 %enc, 0 br i1 %tobool.not, label %if.else, label %if.then diff --git a/bench/openssl/optimized/libcrypto-shlib-c_ofb64.ll b/bench/openssl/optimized/libcrypto-shlib-c_ofb64.ll index fc93fe7d224..09fcede6324 100644 --- a/bench/openssl/optimized/libcrypto-shlib-c_ofb64.ll +++ b/bench/openssl/optimized/libcrypto-shlib-c_ofb64.ll @@ -45,7 +45,7 @@ entry: %10 = or disjoint i32 %or26, %shl30 %or37 = or disjoint i32 %10, %conv35 store i32 %or16, ptr %ti, align 4 - %arrayidx39 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx39 = getelementptr inbounds i8, ptr %ti, i64 4 store i32 %or37, ptr %arrayidx39, align 4 %incdec.ptr41 = getelementptr inbounds i8, ptr %d, i64 1 store i8 %1, ptr %d, align 1 diff --git a/bench/openssl/optimized/libcrypto-shlib-cbc_cksm.ll b/bench/openssl/optimized/libcrypto-shlib-cbc_cksm.ll index 98520905b2a..30bbdbe975a 100644 --- a/bench/openssl/optimized/libcrypto-shlib-cbc_cksm.ll +++ b/bench/openssl/optimized/libcrypto-shlib-cbc_cksm.ll @@ -14,7 +14,7 @@ entry: br i1 %cmp71, label %for.body.lr.ph, label %for.end for.body.lr.ph: ; preds = %entry - %arrayidx94 = getelementptr inbounds [2 x i32], ptr %tin, i64 0, i64 1 + %arrayidx94 = getelementptr inbounds i8, ptr %tin, i64 4 br label %for.body for.body: ; preds = %for.body.lr.ph, %if.end diff --git a/bench/openssl/optimized/libcrypto-shlib-cfb128.ll b/bench/openssl/optimized/libcrypto-shlib-cfb128.ll index d277d52d808..78f348c3b33 100644 --- a/bench/openssl/optimized/libcrypto-shlib-cfb128.ll +++ b/bench/openssl/optimized/libcrypto-shlib-cfb128.ll @@ -224,7 +224,7 @@ entry: for.body.lr.ph: ; preds = %entry %tobool.not.i = icmp eq i32 %enc, 0 - %0 = getelementptr inbounds [33 x i8], ptr %ovec.i, i64 0, i64 16 + %0 = getelementptr inbounds i8, ptr %ovec.i, i64 16 br i1 %tobool.not.i, label %for.body.us, label %for.body for.body.us: ; preds = %for.body.lr.ph, %cfbr_encrypt_block.exit.us diff --git a/bench/openssl/optimized/libcrypto-shlib-cfb64enc.ll b/bench/openssl/optimized/libcrypto-shlib-cfb64enc.ll index 11736f0e790..8703f1f4fca 100644 --- a/bench/openssl/optimized/libcrypto-shlib-cfb64enc.ll +++ b/bench/openssl/optimized/libcrypto-shlib-cfb64enc.ll @@ -23,7 +23,7 @@ while.body.lr.ph: ; preds = %while.cond.preheade %incdec.ptr14 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr16 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr20 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx28 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx28 = getelementptr inbounds i8, ptr %ti, i64 4 br label %while.body while.cond70.preheader: ; preds = %entry @@ -37,7 +37,7 @@ while.body73.lr.ph: ; preds = %while.cond70.prehea %incdec.ptr92 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr94 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr98 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx106 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx106 = getelementptr inbounds i8, ptr %ti, i64 4 br label %while.body73 while.body: ; preds = %while.body.lr.ph, %if.end diff --git a/bench/openssl/optimized/libcrypto-shlib-ecb3_enc.ll b/bench/openssl/optimized/libcrypto-shlib-ecb3_enc.ll index b9b21650a74..7d06bb666d6 100644 --- a/bench/openssl/optimized/libcrypto-shlib-ecb3_enc.ll +++ b/bench/openssl/optimized/libcrypto-shlib-ecb3_enc.ll @@ -21,7 +21,7 @@ if.else: ; preds = %entry br label %if.end if.end: ; preds = %if.else, %if.then - %arrayidx27 = getelementptr inbounds [2 x i32], ptr %ll, i64 0, i64 1 + %arrayidx27 = getelementptr inbounds i8, ptr %ll, i64 4 %1 = load i32, ptr %ll, align 8 %2 = load i32, ptr %arrayidx27, align 4 %conv31 = trunc i32 %1 to i8 diff --git a/bench/openssl/optimized/libcrypto-shlib-ecb_enc.ll b/bench/openssl/optimized/libcrypto-shlib-ecb_enc.ll index fdbdb741c36..e5fcce2079a 100644 --- a/bench/openssl/optimized/libcrypto-shlib-ecb_enc.ll +++ b/bench/openssl/optimized/libcrypto-shlib-ecb_enc.ll @@ -8,7 +8,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"des(int)\00", align 1 ; Function Attrs: nounwind uwtable -define nonnull ptr @DES_options() local_unnamed_addr #0 { +define noundef nonnull ptr @DES_options() local_unnamed_addr #0 { entry: %.b = load i1, ptr @DES_options.init, align 4 br i1 %.b, label %if.end, label %if.then @@ -28,7 +28,7 @@ declare i64 @OPENSSL_strlcpy(ptr noundef, ptr noundef, i64 noundef) local_unname define void @DES_ecb_encrypt(ptr nocapture noundef readonly %input, ptr nocapture noundef writeonly %output, ptr noundef %ks, i32 noundef %enc) local_unnamed_addr #0 { entry: %ll = alloca [2 x i32], align 8 - %arrayidx27 = getelementptr inbounds [2 x i32], ptr %ll, i64 0, i64 1 + %arrayidx27 = getelementptr inbounds i8, ptr %ll, i64 4 %0 = load <2 x i32>, ptr %input, align 1 store <2 x i32> %0, ptr %ll, align 8 call void @DES_encrypt1(ptr noundef nonnull %ll, ptr noundef %ks, i32 noundef %enc) #2 diff --git a/bench/openssl/optimized/libcrypto-shlib-i_cfb64.ll b/bench/openssl/optimized/libcrypto-shlib-i_cfb64.ll index 2a06c3df76b..57d122b2bfe 100644 --- a/bench/openssl/optimized/libcrypto-shlib-i_cfb64.ll +++ b/bench/openssl/optimized/libcrypto-shlib-i_cfb64.ll @@ -27,7 +27,7 @@ while.body.lr.ph: ; preds = %while.cond.preheade %incdec.ptr15 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr18 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr22 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx29 = getelementptr inbounds [2 x i64], ptr %ti, i64 0, i64 1 + %arrayidx29 = getelementptr inbounds i8, ptr %ti, i64 8 br label %while.body while.cond70.preheader: ; preds = %if.end @@ -41,7 +41,7 @@ while.body73.lr.ph: ; preds = %while.cond70.prehea %incdec.ptr92 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr95 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr99 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx106 = getelementptr inbounds [2 x i64], ptr %ti, i64 0, i64 1 + %arrayidx106 = getelementptr inbounds i8, ptr %ti, i64 8 br label %while.body73 while.body: ; preds = %while.body.lr.ph, %if.end60 diff --git a/bench/openssl/optimized/libcrypto-shlib-i_ecb.ll b/bench/openssl/optimized/libcrypto-shlib-i_ecb.ll index f599a7298d5..8c6427f0380 100644 --- a/bench/openssl/optimized/libcrypto-shlib-i_ecb.ll +++ b/bench/openssl/optimized/libcrypto-shlib-i_ecb.ll @@ -6,7 +6,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"idea(int)\00", align 1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define nonnull ptr @IDEA_options() local_unnamed_addr #0 { +define noundef nonnull ptr @IDEA_options() local_unnamed_addr #0 { entry: ret ptr @.str } @@ -51,7 +51,7 @@ entry: %7 = load i8, ptr %incdec.ptr18, align 1 %conv23 = zext i8 %7 to i64 %or24 = or disjoint i64 %or21, %conv23 - %arrayidx25 = getelementptr inbounds [2 x i64], ptr %d, i64 0, i64 1 + %arrayidx25 = getelementptr inbounds i8, ptr %d, i64 8 store i64 %or24, ptr %arrayidx25, align 8 call void @IDEA_encrypt(ptr noundef nonnull %d, ptr noundef %ks) #3 %8 = load i64, ptr %d, align 16 diff --git a/bench/openssl/optimized/libcrypto-shlib-i_ofb64.ll b/bench/openssl/optimized/libcrypto-shlib-i_ofb64.ll index af944ff0327..ec045664fc8 100644 --- a/bench/openssl/optimized/libcrypto-shlib-i_ofb64.ll +++ b/bench/openssl/optimized/libcrypto-shlib-i_ofb64.ll @@ -49,7 +49,7 @@ if.end: ; preds = %entry %10 = or disjoint i64 %or17, %shl20 %or24 = or disjoint i64 %10, %conv23 store i64 %or10, ptr %ti, align 16 - %arrayidx25 = getelementptr inbounds [2 x i64], ptr %ti, i64 0, i64 1 + %arrayidx25 = getelementptr inbounds i8, ptr %ti, i64 8 store i64 %or24, ptr %arrayidx25, align 8 %incdec.ptr27 = getelementptr inbounds i8, ptr %d, i64 1 store i8 %1, ptr %d, align 1 diff --git a/bench/openssl/optimized/libcrypto-shlib-ofb64ede.ll b/bench/openssl/optimized/libcrypto-shlib-ofb64ede.ll index 5af63c4b33b..327a9634075 100644 --- a/bench/openssl/optimized/libcrypto-shlib-ofb64ede.ll +++ b/bench/openssl/optimized/libcrypto-shlib-ofb64ede.ll @@ -45,7 +45,7 @@ entry: %10 = or disjoint i32 %or16, %shl19 %or24 = or disjoint i32 %10, %shl23 store i32 %or10, ptr %ti, align 4 - %arrayidx26 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx26 = getelementptr inbounds i8, ptr %ti, i64 4 store i32 %or24, ptr %arrayidx26, align 4 %incdec.ptr28 = getelementptr inbounds i8, ptr %d, i64 1 store i8 %1, ptr %d, align 1 diff --git a/bench/openssl/optimized/libcrypto-shlib-ofb64enc.ll b/bench/openssl/optimized/libcrypto-shlib-ofb64enc.ll index daec9896246..cb98920520d 100644 --- a/bench/openssl/optimized/libcrypto-shlib-ofb64enc.ll +++ b/bench/openssl/optimized/libcrypto-shlib-ofb64enc.ll @@ -45,7 +45,7 @@ entry: %10 = or disjoint i32 %or16, %shl19 %or24 = or disjoint i32 %10, %shl23 store i32 %or10, ptr %ti, align 4 - %arrayidx26 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx26 = getelementptr inbounds i8, ptr %ti, i64 4 store i32 %or24, ptr %arrayidx26, align 4 %incdec.ptr28 = getelementptr inbounds i8, ptr %d, i64 1 store i8 %1, ptr %d, align 1 diff --git a/bench/openssl/optimized/libcrypto-shlib-ofb_enc.ll b/bench/openssl/optimized/libcrypto-shlib-ofb_enc.ll index d696a338c65..66dfecf7fc6 100644 --- a/bench/openssl/optimized/libcrypto-shlib-ofb_enc.ll +++ b/bench/openssl/optimized/libcrypto-shlib-ofb_enc.ll @@ -67,7 +67,7 @@ if.end17: ; preds = %if.then2, %if.else, %conv41 = zext i8 %9 to i32 %shl42 = shl nuw i32 %conv41, 24 %or43 = or disjoint i32 %or39, %shl42 - %arrayidx45 = getelementptr inbounds [2 x i32], ptr %ti, i64 0, i64 1 + %arrayidx45 = getelementptr inbounds i8, ptr %ti, i64 4 %cmp46102 = icmp sgt i64 %length, 0 br i1 %cmp46102, label %while.body.lr.ph, label %while.end diff --git a/bench/openssl/optimized/libcrypto-shlib-p12_p8e.ll b/bench/openssl/optimized/libcrypto-shlib-p12_p8e.ll index fd4cb21c762..097fbe2ff12 100644 --- a/bench/openssl/optimized/libcrypto-shlib-p12_p8e.ll +++ b/bench/openssl/optimized/libcrypto-shlib-p12_p8e.ll @@ -3,8 +3,6 @@ source_filename = "bench/openssl/original/libcrypto-shlib-p12_p8e.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" -%struct.X509_sig_st = type { ptr, ptr } - @.str = private unnamed_addr constant [35 x i8] c"../openssl/crypto/pkcs12/p12_p8e.c\00", align 1 @__func__.PKCS8_encrypt_ex = private unnamed_addr constant [17 x i8] c"PKCS8_encrypt_ex\00", align 1 @__func__.PKCS8_set0_pbe_ex = private unnamed_addr constant [18 x i8] c"PKCS8_set0_pbe_ex\00", align 1 @@ -123,7 +121,7 @@ if.then3: ; preds = %if.end if.end4: ; preds = %if.end store ptr %pbe, ptr %call2, align 8 - %digest = getelementptr inbounds %struct.X509_sig_st, ptr %call2, i64 0, i32 1 + %digest = getelementptr inbounds i8, ptr %call2, i64 8 store ptr %call1, ptr %digest, align 8 br label %return diff --git a/bench/openssl/optimized/libcrypto-shlib-pcbc_enc.ll b/bench/openssl/optimized/libcrypto-shlib-pcbc_enc.ll index 3e80d977db9..b5812e41f4f 100644 --- a/bench/openssl/optimized/libcrypto-shlib-pcbc_enc.ll +++ b/bench/openssl/optimized/libcrypto-shlib-pcbc_enc.ll @@ -18,7 +18,7 @@ for.body.lr.ph: ; preds = %if.then %incdec.ptr7 = getelementptr inbounds i8, ptr %ivec, i64 4 %0 = load i32, ptr %incdec.ptr7, align 1 %1 = load i32, ptr %ivec, align 1 - %arrayidx94 = getelementptr inbounds [2 x i32], ptr %tin, i64 0, i64 1 + %arrayidx94 = getelementptr inbounds i8, ptr %tin, i64 4 br label %for.body for.body: ; preds = %for.body.lr.ph, %if.end @@ -173,7 +173,7 @@ for.body159.lr.ph: ; preds = %if.else127 %incdec.ptr138 = getelementptr inbounds i8, ptr %ivec, i64 4 %13 = load i32, ptr %incdec.ptr138, align 1 %14 = load i32, ptr %ivec, align 1 - %arrayidx189 = getelementptr inbounds [2 x i32], ptr %tin, i64 0, i64 1 + %arrayidx189 = getelementptr inbounds i8, ptr %tin, i64 4 br label %for.body159 for.body159: ; preds = %for.body159.lr.ph, %if.end269 diff --git a/bench/openssl/optimized/libcrypto-shlib-punycode.ll b/bench/openssl/optimized/libcrypto-shlib-punycode.ll index 55e33f6e91c..5e6bdfcec31 100644 --- a/bench/openssl/optimized/libcrypto-shlib-punycode.ll +++ b/bench/openssl/optimized/libcrypto-shlib-punycode.ll @@ -209,7 +209,7 @@ if.end112: ; preds = %adapt.exit %8 = trunc i64 %div92 to i32 %conv104 = add i32 %n.093, %8 %add.ptr = getelementptr inbounds i32, ptr %pDecoded, i64 %rem.zext - %add.ptr113 = getelementptr inbounds i32, ptr %add.ptr, i64 1 + %add.ptr113 = getelementptr inbounds i8, ptr %add.ptr, i64 4 %sub117 = sub nsw i64 %written_out.289, %rem.zext %mul118 = shl nsw i64 %sub117, 2 tail call void @llvm.memmove.p0.p0.i64(ptr nonnull align 4 %add.ptr113, ptr align 4 %add.ptr, i64 %mul118, i1 false) diff --git a/bench/openssl/optimized/libcrypto-shlib-rc2_ecb.ll b/bench/openssl/optimized/libcrypto-shlib-rc2_ecb.ll index 7e3b803273c..20759260a00 100644 --- a/bench/openssl/optimized/libcrypto-shlib-rc2_ecb.ll +++ b/bench/openssl/optimized/libcrypto-shlib-rc2_ecb.ll @@ -22,7 +22,7 @@ if.else: ; preds = %entry br label %if.end if.end: ; preds = %if.else, %if.then - %arrayidx25 = getelementptr inbounds [2 x i64], ptr %d, i64 0, i64 1 + %arrayidx25 = getelementptr inbounds i8, ptr %d, i64 8 %2 = load i64, ptr %d, align 16 %conv28 = trunc i64 %2 to i8 %incdec.ptr29 = getelementptr inbounds i8, ptr %out, i64 1 diff --git a/bench/openssl/optimized/libcrypto-shlib-rc2cfb64.ll b/bench/openssl/optimized/libcrypto-shlib-rc2cfb64.ll index 462c8532e83..0bf2fdb02ea 100644 --- a/bench/openssl/optimized/libcrypto-shlib-rc2cfb64.ll +++ b/bench/openssl/optimized/libcrypto-shlib-rc2cfb64.ll @@ -23,7 +23,7 @@ while.body.lr.ph: ; preds = %while.cond.preheade %incdec.ptr13 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr15 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr19 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx27 = getelementptr inbounds [2 x i64], ptr %ti, i64 0, i64 1 + %arrayidx27 = getelementptr inbounds i8, ptr %ti, i64 8 br label %while.body while.cond67.preheader: ; preds = %entry @@ -37,7 +37,7 @@ while.body70.lr.ph: ; preds = %while.cond67.prehea %incdec.ptr89 = getelementptr inbounds i8, ptr %ivec, i64 5 %incdec.ptr91 = getelementptr inbounds i8, ptr %ivec, i64 6 %incdec.ptr95 = getelementptr inbounds i8, ptr %ivec, i64 7 - %arrayidx103 = getelementptr inbounds [2 x i64], ptr %ti, i64 0, i64 1 + %arrayidx103 = getelementptr inbounds i8, ptr %ti, i64 8 br label %while.body70 while.body: ; preds = %while.body.lr.ph, %if.end diff --git a/bench/openssl/optimized/libcrypto-shlib-rc2ofb64.ll b/bench/openssl/optimized/libcrypto-shlib-rc2ofb64.ll index 03ed2a84ffc..a93f61f5b2a 100644 --- a/bench/openssl/optimized/libcrypto-shlib-rc2ofb64.ll +++ b/bench/openssl/optimized/libcrypto-shlib-rc2ofb64.ll @@ -45,7 +45,7 @@ entry: %10 = or disjoint i64 %or16, %shl19 %or24 = or disjoint i64 %10, %shl23 store i64 %or10, ptr %ti, align 16 - %arrayidx25 = getelementptr inbounds [2 x i64], ptr %ti, i64 0, i64 1 + %arrayidx25 = getelementptr inbounds i8, ptr %ti, i64 8 store i64 %or24, ptr %arrayidx25, align 8 %incdec.ptr27 = getelementptr inbounds i8, ptr %d, i64 1 store i8 %1, ptr %d, align 1 diff --git a/bench/openssl/optimized/libcrypto-shlib-rsa_pk1.ll b/bench/openssl/optimized/libcrypto-shlib-rsa_pk1.ll index 706e4fa28c3..d9eed994e3b 100644 --- a/bench/openssl/optimized/libcrypto-shlib-rsa_pk1.ll +++ b/bench/openssl/optimized/libcrypto-shlib-rsa_pk1.ll @@ -697,7 +697,7 @@ if.end: ; preds = %entry %conv3 = trunc i16 %shr to i8 store i8 %conv3, ptr %be_bitlen, align 1 %conv6 = trunc i16 %bitlen to i8 - %arrayidx7 = getelementptr inbounds [2 x i8], ptr %be_bitlen, i64 0, i64 1 + %arrayidx7 = getelementptr inbounds i8, ptr %be_bitlen, i64 1 store i8 %conv6, ptr %arrayidx7, align 1 %call = tail call ptr @HMAC_CTX_new() #4 %cmp8 = icmp eq ptr %call, null @@ -730,7 +730,7 @@ for.cond.preheader: ; preds = %if.end16 br i1 %cmp2225, label %for.body.lr.ph, label %err for.body.lr.ph: ; preds = %for.cond.preheader - %arrayidx37 = getelementptr inbounds [2 x i8], ptr %be_iter, i64 0, i64 1 + %arrayidx37 = getelementptr inbounds i8, ptr %be_iter, i64 1 %conv43 = zext nneg i32 %llen to i64 %0 = zext nneg i32 %tlen to i64 br label %for.body diff --git a/bench/openssl/optimized/libcrypto-shlib-time.ll b/bench/openssl/optimized/libcrypto-shlib-time.ll index 3796908af1c..253330113ee 100644 --- a/bench/openssl/optimized/libcrypto-shlib-time.ll +++ b/bench/openssl/optimized/libcrypto-shlib-time.ll @@ -31,7 +31,7 @@ if.end: ; preds = %entry br i1 %cmp3, label %if.then4, label %if.else if.then4: ; preds = %if.end - %tv_usec = getelementptr inbounds %struct.timeval, ptr %t, i64 0, i32 1 + %tv_usec = getelementptr inbounds i8, ptr %t, i64 8 %2 = load i64, ptr %tv_usec, align 8 %mul = mul i64 %2, 1000 %cmp5.inv = icmp sgt i64 %2, 0 @@ -40,7 +40,7 @@ if.then4: ; preds = %if.end if.else: ; preds = %if.end %mul9 = mul i64 %1, 1000000 - %tv_usec10 = getelementptr inbounds %struct.timeval, ptr %t, i64 0, i32 1 + %tv_usec10 = getelementptr inbounds i8, ptr %t, i64 8 %3 = load i64, ptr %tv_usec10, align 8 %add = add i64 %3, %mul9 %mul11 = mul i64 %add, 1000 diff --git a/bench/openssl/optimized/libcrypto-shlib-v3_ia5.ll b/bench/openssl/optimized/libcrypto-shlib-v3_ia5.ll index 46def04d16f..1d979661811 100644 --- a/bench/openssl/optimized/libcrypto-shlib-v3_ia5.ll +++ b/bench/openssl/optimized/libcrypto-shlib-v3_ia5.ll @@ -4,7 +4,6 @@ target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80: target triple = "x86_64-unknown-linux-gnu" %struct.v3_ext_method = type { i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr } -%struct.asn1_string_st = type { i32, i32, ptr, i64 } @ossl_v3_ns_ia5_list = local_unnamed_addr constant [8 x %struct.v3_ext_method] [%struct.v3_ext_method { i32 72, i32 0, ptr @ASN1_IA5STRING_it, ptr null, ptr null, ptr null, ptr null, ptr @i2s_ASN1_IA5STRING, ptr @s2i_ASN1_IA5STRING, ptr null, ptr null, ptr null, ptr null, ptr null }, %struct.v3_ext_method { i32 73, i32 0, ptr @ASN1_IA5STRING_it, ptr null, ptr null, ptr null, ptr null, ptr @i2s_ASN1_IA5STRING, ptr @s2i_ASN1_IA5STRING, ptr null, ptr null, ptr null, ptr null, ptr null }, %struct.v3_ext_method { i32 74, i32 0, ptr @ASN1_IA5STRING_it, ptr null, ptr null, ptr null, ptr null, ptr @i2s_ASN1_IA5STRING, ptr @s2i_ASN1_IA5STRING, ptr null, ptr null, ptr null, ptr null, ptr null }, %struct.v3_ext_method { i32 75, i32 0, ptr @ASN1_IA5STRING_it, ptr null, ptr null, ptr null, ptr null, ptr @i2s_ASN1_IA5STRING, ptr @s2i_ASN1_IA5STRING, ptr null, ptr null, ptr null, ptr null, ptr null }, %struct.v3_ext_method { i32 76, i32 0, ptr @ASN1_IA5STRING_it, ptr null, ptr null, ptr null, ptr null, ptr @i2s_ASN1_IA5STRING, ptr @s2i_ASN1_IA5STRING, ptr null, ptr null, ptr null, ptr null, ptr null }, %struct.v3_ext_method { i32 77, i32 0, ptr @ASN1_IA5STRING_it, ptr null, ptr null, ptr null, ptr null, ptr @i2s_ASN1_IA5STRING, ptr @s2i_ASN1_IA5STRING, ptr null, ptr null, ptr null, ptr null, ptr null }, %struct.v3_ext_method { i32 78, i32 0, ptr @ASN1_IA5STRING_it, ptr null, ptr null, ptr null, ptr null, ptr @i2s_ASN1_IA5STRING, ptr @s2i_ASN1_IA5STRING, ptr null, ptr null, ptr null, ptr null, ptr null }, %struct.v3_ext_method { i32 -1, i32 0, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null, ptr null }], align 16 @.str = private unnamed_addr constant [32 x i8] c"../openssl/crypto/x509/v3_ia5.c\00", align 1 @@ -31,7 +30,7 @@ if.end: ; preds = %lor.lhs.false br i1 %cmp3, label %return, label %if.end6 if.end6: ; preds = %if.end - %data = getelementptr inbounds %struct.asn1_string_st, ptr %ia5, i64 0, i32 2 + %data = getelementptr inbounds i8, ptr %ia5, i64 8 %1 = load ptr, ptr %data, align 8 %2 = load i32, ptr %ia5, align 8 %conv8 = sext i32 %2 to i64 diff --git a/bench/openssl/optimized/libcrypto-shlib-v3_utf8.ll b/bench/openssl/optimized/libcrypto-shlib-v3_utf8.ll index a69077d070f..2f6d632c863 100644 --- a/bench/openssl/optimized/libcrypto-shlib-v3_utf8.ll +++ b/bench/openssl/optimized/libcrypto-shlib-v3_utf8.ll @@ -4,7 +4,6 @@ target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80: target triple = "x86_64-unknown-linux-gnu" %struct.v3_ext_method = type { i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr } -%struct.asn1_string_st = type { i32, i32, ptr, i64 } @ossl_v3_utf8_list = local_unnamed_addr constant [1 x %struct.v3_ext_method] [%struct.v3_ext_method { i32 1007, i32 0, ptr @ASN1_UTF8STRING_it, ptr null, ptr null, ptr null, ptr null, ptr @i2s_ASN1_UTF8STRING, ptr @s2i_ASN1_UTF8STRING, ptr null, ptr null, ptr null, ptr null, ptr null }], align 16 @.str = private unnamed_addr constant [33 x i8] c"../openssl/crypto/x509/v3_utf8.c\00", align 1 @@ -38,7 +37,7 @@ if.end: ; preds = %lor.lhs.false br i1 %cmp3, label %return, label %if.end6 if.end6: ; preds = %if.end - %data = getelementptr inbounds %struct.asn1_string_st, ptr %utf8, i64 0, i32 2 + %data = getelementptr inbounds i8, ptr %utf8, i64 8 %1 = load ptr, ptr %data, align 8 %2 = load i32, ptr %utf8, align 8 %conv8 = sext i32 %2 to i64 diff --git a/bench/openssl/optimized/libcrypto-shlib-x_attrib.ll b/bench/openssl/optimized/libcrypto-shlib-x_attrib.ll index 6a03cfcc6fb..3386aea4f92 100644 --- a/bench/openssl/optimized/libcrypto-shlib-x_attrib.ll +++ b/bench/openssl/optimized/libcrypto-shlib-x_attrib.ll @@ -5,7 +5,6 @@ target triple = "x86_64-unknown-linux-gnu" %struct.ASN1_ITEM_st = type { i8, i64, ptr, i64, ptr, i64, ptr } %struct.ASN1_TEMPLATE_st = type { i64, i64, i64, ptr, ptr } -%struct.x509_attributes_st = type { ptr, ptr } @X509_ATTRIBUTE_it.local_it = internal constant %struct.ASN1_ITEM_st { i8 1, i64 16, ptr @X509_ATTRIBUTE_seq_tt, i64 2, ptr null, i64 16, ptr @.str }, align 8 @X509_ATTRIBUTE_seq_tt = internal constant [2 x %struct.ASN1_TEMPLATE_st] [%struct.ASN1_TEMPLATE_st { i64 0, i64 0, i64 0, ptr @.str.1, ptr @ASN1_OBJECT_it }, %struct.ASN1_TEMPLATE_st { i64 2, i64 0, i64 8, ptr @.str.2, ptr @ASN1_ANY_it }], align 16 @@ -14,7 +13,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str.2 = private unnamed_addr constant [4 x i8] c"set\00", align 1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable -define nonnull ptr @X509_ATTRIBUTE_it() local_unnamed_addr #0 { +define noundef nonnull ptr @X509_ATTRIBUTE_it() local_unnamed_addr #0 { entry: ret ptr @X509_ATTRIBUTE_it.local_it } @@ -83,7 +82,7 @@ if.end4: ; preds = %if.end br i1 %cmp6, label %err, label %if.end8 if.end8: ; preds = %if.end4 - %set = getelementptr inbounds %struct.x509_attributes_st, ptr %call1.i, i64 0, i32 1 + %set = getelementptr inbounds i8, ptr %call1.i, i64 8 %0 = load ptr, ptr %set, align 8 %call11 = tail call i32 @OPENSSL_sk_push(ptr noundef %0, ptr noundef nonnull %call5) #3 %tobool.not = icmp eq i32 %call11, 0 diff --git a/bench/openssl/optimized/libssl-shlib-time.ll b/bench/openssl/optimized/libssl-shlib-time.ll index 05d8d25b584..3825fd2c97d 100644 --- a/bench/openssl/optimized/libssl-shlib-time.ll +++ b/bench/openssl/optimized/libssl-shlib-time.ll @@ -31,7 +31,7 @@ if.end: ; preds = %entry br i1 %cmp3, label %if.then4, label %if.else if.then4: ; preds = %if.end - %tv_usec = getelementptr inbounds %struct.timeval, ptr %t, i64 0, i32 1 + %tv_usec = getelementptr inbounds i8, ptr %t, i64 8 %2 = load i64, ptr %tv_usec, align 8 %mul = mul i64 %2, 1000 %cmp5.inv = icmp sgt i64 %2, 0 @@ -40,7 +40,7 @@ if.then4: ; preds = %if.end if.else: ; preds = %if.end %mul9 = mul i64 %1, 1000000 - %tv_usec10 = getelementptr inbounds %struct.timeval, ptr %t, i64 0, i32 1 + %tv_usec10 = getelementptr inbounds i8, ptr %t, i64 8 %3 = load i64, ptr %tv_usec10, align 8 %add = add i64 %3, %mul9 %mul11 = mul i64 %add, 1000 diff --git a/bench/openssl/optimized/mdc2test-bin-mdc2test.ll b/bench/openssl/optimized/mdc2test-bin-mdc2test.ll index 1b928e79b07..b03a91cc2b9 100644 --- a/bench/openssl/optimized/mdc2test-bin-mdc2test.ll +++ b/bench/openssl/optimized/mdc2test-bin-mdc2test.ll @@ -24,7 +24,7 @@ target triple = "x86_64-unknown-linux-gnu" @pad2 = internal global [16 x i8] c".Fy\B5\AD\D9\CAu5\D8z\FE\AB3\BE\E2", align 16 ; Function Attrs: nounwind uwtable -define dso_local i32 @setup_tests() local_unnamed_addr #0 { +define dso_local noundef i32 @setup_tests() local_unnamed_addr #0 { entry: tail call void @add_test(ptr noundef nonnull @.str, ptr noundef nonnull @test_mdc2) #4 ret i32 1 @@ -44,7 +44,7 @@ entry: %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) @test_mdc2.text) #5 call void @OSSL_PARAM_construct_uint(ptr nonnull sret(%struct.ossl_param_st) align 8 %tmp, ptr noundef nonnull @.str.1, ptr noundef nonnull %pad_type) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %params, ptr noundef nonnull align 8 dereferenceable(40) %tmp, i64 40, i1 false) - %arrayidx2 = getelementptr inbounds [2 x %struct.ossl_param_st], ptr %params, i64 0, i64 1 + %arrayidx2 = getelementptr inbounds i8, ptr %params, i64 40 call void @OSSL_PARAM_construct_end(ptr nonnull sret(%struct.ossl_param_st) align 8 %tmp3) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %arrayidx2, ptr noundef nonnull align 8 dereferenceable(40) %tmp3, i64 40, i1 false) %call4 = call ptr @OSSL_PROVIDER_load(ptr noundef null, ptr noundef nonnull @.str.2) #4 diff --git a/bench/openssl/optimized/memleaktest-bin-memleaktest.ll b/bench/openssl/optimized/memleaktest-bin-memleaktest.ll index a70ec1df0b7..1564a55510b 100644 --- a/bench/openssl/optimized/memleaktest-bin-memleaktest.ll +++ b/bench/openssl/optimized/memleaktest-bin-memleaktest.ll @@ -9,7 +9,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str.3 = private unnamed_addr constant [7 x i8] c"freeit\00", align 1 ; Function Attrs: nounwind uwtable -define dso_local i32 @main(i32 noundef %argc, ptr nocapture noundef readonly %argv) local_unnamed_addr #0 { +define dso_local noundef i32 @main(i32 noundef %argc, ptr nocapture noundef readonly %argv) local_unnamed_addr #0 { entry: %call = tail call noalias ptr @CRYPTO_malloc(i64 noundef 3, ptr noundef nonnull @.str, i32 noundef 49) #4 %call1 = tail call i32 @test_ptr(ptr noundef nonnull @.str, i32 noundef 50, ptr noundef nonnull @.str.1, ptr noundef %call) #4 @@ -18,7 +18,7 @@ entry: if.end: ; preds = %entry tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(3) %call, ptr noundef nonnull align 1 dereferenceable(3) @.str.2, i64 3, i1 false) #4 - %arrayidx = getelementptr inbounds ptr, ptr %argv, i64 1 + %arrayidx = getelementptr inbounds i8, ptr %argv, i64 8 %0 = load ptr, ptr %arrayidx, align 8 %tobool3.not = icmp eq ptr %0, null br i1 %tobool3.not, label %return, label %land.lhs.true diff --git a/bench/openssl/optimized/moduleloadtest-bin-moduleloadtest.ll b/bench/openssl/optimized/moduleloadtest-bin-moduleloadtest.ll index be8c1739f47..99594539ac0 100644 --- a/bench/openssl/optimized/moduleloadtest-bin-moduleloadtest.ll +++ b/bench/openssl/optimized/moduleloadtest-bin-moduleloadtest.ll @@ -22,13 +22,13 @@ if.then: ; preds = %entry br label %return if.end: ; preds = %entry - %arrayidx2 = getelementptr inbounds ptr, ptr %argv, i64 1 + %arrayidx2 = getelementptr inbounds i8, ptr %argv, i64 8 %3 = load ptr, ptr %arrayidx2, align 8 %cmp3 = icmp eq i32 %argc, 3 br i1 %cmp3, label %cond.true, label %cond.end cond.true: ; preds = %if.end - %arrayidx4 = getelementptr inbounds ptr, ptr %argv, i64 2 + %arrayidx4 = getelementptr inbounds i8, ptr %argv, i64 16 %4 = load ptr, ptr %arrayidx4, align 8 br label %cond.end diff --git a/bench/openssl/optimized/openssl-bin-dsaparam.ll b/bench/openssl/optimized/openssl-bin-dsaparam.ll index 1dbcb6d368f..2bfb8e2e42e 100644 --- a/bench/openssl/optimized/openssl-bin-dsaparam.ll +++ b/bench/openssl/optimized/openssl-bin-dsaparam.ll @@ -69,7 +69,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str.55 = private unnamed_addr constant [48 x i8] c"Error, unable to initialise for key generation\0A\00", align 1 ; Function Attrs: nounwind uwtable -define dso_local i32 @dsaparam_main(i32 noundef %argc, ptr noundef %argv) local_unnamed_addr #0 { +define dso_local noundef i32 @dsaparam_main(i32 noundef %argc, ptr noundef %argv) local_unnamed_addr #0 { entry: %numqbits = alloca i32, align 4 %num = alloca i32, align 4 @@ -199,7 +199,7 @@ if.then40: ; preds = %while.end br i1 %or.cond, label %opthelp, label %if.end45 if.end45: ; preds = %if.then40 - %arrayidx46 = getelementptr inbounds ptr, ptr %call38, i64 1 + %arrayidx46 = getelementptr inbounds i8, ptr %call38, i64 8 %3 = load ptr, ptr %arrayidx46, align 8 %call47 = call i32 @opt_int(ptr noundef %3, ptr noundef nonnull %numqbits) #2 %tobool48 = icmp eq i32 %call47, 0 diff --git a/bench/openssl/optimized/openssl-bin-errstr.ll b/bench/openssl/optimized/openssl-bin-errstr.ll index 4383e3c15aa..49c0538e395 100644 --- a/bench/openssl/optimized/openssl-bin-errstr.ll +++ b/bench/openssl/optimized/openssl-bin-errstr.ll @@ -75,7 +75,7 @@ if.else: ; preds = %for.body for.inc: ; preds = %if.then, %if.else %ret.1 = phi i32 [ %inc, %if.then ], [ %ret.07, %if.else ] - %incdec.ptr = getelementptr inbounds ptr, ptr %argv.addr.06, i64 1 + %incdec.ptr = getelementptr inbounds i8, ptr %argv.addr.06, i64 8 %5 = load ptr, ptr %incdec.ptr, align 8 %cmp6.not = icmp eq ptr %5, null br i1 %cmp6.not, label %end, label %for.body, !llvm.loop !5 diff --git a/bench/openssl/optimized/openssl-bin-pkeyutl.ll b/bench/openssl/optimized/openssl-bin-pkeyutl.ll index 27c33df744b..42d07b9509f 100644 --- a/bench/openssl/optimized/openssl-bin-pkeyutl.ll +++ b/bench/openssl/optimized/openssl-bin-pkeyutl.ll @@ -128,7 +128,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str.115 = private unnamed_addr constant [30 x i8] c"Error signing raw input data\0A\00", align 1 ; Function Attrs: nounwind uwtable -define dso_local i32 @pkeyutl_main(i32 noundef %argc, ptr noundef %argv) local_unnamed_addr #0 { +define dso_local noundef i32 @pkeyutl_main(i32 noundef %argc, ptr noundef %argv) local_unnamed_addr #0 { entry: %pkey = alloca ptr, align 8 %buf_in = alloca ptr, align 8 @@ -640,7 +640,7 @@ if.then260: ; preds = %if.end257 if.then264: ; preds = %if.then260 %call265 = call i32 @stat(ptr noundef nonnull %infile.0, ptr noundef nonnull %st) #5 %cmp266 = icmp eq i32 %call265, 0 - %st_size = getelementptr inbounds %struct.stat, ptr %st, i64 0, i32 8 + %st_size = getelementptr inbounds i8, ptr %st, i64 48 %19 = load i64, ptr %st_size, align 8 %cmp269 = icmp slt i64 %19, 2147483648 %or.cond7 = select i1 %cmp266, i1 %cmp269, i1 false diff --git a/bench/openssl/optimized/openssl-bin-smime.ll b/bench/openssl/optimized/openssl-bin-smime.ll index 9a81a6b116b..cc204d8e9fa 100644 --- a/bench/openssl/optimized/openssl-bin-smime.ll +++ b/bench/openssl/optimized/openssl-bin-smime.ll @@ -938,7 +938,7 @@ while.cond351.preheader: ; preds = %if.end346 br i1 %cmp352.not620, label %if.end365, label %while.body353 while.cond351: ; preds = %if.end357 - %incdec.ptr = getelementptr inbounds ptr, ptr %argv.addr.0621, i64 1 + %incdec.ptr = getelementptr inbounds i8, ptr %argv.addr.0621, i64 8 %17 = load ptr, ptr %incdec.ptr, align 8 %cmp352.not = icmp eq ptr %17, null br i1 %cmp352.not, label %if.end365, label %while.body353, !llvm.loop !7 diff --git a/bench/openssl/optimized/openssl-bin-spkac.ll b/bench/openssl/optimized/openssl-bin-spkac.ll index d396989076f..ea56706fc4d 100644 --- a/bench/openssl/optimized/openssl-bin-spkac.ll +++ b/bench/openssl/optimized/openssl-bin-spkac.ll @@ -4,7 +4,6 @@ target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80: target triple = "x86_64-unknown-linux-gnu" %struct.options_st = type { ptr, i32, i32, ptr } -%struct.Netscape_spkac_st = type { ptr, ptr } @OPT_SECTION_STR = external constant [0 x i8], align 1 @.str = private unnamed_addr constant [18 x i8] c"General options:\0A\00", align 1 @@ -64,7 +63,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str.52 = private unnamed_addr constant [19 x i8] c"Signature Failure\0A\00", align 1 ; Function Attrs: nounwind uwtable -define dso_local i32 @spkac_main(i32 noundef %argc, ptr noundef %argv) local_unnamed_addr #0 { +define dso_local noundef i32 @spkac_main(i32 noundef %argc, ptr noundef %argv) local_unnamed_addr #0 { entry: %passin = alloca ptr, align 8 %md = alloca ptr, align 8 @@ -237,7 +236,7 @@ if.end59: ; preds = %if.end55 land.lhs.true: ; preds = %if.end59 %4 = load ptr, ptr %call56, align 8 - %challenge62 = getelementptr inbounds %struct.Netscape_spkac_st, ptr %4, i64 0, i32 1 + %challenge62 = getelementptr inbounds i8, ptr %4, i64 8 %5 = load ptr, ptr %challenge62, align 8 %call63 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %challenge.0) #4 %conv = trunc i64 %call63 to i32 diff --git a/bench/openssl/optimized/rc4test-bin-rc4test.ll b/bench/openssl/optimized/rc4test-bin-rc4test.ll index c7ce295dd56..527c92a4117 100644 --- a/bench/openssl/optimized/rc4test-bin-rc4test.ll +++ b/bench/openssl/optimized/rc4test-bin-rc4test.ll @@ -25,7 +25,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str.14 = private unnamed_addr constant [9 x i8] c"expected\00", align 1 ; Function Attrs: nounwind uwtable -define dso_local i32 @setup_tests() local_unnamed_addr #0 { +define dso_local noundef i32 @setup_tests() local_unnamed_addr #0 { entry: tail call void @add_all_tests(ptr noundef nonnull @.str, ptr noundef nonnull @test_rc4_encrypt, i32 noundef 6, i32 noundef 1) #3 tail call void @add_all_tests(ptr noundef nonnull @.str.1, ptr noundef nonnull @test_rc4_end_processing, i32 noundef 20, i32 noundef 1) #3 @@ -45,7 +45,7 @@ entry: %arrayidx = getelementptr inbounds [6 x [30 x i8]], ptr @keys, i64 0, i64 %idxprom %0 = load i8, ptr %arrayidx, align 2 %conv = zext i8 %0 to i32 - %arrayidx4 = getelementptr inbounds [6 x [30 x i8]], ptr @keys, i64 0, i64 %idxprom, i64 1 + %arrayidx4 = getelementptr inbounds i8, ptr %arrayidx, i64 1 call void @RC4_set_key(ptr noundef nonnull %key, i32 noundef %conv, ptr noundef nonnull %arrayidx4) #3 call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(512) %obuf, i8 0, i64 512, i1 false) %arrayidx6 = getelementptr inbounds [6 x i8], ptr @data_len, i64 0, i64 %idxprom diff --git a/bench/openssl/optimized/servername_test-bin-servername_test.ll b/bench/openssl/optimized/servername_test-bin-servername_test.ll index 1316a391d54..5569ac6c8dd 100644 --- a/bench/openssl/optimized/servername_test-bin-servername_test.ll +++ b/bench/openssl/optimized/servername_test-bin-servername_test.ll @@ -49,7 +49,7 @@ target triple = "x86_64-unknown-linux-gnu" @.str.39 = private unnamed_addr constant [57 x i8] c"SSL_get_servername(serverssl, TLSEXT_NAMETYPE_host_name)\00", align 1 ; Function Attrs: nounwind uwtable -define dso_local i32 @setup_tests() local_unnamed_addr #0 { +define dso_local noundef i32 @setup_tests() local_unnamed_addr #0 { entry: %call = tail call i32 @test_skip_common_options() #4 %tobool.not = icmp eq i32 %call, 0 @@ -644,7 +644,7 @@ lor.lhs.false.i113: ; preds = %lor.lhs.false81 if.end.i122: ; preds = %lor.lhs.false.i113 %add.ptr.i2.i.i123 = getelementptr inbounds i8, ptr %pkt4.sroa.0.1, i64 2 store ptr %add.ptr.i2.i.i123, ptr %pkt5, align 8 - %remaining.i126 = getelementptr inbounds %struct.PACKET, ptr %pkt5, i64 0, i32 1 + %remaining.i126 = getelementptr inbounds i8, ptr %pkt5, i64 8 store i64 %or.i.i.i119, ptr %remaining.i126, align 8 br label %PACKET_get_length_prefixed_2.exit128 diff --git a/bench/pbrt-v4/optimized/rng.cpp.ll b/bench/pbrt-v4/optimized/rng.cpp.ll index 4ae4861e0a2..54cb8adef90 100644 --- a/bench/pbrt-v4/optimized/rng.cpp.ll +++ b/bench/pbrt-v4/optimized/rng.cpp.ll @@ -6,7 +6,6 @@ target triple = "x86_64-unknown-linux-gnu" %"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string::_Alloc_hider", i64, %union.anon } %"struct.std::__cxx11::basic_string::_Alloc_hider" = type { ptr } %union.anon = type { i64, [8 x i8] } -%"class.pbrt::RNG" = type { i64, i64 } %"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" } %"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" } %"class.std::basic_istream.base" = type { ptr, i64 } @@ -35,7 +34,7 @@ $_ZN4pbrt6detail21stringPrintfRecursiveIRKmJEEEvPNSt7__cxx1112basic_stringIcSt11 ; Function Attrs: mustprogress uwtable define dso_local void @_ZNK4pbrt3RNG8ToStringB5cxx11Ev(ptr noalias nonnull sret(%"class.std::__cxx11::basic_string") align 8 %agg.result, ptr noundef nonnull align 8 dereferenceable(16) %this) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 { entry: - %inc = getelementptr inbounds %"class.pbrt::RNG", ptr %this, i64 0, i32 1 + %inc = getelementptr inbounds i8, ptr %this, i64 8 tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %agg.result) #5 invoke void @_ZN4pbrt6detail21stringPrintfRecursiveIRKmJS3_EEEvPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcOT_DpOT0_(ptr noundef nonnull %agg.result, ptr noundef nonnull @.str, ptr noundef nonnull align 8 dereferenceable(8) %this, ptr noundef nonnull align 8 dereferenceable(8) %inc) to label %_ZN4pbrt12StringPrintfIJRKmS2_EEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcDpOT_.exit unwind label %lpad.i diff --git a/bench/pbrt-v4/optimized/scattering.cpp.ll b/bench/pbrt-v4/optimized/scattering.cpp.ll index 9f0972dd47c..58e87436252 100644 --- a/bench/pbrt-v4/optimized/scattering.cpp.ll +++ b/bench/pbrt-v4/optimized/scattering.cpp.ll @@ -6,7 +6,6 @@ target triple = "x86_64-unknown-linux-gnu" %"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string::_Alloc_hider", i64, %union.anon } %"struct.std::__cxx11::basic_string::_Alloc_hider" = type { ptr } %union.anon = type { i64, [8 x i8] } -%"class.pbrt::TrowbridgeReitzDistribution" = type { float, float } %"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" } %"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" } %"class.std::basic_istream.base" = type { ptr, i64 } @@ -134,7 +133,7 @@ return: ; preds = %if.else, %if.then ; Function Attrs: mustprogress uwtable define dso_local void @_ZNK4pbrt27TrowbridgeReitzDistribution8ToStringB5cxx11Ev(ptr noalias nonnull sret(%"class.std::__cxx11::basic_string") align 8 %agg.result, ptr noundef nonnull align 4 dereferenceable(8) %this) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 { entry: - %alpha_y = getelementptr inbounds %"class.pbrt::TrowbridgeReitzDistribution", ptr %this, i64 0, i32 1 + %alpha_y = getelementptr inbounds i8, ptr %this, i64 4 tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %agg.result) #6 invoke void @_ZN4pbrt6detail21stringPrintfRecursiveIRKfJS3_EEEvPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcOT_DpOT0_(ptr noundef nonnull %agg.result, ptr noundef nonnull @.str, ptr noundef nonnull align 4 dereferenceable(4) %this, ptr noundef nonnull align 4 dereferenceable(4) %alpha_y) to label %_ZN4pbrt12StringPrintfIJRKfS2_EEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcDpOT_.exit unwind label %lpad.i diff --git a/bench/protobuf/optimized/main.cc.ll b/bench/protobuf/optimized/main.cc.ll index e227ddc46e5..3fa4f24b0fa 100644 --- a/bench/protobuf/optimized/main.cc.ll +++ b/bench/protobuf/optimized/main.cc.ll @@ -233,9 +233,9 @@ invoke.cont5: ; preds = %invoke.cont call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %ref.tmp) #8 call void @_ZNSaIcED1Ev(ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp1) #8 store ptr getelementptr inbounds ({ [11 x ptr] }, ptr @_ZTVN6google8protobuf8compiler3cpp12CppGeneratorE, i64 0, inrange i32 0, i64 2), ptr %cpp_generator, align 8 - %opensource_runtime_.i = getelementptr inbounds %"class.google::protobuf::compiler::cpp::CppGenerator", ptr %cpp_generator, i64 0, i32 1 + %opensource_runtime_.i = getelementptr inbounds i8, ptr %cpp_generator, i64 8 store i8 1, ptr %opensource_runtime_.i, align 8 - %runtime_include_base_.i = getelementptr inbounds %"class.google::protobuf::compiler::cpp::CppGenerator", ptr %cpp_generator, i64 0, i32 2 + %runtime_include_base_.i = getelementptr inbounds i8, ptr %cpp_generator, i64 16 call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(32) %runtime_include_base_.i) #8 call void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp7) #8 %call.i57 = invoke noundef ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE13_M_local_dataEv(ptr noundef nonnull align 8 dereferenceable(32) %ref.tmp6) diff --git a/bench/protobuf/optimized/repeated_field.cc.ll b/bench/protobuf/optimized/repeated_field.cc.ll index 96a80a98d33..33bfb542d0d 100644 --- a/bench/protobuf/optimized/repeated_field.cc.ll +++ b/bench/protobuf/optimized/repeated_field.cc.ll @@ -4,7 +4,6 @@ target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80: target triple = "x86_64-unknown-linux-gnu" %"class.std::ios_base::Init" = type { i8 } -%"class.google::protobuf::RepeatedField" = type { i32, i32, ptr } %"class.absl::lts_20230802::Cord" = type { %"class.absl::lts_20230802::Cord::InlineRep" } %"class.absl::lts_20230802::Cord::InlineRep" = type { %"class.absl::lts_20230802::cord_internal::InlineData" } %"class.absl::lts_20230802::cord_internal::InlineData" = type { %"struct.absl::lts_20230802::cord_internal::InlineData::Rep" } @@ -34,7 +33,7 @@ entry: br i1 %cmp4, label %for.body.lr.ph, label %for.end for.body.lr.ph: ; preds = %entry - %arena_or_elements_.i.i.i = getelementptr inbounds %"class.google::protobuf::RepeatedField", ptr %this, i64 0, i32 2 + %arena_or_elements_.i.i.i = getelementptr inbounds i8, ptr %this, i64 8 %1 = load ptr, ptr %arena_or_elements_.i.i.i, align 8 %wide.trip.count = zext nneg i32 %0 to i64 br label %for.body @@ -49,7 +48,7 @@ for.body: ; preds = %for.body.lr.ph, %_Z br i1 %cmp.i.i.not.i.i, label %cond.false.i.i, label %cond.true.i.i cond.true.i.i: ; preds = %for.body - %rep.i.i.i.i.i = getelementptr inbounds %"struct.absl::lts_20230802::cord_internal::InlineData::Rep::AsTree", ptr %arrayidx.i, i64 0, i32 1 + %rep.i.i.i.i.i = getelementptr inbounds i8, ptr %arrayidx.i, i64 8 %4 = load ptr, ptr %rep.i.i.i.i.i, align 8 %5 = load i64, ptr %4, align 8 br label %_ZNK4absl12lts_202308024Cord4sizeEv.exit diff --git a/bench/proxygen/optimized/CryptUtil.cpp.ll b/bench/proxygen/optimized/CryptUtil.cpp.ll index 9b7eba72b89..13cedde2ea8 100644 --- a/bench/proxygen/optimized/CryptUtil.cpp.ll +++ b/bench/proxygen/optimized/CryptUtil.cpp.ll @@ -7,7 +7,6 @@ target triple = "x86_64-unknown-linux-gnu" %"struct.std::__cxx11::basic_string::_Alloc_hider" = type { ptr } %union.anon = type { i64, [8 x i8] } %"class.std::allocator" = type { i8 } -%struct.buf_mem_st = type { i64, ptr, i64, i64 } %"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" } %"class.std::basic_ostream.base" = type { ptr } %"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" } @@ -98,7 +97,7 @@ land.lhs.true: ; preds = %invoke.cont31 br i1 %cmp33.not, label %if.end40.invoke, label %if.then34 if.then34: ; preds = %land.lhs.true - %data = getelementptr inbounds %struct.buf_mem_st, ptr %2, i64 0, i32 1 + %data = getelementptr inbounds i8, ptr %2, i64 8 %4 = load ptr, ptr %data, align 8 call void @_ZNSaIcEC1Ev(ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp36) #3 invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcmRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %ref.tmp, ptr noundef %4, i64 noundef %3, ptr noundef nonnull align 1 dereferenceable(1) %ref.tmp36) @@ -234,7 +233,7 @@ declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0 ; Function Attrs: mustprogress uwtable define linkonce_odr noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3hexRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216) %__base) #0 comdat { entry: - %_M_flags.i = getelementptr inbounds %"class.std::ios_base", ptr %__base, i64 0, i32 3 + %_M_flags.i = getelementptr inbounds i8, ptr %__base, i64 24 %0 = load i32, ptr %_M_flags.i, align 8 %and.i.i.i = and i32 %0, -75 %or.i.i.i = or disjoint i32 %and.i.i.i, 8 diff --git a/bench/proxygen/optimized/HTTP3ErrorCode.cpp.ll b/bench/proxygen/optimized/HTTP3ErrorCode.cpp.ll index 97b3d322595..fec863e0e59 100644 --- a/bench/proxygen/optimized/HTTP3ErrorCode.cpp.ll +++ b/bench/proxygen/optimized/HTTP3ErrorCode.cpp.ll @@ -792,10 +792,10 @@ entry: %call5.i.i.i.i2.i = tail call noalias noundef nonnull dereferenceable(168) ptr @_Znwm(i64 noundef 168) #9 store ptr %call5.i.i.i.i2.i, ptr %agg.result, align 8 %add.ptr.i1.i = getelementptr inbounds i8, ptr %call5.i.i.i.i2.i, i64 168 - %_M_end_of_storage.i.i = getelementptr inbounds %"struct.std::_Vector_base>::_Vector_impl_data", ptr %agg.result, i64 0, i32 2 + %_M_end_of_storage.i.i = getelementptr inbounds i8, ptr %agg.result, i64 16 store ptr %add.ptr.i1.i, ptr %_M_end_of_storage.i.i, align 8 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(168) %call5.i.i.i.i2.i, ptr noundef nonnull align 8 dereferenceable(168) @constinit, i64 168, i1 false) - %_M_finish.i.i = getelementptr inbounds %"struct.std::_Vector_base>::_Vector_impl_data", ptr %agg.result, i64 0, i32 1 + %_M_finish.i.i = getelementptr inbounds i8, ptr %agg.result, i64 8 store ptr %add.ptr.i1.i, ptr %_M_finish.i.i, align 8 ret void } diff --git a/bench/qemu/optimized/chardev_char-null.c.ll b/bench/qemu/optimized/chardev_char-null.c.ll index 79704e535b3..6b75cf90e02 100644 --- a/bench/qemu/optimized/chardev_char-null.c.ll +++ b/bench/qemu/optimized/chardev_char-null.c.ll @@ -4,8 +4,6 @@ target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80: target triple = "x86_64-unknown-linux-gnu" %struct.TypeInfo = type { ptr, ptr, i64, i64, ptr, ptr, ptr, i8, i64, ptr, ptr, ptr, ptr } -%struct.ChardevClass = type { %struct.ObjectClass, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr } -%struct.ObjectClass = type { ptr, ptr, [4 x ptr], [4 x ptr], ptr, ptr } @char_null_type_info = internal constant %struct.TypeInfo { ptr @.str, ptr @.str.1, i64 152, i64 0, ptr null, ptr null, ptr null, i8 0, i64 0, ptr @char_null_class_init, ptr null, ptr null, ptr null }, align 8 @.str = private unnamed_addr constant [13 x i8] c"chardev-null\00", align 1 @@ -36,7 +34,7 @@ declare ptr @type_register_static(ptr noundef) local_unnamed_addr #1 define internal void @char_null_class_init(ptr noundef %oc, ptr nocapture readnone %data) #0 { entry: %call.i = tail call ptr @object_class_dynamic_cast_assert(ptr noundef %oc, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 231, ptr noundef nonnull @__func__.CHARDEV_CLASS) #3 - %open = getelementptr inbounds %struct.ChardevClass, ptr %call.i, i64 0, i32 4 + %open = getelementptr inbounds i8, ptr %call.i, i64 112 store ptr @null_chr_open, ptr %open, align 8 ret void } diff --git a/bench/qemu/optimized/crypto_pbkdf.c.ll b/bench/qemu/optimized/crypto_pbkdf.c.ll index 7e195b5988d..29d7729398f 100644 --- a/bench/qemu/optimized/crypto_pbkdf.c.ll +++ b/bench/qemu/optimized/crypto_pbkdf.c.ll @@ -36,8 +36,8 @@ entry: br i1 %cmp.i35, label %qcrypto_pbkdf2_get_thread_cpu.exit.thread, label %if.end.lr.ph if.end.lr.ph: ; preds = %entry - %tv_usec.i = getelementptr inbounds %struct.timeval, ptr %ru.i, i64 0, i32 1 - %tv_usec.i17 = getelementptr inbounds %struct.timeval, ptr %ru.i12, i64 0, i32 1 + %tv_usec.i = getelementptr inbounds i8, ptr %ru.i, i64 8 + %tv_usec.i17 = getelementptr inbounds i8, ptr %ru.i12, i64 8 br label %if.end qcrypto_pbkdf2_get_thread_cpu.exit.thread: ; preds = %if.end17, %entry diff --git a/bench/qemu/optimized/disas_riscv-xventana.c.ll b/bench/qemu/optimized/disas_riscv-xventana.c.ll index f327a274a14..9b1bea49c06 100644 --- a/bench/qemu/optimized/disas_riscv-xventana.c.ll +++ b/bench/qemu/optimized/disas_riscv-xventana.c.ll @@ -4,7 +4,6 @@ target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80: target triple = "x86_64-unknown-linux-gnu" %struct.rv_opcode_data = type { ptr, i32, ptr, ptr, i16, i16, i16, i16 } -%struct.rv_decode = type { ptr, i64, i64, ptr, i32, i32, i16, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i8 } @.str = private unnamed_addr constant [11 x i8] c"vt.illegal\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"O\09\00", align 1 @@ -16,7 +15,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(argmem: readwrite) uwtable define dso_local void @decode_xventanacondops(ptr nocapture noundef %dec, i32 noundef %isa) local_unnamed_addr #0 { entry: - %inst1 = getelementptr inbounds %struct.rv_decode, ptr %dec, i64 0, i32 2 + %inst1 = getelementptr inbounds i8, ptr %dec, i64 16 %0 = load i64, ptr %inst1, align 8 %1 = and i64 %0, 127 %or.cond = icmp eq i64 %1, 123 @@ -36,7 +35,7 @@ sw.bb4: ; preds = %entry sw.epilog12: ; preds = %sw.bb4, %entry %op.0 = phi i16 [ 0, %entry ], [ %switch.select7, %sw.bb4 ] - %op13 = getelementptr inbounds %struct.rv_decode, ptr %dec, i64 0, i32 6 + %op13 = getelementptr inbounds i8, ptr %dec, i64 40 store i16 %op.0, ptr %op13, align 8 ret void } diff --git a/bench/qemu/optimized/dump_dump-hmp-cmds.c.ll b/bench/qemu/optimized/dump_dump-hmp-cmds.c.ll index ba4f51b86ae..62a7a7883d2 100644 --- a/bench/qemu/optimized/dump_dump-hmp-cmds.c.ll +++ b/bench/qemu/optimized/dump_dump-hmp-cmds.c.ll @@ -4,7 +4,6 @@ target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80: target triple = "x86_64-unknown-linux-gnu" %struct.QEnumLookup = type { ptr, ptr, i32 } -%struct.DumpQueryResult = type { i32, i64, i64 } @.str = private unnamed_addr constant [7 x i8] c"windmp\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"paging\00", align 1 @@ -148,7 +147,7 @@ if.end: ; preds = %land.lhs.true br i1 %cmp5, label %if.then6, label %if.end16 if.then6: ; preds = %if.end - %total = getelementptr inbounds %struct.DumpQueryResult, ptr %call, i64 0, i32 2 + %total = getelementptr inbounds i8, ptr %call, i64 16 %2 = load i64, ptr %total, align 8 %cmp7.not = icmp eq i64 %2, 0 br i1 %cmp7.not, label %if.else9, label %if.end10 @@ -158,7 +157,7 @@ if.else9: ; preds = %if.then6 unreachable if.end10: ; preds = %if.then6 - %completed = getelementptr inbounds %struct.DumpQueryResult, ptr %call, i64 0, i32 1 + %completed = getelementptr inbounds i8, ptr %call, i64 8 %3 = load i64, ptr %completed, align 8 %conv = sitofp i64 %3 to double %mul = fmul double %conv, 1.000000e+02 diff --git a/bench/qemu/optimized/fdt_check.c.ll b/bench/qemu/optimized/fdt_check.c.ll index 965dede42b7..434e5fa6d02 100644 --- a/bench/qemu/optimized/fdt_check.c.ll +++ b/bench/qemu/optimized/fdt_check.c.ll @@ -3,8 +3,6 @@ source_filename = "bench/qemu/original/fdt_check.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" -%struct.fdt_header = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 } - ; Function Attrs: nounwind uwtable define dso_local i32 @fdt_check_full(ptr noundef %fdt, i64 noundef %bufsize) local_unnamed_addr #0 { entry: @@ -28,7 +26,7 @@ if.end3: ; preds = %if.end br i1 %cmp5.not, label %if.end7, label %return if.end7: ; preds = %if.end3 - %totalsize = getelementptr inbounds %struct.fdt_header, ptr %fdt, i64 0, i32 1 + %totalsize = getelementptr inbounds i8, ptr %fdt, i64 4 %0 = load i8, ptr %totalsize, align 1 %conv.i = zext i8 %0 to i64 %shl.i = shl nuw nsw i64 %conv.i, 24 diff --git a/bench/qemu/optimized/fdt_wip.c.ll b/bench/qemu/optimized/fdt_wip.c.ll index 724cacb2f9e..d57640ce140 100644 --- a/bench/qemu/optimized/fdt_wip.c.ll +++ b/bench/qemu/optimized/fdt_wip.c.ll @@ -98,7 +98,7 @@ if.end: ; preds = %entry for.body.i: ; preds = %if.end, %for.body.i %p.05.i = phi ptr [ %incdec.ptr.i, %for.body.i ], [ %call.i, %if.end ] store i32 67108864, ptr %p.05.i, align 4 - %incdec.ptr.i = getelementptr i32, ptr %p.05.i, i64 1 + %incdec.ptr.i = getelementptr i8, ptr %p.05.i, i64 4 %cmp.i = icmp ult ptr %incdec.ptr.i, %add.ptr.i br i1 %cmp.i, label %for.body.i, label %return, !llvm.loop !5 @@ -169,7 +169,7 @@ if.end: ; preds = %fdt_node_end_offset for.body.i: ; preds = %if.end, %for.body.i %p.05.i = phi ptr [ %incdec.ptr.i, %for.body.i ], [ %call.i6, %if.end ] store i32 67108864, ptr %p.05.i, align 4 - %incdec.ptr.i = getelementptr i32, ptr %p.05.i, i64 1 + %incdec.ptr.i = getelementptr i8, ptr %p.05.i, i64 4 %cmp.i7 = icmp ult ptr %incdec.ptr.i, %add.ptr.i br i1 %cmp.i7, label %for.body.i, label %return, !llvm.loop !5 diff --git a/bench/qemu/optimized/hw_watchdog_watchdog.c.ll b/bench/qemu/optimized/hw_watchdog_watchdog.c.ll index ef109fea5c7..fc02016bcd7 100644 --- a/bench/qemu/optimized/hw_watchdog_watchdog.c.ll +++ b/bench/qemu/optimized/hw_watchdog_watchdog.c.ll @@ -57,7 +57,7 @@ if.then8.i.i: ; preds = %if.then.i.i %call9.i.i = call i32 @gettimeofday(ptr noundef nonnull %_now.i.i, ptr noundef null) #7 %call10.i.i = tail call i32 @qemu_get_thread_id() #7 %6 = load i64, ptr %_now.i.i, align 8 - %tv_usec.i.i = getelementptr inbounds %struct.timeval, ptr %_now.i.i, i64 0, i32 1 + %tv_usec.i.i = getelementptr inbounds i8, ptr %_now.i.i, i64 8 %7 = load i64, ptr %tv_usec.i.i, align 8 tail call void (ptr, ...) @qemu_log(ptr noundef nonnull @.str.3, i32 noundef %call10.i.i, i64 noundef %6, i64 noundef %7, i32 noundef %0) #7 br label %trace_watchdog_perform_action.exit @@ -170,7 +170,7 @@ if.then8.i.i: ; preds = %if.then.i.i %call9.i.i = call i32 @gettimeofday(ptr noundef nonnull %_now.i.i, ptr noundef null) #7 %call10.i.i = tail call i32 @qemu_get_thread_id() #7 %5 = load i64, ptr %_now.i.i, align 8 - %tv_usec.i.i = getelementptr inbounds %struct.timeval, ptr %_now.i.i, i64 0, i32 1 + %tv_usec.i.i = getelementptr inbounds i8, ptr %_now.i.i, i64 8 %6 = load i64, ptr %tv_usec.i.i, align 8 tail call void (ptr, ...) @qemu_log(ptr noundef nonnull @.str.5, i32 noundef %call10.i.i, i64 noundef %5, i64 noundef %6, i32 noundef %action) #7 br label %trace_watchdog_set_action.exit diff --git a/bench/qemu/optimized/meson-generated_.._qapi_qapi-init-commands.c.ll b/bench/qemu/optimized/meson-generated_.._qapi_qapi-init-commands.c.ll index cf9d4f03175..73be5c01ae9 100644 --- a/bench/qemu/optimized/meson-generated_.._qapi_qapi-init-commands.c.ll +++ b/bench/qemu/optimized/meson-generated_.._qapi_qapi-init-commands.c.ll @@ -3,8 +3,6 @@ source_filename = "bench/qemu/original/meson-generated_.._qapi_qapi-init-command target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" -%struct.QTailQLink = type { ptr, ptr } - @.str = private unnamed_addr constant [13 x i8] c"query-status\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"watchdog-set-action\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"set-action\00", align 1 @@ -231,7 +229,7 @@ target triple = "x86_64-unknown-linux-gnu" define dso_local void @qmp_init_marshal(ptr noundef %cmds) local_unnamed_addr #0 { entry: store ptr null, ptr %cmds, align 8 - %tql_prev = getelementptr inbounds %struct.QTailQLink, ptr %cmds, i64 0, i32 1 + %tql_prev = getelementptr inbounds i8, ptr %cmds, i64 8 store ptr %cmds, ptr %tql_prev, align 8 tail call void @qmp_register_command(ptr noundef nonnull %cmds, ptr noundef nonnull @.str, ptr noundef nonnull @qmp_marshal_query_status, i32 noundef 4, i32 noundef 0) #2 tail call void @qmp_register_command(ptr noundef nonnull %cmds, ptr noundef nonnull @.str.1, ptr noundef nonnull @qmp_marshal_watchdog_set_action, i32 noundef 0, i32 noundef 0) #2 diff --git a/bench/qemu/optimized/migration_colo-failover.c.ll b/bench/qemu/optimized/migration_colo-failover.c.ll index af5ccbc29ee..a18ce8fc09d 100644 --- a/bench/qemu/optimized/migration_colo-failover.c.ll +++ b/bench/qemu/optimized/migration_colo-failover.c.ll @@ -78,7 +78,7 @@ if.then8.i.i: ; preds = %if.then.i.i %call9.i.i = call i32 @gettimeofday(ptr noundef nonnull %_now.i.i, ptr noundef null) #6 %call10.i.i = tail call i32 @qemu_get_thread_id() #6 %6 = load i64, ptr %_now.i.i, align 8 - %tv_usec.i.i = getelementptr inbounds %struct.timeval, ptr %_now.i.i, i64 0, i32 1 + %tv_usec.i.i = getelementptr inbounds i8, ptr %_now.i.i, i64 8 %7 = load i64, ptr %tv_usec.i.i, align 8 tail call void (ptr, ...) @qemu_log(ptr noundef nonnull @.str.5, i32 noundef %call10.i.i, i64 noundef %6, i64 noundef %7, ptr noundef %call) #6 br label %trace_colo_failover_set_state.exit diff --git a/bench/qemu/optimized/migration_migration-stats.c.ll b/bench/qemu/optimized/migration_migration-stats.c.ll index 3065e221d66..4ef0742e572 100644 --- a/bench/qemu/optimized/migration_migration-stats.c.ll +++ b/bench/qemu/optimized/migration_migration-stats.c.ll @@ -79,7 +79,7 @@ if.then8.i.i: ; preds = %if.then.i.i %call9.i.i = call i32 @gettimeofday(ptr noundef nonnull %_now.i.i, ptr noundef null) #5 %call10.i.i = tail call i32 @qemu_get_thread_id() #5 %8 = load i64, ptr %_now.i.i, align 8 - %tv_usec.i.i = getelementptr inbounds %struct.timeval, ptr %_now.i.i, i64 0, i32 1 + %tv_usec.i.i = getelementptr inbounds i8, ptr %_now.i.i, i64 8 %9 = load i64, ptr %tv_usec.i.i, align 8 tail call void (ptr, ...) @qemu_log(ptr noundef nonnull @.str, i32 noundef %call10.i.i, i64 noundef %8, i64 noundef %9, i64 noundef %2, i64 noundef %0, i64 noundef %1) #5 br label %trace_migration_transferred_bytes.exit diff --git a/bench/qemu/optimized/migration_target.c.ll b/bench/qemu/optimized/migration_target.c.ll index f611a49a1ce..c1fe214cc1b 100644 --- a/bench/qemu/optimized/migration_target.c.ll +++ b/bench/qemu/optimized/migration_target.c.ll @@ -3,8 +3,6 @@ source_filename = "bench/qemu/original/migration_target.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" -%struct.MigrationInfo = type { i8, i32, ptr, ptr, ptr, ptr, i8, i64, i8, i64, i8, i64, i8, i64, i8, i64, ptr, i8, ptr, i8, i32, i8, ptr, ptr, i8, ptr, i8, i64, i8, i64 } - ; Function Attrs: nounwind sspstrong uwtable define dso_local void @migration_populate_vfio_info(ptr nocapture noundef %info) local_unnamed_addr #0 { entry: @@ -13,7 +11,7 @@ entry: if.then: ; preds = %entry %call1 = tail call noalias dereferenceable_or_null(8) ptr @g_malloc0(i64 noundef 8) #4 - %vfio = getelementptr inbounds %struct.MigrationInfo, ptr %info, i64 0, i32 4 + %vfio = getelementptr inbounds i8, ptr %info, i64 24 store ptr %call1, ptr %vfio, align 8 %call2 = tail call i64 @vfio_mig_bytes_transferred() #3 %0 = load ptr, ptr %vfio, align 8 diff --git a/bench/qemu/optimized/qobject_qnull.c.ll b/bench/qemu/optimized/qobject_qnull.c.ll index 72e46804a3e..9d6c62c7381 100644 --- a/bench/qemu/optimized/qobject_qnull.c.ll +++ b/bench/qemu/optimized/qobject_qnull.c.ll @@ -12,7 +12,7 @@ target triple = "x86_64-unknown-linux-gnu" @__PRETTY_FUNCTION__.qobject_unref_impl = private unnamed_addr constant [35 x i8] c"void qobject_unref_impl(QObject *)\00", align 1 ; Function Attrs: mustprogress nofree norecurse nosync nounwind sspstrong willreturn memory(none) uwtable -define dso_local zeroext i1 @qnull_is_equal(ptr nocapture noundef readnone %x, ptr nocapture noundef readnone %y) local_unnamed_addr #0 { +define dso_local noundef zeroext i1 @qnull_is_equal(ptr nocapture noundef readnone %x, ptr nocapture noundef readnone %y) local_unnamed_addr #0 { entry: ret i1 true } @@ -24,7 +24,7 @@ entry: br i1 %tobool.not, label %qobject_unref_impl.exit, label %lor.lhs.false.i lor.lhs.false.i: ; preds = %entry - %refcnt.i = getelementptr inbounds %struct.QObjectBase_, ptr %q, i64 0, i32 1 + %refcnt.i = getelementptr inbounds i8, ptr %q, i64 8 %0 = load i64, ptr %refcnt.i, align 8 %tobool1.not.i = icmp eq i64 %0, 0 br i1 %tobool1.not.i, label %if.else.i, label %land.lhs.true.i diff --git a/bench/qemu/optimized/qobject_qobject.c.ll b/bench/qemu/optimized/qobject_qobject.c.ll index 82970c6d57a..e3e428c2193 100644 --- a/bench/qemu/optimized/qobject_qobject.c.ll +++ b/bench/qemu/optimized/qobject_qobject.c.ll @@ -3,8 +3,6 @@ source_filename = "bench/qemu/original/qobject_qobject.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" -%struct.QObjectBase_ = type { i32, i64 } - @.str = private unnamed_addr constant [18 x i8] c"!obj->base.refcnt\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"../qemu/qobject/qobject.c\00", align 1 @__PRETTY_FUNCTION__.qobject_destroy = private unnamed_addr constant [32 x i8] c"void qobject_destroy(QObject *)\00", align 1 @@ -17,7 +15,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind sspstrong uwtable define dso_local void @qobject_destroy(ptr noundef %obj) local_unnamed_addr #0 { entry: - %refcnt = getelementptr inbounds %struct.QObjectBase_, ptr %obj, i64 0, i32 1 + %refcnt = getelementptr inbounds i8, ptr %obj, i64 8 %0 = load i64, ptr %refcnt, align 8 %tobool.not = icmp eq i64 %0, 0 br i1 %tobool.not, label %if.end, label %if.else diff --git a/bench/qemu/optimized/qom_container.c.ll b/bench/qemu/optimized/qom_container.c.ll index 111df9ad4ce..b14ae7728e7 100644 --- a/bench/qemu/optimized/qom_container.c.ll +++ b/bench/qemu/optimized/qom_container.c.ll @@ -32,7 +32,7 @@ land.lhs.true2: ; preds = %land.lhs.true br i1 %tobool.not, label %for.cond.preheader, label %if.else for.cond.preheader: ; preds = %land.lhs.true2 - %arrayidx516 = getelementptr ptr, ptr %call, i64 1 + %arrayidx516 = getelementptr i8, ptr %call, i64 8 %2 = load ptr, ptr %arrayidx516, align 8 %cmp6.not17 = icmp eq ptr %2, null br i1 %cmp6.not17, label %for.end, label %for.body diff --git a/bench/qemu/optimized/source_s_shortShiftRightJam128Extra.c.ll b/bench/qemu/optimized/source_s_shortShiftRightJam128Extra.c.ll index 6ee5e200781..abce9189894 100644 --- a/bench/qemu/optimized/source_s_shortShiftRightJam128Extra.c.ll +++ b/bench/qemu/optimized/source_s_shortShiftRightJam128Extra.c.ll @@ -12,8 +12,8 @@ entry: %sub = sub i8 0, %dist %sh_prom = zext i8 %dist to i64 %shr = lshr i64 %a64, %sh_prom - %v = getelementptr inbounds %struct.uint128_extra, ptr %agg.result, i64 0, i32 1 - %v64 = getelementptr inbounds %struct.uint128_extra, ptr %agg.result, i64 0, i32 1, i32 1 + %v = getelementptr inbounds i8, ptr %agg.result, i64 8 + %v64 = getelementptr inbounds i8, ptr %agg.result, i64 16 store i64 %shr, ptr %v64, align 8 %0 = and i8 %sub, 63 %sh_prom4 = zext nneg i8 %0 to i64 diff --git a/bench/qemu/optimized/stubs_cpu-get-clock.c.ll b/bench/qemu/optimized/stubs_cpu-get-clock.c.ll index e17e196e24a..f21ce2b41de 100644 --- a/bench/qemu/optimized/stubs_cpu-get-clock.c.ll +++ b/bench/qemu/optimized/stubs_cpu-get-clock.c.ll @@ -13,7 +13,7 @@ entry: %call.i = call i32 @gettimeofday(ptr noundef nonnull %tv.i, ptr noundef null) #3 %0 = load i64, ptr %tv.i, align 8 %mul.i = mul i64 %0, 1000000000 - %tv_usec.i = getelementptr inbounds %struct.timeval, ptr %tv.i, i64 0, i32 1 + %tv_usec.i = getelementptr inbounds i8, ptr %tv.i, i64 8 %1 = load i64, ptr %tv_usec.i, align 8 %mul1.i = mul i64 %1, 1000 %add.i = add i64 %mul1.i, %mul.i diff --git a/bench/qemu/optimized/system_datadir.c.ll b/bench/qemu/optimized/system_datadir.c.ll index c4db68149d3..aa8d9f06a04 100644 --- a/bench/qemu/optimized/system_datadir.c.ll +++ b/bench/qemu/optimized/system_datadir.c.ll @@ -53,7 +53,7 @@ if.then8.i.i: ; preds = %if.then.i.i %call9.i.i = call i32 @gettimeofday(ptr noundef nonnull %_now.i.i, ptr noundef null) #8 %call10.i.i = tail call i32 @qemu_get_thread_id() #8 %5 = load i64, ptr %_now.i.i, align 8 - %tv_usec.i.i = getelementptr inbounds %struct.timeval, ptr %_now.i.i, i64 0, i32 1 + %tv_usec.i.i = getelementptr inbounds i8, ptr %_now.i.i, i64 8 %6 = load i64, ptr %tv_usec.i.i, align 8 tail call void (ptr, ...) @qemu_log(ptr noundef nonnull @.str.6, i32 noundef %call10.i.i, i64 noundef %5, i64 noundef %6, ptr noundef %name, ptr noundef %name) #8 br label %trace_load_file.exit @@ -120,7 +120,7 @@ if.then8.i.i20: ; preds = %if.then.i.i18 %call9.i.i21 = call i32 @gettimeofday(ptr noundef nonnull %_now.i.i11, ptr noundef null) #8 %call10.i.i22 = tail call i32 @qemu_get_thread_id() #8 %14 = load i64, ptr %_now.i.i11, align 8 - %tv_usec.i.i23 = getelementptr inbounds %struct.timeval, ptr %_now.i.i11, i64 0, i32 1 + %tv_usec.i.i23 = getelementptr inbounds i8, ptr %_now.i.i11, i64 8 %15 = load i64, ptr %tv_usec.i.i23, align 8 tail call void (ptr, ...) @qemu_log(ptr noundef nonnull @.str.6, i32 noundef %call10.i.i22, i64 noundef %14, i64 noundef %15, ptr noundef %name, ptr noundef %call4) #8 br label %trace_load_file.exit25 diff --git a/bench/qemu/optimized/system_runstate-hmp-cmds.c.ll b/bench/qemu/optimized/system_runstate-hmp-cmds.c.ll index 3eb22619c51..aacd3c9b861 100644 --- a/bench/qemu/optimized/system_runstate-hmp-cmds.c.ll +++ b/bench/qemu/optimized/system_runstate-hmp-cmds.c.ll @@ -4,7 +4,6 @@ target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80: target triple = "x86_64-unknown-linux-gnu" %struct.QEnumLookup = type { ptr, ptr, i32 } -%struct.StatusInfo = type { i8, i8, i32 } @.str = private unnamed_addr constant [14 x i8] c"VM status: %s\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"running\00", align 1 @@ -37,7 +36,7 @@ entry: br i1 %tobool3.not, label %land.lhs.true, label %if.end land.lhs.true: ; preds = %entry - %status = getelementptr inbounds %struct.StatusInfo, ptr %call, i64 0, i32 2 + %status = getelementptr inbounds i8, ptr %call, i64 4 %4 = load i32, ptr %status, align 4 %cmp.not = icmp eq i32 %4, 4 br i1 %cmp.not, label %if.end, label %if.then diff --git a/bench/qemu/optimized/util_memalign.c.ll b/bench/qemu/optimized/util_memalign.c.ll index 1d037408e5f..63cdab1af86 100644 --- a/bench/qemu/optimized/util_memalign.c.ll +++ b/bench/qemu/optimized/util_memalign.c.ll @@ -80,7 +80,7 @@ if.then8.i.i: ; preds = %if.then.i.i %call9.i.i = call i32 @gettimeofday(ptr noundef nonnull %_now.i.i, ptr noundef null) #11 %call10.i.i = call i32 @qemu_get_thread_id() #11 %7 = load i64, ptr %_now.i.i, align 8 - %tv_usec.i.i = getelementptr inbounds %struct.timeval, ptr %_now.i.i, i64 0, i32 1 + %tv_usec.i.i = getelementptr inbounds i8, ptr %_now.i.i, i64 8 %8 = load i64, ptr %tv_usec.i.i, align 8 call void (ptr, ...) @qemu_log(ptr noundef nonnull @.str.3, i32 noundef %call10.i.i, i64 noundef %7, i64 noundef %8, i64 noundef %alignment.addr.0, i64 noundef %spec.select, ptr noundef %1) #11 br label %trace_qemu_memalign.exit @@ -161,7 +161,7 @@ if.then8.i.i: ; preds = %if.then.i.i %call9.i.i = call i32 @gettimeofday(ptr noundef nonnull %_now.i.i, ptr noundef null) #11 %call10.i.i = tail call i32 @qemu_get_thread_id() #11 %5 = load i64, ptr %_now.i.i, align 8 - %tv_usec.i.i = getelementptr inbounds %struct.timeval, ptr %_now.i.i, i64 0, i32 1 + %tv_usec.i.i = getelementptr inbounds i8, ptr %_now.i.i, i64 8 %6 = load i64, ptr %tv_usec.i.i, align 8 tail call void (ptr, ...) @qemu_log(ptr noundef nonnull @.str.5, i32 noundef %call10.i.i, i64 noundef %5, i64 noundef %6, ptr noundef %ptr) #11 br label %trace_qemu_vfree.exit diff --git a/bench/qemu/optimized/util_mmap-alloc.c.ll b/bench/qemu/optimized/util_mmap-alloc.c.ll index 405c810c07a..fbfb724b373 100644 --- a/bench/qemu/optimized/util_mmap-alloc.c.ll +++ b/bench/qemu/optimized/util_mmap-alloc.c.ll @@ -79,7 +79,7 @@ do.end: ; preds = %do.body br i1 %cmp5, label %if.then6, label %if.end7 if.then6: ; preds = %do.end - %f_bsize = getelementptr inbounds %struct.statfs, ptr %fs, i64 0, i32 1 + %f_bsize = getelementptr inbounds i8, ptr %fs, i64 8 %2 = load i64, ptr %f_bsize, align 8 br label %return @@ -172,7 +172,7 @@ qemu_fd_getpagesize.exit.thread.i.i: ; preds = %land.rhs.i.i.i, %do br label %if.end.i.i qemu_fd_getpagesize.exit.i.i: ; preds = %do.end.i.i.i - %f_bsize.i.i.i = getelementptr inbounds %struct.statfs, ptr %fs.i.i.i, i64 0, i32 1 + %f_bsize.i.i.i = getelementptr inbounds i8, ptr %fs.i.i.i, i64 8 %6 = load i64, ptr %f_bsize.i.i.i, align 8 call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %fs.i.i.i) %cmp.not.i.i = icmp eq i64 %6, %conv.i.i diff --git a/bench/qemu/optimized/util_qemu-progress.c.ll b/bench/qemu/optimized/util_qemu-progress.c.ll index dd74e2c06c1..0e80dde7730 100644 --- a/bench/qemu/optimized/util_qemu-progress.c.ll +++ b/bench/qemu/optimized/util_qemu-progress.c.ll @@ -31,10 +31,10 @@ if.else: ; preds = %entry call void @llvm.lifetime.start.p0(i64 152, ptr nonnull %action.i) call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %set.i) call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(152) %action.i, i8 0, i64 152, i1 false) - %sa_mask.i = getelementptr inbounds %struct.sigaction, ptr %action.i, i64 0, i32 1 + %sa_mask.i = getelementptr inbounds i8, ptr %action.i, i64 8 %call.i = call i32 @sigfillset(ptr noundef nonnull %sa_mask.i) #10 store ptr @sigusr_print, ptr %action.i, align 8 - %sa_flags.i = getelementptr inbounds %struct.sigaction, ptr %action.i, i64 0, i32 2 + %sa_flags.i = getelementptr inbounds i8, ptr %action.i, i64 136 store i32 0, ptr %sa_flags.i, align 8 %call1.i = call i32 @sigaction(i32 noundef 10, ptr noundef nonnull %action.i, ptr noundef null) #10 %call2.i = call i32 @sigemptyset(ptr noundef nonnull %set.i) #10 diff --git a/bench/qemu/optimized/util_qemu-timer-common.c.ll b/bench/qemu/optimized/util_qemu-timer-common.c.ll index 6b9077936b7..22f4736dd9a 100644 --- a/bench/qemu/optimized/util_qemu-timer-common.c.ll +++ b/bench/qemu/optimized/util_qemu-timer-common.c.ll @@ -36,7 +36,7 @@ if.then.i: ; preds = %if.end.thread, %if. %call.i = call i32 @clock_gettime(i32 noundef 1, ptr noundef nonnull %ts.i) #4 %0 = load i64, ptr %ts.i, align 8 %mul.i = mul i64 %0, 1000000000 - %tv_nsec.i = getelementptr inbounds %struct.timespec, ptr %ts.i, i64 0, i32 1 + %tv_nsec.i = getelementptr inbounds i8, ptr %ts.i, i64 8 %1 = load i64, ptr %tv_nsec.i, align 8 %add.i = add i64 %mul.i, %1 br label %get_clock.exit @@ -46,7 +46,7 @@ if.else.i: ; preds = %if.end %call.i.i = call i32 @gettimeofday(ptr noundef nonnull %tv.i.i, ptr noundef null) #4 %2 = load i64, ptr %tv.i.i, align 8 %mul.i.i = mul i64 %2, 1000000000 - %tv_usec.i.i = getelementptr inbounds %struct.timeval, ptr %tv.i.i, i64 0, i32 1 + %tv_usec.i.i = getelementptr inbounds i8, ptr %tv.i.i, i64 8 %3 = load i64, ptr %tv_usec.i.i, align 8 %mul1.i.i = mul i64 %3, 1000 %add.i.i = add i64 %mul1.i.i, %mul.i.i diff --git a/bench/readerwriterqueue/optimized/systemtime.cpp.ll b/bench/readerwriterqueue/optimized/systemtime.cpp.ll index 89c87cfe0e0..39b5aa9ca24 100644 --- a/bench/readerwriterqueue/optimized/systemtime.cpp.ll +++ b/bench/readerwriterqueue/optimized/systemtime.cpp.ll @@ -32,7 +32,7 @@ seqcst.i: ; preds = %entry, %if.then fence syncscope("singlethread") seq_cst %.fca.0.load = load i64, ptr %retval, align 8 %.fca.0.insert = insertvalue { i64, i64 } poison, i64 %.fca.0.load, 0 - %.fca.1.gep = getelementptr inbounds { i64, i64 }, ptr %retval, i64 0, i32 1 + %.fca.1.gep = getelementptr inbounds i8, ptr %retval, i64 8 %.fca.1.load = load i64, ptr %.fca.1.gep, align 8 %.fca.1.insert = insertvalue { i64, i64 } %.fca.0.insert, i64 %.fca.1.load, 1 ret { i64, i64 } %.fca.1.insert @@ -61,7 +61,7 @@ seqcst.i: ; preds = %lor.lhs.false %0 = load i64, ptr %t, align 8 %sub = sub nsw i64 %0, %start.coerce0 %conv = sitofp i64 %sub to double - %tv_nsec5 = getelementptr inbounds %struct.timespec, ptr %t, i64 0, i32 1 + %tv_nsec5 = getelementptr inbounds i8, ptr %t, i64 8 %1 = load i64, ptr %tv_nsec5, align 8 %sub7 = sub nsw i64 %1, %start.coerce1 %conv8 = sitofp i64 %sub7 to double diff --git a/bench/redis/optimized/exp_grow.ll b/bench/redis/optimized/exp_grow.ll index 6ba9cd8ccbf..502a4feb503 100644 --- a/bench/redis/optimized/exp_grow.ll +++ b/bench/redis/optimized/exp_grow.ll @@ -3,13 +3,11 @@ source_filename = "bench/redis/original/exp_grow.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" -%struct.exp_grow_s = type { i32, i32 } - ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define hidden void @exp_grow_init(ptr nocapture noundef writeonly %exp_grow) local_unnamed_addr #0 { entry: store i32 31, ptr %exp_grow, align 4 - %limit = getelementptr inbounds %struct.exp_grow_s, ptr %exp_grow, i64 0, i32 1 + %limit = getelementptr inbounds i8, ptr %exp_grow, i64 4 store i32 198, ptr %limit, align 4 ret void } diff --git a/bench/redis/optimized/exp_grow.sym.ll b/bench/redis/optimized/exp_grow.sym.ll index 9325587db70..55b431197dc 100644 --- a/bench/redis/optimized/exp_grow.sym.ll +++ b/bench/redis/optimized/exp_grow.sym.ll @@ -3,13 +3,11 @@ source_filename = "bench/redis/original/exp_grow.sym.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" -%struct.exp_grow_s = type { i32, i32 } - ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define hidden void @exp_grow_init(ptr nocapture noundef writeonly %exp_grow) local_unnamed_addr #0 { entry: store i32 31, ptr %exp_grow, align 4 - %limit = getelementptr inbounds %struct.exp_grow_s, ptr %exp_grow, i64 0, i32 1 + %limit = getelementptr inbounds i8, ptr %exp_grow, i64 4 store i32 198, ptr %limit, align 4 ret void } diff --git a/bench/redis/optimized/malloc_io.ll b/bench/redis/optimized/malloc_io.ll index a254c9a4cdd..cb21c4e852b 100644 --- a/bench/redis/optimized/malloc_io.ll +++ b/bench/redis/optimized/malloc_io.ll @@ -263,8 +263,8 @@ entry: %buf1320 = alloca [67 x i8], align 16 store ptr %format, ptr %f, align 8 %invariant.gep = getelementptr i8, ptr %buf1320, i64 -2 - %overflow_arg_area_p = getelementptr inbounds %struct.__va_list_tag, ptr %ap, i64 0, i32 2 - %0 = getelementptr inbounds %struct.__va_list_tag, ptr %ap, i64 0, i32 3 + %overflow_arg_area_p = getelementptr inbounds i8, ptr %ap, i64 8 + %0 = getelementptr inbounds i8, ptr %ap, i64 16 %arrayidx.i.i331 = getelementptr inbounds i8, ptr %buf1320, i64 64 %arrayidx.i.i325 = getelementptr inbounds i8, ptr %buf832, i64 64 %arrayidx.i = getelementptr inbounds i8, ptr %buf580, i64 64 diff --git a/bench/redis/optimized/malloc_io.sym.ll b/bench/redis/optimized/malloc_io.sym.ll index 85464134555..44aa00d6a0e 100644 --- a/bench/redis/optimized/malloc_io.sym.ll +++ b/bench/redis/optimized/malloc_io.sym.ll @@ -263,8 +263,8 @@ entry: %buf1320 = alloca [67 x i8], align 16 store ptr %format, ptr %f, align 8 %invariant.gep = getelementptr i8, ptr %buf1320, i64 -2 - %overflow_arg_area_p = getelementptr inbounds %struct.__va_list_tag, ptr %ap, i64 0, i32 2 - %0 = getelementptr inbounds %struct.__va_list_tag, ptr %ap, i64 0, i32 3 + %overflow_arg_area_p = getelementptr inbounds i8, ptr %ap, i64 8 + %0 = getelementptr inbounds i8, ptr %ap, i64 16 %arrayidx.i.i331 = getelementptr inbounds i8, ptr %buf1320, i64 64 %arrayidx.i.i325 = getelementptr inbounds i8, ptr %buf832, i64 64 %arrayidx.i = getelementptr inbounds i8, ptr %buf580, i64 64 diff --git a/bench/redis/optimized/sds.ll b/bench/redis/optimized/sds.ll index c36e969dbbb..9b52a12520b 100644 --- a/bench/redis/optimized/sds.ll +++ b/bench/redis/optimized/sds.ll @@ -2245,8 +2245,8 @@ sdslen.exit: ; preds = %entry, %sw.bb.i, %s br i1 %tobool.not234, label %while.end, label %while.body.lr.ph while.body.lr.ph: ; preds = %sdslen.exit - %overflow_arg_area_p94 = getelementptr inbounds %struct.__va_list_tag, ptr %ap, i64 0, i32 2 - %6 = getelementptr inbounds %struct.__va_list_tag, ptr %ap, i64 0, i32 3 + %overflow_arg_area_p94 = getelementptr inbounds i8, ptr %ap, i64 8 + %6 = getelementptr inbounds i8, ptr %ap, i64 16 br label %while.body while.body: ; preds = %while.body.lr.ph, %sw.epilog116 diff --git a/bench/regex-rs/optimized/10yjupz8j620axf1.ll b/bench/regex-rs/optimized/10yjupz8j620axf1.ll index c90d139a230..1bedb7c0aa6 100644 --- a/bench/regex-rs/optimized/10yjupz8j620axf1.ll +++ b/bench/regex-rs/optimized/10yjupz8j620axf1.ll @@ -18,7 +18,7 @@ define void @"_ZN4core4hash5impls50_$LT$impl$u20$core..hash..Hash$u20$for$u20$st ; Function Attrs: inlinehint nonlazybind uwtable define void @"_ZN4core4hash5impls52_$LT$impl$u20$core..hash..Hash$u20$for$u20$$RF$T$GT$4hash17h27174c910cdfb320E"(ptr nocapture readonly align 8 %0, ptr align 8 %1) unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !nonnull !5, !align !6, !noundef !5 - %4 = getelementptr inbounds { ptr, i64 }, ptr %0, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i64, ptr %4, align 8, !noundef !5 tail call void @_ZN4core4hash6Hasher19write_length_prefix17h3a85669087d1c280E(ptr align 8 %1, i64 %5) tail call void @"_ZN81_$LT$std..collections..hash..map..DefaultHasher$u20$as$u20$core..hash..Hasher$GT$5write17h8fc071b1c29e4555E"(ptr align 8 %1, ptr nonnull align 1 %3, i64 %5) @@ -28,7 +28,7 @@ define void @"_ZN4core4hash5impls52_$LT$impl$u20$core..hash..Hash$u20$for$u20$$R ; Function Attrs: inlinehint nonlazybind uwtable define void @"_ZN4core4hash5impls52_$LT$impl$u20$core..hash..Hash$u20$for$u20$$RF$T$GT$4hash17hd3e1b3fc50ba19b2E"(ptr nocapture readonly align 8 %0, ptr align 8 %1) unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !nonnull !5, !align !6, !noundef !5 - %4 = getelementptr inbounds { ptr, i64 }, ptr %0, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i64, ptr %4, align 8, !noundef !5 tail call void @"_ZN81_$LT$std..collections..hash..map..DefaultHasher$u20$as$u20$core..hash..Hasher$GT$9write_str17h4864796ee02760f5E"(ptr align 8 %1, ptr nonnull align 1 %3, i64 %5) ret void diff --git a/bench/regex-rs/optimized/13wny1mjt9ucrwvk.ll b/bench/regex-rs/optimized/13wny1mjt9ucrwvk.ll index b8e4b063c54..02bc9bafdc5 100644 --- a/bench/regex-rs/optimized/13wny1mjt9ucrwvk.ll +++ b/bench/regex-rs/optimized/13wny1mjt9ucrwvk.ll @@ -20,7 +20,7 @@ define noundef ptr @_ZN3std2io5Write9write_all17hf1adf5e29b2d5f10E(ptr align 1 % br i1 %6, label %.loopexit, label %.lr.ph .lr.ph: ; preds = %3 - %7 = getelementptr inbounds { [1 x i64], ptr }, ptr %4, i64 0, i32 1 + %7 = getelementptr inbounds i8, ptr %4, i64 8 br label %8 8: ; preds = %.lr.ph, %28 @@ -116,7 +116,7 @@ define noundef ptr @_ZN3std2io5Write9write_all17hf1adf5e29b2d5f10E(ptr align 1 % define ptr @_ZN3std2io5Write9write_fmt17h6852d5537ad4d022E(ptr align 1 %0, ptr align 8 %1) unnamed_addr #0 personality ptr @rust_eh_personality { %3 = alloca { ptr, ptr }, align 8 store ptr %0, ptr %3, align 8 - %4 = getelementptr inbounds { ptr, ptr }, ptr %3, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %3, i64 8 store ptr null, ptr %4, align 8 %5 = invoke zeroext i1 @_ZN4core3fmt5write17h3a39390d8560d9c9E(ptr nonnull align 1 %3, ptr nonnull align 8 @anon.daed864b193ae02578211ffb3b554a01.6, ptr align 8 %1) to label %8 unwind label %6 diff --git a/bench/regex-rs/optimized/15cj91zt2qxjie1y.ll b/bench/regex-rs/optimized/15cj91zt2qxjie1y.ll index a9a83d973e0..070fddf9bc9 100644 --- a/bench/regex-rs/optimized/15cj91zt2qxjie1y.ll +++ b/bench/regex-rs/optimized/15cj91zt2qxjie1y.ll @@ -6,7 +6,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint nonlazybind uwtable define hidden zeroext i1 @"_ZN58_$LT$alloc..string..String$u20$as$u20$core..fmt..Debug$GT$3fmt17h0e9032ff67f02863E"(ptr nocapture readonly align 8 %0, ptr align 8 %1) unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !nonnull !5, !noundef !5 - %4 = getelementptr inbounds { { ptr, i64 }, i64 }, ptr %0, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load i64, ptr %4, align 8, !noundef !5 %6 = tail call zeroext i1 @"_ZN40_$LT$str$u20$as$u20$core..fmt..Debug$GT$3fmt17hbe74cc6117d709ffE"(ptr nonnull align 1 %3, i64 %5, ptr align 8 %1) ret i1 %6 @@ -29,7 +29,7 @@ define hidden void @_ZN5alloc6string6String8push_str17h86e901103416e4baE(ptr ali ; Function Attrs: inlinehint nonlazybind uwtable define hidden zeroext i1 @"_ZN60_$LT$alloc..string..String$u20$as$u20$core..fmt..Display$GT$3fmt17hc942268d9cbfe465E"(ptr nocapture readonly align 8 %0, ptr align 8 %1) unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !nonnull !5, !noundef !5 - %4 = getelementptr inbounds { { ptr, i64 }, i64 }, ptr %0, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load i64, ptr %4, align 8, !noundef !5 %6 = tail call zeroext i1 @"_ZN42_$LT$str$u20$as$u20$core..fmt..Display$GT$3fmt17h6451c4f4b912c48bE"(ptr nonnull align 1 %3, i64 %5, ptr align 8 %1) ret i1 %6 diff --git a/bench/regex-rs/optimized/1g9gwtztz6tsq88i.ll b/bench/regex-rs/optimized/1g9gwtztz6tsq88i.ll index ddf61c028a7..0f60d080d0d 100644 --- a/bench/regex-rs/optimized/1g9gwtztz6tsq88i.ll +++ b/bench/regex-rs/optimized/1g9gwtztz6tsq88i.ll @@ -22,7 +22,7 @@ define hidden zeroext i1 @"_ZN63_$LT$regex_syntax..error..Error$u20$as$u20$core. br label %11 8: ; preds = %2 - %9 = getelementptr inbounds { [1 x i64], { { { { ptr, i64 }, i64 } }, { { i64, i64, i64 }, { i64, i64, i64 } }, i8, [7 x i8] } }, ptr %0, i64 0, i32 1 + %9 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %9, ptr %3, align 8 %10 = call zeroext i1 @_ZN4core3fmt9Formatter25debug_tuple_field1_finish17h4a66e96f470c4e9dE(ptr align 8 %1, ptr nonnull align 1 @anon.d07d78e85fb29fc976cd7fed85bd7546.2, i64 9, ptr nonnull align 1 %3, ptr nonnull align 8 @anon.d07d78e85fb29fc976cd7fed85bd7546.3) br label %11 diff --git a/bench/regex-rs/optimized/1gr7fde687nprwdy.ll b/bench/regex-rs/optimized/1gr7fde687nprwdy.ll index 326cac6cb87..17a71c75f58 100644 --- a/bench/regex-rs/optimized/1gr7fde687nprwdy.ll +++ b/bench/regex-rs/optimized/1gr7fde687nprwdy.ll @@ -24,7 +24,7 @@ define i40 @"_ZN53_$LT$T$u20$as$u20$core..convert..TryInto$LT$U$GT$$GT$8try_into ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable define { ptr, i64 } @"_ZN55_$LT$$RF$T$u20$as$u20$core..convert..AsRef$LT$U$GT$$GT$6as_ref17hfddcf95709eaae07E"(ptr nocapture readonly align 8 %0) unnamed_addr #2 { %2 = load ptr, ptr %0, align 8, !nonnull !5, !align !6, !noundef !5 - %3 = getelementptr inbounds { ptr, i64 }, ptr %0, i64 0, i32 1 + %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !noundef !5 %5 = insertvalue { ptr, i64 } poison, ptr %2, 0 %6 = insertvalue { ptr, i64 } %5, i64 %4, 1 diff --git a/bench/regex-rs/optimized/1iepbmygf3kezbqf.ll b/bench/regex-rs/optimized/1iepbmygf3kezbqf.ll index 2ae31c036d8..a532556678a 100644 --- a/bench/regex-rs/optimized/1iepbmygf3kezbqf.ll +++ b/bench/regex-rs/optimized/1iepbmygf3kezbqf.ll @@ -8,7 +8,7 @@ define hidden { ptr, i64 } @"_ZN82_$LT$alloc..sync..Arc$LT$str$GT$$u20$as$u20$co %3 = tail call { ptr, i64 } @"_ZN5alloc4sync22Arc$LT$$u5b$T$u5d$$GT$15copy_from_slice17hd31d03cf79bad4d7E"(ptr align 1 %0, i64 %1) %4 = extractvalue { ptr, i64 } %3, 0 %5 = extractvalue { ptr, i64 } %3, 1 - %6 = getelementptr inbounds { { i64 }, { i64 }, [0 x i8] }, ptr %4, i64 0, i32 2 + %6 = getelementptr inbounds i8, ptr %4, i64 16 %7 = icmp ne ptr %4, null tail call void @llvm.assume(i1 %7) %8 = tail call { ptr, i64 } @"_ZN5alloc4sync16Arc$LT$T$C$A$GT$11from_raw_in17ha39ed4286e2df449E"(ptr nonnull %6, i64 %5) diff --git a/bench/regex-rs/optimized/1pl7zwq2cwnifbtf.ll b/bench/regex-rs/optimized/1pl7zwq2cwnifbtf.ll index 5bed7c29655..590af5f8723 100644 --- a/bench/regex-rs/optimized/1pl7zwq2cwnifbtf.ll +++ b/bench/regex-rs/optimized/1pl7zwq2cwnifbtf.ll @@ -9,8 +9,8 @@ define zeroext i1 @"_ZN4core5tuple64_$LT$impl$u20$core..cmp..PartialEq$u20$for$u br i1 %3, label %4, label %8 4: ; preds = %2 - %5 = getelementptr inbounds { i8, i8 }, ptr %0, i64 0, i32 1 - %6 = getelementptr inbounds { i8, i8 }, ptr %1, i64 0, i32 1 + %5 = getelementptr inbounds i8, ptr %0, i64 1 + %6 = getelementptr inbounds i8, ptr %1, i64 1 %7 = tail call zeroext i1 @"_ZN4core3cmp5impls53_$LT$impl$u20$core..cmp..PartialEq$u20$for$u20$u8$GT$2eq17h91f2f1b66f5a7e93E"(ptr nonnull align 1 %5, ptr nonnull align 1 %6) br label %8 diff --git a/bench/regex-rs/optimized/1xia534uffyn6bmu.ll b/bench/regex-rs/optimized/1xia534uffyn6bmu.ll index 7bd1119dddc..f1383628629 100644 --- a/bench/regex-rs/optimized/1xia534uffyn6bmu.ll +++ b/bench/regex-rs/optimized/1xia534uffyn6bmu.ll @@ -7,7 +7,7 @@ target triple = "x86_64-unknown-linux-gnu" define hidden { i64, i64 } @"_ZN93_$LT$core..ops..index_range..IndexRange$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h8fed7b1bfe6fd819E"(ptr align 8 %0) unnamed_addr #0 { %2 = icmp ne ptr %0, null tail call void @llvm.assume(i1 %2) - %3 = getelementptr inbounds { i64, i64 }, ptr %0, i64 0, i32 1 + %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !noundef !5 %5 = load i64, ptr %0, align 8, !noundef !5 %.not = icmp eq i64 %4, %5 diff --git a/bench/regex-rs/optimized/211jg0dhcvxizq33.ll b/bench/regex-rs/optimized/211jg0dhcvxizq33.ll index 7d04d1b6171..872b09a2e55 100644 --- a/bench/regex-rs/optimized/211jg0dhcvxizq33.ll +++ b/bench/regex-rs/optimized/211jg0dhcvxizq33.ll @@ -41,7 +41,7 @@ define { i64, i64 } @"_ZN4core3str21_$LT$impl$u20$str$GT$4find17h287dedae677af52 call void @"_ZN80_$LT$core..str..pattern..StrSearcher$u20$as$u20$core..str..pattern..Searcher$GT$10next_match17h346baebc37aa981fE"(ptr nonnull sret({ i64, [2 x i64] }) align 8 %6, ptr nonnull align 8 %5) %7 = load i64, ptr %6, align 8, !range !5, !noundef !6 %.not = icmp eq i64 %7, 0 - %8 = getelementptr inbounds { [1 x i64], { i64, i64 } }, ptr %6, i64 0, i32 1 + %8 = getelementptr inbounds i8, ptr %6, i64 8 %9 = load i64, ptr %8, align 8 %.sroa.3.0 = select i1 %.not, i64 undef, i64 %9 %10 = insertvalue { i64, i64 } poison, i64 %7, 0 @@ -57,7 +57,7 @@ define { i64, i64 } @"_ZN4core3str21_$LT$impl$u20$str$GT$4find17h28bdb387359eaa9 call void @"_ZN81_$LT$core..str..pattern..CharSearcher$u20$as$u20$core..str..pattern..Searcher$GT$10next_match17ha70b7e4ddb966629E"(ptr nonnull sret({ i64, [2 x i64] }) align 8 %5, ptr nonnull align 8 %4) %6 = load i64, ptr %5, align 8, !range !5, !noundef !6 %.not = icmp eq i64 %6, 0 - %7 = getelementptr inbounds { [1 x i64], { i64, i64 } }, ptr %5, i64 0, i32 1 + %7 = getelementptr inbounds i8, ptr %5, i64 8 %8 = load i64, ptr %7, align 8 %.sroa.3.0 = select i1 %.not, i64 undef, i64 %8 %9 = insertvalue { i64, i64 } poison, i64 %6, 0 diff --git a/bench/regex-rs/optimized/26qz5fal2ldx1bui.ll b/bench/regex-rs/optimized/26qz5fal2ldx1bui.ll index 61cd42819ed..e43bbd54f26 100644 --- a/bench/regex-rs/optimized/26qz5fal2ldx1bui.ll +++ b/bench/regex-rs/optimized/26qz5fal2ldx1bui.ll @@ -5,7 +5,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint nonlazybind uwtable define { i8, i8 } @"_ZN115_$LT$core..iter..adapters..filter_map..FilterMap$LT$I$C$F$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hc389be2a46e4224cE"(ptr align 8 %0) unnamed_addr #0 { - %2 = getelementptr inbounds { { { i64, i64 }, ptr, i64, { i8, i8 }, [6 x i8] }, {} }, ptr %0, i64 0, i32 1 + %2 = getelementptr inbounds i8, ptr %0, i64 40 %3 = tail call { i8, i8 } @_ZN4core4iter6traits8iterator8Iterator8find_map17h4dbfc45f5b312074E(ptr align 8 %0, ptr nonnull align 1 %2) %4 = extractvalue { i8, i8 } %3, 0 %5 = and i8 %4, 1 diff --git a/bench/regex-rs/optimized/2gy6kkxw04y7s7d8.ll b/bench/regex-rs/optimized/2gy6kkxw04y7s7d8.ll index 7cc6c2a1755..fb1035646db 100644 --- a/bench/regex-rs/optimized/2gy6kkxw04y7s7d8.ll +++ b/bench/regex-rs/optimized/2gy6kkxw04y7s7d8.ll @@ -46,9 +46,9 @@ define { i8, i8 } @"_ZN119_$LT$core..iter..adapters..copied..Copied$LT$I$GT$$u20 ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: write) uwtable define void @_ZN4core4iter6traits8iterator8Iterator3map17h9a0fe02b1a5c1912E(ptr nocapture writeonly sret({ { ptr, ptr }, ptr }) align 8 %0, ptr %1, ptr %2, ptr align 8 %3) unnamed_addr #1 { store ptr %1, ptr %0, align 8 - %5 = getelementptr inbounds { ptr, ptr }, ptr %0, i64 0, i32 1 + %5 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %2, ptr %5, align 8 - %6 = getelementptr inbounds { { ptr, ptr }, ptr }, ptr %0, i64 0, i32 1 + %6 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %3, ptr %6, align 8 ret void } diff --git a/bench/regex-rs/optimized/2lcnzm924qah7iw6.ll b/bench/regex-rs/optimized/2lcnzm924qah7iw6.ll index 526cc188d9b..2e3595bb526 100644 --- a/bench/regex-rs/optimized/2lcnzm924qah7iw6.ll +++ b/bench/regex-rs/optimized/2lcnzm924qah7iw6.ll @@ -5,7 +5,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable define void @_ZN14regex_automata4util4iter8Searcher3new17h1255481c0ac633cbE(ptr nocapture writeonly sret({ { i64, i64 }, { { i32, i32 }, { ptr, i64 }, { i64, i64 }, i8, [7 x i8] } }) align 8 %0, ptr nocapture readonly align 8 %1) unnamed_addr #0 { - %3 = getelementptr inbounds { { i64, i64 }, { { i32, i32 }, { ptr, i64 }, { i64, i64 }, i8, [7 x i8] } }, ptr %0, i64 0, i32 1 + %3 = getelementptr inbounds i8, ptr %0, i64 16 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(48) %1, i64 48, i1 false) store i64 0, ptr %0, align 8 ret void @@ -13,7 +13,7 @@ define void @_ZN14regex_automata4util4iter8Searcher3new17h1255481c0ac633cbE(ptr ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable define nonnull align 8 ptr @_ZN14regex_automata4util4iter8Searcher5input17hd5a48f84ae892e9bE(ptr readnone align 8 %0) unnamed_addr #1 { - %2 = getelementptr inbounds { { i64, i64 }, { { i32, i32 }, { ptr, i64 }, { i64, i64 }, i8, [7 x i8] } }, ptr %0, i64 0, i32 1 + %2 = getelementptr inbounds i8, ptr %0, i64 16 ret ptr %2 } diff --git a/bench/regex-rs/optimized/2meohf7un8nmj7l0.ll b/bench/regex-rs/optimized/2meohf7un8nmj7l0.ll index 6391a623498..188e86fe82b 100644 --- a/bench/regex-rs/optimized/2meohf7un8nmj7l0.ll +++ b/bench/regex-rs/optimized/2meohf7un8nmj7l0.ll @@ -46,7 +46,7 @@ define void @"_ZN80_$LT$alloc..borrow..Cow$LT$str$GT$$u20$as$u20$regex..regex..s %.fca.0.extract = extractvalue { ptr, i64 } %6, 0 store ptr %.fca.0.extract, ptr %4, align 8 %.fca.1.extract = extractvalue { ptr, i64 } %6, 1 - %.fca.1.gep = getelementptr inbounds { ptr, i64 }, ptr %4, i64 0, i32 1 + %.fca.1.gep = getelementptr inbounds i8, ptr %4, i64 8 store i64 %.fca.1.extract, ptr %.fca.1.gep, align 8 call void @"_ZN58_$LT$$RF$str$u20$as$u20$regex..regex..string..Replacer$GT$14replace_append17h7084fdcb9c68e25fE"(ptr nonnull align 8 %4, ptr align 8 %1, ptr align 8 %2) ret void @@ -67,7 +67,7 @@ define void @"_ZN84_$LT$$RF$alloc..borrow..Cow$LT$str$GT$$u20$as$u20$regex..rege %.fca.0.extract = extractvalue { ptr, i64 } %6, 0 store ptr %.fca.0.extract, ptr %4, align 8 %.fca.1.extract = extractvalue { ptr, i64 } %6, 1 - %.fca.1.gep = getelementptr inbounds { ptr, i64 }, ptr %4, i64 0, i32 1 + %.fca.1.gep = getelementptr inbounds i8, ptr %4, i64 8 store i64 %.fca.1.extract, ptr %.fca.1.gep, align 8 call void @"_ZN58_$LT$$RF$str$u20$as$u20$regex..regex..string..Replacer$GT$14replace_append17h7084fdcb9c68e25fE"(ptr nonnull align 8 %4, ptr align 8 %1, ptr align 8 %2) ret void diff --git a/bench/regex-rs/optimized/2xajdy55u48bn08r.ll b/bench/regex-rs/optimized/2xajdy55u48bn08r.ll index d3a21b8165a..eb6a51f1876 100644 --- a/bench/regex-rs/optimized/2xajdy55u48bn08r.ll +++ b/bench/regex-rs/optimized/2xajdy55u48bn08r.ll @@ -5,10 +5,10 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint nonlazybind uwtable define hidden void @"_ZN74_$LT$regex_syntax..parser..ParserBuilder$u20$as$u20$core..clone..Clone$GT$5clone17hc18a6e592253c7e5E"(ptr nocapture writeonly sret({ { i8, { i8, i8, i8, i8, i8, i8 }, i8 }, { i32, i8, i8, [2 x i8] } }) align 4 %0, ptr align 4 %1) unnamed_addr #0 { - %3 = getelementptr inbounds { { i8, { i8, i8, i8, i8, i8, i8 }, i8 }, { i32, i8, i8, [2 x i8] } }, ptr %1, i64 0, i32 1 + %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = tail call i64 @"_ZN78_$LT$regex_syntax..ast..parse..ParserBuilder$u20$as$u20$core..clone..Clone$GT$5clone17h2b42714d617d93a6E"(ptr nonnull align 4 %3) %5 = tail call i64 @"_ZN86_$LT$regex_syntax..hir..translate..TranslatorBuilder$u20$as$u20$core..clone..Clone$GT$5clone17h34adc23323c50cf0E"(ptr align 1 %1) - %6 = getelementptr inbounds { { i8, { i8, i8, i8, i8, i8, i8 }, i8 }, { i32, i8, i8, [2 x i8] } }, ptr %0, i64 0, i32 1 + %6 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %4, ptr %6, align 4 store i64 %5, ptr %0, align 4 ret void diff --git a/bench/regex-rs/optimized/2xbpp4akg6cnton7.ll b/bench/regex-rs/optimized/2xbpp4akg6cnton7.ll index 9b6f4f91864..4968495d9ef 100644 --- a/bench/regex-rs/optimized/2xbpp4akg6cnton7.ll +++ b/bench/regex-rs/optimized/2xbpp4akg6cnton7.ll @@ -14,7 +14,7 @@ define void @_ZN12aho_corasick3dfa7Builder5build17hde1b0ac974da7399E(ptr sret({ %8 = alloca { { { ptr, i64 }, i64 }, { { ptr, i64 }, i64 }, { { ptr, i64 }, i64 }, { { ptr, i64 }, i64 }, { { ptr, i64 }, i64 }, { ptr, [2 x i64] }, { [256 x i8] }, i64, i64, { i32, i32, i32, i32 }, i8, [7 x i8] }, align 8 call void @_ZN12aho_corasick3nfa13noncontiguous7Builder5build17h81d7b82d46be7d2fE(ptr nonnull sret({ [432 x i8], i8, [7 x i8] }) align 8 %6, ptr align 8 %1, ptr align 8 %2, i64 %3) call void @"_ZN79_$LT$core..result..Result$LT$T$C$E$GT$$u20$as$u20$core..ops..try_trait..Try$GT$6branch17h1da57a608fe07d33E"(ptr nonnull sret({ [432 x i8], i8, [7 x i8] }) align 8 %7, ptr nonnull align 8 %6) - %9 = getelementptr inbounds { [432 x i8], i8, [7 x i8] }, ptr %7, i64 0, i32 1 + %9 = getelementptr inbounds i8, ptr %7, i64 432 %10 = load i8, ptr %9, align 8, !range !5, !noundef !6 %.not = icmp eq i8 %10, 3 br i1 %.not, label %12, label %11 @@ -60,7 +60,7 @@ define void @_ZN12aho_corasick3dfa7Builder5build17hfdfdf94f164a7917E(ptr sret({ %8 = alloca { { { ptr, i64 }, i64 }, { { ptr, i64 }, i64 }, { { ptr, i64 }, i64 }, { { ptr, i64 }, i64 }, { { ptr, i64 }, i64 }, { ptr, [2 x i64] }, { [256 x i8] }, i64, i64, { i32, i32, i32, i32 }, i8, [7 x i8] }, align 8 call void @_ZN12aho_corasick3nfa13noncontiguous7Builder5build17h5495c7ef8d82a177E(ptr nonnull sret({ [432 x i8], i8, [7 x i8] }) align 8 %6, ptr align 8 %1, ptr align 8 %2, i64 %3) call void @"_ZN79_$LT$core..result..Result$LT$T$C$E$GT$$u20$as$u20$core..ops..try_trait..Try$GT$6branch17h1da57a608fe07d33E"(ptr nonnull sret({ [432 x i8], i8, [7 x i8] }) align 8 %7, ptr nonnull align 8 %6) - %9 = getelementptr inbounds { [432 x i8], i8, [7 x i8] }, ptr %7, i64 0, i32 1 + %9 = getelementptr inbounds i8, ptr %7, i64 432 %10 = load i8, ptr %9, align 8, !range !5, !noundef !6 %.not = icmp eq i8 %10, 3 br i1 %.not, label %12, label %11 diff --git a/bench/regex-rs/optimized/2zc3p92xss3up6r7.ll b/bench/regex-rs/optimized/2zc3p92xss3up6r7.ll index 0fc5d939d48..06f14270c45 100644 --- a/bench/regex-rs/optimized/2zc3p92xss3up6r7.ll +++ b/bench/regex-rs/optimized/2zc3p92xss3up6r7.ll @@ -5,7 +5,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint nonlazybind uwtable define align 8 ptr @"_ZN100_$LT$core..iter..adapters..skip..Skip$LT$I$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2ba756c0a8fc134bE"(ptr align 8 %0) unnamed_addr #0 { - %2 = getelementptr inbounds { { ptr, ptr }, i64 }, ptr %0, i64 0, i32 1 + %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load i64, ptr %2, align 8, !noundef !5 %.not = icmp eq i64 %3, 0 br i1 %.not, label %4, label %6 @@ -26,7 +26,7 @@ define align 8 ptr @"_ZN100_$LT$core..iter..adapters..skip..Skip$LT$I$GT$$u20$as ; Function Attrs: inlinehint nonlazybind uwtable define align 8 ptr @"_ZN100_$LT$core..iter..adapters..skip..Skip$LT$I$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h5007d9435cb8baf2E"(ptr align 8 %0) unnamed_addr #0 { - %2 = getelementptr inbounds { { ptr, ptr }, i64 }, ptr %0, i64 0, i32 1 + %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load i64, ptr %2, align 8, !noundef !5 %.not = icmp eq i64 %3, 0 br i1 %.not, label %4, label %6 diff --git a/bench/regex-rs/optimized/2zdmrck42com1293.ll b/bench/regex-rs/optimized/2zdmrck42com1293.ll index ae023380ed4..18feb95a684 100644 --- a/bench/regex-rs/optimized/2zdmrck42com1293.ll +++ b/bench/regex-rs/optimized/2zdmrck42com1293.ll @@ -16,7 +16,7 @@ define hidden align 8 ptr @"_ZN14regex_automata4meta7limited26hybrid_try_search_ define hidden zeroext i1 @"_ZN14regex_automata4meta7limited26hybrid_try_search_half_rev28_$u7b$$u7b$closure$u7d$$u7d$17hd396c477b7a1d9a2E"(ptr align 8 %0, i64 %1, i32 %2) unnamed_addr #0 { %4 = alloca { i64, i32 }, align 8 store i64 %1, ptr %4, align 8 - %5 = getelementptr inbounds { i64, i32 }, ptr %4, i64 0, i32 1 + %5 = getelementptr inbounds i8, ptr %4, i64 8 store i32 %2, ptr %5, align 8 %6 = call i64 @_ZN14regex_automata4util6search9HalfMatch6offset17hf0af348b59984ef7E(ptr nonnull align 8 %4) %7 = icmp ne ptr %0, null diff --git a/bench/regex-rs/optimized/316nql7bc7a4t5y0.ll b/bench/regex-rs/optimized/316nql7bc7a4t5y0.ll index 28ece0c4680..18fec48508a 100644 --- a/bench/regex-rs/optimized/316nql7bc7a4t5y0.ll +++ b/bench/regex-rs/optimized/316nql7bc7a4t5y0.ll @@ -46,7 +46,7 @@ define hidden { ptr, i64 } @"_ZN81_$LT$core..str..iter..Lines$u20$as$u20$core..i ; Function Attrs: inlinehint nonlazybind uwtable define hidden { i64, i32 } @"_ZN87_$LT$core..str..iter..CharIndices$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hbffa1e3879f0dd36E"(ptr align 8 %0) unnamed_addr #0 { - %2 = getelementptr inbounds { ptr, ptr }, ptr %0, i64 0, i32 1 + %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !nonnull !5, !noundef !5 %4 = load ptr, ptr %0, align 8, !nonnull !5, !noundef !5 %5 = tail call { i32, i32 } @_ZN4core3str11validations15next_code_point17h32d57f725686ddd1E(ptr nonnull align 8 %0) @@ -60,7 +60,7 @@ define hidden { i64, i32 } @"_ZN87_$LT$core..str..iter..CharIndices$u20$as$u20$c 9: ; preds = %1 %10 = ptrtoint ptr %3 to i64 %11 = ptrtoint ptr %4 to i64 - %12 = getelementptr inbounds { { ptr, ptr }, i64 }, ptr %0, i64 0, i32 1 + %12 = getelementptr inbounds i8, ptr %0, i64 16 %13 = load i64, ptr %12, align 8, !noundef !5 %14 = load ptr, ptr %2, align 8, !nonnull !5, !noundef !5 %15 = load ptr, ptr %0, align 8, !nonnull !5, !noundef !5 diff --git a/bench/regex-rs/optimized/35vn7b0j3g3sx2je.ll b/bench/regex-rs/optimized/35vn7b0j3g3sx2je.ll index f54469c4abc..b90d9a14df2 100644 --- a/bench/regex-rs/optimized/35vn7b0j3g3sx2je.ll +++ b/bench/regex-rs/optimized/35vn7b0j3g3sx2je.ll @@ -24,9 +24,9 @@ define { ptr, ptr } @_ZN4core4iter6traits8iterator8Iterator3map17h6d115326806309 ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: write) uwtable define void @_ZN4core4iter6traits8iterator8Iterator3map17h765e72f6d7072322E(ptr nocapture writeonly sret({ { ptr, ptr }, ptr }) align 8 %0, ptr %1, ptr %2, ptr align 8 %3) unnamed_addr #1 { store ptr %1, ptr %0, align 8 - %5 = getelementptr inbounds { ptr, ptr }, ptr %0, i64 0, i32 1 + %5 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %2, ptr %5, align 8 - %6 = getelementptr inbounds { { ptr, ptr }, ptr }, ptr %0, i64 0, i32 1 + %6 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %3, ptr %6, align 8 ret void } diff --git a/bench/regex-rs/optimized/36agsfwwmlkqn91e.ll b/bench/regex-rs/optimized/36agsfwwmlkqn91e.ll index 30773e91615..0983a678134 100644 --- a/bench/regex-rs/optimized/36agsfwwmlkqn91e.ll +++ b/bench/regex-rs/optimized/36agsfwwmlkqn91e.ll @@ -110,7 +110,7 @@ define void @_ZN3std9panicking3try8do_catch17h54122bf64f2c7bafE(ptr nocapture wr %10 = icmp ne ptr %8, null tail call void @llvm.assume(i1 %10) store ptr %7, ptr %0, align 8 - %11 = getelementptr inbounds { ptr, ptr }, ptr %0, i64 0, i32 1 + %11 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %8, ptr %11, align 8 ret void } @@ -134,7 +134,7 @@ define void @_ZN3std9panicking3try8do_catch17hd640c3158327d860E(ptr nocapture wr %10 = icmp ne ptr %8, null tail call void @llvm.assume(i1 %10) store ptr %7, ptr %0, align 8 - %11 = getelementptr inbounds { ptr, ptr }, ptr %0, i64 0, i32 1 + %11 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %8, ptr %11, align 8 ret void } diff --git a/bench/regex-rs/optimized/39nxakkx0k9s2eg5.ll b/bench/regex-rs/optimized/39nxakkx0k9s2eg5.ll index 51389582c60..c113679a0ed 100644 --- a/bench/regex-rs/optimized/39nxakkx0k9s2eg5.ll +++ b/bench/regex-rs/optimized/39nxakkx0k9s2eg5.ll @@ -12,7 +12,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint nonlazybind uwtable define hidden zeroext i1 @"_ZN64_$LT$core..str..error..Utf8Error$u20$as$u20$core..fmt..Debug$GT$3fmt17h42be6ca3e0ca1aa3E"(ptr align 8 %0, ptr align 8 %1) unnamed_addr #0 { %3 = alloca ptr, align 8 - %4 = getelementptr inbounds { i64, { i8, i8 }, [6 x i8] }, ptr %0, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %4, ptr %3, align 8 %5 = call zeroext i1 @_ZN4core3fmt9Formatter26debug_struct_field2_finish17h976633cb9325d9dfE(ptr align 8 %1, ptr nonnull align 1 @anon.79bb3c928c700381b2b6469513cfb7a6.0, i64 9, ptr nonnull align 1 @anon.79bb3c928c700381b2b6469513cfb7a6.1, i64 11, ptr align 1 %0, ptr nonnull align 8 @anon.79bb3c928c700381b2b6469513cfb7a6.2, ptr nonnull align 1 @anon.79bb3c928c700381b2b6469513cfb7a6.3, i64 9, ptr nonnull align 1 %3, ptr nonnull align 8 @anon.79bb3c928c700381b2b6469513cfb7a6.4) ret i1 %5 diff --git a/bench/regex-rs/optimized/3an2zixf0miql8u8.ll b/bench/regex-rs/optimized/3an2zixf0miql8u8.ll index 337a18d2856..371265dd3b0 100644 --- a/bench/regex-rs/optimized/3an2zixf0miql8u8.ll +++ b/bench/regex-rs/optimized/3an2zixf0miql8u8.ll @@ -5,7 +5,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: write) uwtable define void @_ZN4core4iter6traits8iterator8Iterator9enumerate17h62d27ad96c30f71fE(ptr nocapture writeonly sret({ i64, { { [4 x i8], { i8, i8 } } }, [2 x i8] }) align 8 %0, i48 %1) unnamed_addr #0 { - %3 = getelementptr inbounds { i64, { { [4 x i8], { i8, i8 } } }, [2 x i8] }, ptr %0, i64 0, i32 1 + %3 = getelementptr inbounds i8, ptr %0, i64 8 store i48 %1, ptr %3, align 8 store i64 0, ptr %0, align 8 ret void diff --git a/bench/regex-rs/optimized/3gr36vt90wvdmv67.ll b/bench/regex-rs/optimized/3gr36vt90wvdmv67.ll index f98d0ad9b40..5bae4d71436 100644 --- a/bench/regex-rs/optimized/3gr36vt90wvdmv67.ll +++ b/bench/regex-rs/optimized/3gr36vt90wvdmv67.ll @@ -6,7 +6,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nonlazybind uwtable define zeroext i1 @"_ZN42_$LT$$RF$T$u20$as$u20$core..fmt..Debug$GT$3fmt17h3a83ac9887a5ef89E"(ptr nocapture readonly align 8 %0, ptr align 8 %1) unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !nonnull !5, !align !6, !noundef !5 - %4 = getelementptr inbounds { ptr, i64 }, ptr %0, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i64, ptr %4, align 8, !noundef !5 %6 = tail call zeroext i1 @"_ZN48_$LT$$u5b$T$u5d$$u20$as$u20$core..fmt..Debug$GT$3fmt17h05167764903fb680E"(ptr nonnull align 8 %3, i64 %5, ptr align 8 %1) ret i1 %6 diff --git a/bench/regex-rs/optimized/3teyp2y6p9k5zoa6.ll b/bench/regex-rs/optimized/3teyp2y6p9k5zoa6.ll index ed2c86aa08c..e7a9320871f 100644 --- a/bench/regex-rs/optimized/3teyp2y6p9k5zoa6.ll +++ b/bench/regex-rs/optimized/3teyp2y6p9k5zoa6.ll @@ -6,7 +6,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nonlazybind uwtable define noundef nonnull align 8 ptr @"_ZN3std3sys6common12thread_local4lazy21LazyKeyInner$LT$T$GT$10initialize17h1e91619465a654f7E"(ptr writeonly align 8 %0, ptr align 8 %1) unnamed_addr #0 personality ptr @rust_eh_personality { %3 = tail call i64 @"_ZN14regex_automata4util4pool5inner9THREAD_ID7__getit28_$u7b$$u7b$closure$u7d$$u7d$17hd8c2c73f99a47191E"(ptr align 8 %1) - %4 = getelementptr inbounds { i64, i64 }, ptr %0, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %0, i64 8 store i64 1, ptr %0, align 8 store i64 %3, ptr %4, align 8 ret ptr %4 diff --git a/bench/regex-rs/optimized/3u1ijd21feqbo7f8.ll b/bench/regex-rs/optimized/3u1ijd21feqbo7f8.ll index 50bfcfc2e70..f2601d151b1 100644 --- a/bench/regex-rs/optimized/3u1ijd21feqbo7f8.ll +++ b/bench/regex-rs/optimized/3u1ijd21feqbo7f8.ll @@ -37,7 +37,7 @@ define i8 @"_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$20binary_search_by_key2 tail call void @llvm.assume(i1 %5) %6 = tail call i8 @"_ZN14regex_automata3nfa8thompson12literal_trie11LiteralTrie16get_or_add_state28_$u7b$$u7b$closure$u7d$$u7d$17h57ebecdaa44af160E"(ptr nonnull align 1 %4, ptr nonnull align 4 %1) store i8 %6, ptr %3, align 1 - %7 = getelementptr inbounds { ptr, ptr }, ptr %0, i64 0, i32 1 + %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !nonnull !5, !align !6, !noundef !5 %9 = call i8 @"_ZN4core3cmp5impls47_$LT$impl$u20$core..cmp..Ord$u20$for$u20$u8$GT$3cmp17hb9d135c4a56d0950E"(ptr nonnull align 1 %3, ptr nonnull align 1 %8), !range !7 ret i8 %9 diff --git a/bench/regex-rs/optimized/3wryzpxl9e06751v.ll b/bench/regex-rs/optimized/3wryzpxl9e06751v.ll index 9f2efd62b75..98b32347987 100644 --- a/bench/regex-rs/optimized/3wryzpxl9e06751v.ll +++ b/bench/regex-rs/optimized/3wryzpxl9e06751v.ll @@ -20,7 +20,7 @@ define hidden { ptr, i64 } @"_ZN12aho_corasick4util6search106_$LT$impl$u20$core. ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable define hidden noundef zeroext i1 @_ZN12aho_corasick4util6search5Input12get_anchored17h85ec550568b3daa4E(ptr nocapture readonly align 8 %0) unnamed_addr #1 { - %2 = getelementptr inbounds { { i64, i64 }, { ptr, i64 }, i8, i8, [6 x i8] }, ptr %0, i64 0, i32 2 + %2 = getelementptr inbounds i8, ptr %0, i64 32 %3 = load i8, ptr %2, align 8, !range !5, !noundef !6 %4 = icmp ne i8 %3, 0 ret i1 %4 @@ -28,7 +28,7 @@ define hidden noundef zeroext i1 @_ZN12aho_corasick4util6search5Input12get_ancho ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable define hidden void @_ZN12aho_corasick4util6search5Input8anchored17hdfddad9e03939e4aE(ptr nocapture writeonly sret({ { i64, i64 }, { ptr, i64 }, i8, i8, [6 x i8] }) align 8 %0, ptr nocapture align 8 %1, i1 zeroext %2) unnamed_addr #2 { - %4 = getelementptr inbounds { { i64, i64 }, { ptr, i64 }, i8, i8, [6 x i8] }, ptr %1, i64 0, i32 2 + %4 = getelementptr inbounds i8, ptr %1, i64 32 %5 = zext i1 %2 to i8 store i8 %5, ptr %4, align 8 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef nonnull align 8 dereferenceable(40) %1, i64 40, i1 false) diff --git a/bench/regex-rs/optimized/3y98h5kyuvxjkkc4.ll b/bench/regex-rs/optimized/3y98h5kyuvxjkkc4.ll index b99f00cfe29..8b646388238 100644 --- a/bench/regex-rs/optimized/3y98h5kyuvxjkkc4.ll +++ b/bench/regex-rs/optimized/3y98h5kyuvxjkkc4.ll @@ -58,7 +58,7 @@ define zeroext i1 @"_ZN67_$LT$alloc..boxed..Box$LT$T$C$A$GT$$u20$as$u20$core..fm ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable define { ptr, i64 } @"_ZN74_$LT$alloc..boxed..Box$LT$T$C$A$GT$$u20$as$u20$core..ops..deref..Deref$GT$5deref17h66c6501bf066fcbeE"(ptr nocapture readonly align 8 %0) unnamed_addr #2 { %2 = load ptr, ptr %0, align 8, !nonnull !5, !align !7, !noundef !5 - %3 = getelementptr inbounds { ptr, i64 }, ptr %0, i64 0, i32 1 + %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !noundef !5 %5 = insertvalue { ptr, i64 } poison, ptr %2, 0 %6 = insertvalue { ptr, i64 } %5, i64 %4, 1 @@ -71,7 +71,7 @@ define { ptr, i64 } @"_ZN79_$LT$alloc..boxed..Box$LT$$u5b$T$u5d$$C$A$GT$$u20$as$ %3 = getelementptr i8, ptr %0, i64 16 tail call void @"_ZN59_$LT$alloc..alloc..Global$u20$as$u20$core..clone..Clone$GT$5clone17hec502b0374b37229E"(ptr align 1 %3) %4 = load ptr, ptr %0, align 8, !nonnull !5, !align !7, !noundef !5 - %5 = getelementptr inbounds { ptr, i64 }, ptr %0, i64 0, i32 1 + %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load i64, ptr %5, align 8, !noundef !5 call void @"_ZN52_$LT$T$u20$as$u20$alloc..slice..hack..ConvertVec$GT$6to_vec17h2eaf21e8ab3eaf70E"(ptr nonnull sret({ { ptr, i64 }, i64 }) align 8 %2, ptr nonnull align 1 %4, i64 %6) %7 = call { ptr, i64 } @"_ZN5alloc3vec16Vec$LT$T$C$A$GT$16into_boxed_slice17h9e7aad1b095d0168E"(ptr nonnull align 8 %2) diff --git a/bench/regex-rs/optimized/3z1xpyai8zv9m9fp.ll b/bench/regex-rs/optimized/3z1xpyai8zv9m9fp.ll index 6c1a99d7020..98827e310c5 100644 --- a/bench/regex-rs/optimized/3z1xpyai8zv9m9fp.ll +++ b/bench/regex-rs/optimized/3z1xpyai8zv9m9fp.ll @@ -197,9 +197,9 @@ define void @"_ZN5alloc5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$6to_vec17h00a9924ad5 ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: write) uwtable define void @"_ZN5alloc5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$8into_vec17h1e22e2c6735d27e4E"(ptr nocapture writeonly sret({ { ptr, i64 }, i64 }) align 8 %0, ptr align 1 %1, i64 %2) unnamed_addr #1 { store ptr %1, ptr %0, align 8 - %4 = getelementptr inbounds { ptr, i64 }, ptr %0, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %2, ptr %4, align 8 - %5 = getelementptr inbounds { { ptr, i64 }, i64 }, ptr %0, i64 0, i32 1 + %5 = getelementptr inbounds i8, ptr %0, i64 16 store i64 %2, ptr %5, align 8 ret void } diff --git a/bench/regex-rs/optimized/3z502kk30l0em2ea.ll b/bench/regex-rs/optimized/3z502kk30l0em2ea.ll index a4ac1205272..f519649cf67 100644 --- a/bench/regex-rs/optimized/3z502kk30l0em2ea.ll +++ b/bench/regex-rs/optimized/3z502kk30l0em2ea.ll @@ -5,7 +5,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint nonlazybind uwtable define { i64, ptr } @"_ZN108_$LT$core..iter..adapters..filter..Filter$LT$I$C$P$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hac6c62c56ffc54ceE"(ptr align 8 %0) unnamed_addr #0 { - %2 = getelementptr inbounds { { { ptr, ptr }, i64 }, {} }, ptr %0, i64 0, i32 1 + %2 = getelementptr inbounds i8, ptr %0, i64 24 %3 = tail call { i64, ptr } @_ZN4core4iter6traits8iterator8Iterator4find17hdb705c15242e2ac4E(ptr align 8 %0, ptr nonnull align 1 %2) ret { i64, ptr } %3 } diff --git a/bench/regex-rs/optimized/3zk0lu6keb29vihe.ll b/bench/regex-rs/optimized/3zk0lu6keb29vihe.ll index d4c4c397fdd..e28251dc649 100644 --- a/bench/regex-rs/optimized/3zk0lu6keb29vihe.ll +++ b/bench/regex-rs/optimized/3zk0lu6keb29vihe.ll @@ -8,9 +8,9 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nonlazybind uwtable define { i8, i8 } @"_ZN4core6escape24EscapeIterInner$LT$_$GT$4next17hc52dfa0b116e0b5aE"(ptr nocapture align 1 %0) unnamed_addr #0 { - %2 = getelementptr inbounds { [4 x i8], { i8, i8 } }, ptr %0, i64 0, i32 1 + %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = load i8, ptr %2, align 1, !noundef !5 - %4 = getelementptr inbounds { [4 x i8], { i8, i8 } }, ptr %0, i64 0, i32 1, i32 1 + %4 = getelementptr inbounds i8, ptr %0, i64 5 %5 = load i8, ptr %4, align 1, !noundef !5 %.not = icmp ult i8 %3, %5 br i1 %.not, label %6, label %.critedge diff --git a/bench/regex-rs/optimized/3zkth7069hy28kw8.ll b/bench/regex-rs/optimized/3zkth7069hy28kw8.ll index c3c47900cf0..8b406915c7e 100644 --- a/bench/regex-rs/optimized/3zkth7069hy28kw8.ll +++ b/bench/regex-rs/optimized/3zkth7069hy28kw8.ll @@ -5,7 +5,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable define hidden i64 @"_ZN78_$LT$regex_syntax..ast..parse..ParserBuilder$u20$as$u20$core..clone..Clone$GT$5clone17h2b42714d617d93a6E"(ptr nocapture readonly align 4 %0) unnamed_addr #0 { - %2 = getelementptr inbounds { i32, i8, i8, [2 x i8] }, ptr %0, i64 0, i32 1 + %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = load i16, ptr %2, align 4 %4 = zext i16 %3 to i64 %5 = shl nuw nsw i64 %4, 32 diff --git a/bench/regex-rs/optimized/43pf4qap0cq18nmz.ll b/bench/regex-rs/optimized/43pf4qap0cq18nmz.ll index 9e38392b01a..aca861fb9b8 100644 --- a/bench/regex-rs/optimized/43pf4qap0cq18nmz.ll +++ b/bench/regex-rs/optimized/43pf4qap0cq18nmz.ll @@ -6,7 +6,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable define hidden { i8, i8 } @"_ZN68_$LT$regex_syntax..utf8..Utf8Range$u20$as$u20$core..clone..Clone$GT$5clone17h73046c43d0b71f2fE"(ptr nocapture readonly align 1 %0) unnamed_addr #0 { %2 = load i8, ptr %0, align 1, !noundef !5 - %3 = getelementptr inbounds { i8, i8 }, ptr %0, i64 0, i32 1 + %3 = getelementptr inbounds i8, ptr %0, i64 1 %4 = load i8, ptr %3, align 1, !noundef !5 %5 = insertvalue { i8, i8 } poison, i8 %2, 0 %6 = insertvalue { i8, i8 } %5, i8 %4, 1 diff --git a/bench/regex-rs/optimized/45sf1x22iourq6wa.ll b/bench/regex-rs/optimized/45sf1x22iourq6wa.ll index b2b481d88de..e761f0a7338 100644 --- a/bench/regex-rs/optimized/45sf1x22iourq6wa.ll +++ b/bench/regex-rs/optimized/45sf1x22iourq6wa.ll @@ -15,7 +15,7 @@ define hidden { i64, i64 } @"_ZN146_$LT$core..ops..range..Range$LT$usize$GT$$u20 %4 = alloca { i64, { i64, i64 } }, align 8 %5 = alloca { i64, i64 }, align 8 store i64 %0, ptr %5, align 8 - %6 = getelementptr inbounds { i64, i64 }, ptr %5, i64 0, i32 1 + %6 = getelementptr inbounds i8, ptr %5, i64 8 store i64 %1, ptr %6, align 8 call void @"_ZN4core4iter5range101_$LT$impl$u20$core..iter..traits..iterator..Iterator$u20$for$u20$core..ops..range..Range$LT$A$GT$$GT$9size_hint17h602a9aa4cce1f03bE"(ptr nonnull sret({ i64, { i64, i64 } }) align 8 %4, ptr nonnull align 8 %5) %7 = load i64, ptr %4, align 8, !noundef !5 diff --git a/bench/regex-rs/optimized/47zdt95temv3j4xs.ll b/bench/regex-rs/optimized/47zdt95temv3j4xs.ll index 17fd8795f1d..2dd86eecfd9 100644 --- a/bench/regex-rs/optimized/47zdt95temv3j4xs.ll +++ b/bench/regex-rs/optimized/47zdt95temv3j4xs.ll @@ -8,10 +8,10 @@ define hidden void @"_ZN4core3str21_$LT$impl$u20$str$GT$12char_indices17h4495e2d %4 = getelementptr inbounds i8, ptr %1, i64 %2 %5 = icmp ne ptr %1, null tail call void @llvm.assume(i1 %5) - %6 = getelementptr inbounds { { ptr, ptr }, i64 }, ptr %0, i64 0, i32 1 + %6 = getelementptr inbounds i8, ptr %0, i64 16 store i64 0, ptr %6, align 8 store ptr %1, ptr %0, align 8 - %7 = getelementptr inbounds { ptr, ptr }, ptr %0, i64 0, i32 1 + %7 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %4, ptr %7, align 8 ret void } diff --git a/bench/regex-rs/optimized/4biblbf8adn48vk6.ll b/bench/regex-rs/optimized/4biblbf8adn48vk6.ll index bc50c478055..7bcee283d46 100644 --- a/bench/regex-rs/optimized/4biblbf8adn48vk6.ll +++ b/bench/regex-rs/optimized/4biblbf8adn48vk6.ll @@ -25,7 +25,7 @@ define zeroext i1 @"_ZN4core4iter6traits8iterator8Iterator3all5check28_$u7b$$u7b define { i64, ptr } @"_ZN4core4iter6traits8iterator8Iterator4find5check28_$u7b$$u7b$closure$u7d$$u7d$17h609455584eac14c4E"(ptr align 8 %0, i64 %1, ptr align 4 %2) unnamed_addr #0 personality ptr @rust_eh_personality { %4 = alloca { i64, ptr }, align 8 store i64 %1, ptr %4, align 8 - %5 = getelementptr inbounds { i64, ptr }, ptr %4, i64 0, i32 1 + %5 = getelementptr inbounds i8, ptr %4, i64 8 store ptr %2, ptr %5, align 8 %6 = call zeroext i1 @"_ZN4core3ops8function5impls79_$LT$impl$u20$core..ops..function..FnMut$LT$A$GT$$u20$for$u20$$RF$mut$u20$F$GT$8call_mut17h8c3190a0e96172e7E"(ptr align 8 %0, ptr nonnull align 8 %4) %7 = load i64, ptr %4, align 8 diff --git a/bench/regex-rs/optimized/4e0d86ph2jiywitl.ll b/bench/regex-rs/optimized/4e0d86ph2jiywitl.ll index 5e6ced7173e..fda2e7a0f3a 100644 --- a/bench/regex-rs/optimized/4e0d86ph2jiywitl.ll +++ b/bench/regex-rs/optimized/4e0d86ph2jiywitl.ll @@ -6,7 +6,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable define hidden { i32, i32 } @"_ZN75_$LT$memchr..arch..all..rabinkarp..Finder$u20$as$u20$core..clone..Clone$GT$5clone17h218b275cd7936cf5E"(ptr nocapture readonly align 4 %0) unnamed_addr #0 { %.val = load i32, ptr %0, align 4, !noundef !5 - %2 = getelementptr inbounds { i32, i32 }, ptr %0, i64 0, i32 1 + %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = load i32, ptr %2, align 4, !noundef !5 %4 = insertvalue { i32, i32 } poison, i32 %.val, 0 %5 = insertvalue { i32, i32 } %4, i32 %3, 1 diff --git a/bench/regex-rs/optimized/4ie59u4lyhzgqesi.ll b/bench/regex-rs/optimized/4ie59u4lyhzgqesi.ll index 0dca0107b51..343b6d348c8 100644 --- a/bench/regex-rs/optimized/4ie59u4lyhzgqesi.ll +++ b/bench/regex-rs/optimized/4ie59u4lyhzgqesi.ll @@ -14,9 +14,9 @@ define void @"_ZN3std6thread5local17LocalKey$LT$T$GT$8try_with17hc610310a04f3690 %7 = tail call { i64, i64 } @"_ZN3std11collections4hash3map11RandomState3new28_$u7b$$u7b$closure$u7d$$u7d$17h661ea0b4c5399b7fE"(ptr nonnull align 8 %4) %8 = extractvalue { i64, i64 } %7, 0 %9 = extractvalue { i64, i64 } %7, 1 - %10 = getelementptr inbounds { [1 x i64], { i64, i64 } }, ptr %0, i64 0, i32 1 + %10 = getelementptr inbounds i8, ptr %0, i64 8 store i64 %8, ptr %10, align 8 - %11 = getelementptr inbounds { [1 x i64], { i64, i64 } }, ptr %0, i64 0, i32 1, i32 1 + %11 = getelementptr inbounds i8, ptr %0, i64 16 store i64 %9, ptr %11, align 8 br label %12 diff --git a/bench/regex-rs/optimized/4jbmkk40gajqk66t.ll b/bench/regex-rs/optimized/4jbmkk40gajqk66t.ll index 962488c14ca..83bdd59c572 100644 --- a/bench/regex-rs/optimized/4jbmkk40gajqk66t.ll +++ b/bench/regex-rs/optimized/4jbmkk40gajqk66t.ll @@ -12,7 +12,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint nonlazybind uwtable define hidden zeroext i1 @"_ZN64_$LT$core..str..error..Utf8Error$u20$as$u20$core..fmt..Debug$GT$3fmt17h4f125efcfacf348dE"(ptr align 8 %0, ptr align 8 %1) unnamed_addr #0 { %3 = alloca ptr, align 8 - %4 = getelementptr inbounds { i64, { i8, i8 }, [6 x i8] }, ptr %0, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %4, ptr %3, align 8 %5 = call zeroext i1 @_ZN4core3fmt9Formatter26debug_struct_field2_finish17h976633cb9325d9dfE(ptr align 8 %1, ptr nonnull align 1 @anon.c130ed4038da247eaf5914dcde150fb2.0, i64 9, ptr nonnull align 1 @anon.c130ed4038da247eaf5914dcde150fb2.1, i64 11, ptr align 1 %0, ptr nonnull align 8 @anon.c130ed4038da247eaf5914dcde150fb2.2, ptr nonnull align 1 @anon.c130ed4038da247eaf5914dcde150fb2.3, i64 9, ptr nonnull align 1 %3, ptr nonnull align 8 @anon.c130ed4038da247eaf5914dcde150fb2.4) ret i1 %5 diff --git a/bench/regex-rs/optimized/4nqxanihj1936fod.ll b/bench/regex-rs/optimized/4nqxanihj1936fod.ll index 33d9590c611..b9ac7b1ae19 100644 --- a/bench/regex-rs/optimized/4nqxanihj1936fod.ll +++ b/bench/regex-rs/optimized/4nqxanihj1936fod.ll @@ -11,7 +11,7 @@ define void @_ZN14regex_automata4util9prefilter6memmem6Memmem3new17h0b0c6ca2b597 br i1 %7, label %10, label %8 8: ; preds = %4 - %9 = getelementptr inbounds { [32 x i64], i64, [3 x i64] }, ptr %0, i64 0, i32 1 + %9 = getelementptr inbounds i8, ptr %0, i64 256 store i64 2, ptr %9, align 32 br label %14 @@ -36,7 +36,7 @@ define void @_ZN14regex_automata4util9prefilter6memmem6Memmem3new17hfeac8dea2165 br i1 %7, label %10, label %8 8: ; preds = %4 - %9 = getelementptr inbounds { [32 x i64], i64, [3 x i64] }, ptr %0, i64 0, i32 1 + %9 = getelementptr inbounds i8, ptr %0, i64 256 store i64 2, ptr %9, align 32 br label %14 diff --git a/bench/regex-rs/optimized/4olxe9b37s79ikpq.ll b/bench/regex-rs/optimized/4olxe9b37s79ikpq.ll index 3a494758966..759b88e47bf 100644 --- a/bench/regex-rs/optimized/4olxe9b37s79ikpq.ll +++ b/bench/regex-rs/optimized/4olxe9b37s79ikpq.ll @@ -11,7 +11,7 @@ define hidden { i64, i64 } @_ZN4core5slice4sort10merge_sort8collapse17hedf23f270 5: ; preds = %3 %6 = add i64 %1, -1 %7 = getelementptr inbounds [0 x { i64, i64 }], ptr %0, i64 0, i64 %6 - %8 = getelementptr inbounds [0 x { i64, i64 }], ptr %0, i64 0, i64 %6, i32 1 + %8 = getelementptr inbounds i8, ptr %7, i64 8 %9 = load i64, ptr %8, align 8, !noundef !5 %10 = load i64, ptr %7, align 8, !noundef !5 %11 = add i64 %10, %9 diff --git a/bench/regex-rs/optimized/4pa8j7jfouxios37.ll b/bench/regex-rs/optimized/4pa8j7jfouxios37.ll index aeac0d300aa..227f1f5bf61 100644 --- a/bench/regex-rs/optimized/4pa8j7jfouxios37.ll +++ b/bench/regex-rs/optimized/4pa8j7jfouxios37.ll @@ -112,7 +112,7 @@ define void @_ZN14regex_automata4util9prefilter5teddy5Teddy3new17h454029e1f06636 to label %47 unwind label %35 47: ; preds = %46 - %48 = getelementptr inbounds { [416 x i8], i8, [7 x i8] }, ptr %8, i64 0, i32 1 + %48 = getelementptr inbounds i8, ptr %8, i64 416 %49 = load i8, ptr %48, align 8, !range !6, !noundef !5 %.not8 = icmp eq i8 %49, 3 br i1 %.not8, label %51, label %50 @@ -242,7 +242,7 @@ define void @_ZN14regex_automata4util9prefilter5teddy5Teddy3new17h47b999ea4db4a7 to label %47 unwind label %35 47: ; preds = %46 - %48 = getelementptr inbounds { [416 x i8], i8, [7 x i8] }, ptr %8, i64 0, i32 1 + %48 = getelementptr inbounds i8, ptr %8, i64 416 %49 = load i8, ptr %48, align 8, !range !6, !noundef !5 %.not8 = icmp eq i8 %49, 3 br i1 %.not8, label %51, label %50 diff --git a/bench/regex-rs/optimized/4qaq22bvipuvpuzt.ll b/bench/regex-rs/optimized/4qaq22bvipuvpuzt.ll index e8e2e4470e3..5656d755b3d 100644 --- a/bench/regex-rs/optimized/4qaq22bvipuvpuzt.ll +++ b/bench/regex-rs/optimized/4qaq22bvipuvpuzt.ll @@ -12,7 +12,7 @@ define noundef i32 @"_ZN103_$LT$core..iter..sources..repeat..Repeat$LT$A$GT$$u20 ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: write) uwtable define void @"_ZN103_$LT$core..iter..sources..repeat..Repeat$LT$A$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$9size_hint17h2c5809d4bbb0d8d3E"(ptr nocapture writeonly sret({ i64, { i64, i64 } }) align 8 %0, ptr nocapture readnone align 4 %1) unnamed_addr #1 { store i64 -1, ptr %0, align 8 - %3 = getelementptr inbounds { i64, { i64, i64 } }, ptr %0, i64 0, i32 1 + %3 = getelementptr inbounds i8, ptr %0, i64 8 store i64 0, ptr %3, align 8 ret void } diff --git a/bench/regex-rs/optimized/4wxaoh9hv1inofg1.ll b/bench/regex-rs/optimized/4wxaoh9hv1inofg1.ll index 373e9e5a678..041dbddb234 100644 --- a/bench/regex-rs/optimized/4wxaoh9hv1inofg1.ll +++ b/bench/regex-rs/optimized/4wxaoh9hv1inofg1.ll @@ -61,7 +61,7 @@ define void @_ZN4core4iter6traits8iterator8Iterator8for_each17he363a6612178bd6dE define void @"_ZN4core4iter8adapters3map8map_fold28_$u7b$$u7b$closure$u7d$$u7d$17h0a5bfc4c6f86b803E"(ptr align 8 %0, ptr align 1 %1, i64 %2) unnamed_addr #1 personality ptr @rust_eh_personality { %4 = alloca { { { ptr, i64 }, i64 } }, align 8 %5 = alloca { {}, { { { ptr, i64 }, i64 } } }, align 8 - %6 = getelementptr inbounds { { { { ptr, i64 }, ptr } }, {} }, ptr %0, i64 0, i32 1 + %6 = getelementptr inbounds i8, ptr %0, i64 24 %7 = icmp ne ptr %1, null tail call void @llvm.assume(i1 %7) call void @"_ZN5regex8builders7Builder3new28_$u7b$$u7b$closure$u7d$$u7d$17h679ef932da954ef9E"(ptr nonnull sret({ { { ptr, i64 }, i64 } }) align 8 %4, ptr nonnull align 1 %6, ptr nonnull align 1 %1, i64 %2) @@ -74,7 +74,7 @@ define void @"_ZN4core4iter8adapters3map8map_fold28_$u7b$$u7b$closure$u7d$$u7d$1 define void @"_ZN4core4iter8adapters3map8map_fold28_$u7b$$u7b$closure$u7d$$u7d$17hc2513a4cbdbed4c9E"(ptr align 8 %0, ptr align 1 %1, i64 %2) unnamed_addr #1 personality ptr @rust_eh_personality { %4 = alloca { { { ptr, i64 }, i64 } }, align 8 %5 = alloca { {}, { { { ptr, i64 }, i64 } } }, align 8 - %6 = getelementptr inbounds { { { { ptr, i64 }, ptr } }, {} }, ptr %0, i64 0, i32 1 + %6 = getelementptr inbounds i8, ptr %0, i64 24 %7 = icmp ne ptr %1, null tail call void @llvm.assume(i1 %7) call void @"_ZN5regex8builders7Builder3new28_$u7b$$u7b$closure$u7d$$u7d$17h136273d3ae68ca0eE"(ptr nonnull sret({ { { ptr, i64 }, i64 } }) align 8 %4, ptr nonnull align 1 %6, ptr nonnull align 1 %1, i64 %2) diff --git a/bench/regex-rs/optimized/4yjbi5f5kvj63alx.ll b/bench/regex-rs/optimized/4yjbi5f5kvj63alx.ll index fd486da1120..cada9ed0176 100644 --- a/bench/regex-rs/optimized/4yjbi5f5kvj63alx.ll +++ b/bench/regex-rs/optimized/4yjbi5f5kvj63alx.ll @@ -5,7 +5,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable define i64 @"_ZN5alloc3vec13in_place_drop20InPlaceDrop$LT$T$GT$3len17h11c2f8205ff5631aE"(ptr nocapture readonly align 8 %0) unnamed_addr #0 { - %2 = getelementptr inbounds { ptr, ptr }, ptr %0, i64 0, i32 1 + %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !noundef !5 %4 = load ptr, ptr %0, align 8, !noundef !5 %5 = ptrtoint ptr %3 to i64 @@ -17,7 +17,7 @@ define i64 @"_ZN5alloc3vec13in_place_drop20InPlaceDrop$LT$T$GT$3len17h11c2f8205f ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable define i64 @"_ZN5alloc3vec13in_place_drop20InPlaceDrop$LT$T$GT$3len17he2f843b84a79c81aE"(ptr nocapture readonly align 8 %0) unnamed_addr #0 { - %2 = getelementptr inbounds { ptr, ptr }, ptr %0, i64 0, i32 1 + %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !noundef !5 %4 = load ptr, ptr %0, align 8, !noundef !5 %5 = ptrtoint ptr %3 to i64 diff --git a/bench/regex-rs/optimized/4zejx27xpszt3t0m.ll b/bench/regex-rs/optimized/4zejx27xpszt3t0m.ll index 44b40df216a..e79841b8411 100644 --- a/bench/regex-rs/optimized/4zejx27xpszt3t0m.ll +++ b/bench/regex-rs/optimized/4zejx27xpszt3t0m.ll @@ -13,9 +13,9 @@ define void @"_ZN104_$LT$core..iter..adapters..cloned..Cloned$LT$I$GT$$u20$as$u2 ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: write) uwtable define void @_ZN4core4iter6traits8iterator8Iterator9enumerate17hb57ceef6050a6e6bE(ptr nocapture writeonly sret({ { ptr, ptr }, i64 }) align 8 %0, ptr %1, ptr %2) unnamed_addr #1 { store ptr %1, ptr %0, align 8 - %4 = getelementptr inbounds { ptr, ptr }, ptr %0, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %2, ptr %4, align 8 - %5 = getelementptr inbounds { { ptr, ptr }, i64 }, ptr %0, i64 0, i32 1 + %5 = getelementptr inbounds i8, ptr %0, i64 16 store i64 0, ptr %5, align 8 ret void } diff --git a/bench/regex-rs/optimized/4zohxd7ez2qa28mj.ll b/bench/regex-rs/optimized/4zohxd7ez2qa28mj.ll index c0d5530cb04..eae0ba00ca4 100644 --- a/bench/regex-rs/optimized/4zohxd7ez2qa28mj.ll +++ b/bench/regex-rs/optimized/4zohxd7ez2qa28mj.ll @@ -7,7 +7,7 @@ target triple = "x86_64-unknown-linux-gnu" define void @_ZN4core4iter6traits8iterator8Iterator8try_fold17h23edc80b7fc289faE(ptr align 8 %0, ptr align 8 %1, ptr align 8 %2) unnamed_addr #0 personality ptr @rust_eh_personality { %4 = alloca { ptr, ptr }, align 8 store ptr %1, ptr %4, align 8 - %5 = getelementptr inbounds { ptr, ptr }, ptr %4, i64 0, i32 1 + %5 = getelementptr inbounds i8, ptr %4, i64 8 store ptr %2, ptr %5, align 8 %6 = tail call { i64, i64 } @"_ZN93_$LT$core..ops..index_range..IndexRange$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h8fed7b1bfe6fd819E"(ptr align 8 %0) %.fca.0.extract3 = extractvalue { i64, i64 } %6, 0 @@ -33,7 +33,7 @@ define void @_ZN4core4iter6traits8iterator8Iterator8try_fold17h23edc80b7fc289faE define void @_ZN4core4iter6traits8iterator8Iterator8try_fold17h29125e56516c16d5E(ptr align 8 %0, ptr align 8 %1, ptr align 8 %2) unnamed_addr #0 personality ptr @rust_eh_personality { %4 = alloca { ptr, ptr }, align 8 store ptr %1, ptr %4, align 8 - %5 = getelementptr inbounds { ptr, ptr }, ptr %4, i64 0, i32 1 + %5 = getelementptr inbounds i8, ptr %4, i64 8 store ptr %2, ptr %5, align 8 %6 = tail call { i64, i64 } @"_ZN93_$LT$core..ops..index_range..IndexRange$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h8fed7b1bfe6fd819E"(ptr align 8 %0) %.fca.0.extract3 = extractvalue { i64, i64 } %6, 0 diff --git a/bench/regex-rs/optimized/502v72piu9ppp8bi.ll b/bench/regex-rs/optimized/502v72piu9ppp8bi.ll index fd7e0f68cbd..4e44762f4f5 100644 --- a/bench/regex-rs/optimized/502v72piu9ppp8bi.ll +++ b/bench/regex-rs/optimized/502v72piu9ppp8bi.ll @@ -5,7 +5,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint nonlazybind uwtable define hidden zeroext i1 @"_ZN4core3fmt3num52_$LT$impl$u20$core..fmt..Debug$u20$for$u20$usize$GT$3fmt17hb199f528e9c6bde0E"(ptr align 8 %0, ptr align 8 %1) unnamed_addr #0 { - %3 = getelementptr inbounds { { i64, i64 }, { i64, i64 }, { ptr, ptr }, i32, i32, i8, [7 x i8] }, ptr %1, i64 0, i32 4 + %3 = getelementptr inbounds i8, ptr %1, i64 52 %4 = load i32, ptr %3, align 4, !noundef !5 %5 = and i32 %4, 16 %6 = icmp eq i32 %5, 0 diff --git a/bench/regex-rs/optimized/50twtxmw8ox5h9nz.ll b/bench/regex-rs/optimized/50twtxmw8ox5h9nz.ll index 10def575661..710c35b4e92 100644 --- a/bench/regex-rs/optimized/50twtxmw8ox5h9nz.ll +++ b/bench/regex-rs/optimized/50twtxmw8ox5h9nz.ll @@ -17,9 +17,9 @@ define hidden void @"_ZN87_$LT$aho_corasick..nfa..noncontiguous..Transition$u20$ %2 = tail call i32 @"_ZN82_$LT$aho_corasick..util..primitives..StateID$u20$as$u20$core..default..Default$GT$7default17h7579e07e3ed1072cE"() %3 = tail call i32 @"_ZN82_$LT$aho_corasick..util..primitives..StateID$u20$as$u20$core..default..Default$GT$7default17h7579e07e3ed1072cE"() store i8 0, ptr %0, align 1 - %4 = getelementptr inbounds <{ i8, i32, i32 }>, ptr %0, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %0, i64 1 store i32 %2, ptr %4, align 1 - %5 = getelementptr inbounds <{ i8, i32, i32 }>, ptr %0, i64 0, i32 2 + %5 = getelementptr inbounds i8, ptr %0, i64 5 store i32 %3, ptr %5, align 1 ret void } diff --git a/bench/regex-rs/optimized/5334zwjomjroyvjd.ll b/bench/regex-rs/optimized/5334zwjomjroyvjd.ll index 8127383be38..a87f3a9f419 100644 --- a/bench/regex-rs/optimized/5334zwjomjroyvjd.ll +++ b/bench/regex-rs/optimized/5334zwjomjroyvjd.ll @@ -15,7 +15,7 @@ define void @_ZN14regex_automata4util9prefilter7byteset7ByteSet3new17hc5d510ccb9 %11 = extractvalue { ptr, ptr } %10, 0 %12 = extractvalue { ptr, ptr } %10, 1 store ptr %11, ptr %5, align 8 - %13 = getelementptr inbounds { ptr, ptr }, ptr %5, i64 0, i32 1 + %13 = getelementptr inbounds i8, ptr %5, i64 8 store ptr %12, ptr %13, align 8 %14 = call align 8 ptr @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h724b670ee85a029aE"(ptr nonnull align 8 %5) %15 = icmp eq ptr %14, null @@ -62,7 +62,7 @@ define void @_ZN14regex_automata4util9prefilter7byteset7ByteSet3new17hf31a66b976 %11 = extractvalue { ptr, ptr } %10, 0 %12 = extractvalue { ptr, ptr } %10, 1 store ptr %11, ptr %5, align 8 - %13 = getelementptr inbounds { ptr, ptr }, ptr %5, i64 0, i32 1 + %13 = getelementptr inbounds i8, ptr %5, i64 8 store ptr %12, ptr %13, align 8 %14 = call align 8 ptr @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h4255ddfad53635a3E"(ptr nonnull align 8 %5) %15 = icmp eq ptr %14, null diff --git a/bench/regex-rs/optimized/5799z6vgkeizj2hs.ll b/bench/regex-rs/optimized/5799z6vgkeizj2hs.ll index f485ec9c058..5ee55cbec85 100644 --- a/bench/regex-rs/optimized/5799z6vgkeizj2hs.ll +++ b/bench/regex-rs/optimized/5799z6vgkeizj2hs.ll @@ -11,7 +11,7 @@ define hidden { i64, i64 } @_ZN4core5slice4sort10merge_sort8collapse17hffabeea75 5: ; preds = %3 %6 = add i64 %1, -1 %7 = getelementptr inbounds [0 x { i64, i64 }], ptr %0, i64 0, i64 %6 - %8 = getelementptr inbounds [0 x { i64, i64 }], ptr %0, i64 0, i64 %6, i32 1 + %8 = getelementptr inbounds i8, ptr %7, i64 8 %9 = load i64, ptr %8, align 8, !noundef !5 %10 = load i64, ptr %7, align 8, !noundef !5 %11 = add i64 %10, %9 diff --git a/bench/regex-rs/optimized/5851q1lozj4km9cq.ll b/bench/regex-rs/optimized/5851q1lozj4km9cq.ll index 62204546918..117318c077b 100644 --- a/bench/regex-rs/optimized/5851q1lozj4km9cq.ll +++ b/bench/regex-rs/optimized/5851q1lozj4km9cq.ll @@ -8,9 +8,9 @@ define void @"_ZN3std4sync5mutex14Mutex$LT$T$GT$3new17h2a6b004570de045aE"(ptr no %.sroa.04 = alloca { { ptr, i64 }, i64 }, align 8 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %.sroa.04, ptr noundef nonnull align 8 dereferenceable(24) %1, i64 24, i1 false) store i32 0, ptr %0, align 8 - %3 = getelementptr inbounds { { { i32 } }, { { i8 } }, [3 x i8], { { { ptr, i64 }, i64 } } }, ptr %0, i64 0, i32 1 + %3 = getelementptr inbounds i8, ptr %0, i64 4 store i8 0, ptr %3, align 4 - %4 = getelementptr inbounds { { { i32 } }, { { i8 } }, [3 x i8], { { { ptr, i64 }, i64 } } }, ptr %0, i64 0, i32 3 + %4 = getelementptr inbounds i8, ptr %0, i64 8 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %.sroa.04, i64 24, i1 false) ret void } diff --git a/bench/regex-rs/optimized/5aqo4j3o33bjqwdd.ll b/bench/regex-rs/optimized/5aqo4j3o33bjqwdd.ll index 88ea65bb450..1e416c6e66a 100644 --- a/bench/regex-rs/optimized/5aqo4j3o33bjqwdd.ll +++ b/bench/regex-rs/optimized/5aqo4j3o33bjqwdd.ll @@ -5,7 +5,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint nonlazybind uwtable define i32 @"_ZN115_$LT$core..iter..adapters..filter_map..FilterMap$LT$I$C$F$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h1bcf7546238df93eE"(ptr align 4 %0) unnamed_addr #0 { - %2 = getelementptr inbounds { { i32, i32, i8, [3 x i8] }, {} }, ptr %0, i64 0, i32 1 + %2 = getelementptr inbounds i8, ptr %0, i64 12 %3 = tail call i32 @_ZN4core4iter6traits8iterator8Iterator8find_map17h2221ae32f47e9038E(ptr align 4 %0, ptr nonnull align 1 %2), !range !5 ret i32 %3 } diff --git a/bench/regex-rs/optimized/5ct00004bdae9sso.ll b/bench/regex-rs/optimized/5ct00004bdae9sso.ll index 59a895800e2..47d386d100d 100644 --- a/bench/regex-rs/optimized/5ct00004bdae9sso.ll +++ b/bench/regex-rs/optimized/5ct00004bdae9sso.ll @@ -8,7 +8,7 @@ define hidden { ptr, i64 } @"_ZN82_$LT$alloc..sync..Arc$LT$str$GT$$u20$as$u20$co %3 = tail call { ptr, i64 } @"_ZN5alloc4sync22Arc$LT$$u5b$T$u5d$$GT$15copy_from_slice17hd31d03cf79bad4d7E"(ptr align 1 %0, i64 %1) %4 = extractvalue { ptr, i64 } %3, 0 %5 = extractvalue { ptr, i64 } %3, 1 - %6 = getelementptr inbounds { { i64 }, { i64 }, [0 x i8] }, ptr %4, i64 0, i32 2 + %6 = getelementptr inbounds i8, ptr %4, i64 16 %7 = icmp ne ptr %4, null tail call void @llvm.assume(i1 %7) %8 = tail call { ptr, i64 } @"_ZN5alloc4sync16Arc$LT$T$C$A$GT$11from_raw_in17ha39ed4286e2df449E"(ptr nonnull %6, i64 %5) diff --git a/bench/regex-rs/optimized/5gekrg1jkzgre82x.ll b/bench/regex-rs/optimized/5gekrg1jkzgre82x.ll index e26809b1248..3cd6e08121a 100644 --- a/bench/regex-rs/optimized/5gekrg1jkzgre82x.ll +++ b/bench/regex-rs/optimized/5gekrg1jkzgre82x.ll @@ -8,7 +8,7 @@ define void @_ZN5regex8builders6string12RegexBuilder3new17h20f9ab62f0d0516aE(ptr %4 = alloca [1 x { ptr, i64 }], align 8 %5 = alloca { { { i64, i64 }, { i64, i64 }, { i64, i64 }, { i64, i64 }, { i64, i64 }, { [16 x i8], i8, [7 x i8] }, { i8, i8 }, i8, i8, i8, i8, i8, i8, i8, i8, i8, [5 x i8] }, { i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, [2 x i8] }, { { ptr, i64 }, i64 } }, align 8 store ptr %1, ptr %4, align 8 - %6 = getelementptr inbounds { ptr, i64 }, ptr %4, i64 0, i32 1 + %6 = getelementptr inbounds i8, ptr %4, i64 8 store i64 %2, ptr %6, align 8 call void @_ZN5regex8builders7Builder3new17h1b70a2de55bbf53fE(ptr nonnull sret({ { { i64, i64 }, { i64, i64 }, { i64, i64 }, { i64, i64 }, { i64, i64 }, { [16 x i8], i8, [7 x i8] }, { i8, i8 }, i8, i8, i8, i8, i8, i8, i8, i8, i8, [5 x i8] }, { i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, [2 x i8] }, { { ptr, i64 }, i64 } }) align 8 %5, ptr nonnull align 8 %4) call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(160) %0, ptr noundef nonnull align 8 dereferenceable(160) %5, i64 160, i1 false) diff --git a/bench/regex-rs/optimized/5macqfxdak3cdut.ll b/bench/regex-rs/optimized/5macqfxdak3cdut.ll index df79606a255..00fef2a01b7 100644 --- a/bench/regex-rs/optimized/5macqfxdak3cdut.ll +++ b/bench/regex-rs/optimized/5macqfxdak3cdut.ll @@ -26,7 +26,7 @@ define void @_ZN12regex_syntax3ast7visitor7Visitor5start17hf7a676ca8c41104dE(ptr ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: write) uwtable define void @_ZN12regex_syntax3ast7visitor7Visitor15visit_concat_in17h81133ce9c0f52e4eE(ptr nocapture writeonly sret({ [72 x i8], i8, [7 x i8] }) align 8 %0, ptr nocapture readnone align 8 %1) unnamed_addr #3 { - %3 = getelementptr inbounds { [72 x i8], i8, [7 x i8] }, ptr %0, i64 0, i32 1 + %3 = getelementptr inbounds i8, ptr %0, i64 72 store i8 7, ptr %3, align 8 ret void } diff --git a/bench/regex-rs/optimized/5v2wqyojclloeos.ll b/bench/regex-rs/optimized/5v2wqyojclloeos.ll index 6b35020a408..bd44aab7e08 100644 --- a/bench/regex-rs/optimized/5v2wqyojclloeos.ll +++ b/bench/regex-rs/optimized/5v2wqyojclloeos.ll @@ -48,7 +48,7 @@ define zeroext i1 @"_ZN42_$LT$$RF$T$u20$as$u20$core..fmt..Debug$GT$3fmt17hda3a91 ; Function Attrs: nonlazybind uwtable define zeroext i1 @"_ZN44_$LT$$RF$T$u20$as$u20$core..fmt..Display$GT$3fmt17h075c4430a323fb6cE"(ptr nocapture readonly align 8 %0, ptr align 8 %1) unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !nonnull !5, !align !8, !noundef !5 - %4 = getelementptr inbounds { ptr, i64 }, ptr %0, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i64, ptr %4, align 8, !noundef !5 %6 = tail call zeroext i1 @"_ZN42_$LT$str$u20$as$u20$core..fmt..Display$GT$3fmt17h6451c4f4b912c48bE"(ptr nonnull align 1 %3, i64 %5, ptr align 8 %1) ret i1 %6 @@ -90,7 +90,7 @@ define zeroext i1 @"_ZN50_$LT$$RF$mut$u20$W$u20$as$u20$core..fmt..Write$GT$9writ ; Function Attrs: nonlazybind uwtable define zeroext i1 @"_ZN52_$LT$$RF$mut$u20$T$u20$as$u20$core..fmt..Display$GT$3fmt17hadd73758575b3208E"(ptr nocapture readonly align 8 %0, ptr align 8 %1) unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !nonnull !5, !align !8, !noundef !5 - %4 = getelementptr inbounds { ptr, i64 }, ptr %0, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i64, ptr %4, align 8, !noundef !5 %6 = tail call zeroext i1 @"_ZN42_$LT$str$u20$as$u20$core..fmt..Display$GT$3fmt17h6451c4f4b912c48bE"(ptr nonnull align 1 %3, i64 %5, ptr align 8 %1) ret i1 %6 diff --git a/bench/regex-rs/optimized/5vfodoa8paq7dhb.ll b/bench/regex-rs/optimized/5vfodoa8paq7dhb.ll index ce22ec9c508..6dcc444eaab 100644 --- a/bench/regex-rs/optimized/5vfodoa8paq7dhb.ll +++ b/bench/regex-rs/optimized/5vfodoa8paq7dhb.ll @@ -46,13 +46,13 @@ default.unreachable1: ; preds = %2 br label %18 10: ; preds = %2 - %11 = getelementptr inbounds { i8, i8 }, ptr %0, i64 0, i32 1 + %11 = getelementptr inbounds i8, ptr %0, i64 1 store ptr %11, ptr %4, align 8 %12 = call zeroext i1 @_ZN4core3fmt9Formatter26debug_struct_field1_finish17hef868d06a7970157E(ptr align 8 %1, ptr nonnull align 1 @anon.7261f42cd21f003e026f37a0058528c4.4, i64 17, ptr nonnull align 1 @anon.7261f42cd21f003e026f37a0058528c4.5, i64 3, ptr nonnull align 1 %4, ptr nonnull align 8 @anon.7261f42cd21f003e026f37a0058528c4.6) br label %18 13: ; preds = %2 - %14 = getelementptr inbounds { i8, i8 }, ptr %0, i64 0, i32 1 + %14 = getelementptr inbounds i8, ptr %0, i64 1 store ptr %14, ptr %3, align 8 %15 = call zeroext i1 @_ZN4core3fmt9Formatter26debug_struct_field1_finish17hef868d06a7970157E(ptr align 8 %1, ptr nonnull align 1 @anon.7261f42cd21f003e026f37a0058528c4.7, i64 22, ptr nonnull align 1 @anon.7261f42cd21f003e026f37a0058528c4.5, i64 3, ptr nonnull align 1 %3, ptr nonnull align 8 @anon.7261f42cd21f003e026f37a0058528c4.6) br label %18 diff --git a/bench/regex-rs/optimized/82jluotf3xfkupn.ll b/bench/regex-rs/optimized/82jluotf3xfkupn.ll index 6a2f024835b..1a7b283e46e 100644 --- a/bench/regex-rs/optimized/82jluotf3xfkupn.ll +++ b/bench/regex-rs/optimized/82jluotf3xfkupn.ll @@ -6,9 +6,9 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable define hidden i64 @"_ZN86_$LT$regex_syntax..hir..translate..TranslatorBuilder$u20$as$u20$core..clone..Clone$GT$5clone17h34adc23323c50cf0E"(ptr nocapture readonly align 1 %0) unnamed_addr #0 { %2 = load i8, ptr %0, align 1, !range !5, !noundef !6 - %3 = getelementptr inbounds { i8, { i8, i8, i8, i8, i8, i8 }, i8 }, ptr %0, i64 0, i32 2 + %3 = getelementptr inbounds i8, ptr %0, i64 7 %4 = load i8, ptr %3, align 1, !noundef !6 - %5 = getelementptr inbounds { i8, { i8, i8, i8, i8, i8, i8 }, i8 }, ptr %0, i64 0, i32 1 + %5 = getelementptr inbounds i8, ptr %0, i64 1 %.val = load i48, ptr %5, align 1 %.sroa.3.0.insert.ext = zext i8 %4 to i64 %.sroa.3.0.insert.shift = shl nuw i64 %.sroa.3.0.insert.ext, 56 diff --git a/bench/regex-rs/optimized/bomjgu0jhdu0dn1.ll b/bench/regex-rs/optimized/bomjgu0jhdu0dn1.ll index ede6d7b833d..a14a9d35385 100644 --- a/bench/regex-rs/optimized/bomjgu0jhdu0dn1.ll +++ b/bench/regex-rs/optimized/bomjgu0jhdu0dn1.ll @@ -7,7 +7,7 @@ target triple = "x86_64-unknown-linux-gnu" define hidden { i64, i64 } @"_ZN93_$LT$core..ops..index_range..IndexRange$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h51f4f474a00702a8E"(ptr align 8 %0) unnamed_addr #0 { %2 = icmp ne ptr %0, null tail call void @llvm.assume(i1 %2) - %3 = getelementptr inbounds { i64, i64 }, ptr %0, i64 0, i32 1 + %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !noundef !5 %5 = load i64, ptr %0, align 8, !noundef !5 %.not = icmp eq i64 %4, %5 diff --git a/bench/regex-rs/optimized/fwtmpmpkh8ud37s.ll b/bench/regex-rs/optimized/fwtmpmpkh8ud37s.ll index 4f8f368b347..562d6935d69 100644 --- a/bench/regex-rs/optimized/fwtmpmpkh8ud37s.ll +++ b/bench/regex-rs/optimized/fwtmpmpkh8ud37s.ll @@ -7,7 +7,7 @@ target triple = "x86_64-unknown-linux-gnu" define void @_ZN4core4iter6traits8iterator8Iterator8try_fold17h0d9095e3cc187571E(ptr align 8 %0, ptr align 8 %1, ptr align 1 %2) unnamed_addr #0 personality ptr @rust_eh_personality { %4 = alloca { ptr, ptr }, align 8 store ptr %1, ptr %4, align 8 - %5 = getelementptr inbounds { ptr, ptr }, ptr %4, i64 0, i32 1 + %5 = getelementptr inbounds i8, ptr %4, i64 8 store ptr %2, ptr %5, align 8 %6 = tail call { i64, i64 } @"_ZN93_$LT$core..ops..index_range..IndexRange$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h51f4f474a00702a8E"(ptr align 8 %0) %.fca.0.extract3 = extractvalue { i64, i64 } %6, 0 @@ -33,7 +33,7 @@ define void @_ZN4core4iter6traits8iterator8Iterator8try_fold17h0d9095e3cc187571E define void @_ZN4core4iter6traits8iterator8Iterator8try_fold17h9c6efdbe041e3420E(ptr align 8 %0, ptr align 8 %1, ptr align 4 %2) unnamed_addr #0 personality ptr @rust_eh_personality { %4 = alloca { ptr, ptr }, align 8 store ptr %1, ptr %4, align 8 - %5 = getelementptr inbounds { ptr, ptr }, ptr %4, i64 0, i32 1 + %5 = getelementptr inbounds i8, ptr %4, i64 8 store ptr %2, ptr %5, align 8 %6 = tail call { i64, i64 } @"_ZN93_$LT$core..ops..index_range..IndexRange$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h51f4f474a00702a8E"(ptr align 8 %0) %.fca.0.extract3 = extractvalue { i64, i64 } %6, 0 diff --git a/bench/regex-rs/optimized/p50vq3yepey0v6f.ll b/bench/regex-rs/optimized/p50vq3yepey0v6f.ll index 698f4ea760e..332410bde26 100644 --- a/bench/regex-rs/optimized/p50vq3yepey0v6f.ll +++ b/bench/regex-rs/optimized/p50vq3yepey0v6f.ll @@ -46,7 +46,7 @@ define void @_ZN12regex_syntax11escape_into17hf5b3d0efe0b035e0E(ptr align 1 %0, %10 = extractvalue { ptr, ptr } %9, 0 %11 = extractvalue { ptr, ptr } %9, 1 store ptr %10, ptr %4, align 8 - %12 = getelementptr inbounds { ptr, ptr }, ptr %4, i64 0, i32 1 + %12 = getelementptr inbounds i8, ptr %4, i64 8 store ptr %11, ptr %12, align 8 %13 = call i32 @"_ZN81_$LT$core..str..iter..Chars$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h89993158a85d87e7E"(ptr nonnull align 8 %4), !range !5 %14 = icmp eq i32 %13, 1114112 diff --git a/bench/regex-rs/optimized/t3kqfjav1djn5nj.ll b/bench/regex-rs/optimized/t3kqfjav1djn5nj.ll index bd680f8df1c..a55e3d7935b 100644 --- a/bench/regex-rs/optimized/t3kqfjav1djn5nj.ll +++ b/bench/regex-rs/optimized/t3kqfjav1djn5nj.ll @@ -8,7 +8,7 @@ define void @_ZN5regex8builders5bytes12RegexBuilder3new17h9fe4edbcef8676b4E(ptr %4 = alloca [1 x { ptr, i64 }], align 8 %5 = alloca { { { i64, i64 }, { i64, i64 }, { i64, i64 }, { i64, i64 }, { i64, i64 }, { [16 x i8], i8, [7 x i8] }, { i8, i8 }, i8, i8, i8, i8, i8, i8, i8, i8, i8, [5 x i8] }, { i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, [2 x i8] }, { { ptr, i64 }, i64 } }, align 8 store ptr %1, ptr %4, align 8 - %6 = getelementptr inbounds { ptr, i64 }, ptr %4, i64 0, i32 1 + %6 = getelementptr inbounds i8, ptr %4, i64 8 store i64 %2, ptr %6, align 8 call void @_ZN5regex8builders7Builder3new17h1b70a2de55bbf53fE(ptr nonnull sret({ { { i64, i64 }, { i64, i64 }, { i64, i64 }, { i64, i64 }, { i64, i64 }, { [16 x i8], i8, [7 x i8] }, { i8, i8 }, i8, i8, i8, i8, i8, i8, i8, i8, i8, [5 x i8] }, { i32, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, [2 x i8] }, { { ptr, i64 }, i64 } }) align 8 %5, ptr nonnull align 8 %4) call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(160) %0, ptr noundef nonnull align 8 dereferenceable(160) %5, i64 160, i1 false) diff --git a/bench/regex-rs/optimized/vxmolxdv3g9u4u3.ll b/bench/regex-rs/optimized/vxmolxdv3g9u4u3.ll index adab344b07f..4ee3b408466 100644 --- a/bench/regex-rs/optimized/vxmolxdv3g9u4u3.ll +++ b/bench/regex-rs/optimized/vxmolxdv3g9u4u3.ll @@ -18,7 +18,7 @@ define noundef zeroext i1 @_ZN4core3fmt5Write10write_char17h1375d19369f8a53eE(pt br i1 %9, label %10, label %"_ZN80_$LT$std..io..Write..write_fmt..Adapter$LT$T$GT$$u20$as$u20$core..fmt..Write$GT$9write_str17hbbf99f8b5b27c13aE.exit" 10: ; preds = %2 - %11 = getelementptr inbounds { ptr, ptr }, ptr %0, i64 0, i32 1 + %11 = getelementptr inbounds i8, ptr %0, i64 8 invoke void @"_ZN4core3ptr81drop_in_place$LT$core..result..Result$LT$$LP$$RP$$C$std..io..error..Error$GT$$GT$17he8d5e4a5d97137cfE"(ptr nonnull align 8 %11) to label %14 unwind label %12 @@ -56,7 +56,7 @@ define noundef zeroext i1 @"_ZN80_$LT$std..io..Write..write_fmt..Adapter$LT$T$GT br i1 %6, label %7, label %9 7: ; preds = %3 - %8 = getelementptr inbounds { ptr, ptr }, ptr %0, i64 0, i32 1 + %8 = getelementptr inbounds i8, ptr %0, i64 8 invoke void @"_ZN4core3ptr81drop_in_place$LT$core..result..Result$LT$$LP$$RP$$C$std..io..error..Error$GT$$GT$17he8d5e4a5d97137cfE"(ptr nonnull align 8 %8) to label %12 unwind label %10 diff --git a/bench/rocksdb/optimized/malloc_stats.cc.ll b/bench/rocksdb/optimized/malloc_stats.cc.ll index 1af01320a8a..2f20510a57e 100644 --- a/bench/rocksdb/optimized/malloc_stats.cc.ll +++ b/bench/rocksdb/optimized/malloc_stats.cc.ll @@ -30,7 +30,7 @@ if.end: ; preds = %entry %call1 = tail call noalias noundef nonnull dereferenceable(1000001) ptr @_Znam(i64 noundef 1000001) #11 store ptr %call1, ptr %mstat, align 8 %add.ptr = getelementptr inbounds i8, ptr %call1, i64 1000000 - %end = getelementptr inbounds %"struct.rocksdb::MallocStatus", ptr %mstat, i64 0, i32 1 + %end = getelementptr inbounds i8, ptr %mstat, i64 8 store ptr %add.ptr, ptr %end, align 8 call void @malloc_stats_print(ptr noundef nonnull @_ZN7rocksdbL17GetJemallocStatusEPvPKc, ptr noundef nonnull %mstat, ptr noundef nonnull @.str) #12 %call5 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6appendEPKc(ptr noundef nonnull align 8 dereferenceable(32) %stats, ptr noundef nonnull %call1) @@ -64,7 +64,7 @@ entry: cond.end: ; preds = %entry %call = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %status) #14 - %end = getelementptr inbounds %"struct.rocksdb::MallocStatus", ptr %mstat_arg, i64 0, i32 1 + %end = getelementptr inbounds i8, ptr %mstat_arg, i64 8 %0 = load ptr, ptr %end, align 8 %1 = load ptr, ptr %mstat_arg, align 8 %sub.ptr.lhs.cast = ptrtoint ptr %0 to i64 diff --git a/bench/rocksdb/optimized/murmurhash.cc.ll b/bench/rocksdb/optimized/murmurhash.cc.ll index 17c6ae55ad7..6464a86cde9 100644 --- a/bench/rocksdb/optimized/murmurhash.cc.ll +++ b/bench/rocksdb/optimized/murmurhash.cc.ll @@ -20,7 +20,7 @@ entry: while.body: ; preds = %entry, %while.body %h.033 = phi i64 [ %mul6, %while.body ], [ %xor, %entry ] %data.032 = phi ptr [ %incdec.ptr, %while.body ], [ %key, %entry ] - %incdec.ptr = getelementptr inbounds i64, ptr %data.032, i64 1 + %incdec.ptr = getelementptr inbounds i8, ptr %data.032, i64 8 %0 = load i64, ptr %data.032, align 8 %mul2 = mul i64 %0, -4132994306676758123 %shr = lshr i64 %mul2, 47 diff --git a/bench/rocksdb/optimized/read_write_util.cc.ll b/bench/rocksdb/optimized/read_write_util.cc.ll index 75456896f4c..95a21eff11a 100644 --- a/bench/rocksdb/optimized/read_write_util.cc.ll +++ b/bench/rocksdb/optimized/read_write_util.cc.ll @@ -16,7 +16,7 @@ target triple = "x86_64-unknown-linux-gnu" define void @_ZN7rocksdb15NewWritableFileEPNS_10FileSystemERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt10unique_ptrINS_14FSWritableFileESt14default_deleteISB_EERKNS_11FileOptionsE(ptr noalias sret(%"class.rocksdb::IOStatus") align 8 %agg.result, ptr noundef %fs, ptr noundef nonnull align 8 dereferenceable(32) %fname, ptr noundef %result, ptr noundef nonnull align 8 dereferenceable(146) %options) local_unnamed_addr #0 { entry: %vtable = load ptr, ptr %fs, align 8 - %vfn = getelementptr inbounds ptr, ptr %vtable, i64 23 + %vfn = getelementptr inbounds i8, ptr %vtable, i64 184 %0 = load ptr, ptr %vfn, align 8 tail call void %0(ptr sret(%"class.rocksdb::IOStatus") align 8 %agg.result, ptr noundef nonnull align 8 dereferenceable(32) %fs, ptr noundef nonnull align 8 dereferenceable(32) %fname, ptr noundef nonnull align 8 dereferenceable(146) %options, ptr noundef %result, ptr noundef null) ret void diff --git a/bench/syn/optimized/1242drsusdcn6vn3.ll b/bench/syn/optimized/1242drsusdcn6vn3.ll index 6df75859d0b..efa9ce6174d 100644 --- a/bench/syn/optimized/1242drsusdcn6vn3.ll +++ b/bench/syn/optimized/1242drsusdcn6vn3.ll @@ -6,7 +6,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable define { ptr, i64 } @"_ZN55_$LT$$RF$T$u20$as$u20$core..borrow..Borrow$LT$T$GT$$GT$6borrow17h650311eea2ce1e77E"(ptr nocapture readonly align 8 %0) unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !nonnull !5, !align !6, !noundef !5 - %3 = getelementptr inbounds { ptr, i64 }, ptr %0, i64 0, i32 1 + %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !noundef !5 %5 = insertvalue { ptr, i64 } poison, ptr %2, 0 %6 = insertvalue { ptr, i64 } %5, i64 %4, 1 diff --git a/bench/syn/optimized/12h5s0aum2b9g0a2.ll b/bench/syn/optimized/12h5s0aum2b9g0a2.ll index 58c9196cb9b..5ae765cda34 100644 --- a/bench/syn/optimized/12h5s0aum2b9g0a2.ll +++ b/bench/syn/optimized/12h5s0aum2b9g0a2.ll @@ -14,7 +14,7 @@ define hidden noundef zeroext i1 @_ZN3syn5ident6xid_ok17h2a50861869d699f5E(ptr a %.fca.0.extract = extractvalue { ptr, ptr } %5, 0 store ptr %.fca.0.extract, ptr %4, align 8 %.fca.1.extract = extractvalue { ptr, ptr } %5, 1 - %.fca.1.gep = getelementptr inbounds { ptr, ptr }, ptr %4, i64 0, i32 1 + %.fca.1.gep = getelementptr inbounds i8, ptr %4, i64 8 store ptr %.fca.1.extract, ptr %.fca.1.gep, align 8 %6 = call i32 @"_ZN81_$LT$core..str..iter..Chars$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h67c98bf5c7a6ba5eE"(ptr nonnull align 8 %4), !range !5 %7 = call i32 @"_ZN4core6option15Option$LT$T$GT$6unwrap17h66cdc5ce65ec7e5bE"(i32 %6, ptr nonnull align 8 @anon.384ef325ae2fec43aba8d02df9d00eb8.1), !range !6 @@ -28,7 +28,7 @@ define hidden noundef zeroext i1 @_ZN3syn5ident6xid_ok17h2a50861869d699f5E(ptr a %13 = extractvalue { ptr, ptr } %12, 0 %14 = extractvalue { ptr, ptr } %12, 1 store ptr %13, ptr %3, align 8 - %15 = getelementptr inbounds { ptr, ptr }, ptr %3, i64 0, i32 1 + %15 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %14, ptr %15, align 8 br label %18 diff --git a/bench/syn/optimized/1c6oehurr6fih9wp.ll b/bench/syn/optimized/1c6oehurr6fih9wp.ll index 3699e7bfd22..4739b19272e 100644 --- a/bench/syn/optimized/1c6oehurr6fih9wp.ll +++ b/bench/syn/optimized/1c6oehurr6fih9wp.ll @@ -39,13 +39,13 @@ define void @_ZN3syn5token8printing5punct17h7f580e26278ed053E(ptr align 1 %0, i6 %.fca.0.extract = extractvalue { ptr, ptr } %22, 0 store ptr %.fca.0.extract, ptr %14, align 8 %.fca.1.extract = extractvalue { ptr, ptr } %22, 1 - %.fca.1.gep = getelementptr inbounds { ptr, ptr }, ptr %14, i64 0, i32 1 + %.fca.1.gep = getelementptr inbounds i8, ptr %14, i64 8 store ptr %.fca.1.extract, ptr %.fca.1.gep, align 8 %23 = tail call { ptr, ptr } @"_ZN4core5slice29_$LT$impl$u20$$u5b$T$u5d$$GT$4iter17h357bb96852576375E"(ptr align 4 %2, i64 %3) %.fca.0.extract1 = extractvalue { ptr, ptr } %23, 0 store ptr %.fca.0.extract1, ptr %13, align 8 %.fca.1.extract3 = extractvalue { ptr, ptr } %23, 1 - %.fca.1.gep4 = getelementptr inbounds { ptr, ptr }, ptr %13, i64 0, i32 1 + %.fca.1.gep4 = getelementptr inbounds i8, ptr %13, i64 8 store ptr %.fca.1.extract3, ptr %.fca.1.gep4, align 8 %24 = call i32 @"_ZN96_$LT$core..str..iter..Chars$u20$as$u20$core..iter..traits..double_ended..DoubleEndedIterator$GT$9next_back17hf5d43e9cd4e36cb5E"(ptr nonnull align 8 %14), !range !5 %25 = call i32 @"_ZN4core6option15Option$LT$T$GT$6unwrap17h66cdc5ce65ec7e5bE"(i32 %24, ptr nonnull align 8 @anon.add284342e141497acc5cb35fd8844b3.2), !range !6 diff --git a/bench/syn/optimized/1dx0ttor97ms7n36.ll b/bench/syn/optimized/1dx0ttor97ms7n36.ll index 5e8cc3d7bc2..b3d2a3f5716 100644 --- a/bench/syn/optimized/1dx0ttor97ms7n36.ll +++ b/bench/syn/optimized/1dx0ttor97ms7n36.ll @@ -8,7 +8,7 @@ define hidden void @"_ZN3syn11restriction8printing88_$LT$impl$u20$quote..to_toke %3 = icmp ne ptr %0, null tail call void @llvm.assume(i1 %3) tail call void @"_ZN76_$LT$core..option..Option$LT$T$GT$$u20$as$u20$quote..to_tokens..ToTokens$GT$9to_tokens17h04283a690c62d5faE"(ptr nonnull align 4 %0, ptr align 8 %1) - %4 = getelementptr inbounds { { i32, i32 }, ptr, i32, { { { [2 x i32], i32 }, {} } } }, ptr %0, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %0, i64 8 tail call void @"_ZN73_$LT$alloc..boxed..Box$LT$T$GT$$u20$as$u20$quote..to_tokens..ToTokens$GT$9to_tokens17h303cba842a9d5fc9E"(ptr nonnull align 8 %4, ptr align 8 %1) ret void } diff --git a/bench/syn/optimized/1vdqps5rnz4xfdo1.ll b/bench/syn/optimized/1vdqps5rnz4xfdo1.ll index 445423d0f90..097cce1a127 100644 --- a/bench/syn/optimized/1vdqps5rnz4xfdo1.ll +++ b/bench/syn/optimized/1vdqps5rnz4xfdo1.ll @@ -5,7 +5,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint nonlazybind uwtable define align 8 ptr @"_ZN108_$LT$core..iter..adapters..filter..Filter$LT$I$C$P$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h8d00d34c6d114b12E"(ptr align 8 %0) unnamed_addr #0 { - %2 = getelementptr inbounds { { ptr, ptr }, ptr }, ptr %0, i64 0, i32 1 + %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = tail call align 8 ptr @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4find17hfd6c4c49fec0b669E"(ptr align 8 %0, ptr nonnull align 8 %2) ret ptr %3 } diff --git a/bench/syn/optimized/1w7wziidcd6sqii8.ll b/bench/syn/optimized/1w7wziidcd6sqii8.ll index 63357018811..98f60ce24ac 100644 --- a/bench/syn/optimized/1w7wziidcd6sqii8.ll +++ b/bench/syn/optimized/1w7wziidcd6sqii8.ll @@ -24,7 +24,7 @@ define zeroext i1 @"_ZN3syn4expr7parsing2kw1_94_$LT$impl$u20$syn..token..private %3 = alloca { { [24 x i8], i8, [7 x i8] }, {} }, align 8 %4 = alloca { [24 x i8], i8, [23 x i8] }, align 8 call void @_ZN3syn6buffer6Cursor5ident17hac8c92299a38498cE(ptr nonnull sret({ [24 x i8], i8, [23 x i8] }) align 8 %4, ptr %0, ptr %1) - %5 = getelementptr inbounds { [24 x i8], i8, [23 x i8] }, ptr %4, i64 0, i32 1 + %5 = getelementptr inbounds i8, ptr %4, i64 24 %6 = load i8, ptr %5, align 8, !range !5, !noundef !6 %.not.not = icmp eq i8 %6, 3 br i1 %.not.not, label %14, label %7 @@ -95,7 +95,7 @@ define zeroext i1 @"_ZN3syn4expr7parsing2kw1_90_$LT$impl$u20$syn..token..private %3 = alloca { { [24 x i8], i8, [7 x i8] }, {} }, align 8 %4 = alloca { [24 x i8], i8, [23 x i8] }, align 8 call void @_ZN3syn6buffer6Cursor5ident17hac8c92299a38498cE(ptr nonnull sret({ [24 x i8], i8, [23 x i8] }) align 8 %4, ptr %0, ptr %1) - %5 = getelementptr inbounds { [24 x i8], i8, [23 x i8] }, ptr %4, i64 0, i32 1 + %5 = getelementptr inbounds i8, ptr %4, i64 24 %6 = load i8, ptr %5, align 8, !range !5, !noundef !6 %.not.not = icmp eq i8 %6, 3 br i1 %.not.not, label %14, label %7 diff --git a/bench/syn/optimized/278eof7enmedabx1.ll b/bench/syn/optimized/278eof7enmedabx1.ll index 275b151ee1b..6da44cc4703 100644 --- a/bench/syn/optimized/278eof7enmedabx1.ll +++ b/bench/syn/optimized/278eof7enmedabx1.ll @@ -12,7 +12,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint nonlazybind uwtable define hidden zeroext i1 @"_ZN64_$LT$core..str..error..Utf8Error$u20$as$u20$core..fmt..Debug$GT$3fmt17hd99abcfcbdbb313aE"(ptr align 8 %0, ptr align 8 %1) unnamed_addr #0 { %3 = alloca ptr, align 8 - %4 = getelementptr inbounds { i64, { i8, i8 }, [6 x i8] }, ptr %0, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %4, ptr %3, align 8 %5 = call zeroext i1 @_ZN4core3fmt9Formatter26debug_struct_field2_finish17h976633cb9325d9dfE(ptr align 8 %1, ptr nonnull align 1 @anon.6d94176da177a782eee988cd4bc1ed51.0, i64 9, ptr nonnull align 1 @anon.6d94176da177a782eee988cd4bc1ed51.1, i64 11, ptr align 1 %0, ptr nonnull align 8 @anon.6d94176da177a782eee988cd4bc1ed51.2, ptr nonnull align 1 @anon.6d94176da177a782eee988cd4bc1ed51.3, i64 9, ptr nonnull align 1 %3, ptr nonnull align 8 @anon.6d94176da177a782eee988cd4bc1ed51.4) ret i1 %5 diff --git a/bench/syn/optimized/2gdgdupviybsn2xk.ll b/bench/syn/optimized/2gdgdupviybsn2xk.ll index c6ba23f5355..59ca6609b0a 100644 --- a/bench/syn/optimized/2gdgdupviybsn2xk.ll +++ b/bench/syn/optimized/2gdgdupviybsn2xk.ll @@ -7,12 +7,12 @@ target triple = "x86_64-unknown-linux-gnu" define void @"_ZN5alloc4sync16Arc$LT$T$C$A$GT$9drop_slow17h5f00a3e1e58557a3E"(ptr align 8 %0) unnamed_addr #0 { %2 = alloca { ptr, ptr }, align 8 %3 = load ptr, ptr %0, align 8, !nonnull !5, !noundef !5 - %4 = getelementptr inbounds { { i64 }, { i64 }, { i64, { ptr, i64 }, { { i32 } }, [1 x i32] } }, ptr %3, i64 0, i32 2 + %4 = getelementptr inbounds i8, ptr %3, i64 16 tail call void @"_ZN4core3ptr39drop_in_place$LT$std..thread..Inner$GT$17h125f1707eadae4e0E"(ptr nonnull align 8 %4) %5 = load ptr, ptr %0, align 8, !nonnull !5, !noundef !5 %6 = getelementptr i8, ptr %0, i64 8 store ptr %5, ptr %2, align 8 - %7 = getelementptr inbounds { ptr, ptr }, ptr %2, i64 0, i32 1 + %7 = getelementptr inbounds i8, ptr %2, i64 8 store ptr %6, ptr %7, align 8 call void @"_ZN4core3ptr91drop_in_place$LT$alloc..sync..Weak$LT$std..thread..Inner$C$$RF$alloc..alloc..Global$GT$$GT$17h33e6bf0e1150d9feE"(ptr nonnull align 8 %2) ret void diff --git a/bench/syn/optimized/2qnskl2sqblg3n5j.ll b/bench/syn/optimized/2qnskl2sqblg3n5j.ll index 67e2b4fcb9c..574c0af448a 100644 --- a/bench/syn/optimized/2qnskl2sqblg3n5j.ll +++ b/bench/syn/optimized/2qnskl2sqblg3n5j.ll @@ -5,7 +5,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint nonlazybind uwtable define hidden zeroext i1 @"_ZN4core3fmt3num49_$LT$impl$u20$core..fmt..Debug$u20$for$u20$u8$GT$3fmt17hb67ad9e7d9f4438cE"(ptr align 1 %0, ptr align 8 %1) unnamed_addr #0 { - %3 = getelementptr inbounds { { i64, i64 }, { i64, i64 }, { ptr, ptr }, i32, i32, i8, [7 x i8] }, ptr %1, i64 0, i32 4 + %3 = getelementptr inbounds i8, ptr %1, i64 52 %4 = load i32, ptr %3, align 4, !noundef !5 %5 = and i32 %4, 16 %6 = icmp eq i32 %5, 0 @@ -35,7 +35,7 @@ define hidden zeroext i1 @"_ZN4core3fmt3num49_$LT$impl$u20$core..fmt..Debug$u20$ ; Function Attrs: inlinehint nonlazybind uwtable define hidden zeroext i1 @"_ZN4core3fmt3num52_$LT$impl$u20$core..fmt..Debug$u20$for$u20$usize$GT$3fmt17ha3d83a479412285fE"(ptr align 8 %0, ptr align 8 %1) unnamed_addr #0 { - %3 = getelementptr inbounds { { i64, i64 }, { i64, i64 }, { ptr, ptr }, i32, i32, i8, [7 x i8] }, ptr %1, i64 0, i32 4 + %3 = getelementptr inbounds i8, ptr %1, i64 52 %4 = load i32, ptr %3, align 4, !noundef !5 %5 = and i32 %4, 16 %6 = icmp eq i32 %5, 0 diff --git a/bench/syn/optimized/407uf3sp6xgg9jxk.ll b/bench/syn/optimized/407uf3sp6xgg9jxk.ll index b401d26a299..5cf2ef5a2ed 100644 --- a/bench/syn/optimized/407uf3sp6xgg9jxk.ll +++ b/bench/syn/optimized/407uf3sp6xgg9jxk.ll @@ -6,7 +6,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(read, inaccessiblemem: none) uwtable define hidden noundef i64 @_ZN3std6thread6Thread2id17h0a4ab1b0327b573cE(ptr nocapture readonly align 8 %0) unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !nonnull !5, !noundef !5 - %3 = getelementptr inbounds { { i64 }, { i64 }, { i64, { ptr, i64 }, { { i32 } }, [1 x i32] } }, ptr %2, i64 0, i32 2 + %3 = getelementptr inbounds i8, ptr %2, i64 16 %4 = load i64, ptr %3, align 8, !range !6, !noundef !5 ret i64 %4 } diff --git a/bench/syn/optimized/42py4pyfuph0fw4x.ll b/bench/syn/optimized/42py4pyfuph0fw4x.ll index dbea509266f..46e48543bb3 100644 --- a/bench/syn/optimized/42py4pyfuph0fw4x.ll +++ b/bench/syn/optimized/42py4pyfuph0fw4x.ll @@ -10,7 +10,7 @@ define hidden void @"_ZN3syn8lifetime7parsing71_$LT$impl$u20$syn..parse..Parse$u %3 = alloca { [24 x i8], i8, [31 x i8] }, align 8 %4 = tail call align 8 ptr @"_ZN66_$LT$syn..parse..StepCursor$u20$as$u20$core..ops..deref..Deref$GT$5deref17h53f065b65b32a41aE"(ptr align 8 %1) %5 = load ptr, ptr %4, align 8, !noundef !5 - %6 = getelementptr inbounds { ptr, ptr }, ptr %4, i64 0, i32 1 + %6 = getelementptr inbounds i8, ptr %4, i64 8 %7 = load ptr, ptr %6, align 8, !noundef !5 call void @_ZN3syn6buffer6Cursor8lifetime17h2c49a00a2b9967ffE(ptr nonnull sret({ [24 x i8], i8, [31 x i8] }) align 8 %3, ptr %5, ptr %7) %8 = icmp ne ptr %1, null diff --git a/bench/syn/optimized/4l5d42r4egimgges.ll b/bench/syn/optimized/4l5d42r4egimgges.ll index 061152e75e9..045f9df3159 100644 --- a/bench/syn/optimized/4l5d42r4egimgges.ll +++ b/bench/syn/optimized/4l5d42r4egimgges.ll @@ -6,7 +6,7 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: read) uwtable define { ptr, i64 } @"_ZN55_$LT$$RF$T$u20$as$u20$core..convert..AsRef$LT$U$GT$$GT$6as_ref17h13f6a2f18450a1ddE"(ptr nocapture readonly align 8 %0) unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !nonnull !5, !align !6, !noundef !5 - %3 = getelementptr inbounds { ptr, i64 }, ptr %0, i64 0, i32 1 + %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load i64, ptr %3, align 8, !noundef !5 %5 = insertvalue { ptr, i64 } poison, ptr %2, 0 %6 = insertvalue { ptr, i64 } %5, i64 %4, 1 @@ -17,7 +17,7 @@ define { ptr, i64 } @"_ZN55_$LT$$RF$T$u20$as$u20$core..convert..AsRef$LT$U$GT$$G define { ptr, i64 } @"_ZN55_$LT$$RF$T$u20$as$u20$core..convert..AsRef$LT$U$GT$$GT$6as_ref17hba0a2bda19507189E"(ptr nocapture readonly align 8 %0) unnamed_addr #1 { %2 = load ptr, ptr %0, align 8, !nonnull !5, !align !7, !noundef !5 %3 = load ptr, ptr %2, align 8, !nonnull !5, !align !6, !noundef !5 - %4 = getelementptr inbounds { ptr, i64 }, ptr %2, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %2, i64 8 %5 = load i64, ptr %4, align 8, !noundef !5 %6 = insertvalue { ptr, i64 } poison, ptr %3, 0 %7 = insertvalue { ptr, i64 } %6, i64 %5, 1 diff --git a/bench/syn/optimized/4p64qxtxlkfxjg8e.ll b/bench/syn/optimized/4p64qxtxlkfxjg8e.ll index 8500fd7534a..d2b92b37c89 100644 --- a/bench/syn/optimized/4p64qxtxlkfxjg8e.ll +++ b/bench/syn/optimized/4p64qxtxlkfxjg8e.ll @@ -13,7 +13,7 @@ define void @"_ZN110_$LT$proc_macro..TokenStream$u20$as$u20$core..iter..traits.. %.fca.0.extract = extractvalue { ptr, ptr } %8, 0 store ptr %.fca.0.extract, ptr %7, align 8 %.fca.1.extract = extractvalue { ptr, ptr } %8, 1 - %.fca.1.gep = getelementptr inbounds { ptr, ptr }, ptr %7, i64 0, i32 1 + %.fca.1.gep = getelementptr inbounds i8, ptr %7, i64 8 store ptr %.fca.1.extract, ptr %.fca.1.gep, align 8 call void @"_ZN102_$LT$core..iter..adapters..map..Map$LT$I$C$F$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$9size_hint17h1664384c0b0432a1E"(ptr nonnull sret({ i64, { i64, i64 } }) align 8 %5, ptr nonnull align 8 %7) %9 = load i64, ptr %5, align 8, !noundef !5 diff --git a/bench/syn/optimized/4tgxxn4z0bxqaxr0.ll b/bench/syn/optimized/4tgxxn4z0bxqaxr0.ll index 92c4ad7b4c2..4b5700a01b4 100644 --- a/bench/syn/optimized/4tgxxn4z0bxqaxr0.ll +++ b/bench/syn/optimized/4tgxxn4z0bxqaxr0.ll @@ -14,7 +14,7 @@ define align 8 ptr @_ZN4core3fmt8builders9DebugList7entries17h60bffddcae377b09E( %7 = extractvalue { ptr, ptr } %6, 0 %8 = extractvalue { ptr, ptr } %6, 1 store ptr %7, ptr %5, align 8 - %9 = getelementptr inbounds { ptr, ptr }, ptr %5, i64 0, i32 1 + %9 = getelementptr inbounds i8, ptr %5, i64 8 store ptr %8, ptr %9, align 8 %10 = call align 1 ptr @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h8d7d8202ae30d700E"(ptr nonnull align 8 %5) %11 = icmp eq ptr %10, null @@ -40,7 +40,7 @@ define align 8 ptr @_ZN4core3fmt8builders9DebugList7entries17hea670f71d2a10213E( %7 = extractvalue { ptr, ptr } %6, 0 %8 = extractvalue { ptr, ptr } %6, 1 store ptr %7, ptr %5, align 8 - %9 = getelementptr inbounds { ptr, ptr }, ptr %5, i64 0, i32 1 + %9 = getelementptr inbounds i8, ptr %5, i64 8 store ptr %8, ptr %9, align 8 %10 = call align 8 ptr @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hf03ac1f405d9a986E"(ptr nonnull align 8 %5) %11 = icmp eq ptr %10, null diff --git a/bench/syn/optimized/5367s6v503zuw97p.ll b/bench/syn/optimized/5367s6v503zuw97p.ll index 0bd5afabd61..94eb9758eef 100644 --- a/bench/syn/optimized/5367s6v503zuw97p.ll +++ b/bench/syn/optimized/5367s6v503zuw97p.ll @@ -35,7 +35,7 @@ define void @_ZN4core9panicking13panic_display17h691a2e7c56de875aE(ptr align 8 % %5 = icmp ne ptr %0, null tail call void @llvm.assume(i1 %5) store ptr %0, ptr %3, align 8 - %6 = getelementptr inbounds { ptr, ptr }, ptr %3, i64 0, i32 1 + %6 = getelementptr inbounds i8, ptr %3, i64 8 store ptr @"_ZN44_$LT$$RF$T$u20$as$u20$core..fmt..Display$GT$3fmt17h208391be79799fb4E", ptr %6, align 8 call void @_ZN4core3fmt9Arguments6new_v117hdf8179cb463011b0E(ptr nonnull sret({ { ptr, i64 }, { ptr, i64 }, { ptr, i64 } }) align 8 %4, ptr nonnull align 8 @anon.19069b195ce0ab45bc2704dcd6d579ab.3, i64 1, ptr nonnull align 8 %3, i64 1) call void @_ZN4core9panicking9panic_fmt17hbf0e066aabfa482cE(ptr nonnull align 8 %4, ptr align 8 %1) #5 diff --git a/bench/syn/optimized/eg6elanlq4m85ad.ll b/bench/syn/optimized/eg6elanlq4m85ad.ll index 4e566847b5f..0588758b5aa 100644 --- a/bench/syn/optimized/eg6elanlq4m85ad.ll +++ b/bench/syn/optimized/eg6elanlq4m85ad.ll @@ -23,7 +23,7 @@ define { i64, i64 } @"_ZN4core3str21_$LT$impl$u20$str$GT$5rfind17h78701dd4948d3d call void @"_ZN88_$LT$core..str..pattern..CharSearcher$u20$as$u20$core..str..pattern..ReverseSearcher$GT$15next_match_back17hfdf449dfbb5308acE"(ptr nonnull sret({ i64, [2 x i64] }) align 8 %5, ptr nonnull align 8 %4) %6 = load i64, ptr %5, align 8, !range !5, !noundef !6 %.not = icmp eq i64 %6, 0 - %7 = getelementptr inbounds { [1 x i64], { i64, i64 } }, ptr %5, i64 0, i32 1 + %7 = getelementptr inbounds i8, ptr %5, i64 8 %8 = load i64, ptr %7, align 8 %.sroa.3.0 = select i1 %.not, i64 undef, i64 %8 %9 = insertvalue { i64, i64 } poison, i64 %6, 0 diff --git a/bench/syn/optimized/q0msnzslvq5sm89.ll b/bench/syn/optimized/q0msnzslvq5sm89.ll index e5cdfb49e04..5f813cf0331 100644 --- a/bench/syn/optimized/q0msnzslvq5sm89.ll +++ b/bench/syn/optimized/q0msnzslvq5sm89.ll @@ -6,10 +6,10 @@ target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: inlinehint nonlazybind uwtable define zeroext i1 @"_ZN4core3cmp5impls69_$LT$impl$u20$core..cmp..PartialEq$LT$$RF$B$GT$$u20$for$u20$$RF$A$GT$2eq17h84d9caea0f2a4a0dE"(ptr nocapture readonly align 8 %0, ptr nocapture readonly align 8 %1) unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !nonnull !5, !align !6, !noundef !5 - %4 = getelementptr inbounds { ptr, i64 }, ptr %0, i64 0, i32 1 + %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i64, ptr %4, align 8, !noundef !5 %6 = load ptr, ptr %1, align 8, !nonnull !5, !align !6, !noundef !5 - %7 = getelementptr inbounds { ptr, i64 }, ptr %1, i64 0, i32 1 + %7 = getelementptr inbounds i8, ptr %1, i64 8 %8 = load i64, ptr %7, align 8, !noundef !5 %9 = tail call zeroext i1 @"_ZN4core3str6traits54_$LT$impl$u20$core..cmp..PartialEq$u20$for$u20$str$GT$2eq17h766eb6f7274e8d35E"(ptr nonnull align 1 %3, i64 %5, ptr nonnull align 1 %6, i64 %8) ret i1 %9 diff --git a/bench/syn/optimized/x3x3z08118qbc4t.ll b/bench/syn/optimized/x3x3z08118qbc4t.ll index 0ab1dada7eb..c61801fd5ce 100644 --- a/bench/syn/optimized/x3x3z08118qbc4t.ll +++ b/bench/syn/optimized/x3x3z08118qbc4t.ll @@ -63,7 +63,7 @@ define hidden void @_ZN3syn6bigint6BigInt9to_string17heac49526d30d9ea8E(ptr noca %21 = extractvalue { ptr, ptr } %19, 0 %22 = extractvalue { ptr, ptr } %19, 1 store ptr %21, ptr %3, align 8 - %23 = getelementptr inbounds { ptr, ptr }, ptr %3, i64 0, i32 1 + %23 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %22, ptr %23, align 8 br label %.backedge @@ -178,7 +178,7 @@ define void @"_ZN77_$LT$syn..bigint..BigInt$u20$as$u20$core..ops..arith..MulAssi %20 = extractvalue { ptr, ptr } %19, 0 %21 = extractvalue { ptr, ptr } %19, 1 store ptr %20, ptr %3, align 8 - %22 = getelementptr inbounds { ptr, ptr }, ptr %3, i64 0, i32 1 + %22 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %21, ptr %22, align 8 %23 = call align 1 ptr @"_ZN94_$LT$core..slice..iter..IterMut$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h96d5c952605d9b38E"(ptr nonnull align 8 %3) %24 = icmp eq ptr %23, null diff --git a/bench/velox/optimized/FunctionCallToSpecialForm.cpp.ll b/bench/velox/optimized/FunctionCallToSpecialForm.cpp.ll index 38ad0dbcef2..b9ec8e022bc 100644 --- a/bench/velox/optimized/FunctionCallToSpecialForm.cpp.ll +++ b/bench/velox/optimized/FunctionCallToSpecialForm.cpp.ll @@ -23,7 +23,7 @@ if.then: ; preds = %entry if.end: ; preds = %entry %vtable = load ptr, ptr %call1, align 8 - %vfn = getelementptr inbounds ptr, ptr %vtable, i64 2 + %vfn = getelementptr inbounds i8, ptr %vtable, i64 16 %0 = load ptr, ptr %vfn, align 8 tail call void %0(ptr sret(%"class.std::shared_ptr") align 8 %agg.result, ptr noundef nonnull align 8 dereferenceable(8) %call1, ptr noundef nonnull align 8 dereferenceable(24) %argTypes) br label %return @@ -50,7 +50,7 @@ if.then: ; preds = %entry if.end: ; preds = %entry %vtable = load ptr, ptr %call1, align 8 - %vfn = getelementptr inbounds ptr, ptr %vtable, i64 3 + %vfn = getelementptr inbounds i8, ptr %vtable, i64 24 %0 = load ptr, ptr %vfn, align 8 tail call void %0(ptr sret(%"class.std::shared_ptr.9") align 8 %agg.result, ptr noundef nonnull align 8 dereferenceable(8) %call1, ptr noundef nonnull align 8 dereferenceable(16) %type, ptr noundef nonnull align 8 dereferenceable(24) %compiledChildren, i1 noundef zeroext %trackCpuUsage, ptr noundef nonnull align 8 dereferenceable(8) %config) br label %return diff --git a/bench/velox/optimized/KllSketch.cpp.ll b/bench/velox/optimized/KllSketch.cpp.ll index 3586a38c873..65d5a2e8012 100644 --- a/bench/velox/optimized/KllSketch.cpp.ll +++ b/bench/velox/optimized/KllSketch.cpp.ll @@ -158,7 +158,7 @@ for.body: ; preds = %for.body.preheader, %weight.09 = phi i64 [ 1, %for.body.preheader ], [ %mul7, %for.body ] %total.08 = phi i64 [ 0, %for.body.preheader ], [ %add6, %for.body ] %0 = getelementptr i32, ptr %levels, i64 %indvars.iv - %arrayidx = getelementptr i32, ptr %0, i64 1 + %arrayidx = getelementptr i8, ptr %0, i64 4 %1 = load i32, ptr %arrayidx, align 4 %2 = load i32, ptr %0, align 4 %sub = sub i32 %1, %2 diff --git a/bench/velox/optimized/LzoDecompressor.cpp.ll b/bench/velox/optimized/LzoDecompressor.cpp.ll index 087f1d3d1e6..13e02445473 100644 --- a/bench/velox/optimized/LzoDecompressor.cpp.ll +++ b/bench/velox/optimized/LzoDecompressor.cpp.ll @@ -1111,7 +1111,7 @@ declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0 ; Function Attrs: mustprogress uwtable define linkonce_odr noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3hexRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216) %__base) #0 comdat { entry: - %_M_flags.i = getelementptr inbounds %"class.std::ios_base", ptr %__base, i64 0, i32 3 + %_M_flags.i = getelementptr inbounds i8, ptr %__base, i64 24 %0 = load i32, ptr %_M_flags.i, align 8 %and.i.i.i = and i32 %0, -75 %or.i.i.i = or disjoint i32 %and.i.i.i, 8 diff --git a/bench/velox/optimized/SuccinctPrinter.cpp.ll b/bench/velox/optimized/SuccinctPrinter.cpp.ll index bd48e5c05fb..c168fa02836 100644 --- a/bench/velox/optimized/SuccinctPrinter.cpp.ll +++ b/bench/velox/optimized/SuccinctPrinter.cpp.ll @@ -284,7 +284,7 @@ declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0 ; Function Attrs: mustprogress uwtable define linkonce_odr noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216) %__base) #0 comdat { entry: - %_M_flags.i = getelementptr inbounds %"class.std::ios_base", ptr %__base, i64 0, i32 3 + %_M_flags.i = getelementptr inbounds i8, ptr %__base, i64 24 %0 = load i32, ptr %_M_flags.i, align 8 %and.i.i.i = and i32 %0, -261 %or.i.i.i = or disjoint i32 %and.i.i.i, 4 diff --git a/bench/velox/optimized/flags.cpp.ll b/bench/velox/optimized/flags.cpp.ll index 9a4fc65b2ba..3820cd9ebec 100644 --- a/bench/velox/optimized/flags.cpp.ll +++ b/bench/velox/optimized/flags.cpp.ll @@ -173,7 +173,7 @@ define linkonce_odr void @_ZN3fLS20StringFlagDestructorD2Ev(ptr noundef nonnull entry: %0 = load ptr, ptr %this, align 8 tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %0) #9 - %defvalue_storage_ = getelementptr inbounds %"class.fLS::StringFlagDestructor", ptr %this, i64 0, i32 1 + %defvalue_storage_ = getelementptr inbounds i8, ptr %this, i64 8 %1 = load ptr, ptr %defvalue_storage_, align 8 tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #9 ret void diff --git a/bench/yaml-cpp/optimized/binary.cpp.ll b/bench/yaml-cpp/optimized/binary.cpp.ll index d5e87fdc34d..24e6f33b1ca 100644 --- a/bench/yaml-cpp/optimized/binary.cpp.ll +++ b/bench/yaml-cpp/optimized/binary.cpp.ll @@ -381,9 +381,9 @@ cleanup.thread: ; preds = %if.then5.i, %if.the %ret.sroa.10.0 = phi ptr [ %add.ptr36.i.i, %_ZNSt12_Vector_baseIhSaIhEE13_M_deallocateEPhm.exit32.i.i ], [ %__first.addr.0.i.i.i.i.i, %if.else.i ], [ %add.ptr.i.i.i.i.i.i.i, %if.then.i.i.i.i.i.i.i.i.i26 ], [ %incdec.ptr.i.i.i.i.i24, %if.then.i.i.i.i.i ], [ %spec.select, %if.then5.i ] %ret.sroa.16.0 = phi ptr [ %add.ptr39.i.i, %_ZNSt12_Vector_baseIhSaIhEE13_M_deallocateEPhm.exit32.i.i ], [ %add.ptr.i.i.i, %if.else.i ], [ %add.ptr.i.i.i, %if.then.i.i.i.i.i.i.i.i.i26 ], [ %add.ptr.i.i.i, %if.then.i.i.i.i.i ], [ %add.ptr.i.i.i, %if.then5.i ] store ptr %ret.sroa.0.0, ptr %agg.result, align 8 - %_M_finish.i.i.i.i = getelementptr inbounds %"struct.std::_Vector_base>::_Vector_impl_data", ptr %agg.result, i64 0, i32 1 + %_M_finish.i.i.i.i = getelementptr inbounds i8, ptr %agg.result, i64 8 store ptr %ret.sroa.10.0, ptr %_M_finish.i.i.i.i, align 8 - %_M_end_of_storage.i.i.i.i = getelementptr inbounds %"struct.std::_Vector_base>::_Vector_impl_data", ptr %agg.result, i64 0, i32 2 + %_M_end_of_storage.i.i.i.i = getelementptr inbounds i8, ptr %agg.result, i64 16 store ptr %ret.sroa.16.0, ptr %_M_end_of_storage.i.i.i.i, align 8 br label %return diff --git a/bench/z3/optimized/fd_solver.cpp.ll b/bench/z3/optimized/fd_solver.cpp.ll index 2d0d1d43a19..acc366781f0 100644 --- a/bench/z3/optimized/fd_solver.cpp.ll +++ b/bench/z3/optimized/fd_solver.cpp.ll @@ -58,7 +58,7 @@ entry: %pp = alloca %struct.parallel_params, align 8 %p = alloca %class.params_ref, align 8 store ptr %_p, ptr %pp, align 8 - %g.i = getelementptr inbounds %struct.parallel_params, ptr %pp, i64 0, i32 1 + %g.i = getelementptr inbounds i8, ptr %pp, i64 8 call void @_ZN7gparams10get_moduleEPKc(ptr nonnull sret(%class.params_ref) align 8 %g.i, ptr noundef nonnull @.str) invoke void @_ZN10params_refC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %p, ptr noundef nonnull align 8 dereferenceable(8) %_p) to label %invoke.cont unwind label %lpad diff --git a/bench/z3/optimized/main.cpp.ll b/bench/z3/optimized/main.cpp.ll index cbaf9d2750a..dc7aeffd09c 100644 --- a/bench/z3/optimized/main.cpp.ll +++ b/bench/z3/optimized/main.cpp.ll @@ -872,7 +872,7 @@ catch: ; preds = %catch.dispatch invoke.cont84: ; preds = %catch %vtable = load ptr, ptr %15, align 8 - %vfn = getelementptr inbounds ptr, ptr %vtable, i64 2 + %vfn = getelementptr inbounds i8, ptr %vtable, i64 16 %16 = load ptr, ptr %vfn, align 8 %call87 = invoke noundef ptr %16(ptr noundef nonnull align 8 dereferenceable(8) %15) to label %invoke.cont86 unwind label %lpad83 @@ -894,7 +894,7 @@ invoke.cont92: ; preds = %invoke.cont90 if.then94: ; preds = %invoke.cont92 %vtable95 = load ptr, ptr %15, align 8 - %vfn96 = getelementptr inbounds ptr, ptr %vtable95, i64 3 + %vfn96 = getelementptr inbounds i8, ptr %vtable95, i64 24 %17 = load ptr, ptr %vfn96, align 8 %call98 = invoke noundef i32 %17(ptr noundef nonnull align 8 dereferenceable(8) %15) to label %cleanup unwind label %lpad83 diff --git a/bench/z3/optimized/smt_tactic.cpp.ll b/bench/z3/optimized/smt_tactic.cpp.ll index 43155c06f00..fefcf33d321 100644 --- a/bench/z3/optimized/smt_tactic.cpp.ll +++ b/bench/z3/optimized/smt_tactic.cpp.ll @@ -29,7 +29,7 @@ define hidden noundef ptr @_Z13mk_smt_tacticR11ast_managerRK10params_ref(ptr nou entry: %sp = alloca %struct.sat_params, align 8 store ptr %p, ptr %sp, align 8 - %g.i = getelementptr inbounds %struct.sat_params, ptr %sp, i64 0, i32 1 + %g.i = getelementptr inbounds i8, ptr %sp, i64 8 call void @_ZN7gparams10get_moduleEPKc(ptr nonnull sret(%class.params_ref) align 8 %g.i, ptr noundef nonnull @.str) %0 = load ptr, ptr %sp, align 8 %call.i7 = invoke noundef zeroext i1 @_ZNK10params_ref8get_boolEPKcRKS_b(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.1, ptr noundef nonnull align 8 dereferenceable(8) %g.i, i1 noundef zeroext false) @@ -89,7 +89,7 @@ define hidden noundef ptr @_Z19mk_smt_tactic_usingR11ast_managerbRK10params_ref( entry: %sp = alloca %struct.sat_params, align 8 store ptr %p, ptr %sp, align 8 - %g.i = getelementptr inbounds %struct.sat_params, ptr %sp, i64 0, i32 1 + %g.i = getelementptr inbounds i8, ptr %sp, i64 8 call void @_ZN7gparams10get_moduleEPKc(ptr nonnull sret(%class.params_ref) align 8 %g.i, ptr noundef nonnull @.str) %0 = load ptr, ptr %sp, align 8 %call.i5 = invoke noundef zeroext i1 @_ZNK10params_ref8get_boolEPKcRKS_b(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.2, ptr noundef nonnull align 8 dereferenceable(8) %g.i, i1 noundef zeroext false) diff --git a/bench/z3/optimized/timeout.cpp.ll b/bench/z3/optimized/timeout.cpp.ll index f8871ac49a6..38e2b089587 100644 --- a/bench/z3/optimized/timeout.cpp.ll +++ b/bench/z3/optimized/timeout.cpp.ll @@ -11,7 +11,6 @@ target triple = "x86_64-unknown-linux-gnu" %"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" } %"struct.std::ios_base::_Words" = type { ptr, i64 } %"class.std::locale" = type { ptr } -%class.event_handler = type <{ ptr, i32, [4 x i8] }> $_ZN8z3_errorD2Ev = comdat any @@ -115,7 +114,7 @@ entry: ; Function Attrs: mustprogress noreturn uwtable define internal void @_ZN12_GLOBAL__N_112g_timeout_ehclE22event_handler_caller_t(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(12) %this, i32 noundef %caller_id) unnamed_addr #9 align 2 personality ptr @__gxx_personality_v0 { entry: - %m_caller_id = getelementptr inbounds %class.event_handler, ptr %this, i64 0, i32 1 + %m_caller_id = getelementptr inbounds i8, ptr %this, i64 8 store i32 %caller_id, ptr %m_caller_id, align 8 %call = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str) %call2 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSo5flushEv(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout) diff --git a/bench/z3/optimized/z3_log_frontend.cpp.ll b/bench/z3/optimized/z3_log_frontend.cpp.ll index a17632ff14b..ddf0d67abcb 100644 --- a/bench/z3/optimized/z3_log_frontend.cpp.ll +++ b/bench/z3/optimized/z3_log_frontend.cpp.ll @@ -153,7 +153,7 @@ invoke.cont6: ; preds = %invoke.cont4 invoke.cont8: ; preds = %invoke.cont6 %vtable = load ptr, ptr %4, align 8 - %vfn = getelementptr inbounds ptr, ptr %vtable, i64 2 + %vfn = getelementptr inbounds i8, ptr %vtable, i64 16 %5 = load ptr, ptr %vfn, align 8 %call11 = invoke noundef ptr %5(ptr noundef nonnull align 8 dereferenceable(8) %4) to label %invoke.cont10 unwind label %lpad1