dawn-cmake/fuzzers
Ben Clayton a9156ff091 Rework Resolver so that we construct semantic types in a single pass.
The semantic nodes cannot be fully immutable, as they contain cyclic
references. Remove Resolver::CreateSemanticNodes(), and instead
construct and mutate the semantic nodes in the single traversal pass.

Give up on trying to maintain the 'authored' type names (aliased names).
These are a nightmare to maintain, and provided limited use.

Significantly simplfies the Resolver, and allows us to generate more
semantic to semantic references, reducing sem -> ast -> sem hops.

Note: This change introduces constant value propagation across constant
variables. This is unlocked by the earlier construction of the
sem::Variable.

Change-Id: I592092fdc47fe24d30e512952511c9ab7c16d7a1
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/68406
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
2021-11-05 16:51:38 +00:00
..
tint_ast_fuzzer Rework Resolver so that we construct semantic types in a single pass. 2021-11-05 16:51:38 +00:00
tint_regex_fuzzer Refactor Inspector fuzzing 2021-10-20 05:01:03 +00:00
tint_spirv_tools_fuzzer Refactor Inspector fuzzing 2021-10-20 05:01:03 +00:00
BUILD.gn Refactor Inspector fuzzing 2021-10-20 05:01:03 +00:00
CMakeLists.txt Refactor Inspector fuzzing 2021-10-20 05:01:03 +00:00
cli.cc Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
cli.h Add '-tint_dump_input=true/false' to fuzzers to dump input spv/wgsl to a file 2021-08-05 15:52:58 +00:00
data_builder.h Fully support initializing fuzzer utilities using a seed value 2021-11-01 18:14:42 +00:00
dictionary.txt Implement texture_depth_multisampled_2d 2021-07-26 22:19:48 +00:00
fuzzer_init.cc Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
fuzzer_init.h Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
generate_spirv_corpus.py Tolerate some errors while building SPIR-V corpus 2021-09-17 14:32:20 +00:00
generate_wgsl_corpus.py Remove stray print in generate_wgsl_corpus.py 2021-07-20 11:14:50 +00:00
random_generator.cc Fully support initializing fuzzer utilities using a seed value 2021-11-01 18:14:42 +00:00
random_generator.h Disallow copy and assign for DataBuilder & RandomGenerator 2021-10-18 18:46:57 +00:00
tint_all_transforms_fuzzer.cc Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
tint_ast_clone_fuzzer.cc ast: Remove to_str() and type_name() 2021-10-14 21:25:49 +00:00
tint_binding_remapper_fuzzer.cc Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
tint_black_box_fuzz_target.cc Choose black-box fuzzer back-end based on data 2021-10-12 17:08:27 +00:00
tint_common_fuzzer.cc fuzzers: Fix build 2021-10-21 17:21:04 +00:00
tint_common_fuzzer.h Refactor Inspector fuzzing 2021-10-20 05:01:03 +00:00
tint_first_index_offset_fuzzer.cc Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
tint_reader_writer_fuzzer.h Add robustness pass to reader writer fuzzers 2021-10-12 14:41:20 +00:00
tint_renamer_fuzzer.cc Convert fuzzer to use TransformBuilder 2021-10-05 14:51:28 +00:00
tint_robustness_fuzzer.cc Update remaining fuzzers to use TransforBuilder 2021-10-05 19:19:26 +00:00
tint_single_entry_point_fuzzer.cc Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
tint_spv_reader_fuzzer.cc Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
tint_spv_reader_hlsl_writer_fuzzer.cc Add robustness pass to reader writer fuzzers 2021-10-12 14:41:20 +00:00
tint_spv_reader_msl_writer_fuzzer.cc Fully support initializing fuzzer utilities using a seed value 2021-11-01 18:14:42 +00:00
tint_spv_reader_spv_writer_fuzzer.cc Fully support initializing fuzzer utilities using a seed value 2021-11-01 18:14:42 +00:00
tint_spv_reader_wgsl_writer_fuzzer.cc Add robustness pass to reader writer fuzzers 2021-10-12 14:41:20 +00:00
tint_vertex_pulling_fuzzer.cc Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
tint_wgsl_reader_fuzzer.cc Refactor fuzzer transform generation 2021-09-30 18:58:32 +00:00
tint_wgsl_reader_hlsl_writer_fuzzer.cc Add robustness pass to reader writer fuzzers 2021-10-12 14:41:20 +00:00
tint_wgsl_reader_msl_writer_fuzzer.cc Fully support initializing fuzzer utilities using a seed value 2021-11-01 18:14:42 +00:00
tint_wgsl_reader_spv_writer_fuzzer.cc Fully support initializing fuzzer utilities using a seed value 2021-11-01 18:14:42 +00:00
tint_wgsl_reader_wgsl_writer_fuzzer.cc Add robustness pass to reader writer fuzzers 2021-10-12 14:41:20 +00:00
transform_builder.h Fully support initializing fuzzer utilities using a seed value 2021-11-01 18:14:42 +00:00