Lines Matching refs:WasmFunctionBuilder

45 WasmFunctionBuilder::WasmFunctionBuilder(WasmModuleBuilder* builder)  in WasmFunctionBuilder()  function in v8::internal::wasm::WasmFunctionBuilder
58 void WasmFunctionBuilder::EmitI32V(int32_t val) { body_.write_i32v(val); } in EmitI32V()
60 void WasmFunctionBuilder::EmitU32V(uint32_t val) { body_.write_u32v(val); } in EmitU32V()
62 void WasmFunctionBuilder::SetSignature(FunctionSig* sig) { in SetSignature()
68 uint32_t WasmFunctionBuilder::AddLocal(ValueType type) { in AddLocal()
73 void WasmFunctionBuilder::EmitGetLocal(uint32_t local_index) { in EmitGetLocal()
77 void WasmFunctionBuilder::EmitSetLocal(uint32_t local_index) { in EmitSetLocal()
81 void WasmFunctionBuilder::EmitTeeLocal(uint32_t local_index) { in EmitTeeLocal()
85 void WasmFunctionBuilder::EmitCode(const byte* code, uint32_t code_size) { in EmitCode()
89 void WasmFunctionBuilder::Emit(WasmOpcode opcode) { body_.write_u8(opcode); } in Emit()
91 void WasmFunctionBuilder::EmitWithU8(WasmOpcode opcode, const byte immediate) { in EmitWithU8()
96 void WasmFunctionBuilder::EmitWithU8U8(WasmOpcode opcode, const byte imm1, in EmitWithU8U8()
103 void WasmFunctionBuilder::EmitWithI32V(WasmOpcode opcode, int32_t immediate) { in EmitWithI32V()
108 void WasmFunctionBuilder::EmitWithU32V(WasmOpcode opcode, uint32_t immediate) { in EmitWithU32V()
113 void WasmFunctionBuilder::EmitI32Const(int32_t value) { in EmitI32Const()
117 void WasmFunctionBuilder::EmitI64Const(int64_t value) { in EmitI64Const()
122 void WasmFunctionBuilder::EmitF32Const(float value) { in EmitF32Const()
127 void WasmFunctionBuilder::EmitF64Const(double value) { in EmitF64Const()
132 void WasmFunctionBuilder::EmitDirectCallIndex(uint32_t index) { in EmitDirectCallIndex()
141 void WasmFunctionBuilder::SetName(Vector<const char> name) { name_ = name; } in SetName()
143 void WasmFunctionBuilder::AddAsmWasmOffset(size_t call_position, in AddAsmWasmOffset()
163 void WasmFunctionBuilder::SetAsmFunctionStartPosition( in SetAsmFunctionStartPosition()
174 void WasmFunctionBuilder::DeleteCodeAfter(size_t position) { in DeleteCodeAfter()
179 void WasmFunctionBuilder::WriteSignature(ZoneBuffer& buffer) const { in WriteSignature()
183 void WasmFunctionBuilder::WriteBody(ZoneBuffer& buffer) const { in WriteBody()
202 void WasmFunctionBuilder::WriteAsmWasmOffsetTable(ZoneBuffer& buffer) const { in WriteAsmWasmOffsetTable()
236 WasmFunctionBuilder* WasmModuleBuilder::AddFunction(FunctionSig* sig) { in AddFunction()
237 functions_.push_back(new (zone_) WasmFunctionBuilder(this)); in AddFunction()
288 void WasmModuleBuilder::MarkStartFunction(WasmFunctionBuilder* function) { in MarkStartFunction()
293 WasmFunctionBuilder* function) { in AddExport()