v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::FeedbackCollectorReducer< Next > Class Template Reference

#include <turboshaft-builtins-assembler-inl.h>

Inheritance diagram for v8::internal::FeedbackCollectorReducer< Next >:
Collaboration diagram for v8::internal::FeedbackCollectorReducer< Next >:

Public Types

using FeedbackVectorOrUndefined = Union<FeedbackVector, Undefined>
 

Public Member Functions

void CombineFeedback (int additional_feedback)
 
void OverwriteFeedback (int new_feedback)
 
void CombineFeedbackOnException (int additional_feedback)
 
void CombineExceptionFeedback ()
 
V< Word32FeedbackIs (int checked_feedback)
 
V< FeedbackVectorOrUndefinedLoadFeedbackVector ()
 
V< WordPtrLoadFeedbackVectorLength (V< FeedbackVector > feedback_vector)
 
V< MaybeObjectLoadFeedbackVectorSlot (V< FeedbackVector > feedback_vector, V< WordPtr > slot, int additional_offset=0)
 
void StoreFeedbackVectorSlot (V< FeedbackVector > feedback_vector, V< WordPtr > slot, V< Object > value, WriteBarrierMode barrier_mode=UPDATE_WRITE_BARRIER, int additional_offset=0)
 
void SetFeedbackSlot (V< WordPtr > slot_id)
 
void SetFeedbackVector (V< FeedbackVector > feedback_vector)
 
void LoadFeedbackVectorOrUndefinedIfJitless ()
 
void UpdateFeedback ()
 
V< SmiSmiBitwiseOr (V< Smi > a, V< Smi > b)
 
V< Word32SmiEqual (V< Smi > a, V< Smi > b)
 
V< WordPtrChangePositiveInt32ToIntPtr (V< Word32 > input)
 
V< Word32IsFeedbackVector (V< HeapObject > heap_object)
 
V< Word32IsOffsetInBounds (V< WordPtr > offset, V< WordPtr > length, int header_size, ElementsKind kind=HOLEY_ELEMENTS)
 

Static Public Member Functions

static constexpr bool HasFeedbackCollector ()
 
static constexpr UpdateFeedbackMode DefaultUpdateFeedbackMode ()
 

Private Attributes

V< FeedbackVectorOrUndefinedmaybe_feedback_vector_
 
V< WordPtrslot_id_
 
compiler::turboshaft::Var< Smi, assembler_t > feedback_ {this}
 
compiler::turboshaft::Var< Smi, assembler_t > feedback_on_exception_ {this}
 
UpdateFeedbackMode mode_ = DefaultUpdateFeedbackMode()
 

Detailed Description

template<typename Next>
class v8::internal::FeedbackCollectorReducer< Next >

Definition at line 176 of file turboshaft-builtins-assembler-inl.h.

Member Typedef Documentation

◆ FeedbackVectorOrUndefined

template<typename Next >
using v8::internal::FeedbackCollectorReducer< Next >::FeedbackVectorOrUndefined = Union<FeedbackVector, Undefined>

Definition at line 180 of file turboshaft-builtins-assembler-inl.h.

Member Function Documentation

◆ ChangePositiveInt32ToIntPtr()

template<typename Next >
V< WordPtr > v8::internal::FeedbackCollectorReducer< Next >::ChangePositiveInt32ToIntPtr ( V< Word32 > input)
inline

Definition at line 337 of file turboshaft-builtins-assembler-inl.h.

Here is the caller graph for this function:

◆ CombineExceptionFeedback()

template<typename Next >
void v8::internal::FeedbackCollectorReducer< Next >::CombineExceptionFeedback ( )
inline

Definition at line 198 of file turboshaft-builtins-assembler-inl.h.

Here is the call graph for this function:

◆ CombineFeedback()

template<typename Next >
void v8::internal::FeedbackCollectorReducer< Next >::CombineFeedback ( int additional_feedback)
inline

Definition at line 183 of file turboshaft-builtins-assembler-inl.h.

Here is the call graph for this function:

◆ CombineFeedbackOnException()

template<typename Next >
void v8::internal::FeedbackCollectorReducer< Next >::CombineFeedbackOnException ( int additional_feedback)
inline

Definition at line 194 of file turboshaft-builtins-assembler-inl.h.

Here is the call graph for this function:

◆ DefaultUpdateFeedbackMode()

template<typename Next >
static constexpr UpdateFeedbackMode v8::internal::FeedbackCollectorReducer< Next >::DefaultUpdateFeedbackMode ( )
inlinestaticconstexpr

Definition at line 283 of file turboshaft-builtins-assembler-inl.h.

◆ FeedbackIs()

template<typename Next >
V< Word32 > v8::internal::FeedbackCollectorReducer< Next >::FeedbackIs ( int checked_feedback)
inline

Definition at line 202 of file turboshaft-builtins-assembler-inl.h.

Here is the call graph for this function:

◆ HasFeedbackCollector()

template<typename Next >
static constexpr bool v8::internal::FeedbackCollectorReducer< Next >::HasFeedbackCollector ( )
inlinestaticconstexpr

Definition at line 181 of file turboshaft-builtins-assembler-inl.h.

◆ IsFeedbackVector()

template<typename Next >
V< Word32 > v8::internal::FeedbackCollectorReducer< Next >::IsFeedbackVector ( V< HeapObject > heap_object)
inline

