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

#include <operations.h>

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

Public Member Functions

base::Vector< const RegisterRepresentationoutputs_rep () const
 
base::Vector< const MaybeRegisterRepresentationinputs_rep (ZoneVector< MaybeRegisterRepresentation > &storage) const
 
OpIndex parent_frame_state () const
 
base::Vector< const OpIndexstate_values () const
 
uint16_t state_values_count () const
 
const OpIndex state_value (size_t idx) const
 
RegisterRepresentation state_value_rep (size_t idx) const
 
 FrameStateOp (base::Vector< const OpIndex > inputs, bool inlined, const FrameStateData *data)
 
template<typename Fn , typename Mapper >
V8_INLINE auto Explode (Fn fn, Mapper &mapper) const
 
size_t hash_value (HashingStrategy strategy=HashingStrategy::kDefault) const
 
V8_EXPORT_PRIVATE void Validate (const Graph &graph) const
 
V8_EXPORT_PRIVATE void PrintOptions (std::ostream &os) const
 
auto options () const
 
- Public Member Functions inherited from v8::internal::compiler::turboshaft::OperationT< FrameStateOp >
bool IsRequiredWhenUnused () const
 
FrameStateOpderived_this ()
 
const FrameStateOpderived_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
 

Public Attributes

bool inlined
 
const FrameStateDatadata
 
- Public Attributes inherited from v8::internal::compiler::turboshaft::Operation
const Opcode opcode
 
SaturatedUint8 saturated_use_count
 
const uint16_t input_count
 

Static Public Attributes

static constexpr OpEffects effects = OpEffects()
 
- Static Public Attributes inherited from v8::internal::compiler::turboshaft::OperationT< FrameStateOp >
static const Opcode opcode
 

Additional Inherited Members

- Public Types inherited from v8::internal::compiler::turboshaft::OperationT< FrameStateOp >
using Base
 
- Static Public Member Functions inherited from v8::internal::compiler::turboshaft::OperationT< FrameStateOp >
static constexpr OpEffects Effects ()
 
static constexpr bool IsBlockTerminator ()
 
static constexpr std::optional< OpEffectsEffectsIfStatic ()
 
static size_t StorageSlotCount (size_t input_count)
 
static FrameStateOpNew (Graph *graph, size_t input_count, Args... args)
 
static FrameStateOpNew (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)
 
- 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 3729 of file operations.h.

Constructor & Destructor Documentation

◆ FrameStateOp()

v8::internal::compiler::turboshaft::FrameStateOp::FrameStateOp ( base::Vector< const OpIndex > inputs,
bool inlined,
const FrameStateData * data )
inline

Definition at line 3761 of file operations.h.

Member Function Documentation

◆ Explode()

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

Definition at line 3766 of file operations.h.

◆ hash_value()

size_t v8::internal::compiler::turboshaft::FrameStateOp::hash_value ( HashingStrategy strategy = HashingStrategy::kDefault) const
inline

Definition at line 3771 of file operations.h.

◆ inputs_rep()

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

Definition at line 3736 of file operations.h.

◆ options()

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

Definition at line 3782 of file operations.h.

◆ outputs_rep()

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

Definition at line 3734 of file operations.h.

◆ parent_frame_state()

OpIndex v8::internal::compiler::turboshaft::FrameStateOp::parent_frame_state ( ) const
inline

Definition at line 3741 of file operations.h.

Here is the caller graph for this function:

◆ PrintOptions()

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

Definition at line 753 of file operations.cc.

Here is the call graph for this function:

◆ state_value()

const OpIndex v8::internal::compiler::turboshaft::FrameStateOp::state_value ( size_t idx) const
inline

Definition at line 3754 of file operations.h.

Here is the caller graph for this function:

◆ state_value_rep()

RegisterRepresentation v8::internal::compiler::turboshaft::FrameStateOp::state_value_rep ( size_t idx) const
inline

Definition at line 3756 of file operations.h.

Here is the caller graph for this function:

◆ state_values()

base::Vector< const OpIndex > v8::internal::compiler::turboshaft::FrameStateOp::state_values ( ) const
inline

Definition at line 3745 of file operations.h.

Here is the caller graph for this function:

◆ state_values_count()

uint16_t v8::internal::compiler::turboshaft::FrameStateOp::state_values_count ( ) const
inline

Definition at line 3750 of file operations.h.

Here is the caller graph for this function:

◆ Validate()

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

Definition at line 820 of file operations.cc.

Here is the call graph for this function:

Member Data Documentation

◆ data

const FrameStateData* v8::internal::compiler::turboshaft::FrameStateOp::data

Definition at line 3731 of file operations.h.

◆ effects

OpEffects v8::internal::compiler::turboshaft::FrameStateOp::effects = OpEffects()
staticconstexpr

Definition at line 3733 of file operations.h.

◆ inlined

bool v8::internal::compiler::turboshaft::FrameStateOp::inlined

Definition at line 3730 of file operations.h.


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