/external/v8/src/snapshot/ |
D | builtin-snapshot-utils.cc | 24 OperandScale operand_scale) { in BytecodeToIndex() 28 case OperandScale::kSingle: return index; in BytecodeToIndex() 29 case OperandScale::kDouble: return index + Bytecodes::kBytecodeCount; in BytecodeToIndex() 30 case OperandScale::kQuadruple: return index + 2 * Bytecodes::kBytecodeCount; in BytecodeToIndex() 36 std::pair<interpreter::Bytecode, interpreter::OperandScale> 43 case 0: return {bytecode, OperandScale::kSingle}; in BytecodeFromIndex() 44 case 1: return {bytecode, OperandScale::kDouble}; in BytecodeFromIndex() 45 case 2: return {bytecode, OperandScale::kQuadruple}; in BytecodeFromIndex() 52 std::function<void(Bytecode, OperandScale)> f) { in ForEachBytecode() 53 static const OperandScale kOperandScales[] = { in ForEachBytecode() [all …]
|
D | builtin-snapshot-utils.h | 22 using OperandScale = interpreter::OperandScale; variable 42 static int BytecodeToIndex(Bytecode bytecode, OperandScale operand_scale); 46 static std::pair<Bytecode, OperandScale> BytecodeFromIndex(int index); 50 static void ForEachBytecode(std::function<void(Bytecode, OperandScale)> f);
|
D | builtin-deserializer.h | 23 using OperandScale = interpreter::OperandScale; variable 43 Code* DeserializeHandler(Bytecode bytecode, OperandScale operand_scale); 52 Code* DeserializeHandlerRaw(Bytecode bytecode, OperandScale operand_scale); 67 Code* GetDeserializeLazyHandler(OperandScale operand_scale) const;
|
D | builtin-deserializer.cc | 95 BSU::ForEachBytecode([=](Bytecode bytecode, OperandScale operand_scale) { in DeserializeEagerBuiltinsAndHandlers() 113 Bytecode::kIllegal, OperandScale::kSingle); in DeserializeEagerBuiltinsAndHandlers() 115 BSU::ForEachBytecode([=](Bytecode bytecode, OperandScale operand_scale) { in DeserializeEagerBuiltinsAndHandlers() 139 OperandScale operand_scale) { in DeserializeHandler() 176 OperandScale operand_scale) { in DeserializeHandlerRaw() 229 interpreter::OperandScale operand_scale) const { in GetDeserializeLazyHandler() 232 case OperandScale::kSingle: in GetDeserializeLazyHandler() 234 case OperandScale::kDouble: in GetDeserializeLazyHandler() 236 case OperandScale::kQuadruple: in GetDeserializeLazyHandler()
|
D | builtin-deserializer-allocator.h | 27 using OperandScale = interpreter::OperandScale; variable 101 void ReserveForHandler(Bytecode bytecode, OperandScale operand_scale); 119 interpreter::OperandScale operand_scale);
|
D | builtin-serializer.cc | 16 using interpreter::OperandScale; 40 BSU::ForEachBytecode([=](Bytecode bytecode, OperandScale operand_scale) { in SerializeBuiltinsAndHandlers() 136 OperandScale operand_scale, in SetHandlerOffset()
|
D | builtin-deserializer-allocator.cc | 97 [=, &result](Bytecode bytecode, OperandScale operand_scale) { in CreateReservationsForEagerBuiltinsAndHandlers() 135 interpreter::OperandScale operand_scale) { in InitializeHandlerFromReservation() 190 [=, &reservation_index](Bytecode bytecode, OperandScale operand_scale) { in InitializeFromReservations() 240 Bytecode bytecode, OperandScale operand_scale) { in ReserveForHandler()
|
/external/v8/src/interpreter/ |
D | bytecode-node.h | 25 operand_scale_(OperandScale::kSingle), in bytecode_() 34 operand_scale_(OperandScale::kSingle), in bytecode_() 45 operand_scale_(OperandScale::kSingle), in bytecode_() 57 operand_scale_(OperandScale::kSingle), in bytecode_() 71 operand_scale_(OperandScale::kSingle), in bytecode_() 86 operand_scale_(OperandScale::kSingle), in bytecode_() 119 OperandScale operand_scale() const { return operand_scale_; } in operand_scale() 135 OperandScale operand_scale, 153 return BytecodeNode(bytecode, 0, OperandScale::kSingle, source_info); in Create() 161 OperandScale scale = OperandScale::kSingle; in Create() [all …]
|
D | setup-interpreter-internal.cc | 18 void PrintBuiltinSize(Bytecode bytecode, OperandScale operand_scale, in PrintBuiltinSize() 36 const OperandScale kOperandScales[] = { in InstallBytecodeHandlers() 37 #define VALUE(Name, _) OperandScale::k##Name, in InstallBytecodeHandlers() 42 for (OperandScale operand_scale : kOperandScales) { in InstallBytecodeHandlers() 52 Bytecode::kIllegal, OperandScale::kSingle); in InstallBytecodeHandlers() 63 interpreter->isolate_, OperandScale::kSingle)); in InstallBytecodeHandlers() 66 interpreter->isolate_, OperandScale::kDouble)); in InstallBytecodeHandlers() 69 interpreter->isolate_, OperandScale::kQuadruple)); in InstallBytecodeHandlers() 79 OperandScale operand_scale) { in InstallBytecodeHandler()
|
D | bytecode-traits.h | 46 template <OperandType operand_type, OperandScale operand_scale> 48 template <bool, OperandSize, OperandScale> 52 template <OperandSize size, OperandScale scale> 56 template <OperandSize size, OperandScale scale> 87 1, OperandScaler<operands, OperandScale::kSingle>::kSize...>::kValue; 89 1, OperandScaler<operands, OperandScale::kDouble>::kSize...>::kValue; 91 1, OperandScaler<operands, OperandScale::kQuadruple>::kSize...>::kValue; 107 OperandScaler<operands, OperandScale::kSingle>::kOperandSize...}; 111 OperandScaler<operands, OperandScale::kDouble>::kOperandSize...}; 115 OperandScaler<operands, OperandScale::kQuadruple>::kOperandSize...};
|
D | bytecodes.h | 472 static std::string ToString(Bytecode bytecode, OperandScale operand_scale); 489 static Bytecode OperandScaleToPrefixBytecode(OperandScale operand_scale) { in OperandScaleToPrefixBytecode() 491 case OperandScale::kQuadruple: in OperandScaleToPrefixBytecode() 493 case OperandScale::kDouble: in OperandScaleToPrefixBytecode() 501 static bool OperandScaleRequiresPrefixBytecode(OperandScale operand_scale) { in OperandScaleRequiresPrefixBytecode() 502 return operand_scale != OperandScale::kSingle; in OperandScaleRequiresPrefixBytecode() 507 static OperandScale PrefixBytecodeToOperandScale(Bytecode bytecode) { in PrefixBytecodeToOperandScale() 511 return OperandScale::kQuadruple; in PrefixBytecodeToOperandScale() 514 return OperandScale::kDouble; in PrefixBytecodeToOperandScale() 745 OperandScale operand_scale) { in GetOperandSize() [all …]
|
D | bytecodes.cc | 80 OperandScaler<OperandType::k##Name, OperandScale::kSingle>::kOperandSize, 85 OperandScaler<OperandType::k##Name, OperandScale::kDouble>::kOperandSize, 90 OperandScaler<OperandType::k##Name, OperandScale::kQuadruple>::kOperandSize, 110 std::string Bytecodes::ToString(Bytecode bytecode, OperandScale operand_scale) { in ToString() 114 if (operand_scale > OperandScale::kSingle) { in ToString() 132 int bytecode_size = Size(bytecode, OperandScale::kSingle); in GetDebugBreak() 134 if (bytecode_size == Size(Bytecode::k##Name, OperandScale::kSingle)) { \ in GetDebugBreak() 144 OperandScale operand_scale) { in GetOperandOffset() 264 bool Bytecodes::IsStarLookahead(Bytecode bytecode, OperandScale operand_scale) { in IsStarLookahead() 265 if (operand_scale == OperandScale::kSingle) { in IsStarLookahead() [all …]
|
D | bytecode-decoder.h | 23 OperandScale operand_scale); 29 OperandScale operand_scale); 34 OperandScale operand_scale); 39 OperandScale operand_scale);
|
D | bytecode-array-writer.cc | 198 OperandScale operand_scale = node->operand_scale(); in EmitBytecode() 200 if (operand_scale != OperandScale::kSingle) { in EmitBytecode() 275 if (Bytecodes::ScaleForUnsignedOperand(delta) == OperandScale::kSingle) { in PatchJumpWith8BitOperand() 303 if (Bytecodes::ScaleForUnsignedOperand(delta) <= OperandScale::kDouble) { in PatchJumpWith16BitOperand() 349 OperandScale operand_scale = OperandScale::kSingle; in PatchJump() 362 case OperandScale::kSingle: in PatchJump() 365 case OperandScale::kDouble: in PatchJump() 368 case OperandScale::kQuadruple: in PatchJump() 388 OperandScale operand_scale = Bytecodes::ScaleForUnsignedOperand(delta); in EmitJump() 389 if (operand_scale > OperandScale::kSingle) { in EmitJump() [all …]
|
D | interpreter.h | 55 OperandScale operand_scale); 58 Code* GetBytecodeHandler(Bytecode bytecode, OperandScale operand_scale); 61 void SetBytecodeHandler(Bytecode bytecode, OperandScale operand_scale, 91 OperandScale operand_scale);
|
D | bytecode-decoder.cc | 20 OperandScale operand_scale) { in DecodeRegisterOperand() 30 OperandScale operand_scale) { in DecodeRegisterListOperand() 39 OperandScale operand_scale) { in DecodeSignedOperand() 57 OperandScale operand_scale) { in DecodeUnsignedOperand() 108 OperandScale operand_scale = OperandScale::kSingle; in Decode()
|
D | interpreter.cc | 63 Bytecode bytecode, OperandScale operand_scale) { in GetAndMaybeDeserializeBytecodeHandler() 83 OperandScale operand_scale) { in GetBytecodeHandler() 92 OperandScale operand_scale, in SetBytecodeHandler() 101 OperandScale operand_scale) { in GetDispatchTableIndex() 105 case OperandScale::kSingle: in GetDispatchTableIndex() 107 case OperandScale::kDouble: in GetDispatchTableIndex() 109 case OperandScale::kQuadruple: in GetDispatchTableIndex()
|
D | bytecode-operands.cc | 40 const char* OperandScaleToString(OperandScale operand_scale) { in OperandScaleToString() 43 case OperandScale::k##Name: \ in OperandScaleToString() 75 std::ostream& operator<<(std::ostream& os, const OperandScale& operand_scale) { in operator <<()
|
D | interpreter-generator.h | 16 OperandScale operand_scale, 20 OperandScale operand_scale);
|
D | bytecode-array-accessor.h | 78 OperandScale current_operand_scale() const { return operand_scale_; } in current_operand_scale() 126 OperandScale operand_scale_;
|
D | interpreter-assembler.h | 23 OperandScale operand_scale); 245 void DispatchWide(OperandScale operand_scale); 419 OperandScale operand_scale() const { return operand_scale_; } in operand_scale() 422 OperandScale operand_scale_;
|
D | interpreter-generator.cc | 39 Bytecode bytecode, OperandScale scale) \ 42 OperandScale scale); \ 49 OperandScale scale) { \ 153 OperandScale operand_scale) in InterpreterLoadGlobalAssembler() 325 OperandScale operand_scale) in InterpreterLookupContextSlotAssembler() 377 OperandScale operand_scale) in InterpreterLookupGlobalAssembler() 541 OperandScale operand_scale) in InterpreterStoreNamedPropertyAssembler() 770 OperandScale operand_scale) in InterpreterBinaryOpAssembler() 897 OperandScale operand_scale) in InterpreterBitwiseBinaryOpAssembler() 1122 OperandScale operand_scale) in UnaryNumericOpAssembler() [all …]
|
D | bytecode-operands.h | 66 enum class OperandScale : uint8_t { enum 131 const OperandScale& operand_scale);
|
D | setup-interpreter.h | 26 OperandScale operand_scale);
|
/external/v8/src/runtime/ |
D | runtime-interpreter.cc | 34 using interpreter::OperandScale; in RUNTIME_FUNCTION() 37 OperandScale operand_scale = static_cast<OperandScale>(operand_scale_int); in RUNTIME_FUNCTION() 57 interpreter::OperandScale::kSingle)); in AdvanceToOffsetForTracing() 170 interpreter::OperandScale::kSingle || in RUNTIME_FUNCTION()
|