Home
last modified time | relevance | path

Searched refs:true_value (Results 1 – 4 of 4) sorted by relevance

/art/compiler/optimizing/
Dselect_generator.cc138 HInstruction* true_value = nullptr; in TryGenerateSelectSimpleDiamondPattern() local
141 true_value = true_block->GetFirstInstruction()->InputAt(0); in TryGenerateSelectSimpleDiamondPattern()
144 true_value = phi->InputAt(predecessor_index_true); in TryGenerateSelectSimpleDiamondPattern()
154 true_value, in TryGenerateSelectSimpleDiamondPattern()
158 if (true_value->GetType() == DataType::Type::kReference) { in TryGenerateSelectSimpleDiamondPattern()
Dinstruction_simplifier.cc1014 HInstruction* true_value = select->GetTrueValue(); in VisitSelect() local
1020 std::swap(true_value, false_value); in VisitSelect()
1022 select->ReplaceInput(true_value, 1); in VisitSelect()
1027 if (true_value == false_value) { in VisitSelect()
1029 replace_with = true_value; in VisitSelect()
1033 replace_with = true_value; in VisitSelect()
1039 } else if (true_value->IsIntConstant() && false_value->IsIntConstant()) { in VisitSelect()
1040 if (true_value->AsIntConstant()->IsTrue() && false_value->AsIntConstant()->IsFalse()) { in VisitSelect()
1043 } else if (true_value->AsIntConstant()->IsFalse() && false_value->AsIntConstant()->IsTrue()) { in VisitSelect()
1051 DataType::Type t_type = true_value->GetType(); in VisitSelect()
[all …]
Dnodes.h8325 HInstruction* true_value,
8328 : HExpression(kSelect, HPhi::ToPhiType(true_value->GetType()), SideEffects::None(), dex_pc) {
8329 DCHECK_EQ(HPhi::ToPhiType(true_value->GetType()), HPhi::ToPhiType(false_value->GetType()));
8336 SetRawInputAt(1, true_value);
/art/runtime/
Dtransaction_test.cc665 Handle<mirror::Object> true_value = hs.NewHandle(true_field->GetObject(boolean_class.Get())); in TEST_F() local
666 ASSERT_TRUE(true_value != nullptr); in TEST_F()
667 ASSERT_TRUE(heap->ObjectIsInBootImageSpace(true_value.Get())); in TEST_F()
740 EXPECT_TRUE(transaction.WriteConstraint(true_value.Get())); in TEST_F()
765 EXPECT_TRUE(strict_transaction.WriteConstraint(true_value.Get())); in TEST_F()