Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dgraph_test.cc79 HBasicBlock* if_true = createGotoBlock(graph, &allocator); in TEST() local
84 if_block->AddSuccessor(if_true); in TEST()
85 if_true->AddSuccessor(return_block); in TEST()
89 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(), if_true); in TEST()
95 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(), if_true); in TEST()
/art/compiler/dex/
Dmir_optimization.cc633 MIR* if_true = tk->first_mir_insn; in BasicBlockOpt() local
636 MIR* phi = FindPhi(tk_tk, if_true->ssa_rep->defs[0]); in BasicBlockOpt()
637 if ((phi != nullptr) && (if_true->dalvikInsn.vA == if_false->dalvikInsn.vA)) { in BasicBlockOpt()
648 bool const_form = (SelectKind(if_true) == kSelectConst); in BasicBlockOpt()
649 if ((SelectKind(if_true) == kSelectMove)) { in BasicBlockOpt()
650 if (IsConst(if_true->ssa_rep->uses[0]) && in BasicBlockOpt()
653 if_true->dalvikInsn.vB = ConstantValue(if_true->ssa_rep->uses[0]); in BasicBlockOpt()
664 mir->dalvikInsn.vB = if_true->dalvikInsn.vB; in BasicBlockOpt()
668 DCHECK_EQ(SelectKind(if_true), kSelectMove); in BasicBlockOpt()
672 src_ssa[1] = if_true->ssa_rep->uses[0]; in BasicBlockOpt()
[all …]