|
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
} |
|
|
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< DebugSideTable > | GenerateLiftoffDebugSideTable (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) |
|
TypeCanonicalizer * | GetTypeCanonicalizer () |
|
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 () |
|
BitVector * | AnalyzeLoopAssignmentForTesting (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 InterpreterHandle * | GetInterpreterHandle (Isolate *isolate, DirectHandle< Tuple2 > interpreter_object) |
|
V8_EXPORT_PRIVATE InterpreterHandle * | GetOrCreateInterpreterHandle (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< NativeModule > | 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) |
|
WasmCode * | CompileImportWrapperForTest (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< CustomSectionOffset > | DecodeCustomSections (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< WasmInstanceObject > | InstantiateToInstanceObject (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< JSFunction > | CreateFunctionForCompileTimeImport (Isolate *isolate, WellKnownImport wki) |
|
std::optional< MessageTemplate > | InitializeElementSegment (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< ProfileInformation > | DeserializeTieringInformation (Decoder &decoder, const WasmModule *module) |
|
std::unique_ptr< ProfileInformation > | RestoreProfileData (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< ProfileInformation > | LoadProfileFromFile (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) |
|
StringBuilder & | operator<< (StringBuilder &sb, const char *str) |
|
StringBuilder & | operator<< (StringBuilder &sb, char c) |
|
StringBuilder & | operator<< (StringBuilder &sb, const std::string &s) |
|
StringBuilder & | operator<< (StringBuilder &sb, std::string_view s) |
|
StringBuilder & | operator<< (StringBuilder &sb, uint32_t n) |
|
StringBuilder & | operator<< (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::ValueKind > | WasmReturnTypeFromSignature (const CanonicalSig *wasm_signature) |
|
bool | EquivalentNumericSig (const CanonicalSig *a, const FunctionSig *b) |
|
const wasm::FunctionSig * | GetI32Sig (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 WasmCodePointerTable * | GetProcessWideWasmCodePointerTable () |
|
StringBuilder & | operator<< (StringBuilder &sb, Indentation indentation) |
|
StringBuilder & | operator<< (StringBuilder &sb, uint64_t n) |
|
StringBuilder & | operator<< (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< OffsetsProvider > | AllocateOffsetsProvider () |
|
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) |
|
WasmEngine * | GetWasmEngine () |
|
WasmCodeManager * | GetWasmCodeManager () |
|
WasmImportWrapperCache * | GetWasmImportWrapperCache () |
|
CanonicalTypeNamesProvider * | GetCanonicalTypeNamesProvider () |
|
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< WasmStreaming > | StartStreamingForTesting (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< String > | ErrorStringForCodegen (Isolate *isolate, DirectHandle< Context > context) |
|
DirectHandle< JSObject > | GetTypeForFunction (Isolate *isolate, const FunctionSig *sig, bool for_exception) |
|
DirectHandle< JSObject > | GetTypeForGlobal (Isolate *isolate, bool is_mutable, ValueType type) |
|
DirectHandle< JSObject > | GetTypeForMemory (Isolate *isolate, uint32_t min_size, std::optional< uint64_t > max_size, bool shared, AddressType address_type) |
|
DirectHandle< JSObject > | GetTypeForTable (Isolate *isolate, ValueType type, uint32_t min_size, std::optional< uint64_t > max_size, AddressType address_type) |
|
DirectHandle< JSArray > | GetImports (Isolate *isolate, DirectHandle< WasmModuleObject > module_object) |
|
DirectHandle< JSArray > | GetExports (Isolate *isolate, DirectHandle< WasmModuleObject > module_object) |
|
DirectHandle< JSArray > | GetCustomSections (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< Object > | JSToWasmObject (Isolate *isolate, DirectHandle< Object > value, CanonicalValueType expected, const char **error_message) |
|
MaybeDirectHandle< Object > | JSToWasmObject (Isolate *isolate, const WasmModule *module, DirectHandle< Object > value, ValueType expected, const char **error_message) |
|
DirectHandle< Object > | WasmToJSObject (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< WasmModuleObject > | 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) |
|
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) |
|