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

#include <operations.h>

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

Public Member Functions

base::Vector< const RegisterRepresentationoutputs_rep () const
 
base::Vector< const MaybeRegisterRepresentationinputs_rep (ZoneVector< MaybeRegisterRepresentation > &storage) const
 
MaybeRegisterRepresentation argument_representation (unsigned argument_index) const
 
V< FrameStateframe_state () const
 
V< Objectdata_argument () const
 
V< Contextcontext () const
 
base::Vector< const OpIndexarguments () const
 
 FastApiCallOp (V< FrameState > frame_state, V< Object > data_argument, V< Context > context, base::Vector< const OpIndex > arguments, const FastApiCallParameters *parameters, base::Vector< const RegisterRepresentation > out_reps)
 
template<typename Fn , typename Mapper >
V8_INLINE auto Explode (Fn fn, Mapper &mapper) const
 
auto options () const
 
- Public Member Functions inherited from v8::internal::compiler::turboshaft::OperationT< FastApiCallOp >
bool IsRequiredWhenUnused () const
 
FastApiCallOpderived_this ()
 
const FastApiCallOpderived_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 FastApiCallOpNew (Graph *graph, V< FrameState > frame_state, V< Object > data_argument, V< Context > context, base::Vector< const OpIndex > arguments, const FastApiCallParameters *parameters, base::Vector< const RegisterRepresentation > out_reps)
 
- Static Public Member Functions inherited from v8::internal::compiler::turboshaft::OperationT< FastApiCallOp >
static constexpr OpEffects Effects ()
 
static constexpr bool IsBlockTerminator ()
 
static constexpr std::optional< OpEffectsEffectsIfStatic ()
 
static size_t StorageSlotCount (size_t input_count)
 
static FastApiCallOpNew (Graph *graph, size_t input_count, Args... args)
 
static FastApiCallOpNew (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

const FastApiCallParametersparameters
 
base::Vector< const RegisterRepresentationout_reps
 
LazyDeoptOnThrow lazy_deopt_on_throw
 
- 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 uint32_t kSuccessValue = 1
 
static constexpr uint32_t kFailureValue = 0
 
static constexpr OpEffects effects = OpEffects().CanCallAnything()
 
static constexpr int kNumNonParamInputs = 3
 
- Static Public Attributes inherited from v8::internal::compiler::turboshaft::OperationT< FastApiCallOp >
static const Opcode opcode
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ FastApiCallOp()

v8::internal::compiler::turboshaft::FastApiCallOp::FastApiCallOp ( V< FrameState > frame_state,
V< Object > data_argument,
V< Context > context,
base::Vector< const OpIndex > arguments,
const FastApiCallParameters * parameters,
base::Vector< const RegisterRepresentation > out_reps )
inline

Definition at line 6468 of file operations.h.

Here is the call graph for this function:

Member Function Documentation

◆ argument_representation()

MaybeRegisterRepresentation v8::internal::compiler::turboshaft::FastApiCallOp::argument_representation ( unsigned argument_index) const
inline

Definition at line 6414 of file operations.h.

Here is the call graph for this function:

◆ arguments()

base::Vector< const OpIndex > v8::internal::compiler::turboshaft::FastApiCallOp::arguments ( ) const
inline

Definition at line 6464 of file operations.h.

◆ context()

V< Context > v8::internal::compiler::turboshaft::FastApiCallOp::context ( ) const
inline

Definition at line 6462 of file operations.h.

◆ data_argument()

V< Object > v8::internal::compiler::turboshaft::FastApiCallOp::data_argument ( ) const
inline

Definition at line 6460 of file operations.h.

◆ Explode()

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

Definition at line 6485 of file operations.h.

◆ frame_state()

V< FrameState > v8::internal::compiler::turboshaft::FastApiCallOp::frame_state ( ) const
inline

Definition at line 6458 of file operations.h.

◆ inputs_rep()

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

Definition at line 6400 of file operations.h.

Here is the call graph for this function:

◆ New()

static FastApiCallOp & v8::internal::compiler::turboshaft::FastApiCallOp::New ( Graph * graph,
V< FrameState > frame_state,
V< Object > data_argument,
V< Context > context,
base::Vector< const OpIndex > arguments,
const FastApiCallParameters * parameters,
base::Vector< const RegisterRepresentation > out_reps )
inlinestatic

Definition at line 6495 of file operations.h.

◆ options()

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

Definition at line 6505 of file operations.h.

◆ outputs_rep()

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

Definition at line 6398 of file operations.h.

Member Data Documentation

◆ effects

OpEffects v8::internal::compiler::turboshaft::FastApiCallOp::effects = OpEffects().CanCallAnything()
staticconstexpr

Definition at line 6391 of file operations.h.

◆ kFailureValue

uint32_t v8::internal::compiler::turboshaft::FastApiCallOp::kFailureValue = 0
staticconstexpr

Definition at line 6385 of file operations.h.

◆ kNumNonParamInputs

int v8::internal::compiler::turboshaft::FastApiCallOp::kNumNonParamInputs = 3
staticconstexpr

Definition at line 6395 of file operations.h.

◆ kSuccessValue

uint32_t v8::internal::compiler::turboshaft::FastApiCallOp::kSuccessValue = 1
staticconstexpr

Definition at line 6384 of file operations.h.

◆ lazy_deopt_on_throw

LazyDeoptOnThrow v8::internal::compiler::turboshaft::FastApiCallOp::lazy_deopt_on_throw

Definition at line 6389 of file operations.h.

◆ out_reps

base::Vector<const RegisterRepresentation> v8::internal::compiler::turboshaft::FastApiCallOp::out_reps

Definition at line 6388 of file operations.h.

◆ parameters

const FastApiCallParameters* v8::internal::compiler::turboshaft::FastApiCallOp::parameters

Definition at line 6387 of file operations.h.


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