![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <algorithm>
#include "src/base/numerics/safe_conversions.h"
#include "src/compiler/turboshaft/assembler.h"
#include "src/compiler/turboshaft/operations.h"
#include "src/compiler/turboshaft/phase.h"
#include "src/compiler/turboshaft/use-map.h"
#include "src/compiler/wasm-graph-assembler.h"
#include "src/compiler/turboshaft/define-assembler-macros.inc"
#include "src/compiler/turboshaft/undef-assembler-macros.inc"
Go to the source code of this file.
Namespaces | |
namespace | v8 |
namespace | v8::internal |
namespace | v8::internal::compiler |
namespace | v8::internal::compiler::turboshaft |
Macros | |
#define | SIMD256_LOADTRANSFORM_OP(V) |
#define | SIMD256_UNARY_SIMPLE_OP(V) |
#define | SIMD256_UNARY_SIGN_EXTENSION_OP(V) |
#define | SIMD256_BINOP_SIMPLE_OP(V) |
#define | SIMD256_BINOP_SIGN_EXTENSION_OP(V) |
#define | SIMD256_SHIFT_OP(V) |
#define | SIMD256_TERNARY_OP(V) |
#define | SIMD256_SPLAT_OP(V) |
#define | REDUCE_SEED_KIND(V) |
#define | V8_COMPILER_TURBOSHAFT_ASSEMBLER_MACROS_DEFINED 1 |
#define | TSA_DCHECK(assembler, condition) |
#define | TSA_SLOW_DCHECK(assembler, ...) |
#define | LIKELY(...) |
#define | UNLIKELY(...) |
#define | BIND(label, ...) |
#define | BIND_LOOP(loop_label, ...) |
#define | WHILE(...) |
#define | FOREACH_IMPL_2(arg, iterable) |
#define | FOREACH_IMPL_3(arg0, arg1, iterable) |
#define | FOREACH(...) |
#define | BREAK Asm().ControlFlowHelper_Goto(loop_exit_xx, {}) |
#define | CONTINUE Asm().ControlFlowHelper_Goto(loop_header_xx, {}) |
#define | GOTO(label, ...) |
#define | GOTO_IF(cond, label, ...) |
#define | GOTO_IF_NOT(cond, label, ...) |
#define | FORCE_UNROLL_LOOP |
#define | SUPPRESSED_DANGLING_ELSE_WARNING_IF(...) |
#define | SUPPRESSED_DANGLING_ELSE_WARNING_ELSE else |
#define | NO_SHADOW |
#define | RE_SHADOW _Pragma("GCC diagnostic pop") |
#define | IF(...) |
#define | IF_NOT(...) |
#define | ELSE |
#define | Assert(condition) |
#define | REDUCE(operation) |
#define | REDUCE_INPUT_GRAPH(operation) |
#define | __ Asm(). |
#define | UNOP_KIND_MAPPING(from, to) |
#define | SIGN_EXTENSION_UNOP_KIND_MAPPING(from_1, to, from_2) |
#define | BINOP_KIND_MAPPING(from, to) |
#define | SIGN_EXTENSION_BINOP_KIND_MAPPING(from_1, to, from_2) |
#define | SHIFT_KIND_MAPPING(from, to) |
#define | TERNARY_KIND_MAPPING(from, to) |
#define | TRANSFORM_KIND_MAPPING(from, to) |
#define | SPLAT_KIND_MAPPING(from, to) |
#define __ Asm(). |
#define Assert | ( | condition | ) |
#define BIND | ( | label, | |
... ) |
#define BIND_LOOP | ( | loop_label, | |
... ) |
#define BINOP_KIND_MAPPING | ( | from, | |
to ) |
#define BREAK Asm().ControlFlowHelper_Goto(loop_exit_xx, {}) |
#define CONTINUE Asm().ControlFlowHelper_Goto(loop_header_xx, {}) |
#define ELSE |
#define FORCE_UNROLL_LOOP |
#define FOREACH | ( | ... | ) |
#define FOREACH_IMPL_2 | ( | arg, | |
iterable ) |
#define FOREACH_IMPL_3 | ( | arg0, | |
arg1, | |||
iterable ) |
#define GOTO_IF | ( | cond, | |
label, | |||
... ) |
#define GOTO_IF_NOT | ( | cond, | |
label, | |||
... ) |
#define IF | ( | ... | ) |
#define IF_NOT | ( | ... | ) |
#define LIKELY | ( | ... | ) |
#define NO_SHADOW |
#define RE_SHADOW _Pragma("GCC diagnostic pop") |
#define REDUCE | ( | operation | ) |
#define REDUCE_INPUT_GRAPH | ( | operation | ) |
#define REDUCE_SEED_KIND | ( | V | ) |
Definition at line 201 of file wasm-revec-reducer.h.
#define SHIFT_KIND_MAPPING | ( | from, | |
to ) |
#define SIGN_EXTENSION_BINOP_KIND_MAPPING | ( | from_1, | |
to, | |||
from_2 ) |
#define SIGN_EXTENSION_UNOP_KIND_MAPPING | ( | from_1, | |
to, | |||
from_2 ) |
#define SIMD256_BINOP_SIGN_EXTENSION_OP | ( | V | ) |
Definition at line 163 of file wasm-revec-reducer.h.
#define SIMD256_BINOP_SIMPLE_OP | ( | V | ) |
Definition at line 68 of file wasm-revec-reducer.h.
#define SIMD256_LOADTRANSFORM_OP | ( | V | ) |
Definition at line 23 of file wasm-revec-reducer.h.
#define SIMD256_SHIFT_OP | ( | V | ) |
Definition at line 171 of file wasm-revec-reducer.h.
#define SIMD256_SPLAT_OP | ( | V | ) |
Definition at line 193 of file wasm-revec-reducer.h.
#define SIMD256_TERNARY_OP | ( | V | ) |
Definition at line 181 of file wasm-revec-reducer.h.
#define SIMD256_UNARY_SIGN_EXTENSION_OP | ( | V | ) |
Definition at line 60 of file wasm-revec-reducer.h.
#define SIMD256_UNARY_SIMPLE_OP | ( | V | ) |
Definition at line 35 of file wasm-revec-reducer.h.
#define SPLAT_KIND_MAPPING | ( | from, | |
to ) |
#define SUPPRESSED_DANGLING_ELSE_WARNING_ELSE else |
#define SUPPRESSED_DANGLING_ELSE_WARNING_IF | ( | ... | ) |
#define TERNARY_KIND_MAPPING | ( | from, | |
to ) |
#define TRANSFORM_KIND_MAPPING | ( | from, | |
to ) |
#define TSA_DCHECK | ( | assembler, | |
condition ) |
#define TSA_SLOW_DCHECK | ( | assembler, | |
... ) |
#define UNLIKELY | ( | ... | ) |
#define UNOP_KIND_MAPPING | ( | from, | |
to ) |
#define V8_COMPILER_TURBOSHAFT_ASSEMBLER_MACROS_DEFINED 1 |
#define WHILE | ( | ... | ) |