Home
last modified time | relevance | path

Searched refs:WasmFunctionBuilder (Results 1 – 6 of 6) sorted by relevance

/external/v8/src/wasm/
Dencoder.cc53 WasmFunctionBuilder::WasmFunctionBuilder(WasmModuleBuilder* builder) in WasmFunctionBuilder() function in v8::internal::wasm::WasmFunctionBuilder
61 void WasmFunctionBuilder::EmitVarInt(uint32_t val) { in EmitVarInt()
70 void WasmFunctionBuilder::SetSignature(FunctionSig* sig) { in SetSignature()
76 uint32_t WasmFunctionBuilder::AddLocal(LocalType type) { in AddLocal()
81 void WasmFunctionBuilder::EmitGetLocal(uint32_t local_index) { in EmitGetLocal()
85 void WasmFunctionBuilder::EmitSetLocal(uint32_t local_index) { in EmitSetLocal()
89 void WasmFunctionBuilder::EmitCode(const byte* code, uint32_t code_size) { in EmitCode()
95 void WasmFunctionBuilder::Emit(WasmOpcode opcode) { in Emit()
99 void WasmFunctionBuilder::EmitWithU8(WasmOpcode opcode, const byte immediate) { in EmitWithU8()
104 void WasmFunctionBuilder::EmitWithU8U8(WasmOpcode opcode, const byte imm1, in EmitWithU8U8()
[all …]
Dencoder.h127 class WasmFunctionBuilder : public ZoneObject {
151 explicit WasmFunctionBuilder(WasmModuleBuilder* builder);
186 WasmFunctionBuilder* FunctionAt(size_t index);
207 ZoneVector<WasmFunctionBuilder*> functions_;
Dasm-wasm-builder.cc1750 WasmFunctionBuilder* current_function_builder_;
/external/v8/test/cctest/wasm/
Dtest-run-wasm-module.cc36 void ExportAsMain(WasmFunctionBuilder* f) { in ExportAsMain()
51 WasmFunctionBuilder* f = builder->FunctionAt(f_index); in TEST()
67 WasmFunctionBuilder* f = builder->FunctionAt(f1_index); in TEST()
92 WasmFunctionBuilder* f = builder->FunctionAt(f_index); in TEST()
113 WasmFunctionBuilder* f = builder->FunctionAt(f_index); in TEST()
137 WasmFunctionBuilder* f = builder->FunctionAt(f_index); in TEST()
163 WasmFunctionBuilder* f = builder->FunctionAt(f1_index); in TEST()
/external/v8/test/unittests/wasm/
Dencoder-unittest.cc20 void AddLocal(WasmFunctionBuilder* f, LocalType type) { in AddLocal()
/external/v8/test/mjsunit/wasm/
Dwasm-module-builder.js75 class WasmFunctionBuilder { class
143 let func = new WasmFunctionBuilder(name, type_index);