/external/v8/src/wasm/ |
D | wasm-module.h | 143 struct V8_EXPORT_PRIVATE WasmModule { struct 180 WasmModule() : WasmModule(nullptr) {} in WasmModule() argument 181 WasmModule(Zone* owned_zone); 182 ~WasmModule() { in ~WasmModule() argument 187 typedef Managed<WasmModule> WasmModuleWrapper; 191 const WasmModule* module; // static representation of the module. 204 explicit WasmInstance(const WasmModule* m) in WasmInstance() 273 ModuleEnv(const WasmModule* module, WasmInstance* instance) in ModuleEnv() 276 const WasmModule* module; 326 ModuleBytesEnv(const WasmModule* module, WasmInstance* instance, in ModuleBytesEnv() [all …]
|
D | function-body-decoder.h | 30 struct WasmModule; // forward declaration of module interface. 54 const wasm::WasmModule* module, 59 const wasm::WasmModule* module); 65 const WasmModule* module, FunctionSig* sig, in VerifyWasmCode()
|
D | wasm-text.h | 23 struct WasmModule; 30 const WasmModule *module, const ModuleWireBytes &wire_bytes,
|
D | module-decoder.cc | 71 ValueType TypeOf(const WasmModule* module, const WasmInitExpr& expr) { in TypeOf() 258 WasmModule* module = new WasmModule(module_zone); in DecodeModule() 686 const WasmModule* finished_module = module; in DecodeModule() 732 bool AddTable(WasmModule* module) { in AddTable() 741 bool AddMemory(WasmModule* module) { in AddMemory() 752 void DecodeGlobalInModule(WasmModule* module, uint32_t index, in DecodeGlobalInModule() 792 void DecodeDataSegmentInModule(WasmModule* module, WasmDataSegment* segment) { in DecodeDataSegmentInModule() 810 void CalculateGlobalOffsets(WasmModule* module) { in CalculateGlobalOffsets() 879 uint32_t consume_sig_index(WasmModule* module, FunctionSig** sig) { in consume_sig_index() 903 uint32_t consume_func_index(WasmModule* module, WasmFunction** func) { in consume_func_index() [all …]
|
D | wasm-module.cc | 171 const wasm::WasmModule* module, in CloneOrCompileJSToWasmWrapper() 211 CompilationHelper(Isolate* isolate, WasmModule* module) in CompilationHelper() 229 WasmModule* module_; 320 const WasmModule* module = module_env->module_env.module; in CompileInParallel() 378 const WasmModule* module = module_env->module_env.module; in CompileSequentially() 410 temp_instance.mem_size = WasmModule::kPageSize * module_->min_mem_pages; in CompileToModuleObject() 731 WasmModule* module = compiled_module->module(); in GetFunctionOffsetAndLength() 766 if (size > (FLAG_wasm_max_mem_pages * WasmModule::kPageSize)) { in NewArrayBuffer() 793 std::ostream& wasm::operator<<(std::ostream& os, const WasmModule& module) { in operator <<() 844 WasmModule::WasmModule(Zone* owned) in WasmModule() function in WasmModule [all …]
|
D | wasm-objects.h | 18 struct WasmModule; 131 wasm::WasmModule* module(); 173 DECLARE_GETTER(module, wasm::WasmModule); 318 FORWARD_SHARED(wasm::WasmModule*, module)
|
D | wasm-objects.cc | 356 return SafeUint32(buffer()->byte_length()) / wasm::WasmModule::kPageSize; in DEFINE_OBJ_ACCESSORS() 409 WasmModule* WasmInstanceObject::module() { return compiled_module()->module(); } in module() 533 wasm::WasmModule* WasmSharedModuleData::module() { in module() 539 return *(reinterpret_cast<wasm::WasmModule**>( in module() 594 WasmModule* module = nullptr; in ReinitializeAfterDeserialization() 609 module = const_cast<WasmModule*>(result.val); in ReinitializeAfterDeserialization() 834 return min_mem_pages() * WasmModule::kPageSize; in default_mem_size()
|
D | module-decoder.h | 45 typedef Result<const WasmModule*> ModuleResult;
|
D | wasm-interpreter.cc | 627 new_size = delta_pages * wasm::WasmModule::kPageSize; in ExecuteGrowMemory() 634 new_size = old_size + delta_pages * wasm::WasmModule::kPageSize; in ExecuteGrowMemory() 635 if (new_size / wasm::WasmModule::kPageSize > FLAG_wasm_max_mem_pages || in ExecuteGrowMemory() 636 new_size / wasm::WasmModule::kPageSize > in ExecuteGrowMemory() 649 return static_cast<int32_t>(old_size / WasmModule::kPageSize); in ExecuteGrowMemory() 844 const WasmModule* module_; 847 CodeMap(const WasmModule* module, const uint8_t* module_start, Zone* zone) in CodeMap() 1054 const WasmModule* module() { return instance_->module; } in module() 1570 WasmModule::kPageSize))); in Execute()
|
D | wasm-text.cc | 35 void wasm::PrintWasmText(const WasmModule *module, in PrintWasmText()
|
D | function-body-decoder.cc | 160 WasmDecoder(const WasmModule* module, FunctionSig* sig, const byte* start, in WasmDecoder() 166 const WasmModule* module_; 517 WasmFullDecoder(Zone* zone, const wasm::WasmModule* module, in WasmFullDecoder() 583 WasmFullDecoder(Zone* zone, const wasm::WasmModule* module, in WasmFullDecoder() 1994 const wasm::WasmModule* module, in VerifyWasmCode() 2036 const wasm::WasmModule* module) { in PrintRawWasmCode()
|
D | wasm-code-specialization.cc | 112 WasmModule* module = compiled_module->module(); in ApplyToWholeInstance()
|
D | wasm-debug.cc | 66 const WasmModule* module() { return instance_.module; } in module()
|
D | wasm-js.cc | 489 size_t size = static_cast<size_t>(i::wasm::WasmModule::kPageSize) * in WebAssemblyMemory()
|
/external/v8/src/compiler/ |
D | wasm-compiler.h | 37 struct WasmModule; 104 const wasm::WasmModule* module,
|
D | wasm-compiler.cc | 3729 const wasm::WasmModule* module, in CompileJSToWasmWrapper()
|
/external/swiftshader/third_party/subzero/src/ |
D | WasmTranslator.cpp | 132 std::string getFunctionName(const WasmModule *Module, uint32_t func_index) { in getFunctionName()
|