v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::compiler::turboshaft::StoreOp Struct Reference

#include <operations.h>

Inheritance diagram for v8::internal::compiler::turboshaft::StoreOp:
Collaboration diagram for v8::internal::compiler::turboshaft::StoreOp:

Public Types

using Kind = LoadOp::Kind
 
- Public Types inherited from v8::internal::compiler::turboshaft::OperationT< StoreOp >
using Base
 

Public Member Functions

OpEffects Effects () const
 
base::Vector< const RegisterRepresentationoutputs_rep () const
 
base::Vector< const MaybeRegisterRepresentationinputs_rep (ZoneVector< MaybeRegisterRepresentation > &storage) const
 
OpIndex base () const
 
OpIndex value () const
 
OptionalOpIndex index () const
 
IndirectPointerTag indirect_pointer_tag () const
 
 StoreOp (OpIndex base, OptionalOpIndex index, OpIndex value, Kind kind, MemoryRepresentation stored_rep, WriteBarrierKind write_barrier, int32_t offset, uint8_t element_size_log2, bool maybe_initializing_or_transitioning, IndirectPointerTag maybe_indirect_pointer_tag=kIndirectPointerNullTag)
 
template<typename Fn , typename Mapper >
V8_INLINE auto Explode (Fn fn, Mapper &mapper) const
 
void Validate (const Graph &graph) const
 
void PrintInputs (std::ostream &os, const std::string &op_index_prefix) const
 
void PrintOptions (std::ostream &os) const
 
auto options () const
 
- Public Member Functions inherited from v8::internal::compiler::turboshaft::OperationT< StoreOp >
bool IsRequiredWhenUnused () const
 
StoreOpderived_this ()
 
const StoreOpderived_this () const
 
base::Vector< OpIndexinputs ()
 
base::Vector< const OpIndexinputs () const
 
V8_INLINE OpIndexinput (size_t i)
 
V8_INLINE V< Anyinput (size_t i) const
 
