Home
last modified time | relevance | path

Searched refs:false_value (Results 1 – 3 of 3) sorted by relevance

/art/compiler/optimizing/
Dselect_generator.cc138 HInstruction* false_value = nullptr; in TryGenerateSelectSimpleDiamondPattern() local
141 false_value = false_block->GetFirstInstruction()->InputAt(0); in TryGenerateSelectSimpleDiamondPattern()
144 false_value = phi->InputAt(predecessor_index_false); in TryGenerateSelectSimpleDiamondPattern()
154 false_value, in TryGenerateSelectSimpleDiamondPattern()
158 DCHECK(false_value->GetType() == DataType::Type::kReference); in TryGenerateSelectSimpleDiamondPattern()
Dinstruction_simplifier.cc1081 HInstruction* false_value = select->GetFalseValue(); in VisitSelect() local
1086 std::swap(true_value, false_value); in VisitSelect()
1087 select->ReplaceInput(false_value, 0); in VisitSelect()
1093 if (true_value == false_value) { in VisitSelect()
1103 replace_with = false_value; in VisitSelect()
1105 } else if (true_value->IsIntConstant() && false_value->IsIntConstant()) { in VisitSelect()
1106 if (true_value->AsIntConstant()->IsTrue() && false_value->AsIntConstant()->IsFalse()) { in VisitSelect()
1109 } else if (true_value->AsIntConstant()->IsFalse() && false_value->AsIntConstant()->IsTrue()) { in VisitSelect()
1118 DataType::Type f_type = false_value->GetType(); in VisitSelect()
1125 if ((a == true_value && b == false_value) || (a == false_value && b == true_value)) { in VisitSelect()
[all …]
Dnodes.h8217 HInstruction* false_value,
8220 DCHECK_EQ(HPhi::ToPhiType(true_value->GetType()), HPhi::ToPhiType(false_value->GetType()));
8226 SetRawInputAt(0, false_value);