Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dnodes_x86.h144 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const override { in Evaluate() function
148 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const override { in Evaluate() function
152 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED, in Evaluate() function
157 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED, in Evaluate() function
193 HConstant* Evaluate(HIntConstant* x) const override { in Evaluate() function
196 HConstant* Evaluate(HLongConstant* x) const override { in Evaluate() function
199 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED) const override { in Evaluate() function
203 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED) const override { in Evaluate() function
Ddead_code_elimination.cc125 static HConstant* Evaluate(HCondition* condition, HInstruction* left, HInstruction* right) { in Evaluate() function
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()
359 value_to_check = Evaluate(first->AsCondition(), input, first->InputAt(1)); in SimplifyIfs()
361 value_to_check = Evaluate(first->AsCondition(), first->InputAt(0), input); in SimplifyIfs()
Dnodes_shared.h100 HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const override { in Evaluate() function
104 HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const override { in Evaluate() function
108 HConstant* Evaluate(HFloatConstant* x ATTRIBUTE_UNUSED, in Evaluate() function
113 HConstant* Evaluate(HDoubleConstant* x ATTRIBUTE_UNUSED, in Evaluate() function
Dnodes.cc1645 return Evaluate(GetInput()->AsIntConstant()); in TryStaticEvaluation()
1647 return Evaluate(GetInput()->AsLongConstant()); in TryStaticEvaluation()
1650 return Evaluate(GetInput()->AsFloatConstant()); in TryStaticEvaluation()
1652 return Evaluate(GetInput()->AsDoubleConstant()); in TryStaticEvaluation()
1660 return Evaluate(GetLeft()->AsIntConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1665 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1667 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsLongConstant()); in TryStaticEvaluation()
1672 return Evaluate(GetLeft()->AsNullConstant(), GetRight()->AsNullConstant()); in TryStaticEvaluation()
1675 return Evaluate(GetLeft()->AsFloatConstant(), GetRight()->AsFloatConstant()); in TryStaticEvaluation()
1677 return Evaluate(GetLeft()->AsDoubleConstant(), GetRight()->AsDoubleConstant()); in TryStaticEvaluation()