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

#include <maglev-ir.h>

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

Public Member Functions

 CallRuntime (uint64_t bitfield, Runtime::FunctionId function_id, ValueNode *context)
 
Runtime::FunctionId function_id () const
 
Inputcontext ()
 
const Inputcontext () const
 
int num_args () const
 
Inputarg (int i)
 
void set_arg (int i, ValueNode *node)
 
auto args ()
 
int ReturnCount () const
 
void VerifyInputs (MaglevGraphLabeller *graph_labeller) const
 
int MaxCallStackArgs () 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 kFixedInputCount = 1
 
static constexpr OpProperties kProperties = OpProperties::JSCall()
 

Private Types

using Base = ValueNodeT<CallRuntime>
 

Private Attributes

Runtime::FunctionId function_id_
 

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 9899 of file maglev-ir.h.

Member Typedef Documentation

◆ Base

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

Constructor & Destructor Documentation

◆ CallRuntime()

v8::internal::maglev::CallRuntime::CallRuntime ( uint64_t bitfield,
Runtime::FunctionId function_id,
ValueNode * context )
inline

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

Member Function Documentation

◆ arg()

Input & v8::internal::maglev::CallRuntime::arg ( int i)
inline

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

Here is the caller graph for this function:

◆ args()

auto v8::internal::maglev::CallRuntime::args ( )
inline

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

Here is the call graph for this function:

◆ context() [1/2]

Input & v8::internal::maglev::CallRuntime::context ( )
inline

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

◆ context() [2/2]

const Input & v8::internal::maglev::CallRuntime::context ( ) const
inline

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

◆ function_id()

Runtime::FunctionId v8::internal::maglev::CallRuntime::function_id ( ) const
inline

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

Here is the caller graph for this function:

◆ GenerateCode()

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

◆ MaxCallStackArgs()

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

◆ num_args()

int v8::internal::maglev::CallRuntime::num_args ( ) const
inline

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

Here is the caller graph for this function:

◆ PrintParams()

void v8::internal::maglev::CallRuntime::PrintParams ( std::ostream & os,
MaglevGraphLabeller * graph_labeller ) const

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

Here is the call graph for this function:

◆ ReturnCount()

int v8::internal::maglev::CallRuntime::ReturnCount ( ) const
inline

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_arg()

void v8::internal::maglev::CallRuntime::set_arg ( int i,
ValueNode * node )
inline

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

◆ SetValueLocationConstraints()

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

◆ VerifyInputs()

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

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

Here is the call graph for this function:

Member Data Documentation

◆ function_id_

Runtime::FunctionId v8::internal::maglev::CallRuntime::function_id_
private

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

◆ kContextIndex

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

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

◆ kFixedInputCount

int v8::internal::maglev::CallRuntime::kFixedInputCount = 1
staticconstexpr

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

◆ kProperties

OpProperties v8::internal::maglev::CallRuntime::kProperties = OpProperties::JSCall()
staticconstexpr

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


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