v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::compiler::turboshaft::StructuralOptimizationReducer< Next > Class Template Reference

#include <structural-optimization-reducer.h>

Inheritance diagram for v8::internal::compiler::turboshaft::StructuralOptimizationReducer< Next >:
Collaboration diagram for v8::internal::compiler::turboshaft::StructuralOptimizationReducer< Next >:

Public Member Functions

OpIndex ReduceInputGraphBranch (OpIndex input_index, const BranchOp &branch)
 

Private Member Functions

void InlineAllOperationsWithoutLast (const Block *input_block)
 
V< NoneEmitSwitch (OpIndex switch_var, base::SmallVector< SwitchOp::Case, 16 > &cases, base::SmallVector< const Block *, 16 > &false_blocks, Block *current_if_false, BranchHint next_hint)
 

Static Private Member Functions

static bool ContainsOnlyPureOps (const Block *block, const Graph &graph)
 

Detailed Description

template<class Next>
class v8::internal::compiler::turboshaft::StructuralOptimizationReducer< Next >

Definition at line 82 of file structural-optimization-reducer.h.

Member Function Documentation

◆ ContainsOnlyPureOps()

template<class Next >
static bool v8::internal::compiler::turboshaft::StructuralOptimizationReducer< Next >::ContainsOnlyPureOps ( const Block * block,
const Graph & graph )
inlinestaticprivate

Definition at line 272 of file structural-optimization-reducer.h.

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

◆ EmitSwitch()

template<class Next >
V< None > v8::internal::compiler::turboshaft::StructuralOptimizationReducer< Next >::EmitSwitch ( OpIndex switch_var,
base::SmallVector< SwitchOp::Case, 16 > & cases,
base::SmallVector< const Block *, 16 > & false_blocks,
Block * current_if_false,
BranchHint next_hint )
inlineprivate

Definition at line 294 of file structural-optimization-reducer.h.

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

◆ InlineAllOperationsWithoutLast()

template<class Next >
void v8::internal::compiler::turboshaft::StructuralOptimizationReducer< Next >::InlineAllOperationsWithoutLast ( const Block * input_block)
inlineprivate

Definition at line 285 of file structural-optimization-reducer.h.

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

◆ ReduceInputGraphBranch()

template<class Next >
OpIndex v8::internal::compiler::turboshaft::StructuralOptimizationReducer< Next >::ReduceInputGraphBranch ( OpIndex input_index,
const BranchOp & branch )
inline

Definition at line 86 of file structural-optimization-reducer.h.

Here is the call graph for this function:

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