Lines Matching refs:condition
48 HInstruction* condition = if_instruction->InputAt(0); in MarkReachableBlocks() local
49 if (condition->IsIntConstant()) { in MarkReachableBlocks()
50 if (condition->AsIntConstant()->IsTrue()) { in MarkReachableBlocks()
54 DCHECK(condition->AsIntConstant()->IsFalse()) << condition->AsIntConstant()->GetValue(); in MarkReachableBlocks()
108 static bool HasEquality(IfCondition condition) { in HasEquality() argument
109 switch (condition) { in HasEquality()
125 static HConstant* Evaluate(HCondition* condition, HInstruction* left, HInstruction* right) { in Evaluate() argument
127 return condition->GetBlock()->GetGraph()->GetIntConstant( in Evaluate()
128 HasEquality(condition->GetCondition()) ? 1 : 0); in Evaluate()
136 return condition->Evaluate(left->AsIntConstant(), right->AsIntConstant()); in Evaluate()
138 return condition->Evaluate(left->AsNullConstant(), right->AsNullConstant()); in Evaluate()
140 return condition->Evaluate(left->AsLongConstant(), right->AsLongConstant()); in Evaluate()
142 return condition->Evaluate(left->AsFloatConstant(), right->AsFloatConstant()); in Evaluate()
145 return condition->Evaluate(left->AsDoubleConstant(), right->AsDoubleConstant()); in Evaluate()