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

#include <node-matchers.h>

Inheritance diagram for v8::internal::compiler::BinopMatcher< Left, Right, rep >:
Collaboration diagram for v8::internal::compiler::BinopMatcher< Left, Right, rep >:

Public Types

using LeftMatcher = Left
 
using RightMatcher = Right
 

Public Member Functions

 BinopMatcher (Node *node)
 
 BinopMatcher (Node *node, bool allow_input_swap)
 
const Left & left () const
 
const Right & right () const
 
bool IsFoldable () const
 
bool LeftEqualsRight () const
 
bool OwnsInput (Node *input)
 
- 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
 

Static Public Attributes

static constexpr MachineRepresentation representation = rep
 

Protected Member Functions

void SwapInputs ()
 

Private Member Functions

void PutConstantOnRight ()
 

Private Attributes

Left left_
 
Right right_
 

Detailed Description

template<typename Left, typename Right, MachineRepresentation rep>
struct v8::internal::compiler::BinopMatcher< Left, Right, rep >

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

Member Typedef Documentation

◆ LeftMatcher

template<typename Left , typename Right , MachineRepresentation rep>
using v8::internal::compiler::BinopMatcher< Left, Right, rep >::LeftMatcher = Left

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

◆ RightMatcher

template<typename Left , typename Right , MachineRepresentation rep>
using v8::internal::compiler::BinopMatcher< Left, Right, rep >::RightMatcher = Right

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

Constructor & Destructor Documentation

◆ BinopMatcher() [1/2]

template<typename Left , typename Right , MachineRepresentation rep>
v8::internal::compiler::BinopMatcher< Left, Right, rep >::BinopMatcher ( Node * node)
inlineexplicit

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

Here is the call graph for this function:

◆ BinopMatcher() [2/2]

template<typename Left , typename Right , MachineRepresentation rep>
v8::internal::compiler::BinopMatcher< Left, Right, rep >::BinopMatcher ( Node * node,
bool allow_input_swap )
inline

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

Here is the call graph for this function:

Member Function Documentation

◆ IsFoldable()

template<typename Left , typename Right , MachineRepresentation rep>
bool v8::internal::compiler::BinopMatcher< Left, Right, rep >::IsFoldable ( ) const
inline

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

Here is the call graph for this function:

◆ left()

template<typename Left , typename Right , MachineRepresentation rep>
const Left & v8::internal::compiler::BinopMatcher< Left, Right, rep >::left ( ) const
inline

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

Here is the caller graph for this function:

◆ LeftEqualsRight()

template<typename Left , typename Right , MachineRepresentation rep>
bool v8::internal::compiler::BinopMatcher< Left, Right, rep >::LeftEqualsRight ( ) const
inline

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

Here is the call graph for this function:

◆ OwnsInput()

template<typename Left , typename Right , MachineRepresentation rep>
bool v8::internal::compiler::BinopMatcher< Left, Right, rep >::OwnsInput ( Node * input)
inline

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

Here is the call graph for this function:

◆ PutConstantOnRight()

template<typename Left , typename Right , MachineRepresentation rep>
void v8::internal::compiler::BinopMatcher< Left, Right, rep >::PutConstantOnRight ( )
inlineprivate

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

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

◆ right()

template<typename Left , typename Right , MachineRepresentation rep>
const Right & v8::internal::compiler::BinopMatcher< Left, Right, rep >::right ( ) const
inline

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

Here is the caller graph for this function:

◆ SwapInputs()

template<typename Left , typename Right , MachineRepresentation rep>
void v8::internal::compiler::BinopMatcher< Left, Right, rep >::SwapInputs ( )
inlineprotected

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

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

Member Data Documentation

◆ left_

template<typename Left , typename Right , MachineRepresentation rep>
Left v8::internal::compiler::BinopMatcher< Left, Right, rep >::left_
private

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

◆ representation

template<typename Left , typename Right , MachineRepresentation rep>
MachineRepresentation v8::internal::compiler::BinopMatcher< Left, Right, rep >::representation = rep
staticconstexpr

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

◆ right_

template<typename Left , typename Right , MachineRepresentation rep>
Right v8::internal::compiler::BinopMatcher< Left, Right, rep >::right_
private

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


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