![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <variable-reducer.h>
Classes | |
struct | GetActiveLoopVariablesIndex |
struct | VariableTable |
Public Member Functions | |
void | Bind (Block *new_block) |
void | RestoreTemporaryVariableSnapshotAfter (const Block *block) |
void | CloseTemporaryVariableSnapshot () |
V< None > REDUCE | Goto (Block *destination, bool is_backedge) |
OpIndex | GetVariable (Variable var) |
OpIndex | GetPredecessorValue (Variable var, int predecessor_index) |
void | SetVariable (Variable var, OpIndex new_index) |
template<typename Rep > | |
void | Set (Variable var, V< Rep > value) |
Variable | NewLoopInvariantVariable (MaybeRegisterRepresentation rep) |
Variable | NewVariable (MaybeRegisterRepresentation rep) |
void | SealAndSaveVariableSnapshot () |
![]() | |
OpIndex REDUCE | Phi (base::Vector< const OpIndex > inputs, RegisterRepresentation rep) |
Private Types | |
using | Next = RequiredOptimizationReducer<AfterNext> |
using | Snapshot = SnapshotTable<OpIndex, VariableData>::Snapshot |
Private Member Functions | |
OpIndex | MergeOpIndices (base::Vector< const OpIndex > inputs, MaybeRegisterRepresentation maybe_rep) |
OpIndex | MergeFrameState (base::Vector< const OpIndex > frame_states_indices) |
Private Attributes | |
VariableTable | table_ {__ phase_zone()} |
const Block * | current_block_ = nullptr |
GrowingBlockSidetable< std::optional< Snapshot > > | block_to_snapshot_mapping_ |
bool | is_temporary_ = false |
ZoneVector< Snapshot > | predecessors_ {__ phase_zone()} |
ZoneAbslFlatHashMap< BlockIndex, std::optional< ZoneVector< std::pair< Variable, OpIndex > > > > | loop_pending_phis_ {__ phase_zone()} |
Definition at line 58 of file variable-reducer.h.
|
private |
Definition at line 59 of file variable-reducer.h.
|
private |
Definition at line 60 of file variable-reducer.h.
|
inline |
Definition at line 94 of file variable-reducer.h.
|
inline |
|
inline |
|
inline |
Definition at line 187 of file variable-reducer.h.
|
inlineprivate |
Definition at line 245 of file variable-reducer.h.
|
inlineprivate |
Definition at line 230 of file variable-reducer.h.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 218 of file variable-reducer.h.
|
inline |
|
inline |
Definition at line 193 of file variable-reducer.h.
|
private |
Definition at line 313 of file variable-reducer.h.
|
private |
Definition at line 312 of file variable-reducer.h.
|
private |
Definition at line 315 of file variable-reducer.h.
|
private |
Definition at line 325 of file variable-reducer.h.
|
private |
Definition at line 319 of file variable-reducer.h.
|
private |
Definition at line 311 of file variable-reducer.h.