/external/v8/src/compiler/ |
D | wasm-compiler.h | 30 namespace wasm { 45 WasmCompilationUnit(wasm::ErrorThrower* thrower, Isolate* isolate, 46 wasm::ModuleEnv* module_env, 47 const wasm::WasmFunction* function, uint32_t index); 55 static Handle<Code> CompileWasmFunction(wasm::ErrorThrower* thrower, in CompileWasmFunction() 57 wasm::ModuleEnv* module_env, in CompileWasmFunction() 58 const wasm::WasmFunction* function) { in CompileWasmFunction() 67 wasm::ErrorThrower* thrower_; 69 wasm::ModuleEnv* module_env_; 70 const wasm::WasmFunction* function_; [all …]
|
D | wasm-compiler.cc | 52 const Operator* UnsupportedOpcode(wasm::WasmOpcode opcode) { in UnsupportedOpcode() 54 wasm::WasmOpcodes::OpcodeName(opcode)); in UnsupportedOpcode() 114 void Unreachable(wasm::WasmCodePosition position) { in Unreachable() 115 ConnectTrap(wasm::kTrapUnreachable, position); in Unreachable() 119 void TrapAlways(wasm::TrapReason reason, wasm::WasmCodePosition position) { in TrapAlways() 124 Node* TrapIfEq32(wasm::TrapReason reason, Node* node, int32_t val, in TrapIfEq32() 125 wasm::WasmCodePosition position) { in TrapIfEq32() 140 Node* ZeroCheck32(wasm::TrapReason reason, Node* node, in ZeroCheck32() 141 wasm::WasmCodePosition position) { in ZeroCheck32() 146 Node* TrapIfEq64(wasm::TrapReason reason, Node* node, int64_t val, in TrapIfEq64() [all …]
|
/external/v8/tools/ |
D | update-wasm-fuzzers.sh | 12 rm -rf test/fuzzer/wasm 17 mkdir -p test/fuzzer/wasm 23 --dump-wasm-module-path=./test/fuzzer/wasm_asmjs/" mjsunit/wasm/asm* 36 --dump-wasm-module-path=./test/fuzzer/wasm/" mjsunit/wasm/* 40 $(cd test/; ls cctest/wasm/test-*.cc | \ 41 sed -es/wasm\\///g | sed -es/[.]cc/\\/\\*/g) 44 for x in $(find ./test/fuzzer/wasm/ -type f -size +20k) 55 upload_to_google_storage.py -a -b v8-wasm-fuzzer wasm 56 upload_to_google_storage.py -a -b v8-wasm-asmjs-fuzzer wasm_asmjs
|
/external/v8/src/asmjs/ |
D | asm-js.cc | 28 using v8::internal::wasm::ErrorThrower; 64 case wasm::AsmTyper::StandardMember::kNone: in IsStdlibMemberValid() 65 case wasm::AsmTyper::StandardMember::kModule: in IsStdlibMemberValid() 66 case wasm::AsmTyper::StandardMember::kStdlib: in IsStdlibMemberValid() 67 case wasm::AsmTyper::StandardMember::kHeap: in IsStdlibMemberValid() 68 case wasm::AsmTyper::StandardMember::kFFI: { in IsStdlibMemberValid() 72 case wasm::AsmTyper::StandardMember::kInfinity: { in IsStdlibMemberValid() 85 case wasm::AsmTyper::StandardMember::kNaN: { in IsStdlibMemberValid() 99 case wasm::AsmTyper::StandardMember::k##CamelName: { \ in IsStdlibMemberValid() 131 case wasm::AsmTyper::StandardMember::kMath##cname: { \ in IsStdlibMemberValid() [all …]
|
D | switch-logic.h | 14 namespace wasm {
|
D | asm-wasm-builder.h | 19 namespace wasm {
|
/external/v8/src/wasm/ |
D | wasm-debug.cc | 14 using namespace v8::internal::wasm; 45 asm_offsets = wasm::DecodeAsmJsOffsets(bytes_start, bytes_end); in GetAsmJsOffsetTables() 52 wasm::GetNumberOfFunctions(handle(debug_info->wasm_instance())), in GetAsmJsOffsetTables() 79 Handle<WasmDebugInfo> WasmDebugInfo::New(Handle<JSObject> wasm) { in New() argument 80 Isolate *isolate = wasm->GetIsolate(); in New() 84 arr->set(kWasmDebugInfoWasmObj, *wasm); in New() 86 Handle<SeqOneByteString> wasm_bytes = GetWasmBytes(wasm); in New() 121 WasmCompiledModule *compiled_module = wasm::GetCompiledModule(*instance); in GetAsmJsSourcePosition()
|
D | wasm-objects.h | 13 namespace wasm { 43 wasm::WasmModule* module(); 120 wasm::WasmModule* module(); 227 Isolate* isolate, Handle<Managed<wasm::WasmModule>> module_wrapper); 243 wasm::WasmModule* module() const; 272 static Handle<WasmDebugInfo> New(Handle<JSObject> wasm);
|
D | wasm-js.cc | 27 using v8::internal::wasm::ErrorThrower; 98 return i::wasm::CreateModuleObjectFromBytes( in CreateModuleObject() 99 i_isolate, buffer.start, buffer.end, thrower, i::wasm::kWasmOrigin, in CreateModuleObject() 113 return i::wasm::ValidateModuleBytes(i_isolate, buffer.start, buffer.end, in ValidateModule() 115 i::wasm::ModuleOrigin::kWasmOrigin); in ValidateModule() 236 i::wasm::WasmModule::Instantiate(i_isolate, &thrower, i_obj, ffi, memory); in WebAssemblyInstance() 323 maximum = static_cast<int>(i::wasm::WasmModule::kV8MaxTableSize); in WebAssemblyTable() 369 size_t size = static_cast<size_t>(i::wasm::WasmModule::kPageSize) * in WebAssemblyMemory() 506 i::wasm::UpdateDispatchTables(i_isolate, dispatch_tables, i, in WebAssemblyTableSet() 509 i::wasm::UpdateDispatchTables(i_isolate, dispatch_tables, i, in WebAssemblyTableSet() [all …]
|
D | wasm-module.cc | 27 using namespace v8::internal::wasm; 602 const char* wasm::SectionName(WasmSectionCode code) { in SectionName() 635 std::ostream& wasm::operator<<(std::ostream& os, const WasmModule& module) { in operator <<() 645 std::ostream& wasm::operator<<(std::ostream& os, const WasmFunction& function) { in operator <<() 653 std::ostream& wasm::operator<<(std::ostream& os, const WasmFunctionName& pair) { in operator <<() 669 Object* wasm::GetOwningWasmInstance(Code* code) { in GetOwningWasmInstance() 681 int wasm::GetFunctionCodeOffset(Handle<WasmCompiledModule> compiled_module, in GetFunctionCodeOffset() 686 bool wasm::GetPositionInfo(Handle<WasmCompiledModule> compiled_module, in GetPositionInfo() 932 void wasm::UpdateDispatchTables(Isolate* isolate, in UpdateDispatchTables() 1198 DCHECK(wasm::IsWasmInstance(*instance)); in Build() [all …]
|
D | wasm-module.h | 31 namespace wasm { 364 Handle<SeqOneByteString> GetWasmBytes(Handle<JSObject> wasm); 368 Handle<WasmDebugInfo> GetDebugInfo(Handle<JSObject> wasm); 371 int GetNumberOfFunctions(Handle<JSObject> wasm);
|
D | signature-map.h | 15 namespace wasm {
|
/external/llvm/test/CodeGen/WebAssembly/ |
D | memory-addr32.ll | 1 ; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt | FileCheck %s 8 declare i32 @llvm.wasm.current.memory.i32() nounwind readonly 9 declare void @llvm.wasm.grow.memory.i32(i32) nounwind 16 %a = call i32 @llvm.wasm.current.memory.i32() 25 call void @llvm.wasm.grow.memory.i32(i32 %n)
|
D | memory-addr64.ll | 1 ; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt | FileCheck %s 8 declare i64 @llvm.wasm.current.memory.i64() nounwind readonly 9 declare void @llvm.wasm.grow.memory.i64(i64) nounwind 16 %a = call i64 @llvm.wasm.current.memory.i64() 25 call void @llvm.wasm.grow.memory.i64(i64 %n)
|
D | store-results.ll | 1 ; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt | FileCheck %s 3 ; Test that the wasm-store-results pass makes users of stored values use the 20 ; Test interesting corner cases for wasm-store-results, in which the operand of
|
D | store.ll | 1 ; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt | FileCheck %s 2 ; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt -fast-isel -fast-isel-abort…
|
D | load.ll | 1 ; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt | FileCheck %s 2 ; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt -fast-isel -fast-isel-abort…
|
D | select.ll | 1 ; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt | FileCheck %s 2 ; RUN: llc < %s -asm-verbose=false -disable-wasm-fallthrough-return-opt -fast-isel -fast-isel-abort… 4 ; Test that wasm select instruction is selected from LLVM select instruction.
|
D | non-executable-stack.ll | 4 ; because wasm's stack is always non-executable.
|
/external/v8/src/runtime/ |
D | runtime-wasm.cc | 34 Object* owning_instance = wasm::GetOwningWasmInstance(code); in RUNTIME_FUNCTION() 39 wasm::GetInstanceMemorySize(isolate, module_instance)); in RUNTIME_FUNCTION() 55 Object* owning_instance = wasm::GetOwningWasmInstance(code); in RUNTIME_FUNCTION() 60 wasm::GrowInstanceMemory(isolate, module_instance, delta_pages)); in RUNTIME_FUNCTION()
|
/external/llvm/include/llvm/IR/ |
D | IntrinsicsWebAssembly.td | 1 //===- IntrinsicsWebAssembly.td - Defines wasm intrinsics --*- tablegen -*-===// 15 let TargetPrefix = "wasm" in { // All intrinsics start with "llvm.wasm.".
|
/external/v8/src/ |
D | assembler.cc | 1059 Redirect(isolate, FUNCTION_ADDR(wasm::f32_trunc_wrapper))); in wasm_f32_trunc() 1063 Redirect(isolate, FUNCTION_ADDR(wasm::f32_floor_wrapper))); in wasm_f32_floor() 1067 Redirect(isolate, FUNCTION_ADDR(wasm::f32_ceil_wrapper))); in wasm_f32_ceil() 1071 Redirect(isolate, FUNCTION_ADDR(wasm::f32_nearest_int_wrapper))); in wasm_f32_nearest_int() 1076 Redirect(isolate, FUNCTION_ADDR(wasm::f64_trunc_wrapper))); in wasm_f64_trunc() 1081 Redirect(isolate, FUNCTION_ADDR(wasm::f64_floor_wrapper))); in wasm_f64_floor() 1086 Redirect(isolate, FUNCTION_ADDR(wasm::f64_ceil_wrapper))); in wasm_f64_ceil() 1091 Redirect(isolate, FUNCTION_ADDR(wasm::f64_nearest_int_wrapper))); in wasm_f64_nearest_int() 1096 Redirect(isolate, FUNCTION_ADDR(wasm::int64_to_float32_wrapper))); in wasm_int64_to_float32() 1101 Redirect(isolate, FUNCTION_ADDR(wasm::uint64_to_float32_wrapper))); in wasm_uint64_to_float32() [all …]
|
D | v8.gyp | 428 'asmjs/asm-wasm-builder.cc', 429 'asmjs/asm-wasm-builder.h', 740 'compiler/wasm-compiler.cc', 741 'compiler/wasm-compiler.h', 742 'compiler/wasm-linkage.cc', 1180 'runtime/runtime-wasm.cc', 1263 'wasm/ast-decoder.cc', 1264 'wasm/ast-decoder.h', 1265 'wasm/decoder.h', 1266 'wasm/leb-helper.h', [all …]
|
/external/v8/ |
D | Android.v8.mk | 21 src/asmjs/asm-wasm-builder.cc \ 191 src/compiler/wasm-compiler.cc \ 192 src/compiler/wasm-linkage.cc \ 392 src/runtime/runtime-wasm.cc \ 425 src/wasm/ast-decoder.cc \ 426 src/wasm/module-decoder.cc \ 427 src/wasm/signature-map.cc \ 428 src/wasm/wasm-debug.cc \ 429 src/wasm/wasm-external-refs.cc \ 430 src/wasm/wasm-interpreter.cc \ [all …]
|
D | BUILD.gn | 892 "src/asmjs/asm-wasm-builder.cc", 893 "src/asmjs/asm-wasm-builder.h", 1212 "src/compiler/wasm-compiler.cc", 1213 "src/compiler/wasm-compiler.h", 1214 "src/compiler/wasm-linkage.cc", 1646 "src/runtime/runtime-wasm.cc", 1727 "src/wasm/ast-decoder.cc", 1728 "src/wasm/ast-decoder.h", 1729 "src/wasm/decoder.h", 1730 "src/wasm/leb-helper.h", [all …]
|