Home
last modified time | relevance | path

Searched refs:WasmInitExpr (Results 1 – 11 of 11) sorted by relevance

/third_party/node/deps/v8/src/wasm/
Dwasm-init-expr.h27 class WasmInitExpr : public ZoneObject {
58 WasmInitExpr() : kind_(kNone), operands_(nullptr) { in WasmInitExpr() function
61 explicit WasmInitExpr(int32_t v) : kind_(kI32Const), operands_(nullptr) { in WasmInitExpr() function
64 explicit WasmInitExpr(int64_t v) : kind_(kI64Const), operands_(nullptr) { in WasmInitExpr() function
67 explicit WasmInitExpr(float v) : kind_(kF32Const), operands_(nullptr) { in WasmInitExpr() function
70 explicit WasmInitExpr(double v) : kind_(kF64Const), operands_(nullptr) { in WasmInitExpr() function
73 explicit WasmInitExpr(uint8_t v[kSimd128Size]) in WasmInitExpr() function
78 static WasmInitExpr GlobalGet(uint32_t index) { in GlobalGet()
79 WasmInitExpr expr; in GlobalGet()
85 static WasmInitExpr RefFuncConst(uint32_t index) { in RefFuncConst()
[all …]
Dwasm-module-builder.cc368 uint32_t max_size, WasmInitExpr init) { in AddTable()
382 WasmInitExpr(static_cast<int>(index_in_table))); in SetIndirectFunction()
415 WasmInitExpr init, in AddExportedGlobal()
434 WasmInitExpr init) { in AddGlobal()
452 const WasmInitExpr& init, in WriteInitializerExpressionWithEnd()
455 case WasmInitExpr::kI32Const: in WriteInitializerExpressionWithEnd()
459 case WasmInitExpr::kI64Const: in WriteInitializerExpressionWithEnd()
463 case WasmInitExpr::kF32Const: in WriteInitializerExpressionWithEnd()
467 case WasmInitExpr::kF64Const: in WriteInitializerExpressionWithEnd()
471 case WasmInitExpr::kS128Const: in WriteInitializerExpressionWithEnd()
[all …]
Dwasm-module-builder.h274 WasmInitExpr offset) in WasmElemSegment()
297 WasmInitExpr offset;
306 bool IsValidOffsetKind(WasmInitExpr::Operator kind) { in IsValidOffsetKind()
307 return kind == WasmInitExpr::kI32Const || in IsValidOffsetKind()
308 kind == WasmInitExpr::kGlobalGet; in IsValidOffsetKind()
318 WasmInitExpr init = WasmInitExpr());
348 WasmInitExpr init);
355 uint32_t AddExportedGlobal(ValueType type, bool mutability, WasmInitExpr init,
445 WasmInitExpr init;
453 WasmInitExpr init;
Dwasm-init-expr.cc14 ValueType WasmInitExpr::type(const WasmModule* module, in type()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DWasm.h74 struct WasmInitExpr { struct
93 WasmInitExpr InitExpr; argument
143 WasmInitExpr Offset; // present if InitFlags & WASM_SEGMENT_IS_PASSIVE == 0
153 WasmInitExpr Offset;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DWasmYAML.h66 wasm::WasmInitExpr Offset;
74 wasm::WasmInitExpr InitExpr;
118 wasm::WasmInitExpr Offset;
514 template <> struct MappingTraits<wasm::WasmInitExpr> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
515 static void mapping(IO &IO, wasm::WasmInitExpr &Expr); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/third_party/node/deps/v8/src/asmjs/
Dasm-parser.h316 ValueType vtype, WasmInitExpr init = WasmInitExpr());
Dasm-parser.cc239 WasmInitExpr init) { in DeclareGlobal()
454 WasmInitExpr(dvalue)); in ValidateModuleVar()
461 kWasmI32, WasmInitExpr(static_cast<int32_t>(uvalue))); in ValidateModuleVar()
465 WasmInitExpr(-dvalue)); in ValidateModuleVar()
473 WasmInitExpr(-0.f)); in ValidateModuleVar()
477 kWasmI32, WasmInitExpr(-static_cast<int32_t>(uvalue))); in ValidateModuleVar()
530 WasmInitExpr(DoubleToFloat32(dvalue))); in ValidateModuleVarFromGlobal()
537 WasmInitExpr(static_cast<float>(dvalue))); in ValidateModuleVarFromGlobal()
601 WasmInitExpr(const_value)); \ in ValidateModuleVarStdlib()
618 WasmInitExpr(std::numeric_limits<double>::infinity())); in ValidateModuleVarStdlib()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DWasmEmitter.cpp36 void writeInitExpr(raw_ostream &OS, const wasm::WasmInitExpr &InitExpr);
131 const wasm::WasmInitExpr &InitExpr) { in writeInitExpr()
DWasmYAML.cpp415 void MappingTraits<wasm::WasmInitExpr>::mapping(IO &IO, in mapping()
416 wasm::WasmInitExpr &Expr) { in mapping()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DWasmObjectFile.cpp162 static Error readInitExpr(wasm::WasmInitExpr &Expr, in readInitExpr()