![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
Namespaces | |
namespace | bytecode_array_writer_unittest |
Typedefs | |
using | TypeHint = BytecodeRegisterOptimizer::TypeHint |
using | NumberBuiltinsBytecodeHandlerAssembler |
using | BytecodeHandlerData = compiler::turboshaft::BytecodeHandlerData |
Enumerations | |
enum class | TryFinallyContinuationToken : int { kFallthroughToken = -1 , kRethrowToken = 0 } |
enum class | OperandScale : uint8_t { DECLARE_OPERAND_SCALE , kLast = kQuadruple } |
enum class | OperandSize : uint8_t { kNone = 0 , kByte = 1 , kShort = 2 , kQuad = 4 , kLast = kQuad } |
enum class | OperandTypeInfo : uint8_t { DECLARE_OPERAND_TYPE_INFO } |
enum class | OperandType : uint8_t { DECLARE_OPERAND_TYPE , COUNT_OPERAND_TYPES , kLast = -1 OPERAND_TYPE_LIST(COUNT_OPERAND_TYPES) } |
enum class | ImplicitRegisterUse : uint8_t { kNone = 0 , kReadAccumulator = 1 << 0 , kWriteAccumulator = 1 << 1 , kClobberAccumulator = 1 << 2 , kWriteShortStar = 1 << 3 , kReadWriteAccumulator = kReadAccumulator | kWriteAccumulator , kReadAndClobberAccumulator = kReadAccumulator | kClobberAccumulator , kReadAccumulatorWriteShortStar = kReadAccumulator | kWriteShortStar } |
enum class | VariableHintMode { kDefinitelyHasVariable , kMightHaveVariable } |
enum class | MaterializedInfo { kNotMaterialized , kMaterialized } |
enum class | ResetVariableHint { kDontReset , kReset } |
enum class | Bytecode : uint8_t { DECLARE_BYTECODE , COUNT_BYTECODE , kLast = -1 BYTECODE_LIST(COUNT_BYTECODE, COUNT_BYTECODE) , kFirstShortStar = kStar15 , kLastShortStar = kStar0 } |
Variables | |
const int | kIllegalBytecodeHandler = -1 |
const int | kIllegalBytecodeHandlerEncoding = 255 |
Definition at line 12 of file interpreter-generator-tsa.h.
Definition at line 330 of file interpreter-generator-tsa.cc.
Definition at line 15 of file bytecode-register-optimizer.cc.
|
strong |
Enumerator | |
---|---|
DECLARE_BYTECODE | |
COUNT_BYTECODE | |
kLast | |
kFirstShortStar | |
kLastShortStar |
Definition at line 584 of file bytecodes.h.
|
strong |
Enumerator | |
---|---|
kNone | |
kReadAccumulator | |
kWriteAccumulator | |
kClobberAccumulator | |
kWriteShortStar | |
kReadWriteAccumulator | |
kReadAndClobberAccumulator | |
kReadAccumulatorWriteShortStar |
Definition at line 114 of file bytecode-operands.h.
|
strong |
Enumerator | |
---|---|
kNotMaterialized | |
kMaterialized |
Definition at line 26 of file bytecode-register-optimizer.cc.
|
strong |
Enumerator | |
---|---|
DECLARE_OPERAND_SCALE | |
kLast |
Definition at line 69 of file bytecode-operands.h.
|
strong |
Enumerator | |
---|---|
kNone | |
kByte | |
kShort | |
kQuad | |
kLast |
Definition at line 79 of file bytecode-operands.h.
|
strong |
Enumerator | |
---|---|
DECLARE_OPERAND_TYPE | |
COUNT_OPERAND_TYPES | |
kLast |
Definition at line 103 of file bytecode-operands.h.
|
strong |
Enumerator | |
---|---|
DECLARE_OPERAND_TYPE_INFO |
Definition at line 96 of file bytecode-operands.h.
|
strong |
Enumerator | |
---|---|
kDontReset | |
kReset |
Definition at line 28 of file bytecode-register-optimizer.cc.
|
strong |
Enumerator | |
---|---|
kFallthroughToken | |
kRethrowToken |
Definition at line 100 of file bytecode-flags-and-tokens.h.
|
strong |
Enumerator | |
---|---|
kDefinitelyHasVariable | |
kMightHaveVariable |
Definition at line 19 of file bytecode-register-optimizer.cc.
void v8::internal::interpreter::BitwiseNotAssemblerTS_Generate | ( | compiler::turboshaft::PipelineData * | data, |
Isolate * | isolate, | ||
compiler::turboshaft::Graph & | graph, | ||
Zone * | zone ) |
void v8::internal::interpreter::GenerateBytecodeHandler | ( | compiler::CodeAssemblerState * | state, |
Bytecode | bytecode, | ||
OperandScale | operand_scale ) |
TNode< Object > v8::internal::interpreter::GenerateInvokeIntrinsic | ( | InterpreterAssembler * | assembler, |
TNode< Uint32T > | function_id, | ||
TNode< Context > | context, | ||
const InterpreterAssembler::RegListNodePair & | args ) |
Definition at line 54 of file interpreter-intrinsics-generator.cc.
Definition at line 320 of file bytecode-array-writer.cc.
v8::internal::interpreter::IGNITION_HANDLER_TS | ( | BitwiseNot | , |
NumberBuiltinsBytecodeHandlerAssembler | ) |
Definition at line 333 of file interpreter-generator-tsa.cc.
|
static |
Definition at line 7403 of file bytecode-generator.cc.
|
static |
|
static |
Definition at line 7398 of file bytecode-generator.cc.
|
constexpr |
Definition at line 20 of file bytecode-register.h.
|
inlineconstexpr |
Definition at line 125 of file bytecode-operands.h.
V8_EXPORT_PRIVATE std::ostream & v8::internal::interpreter::operator<< | ( | std::ostream & | os, |
const Bytecode & | bytecode ) |
V8_EXPORT_PRIVATE std::ostream & v8::internal::interpreter::operator<< | ( | std::ostream & | os, |
const BytecodeArrayBuilder::ToBooleanMode & | mode ) |
Definition at line 1760 of file bytecode-array-builder.cc.
V8_EXPORT_PRIVATE std::ostream & v8::internal::interpreter::operator<< | ( | std::ostream & | os, |
const BytecodeNode & | node ) |
Definition at line 49 of file bytecode-node.cc.
V8_EXPORT_PRIVATE std::ostream & v8::internal::interpreter::operator<< | ( | std::ostream & | os, |
const BytecodeSourceInfo & | info ) |
Definition at line 13 of file bytecode-source-info.cc.
V8_EXPORT_PRIVATE std::ostream & v8::internal::interpreter::operator<< | ( | std::ostream & | os, |
const ImplicitRegisterUse & | use ) |
Definition at line 76 of file bytecode-operands.cc.
V8_EXPORT_PRIVATE std::ostream & v8::internal::interpreter::operator<< | ( | std::ostream & | os, |
const OperandScale & | operand_scale ) |
Definition at line 84 of file bytecode-operands.cc.
V8_EXPORT_PRIVATE std::ostream & v8::internal::interpreter::operator<< | ( | std::ostream & | os, |
const OperandSize & | operand_size ) |
Definition at line 80 of file bytecode-operands.cc.
V8_EXPORT_PRIVATE std::ostream & v8::internal::interpreter::operator<< | ( | std::ostream & | os, |
const OperandType & | operand_type ) |
Definition at line 88 of file bytecode-operands.cc.
|
inlineconstexpr |
Definition at line 131 of file bytecode-operands.h.
void v8::internal::interpreter::WriteBytecode | ( | std::ofstream & | out, |
Bytecode | bytecode, | ||
OperandScale | operand_scale, | ||
int * | count, | ||
int | offset_table[], | ||
int | table_index ) |
Definition at line 17 of file generate-bytecodes-builtins-list.cc.
void v8::internal::interpreter::WriteHeader | ( | const char * | header_filename | ) |
Definition at line 41 of file generate-bytecodes-builtins-list.cc.
const int v8::internal::interpreter::kIllegalBytecodeHandler = -1 |
Definition at line 14 of file generate-bytecodes-builtins-list.cc.
const int v8::internal::interpreter::kIllegalBytecodeHandlerEncoding = 255 |
Definition at line 15 of file generate-bytecodes-builtins-list.cc.