v8/test/unittests/compiler
Nico Hartmann 41628b52fc [turboshaft] Implement %CheckTurboshaftTypeOf intrinsic to test typer
This CL implements a new %CheckTurboshaftTypeOf(e, type_string)
intrinsic allowing tests to express that the expression e is supposed
to have the turboshaft type expressed by type_string eventually during
lowering.

Test that use this intrinsic are verifying implementation details and
are thus somewhat brittle and potentially platform depedent. This
intrinsic is not supposed to be used broadly, but rather to write
some tests that check the precision of turboshaft's new type system.

This intrinsic may be removed once the type system is shipped and gets
coverage in other ways.

Bug: v8:12783
Change-Id: I4cc2582273f3d668601a3203c400a8461b470cac
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4061889
Reviewed-by: Darius Mercadier <dmercadier@chromium.org>
Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
Reviewed-by: Maya Lekova <mslekova@chromium.org>
Cr-Commit-Position: refs/heads/main@{#84894}
2022-12-16 10:10:58 +00:00
..
arm [wasm-simd][arm] Fuse extadd_pairwise and add SIMD on arm. 2021-06-28 14:26:00 +00:00
arm64 Reland "[turbofan][arm64] Emit Lsl for Int32MulWithOverflow when possible" 2022-09-01 11:40:02 +00:00
backend [compiler] Use v8_flags for accessing flag values 2022-09-15 12:54:30 +00:00
ia32 [no-wasm] Fix compilation of some wasm simd test 2022-09-01 08:26:52 +00:00
loong64 [mips64][loong64][codegen] Sign-extend uint32 values to 64-bit 2021-09-30 07:53:06 +00:00
mips64 [compiler] Use v8_flags for accessing flag values 2022-09-15 12:54:30 +00:00
ppc PPC: remove unused OWNERS files 2021-05-12 16:44:03 +00:00
regalloc [compiler] Use v8_flags for accessing flag values 2022-09-15 12:54:30 +00:00
riscv32 [compiler] Use v8_flags for accessing flag values 2022-09-15 12:54:30 +00:00
riscv64 [compiler] Use v8_flags for accessing flag values 2022-09-15 12:54:30 +00:00
s390 Move architecture dependent files 2019-05-28 14:02:15 +00:00
turboshaft [turboshaft] Implement %CheckTurboshaftTypeOf intrinsic to test typer 2022-12-16 10:10:58 +00:00
x64 [no-wasm] Fix compilation of some wasm simd test 2022-09-01 08:26:52 +00:00
branch-elimination-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
bytecode-analysis-unittest.cc [compiler] Use v8_flags for accessing flag values 2022-09-15 12:54:30 +00:00
checkpoint-elimination-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
codegen-tester.cc [test] Migrate cctest/compiler/test-codegen to unittests/ 2022-08-22 17:28:27 +00:00
codegen-tester.h [test] Migrate cctest/compiler/test-codegen to unittests/ 2022-08-22 17:28:27 +00:00
codegen-unittest.cc [test] Migrate cctest/compiler/test-codegen to unittests/ 2022-08-22 17:28:27 +00:00
common-operator-reducer-unittest.cc Reland^2 [compiler] Simplify "==0" branches in MachineOperatorReducer 2022-03-22 20:40:41 +00:00
common-operator-unittest.cc Place bit_cast<>() in the v8::base:: namespace. 2022-05-05 17:56:39 +00:00
compiler-test-utils.h
compiler-unittest.cc [compiler] Use v8_flags for accessing flag values 2022-09-15 12:54:30 +00:00
constant-folding-reducer-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
control-equivalence-unittest.cc [compiler] Use v8_flags for accessing flag values 2022-09-15 12:54:30 +00:00
control-flow-optimizer-unittest.cc [turbofan] introduce a deterministic tick measurement and assert optimization doesn't take too long 2019-07-17 07:00:00 +00:00
csa-load-elimination-unittest.cc [turbofan] Introduce enum for signalling NaN propagation 2022-11-17 06:49:36 +00:00
dead-code-elimination-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
decompression-optimizer-unittest.cc [compiler] Rename type BailoutId to BytecodeOffset 2021-01-20 13:03:41 +00:00
diamond-unittest.cc [cleanup] [compiler] Fix (D)CHECK macros 2017-09-25 10:21:34 +00:00
effect-control-linearizer-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
frame-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
function-tester.cc [heap] Remove optimized code list 2022-12-13 11:58:32 +00:00
function-tester.h [test] Migrate cctest/test-run-deopt to unittests/ 2022-08-23 08:25:50 +00:00
graph-reducer-unittest.cc [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
graph-reducer-unittest.h [compiler] fix cyclic graph in String.prototype.includes lowering 2022-12-01 09:39:31 +00:00
graph-trimmer-unittest.cc
graph-unittest.cc Remove "volatile" on arguments where deprecated in C++20. 2022-05-09 14:15:44 +00:00
graph-unittest.h Reland "[compiler] Make ReduceWord32EqualForConstantRhs work for Word64Equal" 2022-08-24 09:50:09 +00:00
int64-lowering-unittest.cc [wasm] Move i64<->BigInt CallDescriptors to WasmEngine 2022-12-15 19:40:17 +00:00
js-call-reducer-unittest.cc Revert "factory: Move FeedbackVector construction to type" 2022-01-21 17:09:16 +00:00
js-create-lowering-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
js-intrinsic-lowering-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
js-native-context-specialization-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
js-operator-unittest.cc [tests] Fix subobject-linkage error when building with GCC 2019-10-07 11:11:39 +00:00
js-typed-lowering-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
linear-scheduler-unittest.cc [wasm][revec] Introduce LinearScheduler 2022-06-09 02:05:22 +00:00
linkage-tail-call-unittest.cc Reland "[wasm-gc][cleanup] Remove wasm signature from CallDescriptor" 2022-06-20 13:26:03 +00:00
load-elimination-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
loop-peeling-unittest.cc [compiler] Use v8_flags for accessing flag values 2022-09-15 12:54:30 +00:00
machine-operator-reducer-unittest.cc Adds flag for which sin/cos implementation to use 2022-12-15 15:00:17 +00:00
machine-operator-unittest.cc [turbofan] Disallow floating control in wasm 2021-05-12 15:26:33 +00:00
node-cache-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
node-matchers-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
node-properties-unittest.cc [zone-compr] Add kCompressGraphZone constant 2020-07-24 08:50:11 +00:00
node-test-utils.cc [turbofan] Optimize Int64Div with constant divisor 2022-11-15 09:30:10 +00:00
node-test-utils.h [turbofan] Optimize Int64Div with constant divisor 2022-11-15 09:30:10 +00:00
node-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
opcodes-unittest.cc [compiler] Refactor opcode macro lists 2020-06-23 07:54:14 +00:00
persistent-unittest.cc [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
redundancy-elimination-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
revec-unittest.cc [wasm][revec] Add RevectorizePhase in WASM compilation pipeline 2022-12-16 07:19:53 +00:00
run-bytecode-graph-builder-unittest.cc [test] Migrate cctest/test-run-bytecode-graph-builder to unittests/ 2022-10-03 08:44:43 +00:00
run-deopt-unittest.cc [compiler] Use v8_flags for accessing flag values 2022-09-15 12:54:30 +00:00
run-jsbranches-unittest.cc [test] Migrate rest cctest/compiler/test-run-js* to unittests/ 2022-08-29 15:00:45 +00:00
run-jscalls-unittest.cc [compiler] Use v8_flags for accessing flag values 2022-09-15 12:54:30 +00:00
run-jsexceptions-unittest.cc [test] Migrate rest cctest/compiler/test-run-js* to unittests/ 2022-08-29 15:00:45 +00:00
run-jsobjects-unittest.cc [test] Migrate rest cctest/compiler/test-run-js* to unittests/ 2022-08-29 15:00:45 +00:00
run-jsops-unittest.cc [test] Migrate cctest/compiler/test-run-jsops to unittests/ 2022-08-26 11:07:32 +00:00
run-tail-calls-unittest.cc [test][cleanup] Use CSA::GetJSContextParameter() in tests 2022-11-18 10:03:57 +00:00
schedule-unittest.cc Reland "[zone-compr] Introduce ZoneTypeTraits and ZoneCompression" 2020-07-31 11:43:08 +00:00
scheduler-rpo-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
scheduler-unittest.cc [compiler] Use v8_flags for accessing flag values 2022-09-15 12:54:30 +00:00
simplified-lowering-unittest.cc Place bit_cast<>() in the v8::base:: namespace. 2022-05-05 17:56:39 +00:00
simplified-operator-reducer-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
simplified-operator-unittest.cc [ptr-compr] Remove Compressed mentions from in the pipeline 2019-11-11 12:23:41 +00:00
sloppy-equality-unittest.cc [compiler] Use v8_flags for accessing flag values 2022-09-15 12:54:30 +00:00
state-values-utils-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
typed-optimization-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
typer-unittest.cc [test][cleanup] Fix -Wshadow warnings in unittests 2021-09-27 08:59:01 +00:00
types-unittest.cc [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
value-numbering-reducer-unittest.cc Reland "[zone-compr] Introduce ZoneTypeTraits and ZoneCompression" 2020-07-31 11:43:08 +00:00
zone-stats-unittest.cc [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00