Home
last modified time | relevance | path

Searched refs:WasmElemSegment (Results 1 - 10 of 10) sorted by relevance

/third_party/node/deps/v8/src/wasm/
H A Dwasm-module.h212 struct WasmElemSegment { struct
221 WasmElemSegment(ValueType type, uint32_t table_index, in WasmElemSegment() function
231 WasmElemSegment(ValueType type, Status status, ElementType element_type) in WasmElemSegment() function
237 WasmElemSegment() in WasmElemSegment() function
243 WasmElemSegment(const WasmElemSegment&) = delete;
244 WasmElemSegment(WasmElemSegment&&) V8_NOEXCEPT = default;
245 WasmElemSegment& operator=(const WasmElemSegment
[all...]
H A Dwasm-module-builder.h252 class WasmElemSegment { class in v8::internal::wasm::WasmModuleBuilder
273 WasmElemSegment(Zone* zone, ValueType type, uint32_t table_index, in WasmElemSegment() function in v8::internal::wasm::WasmModuleBuilder::WasmElemSegment
285 WasmElemSegment(Zone* zone, ValueType type, bool declarative) in WasmElemSegment() function in v8::internal::wasm::WasmModuleBuilder::WasmElemSegment
293 MOVE_ONLY_NO_DEFAULT_CONSTRUCTOR(WasmElemSegment);
325 void AddElementSegment(WasmElemSegment segment);
330 WasmElemSegment::FunctionIndexingMode indexing_mode);
470 ZoneVector<WasmElemSegment> element_segments_;
H A Dwasm-module-builder.cc373 void WasmModuleBuilder::AddElementSegment(WasmElemSegment segment) { in AddElementSegment()
380 WasmElemSegment::FunctionIndexingMode indexing_mode) { in SetIndirectFunction()
381 WasmElemSegment segment(zone_, kWasmFuncRef, table_index, in SetIndirectFunction()
384 segment.entries.emplace_back(WasmElemSegment::Entry::kRefFuncEntry, in SetIndirectFunction()
784 for (const WasmElemSegment& segment : element_segments_) { in WriteTo()
785 bool is_active = segment.status == WasmElemSegment::kStatusActive; in WriteTo()
790 segment.status == WasmElemSegment::kStatusActive in WriteTo()
792 : segment.status == WasmElemSegment::kStatusDeclarative ? 0b11 in WriteTo()
802 for (const WasmElemSegment::Entry entry : segment.entries) { in WriteTo()
804 entry.kind == WasmElemSegment in WriteTo()
[all...]
H A Dmodule-decoder.cc1082 WasmElemSegment segment = consume_element_segment_header(); in DecodeElementSection()
1091 segment.element_type == WasmElemSegment::kExpressionElements in DecodeElementSection()
2064 WasmElemSegment consume_element_segment_header() { in consume_element_segment_header()
2087 const WasmElemSegment::Status status = in consume_element_segment_header()
2089 ? WasmElemSegment::kStatusDeclarative in consume_element_segment_header()
2090 : WasmElemSegment::kStatusPassive in consume_element_segment_header()
2091 : WasmElemSegment::kStatusActive; in consume_element_segment_header()
2092 const bool is_active = status == WasmElemSegment::kStatusActive; in consume_element_segment_header()
2094 WasmElemSegment::ElementType element_type = in consume_element_segment_header()
2096 ? WasmElemSegment in consume_element_segment_header()
[all...]
H A Dmodule-instantiate.cc2053 if (elem_segment.status != WasmElemSegment::kStatusActive) continue; in LoadTableSegments()
H A Dwasm-objects.cc1286 wasm::WasmElemSegment::kStatusDeclarative in InitElemSegmentArrays()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
H A DWasm.h147 ArrayRef<wasm::WasmElemSegment> elements() const { return ElemSegments; } in elements()
274 std::vector<wasm::WasmElemSegment> ElemSegments;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
H A DWasm.h151 struct WasmElemSegment { struct
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
H A DWasmObjectFile.cpp1183 wasm::WasmElemSegment Segment; in parseElemSection()
/third_party/node/deps/v8/src/asmjs/
H A Dasm-parser.cc708 WasmModuleBuilder::WasmElemSegment::kRelativeToDeclaredFunctions); in ValidateFunctionTable()

Completed in 23 milliseconds