dawn-cmake/src/tint
dan sinclair 46c32d882d Early out Is checks.
This CL adds a check to the `Is` castable methods to determine if the
target type is `final`. If the type being compared too is `final` we
bail out early in the walk up the hierarchy as it won't be a parent
class.

Change-Id: Ieba4dd686e47207a3db0cf3a8ea46fbc1a8d1c91
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/96600
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2022-07-20 15:53:14 +00:00
..
ast Early out Is checks. 2022-07-20 15:53:14 +00:00
bench tint: Add a benchmark for atan2 const eval 2022-07-19 14:50:33 +00:00
cmd Remove NOLINT lines from c++17 headers 2022-06-18 14:34:00 +00:00
diagnostic Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
fuzzers Regex fuzzer: Add break and continue statements 2022-07-19 16:59:33 +00:00
inspector tint: Remove public include of ast include 2022-07-11 17:17:23 +00:00
reader tint: Optimize sem node lookup 2022-07-18 20:50:02 +00:00
resolver tint/resolver: Make the F16 ban error message show a single SC. 2022-07-20 14:15:54 +00:00
sem Early out Is checks. 2022-07-20 15:53:14 +00:00
text Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
transform Early out Is checks. 2022-07-20 15:53:14 +00:00
utils tint: Add a Count() method to BlockAllocator. 2022-07-15 23:42:14 +00:00
val tint: add --overrides flag to specify pipeline overrides 2022-05-05 17:05:10 +00:00
writer tint: Optimize sem node lookup 2022-07-18 20:50:02 +00:00
BUILD.gn tint: Optimize sem node lookup 2022-07-18 20:50:02 +00:00
CMakeLists.txt tint: Optimize sem node lookup 2022-07-18 20:50:02 +00:00
OWNERS Add top-level OWNERS and scope Tint owners more tightly. 2022-04-07 17:59:14 +00:00
castable.cc Fixup various warnings in Tint which were accidentally suppressed. 2022-06-29 14:38:15 +00:00
castable.h Early out Is checks. 2022-07-20 15:53:14 +00:00
castable_bench.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
castable_test.cc tint: Castable - support non-default-constructable return types 2022-05-05 19:18:00 +00:00
clone_context.cc Fixup various warnings in Tint which were accidentally suppressed. 2022-06-29 14:38:15 +00:00
clone_context.h Fixup various warnings in Tint which were accidentally suppressed. 2022-06-29 14:38:15 +00:00
clone_context_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
debug.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
debug.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
debug_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
demangler.cc Fixup various warnings in Tint which were accidentally suppressed. 2022-06-29 14:38:15 +00:00
demangler.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
demangler_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
intrinsics.def tint: Add f16 support for operator 2022-07-18 14:38:32 +00:00
number.cc tint: Implement f16 value binary representation 2022-07-07 03:29:11 +00:00
number.h tint: Implement f16 value binary representation 2022-07-07 03:29:11 +00:00
number_test.cc tint: Implement f16 value binary representation 2022-07-07 03:29:11 +00:00
program.cc tint: Optimize sem node lookup 2022-07-18 20:50:02 +00:00
program.h tint: Optimize sem node lookup 2022-07-18 20:50:02 +00:00
program_builder.cc tint: Optimize sem node lookup 2022-07-18 20:50:02 +00:00
program_builder.h tint: Optimize sem node lookup 2022-07-18 20:50:02 +00:00
program_builder_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
program_id.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
program_id.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
program_test.cc tint: Rename Global() -> GlobalVar() 2022-06-25 08:12:59 +00:00
scope_stack.h tint: Implement uniformity analaysis 2022-05-11 22:05:15 +00:00
scope_stack_test.cc tint: Implement uniformity analaysis 2022-05-11 22:05:15 +00:00
source.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
source.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
source_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
symbol.cc tint: Optimize sem node lookup 2022-07-18 20:50:02 +00:00
symbol.h tint: Optimize sem node lookup 2022-07-18 20:50:02 +00:00
symbol_table.cc Add InsertBraces: true to .clang-format 2022-05-19 20:08:19 +00:00
symbol_table.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
symbol_table_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
symbol_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
test_main.cc tint: Deprecated module-scope 'let' for 'const' 2022-06-29 00:55:36 +00:00
tint.natvis tint: Add support for atomic ops to spirv reader 2022-06-24 22:28:23 +00:00
traits.h Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00
traits_test.cc Consistent formatting for Dawn/Tint. 2022-05-01 14:40:55 +00:00