![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
Public Member Functions | |
EndOperator () | |
![]() | |
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 |
virtual bool | Equals (const Operator *that) const |
virtual size_t | HashCode () 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 |
Additional Inherited Members | |
![]() | |
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 size_t | ZeroIfEliminatable (Properties properties) |
static size_t | ZeroIfNoThrow (Properties properties) |
static size_t | ZeroIfPure (Properties properties) |
![]() | |
virtual void | PrintToImpl (std::ostream &os, PrintVerbosity verbose) const |
Definition at line 691 of file common-operator.cc.
|
inline |
Definition at line 692 of file common-operator.cc.