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

#include <maglev-ir.h>

Inheritance diagram for v8::internal::maglev::GeneratorStore:
Collaboration diagram for v8::internal::maglev::GeneratorStore:

Public Member Functions

 GeneratorStore (uint64_t bitfield, ValueNode *context, ValueNode *generator, int suspend_id, int bytecode_offset)
 
int suspend_id () const
 
int bytecode_offset () const
 
Inputcontext_input ()
 
Inputgenerator_input ()
 
int num_parameters_and_registers () const
 
Inputparameters_and_registers (int i)
 
void set_parameters_and_registers (int i, ValueNode *node)
 
int MaxCallStackArgs () const
 
void VerifyInputs (MaglevGraphLabeller *graph_labeller) const
 
void SetValueLocationConstraints ()
 
void GenerateCode (MaglevAssembler *, const ProcessingState &)
 
void PrintParams (std::ostream &, MaglevGraphLabeller *) const
 
- Public Member Functions inherited from v8::internal::maglev::NodeTMixin< Base, Derived >
constexpr Opcode opcode () const
 
constexpr const OpPropertiesproperties () const
 

Static Public Attributes

static constexpr int kContextIndex = 0
 
static constexpr int kGeneratorIndex = 1
 
static constexpr int kFixedInputCount = 2
 
static constexpr OpProperties kProperties
 

Private Types

using Base = NodeT<GeneratorStore>
 

Private Attributes

const int suspend_id_
 
const int bytecode_offset_
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::internal::maglev::NodeTMixin< Base, Derived >
template<typename... Args>
static Derived * New (Zone *zone, std::initializer_list< ValueNode * > inputs, Args &&... args)
 
template<typename... Args>
static Derived * New (Zone *zone, size_t input_count, Args &&... args)
 
- Protected Member Functions inherited from v8::internal::maglev::NodeTMixin< Base, Derived >
template<typename... Args>
 NodeTMixin (uint64_t bitfield, Args &&... args)
 

Detailed Description

Definition at line 4854 of file maglev-ir.h.

Member Typedef Documentation

◆ Base

Definition at line 4855 of file maglev-ir.h.

Constructor & Destructor Documentation

◆ GeneratorStore()

v8::internal::maglev::GeneratorStore::GeneratorStore ( uint64_t bitfield,
ValueNode * context,
ValueNode * generator,
int suspend_id,
int bytecode_offset )
inline

Definition at line 4865 of file maglev-ir.h.

Member Function Documentation

◆ bytecode_offset()

int v8::internal::maglev::GeneratorStore::bytecode_offset ( ) const
inline

Definition at line 4879 of file maglev-ir.h.

◆ context_input()

Input & v8::internal::maglev::GeneratorStore::context_input ( )
inline

Definition at line 4881 of file maglev-ir.h.

◆ GenerateCode()

void v8::internal::maglev::GeneratorStore::GenerateCode ( MaglevAssembler * ,
const ProcessingState &  )

◆ generator_input()

Input & v8::internal::maglev::GeneratorStore::generator_input ( )
inline

Definition at line 4882 of file maglev-ir.h.

◆ MaxCallStackArgs()

int v8::internal::maglev::GeneratorStore::MaxCallStackArgs ( ) const

◆ num_parameters_and_registers()

int v8::internal::maglev::GeneratorStore::num_parameters_and_registers ( ) const
inline

Definition at line 4884 of file maglev-ir.h.

◆ parameters_and_registers()

Input & v8::internal::maglev::GeneratorStore::parameters_and_registers ( int i)
inline

Definition at line 4887 of file maglev-ir.h.

◆ PrintParams()

void v8::internal::maglev::GeneratorStore::PrintParams ( std::ostream & ,
MaglevGraphLabeller *  ) const
inline

Definition at line 4903 of file maglev-ir.h.

◆ set_parameters_and_registers()

void v8::internal::maglev::GeneratorStore::set_parameters_and_registers ( int i,
ValueNode * node )
inline

Definition at line 4888 of file maglev-ir.h.

◆ SetValueLocationConstraints()

void v8::internal::maglev::GeneratorStore::SetValueLocationConstraints ( )

◆ suspend_id()

int v8::internal::maglev::GeneratorStore::suspend_id ( ) const
inline

Definition at line 4878 of file maglev-ir.h.

◆ VerifyInputs()

void v8::internal::maglev::GeneratorStore::VerifyInputs ( MaglevGraphLabeller * graph_labeller) const

Definition at line 570 of file maglev-ir.cc.

Here is the call graph for this function:

Member Data Documentation

◆ bytecode_offset_

const int v8::internal::maglev::GeneratorStore::bytecode_offset_
private

Definition at line 4907 of file maglev-ir.h.

◆ kContextIndex

int v8::internal::maglev::GeneratorStore::kContextIndex = 0
staticconstexpr

Definition at line 4859 of file maglev-ir.h.

◆ kFixedInputCount

int v8::internal::maglev::GeneratorStore::kFixedInputCount = 2
staticconstexpr

Definition at line 4861 of file maglev-ir.h.

◆ kGeneratorIndex

int v8::internal::maglev::GeneratorStore::kGeneratorIndex = 1
staticconstexpr

Definition at line 4860 of file maglev-ir.h.

◆ kProperties

OpProperties v8::internal::maglev::GeneratorStore::kProperties
staticconstexpr
Initial value:
static constexpr OpProperties CanRead()
Definition maglev-ir.h:1102
static constexpr OpProperties DeferredCall()
Definition maglev-ir.h:1168
static constexpr OpProperties CanWrite()
Definition maglev-ir.h:1105

Definition at line 4874 of file maglev-ir.h.

◆ suspend_id_

const int v8::internal::maglev::GeneratorStore::suspend_id_
private

Definition at line 4906 of file maglev-ir.h.


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