Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dgraph_test.cc74 HBasicBlock* if_true = createGotoBlock(graph, &allocator); in TEST() local
79 if_block->AddSuccessor(if_true); in TEST()
80 if_true->AddSuccessor(return_block); in TEST()
84 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(), if_true); in TEST()
90 ASSERT_EQ(if_block->GetLastInstruction()->AsIf()->IfTrueSuccessor(), if_true); in TEST()
/art/compiler/dex/
Dmir_optimization.cc468 MIR* if_true = tk->first_mir_insn; in BasicBlockOpt() local
471 MIR* phi = FindPhi(tk_tk, if_true->ssa_rep->defs[0]); in BasicBlockOpt()
472 if ((phi != NULL) && (if_true->dalvikInsn.vA == if_false->dalvikInsn.vA)) { in BasicBlockOpt()
483 bool const_form = (SelectKind(if_true) == kSelectConst); in BasicBlockOpt()
484 if ((SelectKind(if_true) == kSelectMove)) { in BasicBlockOpt()
485 if (IsConst(if_true->ssa_rep->uses[0]) && in BasicBlockOpt()
488 if_true->dalvikInsn.vB = ConstantValue(if_true->ssa_rep->uses[0]); in BasicBlockOpt()
499 mir->dalvikInsn.vB = if_true->dalvikInsn.vB; in BasicBlockOpt()
503 DCHECK_EQ(SelectKind(if_true), kSelectMove); in BasicBlockOpt()
508 src_ssa[1] = if_true->ssa_rep->uses[0]; in BasicBlockOpt()
[all …]