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

Classes

class  FastApiCallBuilder
 
struct  OverloadsResolutionResult
 

Typedefs

using GetParameter = std::function<Node*(int, GraphAssemblerLabel<0>*)>
 
using ConvertReturnValue = std::function<Node*(const CFunctionInfo*, Node*)>
 
using InitializeOptions = std::function<void(Node*)>
 
using GenerateSlowApiCall = std::function<Node*()>
 

Functions

ElementsKind GetTypedArrayElementsKind (CTypeInfo::Type type)
 
bool CanOptimizeFastSignature (const CFunctionInfo *c_signature)
 
NodeBuildFastApiCall (Isolate *isolate, TFGraph *graph, GraphAssembler *graph_assembler, FastApiCallFunction c_function, Node *data_argument, const GetParameter &get_parameter, const ConvertReturnValue &convert_return_value, const InitializeOptions &initialize_options, const GenerateSlowApiCall &generate_slow_api_call)
 
FastApiCallFunction GetFastApiCallTarget (JSHeapBroker *broker, FunctionTemplateInfoRef function_template_info, size_t arg_count)
 

Typedef Documentation

◆ ConvertReturnValue

Definition at line 46 of file fast-api-calls.h.

◆ GenerateSlowApiCall

Definition at line 48 of file fast-api-calls.h.

◆ GetParameter

Definition at line 45 of file fast-api-calls.h.

◆ InitializeOptions

Definition at line 47 of file fast-api-calls.h.

Function Documentation

◆ BuildFastApiCall()

Node * v8::internal::compiler::fast_api_call::BuildFastApiCall ( Isolate * isolate,
TFGraph * graph,
GraphAssembler * graph_assembler,
FastApiCallFunction c_function,
Node * data_argument,
const GetParameter & get_parameter,
const ConvertReturnValue & convert_return_value,
const InitializeOptions & initialize_options,
const GenerateSlowApiCall & generate_slow_api_call )

Definition at line 371 of file fast-api-calls.cc.

Here is the call graph for this function:

◆ CanOptimizeFastSignature()

bool v8::internal::compiler::fast_api_call::CanOptimizeFastSignature ( const CFunctionInfo * c_signature)

Definition at line 65 of file fast-api-calls.cc.

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

◆ GetFastApiCallTarget()

FastApiCallFunction v8::internal::compiler::fast_api_call::GetFastApiCallTarget ( JSHeapBroker * broker,
FunctionTemplateInfoRef function_template_info,
size_t arg_count )

Definition at line 384 of file fast-api-calls.cc.

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

◆ GetTypedArrayElementsKind()

ElementsKind v8::internal::compiler::fast_api_call::GetTypedArrayElementsKind ( CTypeInfo::Type type)

Definition at line 38 of file fast-api-calls.cc.

Here is the call graph for this function: