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

#include <node-matchers.h>

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

Public Types

using ValueType = T
 

Public Member Functions

 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
 

Private Attributes

T resolved_value_
 
bool has_resolved_value_
 

Detailed Description

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

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

Member Typedef Documentation

◆ ValueType

template<typename T , IrOpcode::Value kOpcode>
using v8::internal::compiler::ValueMatcher< T, kOpcode >::ValueType = T

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

Constructor & Destructor Documentation

◆ ValueMatcher() [1/4]

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

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

Here is the call graph for this function:

◆ ValueMatcher() [2/4]

v8::internal::compiler::ValueMatcher< uint32_t, IrOpcode::kInt32Constant >::ValueMatcher ( Node * node)
inline

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

Here is the call graph for this function:

◆ ValueMatcher() [3/4]

v8::internal::compiler::ValueMatcher< int64_t, IrOpcode::kInt64Constant >::ValueMatcher ( Node * node)
inline

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

Here is the call graph for this function:

◆ ValueMatcher() [4/4]

v8::internal::compiler::ValueMatcher< uint64_t, IrOpcode::kInt64Constant >::ValueMatcher ( Node * node)
inline

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

Here is the call graph for this function:

Member Function Documentation

◆ HasResolvedValue()

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

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

Here is the caller graph for this function:

◆ ResolvedValue()

template<typename T , IrOpcode::Value kOpcode>
const T & v8::internal::compiler::ValueMatcher< T, kOpcode >::ResolvedValue ( ) const
inline

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

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

Member Data Documentation

◆ has_resolved_value_

template<typename T , IrOpcode::Value kOpcode>
bool v8::internal::compiler::ValueMatcher< T, kOpcode >::has_resolved_value_
private

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

◆ resolved_value_

template<typename T , IrOpcode::Value kOpcode>
T v8::internal::compiler::ValueMatcher< T, kOpcode >::resolved_value_
private

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


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