v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::wasm Namespace Reference

Namespaces

namespace  baseline
 
namespace  detail
 
namespace  fuzzing
 
namespace  gdb_server
 
namespace  impl
 
namespace  liftoff
 
namespace  value_type_impl
 
namespace  value_type_reader
 

Classes

class  AdaptiveMap
 
struct  ArrayIndexImmediate
 
class  ArrayType
 
class  ArrayTypeBase
 
class  AsmCallableType
 
class  AsmFunctionType
 
struct  AsmJsOffsetEntry
 
struct  AsmJsOffsetFunctionEntries
 
class  AsmJsOffsetInformation
 
struct  AsmJsOffsets
 
class  AsmJsParser
 
class  AsmOverloadedFunctionType
 
class  AsmType
 
class  AsmValueType
 
class  AssumptionsJournal
 
class  AsyncCompileJob
 
class  AsyncStreamingDecoder
 
class  AsyncStreamingProcessor
 
struct  BlockTypeImmediate
 
struct  BodyLocalDecls
 
struct  BranchDepthImmediate
 
class  BranchHintMap
 
struct  BranchOnCastData
 
struct  BranchTableImmediate
 
class  BranchTableIterator
 
struct  BrOnCastFlags
 
struct  BrOnCastImmediate
 
class  BuiltinLookup
 
class  BytecodeIterator
 
struct  CallFunctionImmediate
 
struct  CallIndirectImmediate
 
class  CallSiteFeedback
 
class  CanonicalArrayType
 
class  CanonicalContType
 
class  CanonicalSig
 
class  CanonicalStructType
 
struct  CanonicalTypeIndex
 
class  CanonicalTypeNamesProvider
 
class  CanonicalValueType
 
struct  CatchCase
 
class  ClearThreadInWasmScope
 
class  CodeSpaceWriteScope
 
struct  CompilationEnv
 
class  CompilationEventCallback
 
class  CompilationResultResolver
 
class  CompilationState
 
class  CompileTimeImports
 
class  ConstantExpression
 
class  ConstantExpressionInterface
 
struct  ContIndexImmediate
 
struct  ControlBase
 
class  ContType
 
struct  CustomSectionOffset
 
class  CWasmArgumentsPacker
 
class  DebugInfo
 
class  DebugInfoImpl
 
class  DebugSideTable
 
class  DecodedNameSection
 
class  Decoder
 
class  DeserializationQueue
 
struct  DeserializationUnit
 
class  DeserializeCodeTask
 
class  DisjointAllocationPool
 
class  EffectHandlerTableIterator
 
class  EmptyInterface
 
class  ErrorThrower
 
class  FastZoneVector
 
class  FeedbackMaker
 
struct  FieldImmediate
 
struct  FrameState
 
class  FreezeCacheState
 
struct  FunctionBody
 
class  FunctionBodyDisassembler
 
struct  FunctionTypeFeedback
 
class  GetProtectedInstruction
 
struct  GlobalIndexImmediate
 
struct  handler_traits
 
struct  handler_traits< false >
 
struct  handler_traits< true >
 
struct  HandlerCase
 
class  Handlers
 
class  HandlersBase
 
class  HeapType
 
struct  HeapTypeImmediate
 
class  ImmediatesPrinter
 
struct  ImmF32Immediate
 
struct  ImmF64Immediate
 
struct  ImmI32Immediate
 
struct  ImmI64Immediate
 
class  Indentation
 
class  IndependentHeapType
 
class  IndependentValueType
 
struct  IndexImmediate
 
class  IndirectFunctionTableEntry
 
class  InliningTree
 
class  InstanceBuilder
 
class  InstantiationResultResolver
 
struct  InterpreterCode
 
class  InterpreterHandle
 
class  ITracer
 
class  JSToWasmWrapperCompilationUnit
 
struct  JumpBuffer
 
class  JumpTableAssembler
 
struct  LabelInfo
 
class  LazilyGeneratedNames
 
class  LEBHelper
 
class  LiftoffAssembler
 
struct  LiftoffFrameDescriptionForDeopt
 
struct  LiftoffOptions
 
class  LiftoffRegister
 
class  LiftoffRegList
 
class  LiftoffStackSlots
 
class  LiftoffVarState
 
class  LinkageAllocator
 
class  LinkageLocationAllocator
 
class  LoadType
 
class  LocalDeclEncoder
 
struct  LocalDeclEncoderBuffer
 
struct  MemoryAccessImmediate
 
struct  MemoryCopyImmediate
 
struct  MemoryIndexImmediate
 
struct  MemoryInitImmediate
 
struct  MemoryTracingInfo
 
struct  Merge
 
class  ModuleDecoder
 
class  ModuleDecoderImpl
 
class  ModuleDisassembler
 
struct  ModuleTypeIndex
 
struct  ModuleWireBytes
 
class  MultiLineStringBuilder
 
class  NamesProvider
 
class  NativeModule
 
class  NativeModuleCache
 
class  NativeModuleDeserializer
 
class  NativeModuleSerializer
 
class  NoVector
 
class  ObjectAccess
 
class  OffsetsProvider
 
class  ParallelMove
 
struct  PcForErrors
 
struct  PcForErrors< true >
 
class  ProfileGenerator
 
class  ProfileInformation
 
struct  RegModeTransform
 
class  ResolvedWasmImport
 
class  Result
 
struct  SelectTypeImmediate
 
struct  SigIndexImmediate
 
class  SignatureHasher
 
struct  Simd128Immediate
 
struct  SimdLaneImmediate
 
class  SimdShuffle
 
class  SimdSwizzle
 
struct  Slot
 
struct  StackHandlerMarker
 
class  StackMemory
 
class  StackPool
 
class  StoreType
 
class  StreamingDecoder
 
class  StreamingProcessor
 
class  StringBuilder
 
struct  StringConstImmediate
 
struct  StructIndexImmediate
 
class  StructType
 
class  StructTypeBase
 
class  SyncStreamingDecoder
 
struct  TableCopyImmediate
 
struct  TableIndexImmediate
 
struct  TableInitImmediate
 
struct  TagIndexImmediate
 
class  TransitiveTypeFeedbackProcessor
 
struct  TreeNodeOrdering
 
class  TruncatedUserString
 
class  TryTableIterator
 
class  TurboshaftGraphBuildingInterface
 
class  TypeCanonicalizer
 
struct  TypeDefinition
 
struct  TypeFeedbackStorage
 
struct  TypeIndex
 
struct  TypeIndexImmediate
 
struct  TypeInModule
 
struct  UnpublishedWasmCode
 
class  ValidateFunctionsStreamingJob
 
struct  ValidateFunctionsStreamingJobData
 
struct  ValueBase
 
class  ValueType
 
class  ValueTypeBase
 
class  ValueTypes
 
class  WasmBytecode
 
class  WasmBytecodeGenerator
 
class  WasmCode
 
class  WasmCodeAllocator
 
class  WasmCodeLookupCache
 
class  WasmCodeManager
 
class  WasmCodePointerTable
 
struct  WasmCodePointerTableEntry
 
class  WasmCodeRefScope
 
struct  WasmCompilationHint
 
struct  WasmCompilationResult
 
class  WasmCompilationUnit
 
struct  WasmDataSegment
 
struct  WasmDebugSymbols
 
class  WasmDecoder
 
struct  WasmDeoptData
 
class  WasmDeoptDataProcessor
 
struct  WasmDeoptEntry
 
class  WasmDeoptView
 
class  WasmDetectedFeatures
 
class  WasmEHData
 
class  WasmEHDataGenerator
 
struct  WasmElemSegment
 
class  WasmEnabledFeatures
 
class  WasmEngine
 
class  WasmError
 
class  WasmExecutionTimer
 
struct  WasmExport
 
class  WasmFullDecoder
 
struct  WasmFunction
 
class  WasmFunctionBuilder
 
struct  WasmFunctionName
 
struct  WasmGlobal
 
class  WasmGraphBuilderBase
 
struct  WasmImport
 
class  WasmImportWrapperCache
 
class  WasmInitExpr
 
struct  WasmInstruction
 
class  WasmInterpreter
 
class  WasmInterpreterRuntime
 
class  WasmInterpreterThread
 
class  WasmInterpreterThreadMap
 
struct  WasmMemory
 
struct  WasmModule
 
class  WasmModuleBuilder
 
class  WasmModuleSourceMap
 
class  WasmOpcodes
 
class  WasmOrphanedGlobalHandle
 
class  WasmSectionIterator
 
class  WasmSerializer
 
struct  WasmStringRefLiteral
 
struct  WasmTable
 
struct  WasmTag
 
class  WasmValue
 
class  WasmWrapperTSGraphBuilder
 
class  WellKnownImportsList
 
class  WireBytesRef
 
class  WireBytesStorage
 
struct  WrapperCompilationInfo
 
class  ZoneBuffer
 

Typedefs

using WasmName = base::Vector<const char>
 
using VarState = LiftoffAssembler::VarState
 
using ValueKindSig = LiftoffAssembler::ValueKindSig
 
using BranchHintInfo = std::unordered_map<uint32_t, BranchHintMap>
 
using ValueOrError = std::variant<WasmValue, MessageTemplate>
 
using DecodeResult = VoidResult
 
using TryTableImmediate = BranchTableImmediate
 
using EffectHandlerTableImmediate = BranchTableImmediate
 
using TypeChecker = bool (*)(const WasmRef obj)
 
using pc_t = size_t
 
using CodeOffset = size_t
 
using WasmRef = DirectHandle<Object>
 
typedef uint32_t * sp
 
typedef uint32_t WasmInterpreterRuntimewasm_runtime
 
typedef uint32_t WasmInterpreterRuntime int64_t r0
 
typedef uint32_t WasmInterpreterRuntime int64_t double fp0
 
using ModuleResult = Result<std::shared_ptr<WasmModule>>
 
using FunctionResult = Result<std::unique_ptr<WasmFunction>>
 
using FunctionOffsets = std::vector<std::pair<int, int>>
 
using FunctionOffsetsResult = Result<FunctionOffsets>
 
using AsmJsOffsetsResult = Result<AsmJsOffsets>
 
using TSBlock = compiler::turboshaft::Block
 
using FunctionSig = Signature<ValueType>
 
using WasmCodePosition = int
 
using IndexAsComment = NamesProvider::IndexAsComment
 
using CompileTimeImportFlags = base::EnumSet<CompileTimeImport, int>
 
using WasmTagSig = FunctionSig
 
using NameMap = AdaptiveMap<WireBytesRef>
 
using IndirectNameMap = AdaptiveMap<AdaptiveMap<WireBytesRef>>
 
using VoidResult = Result<std::nullptr_t>
 

Enumerations

enum  CallOrigin { kCalledFromWasm , kCalledFromJS }
 
enum class  LoadOrStore : bool { kLoad , kStore }
 
enum  LiftoffBailoutReason : int8_t {
  kSuccess = 0 , kDecodeError = 1 , kUnsupportedArchitecture = 2 , kMissingCPUFeature = 3 ,
  kComplexOperation = 4 , kSimd = 5 , kRefTypes = 6 , kExceptionHandling = 7 ,
  kMultiValue = 8 , kTailCall = 9 , kAtomics = 10 , kBulkMemory = 11 ,
  kNonTrappingFloatToInt = 12 , kGC = 13 , kRelaxedSimd = 14 , kOtherReason = 20 ,
  kNumBailoutReasons
}
 
enum class  LocationKindForDeopt : uint8_t { kNone , kEagerDeopt , kInlinedCall }
 
enum  RegClass : uint8_t {
  kGpReg , kFpReg , kGpRegPair = kFpReg + 1 + (kNeedS128RegPair && !kNeedI64RegPair) , kFpRegPair = kFpReg + 1 + kNeedI64RegPair ,
  kNoReg = kFpRegPair + kNeedS128RegPair
}
 
enum  RegPairHalf : uint8_t { kLowWord = 0 , kHighWord = 1 }
 
enum class  CompilationEvent : uint8_t { kFinishedBaselineCompilation , kFinishedCompilationChunk , kFailedCompilation }
 
enum  DecodingMode { kFunctionBody , kConstantExpression }
 
enum  ControlKind : uint8_t {
  kControlIf , kControlIfElse , kControlBlock , kControlLoop ,
  kControlTry , kControlTryTable , kControlTryCatch , kControlTryCatchAll
}
 
enum  Reachability : uint8_t { kReachable , kSpecOnlyReachable , kUnreachable }
 
enum class  LoadTransformationKind : uint8_t { kSplat , kExtend , kZeroExtend }
 
enum  BoundsCheckedHandlersCounter { kTotalItems }
 
enum  OperatorMode { kR2R = 0 , kR2S , kS2R , kS2S }
 
enum class  RegMode {
  kNoReg , kI32Reg , kI64Reg , kF32Reg ,
  kF64Reg , kAnyReg
}
 
enum  ExternalCallResult { EXTERNAL_RETURNED , EXTERNAL_EXCEPTION }
 
enum  InstructionHandler : uint16_t { kInstructionCount }
 
enum  InstrHandlerSize { Large = 0 , Small = 1 }
 
enum class  DecodingMethod {
  kSync , kAsync , kSyncStream , kAsyncStream ,
  kDeserialize
}
 
enum  Suspend : int { kSuspend , kNoSuspend }
 
enum  Promise : int { kPromise , kNoPromise , kStressSwitch }
 
enum class  ImportCallKind : uint8_t {
  kLinkError , kRuntimeTypeError , kWasmToCapi , kWasmToJSFastApi ,
  kWasmToWasm , kJSFunctionArityMatch , kJSFunctionArityMismatch , kUseCallBuiltin
}
 
enum  Nullability : bool { kNonNullable = false , kNullable = true }
 
enum  Exactness : bool { kAnySubtype , kExact }
 
enum  ValueKind : uint8_t
 
enum class  TypeKind : uint8_t { kNumeric = 0b00 , kSentinel = SENTINEL , kAbstractRef = REF , kIndexedRef = REF | SENTINEL }
 
enum class  RefTypeKind : uint8_t {
  kOther = 0 , kFunction = 1 , kStruct = 2 , kArray = 3 ,
  kCont = 4 , kLastValue = kCont
}
 
enum class  StandardType : uint8_t { DEF_ENUM , FOREACH_GENERIC_TYPE =(DEF_ENUM) FOREACH_NUMERIC_VALUE_TYPE(DEF_ENUM) }
 
enum class  GenericKind : uint32_t { DEF_ENUM }
 
enum class  NumericKind : uint32_t { DEF_ENUM }
 
enum  ValueTypeCode : uint8_t {
  kVoidCode = 0x40 , kI32Code = 0x7f , kI64Code = 0x7e , kF32Code = 0x7d ,
  kF64Code = 0x7c , kS128Code = 0x7b , kI8Code = 0x78 , kI16Code = 0x77 ,
  kF16Code = 0x76 , kNoExnCode = 0x74 , kNoFuncCode = 0x73 , kNoExternCode = 0x72 ,
  kNoneCode = 0x71 , kFuncRefCode = 0x70 , kExternRefCode = 0x6f , kAnyRefCode = 0x6e ,
  kEqRefCode = 0x6d , kI31RefCode = 0x6c , kStructRefCode = 0x6b , kArrayRefCode = 0x6a ,
  kRefCode = 0x64 , kRefNullCode = 0x63 , kExactCode = 0x62 , kExnRefCode = 0x69 ,
  kContRefCode = 0x68 , kNoContCode = 0x75 , kStringRefCode = 0x67 , kStringViewWtf8Code = 0x66 ,
  kStringViewWtf16Code = 0x60 , kStringViewIterCode = 0x61 , kFirstHeapTypeCode = kStringViewWtf16Code , kLastHeapTypeCode = kNoContCode
}
 
enum  ImportExportKindCode : uint8_t {
  kExternalFunction = 0 , kExternalTable = 1 , kExternalMemory = 2 , kExternalGlobal = 3 ,
  kExternalTag = 4
}
 
enum  LimitsFlags : uint8_t {
  kNoMaximum = 0x00 , kWithMaximum = 0x01 , kSharedNoMaximum = 0x02 , kSharedWithMaximum = 0x03 ,
  kMemory64NoMaximum = 0x04 , kMemory64WithMaximum = 0x05 , kMemory64SharedNoMaximum = 0x06 , kMemory64SharedWithMaximum = 0x07
}
 
enum  SegmentFlags : uint8_t { kActiveNoIndex = 0 , kPassive = 1 , kActiveWithIndex = 2 }
 
enum  SectionCode : int8_t {
  kUnknownSectionCode = 0 , kTypeSectionCode = 1 , kImportSectionCode = 2 , kFunctionSectionCode = 3 ,
  kTableSectionCode = 4 , kMemorySectionCode = 5 , kGlobalSectionCode = 6 , kExportSectionCode = 7 ,
  kStartSectionCode = 8 , kElementSectionCode = 9 , kCodeSectionCode = 10 , kDataSectionCode = 11 ,
  kDataCountSectionCode = 12 , kTagSectionCode = 13 , kStringRefSectionCode = 14 , kNameSectionCode ,
  kSourceMappingURLSectionCode , kDebugInfoSectionCode , kExternalDebugInfoSectionCode , kBuildIdSectionCode ,
  kInstTraceSectionCode , kCompilationHintsSectionCode , kBranchHintsSectionCode , kFirstSectionInModule = kTypeSectionCode ,
  kLastKnownModuleSection = kStringRefSectionCode , kFirstUnorderedSection = kDataCountSectionCode
}
 
enum  NameSectionKindCode : uint8_t {
  kModuleCode = 0 , kFunctionCode = 1 , kLocalCode = 2 , kLabelCode = 3 ,
  kTypeCode = 4 , kTableCode = 5 , kMemoryCode = 6 , kGlobalCode = 7 ,
  kElementSegmentCode = 8 , kDataSegmentCode = 9 , kFieldCode = 10 , kTagCode = 11
}
 
enum  CatchKind : uint8_t {
  kCatch = 0x0 , kCatchRef = 0x1 , kCatchAll = 0x2 , kCatchAllRef = 0x3 ,
  kLastCatchKind = kCatchAllRef
}
 
enum  SwitchKind : uint8_t { kOnSuspend = 0x0 , kSwitch = 0x1 , kLastSwitchKind = kSwitch }
 
enum class  WasmEnabledFeature { DECL_FEATURE_ENUM }
 
enum class  WasmDetectedFeature { DECL_FEATURE_ENUM }
 
enum class  CompileTimeImport {
  kJsString , kStringConstants , kTextEncoder , kTextDecoder ,
  kDisableDenormalFloats
}
 
enum class  AddressType : uint8_t { kI32 , kI64 }
 
enum  ModuleOrigin : uint8_t { kWasmOrigin , kAsmJsSloppyOrigin , kAsmJsStrictOrigin }
 
enum  BoundsCheckStrategy : int8_t { kTrapHandler , kExplicitBoundsChecks , kNoBoundsChecks }
 
enum class  WasmCompilationHintStrategy : uint8_t { kDefault = 0 , kLazy = 1 , kEager = 2 , kLazyBaselineEagerTopTier = 3 }
 
enum class  WasmCompilationHintTier : uint8_t { kDefault = 0 , kBaseline = 1 , kOptimized = 2 }
 
enum class  OnResume : int { kContinue , kThrow }
 
enum  WasmOpcode
 
enum  TrapReason { kTrapCount }
 
enum class  ExecutionTier : int8_t { kNone , kLiftoff , kTurbofan }
 
enum  ForDebugging : int8_t { kNotForDebugging = 0 , kForDebugging , kWithBreakpoints , kForStepping }
 
enum  DebugState : bool { kNotDebugging = false , kDebugging = true }
 
enum class  WellKnownImport : uint8_t {
  kUninstantiated , kGeneric , kLinkError , kFirstCompileTimeImport ,
  kStringCast = kFirstCompileTimeImport , kStringCharCodeAt , kStringCodePointAt , kStringCompare ,
  kStringConcat , kStringEquals , kStringFromCharCode , kStringFromCodePoint ,
  kStringFromUtf8Array , kStringFromWtf16Array , kStringIntoUtf8Array , kStringLength ,
  kStringMeasureUtf8 , kStringSubstring , kStringTest , kStringToUtf8Array ,
  kStringToWtf16Array , kLastCompileTimeImport = kStringToWtf16Array , kDataViewGetBigInt64 , kDataViewGetBigUint64 ,
  kDataViewGetFloat32 , kDataViewGetFloat64 , kDataViewGetInt8 , kDataViewGetInt16 ,
  kDataViewGetInt32 , kDataViewGetUint8 , kDataViewGetUint16 , kDataViewGetUint32 ,
  kDataViewSetBigInt64 , kDataViewSetBigUint64 , kDataViewSetFloat32 , kDataViewSetFloat64 ,
  kDataViewSetInt8 , kDataViewSetInt16 , kDataViewSetInt32 , kDataViewSetUint8 ,
  kDataViewSetUint16 , kDataViewSetUint32 , kDataViewByteLength , kMathF64Acos ,
  kMathF64Asin , kMathF64Atan , kMathF64Atan2 , kMathF64Cos ,
  kMathF64Sin , kMathF64Tan , kMathF64Exp , kMathF64Log ,
  kMathF64Pow , kMathF64Sqrt , kDoubleToString , kIntToString ,
  kParseFloat , kStringIndexOf , kStringIndexOfImported , kStringToLocaleLowerCaseStringref ,
  kStringToLowerCaseStringref , kStringToLowerCaseImported , kFastAPICall
}
 

Functions

std::ostream & operator<< (std::ostream &os, LiftoffVarState slot)
 
constexpr Condition Negate (Condition cond)
 
constexpr Condition Flip (Condition cond)
 
WasmCompilationResult ExecuteLiftoffCompilation (CompilationEnv *env, const FunctionBody &func_body, const LiftoffOptions &compiler_options)
 
std::unique_ptr< DebugSideTableGenerateLiftoffDebugSideTable (const WasmCode *code)
 
static constexpr bool needs_gp_reg_pair (ValueKind kind)
 
static constexpr bool needs_fp_reg_pair (ValueKind kind)
 
static constexpr RegClass reg_class_for (ValueKind kind)
 
 ASSERT_TRIVIALLY_COPYABLE (LiftoffRegister)
 
std::ostream & operator<< (std::ostream &os, LiftoffRegister reg)
 
 ASSERT_TRIVIALLY_COPYABLE (LiftoffRegList)
 
static constexpr LiftoffRegList GetCacheRegList (RegClass rc)
 
std::ostream & operator<< (std::ostream &os, LiftoffRegList reglist)
 
 ASSERT_TRIVIALLY_COPYABLE (LiftoffVarState)
 
static FPUCondition ConditionToConditionCmpFPU (Condition condition)
 
template<void(Assembler::*)(YMMRegister, YMMRegister, YMMRegister) avx_op>
bool F16x8CmpOpViaF32 (LiftoffAssembler *assm, LiftoffRegister dst, LiftoffRegister lhs, LiftoffRegister rhs)
 
template<void(Assembler::*)(YMMRegister, YMMRegister, YMMRegister) avx_op>
bool F16x8BinOpViaF32 (LiftoffAssembler *assm, LiftoffRegister dst, LiftoffRegister lhs, LiftoffRegister rhs)
 
TypeCanonicalizerGetTypeCanonicalizer ()
 
