v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
builtin-compiler.h
Go to the documentation of this file.
1// Copyright 2024 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef V8_COMPILER_TURBOSHAFT_BUILTIN_COMPILER_H_
6#define V8_COMPILER_TURBOSHAFT_BUILTIN_COMPILER_H_
7
11
12namespace v8::internal {
13
14struct AssemblerOptions;
15class Isolate;
16class Zone;
17
18namespace compiler {
19
20class CallDescriptor;
21
22namespace turboshaft {
23
24struct CustomPipelineDataComponent;
25class Graph;
26class PipelineData;
27
41
46 Isolate* isolate, Builtin builtin, TurboshaftAssemblerGenerator generator,
47 std::function<compiler::CallDescriptor*(Zone*)> call_descriptor_builder,
48 const char* name, const AssemblerOptions& options,
49 CodeKind code_kind = CodeKind::BUILTIN,
50 std::optional<BytecodeHandlerData> bytecode_handler_data = {});
51
52} // namespace turboshaft
53} // namespace compiler
54} // namespace v8::internal
55
56#endif // V8_COMPILER_TURBOSHAFT_BUILTIN_COMPILER_H_
friend Zone
Definition asm-types.cc:195
DirectHandle< Code > BuildWithTurboshaftAssemblerImpl(Isolate *isolate, Builtin builtin, TurboshaftAssemblerGenerator generator, std::function< compiler::CallDescriptor *(Zone *)> call_descriptor_builder, const char *name, const AssemblerOptions &options, CodeKind code_kind, std::optional< BytecodeHandlerData > bytecode_handler_data)
void(*)(compiler::turboshaft::PipelineData *, Isolate *, compiler::turboshaft::Graph &, Zone *) TurboshaftAssemblerGenerator
#define V8_EXPORT_PRIVATE
Definition macros.h:460
BytecodeHandlerData(interpreter::Bytecode bytecode, interpreter::OperandScale operand_scale)