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

#include <instructions.h>

Collaboration diagram for v8::internal::torque::Instruction:

Public Member Functions

template<class T >
 Instruction (T instr)
 
template<class T >
TCast ()
 
template<class T >
const TCast () const
 
template<class T >
bool Is () const
 
template<class T >
TDynamicCast ()
 
template<class T >
const TDynamicCast () const
 
 Instruction (const Instruction &other) V8_NOEXCEPT
 
Instructionoperator= (const Instruction &other) V8_NOEXCEPT
 
InstructionKind kind () const
 
const char * Mnemonic () const
 
void TypeInstruction (Stack< const Type * > *stack, ControlFlowGraph *cfg) const
 
void RecomputeDefinitionLocations (Stack< DefinitionLocation > *locations, Worklist< Block * > *worklist) const
 
InstructionBaseoperator-> ()
 
const InstructionBaseoperator-> () const
 

Private Attributes

InstructionKind kind_
 
std::unique_ptr< InstructionBaseinstruction_
 

Detailed Description

Definition at line 204 of file instructions.h.

Constructor & Destructor Documentation

◆ Instruction() [1/2]

template<class T >
v8::internal::torque::Instruction::Instruction ( T instr)
inline

Definition at line 207 of file instructions.h.

◆ Instruction() [2/2]

v8::internal::torque::Instruction::Instruction ( const Instruction & other)
inline

Definition at line 239 of file instructions.h.

Member Function Documentation

◆ Cast() [1/2]

template<class T >
T & v8::internal::torque::Instruction::Cast ( )
inline

Definition at line 211 of file instructions.h.

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

◆ Cast() [2/2]

template<class T >
const T & v8::internal::torque::Instruction::Cast ( ) const
inline

Definition at line 217 of file instructions.h.

Here is the call graph for this function:

◆ DynamicCast() [1/2]

template<class T >
T * v8::internal::torque::Instruction::DynamicCast ( )
inline

Definition at line 228 of file instructions.h.

Here is the call graph for this function:

◆ DynamicCast() [2/2]

template<class T >
const T * v8::internal::torque::Instruction::DynamicCast ( ) const
inline

Definition at line 234 of file instructions.h.

Here is the call graph for this function:

◆ Is()

template<class T >
bool v8::internal::torque::Instruction::Is ( ) const
inline

Definition at line 223 of file instructions.h.

Here is the caller graph for this function:

◆ kind()

InstructionKind v8::internal::torque::Instruction::kind ( ) const
inline

Definition at line 252 of file instructions.h.

Here is the caller graph for this function:

◆ Mnemonic()

const char * v8::internal::torque::Instruction::Mnemonic ( ) const
inline

Definition at line 253 of file instructions.h.

Here is the call graph for this function:

◆ operator->() [1/2]

InstructionBase * v8::internal::torque::Instruction::operator-> ( )
inline

Definition at line 272 of file instructions.h.

◆ operator->() [2/2]

const InstructionBase * v8::internal::torque::Instruction::operator-> ( ) const
inline

Definition at line 273 of file instructions.h.

◆ operator=()

Instruction & v8::internal::torque::Instruction::operator= ( const Instruction & other)
inline

Definition at line 242 of file instructions.h.

◆ RecomputeDefinitionLocations()

void v8::internal::torque::Instruction::RecomputeDefinitionLocations ( Stack< DefinitionLocation > * locations,
Worklist< Block * > * worklist ) const
inline

Definition at line 267 of file instructions.h.

◆ TypeInstruction()

void v8::internal::torque::Instruction::TypeInstruction ( Stack< const Type * > * stack,
ControlFlowGraph * cfg ) const
inline

Definition at line 264 of file instructions.h.

Member Data Documentation

◆ instruction_

std::unique_ptr<InstructionBase> v8::internal::torque::Instruction::instruction_
private

Definition at line 277 of file instructions.h.

◆ kind_

InstructionKind v8::internal::torque::Instruction::kind_
private

Definition at line 276 of file instructions.h.


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