| /third_party/node/deps/v8/src/interpreter/ |
| D | bytecodes.cc | 99 STATIC_ASSERT(Bytecode::k##Name >= Bytecode::kFirstShortStar && \ 100 Bytecode::k##Name <= Bytecode::kLastShortStar); 105 const char* Bytecodes::ToString(Bytecode bytecode) { in SHORT_STAR_BYTECODE_LIST() 108 case Bytecode::k##Name: \ in SHORT_STAR_BYTECODE_LIST() 117 std::string Bytecodes::ToString(Bytecode bytecode, OperandScale operand_scale, in ToString() 121 Bytecode prefix_bytecode = OperandScaleToPrefixBytecode(operand_scale); in ToString() 130 Bytecode Bytecodes::GetDebugBreak(Bytecode bytecode) { in GetDebugBreak() 132 if (bytecode == Bytecode::kWide) { in GetDebugBreak() 133 return Bytecode::kDebugBreakWide; in GetDebugBreak() 135 if (bytecode == Bytecode::kExtraWide) { in GetDebugBreak() [all …]
|
| D | bytecodes.h | 545 enum class Bytecode : uint8_t { enum 564 static const int kBytecodeCount = static_cast<int>(Bytecode::kLast) + 1; 567 static_cast<int>(Bytecode::kLastShortStar) - 568 static_cast<int>(Bytecode::kFirstShortStar) + 1; 571 static const char* ToString(Bytecode bytecode); 575 static std::string ToString(Bytecode bytecode, OperandScale operand_scale, 579 static uint8_t ToByte(Bytecode bytecode) { in ToByte() 580 DCHECK_LE(bytecode, Bytecode::kLast); in ToByte() 585 static Bytecode FromByte(uint8_t value) { in FromByte() 586 Bytecode bytecode = static_cast<Bytecode>(value); in FromByte() [all …]
|
| D | bytecode-array-writer.cc | 32 last_bytecode_(Bytecode::kIllegal), in BytecodeArrayWriter() 133 DCHECK_EQ(node->bytecode(), Bytecode::kJumpLoop); in WriteJumpLoop() 234 void BytecodeArrayWriter::UpdateExitSeenInBlock(Bytecode bytecode) { in UpdateExitSeenInBlock() 236 case Bytecode::kReturn: in UpdateExitSeenInBlock() 237 case Bytecode::kThrow: in UpdateExitSeenInBlock() 238 case Bytecode::kReThrow: in UpdateExitSeenInBlock() 239 case Bytecode::kAbort: in UpdateExitSeenInBlock() 240 case Bytecode::kJump: in UpdateExitSeenInBlock() 241 case Bytecode::kJumpLoop: in UpdateExitSeenInBlock() 242 case Bytecode::kJumpConstant: in UpdateExitSeenInBlock() [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, ImplicitRegisterUse implicit_register_use, 134 V8_INLINE BytecodeNode(Bytecode bytecode, int operand_count, [all …]
|
| D | interpreter.h | 65 V8_EXPORT_PRIVATE CodeT GetBytecodeHandler(Bytecode bytecode, 69 void SetBytecodeHandler(Bytecode bytecode, OperandScale operand_scale, 77 void ForEachBytecode(const std::function<void(Bytecode, OperandScale)>& f); 102 V8_EXPORT_PRIVATE uintptr_t GetDispatchCounter(Bytecode from, 103 Bytecode to) const; 106 static size_t GetDispatchTableIndex(Bytecode bytecode, 111 static const int kNumberOfBytecodes = static_cast<int>(Bytecode::kLast) + 1;
|
| D | bytecode-register.h | 68 static constexpr Register FromShortStar(Bytecode bytecode) { in FromShortStar() 70 return Register(static_cast<int>(Bytecode::kStar0) - in FromShortStar() 74 const base::Optional<Bytecode> TryToShortStar() const { in TryToShortStar() 76 Bytecode bytecode = in TryToShortStar() 77 static_cast<Bytecode>(static_cast<int>(Bytecode::kStar0) - index()); in TryToShortStar() 78 DCHECK_GE(bytecode, Bytecode::kFirstShortStar); in TryToShortStar() 79 DCHECK_LE(bytecode, Bytecode::kLastShortStar); in TryToShortStar()
|
| D | interpreter.cc | 80 static const int kBytecodeCount = static_cast<int>(Bytecode::kLast) + 1; in InitDispatchCounters() 89 Builtin BuiltinIndexFromBytecode(Bytecode bytecode, in BuiltinIndexFromBytecode() 94 index = static_cast<int>(Bytecode::kFirstShortStar); in BuiltinIndexFromBytecode() 95 } else if (bytecode > Bytecode::kLastShortStar) { in BuiltinIndexFromBytecode() 118 CodeT Interpreter::GetBytecodeHandler(Bytecode bytecode, in GetBytecodeHandler() 124 void Interpreter::SetBytecodeHandler(Bytecode bytecode, in SetBytecodeHandler() 134 size_t Interpreter::GetDispatchTableIndex(Bytecode bytecode, in GetDispatchTableIndex() 329 const std::function<void(Bytecode, OperandScale)>& f) { in ForEachBytecode() argument 355 ForEachBytecode([=](Bytecode bytecode, OperandScale operand_scale) { in Initialize() 386 uintptr_t Interpreter::GetDispatchCounter(Bytecode from, Bytecode to) const { in GetDispatchCounter() [all …]
|
| D | bytecode-array-writer.h | 80 2 * sizeof(Bytecode) + 103 void UpdateExitSeenInBlock(Bytecode bytecode); 105 void MaybeElideLastBytecode(Bytecode next_bytecode, bool has_source_info); 123 Bytecode last_bytecode_;
|
| D | bytecode-register-optimizer.h | 68 template <Bytecode bytecode, ImplicitRegisterUse implicit_register_use> in NON_EXPORTED_BASE() 71 bytecode == Bytecode::kDebugger || in NON_EXPORTED_BASE() 72 bytecode == Bytecode::kSuspendGenerator || in NON_EXPORTED_BASE() 73 bytecode == Bytecode::kResumeGenerator) { in NON_EXPORTED_BASE()
|
| D | bytecode-array-iterator.cc | 49 interpreter::Bytecode bytecode = interpreter::Bytecodes::FromByte(*cursor); in ApplyDebugBreak() 51 interpreter::Bytecode debugbreak = in ApplyDebugBreak() 228 Bytecode bytecode = current_bytecode(); in GetRelativeJumpTargetOffset() 231 if (bytecode == Bytecode::kJumpLoop) { in GetRelativeJumpTargetOffset() 251 if (current_bytecode() == Bytecode::kSwitchOnGeneratorState) { in GetJumpTableTargetOffsets() 256 DCHECK_EQ(current_bytecode(), Bytecode::kSwitchOnSmiNoFeedback); in GetJumpTableTargetOffsets()
|
| D | bytecode-array-iterator.h | 88 inline Bytecode current_bytecode() const { in current_bytecode() 91 Bytecode current_bytecode = Bytecodes::FromByte(current_byte); in current_bytecode() 166 Bytecode current_bytecode = Bytecodes::FromByte(current_byte); in UpdateOperandScale()
|
| D | interpreter-assembler.cc | 26 Bytecode bytecode, in InterpreterAssembler() 304 Bytecode::kFirstShortStar)))); in StoreRegisterForShortStar() 308 opcode, UintPtrConstant(static_cast<int>(Bytecode::kLastShortStar)))); in StoreRegisterForShortStar() 314 Register(0).ToOperand() - static_cast<int>(Bytecode::kStar0); in StoreRegisterForShortStar() 317 Register(1).ToOperand() - static_cast<int>(Bytecode::kStar1)); in StoreRegisterForShortStar() 712 bytecode_ == Bytecode::kInvokeIntrinsic); in CallJSAndDispatch() 741 bytecode_ == Bytecode::kInvokeIntrinsic); in CallJSAndDispatch() 1031 CallRuntime(bytecode() == Bytecode::kJumpLoop in UpdateInterruptBudget() 1176 STATIC_ASSERT(static_cast<int>(Bytecode::kLastShortStar) + 1 == in StarDispatchLookahead() 1177 static_cast<int>(Bytecode::kIllegal)); in StarDispatchLookahead() [all …]
|
| D | interpreter-generator.h | 21 Bytecode bytecode,
|
| D | interpreter-assembler.h | 22 InterpreterAssembler(compiler::CodeAssemblerState* state, Bytecode bytecode, 279 Bytecode bytecode() const { return bytecode_; } in bytecode() 420 Bytecode bytecode_;
|
| D | bytecode-array-builder.cc | 133 Bytecode bytecode) { in CurrentSourcePosition() 199 base::Optional<Bytecode> short_code = reg.TryToShortStar(); in OutputStarRaw() 332 template <Bytecode bytecode, ImplicitRegisterUse implicit_register_use, 360 return BytecodeNodeBuilder<Bytecode::k##name, __VA_ARGS__>::Make( \ 373 DCHECK(Bytecodes::IsForwardJump(Bytecode::k##name)); \ 685 SetDeferredSourceInfo(CurrentSourcePosition(Bytecode::kLdar)); in LoadAccumulatorWithRegister() 698 SetDeferredSourceInfo(CurrentSourcePosition(Bytecode::kStar)); in StoreAccumulatorInRegister() 712 SetDeferredSourceInfo(CurrentSourcePosition(Bytecode::kMov)); in MoveRegister() 1602 template <Bytecode bytecode, ImplicitRegisterUse implicit_register_use>
|
| /third_party/node/deps/v8/src/debug/ |
| D | debug-evaluate.cc | 424 bool BytecodeHasNoSideEffect(interpreter::Bytecode bytecode) { in BytecodeHasNoSideEffect() 425 using interpreter::Bytecode; in BytecodeHasNoSideEffect() 434 case Bytecode::kLdaLookupSlot: in BytecodeHasNoSideEffect() 435 case Bytecode::kLdaGlobal: in BytecodeHasNoSideEffect() 436 case Bytecode::kGetNamedProperty: in BytecodeHasNoSideEffect() 437 case Bytecode::kGetKeyedProperty: in BytecodeHasNoSideEffect() 438 case Bytecode::kLdaGlobalInsideTypeof: in BytecodeHasNoSideEffect() 439 case Bytecode::kLdaLookupSlotInsideTypeof: in BytecodeHasNoSideEffect() 440 case Bytecode::kGetIterator: in BytecodeHasNoSideEffect() 442 case Bytecode::kAdd: in BytecodeHasNoSideEffect() [all …]
|
| /third_party/node/deps/v8/src/compiler/ |
| D | bytecode-analysis.cc | 19 using interpreter::Bytecode; 105 template <Bytecode bytecode, OperandType operand_type, size_t i> 154 template <Bytecode bytecode, OperandType operand_type, size_t i> 192 template <Bytecode bytecode, ImplicitRegisterUse implicit_register_use, 198 if (bytecode == Bytecode::kSuspendGenerator) { in UpdateInLiveness() 206 if (bytecode == Bytecode::kResumeGenerator) { in UpdateInLiveness() 231 template <Bytecode bytecode, ImplicitRegisterUse implicit_register_use, 240 void UpdateInLiveness(Bytecode bytecode, BytecodeLivenessState* in_liveness, in UpdateInLiveness() 244 case Bytecode::k##Name: \ in UpdateInLiveness() 245 return UpdateInLiveness<Bytecode::k##Name, __VA_ARGS__>(in_liveness, \ in UpdateInLiveness() [all …]
|
| /third_party/rust/crates/rustix/ |
| D | SECURITY.md | 3 Building secure foundations for software development is at the core of what we do in the Bytecode A… 7 …ity issue in any website, service, or software owned or operated by the Bytecode Alliance, we enco… 11 To submit a vulnerability report to the Bytecode Alliance, please contact us at [security@bytecodea… 15 The Bytecode Alliance supports safe harbor for security researchers who:
|
| D | CONTRIBUTING.md | 3 Rustix is a [Bytecode Alliance] project. It follows the Bytecode Alliance's
|
| /third_party/node/deps/v8/src/builtins/ |
| D | generate-bytecodes-builtins-list.cc | 17 void WriteBytecode(std::ofstream& out, Bytecode bytecode, in WriteBytecode() 26 if (bytecode == Bytecode::kStar0) { in WriteBytecode() 61 WriteBytecode(out, Bytecode::k##Name, operand_scale, &count, offset_table, \ in WriteHeader()
|
| D | builtins.cc | 41 interpreter::Bytecode bytecode : 8; 45 STATIC_ASSERT(sizeof(interpreter::Bytecode) == 1); 61 constexpr KindSpecificData(interpreter::Bytecode bytecode, in KindSpecificData() 76 #define DECL_BCH(Name, OperandScale, Bytecode) \ argument 77 {#Name, Builtins::BCH, {Bytecode, OperandScale}}, 354 interpreter::Bytecode bytecode = in EmitCodeCreateEvents()
|
| /third_party/node/deps/v8/src/snapshot/ |
| D | serializer-deserializer.h | 84 enum Bytecode : byte { enum 186 template <Bytecode kBytecode, int kMinValue, int kMaxValue, 207 template <Bytecode bytecode>
|
| /third_party/node/deps/v8/src/baseline/ |
| D | baseline-compiler.cc | 438 case interpreter::Bytecode::kJumpLoop: in PreVisitSingleBytecode() 444 case interpreter::Bytecode::kCallProperty: in PreVisitSingleBytecode() 445 case interpreter::Bytecode::kCallAnyReceiver: in PreVisitSingleBytecode() 446 case interpreter::Bytecode::kCallWithSpread: in PreVisitSingleBytecode() 447 case interpreter::Bytecode::kConstruct: in PreVisitSingleBytecode() 448 case interpreter::Bytecode::kConstructWithSpread: in PreVisitSingleBytecode() 451 case interpreter::Bytecode::kCallUndefinedReceiver: in PreVisitSingleBytecode() 454 case interpreter::Bytecode::kCallProperty0: in PreVisitSingleBytecode() 455 case interpreter::Bytecode::kCallUndefinedReceiver0: in PreVisitSingleBytecode() 457 case interpreter::Bytecode::kCallProperty1: in PreVisitSingleBytecode() [all …]
|
| /third_party/python/Lib/test/ |
| D | test_dis.py | 1200 b = dis.Bytecode(obj) 1203 self.assertRaises(TypeError, dis.Bytecode, object()) 1208 via_object = list(dis.Bytecode(obj)) 1213 actual = dis.Bytecode(outer, first_line=expected_outer_line) 1218 actual = dis.Bytecode(simple).dis() 1223 actual = dis.Bytecode(simple, first_line=350).dis() 1230 b = dis.Bytecode(x) 1234 actual = dis.Bytecode(_f).dis() 1239 b = dis.Bytecode.from_traceback(tb) 1246 b = dis.Bytecode.from_traceback(tb)
|
| /third_party/node/deps/v8/src/maglev/ |
| D | maglev-graph-builder.h | 134 interpreter::Bytecode bytecode = iterator_.current_bytecode(); in EmitUnconditionalDeopt() 142 } else if (bytecode == interpreter::Bytecode::kJumpLoop) { in EmitUnconditionalDeopt() 183 case interpreter::Bytecode::k##name: \ in VisitSingleBytecode() 478 interpreter::Bytecode bytecode = iterator.current_bytecode(); in CalculatePredecessorCounts()
|