![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <snapshot-table-opindex.h>
Public Types | |
| using | Base = SnapshotTable<Value, KeyData> |
| using | Key = typename SnapshotTable<Value, KeyData>::Key |
Public Types inherited from v8::internal::compiler::turboshaft::SnapshotTable< Value, NoKeyData > | |
| using | TableEntry |
| using | Key |
Public Member Functions | |
| SparseOpIndexSnapshotTable (Zone *zone) | |
| Value | Get (OpIndex idx) const |
| Value | GetPredecessorValue (OpIndex idx, int predecessor_index) |
| bool | Set (OpIndex idx, Value new_value) |
| void | NewKey (OpIndex idx, KeyData data, Value initial_value=Value{}) |
| void | NewKey (OpIndex idx, Value initial_value=Value{}) |
| bool | HasKeyFor (OpIndex idx) const |
| std::optional< Key > | TryGetKeyFor (OpIndex idx) const |
| const Value & | Get (Key key) const |
| bool | Set (Key key, Value new_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 Value & | Get (Key key) const |
| const Value & | GetPredecessorValue (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 () |
Private Member Functions | |
| Key | GetOrCreateKey (OpIndex idx) |
Private Attributes | |
| ZoneAbslFlatHashMap< OpIndex, Key > | indices_to_keys_ |
Definition at line 18 of file snapshot-table-opindex.h.
| using v8::internal::compiler::turboshaft::SparseOpIndexSnapshotTable< Value, KeyData >::Base = SnapshotTable<Value, KeyData> |
Definition at line 20 of file snapshot-table-opindex.h.
| using v8::internal::compiler::turboshaft::SparseOpIndexSnapshotTable< Value, KeyData >::Key = typename SnapshotTable<Value, KeyData>::Key |
Definition at line 21 of file snapshot-table-opindex.h.
|
inlineexplicit |
Definition at line 23 of file snapshot-table-opindex.h.
|
inline |
Definition at line 222 of file snapshot-table.h.
|
inline |
Definition at line 27 of file snapshot-table-opindex.h.
|
inlineprivate |
Definition at line 64 of file snapshot-table-opindex.h.
|
inline |
Definition at line 33 of file snapshot-table-opindex.h.
|
inline |
|
inline |
Definition at line 45 of file snapshot-table-opindex.h.
|
inline |
Definition at line 49 of file snapshot-table-opindex.h.
|
inline |
Definition at line 239 of file snapshot-table.h.
|
inline |
Definition at line 40 of file snapshot-table-opindex.h.
|
inline |
|
private |
Definition at line 71 of file snapshot-table-opindex.h.