V8 Project
instruction-codes.h File Reference
#include "src/utils.h"
+ Include dependency graph for instruction-codes.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 v8
 Debugger support for the V8 JavaScript engine.
 
 v8::internal
 
 v8::internal::compiler
 

Macros

#define TARGET_ARCH_OPCODE_LIST(V)
 
#define TARGET_ADDRESSING_MODE_LIST(V)
 
#define ARCH_OPCODE_LIST(V)
 
#define DECLARE_ARCH_OPCODE(Name)   k##Name,
 
#define COUNT_ARCH_OPCODE(Name)   +1
 
#define ADDRESSING_MODE_LIST(V)
 
#define DECLARE_ADDRESSING_MODE(Name)   kMode_##Name,
 
#define COUNT_ADDRESSING_MODE(Name)   +1
 

Typedefs

typedef int32_t v8::internal::compiler::InstructionCode
 
typedef BitField< ArchOpcode, 0, 7 > v8::internal::compiler::ArchOpcodeField
 
typedef BitField< AddressingMode, 7, 5 > v8::internal::compiler::AddressingModeField
 
typedef BitField< FlagsMode, 12, 2 > v8::internal::compiler::FlagsModeField
 
typedef BitField< FlagsCondition, 14, 5 > v8::internal::compiler::FlagsConditionField
 
typedef BitField< int, 14, 18 > v8::internal::compiler::MiscField
 

Enumerations

enum  v8::internal::compiler::ArchOpcode { v8::internal::compiler::kLastArchOpcode = -1 ARCH_OPCODE_LIST(COUNT_ARCH_OPCODE) }
 
enum  v8::internal::compiler::AddressingMode { v8::internal::compiler::kLastAddressingMode = -1 ADDRESSING_MODE_LIST(COUNT_ADDRESSING_MODE) }
 
enum  v8::internal::compiler::FlagsMode { v8::internal::compiler::kFlags_none = 0 , v8::internal::compiler::kFlags_branch = 1 , v8::internal::compiler::kFlags_set = 2 }
 
enum  v8::internal::compiler::FlagsCondition {
  v8::internal::compiler::kEqual , v8::internal::compiler::kNotEqual , v8::internal::compiler::kSignedLessThan , v8::internal::compiler::kSignedGreaterThanOrEqual ,
  v8::internal::compiler::kSignedLessThanOrEqual , v8::internal::compiler::kSignedGreaterThan , v8::internal::compiler::kUnsignedLessThan , v8::internal::compiler::kUnsignedGreaterThanOrEqual ,
  v8::internal::compiler::kUnsignedLessThanOrEqual , v8::internal::compiler::kUnsignedGreaterThan , v8::internal::compiler::kUnorderedEqual , v8::internal::compiler::kUnorderedNotEqual ,
  v8::internal::compiler::kUnorderedLessThan , v8::internal::compiler::kUnorderedGreaterThanOrEqual , v8::internal::compiler::kUnorderedLessThanOrEqual , v8::internal::compiler::kUnorderedGreaterThan ,
  v8::internal::compiler::kOverflow , v8::internal::compiler::kNotOverflow
}
 

Functions

OStream & v8::internal::compiler::operator<< (OStream &os, const ArchOpcode &ao)
 
OStream & v8::internal::compiler::operator<< (OStream &os, const AddressingMode &am)
 
OStream & v8::internal::compiler::operator<< (OStream &os, const FlagsMode &fm)
 
OStream & v8::internal::compiler::operator<< (OStream &os, const FlagsCondition &fc)
 

Macro Definition Documentation

◆ ADDRESSING_MODE_LIST

#define ADDRESSING_MODE_LIST (   V)
Value:
V(None) \
TARGET_ADDRESSING_MODE_LIST(V)
#define V(NAME, Name, id)
Definition: execution.h:170
@ None
Definition: v8.h:2211

Definition at line 55 of file instruction-codes.h.

◆ ARCH_OPCODE_LIST

#define ARCH_OPCODE_LIST (   V)
Value:
V(ArchCallCodeObject) \
V(ArchCallJSFunction) \
V(ArchJmp) \
V(ArchNop) \
V(ArchRet) \
V(ArchTruncateDoubleToI) \
TARGET_ARCH_OPCODE_LIST(V)

Definition at line 31 of file instruction-codes.h.

◆ COUNT_ADDRESSING_MODE

#define COUNT_ADDRESSING_MODE (   Name)    +1

Definition at line 63 of file instruction-codes.h.

◆ COUNT_ARCH_OPCODE

#define COUNT_ARCH_OPCODE (   Name)    +1

Definition at line 44 of file instruction-codes.h.

◆ DECLARE_ADDRESSING_MODE

#define DECLARE_ADDRESSING_MODE (   Name)    kMode_##Name,

Definition at line 60 of file instruction-codes.h.

◆ DECLARE_ARCH_OPCODE

#define DECLARE_ARCH_OPCODE (   Name)    k##Name,

Definition at line 41 of file instruction-codes.h.

◆ TARGET_ADDRESSING_MODE_LIST

#define TARGET_ADDRESSING_MODE_LIST (   V)

Definition at line 18 of file instruction-codes.h.

◆ TARGET_ARCH_OPCODE_LIST

#define TARGET_ARCH_OPCODE_LIST (   V)

Definition at line 17 of file instruction-codes.h.