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

#include <instruction.h>

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

Public Types

enum  ImmediateType { INLINE_INT32 , INLINE_INT64 , INDEXED_RPO , INDEXED_IMM }
 
using TypeField = KindField::Next<ImmediateType, 2>
 
using ValueField = base::BitField64<int32_t, 32, 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

 ImmediateOperand (ImmediateType type, int32_t value)
 
ImmediateType type () const
 
int32_t inline_int32_value () const
 
int64_t inline_int64_value () const
 
int32_t indexed_value () 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 ImmediateOperandNew (Zone *zone, ImmediateType type, int32_t value)
 
- 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 420 of file instruction.h.

Member Typedef Documentation

◆ TypeField

◆ ValueField

Definition at line 456 of file instruction.h.

Member Enumeration Documentation

◆ ImmediateType

Enumerator
INLINE_INT32 
INLINE_INT64 
INDEXED_RPO 
INDEXED_IMM 

Definition at line 422 of file instruction.h.

Constructor & Destructor Documentation

◆ ImmediateOperand()

v8::internal::compiler::ImmediateOperand::ImmediateOperand ( ImmediateType type,
int32_t value )
inlineexplicit

Definition at line 424 of file instruction.h.

Member Function Documentation

◆ indexed_value()

int32_t v8::internal::compiler::ImmediateOperand::indexed_value ( ) const
inline

Definition at line 443 of file instruction.h.

Here is the caller graph for this function:

◆ inline_int32_value()

int32_t v8::internal::compiler::ImmediateOperand::inline_int32_value ( ) const
inline

Definition at line 433 of file instruction.h.

Here is the caller graph for this function:

◆ inline_int64_value()

int64_t v8::internal::compiler::ImmediateOperand::inline_int64_value ( ) const
inline

Definition at line 438 of file instruction.h.

Here is the caller graph for this function:

◆ New()

static ImmediateOperand * v8::internal::compiler::ImmediateOperand::New ( Zone * zone,
ImmediateType type,
int32_t value )
inlinestatic

Definition at line 448 of file instruction.h.

Here is the call graph for this function:

◆ type()

ImmediateType v8::internal::compiler::ImmediateOperand::type ( ) const
inline

Definition at line 431 of file instruction.h.

Here is the caller graph for this function:

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