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

#include <operations.h>

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

Public Types

enum class  BinOp : uint8_t {
  kAdd , kSub , kAnd , kOr ,
  kXor , kExchange , kCompareExchange
}
 
- Public Types inherited from v8::internal::compiler::turboshaft::OperationT< AtomicRMWOp >
using Base
 

Public Member Functions

OpEffects Effects () const
 
base::Vector< const RegisterRepresentationoutputs_rep () const
 
base::Vector< const MaybeRegisterRepresentationinputs_rep (ZoneVector< MaybeRegisterRepresentation > &storage) const
 
V< WordPtrbase () const
 
V< WordPtrindex () const
 
OpIndex value () const
 
OptionalOpIndex expected () const
 
void Validate (const Graph &graph) const
 
 AtomicRMWOp (OpIndex base, OpIndex index, OpIndex value, OptionalOpIndex expected, BinOp bin_op, RegisterRepresentation in_out_rep, MemoryRepresentation memory_rep, MemoryAccessKind kind)
 
template<typename Fn , typename Mapper >
V8_INLINE auto Explode (Fn fn, Mapper &mapper) 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< AtomicRMWOp >
bool IsRequiredWhenUnused () const
 
AtomicRMWOpderived_this ()
 
const AtomicRMWOpderived_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 AtomicRMWOpNew (Graph *graph, OpIndex base, OpIndex index, OpIndex value, OptionalOpIndex expected, BinOp bin_op, RegisterRepresentation result_rep, MemoryRepresentation input_rep, MemoryAccessKind kind)
 
- Static Public Member Functions inherited from v8::internal::compiler::turboshaft::OperationT< AtomicRMWOp >
static constexpr OpEffects Effects ()
 
static constexpr bool IsBlockTerminator ()
 
static constexpr std::optional< OpEffectsEffectsIfStatic ()
 
static size_t StorageSlotCount (size_t input_count)
 
static AtomicRMWOpNew (Graph *graph, size_t input_count, Args... args)
 
static AtomicRMWOpNew (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

BinOp bin_op
 
RegisterRepresentation in_out_rep
 
MemoryRepresentation memory_rep
 
MemoryAccessKind memory_access_kind
 
- 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< AtomicRMWOp >
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 3094 of file operations.h.

Member Enumeration Documentation

◆ BinOp

Enumerator
kAdd 
kSub 
kAnd 
kOr 
kXor 
kExchange 
kCompareExchange 

Definition at line 3095 of file operations.h.

Constructor & Destructor Documentation

◆ AtomicRMWOp()

v8::internal::compiler::turboshaft::AtomicRMWOp::AtomicRMWOp ( OpIndex base,
OpIndex index,
OpIndex value,
OptionalOpIndex expected,
BinOp bin_op,
RegisterRepresentation in_out_rep,
MemoryRepresentation memory_rep,
MemoryAccessKind kind )
inline

Definition at line 3144 of file operations.h.

Here is the call graph for this function:

Member Function Documentation

◆ base()

V< WordPtr > v8::internal::compiler::turboshaft::AtomicRMWOp::base ( ) const
inline

Definition at line 3133 of file operations.h.

Here is the caller graph for this function:

◆ Effects()

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

Definition at line 3108 of file operations.h.

Here is the call graph for this function:

◆ expected()

OptionalOpIndex v8::internal::compiler::turboshaft::AtomicRMWOp::expected ( ) const
inline

Definition at line 3136 of file operations.h.

Here is the caller graph for this function:

◆ Explode()

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

Definition at line 3162 of file operations.h.

◆ index()

V< WordPtr > v8::internal::compiler::turboshaft::AtomicRMWOp::index ( ) const
inline

Definition at line 3134 of file operations.h.

Here is the caller graph for this function:

◆ inputs_rep()

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

Definition at line 3121 of file operations.h.

Here is the call graph for this function:

◆ New()

static AtomicRMWOp & v8::internal::compiler::turboshaft::AtomicRMWOp::New ( Graph * graph,
OpIndex base,
OpIndex index,
OpIndex value,
OptionalOpIndex expected,
BinOp bin_op,
RegisterRepresentation result_rep,
MemoryRepresentation input_rep,
MemoryAccessKind kind )
inlinestatic

Definition at line 3168 of file operations.h.

Here is the call graph for this function:

◆ options()

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

Definition at line 3181 of file operations.h.

◆ outputs_rep()

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

Definition at line 3117 of file operations.h.

◆ PrintInputs()

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

Definition at line 665 of file operations.cc.

Here is the call graph for this function:

◆ PrintOptions()

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

Definition at line 678 of file operations.cc.

◆ Validate()

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

Definition at line 3140 of file operations.h.

◆ value()

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

Definition at line 3135 of file operations.h.

Here is the caller graph for this function:

Member Data Documentation

◆ bin_op

BinOp v8::internal::compiler::turboshaft::AtomicRMWOp::bin_op

Definition at line 3104 of file operations.h.

◆ in_out_rep

RegisterRepresentation v8::internal::compiler::turboshaft::AtomicRMWOp::in_out_rep

Definition at line 3105 of file operations.h.

◆ memory_access_kind

MemoryAccessKind v8::internal::compiler::turboshaft::AtomicRMWOp::memory_access_kind

Definition at line 3107 of file operations.h.

◆ memory_rep

MemoryRepresentation v8::internal::compiler::turboshaft::AtomicRMWOp::memory_rep

Definition at line 3106 of file operations.h.


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