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

#include <operations.h>

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

Classes

struct  Kind
 

Public Member Functions

OpEffects Effects () const
 
base::Vector< const RegisterRepresentationoutputs_rep () const
 
MachineType machine_type () const
 
base::Vector< const MaybeRegisterRepresentationinputs_rep (ZoneVector< MaybeRegisterRepresentation > &storage) const
 
OpIndex base () const
 
OptionalOpIndex index () const
 
 LoadOp (OpIndex base, OptionalOpIndex index, Kind kind, MemoryRepresentation loaded_rep, RegisterRepresentation result_rep, int32_t offset, uint8_t element_size_log2)
 
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< LoadOp >
bool IsRequiredWhenUnused () const
 
LoadOpderived_this ()
 
const LoadOpderived_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 constexpr bool OffsetIsValid (int32_t offset, bool tagged_base)
 
static LoadOpNew (Graph *graph, OpIndex base, OptionalOpIndex index, Kind kind, MemoryRepresentation loaded_rep, RegisterRepresentation result_rep, int32_t offset, uint8_t element_size_log2)
 
- Static Public Member Functions inherited from v8::internal::compiler::turboshaft::OperationT< LoadOp >
static constexpr OpEffects Effects ()
 
static constexpr bool IsBlockTerminator ()
 
static constexpr std::optional< OpEffectsEffectsIfStatic ()
 
static size_t StorageSlotCount (size_t input_count)
 
static LoadOpNew (Graph *graph, size_t input_count, Args... args)
 
static LoadOpNew (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 loaded_rep
 
RegisterRepresentation result_rep
 
uint8_t element_size_log2
 
int32_t offset
 
- Public Attributes inherited from v8::internal::compiler::turboshaft::Operation
const Opcode opcode
 
SaturatedUint8 saturated_use_count
 
const uint16_t input_count
 

Additional Inherited Members

- Public Types inherited from v8::internal::compiler::turboshaft::OperationT< LoadOp >
using Base
 
- Static Public Attributes inherited from v8::internal::compiler::turboshaft::OperationT< LoadOp >
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 2857 of file operations.h.

Constructor & Destructor Documentation

◆ LoadOp()

v8::internal::compiler::turboshaft::LoadOp::LoadOp ( OpIndex base,
OptionalOpIndex index,
Kind kind,
MemoryRepresentation loaded_rep,
RegisterRepresentation result_rep,
int32_t offset,
uint8_t element_size_log2 )
inline

Definition at line 3042 of file operations.h.

Member Function Documentation

◆ base()

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

Definition at line 3027 of file operations.h.

Here is the caller graph for this function:

◆ Effects()

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

Definition at line 2998 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::LoadOp::Explode ( Fn fn,
Mapper & mapper ) const
inline

Definition at line 3058 of file operations.h.

◆ index()

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

Definition at line 3028 of file operations.h.

Here is the caller graph for this function:

◆ inputs_rep()

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

Definition at line 3016 of file operations.h.

Here is the call graph for this function:

◆ machine_type()

MachineType v8::internal::compiler::turboshaft::LoadOp::machine_type ( ) const

Definition at line 627 of file operations.cc.

Here is the call graph for this function:

◆ New()

static LoadOp & v8::internal::compiler::turboshaft::LoadOp::New ( Graph * graph,
OpIndex base,
OptionalOpIndex index,
Kind kind,
MemoryRepresentation loaded_rep,
RegisterRepresentation result_rep,
int32_t offset,
uint8_t element_size_log2 )
inlinestatic

Definition at line 3073 of file operations.h.

◆ OffsetIsValid()

static constexpr bool v8::internal::compiler::turboshaft::LoadOp::OffsetIsValid ( int32_t offset,
bool tagged_base )
inlinestaticconstexpr

Definition at line 3032 of file operations.h.

Here is the caller graph for this function:

◆ options()

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

Definition at line 3082 of file operations.h.

◆ outputs_rep()

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

Definition at line 3010 of file operations.h.

◆ PrintInputs()

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

Definition at line 638 of file operations.cc.

Here is the call graph for this function:

◆ PrintOptions()

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

Definition at line 652 of file operations.cc.

◆ Validate()

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

Definition at line 3063 of file operations.h.

Here is the call graph for this function:

Member Data Documentation

◆ element_size_log2

uint8_t v8::internal::compiler::turboshaft::LoadOp::element_size_log2

Definition at line 2995 of file operations.h.

◆ kind

Kind v8::internal::compiler::turboshaft::LoadOp::kind

Definition at line 2992 of file operations.h.

◆ loaded_rep

MemoryRepresentation v8::internal::compiler::turboshaft::LoadOp::loaded_rep

Definition at line 2993 of file operations.h.

◆ offset

int32_t v8::internal::compiler::turboshaft::LoadOp::offset

Definition at line 2996 of file operations.h.

◆ result_rep

RegisterRepresentation v8::internal::compiler::turboshaft::LoadOp::result_rep

Definition at line 2994 of file operations.h.


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