v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::wasm::ImmediatesPrinter< ValidationTag > Class Template Reference
Collaboration diagram for v8::internal::wasm::ImmediatesPrinter< ValidationTag >:

Public Member Functions

 ImmediatesPrinter (StringBuilder &out, FunctionBodyDisassembler *owner)
 
void PrintDepthAsLabel (int imm_depth)
 
void PrintSignature (ModuleTypeIndex sig_index)
 
void BlockType (BlockTypeImmediate &imm)
 
void HeapType (HeapTypeImmediate &imm)
 
void ValueType (ValueType type)
 
void BrOnCastFlags (BrOnCastImmediate &flags)
 
void BranchDepth (BranchDepthImmediate &imm)
 
void BranchTable (BranchTableImmediate &imm)
 
const char * CatchKindToString (CatchKind kind)
 
void TryTable (TryTableImmediate &imm)
 
void EffectHandlerTable (EffectHandlerTableImmediate &imm)
 
void CallIndirect (CallIndirectImmediate &imm)
 
void SelectType (SelectTypeImmediate &imm)
 
void MemoryAccess (MemoryAccessImmediate &imm)
 
void SimdLane (SimdLaneImmediate &imm)
 
void Field (FieldImmediate &imm)
 
void Length (IndexImmediate &imm)
 
void TagIndex (TagIndexImmediate &imm)
 
void FunctionIndex (IndexImmediate &imm)
 
void TypeIndex (TypeIndexImmediate &imm)
 
void LocalIndex (IndexImmediate &imm)
 
void GlobalIndex (IndexImmediate &imm)
 
void TableIndex (TableIndexImmediate &imm)
 
void MemoryIndex (MemoryIndexImmediate &imm)
 
void DataSegmentIndex (IndexImmediate &imm)
 
void ElemSegmentIndex (IndexImmediate &imm)
 
void I32Const (ImmI32Immediate &imm)
 
void I64Const (ImmI64Immediate &imm)
 
void F32Const (ImmF32Immediate &imm)
 
void F64Const (ImmF64Immediate &imm)
 
void S128Const (Simd128Immediate &imm)
 
void StringConst (StringConstImmediate &imm)
 
void MemoryInit (MemoryInitImmediate &imm)
 
void MemoryCopy (MemoryCopyImmediate &imm)
 
void TableInit (TableInitImmediate &imm)
 
void TableCopy (TableCopyImmediate &imm)
 
void ArrayCopy (TypeIndexImmediate &dst, TypeIndexImmediate &src)
 

Private Member Functions

void use_type (ModuleTypeIndex type_index)
 
NamesProvidernames ()
 
uint32_t func_index ()
 

Private Attributes

StringBuilderout_
 
FunctionBodyDisassemblerowner_
 

Detailed Description

template<typename ValidationTag>
class v8::internal::wasm::ImmediatesPrinter< ValidationTag >

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

Constructor & Destructor Documentation

◆ ImmediatesPrinter()

template<typename ValidationTag >
v8::internal::wasm::ImmediatesPrinter< ValidationTag >::ImmediatesPrinter ( StringBuilder & out,
FunctionBodyDisassembler * owner )
inline

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

Member Function Documentation

◆ ArrayCopy()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::ArrayCopy ( TypeIndexImmediate & dst,
TypeIndexImmediate & src )
inline

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

Here is the call graph for this function:

◆ BlockType()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::BlockType ( BlockTypeImmediate & imm)
inline

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

Here is the call graph for this function:

◆ BranchDepth()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::BranchDepth ( BranchDepthImmediate & imm)
inline

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

Here is the call graph for this function:

◆ BranchTable()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::BranchTable ( BranchTableImmediate & imm)
inline

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

Here is the call graph for this function:

◆ BrOnCastFlags()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::BrOnCastFlags ( BrOnCastImmediate & flags)
inline

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

◆ CallIndirect()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::CallIndirect ( CallIndirectImmediate & imm)
inline

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

Here is the call graph for this function:

◆ CatchKindToString()

template<typename ValidationTag >
const char * v8::internal::wasm::ImmediatesPrinter< ValidationTag >::CatchKindToString ( CatchKind kind)
inline

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

Here is the caller graph for this function:

◆ DataSegmentIndex()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::DataSegmentIndex ( IndexImmediate & imm)
inline

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

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

