v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
wasm-module.h File Reference
Include dependency graph for wasm-module.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  v8::internal::wasm::WireBytesRef
 
struct  v8::internal::wasm::WasmFunction
 
struct  v8::internal::wasm::WasmGlobal
 
struct  v8::internal::wasm::WasmTag
 
struct  v8::internal::wasm::WasmMemory
 
struct  v8::internal::wasm::WasmStringRefLiteral
 
struct  v8::internal::wasm::WasmDataSegment
 
struct  v8::internal::wasm::WasmElemSegment
 
struct  v8::internal::wasm::WasmImport
 
struct  v8::internal::wasm::WasmExport
 
struct  v8::internal::wasm::WasmCompilationHint
 
class  v8::internal::wasm::AdaptiveMap< Value >
 
class  v8::internal::wasm::LazilyGeneratedNames
 
class  v8::internal::wasm::AsmJsOffsetInformation
 
struct  v8::internal::wasm::TypeDefinition
 
struct  v8::internal::wasm::WasmDebugSymbols
 
class  v8::internal::wasm::CallSiteFeedback
 
struct  v8::internal::wasm::CallSiteFeedback::PolymorphicCase
 
struct  v8::internal::wasm::FunctionTypeFeedback
 
struct  v8::internal::wasm::TypeFeedbackStorage
 
struct  v8::internal::wasm::WasmTable
 
struct  v8::internal::wasm::WasmModule
 
struct  v8::internal::wasm::ModuleWireBytes
 
struct  v8::internal::wasm::WasmFunctionName
 
class  v8::internal::wasm::TruncatedUserString< kMaxLen >
 

Namespaces

namespace  v8
 
namespace  v8::internal
 
namespace  v8::internal::wasm
 

Macros

#define SELECT_WASM_COUNTER(counters, origin, prefix, suffix)
 

Typedefs

using v8::internal::wasm::WasmTagSig = FunctionSig
 
using v8::internal::wasm::NameMap = AdaptiveMap<WireBytesRef>
 
using v8::internal::wasm::IndirectNameMap = AdaptiveMap<AdaptiveMap<WireBytesRef>>
 

Enumerations

enum class  v8::internal::wasm::AddressType : uint8_t { v8::internal::wasm::kI32 , v8::internal::wasm::kI64 }
 
enum  v8::internal::wasm::ModuleOrigin : uint8_t { v8::internal::wasm::kWasmOrigin , v8::internal::wasm::kAsmJsSloppyOrigin , v8::internal::wasm::kAsmJsStrictOrigin }
 
enum  v8::internal::wasm::BoundsCheckStrategy : int8_t { v8::internal::wasm::kTrapHandler , v8::internal::wasm::kExplicitBoundsChecks , v8::internal::wasm::kNoBoundsChecks }
 
enum class  v8::internal::wasm::WasmCompilationHintStrategy : uint8_t { v8::internal::wasm::kDefault = 0 , v8::internal::wasm::kLazy = 1 , v8::internal::wasm::kEager = 2 , v8::internal::wasm::kLazyBaselineEagerTopTier = 3 }
 
enum class  v8::internal::wasm::WasmCompilationHintTier : uint8_t { v8::internal::wasm::kDefault = 0 , v8::internal::wasm::kBaseline = 1 , v8::internal::wasm::kOptimized = 2 }
 

Functions

constexpr const char * v8::internal::wasm::AddressTypeToStr (AddressType address_type)
 
std::ostream & v8::internal::wasm::operator<< (std::ostream &os, AddressType address_type)
 
void v8::internal::wasm::UpdateComputedInformation (WasmMemory *memory, ModuleOrigin origin)
 
bool v8::internal::wasm::is_asmjs_module (const WasmModule *module)
 
int v8::internal::wasm::GetWasmFunctionOffset (const WasmModule *module, uint32_t func_index)
 
int v8::internal::wasm::GetContainingWasmFunction (const WasmModule *module, uint32_t byte_offset)
 
int v8::internal::wasm::GetNearestWasmFunction (const WasmModule *module, uint32_t byte_offset)
 
int v8::internal::wasm::GetSubtypingDepth (const WasmModule *module, ModuleTypeIndex type_index)
 
 v8::internal::wasm::ASSERT_TRIVIALLY_COPYABLE (ModuleWireBytes)
 
std::ostream & v8::internal::wasm::operator<< (std::ostream &os, const WasmFunctionName &name)
 
bool v8::internal::wasm::IsWasmCodegenAllowed (Isolate *isolate, DirectHandle< NativeContext > context)
 
DirectHandle< Stringv8::internal::wasm::ErrorStringForCodegen (Isolate *isolate, DirectHandle< Context > context)
 
DirectHandle< JSObjectv8::internal::wasm::GetTypeForFunction (Isolate *isolate, const FunctionSig *sig, bool for_exception)
 
DirectHandle< JSObjectv8::internal::wasm::GetTypeForGlobal (Isolate *isolate, bool is_mutable, ValueType type)
 
DirectHandle< JSObjectv8::internal::wasm::GetTypeForMemory (Isolate *isolate, uint32_t min_size, std::optional< uint64_t > max_size, bool shared, AddressType address_type)
 
DirectHandle< JSObjectv8::internal::wasm::GetTypeForTable (Isolate *isolate, ValueType type, uint32_t min_size, std::optional< uint64_t > max_size, AddressType address_type)
 
DirectHandle< JSArrayv8::internal::wasm::GetImports (Isolate *isolate, DirectHandle< WasmModuleObject > module_object)
 
DirectHandle< JSArrayv8::internal::wasm::GetExports (Isolate *isolate, DirectHandle< WasmModuleObject > module_object)
 
DirectHandle< JSArrayv8::internal::wasm::GetCustomSections (Isolate *isolate, DirectHandle< WasmModuleObject > module_object, DirectHandle< String > name, ErrorThrower *thrower)
 
int v8::internal::wasm::GetSourcePosition (const WasmModule *module, uint32_t func_index, uint32_t byte_offset, bool is_at_number_conversion)
 
int v8::internal::wasm::declared_function_index (const WasmModule *module, int func_index)
 
int v8::internal::wasm::JumpTableOffset (const WasmModule *module, int func_index)
 
size_t v8::internal::wasm::PrintSignature (base::Vector< char > buffer, const CanonicalSig *sig, char delimiter)
 
size_t v8::internal::wasm::GetWireBytesHash (base::Vector< const uint8_t > wire_bytes)
 
int v8::internal::wasm::NumFeedbackSlots (const WasmModule *module, int func_index)
 

Variables

constexpr ModuleTypeIndex v8::internal::wasm::kNoSuperType = ModuleTypeIndex::Invalid()
 
constexpr ModuleTypeIndex v8::internal::wasm::kNoType = ModuleTypeIndex::Invalid()
 

Macro Definition Documentation

◆ SELECT_WASM_COUNTER

#define SELECT_WASM_COUNTER ( counters,
origin,
prefix,
suffix )
Value:
((origin) == kWasmOrigin ? (counters)->prefix##_wasm_##suffix() \
: (counters)->prefix##_asm_##suffix())

Definition at line 317 of file wasm-module.h.