/external/v8/src/interpreter/ |
D | bytecodes.cc | 98 const char* Bytecodes::ToString(Bytecode bytecode) { in ToString() 101 case Bytecode::k##Name: \ in ToString() 110 std::string Bytecodes::ToString(Bytecode bytecode, OperandScale operand_scale) { in ToString() 115 Bytecode prefix_bytecode = OperandScaleToPrefixBytecode(operand_scale); in ToString() 124 Bytecode Bytecodes::GetDebugBreak(Bytecode bytecode) { in GetDebugBreak() 126 if (bytecode == Bytecode::kWide) { in GetDebugBreak() 127 return Bytecode::kDebugBreakWide; in GetDebugBreak() 129 if (bytecode == Bytecode::kExtraWide) { in GetDebugBreak() 130 return Bytecode::kDebugBreakExtraWide; in GetDebugBreak() 134 if (bytecode_size == Size(Bytecode::k##Name, OperandScale::kSingle)) { \ in GetDebugBreak() [all …]
|
D | bytecodes.h | 449 enum class Bytecode : uint8_t { enum 466 static const int kBytecodeCount = static_cast<int>(Bytecode::kLast) + 1; 469 static const char* ToString(Bytecode bytecode); 472 static std::string ToString(Bytecode bytecode, OperandScale operand_scale); 475 static uint8_t ToByte(Bytecode bytecode) { in ToByte() 476 DCHECK_LE(bytecode, Bytecode::kLast); in ToByte() 481 static Bytecode FromByte(uint8_t value) { in FromByte() 482 Bytecode bytecode = static_cast<Bytecode>(value); in FromByte() 483 DCHECK_LE(bytecode, Bytecode::kLast); in FromByte() 489 static Bytecode OperandScaleToPrefixBytecode(OperandScale operand_scale) { in OperandScaleToPrefixBytecode() [all …]
|
D | bytecode-array-writer.cc | 31 last_bytecode_(Bytecode::kIllegal), in BytecodeArrayWriter() 153 void BytecodeArrayWriter::UpdateExitSeenInBlock(Bytecode bytecode) { in UpdateExitSeenInBlock() 155 case Bytecode::kReturn: in UpdateExitSeenInBlock() 156 case Bytecode::kThrow: in UpdateExitSeenInBlock() 157 case Bytecode::kReThrow: in UpdateExitSeenInBlock() 158 case Bytecode::kAbort: in UpdateExitSeenInBlock() 159 case Bytecode::kJump: in UpdateExitSeenInBlock() 160 case Bytecode::kJumpConstant: in UpdateExitSeenInBlock() 161 case Bytecode::kSuspendGenerator: in UpdateExitSeenInBlock() 169 void BytecodeArrayWriter::MaybeElideLastBytecode(Bytecode next_bytecode, in MaybeElideLastBytecode() [all …]
|
D | bytecode-node.h | 21 V8_INLINE BytecodeNode(Bytecode bytecode, 30 V8_INLINE BytecodeNode(Bytecode bytecode, uint32_t operand0, 40 V8_INLINE BytecodeNode(Bytecode bytecode, uint32_t operand0, 52 V8_INLINE BytecodeNode(Bytecode bytecode, uint32_t operand0, 65 V8_INLINE BytecodeNode(Bytecode bytecode, uint32_t operand0, 80 V8_INLINE BytecodeNode(Bytecode bytecode, uint32_t operand0, 100 return Create<Bytecode::k##Name, __VA_ARGS__>(source_info, operands...); \ 108 Bytecode bytecode() const { return bytecode_; } in bytecode() 130 template <Bytecode bytecode, AccumulatorUse accumulator_use, 134 V8_INLINE BytecodeNode(Bytecode bytecode, int operand_count, [all …]
|
D | interpreter.h | 54 Code* GetAndMaybeDeserializeBytecodeHandler(Bytecode bytecode, 58 Code* GetBytecodeHandler(Bytecode bytecode, OperandScale operand_scale); 61 void SetBytecodeHandler(Bytecode bytecode, OperandScale operand_scale, 87 uintptr_t GetDispatchCounter(Bytecode from, Bytecode to) const; 90 static size_t GetDispatchTableIndex(Bytecode bytecode, 95 static const int kNumberOfBytecodes = static_cast<int>(Bytecode::kLast) + 1;
|
D | interpreter.cc | 54 static const int kBytecodeCount = static_cast<int>(Bytecode::kLast) + 1; in Interpreter() 63 Bytecode bytecode, OperandScale operand_scale) { in GetAndMaybeDeserializeBytecodeHandler() 82 Code* Interpreter::GetBytecodeHandler(Bytecode bytecode, in GetBytecodeHandler() 91 void Interpreter::SetBytecodeHandler(Bytecode bytecode, in SetBytecodeHandler() 100 size_t Interpreter::GetDispatchTableIndex(Bytecode bytecode, in GetDispatchTableIndex() 239 if (dispatch_table_[Bytecodes::ToByte(Bytecode::k##Name)] == \ in LookupNameOfBytecodeHandler() 249 uintptr_t Interpreter::GetDispatchCounter(Bytecode from, Bytecode to) const { in GetDispatchCounter() 274 Bytecode from_bytecode = Bytecodes::FromByte(from_index); in GetDispatchCountersObject() 278 Bytecode to_bytecode = Bytecodes::FromByte(to_index); in GetDispatchCountersObject()
|
D | bytecode-array-accessor.cc | 35 interpreter::Bytecode bytecode = in ApplyDebugBreak() 38 interpreter::Bytecode debugbreak = in ApplyDebugBreak() 47 Bytecode current_bytecode = Bytecodes::FromByte(current_byte); in UpdateOperandScale() 63 Bytecode BytecodeArrayAccessor::current_bytecode() const { in current_bytecode() 67 Bytecode current_bytecode = Bytecodes::FromByte(current_byte); in current_bytecode() 210 Bytecode bytecode = current_bytecode(); in GetJumpTargetOffset() 213 if (bytecode == Bytecode::kJumpLoop) { in GetJumpTargetOffset() 229 if (current_bytecode() == Bytecode::kSwitchOnGeneratorState) { in GetJumpTableTargetOffsets() 234 DCHECK_EQ(current_bytecode(), Bytecode::kSwitchOnSmiNoFeedback); in GetJumpTableTargetOffsets()
|
D | bytecode-array-writer.h | 53 2 * sizeof(Bytecode) + 75 void UpdateExitSeenInBlock(Bytecode bytecode); 77 void MaybeElideLastBytecode(Bytecode next_bytecode, bool has_source_info); 93 Bytecode last_bytecode_;
|
D | setup-interpreter-internal.cc | 18 void PrintBuiltinSize(Bytecode bytecode, OperandScale operand_scale, in PrintBuiltinSize() 45 Bytecode::k##Name, operand_scale); in InstallBytecodeHandlers() 52 Bytecode::kIllegal, OperandScale::kSingle); in InstallBytecodeHandlers() 78 Bytecode bytecode, in InstallBytecodeHandler()
|
D | bytecode-register-optimizer.h | 65 template <Bytecode bytecode, AccumulatorUse accumulator_use> in NON_EXPORTED_BASE() 68 bytecode == Bytecode::kDebugger || in NON_EXPORTED_BASE() 69 bytecode == Bytecode::kSuspendGenerator || in NON_EXPORTED_BASE() 70 bytecode == Bytecode::kResumeGenerator) { in NON_EXPORTED_BASE()
|
D | interpreter-generator.cc | 39 Bytecode bytecode, OperandScale scale) \ 50 Name##Assembler assembler(state, Bytecode::k##Name, scale); \ 152 InterpreterLoadGlobalAssembler(CodeAssemblerState* state, Bytecode bytecode, in InterpreterLoadGlobalAssembler() 324 Bytecode bytecode, in InterpreterLookupContextSlotAssembler() 376 InterpreterLookupGlobalAssembler(CodeAssemblerState* state, Bytecode bytecode, in InterpreterLookupGlobalAssembler() 540 Bytecode bytecode, in InterpreterStoreNamedPropertyAssembler() 769 InterpreterBinaryOpAssembler(CodeAssemblerState* state, Bytecode bytecode, in InterpreterBinaryOpAssembler() 896 Bytecode bytecode, in InterpreterBitwiseBinaryOpAssembler() 1121 UnaryNumericOpAssembler(CodeAssemblerState* state, Bytecode bytecode, in UnaryNumericOpAssembler() 1225 explicit NegateAssemblerImpl(CodeAssemblerState* state, Bytecode bytecode, in NegateAssemblerImpl() [all …]
|
D | interpreter-generator.h | 15 extern Handle<Code> GenerateBytecodeHandler(Isolate* isolate, Bytecode bytecode,
|
D | setup-interpreter.h | 25 Bytecode bytecode,
|
/external/v8/src/debug/ |
D | debug-evaluate.cc | 423 bool BytecodeHasNoSideEffect(interpreter::Bytecode bytecode) { in BytecodeHasNoSideEffect() 424 typedef interpreter::Bytecode Bytecode; in BytecodeHasNoSideEffect() typedef 433 case Bytecode::kLdaLookupSlot: in BytecodeHasNoSideEffect() 434 case Bytecode::kLdaGlobal: in BytecodeHasNoSideEffect() 435 case Bytecode::kLdaNamedProperty: in BytecodeHasNoSideEffect() 436 case Bytecode::kLdaKeyedProperty: in BytecodeHasNoSideEffect() 437 case Bytecode::kLdaGlobalInsideTypeof: in BytecodeHasNoSideEffect() 438 case Bytecode::kLdaLookupSlotInsideTypeof: in BytecodeHasNoSideEffect() 440 case Bytecode::kAdd: in BytecodeHasNoSideEffect() 441 case Bytecode::kAddSmi: in BytecodeHasNoSideEffect() [all …]
|
/external/v8/src/compiler/ |
D | bytecode-analysis.cc | 15 using interpreter::Bytecode; 95 void UpdateInLiveness(Bytecode bytecode, BytecodeLivenessState& in_liveness, in UpdateInLiveness() 101 if (bytecode == Bytecode::kSuspendGenerator) { in UpdateInLiveness() 109 if (bytecode == Bytecode::kResumeGenerator) { in UpdateInLiveness() 203 void UpdateOutLiveness(Bytecode bytecode, BytecodeLivenessState& out_liveness, in UpdateOutLiveness() 211 if (bytecode == Bytecode::kSuspendGenerator || in UpdateOutLiveness() 212 bytecode == Bytecode::kResumeGenerator) { in UpdateOutLiveness() 263 void UpdateLiveness(Bytecode bytecode, BytecodeLiveness& liveness, in UpdateLiveness() 275 void UpdateAssignments(Bytecode bytecode, BytecodeLoopAssignments& assignments, in UpdateAssignments() 321 Bytecode bytecode = iterator.current_bytecode(); in Analyze() [all …]
|
/external/v8/src/snapshot/ |
D | builtin-snapshot-utils.h | 18 using Bytecode = interpreter::Bytecode; 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 | 22 using Bytecode = interpreter::Bytecode; variable 43 Code* DeserializeHandler(Bytecode bytecode, OperandScale operand_scale); 52 Code* DeserializeHandlerRaw(Bytecode bytecode, OperandScale operand_scale);
|
D | builtin-snapshot-utils.cc | 23 int BuiltinSnapshotUtils::BytecodeToIndex(Bytecode bytecode, in BytecodeToIndex() 36 std::pair<interpreter::Bytecode, interpreter::OperandScale> 41 Bytecode bytecode = Bytecodes::FromByte(x % Bytecodes::kBytecodeCount); in BytecodeFromIndex() 52 std::function<void(Bytecode, OperandScale)> f) { in ForEachBytecode() argument
|
D | builtin-deserializer-allocator.h | 26 using Bytecode = interpreter::Bytecode; variable 101 void ReserveForHandler(Bytecode bytecode, OperandScale operand_scale); 118 const Heap::Chunk& chunk, interpreter::Bytecode bytecode,
|
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() 138 Code* BuiltinDeserializer::DeserializeHandler(Bytecode bytecode, in DeserializeHandler() 175 Code* BuiltinDeserializer::DeserializeHandlerRaw(Bytecode bytecode, in DeserializeHandlerRaw()
|
D | builtin-serializer.cc | 14 using interpreter::Bytecode; 40 BSU::ForEachBytecode([=](Bytecode bytecode, OperandScale operand_scale) { in SerializeBuiltinsAndHandlers() 135 void BuiltinSerializer::SetHandlerOffset(Bytecode bytecode, in SetHandlerOffset()
|
D | builtin-deserializer-allocator.cc | 97 [=, &result](Bytecode bytecode, OperandScale operand_scale) { in CreateReservationsForEagerBuiltinsAndHandlers() 134 const Heap::Chunk& chunk, interpreter::Bytecode bytecode, in InitializeHandlerFromReservation() 190 [=, &reservation_index](Bytecode bytecode, OperandScale operand_scale) { in InitializeFromReservations() 240 Bytecode bytecode, OperandScale operand_scale) { in ReserveForHandler()
|
/external/v8/src/runtime/ |
D | runtime-interpreter.cc | 32 using interpreter::Bytecode; in RUNTIME_FUNCTION() 36 Bytecode bytecode = Bytecodes::FromByte(bytecode_int); in RUNTIME_FUNCTION() 73 interpreter::Bytecode bytecode = bytecode_iterator.current_bytecode(); in PrintRegisters()
|
/external/python/setuptools/setuptools/ |
D | depends.py | 7 from .py33compat import Bytecode 159 for byte_code in Bytecode(code):
|
/external/python/cpython3/Lib/test/ |
D | test_dis.py | 1060 b = dis.Bytecode(obj) 1063 self.assertRaises(TypeError, dis.Bytecode, object()) 1068 via_object = list(dis.Bytecode(obj)) 1073 actual = dis.Bytecode(outer, first_line=expected_outer_line) 1078 actual = dis.Bytecode(simple).dis() 1083 actual = dis.Bytecode(simple, first_line=350).dis() 1090 b = dis.Bytecode(x) 1094 actual = dis.Bytecode(_f).dis() 1099 b = dis.Bytecode.from_traceback(tb) 1106 b = dis.Bytecode.from_traceback(tb)
|