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

#include <snapshot-table.h>

Inheritance diagram for v8::internal::compiler::turboshaft::ChangeTrackingSnapshotTable< Derived, Value, KeyData >:
Collaboration diagram for v8::internal::compiler::turboshaft::ChangeTrackingSnapshotTable< Derived, Value, KeyData >:

Public Types

using Super = SnapshotTable<Value, KeyData>
 
using Key
 
- Public Types inherited from v8::internal::compiler::turboshaft::SnapshotTable< Value, NoKeyData >
using TableEntry
 
using Key
 

Public Member Functions

void StartNewSnapshot (base::Vector< const Snapshot > predecessors)
 
void StartNewSnapshot (std::initializer_list< Snapshot > predecessors={})
 
void StartNewSnapshot (Snapshot parent)
 
template<class MergeFun >
requires (std::is_invocable_v<MergeFun, Key, base::Vector<const Value>>)
void StartNewSnapshot (base::Vector< const Snapshot > predecessors, const MergeFun &merge_fun)
 
template<class MergeFun >
requires (std::is_invocable_v<MergeFun, Key, base::Vector<const Value>>)
void StartNewSnapshot (std::initializer_list< Snapshot > predecessors, const MergeFun &merge_fun)
 
void Set (Key key, Value new_value)
 
void SetNoNotify (Key key, Value new_value)
 
Key NewKey (KeyData data, Value initial_value=Value{})
 
Key NewKey (Value initial_value=Value{})
 
- Public Member Functions inherited from v8::internal::compiler::turboshaft::SnapshotTable< Value, NoKeyData >
void StartNewSnapshot (base::Vector< const Snapshot > predecessors, const ChangeCallback &change_callback={})
 
void StartNewSnapshot (std::initializer_list< Snapshot > predecessors={}, const ChangeCallback &change_callback={})
 
void StartNewSnapshot (Snapshot parent, const ChangeCallback &change_callback={})
 
void StartNewSnapshot (base::Vector< const Snapshot > predecessors, const MergeFun &merge_fun, const ChangeCallback &change_callback={})
 
void StartNewSnapshot (std::initializer_list< Snapshot > predecessors, const MergeFun &merge_fun, const ChangeCallback &change_callback={})
 
Snapshot Seal ()
 
const ValueGet (Key key) const
 
const ValueGetPredecessorValue (Key key, int predecessor_index)
 
bool Set (Key key, Value new_value)
 
 SnapshotTable (Zone *zone)
 
Key NewKey (NoKeyData data, Value initial_value=Value{})
 
Key NewKey (Value initial_value=Value{})
 
bool IsSealed ()
 

Detailed Description

template<class Derived, class Value, class KeyData = NoKeyData>
class v8::internal::compiler::turboshaft::ChangeTrackingSnapshotTable< Derived, Value, KeyData >

Definition at line 519 of file snapshot-table.h.

Member Typedef Documentation

◆ Key

template<class Derived , class Value , class KeyData = NoKeyData>
using v8::internal::compiler::turboshaft::SnapshotTable< Value, KeyData >::Key

Definition at line 99 of file snapshot-table.h.

◆ Super

template<class Derived , class Value , class KeyData = NoKeyData>
using v8::internal::compiler::turboshaft::ChangeTrackingSnapshotTable< Derived, Value, KeyData >::Super = SnapshotTable<Value, KeyData>

Definition at line 521 of file snapshot-table.h.

Member Function Documentation

◆ NewKey() [1/2]

template<class Derived , class Value , class KeyData = NoKeyData>
Key v8::internal::compiler::turboshaft::ChangeTrackingSnapshotTable< Derived, Value, KeyData >::NewKey ( KeyData data,
Value initial_value = Value{} )
inline

Definition at line 568 of file snapshot-table.h.

Here is the caller graph for this function:

◆ NewKey() [2/2]

template<class Derived , class Value , class KeyData = NoKeyData>
Key v8::internal::compiler::turboshaft::ChangeTrackingSnapshotTable< Derived, Value, KeyData >::NewKey ( Value initial_value = Value{})
inline

Definition at line 573 of file snapshot-table.h.

◆ Set()

template<class Derived , class Value , class KeyData = NoKeyData>
void v8::internal::compiler::turboshaft::ChangeTrackingSnapshotTable< Derived, Value, KeyData >::Set ( Key key,
Value new_value )
inline

Definition at line 556 of file snapshot-table.h.

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

◆ SetNoNotify()

template<class Derived , class Value , class KeyData = NoKeyData>
void v8::internal::compiler::turboshaft::ChangeTrackingSnapshotTable< Derived, Value, KeyData >::SetNoNotify ( Key key,
Value new_value )
inline

Definition at line 564 of file snapshot-table.h.

Here is the call graph for this function:

◆ StartNewSnapshot() [1/5]

template<class Derived , class Value , class KeyData = NoKeyData>
void v8::internal::compiler::turboshaft::ChangeTrackingSnapshotTable< Derived, Value, KeyData >::StartNewSnapshot ( base::Vector< const Snapshot > predecessors)
inline

Definition at line 526 of file snapshot-table.h.

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

◆ StartNewSnapshot() [2/5]

template<class Derived , class Value , class KeyData = NoKeyData>
template<class MergeFun >
requires (std::is_invocable_v<MergeFun, Key, base::Vector<const Value>>)
void v8::internal::compiler::turboshaft::ChangeTrackingSnapshotTable< Derived, Value, KeyData >::StartNewSnapshot ( base::Vector< const Snapshot > predecessors,
const MergeFun & merge_fun )
inline

Definition at line 538 of file snapshot-table.h.

Here is the call graph for this function:

◆ StartNewSnapshot() [3/5]

template<class Derived , class Value , class KeyData = NoKeyData>
void v8::internal::compiler::turboshaft::ChangeTrackingSnapshotTable< Derived, Value, KeyData >::StartNewSnapshot ( Snapshot parent)
inline

Definition at line 536 of file snapshot-table.h.

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

◆ StartNewSnapshot() [4/5]

template<class Derived , class Value , class KeyData = NoKeyData>
template<class MergeFun >
requires (std::is_invocable_v<MergeFun, Key, base::Vector<const Value>>)
void v8::internal::compiler::turboshaft::ChangeTrackingSnapshotTable< Derived, Value, KeyData >::StartNewSnapshot ( std::initializer_list< Snapshot > predecessors,
const MergeFun & merge_fun )
inline

Definition at line 549 of file snapshot-table.h.

Here is the call graph for this function:

◆ StartNewSnapshot() [5/5]

template<class Derived , class Value , class KeyData = NoKeyData>
void v8::internal::compiler::turboshaft::ChangeTrackingSnapshotTable< Derived, Value, KeyData >::StartNewSnapshot ( std::initializer_list< Snapshot > predecessors = {})
inline

Definition at line 533 of file snapshot-table.h.


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