Lines Matching refs:Decision
22 Decision DecideCondition(JSHeapBroker* broker, Node* const cond) { in DecideCondition()
26 return mcond.Value() ? Decision::kTrue : Decision::kFalse; in DecideCondition()
30 return mcond.Ref(broker).BooleanValue() ? Decision::kTrue in DecideCondition()
31 : Decision::kFalse; in DecideCondition()
34 return Decision::kUnknown; in DecideCondition()
93 Decision::kFalse && in ReduceBranch()
95 Decision::kTrue)) { in ReduceBranch()
117 Decision const decision = DecideCondition(js_heap_broker(), cond); in ReduceBranch()
118 if (decision == Decision::kUnknown) return NoChange(); in ReduceBranch()
123 Replace(use, (decision == Decision::kTrue) ? control : dead()); in ReduceBranch()
126 Replace(use, (decision == Decision::kFalse) ? control : dead()); in ReduceBranch()
157 Decision const decision = DecideCondition(js_heap_broker(), condition); in ReduceDeoptimizeConditional()
158 if (decision == Decision::kUnknown) return NoChange(); in ReduceDeoptimizeConditional()
159 if (condition_is_true == (decision == Decision::kTrue)) { in ReduceDeoptimizeConditional()
391 case Decision::kTrue: in ReduceSelect()
393 case Decision::kFalse: in ReduceSelect()
395 case Decision::kUnknown: in ReduceSelect()