Home
last modified time | relevance | path

Searched refs:Evaluate (Results 1 – 5 of 5) 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
Dnodes.h3495 virtual HConstant* Evaluate(HIntConstant* x) const = 0;
3496 virtual HConstant* Evaluate(HLongConstant* x) const = 0;
3497 virtual HConstant* Evaluate(HFloatConstant* x) const = 0;
3498 virtual HConstant* Evaluate(HDoubleConstant* x) const = 0;
3571 virtual HConstant* Evaluate(HNullConstant* x ATTRIBUTE_UNUSED, in Evaluate() function
3576 virtual HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const = 0;
3577 virtual HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const = 0;
3578 virtual HConstant* Evaluate(HLongConstant* x ATTRIBUTE_UNUSED, in Evaluate() function
3583 virtual HConstant* Evaluate(HFloatConstant* x, HFloatConstant* y) const = 0;
3584 virtual HConstant* Evaluate(HDoubleConstant* x, HDoubleConstant* y) const = 0;
[all …]
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()