![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <operator.h>
Public Member Functions | |
| Operator1 (Opcode opcode, Properties properties, const char *mnemonic, size_t value_in, size_t effect_in, size_t control_in, size_t value_out, size_t effect_out, size_t control_out, T parameter, Pred const &pred=Pred(), Hash const &hash=Hash()) | |
| T const & | parameter () const |
| bool | Equals (const Operator *other) const final |
| size_t | HashCode () const final |
| virtual void | PrintParameter (std::ostream &os, PrintVerbosity verbose) const |
| void | PrintToImpl (std::ostream &os, PrintVerbosity verbose) const override |
| void | PrintParameter (std::ostream &os, PrintVerbosity verbose) const |
| void | PrintParameter (std::ostream &os, PrintVerbosity verbose) const |
Public Member Functions inherited from v8::internal::compiler::Operator | |
| Operator (Opcode opcode, Properties properties, const char *mnemonic, size_t value_in, size_t effect_in, size_t control_in, size_t value_out, size_t effect_out, size_t control_out) | |
| Operator (const Operator &)=delete | |
| Operator & | operator= (const Operator &)=delete |
| virtual | ~Operator ()=default |
| constexpr Opcode | opcode () const |
| const char * | mnemonic () const |
| bool | HasProperty (Property property) const |
| Properties | properties () const |
| int | ValueInputCount () const |
| int | EffectInputCount () const |
| int | ControlInputCount () const |
| int | ValueOutputCount () const |
| int | EffectOutputCount () const |
| int | ControlOutputCount () const |
| void | PrintTo (std::ostream &os, PrintVerbosity verbose=PrintVerbosity::kVerbose) const |
| void | PrintPropsTo (std::ostream &os) const |
Private Attributes | |
| T const | parameter_ |
| Pred const | pred_ |
| Hash const | hash_ |
Additional Inherited Members | |
Public Types inherited from v8::internal::compiler::Operator | |
| enum | Property { kNoProperties = 0 , kCommutative = 1 << 0 , kAssociative = 1 << 1 , kIdempotent = 1 << 2 , kNoRead = 1 << 3 , kNoWrite = 1 << 4 , kNoThrow = 1 << 5 , kNoDeopt = 1 << 6 , kFoldable = kNoRead | kNoWrite , kEliminatable = kNoDeopt | kNoWrite | kNoThrow , kKontrol = kNoDeopt | kFoldable | kNoThrow , kPure = kKontrol | kIdempotent } |
| enum class | PrintVerbosity { kVerbose , kSilent } |
| using | Opcode = uint16_t |
| using | Properties = base::Flags<Property, uint8_t> |
Static Public Member Functions inherited from v8::internal::compiler::Operator | |
| static size_t | ZeroIfEliminatable (Properties properties) |
| static size_t | ZeroIfNoThrow (Properties properties) |
| static size_t | ZeroIfPure (Properties properties) |
Protected Member Functions inherited from v8::internal::compiler::Operator | |
Definition at line 167 of file operator.h.
|
inline |
Definition at line 169 of file operator.h.
|
inlinefinalvirtual |
Reimplemented from v8::internal::compiler::Operator.
Definition at line 181 of file operator.h.
|
inlinefinalvirtual |
Reimplemented from v8::internal::compiler::Operator.
Definition at line 187 of file operator.h.
|
inline |
|
inlinevirtual |
Definition at line 196 of file operator.h.
| void v8::internal::compiler::Operator1< FieldAccess >::PrintParameter | ( | std::ostream & | os, |
| PrintVerbosity | verbose ) const |
Definition at line 108 of file simplified-operator.cc.
| void v8::internal::compiler::Operator1< FieldAccess >::PrintParameter | ( | std::ostream & | os, |
| PrintVerbosity | verbose ) const |
|
inlineoverridevirtual |
Reimplemented from v8::internal::compiler::Operator.
Definition at line 200 of file operator.h.
|
private |
Definition at line 208 of file operator.h.
|
private |
Definition at line 206 of file operator.h.
|
private |
Definition at line 207 of file operator.h.