wasmtime 15.0.1 → 16.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Cargo.lock +83 -103
- data/ext/Cargo.toml +6 -6
- data/ext/cargo-vendor/cranelift-bforest-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-bforest-0.103.0/Cargo.toml +40 -0
- data/ext/cargo-vendor/cranelift-bforest-0.103.0/src/lib.rs +183 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/Cargo.toml +175 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/binemit/mod.rs +171 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/egraph/cost.rs +171 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/egraph/elaborate.rs +750 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/egraph.rs +703 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/ir/dfg.rs +1735 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/ir/pcc.rs +1682 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/aarch64/lower/isle.rs +874 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/riscv64/inst/mod.rs +2041 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/riscv64/inst.isle +2928 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/riscv64/lower.isle +2864 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/s390x/lower/isle.rs +1029 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/x64/lower/isle.rs +1064 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isa/x64/pcc.rs +916 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/isle_prelude.rs +977 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/lib.rs +106 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/machinst/isle.rs +896 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts/arithmetic.isle +152 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts/cprop.isle +237 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts/icmp.isle +199 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts/selects.isle +76 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/opts.rs +172 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/prelude.isle +649 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/timing.rs +297 -0
- data/ext/cargo-vendor/cranelift-codegen-0.103.0/src/unionfind.rs +75 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-meta-0.103.0/Cargo.toml +35 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.103.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/cranelift-codegen-shared-0.103.0/src/lib.rs +10 -0
- data/ext/cargo-vendor/cranelift-control-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-control-0.103.0/Cargo.toml +30 -0
- data/ext/cargo-vendor/cranelift-entity-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-entity-0.103.0/Cargo.toml +50 -0
- data/ext/cargo-vendor/cranelift-entity-0.103.0/src/lib.rs +317 -0
- data/ext/cargo-vendor/cranelift-entity-0.103.0/src/primary.rs +516 -0
- data/ext/cargo-vendor/cranelift-entity-0.103.0/src/unsigned.rs +71 -0
- data/ext/cargo-vendor/cranelift-frontend-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-frontend-0.103.0/Cargo.toml +68 -0
- data/ext/cargo-vendor/cranelift-frontend-0.103.0/src/lib.rs +189 -0
- data/ext/cargo-vendor/cranelift-isle-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-isle-0.103.0/Cargo.toml +46 -0
- data/ext/cargo-vendor/cranelift-isle-0.103.0/isle_examples/link/multi_constructor_main.rs +88 -0
- data/ext/cargo-vendor/cranelift-isle-0.103.0/isle_examples/link/multi_extractor_main.rs +63 -0
- data/ext/cargo-vendor/cranelift-isle-0.103.0/src/codegen.rs +886 -0
- data/ext/cargo-vendor/cranelift-native-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-native-0.103.0/Cargo.toml +43 -0
- data/ext/cargo-vendor/cranelift-native-0.103.0/src/lib.rs +184 -0
- data/ext/cargo-vendor/cranelift-wasm-0.103.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/cranelift-wasm-0.103.0/Cargo.toml +106 -0
- data/ext/cargo-vendor/cranelift-wasm-0.103.0/src/environ/dummy.rs +953 -0
- data/ext/cargo-vendor/cranelift-wasm-0.103.0/src/lib.rs +62 -0
- data/ext/cargo-vendor/cranelift-wasm-0.103.0/src/translation_utils.rs +89 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-cap-std-sync-16.0.0/Cargo.toml +102 -0
- data/ext/cargo-vendor/wasi-common-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasi-common-16.0.0/Cargo.toml +131 -0
- data/ext/cargo-vendor/wasi-common-16.0.0/src/lib.rs +76 -0
- data/ext/cargo-vendor/wasi-common-16.0.0/src/snapshots/preview_1.rs +1492 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/Cargo.toml +211 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/compiler.rs +682 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/component/component.rs +505 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/component/func/typed.rs +2400 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/config.rs +2422 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/func.rs +2391 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/lib.rs +520 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/memory.rs +998 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/module.rs +1370 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/stack.rs +73 -0
- data/ext/cargo-vendor/wasmtime-16.0.0/src/v128.rs +122 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-asm-macros-16.0.0/Cargo.toml +22 -0
- data/ext/cargo-vendor/wasmtime-cache-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cache-16.0.0/Cargo.toml +81 -0
- data/ext/cargo-vendor/wasmtime-cache-16.0.0/src/lib.rs +235 -0
- data/ext/cargo-vendor/wasmtime-cache-16.0.0/src/worker.rs +890 -0
- data/ext/cargo-vendor/wasmtime-component-macro-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-macro-16.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wasmtime-component-util-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-component-util-16.0.0/Cargo.toml +25 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/Cargo.toml +112 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/compiler/component.rs +959 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/compiler.rs +1317 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/debug/transform/expression.rs +1252 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/debug/transform/simulate.rs +410 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/debug.rs +18 -0
- data/ext/cargo-vendor/wasmtime-cranelift-16.0.0/src/func_environ.rs +2750 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-cranelift-shared-16.0.0/Cargo.toml +71 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/Cargo.lock +660 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/Cargo.toml +125 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/compilation.rs +402 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/component/compiler.rs +47 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/component/translate.rs +951 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/component/types.rs +1876 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/lib.rs +59 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/module.rs +1075 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/module_environ.rs +892 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/module_types.rs +120 -0
- data/ext/cargo-vendor/wasmtime-environ-16.0.0/src/scopevec.rs +78 -0
- data/ext/cargo-vendor/wasmtime-fiber-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-fiber-16.0.0/Cargo.toml +63 -0
- data/ext/cargo-vendor/wasmtime-fiber-16.0.0/src/lib.rs +328 -0
- data/ext/cargo-vendor/wasmtime-fiber-16.0.0/src/unix.rs +265 -0
- data/ext/cargo-vendor/wasmtime-fiber-16.0.0/src/windows.c +9 -0
- data/ext/cargo-vendor/wasmtime-jit-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-16.0.0/Cargo.toml +125 -0
- data/ext/cargo-vendor/wasmtime-jit-16.0.0/src/code_memory.rs +319 -0
- data/ext/cargo-vendor/wasmtime-jit-16.0.0/src/instantiate.rs +772 -0
- data/ext/cargo-vendor/wasmtime-jit-16.0.0/src/lib.rs +21 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-debug-16.0.0/Cargo.toml +67 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-16.0.0/Cargo.toml +46 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/Cargo.toml +139 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/build.rs +28 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/proptest-regressions/instance/allocator/pooling/memory_pool.txt +9 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/aarch64.rs +120 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/mod.rs +32 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/riscv64.rs +88 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/s390x.rs +61 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/arch/x86_64.rs +106 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/cow.rs +888 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/helpers.c +113 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/instance/allocator/pooling/memory_pool.rs +1005 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/instance/allocator/pooling/stack_pool.rs +242 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/instance/allocator/pooling/table_pool.rs +227 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/instance/allocator/pooling.rs +698 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/lib.rs +264 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/libcalls.rs +776 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/mmap.rs +214 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/mpk/enabled.rs +204 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/mpk/pkru.rs +102 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/miri/mod.rs +10 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/miri/traphandlers.rs +42 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/miri/unwind.rs +17 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/miri/vm.rs +63 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/mod.rs +30 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/machports.rs +487 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/macos_traphandlers.rs +28 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/mod.rs +21 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/signals.rs +402 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/unwind.rs +91 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/unix/vm.rs +208 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/windows/mod.rs +6 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/windows/traphandlers.rs +105 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/windows/unwind.rs +46 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/sys/windows/vm.rs +79 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/traphandlers/backtrace.rs +265 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/traphandlers.rs +733 -0
- data/ext/cargo-vendor/wasmtime-runtime-16.0.0/src/vmcontext.rs +1197 -0
- data/ext/cargo-vendor/wasmtime-types-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-types-16.0.0/Cargo.toml +36 -0
- data/ext/cargo-vendor/wasmtime-types-16.0.0/src/lib.rs +504 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-16.0.0/Cargo.toml +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/Cargo.toml +261 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/lib.rs +137 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/host/io.rs +368 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/host/network.rs +570 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/host/tcp.rs +632 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/host/udp.rs +550 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/mod.rs +328 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/preview0.rs +870 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/preview1.rs +2348 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/stdio.rs +259 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/stream.rs +182 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/src/preview2/table.rs +337 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/api.rs +218 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/async_.rs +360 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/main.rs +113 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/preview1.rs +239 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/all/sync.rs +299 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/tests/process_stdin.rs +165 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/command-extended.wit +6 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/deps/cli/command.wit +7 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/deps/cli/imports.wit +20 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/deps/http/proxy.wit +32 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/deps/http/types.wit +570 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/wit/test.wit +22 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/witx/preview0/typenames.witx +746 -0
- data/ext/cargo-vendor/wasmtime-wasi-16.0.0/witx/preview0/wasi_unstable.witx +513 -0
- data/ext/cargo-vendor/wasmtime-winch-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-winch-16.0.0/Cargo.toml +77 -0
- data/ext/cargo-vendor/wasmtime-winch-16.0.0/src/compiler.rs +243 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wit-bindgen-16.0.0/Cargo.toml +41 -0
- data/ext/cargo-vendor/wasmtime-wmemcheck-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wasmtime-wmemcheck-16.0.0/Cargo.toml +29 -0
- data/ext/cargo-vendor/wiggle-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-16.0.0/Cargo.toml +115 -0
- data/ext/cargo-vendor/wiggle-16.0.0/src/lib.rs +1198 -0
- data/ext/cargo-vendor/wiggle-generate-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-generate-16.0.0/Cargo.toml +65 -0
- data/ext/cargo-vendor/wiggle-generate-16.0.0/src/types/handle.rs +84 -0
- data/ext/cargo-vendor/wiggle-generate-16.0.0/src/types/record.rs +132 -0
- data/ext/cargo-vendor/wiggle-generate-16.0.0/src/types/variant.rs +191 -0
- data/ext/cargo-vendor/wiggle-macro-16.0.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/wiggle-macro-16.0.0/Cargo.toml +55 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/.cargo-checksum.json +1 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/Cargo.toml +76 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/abi/local.rs +81 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/abi/mod.rs +614 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/call.rs +345 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/context.rs +545 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/control.rs +497 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/env.rs +251 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/codegen/mod.rs +428 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/frame/mod.rs +221 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/aarch64/abi.rs +313 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/aarch64/masm.rs +444 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/aarch64/mod.rs +137 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/mod.rs +225 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/abi.rs +524 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/asm.rs +1117 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/masm.rs +994 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/mod.rs +172 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/isa/x64/regs.rs +247 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/masm.rs +679 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/stack.rs +436 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/trampoline.rs +734 -0
- data/ext/cargo-vendor/winch-codegen-0.14.0/src/visitor.rs +1383 -0
- data/lib/wasmtime/version.rb +1 -1
- metadata +903 -977
- data/ext/cargo-vendor/cranelift-bforest-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-bforest-0.102.1/Cargo.toml +0 -31
- data/ext/cargo-vendor/cranelift-bforest-0.102.1/src/lib.rs +0 -184
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/Cargo.toml +0 -164
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/binemit/mod.rs +0 -171
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/egraph/cost.rs +0 -91
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/egraph/elaborate.rs +0 -731
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/egraph.rs +0 -678
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/ir/dfg.rs +0 -1730
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/ir/pcc.rs +0 -1682
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/aarch64/lower/isle.rs +0 -875
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/riscv64/inst/mod.rs +0 -2041
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/riscv64/inst.isle +0 -2909
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/riscv64/lower.isle +0 -2860
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/s390x/lower/isle.rs +0 -1029
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/x64/lower/isle.rs +0 -1070
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isa/x64/pcc.rs +0 -884
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/isle_prelude.rs +0 -972
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/lib.rs +0 -108
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/machinst/isle.rs +0 -897
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts/arithmetic.isle +0 -128
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts/cprop.isle +0 -210
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts/icmp.isle +0 -177
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts/selects.isle +0 -59
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/opts.rs +0 -138
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/prelude.isle +0 -646
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/timing.rs +0 -271
- data/ext/cargo-vendor/cranelift-codegen-0.102.1/src/unionfind.rs +0 -74
- data/ext/cargo-vendor/cranelift-codegen-meta-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-meta-0.102.1/Cargo.toml +0 -26
- data/ext/cargo-vendor/cranelift-codegen-shared-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-codegen-shared-0.102.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/cranelift-codegen-shared-0.102.1/src/lib.rs +0 -12
- data/ext/cargo-vendor/cranelift-control-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-control-0.102.1/Cargo.toml +0 -30
- data/ext/cargo-vendor/cranelift-entity-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-entity-0.102.1/Cargo.toml +0 -41
- data/ext/cargo-vendor/cranelift-entity-0.102.1/src/lib.rs +0 -316
- data/ext/cargo-vendor/cranelift-entity-0.102.1/src/primary.rs +0 -456
- data/ext/cargo-vendor/cranelift-frontend-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-frontend-0.102.1/Cargo.toml +0 -59
- data/ext/cargo-vendor/cranelift-frontend-0.102.1/src/lib.rs +0 -191
- data/ext/cargo-vendor/cranelift-isle-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-isle-0.102.1/Cargo.toml +0 -37
- data/ext/cargo-vendor/cranelift-isle-0.102.1/isle_examples/link/multi_constructor_main.rs +0 -71
- data/ext/cargo-vendor/cranelift-isle-0.102.1/isle_examples/link/multi_extractor_main.rs +0 -50
- data/ext/cargo-vendor/cranelift-isle-0.102.1/src/codegen.rs +0 -763
- data/ext/cargo-vendor/cranelift-native-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-native-0.102.1/Cargo.toml +0 -43
- data/ext/cargo-vendor/cranelift-native-0.102.1/src/lib.rs +0 -190
- data/ext/cargo-vendor/cranelift-wasm-0.102.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/cranelift-wasm-0.102.1/Cargo.toml +0 -97
- data/ext/cargo-vendor/cranelift-wasm-0.102.1/src/environ/dummy.rs +0 -953
- data/ext/cargo-vendor/cranelift-wasm-0.102.1/src/lib.rs +0 -64
- data/ext/cargo-vendor/cranelift-wasm-0.102.1/src/translation_utils.rs +0 -97
- data/ext/cargo-vendor/wasi-cap-std-sync-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-cap-std-sync-15.0.1/Cargo.toml +0 -93
- data/ext/cargo-vendor/wasi-common-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasi-common-15.0.1/Cargo.toml +0 -122
- data/ext/cargo-vendor/wasi-common-15.0.1/src/lib.rs +0 -73
- data/ext/cargo-vendor/wasi-common-15.0.1/src/snapshots/preview_1.rs +0 -1490
- data/ext/cargo-vendor/wasm-encoder-0.36.2/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasm-encoder-0.36.2/Cargo.toml +0 -37
- data/ext/cargo-vendor/wasm-encoder-0.36.2/README.md +0 -80
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/aliases.rs +0 -160
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/builder.rs +0 -455
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/canonicals.rs +0 -159
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/components.rs +0 -29
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/exports.rs +0 -124
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/imports.rs +0 -175
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/instances.rs +0 -200
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/modules.rs +0 -29
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/names.rs +0 -149
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/start.rs +0 -52
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component/types.rs +0 -771
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/component.rs +0 -168
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/code.rs +0 -2989
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/custom.rs +0 -73
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/data.rs +0 -185
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/dump.rs +0 -627
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/elements.rs +0 -220
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/exports.rs +0 -98
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/functions.rs +0 -63
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/globals.rs +0 -100
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/imports.rs +0 -155
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/linking.rs +0 -263
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/memories.rs +0 -111
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/names.rs +0 -265
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/producers.rs +0 -180
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/start.rs +0 -39
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/tables.rs +0 -115
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/tags.rs +0 -104
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core/types.rs +0 -584
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/core.rs +0 -168
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/lib.rs +0 -215
- data/ext/cargo-vendor/wasm-encoder-0.36.2/src/raw.rs +0 -30
- data/ext/cargo-vendor/wasmparser-0.116.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmparser-0.116.1/Cargo.lock +0 -674
- data/ext/cargo-vendor/wasmparser-0.116.1/Cargo.toml +0 -60
- data/ext/cargo-vendor/wasmparser-0.116.1/README.md +0 -36
- data/ext/cargo-vendor/wasmparser-0.116.1/benches/benchmark.rs +0 -370
- data/ext/cargo-vendor/wasmparser-0.116.1/examples/simple.rs +0 -37
- data/ext/cargo-vendor/wasmparser-0.116.1/src/binary_reader.rs +0 -1706
- data/ext/cargo-vendor/wasmparser-0.116.1/src/define_types.rs +0 -782
- data/ext/cargo-vendor/wasmparser-0.116.1/src/lib.rs +0 -729
- data/ext/cargo-vendor/wasmparser-0.116.1/src/limits.rs +0 -58
- data/ext/cargo-vendor/wasmparser-0.116.1/src/parser.rs +0 -1612
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/aliases.rs +0 -119
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/canonicals.rs +0 -120
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/exports.rs +0 -135
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/imports.rs +0 -129
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/instances.rs +0 -163
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/names.rs +0 -102
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/start.rs +0 -30
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component/types.rs +0 -549
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/component.rs +0 -17
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/code.rs +0 -146
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/coredumps.rs +0 -243
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/custom.rs +0 -63
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/data.rs +0 -96
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/dylink0.rs +0 -132
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/elements.rs +0 -152
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/exports.rs +0 -65
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/functions.rs +0 -17
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/globals.rs +0 -49
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/imports.rs +0 -76
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/init.rs +0 -51
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/memories.rs +0 -56
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/names.rs +0 -153
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/operators.rs +0 -354
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/producers.rs +0 -83
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/tables.rs +0 -87
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/tags.rs +0 -32
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core/types.rs +0 -544
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers/core.rs +0 -37
- data/ext/cargo-vendor/wasmparser-0.116.1/src/readers.rs +0 -316
- data/ext/cargo-vendor/wasmparser-0.116.1/src/resources.rs +0 -398
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/component.rs +0 -3203
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/core.rs +0 -1341
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/func.rs +0 -348
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/names.rs +0 -859
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/operators.rs +0 -3466
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator/types.rs +0 -4011
- data/ext/cargo-vendor/wasmparser-0.116.1/src/validator.rs +0 -1603
- data/ext/cargo-vendor/wasmparser-0.116.1/tests/big-module.rs +0 -33
- data/ext/cargo-vendor/wasmtime-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-15.0.1/Cargo.toml +0 -202
- data/ext/cargo-vendor/wasmtime-15.0.1/src/compiler.rs +0 -682
- data/ext/cargo-vendor/wasmtime-15.0.1/src/component/component.rs +0 -505
- data/ext/cargo-vendor/wasmtime-15.0.1/src/component/func/typed.rs +0 -2398
- data/ext/cargo-vendor/wasmtime-15.0.1/src/config.rs +0 -2422
- data/ext/cargo-vendor/wasmtime-15.0.1/src/func.rs +0 -2428
- data/ext/cargo-vendor/wasmtime-15.0.1/src/lib.rs +0 -518
- data/ext/cargo-vendor/wasmtime-15.0.1/src/memory.rs +0 -996
- data/ext/cargo-vendor/wasmtime-15.0.1/src/module.rs +0 -1370
- data/ext/cargo-vendor/wasmtime-15.0.1/src/stack.rs +0 -73
- data/ext/cargo-vendor/wasmtime-15.0.1/src/v128.rs +0 -151
- data/ext/cargo-vendor/wasmtime-asm-macros-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-asm-macros-15.0.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/wasmtime-cache-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cache-15.0.1/Cargo.toml +0 -72
- data/ext/cargo-vendor/wasmtime-cache-15.0.1/src/lib.rs +0 -238
- data/ext/cargo-vendor/wasmtime-cache-15.0.1/src/worker.rs +0 -894
- data/ext/cargo-vendor/wasmtime-component-macro-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-macro-15.0.1/Cargo.toml +0 -58
- data/ext/cargo-vendor/wasmtime-component-util-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-component-util-15.0.1/Cargo.toml +0 -25
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/Cargo.toml +0 -103
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/compiler/component.rs +0 -959
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/compiler.rs +0 -1317
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/debug/transform/expression.rs +0 -1250
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/debug/transform/simulate.rs +0 -410
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/debug.rs +0 -18
- data/ext/cargo-vendor/wasmtime-cranelift-15.0.1/src/func_environ.rs +0 -2746
- data/ext/cargo-vendor/wasmtime-cranelift-shared-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-cranelift-shared-15.0.1/Cargo.toml +0 -62
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/Cargo.lock +0 -677
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/Cargo.toml +0 -116
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/compilation.rs +0 -402
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/component/compiler.rs +0 -47
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/component/translate.rs +0 -951
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/component/types.rs +0 -1870
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/lib.rs +0 -59
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/module.rs +0 -1083
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/module_environ.rs +0 -876
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/module_types.rs +0 -78
- data/ext/cargo-vendor/wasmtime-environ-15.0.1/src/scopevec.rs +0 -57
- data/ext/cargo-vendor/wasmtime-fiber-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-fiber-15.0.1/Cargo.toml +0 -54
- data/ext/cargo-vendor/wasmtime-fiber-15.0.1/src/lib.rs +0 -327
- data/ext/cargo-vendor/wasmtime-fiber-15.0.1/src/unix.rs +0 -265
- data/ext/cargo-vendor/wasmtime-fiber-15.0.1/src/windows.c +0 -9
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/Cargo.toml +0 -115
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/code_memory.rs +0 -321
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/instantiate.rs +0 -766
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/lib.rs +0 -22
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/unwind/miri.rs +0 -15
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/unwind/systemv.rs +0 -90
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/unwind/winx64.rs +0 -44
- data/ext/cargo-vendor/wasmtime-jit-15.0.1/src/unwind.rs +0 -14
- data/ext/cargo-vendor/wasmtime-jit-debug-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-debug-15.0.1/Cargo.toml +0 -58
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-jit-icache-coherence-15.0.1/Cargo.toml +0 -37
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/Cargo.toml +0 -126
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/build.rs +0 -19
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/proptest-regressions/instance/allocator/pooling/memory_pool.txt +0 -8
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/cow.rs +0 -1060
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/helpers.c +0 -108
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/memory_pool.rs +0 -999
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/stack_pool.rs +0 -242
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/table_pool.rs +0 -225
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/unix.rs +0 -56
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling/windows.rs +0 -38
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/instance/allocator/pooling.rs +0 -708
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/lib.rs +0 -279
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/libcalls.rs +0 -775
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/mmap.rs +0 -226
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/mpk/enabled.rs +0 -201
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/mpk/pkru.rs +0 -93
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines/aarch64.rs +0 -42
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines/riscv64.rs +0 -45
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines/s390x.rs +0 -25
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines/x86_64.rs +0 -64
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/trampolines.rs +0 -19
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace/aarch64.rs +0 -55
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace/riscv64.rs +0 -18
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace/s390x.rs +0 -22
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace/x86_64.rs +0 -20
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/backtrace.rs +0 -291
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/macos.rs +0 -492
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/unix.rs +0 -402
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers/windows.rs +0 -89
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/traphandlers.rs +0 -815
- data/ext/cargo-vendor/wasmtime-runtime-15.0.1/src/vmcontext.rs +0 -1197
- data/ext/cargo-vendor/wasmtime-types-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-types-15.0.1/Cargo.toml +0 -36
- data/ext/cargo-vendor/wasmtime-types-15.0.1/src/lib.rs +0 -504
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-versioned-export-macros-15.0.1/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/Cargo.toml +0 -248
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/lib.rs +0 -135
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/host/io.rs +0 -368
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/host/network.rs +0 -515
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/host/tcp.rs +0 -630
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/host/udp.rs +0 -543
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/mod.rs +0 -326
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/preview1.rs +0 -2342
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/stdio.rs +0 -450
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/stream.rs +0 -182
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/src/preview2/table.rs +0 -258
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/command-extended.wit +0 -6
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/deps/cli/command.wit +0 -7
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/deps/cli/reactor.wit +0 -31
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/deps/http/proxy.wit +0 -33
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/deps/http/types.wit +0 -559
- data/ext/cargo-vendor/wasmtime-wasi-15.0.1/wit/test.wit +0 -22
- data/ext/cargo-vendor/wasmtime-winch-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-winch-15.0.1/Cargo.toml +0 -68
- data/ext/cargo-vendor/wasmtime-winch-15.0.1/src/compiler.rs +0 -242
- data/ext/cargo-vendor/wasmtime-wit-bindgen-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wit-bindgen-15.0.1/Cargo.toml +0 -32
- data/ext/cargo-vendor/wasmtime-wmemcheck-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wasmtime-wmemcheck-15.0.1/Cargo.toml +0 -22
- data/ext/cargo-vendor/wiggle-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-15.0.1/Cargo.toml +0 -106
- data/ext/cargo-vendor/wiggle-15.0.1/src/lib.rs +0 -1198
- data/ext/cargo-vendor/wiggle-generate-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-generate-15.0.1/Cargo.toml +0 -58
- data/ext/cargo-vendor/wiggle-generate-15.0.1/LICENSE +0 -220
- data/ext/cargo-vendor/wiggle-generate-15.0.1/src/types/handle.rs +0 -84
- data/ext/cargo-vendor/wiggle-generate-15.0.1/src/types/record.rs +0 -132
- data/ext/cargo-vendor/wiggle-generate-15.0.1/src/types/variant.rs +0 -191
- data/ext/cargo-vendor/wiggle-macro-15.0.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/wiggle-macro-15.0.1/Cargo.toml +0 -55
- data/ext/cargo-vendor/wiggle-macro-15.0.1/LICENSE +0 -220
- data/ext/cargo-vendor/winch-codegen-0.13.1/.cargo-checksum.json +0 -1
- data/ext/cargo-vendor/winch-codegen-0.13.1/Cargo.toml +0 -67
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/abi/local.rs +0 -70
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/abi/mod.rs +0 -304
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/call.rs +0 -353
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/context.rs +0 -465
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/control.rs +0 -456
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/env.rs +0 -181
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/codegen/mod.rs +0 -436
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/frame/mod.rs +0 -189
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/aarch64/abi.rs +0 -267
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/aarch64/masm.rs +0 -436
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/aarch64/mod.rs +0 -136
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/mod.rs +0 -218
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/abi.rs +0 -410
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/asm.rs +0 -1106
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/masm.rs +0 -953
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/mod.rs +0 -172
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/isa/x64/regs.rs +0 -247
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/masm.rs +0 -592
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/stack.rs +0 -366
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/trampoline.rs +0 -489
- data/ext/cargo-vendor/winch-codegen-0.13.1/src/visitor.rs +0 -1339
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/node.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/path.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/pool.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-bforest-0.102.1 → cranelift-bforest-0.103.0}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/benches/x64-evex-encoding.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/alias_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/binemit/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/bitset.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/cfg_printer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/context.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ctxhash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/cursor.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/data_value.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/dbg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/dce.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/dominator_tree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/egraph/domtree.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/flowgraph.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/fx.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/incremental_cache.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/inst_predicates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/atomic_rmw_op.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/builder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/condcodes.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/constant.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/dynamic_type.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/extfunc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/extname.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/function.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/jumptable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/known_symbol.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/layout.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/libcall.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/memflags.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/memtype.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/progpoint.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/sourceloc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/stackslot.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/trapcode.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/ir/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/emit.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/inst_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/lower_dynamic_neon.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/aarch64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/call_conv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/emit.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/encode.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst/vector.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/inst_vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/lower/isle.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/riscv64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/emit.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/imms.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/inst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/s390x/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/encoding/evex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/encoding/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/encoding/rex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/encoding/vex.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/args.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/emit.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/emit_state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/emit_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/regs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/unwind/systemv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/unwind/winx64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst/unwind.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/inst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/lower/isle/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/isa/x64/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/iterators.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/legalizer/globalvalue.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/legalizer/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/legalizer/table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/loop_analysis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/abi.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/blockorder.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/buffer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/helpers.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/inst_common.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/lower.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/pcc.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/reg.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/valueregs.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/machinst/vcode.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/nan_canonicalization.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/bitops.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/extends.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/generated_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/remat.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/shifts.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/opts/vector.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/prelude_lower.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/prelude_opt.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/print_errors.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/remove_constant_phis.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/result.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/scoped_hash_map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/souper_harvest.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/unreachable_code.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/value_label.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/verifier/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-0.102.1 → cranelift-codegen-0.103.0}/src/write.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/isa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/operands.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/cdsl/typevar.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/gen_inst.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/gen_settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/gen_types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/arm64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/s390x.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/isa/x86.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/entities.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/formats.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/immediates.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/instructions.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/settings.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/shared/types.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/srcgen.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-meta-0.102.1 → cranelift-codegen-meta-0.103.0}/src/unique_table.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.102.1 → cranelift-codegen-shared-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.102.1 → cranelift-codegen-shared-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.102.1 → cranelift-codegen-shared-0.103.0}/src/constant_hash.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-codegen-shared-0.102.1 → cranelift-codegen-shared-0.103.0}/src/constants.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/src/chaos.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-control-0.102.1 → cranelift-control-0.103.0}/src/zero_sized.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/boxed_slice.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/iter.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/keys.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/list.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/map.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/packed_option.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/set.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-entity-0.102.1 → cranelift-entity-0.103.0}/src/sparse.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/src/frontend.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/src/ssa.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/src/switch.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-frontend-0.102.1 → cranelift-frontend-0.103.0}/src/variable.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/bad_converters.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/bound_var_type_mismatch.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/converter_extractor_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/error1.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/extra_parens.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/impure_expression.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/impure_rhs.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/multi_internal_etor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/fail/multi_prio.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/borrows.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/borrows_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/iflets.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/iflets_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/multi_constructor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/multi_extractor.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/test.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/link/test_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/bound_var.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/construct_and_extract.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/conversions.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/conversions_extern.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/let.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/nodebug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/prio_trie_bug.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/test2.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/test3.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/test4.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/pass/tutorial.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/run/iconst.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/run/iconst_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/run/let_shadowing.isle +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/isle_examples/run/let_shadowing_main.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/ast.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/compile.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/lexer.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/log.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/overlap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/parser.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/sema.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/serialize.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/src/trie_again.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-isle-0.102.1 → cranelift-isle-0.103.0}/tests/run_tests.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.102.1 → cranelift-native-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.102.1 → cranelift-native-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-native-0.102.1 → cranelift-native-0.103.0}/src/riscv.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/README.md +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/code_translator/bounds_checks.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/code_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/environ/mod.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/environ/spec.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/func_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/heap.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/module_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/sections_translator.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/src/state.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/tests/wasm_testsuite.rs +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/arith.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/br_table.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/call-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/call.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/embenchen_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/embenchen_fasta.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/embenchen_ifs.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/embenchen_primes.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/fac-multi-value.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/fibonacci.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/globals.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/icall-simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/icall.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-reachability-translation-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-unreachable-else-params-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/if-unreachable-else-params.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/issue-1306-name-section-with-u32-max-function-index.wasm +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/memory.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-1.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-10.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-11.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-12.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-13.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-14.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-15.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-16.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-17.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-2.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-3.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-4.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-5.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-6.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-7.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-8.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/multi-9.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/nullref.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/passive-data.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/pr2303.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/pr2559.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/ref-func-0.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/rust_fannkuch.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/select.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/simd-store.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/simd.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/table-copy.wat +0 -0
- /data/ext/cargo-vendor/{cranelift-wasm-0.102.1 → cranelift-wasm-0.103.0}/wasmtests/unreachable_code.wat +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/net.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/sched/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/sched/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-cap-std-sync-15.0.1 → wasi-cap-std-sync-16.0.0}/src/stdio.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/docs/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_args.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_clock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_environ.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_fd.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_path.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_proc.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_random.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_sched.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/ephemeral/witx/wasi_ephemeral_sock.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/old/snapshot_0/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/old/snapshot_0/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/old/snapshot_0/witx/wasi_unstable.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/snapshot/docs.html +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/snapshot/docs.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/snapshot/witx/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/phases/snapshot/witx/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/proposal-template/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/proposals/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/snapshots/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/WASI/standard/README.md +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/dir.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/file.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/random.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/sched/subscription.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/sched.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/snapshots/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/snapshots/preview_0.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/snapshots/preview_1/error.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/string_array.rs +0 -0
- /data/ext/cargo-vendor/{wasi-common-15.0.1 → wasi-common-16.0.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasm-encoder-0.36.2 → wasmtime-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/code.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/func/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/func/options.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/instance.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/linker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/matching.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/storage.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/component/values.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/coredump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/engine/serialization.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/engine.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/externals/global.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/externals/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/externals.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/func/typed.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/instance.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/limits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/linker.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/module/registry.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/ref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/signatures.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/store/context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/store/data.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/store/func_refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/store.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline/func.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline/global.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/trap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/types/matching.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/unix.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/values.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-16.0.0}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-asm-macros-15.0.1 → wasmtime-asm-macros-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmparser-0.116.1 → wasmtime-cache-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/config/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/worker/tests/system_time_stub.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/src/worker/tests.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-cache-16.0.0}/tests/cache_write_default_config.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/src/bindgen.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/char.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/conventions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/direct-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/empty.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/flags.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/floats.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/function-new.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/integers.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/many-arguments.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/multi-return.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/multiversion/deps/v1/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/multiversion/deps/v2/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/multiversion/root.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/records.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/rename.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/resources-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/resources-import.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/share-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/simple-functions.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/simple-lists.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/simple-wasi.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/small-anonymous.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/smoke-default.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/smoke-export.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/smoke.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/strings.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/use-paths.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/variants.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen/worlds-with-types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-macro-15.0.1 → wasmtime-component-macro-16.0.0}/tests/codegen.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-component-util-15.0.1 → wasmtime-component-util-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-15.0.1 → wasmtime-cranelift-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/SECURITY.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/gc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/address_transform.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/attr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/line_program.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/range_info_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/refs.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/unit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/transform/utils.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/debug/write_debuginfo.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-cranelift-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-15.0.1 → wasmtime-cranelift-shared-16.0.0}/src/compiled_function.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-15.0.1 → wasmtime-cranelift-shared-16.0.0}/src/isa_builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-15.0.1 → wasmtime-cranelift-shared-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-shared-15.0.1 → wasmtime-cranelift-shared-16.0.0}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cache-15.0.1 → wasmtime-environ-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/examples/factc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/address_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/builtin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/dfg.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/info.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/translate/adapt.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/translate/inline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/types/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component/vmcomponent_offsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/core_types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/signature.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/trampoline.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/transcode.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact/traps.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/fact.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/obj.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/ref_bits.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/stack_map.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/trap_encoding.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/tunables.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-environ-16.0.0}/src/vmoffsets.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-cranelift-15.0.1 → wasmtime-fiber-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/aarch64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/arm.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/riscv64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/x86.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/unix/x86_64.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-fiber-16.0.0}/src/windows.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-environ-15.0.1 → wasmtime-jit-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/debug.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/demangling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/profiling/jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/profiling/perfmap.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/profiling/vtune.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-jit-16.0.0}/src/profiling.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-15.0.1 → wasmtime-jit-debug-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-15.0.1 → wasmtime-jit-debug-16.0.0}/src/gdb_jit_int.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-15.0.1 → wasmtime-jit-debug-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-debug-15.0.1 → wasmtime-jit-debug-16.0.0}/src/perf_jitdump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-15.0.1 → wasmtime-jit-icache-coherence-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-15.0.1 → wasmtime-jit-icache-coherence-16.0.0}/src/libc.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-15.0.1 → wasmtime-jit-icache-coherence-16.0.0}/src/miri.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-icache-coherence-15.0.1 → wasmtime-jit-icache-coherence-16.0.0}/src/win.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-fiber-15.0.1 → wasmtime-runtime-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1/src/trampolines → wasmtime-runtime-16.0.0/src/arch}/s390x.S +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/component/libcalls.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/component/resources.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/component.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/debug_builtins.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/export.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/externref.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/imports.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/instance/allocator/on_demand.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/instance/allocator/pooling/index_allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/instance/allocator.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/instance.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/memory.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/mmap_vec.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/module_id.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/mpk/disabled.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/mpk/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/mpk/sys.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/parking_spot.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/send_sync_ptr.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/store_box.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1/src/mmap/miri.rs → wasmtime-runtime-16.0.0/src/sys/miri/mmap.rs} +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1/src/mmap/unix.rs → wasmtime-runtime-16.0.0/src/sys/unix/mmap.rs} +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1/src/mmap/windows.rs → wasmtime-runtime-16.0.0/src/sys/windows/mmap.rs} +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/table.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/traphandlers/coredump.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-runtime-16.0.0}/src/vmcontext/vm_host_func_context.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-jit-15.0.1 → wasmtime-types-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-15.0.1 → wasmtime-types-16.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-versioned-export-macros-15.0.1 → wasmtime-versioned-export-macros-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-runtime-15.0.1 → wasmtime-wasi-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/clocks/host.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/command.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/ctx.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/error.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/filesystem.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/clocks.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/env.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/exit.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/filesystem/sync.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/filesystem.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/instance_network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/mod.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/tcp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/host/udp_create_socket.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/ip_name_lookup.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/network.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/pipe.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/poll.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/random.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/stdio/worker_thread_stdin.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/tcp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/udp.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/src/preview2/write_stream.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/environment.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/exit.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/run.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/stdio.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/cli/terminal.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/clocks/monotonic-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/clocks/wall-clock.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/clocks/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/filesystem/preopens.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/filesystem/types.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/filesystem/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/http/handler.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/io/error.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/io/poll.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/io/streams.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/io/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/random/insecure-seed.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/random/insecure.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/random/random.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/random/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/instance-network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/ip-name-lookup.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/network.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/tcp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/tcp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/udp-create-socket.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/udp.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wasmtime-wasi-16.0.0}/wit/deps/sockets/world.wit +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1/witx → wasmtime-wasi-16.0.0/witx/preview1}/typenames.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1/witx → wasmtime-wasi-16.0.0/witx/preview1}/wasi_snapshot_preview1.witx +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-15.0.1 → wasmtime-winch-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-15.0.1 → wasmtime-winch-16.0.0}/src/builder.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-winch-15.0.1 → wasmtime-winch-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-15.0.1 → wasmtime-wit-bindgen-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-15.0.1 → wasmtime-wit-bindgen-16.0.0}/src/rust.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-15.0.1 → wasmtime-wit-bindgen-16.0.0}/src/source.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wit-bindgen-15.0.1 → wasmtime-wit-bindgen-16.0.0}/src/types.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wmemcheck-15.0.1 → wasmtime-wmemcheck-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-types-15.0.1 → wiggle-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/borrow.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/guest_type.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/region.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-16.0.0}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wasmtime-wasi-15.0.1 → wiggle-generate-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/README.md +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/codegen_settings.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/config.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/funcs.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/lifetimes.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/module_trait.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/names.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/types/error.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/types/flags.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/types/mod.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-generate-15.0.1 → wiggle-generate-16.0.0}/src/wasmtime.rs +0 -0
- /data/ext/cargo-vendor/{wiggle-15.0.1 → wiggle-macro-16.0.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{wiggle-macro-15.0.1 → wiggle-macro-16.0.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/LICENSE +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/build.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/codegen/builtin.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/aarch64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/aarch64/asm.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/aarch64/regs.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/reg.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/isa/x64/address.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/lib.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/regalloc.rs +0 -0
- /data/ext/cargo-vendor/{winch-codegen-0.13.1 → winch-codegen-0.14.0}/src/regset.rs +0 -0
@@ -0,0 +1,1735 @@
|
|
1
|
+
//! Data flow graph tracking Instructions, Values, and blocks.
|
2
|
+
|
3
|
+
use crate::entity::{self, PrimaryMap, SecondaryMap};
|
4
|
+
use crate::ir;
|
5
|
+
use crate::ir::builder::ReplaceBuilder;
|
6
|
+
use crate::ir::dynamic_type::{DynamicTypeData, DynamicTypes};
|
7
|
+
use crate::ir::instructions::{CallInfo, InstructionData};
|
8
|
+
use crate::ir::pcc::Fact;
|
9
|
+
use crate::ir::{
|
10
|
+
types, Block, BlockCall, ConstantData, ConstantPool, DynamicType, ExtFuncData, FuncRef,
|
11
|
+
Immediate, Inst, JumpTables, RelSourceLoc, SigRef, Signature, Type, Value,
|
12
|
+
ValueLabelAssignments, ValueList, ValueListPool,
|
13
|
+
};
|
14
|
+
use crate::packed_option::ReservedValue;
|
15
|
+
use crate::write::write_operands;
|
16
|
+
use core::fmt;
|
17
|
+
use core::iter;
|
18
|
+
use core::mem;
|
19
|
+
use core::ops::{Index, IndexMut};
|
20
|
+
use core::u16;
|
21
|
+
|
22
|
+
use alloc::collections::BTreeMap;
|
23
|
+
#[cfg(feature = "enable-serde")]
|
24
|
+
use serde_derive::{Deserialize, Serialize};
|
25
|
+
use smallvec::SmallVec;
|
26
|
+
|
27
|
+
/// Storage for instructions within the DFG.
|
28
|
+
#[derive(Clone, PartialEq, Hash)]
|
29
|
+
#[cfg_attr(feature = "enable-serde", derive(Serialize, Deserialize))]
|
30
|
+
pub struct Insts(PrimaryMap<Inst, InstructionData>);
|
31
|
+
|
32
|
+
/// Allow immutable access to instructions via indexing.
|
33
|
+
impl Index<Inst> for Insts {
|
34
|
+
type Output = InstructionData;
|
35
|
+
|
36
|
+
fn index(&self, inst: Inst) -> &InstructionData {
|
37
|
+
self.0.index(inst)
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
/// Allow mutable access to instructions via indexing.
|
42
|
+
impl IndexMut<Inst> for Insts {
|
43
|
+
fn index_mut(&mut self, inst: Inst) -> &mut InstructionData {
|
44
|
+
self.0.index_mut(inst)
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
/// Storage for basic blocks within the DFG.
|
49
|
+
#[derive(Clone, PartialEq, Hash)]
|
50
|
+
#[cfg_attr(feature = "enable-serde", derive(Serialize, Deserialize))]
|
51
|
+
pub struct Blocks(PrimaryMap<Block, BlockData>);
|
52
|
+
|
53
|
+
impl Blocks {
|
54
|
+
/// Create a new basic block.
|
55
|
+
pub fn add(&mut self) -> Block {
|
56
|
+
self.0.push(BlockData::new())
|
57
|
+
}
|
58
|
+
|
59
|
+
/// Get the total number of basic blocks created in this function, whether they are
|
60
|
+
/// currently inserted in the layout or not.
|
61
|
+
///
|
62
|
+
/// This is intended for use with `SecondaryMap::with_capacity`.
|
63
|
+
pub fn len(&self) -> usize {
|
64
|
+
self.0.len()
|
65
|
+
}
|
66
|
+
|
67
|
+
/// Returns `true` if the given block reference is valid.
|
68
|
+
pub fn is_valid(&self, block: Block) -> bool {
|
69
|
+
self.0.is_valid(block)
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
impl Index<Block> for Blocks {
|
74
|
+
type Output = BlockData;
|
75
|
+
|
76
|
+
fn index(&self, block: Block) -> &BlockData {
|
77
|
+
&self.0[block]
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
impl IndexMut<Block> for Blocks {
|
82
|
+
fn index_mut(&mut self, block: Block) -> &mut BlockData {
|
83
|
+
&mut self.0[block]
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
/// A data flow graph defines all instructions and basic blocks in a function as well as
|
88
|
+
/// the data flow dependencies between them. The DFG also tracks values which can be either
|
89
|
+
/// instruction results or block parameters.
|
90
|
+
///
|
91
|
+
/// The layout of blocks in the function and of instructions in each block is recorded by the
|
92
|
+
/// `Layout` data structure which forms the other half of the function representation.
|
93
|
+
///
|
94
|
+
#[derive(Clone, PartialEq, Hash)]
|
95
|
+
#[cfg_attr(feature = "enable-serde", derive(Serialize, Deserialize))]
|
96
|
+
pub struct DataFlowGraph {
|
97
|
+
/// Data about all of the instructions in the function, including opcodes and operands.
|
98
|
+
/// The instructions in this map are not in program order. That is tracked by `Layout`, along
|
99
|
+
/// with the block containing each instruction.
|
100
|
+
pub insts: Insts,
|
101
|
+
|
102
|
+
/// List of result values for each instruction.
|
103
|
+
///
|
104
|
+
/// This map gets resized automatically by `make_inst()` so it is always in sync with the
|
105
|
+
/// primary `insts` map.
|
106
|
+
results: SecondaryMap<Inst, ValueList>,
|
107
|
+
|
108
|
+
/// basic blocks in the function and their parameters.
|
109
|
+
///
|
110
|
+
/// This map is not in program order. That is handled by `Layout`, and so is the sequence of
|
111
|
+
/// instructions contained in each block.
|
112
|
+
pub blocks: Blocks,
|
113
|
+
|
114
|
+
/// Dynamic types created.
|
115
|
+
pub dynamic_types: DynamicTypes,
|
116
|
+
|
117
|
+
/// Memory pool of value lists.
|
118
|
+
///
|
119
|
+
/// The `ValueList` references into this pool appear in many places:
|
120
|
+
///
|
121
|
+
/// - Instructions in `insts` that don't have room for their entire argument list inline.
|
122
|
+
/// - Instruction result values in `results`.
|
123
|
+
/// - block parameters in `blocks`.
|
124
|
+
pub value_lists: ValueListPool,
|
125
|
+
|
126
|
+
/// Primary value table with entries for all values.
|
127
|
+
values: PrimaryMap<Value, ValueDataPacked>,
|
128
|
+
|
129
|
+
/// Facts: proof-carrying-code assertions about values.
|
130
|
+
pub facts: SecondaryMap<Value, Option<Fact>>,
|
131
|
+
|
132
|
+
/// Function signature table. These signatures are referenced by indirect call instructions as
|
133
|
+
/// well as the external function references.
|
134
|
+
pub signatures: PrimaryMap<SigRef, Signature>,
|
135
|
+
|
136
|
+
/// The pre-legalization signature for each entry in `signatures`, if any.
|
137
|
+
pub old_signatures: SecondaryMap<SigRef, Option<Signature>>,
|
138
|
+
|
139
|
+
/// External function references. These are functions that can be called directly.
|
140
|
+
pub ext_funcs: PrimaryMap<FuncRef, ExtFuncData>,
|
141
|
+
|
142
|
+
/// Saves Value labels.
|
143
|
+
pub values_labels: Option<BTreeMap<Value, ValueLabelAssignments>>,
|
144
|
+
|
145
|
+
/// Constants used within the function.
|
146
|
+
pub constants: ConstantPool,
|
147
|
+
|
148
|
+
/// Stores large immediates that otherwise will not fit on InstructionData.
|
149
|
+
pub immediates: PrimaryMap<Immediate, ConstantData>,
|
150
|
+
|
151
|
+
/// Jump tables used in this function.
|
152
|
+
pub jump_tables: JumpTables,
|
153
|
+
}
|
154
|
+
|
155
|
+
impl DataFlowGraph {
|
156
|
+
/// Create a new empty `DataFlowGraph`.
|
157
|
+
pub fn new() -> Self {
|
158
|
+
Self {
|
159
|
+
insts: Insts(PrimaryMap::new()),
|
160
|
+
results: SecondaryMap::new(),
|
161
|
+
blocks: Blocks(PrimaryMap::new()),
|
162
|
+
dynamic_types: DynamicTypes::new(),
|
163
|
+
value_lists: ValueListPool::new(),
|
164
|
+
values: PrimaryMap::new(),
|
165
|
+
facts: SecondaryMap::new(),
|
166
|
+
signatures: PrimaryMap::new(),
|
167
|
+
old_signatures: SecondaryMap::new(),
|
168
|
+
ext_funcs: PrimaryMap::new(),
|
169
|
+
values_labels: None,
|
170
|
+
constants: ConstantPool::new(),
|
171
|
+
immediates: PrimaryMap::new(),
|
172
|
+
jump_tables: JumpTables::new(),
|
173
|
+
}
|
174
|
+
}
|
175
|
+
|
176
|
+
/// Clear everything.
|
177
|
+
pub fn clear(&mut self) {
|
178
|
+
self.insts.0.clear();
|
179
|
+
self.results.clear();
|
180
|
+
self.blocks.0.clear();
|
181
|
+
self.dynamic_types.clear();
|
182
|
+
self.value_lists.clear();
|
183
|
+
self.values.clear();
|
184
|
+
self.signatures.clear();
|
185
|
+
self.old_signatures.clear();
|
186
|
+
self.ext_funcs.clear();
|
187
|
+
self.values_labels = None;
|
188
|
+
self.constants.clear();
|
189
|
+
self.immediates.clear();
|
190
|
+
self.jump_tables.clear();
|
191
|
+
self.facts.clear();
|
192
|
+
}
|
193
|
+
|
194
|
+
/// Get the total number of instructions created in this function, whether they are currently
|
195
|
+
/// inserted in the layout or not.
|
196
|
+
///
|
197
|
+
/// This is intended for use with `SecondaryMap::with_capacity`.
|
198
|
+
pub fn num_insts(&self) -> usize {
|
199
|
+
self.insts.0.len()
|
200
|
+
}
|
201
|
+
|
202
|
+
/// Returns `true` if the given instruction reference is valid.
|
203
|
+
pub fn inst_is_valid(&self, inst: Inst) -> bool {
|
204
|
+
self.insts.0.is_valid(inst)
|
205
|
+
}
|
206
|
+
|
207
|
+
/// Get the total number of basic blocks created in this function, whether they are
|
208
|
+
/// currently inserted in the layout or not.
|
209
|
+
///
|
210
|
+
/// This is intended for use with `SecondaryMap::with_capacity`.
|
211
|
+
pub fn num_blocks(&self) -> usize {
|
212
|
+
self.blocks.len()
|
213
|
+
}
|
214
|
+
|
215
|
+
/// Returns `true` if the given block reference is valid.
|
216
|
+
pub fn block_is_valid(&self, block: Block) -> bool {
|
217
|
+
self.blocks.is_valid(block)
|
218
|
+
}
|
219
|
+
|
220
|
+
/// Make a BlockCall, bundling together the block and its arguments.
|
221
|
+
pub fn block_call(&mut self, block: Block, args: &[Value]) -> BlockCall {
|
222
|
+
BlockCall::new(block, args, &mut self.value_lists)
|
223
|
+
}
|
224
|
+
|
225
|
+
/// Get the total number of values.
|
226
|
+
pub fn num_values(&self) -> usize {
|
227
|
+
self.values.len()
|
228
|
+
}
|
229
|
+
|
230
|
+
/// Get an iterator over all values and their definitions.
|
231
|
+
pub fn values_and_defs(&self) -> impl Iterator<Item = (Value, ValueDef)> + '_ {
|
232
|
+
self.values().map(|value| (value, self.value_def(value)))
|
233
|
+
}
|
234
|
+
|
235
|
+
/// Starts collection of debug information.
|
236
|
+
pub fn collect_debug_info(&mut self) {
|
237
|
+
if self.values_labels.is_none() {
|
238
|
+
self.values_labels = Some(Default::default());
|
239
|
+
}
|
240
|
+
}
|
241
|
+
|
242
|
+
/// Inserts a `ValueLabelAssignments::Alias` for `to_alias` if debug info
|
243
|
+
/// collection is enabled.
|
244
|
+
pub fn add_value_label_alias(&mut self, to_alias: Value, from: RelSourceLoc, value: Value) {
|
245
|
+
if let Some(values_labels) = self.values_labels.as_mut() {
|
246
|
+
values_labels.insert(to_alias, ir::ValueLabelAssignments::Alias { from, value });
|
247
|
+
}
|
248
|
+
}
|
249
|
+
}
|
250
|
+
|
251
|
+
/// Resolve value aliases.
|
252
|
+
///
|
253
|
+
/// Find the original SSA value that `value` aliases, or None if an
|
254
|
+
/// alias cycle is detected.
|
255
|
+
fn maybe_resolve_aliases(
|
256
|
+
values: &PrimaryMap<Value, ValueDataPacked>,
|
257
|
+
value: Value,
|
258
|
+
) -> Option<Value> {
|
259
|
+
let mut v = value;
|
260
|
+
|
261
|
+
// Note that values may be empty here.
|
262
|
+
for _ in 0..=values.len() {
|
263
|
+
if let ValueData::Alias { original, .. } = ValueData::from(values[v]) {
|
264
|
+
v = original;
|
265
|
+
} else {
|
266
|
+
return Some(v);
|
267
|
+
}
|
268
|
+
}
|
269
|
+
|
270
|
+
None
|
271
|
+
}
|
272
|
+
|
273
|
+
/// Resolve value aliases.
|
274
|
+
///
|
275
|
+
/// Find the original SSA value that `value` aliases.
|
276
|
+
fn resolve_aliases(values: &PrimaryMap<Value, ValueDataPacked>, value: Value) -> Value {
|
277
|
+
if let Some(v) = maybe_resolve_aliases(values, value) {
|
278
|
+
v
|
279
|
+
} else {
|
280
|
+
panic!("Value alias loop detected for {}", value);
|
281
|
+
}
|
282
|
+
}
|
283
|
+
|
284
|
+
/// Iterator over all Values in a DFG.
|
285
|
+
pub struct Values<'a> {
|
286
|
+
inner: entity::Iter<'a, Value, ValueDataPacked>,
|
287
|
+
}
|
288
|
+
|
289
|
+
/// Check for non-values.
|
290
|
+
fn valid_valuedata(data: ValueDataPacked) -> bool {
|
291
|
+
let data = ValueData::from(data);
|
292
|
+
if let ValueData::Alias {
|
293
|
+
ty: types::INVALID,
|
294
|
+
original,
|
295
|
+
} = ValueData::from(data)
|
296
|
+
{
|
297
|
+
if original == Value::reserved_value() {
|
298
|
+
return false;
|
299
|
+
}
|
300
|
+
}
|
301
|
+
true
|
302
|
+
}
|
303
|
+
|
304
|
+
impl<'a> Iterator for Values<'a> {
|
305
|
+
type Item = Value;
|
306
|
+
|
307
|
+
fn next(&mut self) -> Option<Self::Item> {
|
308
|
+
self.inner
|
309
|
+
.by_ref()
|
310
|
+
.find(|kv| valid_valuedata(*kv.1))
|
311
|
+
.map(|kv| kv.0)
|
312
|
+
}
|
313
|
+
}
|
314
|
+
|
315
|
+
/// Handling values.
|
316
|
+
///
|
317
|
+
/// Values are either block parameters or instruction results.
|
318
|
+
impl DataFlowGraph {
|
319
|
+
/// Allocate an extended value entry.
|
320
|
+
fn make_value(&mut self, data: ValueData) -> Value {
|
321
|
+
self.values.push(data.into())
|
322
|
+
}
|
323
|
+
|
324
|
+
/// Get an iterator over all values.
|
325
|
+
pub fn values<'a>(&'a self) -> Values {
|
326
|
+
Values {
|
327
|
+
inner: self.values.iter(),
|
328
|
+
}
|
329
|
+
}
|
330
|
+
|
331
|
+
/// Check if a value reference is valid.
|
332
|
+
pub fn value_is_valid(&self, v: Value) -> bool {
|
333
|
+
self.values.is_valid(v)
|
334
|
+
}
|
335
|
+
|
336
|
+
/// Get the type of a value.
|
337
|
+
pub fn value_type(&self, v: Value) -> Type {
|
338
|
+
self.values[v].ty()
|
339
|
+
}
|
340
|
+
|
341
|
+
/// Get the definition of a value.
|
342
|
+
///
|
343
|
+
/// This is either the instruction that defined it or the Block that has the value as an
|
344
|
+
/// parameter.
|
345
|
+
pub fn value_def(&self, v: Value) -> ValueDef {
|
346
|
+
match ValueData::from(self.values[v]) {
|
347
|
+
ValueData::Inst { inst, num, .. } => ValueDef::Result(inst, num as usize),
|
348
|
+
ValueData::Param { block, num, .. } => ValueDef::Param(block, num as usize),
|
349
|
+
ValueData::Alias { original, .. } => {
|
350
|
+
// Make sure we only recurse one level. `resolve_aliases` has safeguards to
|
351
|
+
// detect alias loops without overrunning the stack.
|
352
|
+
self.value_def(self.resolve_aliases(original))
|
353
|
+
}
|
354
|
+
ValueData::Union { x, y, .. } => ValueDef::Union(x, y),
|
355
|
+
}
|
356
|
+
}
|
357
|
+
|
358
|
+
/// Determine if `v` is an attached instruction result / block parameter.
|
359
|
+
///
|
360
|
+
/// An attached value can't be attached to something else without first being detached.
|
361
|
+
///
|
362
|
+
/// Value aliases are not considered to be attached to anything. Use `resolve_aliases()` to
|
363
|
+
/// determine if the original aliased value is attached.
|
364
|
+
pub fn value_is_attached(&self, v: Value) -> bool {
|
365
|
+
use self::ValueData::*;
|
366
|
+
match ValueData::from(self.values[v]) {
|
367
|
+
Inst { inst, num, .. } => Some(&v) == self.inst_results(inst).get(num as usize),
|
368
|
+
Param { block, num, .. } => Some(&v) == self.block_params(block).get(num as usize),
|
369
|
+
Alias { .. } => false,
|
370
|
+
Union { .. } => false,
|
371
|
+
}
|
372
|
+
}
|
373
|
+
|
374
|
+
/// Resolve value aliases.
|
375
|
+
///
|
376
|
+
/// Find the original SSA value that `value` aliases.
|
377
|
+
pub fn resolve_aliases(&self, value: Value) -> Value {
|
378
|
+
resolve_aliases(&self.values, value)
|
379
|
+
}
|
380
|
+
|
381
|
+
/// Resolve all aliases among inst's arguments.
|
382
|
+
///
|
383
|
+
/// For each argument of inst which is defined by an alias, replace the
|
384
|
+
/// alias with the aliased value.
|
385
|
+
pub fn resolve_aliases_in_arguments(&mut self, inst: Inst) {
|
386
|
+
self.map_inst_values(inst, |dfg, arg| resolve_aliases(&dfg.values, arg));
|
387
|
+
}
|
388
|
+
|
389
|
+
/// Turn a value into an alias of another.
|
390
|
+
///
|
391
|
+
/// Change the `dest` value to behave as an alias of `src`. This means that all uses of `dest`
|
392
|
+
/// will behave as if they used that value `src`.
|
393
|
+
///
|
394
|
+
/// The `dest` value can't be attached to an instruction or block.
|
395
|
+
pub fn change_to_alias(&mut self, dest: Value, src: Value) {
|
396
|
+
debug_assert!(!self.value_is_attached(dest));
|
397
|
+
// Try to create short alias chains by finding the original source value.
|
398
|
+
// This also avoids the creation of loops.
|
399
|
+
let original = self.resolve_aliases(src);
|
400
|
+
debug_assert_ne!(
|
401
|
+
dest, original,
|
402
|
+
"Aliasing {} to {} would create a loop",
|
403
|
+
dest, src
|
404
|
+
);
|
405
|
+
let ty = self.value_type(original);
|
406
|
+
debug_assert_eq!(
|
407
|
+
self.value_type(dest),
|
408
|
+
ty,
|
409
|
+
"Aliasing {} to {} would change its type {} to {}",
|
410
|
+
dest,
|
411
|
+
src,
|
412
|
+
self.value_type(dest),
|
413
|
+
ty
|
414
|
+
);
|
415
|
+
debug_assert_ne!(ty, types::INVALID);
|
416
|
+
|
417
|
+
self.values[dest] = ValueData::Alias { ty, original }.into();
|
418
|
+
}
|
419
|
+
|
420
|
+
/// Replace the results of one instruction with aliases to the results of another.
|
421
|
+
///
|
422
|
+
/// Change all the results of `dest_inst` to behave as aliases of
|
423
|
+
/// corresponding results of `src_inst`, as if calling change_to_alias for
|
424
|
+
/// each.
|
425
|
+
///
|
426
|
+
/// After calling this instruction, `dest_inst` will have had its results
|
427
|
+
/// cleared, so it likely needs to be removed from the graph.
|
428
|
+
///
|
429
|
+
pub fn replace_with_aliases(&mut self, dest_inst: Inst, src_inst: Inst) {
|
430
|
+
debug_assert_ne!(
|
431
|
+
dest_inst, src_inst,
|
432
|
+
"Replacing {} with itself would create a loop",
|
433
|
+
dest_inst
|
434
|
+
);
|
435
|
+
debug_assert_eq!(
|
436
|
+
self.results[dest_inst].len(&self.value_lists),
|
437
|
+
self.results[src_inst].len(&self.value_lists),
|
438
|
+
"Replacing {} with {} would produce a different number of results.",
|
439
|
+
dest_inst,
|
440
|
+
src_inst
|
441
|
+
);
|
442
|
+
|
443
|
+
for (&dest, &src) in self.results[dest_inst]
|
444
|
+
.as_slice(&self.value_lists)
|
445
|
+
.iter()
|
446
|
+
.zip(self.results[src_inst].as_slice(&self.value_lists))
|
447
|
+
{
|
448
|
+
let original = src;
|
449
|
+
let ty = self.value_type(original);
|
450
|
+
debug_assert_eq!(
|
451
|
+
self.value_type(dest),
|
452
|
+
ty,
|
453
|
+
"Aliasing {} to {} would change its type {} to {}",
|
454
|
+
dest,
|
455
|
+
src,
|
456
|
+
self.value_type(dest),
|
457
|
+
ty
|
458
|
+
);
|
459
|
+
debug_assert_ne!(ty, types::INVALID);
|
460
|
+
|
461
|
+
self.values[dest] = ValueData::Alias { ty, original }.into();
|
462
|
+
}
|
463
|
+
|
464
|
+
self.clear_results(dest_inst);
|
465
|
+
}
|
466
|
+
}
|
467
|
+
|
468
|
+
/// Where did a value come from?
|
469
|
+
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
470
|
+
pub enum ValueDef {
|
471
|
+
/// Value is the n'th result of an instruction.
|
472
|
+
Result(Inst, usize),
|
473
|
+
/// Value is the n'th parameter to a block.
|
474
|
+
Param(Block, usize),
|
475
|
+
/// Value is a union of two other values.
|
476
|
+
Union(Value, Value),
|
477
|
+
}
|
478
|
+
|
479
|
+
impl ValueDef {
|
480
|
+
/// Unwrap the instruction where the value was defined, or panic.
|
481
|
+
pub fn unwrap_inst(&self) -> Inst {
|
482
|
+
self.inst().expect("Value is not an instruction result")
|
483
|
+
}
|
484
|
+
|
485
|
+
/// Get the instruction where the value was defined, if any.
|
486
|
+
pub fn inst(&self) -> Option<Inst> {
|
487
|
+
match *self {
|
488
|
+
Self::Result(inst, _) => Some(inst),
|
489
|
+
_ => None,
|
490
|
+
}
|
491
|
+
}
|
492
|
+
|
493
|
+
/// Unwrap the block there the parameter is defined, or panic.
|
494
|
+
pub fn unwrap_block(&self) -> Block {
|
495
|
+
match *self {
|
496
|
+
Self::Param(block, _) => block,
|
497
|
+
_ => panic!("Value is not a block parameter"),
|
498
|
+
}
|
499
|
+
}
|
500
|
+
|
501
|
+
/// Get the number component of this definition.
|
502
|
+
///
|
503
|
+
/// When multiple values are defined at the same program point, this indicates the index of
|
504
|
+
/// this value.
|
505
|
+
pub fn num(self) -> usize {
|
506
|
+
match self {
|
507
|
+
Self::Result(_, n) | Self::Param(_, n) => n,
|
508
|
+
Self::Union(_, _) => 0,
|
509
|
+
}
|
510
|
+
}
|
511
|
+
}
|
512
|
+
|
513
|
+
/// Internal table storage for extended values.
|
514
|
+
#[derive(Clone, Debug, PartialEq, Hash)]
|
515
|
+
#[cfg_attr(feature = "enable-serde", derive(Serialize, Deserialize))]
|
516
|
+
enum ValueData {
|
517
|
+
/// Value is defined by an instruction.
|
518
|
+
Inst { ty: Type, num: u16, inst: Inst },
|
519
|
+
|
520
|
+
/// Value is a block parameter.
|
521
|
+
Param { ty: Type, num: u16, block: Block },
|
522
|
+
|
523
|
+
/// Value is an alias of another value.
|
524
|
+
/// An alias value can't be linked as an instruction result or block parameter. It is used as a
|
525
|
+
/// placeholder when the original instruction or block has been rewritten or modified.
|
526
|
+
Alias { ty: Type, original: Value },
|
527
|
+
|
528
|
+
/// Union is a "fork" in representation: the value can be
|
529
|
+
/// represented as either of the values named here. This is used
|
530
|
+
/// for aegraph (acyclic egraph) representation in the DFG.
|
531
|
+
Union { ty: Type, x: Value, y: Value },
|
532
|
+
}
|
533
|
+
|
534
|
+
/// Bit-packed version of ValueData, for efficiency.
|
535
|
+
///
|
536
|
+
/// Layout:
|
537
|
+
///
|
538
|
+
/// ```plain
|
539
|
+
/// | tag:2 | type:14 | x:24 | y:24 |
|
540
|
+
///
|
541
|
+
/// Inst 00 ty inst output inst index
|
542
|
+
/// Param 01 ty blockparam num block index
|
543
|
+
/// Alias 10 ty 0 value index
|
544
|
+
/// Union 11 ty first value second value
|
545
|
+
/// ```
|
546
|
+
#[derive(Clone, Copy, Debug, PartialEq, Hash)]
|
547
|
+
#[cfg_attr(feature = "enable-serde", derive(Serialize, Deserialize))]
|
548
|
+
struct ValueDataPacked(u64);
|
549
|
+
|
550
|
+
/// Encodes a value in 0..2^32 into 0..2^n, where n is less than 32
|
551
|
+
/// (and is implied by `mask`), by translating 2^32-1 (0xffffffff)
|
552
|
+
/// into 2^n-1 and panic'ing on 2^n..2^32-1.
|
553
|
+
fn encode_narrow_field(x: u32, bits: u8) -> u32 {
|
554
|
+
let max = (1 << bits) - 1;
|
555
|
+
if x == 0xffff_ffff {
|
556
|
+
max
|
557
|
+
} else {
|
558
|
+
debug_assert!(
|
559
|
+
x < max,
|
560
|
+
"{x} does not fit into {bits} bits (must be less than {max} to \
|
561
|
+
allow for a 0xffffffff sentinal)"
|
562
|
+
);
|
563
|
+
x
|
564
|
+
}
|
565
|
+
}
|
566
|
+
|
567
|
+
/// The inverse of the above `encode_narrow_field`: unpacks 2^n-1 into
|
568
|
+
/// 2^32-1.
|
569
|
+
fn decode_narrow_field(x: u32, bits: u8) -> u32 {
|
570
|
+
if x == (1 << bits) - 1 {
|
571
|
+
0xffff_ffff
|
572
|
+
} else {
|
573
|
+
x
|
574
|
+
}
|
575
|
+
}
|
576
|
+
|
577
|
+
impl ValueDataPacked {
|
578
|
+
const Y_SHIFT: u8 = 0;
|
579
|
+
const Y_BITS: u8 = 24;
|
580
|
+
const X_SHIFT: u8 = Self::Y_SHIFT + Self::Y_BITS;
|
581
|
+
const X_BITS: u8 = 24;
|
582
|
+
const TYPE_SHIFT: u8 = Self::X_SHIFT + Self::X_BITS;
|
583
|
+
const TYPE_BITS: u8 = 14;
|
584
|
+
const TAG_SHIFT: u8 = Self::TYPE_SHIFT + Self::TYPE_BITS;
|
585
|
+
const TAG_BITS: u8 = 2;
|
586
|
+
|
587
|
+
const TAG_INST: u64 = 0;
|
588
|
+
const TAG_PARAM: u64 = 1;
|
589
|
+
const TAG_ALIAS: u64 = 2;
|
590
|
+
const TAG_UNION: u64 = 3;
|
591
|
+
|
592
|
+
fn make(tag: u64, ty: Type, x: u32, y: u32) -> ValueDataPacked {
|
593
|
+
debug_assert!(tag < (1 << Self::TAG_BITS));
|
594
|
+
debug_assert!(ty.repr() < (1 << Self::TYPE_BITS));
|
595
|
+
|
596
|
+
let x = encode_narrow_field(x, Self::X_BITS);
|
597
|
+
let y = encode_narrow_field(y, Self::Y_BITS);
|
598
|
+
|
599
|
+
ValueDataPacked(
|
600
|
+
(tag << Self::TAG_SHIFT)
|
601
|
+
| ((ty.repr() as u64) << Self::TYPE_SHIFT)
|
602
|
+
| ((x as u64) << Self::X_SHIFT)
|
603
|
+
| ((y as u64) << Self::Y_SHIFT),
|
604
|
+
)
|
605
|
+
}
|
606
|
+
|
607
|
+
#[inline(always)]
|
608
|
+
fn field(self, shift: u8, bits: u8) -> u64 {
|
609
|
+
(self.0 >> shift) & ((1 << bits) - 1)
|
610
|
+
}
|
611
|
+
|
612
|
+
#[inline(always)]
|
613
|
+
fn ty(self) -> Type {
|
614
|
+
let ty = self.field(ValueDataPacked::TYPE_SHIFT, ValueDataPacked::TYPE_BITS) as u16;
|
615
|
+
Type::from_repr(ty)
|
616
|
+
}
|
617
|
+
|
618
|
+
#[inline(always)]
|
619
|
+
fn set_type(&mut self, ty: Type) {
|
620
|
+
self.0 &= !(((1 << Self::TYPE_BITS) - 1) << Self::TYPE_SHIFT);
|
621
|
+
self.0 |= (ty.repr() as u64) << Self::TYPE_SHIFT;
|
622
|
+
}
|
623
|
+
}
|
624
|
+
|
625
|
+
impl From<ValueData> for ValueDataPacked {
|
626
|
+
fn from(data: ValueData) -> Self {
|
627
|
+
match data {
|
628
|
+
ValueData::Inst { ty, num, inst } => {
|
629
|
+
Self::make(Self::TAG_INST, ty, num.into(), inst.as_bits())
|
630
|
+
}
|
631
|
+
ValueData::Param { ty, num, block } => {
|
632
|
+
Self::make(Self::TAG_PARAM, ty, num.into(), block.as_bits())
|
633
|
+
}
|
634
|
+
ValueData::Alias { ty, original } => {
|
635
|
+
Self::make(Self::TAG_ALIAS, ty, 0, original.as_bits())
|
636
|
+
}
|
637
|
+
ValueData::Union { ty, x, y } => {
|
638
|
+
Self::make(Self::TAG_UNION, ty, x.as_bits(), y.as_bits())
|
639
|
+
}
|
640
|
+
}
|
641
|
+
}
|
642
|
+
}
|
643
|
+
|
644
|
+
impl From<ValueDataPacked> for ValueData {
|
645
|
+
fn from(data: ValueDataPacked) -> Self {
|
646
|
+
let tag = data.field(ValueDataPacked::TAG_SHIFT, ValueDataPacked::TAG_BITS);
|
647
|
+
let ty = u16::try_from(data.field(ValueDataPacked::TYPE_SHIFT, ValueDataPacked::TYPE_BITS))
|
648
|
+
.expect("Mask should ensure result fits in a u16");
|
649
|
+
let x = u32::try_from(data.field(ValueDataPacked::X_SHIFT, ValueDataPacked::X_BITS))
|
650
|
+
.expect("Mask should ensure result fits in a u32");
|
651
|
+
let y = u32::try_from(data.field(ValueDataPacked::Y_SHIFT, ValueDataPacked::Y_BITS))
|
652
|
+
.expect("Mask should ensure result fits in a u32");
|
653
|
+
|
654
|
+
let ty = Type::from_repr(ty);
|
655
|
+
match tag {
|
656
|
+
ValueDataPacked::TAG_INST => ValueData::Inst {
|
657
|
+
ty,
|
658
|
+
num: u16::try_from(x).expect("Inst result num should fit in u16"),
|
659
|
+
inst: Inst::from_bits(decode_narrow_field(y, ValueDataPacked::Y_BITS)),
|
660
|
+
},
|
661
|
+
ValueDataPacked::TAG_PARAM => ValueData::Param {
|
662
|
+
ty,
|
663
|
+
num: u16::try_from(x).expect("Blockparam index should fit in u16"),
|
664
|
+
block: Block::from_bits(decode_narrow_field(y, ValueDataPacked::Y_BITS)),
|
665
|
+
},
|
666
|
+
ValueDataPacked::TAG_ALIAS => ValueData::Alias {
|
667
|
+
ty,
|
668
|
+
original: Value::from_bits(decode_narrow_field(y, ValueDataPacked::Y_BITS)),
|
669
|
+
},
|
670
|
+
ValueDataPacked::TAG_UNION => ValueData::Union {
|
671
|
+
ty,
|
672
|
+
x: Value::from_bits(decode_narrow_field(x, ValueDataPacked::X_BITS)),
|
673
|
+
y: Value::from_bits(decode_narrow_field(y, ValueDataPacked::Y_BITS)),
|
674
|
+
},
|
675
|
+
_ => panic!("Invalid tag {} in ValueDataPacked 0x{:x}", tag, data.0),
|
676
|
+
}
|
677
|
+
}
|
678
|
+
}
|
679
|
+
|
680
|
+
/// Instructions.
|
681
|
+
///
|
682
|
+
impl DataFlowGraph {
|
683
|
+
/// Create a new instruction.
|
684
|
+
///
|
685
|
+
/// The type of the first result is indicated by `data.ty`. If the
|
686
|
+
/// instruction produces multiple results, also call
|
687
|
+
/// `make_inst_results` to allocate value table entries. (It is
|
688
|
+
/// always safe to call `make_inst_results`, regardless of how
|
689
|
+
/// many results the instruction has.)
|
690
|
+
pub fn make_inst(&mut self, data: InstructionData) -> Inst {
|
691
|
+
let n = self.num_insts() + 1;
|
692
|
+
self.results.resize(n);
|
693
|
+
self.insts.0.push(data)
|
694
|
+
}
|
695
|
+
|
696
|
+
/// Declares a dynamic vector type
|
697
|
+
pub fn make_dynamic_ty(&mut self, data: DynamicTypeData) -> DynamicType {
|
698
|
+
self.dynamic_types.push(data)
|
699
|
+
}
|
700
|
+
|
701
|
+
/// Returns an object that displays `inst`.
|
702
|
+
pub fn display_inst<'a>(&'a self, inst: Inst) -> DisplayInst<'a> {
|
703
|
+
DisplayInst(self, inst)
|
704
|
+
}
|
705
|
+
|
706
|
+
/// Returns an object that displays the given `value`'s defining instruction.
|
707
|
+
///
|
708
|
+
/// Panics if the value is not defined by an instruction (i.e. it is a basic
|
709
|
+
/// block argument).
|
710
|
+
pub fn display_value_inst(&self, value: Value) -> DisplayInst<'_> {
|
711
|
+
match self.value_def(value) {
|
712
|
+
ir::ValueDef::Result(inst, _) => self.display_inst(inst),
|
713
|
+
ir::ValueDef::Param(_, _) => panic!("value is not defined by an instruction"),
|
714
|
+
ir::ValueDef::Union(_, _) => panic!("value is a union of two other values"),
|
715
|
+
}
|
716
|
+
}
|
717
|
+
|
718
|
+
/// Construct a read-only visitor context for the values of this instruction.
|
719
|
+
pub fn inst_values<'dfg>(
|
720
|
+
&'dfg self,
|
721
|
+
inst: Inst,
|
722
|
+
) -> impl DoubleEndedIterator<Item = Value> + 'dfg {
|
723
|
+
self.inst_args(inst)
|
724
|
+
.iter()
|
725
|
+
.chain(
|
726
|
+
self.insts[inst]
|
727
|
+
.branch_destination(&self.jump_tables)
|
728
|
+
.into_iter()
|
729
|
+
.flat_map(|branch| branch.args_slice(&self.value_lists).iter()),
|
730
|
+
)
|
731
|
+
.copied()
|
732
|
+
}
|
733
|
+
|
734
|
+
/// Map a function over the values of the instruction.
|
735
|
+
pub fn map_inst_values<F>(&mut self, inst: Inst, mut body: F)
|
736
|
+
where
|
737
|
+
F: FnMut(&mut DataFlowGraph, Value) -> Value,
|
738
|
+
{
|
739
|
+
for i in 0..self.inst_args(inst).len() {
|
740
|
+
let arg = self.inst_args(inst)[i];
|
741
|
+
self.inst_args_mut(inst)[i] = body(self, arg);
|
742
|
+
}
|
743
|
+
|
744
|
+
for block_ix in 0..self.insts[inst].branch_destination(&self.jump_tables).len() {
|
745
|
+
// We aren't changing the size of the args list, so we won't need to write the branch
|
746
|
+
// back to the instruction.
|
747
|
+
let mut block = self.insts[inst].branch_destination(&self.jump_tables)[block_ix];
|
748
|
+
for i in 0..block.args_slice(&self.value_lists).len() {
|
749
|
+
let arg = block.args_slice(&self.value_lists)[i];
|
750
|
+
block.args_slice_mut(&mut self.value_lists)[i] = body(self, arg);
|
751
|
+
}
|
752
|
+
}
|
753
|
+
}
|
754
|
+
|
755
|
+
/// Overwrite the instruction's value references with values from the iterator.
|
756
|
+
/// NOTE: the iterator provided is expected to yield at least as many values as the instruction
|
757
|
+
/// currently has.
|
758
|
+
pub fn overwrite_inst_values<I>(&mut self, inst: Inst, mut values: I)
|
759
|
+
where
|
760
|
+
I: Iterator<Item = Value>,
|
761
|
+
{
|
762
|
+
for arg in self.inst_args_mut(inst) {
|
763
|
+
*arg = values.next().unwrap();
|
764
|
+
}
|
765
|
+
|
766
|
+
for block_ix in 0..self.insts[inst].branch_destination(&self.jump_tables).len() {
|
767
|
+
let mut block = self.insts[inst].branch_destination(&self.jump_tables)[block_ix];
|
768
|
+
for arg in block.args_slice_mut(&mut self.value_lists) {
|
769
|
+
*arg = values.next().unwrap();
|
770
|
+
}
|
771
|
+
}
|
772
|
+
}
|
773
|
+
|
774
|
+
/// Get all value arguments on `inst` as a slice.
|
775
|
+
pub fn inst_args(&self, inst: Inst) -> &[Value] {
|
776
|
+
self.insts[inst].arguments(&self.value_lists)
|
777
|
+
}
|
778
|
+
|
779
|
+
/// Get all value arguments on `inst` as a mutable slice.
|
780
|
+
pub fn inst_args_mut(&mut self, inst: Inst) -> &mut [Value] {
|
781
|
+
self.insts[inst].arguments_mut(&mut self.value_lists)
|
782
|
+
}
|
783
|
+
|
784
|
+
/// Get the fixed value arguments on `inst` as a slice.
|
785
|
+
pub fn inst_fixed_args(&self, inst: Inst) -> &[Value] {
|
786
|
+
let num_fixed_args = self.insts[inst]
|
787
|
+
.opcode()
|
788
|
+
.constraints()
|
789
|
+
.num_fixed_value_arguments();
|
790
|
+
&self.inst_args(inst)[..num_fixed_args]
|
791
|
+
}
|
792
|
+
|
793
|
+
/// Get the fixed value arguments on `inst` as a mutable slice.
|
794
|
+
pub fn inst_fixed_args_mut(&mut self, inst: Inst) -> &mut [Value] {
|
795
|
+
let num_fixed_args = self.insts[inst]
|
796
|
+
.opcode()
|
797
|
+
.constraints()
|
798
|
+
.num_fixed_value_arguments();
|
799
|
+
&mut self.inst_args_mut(inst)[..num_fixed_args]
|
800
|
+
}
|
801
|
+
|
802
|
+
/// Get the variable value arguments on `inst` as a slice.
|
803
|
+
pub fn inst_variable_args(&self, inst: Inst) -> &[Value] {
|
804
|
+
let num_fixed_args = self.insts[inst]
|
805
|
+
.opcode()
|
806
|
+
.constraints()
|
807
|
+
.num_fixed_value_arguments();
|
808
|
+
&self.inst_args(inst)[num_fixed_args..]
|
809
|
+
}
|
810
|
+
|
811
|
+
/// Get the variable value arguments on `inst` as a mutable slice.
|
812
|
+
pub fn inst_variable_args_mut(&mut self, inst: Inst) -> &mut [Value] {
|
813
|
+
let num_fixed_args = self.insts[inst]
|
814
|
+
.opcode()
|
815
|
+
.constraints()
|
816
|
+
.num_fixed_value_arguments();
|
817
|
+
&mut self.inst_args_mut(inst)[num_fixed_args..]
|
818
|
+
}
|
819
|
+
|
820
|
+
/// Create result values for an instruction that produces multiple results.
|
821
|
+
///
|
822
|
+
/// Instructions that produce no result values only need to be created with `make_inst`,
|
823
|
+
/// otherwise call `make_inst_results` to allocate value table entries for the results.
|
824
|
+
///
|
825
|
+
/// The result value types are determined from the instruction's value type constraints and the
|
826
|
+
/// provided `ctrl_typevar` type for polymorphic instructions. For non-polymorphic
|
827
|
+
/// instructions, `ctrl_typevar` is ignored, and `INVALID` can be used.
|
828
|
+
///
|
829
|
+
/// The type of the first result value is also set, even if it was already set in the
|
830
|
+
/// `InstructionData` passed to `make_inst`. If this function is called with a single-result
|
831
|
+
/// instruction, that is the only effect.
|
832
|
+
pub fn make_inst_results(&mut self, inst: Inst, ctrl_typevar: Type) -> usize {
|
833
|
+
self.make_inst_results_reusing(inst, ctrl_typevar, iter::empty())
|
834
|
+
}
|
835
|
+
|
836
|
+
/// Create result values for `inst`, reusing the provided detached values.
|
837
|
+
///
|
838
|
+
/// Create a new set of result values for `inst` using `ctrl_typevar` to determine the result
|
839
|
+
/// types. Any values provided by `reuse` will be reused. When `reuse` is exhausted or when it
|
840
|
+
/// produces `None`, a new value is created.
|
841
|
+
pub fn make_inst_results_reusing<I>(
|
842
|
+
&mut self,
|
843
|
+
inst: Inst,
|
844
|
+
ctrl_typevar: Type,
|
845
|
+
reuse: I,
|
846
|
+
) -> usize
|
847
|
+
where
|
848
|
+
I: Iterator<Item = Option<Value>>,
|
849
|
+
{
|
850
|
+
self.results[inst].clear(&mut self.value_lists);
|
851
|
+
|
852
|
+
let mut reuse = reuse.fuse();
|
853
|
+
let result_tys: SmallVec<[_; 16]> = self.inst_result_types(inst, ctrl_typevar).collect();
|
854
|
+
let num_results = result_tys.len();
|
855
|
+
|
856
|
+
for ty in result_tys {
|
857
|
+
if let Some(Some(v)) = reuse.next() {
|
858
|
+
debug_assert_eq!(self.value_type(v), ty, "Reused {} is wrong type", ty);
|
859
|
+
self.attach_result(inst, v);
|
860
|
+
} else {
|
861
|
+
self.append_result(inst, ty);
|
862
|
+
}
|
863
|
+
}
|
864
|
+
|
865
|
+
num_results
|
866
|
+
}
|
867
|
+
|
868
|
+
/// Create a `ReplaceBuilder` that will replace `inst` with a new instruction in place.
|
869
|
+
pub fn replace(&mut self, inst: Inst) -> ReplaceBuilder {
|
870
|
+
ReplaceBuilder::new(self, inst)
|
871
|
+
}
|
872
|
+
|
873
|
+
/// Detach the list of result values from `inst` and return it.
|
874
|
+
///
|
875
|
+
/// This leaves `inst` without any result values. New result values can be created by calling
|
876
|
+
/// `make_inst_results` or by using a `replace(inst)` builder.
|
877
|
+
pub fn detach_results(&mut self, inst: Inst) -> ValueList {
|
878
|
+
self.results[inst].take()
|
879
|
+
}
|
880
|
+
|
881
|
+
/// Clear the list of result values from `inst`.
|
882
|
+
///
|
883
|
+
/// This leaves `inst` without any result values. New result values can be created by calling
|
884
|
+
/// `make_inst_results` or by using a `replace(inst)` builder.
|
885
|
+
pub fn clear_results(&mut self, inst: Inst) {
|
886
|
+
self.results[inst].clear(&mut self.value_lists)
|
887
|
+
}
|
888
|
+
|
889
|
+
/// Attach an existing value to the result value list for `inst`.
|
890
|
+
///
|
891
|
+
/// The `res` value is appended to the end of the result list.
|
892
|
+
///
|
893
|
+
/// This is a very low-level operation. Usually, instruction results with the correct types are
|
894
|
+
/// created automatically. The `res` value must not be attached to anything else.
|
895
|
+
pub fn attach_result(&mut self, inst: Inst, res: Value) {
|
896
|
+
debug_assert!(!self.value_is_attached(res));
|
897
|
+
let num = self.results[inst].push(res, &mut self.value_lists);
|
898
|
+
debug_assert!(num <= u16::MAX as usize, "Too many result values");
|
899
|
+
let ty = self.value_type(res);
|
900
|
+
self.values[res] = ValueData::Inst {
|
901
|
+
ty,
|
902
|
+
num: num as u16,
|
903
|
+
inst,
|
904
|
+
}
|
905
|
+
.into();
|
906
|
+
}
|
907
|
+
|
908
|
+
/// Replace an instruction result with a new value of type `new_type`.
|
909
|
+
///
|
910
|
+
/// The `old_value` must be an attached instruction result.
|
911
|
+
///
|
912
|
+
/// The old value is left detached, so it should probably be changed into something else.
|
913
|
+
///
|
914
|
+
/// Returns the new value.
|
915
|
+
pub fn replace_result(&mut self, old_value: Value, new_type: Type) -> Value {
|
916
|
+
let (num, inst) = match ValueData::from(self.values[old_value]) {
|
917
|
+
ValueData::Inst { num, inst, .. } => (num, inst),
|
918
|
+
_ => panic!("{} is not an instruction result value", old_value),
|
919
|
+
};
|
920
|
+
let new_value = self.make_value(ValueData::Inst {
|
921
|
+
ty: new_type,
|
922
|
+
num,
|
923
|
+
inst,
|
924
|
+
});
|
925
|
+
let num = num as usize;
|
926
|
+
let attached = mem::replace(
|
927
|
+
self.results[inst]
|
928
|
+
.get_mut(num, &mut self.value_lists)
|
929
|
+
.expect("Replacing detached result"),
|
930
|
+
new_value,
|
931
|
+
);
|
932
|
+
debug_assert_eq!(
|
933
|
+
attached,
|
934
|
+
old_value,
|
935
|
+
"{} wasn't detached from {}",
|
936
|
+
old_value,
|
937
|
+
self.display_inst(inst)
|
938
|
+
);
|
939
|
+
new_value
|
940
|
+
}
|
941
|
+
|
942
|
+
/// Append a new instruction result value to `inst`.
|
943
|
+
pub fn append_result(&mut self, inst: Inst, ty: Type) -> Value {
|
944
|
+
let res = self.values.next_key();
|
945
|
+
let num = self.results[inst].push(res, &mut self.value_lists);
|
946
|
+
debug_assert!(num <= u16::MAX as usize, "Too many result values");
|
947
|
+
self.make_value(ValueData::Inst {
|
948
|
+
ty,
|
949
|
+
inst,
|
950
|
+
num: num as u16,
|
951
|
+
})
|
952
|
+
}
|
953
|
+
|
954
|
+
/// Clone an instruction, attaching new result `Value`s and
|
955
|
+
/// returning them.
|
956
|
+
pub fn clone_inst(&mut self, inst: Inst) -> Inst {
|
957
|
+
// First, add a clone of the InstructionData.
|
958
|
+
let inst_data = self.insts[inst].clone();
|
959
|
+
// If the `inst_data` has a reference to a ValueList, clone it
|
960
|
+
// as well, because we can't share these (otherwise mutating
|
961
|
+
// one would affect the other).
|
962
|
+
let inst_data = inst_data.deep_clone(&mut self.value_lists);
|
963
|
+
let new_inst = self.make_inst(inst_data);
|
964
|
+
// Get the controlling type variable.
|
965
|
+
let ctrl_typevar = self.ctrl_typevar(inst);
|
966
|
+
// Create new result values.
|
967
|
+
let num_results = self.make_inst_results(new_inst, ctrl_typevar);
|
968
|
+
// Copy over PCC facts, if any.
|
969
|
+
for i in 0..num_results {
|
970
|
+
let old_result = self.inst_results(inst)[i];
|
971
|
+
let new_result = self.inst_results(new_inst)[i];
|
972
|
+
self.facts[new_result] = self.facts[old_result].clone();
|
973
|
+
}
|
974
|
+
new_inst
|
975
|
+
}
|
976
|
+
|
977
|
+
/// Get the first result of an instruction.
|
978
|
+
///
|
979
|
+
/// This function panics if the instruction doesn't have any result.
|
980
|
+
pub fn first_result(&self, inst: Inst) -> Value {
|
981
|
+
self.results[inst]
|
982
|
+
.first(&self.value_lists)
|
983
|
+
.expect("Instruction has no results")
|
984
|
+
}
|
985
|
+
|
986
|
+
/// Test if `inst` has any result values currently.
|
987
|
+
pub fn has_results(&self, inst: Inst) -> bool {
|
988
|
+
!self.results[inst].is_empty()
|
989
|
+
}
|
990
|
+
|
991
|
+
/// Return all the results of an instruction.
|
992
|
+
pub fn inst_results(&self, inst: Inst) -> &[Value] {
|
993
|
+
self.results[inst].as_slice(&self.value_lists)
|
994
|
+
}
|
995
|
+
|
996
|
+
/// Return all the results of an instruction as ValueList.
|
997
|
+
pub fn inst_results_list(&self, inst: Inst) -> ValueList {
|
998
|
+
self.results[inst]
|
999
|
+
}
|
1000
|
+
|
1001
|
+
/// Create a union of two values.
|
1002
|
+
pub fn union(&mut self, x: Value, y: Value) -> Value {
|
1003
|
+
// Get the type.
|
1004
|
+
let ty = self.value_type(x);
|
1005
|
+
debug_assert_eq!(ty, self.value_type(y));
|
1006
|
+
self.make_value(ValueData::Union { ty, x, y })
|
1007
|
+
}
|
1008
|
+
|
1009
|
+
/// Get the call signature of a direct or indirect call instruction.
|
1010
|
+
/// Returns `None` if `inst` is not a call instruction.
|
1011
|
+
pub fn call_signature(&self, inst: Inst) -> Option<SigRef> {
|
1012
|
+
match self.insts[inst].analyze_call(&self.value_lists) {
|
1013
|
+
CallInfo::NotACall => None,
|
1014
|
+
CallInfo::Direct(f, _) => Some(self.ext_funcs[f].signature),
|
1015
|
+
CallInfo::Indirect(s, _) => Some(s),
|
1016
|
+
}
|
1017
|
+
}
|
1018
|
+
|
1019
|
+
/// Like `call_signature` but returns none for tail call instructions.
|
1020
|
+
fn non_tail_call_signature(&self, inst: Inst) -> Option<SigRef> {
|
1021
|
+
let sig = self.call_signature(inst)?;
|
1022
|
+
match self.insts[inst].opcode() {
|
1023
|
+
ir::Opcode::ReturnCall | ir::Opcode::ReturnCallIndirect => None,
|
1024
|
+
_ => Some(sig),
|
1025
|
+
}
|
1026
|
+
}
|
1027
|
+
|
1028
|
+
// Only for use by the verifier. Everyone else should just use
|
1029
|
+
// `dfg.inst_results(inst).len()`.
|
1030
|
+
pub(crate) fn num_expected_results_for_verifier(&self, inst: Inst) -> usize {
|
1031
|
+
match self.non_tail_call_signature(inst) {
|
1032
|
+
Some(sig) => self.signatures[sig].returns.len(),
|
1033
|
+
None => {
|
1034
|
+
let constraints = self.insts[inst].opcode().constraints();
|
1035
|
+
constraints.num_fixed_results()
|
1036
|
+
}
|
1037
|
+
}
|
1038
|
+
}
|
1039
|
+
|
1040
|
+
/// Get the result types of the given instruction.
|
1041
|
+
pub fn inst_result_types<'a>(
|
1042
|
+
&'a self,
|
1043
|
+
inst: Inst,
|
1044
|
+
ctrl_typevar: Type,
|
1045
|
+
) -> impl iter::ExactSizeIterator<Item = Type> + 'a {
|
1046
|
+
return match self.non_tail_call_signature(inst) {
|
1047
|
+
Some(sig) => InstResultTypes::Signature(self, sig, 0),
|
1048
|
+
None => {
|
1049
|
+
let constraints = self.insts[inst].opcode().constraints();
|
1050
|
+
InstResultTypes::Constraints(constraints, ctrl_typevar, 0)
|
1051
|
+
}
|
1052
|
+
};
|
1053
|
+
|
1054
|
+
enum InstResultTypes<'a> {
|
1055
|
+
Signature(&'a DataFlowGraph, SigRef, usize),
|
1056
|
+
Constraints(ir::instructions::OpcodeConstraints, Type, usize),
|
1057
|
+
}
|
1058
|
+
|
1059
|
+
impl Iterator for InstResultTypes<'_> {
|
1060
|
+
type Item = Type;
|
1061
|
+
|
1062
|
+
fn next(&mut self) -> Option<Type> {
|
1063
|
+
match self {
|
1064
|
+
InstResultTypes::Signature(dfg, sig, i) => {
|
1065
|
+
let param = dfg.signatures[*sig].returns.get(*i)?;
|
1066
|
+
*i += 1;
|
1067
|
+
Some(param.value_type)
|
1068
|
+
}
|
1069
|
+
InstResultTypes::Constraints(constraints, ctrl_ty, i) => {
|
1070
|
+
if *i < constraints.num_fixed_results() {
|
1071
|
+
let ty = constraints.result_type(*i, *ctrl_ty);
|
1072
|
+
*i += 1;
|
1073
|
+
Some(ty)
|
1074
|
+
} else {
|
1075
|
+
None
|
1076
|
+
}
|
1077
|
+
}
|
1078
|
+
}
|
1079
|
+
}
|
1080
|
+
|
1081
|
+
fn size_hint(&self) -> (usize, Option<usize>) {
|
1082
|
+
let len = match self {
|
1083
|
+
InstResultTypes::Signature(dfg, sig, i) => {
|
1084
|
+
dfg.signatures[*sig].returns.len() - *i
|
1085
|
+
}
|
1086
|
+
InstResultTypes::Constraints(constraints, _, i) => {
|
1087
|
+
constraints.num_fixed_results() - *i
|
1088
|
+
}
|
1089
|
+
};
|
1090
|
+
(len, Some(len))
|
1091
|
+
}
|
1092
|
+
}
|
1093
|
+
|
1094
|
+
impl ExactSizeIterator for InstResultTypes<'_> {}
|
1095
|
+
}
|
1096
|
+
|
1097
|
+
/// Compute the type of an instruction result from opcode constraints and call signatures.
|
1098
|
+
///
|
1099
|
+
/// This computes the same sequence of result types that `make_inst_results()` above would
|
1100
|
+
/// assign to the created result values, but it does not depend on `make_inst_results()` being
|
1101
|
+
/// called first.
|
1102
|
+
///
|
1103
|
+
/// Returns `None` if asked about a result index that is too large.
|
1104
|
+
pub fn compute_result_type(
|
1105
|
+
&self,
|
1106
|
+
inst: Inst,
|
1107
|
+
result_idx: usize,
|
1108
|
+
ctrl_typevar: Type,
|
1109
|
+
) -> Option<Type> {
|
1110
|
+
self.inst_result_types(inst, ctrl_typevar).nth(result_idx)
|
1111
|
+
}
|
1112
|
+
|
1113
|
+
/// Get the controlling type variable, or `INVALID` if `inst` isn't polymorphic.
|
1114
|
+
pub fn ctrl_typevar(&self, inst: Inst) -> Type {
|
1115
|
+
let constraints = self.insts[inst].opcode().constraints();
|
1116
|
+
|
1117
|
+
if !constraints.is_polymorphic() {
|
1118
|
+
types::INVALID
|
1119
|
+
} else if constraints.requires_typevar_operand() {
|
1120
|
+
// Not all instruction formats have a designated operand, but in that case
|
1121
|
+
// `requires_typevar_operand()` should never be true.
|
1122
|
+
self.value_type(
|
1123
|
+
self.insts[inst]
|
1124
|
+
.typevar_operand(&self.value_lists)
|
1125
|
+
.unwrap_or_else(|| {
|
1126
|
+
panic!(
|
1127
|
+
"Instruction format for {:?} doesn't have a designated operand",
|
1128
|
+
self.insts[inst]
|
1129
|
+
)
|
1130
|
+
}),
|
1131
|
+
)
|
1132
|
+
} else {
|
1133
|
+
self.value_type(self.first_result(inst))
|
1134
|
+
}
|
1135
|
+
}
|
1136
|
+
}
|
1137
|
+
|
1138
|
+
/// basic blocks.
|
1139
|
+
impl DataFlowGraph {
|
1140
|
+
/// Create a new basic block.
|
1141
|
+
pub fn make_block(&mut self) -> Block {
|
1142
|
+
self.blocks.add()
|
1143
|
+
}
|
1144
|
+
|
1145
|
+
/// Get the number of parameters on `block`.
|
1146
|
+
pub fn num_block_params(&self, block: Block) -> usize {
|
1147
|
+
self.blocks[block].params(&self.value_lists).len()
|
1148
|
+
}
|
1149
|
+
|
1150
|
+
/// Get the parameters on `block`.
|
1151
|
+
pub fn block_params(&self, block: Block) -> &[Value] {
|
1152
|
+
self.blocks[block].params(&self.value_lists)
|
1153
|
+
}
|
1154
|
+
|
1155
|
+
/// Get the types of the parameters on `block`.
|
1156
|
+
pub fn block_param_types(&self, block: Block) -> impl Iterator<Item = Type> + '_ {
|
1157
|
+
self.block_params(block).iter().map(|&v| self.value_type(v))
|
1158
|
+
}
|
1159
|
+
|
1160
|
+
/// Append a parameter with type `ty` to `block`.
|
1161
|
+
pub fn append_block_param(&mut self, block: Block, ty: Type) -> Value {
|
1162
|
+
let param = self.values.next_key();
|
1163
|
+
let num = self.blocks[block].params.push(param, &mut self.value_lists);
|
1164
|
+
debug_assert!(num <= u16::MAX as usize, "Too many parameters on block");
|
1165
|
+
self.make_value(ValueData::Param {
|
1166
|
+
ty,
|
1167
|
+
num: num as u16,
|
1168
|
+
block,
|
1169
|
+
})
|
1170
|
+
}
|
1171
|
+
|
1172
|
+
/// Removes `val` from `block`'s parameters by swapping it with the last parameter on `block`.
|
1173
|
+
/// Returns the position of `val` before removal.
|
1174
|
+
///
|
1175
|
+
/// *Important*: to ensure O(1) deletion, this method swaps the removed parameter with the
|
1176
|
+
/// last `block` parameter. This can disrupt all the branch instructions jumping to this
|
1177
|
+
/// `block` for which you have to change the branch argument order if necessary.
|
1178
|
+
///
|
1179
|
+
/// Panics if `val` is not a block parameter.
|
1180
|
+
pub fn swap_remove_block_param(&mut self, val: Value) -> usize {
|
1181
|
+
let (block, num) =
|
1182
|
+
if let ValueData::Param { num, block, .. } = ValueData::from(self.values[val]) {
|
1183
|
+
(block, num)
|
1184
|
+
} else {
|
1185
|
+
panic!("{} must be a block parameter", val);
|
1186
|
+
};
|
1187
|
+
self.blocks[block]
|
1188
|
+
.params
|
1189
|
+
.swap_remove(num as usize, &mut self.value_lists);
|
1190
|
+
if let Some(last_arg_val) = self.blocks[block]
|
1191
|
+
.params
|
1192
|
+
.get(num as usize, &self.value_lists)
|
1193
|
+
{
|
1194
|
+
// We update the position of the old last arg.
|
1195
|
+
let mut last_arg_data = ValueData::from(self.values[last_arg_val]);
|
1196
|
+
if let ValueData::Param {
|
1197
|
+
num: ref mut old_num,
|
1198
|
+
..
|
1199
|
+
} = &mut last_arg_data
|
1200
|
+
{
|
1201
|
+
*old_num = num;
|
1202
|
+
self.values[last_arg_val] = last_arg_data.into();
|
1203
|
+
} else {
|
1204
|
+
panic!("{} should be a Block parameter", last_arg_val);
|
1205
|
+
}
|
1206
|
+
}
|
1207
|
+
num as usize
|
1208
|
+
}
|
1209
|
+
|
1210
|
+
/// Removes `val` from `block`'s parameters by a standard linear time list removal which
|
1211
|
+
/// preserves ordering. Also updates the values' data.
|
1212
|
+
pub fn remove_block_param(&mut self, val: Value) {
|
1213
|
+
let (block, num) =
|
1214
|
+
if let ValueData::Param { num, block, .. } = ValueData::from(self.values[val]) {
|
1215
|
+
(block, num)
|
1216
|
+
} else {
|
1217
|
+
panic!("{} must be a block parameter", val);
|
1218
|
+
};
|
1219
|
+
self.blocks[block]
|
1220
|
+
.params
|
1221
|
+
.remove(num as usize, &mut self.value_lists);
|
1222
|
+
for index in num..(self.num_block_params(block) as u16) {
|
1223
|
+
let packed = &mut self.values[self.blocks[block]
|
1224
|
+
.params
|
1225
|
+
.get(index as usize, &self.value_lists)
|
1226
|
+
.unwrap()];
|
1227
|
+
let mut data = ValueData::from(*packed);
|
1228
|
+
match &mut data {
|
1229
|
+
ValueData::Param { ref mut num, .. } => {
|
1230
|
+
*num -= 1;
|
1231
|
+
*packed = data.into();
|
1232
|
+
}
|
1233
|
+
_ => panic!(
|
1234
|
+
"{} must be a block parameter",
|
1235
|
+
self.blocks[block]
|
1236
|
+
.params
|
1237
|
+
.get(index as usize, &self.value_lists)
|
1238
|
+
.unwrap()
|
1239
|
+
),
|
1240
|
+
}
|
1241
|
+
}
|
1242
|
+
}
|
1243
|
+
|
1244
|
+
/// Append an existing value to `block`'s parameters.
|
1245
|
+
///
|
1246
|
+
/// The appended value can't already be attached to something else.
|
1247
|
+
///
|
1248
|
+
/// In almost all cases, you should be using `append_block_param()` instead of this method.
|
1249
|
+
pub fn attach_block_param(&mut self, block: Block, param: Value) {
|
1250
|
+
debug_assert!(!self.value_is_attached(param));
|
1251
|
+
let num = self.blocks[block].params.push(param, &mut self.value_lists);
|
1252
|
+
debug_assert!(num <= u16::MAX as usize, "Too many parameters on block");
|
1253
|
+
let ty = self.value_type(param);
|
1254
|
+
self.values[param] = ValueData::Param {
|
1255
|
+
ty,
|
1256
|
+
num: num as u16,
|
1257
|
+
block,
|
1258
|
+
}
|
1259
|
+
.into();
|
1260
|
+
}
|
1261
|
+
|
1262
|
+
/// Replace a block parameter with a new value of type `ty`.
|
1263
|
+
///
|
1264
|
+
/// The `old_value` must be an attached block parameter. It is removed from its place in the list
|
1265
|
+
/// of parameters and replaced by a new value of type `new_type`. The new value gets the same
|
1266
|
+
/// position in the list, and other parameters are not disturbed.
|
1267
|
+
///
|
1268
|
+
/// The old value is left detached, so it should probably be changed into something else.
|
1269
|
+
///
|
1270
|
+
/// Returns the new value.
|
1271
|
+
pub fn replace_block_param(&mut self, old_value: Value, new_type: Type) -> Value {
|
1272
|
+
// Create new value identical to the old one except for the type.
|
1273
|
+
let (block, num) =
|
1274
|
+
if let ValueData::Param { num, block, .. } = ValueData::from(self.values[old_value]) {
|
1275
|
+
(block, num)
|
1276
|
+
} else {
|
1277
|
+
panic!("{} must be a block parameter", old_value);
|
1278
|
+
};
|
1279
|
+
let new_arg = self.make_value(ValueData::Param {
|
1280
|
+
ty: new_type,
|
1281
|
+
num,
|
1282
|
+
block,
|
1283
|
+
});
|
1284
|
+
|
1285
|
+
self.blocks[block]
|
1286
|
+
.params
|
1287
|
+
.as_mut_slice(&mut self.value_lists)[num as usize] = new_arg;
|
1288
|
+
new_arg
|
1289
|
+
}
|
1290
|
+
|
1291
|
+
/// Detach all the parameters from `block` and return them as a `ValueList`.
|
1292
|
+
///
|
1293
|
+
/// This is a quite low-level operation. Sensible things to do with the detached block parameters
|
1294
|
+
/// is to put them back on the same block with `attach_block_param()` or change them into aliases
|
1295
|
+
/// with `change_to_alias()`.
|
1296
|
+
pub fn detach_block_params(&mut self, block: Block) -> ValueList {
|
1297
|
+
self.blocks[block].params.take()
|
1298
|
+
}
|
1299
|
+
|
1300
|
+
/// Merge the facts for two values. If both values have facts and
|
1301
|
+
/// they differ, both values get a special "conflict" fact that is
|
1302
|
+
/// never satisfied.
|
1303
|
+
pub fn merge_facts(&mut self, a: Value, b: Value) {
|
1304
|
+
let a = self.resolve_aliases(a);
|
1305
|
+
let b = self.resolve_aliases(b);
|
1306
|
+
match (&self.facts[a], &self.facts[b]) {
|
1307
|
+
(Some(a), Some(b)) if a == b => { /* nothing */ }
|
1308
|
+
(None, None) => { /* nothing */ }
|
1309
|
+
(Some(a), None) => {
|
1310
|
+
self.facts[b] = Some(a.clone());
|
1311
|
+
}
|
1312
|
+
(None, Some(b)) => {
|
1313
|
+
self.facts[a] = Some(b.clone());
|
1314
|
+
}
|
1315
|
+
(Some(a_fact), Some(b_fact)) => {
|
1316
|
+
assert_eq!(self.value_type(a), self.value_type(b));
|
1317
|
+
let merged = Fact::intersect(a_fact, b_fact);
|
1318
|
+
crate::trace!(
|
1319
|
+
"facts merge on {} and {}: {:?}, {:?} -> {:?}",
|
1320
|
+
a,
|
1321
|
+
b,
|
1322
|
+
a_fact,
|
1323
|
+
b_fact,
|
1324
|
+
merged,
|
1325
|
+
);
|
1326
|
+
self.facts[a] = Some(merged.clone());
|
1327
|
+
self.facts[b] = Some(merged);
|
1328
|
+
}
|
1329
|
+
}
|
1330
|
+
}
|
1331
|
+
}
|
1332
|
+
|
1333
|
+
/// Contents of a basic block.
|
1334
|
+
///
|
1335
|
+
/// Parameters on a basic block are values that dominate everything in the block. All
|
1336
|
+
/// branches to this block must provide matching arguments, and the arguments to the entry block must
|
1337
|
+
/// match the function arguments.
|
1338
|
+
#[derive(Clone, PartialEq, Hash)]
|
1339
|
+
#[cfg_attr(feature = "enable-serde", derive(Serialize, Deserialize))]
|
1340
|
+
pub struct BlockData {
|
1341
|
+
/// List of parameters to this block.
|
1342
|
+
params: ValueList,
|
1343
|
+
}
|
1344
|
+
|
1345
|
+
impl BlockData {
|
1346
|
+
fn new() -> Self {
|
1347
|
+
Self {
|
1348
|
+
params: ValueList::new(),
|
1349
|
+
}
|
1350
|
+
}
|
1351
|
+
|
1352
|
+
/// Get the parameters on `block`.
|
1353
|
+
pub fn params<'a>(&self, pool: &'a ValueListPool) -> &'a [Value] {
|
1354
|
+
self.params.as_slice(pool)
|
1355
|
+
}
|
1356
|
+
}
|
1357
|
+
|
1358
|
+
/// Object that can display an instruction.
|
1359
|
+
pub struct DisplayInst<'a>(&'a DataFlowGraph, Inst);
|
1360
|
+
|
1361
|
+
impl<'a> fmt::Display for DisplayInst<'a> {
|
1362
|
+
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
1363
|
+
let dfg = self.0;
|
1364
|
+
let inst = self.1;
|
1365
|
+
|
1366
|
+
if let Some((first, rest)) = dfg.inst_results(inst).split_first() {
|
1367
|
+
write!(f, "{}", first)?;
|
1368
|
+
for v in rest {
|
1369
|
+
write!(f, ", {}", v)?;
|
1370
|
+
}
|
1371
|
+
write!(f, " = ")?;
|
1372
|
+
}
|
1373
|
+
|
1374
|
+
let typevar = dfg.ctrl_typevar(inst);
|
1375
|
+
if typevar.is_invalid() {
|
1376
|
+
write!(f, "{}", dfg.insts[inst].opcode())?;
|
1377
|
+
} else {
|
1378
|
+
write!(f, "{}.{}", dfg.insts[inst].opcode(), typevar)?;
|
1379
|
+
}
|
1380
|
+
write_operands(f, dfg, inst)
|
1381
|
+
}
|
1382
|
+
}
|
1383
|
+
|
1384
|
+
/// Parser routines. These routines should not be used outside the parser.
|
1385
|
+
impl DataFlowGraph {
|
1386
|
+
/// Set the type of a value. This is only for use in the parser, which needs
|
1387
|
+
/// to create invalid values for index padding which may be reassigned later.
|
1388
|
+
#[cold]
|
1389
|
+
fn set_value_type_for_parser(&mut self, v: Value, t: Type) {
|
1390
|
+
assert_eq!(
|
1391
|
+
self.value_type(v),
|
1392
|
+
types::INVALID,
|
1393
|
+
"this function is only for assigning types to previously invalid values"
|
1394
|
+
);
|
1395
|
+
self.values[v].set_type(t);
|
1396
|
+
}
|
1397
|
+
|
1398
|
+
/// Check that the given concrete `Type` has been defined in the function.
|
1399
|
+
pub fn check_dynamic_type(&mut self, ty: Type) -> Option<Type> {
|
1400
|
+
debug_assert!(ty.is_dynamic_vector());
|
1401
|
+
if self
|
1402
|
+
.dynamic_types
|
1403
|
+
.values()
|
1404
|
+
.any(|dyn_ty_data| dyn_ty_data.concrete().unwrap() == ty)
|
1405
|
+
{
|
1406
|
+
Some(ty)
|
1407
|
+
} else {
|
1408
|
+
None
|
1409
|
+
}
|
1410
|
+
}
|
1411
|
+
|
1412
|
+
/// Create result values for `inst`, reusing the provided detached values.
|
1413
|
+
/// This is similar to `make_inst_results_reusing` except it's only for use
|
1414
|
+
/// in the parser, which needs to reuse previously invalid values.
|
1415
|
+
#[cold]
|
1416
|
+
pub fn make_inst_results_for_parser(
|
1417
|
+
&mut self,
|
1418
|
+
inst: Inst,
|
1419
|
+
ctrl_typevar: Type,
|
1420
|
+
reuse: &[Value],
|
1421
|
+
) -> usize {
|
1422
|
+
let mut reuse_iter = reuse.iter().copied();
|
1423
|
+
let result_tys: SmallVec<[_; 16]> = self.inst_result_types(inst, ctrl_typevar).collect();
|
1424
|
+
for ty in result_tys {
|
1425
|
+
if ty.is_dynamic_vector() {
|
1426
|
+
self.check_dynamic_type(ty)
|
1427
|
+
.unwrap_or_else(|| panic!("Use of undeclared dynamic type: {}", ty));
|
1428
|
+
}
|
1429
|
+
if let Some(v) = reuse_iter.next() {
|
1430
|
+
self.set_value_type_for_parser(v, ty);
|
1431
|
+
}
|
1432
|
+
}
|
1433
|
+
|
1434
|
+
self.make_inst_results_reusing(inst, ctrl_typevar, reuse.iter().map(|x| Some(*x)))
|
1435
|
+
}
|
1436
|
+
|
1437
|
+
/// Similar to `append_block_param`, append a parameter with type `ty` to
|
1438
|
+
/// `block`, but using value `val`. This is only for use by the parser to
|
1439
|
+
/// create parameters with specific values.
|
1440
|
+
#[cold]
|
1441
|
+
pub fn append_block_param_for_parser(&mut self, block: Block, ty: Type, val: Value) {
|
1442
|
+
let num = self.blocks[block].params.push(val, &mut self.value_lists);
|
1443
|
+
assert!(num <= u16::MAX as usize, "Too many parameters on block");
|
1444
|
+
self.values[val] = ValueData::Param {
|
1445
|
+
ty,
|
1446
|
+
num: num as u16,
|
1447
|
+
block,
|
1448
|
+
}
|
1449
|
+
.into();
|
1450
|
+
}
|
1451
|
+
|
1452
|
+
/// Create a new value alias. This is only for use by the parser to create
|
1453
|
+
/// aliases with specific values, and the printer for testing.
|
1454
|
+
#[cold]
|
1455
|
+
pub fn make_value_alias_for_serialization(&mut self, src: Value, dest: Value) {
|
1456
|
+
assert_ne!(src, Value::reserved_value());
|
1457
|
+
assert_ne!(dest, Value::reserved_value());
|
1458
|
+
|
1459
|
+
let ty = if self.values.is_valid(src) {
|
1460
|
+
self.value_type(src)
|
1461
|
+
} else {
|
1462
|
+
// As a special case, if we can't resolve the aliasee yet, use INVALID
|
1463
|
+
// temporarily. It will be resolved later in parsing.
|
1464
|
+
types::INVALID
|
1465
|
+
};
|
1466
|
+
let data = ValueData::Alias { ty, original: src };
|
1467
|
+
self.values[dest] = data.into();
|
1468
|
+
}
|
1469
|
+
|
1470
|
+
/// If `v` is already defined as an alias, return its destination value.
|
1471
|
+
/// Otherwise return None. This allows the parser to coalesce identical
|
1472
|
+
/// alias definitions, and the printer to identify an alias's immediate target.
|
1473
|
+
#[cold]
|
1474
|
+
pub fn value_alias_dest_for_serialization(&self, v: Value) -> Option<Value> {
|
1475
|
+
if let ValueData::Alias { original, .. } = ValueData::from(self.values[v]) {
|
1476
|
+
Some(original)
|
1477
|
+
} else {
|
1478
|
+
None
|
1479
|
+
}
|
1480
|
+
}
|
1481
|
+
|
1482
|
+
/// Compute the type of an alias. This is only for use in the parser.
|
1483
|
+
/// Returns false if an alias cycle was encountered.
|
1484
|
+
#[cold]
|
1485
|
+
pub fn set_alias_type_for_parser(&mut self, v: Value) -> bool {
|
1486
|
+
if let Some(resolved) = maybe_resolve_aliases(&self.values, v) {
|
1487
|
+
let old_ty = self.value_type(v);
|
1488
|
+
let new_ty = self.value_type(resolved);
|
1489
|
+
if old_ty == types::INVALID {
|
1490
|
+
self.set_value_type_for_parser(v, new_ty);
|
1491
|
+
} else {
|
1492
|
+
assert_eq!(old_ty, new_ty);
|
1493
|
+
}
|
1494
|
+
true
|
1495
|
+
} else {
|
1496
|
+
false
|
1497
|
+
}
|
1498
|
+
}
|
1499
|
+
|
1500
|
+
/// Create an invalid value, to pad the index space. This is only for use by
|
1501
|
+
/// the parser to pad out the value index space.
|
1502
|
+
#[cold]
|
1503
|
+
pub fn make_invalid_value_for_parser(&mut self) {
|
1504
|
+
let data = ValueData::Alias {
|
1505
|
+
ty: types::INVALID,
|
1506
|
+
original: Value::reserved_value(),
|
1507
|
+
};
|
1508
|
+
self.make_value(data);
|
1509
|
+
}
|
1510
|
+
|
1511
|
+
/// Check if a value reference is valid, while being aware of aliases which
|
1512
|
+
/// may be unresolved while parsing.
|
1513
|
+
#[cold]
|
1514
|
+
pub fn value_is_valid_for_parser(&self, v: Value) -> bool {
|
1515
|
+
if !self.value_is_valid(v) {
|
1516
|
+
return false;
|
1517
|
+
}
|
1518
|
+
if let ValueData::Alias { ty, .. } = ValueData::from(self.values[v]) {
|
1519
|
+
ty != types::INVALID
|
1520
|
+
} else {
|
1521
|
+
true
|
1522
|
+
}
|
1523
|
+
}
|
1524
|
+
}
|
1525
|
+
|
1526
|
+
#[cfg(test)]
|
1527
|
+
mod tests {
|
1528
|
+
use super::*;
|
1529
|
+
use crate::cursor::{Cursor, FuncCursor};
|
1530
|
+
use crate::ir::types;
|
1531
|
+
use crate::ir::{Function, InstructionData, Opcode, TrapCode};
|
1532
|
+
use alloc::string::ToString;
|
1533
|
+
|
1534
|
+
#[test]
|
1535
|
+
fn make_inst() {
|
1536
|
+
let mut dfg = DataFlowGraph::new();
|
1537
|
+
|
1538
|
+
let idata = InstructionData::UnaryImm {
|
1539
|
+
opcode: Opcode::Iconst,
|
1540
|
+
imm: 0.into(),
|
1541
|
+
};
|
1542
|
+
let inst = dfg.make_inst(idata);
|
1543
|
+
|
1544
|
+
dfg.make_inst_results(inst, types::I32);
|
1545
|
+
assert_eq!(inst.to_string(), "inst0");
|
1546
|
+
assert_eq!(dfg.display_inst(inst).to_string(), "v0 = iconst.i32 0");
|
1547
|
+
|
1548
|
+
// Immutable reference resolution.
|
1549
|
+
{
|
1550
|
+
let immdfg = &dfg;
|
1551
|
+
let ins = &immdfg.insts[inst];
|
1552
|
+
assert_eq!(ins.opcode(), Opcode::Iconst);
|
1553
|
+
}
|
1554
|
+
|
1555
|
+
// Results.
|
1556
|
+
let val = dfg.first_result(inst);
|
1557
|
+
assert_eq!(dfg.inst_results(inst), &[val]);
|
1558
|
+
|
1559
|
+
assert_eq!(dfg.value_def(val), ValueDef::Result(inst, 0));
|
1560
|
+
assert_eq!(dfg.value_type(val), types::I32);
|
1561
|
+
|
1562
|
+
// Replacing results.
|
1563
|
+
assert!(dfg.value_is_attached(val));
|
1564
|
+
let v2 = dfg.replace_result(val, types::F64);
|
1565
|
+
assert!(!dfg.value_is_attached(val));
|
1566
|
+
assert!(dfg.value_is_attached(v2));
|
1567
|
+
assert_eq!(dfg.inst_results(inst), &[v2]);
|
1568
|
+
assert_eq!(dfg.value_def(v2), ValueDef::Result(inst, 0));
|
1569
|
+
assert_eq!(dfg.value_type(v2), types::F64);
|
1570
|
+
}
|
1571
|
+
|
1572
|
+
#[test]
|
1573
|
+
fn no_results() {
|
1574
|
+
let mut dfg = DataFlowGraph::new();
|
1575
|
+
|
1576
|
+
let idata = InstructionData::Trap {
|
1577
|
+
opcode: Opcode::Trap,
|
1578
|
+
code: TrapCode::User(0),
|
1579
|
+
};
|
1580
|
+
let inst = dfg.make_inst(idata);
|
1581
|
+
assert_eq!(dfg.display_inst(inst).to_string(), "trap user0");
|
1582
|
+
|
1583
|
+
// Result slice should be empty.
|
1584
|
+
assert_eq!(dfg.inst_results(inst), &[]);
|
1585
|
+
}
|
1586
|
+
|
1587
|
+
#[test]
|
1588
|
+
fn block() {
|
1589
|
+
let mut dfg = DataFlowGraph::new();
|
1590
|
+
|
1591
|
+
let block = dfg.make_block();
|
1592
|
+
assert_eq!(block.to_string(), "block0");
|
1593
|
+
assert_eq!(dfg.num_block_params(block), 0);
|
1594
|
+
assert_eq!(dfg.block_params(block), &[]);
|
1595
|
+
assert!(dfg.detach_block_params(block).is_empty());
|
1596
|
+
assert_eq!(dfg.num_block_params(block), 0);
|
1597
|
+
assert_eq!(dfg.block_params(block), &[]);
|
1598
|
+
|
1599
|
+
let arg1 = dfg.append_block_param(block, types::F32);
|
1600
|
+
assert_eq!(arg1.to_string(), "v0");
|
1601
|
+
assert_eq!(dfg.num_block_params(block), 1);
|
1602
|
+
assert_eq!(dfg.block_params(block), &[arg1]);
|
1603
|
+
|
1604
|
+
let arg2 = dfg.append_block_param(block, types::I16);
|
1605
|
+
assert_eq!(arg2.to_string(), "v1");
|
1606
|
+
assert_eq!(dfg.num_block_params(block), 2);
|
1607
|
+
assert_eq!(dfg.block_params(block), &[arg1, arg2]);
|
1608
|
+
|
1609
|
+
assert_eq!(dfg.value_def(arg1), ValueDef::Param(block, 0));
|
1610
|
+
assert_eq!(dfg.value_def(arg2), ValueDef::Param(block, 1));
|
1611
|
+
assert_eq!(dfg.value_type(arg1), types::F32);
|
1612
|
+
assert_eq!(dfg.value_type(arg2), types::I16);
|
1613
|
+
|
1614
|
+
// Swap the two block parameters.
|
1615
|
+
let vlist = dfg.detach_block_params(block);
|
1616
|
+
assert_eq!(dfg.num_block_params(block), 0);
|
1617
|
+
assert_eq!(dfg.block_params(block), &[]);
|
1618
|
+
assert_eq!(vlist.as_slice(&dfg.value_lists), &[arg1, arg2]);
|
1619
|
+
dfg.attach_block_param(block, arg2);
|
1620
|
+
let arg3 = dfg.append_block_param(block, types::I32);
|
1621
|
+
dfg.attach_block_param(block, arg1);
|
1622
|
+
assert_eq!(dfg.block_params(block), &[arg2, arg3, arg1]);
|
1623
|
+
}
|
1624
|
+
|
1625
|
+
#[test]
|
1626
|
+
fn replace_block_params() {
|
1627
|
+
let mut dfg = DataFlowGraph::new();
|
1628
|
+
|
1629
|
+
let block = dfg.make_block();
|
1630
|
+
let arg1 = dfg.append_block_param(block, types::F32);
|
1631
|
+
|
1632
|
+
let new1 = dfg.replace_block_param(arg1, types::I64);
|
1633
|
+
assert_eq!(dfg.value_type(arg1), types::F32);
|
1634
|
+
assert_eq!(dfg.value_type(new1), types::I64);
|
1635
|
+
assert_eq!(dfg.block_params(block), &[new1]);
|
1636
|
+
|
1637
|
+
dfg.attach_block_param(block, arg1);
|
1638
|
+
assert_eq!(dfg.block_params(block), &[new1, arg1]);
|
1639
|
+
|
1640
|
+
let new2 = dfg.replace_block_param(arg1, types::I8);
|
1641
|
+
assert_eq!(dfg.value_type(arg1), types::F32);
|
1642
|
+
assert_eq!(dfg.value_type(new2), types::I8);
|
1643
|
+
assert_eq!(dfg.block_params(block), &[new1, new2]);
|
1644
|
+
|
1645
|
+
dfg.attach_block_param(block, arg1);
|
1646
|
+
assert_eq!(dfg.block_params(block), &[new1, new2, arg1]);
|
1647
|
+
|
1648
|
+
let new3 = dfg.replace_block_param(new2, types::I16);
|
1649
|
+
assert_eq!(dfg.value_type(new1), types::I64);
|
1650
|
+
assert_eq!(dfg.value_type(new2), types::I8);
|
1651
|
+
assert_eq!(dfg.value_type(new3), types::I16);
|
1652
|
+
assert_eq!(dfg.block_params(block), &[new1, new3, arg1]);
|
1653
|
+
}
|
1654
|
+
|
1655
|
+
#[test]
|
1656
|
+
fn swap_remove_block_params() {
|
1657
|
+
let mut dfg = DataFlowGraph::new();
|
1658
|
+
|
1659
|
+
let block = dfg.make_block();
|
1660
|
+
let arg1 = dfg.append_block_param(block, types::F32);
|
1661
|
+
let arg2 = dfg.append_block_param(block, types::F32);
|
1662
|
+
let arg3 = dfg.append_block_param(block, types::F32);
|
1663
|
+
assert_eq!(dfg.block_params(block), &[arg1, arg2, arg3]);
|
1664
|
+
|
1665
|
+
dfg.swap_remove_block_param(arg1);
|
1666
|
+
assert_eq!(dfg.value_is_attached(arg1), false);
|
1667
|
+
assert_eq!(dfg.value_is_attached(arg2), true);
|
1668
|
+
assert_eq!(dfg.value_is_attached(arg3), true);
|
1669
|
+
assert_eq!(dfg.block_params(block), &[arg3, arg2]);
|
1670
|
+
dfg.swap_remove_block_param(arg2);
|
1671
|
+
assert_eq!(dfg.value_is_attached(arg2), false);
|
1672
|
+
assert_eq!(dfg.value_is_attached(arg3), true);
|
1673
|
+
assert_eq!(dfg.block_params(block), &[arg3]);
|
1674
|
+
dfg.swap_remove_block_param(arg3);
|
1675
|
+
assert_eq!(dfg.value_is_attached(arg3), false);
|
1676
|
+
assert_eq!(dfg.block_params(block), &[]);
|
1677
|
+
}
|
1678
|
+
|
1679
|
+
#[test]
|
1680
|
+
fn aliases() {
|
1681
|
+
use crate::ir::condcodes::IntCC;
|
1682
|
+
use crate::ir::InstBuilder;
|
1683
|
+
|
1684
|
+
let mut func = Function::new();
|
1685
|
+
let block0 = func.dfg.make_block();
|
1686
|
+
let mut pos = FuncCursor::new(&mut func);
|
1687
|
+
pos.insert_block(block0);
|
1688
|
+
|
1689
|
+
// Build a little test program.
|
1690
|
+
let v1 = pos.ins().iconst(types::I32, 42);
|
1691
|
+
|
1692
|
+
// Make sure we can resolve value aliases even when values is empty.
|
1693
|
+
assert_eq!(pos.func.dfg.resolve_aliases(v1), v1);
|
1694
|
+
|
1695
|
+
let arg0 = pos.func.dfg.append_block_param(block0, types::I32);
|
1696
|
+
let (s, c) = pos.ins().uadd_overflow(v1, arg0);
|
1697
|
+
let iadd = match pos.func.dfg.value_def(s) {
|
1698
|
+
ValueDef::Result(i, 0) => i,
|
1699
|
+
_ => panic!(),
|
1700
|
+
};
|
1701
|
+
|
1702
|
+
// Remove `c` from the result list.
|
1703
|
+
pos.func.dfg.clear_results(iadd);
|
1704
|
+
pos.func.dfg.attach_result(iadd, s);
|
1705
|
+
|
1706
|
+
// Replace `uadd_overflow` with a normal `iadd` and an `icmp`.
|
1707
|
+
pos.func.dfg.replace(iadd).iadd(v1, arg0);
|
1708
|
+
let c2 = pos.ins().icmp(IntCC::Equal, s, v1);
|
1709
|
+
pos.func.dfg.change_to_alias(c, c2);
|
1710
|
+
|
1711
|
+
assert_eq!(pos.func.dfg.resolve_aliases(c2), c2);
|
1712
|
+
assert_eq!(pos.func.dfg.resolve_aliases(c), c2);
|
1713
|
+
}
|
1714
|
+
|
1715
|
+
#[test]
|
1716
|
+
fn cloning() {
|
1717
|
+
use crate::ir::InstBuilder;
|
1718
|
+
|
1719
|
+
let mut func = Function::new();
|
1720
|
+
let mut sig = Signature::new(crate::isa::CallConv::SystemV);
|
1721
|
+
sig.params.push(ir::AbiParam::new(types::I32));
|
1722
|
+
let sig = func.import_signature(sig);
|
1723
|
+
let block0 = func.dfg.make_block();
|
1724
|
+
let mut pos = FuncCursor::new(&mut func);
|
1725
|
+
pos.insert_block(block0);
|
1726
|
+
let v1 = pos.ins().iconst(types::I32, 0);
|
1727
|
+
let v2 = pos.ins().iconst(types::I32, 1);
|
1728
|
+
let call_inst = pos.ins().call_indirect(sig, v1, &[v1]);
|
1729
|
+
let func = pos.func;
|
1730
|
+
|
1731
|
+
let call_inst_dup = func.dfg.clone_inst(call_inst);
|
1732
|
+
func.dfg.inst_args_mut(call_inst)[0] = v2;
|
1733
|
+
assert_eq!(v1, func.dfg.inst_args(call_inst_dup)[0]);
|
1734
|
+
}
|
1735
|
+
}
|