Home
last modified time | relevance | path

Searched refs:WasmArray (Results 1 - 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/runtime/
H A Dwasm-runtime.cpp117 template <typename T> class WasmArray { class
121 WasmArray(int Ptr) : Ptr(Ptr) { in WasmArray() function in __anon25452::WasmArray
298 int env$$__syscall3(int Which, WasmArray<int> VarArgs) { in env$$__syscall3()
308 int env$$__syscall4(int Which, WasmArray<int> VarArgs) { in env$$__syscall4()
318 int env$$__syscall5(int Which, WasmArray<int> VarArgs) { in env$$__syscall5()
329 int env$$__syscall6(int Which, WasmArray<int> VarArgs) { in env$$__syscall6()
337 int env$$__syscall10(int Which, WasmArray<int> VarArgs) { in env$$__syscall10()
346 int env$$__syscall20(int Which, WasmArray<int> VarArgs) { in env$$__syscall20()
355 int env$$__syscall40(int Which, WasmArray<int> VarArgs) { in env$$__syscall40()
364 int env$$__syscall54(int Which, WasmArray<in
[all...]
/third_party/node/deps/v8/src/wasm/
H A Dwasm-objects-inl.h55 TQ_OBJECT_CONSTRUCTORS_IMPL(WasmArray)
567 wasm::ArrayType* WasmArray::type(Map map) { in type()
573 wasm::ArrayType* WasmArray::GcSafeType(Map map) { in GcSafeType()
583 wasm::ArrayType* WasmArray::type() const { return type(map()); } in type()
585 int WasmArray::SizeFor(Map map, int length) { in SizeFor()
590 uint32_t WasmArray::element_offset(uint32_t index) { in element_offset()
592 return WasmArray::kHeaderSize + in element_offset()
596 Address WasmArray::ElementAddress(uint32_t index) { in ElementAddress()
600 ObjectSlot WasmArray::ElementSlot(uint32_t index) { in ElementSlot()
607 Handle<Object> WasmArray
[all...]
H A Dwasm-external-refs.cc541 inline void* ArrayElementAddress(WasmArray array, uint32_t index, in ArrayElementAddress()
543 return reinterpret_cast<void*>(array.ptr() + WasmArray::kHeaderSize - in ArrayElementAddress()
554 WasmArray dst_array = WasmArray::cast(Object(raw_dst_array)); in array_copy_wrapper()
555 WasmArray src_array = WasmArray::cast(Object(raw_src_array)); in array_copy_wrapper()
H A Dinit-expr-interface.cc205 static_cast<uint32_t>(WasmArray::MaxLength(array_imm.array_type))) { in ArrayInitFromData()
217 Handle<WasmArray> array_value = isolate_->factory()->NewWasmArrayFromMemory( in ArrayInitFromData()
H A Dwasm-objects.h959 class WasmArray : public TorqueGeneratedWasmArray<WasmArray, WasmObject> { class
974 Handle<WasmArray> array,
995 DECL_PRINTER(WasmArray)
999 TQ_OBJECT_CONSTRUCTORS(WasmArray)
H A Dwasm-objects.cc1594 wasm::WasmValue WasmArray::GetElement(uint32_t index) { in GetElement()
1597 WasmArray::kHeaderSize + index * element_type.value_kind_size(); in GetElement()
H A Dmodule-instantiate.cc191 WasmArray::EncodeElementSizeInMap(type->element_type().value_kind_size(), in CreateArrayMap()
/third_party/node/deps/v8/src/runtime/
H A Druntime-wasm.cc642 inline void* ArrayElementAddress(Handle<WasmArray> array, uint32_t index, in ArrayElementAddress()
644 return reinterpret_cast<void*>(array->ptr() + WasmArray::kHeaderSize - in ArrayElementAddress()
654 Handle<WasmArray> dst_array = args.at<WasmArray>(0); in RUNTIME_FUNCTION()
656 Handle<WasmArray> src_array = args.at<WasmArray>(2); in RUNTIME_FUNCTION()
702 uint32_t element_size = WasmArray::DecodeElementSizeFromMap(*rtt); in RUNTIME_FUNCTION()
705 if (length > static_cast<uint32_t>(WasmArray::MaxLength(element_size))) { in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/objects/
H A Dlookup.cc883 Handle<WasmArray> holder = GetHolder<WasmArray>(); in FetchValue()
884 return WasmArray::GetElement(isolate_, holder, number_.as_uint32()); in FetchValue()
915 Handle<WasmArray> holder = GetHolder<WasmArray>(); in FetchValue()
1168 wasm::ArrayType* wasm_array_type = WasmArray::cast(*holder_).type(); in wasm_value_type()
1322 WasmArray wasm_array = WasmArray::cast(holder); in LookupInRegularHolder()
H A Dobjects-body-descriptors-inl.h767 class WasmArray::BodyDescriptor final : public BodyDescriptorBase {
781 if (!WasmArray::GcSafeType(map)->element_type().is_reference()) return; in IterateBody()
782 IteratePointers(obj, WasmArray::kHeaderSize, object_size, v); in IterateBody()
786 return WasmArray::SizeFor(map, WasmArray::cast(object).length()); in SizeOf()
1133 return CALL_APPLY(WasmArray); in BodyDescriptorApply()
H A Dobject-list-macros.h245 IF_WASM(V, WasmArray) \
H A Dmap.h76 IF_WASM(V, WasmArray) \
H A Dobjects.cc2304 return WasmArray::SizeFor(map, WasmArray::cast(*this).length()); in SizeFromMap()
/third_party/node/deps/v8/src/heap/
H A Dobjects-visiting.h58 IF_WASM(V, WasmArray) \
H A Dfactory.cc1640 Handle<WasmArray> Factory::NewWasmArrayFromElements( in NewWasmArrayFromElements()
1645 AllocateRaw(WasmArray::SizeFor(*map, length), AllocationType::kYoung); in NewWasmArrayFromElements()
1648 WasmArray result = WasmArray::cast(raw); in NewWasmArrayFromElements()
1667 Handle<WasmArray> Factory::NewWasmArrayFromMemory(uint32_t length, in NewWasmArrayFromMemory()
1675 AllocateRaw(WasmArray::SizeFor(*map, length), AllocationType::kYoung); in NewWasmArrayFromMemory()
1678 WasmArray result = WasmArray::cast(raw); in NewWasmArrayFromMemory()
H A Dfactory.h624 Handle<WasmArray> NewWasmArrayFromElements(
627 Handle<WasmArray> NewWasmArrayFromMemory(uint32_t length, Handle<Map> map,
/third_party/node/deps/v8/src/debug/
H A Ddebug-wasm-objects.cc895 uint32_t length = WasmArray::cast(*value.to_ref()).length(); in Create()
913 return WasmArray::cast(data->get(kObjectIndex)).length(); in Count()
918 Handle<WasmArray> array(WasmArray::cast(data->get(kObjectIndex)), isolate); in Get()
/third_party/node/deps/v8/src/wasm/baseline/
H A Dliftoff-compiler.cc5275 WasmArray::MaxLength(imm.array_type));
5311 WasmValue(wasm::ObjectAccess::ToTagged(WasmArray::kHeaderSize)));
5365 wasm::ObjectAccess::ToTagged(WasmArray::kHeaderSize),
5387 wasm::ObjectAccess::ToTagged(WasmArray::kHeaderSize),
5396 int kLengthOffset = wasm::ObjectAccess::ToTagged(WasmArray::kLengthOffset);
5463 wasm::ObjectAccess::ToTagged(WasmArray::kHeaderSize),
6305 wasm::ObjectAccess::ToTagged(WasmArray::kLengthOffset);
/third_party/node/deps/v8/src/diagnostics/
H A Dobjects-printer.cc1859 void WasmArray::WasmArrayPrint(std::ostream& os) { in WasmArrayPrint()
1860 PrintHeader(os, "WasmArray"); in WasmArrayPrint()
1865 Address data_ptr = ptr() + WasmArray::kHeaderSize - kHeapObjectTag; in WasmArrayPrint()
/third_party/node/deps/v8/src/compiler/
H A Dwasm-compiler.cc484 IntPtrConstant(wasm::ObjectAccess::ToTagged(WasmArray::kHeaderSize)), in WasmArrayElementOffset()
491 wasm::ObjectAccess::ToTagged(WasmArray::kLengthOffset)); in LoadWasmArrayLength()
5632 length, gasm_->Uint32Constant(WasmArray::MaxLength(type))), in ArrayNewWithRtt()
5650 Int32Constant(wasm::ObjectAccess::ToTagged(WasmArray::kHeaderSize)); in ArrayNewWithRtt()
/third_party/node/deps/v8/src/ic/
H A Dic.cc903 // The only named property that WasmArray has is length. in MakeLoadWasmStructFieldHandler()
907 field_offset = WasmArray::kLengthOffset; in MakeLoadWasmStructFieldHandler()
/third_party/node/deps/v8/src/codegen/
H A Dcode-stub-assembler.cc1457 array_address, IntPtrConstant(WasmArray::kHeaderSize - kHeapObjectTag));

Completed in 92 milliseconds