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

#include <duplication-optimization-reducer.h>

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

Public Member Functions

V< None > REDUCE_INPUT_GRAPH Branch (V< None > ig_index, const BranchOp &branch)
 
V< Any > REDUCE_INPUT_GRAPH Select (V< Any > ig_index, const SelectOp &select)
 

Private Member Functions

bool MaybeDuplicateCond (const Operation &cond, OpIndex input_idx, V< Word32 > *new_cond)
 
bool MaybeCanDuplicateGenericBinop (OpIndex input_idx, OpIndex left, OpIndex right)
 
OpIndex MaybeDuplicateWordBinop (const WordBinopOp &binop, OpIndex input_idx)
 
V< Word32MaybeDuplicateComparison (const ComparisonOp &comp, OpIndex input_idx)
 
OpIndex MaybeDuplicateShift (const ShiftOp &shift, OpIndex input_idx)
 
OpIndex MaybeDuplicateOutputGraphShift (OpIndex index)
 

Detailed Description

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

Definition at line 73 of file duplication-optimization-reducer.h.

Member Function Documentation

◆ Branch()

template<class Next >
V< None > REDUCE_INPUT_GRAPH v8::internal::compiler::turboshaft::DuplicationOptimizationReducer< Next >::Branch ( V< None > ig_index,
const BranchOp & branch )
inline

Definition at line 77 of file duplication-optimization-reducer.h.

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

◆ MaybeCanDuplicateGenericBinop()

template<class Next >
bool v8::internal::compiler::turboshaft::DuplicationOptimizationReducer< Next >::MaybeCanDuplicateGenericBinop ( OpIndex input_idx,
OpIndex left,
OpIndex right )
inlineprivate

Definition at line 166 of file duplication-optimization-reducer.h.

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

◆ MaybeDuplicateComparison()

template<class Next >
V< Word32 > v8::internal::compiler::turboshaft::DuplicationOptimizationReducer< Next >::MaybeDuplicateComparison ( const ComparisonOp & comp,
OpIndex input_idx )
inlineprivate

Definition at line 207 of file duplication-optimization-reducer.h.

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

◆ MaybeDuplicateCond()

template<class Next >
bool v8::internal::compiler::turboshaft::DuplicationOptimizationReducer< Next >::MaybeDuplicateCond ( const Operation & cond,
OpIndex input_idx,
V< Word32 > * new_cond )
inlineprivate

Definition at line 144 of file duplication-optimization-reducer.h.

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

◆ MaybeDuplicateOutputGraphShift()

template<class Next >
OpIndex v8::internal::compiler::turboshaft::DuplicationOptimizationReducer< Next >::MaybeDuplicateOutputGraphShift ( OpIndex index)
inlineprivate

Definition at line 229 of file duplication-optimization-reducer.h.

Here is the call graph for this function:

◆ MaybeDuplicateShift()

template<class Next >
OpIndex v8::internal::compiler::turboshaft::DuplicationOptimizationReducer< Next >::MaybeDuplicateShift ( const ShiftOp & shift,
OpIndex input_idx )
inlineprivate

Definition at line 218 of file duplication-optimization-reducer.h.

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

◆ MaybeDuplicateWordBinop()

template<class Next >
OpIndex v8::internal::compiler::turboshaft::DuplicationOptimizationReducer< Next >::MaybeDuplicateWordBinop ( const WordBinopOp & binop,
OpIndex input_idx )
inlineprivate

Definition at line 184 of file duplication-optimization-reducer.h.

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

◆ Select()

template<class Next >
V< Any > REDUCE_INPUT_GRAPH v8::internal::compiler::turboshaft::DuplicationOptimizationReducer< Next >::Select ( V< Any > ig_index,
const SelectOp & select )
inline

Definition at line 95 of file duplication-optimization-reducer.h.

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

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