Lines Matching refs:true_value
915 HInstruction* true_value = select->GetTrueValue(); in VisitSelect() local
921 std::swap(true_value, false_value); in VisitSelect()
923 select->ReplaceInput(true_value, 1); in VisitSelect()
928 if (true_value == false_value) { in VisitSelect()
930 replace_with = true_value; in VisitSelect()
934 replace_with = true_value; in VisitSelect()
940 } else if (true_value->IsIntConstant() && false_value->IsIntConstant()) { in VisitSelect()
941 if (true_value->AsIntConstant()->IsTrue() && false_value->AsIntConstant()->IsFalse()) { in VisitSelect()
944 } else if (true_value->AsIntConstant()->IsFalse() && false_value->AsIntConstant()->IsTrue()) { in VisitSelect()
952 DataType::Type t_type = true_value->GetType(); in VisitSelect()
962 HInstruction* new_a = AllowInMinMax(cmp, a, b, true_value); in VisitSelect()
968 ((a == true_value && b == false_value) || in VisitSelect()
969 (b == true_value && a == false_value))) { in VisitSelect()
972 bool is_min = (cmp == kCondLT || cmp == kCondLE) == (a == true_value); in VisitSelect()
974 } else if (((cmp == kCondLT || cmp == kCondLE) && true_value->IsNeg()) || in VisitSelect()
977 HInstruction* the_negated = negLeft ? true_value->InputAt(0) : false_value->InputAt(0); in VisitSelect()
978 HInstruction* not_negated = negLeft ? false_value : true_value; in VisitSelect()
985 } else if (true_value->IsSub() && false_value->IsSub()) { in VisitSelect()
986 HInstruction* true_sub1 = true_value->InputAt(0); in VisitSelect()
987 HInstruction* true_sub2 = true_value->InputAt(1); in VisitSelect()
998 replace_with = NewIntegralAbs(GetGraph()->GetAllocator(), true_value, select); in VisitSelect()