Home
last modified time | relevance | path

Searched refs:WasmFeatures (Results 1 – 25 of 35) sorted by relevance

12

/external/v8/src/wasm/
Dwasm-features.h30 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 …]
Dwasm-features.cc15 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()
Dfunction-body-decoder.cc22 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 …]
Dgraph-builder-interface.h23 class WasmFeatures; variable
27 BuildTFGraph(AccountingAllocator* allocator, const WasmFeatures& enabled,
29 WasmFeatures* detected, const FunctionBody& body,
Dmodule-decoder.h139 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_;
Dwasm-engine.h43 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,
Dfunction-compiler.cc124 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()
Dfunction-compiler.h85 Counters*, WasmFeatures* detected);
91 WasmFeatures* detected, const WasmFunction*,
98 Counters* counters, WasmFeatures* detected);
122 const WasmFeatures& enabled_features,
Dfunction-body-decoder.h22 class WasmFeatures; variable
40 const WasmFeatures& enabled,
42 WasmFeatures* detected,
68 V8_EXPORT_PRIVATE bool DecodeLocalDecls(const WasmFeatures& enabled,
Dsync-streaming-decoder.cc17 SyncStreamingDecoder(Isolate* isolate, const WasmFeatures& enabled, in SyncStreamingDecoder()
93 const WasmFeatures enabled_;
103 Isolate* isolate, const WasmFeatures& enabled, Handle<Context> context, in CreateSyncStreamingDecoder()
Dmodule-compiler.h44 Isolate* isolate, const WasmFeatures& enabled, ErrorThrower* thrower,
112 AsyncCompileJob(Isolate* isolate, const WasmFeatures& enabled_features,
203 const WasmFeatures enabled_features_;
Dcompilation-environment.h62 const WasmFeatures enabled_features;
73 const WasmFeatures& enabled_features,
Dwasm-engine.cc435 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()
Dwasm-opcodes.cc37 const WasmFeatures& enabled_features) { in IsJSCompatibleSignature()
Dmodule-compiler.cc584 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 …]
Dmodule-decoder.cc274 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 …]
Dwasm-code-manager.h620 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,
Dstreaming-decoder.h111 Isolate* isolate, const WasmFeatures& enabled, Handle<Context> context,
Dfunction-body-decoder-impl.h197 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 …]
Dwasm-js.cc51 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 …]
Dwasm-debug-evaluate.cc367 wasm::WasmFeatures features = wasm::WasmFeatures::FromIsolate(isolate); in DebugEvaluateImpl()
Dwasm-serialization.cc618 WasmFeatures enabled_features = WasmFeatures::FromIsolate(isolate); in DeserializeNativeModule()
Dwasm-module.cc348 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/
Dliftoff-compiler.h21 class WasmFeatures; variable
58 ForDebugging, Counters*, WasmFeatures* detected_features,
/external/v8/src/compiler/
Dwasm-compiler.h47 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);

12