◆ EffectHandlerTable()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::EffectHandlerTable ( EffectHandlerTableImmediate & imm)
inline

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

Here is the call graph for this function:

◆ ElemSegmentIndex()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::ElemSegmentIndex ( IndexImmediate & imm)
inline

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

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

◆ F32Const()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::F32Const ( ImmF32Immediate & imm)
inline

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

Here is the call graph for this function:

◆ F64Const()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::F64Const ( ImmF64Immediate & imm)
inline

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

Here is the call graph for this function:

◆ Field()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::Field ( FieldImmediate & imm)
inline

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

Here is the call graph for this function:

◆ func_index()

template<typename ValidationTag >
uint32_t v8::internal::wasm::ImmediatesPrinter< ValidationTag >::func_index ( )
inlineprivate

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

Here is the caller graph for this function:

◆ FunctionIndex()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::FunctionIndex ( IndexImmediate & imm)
inline

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

Here is the call graph for this function:

◆ GlobalIndex()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::GlobalIndex ( IndexImmediate & imm)
inline

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

Here is the call graph for this function:

◆ HeapType()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::HeapType ( HeapTypeImmediate & imm)
inline

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

Here is the call graph for this function:

◆ I32Const()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::I32Const ( ImmI32Immediate & imm)
inline

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

◆ I64Const()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::I64Const ( ImmI64Immediate & imm)
inline

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

◆ Length()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::Length ( IndexImmediate & imm)
inline

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

◆ LocalIndex()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::LocalIndex ( IndexImmediate & imm)
inline

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

Here is the call graph for this function:

◆ MemoryAccess()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::MemoryAccess ( MemoryAccessImmediate & imm)
inline

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

Here is the call graph for this function:

◆ MemoryCopy()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::MemoryCopy ( MemoryCopyImmediate & imm)
inline

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

◆ MemoryIndex()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::MemoryIndex ( MemoryIndexImmediate & imm)
inline

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

◆ MemoryInit()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::MemoryInit ( MemoryInitImmediate & imm)
inline

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

Here is the call graph for this function:

◆ names()

template<typename ValidationTag >
NamesProvider * v8::internal::wasm::ImmediatesPrinter< ValidationTag >::names ( )
inlineprivate

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

Here is the caller graph for this function:

◆ PrintDepthAsLabel()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::PrintDepthAsLabel ( int imm_depth)
inline

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

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

◆ PrintSignature()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::PrintSignature ( ModuleTypeIndex sig_index)
inline

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

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

◆ S128Const()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::S128Const ( Simd128Immediate & imm)
inline

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

◆ SelectType()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::SelectType ( SelectTypeImmediate & imm)
inline

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

Here is the call graph for this function:

◆ SimdLane()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::SimdLane ( SimdLaneImmediate & imm)
inline

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

◆ StringConst()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::StringConst ( StringConstImmediate & imm)
inline

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

Here is the call graph for this function:

◆ TableCopy()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::TableCopy ( TableCopyImmediate & imm)
inline

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

Here is the call graph for this function:

◆ TableIndex()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::TableIndex ( TableIndexImmediate & imm)
inline

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

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

◆ TableInit()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::TableInit ( TableInitImmediate & imm)
inline

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

Here is the call graph for this function:

◆ TagIndex()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::TagIndex ( TagIndexImmediate & imm)
inline

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

Here is the call graph for this function:

◆ TryTable()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::TryTable ( TryTableImmediate & imm)
inline

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

Here is the call graph for this function:

◆ TypeIndex()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::TypeIndex ( TypeIndexImmediate & imm)
inline

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

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

◆ use_type()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::use_type ( ModuleTypeIndex type_index)
inlineprivate

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

Here is the caller graph for this function:

◆ ValueType()

template<typename ValidationTag >
void v8::internal::wasm::ImmediatesPrinter< ValidationTag >::ValueType ( ValueType type)
inline

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

Here is the call graph for this function:

Member Data Documentation

◆ out_

template<typename ValidationTag >
StringBuilder& v8::internal::wasm::ImmediatesPrinter< ValidationTag >::out_
private

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

◆ owner_

template<typename ValidationTag >
FunctionBodyDisassembler* v8::internal::wasm::ImmediatesPrinter< ValidationTag >::owner_
private

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


The documentation for this class was generated from the following files: