/third_party/node/deps/v8/src/objects/ |
D | osr-optimized-code-cache.h | 52 BytecodeOffset osr_offset); 57 CodeT TryGet(SharedFunctionInfo shared, BytecodeOffset osr_offset, 60 std::vector<BytecodeOffset> OsrOffsetsFor(SharedFunctionInfo shared); 61 base::Optional<BytecodeOffset> FirstOsrOffsetFor(SharedFunctionInfo shared); 102 BytecodeOffset GetBytecodeOffsetFromEntry(int index); 104 inline int FindEntry(SharedFunctionInfo shared, BytecodeOffset osr_offset); 107 BytecodeOffset osr_offset);
|
D | osr-optimized-code-cache.cc | 26 BytecodeOffset osr_offset) { in Insert() 108 BytecodeOffset osr_offset, in TryGet() 141 std::vector<BytecodeOffset> OSROptimizedCodeCache::OsrOffsetsFor( in OsrOffsetsFor() 148 std::vector<BytecodeOffset> offsets; in OsrOffsetsFor() 158 base::Optional<BytecodeOffset> OSROptimizedCodeCache::FirstOsrOffsetFor( in FirstOsrOffsetFor() 208 BytecodeOffset OSROptimizedCodeCache::GetBytecodeOffsetFromEntry(int index) { in GetBytecodeOffsetFromEntry() 213 return BytecodeOffset(osr_offset_entry.value()); in GetBytecodeOffsetFromEntry() 217 BytecodeOffset osr_offset) { in FindEntry() 254 BytecodeOffset osr_offset) { in InitializeEntry()
|
D | code.h | 1010 static constexpr int OsrInstallTargetFor(BytecodeOffset offset) { in DEFINE_OPERATORS_FOR_FLAGS() 1020 inline void set_osr_install_target(BytecodeOffset jump_loop_offset); in DEFINE_OPERATORS_FOR_FLAGS() 1172 inline BytecodeOffset GetBytecodeOffset(int i); 1174 inline void SetBytecodeOffset(int i, BytecodeOffset value);
|
/third_party/node/deps/v8/src/deoptimizer/ |
D | translation-array.h | 66 void BeginInterpretedFrame(BytecodeOffset bytecode_offset, int literal_id, 70 void BeginConstructStubFrame(BytecodeOffset bailout_id, int literal_id, 72 void BeginBuiltinContinuationFrame(BytecodeOffset bailout_id, int literal_id, 76 BytecodeOffset bailout_id, int literal_id, unsigned height, 79 void BeginJavaScriptBuiltinContinuationFrame(BytecodeOffset bailout_id, 82 BytecodeOffset bailout_id, int literal_id, unsigned height);
|
D | translated-state.h | 194 BytecodeOffset bytecode_offset() const { return bytecode_offset_; } in bytecode_offset() 273 static TranslatedFrame UnoptimizedFrame(BytecodeOffset bytecode_offset, 281 static TranslatedFrame ConstructStubFrame(BytecodeOffset bailout_id, 285 BytecodeOffset bailout_id, SharedFunctionInfo shared_info, int height); 288 BytecodeOffset bailout_id, SharedFunctionInfo shared_info, int height, 292 BytecodeOffset bailout_id, SharedFunctionInfo shared_info, int height); 294 BytecodeOffset bailout_id, SharedFunctionInfo shared_info, int height); 306 bytecode_offset_(BytecodeOffset::None()), in kind_() 317 BytecodeOffset bytecode_offset_;
|
D | translation-array.cc | 110 BytecodeOffset bytecode_offset, int literal_id, unsigned height) { in BeginBuiltinContinuationFrame() 121 BytecodeOffset bytecode_offset, int literal_id, unsigned height, in BeginJSToWasmBuiltinContinuationFrame() 134 BytecodeOffset bytecode_offset, int literal_id, unsigned height) { in BeginJavaScriptBuiltinContinuationFrame() 144 BytecodeOffset bytecode_offset, int literal_id, unsigned height) { in BeginJavaScriptBuiltinContinuationWithCatchFrame() 155 BytecodeOffset bytecode_offset, int literal_id, unsigned height) { in BeginConstructStubFrame() 174 BytecodeOffset bytecode_offset, int literal_id, unsigned height, in BeginInterpretedFrame()
|
D | translated-state.cc | 624 BytecodeOffset bytecode_offset, SharedFunctionInfo shared_info, int height, in UnoptimizedFrame() 638 BytecodeOffset bytecode_offset, SharedFunctionInfo shared_info, in ConstructStubFrame() 646 BytecodeOffset bytecode_offset, SharedFunctionInfo shared_info, in BuiltinContinuationFrame() 655 BytecodeOffset bytecode_offset, SharedFunctionInfo shared_info, int height, in JSToWasmBuiltinContinuationFrame() 665 BytecodeOffset bytecode_offset, SharedFunctionInfo shared_info, in JavaScriptBuiltinContinuationFrame() 673 BytecodeOffset bytecode_offset, SharedFunctionInfo shared_info, in JavaScriptBuiltinContinuationWithCatchFrame() 733 BytecodeOffset bytecode_offset = BytecodeOffset(iterator->Next()); in CreateNextTranslatedFrame() 768 BytecodeOffset bytecode_offset = BytecodeOffset(iterator->Next()); in CreateNextTranslatedFrame() 783 BytecodeOffset bytecode_offset = BytecodeOffset(iterator->Next()); in CreateNextTranslatedFrame() 800 BytecodeOffset bailout_id = BytecodeOffset(iterator->Next()); in CreateNextTranslatedFrame() [all …]
|
D | deoptimizer.h | 50 BytecodeOffset bytecode_offset); 183 void TraceDeoptBegin(int optimization_id, BytecodeOffset bytecode_offset);
|
D | deoptimizer.cc | 662 BytecodeOffset bytecode_offset) { in TraceDeoptBegin() 815 BytecodeOffset bytecode_offset = in DoComputeOutputFrames() 1325 BytecodeOffset bytecode_offset = translated_frame->bytecode_offset(); in DoComputeConstructStubFrame() 1338 bytecode_offset == BytecodeOffset::ConstructStubCreate() ? "create" in DoComputeConstructStubFrame() 1416 CHECK(bytecode_offset == BytecodeOffset::ConstructStubCreate() || in DoComputeConstructStubFrame() 1417 bytecode_offset == BytecodeOffset::ConstructStubInvoke()); in DoComputeConstructStubFrame() 1419 bytecode_offset == BytecodeOffset::ConstructStubCreate() in DoComputeConstructStubFrame() 1441 bytecode_offset == BytecodeOffset::ConstructStubCreate() in DoComputeConstructStubFrame() 1644 const BytecodeOffset bytecode_offset = translated_frame->bytecode_offset(); in DoComputeBuiltinContinuation() 2036 BytecodeOffset bytecode_offset) { in ComputeSourcePositionFromBytecodeArray()
|
/third_party/node/deps/v8/src/utils/ |
D | utils.h | 491 class BytecodeOffset { 493 explicit constexpr BytecodeOffset(int id) : id_(id) {} in BytecodeOffset() function 496 static constexpr BytecodeOffset None() { return BytecodeOffset(kNoneId); } in None() 502 static BytecodeOffset ConstructStubCreate() { return BytecodeOffset(1); } in ConstructStubCreate() 503 static BytecodeOffset ConstructStubInvoke() { return BytecodeOffset(2); } in ConstructStubInvoke() 510 bool operator==(const BytecodeOffset& other) const { 513 bool operator!=(const BytecodeOffset& other) const { 516 friend size_t hash_value(BytecodeOffset); 518 BytecodeOffset);
|
D | utils.cc | 26 size_t hash_value(BytecodeOffset id) { in hash_value() 31 std::ostream& operator<<(std::ostream& os, BytecodeOffset id) { in operator <<()
|
/third_party/node/deps/v8/src/codegen/ |
D | optimized-compilation-info.h | 98 BytecodeOffset osr_offset, 105 BytecodeOffset::None(), nullptr) {} in OptimizedCompilationInfo() 126 BytecodeOffset osr_offset() const { return osr_offset_; } in osr_offset() 276 const BytecodeOffset osr_offset_ = BytecodeOffset::None();
|
D | compiler.cc | 77 constexpr bool IsOSR(BytecodeOffset osr_offset) { return !osr_offset.IsNone(); } in IsOSR() 79 void SetTieringState(JSFunction function, BytecodeOffset osr_offset, in SetTieringState() 88 void ResetTieringState(JSFunction function, BytecodeOffset osr_offset) { in ResetTieringState() 94 void ResetProfilerTicks(JSFunction function, BytecodeOffset osr_offset) { in ResetProfilerTicks() 124 BytecodeOffset osr_offset, in TraceOptimizeOSR() 135 BytecodeOffset osr_offset, in TraceOptimizeOSRUnavailable() 187 BytecodeOffset osr_offset, in TraceOptimizedCodeCacheHit() 898 Isolate* isolate, Handle<JSFunction> function, BytecodeOffset osr_offset, in Get() 942 const BytecodeOffset osr_offset = compilation_info->osr_offset(); in Insert() 1094 BytecodeOffset osr_offset, in CompileTurbofan() [all …]
|
/third_party/node/deps/v8/src/compiler/ |
D | bytecode-analysis.h | 102 BytecodeOffset osr_bailout_id, bool analyze_liveness); 136 BytecodeOffset osr_bailout_id() const { return osr_bailout_id_; } in osr_bailout_id() 179 BytecodeOffset const osr_bailout_id_;
|
D | frame-states.h | 134 FrameStateInfo(BytecodeOffset bailout_id, in FrameStateInfo() 145 BytecodeOffset bailout_id() const { return bailout_id_; } in bailout_id() 160 BytecodeOffset const bailout_id_;
|
D | js-inlining.h | 14 class BytecodeOffset; variable 70 BytecodeOffset bailout_id, FrameStateType frame_state_type,
|
D | pipeline.h | 54 BytecodeOffset osr_offset = BytecodeOffset::None(),
|
D | js-inlining.cc | 252 BytecodeOffset bailout_id, FrameStateType frame_state_type, in CreateArtificialFrameState() 585 BytecodeOffset::None(), jsgraph(), frequency, in ReduceJSCall() 639 BytecodeOffset::ConstructStubCreate(), FrameStateType::kConstructStub, in ReduceJSCall() 694 BytecodeOffset::ConstructStubInvoke(), FrameStateType::kConstructStub, in ReduceJSCall() 724 node, frame_state, call.argument_count(), BytecodeOffset::None(), in ReduceJSCall()
|
D | bytecode-graph-builder.h | 47 BytecodeOffset osr_offset, JSGraph* jsgraph,
|
/third_party/node/deps/v8/src/interpreter/ |
D | interpreter-assembler.cc | 83 TNode<IntPtrT> InterpreterAssembler::BytecodeOffset() { in BytecodeOffset() function in v8::internal::interpreter::InterpreterAssembler 104 TNode<IntPtrT> bytecode_offset = BytecodeOffset(); in SaveBytecodeOffset() 108 bytecode_offset = IntPtrSub(BytecodeOffset(), IntPtrConstant(1)); in SaveBytecodeOffset() 371 IntPtrAdd(BytecodeOffset(), operand_offset)); in BytecodeOperandUnsignedByte() 381 IntPtrAdd(BytecodeOffset(), operand_offset)); in BytecodeOperandSignedByte() 421 TNode<IntPtrT> array_offset = IntPtrAdd(BytecodeOffset(), offset); in BytecodeOperandReadUnaligned() 447 IntPtrAdd(BytecodeOffset(), IntPtrConstant(operand_offset))); in BytecodeOperandUnsignedShort() 465 IntPtrAdd(BytecodeOffset(), IntPtrConstant(operand_offset))); in BytecodeOperandSignedShort() 482 IntPtrAdd(BytecodeOffset(), IntPtrConstant(operand_offset))); in BytecodeOperandUnsignedQuad() 499 IntPtrAdd(BytecodeOffset(), IntPtrConstant(operand_offset))); in BytecodeOperandSignedQuad() [all …]
|
/third_party/node/deps/v8/src/compiler/backend/ |
D | code-generator-impl.h | 190 explicit DeoptimizationExit(SourcePosition pos, BytecodeOffset bailout_id, in DeoptimizationExit() 220 BytecodeOffset bailout_id() const { return bailout_id_; } in bailout_id() 244 const BytecodeOffset bailout_id_;
|
/third_party/node/deps/v8/src/runtime/ |
D | runtime-compiler.cc | 245 BytecodeOffset osr_offset = BytecodeOffset(frame->GetBytecodeOffset()); in RUNTIME_FUNCTION() 260 base::Optional<BytecodeOffset> cached_osr_offset = in RUNTIME_FUNCTION() 298 DCHECK_EQ(BytecodeOffset(data.OsrBytecodeOffset().value()), osr_offset); in RUNTIME_FUNCTION()
|
/third_party/node/deps/v8/src/builtins/ |
D | builtins.cc | 91 BytecodeOffset Builtins::GetContinuationBytecodeOffset(Builtin builtin) { in GetContinuationBytecodeOffset() 94 return BytecodeOffset(BytecodeOffset::kFirstBuiltinContinuationId + in GetContinuationBytecodeOffset() 98 Builtin Builtins::GetBuiltinFromBytecodeOffset(BytecodeOffset id) { in GetBuiltinFromBytecodeOffset() 100 id.ToInt() - BytecodeOffset::kFirstBuiltinContinuationId); in GetBuiltinFromBytecodeOffset()
|
D | builtins.h | 23 class BytecodeOffset; variable 119 static BytecodeOffset GetContinuationBytecodeOffset(Builtin builtin); 120 static Builtin GetBuiltinFromBytecodeOffset(BytecodeOffset);
|
/third_party/node/deps/v8/src/maglev/ |
D | maglev-compilation-unit.cc | 22 bytecode_analysis_(bytecode_.object(), zone(), BytecodeOffset::None(), in MaglevCompilationUnit()
|