Home
last modified time | relevance | path

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

/external/v8/src/wasm/
Dwasm-interpreter.h21 struct WasmFunction;
61 const WasmFunction* function() const;
118 void InitFrame(const WasmFunction* function, WasmValue* args);
179 bool SetBreakpoint(const WasmFunction* function, pc_t pc, bool enabled);
182 bool GetBreakpoint(const WasmFunction* function, pc_t pc);
185 bool SetTracing(const WasmFunction* function, bool enabled);
198 void AddFunctionForTesting(const WasmFunction* function);
200 void SetFunctionCodeForTesting(const WasmFunction* function,
Dwasm-module.h28 struct WasmFunction { struct
147 std::vector<WasmFunction> functions;
185 WasmName GetName(const WasmFunction* function,
192 WasmName GetNameOrNull(const WasmFunction* function,
201 Vector<const byte> GetFunctionBytes(const WasmFunction* function) const { in GetFunctionBytes()
217 WasmFunctionName(const WasmFunction* function, WasmName name) in WasmFunctionName()
220 const WasmFunction* function_;
Dfunction-compiler.h29 struct WasmFunction;
99 ErrorThrower* thrower, ModuleEnv* env, const WasmFunction* function,
Dwasm-objects.cc42 using WasmFunction = wasm::WasmFunction; typedef
156 const WasmFunction& func = native_module->module()->functions[func_index]; in IsBreakablePosition()
248 const WasmFunction& func = module_object->module()->functions[func_index]; in SetBreakPoint()
392 const WasmFunction& func = module_object->module()->functions[func_index]; in SetBreakpointsOnNewInstance()
451 const std::vector<WasmFunction>& wasm_funs = in GetDecodedAsmJsOffsetTable()
541 const std::vector<WasmFunction>& functions = module()->functions; in GetPossibleBreakpoints()
587 const WasmFunction& func = functions[func_idx]; in GetPossibleBreakpoints()
698 const std::vector<WasmFunction>& functions = module()->functions; in GetFunctionOffset()
705 const std::vector<WasmFunction>& functions = module()->functions; in GetContainingFunction()
720 const WasmFunction& func = functions[left]; in GetContainingFunction()
[all …]
Dmodule-decoder.cc470 WasmFunction* function = &module_->functions.back(); in DecodeImportSection()
550 WasmFunction* function = &module_->functions.back(); in DecodeFunctionSection()
625 WasmFunction* func = nullptr; in DecodeExportSection()
695 WasmFunction* func; in DecodeStartSection()
732 WasmFunction* func = nullptr; in DecodeElementSection()
773 WasmFunction* function = in DecodeFunctionBody()
894 std::unique_ptr<WasmFunction> function) { in DecodeSingleFunction()
1040 const WasmModule* module, WasmFunction* function) { in VerifyFunctionBody()
1099 uint32_t consume_func_index(WasmModule* module, WasmFunction** func) { in consume_func_index()
1521 base::make_unique<WasmFunction>()); in DecodeWasmFunctionForTesting()
Dwasm-module.cc68 WasmName ModuleWireBytes::GetName(const WasmFunction* function, in GetName()
82 WasmName ModuleWireBytes::GetNameOrNull(const WasmFunction* function, in GetNameOrNull()
Dmodule-decoder.h31 typedef Result<std::unique_ptr<WasmFunction>> FunctionResult;
Dwasm-interpreter.cc648 const WasmFunction* function; // wasm function
946 for (const WasmFunction& function : module->functions) { in CodeMap()
965 InterpreterCode* GetCode(const WasmFunction* function) { in GetCode()
1015 void AddFunction(const WasmFunction* function, const byte* code_start, in AddFunction()
1026 void SetFunctionCode(const WasmFunction* function, const byte* start, in SetFunctionCode()
1098 void InitFrame(const WasmFunction* function, WasmValue* args) { in InitFrame()
2931 const WasmFunction* function() const { return frame()->code->function; } in function()
3016 void WasmInterpreter::Thread::InitFrame(const WasmFunction* function, in InitFrame()
3126 bool WasmInterpreter::SetBreakpoint(const WasmFunction* function, pc_t pc, in SetBreakpoint()
3147 bool WasmInterpreter::GetBreakpoint(const WasmFunction* function, pc_t pc) { in GetBreakpoint()
[all …]
Dmodule-compiler.cc188 const WasmFunction* func = &module->functions[func_index]; in GetOrCompileJSToWasmWrapper()
366 const WasmFunction* func = &module_env->module->functions[func_index]; in LazyCompileFunction()
462 void AddUnit(const WasmFunction* function, uint32_t buffer_offset, in AddUnit()
493 std::unique_ptr<WasmCompilationUnit> CreateUnit(const WasmFunction* function, in CreateUnit()
543 const WasmFunction* func = &module->functions[i]; in InitializeCompilationUnits()
676 const WasmFunction& func = module->functions[i]; in CompileSequentially()
701 const WasmFunction& func = module->functions[i]; in ValidateSequentially()
1905 const WasmFunction& function = module_->functions[exp.index]; in ProcessExports()
2063 const WasmFunction* function = &module_->functions[func_index]; in LoadTableSegments()
2720 const WasmFunction* func = &decoder_.module()->functions[index]; in ProcessFunctionBody()
Dfunction-compiler.cc149 ErrorThrower* thrower, ModuleEnv* env, const WasmFunction* function, in CompileWasmFunction()
Dwasm-text.cc40 const WasmFunction *fun = &module->functions[func_index]; in PrintWasmText()
Dwasm-debug.cc605 const wasm::WasmFunction* func = &handle->module()->functions[func_index]; in SetBreakpoint()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DWasm.h138 ArrayRef<wasm::WasmFunction> functions() const { return Functions; } in functions()
211 wasm::WasmFunction &getDefinedFunction(uint32_t Index);
252 std::vector<wasm::WasmFunction> Functions;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DWasmObjectWriter.cpp119 struct WasmFunction { struct
301 void writeFunctionSection(ArrayRef<WasmFunction> Functions);
306 ArrayRef<WasmFunction> Functions);
317 updateCustomSectionRelocations(const SmallVector<WasmFunction, 4> &Functions,
764 void WasmObjectWriter::writeFunctionSection(ArrayRef<WasmFunction> Functions) { in writeFunctionSection()
772 for (const WasmFunction &Func : Functions) in writeFunctionSection()
839 ArrayRef<WasmFunction> Functions) { in writeCodeSection()
849 for (const WasmFunction &Func : Functions) { in writeCodeSection()
1085 SmallVector<WasmFunction, 4> Functions; in writeObject()
1242 WasmFunction Func; in writeObject()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/
DWasm.h99 struct WasmFunction { struct
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DWasmObjectFile.cpp459 wasm::WasmFunction &Function = Functions[FuncIndex]; in parseLinkingSectionSymtab()
884 wasm::WasmFunction &WasmObjectFile::getDefinedFunction(uint32_t Index) { in getDefinedFunction()
911 wasm::WasmFunction Function; in parseCodeSection()
/external/v8/src/
Dapi.cc9457 const i::wasm::WasmFunction& func = module->functions[function_index]; in GetFunctionRange()
9473 const i::wasm::WasmFunction& func = module->functions[function_index]; in GetFunctionHash()