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

Public Types

using IntNBinopMatcher = Int64BinopMatcher
 
using UintNBinopMatcher = Uint64BinopMatcher
 
using intN_t = int64_t
 
using uintN_t = uint64_t
 

Public Member Functions

 Word64Adapter (MachineOperatorReducer *reducer)
 
Reduction ReplaceIntN (int64_t value)
 
Reduction ReduceWordNAnd (Node *node)
 
Reduction ReduceIntNAdd (Node *node)
 
Reduction TryMatchWordNRor (Node *node)
 
NodeIntNConstant (int64_t value)
 
NodeUintNConstant (uint64_t value)
 
NodeWordNAnd (Node *lhs, Node *rhs)
 
Reduction ReduceWordNComparisons (Node *node)
 

Static Public Member Functions

template<typename T >
static bool IsWordNAnd (const T &x)
 
template<typename T >
static bool IsWordNShl (const T &x)
 
template<typename T >
static bool IsWordNShr (const T &x)
 
template<typename T >
static bool IsWordNSar (const T &x)
 
static bool IsWordNSarShiftOutZeros (const Operator *op)
 
template<typename T >
static bool IsWordNXor (const T &x)
 
template<typename T >
static bool IsIntNAdd (const T &x)
 
template<typename T >
static bool IsIntNMul (const T &x)
 
static const OperatorIntNAdd (MachineOperatorBuilder *machine)
 
static const OperatorWordNEqual (MachineOperatorBuilder *machine)
 

Static Public Attributes

static constexpr std::size_t WORD_SIZE = 64
 

Private Attributes

MachineOperatorReducerr_
 

Detailed Description

Definition at line 108 of file machine-operator-reducer.cc.

Member Typedef Documentation

◆ intN_t

◆ IntNBinopMatcher

◆ uintN_t

◆ UintNBinopMatcher

Constructor & Destructor Documentation

◆ Word64Adapter()

v8::internal::compiler::Word64Adapter::Word64Adapter ( MachineOperatorReducer * reducer)
inlineexplicit

Definition at line 117 of file machine-operator-reducer.cc.

Member Function Documentation

◆ IntNAdd()

static const Operator * v8::internal::compiler::Word64Adapter::IntNAdd ( MachineOperatorBuilder * machine)
inlinestatic

Definition at line 152 of file machine-operator-reducer.cc.

◆ IntNConstant()

Node * v8::internal::compiler::Word64Adapter::IntNConstant ( int64_t value)
inline

Definition at line 167 of file machine-operator-reducer.cc.

Here is the call graph for this function:

◆ IsIntNAdd()

template<typename T >
static bool v8::internal::compiler::Word64Adapter::IsIntNAdd ( const T & x)
inlinestatic

Definition at line 144 of file machine-operator-reducer.cc.

◆ IsIntNMul()

template<typename T >
static bool v8::internal::compiler::Word64Adapter::IsIntNMul ( const T & x)
inlinestatic

Definition at line 148 of file machine-operator-reducer.cc.

◆ IsWordNAnd()

template<typename T >
static bool v8::internal::compiler::Word64Adapter::IsWordNAnd ( const T & x)
inlinestatic

Definition at line 120 of file machine-operator-reducer.cc.

◆ IsWordNSar()

template<typename T >
static bool v8::internal::compiler::Word64Adapter::IsWordNSar ( const T & x)
inlinestatic

Definition at line 132 of file machine-operator-reducer.cc.

◆ IsWordNSarShiftOutZeros()

static bool v8::internal::compiler::Word64Adapter::IsWordNSarShiftOutZeros ( const Operator * op)
inlinestatic

Definition at line 135 of file machine-operator-reducer.cc.

Here is the call graph for this function:

◆ IsWordNShl()

template<typename T >
static bool v8::internal::compiler::Word64Adapter::IsWordNShl ( const T & x)
inlinestatic

Definition at line 124 of file machine-operator-reducer.cc.

◆ IsWordNShr()

template<typename T >
static bool v8::internal::compiler::Word64Adapter::IsWordNShr ( const T & x)
inlinestatic

Definition at line 128 of file machine-operator-reducer.cc.

◆ IsWordNXor()

template<typename T >
static bool v8::internal::compiler::Word64Adapter::IsWordNXor ( const T & x)
inlinestatic

Definition at line 140 of file machine-operator-reducer.cc.

◆ ReduceIntNAdd()

Reduction v8::internal::compiler::Word64Adapter::ReduceIntNAdd ( Node * node)
inline

Definition at line 161 of file machine-operator-reducer.cc.

Here is the call graph for this function:

◆ ReduceWordNAnd()

Reduction v8::internal::compiler::Word64Adapter::ReduceWordNAnd ( Node * node)
inline

Definition at line 160 of file machine-operator-reducer.cc.

Here is the call graph for this function:

◆ ReduceWordNComparisons()

Reduction v8::internal::compiler::Word64Adapter::ReduceWordNComparisons ( Node * node)
inline

Definition at line 171 of file machine-operator-reducer.cc.

Here is the call graph for this function:

◆ ReplaceIntN()

Reduction v8::internal::compiler::Word64Adapter::ReplaceIntN ( int64_t value)
inline

Definition at line 159 of file machine-operator-reducer.cc.

Here is the call graph for this function:

◆ TryMatchWordNRor()

Reduction v8::internal::compiler::Word64Adapter::TryMatchWordNRor ( Node * node)
inline

Definition at line 162 of file machine-operator-reducer.cc.

◆ UintNConstant()

Node * v8::internal::compiler::Word64Adapter::UintNConstant ( uint64_t value)
inline

Definition at line 168 of file machine-operator-reducer.cc.

Here is the call graph for this function:

◆ WordNAnd()

Node * v8::internal::compiler::Word64Adapter::WordNAnd ( Node * lhs,
Node * rhs )
inline

Definition at line 169 of file machine-operator-reducer.cc.

Here is the call graph for this function:

◆ WordNEqual()

static const Operator * v8::internal::compiler::Word64Adapter::WordNEqual ( MachineOperatorBuilder * machine)
inlinestatic

Definition at line 155 of file machine-operator-reducer.cc.

Member Data Documentation

◆ r_

MachineOperatorReducer* v8::internal::compiler::Word64Adapter::r_
private

Definition at line 176 of file machine-operator-reducer.cc.

◆ WORD_SIZE

std::size_t v8::internal::compiler::Word64Adapter::WORD_SIZE = 64
staticconstexpr

Definition at line 115 of file machine-operator-reducer.cc.


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