![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <optional>
#include "src/base/doubly-threaded-list.h"
#include "src/compiler/turboshaft/analyzer-iterator.h"
#include "src/compiler/turboshaft/assembler.h"
#include "src/compiler/turboshaft/graph.h"
#include "src/compiler/turboshaft/loop-finder.h"
#include "src/compiler/turboshaft/phase.h"
#include "src/compiler/turboshaft/snapshot-table-opindex.h"
#include "src/compiler/turboshaft/utils.h"
#include "src/wasm/wasm-subtyping.h"
#include "src/zone/zone.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 |
namespace | v8::internal::compiler::turboshaft::wle |
Macros | |
#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 | EMIT_OP(Name) |
Functions | |
size_t | v8::internal::compiler::turboshaft::wle::hash_value (WasmMemoryAddress const &mem) |
bool | v8::internal::compiler::turboshaft::RepIsCompatible (RegisterRepresentation actual, RegisterRepresentation expected_reg_repr, uint8_t in_memory_size) |
Variables | |
static constexpr int | v8::internal::compiler::turboshaft::wle::kArrayLengthFieldIndex = -1 |
static constexpr int | v8::internal::compiler::turboshaft::wle::kStringPrepareForGetCodeunitIndex = -2 |
static constexpr int | v8::internal::compiler::turboshaft::wle::kStringAsWtf16Index = -3 |
static constexpr int | v8::internal::compiler::turboshaft::wle::kAnyConvertExternIndex = -4 |
static constexpr int | v8::internal::compiler::turboshaft::wle::kAssertNotNullIndex = -5 |
static constexpr wasm::ModuleTypeIndex | v8::internal::compiler::turboshaft::wle::kLoadLikeType {wasm::HeapType::kExtern} |
static constexpr int | v8::internal::compiler::turboshaft::wle::kLoadLikeSize = 4 |
#define __ Asm(). |
#define Assert | ( | condition | ) |
#define BIND | ( | label, | |
... ) |
#define BIND_LOOP | ( | loop_label, | |
... ) |
#define BREAK Asm().ControlFlowHelper_Goto(loop_exit_xx, {}) |
#define CONTINUE Asm().ControlFlowHelper_Goto(loop_header_xx, {}) |
#define ELSE |
#define EMIT_OP | ( | Name | ) |
Definition at line 519 of file wasm-load-elimination-reducer.h.
#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 SUPPRESSED_DANGLING_ELSE_WARNING_ELSE else |
#define SUPPRESSED_DANGLING_ELSE_WARNING_IF | ( | ... | ) |
#define TSA_DCHECK | ( | assembler, | |
condition ) |
#define TSA_SLOW_DCHECK | ( | assembler, | |
... ) |
#define UNLIKELY | ( | ... | ) |
#define V8_COMPILER_TURBOSHAFT_ASSEMBLER_MACROS_DEFINED 1 |
#define WHILE | ( | ... | ) |