Lines Matching refs:condition
51 HInstruction* condition = if_instruction->InputAt(0); in MarkReachableBlocks() local
52 if (condition->IsIntConstant()) { in MarkReachableBlocks()
53 if (condition->AsIntConstant()->IsTrue()) { in MarkReachableBlocks()
57 DCHECK(condition->AsIntConstant()->IsFalse()) << condition->AsIntConstant()->GetValue(); in MarkReachableBlocks()
111 static bool HasEquality(IfCondition condition) { in HasEquality() argument
112 switch (condition) { in HasEquality()
128 static HConstant* Evaluate(HCondition* condition, HInstruction* left, HInstruction* right) { in Evaluate() argument
130 return condition->GetBlock()->GetGraph()->GetIntConstant( in Evaluate()
131 HasEquality(condition->GetCondition()) ? 1 : 0); in Evaluate()
139 return condition->Evaluate(left->AsIntConstant(), right->AsIntConstant()); in Evaluate()
141 return condition->Evaluate(left->AsNullConstant(), right->AsNullConstant()); in Evaluate()
143 return condition->Evaluate(left->AsLongConstant(), right->AsLongConstant()); in Evaluate()
145 return condition->Evaluate(left->AsFloatConstant(), right->AsFloatConstant()); in Evaluate()
148 return condition->Evaluate(left->AsDoubleConstant(), right->AsDoubleConstant()); in Evaluate()