ValueOrError EvaluateConstantExpression (Zone *zone, ConstantExpression expr, ValueType expected, const WasmModule *module, Isolate *isolate, DirectHandle< WasmTrustedInstanceData > trusted_instance_data, DirectHandle< WasmTrustedInstanceData > shared_trusted_instance_data)
 
V8_INLINE bool is_error (ValueOrError result)
 
V8_INLINE MessageTemplate to_error (ValueOrError result)
 
V8_INLINE WasmValue to_value (ValueOrError result)
 
static constexpr LoadType GetLoadType (WasmOpcode opcode)
 
static constexpr StoreType GetStoreType (WasmOpcode opcode)
 
template<typename ValidationTag , typename... Args>
V8_INLINE void DecodeError (Decoder *decoder, const uint8_t *pc, const char *str, Args &&... args)
 
template<typename ValidationTag , typename... Args>
V8_INLINE void DecodeError (Decoder *decoder, const char *str, Args &&... args)
 
template<typename ValidationTag >
bool DecodeLocalDecls (WasmEnabledFeatures enabled, BodyLocalDecls *decls, const WasmModule *module, bool is_shared, const uint8_t *start, const uint8_t *end, Zone *zone)
 
void DecodeLocalDecls (WasmEnabledFeatures enabled, BodyLocalDecls *decls, const uint8_t *start, const uint8_t *end, Zone *zone)
 
bool ValidateAndDecodeLocalDeclsForTesting (WasmEnabledFeatures enabled, BodyLocalDecls *decls, const WasmModule *module, bool is_shared, const uint8_t *start, const uint8_t *end, Zone *zone)
 
DecodeResult ValidateFunctionBody (Zone *zone, WasmEnabledFeatures enabled, const WasmModule *module, WasmDetectedFeatures *detected, const FunctionBody &body)
 
unsigned OpcodeLength (const uint8_t *pc, const uint8_t *end)
 
bool CheckHardwareSupportsSimd ()
 
BitVectorAnalyzeLoopAssignmentForTesting (Zone *zone, uint32_t num_locals, const uint8_t *start, const uint8_t *end, bool *loop_is_innermost)
 
 ASSERT_TRIVIALLY_COPYABLE (WasmCompilationUnit)
 
bool CanUseGenericJsToWasmWrapper (const WasmModule *module, const CanonicalSig *sig)
 
uint32_t GetValueSizeInSlots (ValueKind kind)
 
V8_EXPORT_PRIVATE InterpreterHandleGetInterpreterHandle (Isolate *isolate, DirectHandle< Tuple2 > interpreter_object)
 
V8_EXPORT_PRIVATE InterpreterHandleGetOrCreateInterpreterHandle (Isolate *isolate, DirectHandle< Tuple2 > interpreter_object)
 
DISABLE_CFI_ICALL void CallThroughDispatchTable (const uint8_t *code, uint32_t *sp, WasmInterpreterRuntime *wasm_runtime, int64_t r0, double fp0)
 
template<TypeChecker type_checker>
bool AbstractTypeCast (Isolate *isolate, const WasmRef obj, const ValueType obj_type, bool null_succeeds)
 
static bool EqCheck (const WasmRef obj)
 
static bool I31Check (const WasmRef obj)
 
static bool StructCheck (const WasmRef obj)
 
static bool ArrayCheck (const WasmRef obj)
 
static bool StringCheck (const WasmRef obj)
 
 V8_DECLARE_ONCE (init_instruction_table_once)
 
 V8_DECLARE_ONCE (init_trap_handlers_once)
 
INSTRUCTION_HANDLER_FUNC TrapMemOutOfBounds (const uint8_t *code, uint32_t *sp, WasmInterpreterRuntime *wasm_runtime, int64_t r0, double fp0)
 
void InitTrapHandlersOnce (Isolate *isolate)
 
void InitInstructionTableOnce (Isolate *isolate)
 
static int StructFieldOffset (const StructType *struct_type, int field_index)
 
const char * GetRegModeString (RegMode reg_mode)
 
const char * GetOperatorModeString (OperatorMode mode)
 
typedef void (VECTORCALL PWasmOp)(const uint8_t *code
 
RegMode GetRegMode (ValueKind kind)
 
template<typename T >
INSTRUCTION_HANDLER_FUNC trace_PushSlot (const uint8_t *code, uint32_t *sp, WasmInterpreterRuntime *wasm_runtime, int64_t r0, double fp0)
 
template<typename T >
static ValueType value_type ()
 
template<>
ValueType value_type< int32_t > ()
 
template<>
ValueType value_type< uint32_t > ()
 
template<>
ValueType value_type< int64_t > ()
 
template<>
ValueType value_type< uint64_t > ()
 
template<>
ValueType value_type< float > ()
 
template<>
ValueType value_type< double > ()
 
template<>
ValueType value_type< Simd128 > ()
 
template<>
ValueType value_type< WasmRef > ()
 
InstructionHandler ReadFnId (const uint8_t *&code)
 
bool CompileLazy (Isolate *isolate, Tagged< WasmTrustedInstanceData > trusted_instance_data, int func_index)
 
void ThrowLazyCompilationError (Isolate *isolate, const NativeModule *native_module, int func_index)
 
bool IsCrossInstanceCall (Tagged< Object > obj, Isolate *const isolate)
 
void TriggerTierUp (Isolate *isolate, Tagged< WasmTrustedInstanceData > trusted_instance_data, int func_index)
 
void TierUpNowForTesting (Isolate *isolate, Tagged< WasmTrustedInstanceData > trusted_instance_data, int func_index)
 
void TierUpAllForTesting (Isolate *isolate, Tagged< WasmTrustedInstanceData > trusted_instance_data)
 
void InitializeCompilationForTesting (NativeModule *native_module)
 
void PublishDetectedFeatures (WasmDetectedFeatures detected_features, Isolate *isolate, bool is_initial_compilation)
 
WasmError ValidateAndSetBuiltinImports (const WasmModule *module, base::Vector< const uint8_t > wire_bytes, const CompileTimeImports &imports, WasmDetectedFeatures *detected)
 
std::shared_ptr< NativeModuleCompileToNativeModule (Isolate *isolate, WasmEnabledFeatures enabled_features, WasmDetectedFeatures detected_features, CompileTimeImports compile_imports, ErrorThrower *thrower, std::shared_ptr< const WasmModule > module, base::OwnedVector< const uint8_t > wire_bytes, int compilation_id, v8::metrics::Recorder::ContextId context_id, ProfileInformation *pgo_info)
 
WasmCodeCompileImportWrapperForTest (Isolate *isolate, NativeModule *native_module, ImportCallKind kind, const CanonicalSig *sig, CanonicalTypeIndex type_index, int expected_arity, Suspend suspend)
 
const char * ExternalKindName (ImportExportKindCode kind)
 
bool validate_utf8 (Decoder *decoder, WireBytesRef string)
 
WireBytesRef consume_string (Decoder *decoder, unibrow::Utf8Variant grammar, const char *name, ITracer *tracer)
 
WireBytesRef consume_string (Decoder *decoder, unibrow::Utf8Variant grammar, const char *name)
 
WireBytesRef consume_utf8_string (Decoder *decoder, const char *name, ITracer *tracer)
 
SectionCode IdentifyUnknownSectionInternal (Decoder *decoder, ITracer *tracer)
 
void DumpModule (const base::Vector< const uint8_t > module_bytes, bool ok)
 
const char * SectionName (SectionCode code)
 
ModuleResult DecodeWasmModule (WasmEnabledFeatures enabled_features, base::Vector< const uint8_t > wire_bytes, bool validate_functions, ModuleOrigin origin, Counters *counters, std::shared_ptr< metrics::Recorder > metrics_recorder, v8::metrics::Recorder::ContextId context_id, DecodingMethod decoding_method, WasmDetectedFeatures *detected_features)
 
ModuleResult DecodeWasmModule (WasmEnabledFeatures enabled_features, base::Vector< const uint8_t > wire_bytes, bool validate_functions, ModuleOrigin origin, WasmDetectedFeatures *detected_features)
 
ModuleResult DecodeWasmModuleForDisassembler (base::Vector< const uint8_t > wire_bytes, ITracer *tracer)
 
Result< const FunctionSig * > DecodeWasmSignatureForTesting (WasmEnabledFeatures enabled_features, Zone *zone, base::Vector< const uint8_t > bytes)
 
ConstantExpression DecodeWasmInitExprForTesting (WasmEnabledFeatures enabled_features, base::Vector< const uint8_t > bytes, ValueType expected)
 
FunctionResult DecodeWasmFunctionForTesting (WasmEnabledFeatures enabled_features, Zone *zone, ModuleWireBytes wire_bytes, const WasmModule *module, base::Vector< const uint8_t > function_bytes)
 
AsmJsOffsetsResult DecodeAsmJsOffsets (base::Vector< const uint8_t > encoded_offsets)
 
std::vector< CustomSectionOffsetDecodeCustomSections (base::Vector< const uint8_t > bytes)
 
void DecodeFunctionNames (base::Vector< const uint8_t > wire_bytes, NameMap &names)
 
void DecodeCanonicalTypeNames (base::Vector< const uint8_t > wire_bytes, const WasmModule *module, std::vector< base::OwnedVector< char > > &typenames, std::map< uint32_t, std::vector< base::OwnedVector< char > > > &fieldnames, size_t *total_allocated_size)
 
WasmError ValidateFunctions (const WasmModule *module, WasmEnabledFeatures enabled_features, base::Vector< const uint8_t > wire_bytes, std::function< bool(int)> filter, WasmDetectedFeatures *detected_features_out)
 
WasmError GetWasmErrorWithName (base::Vector< const uint8_t > wire_bytes, int func_index, const WasmModule *module, WasmError error)
 
bool IsValidSectionCode (uint8_t byte)
 
void CreateMapForType (Isolate *isolate, const WasmModule *module, ModuleTypeIndex type_index, DirectHandle< FixedArray > maybe_shared_maps)
 
MaybeDirectHandle< WasmInstanceObjectInstantiateToInstanceObject (Isolate *isolate, ErrorThrower *thrower, DirectHandle< WasmModuleObject > module_object, MaybeDirectHandle< JSReceiver > imports, MaybeDirectHandle< JSArrayBuffer > memory_buffer)
 
std::tuple< const char *, Builtin, int > NameBuiltinLength (WellKnownImport wki)
 
DirectHandle< JSFunctionCreateFunctionForCompileTimeImport (Isolate *isolate, WellKnownImport wki)
 
std::optional< MessageTemplateInitializeElementSegment (Zone *zone, Isolate *isolate, DirectHandle< WasmTrustedInstanceData > trusted_instance_data, DirectHandle< WasmTrustedInstanceData > shared_trusted_instance_data, uint32_t segment_index)
 
WireBytesRef Get (const NameMap &map, uint32_t index)
 
WireBytesRef Get (const IndirectNameMap &map, uint32_t outer_index, uint32_t inner_index)
 
void DeserializeTypeFeedback (Decoder &decoder, const WasmModule *module)
 
std::unique_ptr< ProfileInformationDeserializeTieringInformation (Decoder &decoder, const WasmModule *module)
 
std::unique_ptr< ProfileInformationRestoreProfileData (const WasmModule *module, base::Vector< uint8_t > profile_data)
 
void DumpProfileToFile (const WasmModule *module, base::Vector< const uint8_t > wire_bytes, std::atomic< uint32_t > *tiering_budget_array)
 
std::unique_ptr< ProfileInformationLoadProfileFromFile (const WasmModule *module, base::Vector< const uint8_t > wire_bytes)
 
MachineRepresentation GetMachineRepresentation (ValueTypeBase type)
 
MachineRepresentation GetMachineRepresentation (MachineType type)
 
template<class ResultCollector , class SigType >
void IterateSignatureImpl (const SigType *sig, bool extra_callable_param, ResultCollector &locations, int *untagged_parameter_slots, int *total_parameter_slots, int *untagged_return_slots, int *total_return_slots)
 
template<size_t N>
constexpr const SimdShuffle::ShuffleArray expand (const std::array< uint8_t, N > in)
 
template<int kLanes, int kLaneBytes>
bool MatchHelper (const uint8_t *input, uint8_t *output)
 
template<typename T >
size_t ContentSize (const std::vector< T > &vector)
 
template<typename T >
size_t ContentSize (const base::OwnedVector< T > &vector)
 
template<typename Key , typename T >
size_t ContentSize (const std::map< Key, T > &map)
 
template<typename Key , typename T , typename Hash >
size_t ContentSize (const std::unordered_map< Key, T, Hash > &map)
 
template<typename T , typename Hash >
size_t ContentSize (const std::unordered_set< T, Hash > &set)
 
int GetNumDigits (uint32_t value)
 
StringBuilderoperator<< (StringBuilder &sb, const char *str)
 
StringBuilderoperator<< (StringBuilder &sb, char c)
 
StringBuilderoperator<< (StringBuilder &sb, const std::string &s)
 
StringBuilderoperator<< (StringBuilder &sb, std::string_view s)
 
StringBuilderoperator<< (StringBuilder &sb, uint32_t n)
 
StringBuilderoperator<< (StringBuilder &sb, int value)
 
std::ostream & operator<< (std::ostream &out, StructTypeBase type)
 
V8_EXPORT_PRIVATE void BuildTSGraph (compiler::turboshaft::PipelineData *data, AccountingAllocator *allocator, CompilationEnv *env, WasmDetectedFeatures *detected, Graph &graph, const FunctionBody &func_body, const WireBytesStorage *wire_bytes, std::unique_ptr< AssumptionsJournal > *assumptions, ZoneVector< WasmInliningPosition > *inlining_positions, int func_index)
 
void BuildWasmWrapper (compiler::turboshaft::PipelineData *data, AccountingAllocator *allocator, compiler::turboshaft::Graph &graph, const wasm::CanonicalSig *sig, WrapperCompilationInfo)
 
std::optional< wasm::ValueKindWasmReturnTypeFromSignature (const CanonicalSig *wasm_signature)
 
bool EquivalentNumericSig (const CanonicalSig *a, const FunctionSig *b)
 
const wasm::FunctionSigGetI32Sig (Zone *zone, const wasm::FunctionSig *sig)
 
 ASSERT_TRIVIALLY_COPYABLE (ModuleTypeIndex)
 
 ASSERT_TRIVIALLY_COPYABLE (CanonicalTypeIndex)
 
std::ostream & operator<< (std::ostream &oss, TypeIndex index)
 
constexpr bool IsNullKind (GenericKind kind)
 
 ASSERT_TRIVIALLY_COPYABLE (ValueTypeBase)
 
 ASSERT_TRIVIALLY_COPYABLE (ValueType)
 
 ASSERT_TRIVIALLY_COPYABLE (CanonicalValueType)
 
constexpr bool is_reference (ValueKind kind)
 
constexpr bool is_object_reference (ValueKind kind)
 
constexpr int value_kind_size_log2 (ValueKind kind)
 
constexpr int value_kind_size (ValueKind kind)
 
constexpr int value_kind_full_size (ValueKind kind)
 
constexpr const char * name (ValueKind kind)
 
std::ostream & operator<< (std::ostream &oss, ValueKind kind)
 
constexpr MachineType machine_type (ValueKind kind)
 
constexpr bool is_packed (ValueKind kind)
 
constexpr ValueKind unpacked (ValueKind kind)
 
std::ostream & operator<< (std::ostream &oss, ValueType type)
 
const char * GetWasmCodeKindAsString (WasmCode::Kind kind)
 
WasmCode::Kind GetCodeKind (const WasmCompilationResult &result)
 
 DEFINE_LAZY_LEAKY_OBJECT_GETTER (WasmCodePointerTable, GetProcessWideWasmCodePointerTable) std
 
V8_EXPORT_PRIVATE WasmCodePointerTableGetProcessWideWasmCodePointerTable ()
 
StringBuilderoperator<< (StringBuilder &sb, Indentation indentation)
 
StringBuilderoperator<< (StringBuilder &sb, uint64_t n)
 
StringBuilderoperator<< (StringBuilder &sb, ModuleTypeIndex index)
 
V8_EXPORT_PRIVATE void PrintSignatureOneLine (StringBuilder &out, const FunctionSig *sig, uint32_t func_index, NamesProvider *names, bool param_names, IndexAsComment indices_as_comments=NamesProvider::kDontPrintIndex)
 
V8_EXPORT_PRIVATE void PrintStringAsJSON (StringBuilder &out, const uint8_t *start, WireBytesRef ref)
 
std::unique_ptr< OffsetsProviderAllocateOffsetsProvider ()
 
void Disassemble (const WasmModule *module, ModuleWireBytes wire_bytes, NamesProvider *names, v8::debug::DisassemblyCollector *collector, std::vector< int > *function_body_offsets)
 
void Disassemble (base::Vector< const uint8_t > wire_bytes, v8::debug::DisassemblyCollector *collector, std::vector< int > *function_body_offsets)
 
void DisassembleFunctionImpl (const WasmModule *module, int func_index, base::Vector< const uint8_t > function_body, ModuleWireBytes module_bytes, NamesProvider *names, std::ostream &os, std::vector< uint32_t > *offsets)
 
void DisassembleFunction (const WasmModule *module, int func_index, base::Vector< const uint8_t > wire_bytes, NamesProvider *names, std::ostream &os)
 
void DisassembleFunction (const WasmModule *module, int func_index, base::Vector< const uint8_t > function_body, base::Vector< const uint8_t > maybe_wire_bytes, uint32_t function_body_offset, std::ostream &os, std::vector< uint32_t > *offsets)
 
uint32_t GetDefaultAlignment (WasmOpcode opcode)
 
void PrintStringRaw (StringBuilder &out, const uint8_t *start, const uint8_t *end)
 
WasmEngineGetWasmEngine ()
 
WasmCodeManagerGetWasmCodeManager ()
 
WasmImportWrapperCacheGetWasmImportWrapperCache ()
 
CanonicalTypeNamesProviderGetCanonicalTypeNamesProvider ()
 
uint32_t max_mem32_pages ()
 
uint32_t max_mem64_pages ()
 
uint32_t max_table_size ()
 
uint32_t max_table_init_entries ()
 
size_t max_module_size ()
 
void f32_trunc_wrapper (Address data)
 
void f32_floor_wrapper (Address data)
 
void f32_ceil_wrapper (Address data)
 
void f32_nearest_int_wrapper (Address data)
 
void f64_trunc_wrapper (Address data)
 
void f64_floor_wrapper (Address data)
 
void f64_ceil_wrapper (Address data)
 
void f64_nearest_int_wrapper (Address data)
 
void int64_to_float32_wrapper (Address data)
 
void uint64_to_float32_wrapper (Address data)
 
void int64_to_float64_wrapper (Address data)
 
void uint64_to_float64_wrapper (Address data)
 
int32_t float32_to_int64_wrapper (Address data)
 
int32_t float32_to_uint64_wrapper (Address data)
 
int32_t float64_to_int64_wrapper (Address data)
 
int32_t float64_to_uint64_wrapper (Address data)
 
void float32_to_int64_sat_wrapper (Address data)
 
void float32_to_uint64_sat_wrapper (Address data)
 
void float64_to_int64_sat_wrapper (Address data)
 
void float64_to_uint64_sat_wrapper (Address data)
 
void float16_to_float32_wrapper (Address data)
 
void float32_to_float16_wrapper (Address data)
 
int32_t int64_div_wrapper (Address data)
 
int32_t int64_mod_wrapper (Address data)
 
int32_t uint64_div_wrapper (Address data)
 
int32_t uint64_mod_wrapper (Address data)
 
uint32_t word32_rol_wrapper (uint32_t input, uint32_t shift)
 
uint32_t word32_ror_wrapper (uint32_t input, uint32_t shift)
 
uint64_t word64_rol_wrapper (uint64_t input, uint32_t shift)
 
uint64_t word64_ror_wrapper (uint64_t input, uint32_t shift)
 
void float64_pow_wrapper (Address data)
 
template<typename T , T(*)(T) float_round_op>
void simd_float_round_wrapper (Address data)
 
void f64x2_ceil_wrapper (Address data)
 
void f64x2_floor_wrapper (Address data)
 
void f64x2_trunc_wrapper (Address data)
 
void f64x2_nearest_int_wrapper (Address data)
 
void f32x4_ceil_wrapper (Address data)
 
void f32x4_floor_wrapper (Address data)
 
void f32x4_trunc_wrapper (Address data)
 
void f32x4_nearest_int_wrapper (Address data)
 
Float16 f16_abs (Float16 a)
 
void f16x8_abs_wrapper (Address data)
 
Float16 f16_neg (Float16 a)
 
void f16x8_neg_wrapper (Address data)
 
Float16 f16_sqrt (Float16 a)
 
void f16x8_sqrt_wrapper (Address data)
 
Float16 f16_ceil (Float16 a)
 
void f16x8_ceil_wrapper (Address data)
 
Float16 f16_floor (Float16 a)
 
void f16x8_floor_wrapper (Address data)
 
Float16 f16_trunc (Float16 a)
 
void f16x8_trunc_wrapper (Address data)
 
Float16 f16_nearest_int (Float16 a)
 
void f16x8_nearest_int_wrapper (Address data)
 
template<typename R , R(*)(Float16, Float16) float_bin_op>
void simd_float16_bin_wrapper (Address data)
 
int16_t f16_eq (Float16 a, Float16 b)
 
void f16x8_eq_wrapper (Address data)
 
int16_t f16_ne (Float16 a, Float16 b)
 
void f16x8_ne_wrapper (Address data)
 
int16_t f16_lt (Float16 a, Float16 b)
 
void f16x8_lt_wrapper (Address data)
 
int16_t f16_le (Float16 a, Float16 b)
 
void f16x8_le_wrapper (Address data)
 
Float16 f16_add (Float16 a, Float16 b)
 
void f16x8_add_wrapper (Address data)
 
Float16 f16_sub (Float16 a, Float16 b)
 
void f16x8_sub_wrapper (Address data)
 
Float16 f16_mul (Float16 a, Float16 b)
 
void f16x8_mul_wrapper (Address data)
 
Float16 f16_div (Float16 a, Float16 b)
 
void f16x8_div_wrapper (Address data)
 
Float16 f16_min (Float16 a, Float16 b)
 
void f16x8_min_wrapper (Address data)
 
Float16 f16_max (Float16 a, Float16 b)
 
void f16x8_max_wrapper (Address data)
 
Float16 f16_pmin (Float16 a, Float16 b)
 
void f16x8_pmin_wrapper (Address data)
 
Float16 f16_pmax (Float16 a, Float16 b)
 
void f16x8_pmax_wrapper (Address data)
 
template<typename T , typename R , R(*)(T) float_un_op>
void simd_float_un_wrapper (Address data)
 
int16_t ConvertToIntS (Float16 val)
 
uint16_t ConvertToIntU (Float16 val)
 
void i16x8_sconvert_f16x8_wrapper (Address data)
 
void i16x8_uconvert_f16x8_wrapper (Address data)
 
Float16 ConvertToF16S (int16_t val)
 
void f16x8_sconvert_i16x8_wrapper (Address data)
 
Float16 ConvertToF16U (uint16_t val)
 
void f16x8_uconvert_i16x8_wrapper (Address data)
 
void f32x4_promote_low_f16x8_wrapper (Address data)
 
void f16x8_demote_f32x4_zero_wrapper (Address data)
 
void f16x8_demote_f64x2_zero_wrapper (Address data)
 
template<float(*)(float, float, float) float_fma_op>
void simd_float16_fma_wrapper (Address data)
 
float Qfma (float a, float b, float c)
 
void f16x8_qfma_wrapper (Address data)
 
float Qfms (float a, float b, float c)
 
void f16x8_qfms_wrapper (Address data)
 
int32_t memory_init_wrapper (Address trusted_data_addr, uint32_t mem_index, uintptr_t dst, uint32_t src, uint32_t seg_index, uint32_t size)
 
int32_t memory_copy_wrapper (Address trusted_data_addr, uint32_t dst_mem_index, uint32_t src_mem_index, uintptr_t dst, uintptr_t src, uintptr_t size)
 
int32_t memory_fill_wrapper (Address trusted_data_addr, uint32_t mem_index, uintptr_t dst, uint8_t value, uintptr_t size)
 
void array_copy_wrapper (Address raw_dst_array, uint32_t dst_index, Address raw_src_array, uint32_t src_index, uint32_t length)
 
void array_fill_wrapper (Address raw_array, uint32_t index, uint32_t length, uint32_t emit_write_barrier, uint32_t raw_type, Address initial_value_addr)
 
double flat_string_to_f64 (Address string_address)
 
void switch_stacks (Isolate *isolate, wasm::StackMemory *from)
 
void return_switch (Isolate *isolate, wasm::StackMemory *from)
 
intptr_t switch_to_the_central_stack (Isolate *isolate, uintptr_t current_sp)
 
void switch_from_the_central_stack (Isolate *isolate)
 
intptr_t switch_to_the_central_stack_for_js (Isolate *isolate, Address fp)
 
void switch_from_the_central_stack_for_js (Isolate *isolate)
 
Address grow_stack (Isolate *isolate, void *current_sp, size_t frame_size, size_t gap, Address current_fp)
 
Address shrink_stack (Isolate *isolate)
 
Address load_old_fp (Isolate *isolate)
 
constexpr const char * name (WasmEnabledFeature feature)
 
std::ostream & operator<< (std::ostream &os, WasmEnabledFeature feature)
 
constexpr const char * name (WasmDetectedFeature feature)
 
std::ostream & operator<< (std::ostream &os, WasmDetectedFeature feature)
 
std::ostream & operator<< (std::ostream &os, CompileTimeImport imp)
 
 ASSERT_TRIVIALLY_COPYABLE (WasmInitExpr)
 
std::unique_ptr< WasmStreamingStartStreamingForTesting (Isolate *isolate, std::shared_ptr< wasm::CompilationResultResolver > resolver)
 
uint64_t max_mem32_bytes ()
 
uint64_t max_mem64_bytes ()
 
int GetWasmFunctionOffset (const WasmModule *module, uint32_t func_index)
 
int GetNearestWasmFunction (const WasmModule *module, uint32_t byte_offset)
 
int GetContainingWasmFunction (const WasmModule *module, uint32_t byte_offset)
 
int GetSubtypingDepth (const WasmModule *module, ModuleTypeIndex type_index)
 
std::ostream & operator<< (std::ostream &os, const WasmFunctionName &name)
 
bool IsWasmCodegenAllowed (Isolate *isolate, DirectHandle< NativeContext > context)
 
DirectHandle< StringErrorStringForCodegen (Isolate *isolate, DirectHandle< Context > context)
 
DirectHandle< JSObjectGetTypeForFunction (Isolate *isolate, const FunctionSig *sig, bool for_exception)
 
DirectHandle< JSObjectGetTypeForGlobal (Isolate *isolate, bool is_mutable, ValueType type)
 
DirectHandle< JSObjectGetTypeForMemory (Isolate *isolate, uint32_t min_size, std::optional< uint64_t > max_size, bool shared, AddressType address_type)
 
DirectHandle< JSObjectGetTypeForTable (Isolate *isolate, ValueType type, uint32_t min_size, std::optional< uint64_t > max_size, AddressType address_type)
 
DirectHandle< JSArrayGetImports (Isolate *isolate, DirectHandle< WasmModuleObject > module_object)
 
DirectHandle< JSArrayGetExports (Isolate *isolate, DirectHandle< WasmModuleObject > module_object)
 
DirectHandle< JSArrayGetCustomSections (Isolate *isolate, DirectHandle< WasmModuleObject > module_object, DirectHandle< String > name, ErrorThrower *thrower)
 
int GetSourcePosition (const WasmModule *module, uint32_t func_index, uint32_t byte_offset, bool is_at_number_conversion)
 
size_t PrintSignature (base::Vector< char > buffer, const CanonicalSig *sig, char delimiter)
 
int JumpTableOffset (const WasmModule *module, int func_index)
 
size_t GetWireBytesHash (base::Vector< const uint8_t > wire_bytes)
 
int NumFeedbackSlots (const WasmModule *module, int func_index)
 
constexpr const char * AddressTypeToStr (AddressType address_type)
 
std::ostream & operator<< (std::ostream &os, AddressType address_type)
 
void UpdateComputedInformation (WasmMemory *memory, ModuleOrigin origin)
 
bool is_asmjs_module (const WasmModule *module)
 
 ASSERT_TRIVIALLY_COPYABLE (ModuleWireBytes)
 
int declared_function_index (const WasmModule *module, int func_index)
 
MaybeDirectHandle< ObjectJSToWasmObject (Isolate *isolate, DirectHandle< Object > value, CanonicalValueType expected, const char **error_message)
 
MaybeDirectHandle< ObjectJSToWasmObject (Isolate *isolate, const WasmModule *module, DirectHandle< Object > value, ValueType expected, const char **error_message)
 
DirectHandle< ObjectWasmToJSObject (Isolate *isolate, DirectHandle< Object > value)
 
std::ostream & operator<< (std::ostream &os, const FunctionSig &sig)
 
bool IsJSCompatibleSignature (const CanonicalSig *sig)
 
bool IsSupportedVersion (base::Vector< const uint8_t > header, WasmEnabledFeatures enabled_features)
 
MaybeDirectHandle< WasmModuleObjectDeserializeNativeModule (Isolate *isolate, base::Vector< const uint8_t > data, base::Vector< const uint8_t > wire_bytes_vec, const CompileTimeImports &compile_imports, base::Vector< const char > source_url)
 
bool ValidSubtypeDefinition (ModuleTypeIndex subtype_index, ModuleTypeIndex supertype_index, const WasmModule *sub_module, const WasmModule *super_module)
 
V8_NOINLINE V8_EXPORT_PRIVATE bool IsSubtypeOfImpl (HeapType subtype, HeapType supertype, const WasmModule *sub_module, const WasmModule *super_module)
 
V8_NOINLINE V8_EXPORT_PRIVATE bool IsSubtypeOfImpl (ValueType subtype, ValueType supertype, const WasmModule *sub_module, const WasmModule *super_module)
 
V8_NOINLINE V8_EXPORT_PRIVATE bool IsSubtypeOfImpl (CanonicalValueType subtype, CanonicalValueType supertype)
 
V8_NOINLINE bool EquivalentTypes (ValueType type1, ValueType type2, const WasmModule *module1, const WasmModule *module2)
 
V8_EXPORT_PRIVATE TypeInModule Union (ValueType type1, ValueType type2, const WasmModule *module1, const WasmModule *module2)
 
TypeInModule Intersection (ValueType type1, ValueType type2, const WasmModule *module1, const WasmModule *module2)
 
ValueType ToNullSentinel (TypeInModule type)
 
bool IsSameTypeHierarchy (HeapType type1, HeapType type2, const WasmModule *module)
 
V8_INLINE bool IsSubtypeOf (ValueType subtype, ValueType supertype, const WasmModule *sub_module, const WasmModule *super_module)
 
V8_INLINE bool IsSubtypeOf (ValueType subtype, ValueType supertype, const WasmModule *module)
 
V8_INLINE bool IsSubtypeOf (CanonicalValueType subtype, CanonicalValueType supertype)
 
V8_INLINE bool TypesUnrelated (ValueType type1, ValueType type2, const WasmModule *module1, const WasmModule *module2)
 
V8_INLINE bool IsHeapSubtypeOf (HeapType subtype, HeapType supertype, const WasmModule *sub_module, const WasmModule *super_module)
 
V8_INLINE bool IsHeapSubtypeOf (HeapType subtype, HeapType supertype, const WasmModule *module)
 
V8_INLINE bool HeapTypesUnrelated (HeapType heap1, HeapType heap2, const WasmModule *module1, const WasmModule *module2)
 
V8_EXPORT_PRIVATE bool IsShared (ValueType type, const WasmModule *module)
 
std::ostream & operator<< (std::ostream &oss, TypeInModule type)
 
V8_INLINE V8_EXPORT_PRIVATE TypeInModule Union (TypeInModule type1, TypeInModule type2)
 
V8_INLINE V8_EXPORT_PRIVATE TypeInModule Intersection (TypeInModule type1, TypeInModule type2)
 
const char * ExecutionTierToString (ExecutionTier tier)
 
 ASSERT_TRIVIALLY_COPYABLE (DirectHandle< Object >)
 
const char * WellKnownImportName (WellKnownImport wki)
 
bool IsCompileTimeImport (WellKnownImport wki)
 

Variables

constexpr RegList kLiftoffAssemblerGpCacheRegs = RegList::FromBits(0xff)
 
constexpr DoubleRegList kLiftoffAssemblerFpCacheRegs
 
constexpr auto kRegister = VarState::kRegister
 
constexpr auto kIntConst = VarState::kIntConst
 
constexpr auto kStack = VarState::kStack
 
static constexpr bool kNeedI64RegPair = kSystemPointerSize == 4
 
static constexpr bool kNeedS128RegPair = kFPAliasing == AliasingKind::kCombine
 
static constexpr int kMaxGpRegCode = kLiftoffAssemblerGpCacheRegs.last().code()
 
static constexpr int kMaxFpRegCode = kLiftoffAssemblerFpCacheRegs.last().code()
 
static constexpr int kAfterMaxLiftoffGpRegCode = kMaxGpRegCode + 1
 
static constexpr int kAfterMaxLiftoffFpRegCode
 
static constexpr int kAfterMaxLiftoffRegCode = kAfterMaxLiftoffFpRegCode
 
static constexpr int kBitsPerLiftoffRegCode
 
static constexpr int kBitsPerGpRegCode
 
static constexpr int kBitsPerFpRegCode
 
static constexpr int kBitsPerRegPair
 
static constexpr LiftoffRegList kGpCacheRegList
 
static constexpr LiftoffRegList kFpCacheRegList
 
constexpr bool is_be = false
 
constexpr int stack_bias = 0
 
static constexpr size_t kMaxCanonicalTypes = kV8MaxWasmTypes
 
constexpr bool kPartialOOBWritesAreNoops = true
 
const std::pair< uint32_t, uint32_t > invalid_instruction_trace = {0, 0}
 
constexpr Decoder::NoValidationTag kNoValidate
 
constexpr uint32_t kFloat32SignBitMask = uint32_t{1} << 31
 
constexpr uint64_t kFloat64SignBitMask = uint64_t{1} << 63
 
InstructionHandler s_unwind_code = InstructionHandler::k_s2s_Unwind
 
PWasmOp * kInstructionTable [kInstructionTableSize]
 
static const size_t kOperatorModeCount = 4
 
static const RegModeTransform kRegModes [256]
 
static const size_t kSlotSize = sizeof(int32_t)
 
static const ptrdiff_t kCodeOffsetSize = sizeof(int32_t)
 
constexpr uint32_t kBranchOnCastDataTargetTypeBitSize = 30
 
static constexpr uint32_t kInstructionTableSize = 4096
 
static constexpr uint32_t kInstructionTableMask = kInstructionTableSize - 1
 
constexpr size_t kPaddedVarInt32Size = 5
 
constexpr size_t kMaxVarInt32Size = 5
 
constexpr size_t kMaxVarInt64Size = 10
 
constexpr char kNameString [] = "name"
 
constexpr char kSourceMappingURLString [] = "sourceMappingURL"
 
constexpr char kInstTraceString [] = "metadata.code.trace_inst"
 
constexpr char kCompilationHintsString [] = "compilationHints"
 
constexpr char kBranchHintsString [] = "metadata.code.branch_hint"
 
constexpr char kDebugInfoString [] = ".debug_info"
 
constexpr char kExternalDebugInfoString [] = "external_debug_info"
 
constexpr char kBuildIdString [] = "build_id"
 
constexpr ImportCallKind kDefaultImportCallKind
 
constexpr uint8_t kFunctionExecutedBit = 1 << 0
 
constexpr uint8_t kFunctionTieredUpBit = 1 << 1
 
constexpr int kStackSpOffset
 
constexpr int kStackFpOffset
 
constexpr int kStackPcOffset
 
constexpr int kStackLimitOffset
 
constexpr int kStackParentOffset
 
constexpr int kStackStateOffset
 
constexpr int kMaxValueTypeSize = 16
 
static constexpr bool kNotShared = false
 
constexpr IndependentValueType kWasmI32 {NumericKind::kI32}
 
constexpr IndependentValueType kWasmI64 {NumericKind::kI64}
 
constexpr IndependentValueType kWasmF32 {NumericKind::kF32}
 
constexpr IndependentValueType kWasmF64 {NumericKind::kF64}
 
constexpr IndependentValueType kWasmS128 {NumericKind::kS128}
 
constexpr IndependentValueType kWasmI8 {NumericKind::kI8}
 
constexpr IndependentValueType kWasmI16 {NumericKind::kI16}
 
constexpr IndependentValueType kWasmF16 {NumericKind::kF16}
 
constexpr IndependentHeapType kWasmVoid {GenericKind::kVoid, kNonNullable}
 
constexpr IndependentHeapType kWasmTop {GenericKind::kTop}
 
constexpr IndependentHeapType kWasmBottom {GenericKind::kBottom, kNonNullable}
 
constexpr IndependentHeapType kWasmFuncRef {GenericKind::kFunc}
 
constexpr IndependentHeapType kWasmAnyRef {GenericKind::kAny}
 
constexpr IndependentHeapType kWasmExternRef {GenericKind::kExtern}
 
constexpr IndependentHeapType kWasmRefExtern
 
constexpr IndependentHeapType kWasmExnRef {GenericKind::kExn}
 
constexpr IndependentHeapType kWasmEqRef {GenericKind::kEq}
 
constexpr IndependentHeapType kWasmI31Ref {GenericKind::kI31}
 
constexpr IndependentHeapType kWasmRefI31 {GenericKind::kI31, kNonNullable}
 
constexpr IndependentHeapType kWasmStructRef {GenericKind::kStruct}
 
constexpr IndependentHeapType kWasmArrayRef {GenericKind::kArray}
 
constexpr IndependentHeapType kWasmStringRef {GenericKind::kString}
 
constexpr IndependentHeapType kWasmRefString
 
constexpr IndependentHeapType kWasmRefNullExternString
 
constexpr IndependentHeapType kWasmRefExternString
 
constexpr IndependentHeapType kWasmStringViewWtf8
 
constexpr IndependentHeapType kWasmStringViewWtf16
 
constexpr IndependentHeapType kWasmStringViewIter
 
constexpr IndependentHeapType kWasmNullRef {GenericKind::kNone}
 
constexpr IndependentHeapType kWasmNullExternRef {GenericKind::kNoExtern}
 
constexpr IndependentHeapType kWasmNullExnRef {GenericKind::kNoExn}
 
constexpr IndependentHeapType kWasmNullFuncRef {GenericKind::kNoFunc}
 
constexpr IndependentHeapType kWasmContRef {GenericKind::kCont}
 
constexpr IndependentHeapType kWasmNullContRef {GenericKind::kNoCont}
 
constexpr WasmCodePointer kInvalidWasmCodePointer
 
constexpr uint32_t kWasmMagic = 0x6d736100
 
constexpr uint32_t kWasmVersion = 0x01
 
constexpr uint8_t kSharedFlagCode = 0x65
 
constexpr uint8_t kWasmFunctionTypeCode = 0x60
 
constexpr uint8_t kWasmStructTypeCode = 0x5f
 
constexpr uint8_t kWasmArrayTypeCode = 0x5e
 
constexpr uint8_t kWasmContTypeCode = 0x5d
 
constexpr uint8_t kWasmSubtypeCode = 0x50
 
constexpr uint8_t kWasmSubtypeFinalCode = 0x4f
 
constexpr uint8_t kWasmRecursiveTypeGroupCode = 0x4e
 
constexpr uint8_t kWasmDescriptorCode = 0x4d
 
constexpr uint8_t kWasmDescribesCode = 0x4c
 
constexpr uint8_t kDefaultCompilationHint = 0x0
 
constexpr uint8_t kNoCompilationHint = kMaxUInt8
 
constexpr size_t kWasmPageSize = 0x10000
 
constexpr uint32_t kWasmPageSizeLog2 = 16
 
constexpr WasmCodePosition kNoCodePosition = -1
 
constexpr uint32_t kExceptionAttribute = 0
 
constexpr int kAnonymousFuncIndex = -1
 
constexpr uint32_t kInvalidCanonicalIndex = static_cast<uint32_t>(-1)
 
constexpr uint32_t kGenericWrapperBudget = 1000
 
constexpr uint32_t kMinimumSupertypeArraySize = 3
 
constexpr int kMaxPolymorphism = 4
 
constexpr int kMaxStructFieldIndexForImplicitNullCheck = 4000
 
constexpr bool kSkipFunctionTypesInTypeSection = true
 
constexpr IndexAsComment kIndicesAsComments = NamesProvider::kIndexAsComment
 
constexpr bool kSkipDataSegmentNames = true
 
static constexpr char kHexChars [] = "0123456789abcdef"
 
static constexpr char kUpperHexChars [] = "0123456789ABCDEF"
 
constexpr size_t kSpecMaxMemory32Pages = 65'536
 
constexpr size_t kSpecMaxMemory64Pages = 262'144
 
constexpr size_t kV8MaxWasmTypes = 1'000'000
 
constexpr size_t kV8MaxWasmDefinedFunctions = 1'000'000
 
constexpr size_t kV8MaxWasmImports = 1'000'000
 
constexpr size_t kV8MaxWasmExports = 1'000'000
 
constexpr size_t kV8MaxWasmGlobals = 1'000'000
 
constexpr size_t kV8MaxWasmTags = 1'000'000
 
constexpr size_t kV8MaxWasmExceptionTypes = 1'000'000
 
constexpr size_t kV8MaxWasmDataSegments = 100'000
 
constexpr size_t kV8MaxWasmMemory32Pages
 
constexpr size_t kV8MaxWasmMemory64Pages
 
constexpr size_t kV8MaxWasmStringSize = 100'000
 
constexpr size_t kV8MaxWasmModuleSize = 1024 * 1024 * 1024
 
constexpr size_t kV8MaxWasmFunctionSize = 7'654'321
 
constexpr size_t kV8MaxWasmFunctionLocals = 50'000
 
constexpr size_t kV8MaxWasmFunctionParams = 1'000
 
constexpr size_t kV8MaxWasmFunctionReturns = 1'000
 
constexpr size_t kV8MaxWasmFunctionBrTableSize = 65'520
 
constexpr size_t kV8MaxWasmTableSize = 10'000'000
 
constexpr size_t kV8MaxWasmTableInitEntries = 10'000'000
 
constexpr size_t kV8MaxWasmTables = 100'000
 
constexpr size_t kV8MaxWasmMemories = 100'000
 
constexpr size_t kV8MaxWasmStructFields = 10'000
 
constexpr uint32_t kV8MaxRttSubtypingDepth = 63
 
constexpr size_t kV8MaxWasmArrayNewFixedLength = 10'000
 
constexpr size_t kV8MaxWasmStringLiterals = 1'000'000
 
constexpr uint64_t kWasmMaxHeapOffset
 
constexpr size_t kV8MaxWasmTotalFunctions
 
constexpr size_t kMaxMemory64Size
 
constexpr Register kGpParamRegisters [] = {}
 
constexpr Register kGpReturnRegisters [] = {}
 
constexpr DoubleRegister kFpParamRegisters [] = {}
 
constexpr DoubleRegister kFpReturnRegisters [] = {}
 
constexpr bool kIsFpAlwaysDouble = false
 
constexpr bool kIsBigEndian = false
 
constexpr bool kIsBigEndianOnSim = false
 
constexpr int kWasmInstanceDataParameterIndex = 0
 
constexpr ModuleTypeIndex kNoSuperType = ModuleTypeIndex::Invalid()
 
constexpr ModuleTypeIndex kNoType = ModuleTypeIndex::Invalid()
 

Typedef Documentation

◆ AsmJsOffsetsResult

◆ BranchHintInfo

using v8::internal::wasm::BranchHintInfo = std::unordered_map<uint32_t, BranchHintMap>

Definition at line 36 of file branch-hint-map.h.

◆ CodeOffset

Definition at line 73 of file wasm-interpreter.h.

◆ CompileTimeImportFlags

◆ DecodeResult

Definition at line 39 of file decoder.h.

◆ EffectHandlerTableImmediate

◆ fp0

typedef uint32_t WasmInterpreterRuntime int64_t double v8::internal::wasm::fp0

Definition at line 674 of file wasm-interpreter.h.

◆ FunctionOffsets

using v8::internal::wasm::FunctionOffsets = std::vector<std::pair<int, int>>

Definition at line 41 of file module-decoder.h.

◆ FunctionOffsetsResult

◆ FunctionResult

Definition at line 40 of file module-decoder.h.

◆ FunctionSig

◆ IndexAsComment

◆ IndirectNameMap

◆ ModuleResult

Definition at line 39 of file module-decoder.h.

◆ NameMap

◆ pc_t

Definition at line 72 of file wasm-interpreter.h.

◆ r0

Definition at line 674 of file wasm-interpreter.h.

◆ sp

typedef uint32_t* v8::internal::wasm::sp

Definition at line 672 of file wasm-interpreter.h.

◆ TryTableImmediate

◆ TSBlock

◆ TypeChecker

Definition at line 2654 of file wasm-interpreter-runtime.cc.

◆ ValueKindSig

◆ ValueOrError

Definition at line 118 of file constant-expression.h.

◆ VarState

◆ VoidResult

using v8::internal::wasm::VoidResult = Result<std::nullptr_t>

Definition at line 187 of file wasm-result.h.

◆ wasm_runtime

Definition at line 673 of file wasm-interpreter.h.

◆ WasmCodePosition

Definition at line 183 of file wasm-constants.h.

◆ WasmName

typedef base::Vector< const char > v8::internal::wasm::WasmName = base::Vector<const char>

Definition at line 30 of file code-events.h.

◆ WasmRef

◆ WasmTagSig

Enumeration Type Documentation

◆ AddressType

enum class v8::internal::wasm::AddressType : uint8_t
strong
Enumerator
kI32 
kI64 

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

◆ BoundsCheckedHandlersCounter

Enumerator
kTotalItems 

Definition at line 539 of file wasm-interpreter.cc.

◆ BoundsCheckStrategy

Enumerator
kTrapHandler 
kExplicitBoundsChecks 
kNoBoundsChecks 

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

◆ CallOrigin

Enumerator
kCalledFromWasm 
kCalledFromJS 

Definition at line 65 of file wasm-compiler.h.

◆ CatchKind

Enumerator
kCatch 
kCatchRef 
kCatchAll 
kCatchAllRef 
kLastCatchKind 

Definition at line 164 of file wasm-constants.h.

◆ CompilationEvent

enum class v8::internal::wasm::CompilationEvent : uint8_t
strong
Enumerator
kFinishedBaselineCompilation 
kFinishedCompilationChunk 
kFailedCompilation 

Definition at line 93 of file compilation-environment.h.

◆ CompileTimeImport

Enumerator
kJsString 
kStringConstants 
kTextEncoder 
kTextDecoder 
kDisableDenormalFloats 

Definition at line 134 of file wasm-features.h.

◆ ControlKind

Enumerator
kControlIf 
kControlIfElse 
kControlBlock 
kControlLoop 
kControlTry 
kControlTryTable 
kControlTryCatch 
kControlTryCatchAll 

Definition at line 1187 of file function-body-decoder-impl.h.

◆ DebugState

Enumerator
kNotDebugging 
kDebugging 

Definition at line 53 of file wasm-tier.h.

◆ DecodingMethod

Enumerator
kSync 
kAsync 
kSyncStream 
kAsyncStream 
kDeserialize 

Definition at line 79 of file module-decoder.h.

◆ DecodingMode

Enumerator
kFunctionBody 
kConstantExpression 

Definition at line 483 of file function-body-decoder-impl.h.

◆ Exactness

Enumerator
kAnySubtype 
kExact 

Definition at line 99 of file value-type.h.

◆ ExecutionTier

enum class v8::internal::wasm::ExecutionTier : int8_t
strong
Enumerator
kNone 
kLiftoff 
kTurbofan 

Definition at line 19 of file wasm-tier.h.

◆ ExternalCallResult

Enumerator
EXTERNAL_RETURNED 
EXTERNAL_EXCEPTION 

Definition at line 1054 of file wasm-interpreter.h.

◆ ForDebugging

Enumerator
kNotForDebugging 
kForDebugging 
kWithBreakpoints 
kForStepping 

Definition at line 46 of file wasm-tier.h.

◆ GenericKind

enum class v8::internal::wasm::GenericKind : uint32_t
strong
Enumerator
DEF_ENUM 

Definition at line 276 of file value-type.h.

◆ ImportCallKind

enum class v8::internal::wasm::ImportCallKind : uint8_t
strong
Enumerator
kLinkError 
kRuntimeTypeError 
kWasmToCapi 
kWasmToJSFastApi 
kWasmToWasm 
kJSFunctionArityMatch 
kJSFunctionArityMismatch 
kUseCallBuiltin 

Definition at line 45 of file module-instantiate.h.

◆ ImportExportKindCode

Enumerator
kExternalFunction 
kExternalTable 
kExternalMemory 
kExternalGlobal 
kExternalTag 

Definition at line 78 of file wasm-constants.h.

◆ InstrHandlerSize

Enumerator
Large 
Small 

Definition at line 1448 of file wasm-interpreter.h.

◆ InstructionHandler

Enumerator
kInstructionCount 

Definition at line 1219 of file wasm-interpreter.h.

◆ LiftoffBailoutReason

Enumerator
kSuccess 
kDecodeError 
kUnsupportedArchitecture 
kMissingCPUFeature 
kComplexOperation 
kSimd 
kRefTypes 
kExceptionHandling 
kMultiValue 
kTailCall 
kAtomics 
kBulkMemory 
kNonTrappingFloatToInt 
kGC 
kRelaxedSimd 
kOtherReason 
kNumBailoutReasons 

Definition at line 28 of file liftoff-compiler.h.

◆ LimitsFlags

Enumerator
kNoMaximum 
kWithMaximum 
kSharedNoMaximum 
kSharedWithMaximum 
kMemory64NoMaximum 
kMemory64WithMaximum 
kMemory64SharedNoMaximum 
kMemory64SharedWithMaximum 

Definition at line 87 of file wasm-constants.h.

◆ LoadOrStore

Enumerator
kLoad 
kStore 

Definition at line 610 of file liftoff-assembler-arm64-inl.h.

◆ LoadTransformationKind

enum class v8::internal::wasm::LoadTransformationKind : uint8_t
strong
Enumerator
kSplat 
kExtend 
kZeroExtend 

Definition at line 48 of file function-body-decoder.h.

◆ LocationKindForDeopt

enum class v8::internal::wasm::LocationKindForDeopt : uint8_t
strong
Enumerator
kNone 
kEagerDeopt 
kInlinedCall 

Definition at line 61 of file liftoff-compiler.h.

◆ ModuleOrigin

Enumerator
kWasmOrigin 
kAsmJsSloppyOrigin 
kAsmJsStrictOrigin 

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

◆ NameSectionKindCode

Enumerator
kModuleCode 
kFunctionCode 
kLocalCode 
kLabelCode 
kTypeCode 
kTableCode 
kMemoryCode 
kGlobalCode 
kElementSegmentCode 
kDataSegmentCode 
kFieldCode 
kTagCode 

Definition at line 146 of file wasm-constants.h.

◆ Nullability

Enumerator
kNonNullable 
kNullable 

Definition at line 97 of file value-type.h.

◆ NumericKind

enum class v8::internal::wasm::NumericKind : uint32_t
strong
Enumerator
DEF_ENUM 

Definition at line 285 of file value-type.h.

◆ OnResume

enum class v8::internal::wasm::OnResume : int
strong
Enumerator
kContinue 
kThrow 

Definition at line 101 of file wasm-objects.h.

◆ OperatorMode

Enumerator
kR2R 
kR2S 
kS2R 
kS2S 

Definition at line 725 of file wasm-interpreter.h.

◆ Promise

Enumerator
kPromise 
kNoPromise 
kStressSwitch 

Definition at line 37 of file module-instantiate.h.

◆ Reachability

Enumerator
kReachable 
kSpecOnlyReachable 
kUnreachable 

Definition at line 1198 of file function-body-decoder-impl.h.

◆ RefTypeKind

enum class v8::internal::wasm::RefTypeKind : uint8_t
strong
Enumerator
kOther 
kFunction 
kStruct 
kArray 
kCont 
kLastValue 

Definition at line 212 of file value-type.h.

◆ RegClass

Enumerator
kGpReg 
kFpReg 
kGpRegPair 
kFpRegPair 
kNoReg 

Definition at line 22 of file liftoff-register.h.

◆ RegMode

enum class v8::internal::wasm::RegMode
strong
Enumerator
kNoReg 
kI32Reg 
kI64Reg 
kF32Reg 
kF64Reg 
kAnyReg 

Definition at line 741 of file wasm-interpreter.h.

◆ RegPairHalf

Enumerator
kLowWord 
kHighWord 

Definition at line 46 of file liftoff-register.h.

◆ SectionCode

Enumerator
kUnknownSectionCode 
kTypeSectionCode 
kImportSectionCode 
kFunctionSectionCode 
kTableSectionCode 
kMemorySectionCode 
kGlobalSectionCode 
kExportSectionCode 
kStartSectionCode 
kElementSectionCode 
kCodeSectionCode 
kDataSectionCode 
kDataCountSectionCode 
kTagSectionCode 
kStringRefSectionCode 
kNameSectionCode 
kSourceMappingURLSectionCode 
kDebugInfoSectionCode 
kExternalDebugInfoSectionCode 
kBuildIdSectionCode 
kInstTraceSectionCode 
kCompilationHintsSectionCode 
kBranchHintsSectionCode 
kFirstSectionInModule 
kLastKnownModuleSection 
kFirstUnorderedSection 

Definition at line 106 of file wasm-constants.h.

◆ SegmentFlags

Enumerator
kActiveNoIndex 
kPassive 
kActiveWithIndex 

Definition at line 99 of file wasm-constants.h.

◆ StandardType

enum class v8::internal::wasm::StandardType : uint8_t
strong
Enumerator
DEF_ENUM 
FOREACH_GENERIC_TYPE 

Definition at line 266 of file value-type.h.

◆ Suspend

Enumerator
kSuspend 
kNoSuspend 

Definition at line 34 of file module-instantiate.h.

◆ SwitchKind

Enumerator
kOnSuspend 
kSwitch 
kLastSwitchKind 

Definition at line 172 of file wasm-constants.h.

◆ TrapReason

Enumerator
kTrapCount 

Definition at line 939 of file wasm-opcodes.h.

◆ TypeKind

enum class v8::internal::wasm::TypeKind : uint8_t
strong
Enumerator
kNumeric 
kSentinel 
kAbstractRef 
kIndexedRef 

Definition at line 206 of file value-type.h.

◆ ValueKind

Definition at line 103 of file value-type.h.

◆ ValueTypeCode

Enumerator
kVoidCode 
kI32Code 
kI64Code 
kF32Code 
kF64Code 
kS128Code 
kI8Code 
kI16Code 
kF16Code 
kNoExnCode 
kNoFuncCode 
kNoExternCode 
kNoneCode 
kFuncRefCode 
kExternRefCode 
kAnyRefCode 
kEqRefCode 
kI31RefCode 
kStructRefCode 
kArrayRefCode 
kRefCode 
kRefNullCode 
kExactCode 
kExnRefCode 
kContRefCode 
kNoContCode 
kStringRefCode 
kStringViewWtf8Code 
kStringViewWtf16Code 
kStringViewIterCode 
kFirstHeapTypeCode 
kLastHeapTypeCode 

Definition at line 26 of file wasm-constants.h.

◆ WasmCompilationHintStrategy

Enumerator
kDefault 
kLazy 
kEager 
kLazyBaselineEagerTopTier 

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

◆ WasmCompilationHintTier

enum class v8::internal::wasm::WasmCompilationHintTier : uint8_t
strong
Enumerator
kDefault 
kBaseline 
kOptimized 

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

◆ WasmDetectedFeature

Enumerator
DECL_FEATURE_ENUM 

Definition at line 47 of file wasm-features.h.

◆ WasmEnabledFeature

Enumerator
DECL_FEATURE_ENUM 

Definition at line 41 of file wasm-features.h.

◆ WasmOpcode

Definition at line 929 of file wasm-opcodes.h.

◆ WellKnownImport

enum class v8::internal::wasm::WellKnownImport : uint8_t
strong
Enumerator
kUninstantiated 
kGeneric 
kLinkError 
kFirstCompileTimeImport 
kStringCast 
kStringCharCodeAt 
kStringCodePointAt 
kStringCompare 
kStringConcat 
kStringEquals 
kStringFromCharCode 
kStringFromCodePoint 
kStringFromUtf8Array 
kStringFromWtf16Array 
kStringIntoUtf8Array 
kStringLength 
kStringMeasureUtf8 
kStringSubstring 
kStringTest 
kStringToUtf8Array 
kStringToWtf16Array 
kLastCompileTimeImport 
kDataViewGetBigInt64 
kDataViewGetBigUint64 
kDataViewGetFloat32 
kDataViewGetFloat64 
kDataViewGetInt8 
kDataViewGetInt16 
kDataViewGetInt32 
kDataViewGetUint8 
kDataViewGetUint16 
kDataViewGetUint32 
kDataViewSetBigInt64 
kDataViewSetBigUint64 
kDataViewSetFloat32 
kDataViewSetFloat64 
kDataViewSetInt8 
kDataViewSetInt16 
kDataViewSetInt32 
kDataViewSetUint8 
kDataViewSetUint16 
kDataViewSetUint32 
kDataViewByteLength 
kMathF64Acos 
kMathF64Asin 
kMathF64Atan 
kMathF64Atan2 
kMathF64Cos 
kMathF64Sin 
kMathF64Tan 
kMathF64Exp 
kMathF64Log 
kMathF64Pow 
kMathF64Sqrt 
kDoubleToString 
kIntToString 
kParseFloat 
kStringIndexOf 
kStringIndexOfImported 
kStringToLocaleLowerCaseStringref 
kStringToLowerCaseStringref 
kStringToLowerCaseImported 
kFastAPICall 

Definition at line 19 of file well-known-imports.h.

Function Documentation

◆ AbstractTypeCast()

template<TypeChecker type_checker>
bool v8::internal::wasm::AbstractTypeCast ( Isolate * isolate,
const WasmRef obj,
const ValueType obj_type,
bool null_succeeds )

Definition at line 2657 of file wasm-interpreter-runtime.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddressTypeToStr()

const char * v8::internal::wasm::AddressTypeToStr ( AddressType address_type)
inlineconstexpr

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

Here is the caller graph for this function:

◆ AllocateOffsetsProvider()

std::unique_ptr< OffsetsProvider > v8::internal::wasm::AllocateOffsetsProvider ( )
inline

Definition at line 229 of file wasm-disassembler-impl.h.

Here is the caller graph for this function:

◆ AnalyzeLoopAssignmentForTesting()

V8_EXPORT_PRIVATE BitVector * v8::internal::wasm::AnalyzeLoopAssignmentForTesting ( Zone * zone,
uint32_t num_locals,
const uint8_t * start,
const uint8_t * end,
bool * loop_is_innermost )

Definition at line 98 of file function-body-decoder.cc.

Here is the call graph for this function:

◆ array_copy_wrapper()

void v8::internal::wasm::array_copy_wrapper ( Address raw_dst_array,
uint32_t dst_index,
Address raw_src_array,
uint32_t src_index,
uint32_t length )

Definition at line 825 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ array_fill_wrapper()

void v8::internal::wasm::array_fill_wrapper ( Address raw_array,
uint32_t index,
uint32_t length,
uint32_t emit_write_barrier,
uint32_t raw_type,
Address initial_value_addr )

Definition at line 864 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ ArrayCheck()

static bool v8::internal::wasm::ArrayCheck ( const WasmRef obj)
static

Definition at line 2702 of file wasm-interpreter-runtime.cc.

Here is the call graph for this function:

◆ ASSERT_TRIVIALLY_COPYABLE() [1/12]

v8::internal::wasm::ASSERT_TRIVIALLY_COPYABLE ( CanonicalTypeIndex )

◆ ASSERT_TRIVIALLY_COPYABLE() [2/12]

v8::internal::wasm::ASSERT_TRIVIALLY_COPYABLE ( CanonicalValueType )

◆ ASSERT_TRIVIALLY_COPYABLE() [3/12]

v8::internal::wasm::ASSERT_TRIVIALLY_COPYABLE ( DirectHandle< Object > )

◆ ASSERT_TRIVIALLY_COPYABLE() [4/12]

v8::internal::wasm::ASSERT_TRIVIALLY_COPYABLE ( LiftoffRegister )

◆ ASSERT_TRIVIALLY_COPYABLE() [5/12]

v8::internal::wasm::ASSERT_TRIVIALLY_COPYABLE ( LiftoffRegList )

◆ ASSERT_TRIVIALLY_COPYABLE() [6/12]

v8::internal::wasm::ASSERT_TRIVIALLY_COPYABLE ( LiftoffVarState )

◆ ASSERT_TRIVIALLY_COPYABLE() [7/12]

v8::internal::wasm::ASSERT_TRIVIALLY_COPYABLE ( ModuleTypeIndex )

◆ ASSERT_TRIVIALLY_COPYABLE() [8/12]

v8::internal::wasm::ASSERT_TRIVIALLY_COPYABLE ( ModuleWireBytes )

◆ ASSERT_TRIVIALLY_COPYABLE() [9/12]

v8::internal::wasm::ASSERT_TRIVIALLY_COPYABLE ( ValueType )

◆ ASSERT_TRIVIALLY_COPYABLE() [10/12]

v8::internal::wasm::ASSERT_TRIVIALLY_COPYABLE ( ValueTypeBase )

◆ ASSERT_TRIVIALLY_COPYABLE() [11/12]

v8::internal::wasm::ASSERT_TRIVIALLY_COPYABLE ( WasmCompilationUnit )

◆ ASSERT_TRIVIALLY_COPYABLE() [12/12]

v8::internal::wasm::ASSERT_TRIVIALLY_COPYABLE ( WasmInitExpr )

◆ BuildTSGraph()

V8_EXPORT_PRIVATE void v8::internal::wasm::BuildTSGraph ( compiler::turboshaft::PipelineData * data,
AccountingAllocator * allocator,
CompilationEnv * env,
WasmDetectedFeatures * detected,
Graph & graph,
const FunctionBody & func_body,
const WireBytesStorage * wire_bytes,
std::unique_ptr< AssumptionsJournal > * assumptions,
ZoneVector< WasmInliningPosition > * inlining_positions,
int func_index )

Definition at line 8741 of file turboshaft-graph-interface.cc.

◆ BuildWasmWrapper()

void v8::internal::wasm::BuildWasmWrapper ( compiler::turboshaft::PipelineData * data,
AccountingAllocator * allocator,
compiler::turboshaft::Graph & graph,
const wasm::CanonicalSig * sig,
WrapperCompilationInfo wrapper_info )

Definition at line 1284 of file wrappers.cc.

Here is the call graph for this function:

◆ CallThroughDispatchTable()

DISABLE_CFI_ICALL void v8::internal::wasm::CallThroughDispatchTable ( const uint8_t * code,
uint32_t * sp,
WasmInterpreterRuntime * wasm_runtime,
int64_t r0,
double fp0 )
inline

Definition at line 1409 of file wasm-interpreter-runtime.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CanUseGenericJsToWasmWrapper()

bool v8::internal::wasm::CanUseGenericJsToWasmWrapper ( const WasmModule * module,
const CanonicalSig * sig )
inline

Definition at line 162 of file function-compiler.h.

Here is the call graph for this function:

◆ CheckHardwareSupportsSimd()

V8_EXPORT_PRIVATE bool v8::internal::wasm::CheckHardwareSupportsSimd ( )

Definition at line 96 of file function-body-decoder.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CompileImportWrapperForTest()

V8_EXPORT_PRIVATE WasmCode * v8::internal::wasm::CompileImportWrapperForTest ( Isolate * isolate,
NativeModule * native_module,
ImportCallKind kind,
const CanonicalSig * sig,
CanonicalTypeIndex type_index,
int expected_arity,
Suspend suspend )

Definition at line 4385 of file module-compiler.cc.

Here is the call graph for this function:

◆ CompileLazy()

bool v8::internal::wasm::CompileLazy ( Isolate * isolate,
Tagged< WasmTrustedInstanceData > trusted_instance_data,
int func_index )

Definition at line 1179 of file module-compiler.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CompileToNativeModule()

V8_EXPORT_PRIVATE std::shared_ptr< NativeModule > v8::internal::wasm::CompileToNativeModule ( Isolate * isolate,
WasmEnabledFeatures enabled_features,
WasmDetectedFeatures detected_features,
CompileTimeImports compile_imports,
ErrorThrower * thrower,
std::shared_ptr< const WasmModule > module,
base::OwnedVector< const uint8_t > wire_bytes,
int compilation_id,
v8::metrics::Recorder::ContextId context_id,
ProfileInformation * pgo_info )

Definition at line 2418 of file module-compiler.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ConditionToConditionCmpFPU()

static FPUCondition v8::internal::wasm::ConditionToConditionCmpFPU ( Condition condition)
static

Definition at line 378 of file liftoff-assembler-riscv-inl.h.

Here is the call graph for this function:

◆ consume_string() [1/2]

WireBytesRef v8::internal::wasm::consume_string ( Decoder * decoder,
unibrow::Utf8Variant grammar,
const char * name )
inline

Definition at line 112 of file module-decoder-impl.h.

Here is the call graph for this function:

◆ consume_string() [2/2]

WireBytesRef v8::internal::wasm::consume_string ( Decoder * decoder,
unibrow::Utf8Variant grammar,
const char * name,
ITracer * tracer )
inline

Definition at line 65 of file module-decoder-impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ consume_utf8_string()

WireBytesRef v8::internal::wasm::consume_utf8_string ( Decoder * decoder,
const char * name,
ITracer * tracer )
inline

Definition at line 118 of file module-decoder-impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ContentSize() [1/5]

template<typename T >
size_t v8::internal::wasm::ContentSize ( const base::OwnedVector< T > & vector)
inline

Definition at line 35 of file std-object-sizes.h.

◆ ContentSize() [2/5]

template<typename Key , typename T >
size_t v8::internal::wasm::ContentSize ( const std::map< Key, T > & map)
inline

Definition at line 40 of file std-object-sizes.h.

◆ ContentSize() [3/5]

template<typename Key , typename T , typename Hash >
size_t v8::internal::wasm::ContentSize ( const std::unordered_map< Key, T, Hash > & map)
inline

Definition at line 46 of file std-object-sizes.h.

◆ ContentSize() [4/5]

template<typename T , typename Hash >
size_t v8::internal::wasm::ContentSize ( const std::unordered_set< T, Hash > & set)
inline

Definition at line 55 of file std-object-sizes.h.

◆ ContentSize() [5/5]

template<typename T >
size_t v8::internal::wasm::ContentSize ( const std::vector< T > & vector)
inline

Definition at line 28 of file std-object-sizes.h.

Here is the caller graph for this function:

◆ ConvertToF16S()

Float16 v8::internal::wasm::ConvertToF16S ( int16_t val)

Definition at line 608 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ ConvertToF16U()

Float16 v8::internal::wasm::ConvertToF16U ( uint16_t val)

Definition at line 614 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ ConvertToIntS()

int16_t v8::internal::wasm::ConvertToIntS ( Float16 val)

Definition at line 584 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ ConvertToIntU()

uint16_t v8::internal::wasm::ConvertToIntU ( Float16 val)

Definition at line 592 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ CreateFunctionForCompileTimeImport()

DirectHandle< JSFunction > v8::internal::wasm::CreateFunctionForCompileTimeImport ( Isolate * isolate,
WellKnownImport wki )

Definition at line 1777 of file module-instantiate.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateMapForType()

V8_EXPORT_PRIVATE void v8::internal::wasm::CreateMapForType ( Isolate * isolate,
const WasmModule * module,
ModuleTypeIndex type_index,
DirectHandle< FixedArray > maybe_shared_maps )

Definition at line 57 of file module-instantiate.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ declared_function_index()

int v8::internal::wasm::declared_function_index ( const WasmModule * module,
int func_index )
inline

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

Here is the caller graph for this function:

◆ DecodeAsmJsOffsets()

AsmJsOffsetsResult v8::internal::wasm::DecodeAsmJsOffsets ( base::Vector< const uint8_t > encoded_offsets)

Definition at line 225 of file module-decoder.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DecodeCanonicalTypeNames()

void v8::internal::wasm::DecodeCanonicalTypeNames ( base::Vector< const uint8_t > wire_bytes,
const WasmModule * module,
std::vector< base::OwnedVector< char > > & typenames,
std::map< uint32_t, std::vector< base::OwnedVector< char > > > & fieldnames,
size_t * total_allocated_size )

Definition at line 419 of file module-decoder.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DecodeCustomSections()

V8_EXPORT_PRIVATE std::vector< CustomSectionOffset > v8::internal::wasm::DecodeCustomSections ( base::Vector< const uint8_t > bytes)

Definition at line 281 of file module-decoder.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DecodeError() [1/2]

template<typename ValidationTag , typename... Args>
V8_INLINE void v8::internal::wasm::DecodeError ( Decoder * decoder,
const char * str,
Args &&... args )

Definition at line 198 of file function-body-decoder-impl.h.

Here is the call graph for this function:

◆ DecodeError() [2/2]

template<typename ValidationTag , typename... Args>
V8_INLINE void v8::internal::wasm::DecodeError ( Decoder * decoder,
const uint8_t * pc,
const char * str,
Args &&... args )

Definition at line 181 of file function-body-decoder-impl.h.

Here is the call graph for this function:

◆ DecodeFunctionNames()

void v8::internal::wasm::DecodeFunctionNames ( base::Vector< const uint8_t > wire_bytes,
NameMap & names )

Definition at line 385 of file module-decoder.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DecodeLocalDecls() [1/2]

V8_EXPORT_PRIVATE void v8::internal::wasm::DecodeLocalDecls ( WasmEnabledFeatures enabled,
BodyLocalDecls * decls,
const uint8_t * start,
const uint8_t * end,
Zone * zone )

Definition at line 43 of file function-body-decoder.cc.

Here is the call graph for this function:

◆ DecodeLocalDecls() [2/2]

template<typename ValidationTag >
bool v8::internal::wasm::DecodeLocalDecls ( WasmEnabledFeatures enabled,
BodyLocalDecls * decls,
const WasmModule * module,
bool is_shared,
const uint8_t * start,
const uint8_t * end,
Zone * zone )

Definition at line 21 of file function-body-decoder.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DecodeWasmFunctionForTesting()

V8_EXPORT_PRIVATE FunctionResult v8::internal::wasm::DecodeWasmFunctionForTesting ( WasmEnabledFeatures enabled_features,
Zone * zone,
ModuleWireBytes wire_bytes,
const WasmModule * module,
base::Vector< const uint8_t > function_bytes )

Definition at line 210 of file module-decoder.cc.

Here is the call graph for this function:

◆ DecodeWasmInitExprForTesting()

V8_EXPORT_PRIVATE ConstantExpression v8::internal::wasm::DecodeWasmInitExprForTesting ( WasmEnabledFeatures enabled_features,
base::Vector< const uint8_t > bytes,
ValueType expected )

Definition at line 201 of file module-decoder.cc.

Here is the call graph for this function:

◆ DecodeWasmModule() [1/2]

V8_EXPORT_PRIVATE ModuleResult v8::internal::wasm::DecodeWasmModule ( WasmEnabledFeatures enabled_features,
base::Vector< const uint8_t > wire_bytes,
bool validate_functions,
ModuleOrigin origin,
Counters * counters,
std::shared_ptr< metrics::Recorder > metrics_recorder,
v8::metrics::Recorder::ContextId context_id,
DecodingMethod decoding_method,
WasmDetectedFeatures * detected_features )

Definition at line 75 of file module-decoder.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DecodeWasmModule() [2/2]

V8_EXPORT_PRIVATE ModuleResult v8::internal::wasm::DecodeWasmModule ( WasmEnabledFeatures enabled_features,
base::Vector< const uint8_t > wire_bytes,
bool validate_functions,
ModuleOrigin origin,
WasmDetectedFeatures * detected_features )

Definition at line 119 of file module-decoder.cc.

◆ DecodeWasmModuleForDisassembler()

V8_EXPORT_PRIVATE ModuleResult v8::internal::wasm::DecodeWasmModuleForDisassembler ( base::Vector< const uint8_t > wire_bytes,
ITracer * tracer )

Definition at line 131 of file module-decoder.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DecodeWasmSignatureForTesting()

V8_EXPORT_PRIVATE Result< const FunctionSig * > v8::internal::wasm::DecodeWasmSignatureForTesting ( WasmEnabledFeatures enabled_features,
Zone * zone,
base::Vector< const uint8_t > bytes )

Definition at line 191 of file module-decoder.cc.

Here is the call graph for this function:

◆ DEFINE_LAZY_LEAKY_OBJECT_GETTER()

v8::internal::wasm::DEFINE_LAZY_LEAKY_OBJECT_GETTER ( WasmCodePointerTable ,
GetProcessWideWasmCodePointerTable  )

Definition at line 21 of file wasm-code-pointer-table.cc.

Here is the call graph for this function:

◆ DeserializeNativeModule()

V8_EXPORT_PRIVATE MaybeDirectHandle< WasmModuleObject > v8::internal::wasm::DeserializeNativeModule ( Isolate * isolate,
base::Vector< const uint8_t > data,
base::Vector< const uint8_t > wire_bytes_vec,
const CompileTimeImports & compile_imports,
base::Vector< const char > source_url )

Definition at line 1088 of file wasm-serialization.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeserializeTieringInformation()

std::unique_ptr< ProfileInformation > v8::internal::wasm::DeserializeTieringInformation ( Decoder & decoder,
const WasmModule * module )

Definition at line 163 of file pgo.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DeserializeTypeFeedback()

void v8::internal::wasm::DeserializeTypeFeedback ( Decoder & decoder,
const WasmModule * module )

Definition at line 105 of file pgo.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Disassemble() [1/2]

void v8::internal::wasm::Disassemble ( base::Vector< const uint8_t > wire_bytes,
v8::debug::DisassemblyCollector * collector,
std::vector< int > * function_body_offsets )

Definition at line 35 of file wasm-disassembler.cc.

Here is the call graph for this function:

◆ Disassemble() [2/2]

void v8::internal::wasm::Disassemble ( const WasmModule * module,
ModuleWireBytes wire_bytes,
NamesProvider * names,
v8::debug::DisassemblyCollector * collector,
std::vector< int > * function_body_offsets )

Definition at line 23 of file wasm-disassembler.cc.

Here is the call graph for this function:

◆ DisassembleFunction() [1/2]

void v8::internal::wasm::DisassembleFunction ( const WasmModule * module,
int func_index,
base::Vector< const uint8_t > function_body,
base::Vector< const uint8_t > maybe_wire_bytes,
uint32_t function_body_offset,
std::ostream & os,
std::vector< uint32_t > * offsets )

Definition at line 101 of file wasm-disassembler.cc.

Here is the call graph for this function:

◆ DisassembleFunction() [2/2]

void v8::internal::wasm::DisassembleFunction ( const WasmModule * module,
int func_index,
base::Vector< const uint8_t > wire_bytes,
NamesProvider * names,
std::ostream & os )

Definition at line 88 of file wasm-disassembler.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DisassembleFunctionImpl()

void v8::internal::wasm::DisassembleFunctionImpl ( const WasmModule * module,
int func_index,
base::Vector< const uint8_t > function_body,
ModuleWireBytes module_bytes,
NamesProvider * names,
std::ostream & os,
std::vector< uint32_t > * offsets )

Definition at line 69 of file wasm-disassembler.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DumpModule()

void v8::internal::wasm::DumpModule ( const base::Vector< const uint8_t > module_bytes,
bool ok )
inline

Definition at line 282 of file module-decoder-impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DumpProfileToFile()

void v8::internal::wasm::DumpProfileToFile ( const WasmModule * module,
base::Vector< const uint8_t > wire_bytes,
std::atomic< uint32_t > * tiering_budget_array )

Definition at line 196 of file pgo.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EqCheck()

static bool v8::internal::wasm::EqCheck ( const WasmRef obj)
static

Definition at line 2666 of file wasm-interpreter-runtime.cc.

Here is the call graph for this function:

◆ EquivalentNumericSig()

V8_EXPORT_PRIVATE bool v8::internal::wasm::EquivalentNumericSig ( const CanonicalSig * a,
const FunctionSig * b )

Definition at line 177 of file value-type.cc.

Here is the call graph for this function:

◆ EquivalentTypes()

V8_NOINLINE V8_EXPORT_PRIVATE bool v8::internal::wasm::EquivalentTypes ( ValueType type1,
ValueType type2,
const WasmModule * module1,
const WasmModule * module2 )

Definition at line 498 of file wasm-subtyping.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ErrorStringForCodegen()

V8_EXPORT_PRIVATE DirectHandle< String > v8::internal::wasm::ErrorStringForCodegen ( Isolate * isolate,
DirectHandle< Context > context )

Definition at line 245 of file wasm-module.cc.

Here is the call graph for this function:

◆ EvaluateConstantExpression()

ValueOrError v8::internal::wasm::EvaluateConstantExpression ( Zone * zone,
ConstantExpression expr,
ValueType expected,
const WasmModule * module,
Isolate * isolate,
DirectHandle< WasmTrustedInstanceData > trusted_instance_data,
DirectHandle< WasmTrustedInstanceData > shared_trusted_instance_data )

Definition at line 29 of file constant-expression.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExecuteLiftoffCompilation()

V8_EXPORT_PRIVATE WasmCompilationResult v8::internal::wasm::ExecuteLiftoffCompilation ( CompilationEnv * env,
const FunctionBody & func_body,
const LiftoffOptions & compiler_options )

Definition at line 9529 of file liftoff-compiler.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExecutionTierToString()

const char * v8::internal::wasm::ExecutionTierToString ( ExecutionTier tier)
inline

Definition at line 28 of file wasm-tier.h.

Here is the caller graph for this function:

◆ expand()

template<size_t N>
const SimdShuffle::ShuffleArray v8::internal::wasm::expand ( const std::array< uint8_t, N > in)
constexpr

Definition at line 17 of file simd-shuffle.cc.

Here is the caller graph for this function:

◆ ExternalKindName()

const char * v8::internal::wasm::ExternalKindName ( ImportExportKindCode kind)
inline

Definition at line 41 of file module-decoder-impl.h.

Here is the caller graph for this function:

◆ f16_abs()

Float16 v8::internal::wasm::f16_abs ( Float16 a)

Definition at line 413 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_add()

Float16 v8::internal::wasm::f16_add ( Float16 a,
Float16 b )

Definition at line 510 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_ceil()

Float16 v8::internal::wasm::f16_ceil ( Float16 a)

Definition at line 435 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_div()

Float16 v8::internal::wasm::f16_div ( Float16 a,
Float16 b )

Definition at line 534 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_eq()

int16_t v8::internal::wasm::f16_eq ( Float16 a,
Float16 b )

Definition at line 478 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_floor()

Float16 v8::internal::wasm::f16_floor ( Float16 a)

Definition at line 443 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_le()

int16_t v8::internal::wasm::f16_le ( Float16 a,
Float16 b )

Definition at line 502 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_lt()

int16_t v8::internal::wasm::f16_lt ( Float16 a,
Float16 b )

Definition at line 494 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_max()

Float16 v8::internal::wasm::f16_max ( Float16 a,
Float16 b )

Definition at line 550 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_min()

Float16 v8::internal::wasm::f16_min ( Float16 a,
Float16 b )

Definition at line 542 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_mul()

Float16 v8::internal::wasm::f16_mul ( Float16 a,
Float16 b )

Definition at line 526 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_ne()

int16_t v8::internal::wasm::f16_ne ( Float16 a,
Float16 b )

Definition at line 486 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_nearest_int()

Float16 v8::internal::wasm::f16_nearest_int ( Float16 a)

Definition at line 459 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_neg()

Float16 v8::internal::wasm::f16_neg ( Float16 a)

Definition at line 421 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_pmax()

Float16 v8::internal::wasm::f16_pmax ( Float16 a,
Float16 b )

Definition at line 566 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_pmin()

Float16 v8::internal::wasm::f16_pmin ( Float16 a,
Float16 b )

Definition at line 558 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_sqrt()

Float16 v8::internal::wasm::f16_sqrt ( Float16 a)

Definition at line 427 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_sub()

Float16 v8::internal::wasm::f16_sub ( Float16 a,
Float16 b )

Definition at line 518 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16_trunc()

Float16 v8::internal::wasm::f16_trunc ( Float16 a)

Definition at line 451 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_abs_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_abs_wrapper ( Address data)

Definition at line 417 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_add_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_add_wrapper ( Address data)

Definition at line 514 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_ceil_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_ceil_wrapper ( Address data)

Definition at line 439 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_demote_f32x4_zero_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_demote_f32x4_zero_wrapper ( Address data)

Definition at line 634 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_demote_f64x2_zero_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_demote_f64x2_zero_wrapper ( Address data)

Definition at line 656 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_div_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_div_wrapper ( Address data)

Definition at line 538 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_eq_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_eq_wrapper ( Address data)

Definition at line 482 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_floor_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_floor_wrapper ( Address data)

Definition at line 447 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_le_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_le_wrapper ( Address data)

Definition at line 506 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_lt_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_lt_wrapper ( Address data)

Definition at line 498 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_max_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_max_wrapper ( Address data)

Definition at line 554 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_min_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_min_wrapper ( Address data)

Definition at line 546 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_mul_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_mul_wrapper ( Address data)

Definition at line 530 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_ne_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_ne_wrapper ( Address data)

Definition at line 490 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_nearest_int_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_nearest_int_wrapper ( Address data)

Definition at line 463 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_neg_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_neg_wrapper ( Address data)

Definition at line 423 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_pmax_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_pmax_wrapper ( Address data)

Definition at line 570 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_pmin_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_pmin_wrapper ( Address data)

Definition at line 562 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_qfma_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_qfma_wrapper ( Address data)

Definition at line 695 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_qfms_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_qfms_wrapper ( Address data)

Definition at line 701 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_sconvert_i16x8_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_sconvert_i16x8_wrapper ( Address data)

Definition at line 610 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_sqrt_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_sqrt_wrapper ( Address data)

Definition at line 431 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_sub_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_sub_wrapper ( Address data)

Definition at line 522 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_trunc_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_trunc_wrapper ( Address data)

Definition at line 455 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f16x8_uconvert_i16x8_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f16x8_uconvert_i16x8_wrapper ( Address data)

Definition at line 616 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ F16x8BinOpViaF32()

template<void(Assembler::*)(YMMRegister, YMMRegister, YMMRegister) avx_op>
bool v8::internal::wasm::F16x8BinOpViaF32 ( LiftoffAssembler * assm,
LiftoffRegister dst,
LiftoffRegister lhs,
LiftoffRegister rhs )

Definition at line 4479 of file liftoff-assembler-x64-inl.h.

Here is the call graph for this function:

◆ F16x8CmpOpViaF32()

template<void(Assembler::*)(YMMRegister, YMMRegister, YMMRegister) avx_op>
bool v8::internal::wasm::F16x8CmpOpViaF32 ( LiftoffAssembler * assm,
LiftoffRegister dst,
LiftoffRegister lhs,
LiftoffRegister rhs )

Definition at line 4441 of file liftoff-assembler-x64-inl.h.

Here is the call graph for this function:

◆ f32_ceil_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f32_ceil_wrapper ( Address data)

Definition at line 58 of file wasm-external-refs.cc.

◆ f32_floor_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f32_floor_wrapper ( Address data)

Definition at line 54 of file wasm-external-refs.cc.

◆ f32_nearest_int_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f32_nearest_int_wrapper ( Address data)

Definition at line 62 of file wasm-external-refs.cc.

◆ f32_trunc_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f32_trunc_wrapper ( Address data)

Definition at line 50 of file wasm-external-refs.cc.

◆ f32x4_ceil_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f32x4_ceil_wrapper ( Address data)

Definition at line 397 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f32x4_floor_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f32x4_floor_wrapper ( Address data)

Definition at line 401 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f32x4_nearest_int_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f32x4_nearest_int_wrapper ( Address data)

Definition at line 409 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f32x4_promote_low_f16x8_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f32x4_promote_low_f16x8_wrapper ( Address data)

Definition at line 620 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f32x4_trunc_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f32x4_trunc_wrapper ( Address data)

Definition at line 405 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f64_ceil_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f64_ceil_wrapper ( Address data)

Definition at line 79 of file wasm-external-refs.cc.

◆ f64_floor_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f64_floor_wrapper ( Address data)

Definition at line 75 of file wasm-external-refs.cc.

◆ f64_nearest_int_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f64_nearest_int_wrapper ( Address data)

Definition at line 83 of file wasm-external-refs.cc.

◆ f64_trunc_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f64_trunc_wrapper ( Address data)

Definition at line 71 of file wasm-external-refs.cc.

◆ f64x2_ceil_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f64x2_ceil_wrapper ( Address data)

Definition at line 381 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f64x2_floor_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f64x2_floor_wrapper ( Address data)

Definition at line 385 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f64x2_nearest_int_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f64x2_nearest_int_wrapper ( Address data)

Definition at line 393 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ f64x2_trunc_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::f64x2_trunc_wrapper ( Address data)

Definition at line 389 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ flat_string_to_f64()

double v8::internal::wasm::flat_string_to_f64 ( Address string_address)

Definition at line 980 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ Flip()

Condition v8::internal::wasm::Flip ( Condition cond)
inlineconstexpr

Definition at line 56 of file liftoff-assembler.h.

Here is the call graph for this function:

◆ float16_to_float32_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::float16_to_float32_wrapper ( Address data)

Definition at line 291 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ float32_to_float16_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::float32_to_float16_wrapper ( Address data)

Definition at line 295 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ float32_to_int64_sat_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::float32_to_int64_sat_wrapper ( Address data)

Definition at line 231 of file wasm-external-refs.cc.

◆ float32_to_int64_wrapper()

V8_EXPORT_PRIVATE int32_t v8::internal::wasm::float32_to_int64_wrapper ( Address data)

Definition at line 195 of file wasm-external-refs.cc.

◆ float32_to_uint64_sat_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::float32_to_uint64_sat_wrapper ( Address data)

Definition at line 248 of file wasm-external-refs.cc.

◆ float32_to_uint64_wrapper()

V8_EXPORT_PRIVATE int32_t v8::internal::wasm::float32_to_uint64_wrapper ( Address data)

Definition at line 204 of file wasm-external-refs.cc.

◆ float64_pow_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::float64_pow_wrapper ( Address data)

Definition at line 362 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ float64_to_int64_sat_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::float64_to_int64_sat_wrapper ( Address data)

Definition at line 261 of file wasm-external-refs.cc.

◆ float64_to_int64_wrapper()

V8_EXPORT_PRIVATE int32_t v8::internal::wasm::float64_to_int64_wrapper ( Address data)

Definition at line 213 of file wasm-external-refs.cc.

◆ float64_to_uint64_sat_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::float64_to_uint64_sat_wrapper ( Address data)

Definition at line 278 of file wasm-external-refs.cc.

◆ float64_to_uint64_wrapper()

V8_EXPORT_PRIVATE int32_t v8::internal::wasm::float64_to_uint64_wrapper ( Address data)

Definition at line 222 of file wasm-external-refs.cc.

◆ GenerateLiftoffDebugSideTable()

V8_EXPORT_PRIVATE std::unique_ptr< DebugSideTable > v8::internal::wasm::GenerateLiftoffDebugSideTable ( const WasmCode * code)

Definition at line 9614 of file liftoff-compiler.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Get() [1/2]

WireBytesRef v8::internal::wasm::Get ( const IndirectNameMap & map,
uint32_t outer_index,
uint32_t inner_index )

Definition at line 226 of file names-provider.cc.

Here is the call graph for this function:

◆ Get() [2/2]

WireBytesRef v8::internal::wasm::Get ( const NameMap & map,
uint32_t index )

Definition at line 220 of file names-provider.cc.

Here is the caller graph for this function:

◆ GetCacheRegList()

static constexpr LiftoffRegList v8::internal::wasm::GetCacheRegList ( RegClass rc)
staticconstexpr

Definition at line 548 of file liftoff-register.h.

Here is the caller graph for this function:

◆ GetCanonicalTypeNamesProvider()

V8_EXPORT_PRIVATE CanonicalTypeNamesProvider * v8::internal::wasm::GetCanonicalTypeNamesProvider ( )

Definition at line 2146 of file wasm-engine.cc.

Here is the caller graph for this function:

◆ GetCodeKind()

WasmCode::Kind v8::internal::wasm::GetCodeKind ( const WasmCompilationResult & result)

Definition at line 1416 of file wasm-code-manager.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetContainingWasmFunction()

int v8::internal::wasm::GetContainingWasmFunction ( const WasmModule * module,
uint32_t byte_offset )

Definition at line 103 of file wasm-module.cc.

Here is the call graph for this function:

◆ GetCustomSections()

DirectHandle< JSArray > v8::internal::wasm::GetCustomSections ( Isolate * isolate,
DirectHandle< WasmModuleObject > module_object,
DirectHandle< String > name,
ErrorThrower * thrower )

Definition at line 616 of file wasm-module.cc.

Here is the call graph for this function:

◆ GetDefaultAlignment()

uint32_t v8::internal::wasm::GetDefaultAlignment ( WasmOpcode opcode)

Definition at line 122 of file wasm-disassembler.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetExports()

DirectHandle< JSArray > v8::internal::wasm::GetExports ( Isolate * isolate,
DirectHandle< WasmModuleObject > module_object )

Definition at line 519 of file wasm-module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetI32Sig()

V8_EXPORT_PRIVATE const wasm::FunctionSig * v8::internal::wasm::GetI32Sig ( Zone * zone,
const wasm::FunctionSig * sig )

Definition at line 240 of file value-type.cc.

◆ GetImports()

DirectHandle< JSArray > v8::internal::wasm::GetImports ( Isolate * isolate,
DirectHandle< WasmModuleObject > module_object )

Definition at line 396 of file wasm-module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetInterpreterHandle()

V8_EXPORT_PRIVATE InterpreterHandle * v8::internal::wasm::GetInterpreterHandle ( Isolate * isolate,
DirectHandle< Tuple2 > interpreter_object )

Definition at line 233 of file wasm-interpreter-runtime.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetLoadType()

static constexpr LoadType v8::internal::wasm::GetLoadType ( WasmOpcode opcode)
staticconstexpr

Definition at line 73 of file function-body-decoder-impl.h.

Here is the caller graph for this function:

◆ GetMachineRepresentation() [1/2]

MachineRepresentation v8::internal::wasm::GetMachineRepresentation ( MachineType type)
inline

Definition at line 24 of file signature-hashing.h.

◆ GetMachineRepresentation() [2/2]

MachineRepresentation v8::internal::wasm::GetMachineRepresentation ( ValueTypeBase type)
inline

Definition at line 20 of file signature-hashing.h.

Here is the caller graph for this function:

◆ GetNearestWasmFunction()

int v8::internal::wasm::GetNearestWasmFunction ( const WasmModule * module,
uint32_t byte_offset )

Definition at line 83 of file wasm-module.cc.

Here is the caller graph for this function:

◆ GetNumDigits()

int v8::internal::wasm::GetNumDigits ( uint32_t value)
inline

Definition at line 29 of file string-builder-multiline.h.

Here is the caller graph for this function:

◆ GetOperatorModeString()

const char * v8::internal::wasm::GetOperatorModeString ( OperatorMode mode)

Definition at line 8641 of file wasm-interpreter.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetOrCreateInterpreterHandle()

V8_EXPORT_PRIVATE InterpreterHandle * v8::internal::wasm::GetOrCreateInterpreterHandle ( Isolate * isolate,
DirectHandle< Tuple2 > interpreter_object )

Definition at line 242 of file wasm-interpreter-runtime.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetProcessWideWasmCodePointerTable()

V8_EXPORT_PRIVATE WasmCodePointerTable * v8::internal::wasm::GetProcessWideWasmCodePointerTable ( )
Here is the caller graph for this function:

◆ GetRegMode()

RegMode v8::internal::wasm::GetRegMode ( ValueKind kind)
inline

Definition at line 757 of file wasm-interpreter.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetRegModeString()

const char * v8::internal::wasm::GetRegModeString ( RegMode reg_mode)

Definition at line 8622 of file wasm-interpreter.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetSourcePosition()

int v8::internal::wasm::GetSourcePosition ( const WasmModule * module,
uint32_t func_index,
uint32_t byte_offset,
bool is_at_number_conversion )

Definition at line 670 of file wasm-module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetStoreType()

static constexpr StoreType v8::internal::wasm::GetStoreType ( WasmOpcode opcode)
staticconstexpr

Definition at line 91 of file function-body-decoder-impl.h.

Here is the caller graph for this function:

◆ GetSubtypingDepth()

V8_EXPORT_PRIVATE int v8::internal::wasm::GetSubtypingDepth ( const WasmModule * module,
ModuleTypeIndex type_index )

Definition at line 117 of file wasm-module.cc.

Here is the caller graph for this function:

◆ GetTypeCanonicalizer()

V8_EXPORT_PRIVATE TypeCanonicalizer * v8::internal::wasm::GetTypeCanonicalizer ( )

Definition at line 20 of file canonical-types.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTypeForFunction()

DirectHandle< JSObject > v8::internal::wasm::GetTypeForFunction ( Isolate * isolate,
const FunctionSig * sig,
bool for_exception )

Definition at line 261 of file wasm-module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTypeForGlobal()

DirectHandle< JSObject > v8::internal::wasm::GetTypeForGlobal ( Isolate * isolate,
bool is_mutable,
ValueType type )

Definition at line 305 of file wasm-module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTypeForMemory()

DirectHandle< JSObject > v8::internal::wasm::GetTypeForMemory ( Isolate * isolate,
uint32_t min_size,
std::optional< uint64_t > max_size,
bool shared,
AddressType address_type )

Definition at line 322 of file wasm-module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTypeForTable()

DirectHandle< JSObject > v8::internal::wasm::GetTypeForTable ( Isolate * isolate,
ValueType type,
uint32_t min_size,
std::optional< uint64_t > max_size,
AddressType address_type )

Definition at line 358 of file wasm-module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetValueSizeInSlots()

uint32_t v8::internal::wasm::GetValueSizeInSlots ( ValueKind kind)
inline

Definition at line 136 of file wasm-interpreter-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetWasmCodeKindAsString()

const char * v8::internal::wasm::GetWasmCodeKindAsString ( WasmCode::Kind kind)

Definition at line 537 of file wasm-code-manager.cc.

Here is the caller graph for this function:

◆ GetWasmCodeManager()

V8_EXPORT_PRIVATE WasmCodeManager * v8::internal::wasm::GetWasmCodeManager ( )

Definition at line 2136 of file wasm-engine.cc.

Here is the caller graph for this function:

◆ GetWasmEngine()

V8_EXPORT_PRIVATE WasmEngine * v8::internal::wasm::GetWasmEngine ( )

Definition at line 2131 of file wasm-engine.cc.

◆ GetWasmErrorWithName()

WasmError v8::internal::wasm::GetWasmErrorWithName ( base::Vector< const uint8_t > wire_bytes,
int func_index,
const WasmModule * module,
WasmError error )

Definition at line 662 of file module-decoder.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetWasmFunctionOffset()

int v8::internal::wasm::GetWasmFunctionOffset ( const WasmModule * module,
uint32_t func_index )

Definition at line 75 of file wasm-module.cc.

Here is the caller graph for this function:

◆ GetWasmImportWrapperCache()

V8_EXPORT_PRIVATE WasmImportWrapperCache * v8::internal::wasm::GetWasmImportWrapperCache ( )

Definition at line 2141 of file wasm-engine.cc.

Here is the caller graph for this function:

◆ GetWireBytesHash()

V8_EXPORT_PRIVATE size_t v8::internal::wasm::GetWireBytesHash ( base::Vector< const uint8_t > wire_bytes)

Definition at line 812 of file wasm-module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ grow_stack()

Address v8::internal::wasm::grow_stack ( Isolate * isolate,
void * current_sp,
size_t frame_size,
size_t gap,
Address current_fp )

Definition at line 1052 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ HeapTypesUnrelated()

V8_INLINE bool v8::internal::wasm::HeapTypesUnrelated ( HeapType heap1,
HeapType heap2,
const WasmModule * module1,
const WasmModule * module2 )

Definition at line 109 of file wasm-subtyping.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ i16x8_sconvert_f16x8_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::i16x8_sconvert_f16x8_wrapper ( Address data)

Definition at line 600 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ i16x8_uconvert_f16x8_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::i16x8_uconvert_f16x8_wrapper ( Address data)

Definition at line 604 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ I31Check()

static bool v8::internal::wasm::I31Check ( const WasmRef obj)
static

Definition at line 2681 of file wasm-interpreter-runtime.cc.

Here is the call graph for this function:

◆ IdentifyUnknownSectionInternal()

SectionCode v8::internal::wasm::IdentifyUnknownSectionInternal ( Decoder * decoder,
ITracer * tracer )
inline

Definition at line 123 of file module-decoder-impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitializeCompilationForTesting()

V8_EXPORT_PRIVATE void v8::internal::wasm::InitializeCompilationForTesting ( NativeModule * native_module)

Definition at line 1719 of file module-compiler.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitializeElementSegment()

std::optional< MessageTemplate > v8::internal::wasm::InitializeElementSegment ( Zone * zone,
Isolate * isolate,
DirectHandle< WasmTrustedInstanceData > trusted_instance_data,
DirectHandle< WasmTrustedInstanceData > shared_trusted_instance_data,
uint32_t segment_index )

Definition at line 2917 of file module-instantiate.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitInstructionTableOnce()

void v8::internal::wasm::InitInstructionTableOnce ( Isolate * isolate)

Definition at line 602 of file wasm-interpreter.cc.

Here is the caller graph for this function:

◆ InitTrapHandlersOnce()

void v8::internal::wasm::InitTrapHandlersOnce ( Isolate * isolate)

Definition at line 578 of file wasm-interpreter.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InstantiateToInstanceObject()

MaybeDirectHandle< WasmInstanceObject > v8::internal::wasm::InstantiateToInstanceObject ( Isolate * isolate,
ErrorThrower * thrower,
DirectHandle< WasmModuleObject > module_object,
MaybeDirectHandle< JSReceiver > imports,
MaybeDirectHandle< JSArrayBuffer > memory_buffer )

Definition at line 998 of file module-instantiate.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ int64_div_wrapper()

V8_EXPORT_PRIVATE int32_t v8::internal::wasm::int64_div_wrapper ( Address data)

Definition at line 299 of file wasm-external-refs.cc.

◆ int64_mod_wrapper()

V8_EXPORT_PRIVATE int32_t v8::internal::wasm::int64_mod_wrapper ( Address data)

Definition at line 312 of file wasm-external-refs.cc.

◆ int64_to_float32_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::int64_to_float32_wrapper ( Address data)

Definition at line 92 of file wasm-external-refs.cc.

◆ int64_to_float64_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::int64_to_float64_wrapper ( Address data)

Definition at line 168 of file wasm-external-refs.cc.

◆ Intersection() [1/2]

V8_INLINE V8_EXPORT_PRIVATE TypeInModule v8::internal::wasm::Intersection ( TypeInModule type1,
TypeInModule type2 )

Definition at line 172 of file wasm-subtyping.h.

Here is the call graph for this function:

◆ Intersection() [2/2]

V8_EXPORT_PRIVATE TypeInModule v8::internal::wasm::Intersection ( ValueType type1,
ValueType type2,
const WasmModule * module1,
const WasmModule * module2 )

Definition at line 635 of file wasm-subtyping.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_asmjs_module()

bool v8::internal::wasm::is_asmjs_module ( const WasmModule * module)
inline

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

Here is the caller graph for this function:

◆ is_error()

V8_INLINE bool v8::internal::wasm::is_error ( ValueOrError result)

Definition at line 120 of file constant-expression.h.

Here is the caller graph for this function:

◆ is_object_reference()

bool v8::internal::wasm::is_object_reference ( ValueKind kind)
constexpr

Definition at line 1142 of file value-type.h.

Here is the caller graph for this function:

◆ is_packed()

bool v8::internal::wasm::is_packed ( ValueKind kind)
constexpr

Definition at line 1208 of file value-type.h.

Here is the caller graph for this function:

◆ is_reference()

bool v8::internal::wasm::is_reference ( ValueKind kind)
constexpr

Definition at line 1138 of file value-type.h.

Here is the caller graph for this function:

◆ IsCompileTimeImport()

bool v8::internal::wasm::IsCompileTimeImport ( WellKnownImport wki)
inline

Definition at line 111 of file well-known-imports.h.

Here is the caller graph for this function:

◆ IsCrossInstanceCall()

bool v8::internal::wasm::IsCrossInstanceCall ( Tagged< Object > obj,
Isolate *const isolate )

Definition at line 1347 of file module-compiler.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsHeapSubtypeOf() [1/2]

V8_INLINE bool v8::internal::wasm::IsHeapSubtypeOf ( HeapType subtype,
HeapType supertype,
const WasmModule * module )

Definition at line 102 of file wasm-subtyping.h.

Here is the call graph for this function:

◆ IsHeapSubtypeOf() [2/2]

V8_INLINE bool v8::internal::wasm::IsHeapSubtypeOf ( HeapType subtype,
HeapType supertype,
const WasmModule * sub_module,
const WasmModule * super_module )

Definition at line 94 of file wasm-subtyping.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsJSCompatibleSignature()

V8_EXPORT_PRIVATE bool v8::internal::wasm::IsJSCompatibleSignature ( const CanonicalSig * sig)

Definition at line 31 of file wasm-opcodes.cc.

Here is the caller graph for this function:

◆ IsNullKind()

bool v8::internal::wasm::IsNullKind ( GenericKind kind)
constexpr

Definition at line 321 of file value-type.h.

Here is the caller graph for this function:

◆ IsSameTypeHierarchy()

bool v8::internal::wasm::IsSameTypeHierarchy ( HeapType type1,
HeapType type2,
const WasmModule * module )

Definition at line 678 of file wasm-subtyping.cc.

Here is the caller graph for this function:

◆ IsShared()

V8_EXPORT_PRIVATE bool v8::internal::wasm::IsShared ( ValueType type,
const WasmModule * module )
inline

Definition at line 133 of file wasm-subtyping.h.

Here is the caller graph for this function:

◆ IsSubtypeOf() [1/3]

V8_INLINE bool v8::internal::wasm::IsSubtypeOf ( CanonicalValueType subtype,
CanonicalValueType supertype )

Definition at line 81 of file wasm-subtyping.h.

Here is the call graph for this function:

◆ IsSubtypeOf() [2/3]

V8_INLINE bool v8::internal::wasm::IsSubtypeOf ( ValueType subtype,
ValueType supertype,
const WasmModule * module )

Definition at line 74 of file wasm-subtyping.h.

Here is the call graph for this function:

◆ IsSubtypeOf() [3/3]

V8_INLINE bool v8::internal::wasm::IsSubtypeOf ( ValueType subtype,
ValueType supertype,
const WasmModule * sub_module,
const WasmModule * super_module )

Definition at line 65 of file wasm-subtyping.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsSubtypeOfImpl() [1/3]

V8_NOINLINE V8_EXPORT_PRIVATE bool v8::internal::wasm::IsSubtypeOfImpl ( CanonicalValueType subtype,
CanonicalValueType supertype )

Definition at line 479 of file wasm-subtyping.cc.

Here is the call graph for this function:

◆ IsSubtypeOfImpl() [2/3]

V8_NOINLINE V8_EXPORT_PRIVATE bool v8::internal::wasm::IsSubtypeOfImpl ( HeapType subtype,
HeapType supertype,
const WasmModule * sub_module,
const WasmModule * super_module )

Definition at line 438 of file wasm-subtyping.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsSubtypeOfImpl() [3/3]

V8_NOINLINE V8_EXPORT_PRIVATE bool v8::internal::wasm::IsSubtypeOfImpl ( ValueType subtype,
ValueType supertype,
const WasmModule * sub_module,
const WasmModule * super_module )

Definition at line 461 of file wasm-subtyping.cc.

Here is the call graph for this function:

◆ IsSupportedVersion()

bool v8::internal::wasm::IsSupportedVersion ( base::Vector< const uint8_t > header,
WasmEnabledFeatures enabled_features )

Definition at line 1078 of file wasm-serialization.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsValidSectionCode()

bool v8::internal::wasm::IsValidSectionCode ( uint8_t byte)
inline

Definition at line 31 of file module-decoder.h.

Here is the caller graph for this function:

◆ IsWasmCodegenAllowed()

V8_EXPORT_PRIVATE bool v8::internal::wasm::IsWasmCodegenAllowed ( Isolate * isolate,
DirectHandle< NativeContext > context )

Definition at line 231 of file wasm-module.cc.

Here is the caller graph for this function:

◆ IterateSignatureImpl()

template<class ResultCollector , class SigType >
void v8::internal::wasm::IterateSignatureImpl ( const SigType * sig,
bool extra_callable_param,
ResultCollector & locations,
int * untagged_parameter_slots,
int * total_parameter_slots,
int * untagged_return_slots,
int * total_return_slots )

Definition at line 42 of file signature-hashing.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ JSToWasmObject() [1/2]

MaybeDirectHandle< Object > v8::internal::wasm::JSToWasmObject ( Isolate * isolate,
const WasmModule * module,
DirectHandle< Object > value,
ValueType expected,
const char ** error_message )

Definition at line 3645 of file wasm-objects.cc.

Here is the call graph for this function:

◆ JSToWasmObject() [2/2]

MaybeDirectHandle< Object > v8::internal::wasm::JSToWasmObject ( Isolate * isolate,
DirectHandle< Object > value,
CanonicalValueType expected,
const char ** error_message )

Definition at line 3453 of file wasm-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ JumpTableOffset()

int v8::internal::wasm::JumpTableOffset ( const WasmModule * module,
int func_index )

Definition at line 807 of file wasm-module.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ load_old_fp()

Address v8::internal::wasm::load_old_fp ( Isolate * isolate)

Definition at line 1108 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ LoadProfileFromFile()

V8_WARN_UNUSED_RESULT std::unique_ptr< ProfileInformation > v8::internal::wasm::LoadProfileFromFile ( const WasmModule * module,
base::Vector< const uint8_t > wire_bytes )

Definition at line 222 of file pgo.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ machine_type()

MachineType v8::internal::wasm::machine_type ( ValueKind kind)
constexpr

Definition at line 1195 of file value-type.h.

◆ MatchHelper()

template<int kLanes, int kLaneBytes>
bool v8::internal::wasm::MatchHelper ( const uint8_t * input,
uint8_t * output )

Definition at line 183 of file simd-shuffle.cc.

Here is the caller graph for this function:

◆ max_mem32_bytes()

uint64_t v8::internal::wasm::max_mem32_bytes ( )
inline

Definition at line 102 of file wasm-limits.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ max_mem32_pages()

V8_EXPORT_PRIVATE uint32_t v8::internal::wasm::max_mem32_pages ( )

Definition at line 2152 of file wasm-engine.cc.

Here is the caller graph for this function:

◆ max_mem64_bytes()

uint64_t v8::internal::wasm::max_mem64_bytes ( )
inline

Definition at line 106 of file wasm-limits.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ max_mem64_pages()

V8_EXPORT_PRIVATE uint32_t v8::internal::wasm::max_mem64_pages ( )

Definition at line 2161 of file wasm-engine.cc.

Here is the caller graph for this function:

◆ max_module_size()

V8_EXPORT_PRIVATE size_t v8::internal::wasm::max_module_size ( )

Definition at line 2183 of file wasm-engine.cc.

Here is the caller graph for this function:

◆ max_table_init_entries()

V8_EXPORT_PRIVATE uint32_t v8::internal::wasm::max_table_init_entries ( )

Definition at line 2177 of file wasm-engine.cc.

Here is the caller graph for this function:

◆ max_table_size()

V8_EXPORT_PRIVATE uint32_t v8::internal::wasm::max_table_size ( )

Definition at line 2171 of file wasm-engine.cc.

Here is the caller graph for this function:

◆ memory_copy_wrapper()

int32_t v8::internal::wasm::memory_copy_wrapper ( Address trusted_data_addr,
uint32_t dst_mem_index,
uint32_t src_mem_index,
uintptr_t dst,
uintptr_t src,
uintptr_t size )

Definition at line 778 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ memory_fill_wrapper()

int32_t v8::internal::wasm::memory_fill_wrapper ( Address trusted_data_addr,
uint32_t mem_index,
uintptr_t dst,
uint8_t value,
uintptr_t size )

Definition at line 798 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ memory_init_wrapper()

int32_t v8::internal::wasm::memory_init_wrapper ( Address trusted_data_addr,
uint32_t mem_index,
uintptr_t dst,
uint32_t src,
uint32_t seg_index,
uint32_t size )

Definition at line 757 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ name() [1/3]

const char * v8::internal::wasm::name ( ValueKind kind)
constexpr

Definition at line 1179 of file value-type.h.

Here is the caller graph for this function:

◆ name() [2/3]

const char * v8::internal::wasm::name ( WasmDetectedFeature feature)
inlineconstexpr

Definition at line 120 of file wasm-features.h.

◆ name() [3/3]

const char * v8::internal::wasm::name ( WasmEnabledFeature feature)
inlineconstexpr

Definition at line 106 of file wasm-features.h.

◆ NameBuiltinLength()

std::tuple< const char *, Builtin, int > v8::internal::wasm::NameBuiltinLength ( WellKnownImport wki)

Definition at line 1749 of file module-instantiate.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ needs_fp_reg_pair()

static constexpr bool v8::internal::wasm::needs_fp_reg_pair ( ValueKind kind)
inlinestaticconstexpr

Definition at line 52 of file liftoff-register.h.

Here is the caller graph for this function:

◆ needs_gp_reg_pair()

static constexpr bool v8::internal::wasm::needs_gp_reg_pair ( ValueKind kind)
inlinestaticconstexpr

Definition at line 48 of file liftoff-register.h.

Here is the caller graph for this function:

◆ Negate()

Condition v8::internal::wasm::Negate ( Condition cond)
inlineconstexpr

Definition at line 29 of file liftoff-assembler.h.

Here is the call graph for this function:

◆ NumFeedbackSlots()

int v8::internal::wasm::NumFeedbackSlots ( const WasmModule * module,
int func_index )

Definition at line 818 of file wasm-module.cc.

◆ OpcodeLength()

V8_EXPORT_PRIVATE unsigned v8::internal::wasm::OpcodeLength ( const uint8_t * pc,
const uint8_t * end )

Definition at line 84 of file function-body-decoder.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator<<() [1/23]

std::ostream & v8::internal::wasm::operator<< ( std::ostream & os,
AddressType address_type )
inline

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

Here is the call graph for this function:

◆ operator<<() [2/23]

std::ostream & v8::internal::wasm::operator<< ( std::ostream & os,
CompileTimeImport imp )
inline

Definition at line 143 of file wasm-features.h.

◆ operator<<() [3/23]

V8_EXPORT_PRIVATE std::ostream & v8::internal::wasm::operator<< ( std::ostream & os,
const FunctionSig & sig )

Definition at line 18 of file wasm-opcodes.cc.

◆ operator<<() [4/23]

V8_EXPORT_PRIVATE std::ostream & v8::internal::wasm::operator<< ( std::ostream & os,
const WasmFunctionName & name )

Definition at line 202 of file wasm-module.cc.

◆ operator<<() [5/23]

std::ostream & v8::internal::wasm::operator<< ( std::ostream & os,
LiftoffRegister reg )
inline

Definition at line 332 of file liftoff-register.h.

Here is the call graph for this function:

◆ operator<<() [6/23]

std::ostream & v8::internal::wasm::operator<< ( std::ostream & os,
LiftoffRegList reglist )
inline

Definition at line 555 of file liftoff-register.h.

Here is the call graph for this function:

◆ operator<<() [7/23]

std::ostream & v8::internal::wasm::operator<< ( std::ostream & os,
LiftoffVarState slot )

Definition at line 1196 of file liftoff-assembler.cc.

Here is the call graph for this function:

◆ operator<<() [8/23]

std::ostream & v8::internal::wasm::operator<< ( std::ostream & os,
WasmDetectedFeature feature )
inline

Definition at line 130 of file wasm-features.h.

◆ operator<<() [9/23]

std::ostream & v8::internal::wasm::operator<< ( std::ostream & os,
WasmEnabledFeature feature )
inline

Definition at line 116 of file wasm-features.h.

◆ operator<<() [10/23]

std::ostream & v8::internal::wasm::operator<< ( std::ostream & oss,
TypeIndex index )
inline

Definition at line 93 of file value-type.h.

◆ operator<<() [11/23]

std::ostream & v8::internal::wasm::operator<< ( std::ostream & oss,
TypeInModule type )
inline

Definition at line 152 of file wasm-subtyping.h.

◆ operator<<() [12/23]

std::ostream & v8::internal::wasm::operator<< ( std::ostream & oss,
ValueKind kind )
inline

Definition at line 1191 of file value-type.h.

◆ operator<<() [13/23]

std::ostream & v8::internal::wasm::operator<< ( std::ostream & oss,
ValueType type )
inline

Definition at line 1221 of file value-type.h.

◆ operator<<() [14/23]

std::ostream & v8::internal::wasm::operator<< ( std::ostream & out,
StructTypeBase type )
inline

Definition at line 281 of file struct-types.h.

◆ operator<<() [15/23]

StringBuilder & v8::internal::wasm::operator<< ( StringBuilder & sb,
char c )
inline

Definition at line 132 of file string-builder.h.

Here is the call graph for this function:

◆ operator<<() [16/23]

StringBuilder & v8::internal::wasm::operator<< ( StringBuilder & sb,
const char * str )
inline

Definition at line 125 of file string-builder.h.

Here is the call graph for this function:

◆ operator<<() [17/23]

StringBuilder & v8::internal::wasm::operator<< ( StringBuilder & sb,
const std::string & s )
inline

Definition at line 137 of file string-builder.h.

Here is the call graph for this function:

◆ operator<<() [18/23]

StringBuilder & v8::internal::wasm::operator<< ( StringBuilder & sb,
Indentation indentation )
inline

Definition at line 58 of file wasm-disassembler-impl.h.

Here is the call graph for this function:

◆ operator<<() [19/23]

StringBuilder & v8::internal::wasm::operator<< ( StringBuilder & sb,
int value )
inline

Definition at line 164 of file string-builder.h.

◆ operator<<() [20/23]

StringBuilder & v8::internal::wasm::operator<< ( StringBuilder & sb,
ModuleTypeIndex index )
inline

Definition at line 81 of file wasm-disassembler-impl.h.

◆ operator<<() [21/23]

StringBuilder & v8::internal::wasm::operator<< ( StringBuilder & sb,
std::string_view s )
inline

Definition at line 142 of file string-builder.h.

Here is the call graph for this function:

◆ operator<<() [22/23]

StringBuilder & v8::internal::wasm::operator<< ( StringBuilder & sb,
uint32_t n )
inline

Definition at line 147 of file string-builder.h.

Here is the call graph for this function:

◆ operator<<() [23/23]

StringBuilder & v8::internal::wasm::operator<< ( StringBuilder & sb,
uint64_t n )
inline

Definition at line 64 of file wasm-disassembler-impl.h.

Here is the call graph for this function:

◆ PrintSignature()

size_t v8::internal::wasm::PrintSignature ( base::Vector< char > buffer,
const CanonicalSig * sig,
char delimiter )

Definition at line 787 of file wasm-module.cc.

Here is the call graph for this function:

◆ PrintSignatureOneLine()

void v8::internal::wasm::PrintSignatureOneLine ( StringBuilder & out,
const FunctionSig * sig,
uint32_t func_index,
NamesProvider * names,
bool param_names,
IndexAsComment indices_as_comments = NamesProvider::kDontPrintIndex )

Definition at line 175 of file wasm-disassembler.cc.

Here is the caller graph for this function:

◆ PrintStringAsJSON()

void v8::internal::wasm::PrintStringAsJSON ( StringBuilder & out,
const uint8_t * start,
WireBytesRef ref )

Definition at line 1225 of file wasm-disassembler.cc.

Here is the call graph for this function:

◆ PrintStringRaw()

void v8::internal::wasm::PrintStringRaw ( StringBuilder & out,
const uint8_t * start,
const uint8_t * end )

Definition at line 202 of file wasm-disassembler.cc.

Here is the caller graph for this function:

◆ PublishDetectedFeatures()

void v8::internal::wasm::PublishDetectedFeatures ( WasmDetectedFeatures detected_features,
Isolate * isolate,
bool is_initial_compilation )

Definition at line 1724 of file module-compiler.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Qfma()

float v8::internal::wasm::Qfma ( float a,
float b,
float c )

Definition at line 693 of file wasm-external-refs.cc.

◆ Qfms()

float v8::internal::wasm::Qfms ( float a,
float b,
float c )

Definition at line 699 of file wasm-external-refs.cc.

◆ ReadFnId()

InstructionHandler v8::internal::wasm::ReadFnId ( const uint8_t *& code)
inline

Definition at line 1228 of file wasm-interpreter.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reg_class_for()

static constexpr RegClass v8::internal::wasm::reg_class_for ( ValueKind kind)
inlinestaticconstexpr

Definition at line 56 of file liftoff-register.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RestoreProfileData()

std::unique_ptr< ProfileInformation > v8::internal::wasm::RestoreProfileData ( const WasmModule * module,
base::Vector< uint8_t > profile_data )

Definition at line 182 of file pgo.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ return_switch()

void v8::internal::wasm::return_switch ( Isolate * isolate,
wasm::StackMemory * from )

Definition at line 990 of file wasm-external-refs.cc.

◆ SectionName()

V8_EXPORT_PRIVATE const char * v8::internal::wasm::SectionName ( SectionCode code)

Definition at line 22 of file module-decoder.cc.

Here is the caller graph for this function:

◆ shrink_stack()

Address v8::internal::wasm::shrink_stack ( Isolate * isolate)

Definition at line 1094 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ simd_float16_bin_wrapper()

template<typename R , R(*)(Float16, Float16) float_bin_op>
void v8::internal::wasm::simd_float16_bin_wrapper ( Address data)

Definition at line 468 of file wasm-external-refs.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ simd_float16_fma_wrapper()

template<float(*)(float, float, float) float_fma_op>
void v8::internal::wasm::simd_float16_fma_wrapper ( Address data)

Definition at line 681 of file wasm-external-refs.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ simd_float_round_wrapper()

template<typename T , T(*)(T) float_round_op>
void v8::internal::wasm::simd_float_round_wrapper ( Address data)

Definition at line 369 of file wasm-external-refs.cc.

Here is the caller graph for this function:

◆ simd_float_un_wrapper()

template<typename T , typename R , R(*)(T) float_un_op>
void v8::internal::wasm::simd_float_un_wrapper ( Address data)

Definition at line 575 of file wasm-external-refs.cc.

Here is the caller graph for this function:

◆ StartStreamingForTesting()

V8_EXPORT_PRIVATE std::unique_ptr< WasmStreaming > v8::internal::wasm::StartStreamingForTesting ( Isolate * isolate,
std::shared_ptr< wasm::CompilationResultResolver > resolver )

Definition at line 3888 of file wasm-js.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StringCheck()

static bool v8::internal::wasm::StringCheck ( const WasmRef obj)
static

Definition at line 2716 of file wasm-interpreter-runtime.cc.

Here is the call graph for this function:

◆ StructCheck()

static bool v8::internal::wasm::StructCheck ( const WasmRef obj)
static

Definition at line 2688 of file wasm-interpreter-runtime.cc.

Here is the call graph for this function:

◆ StructFieldOffset()

static int v8::internal::wasm::StructFieldOffset ( const StructType * struct_type,
int field_index )
static

Definition at line 746 of file wasm-interpreter.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ switch_from_the_central_stack()

void v8::internal::wasm::switch_from_the_central_stack ( Isolate * isolate)

Definition at line 1014 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ switch_from_the_central_stack_for_js()

void v8::internal::wasm::switch_from_the_central_stack_for_js ( Isolate * isolate)

Definition at line 1040 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ switch_stacks()

void v8::internal::wasm::switch_stacks ( Isolate * isolate,
wasm::StackMemory * from )

Definition at line 986 of file wasm-external-refs.cc.

◆ switch_to_the_central_stack()

intptr_t v8::internal::wasm::switch_to_the_central_stack ( Isolate * isolate,
uintptr_t current_sp )

Definition at line 995 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ switch_to_the_central_stack_for_js()

intptr_t v8::internal::wasm::switch_to_the_central_stack_for_js ( Isolate * isolate,
Address fp )

Definition at line 1028 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ ThrowLazyCompilationError()

void v8::internal::wasm::ThrowLazyCompilationError ( Isolate * isolate,
const NativeModule * native_module,
int func_index )

Definition at line 1249 of file module-compiler.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TierUpAllForTesting()

V8_EXPORT_PRIVATE void v8::internal::wasm::TierUpAllForTesting ( Isolate * isolate,
Tagged< WasmTrustedInstanceData > trusted_instance_data )

Definition at line 1704 of file module-compiler.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TierUpNowForTesting()

V8_EXPORT_PRIVATE void v8::internal::wasm::TierUpNowForTesting ( Isolate * isolate,
Tagged< WasmTrustedInstanceData > trusted_instance_data,
int func_index )

Definition at line 1690 of file module-compiler.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ to_error()

V8_INLINE MessageTemplate v8::internal::wasm::to_error ( ValueOrError result)

Definition at line 123 of file constant-expression.h.

Here is the caller graph for this function:

◆ to_value()

V8_INLINE WasmValue v8::internal::wasm::to_value ( ValueOrError result)

Definition at line 126 of file constant-expression.h.

Here is the caller graph for this function:

◆ ToNullSentinel()

ValueType v8::internal::wasm::ToNullSentinel ( TypeInModule type)

Definition at line 672 of file wasm-subtyping.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ trace_PushSlot()

template<typename T >
INSTRUCTION_HANDLER_FUNC v8::internal::wasm::trace_PushSlot ( const uint8_t * code,
uint32_t * sp,
WasmInterpreterRuntime * wasm_runtime,
int64_t r0,
double fp0 )

◆ TrapMemOutOfBounds()

INSTRUCTION_HANDLER_FUNC v8::internal::wasm::TrapMemOutOfBounds ( const uint8_t * code,
uint32_t * sp,
WasmInterpreterRuntime * wasm_runtime,
int64_t r0,
double fp0 )

Definition at line 8658 of file wasm-interpreter.cc.

Here is the caller graph for this function:

◆ TriggerTierUp()

V8_EXPORT_PRIVATE void v8::internal::wasm::TriggerTierUp ( Isolate * isolate,
Tagged< WasmTrustedInstanceData > trusted_instance_data,
int func_index )

Definition at line 1650 of file module-compiler.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TypesUnrelated()

V8_INLINE bool v8::internal::wasm::TypesUnrelated ( ValueType type1,
ValueType type2,
const WasmModule * module1,
const WasmModule * module2 )

Definition at line 87 of file wasm-subtyping.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ uint64_div_wrapper()

V8_EXPORT_PRIVATE int32_t v8::internal::wasm::uint64_div_wrapper ( Address data)

Definition at line 326 of file wasm-external-refs.cc.

◆ uint64_mod_wrapper()

V8_EXPORT_PRIVATE int32_t v8::internal::wasm::uint64_mod_wrapper ( Address data)

Definition at line 336 of file wasm-external-refs.cc.

◆ uint64_to_float32_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::uint64_to_float32_wrapper ( Address data)

Definition at line 97 of file wasm-external-refs.cc.

Here is the call graph for this function:

◆ uint64_to_float64_wrapper()

V8_EXPORT_PRIVATE void v8::internal::wasm::uint64_to_float64_wrapper ( Address data)

Definition at line 173 of file wasm-external-refs.cc.

◆ Union() [1/2]

V8_INLINE V8_EXPORT_PRIVATE TypeInModule v8::internal::wasm::Union ( TypeInModule type1,
TypeInModule type2 )

Definition at line 163 of file wasm-subtyping.h.

Here is the call graph for this function:

◆ Union() [2/2]

V8_EXPORT_PRIVATE TypeInModule v8::internal::wasm::Union ( ValueType type1,
ValueType type2,
const WasmModule * module1,
const WasmModule * module2 )

Definition at line 598 of file wasm-subtyping.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unpacked()

ValueKind v8::internal::wasm::unpacked ( ValueKind kind)
constexpr

Definition at line 1211 of file value-type.h.

Here is the call graph for this function:

◆ UpdateComputedInformation()

void v8::internal::wasm::UpdateComputedInformation ( WasmMemory * memory,
ModuleOrigin origin )
inline

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ V8_DECLARE_ONCE() [1/2]

v8::internal::wasm::V8_DECLARE_ONCE ( init_instruction_table_once )

◆ V8_DECLARE_ONCE() [2/2]

v8::internal::wasm::V8_DECLARE_ONCE ( init_trap_handlers_once )

◆ validate_utf8()

bool v8::internal::wasm::validate_utf8 ( Decoder * decoder,
WireBytesRef string )
inline

Definition at line 57 of file module-decoder-impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ValidateAndDecodeLocalDeclsForTesting()

V8_EXPORT_PRIVATE bool v8::internal::wasm::ValidateAndDecodeLocalDeclsForTesting ( WasmEnabledFeatures enabled,
BodyLocalDecls * decls,
const WasmModule * module,
bool is_shared,
const uint8_t * start,
const uint8_t * end,
Zone * zone )

Definition at line 50 of file function-body-decoder.cc.

Here is the call graph for this function:

◆ ValidateAndSetBuiltinImports()

V8_EXPORT_PRIVATE WasmError v8::internal::wasm::ValidateAndSetBuiltinImports ( const WasmModule * module,
base::Vector< const uint8_t > wire_bytes,
const CompileTimeImports & imports,
WasmDetectedFeatures * detected )

Definition at line 1837 of file module-compiler.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ValidateFunctionBody()

V8_EXPORT_PRIVATE DecodeResult v8::internal::wasm::ValidateFunctionBody ( Zone * zone,
WasmEnabledFeatures enabled,
const WasmModule * module,
WasmDetectedFeatures * detected,
const FunctionBody & body )

Definition at line 72 of file function-body-decoder.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ValidateFunctions()

V8_EXPORT_PRIVATE WasmError v8::internal::wasm::ValidateFunctions ( const WasmModule * module,
WasmEnabledFeatures enabled_features,
base::Vector< const uint8_t > wire_bytes,
std::function< bool(int)> filter,
WasmDetectedFeatures * detected_features_out )

Definition at line 619 of file module-decoder.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ValidSubtypeDefinition()

V8_EXPORT_PRIVATE bool v8::internal::wasm::ValidSubtypeDefinition ( ModuleTypeIndex subtype_index,
ModuleTypeIndex supertype_index,
const WasmModule * sub_module,
const WasmModule * super_module )

Definition at line 382 of file wasm-subtyping.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ value_kind_full_size()

int v8::internal::wasm::value_kind_full_size ( ValueKind kind)
constexpr

Definition at line 1171 of file value-type.h.

Here is the call graph for this function:

◆ value_kind_size()

int v8::internal::wasm::value_kind_size ( ValueKind kind)
constexpr

Definition at line 1158 of file value-type.h.

Here is the caller graph for this function:

◆ value_kind_size_log2()

int v8::internal::wasm::value_kind_size_log2 ( ValueKind kind)
constexpr

Definition at line 1146 of file value-type.h.

◆ value_type()

template<typename T >
static ValueType v8::internal::wasm::value_type ( )
inlinestatic

Definition at line 1179 of file wasm-interpreter.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ value_type< double >()

template<>
ValueType v8::internal::wasm::value_type< double > ( )
inline

Definition at line 1203 of file wasm-interpreter.h.

◆ value_type< float >()

template<>
ValueType v8::internal::wasm::value_type< float > ( )
inline

Definition at line 1199 of file wasm-interpreter.h.

◆ value_type< int32_t >()

template<>
ValueType v8::internal::wasm::value_type< int32_t > ( )
inline

Definition at line 1183 of file wasm-interpreter.h.

◆ value_type< int64_t >()

template<>
ValueType v8::internal::wasm::value_type< int64_t > ( )
inline

Definition at line 1191 of file wasm-interpreter.h.

◆ value_type< Simd128 >()

Definition at line 1207 of file wasm-interpreter.h.

◆ value_type< uint32_t >()

template<>
ValueType v8::internal::wasm::value_type< uint32_t > ( )
inline

Definition at line 1187 of file wasm-interpreter.h.

◆ value_type< uint64_t >()

template<>
ValueType v8::internal::wasm::value_type< uint64_t > ( )
inline

Definition at line 1195 of file wasm-interpreter.h.

◆ value_type< WasmRef >()

Definition at line 1211 of file wasm-interpreter.h.

◆ void()

typedef v8::internal::wasm::void ( VECTORCALL PWasmOp) const
Here is the caller graph for this function:

◆ WasmReturnTypeFromSignature()

std::optional< wasm::ValueKind > v8::internal::wasm::WasmReturnTypeFromSignature ( const CanonicalSig * wasm_signature)

Definition at line 168 of file value-type.cc.

Here is the call graph for this function:

◆ WasmToJSObject()

DirectHandle< Object > v8::internal::wasm::WasmToJSObject ( Isolate * isolate,
DirectHandle< Object > value )

Definition at line 3659 of file wasm-objects.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WellKnownImportName()

const char * v8::internal::wasm::WellKnownImportName ( WellKnownImport wki)

Definition at line 9 of file well-known-imports.cc.

Here is the caller graph for this function:

◆ word32_rol_wrapper()

V8_EXPORT_PRIVATE uint32_t v8::internal::wasm::word32_rol_wrapper ( uint32_t input,
uint32_t shift )

Definition at line 346 of file wasm-external-refs.cc.

◆ word32_ror_wrapper()

V8_EXPORT_PRIVATE uint32_t v8::internal::wasm::word32_ror_wrapper ( uint32_t input,
uint32_t shift )

Definition at line 350 of file wasm-external-refs.cc.

◆ word64_rol_wrapper()

V8_EXPORT_PRIVATE uint64_t v8::internal::wasm::word64_rol_wrapper ( uint64_t input,
uint32_t shift )

Definition at line 354 of file wasm-external-refs.cc.

◆ word64_ror_wrapper()

V8_EXPORT_PRIVATE uint64_t v8::internal::wasm::word64_ror_wrapper ( uint64_t input,
uint32_t shift )

Definition at line 358 of file wasm-external-refs.cc.

Variable Documentation

◆ invalid_instruction_trace

const std::pair<uint32_t, uint32_t> v8::internal::wasm::invalid_instruction_trace = {0, 0}

Definition at line 1512 of file function-body-decoder-impl.h.

◆ is_be

bool v8::internal::wasm::is_be = false
constexpr

Definition at line 717 of file liftoff-assembler-ppc-inl.h.

◆ kAfterMaxLiftoffFpRegCode

int v8::internal::wasm::kAfterMaxLiftoffFpRegCode
staticconstexpr
Initial value:
=
static constexpr int kMaxFpRegCode
static constexpr int kAfterMaxLiftoffGpRegCode

Definition at line 127 of file liftoff-register.h.

◆ kAfterMaxLiftoffGpRegCode

int v8::internal::wasm::kAfterMaxLiftoffGpRegCode = kMaxGpRegCode + 1
staticconstexpr

Definition at line 126 of file liftoff-register.h.

◆ kAfterMaxLiftoffRegCode

int v8::internal::wasm::kAfterMaxLiftoffRegCode = kAfterMaxLiftoffFpRegCode
staticconstexpr

Definition at line 129 of file liftoff-register.h.

◆ kAnonymousFuncIndex

int v8::internal::wasm::kAnonymousFuncIndex = -1
constexpr

Definition at line 188 of file wasm-constants.h.

◆ kBitsPerFpRegCode

int v8::internal::wasm::kBitsPerFpRegCode
staticconstexpr
Initial value:
=
32 - base::bits::CountLeadingZeros<uint32_t>(kMaxFpRegCode)

Definition at line 134 of file liftoff-register.h.

◆ kBitsPerGpRegCode

int v8::internal::wasm::kBitsPerGpRegCode
staticconstexpr
Initial value:
=
32 - base::bits::CountLeadingZeros<uint32_t>(kMaxGpRegCode)

Definition at line 132 of file liftoff-register.h.

◆ kBitsPerLiftoffRegCode

int v8::internal::wasm::kBitsPerLiftoffRegCode
staticconstexpr
Initial value:
=
32 - base::bits::CountLeadingZeros<uint32_t>(kAfterMaxLiftoffRegCode - 1)

Definition at line 130 of file liftoff-register.h.

◆ kBitsPerRegPair

int v8::internal::wasm::kBitsPerRegPair
staticconstexpr
Initial value:
=
(kNeedS128RegPair ? 2 : 1) + 2 * kBitsPerGpRegCode
static constexpr bool kNeedS128RegPair

Definition at line 137 of file liftoff-register.h.

◆ kBranchHintsString

char v8::internal::wasm::kBranchHintsString[] = "metadata.code.branch_hint"
constexpr

Definition at line 36 of file module-decoder-impl.h.

◆ kBranchOnCastDataTargetTypeBitSize

uint32_t v8::internal::wasm::kBranchOnCastDataTargetTypeBitSize = 30
constexpr

Definition at line 1061 of file wasm-interpreter.h.

◆ kBuildIdString

char v8::internal::wasm::kBuildIdString[] = "build_id"
constexpr

Definition at line 39 of file module-decoder-impl.h.

◆ kCodeOffsetSize

const ptrdiff_t v8::internal::wasm::kCodeOffsetSize = sizeof(int32_t)
static

Definition at line 1052 of file wasm-interpreter.h.

◆ kCompilationHintsString

char v8::internal::wasm::kCompilationHintsString[] = "compilationHints"
constexpr

Definition at line 35 of file module-decoder-impl.h.

◆ kDebugInfoString

char v8::internal::wasm::kDebugInfoString[] = ".debug_info"
constexpr

Definition at line 37 of file module-decoder-impl.h.

◆ kDefaultCompilationHint

uint8_t v8::internal::wasm::kDefaultCompilationHint = 0x0
constexpr

Definition at line 142 of file wasm-constants.h.

◆ kDefaultImportCallKind

ImportCallKind v8::internal::wasm::kDefaultImportCallKind
constexpr
Initial value:
=
ImportCallKind::kJSFunctionArityMatch

Definition at line 57 of file module-instantiate.h.

◆ kExceptionAttribute

uint32_t v8::internal::wasm::kExceptionAttribute = 0
constexpr

Definition at line 186 of file wasm-constants.h.

◆ kExternalDebugInfoString

char v8::internal::wasm::kExternalDebugInfoString[] = "external_debug_info"
constexpr

Definition at line 38 of file module-decoder-impl.h.

◆ kFloat32SignBitMask

uint32_t v8::internal::wasm::kFloat32SignBitMask = uint32_t{1} << 31
constexpr

Definition at line 674 of file wasm-interpreter.cc.

◆ kFloat64SignBitMask

uint64_t v8::internal::wasm::kFloat64SignBitMask = uint64_t{1} << 63
constexpr

Definition at line 675 of file wasm-interpreter.cc.

◆ kFpCacheRegList

LiftoffRegList v8::internal::wasm::kFpCacheRegList
staticconstexpr
Initial value:
=
LiftoffRegList::FromBits<LiftoffRegList::kFpMask>()

Definition at line 522 of file liftoff-register.h.

◆ kFpParamRegisters

DoubleRegister v8::internal::wasm::kFpParamRegisters[] = {}
constexpr

Definition at line 119 of file wasm-linkage.h.

◆ kFpReturnRegisters

DoubleRegister v8::internal::wasm::kFpReturnRegisters[] = {}
constexpr

Definition at line 120 of file wasm-linkage.h.

◆ kFunctionExecutedBit

uint8_t v8::internal::wasm::kFunctionExecutedBit = 1 << 0
constexpr

Definition at line 12 of file pgo.cc.

◆ kFunctionTieredUpBit

uint8_t v8::internal::wasm::kFunctionTieredUpBit = 1 << 1
constexpr

Definition at line 13 of file pgo.cc.

◆ kGenericWrapperBudget

uint32_t v8::internal::wasm::kGenericWrapperBudget = 1000
constexpr

Definition at line 210 of file wasm-constants.h.

◆ kGpCacheRegList

LiftoffRegList v8::internal::wasm::kGpCacheRegList
staticconstexpr
Initial value:
=
LiftoffRegList::FromBits<LiftoffRegList::kGpMask>()

Definition at line 520 of file liftoff-register.h.

◆ kGpParamRegisters

Register v8::internal::wasm::kGpParamRegisters[] = {}
constexpr

Definition at line 117 of file wasm-linkage.h.

◆ kGpReturnRegisters

Register v8::internal::wasm::kGpReturnRegisters[] = {}
constexpr

Definition at line 118 of file wasm-linkage.h.

◆ kHexChars

char v8::internal::wasm::kHexChars[] = "0123456789abcdef"
staticconstexpr

Definition at line 117 of file wasm-disassembler.cc.

◆ kIndicesAsComments

IndexAsComment v8::internal::wasm::kIndicesAsComments = NamesProvider::kIndexAsComment
constexpr

Definition at line 31 of file wasm-disassembler-impl.h.

◆ kInstructionTable

PWasmOp * v8::internal::wasm::kInstructionTable

Definition at line 7139 of file wasm-interpreter.cc.

◆ kInstructionTableMask

uint32_t v8::internal::wasm::kInstructionTableMask = kInstructionTableSize - 1
staticconstexpr

Definition at line 1216 of file wasm-interpreter.h.

◆ kInstructionTableSize

uint32_t v8::internal::wasm::kInstructionTableSize = 4096
staticconstexpr

Definition at line 1215 of file wasm-interpreter.h.

◆ kInstTraceString

char v8::internal::wasm::kInstTraceString[] = "metadata.code.trace_inst"
constexpr

Definition at line 34 of file module-decoder-impl.h.

◆ kIntConst

auto v8::internal::wasm::kIntConst = VarState::kIntConst
constexpr

Definition at line 45 of file liftoff-compiler.cc.

◆ kInvalidCanonicalIndex

uint32_t v8::internal::wasm::kInvalidCanonicalIndex = static_cast<uint32_t>(-1)
constexpr

Definition at line 192 of file wasm-constants.h.

◆ kInvalidWasmCodePointer

WasmCodePointer v8::internal::wasm::kInvalidWasmCodePointer
constexpr
Initial value:
=
WasmCodePointer{WasmCodePointerTable::kInvalidHandle}

Definition at line 87 of file wasm-code-manager.h.

◆ kIsBigEndian

bool v8::internal::wasm::kIsBigEndian = false
constexpr

Definition at line 134 of file wasm-linkage.h.

◆ kIsBigEndianOnSim

bool v8::internal::wasm::kIsBigEndianOnSim = false
constexpr

Definition at line 139 of file wasm-linkage.h.

◆ kIsFpAlwaysDouble

bool v8::internal::wasm::kIsFpAlwaysDouble = false
constexpr

Definition at line 129 of file wasm-linkage.h.

◆ kLiftoffAssemblerFpCacheRegs

DoubleRegList v8::internal::wasm::kLiftoffAssemblerFpCacheRegs
constexpr
Initial value:
=
DoubleRegList::FromBits(0xff)

Definition at line 150 of file liftoff-assembler-defs.h.

◆ kLiftoffAssemblerGpCacheRegs

RegList v8::internal::wasm::kLiftoffAssemblerGpCacheRegs = RegList::FromBits(0xff)
constexpr

Definition at line 148 of file liftoff-assembler-defs.h.

◆ kMaxCanonicalTypes

size_t v8::internal::wasm::kMaxCanonicalTypes = kV8MaxWasmTypes
staticconstexpr

Definition at line 28 of file canonical-types.h.

◆ kMaxFpRegCode

int v8::internal::wasm::kMaxFpRegCode = kLiftoffAssemblerFpCacheRegs.last().code()
staticconstexpr

Definition at line 125 of file liftoff-register.h.

◆ kMaxGpRegCode

int v8::internal::wasm::kMaxGpRegCode = kLiftoffAssemblerGpCacheRegs.last().code()
staticconstexpr

Definition at line 123 of file liftoff-register.h.

◆ kMaxMemory64Size

size_t v8::internal::wasm::kMaxMemory64Size
constexpr
Initial value:
=
constexpr size_t kV8MaxWasmMemory64Pages
Definition wasm-limits.h:46
constexpr size_t kWasmPageSize

Definition at line 111 of file wasm-limits.h.

◆ kMaxPolymorphism

int v8::internal::wasm::kMaxPolymorphism = 4
constexpr

Definition at line 217 of file wasm-constants.h.

◆ kMaxStructFieldIndexForImplicitNullCheck

int v8::internal::wasm::kMaxStructFieldIndexForImplicitNullCheck = 4000
constexpr

Definition at line 221 of file wasm-constants.h.

◆ kMaxValueTypeSize

int v8::internal::wasm::kMaxValueTypeSize = 16
constexpr

Definition at line 49 of file value-type.h.

◆ kMaxVarInt32Size

size_t v8::internal::wasm::kMaxVarInt32Size = 5
constexpr

Definition at line 20 of file leb-helper.h.

◆ kMaxVarInt64Size

size_t v8::internal::wasm::kMaxVarInt64Size = 10
constexpr

Definition at line 21 of file leb-helper.h.

◆ kMinimumSupertypeArraySize

uint32_t v8::internal::wasm::kMinimumSupertypeArraySize = 3
constexpr

Definition at line 214 of file wasm-constants.h.

◆ kNameString

char v8::internal::wasm::kNameString[] = "name"
constexpr

Definition at line 32 of file module-decoder-impl.h.

◆ kNeedI64RegPair

bool v8::internal::wasm::kNeedI64RegPair = kSystemPointerSize == 4
staticconstexpr

Definition at line 19 of file liftoff-register.h.

◆ kNeedS128RegPair

bool v8::internal::wasm::kNeedS128RegPair = kFPAliasing == AliasingKind::kCombine
staticconstexpr

Definition at line 20 of file liftoff-register.h.

◆ kNoCodePosition

WasmCodePosition v8::internal::wasm::kNoCodePosition = -1
constexpr

Definition at line 184 of file wasm-constants.h.

◆ kNoCompilationHint

uint8_t v8::internal::wasm::kNoCompilationHint = kMaxUInt8
constexpr

Definition at line 143 of file wasm-constants.h.

◆ kNoSuperType

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

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

◆ kNotShared

bool v8::internal::wasm::kNotShared = false
staticconstexpr

Definition at line 101 of file value-type.h.

◆ kNoType

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

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

◆ kNoValidate

Decoder::NoValidationTag v8::internal::wasm::kNoValidate
constexpr

Definition at line 15 of file wasm-interpreter-simd.cc.

◆ kOperatorModeCount

const size_t v8::internal::wasm::kOperatorModeCount = 4
static

Definition at line 726 of file wasm-interpreter.h.

◆ kPaddedVarInt32Size

size_t v8::internal::wasm::kPaddedVarInt32Size = 5
constexpr

Definition at line 19 of file leb-helper.h.

◆ kPartialOOBWritesAreNoops

bool v8::internal::wasm::kPartialOOBWritesAreNoops = true
constexpr

Definition at line 46 of file compilation-environment.h.

◆ kRegister

auto v8::internal::wasm::kRegister = VarState::kRegister
constexpr

Definition at line 44 of file liftoff-compiler.cc.

◆ kRegModes

const RegModeTransform v8::internal::wasm::kRegModes[256]
static

Definition at line 777 of file wasm-interpreter.h.

◆ kSharedFlagCode

uint8_t v8::internal::wasm::kSharedFlagCode = 0x65
constexpr

Definition at line 66 of file wasm-constants.h.

◆ kSkipDataSegmentNames

bool v8::internal::wasm::kSkipDataSegmentNames = true
constexpr

Definition at line 32 of file wasm-disassembler-impl.h.

◆ kSkipFunctionTypesInTypeSection

bool v8::internal::wasm::kSkipFunctionTypesInTypeSection = true
constexpr

Definition at line 30 of file wasm-disassembler-impl.h.

◆ kSlotSize

const size_t v8::internal::wasm::kSlotSize = sizeof(int32_t)
static

Definition at line 1051 of file wasm-interpreter.h.

◆ kSourceMappingURLString

char v8::internal::wasm::kSourceMappingURLString[] = "sourceMappingURL"
constexpr

Definition at line 33 of file module-decoder-impl.h.

◆ kSpecMaxMemory32Pages

size_t v8::internal::wasm::kSpecMaxMemory32Pages = 65'536
constexpr

Definition at line 25 of file wasm-limits.h.

◆ kSpecMaxMemory64Pages

size_t v8::internal::wasm::kSpecMaxMemory64Pages = 262'144
constexpr

Definition at line 26 of file wasm-limits.h.

◆ kStack

auto v8::internal::wasm::kStack = VarState::kStack
constexpr

Definition at line 46 of file liftoff-compiler.cc.

◆ kStackFpOffset

int v8::internal::wasm::kStackFpOffset
constexpr
Initial value:
=
wasm::StackMemory::jmpbuf_offset() + offsetof(JumpBuffer, fp)

Definition at line 204 of file stacks.h.

◆ kStackLimitOffset

int v8::internal::wasm::kStackLimitOffset
constexpr
Initial value:
=
wasm::StackMemory::jmpbuf_offset() + offsetof(JumpBuffer, stack_limit)

Definition at line 208 of file stacks.h.

◆ kStackParentOffset

int v8::internal::wasm::kStackParentOffset
constexpr
Initial value:
=
wasm::StackMemory::jmpbuf_offset() + offsetof(JumpBuffer, parent)

Definition at line 210 of file stacks.h.

◆ kStackPcOffset

int v8::internal::wasm::kStackPcOffset
constexpr
Initial value:
=
wasm::StackMemory::jmpbuf_offset() + offsetof(JumpBuffer, pc)

Definition at line 206 of file stacks.h.

◆ kStackSpOffset

int v8::internal::wasm::kStackSpOffset
constexpr
Initial value:
=
wasm::StackMemory::jmpbuf_offset() + offsetof(JumpBuffer, sp)

Definition at line 202 of file stacks.h.

◆ kStackStateOffset

int v8::internal::wasm::kStackStateOffset
constexpr
Initial value:
=
wasm::StackMemory::jmpbuf_offset() + offsetof(JumpBuffer, state)

Definition at line 212 of file stacks.h.

◆ kUpperHexChars

char v8::internal::wasm::kUpperHexChars[] = "0123456789ABCDEF"
staticconstexpr

Definition at line 118 of file wasm-disassembler.cc.

◆ kV8MaxRttSubtypingDepth

uint32_t v8::internal::wasm::kV8MaxRttSubtypingDepth = 63
constexpr

Definition at line 65 of file wasm-limits.h.

◆ kV8MaxWasmArrayNewFixedLength

size_t v8::internal::wasm::kV8MaxWasmArrayNewFixedLength = 10'000
constexpr

Definition at line 66 of file wasm-limits.h.

◆ kV8MaxWasmDataSegments

size_t v8::internal::wasm::kV8MaxWasmDataSegments = 100'000
constexpr

Definition at line 37 of file wasm-limits.h.

◆ kV8MaxWasmDefinedFunctions

size_t v8::internal::wasm::kV8MaxWasmDefinedFunctions = 1'000'000
constexpr

Definition at line 31 of file wasm-limits.h.

◆ kV8MaxWasmExceptionTypes

size_t v8::internal::wasm::kV8MaxWasmExceptionTypes = 1'000'000
constexpr

Definition at line 36 of file wasm-limits.h.

◆ kV8MaxWasmExports

size_t v8::internal::wasm::kV8MaxWasmExports = 1'000'000
constexpr

Definition at line 33 of file wasm-limits.h.

◆ kV8MaxWasmFunctionBrTableSize

size_t v8::internal::wasm::kV8MaxWasmFunctionBrTableSize = 65'520
constexpr

Definition at line 55 of file wasm-limits.h.

◆ kV8MaxWasmFunctionLocals

size_t v8::internal::wasm::kV8MaxWasmFunctionLocals = 50'000
constexpr

Definition at line 52 of file wasm-limits.h.

◆ kV8MaxWasmFunctionParams

size_t v8::internal::wasm::kV8MaxWasmFunctionParams = 1'000
constexpr

Definition at line 53 of file wasm-limits.h.

◆ kV8MaxWasmFunctionReturns

size_t v8::internal::wasm::kV8MaxWasmFunctionReturns = 1'000
constexpr

Definition at line 54 of file wasm-limits.h.

◆ kV8MaxWasmFunctionSize

size_t v8::internal::wasm::kV8MaxWasmFunctionSize = 7'654'321
constexpr

Definition at line 51 of file wasm-limits.h.

◆ kV8MaxWasmGlobals

size_t v8::internal::wasm::kV8MaxWasmGlobals = 1'000'000
constexpr

Definition at line 34 of file wasm-limits.h.

◆ kV8MaxWasmImports

size_t v8::internal::wasm::kV8MaxWasmImports = 1'000'000
constexpr

Definition at line 32 of file wasm-limits.h.

◆ kV8MaxWasmMemories

size_t v8::internal::wasm::kV8MaxWasmMemories = 100'000
constexpr

Definition at line 61 of file wasm-limits.h.

◆ kV8MaxWasmMemory32Pages

size_t v8::internal::wasm::kV8MaxWasmMemory32Pages
constexpr
Initial value:
? 32'767
: 65'536
constexpr int kSystemPointerSize
Definition globals.h:410

Definition at line 43 of file wasm-limits.h.

◆ kV8MaxWasmMemory64Pages

size_t v8::internal::wasm::kV8MaxWasmMemory64Pages
constexpr
Initial value:
? 32'767
: 262'144

Definition at line 46 of file wasm-limits.h.

◆ kV8MaxWasmModuleSize

size_t v8::internal::wasm::kV8MaxWasmModuleSize = 1024 * 1024 * 1024
constexpr

Definition at line 50 of file wasm-limits.h.

◆ kV8MaxWasmStringLiterals

size_t v8::internal::wasm::kV8MaxWasmStringLiterals = 1'000'000
constexpr

Definition at line 69 of file wasm-limits.h.

◆ kV8MaxWasmStringSize

size_t v8::internal::wasm::kV8MaxWasmStringSize = 100'000
constexpr

Definition at line 49 of file wasm-limits.h.

◆ kV8MaxWasmStructFields

size_t v8::internal::wasm::kV8MaxWasmStructFields = 10'000
constexpr

Definition at line 64 of file wasm-limits.h.

◆ kV8MaxWasmTableInitEntries

size_t v8::internal::wasm::kV8MaxWasmTableInitEntries = 10'000'000
constexpr

Definition at line 59 of file wasm-limits.h.

◆ kV8MaxWasmTables

size_t v8::internal::wasm::kV8MaxWasmTables = 100'000
constexpr

Definition at line 60 of file wasm-limits.h.

◆ kV8MaxWasmTableSize

size_t v8::internal::wasm::kV8MaxWasmTableSize = 10'000'000
constexpr

Definition at line 58 of file wasm-limits.h.

◆ kV8MaxWasmTags

size_t v8::internal::wasm::kV8MaxWasmTags = 1'000'000
constexpr

Definition at line 35 of file wasm-limits.h.

◆ kV8MaxWasmTotalFunctions

size_t v8::internal::wasm::kV8MaxWasmTotalFunctions
constexpr
Initial value:
=
constexpr size_t kV8MaxWasmImports
Definition wasm-limits.h:32
constexpr size_t kV8MaxWasmDefinedFunctions
Definition wasm-limits.h:31

Definition at line 88 of file wasm-limits.h.

◆ kV8MaxWasmTypes

size_t v8::internal::wasm::kV8MaxWasmTypes = 1'000'000
constexpr

Definition at line 30 of file wasm-limits.h.

◆ kWasmAnyRef

IndependentHeapType v8::internal::wasm::kWasmAnyRef {GenericKind::kAny}
constexpr

Definition at line 1241 of file value-type.h.

◆ kWasmArrayRef

IndependentHeapType v8::internal::wasm::kWasmArrayRef {GenericKind::kArray}
constexpr

Definition at line 1250 of file value-type.h.

◆ kWasmArrayTypeCode

uint8_t v8::internal::wasm::kWasmArrayTypeCode = 0x5e
constexpr

Definition at line 69 of file wasm-constants.h.

◆ kWasmBottom

IndependentHeapType v8::internal::wasm::kWasmBottom {GenericKind::kBottom, kNonNullable}
constexpr

Definition at line 1238 of file value-type.h.

◆ kWasmContRef

IndependentHeapType v8::internal::wasm::kWasmContRef {GenericKind::kCont}
constexpr

Definition at line 1268 of file value-type.h.

◆ kWasmContTypeCode

uint8_t v8::internal::wasm::kWasmContTypeCode = 0x5d
constexpr

Definition at line 70 of file wasm-constants.h.

◆ kWasmDescribesCode

uint8_t v8::internal::wasm::kWasmDescribesCode = 0x4c
constexpr

Definition at line 75 of file wasm-constants.h.

◆ kWasmDescriptorCode

uint8_t v8::internal::wasm::kWasmDescriptorCode = 0x4d
constexpr

Definition at line 74 of file wasm-constants.h.

◆ kWasmEqRef

IndependentHeapType v8::internal::wasm::kWasmEqRef {GenericKind::kEq}
constexpr

Definition at line 1246 of file value-type.h.

◆ kWasmExnRef

IndependentHeapType v8::internal::wasm::kWasmExnRef {GenericKind::kExn}
constexpr

Definition at line 1245 of file value-type.h.

◆ kWasmExternRef

IndependentHeapType v8::internal::wasm::kWasmExternRef {GenericKind::kExtern}
constexpr

Definition at line 1242 of file value-type.h.

◆ kWasmF16

IndependentValueType v8::internal::wasm::kWasmF16 {NumericKind::kF16}
constexpr

Definition at line 1234 of file value-type.h.

◆ kWasmF32

IndependentValueType v8::internal::wasm::kWasmF32 {NumericKind::kF32}
constexpr

Definition at line 1229 of file value-type.h.

◆ kWasmF64

IndependentValueType v8::internal::wasm::kWasmF64 {NumericKind::kF64}
constexpr

Definition at line 1230 of file value-type.h.

◆ kWasmFuncRef

IndependentHeapType v8::internal::wasm::kWasmFuncRef {GenericKind::kFunc}
constexpr

Definition at line 1240 of file value-type.h.

◆ kWasmFunctionTypeCode

uint8_t v8::internal::wasm::kWasmFunctionTypeCode = 0x60
constexpr

Definition at line 67 of file wasm-constants.h.

◆ kWasmI16

IndependentValueType v8::internal::wasm::kWasmI16 {NumericKind::kI16}
constexpr

Definition at line 1233 of file value-type.h.

◆ kWasmI31Ref

IndependentHeapType v8::internal::wasm::kWasmI31Ref {GenericKind::kI31}
constexpr

Definition at line 1247 of file value-type.h.

◆ kWasmI32

IndependentValueType v8::internal::wasm::kWasmI32 {NumericKind::kI32}
constexpr

Definition at line 1227 of file value-type.h.

◆ kWasmI64

IndependentValueType v8::internal::wasm::kWasmI64 {NumericKind::kI64}
constexpr

Definition at line 1228 of file value-type.h.

◆ kWasmI8

IndependentValueType v8::internal::wasm::kWasmI8 {NumericKind::kI8}
constexpr

Definition at line 1232 of file value-type.h.

◆ kWasmInstanceDataParameterIndex

int v8::internal::wasm::kWasmInstanceDataParameterIndex = 0
constexpr

Definition at line 144 of file wasm-linkage.h.

◆ kWasmMagic

uint32_t v8::internal::wasm::kWasmMagic = 0x6d736100
constexpr

Definition at line 22 of file wasm-constants.h.

◆ kWasmMaxHeapOffset

uint64_t v8::internal::wasm::kWasmMaxHeapOffset
constexpr
Initial value:
=
static_cast<uint64_t>(
std::numeric_limits<uint32_t>::max())
+ std::numeric_limits<uint32_t>::max()

Definition at line 81 of file wasm-limits.h.

◆ kWasmNullContRef

IndependentHeapType v8::internal::wasm::kWasmNullContRef {GenericKind::kNoCont}
constexpr

Definition at line 1269 of file value-type.h.

◆ kWasmNullExnRef

IndependentHeapType v8::internal::wasm::kWasmNullExnRef {GenericKind::kNoExn}
constexpr

Definition at line 1266 of file value-type.h.

◆ kWasmNullExternRef

IndependentHeapType v8::internal::wasm::kWasmNullExternRef {GenericKind::kNoExtern}
constexpr

Definition at line 1265 of file value-type.h.

◆ kWasmNullFuncRef

IndependentHeapType v8::internal::wasm::kWasmNullFuncRef {GenericKind::kNoFunc}
constexpr

Definition at line 1267 of file value-type.h.

◆ kWasmNullRef

IndependentHeapType v8::internal::wasm::kWasmNullRef {GenericKind::kNone}
constexpr

Definition at line 1264 of file value-type.h.

◆ kWasmPageSize

size_t v8::internal::wasm::kWasmPageSize = 0x10000
constexpr

Definition at line 178 of file wasm-constants.h.

◆ kWasmPageSizeLog2

uint32_t v8::internal::wasm::kWasmPageSizeLog2 = 16
constexpr

Definition at line 179 of file wasm-constants.h.

◆ kWasmRecursiveTypeGroupCode

uint8_t v8::internal::wasm::kWasmRecursiveTypeGroupCode = 0x4e
constexpr

Definition at line 73 of file wasm-constants.h.

◆ kWasmRefExtern

IndependentHeapType v8::internal::wasm::kWasmRefExtern
constexpr
Initial value:
{GenericKind::kExtern,

Definition at line 1243 of file value-type.h.

◆ kWasmRefExternString

IndependentHeapType v8::internal::wasm::kWasmRefExternString
constexpr
Initial value:
{GenericKind::kExternString,

Definition at line 1256 of file value-type.h.

◆ kWasmRefI31

IndependentHeapType v8::internal::wasm::kWasmRefI31 {GenericKind::kI31, kNonNullable}
constexpr

Definition at line 1248 of file value-type.h.

◆ kWasmRefNullExternString

IndependentHeapType v8::internal::wasm::kWasmRefNullExternString
constexpr
Initial value:
{
GenericKind::kExternString}

Definition at line 1254 of file value-type.h.

◆ kWasmRefString

IndependentHeapType v8::internal::wasm::kWasmRefString
constexpr
Initial value:
{GenericKind::kString,

Definition at line 1252 of file value-type.h.

◆ kWasmS128

IndependentValueType v8::internal::wasm::kWasmS128 {NumericKind::kS128}
constexpr

Definition at line 1231 of file value-type.h.

◆ kWasmStringRef

IndependentHeapType v8::internal::wasm::kWasmStringRef {GenericKind::kString}
constexpr

Definition at line 1251 of file value-type.h.

◆ kWasmStringViewIter

IndependentHeapType v8::internal::wasm::kWasmStringViewIter
constexpr
Initial value:
{GenericKind::kStringViewIter,

Definition at line 1262 of file value-type.h.

◆ kWasmStringViewWtf16

IndependentHeapType v8::internal::wasm::kWasmStringViewWtf16
constexpr
Initial value:
{
GenericKind::kStringViewWtf16, kNonNullable}

Definition at line 1260 of file value-type.h.

◆ kWasmStringViewWtf8

IndependentHeapType v8::internal::wasm::kWasmStringViewWtf8
constexpr
Initial value:
{GenericKind::kStringViewWtf8,

Definition at line 1258 of file value-type.h.

◆ kWasmStructRef

IndependentHeapType v8::internal::wasm::kWasmStructRef {GenericKind::kStruct}
constexpr

Definition at line 1249 of file value-type.h.

◆ kWasmStructTypeCode

uint8_t v8::internal::wasm::kWasmStructTypeCode = 0x5f
constexpr

Definition at line 68 of file wasm-constants.h.

◆ kWasmSubtypeCode

uint8_t v8::internal::wasm::kWasmSubtypeCode = 0x50
constexpr

Definition at line 71 of file wasm-constants.h.

◆ kWasmSubtypeFinalCode

uint8_t v8::internal::wasm::kWasmSubtypeFinalCode = 0x4f
constexpr

Definition at line 72 of file wasm-constants.h.

◆ kWasmTop

IndependentHeapType v8::internal::wasm::kWasmTop {GenericKind::kTop}
constexpr

Definition at line 1237 of file value-type.h.

◆ kWasmVersion

uint32_t v8::internal::wasm::kWasmVersion = 0x01
constexpr

Definition at line 23 of file wasm-constants.h.

◆ kWasmVoid

IndependentHeapType v8::internal::wasm::kWasmVoid {GenericKind::kVoid, kNonNullable}
constexpr

Definition at line 1235 of file value-type.h.

◆ s_unwind_code

InstructionHandler v8::internal::wasm::s_unwind_code = InstructionHandler::k_s2s_Unwind

Definition at line 751 of file wasm-interpreter.cc.

◆ stack_bias

int v8::internal::wasm::stack_bias = 0
constexpr

Definition at line 1114 of file liftoff-assembler-ppc-inl.h.