Home
last modified time | relevance | path

Searched refs:BranchCondition (Results 1 – 2 of 2) sorted by relevance

/third_party/node/deps/v8/src/compiler/
Dbranch-elimination.h42 struct BranchCondition { in NON_EXPORTED_BASE() struct
43 BranchCondition() : condition(nullptr), branch(nullptr), is_true(false) {} in NON_EXPORTED_BASE() function
44 BranchCondition(Node* condition, Node* branch, bool is_true) in NON_EXPORTED_BASE() function
50 bool operator==(BranchCondition other) const { in NON_EXPORTED_BASE()
54 bool operator!=(BranchCondition other) const { return !(*this == other); } in NON_EXPORTED_BASE()
92 FunctionalList<FunctionalList<BranchCondition>> blocks_; in NON_EXPORTED_BASE()
97 PersistentMap<Node*, BranchCondition> conditions_; in NON_EXPORTED_BASE()
Dbranch-elimination.cc448 BranchCondition branch_condition(condition, branch, is_true); in AddCondition()
449 FunctionalList<BranchCondition> prev_front = blocks_.Front(); in AddCondition()
464 FunctionalList<BranchCondition> new_block; in AddConditionInNewBlock()
466 BranchCondition branch_condition(condition, branch, is_true); in AddConditionInNewBlock()
481 const BranchCondition& element = conditions_.Get(condition); in LookupCondition()
494 for (BranchCondition branch_condition : blocks_.Front()) { in ResetToCommonAncestor()
500 for (BranchCondition branch_condition : blocks_.Front()) { in ResetToCommonAncestor()
511 PersistentMap<Node*, BranchCondition> conditions_copy(conditions_); in BlocksAndConditionsInvariant()
513 for (BranchCondition condition : block) { in BlocksAndConditionsInvariant()