v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::compiler::IntMatcher< T, kOpcode > Struct Template Referencefinal

#include <node-matchers.h>

Inheritance diagram for v8::internal::compiler::IntMatcher< T, kOpcode >:
Collaboration diagram for v8::internal::compiler::IntMatcher< T, kOpcode >:

Public Member Functions

 IntMatcher (Node *node)
 
bool Is (const T &value) const
 
bool IsInRange (const T &low, const T &high) const
 
bool IsMultipleOf (T n) const
 
bool IsPowerOf2 () const
 
bool IsNegativePowerOf2 () const
 
bool IsNegative () const
 
- Public Member Functions inherited from v8::internal::compiler::ValueMatcher< T, kOpcode >
 ValueMatcher (Node *node)
 
bool HasResolvedValue () const
 
const TResolvedValue () const
 
 ValueMatcher (Node *node)
 
 ValueMatcher (Node *node)
 
 ValueMatcher (Node *node)
 
- Public Member Functions inherited from v8::internal::compiler::NodeMatcher
 NodeMatcher (Node *node)
 
Nodenode () const
 
const Operatorop () const
 
IrOpcode::Value opcode () const
 
bool HasProperty (Operator::Property property) const
 
NodeInputAt (int index) const
 
bool Equals (const Node *node) const
 
bool IsComparison () const
 

Additional Inherited Members

- Public Types inherited from v8::internal::compiler::ValueMatcher< T, kOpcode >
using ValueType = T
 

Detailed Description

template<typename T, IrOpcode::Value kOpcode>
struct v8::internal::compiler::IntMatcher< T, kOpcode >

Definition at line 137 of file node-matchers.h.

Constructor & Destructor Documentation

◆ IntMatcher()

template<typename T , IrOpcode::Value kOpcode>
v8::internal::compiler::IntMatcher< T, kOpcode >::IntMatcher ( Node * node)
inlineexplicit

Definition at line 138 of file node-matchers.h.

Member Function Documentation

◆ Is()

template<typename T , IrOpcode::Value kOpcode>
bool v8::internal::compiler::IntMatcher< T, kOpcode >::Is ( const T & value) const
inline

Definition at line 140 of file node-matchers.h.

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

◆ IsInRange()

template<typename T , IrOpcode::Value kOpcode>
bool v8::internal::compiler::IntMatcher< T, kOpcode >::IsInRange ( const T & low,
const T & high ) const
inline

Definition at line 143 of file node-matchers.h.

Here is the call graph for this function:

◆ IsMultipleOf()

template<typename T , IrOpcode::Value kOpcode>
bool v8::internal::compiler::IntMatcher< T, kOpcode >::IsMultipleOf ( T n) const
inline

Definition at line 147 of file node-matchers.h.

Here is the call graph for this function:

◆ IsNegative()

template<typename T , IrOpcode::Value kOpcode>
bool v8::internal::compiler::IntMatcher< T, kOpcode >::IsNegative ( ) const
inline

Definition at line 159 of file node-matchers.h.

Here is the call graph for this function:

◆ IsNegativePowerOf2()

template<typename T , IrOpcode::Value kOpcode>
bool v8::internal::compiler::IntMatcher< T, kOpcode >::IsNegativePowerOf2 ( ) const
inline

Definition at line 154 of file node-matchers.h.

Here is the call graph for this function:

◆ IsPowerOf2()

template<typename T , IrOpcode::Value kOpcode>
bool v8::internal::compiler::IntMatcher< T, kOpcode >::IsPowerOf2 ( ) const
inline

Definition at line 150 of file node-matchers.h.

Here is the call graph for this function:

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