Lines Matching refs:WasmFunctionBuilder

60 struct WasmFunctionBuilder::Type {
66 WasmFunctionBuilder::WasmFunctionBuilder(Zone* zone) in WasmFunctionBuilder() function in v8::internal::wasm::WasmFunctionBuilder
76 uint16_t WasmFunctionBuilder::AddParam(LocalType type) { in AddParam()
81 uint16_t WasmFunctionBuilder::AddLocal(LocalType type) { in AddLocal()
86 uint16_t WasmFunctionBuilder::AddVar(LocalType type, bool param) { in AddVar()
92 void WasmFunctionBuilder::ReturnType(LocalType type) { return_type_ = type; } in ReturnType()
95 void WasmFunctionBuilder::EmitCode(const byte* code, uint32_t code_size) { in EmitCode()
100 void WasmFunctionBuilder::EmitCode(const byte* code, uint32_t code_size, in EmitCode()
113 void WasmFunctionBuilder::Emit(WasmOpcode opcode) { in Emit()
118 void WasmFunctionBuilder::EmitWithU8(WasmOpcode opcode, const byte immediate) { in EmitWithU8()
124 void WasmFunctionBuilder::EmitWithLocal(WasmOpcode opcode) { in EmitWithLocal()
130 uint32_t WasmFunctionBuilder::EmitEditableImmediate(const byte immediate) { in EmitEditableImmediate()
136 void WasmFunctionBuilder::EditImmediate(uint32_t offset, const byte immediate) { in EditImmediate()
142 void WasmFunctionBuilder::Exported(uint8_t flag) { exported_ = flag; } in Exported()
145 void WasmFunctionBuilder::External(uint8_t flag) { external_ = flag; } in External()
147 void WasmFunctionBuilder::SetName(const unsigned char* name, int name_length) { in SetName()
158 WasmFunctionEncoder* WasmFunctionBuilder::Build(Zone* zone, in Build()
202 void WasmFunctionBuilder::IndexVars(WasmFunctionEncoder* e, in IndexVars()
354 functions_.push_back(new (zone_) WasmFunctionBuilder(zone_)); in AddFunction()
359 WasmFunctionBuilder* WasmModuleBuilder::FunctionAt(size_t index) { in FunctionAt()