| /wasmtime-44.0.1/crates/wizer/examples/cpp/ |
| H A D | main.cpp | 4 class Test { class 6 Test() : value(1) { in Test() function in Test 9 ~Test() { printf("global destructor (should be the last printed line)\n"); } in ~Test() 15 Test t;
|
| /wasmtime-44.0.1/tests/all/ |
| H A D | module.rs | 344 enum Test { in concurrent_type_registry_modifications() enum 356 const TESTS: &'static [Test] = &[ in concurrent_type_registry_modifications() 361 Test::Array(|engine| { in concurrent_type_registry_modifications() 364 Test::Array(|engine| { in concurrent_type_registry_modifications() 367 Test::Module( in concurrent_type_registry_modifications() 393 Test::Module( in concurrent_type_registry_modifications() 404 Test::Module( in concurrent_type_registry_modifications() 419 Test::Module( in concurrent_type_registry_modifications() 441 Some(Test::Module(wat)) => { in concurrent_type_registry_modifications() 444 Some(Test::Func(ctor)) => { in concurrent_type_registry_modifications() [all …]
|
| /wasmtime-44.0.1/cranelift/filetests/filetests/isa/aarch64/ |
| H A D | leaf_function_detection.clif | 1 ;; Test leaf function detection across different function types. 11 ;; Test 1: Simple leaf function - just arithmetic operations 31 ;; Test 2: Leaf function with multiple basic blocks and control flow 80 ;; Test 3: Non-leaf function with direct call 107 ;; Test 4: Non-leaf function with indirect call 133 ;; Test 5: Leaf function with memory operations (should still be leaf) 157 ;; Test 6: Leaf function that looks like it might call but doesn't
|
| H A D | leaf.clif | 1 ;; Test compilation of leaf functions without preserving frame pointers.
|
| H A D | return-call-indirect.clif | 5 ;;;; Test passing `i64`s ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 51 ;;;; Test colocated tail calls ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 79 ;;;; Test passing `f64`s ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 128 ;;;; Test passing `i8`s ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 179 ;;;; Test passing many arguments on stack ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
| /wasmtime-44.0.1/cranelift/filetests/filetests/isa/s390x/ |
| H A D | leaf_function_detection.clif | 1 ;; Test leaf function detection across different function types. 11 ;; Test 1: Simple leaf function - just arithmetic operations 29 ;; Test 2: Leaf function with multiple basic blocks and control flow 76 ;; Test 3: Non-leaf function with direct call 103 ;; Test 4: Non-leaf function with indirect call 129 ;; Test 5: Leaf function with memory operations (should still be leaf) 153 ;; Test 6: Leaf function that looks like it might call but doesn't
|
| H A D | leaf.clif | 1 ;; Test compilation of leaf functions without preserving frame pointers.
|
| /wasmtime-44.0.1/cranelift/filetests/filetests/isa/riscv64/ |
| H A D | leaf_function_detection.clif | 1 ;; Test leaf function detection across different function types. 11 ;; Test 1: Simple leaf function - just arithmetic operations 31 ;; Test 2: Leaf function with multiple basic blocks and control flow 80 ;; Test 3: Non-leaf function with direct call 116 ;; Test 4: Non-leaf function with indirect call 150 ;; Test 5: Leaf function with memory operations (should still be leaf) 174 ;; Test 6: Leaf function that looks like it might call but doesn't
|
| H A D | multivalue-ret.clif | 5 ;; Test default (non-SpiderMonkey) ABI.
|
| /wasmtime-44.0.1/cranelift/filetests/filetests/isa/x64/ |
| H A D | leaf_function_detection.clif | 1 ;; Test leaf function detection across different function types. 15 ;; Test 1: Simple leaf function - just arithmetic operations 42 ;; Test 2: Leaf function with multiple basic blocks and control flow 99 ;; Test 3: Non-leaf function with direct call 128 ;; Test 4: Non-leaf function with indirect call 156 ;; Test 5: Leaf function with memory operations (should still be leaf) 189 ;; Test 6: Leaf function that looks like it might call but doesn't
|
| H A D | leaf.clif | 1 ;; Test compilation of leaf functions without preserving frame pointers.
|
| H A D | leaf_with_preserve_frame_pointers.clif | 1 ;; Test compilation of leaf functions while preserving frame pointers.
|
| /wasmtime-44.0.1/crates/test-programs/artifacts/ |
| H A D | build.rs | 24 struct Test { struct 158 fn build_rust_tests(&mut self, tests: &mut Vec<Test>) { in build_rust_tests() argument 196 tests.push(Test { in build_rust_tests() 262 fn build_non_rust_tests(&mut self, tests: &mut Vec<Test>) { in build_non_rust_tests() argument 282 tests.push(Test { in build_non_rust_tests() 299 fn build_c_or_cpp_test(&mut self, path: PathBuf, name: String, tests: &mut Vec<Test>) { in build_c_or_cpp_test() argument 320 tests.push(Test { in build_c_or_cpp_test() 355 tests.push(Test { in build_c_or_cpp_test()
|
| /wasmtime-44.0.1/cranelift/filetests/filetests/runtests/ |
| H A D | return-call-indirect.clif | 18 ;;;; Test passing `i64`s ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 36 ;;;; Test colocated tail calls ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 48 ;;;; Test passing `f64`s ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 67 ;;;; Test passing `i8`s ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 87 ;;;; Test passing many arguments on stack ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
| H A D | srem_opts.clif | 250 ; Test with 32-bit constants 269 ; Test immediate forms with guaranteed constant optimization 296 ; Test zero dividend 308 ; Test remainder that equals dividend (divisor > dividend) 327 ; Test powers of 2 with various patterns 346 ; Test mixed sign edge cases 386 ; Test larger non-power-of-2 immediates
|
| H A D | return-call.clif | 14 ;;;; Test passing `i64`s ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 30 ;;;; Test colocated tail calls ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 40 ;;;; Test passing `f64`s ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 57 ;;;; Test passing `i8`s ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 75 ;;;; Test passing many arguments on stack ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 117 ;;;; Test diff blocks with diff return calls with diff # of stack args ;;;;;;;;;
|
| H A D | tail-call-conv.clif | 14 ;; Test the `tail` calling convention with non-tail calls. 43 ;; Test the `tail` calling convention with non-tail calls and stack arguments. 86 ;; Test the `tail` calling convention with non-tail calls and stack returns. 130 ;; Test that tail calls that shrink the argument area don't clobber the location
|
| /wasmtime-44.0.1/tests/ |
| H A D | disas.rs | 112 let mut test = Test::new(path)?; in run_test() 147 struct Test { struct 169 impl Test { implementation 172 fn new(path: &Path) -> Result<Test> { in new() argument 184 Ok(Test { in new() 293 fn assert_output(test: &Test, output: CompileOutput) -> Result<()> { in assert_output() argument
|
| /wasmtime-44.0.1/tests/all/component_model/bindgen/ |
| H A D | ownership.rs | 168 let test = Test::instantiate(&mut store, &component, &linker)?; in owning() 241 let test = Test::instantiate(&mut store, &component, &linker)?; in borrowing_no_duplication() 315 let test = Test::instantiate(&mut store, &component, &linker)?; in borrowing_with_duplication()
|
| /wasmtime-44.0.1/cranelift/src/ |
| H A D | clif-util.rs | 19 Test(TestOptions), enumerator 95 Commands::Test(t) => { in main()
|
| /wasmtime-44.0.1/tests/misc_testsuite/memory64/ |
| H A D | more-than-4gb.wast | 23 ;; Test that initialization with a 64-bit global works 38 ;; Test that initialization with a 64-bit data segment works
|
| /wasmtime-44.0.1/cranelift/docs/ |
| H A D | testing.md | 224 Test the register allocator. 238 Test the simple GVN pass. 245 Test the LICM pass. 252 Test the DCE pass. 259 Test the instruction shrinking pass. 266 Test the preopt pass. 273 Test the whole code generation pipeline.
|
| /wasmtime-44.0.1/cranelift/filetests/filetests/verifier/ |
| H A D | defs_dominates_uses.clif | 3 ; Test verification that uses properly dominate defs.
|
| /wasmtime-44.0.1/tests/misc_testsuite/gc/ |
| H A D | more-rec-groups-than-types.wast | 3 ;; Test that we properly handle empty rec groups and when we have more rec
|
| /wasmtime-44.0.1/cranelift/isle/isle/isle_examples/run/ |
| H A D | iconst.isle | 15 ;; Test some various syntaxes for numbers
|