V8_INLINE V< Tinput (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
 
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
 
- Public Member Functions inherited from v8::internal::compiler::turboshaft::Operation
base::Vector< const OpIndexinputs () const
 
V8_INLINE OpIndex input (size_t i) const
 
size_t StorageSlotCount () const
 
base::Vector< const RegisterRepresentationoutputs_rep () const
 
base::Vector< const MaybeRegisterRepresentationinputs_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 StoreOpNew (Graph *graph, OpIndex base, OptionalOpIndex index, OpIndex value, Kind kind, MemoryRepresentation stored_rep, WriteBarrierKind write_barrier, int32_t offset, uint8_t element_size_log2, bool maybe_initializing_or_transitioning, IndirectPointerTag maybe_indirect_pointer_tag=kIndirectPointerNullTag)
 
- Static Public Member Functions inherited from v8::internal::compiler::turboshaft::OperationT< StoreOp >
static constexpr OpEffects Effects ()
 
static constexpr bool IsBlockTerminator ()
 
static constexpr std::optional< OpEffectsEffectsIfStatic ()
 
static size_t StorageSlotCount (size_t input_count)
 
static StoreOpNew (Graph *graph, size_t input_count, Args... args)
 
static StoreOpNew (Graph *graph, ShadowyOpIndexVectorWrapper inputs, Args... args)
 
- Static Public Member Functions inherited from v8::internal::compiler::turboshaft::Operation
static size_t StorageSlotCount (Opcode opcode, size_t input_count)
 

Public Attributes

Kind kind
 
MemoryRepresentation stored_rep
 
WriteBarrierKind write_barrier
 
uint8_t element_size_log2
 
int32_t offset
 
bool maybe_initializing_or_transitioning
 
uint16_t shifted_indirect_pointer_tag
 
- Public Attributes inherited from v8::internal::compiler::turboshaft::Operation
const Opcode opcode
 
SaturatedUint8 saturated_use_count
 
const uint16_t input_count
 

Additional Inherited Members

- Static Public Attributes inherited from v8::internal::compiler::turboshaft::OperationT< StoreOp >
static const Opcode opcode
 
- Protected Member Functions inherited from v8::internal::compiler::turboshaft::Operation
 Operation (Opcode opcode, size_t input_count)
 
template<class OpmaskT >
 V8_CLANG_NO_SANITIZE ("memory") bool IsOpmask() const
 
 Operation (const Operation &)=delete
 
Operationoperator= (const Operation &)=delete
 

Detailed Description

Definition at line 3382 of file operations.h.

Member Typedef Documentation

◆ Kind

Constructor & Destructor Documentation

◆ StoreOp()

v8::internal::compiler::turboshaft::StoreOp::StoreOp ( OpIndex base,
OptionalOpIndex index,
OpIndex value,
Kind kind,
MemoryRepresentation stored_rep,
WriteBarrierKind write_barrier,
int32_t offset,
uint8_t element_size_log2,
bool maybe_initializing_or_transitioning,
IndirectPointerTag maybe_indirect_pointer_tag = kIndirectPointerNullTag )
inline

Definition at line 3445 of file operations.h.

Member Function Documentation

◆ base()

OpIndex v8::internal::compiler::turboshaft::StoreOp::base ( ) const
inline

Definition at line 3434 of file operations.h.

Here is the caller graph for this function:

◆ Effects()

OpEffects v8::internal::compiler::turboshaft::StoreOp::Effects ( ) const
inline

Definition at line 3401 of file operations.h.

Here is the call graph for this function:

◆ Explode()

template<typename Fn , typename Mapper >
V8_INLINE auto v8::internal::compiler::turboshaft::StoreOp::Explode ( Fn fn,
Mapper & mapper ) const
inline

Definition at line 3470 of file operations.h.

◆ index()

OptionalOpIndex v8::internal::compiler::turboshaft::StoreOp::index ( ) const
inline

Definition at line 3436 of file operations.h.

Here is the caller graph for this function:

◆ indirect_pointer_tag()

IndirectPointerTag v8::internal::compiler::turboshaft::StoreOp::indirect_pointer_tag ( ) const
inline

Definition at line 3440 of file operations.h.

◆ inputs_rep()

base::Vector< const MaybeRegisterRepresentation > v8::internal::compiler::turboshaft::StoreOp::inputs_rep ( ZoneVector< MaybeRegisterRepresentation > & storage) const
inline

Definition at line 3420 of file operations.h.

Here is the call graph for this function:

◆ New()

static StoreOp & v8::internal::compiler::turboshaft::StoreOp::New ( Graph * graph,
OpIndex base,
OptionalOpIndex index,
OpIndex value,
Kind kind,
MemoryRepresentation stored_rep,
WriteBarrierKind write_barrier,
int32_t offset,
uint8_t element_size_log2,
bool maybe_initializing_or_transitioning,
IndirectPointerTag maybe_indirect_pointer_tag = kIndirectPointerNullTag )
inlinestatic

Definition at line 3482 of file operations.h.

◆ options()

auto v8::internal::compiler::turboshaft::StoreOp::options ( ) const
inline

Definition at line 3496 of file operations.h.

◆ outputs_rep()

base::Vector< const RegisterRepresentation > v8::internal::compiler::turboshaft::StoreOp::outputs_rep ( ) const
inline

Definition at line 3418 of file operations.h.

◆ PrintInputs()

void v8::internal::compiler::turboshaft::StoreOp::PrintInputs ( std::ostream & os,
const std::string & op_index_prefix ) const

Definition at line 713 of file operations.cc.

Here is the call graph for this function:

◆ PrintOptions()

void v8::internal::compiler::turboshaft::StoreOp::PrintOptions ( std::ostream & os) const

Definition at line 727 of file operations.cc.

◆ Validate()

void v8::internal::compiler::turboshaft::StoreOp::Validate ( const Graph & graph) const
inline

Definition at line 3476 of file operations.h.

◆ value()

OpIndex v8::internal::compiler::turboshaft::StoreOp::value ( ) const
inline

Definition at line 3435 of file operations.h.

Here is the caller graph for this function:

Member Data Documentation

◆ element_size_log2

uint8_t v8::internal::compiler::turboshaft::StoreOp::element_size_log2

Definition at line 3387 of file operations.h.

◆ kind

Kind v8::internal::compiler::turboshaft::StoreOp::kind

Definition at line 3384 of file operations.h.

◆ maybe_initializing_or_transitioning

bool v8::internal::compiler::turboshaft::StoreOp::maybe_initializing_or_transitioning

Definition at line 3389 of file operations.h.

◆ offset

int32_t v8::internal::compiler::turboshaft::StoreOp::offset

Definition at line 3388 of file operations.h.

◆ shifted_indirect_pointer_tag

uint16_t v8::internal::compiler::turboshaft::StoreOp::shifted_indirect_pointer_tag

Definition at line 3391 of file operations.h.

◆ stored_rep

MemoryRepresentation v8::internal::compiler::turboshaft::StoreOp::stored_rep

Definition at line 3385 of file operations.h.

◆ write_barrier

WriteBarrierKind v8::internal::compiler::turboshaft::StoreOp::write_barrier

Definition at line 3386 of file operations.h.


The documentation for this struct was generated from the following files: