![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <node-matchers.h>
Public Types | |
using | Matcher = ScaleMatcher<BinopMatcher, kMulOpcode, kShiftOpcode> |
![]() | |
using | LeftMatcher = Left |
using | RightMatcher = Right |
Public Member Functions | |
AddMatcher (Node *node, bool allow_input_swap) | |
AddMatcher (Node *node) | |
bool | HasIndexInput () const |
Node * | IndexInput () const |
int | scale () const |
bool | power_of_two_plus_one () const |
![]() | |
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) |
![]() | |
NodeMatcher (Node *node) | |
Node * | node () const |
const Operator * | op () const |
IrOpcode::Value | opcode () const |
bool | HasProperty (Operator::Property property) const |
Node * | InputAt (int index) const |
bool | Equals (const Node *node) const |
bool | IsComparison () const |
Static Public Attributes | |
static const IrOpcode::Value | kAddOpcode = AddOpcode |
static const IrOpcode::Value | kSubOpcode = SubOpcode |
![]() | |
static constexpr MachineRepresentation | representation = rep |
Private Member Functions | |
void | Initialize (Node *node, bool allow_input_swap) |
Private Attributes | |
int | scale_ |
bool | power_of_two_plus_one_ |
Additional Inherited Members | |
![]() | |
void | SwapInputs () |
Definition at line 424 of file node-matchers.h.
using v8::internal::compiler::AddMatcher< BinopMatcher, AddOpcode, SubOpcode, kMulOpcode, kShiftOpcode >::Matcher = ScaleMatcher<BinopMatcher, kMulOpcode, kShiftOpcode> |
Definition at line 427 of file node-matchers.h.
|
inline |
Definition at line 429 of file node-matchers.h.
|
inlineexplicit |
Definition at line 435 of file node-matchers.h.
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
static |
Definition at line 425 of file node-matchers.h.
|
static |
Definition at line 426 of file node-matchers.h.
|
private |
Definition at line 483 of file node-matchers.h.
|
private |
Definition at line 482 of file node-matchers.h.