![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <operations.h>
Public Types | |
using | Base = OperationT |
Public Member Functions | |
bool | IsRequiredWhenUnused () const |
Derived & | derived_this () |
const Derived & | derived_this () const |
base::Vector< OpIndex > | inputs () |
base::Vector< const OpIndex > | inputs () const |
V8_INLINE OpIndex & | input (size_t i) |
V8_INLINE V< Any > | input (size_t i) const |
template<typename T > | |
V8_INLINE V< T > | input (size_t i) const |
size_t | StorageSlotCount () const |
OperationT (size_t input_count) | |
OperationT (ShadowyOpIndexVectorWrapper inputs) | |
bool | EqualsForGVN (const Base &other) const |
bool | operator== (const Base &other) const |
template<typename... Args> | |
size_t | HashWithOptions (const Args &... args) const |
size_t | hash_value (HashingStrategy strategy=HashingStrategy::kDefault) const |
void | PrintInputs (std::ostream &os, const std::string &op_index_prefix) const |
void | PrintOptions (std::ostream &os) const |
void | Validate (const Graph &graph) const |
![]() | |
base::Vector< const OpIndex > | inputs () const |
V8_INLINE OpIndex | input (size_t i) const |
size_t | StorageSlotCount () const |
base::Vector< const RegisterRepresentation > | outputs_rep () const |
base::Vector< const MaybeRegisterRepresentation > | inputs_rep (ZoneVector< MaybeRegisterRepresentation > &storage) const |
template<class Op > | |
bool | Is () const |
template<class Op > | |
underlying_operation_t< Op > & | Cast () |
template<class Op > | |
const underlying_operation_t< Op > & | Cast () const |
template<class Op > | |
const underlying_operation_t< Op > * | TryCast () const |
template<class Op > | |
underlying_operation_t< Op > * | TryCast () |
OpEffects | Effects () const |
bool | IsBlockTerminator () const |
bool | IsRequiredWhenUnused () const |
bool | IsProtectedLoad () const |
std::string | ToString () const |
void | PrintInputs (std::ostream &os, const std::string &op_index_prefix) const |
void | PrintOptions (std::ostream &os) const |
bool | IsOnlyUserOf (const Operation &value, const Graph &graph) const |
void | Print () const |
Static Public Member Functions | |
static constexpr OpEffects | Effects () |
static constexpr bool | IsBlockTerminator () |
static constexpr std::optional< OpEffects > | EffectsIfStatic () |
static size_t | StorageSlotCount (size_t input_count) |
template<class... Args> | |
static Derived & | New (Graph *graph, size_t input_count, Args... args) |
template<class... Args> | |
static Derived & | New (Graph *graph, ShadowyOpIndexVectorWrapper inputs, Args... args) |
![]() | |
static size_t | StorageSlotCount (Opcode opcode, size_t input_count) |
Static Public Attributes | |
static const Opcode | opcode = operation_to_opcode<Op>::value |
Private Member Functions | |
base::Vector< const RegisterRepresentation > | outputs_rep () const |
base::Vector< const MaybeRegisterRepresentation > | inputs_rep (ZoneVector< MaybeRegisterRepresentation > &storage) const |
Static Private Member Functions | |
template<class... T, size_t... I> | |
static void | PrintOptionsHelper (std::ostream &os, const std::tuple< T... > &options, std::index_sequence< I... >) |
Additional Inherited Members | |
![]() | |
const Opcode | opcode |
SaturatedUint8 | saturated_use_count |
const uint16_t | input_count |
![]() | |
Operation (Opcode opcode, size_t input_count) | |
template<class OpmaskT > | |
V8_CLANG_NO_SANITIZE ("memory") bool IsOpmask() const | |
Operation (const Operation &)=delete | |
Operation & | operator= (const Operation &)=delete |
Definition at line 1080 of file operations.h.
using v8::internal::compiler::turboshaft::OperationT< Derived >::Base = OperationT |
Definition at line 1082 of file operations.h.
|
inlineexplicit |
Definition at line 1174 of file operations.h.
|
inlineexplicit |
Definition at line 1181 of file operations.h.
|
inline |
Definition at line 1102 of file operations.h.
|
inline |
Definition at line 1103 of file operations.h.
|
inlinestaticconstexpr |
Definition at line 1086 of file operations.h.
|
inlinestaticconstexpr |
Definition at line 1095 of file operations.h.
|
inline |
Definition at line 1187 of file operations.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1122 of file operations.h.
|
inline |
Definition at line 1124 of file operations.h.
|
inline |
|
inline |
Definition at line 1113 of file operations.h.
|
private |
|
inlinestaticconstexpr |
Definition at line 1087 of file operations.h.
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
Definition at line 1196 of file operations.h.
|
private |
|
inline |
Definition at line 1209 of file operations.h.
|
inline |
Definition at line 1220 of file operations.h.
|
inlinestaticprivate |
Definition at line 1237 of file operations.h.
|
inline |
Definition at line 1141 of file operations.h.
|
inlinestatic |
Definition at line 1128 of file operations.h.
|
inline |
Definition at line 1233 of file operations.h.
|
static |
Definition at line 1084 of file operations.h.