/external/v8/src/wasm/ |
D | wasm-features.h | 30 class WasmFeatures : public base::EnumSet<WasmFeature> { 32 constexpr WasmFeatures() = default; 33 explicit constexpr WasmFeatures(std::initializer_list<WasmFeature> features) in WasmFeatures() function 51 static inline constexpr WasmFeatures All(); 52 static inline constexpr WasmFeatures None(); 53 static inline constexpr WasmFeatures ForAsmjs(); 54 static WasmFeatures FromFlags(); 55 static V8_EXPORT_PRIVATE WasmFeatures FromIsolate(Isolate*); 59 constexpr WasmFeatures WasmFeatures::All() { in All() 61 return WasmFeatures({FOREACH_WASM_FEATURE(LIST_FEATURE)}); in All() [all …]
|
D | wasm-features.cc | 15 WasmFeatures WasmFeatures::FromFlags() { in FromFlags() 16 WasmFeatures features = WasmFeatures::None(); in FromFlags() 25 WasmFeatures WasmFeatures::FromIsolate(Isolate* isolate) { in FromIsolate() 26 WasmFeatures features = WasmFeatures::FromFlags(); in FromIsolate()
|
D | function-body-decoder.cc | 22 bool DecodeLocalDecls(const WasmFeatures& enabled, BodyLocalDecls* decls, in DecodeLocalDecls() 24 WasmFeatures no_features = WasmFeatures::None(); in DecodeLocalDecls() 45 if (DecodeLocalDecls(WasmFeatures::All(), decls, start, end)) { in BytecodeIterator() 53 const WasmFeatures& enabled, in VerifyWasmCode() 54 const WasmModule* module, WasmFeatures* detected, in VerifyWasmCode() 64 WasmFeatures no_features = WasmFeatures::None(); in OpcodeLength() 76 WasmFeatures unused_detected_features = WasmFeatures::None(); in StackEffect() 79 no_zone, module, WasmFeatures::All(), &unused_detected_features, sig, pc, in StackEffect() 126 WasmFeatures unused_detected_features = WasmFeatures::None(); in PrintRawWasmCode() 128 &zone, module, WasmFeatures::All(), &unused_detected_features, body.sig, in PrintRawWasmCode() [all …]
|
D | graph-builder-interface.h | 23 class WasmFeatures; variable 27 BuildTFGraph(AccountingAllocator* allocator, const WasmFeatures& enabled, 29 WasmFeatures* detected, const FunctionBody& body,
|
D | module-decoder.h | 139 const WasmFeatures& enabled, const byte* module_start, 148 const WasmFeatures& enabled, Zone* zone, const byte* start, 154 const WasmFeatures& enabled, Zone* zone, const ModuleWireBytes& wire_bytes, 159 const WasmFeatures& enabled, const byte* start, const byte* end); 199 explicit ModuleDecoder(const WasmFeatures& enabled); 237 const WasmFeatures enabled_features_;
|
D | wasm-engine.h | 43 class WasmFeatures; variable 146 bool SyncValidate(Isolate* isolate, const WasmFeatures& enabled, 162 const WasmFeatures& enabled, 178 void AsyncCompile(Isolate* isolate, const WasmFeatures& enabled, 190 Isolate* isolate, const WasmFeatures& enabled, Handle<Context> context, 269 Isolate* isolate, const WasmFeatures& enabled_features, 356 Isolate* isolate, const WasmFeatures& enabled,
|
D | function-compiler.cc | 124 Counters* counters, WasmFeatures* detected) { in ExecuteCompilation() 161 Counters* counters, WasmFeatures* detected) { in ExecuteFunctionCompilation() 243 WasmFeatures* detected, in CompileWasmFunction() 297 const WasmFeatures& enabled_features, AllowGeneric allow_generic) in JSToWasmWrapperCompilationUnit() 340 WasmFeatures enabled_features = WasmFeatures::FromIsolate(isolate); in CompileJSToWasmWrapper() 353 WasmFeatures enabled_features = WasmFeatures::FromIsolate(isolate); in CompileSpecificJSToWasmWrapper()
|
D | function-compiler.h | 85 Counters*, WasmFeatures* detected); 91 WasmFeatures* detected, const WasmFunction*, 98 Counters* counters, WasmFeatures* detected); 122 const WasmFeatures& enabled_features,
|
D | function-body-decoder.h | 22 class WasmFeatures; variable 40 const WasmFeatures& enabled, 42 WasmFeatures* detected, 68 V8_EXPORT_PRIVATE bool DecodeLocalDecls(const WasmFeatures& enabled,
|
D | sync-streaming-decoder.cc | 17 SyncStreamingDecoder(Isolate* isolate, const WasmFeatures& enabled, in SyncStreamingDecoder() 93 const WasmFeatures enabled_; 103 Isolate* isolate, const WasmFeatures& enabled, Handle<Context> context, in CreateSyncStreamingDecoder()
|
D | module-compiler.h | 44 Isolate* isolate, const WasmFeatures& enabled, ErrorThrower* thrower, 112 AsyncCompileJob(Isolate* isolate, const WasmFeatures& enabled_features, 203 const WasmFeatures enabled_features_;
|
D | compilation-environment.h | 62 const WasmFeatures enabled_features; 73 const WasmFeatures& enabled_features,
|
D | wasm-engine.cc | 435 bool WasmEngine::SyncValidate(Isolate* isolate, const WasmFeatures& enabled, in SyncValidate() 457 WasmFeatures::ForAsmjs(), bytes.start(), bytes.end(), false, origin, in SyncCompileTranslatedAsmJs() 475 CompileToNativeModule(isolate, WasmFeatures::ForAsmjs(), thrower, in SyncCompileTranslatedAsmJs() 496 Isolate* isolate, const WasmFeatures& enabled, ErrorThrower* thrower, in SyncCompile() 587 Isolate* isolate, const WasmFeatures& enabled, in AsyncCompile() 637 Isolate* isolate, const WasmFeatures& enabled, Handle<Context> context, in StartStreamingCompilation() 654 WasmFeatures detected = WasmFeatures::None(); in CompileFunction() 858 Isolate* isolate, const WasmFeatures& enabled, in CreateAsyncCompileJob() 1048 Isolate* isolate, const WasmFeatures& enabled, in NewNativeModule()
|
D | wasm-opcodes.cc | 37 const WasmFeatures& enabled_features) { in IsJSCompatibleSignature()
|
D | module-compiler.cc | 584 void OnCompilationStopped(const WasmFeatures& detected); 622 WasmFeatures* detected_features() { return &detected_features_; } in detected_features() 681 WasmFeatures detected_features_ = WasmFeatures::None(); 745 void UpdateFeatureUseCounts(Isolate* isolate, const WasmFeatures& detected) { in UpdateFeatureUseCounts() 859 const WasmFeatures& enabled_features, in GetCompileStrategy() 886 const WasmFeatures& enabled_features, uint32_t func_index) { in GetRequestedExecutionTiers() 1029 WasmFeatures enabled_features) { in ValidateSingleFunction() 1034 WasmFeatures detected; in ValidateSingleFunction() 1243 WasmFeatures detected_features = WasmFeatures::None(); in ExecuteCompilationUnits() 1324 const WasmFeatures& enabled_features) { in AddExportWrapperUnits() [all …]
|
D | module-decoder.cc | 274 explicit ModuleDecoderImpl(const WasmFeatures& enabled, ModuleOrigin origin) in ModuleDecoderImpl() 279 ModuleDecoderImpl(const WasmFeatures& enabled, const byte* module_start, in ModuleDecoderImpl() 1308 const WasmFeatures enabled_features_; 1445 WasmFeatures unused_detected_features = WasmFeatures::None(); in VerifyFunctionBody() 1850 origin_ == kWasmOrigin ? enabled_features_ : WasmFeatures::None()); in consume_value_type() 2145 HeapTypeImmediate<kFullValidation> imm(WasmFeatures::All(), this, in consume_element_expr() 2165 const WasmFeatures& enabled, const byte* module_start, in DecodeWasmModule() 2209 ModuleDecoder::ModuleDecoder(const WasmFeatures& enabled) in ModuleDecoder() 2268 const FunctionSig* DecodeWasmSignatureForTesting(const WasmFeatures& enabled, in DecodeWasmSignatureForTesting() 2275 WasmInitExpr DecodeWasmInitExprForTesting(const WasmFeatures& enabled, in DecodeWasmInitExprForTesting() [all …]
|
D | wasm-code-manager.h | 620 const WasmFeatures& enabled_features() const { return enabled_features_; } in enabled_features() 687 NativeModule(WasmEngine* engine, const WasmFeatures& enabled_features, 728 const WasmFeatures enabled_features_; 847 const WasmFeatures& enabled_features, size_t code_size_estimate,
|
D | streaming-decoder.h | 111 Isolate* isolate, const WasmFeatures& enabled, Handle<Context> context,
|
D | function-body-decoder-impl.h | 197 uint32_t* const length, const WasmFeatures& enabled) { in read_heap_type() 220 WasmFeatures::name_for_feature(feature_for_heap_type(result))); in read_heap_type() 257 uint32_t* const length, const WasmFeatures& enabled) { in read_value_type() 278 WasmFeatures::name_for_feature(feature_for_heap_type(heap_type))); in read_value_type() 434 inline SelectTypeImmediate(const WasmFeatures& enabled, Decoder* decoder, in SelectTypeImmediate() 461 inline BlockTypeImmediate(const WasmFeatures& enabled, Decoder* decoder, in BlockTypeImmediate() 603 inline CallIndirectImmediate(const WasmFeatures enabled, Decoder* decoder, in CallIndirectImmediate() 807 inline HeapTypeImmediate(const WasmFeatures& enabled, Decoder* decoder, in HeapTypeImmediate() 1078 WasmDecoder(Zone* zone, const WasmModule* module, const WasmFeatures& enabled, 1079 WasmFeatures* detected, const FunctionSig* sig, const byte* start, [all …]
|
D | wasm-js.cc | 51 auto enabled_features = i::wasm::WasmFeatures::FromIsolate(i_isolate); in WasmStreamingImpl() 520 auto enabled_features = i::wasm::WasmFeatures::FromIsolate(i_isolate); in WebAssemblyCompile() 635 auto enabled_features = i::wasm::WasmFeatures::FromIsolate(i_isolate); in WebAssemblyValidate() 678 auto enabled_features = i::wasm::WasmFeatures::FromIsolate(i_isolate); in WebAssemblyModule() 975 auto enabled_features = i::wasm::WasmFeatures::FromIsolate(i_isolate); in WebAssemblyInstantiate() 1045 auto enabled_features = i::wasm::WasmFeatures::FromFlags(); in GetInitialOrMinimumProperty() 1086 auto enabled_features = i::wasm::WasmFeatures::FromFlags(); in WebAssemblyTable() 1155 auto enabled_features = i::wasm::WasmFeatures::FromIsolate(i_isolate); in WebAssemblyMemory() 1206 i::wasm::WasmFeatures enabled_features) { in GetValueType() 1255 auto enabled_features = i::wasm::WasmFeatures::FromIsolate(i_isolate); in WebAssemblyGlobal() [all …]
|
D | wasm-debug-evaluate.cc | 367 wasm::WasmFeatures features = wasm::WasmFeatures::FromIsolate(isolate); in DebugEvaluateImpl()
|
D | wasm-serialization.cc | 618 WasmFeatures enabled_features = WasmFeatures::FromIsolate(isolate); in DeserializeNativeModule()
|
D | wasm-module.cc | 348 auto enabled_features = i::wasm::WasmFeatures::FromIsolate(isolate); in GetImports() 448 auto enabled_features = i::wasm::WasmFeatures::FromIsolate(isolate); in GetExports()
|
/external/v8/src/wasm/baseline/ |
D | liftoff-compiler.h | 21 class WasmFeatures; variable 58 ForDebugging, Counters*, WasmFeatures* detected_features,
|
/external/v8/src/compiler/ |
D | wasm-compiler.h | 47 class WasmFeatures; variable 55 int func_index, Counters*, wasm::WasmFeatures* detected); 107 const wasm::WasmFeatures& enabled_features); 124 bool is_import, const wasm::WasmFeatures& enabled_features);
|