#include <wasm-module-builder.h>
|
| void | SetSignature (const FunctionSig *sig) |
| |
| void | SetSignature (ModuleTypeIndex sig_index) |
| |
| uint32_t | AddLocal (ValueType type) |
| |
| void | EmitByte (uint8_t b) |
| |
| void | EmitI32V (int32_t val) |
| |
| void | EmitI32V (ModuleTypeIndex index) |
| |
| void | EmitU32V (uint32_t val) |
| |
| void | EmitU32V (ModuleTypeIndex index) |
| |
| void | EmitU64V (uint64_t val) |
| |
| void | EmitCode (const uint8_t *code, uint32_t code_size) |
| |
| void | EmitCode (std::initializer_list< const uint8_t > code) |
| |
| void | Emit (WasmOpcode opcode) |
| |
| void | EmitWithPrefix (WasmOpcode opcode) |
| |
| void | EmitGetLocal (uint32_t index) |
| |
| void | EmitSetLocal (uint32_t index) |
| |
| void | EmitTeeLocal (uint32_t index) |
| |
| void | EmitI32Const (int32_t val) |
| |
| void | EmitI64Const (int64_t val) |
| |
| void | EmitF32Const (float val) |
| |
| void | EmitF64Const (double val) |
| |
| void | EmitS128Const (Simd128 val) |
| |
| void | EmitWithU8 (WasmOpcode opcode, const uint8_t immediate) |
| |
| void | EmitWithU8U8 (WasmOpcode opcode, const uint8_t imm1, const uint8_t imm2) |
| |
| void | EmitWithI32V (WasmOpcode opcode, int32_t immediate) |
| |
| void | EmitWithU32V (WasmOpcode opcode, uint32_t immediate) |
| |
| void | EmitWithU32V (WasmOpcode opcode, ModuleTypeIndex index) |
| |
| void | EmitHeapType (HeapType type) |
| |
| void | EmitValueType (ValueType type) |
| |
| void | EmitDirectCallIndex (uint32_t index) |
| |
| void | EmitFromInitializerExpression (const WasmInitExpr &init_expr) |
| |
| void | SetName (base::Vector< const char > name) |
| |
| void | AddAsmWasmOffset (size_t call_position, size_t to_number_position) |
| |
| void | SetAsmFunctionStartPosition (size_t function_position) |
| |
| void | SetCompilationHint (WasmCompilationHintStrategy strategy, WasmCompilationHintTier baseline, WasmCompilationHintTier top_tier) |
| |
| size_t | GetPosition () const |
| |
| void | FixupByte (size_t position, uint8_t value) |
| |
| void | DeleteCodeAfter (size_t position) |
| |
| void | WriteSignature (ZoneBuffer *buffer) const |
| |
| void | WriteBody (ZoneBuffer *buffer) const |
| |
| void | WriteAsmWasmOffsetTable (ZoneBuffer *buffer) const |
| |
| WasmModuleBuilder * | builder () const |
| |
| uint32_t | func_index () const |
| |
| ModuleTypeIndex | sig_index () const |
| |
| const FunctionSig * | signature () const |
| |
| void * | operator new (size_t, Zone *)=delete |
| |
| void * | operator new (size_t size, void *ptr) |
| |
| void | operator delete (void *, size_t) |
| |
| void | operator delete (void *pointer, Zone *zone)=delete |
| |
Definition at line 168 of file wasm-module-builder.h.
◆ WasmFunctionBuilder()
| v8::internal::wasm::WasmFunctionBuilder::WasmFunctionBuilder |
( |
WasmModuleBuilder * | builder | ) |
|
|
explicitprivate |
◆ AddAsmWasmOffset()
| void v8::internal::wasm::WasmFunctionBuilder::AddAsmWasmOffset |
( |
size_t | call_position, |
|
|
size_t | to_number_position ) |
◆ AddLocal()
| uint32_t v8::internal::wasm::WasmFunctionBuilder::AddLocal |
( |
ValueType | type | ) |
|
◆ builder()
◆ DeleteCodeAfter()
| void v8::internal::wasm::WasmFunctionBuilder::DeleteCodeAfter |
( |
size_t | position | ) |
|
◆ Emit()
| void v8::internal::wasm::WasmFunctionBuilder::Emit |
( |
WasmOpcode | opcode | ) |
|
◆ EmitByte()
| void v8::internal::wasm::WasmFunctionBuilder::EmitByte |
( |
uint8_t | b | ) |
|
◆ EmitCode() [1/2]
| void v8::internal::wasm::WasmFunctionBuilder::EmitCode |
( |
const uint8_t * | code, |
|
|
uint32_t | code_size ) |
◆ EmitCode() [2/2]
| void v8::internal::wasm::WasmFunctionBuilder::EmitCode |
( |
std::initializer_list< const uint8_t > | code | ) |
|
◆ EmitDirectCallIndex()
| void v8::internal::wasm::WasmFunctionBuilder::EmitDirectCallIndex |
( |
uint32_t | index | ) |
|
◆ EmitF32Const()
| void v8::internal::wasm::WasmFunctionBuilder::EmitF32Const |
( |
float | val | ) |
|
◆ EmitF64Const()
| void v8::internal::wasm::WasmFunctionBuilder::EmitF64Const |
( |
double | val | ) |
|
◆ EmitFromInitializerExpression()
| void v8::internal::wasm::WasmFunctionBuilder::EmitFromInitializerExpression |
( |
const WasmInitExpr & | init_expr | ) |
|
◆ EmitGetLocal()
| void v8::internal::wasm::WasmFunctionBuilder::EmitGetLocal |
( |
uint32_t | index | ) |
|
◆ EmitHeapType()
| void v8::internal::wasm::WasmFunctionBuilder::EmitHeapType |
( |
HeapType | type | ) |
|
◆ EmitI32Const()
| void v8::internal::wasm::WasmFunctionBuilder::EmitI32Const |
( |
int32_t | val | ) |
|
◆ EmitI32V() [1/2]
| void v8::internal::wasm::WasmFunctionBuilder::EmitI32V |
( |
int32_t | val | ) |
|
◆ EmitI32V() [2/2]
◆ EmitI64Const()
| void v8::internal::wasm::WasmFunctionBuilder::EmitI64Const |
( |
int64_t | val | ) |
|
◆ EmitS128Const()
| void v8::internal::wasm::WasmFunctionBuilder::EmitS128Const |
( |
Simd128 | val | ) |
|
◆ EmitSetLocal()
| void v8::internal::wasm::WasmFunctionBuilder::EmitSetLocal |
( |
uint32_t | index | ) |
|
◆ EmitTeeLocal()
| void v8::internal::wasm::WasmFunctionBuilder::EmitTeeLocal |
( |
uint32_t | index | ) |
|
◆ EmitU32V() [1/2]
◆ EmitU32V() [2/2]
| void v8::internal::wasm::WasmFunctionBuilder::EmitU32V |
( |
uint32_t | val | ) |
|
◆ EmitU64V()
| void v8::internal::wasm::WasmFunctionBuilder::EmitU64V |
( |
uint64_t | val | ) |
|
◆ EmitValueType()
| void v8::internal::wasm::WasmFunctionBuilder::EmitValueType |
( |
ValueType | type | ) |
|
◆ EmitWithI32V()
| void v8::internal::wasm::WasmFunctionBuilder::EmitWithI32V |
( |
WasmOpcode | opcode, |
|
|
int32_t | immediate ) |
◆ EmitWithPrefix()
| void v8::internal::wasm::WasmFunctionBuilder::EmitWithPrefix |
( |
WasmOpcode | opcode | ) |
|
◆ EmitWithU32V() [1/2]
◆ EmitWithU32V() [2/2]
| void v8::internal::wasm::WasmFunctionBuilder::EmitWithU32V |
( |
WasmOpcode | opcode, |
|
|
uint32_t | immediate ) |
◆ EmitWithU8()
| void v8::internal::wasm::WasmFunctionBuilder::EmitWithU8 |
( |
WasmOpcode | opcode, |
|
|
const uint8_t | immediate ) |
◆ EmitWithU8U8()
| void v8::internal::wasm::WasmFunctionBuilder::EmitWithU8U8 |
( |
WasmOpcode | opcode, |
|
|
const uint8_t | imm1, |
|
|
const uint8_t | imm2 ) |
◆ FixupByte()
| void v8::internal::wasm::WasmFunctionBuilder::FixupByte |
( |
size_t | position, |
|
|
uint8_t | value ) |
|
inline |
◆ func_index()
| uint32_t v8::internal::wasm::WasmFunctionBuilder::func_index |
( |
| ) |
const |
|
inline |
◆ GetPosition()
| size_t v8::internal::wasm::WasmFunctionBuilder::GetPosition |
( |
| ) |
const |
|
inline |
◆ SetAsmFunctionStartPosition()
| void v8::internal::wasm::WasmFunctionBuilder::SetAsmFunctionStartPosition |
( |
size_t | function_position | ) |
|
◆ SetCompilationHint()
◆ SetName()
| void v8::internal::wasm::WasmFunctionBuilder::SetName |
( |
base::Vector< const char > | name | ) |
|
◆ SetSignature() [1/2]
| void v8::internal::wasm::WasmFunctionBuilder::SetSignature |
( |
const FunctionSig * | sig | ) |
|
◆ SetSignature() [2/2]
◆ sig_index()
| ModuleTypeIndex v8::internal::wasm::WasmFunctionBuilder::sig_index |
( |
| ) |
const |
|
inline |
◆ signature()
| const FunctionSig * v8::internal::wasm::WasmFunctionBuilder::signature |
( |
| ) |
const |
|
inline |
◆ WriteAsmWasmOffsetTable()
| void v8::internal::wasm::WasmFunctionBuilder::WriteAsmWasmOffsetTable |
( |
ZoneBuffer * | buffer | ) |
const |
◆ WriteBody()
| void v8::internal::wasm::WasmFunctionBuilder::WriteBody |
( |
ZoneBuffer * | buffer | ) |
const |
◆ WriteSignature()
| void v8::internal::wasm::WasmFunctionBuilder::WriteSignature |
( |
ZoneBuffer * | buffer | ) |
const |
◆ WasmModuleBuilder
◆ asm_func_start_source_position_
| uint32_t v8::internal::wasm::WasmFunctionBuilder::asm_func_start_source_position_ = 0 |
|
private |
◆ asm_offsets_
| ZoneBuffer v8::internal::wasm::WasmFunctionBuilder::asm_offsets_ |
|
private |
◆ body_
| ZoneBuffer v8::internal::wasm::WasmFunctionBuilder::body_ |
|
private |
◆ builder_
◆ direct_calls_
◆ f32_temps_
| ZoneVector<uint32_t> v8::internal::wasm::WasmFunctionBuilder::f32_temps_ |
|
private |
◆ f64_temps_
| ZoneVector<uint32_t> v8::internal::wasm::WasmFunctionBuilder::f64_temps_ |
|
private |
◆ func_index_
| uint32_t v8::internal::wasm::WasmFunctionBuilder::func_index_ |
|
private |
◆ hint_
◆ i32_temps_
| ZoneVector<uint32_t> v8::internal::wasm::WasmFunctionBuilder::i32_temps_ |
|
private |
◆ i64_temps_
| ZoneVector<uint32_t> v8::internal::wasm::WasmFunctionBuilder::i64_temps_ |
|
private |
◆ last_asm_byte_offset_
| uint32_t v8::internal::wasm::WasmFunctionBuilder::last_asm_byte_offset_ = 0 |
|
private |
◆ last_asm_source_position_
| uint32_t v8::internal::wasm::WasmFunctionBuilder::last_asm_source_position_ = 0 |
|
private |
◆ locals_
◆ name_
| base::Vector<const char> v8::internal::wasm::WasmFunctionBuilder::name_ |
|
private |
◆ signature_index_
◆ Zone
| friend v8::internal::wasm::WasmFunctionBuilder::Zone |
|
private |
The documentation for this class was generated from the following files: