Home
last modified time | relevance | path

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

/external/v8/src/wasm/
Dwasm-features.h29 struct WasmFeatures { struct
32 constexpr WasmFeatures() = default;
34 explicit constexpr WasmFeatures(FOREACH_WASM_FEATURE(DECL_PARAM, COMMA)) in WasmFeatures() argument
38 static constexpr WasmFeatures kAllWasmFeatures{
41 static constexpr WasmFeatures kNoWasmFeatures{
52 static constexpr WasmFeatures kAsmjsWasmFeatures = kNoWasmFeatures;
54 V8_EXPORT_PRIVATE WasmFeatures WasmFeaturesFromFlags();
58 V8_EXPORT_PRIVATE WasmFeatures WasmFeaturesFromIsolate(Isolate* isolate);
60 V8_EXPORT_PRIVATE void UnionFeaturesInto(WasmFeatures* dst,
61 const WasmFeatures& src);
Dwasm-features.cc19 void UnionFeaturesInto(WasmFeatures* dst, const WasmFeatures& src) { in UnionFeaturesInto()
23 WasmFeatures WasmFeaturesFromFlags() { in WasmFeaturesFromFlags()
24 return WasmFeatures{FOREACH_WASM_FEATURE(FLAG_REF, COMMA)}; in WasmFeaturesFromFlags()
27 WasmFeatures WasmFeaturesFromIsolate(Isolate* isolate) { in WasmFeaturesFromIsolate()
28 WasmFeatures features = WasmFeaturesFromFlags(); in WasmFeaturesFromIsolate()
Dmodule-decoder.h63 const WasmFeatures& enabled, const byte* module_start,
70 const WasmFeatures& enabled, Zone* zone, const byte* start,
76 const WasmFeatures& enabled, Zone* zone, const ModuleWireBytes& wire_bytes,
81 const WasmFeatures& enabled, const byte* start, const byte* end);
117 explicit ModuleDecoder(const WasmFeatures& enabled);
151 const WasmFeatures enabled_features_;
Dwasm-engine.h26 struct WasmFeatures;
52 bool SyncValidate(Isolate* isolate, const WasmFeatures& enabled,
65 const WasmFeatures& enabled,
81 void AsyncCompile(Isolate* isolate, const WasmFeatures& enabled,
92 Isolate* isolate, const WasmFeatures& enabled, Handle<Context> context,
148 Isolate* isolate, const WasmFeatures& enabled,
Dfunction-body-decoder.h29 struct WasmFeatures;
46 const WasmFeatures& enabled,
48 WasmFeatures* detected,
52 const WasmFeatures& enabled, const WasmModule* module,
53 TFBuilder* builder, WasmFeatures* detected,
79 V8_EXPORT_PRIVATE bool DecodeLocalDecls(const WasmFeatures& enabled,
Dwasm-engine.cc29 bool WasmEngine::SyncValidate(Isolate* isolate, const WasmFeatures& enabled, in SyncValidate()
56 Isolate* isolate, const WasmFeatures& enabled, ErrorThrower* thrower, in SyncCompile()
116 Isolate* isolate, const WasmFeatures& enabled, in AsyncCompile()
163 Isolate* isolate, const WasmFeatures& enabled, Handle<Context> context, in StartStreamingCompilation()
175 WasmFeatures detected = kNoWasmFeatures; in CompileFunction()
228 Isolate* isolate, const WasmFeatures& enabled, in CreateAsyncCompileJob()
Dmodule-compiler.h52 Isolate* isolate, const WasmFeatures& enabled, ErrorThrower* thrower,
81 AsyncCompileJob(Isolate* isolate, const WasmFeatures& enabled_features,
146 const WasmFeatures enabled_features_;
Dfunction-compiler.h94 void ExecuteCompilation(WasmFeatures* detected);
98 Isolate* isolate, NativeModule* native_module, WasmFeatures* detected,
Dwasm-code-manager.h341 const WasmFeatures& enabled_features() const { return enabled_features_; } in enabled_features()
348 NativeModule(Isolate* isolate, const WasmFeatures& enabled_features,
387 const WasmFeatures enabled_features_;
440 Isolate* isolate, const WasmFeatures& enabled_features,
Dfunction-compiler.cc76 void WasmCompilationUnit::ExecuteCompilation(WasmFeatures* detected) { in ExecuteCompilation()
148 Isolate* isolate, NativeModule* native_module, WasmFeatures* detected, in CompileWasmFunction()
Dmodule-compiler.cc93 void OnBackgroundTaskStopped(const WasmFeatures& detected);
94 void PublishDetectedFeatures(Isolate* isolate, const WasmFeatures& detected);
117 WasmFeatures* detected_features() { return &detected_features_; } in detected_features()
155 WasmFeatures detected_features_ = kNoWasmFeatures;
175 void UpdateFeatureUseCounts(Isolate* isolate, const WasmFeatures& detected) { in UpdateFeatureUseCounts()
239 const WasmFeatures enabled_;
517 WasmFeatures* detected) { in FetchAndExecuteCompilationUnit()
631 WasmFeatures detected_features; in CompileInParallel()
674 WasmFeatures detected = kNoWasmFeatures; in CompileSequentially()
713 WasmFeatures detected; in ValidateSequentially()
[all …]
Dmodule-decoder.cc249 explicit ModuleDecoderImpl(const WasmFeatures& enabled, ModuleOrigin origin) in ModuleDecoderImpl()
254 ModuleDecoderImpl(const WasmFeatures& enabled, const byte* module_start, in ModuleDecoderImpl()
934 const WasmFeatures enabled_features_;
1058 WasmFeatures unused_detected_features; in VerifyFunctionBody()
1392 ModuleResult DecodeWasmModule(const WasmFeatures& enabled, in DecodeWasmModule()
1426 ModuleDecoder::ModuleDecoder(const WasmFeatures& enabled) in ModuleDecoder()
1491 FunctionSig* DecodeWasmSignatureForTesting(const WasmFeatures& enabled, in DecodeWasmSignatureForTesting()
1498 WasmInitExpr DecodeWasmInitExprForTesting(const WasmFeatures& enabled, in DecodeWasmInitExprForTesting()
1506 const WasmFeatures& enabled, Zone* zone, const ModuleWireBytes& wire_bytes, in DecodeWasmFunctionForTesting()
Dfunction-body-decoder.cc812 bool DecodeLocalDecls(const WasmFeatures& enabled, BodyLocalDecls* decls, in DecodeLocalDecls()
836 const WasmFeatures& enabled, in VerifyWasmCode()
837 const WasmModule* module, WasmFeatures* detected, in VerifyWasmCode()
847 const WasmFeatures& enabled, in BuildTFGraph()
849 WasmFeatures* detected, FunctionBody& body, in BuildTFGraph()
872 WasmFeatures unused_detected_features; in StackEffect()
909 WasmFeatures unused_detected_features; in PrintRawWasmCode()
Dwasm-objects.h33 struct WasmFeatures;
137 Isolate* isolate, const wasm::WasmFeatures& enabled,
Dfunction-body-decoder-impl.h217 inline BlockTypeImmediate(const WasmFeatures& enabled, Decoder* decoder, in BlockTypeImmediate()
671 WasmDecoder(const WasmModule* module, const WasmFeatures& enabled,
672 WasmFeatures* detected, FunctionSig* sig, const byte* start,
681 const WasmFeatures enabled_;
682 WasmFeatures* detected_;
693 static bool DecodeLocals(const WasmFeatures& enabled, Decoder* decoder, in DecodeLocals()
1231 const WasmFeatures& enabled, WasmFeatures* detected, in WasmFullDecoder()
Dwasm-code-manager.cc311 NativeModule::NativeModule(Isolate* isolate, const WasmFeatures& enabled, in NativeModule()
884 Isolate* isolate, const WasmFeatures& enabled, size_t memory_estimate, in NewNativeModule()
Dwasm-serialization.cc549 WasmFeatures enabled_features = WasmFeaturesFromIsolate(isolate); in DeserializeNativeModule()
Dwasm-objects.cc181 Isolate* isolate, const wasm::WasmFeatures& enabled, in New()
/external/v8/src/wasm/baseline/
Dliftoff-compiler.h14 struct WasmFeatures;
24 bool ExecuteCompilation(WasmFeatures* detected);
Dliftoff-compiler.cc1842 bool LiftoffCompilationUnit::ExecuteCompilation(WasmFeatures* detected) { in ExecuteCompilation()
/external/v8/src/compiler/
Dwasm-compiler.h43 struct WasmFeatures;
53 SourcePositionTable* BuildGraphForWasmFunction(wasm::WasmFeatures* detected,
58 void ExecuteCompilation(wasm::WasmFeatures* detected);
Dwasm-compiler.cc5056 wasm::WasmFeatures* detected, double* decode_ms, MachineGraph* mcgraph, in BuildGraphForWasmFunction()
5125 wasm::WasmFeatures* detected) { in ExecuteCompilation()