v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::compiler::WasmGCLowering Class Referencefinal

#include <wasm-gc-lowering.h>

Inheritance diagram for v8::internal::compiler::WasmGCLowering:
Collaboration diagram for v8::internal::compiler::WasmGCLowering:

Public Member Functions

 WasmGCLowering (Editor *editor, MachineGraph *mcgraph, const wasm::WasmModule *module, bool disable_trap_handler, SourcePositionTable *source_position_table)
 
const char * reducer_name () const override
 
Reduction Reduce (Node *node) final
 
- Public Member Functions inherited from v8::internal::compiler::AdvancedReducer
 AdvancedReducer (Editor *editor)
 
- Public Member Functions inherited from v8::internal::compiler::Reducer
virtual ~Reducer ()=default
 
Reduction Reduce (Node *node, ObserveNodeManager *observe_node_manager)
 
virtual void Finalize ()
 

Private Member Functions

Reduction ReduceWasmTypeCheck (Node *node)
 
Reduction ReduceWasmTypeCheckAbstract (Node *node)
 
Reduction ReduceWasmTypeCast (Node *node)
 
Reduction ReduceWasmTypeCastAbstract (Node *node)
 
Reduction ReduceAssertNotNull (Node *node)
 
Reduction ReduceNull (Node *node)
 
Reduction ReduceIsNull (Node *node)
 
Reduction ReduceIsNotNull (Node *node)
 
Reduction ReduceRttCanon (Node *node)
 
Reduction ReduceTypeGuard (Node *node)
 
Reduction ReduceWasmAnyConvertExtern (Node *node)
 
Reduction ReduceWasmExternConvertAny (Node *node)
 
Reduction ReduceWasmStructGet (Node *node)
 
Reduction ReduceWasmStructSet (Node *node)
 
Reduction ReduceWasmArrayGet (Node *node)
 
Reduction ReduceWasmArraySet (Node *node)
 
Reduction ReduceWasmArrayLength (Node *node)
 
Reduction ReduceWasmArrayInitializeLength (Node *node)
 
Reduction ReduceStringAsWtf16 (Node *node)
 
Reduction ReduceStringPrepareForGetCodeunit (Node *node)
 
NodeNull (wasm::ValueType type)
 
NodeIsNull (Node *object, wasm::ValueType type)
 
NodeBuildLoadExternalPointerFromObject (Node *object, int offset, ExternalPointerTag tag)
 
void UpdateSourcePosition (Node *new_node, Node *old_node)
 

Private Attributes

NullCheckStrategy null_check_strategy_
 
WasmGraphAssembler gasm_
 
const wasm::WasmModulemodule_
 
Nodedead_
 
const MachineGraphmcgraph_
 
SourcePositionTablesource_position_table_
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::internal::compiler::Reducer
static Reduction NoChange ()
 
static Reduction Replace (Node *node)
 
static Reduction Changed (Node *node)
 
- Protected Member Functions inherited from v8::internal::compiler::AdvancedReducer
void Replace (Node *node, Node *replacement)
 
void Replace (Node *node, Node *replacement, NodeId max_id)
 
void Revisit (Node *node)
 
void ReplaceWithValue (Node *node, Node *value, Node *effect=nullptr, Node *control=nullptr)
 
void RelaxEffectsAndControls (Node *node)
 
void RelaxControls (Node *node, Node *control=nullptr)
 
void MergeControlToEnd (TFGraph *graph, CommonOperatorBuilder *common, Node *node)
 
- Static Protected Member Functions inherited from v8::internal::compiler::AdvancedReducer
static Reduction Replace (Node *node)
 

Detailed Description

Definition at line 24 of file wasm-gc-lowering.h.

Constructor & Destructor Documentation

◆ WasmGCLowering()

v8::internal::compiler::WasmGCLowering::WasmGCLowering ( Editor * editor,
MachineGraph * mcgraph,
const wasm::WasmModule * module,
bool disable_trap_handler,
SourcePositionTable * source_position_table )

Definition at line 35 of file wasm-gc-lowering.cc.

Member Function Documentation

◆ BuildLoadExternalPointerFromObject()

Node * v8::internal::compiler::WasmGCLowering::BuildLoadExternalPointerFromObject ( Node * object,
int offset,
ExternalPointerTag tag )
private

◆ IsNull()

Node * v8::internal::compiler::WasmGCLowering::IsNull ( Node * object,
wasm::ValueType type )
private

Definition at line 104 of file wasm-gc-lowering.cc.

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

◆ Null()

Node * v8::internal::compiler::WasmGCLowering::Null ( wasm::ValueType type)
private

Definition at line 97 of file wasm-gc-lowering.cc.

Here is the call graph for this function:

◆ Reduce()

Reduction v8::internal::compiler::WasmGCLowering::Reduce ( Node * node)
finalvirtual

Implements v8::internal::compiler::Reducer.

Definition at line 50 of file wasm-gc-lowering.cc.

Here is the call graph for this function:

◆ ReduceAssertNotNull()

Reduction v8::internal::compiler::WasmGCLowering::ReduceAssertNotNull ( Node * node)
private

Definition at line 470 of file wasm-gc-lowering.cc.

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

◆ ReduceIsNotNull()

Reduction v8::internal::compiler::WasmGCLowering::ReduceIsNotNull ( Node * node)
private

Definition at line 526 of file wasm-gc-lowering.cc.

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

◆ ReduceIsNull()

Reduction v8::internal::compiler::WasmGCLowering::ReduceIsNull ( Node * node)
private

