V8 Project
|
#include <instruction.h>
Static Public Member Functions | |
static Instruction * | New (Zone *zone, InstructionCode opcode) |
static Instruction * | New (Zone *zone, InstructionCode opcode, size_t output_count, InstructionOperand **outputs, size_t input_count, InstructionOperand **inputs, size_t temp_count, InstructionOperand **temps) |
Protected Types | |
typedef BitField< size_t, 0, 8 > | OutputCountField |
typedef BitField< size_t, 8, 16 > | InputCountField |
typedef BitField< size_t, 24, 6 > | TempCountField |
typedef BitField< bool, 30, 1 > | IsCallField |
typedef BitField< bool, 31, 1 > | IsControlField |
Protected Member Functions | |
Instruction (InstructionCode opcode) | |
Instruction (InstructionCode opcode, size_t output_count, InstructionOperand **outputs, size_t input_count, InstructionOperand **inputs, size_t temp_count, InstructionOperand **temps) | |
Protected Attributes | |
InstructionCode | opcode_ |
uint32_t | bit_field_ |
PointerMap * | pointer_map_ |
InstructionOperand * | operands_ [1] |
Definition at line 404 of file instruction.h.
|
protected |
Definition at line 530 of file instruction.h.
|
protected |
Definition at line 532 of file instruction.h.
|
protected |
Definition at line 533 of file instruction.h.
|
protected |
Definition at line 529 of file instruction.h.
|
protected |
Definition at line 531 of file instruction.h.
|
inlineexplicitprotected |
Definition at line 500 of file instruction.h.
Referenced by New().
|
inlineprotected |
Definition at line 507 of file instruction.h.
References operands_.
|
inline |
Definition at line 429 of file instruction.h.
References v8::internal::BitFieldBase< T, shift, size, uint32_t >::decode(), and opcode().
|
inline |
Definition at line 428 of file instruction.h.
References v8::internal::BitFieldBase< T, shift, size, uint32_t >::decode(), and opcode().
Referenced by v8::internal::compiler::TARGET_TEST_F().
|
inline |
Definition at line 484 of file instruction.h.
References IsCall().
|
inline |
Definition at line 482 of file instruction.h.
References IsCall().
|
inline |
Definition at line 483 of file instruction.h.
References IsCall().
|
inline |
Definition at line 433 of file instruction.h.
References v8::internal::BitFieldBase< T, shift, size, uint32_t >::decode(), and opcode().
|
inline |
Definition at line 432 of file instruction.h.
References v8::internal::BitFieldBase< T, shift, size, uint32_t >::decode(), and opcode().
|
inline |
Definition at line 412 of file instruction.h.
References OutputCount().
|
inline |
|
inline |
Definition at line 416 of file instruction.h.
References DCHECK, InputCount(), operands_, and OutputCount().
Referenced by v8::internal::compiler::HasImmediateInput(), v8::internal::compiler::InstructionOperandConverter::InputDouble(), v8::internal::compiler::InstructionOperandConverter::InputDoubleRegister(), v8::internal::compiler::InstructionOperandConverter::InputHeapObject(), v8::internal::compiler::IA32OperandConverter::InputImmediate(), v8::internal::compiler::X64OperandConverter::InputImmediate(), v8::internal::compiler::X64OperandConverter::InputImmediate64(), v8::internal::compiler::InstructionOperandConverter::InputInt32(), v8::internal::compiler::IA32OperandConverter::InputOperand(), v8::internal::compiler::InstructionOperandConverter::InputRegister(), v8::internal::compiler::X64OperandConverter::InputRegisterOrOperand(), and v8::internal::compiler::TARGET_TEST_F().
|
inline |
Definition at line 415 of file instruction.h.
References bit_field_, and v8::internal::BitFieldBase< T, shift, size, uint32_t >::decode().
Referenced by InputAt(), v8::internal::compiler::TARGET_TEST_F(), and TempAt().
|
inline |
Definition at line 477 of file instruction.h.
References v8::internal::compiler::kBlockStartInstruction, and opcode().
Referenced by v8::internal::compiler::FINAL< kOperandKind, kNumCachedOperands >::cast().
|
inline |
Definition at line 470 of file instruction.h.
References bit_field_, and v8::internal::BitFieldBase< T, shift, size, U >::decode().
Referenced by ClobbersDoubleRegisters(), ClobbersRegisters(), ClobbersTemps(), and NeedsPointerMap().
|
inline |
Definition at line 469 of file instruction.h.
References bit_field_, and v8::internal::BitFieldBase< T, shift, size, U >::decode().
|
inline |
Definition at line 474 of file instruction.h.
References v8::internal::compiler::kBlockStartInstruction, v8::internal::compiler::kGapInstruction, and opcode().
Referenced by v8::internal::compiler::GapInstruction::cast().
|
inline |
Definition at line 478 of file instruction.h.
References v8::internal::compiler::kSourcePositionInstruction, and opcode().
Referenced by v8::internal::compiler::FINAL< kOperandKind, kNumCachedOperands >::cast().
|
inline |
Definition at line 465 of file instruction.h.
References bit_field_, and v8::internal::BitFieldBase< T, shift, size, U >::update().
|
inline |
Definition at line 461 of file instruction.h.
References bit_field_, and v8::internal::BitFieldBase< T, shift, size, U >::update().
Referenced by v8::internal::compiler::VisitBinop(), v8::internal::compiler::VisitShift(), and v8::internal::compiler::VisitWordCompare().
|
inline |
Definition at line 471 of file instruction.h.
References IsCall().
Referenced by set_pointer_map().
|
inlinestatic |
Definition at line 438 of file instruction.h.
References NULL, and opcode().
|
inlinestatic |
Definition at line 442 of file instruction.h.
References DCHECK, Instruction(), v8::internal::kPointerSize, v8::internal::Zone::New(), NULL, opcode(), v8::internal::RoundUp(), size, and USE().
|
inline |
Definition at line 427 of file instruction.h.
References opcode_.
Referenced by addressing_mode(), arch_opcode(), flags_condition(), flags_mode(), IsBlockStart(), IsGapMoves(), IsSourcePosition(), v8::internal::compiler::IA32OperandConverter::MemoryOperand(), v8::internal::compiler::X64OperandConverter::MemoryOperand(), and New().
|
inline |
|
inline |
Definition at line 495 of file instruction.h.
|
inline |
Definition at line 413 of file instruction.h.
References OutputAt().
Referenced by v8::internal::compiler::InstructionOperandConverter::OutputDoubleRegister(), v8::internal::compiler::IA32OperandConverter::OutputOperand(), and v8::internal::compiler::X64OperandConverter::OutputRegisterOrOperand().
|
inline |
Definition at line 407 of file instruction.h.
References DCHECK, operands_, and OutputCount().
Referenced by Output(), and v8::internal::compiler::InstructionOperandConverter::OutputRegister().
|
inline |
Definition at line 406 of file instruction.h.
References bit_field_, and v8::internal::BitFieldBase< T, shift, size, uint32_t >::decode().
Referenced by HasOutput(), InputAt(), OutputAt(), v8::internal::compiler::TARGET_TEST_F(), and TempAt().
|
inline |
|
inline |
Definition at line 487 of file instruction.h.
References DCHECK, DCHECK_EQ, map, NeedsPointerMap(), NULL, and pointer_map_.
|
inline |
Definition at line 422 of file instruction.h.
References DCHECK, InputCount(), operands_, OutputCount(), and TempCount().
Referenced by v8::internal::compiler::IA32OperandConverter::TempOperand(), and v8::internal::compiler::InstructionOperandConverter::TempRegister().
|
inline |
Definition at line 421 of file instruction.h.
References bit_field_, and v8::internal::BitFieldBase< T, shift, size, uint32_t >::decode().
Referenced by TempAt().
|
protected |
Definition at line 536 of file instruction.h.
Referenced by InputCount(), IsCall(), IsControl(), MarkAsCall(), MarkAsControl(), OutputCount(), and TempCount().
|
protected |
Definition at line 535 of file instruction.h.
Referenced by opcode().
|
protected |
Definition at line 538 of file instruction.h.
Referenced by InputAt(), Instruction(), OutputAt(), and TempAt().
|
protected |
Definition at line 537 of file instruction.h.
Referenced by HasPointerMap(), pointer_map(), and set_pointer_map().