• Home
  • Raw
  • Download

Lines Matching full:wasm

27 #include "src/wasm/wasm-code-manager.h"
28 #include "src/wasm/wasm-module.h"
29 #include "src/wasm/wasm-objects.h"
37 #include "torque-generated/src/wasm/wasm-objects-tq-inl.inc"
91 wasm::NativeModule* WasmModuleObject::native_module() const {
94 const std::shared_ptr<wasm::NativeModule>&
98 const wasm::WasmModule* WasmModuleObject::module() const { in module()
116 wasm::ValueType WasmGlobalObject::type() const { in OPTIONAL_ACCESSORS()
117 return wasm::ValueType::FromRawBitField(static_cast<uint32_t>(raw_type())); in OPTIONAL_ACCESSORS()
119 void WasmGlobalObject::set_type(wasm::ValueType value) { in set_type()
126 DCHECK_NE(type(), wasm::kWasmAnyRef); in address()
170 DCHECK(type().is_reference_to(wasm::HeapType::kAny)); in SetExternRef()
175 DCHECK_EQ(type(), wasm::kWasmFuncRef); in SetFuncRef()
286 wasm::FunctionSig* WasmExportedFunctionData::sig() const { in ACCESSORS()
287 return reinterpret_cast<wasm::FunctionSig*>(signature().foreign_address()); in ACCESSORS()
325 wasm::ValueType WasmTableObject::type() { in TQ_OBJECT_CONSTRUCTORS_IMPL()
326 return wasm::ValueType::FromRawBitField(raw_type()); in TQ_OBJECT_CONSTRUCTORS_IMPL()
333 wasm::ValueType type, uint32_t offset) { in ReadValueAt()
336 case wasm::kI8: { in ReadValueAt()
340 case wasm::kI16: { in ReadValueAt()
344 case wasm::kI32: { in ReadValueAt()
348 case wasm::kI64: { in ReadValueAt()
352 case wasm::kF32: { in ReadValueAt()
356 case wasm::kF64: { in ReadValueAt()
360 case wasm::kS128: in ReadValueAt()
364 case wasm::kRef: in ReadValueAt()
365 case wasm::kOptRef: { in ReadValueAt()
370 case wasm::kRtt: in ReadValueAt()
374 case wasm::kVoid: in ReadValueAt()
375 case wasm::kBottom: in ReadValueAt()
382 wasm::ValueType type, in ToWasmValue()
385 case wasm::kI8: in ToWasmValue()
386 case wasm::kI16: in ToWasmValue()
387 case wasm::kI32: in ToWasmValue()
388 case wasm::kF32: in ToWasmValue()
389 case wasm::kF64: in ToWasmValue()
392 case wasm::kI64: in ToWasmValue()
395 case wasm::kRef: in ToWasmValue()
396 case wasm::kOptRef: { in ToWasmValue()
401 case wasm::kS128: in ToWasmValue()
405 case wasm::kRtt: in ToWasmValue()
409 case wasm::kVoid: in ToWasmValue()
410 case wasm::kBottom: in ToWasmValue()
439 wasm::ValueType type, uint32_t offset, in WriteValueAt()
443 case wasm::kI8: { in WriteValueAt()
448 case wasm::kI16: { in WriteValueAt()
453 case wasm::kI32: { in WriteValueAt()
458 case wasm::kI64: { in WriteValueAt()
463 case wasm::kF32: { in WriteValueAt()
468 case wasm::kF64: { in WriteValueAt()
473 case wasm::kRef: in WriteValueAt()
474 case wasm::kOptRef: in WriteValueAt()
478 case wasm::kS128: in WriteValueAt()
482 case wasm::kRtt: in WriteValueAt()
486 case wasm::kVoid: in WriteValueAt()
487 case wasm::kBottom: in WriteValueAt()
492 wasm::StructType* WasmStruct::type(Map map) { in type()
494 return reinterpret_cast<wasm::StructType*>(type_info.foreign_address()); in type()
497 wasm::StructType* WasmStruct::GcSafeType(Map map) { in GcSafeType()
504 return reinterpret_cast<wasm::StructType*>(foreign.foreign_address()); in GcSafeType()
507 int WasmStruct::Size(const wasm::StructType* type) { in Size()
524 wasm::kMaxValueTypeSize * wasm::kV8MaxWasmStructFields); in EncodeInstanceSizeInMap()
536 wasm::StructType* WasmStruct::type() const { return type(map()); } in type()
550 wasm::StructType* type = obj->type(); in GetField()
552 wasm::ValueType field_type = type->field(field_index); in GetField()
560 wasm::StructType* type = obj->type(); in SetField()
562 wasm::ValueType field_type = type->field(field_index); in SetField()
567 wasm::ArrayType* WasmArray::type(Map map) { in type()
570 return reinterpret_cast<wasm::ArrayType*>(type_info.foreign_address()); in type()
573 wasm::ArrayType* WasmArray::GcSafeType(Map map) { in GcSafeType()
580 return reinterpret_cast<wasm::ArrayType*>(foreign.foreign_address()); in GcSafeType()
583 wasm::ArrayType* WasmArray::type() const { return type(map()); } in type()
612 wasm::ValueType element_type = array->type()->element_type(); in GetElement()