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

Public Types

using IntNBinopMatcher = Int32BinopMatcher
 
using UintNBinopMatcher = Uint32BinopMatcher
 
using intN_t = int32_t
 
using uintN_t = uint32_t
 

Public Member Functions

 Word32Adapter (MachineOperatorReducer *reducer)
 
const OperatorIntNAdd (MachineOperatorBuilder *machine)
 
Reduction ReplaceIntN (int32_t value)
 
Reduction ReduceWordNAnd (Node *node)
 
Reduction ReduceIntNAdd (Node *node)
 
Reduction TryMatchWordNRor (Node *node)
 
NodeIntNConstant (int32_t value)
 
NodeUintNConstant (uint32_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 OperatorWordNEqual (MachineOperatorBuilder *machine)
 

Static Public Attributes

static constexpr std::size_t WORD_SIZE = 32
 

Private Attributes

MachineOperatorReducerr_
 

Detailed Description

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

Member Typedef Documentation

◆ intN_t

◆ IntNBinopMatcher

◆ uintN_t

◆ UintNBinopMatcher

Constructor & Destructor Documentation

◆ Word32Adapter()

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

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

Member Function Documentation

◆ IntNAdd()

const Operator * v8::internal::compiler::Word32Adapter::IntNAdd ( MachineOperatorBuilder * machine)
inline

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

◆ IntNConstant()

Node * v8::internal::compiler::Word32Adapter::IntNConstant ( int32_t value)
inline

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

Here is the call graph for this function:

◆ IsIntNAdd()

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

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

◆ IsIntNMul()

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

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

◆ IsWordNAnd()

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

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

◆ IsWordNSar()

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

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

◆ IsWordNSarShiftOutZeros()

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

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

Here is the call graph for this function:

◆ IsWordNShl()

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

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

◆ IsWordNShr()

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

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

◆ IsWordNXor()

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

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

◆ ReduceIntNAdd()

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

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

Here is the call graph for this function:

◆ ReduceWordNAnd()

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

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

Here is the call graph for this function:

◆ ReduceWordNComparisons()

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

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

Here is the call graph for this function:

◆ ReplaceIntN()

Reduction v8::internal::compiler::Word32Adapter::ReplaceIntN ( int32_t value)
inline

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

Here is the call graph for this function:

◆ TryMatchWordNRor()

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

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

Here is the call graph for this function:

◆ UintNConstant()

Node * v8::internal::compiler::Word32Adapter::UintNConstant ( uint32_t value)
inline

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

Here is the call graph for this function:

◆ WordNAnd()

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

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

Here is the call graph for this function:

◆ WordNEqual()

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

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

Member Data Documentation

◆ r_

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

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

◆ WORD_SIZE

std::size_t v8::internal::compiler::Word32Adapter::WORD_SIZE = 32
staticconstexpr

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


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