v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::compiler::ConstantOperand Class Reference

#include <instruction.h>

Inheritance diagram for v8::internal::compiler::ConstantOperand:
Collaboration diagram for v8::internal::compiler::ConstantOperand:

Public Types

using VirtualRegisterField = KindField::Next<uint32_t, 32>
 
- Public Types inherited from v8::internal::compiler::InstructionOperand
enum  Kind {
  INVALID , UNALLOCATED , CONSTANT , IMMEDIATE ,
  PENDING , ALLOCATED , FIRST_LOCATION_OPERAND_KIND = ALLOCATED
}
 

Public Member Functions

 ConstantOperand (int virtual_register)
 
int32_t virtual_register () const
 
- Public Member Functions inherited from v8::internal::compiler::InstructionOperand
 InstructionOperand ()
 
Kind kind () const
 
bool IsAnyLocationOperand () const
 
bool IsLocationOperand () const
 
bool IsFPLocationOperand () const
 
bool IsAnyRegister () const
 
bool IsRegister () const
 
bool IsFPRegister () const
 
bool IsFloatRegister () const
 
bool IsDoubleRegister () const
 
bool IsSimd128Register () const
 
bool IsSimd256Register () const
 
bool IsAnyStackSlot () const
 
bool IsStackSlot () const
 
bool IsFPStackSlot () const
 
bool IsFloatStackSlot () const
 
bool IsDoubleStackSlot () const
 
bool IsSimd128StackSlot () const
 
bool IsSimd256StackSlot () const
 
bool Equals (const InstructionOperand &that) const
 
bool Compare (const InstructionOperand &that) const
 
bool EqualsCanonicalized (const InstructionOperand &that) const
 
bool CompareCanonicalized (const InstructionOperand &that) const
 
bool InterferesWith (const InstructionOperand &other) const
 
void Print () const
 
bool operator== (const InstructionOperand &other) const
 
bool operator!= (const InstructionOperand &other) const
 

Static Public Member Functions

static ConstantOperandNew (Zone *zone, int virtual_register)
 
- Static Public Member Functions inherited from v8::internal::compiler::InstructionOperand
template<typename SubKindOperand >
static SubKindOperand * New (Zone *zone, const SubKindOperand &op)
 
static void ReplaceWith (InstructionOperand *dest, const InstructionOperand *src)
 

Additional Inherited Members

- Static Public Attributes inherited from v8::internal::compiler::InstructionOperand
static const int kInvalidVirtualRegister = -1
 
- Protected Types inherited from v8::internal::compiler::InstructionOperand
using KindField = base::BitField64<Kind, 0, 3>
 
- Protected Member Functions inherited from v8::internal::compiler::InstructionOperand
 InstructionOperand (Kind kind)
 
uint64_t GetCanonicalizedValue () const
 
- Protected Attributes inherited from v8::internal::compiler::InstructionOperand
uint64_t value_
 

Detailed Description

Definition at line 399 of file instruction.h.

Member Typedef Documentation

◆ VirtualRegisterField

Constructor & Destructor Documentation

◆ ConstantOperand()

v8::internal::compiler::ConstantOperand::ConstantOperand ( int virtual_register)
inlineexplicit

Definition at line 401 of file instruction.h.

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

Member Function Documentation

◆ New()

static ConstantOperand * v8::internal::compiler::ConstantOperand::New ( Zone * zone,
int virtual_register )
inlinestatic

Definition at line 411 of file instruction.h.

Here is the call graph for this function:

◆ virtual_register()

int32_t v8::internal::compiler::ConstantOperand::virtual_register ( ) const
inline

Definition at line 407 of file instruction.h.

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

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