Definition at line 342 of file turboshaft-builtins-assembler-inl.h.

Here is the caller graph for this function:

◆ IsOffsetInBounds()

template<typename Next >
V< Word32 > v8::internal::FeedbackCollectorReducer< Next >::IsOffsetInBounds ( V< WordPtr > offset,
V< WordPtr > length,
int header_size,
ElementsKind kind = HOLEY_ELEMENTS )
inline

Definition at line 347 of file turboshaft-builtins-assembler-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadFeedbackVector()

template<typename Next >
V< FeedbackVectorOrUndefined > v8::internal::FeedbackCollectorReducer< Next >::LoadFeedbackVector ( )
inline

Definition at line 207 of file turboshaft-builtins-assembler-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadFeedbackVectorLength()

template<typename Next >
V< WordPtr > v8::internal::FeedbackCollectorReducer< Next >::LoadFeedbackVectorLength ( V< FeedbackVector > feedback_vector)
inline

Definition at line 212 of file turboshaft-builtins-assembler-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoadFeedbackVectorOrUndefinedIfJitless()

template<typename Next >
void v8::internal::FeedbackCollectorReducer< Next >::LoadFeedbackVectorOrUndefinedIfJitless ( )
inline

Definition at line 273 of file turboshaft-builtins-assembler-inl.h.

Here is the call graph for this function:

◆ LoadFeedbackVectorSlot()

template<typename Next >
V< MaybeObject > v8::internal::FeedbackCollectorReducer< Next >::LoadFeedbackVectorSlot ( V< FeedbackVector > feedback_vector,
V< WordPtr > slot,
int additional_offset = 0 )
inline

Definition at line 218 of file turboshaft-builtins-assembler-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OverwriteFeedback()

template<typename Next >
void v8::internal::FeedbackCollectorReducer< Next >::OverwriteFeedback ( int new_feedback)
inline

Definition at line 189 of file turboshaft-builtins-assembler-inl.h.

Here is the call graph for this function:

◆ SetFeedbackSlot()

template<typename Next >
void v8::internal::FeedbackCollectorReducer< Next >::SetFeedbackSlot ( V< WordPtr > slot_id)
inline

Definition at line 265 of file turboshaft-builtins-assembler-inl.h.

◆ SetFeedbackVector()

template<typename Next >
void v8::internal::FeedbackCollectorReducer< Next >::SetFeedbackVector ( V< FeedbackVector > feedback_vector)
inline

Definition at line 266 of file turboshaft-builtins-assembler-inl.h.

Here is the call graph for this function:

◆ SmiBitwiseOr()

template<typename Next >
V< Smi > v8::internal::FeedbackCollectorReducer< Next >::SmiBitwiseOr ( V< Smi > a,
V< Smi > b )
inline

Definition at line 328 of file turboshaft-builtins-assembler-inl.h.

Here is the caller graph for this function:

◆ SmiEqual()

template<typename Next >
V< Word32 > v8::internal::FeedbackCollectorReducer< Next >::SmiEqual ( V< Smi > a,
V< Smi > b )
inline

Definition at line 333 of file turboshaft-builtins-assembler-inl.h.

Here is the caller graph for this function:

◆ StoreFeedbackVectorSlot()

template<typename Next >
void v8::internal::FeedbackCollectorReducer< Next >::StoreFeedbackVectorSlot ( V< FeedbackVector > feedback_vector,
V< WordPtr > slot,
V< Object > value,
WriteBarrierMode barrier_mode = UPDATE_WRITE_BARRIER,
int additional_offset = 0 )
inline

Definition at line 235 of file turboshaft-builtins-assembler-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ UpdateFeedback()

template<typename Next >
void v8::internal::FeedbackCollectorReducer< Next >::UpdateFeedback ( )
inline

Definition at line 291 of file turboshaft-builtins-assembler-inl.h.

Here is the call graph for this function:

Member Data Documentation

◆ feedback_

template<typename Next >
compiler::turboshaft::Var<Smi, assembler_t> v8::internal::FeedbackCollectorReducer< Next >::feedback_ {this}
private

Definition at line 361 of file turboshaft-builtins-assembler-inl.h.

◆ feedback_on_exception_

template<typename Next >
compiler::turboshaft::Var<Smi, assembler_t> v8::internal::FeedbackCollectorReducer< Next >::feedback_on_exception_ {this}
private

Definition at line 362 of file turboshaft-builtins-assembler-inl.h.

◆ maybe_feedback_vector_

template<typename Next >
V<FeedbackVectorOrUndefined> v8::internal::FeedbackCollectorReducer< Next >::maybe_feedback_vector_
private

Definition at line 359 of file turboshaft-builtins-assembler-inl.h.

◆ mode_

template<typename Next >
UpdateFeedbackMode v8::internal::FeedbackCollectorReducer< Next >::mode_ = DefaultUpdateFeedbackMode()
private

Definition at line 363 of file turboshaft-builtins-assembler-inl.h.

◆ slot_id_

template<typename Next >
V<WordPtr> v8::internal::FeedbackCollectorReducer< Next >::slot_id_
private

Definition at line 360 of file turboshaft-builtins-assembler-inl.h.


The documentation for this class was generated from the following file: