![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <branch-elimination-reducer.h>
Public Member Functions | |
void | Bind (Block *new_block) |
V< None > REDUCE | Branch (V< Word32 > cond, Block *if_true, Block *if_false, BranchHint hint) |
V< Any > REDUCE | Select (V< Word32 > cond, V< Any > vtrue, V< Any > vfalse, RegisterRepresentation rep, BranchHint hint, SelectOp::Implementation implem) |
V< None > REDUCE | Goto (Block *destination, bool is_backedge) |
V< None > REDUCE | DeoptimizeIf (V< Word32 > condition, V< FrameState > frame_state, bool negated, const DeoptimizeParameters *parameters) |
Private Member Functions | |
void | ResetToBlock (Block *block) |
void | ClearCurrentEntries () |
void | StartLayer (Block *block) |
void | ReplayMissingPredecessors (Block *new_block) |
bool | CanBeConstantFolded (OpIndex idx, const Block *cond_input_block, bool has_phi=false, int depth=0) |
Private Attributes | |
ZoneVector< Block * > | dominator_path_ {__ phase_zone()} |
LayeredHashMap< V< Word32 >, bool > | known_conditions_ |
Definition at line 26 of file branch-elimination-reducer.h.
|
inline |
Definition at line 202 of file branch-elimination-reducer.h.
|
inline |
Definition at line 238 of file branch-elimination-reducer.h.
|
inlineprivate |
Definition at line 560 of file branch-elimination-reducer.h.
|
inlineprivate |
Definition at line 472 of file branch-elimination-reducer.h.
|
inline |
Definition at line 399 of file branch-elimination-reducer.h.
|
inline |
Definition at line 296 of file branch-elimination-reducer.h.
|
inlineprivate |
Definition at line 523 of file branch-elimination-reducer.h.
|
inlineprivate |
Definition at line 454 of file branch-elimination-reducer.h.
|
inline |
Definition at line 278 of file branch-elimination-reducer.h.
|
inlineprivate |
Definition at line 477 of file branch-elimination-reducer.h.
|
private |
Definition at line 604 of file branch-elimination-reducer.h.
|
private |
Definition at line 605 of file branch-elimination-reducer.h.