Definition at line 519 of file wasm-gc-lowering.cc.

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

◆ ReduceNull()

Reduction v8::internal::compiler::WasmGCLowering::ReduceNull ( Node * node)
private

Definition at line 513 of file wasm-gc-lowering.cc.

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

◆ reducer_name()

const char * v8::internal::compiler::WasmGCLowering::reducer_name ( ) const
inlineoverridevirtual

Implements v8::internal::compiler::Reducer.

Definition at line 30 of file wasm-gc-lowering.h.

◆ ReduceRttCanon()

Reduction v8::internal::compiler::WasmGCLowering::ReduceRttCanon ( Node * node)
private

Definition at line 534 of file wasm-gc-lowering.cc.

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

◆ ReduceStringAsWtf16()

Reduction v8::internal::compiler::WasmGCLowering::ReduceStringAsWtf16 ( Node * node)
private

Definition at line 853 of file wasm-gc-lowering.cc.

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

◆ ReduceStringPrepareForGetCodeunit()

Reduction v8::internal::compiler::WasmGCLowering::ReduceStringPrepareForGetCodeunit ( Node * node)
private

Definition at line 876 of file wasm-gc-lowering.cc.

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

◆ ReduceTypeGuard()

Reduction v8::internal::compiler::WasmGCLowering::ReduceTypeGuard ( Node * node)
private

Definition at line 546 of file wasm-gc-lowering.cc.

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

◆ ReduceWasmAnyConvertExtern()

Reduction v8::internal::compiler::WasmGCLowering::ReduceWasmAnyConvertExtern ( Node * node)
private

Definition at line 559 of file wasm-gc-lowering.cc.

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

◆ ReduceWasmArrayGet()

Reduction v8::internal::compiler::WasmGCLowering::ReduceWasmArrayGet ( Node * node)
private

Definition at line 756 of file wasm-gc-lowering.cc.

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

◆ ReduceWasmArrayInitializeLength()

Reduction v8::internal::compiler::WasmGCLowering::ReduceWasmArrayInitializeLength ( Node * node)
private

Definition at line 838 of file wasm-gc-lowering.cc.

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

◆ ReduceWasmArrayLength()

Reduction v8::internal::compiler::WasmGCLowering::ReduceWasmArrayLength ( Node * node)
private

Definition at line 801 of file wasm-gc-lowering.cc.

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

◆ ReduceWasmArraySet()

Reduction v8::internal::compiler::WasmGCLowering::ReduceWasmArraySet ( Node * node)
private

Definition at line 778 of file wasm-gc-lowering.cc.

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

◆ ReduceWasmExternConvertAny()

Reduction v8::internal::compiler::WasmGCLowering::ReduceWasmExternConvertAny ( Node * node)
private

Definition at line 655 of file wasm-gc-lowering.cc.

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

◆ ReduceWasmStructGet()

Reduction v8::internal::compiler::WasmGCLowering::ReduceWasmStructGet ( Node * node)
private

Definition at line 669 of file wasm-gc-lowering.cc.

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

◆ ReduceWasmStructSet()

Reduction v8::internal::compiler::WasmGCLowering::ReduceWasmStructSet ( Node * node)
private

Definition at line 710 of file wasm-gc-lowering.cc.

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

◆ ReduceWasmTypeCast()

Reduction v8::internal::compiler::WasmGCLowering::ReduceWasmTypeCast ( Node * node)
private

Definition at line 285 of file wasm-gc-lowering.cc.

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

◆ ReduceWasmTypeCastAbstract()

Reduction v8::internal::compiler::WasmGCLowering::ReduceWasmTypeCastAbstract ( Node * node)
private

Definition at line 377 of file wasm-gc-lowering.cc.

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

◆ ReduceWasmTypeCheck()

Reduction v8::internal::compiler::WasmGCLowering::ReduceWasmTypeCheck ( Node * node)
private

Definition at line 118 of file wasm-gc-lowering.cc.

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

◆ ReduceWasmTypeCheckAbstract()

Reduction v8::internal::compiler::WasmGCLowering::ReduceWasmTypeCheckAbstract ( Node * node)
private

Definition at line 200 of file wasm-gc-lowering.cc.

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

◆ UpdateSourcePosition()

void v8::internal::compiler::WasmGCLowering::UpdateSourcePosition ( Node * new_node,
Node * old_node )
private

Definition at line 1051 of file wasm-gc-lowering.cc.

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

Member Data Documentation

◆ dead_

Node* v8::internal::compiler::WasmGCLowering::dead_
private

Definition at line 63 of file wasm-gc-lowering.h.

◆ gasm_

WasmGraphAssembler v8::internal::compiler::WasmGCLowering::gasm_
private

Definition at line 61 of file wasm-gc-lowering.h.

◆ mcgraph_

const MachineGraph* v8::internal::compiler::WasmGCLowering::mcgraph_
private

Definition at line 64 of file wasm-gc-lowering.h.

◆ module_

const wasm::WasmModule* v8::internal::compiler::WasmGCLowering::module_
private

Definition at line 62 of file wasm-gc-lowering.h.

◆ null_check_strategy_

NullCheckStrategy v8::internal::compiler::WasmGCLowering::null_check_strategy_
private

Definition at line 60 of file wasm-gc-lowering.h.

◆ source_position_table_

SourcePositionTable* v8::internal::compiler::WasmGCLowering::source_position_table_
private

Definition at line 65 of file wasm-gc-lowering.h.


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