Home
last modified time | relevance | path

Searched refs:WasmModule (Results 1 – 17 of 17) sorted by relevance

/external/v8/src/wasm/
Dwasm-module.h143 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 …]
Dfunction-body-decoder.h30 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()
Dwasm-text.h23 struct WasmModule;
30 const WasmModule *module, const ModuleWireBytes &wire_bytes,
Dmodule-decoder.cc71 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 …]
Dwasm-module.cc171 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 …]
Dwasm-objects.h18 struct WasmModule;
131 wasm::WasmModule* module();
173 DECLARE_GETTER(module, wasm::WasmModule);
318 FORWARD_SHARED(wasm::WasmModule*, module)
Dwasm-objects.cc356 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()
Dmodule-decoder.h45 typedef Result<const WasmModule*> ModuleResult;
Dwasm-interpreter.cc627 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()
Dwasm-text.cc35 void wasm::PrintWasmText(const WasmModule *module, in PrintWasmText()
Dfunction-body-decoder.cc160 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()
Dwasm-code-specialization.cc112 WasmModule* module = compiled_module->module(); in ApplyToWholeInstance()
Dwasm-debug.cc66 const WasmModule* module() { return instance_.module; } in module()
Dwasm-js.cc489 size_t size = static_cast<size_t>(i::wasm::WasmModule::kPageSize) * in WebAssemblyMemory()
/external/v8/src/compiler/
Dwasm-compiler.h37 struct WasmModule;
104 const wasm::WasmModule* module,
Dwasm-compiler.cc3729 const wasm::WasmModule* module, in CompileJSToWasmWrapper()
/external/swiftshader/third_party/subzero/src/
DWasmTranslator.cpp132 std::string getFunctionName(const WasmModule *Module, uint32_t func_index) { in getFunctionName()