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.h3567 virtual HConstant* Evaluate(HIntConstant* x) const = 0;
3568 virtual HConstant* Evaluate(HLongConstant* x) const = 0;
3569 virtual HConstant* Evaluate(HFloatConstant* x) const = 0;
3570 virtual HConstant* Evaluate(HDoubleConstant* x) const = 0;
3643 virtual HConstant* Evaluate(HNullConstant* x ATTRIBUTE_UNUSED, in Evaluate() function
3648 virtual HConstant* Evaluate(HIntConstant* x, HIntConstant* y) const = 0;
3649 virtual HConstant* Evaluate(HLongConstant* x, HLongConstant* y) const = 0;
3650 virtual HConstant* Evaluate(HLongConstant* x ATTRIBUTE_UNUSED, in Evaluate() function
3655 virtual HConstant* Evaluate(HFloatConstant* x, HFloatConstant* y) const = 0;
3656 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.cc1644 return Evaluate(GetInput()->AsIntConstant()); in TryStaticEvaluation()
1646 return Evaluate(GetInput()->AsLongConstant()); in TryStaticEvaluation()
1649 return Evaluate(GetInput()->AsFloatConstant()); in TryStaticEvaluation()
1651 return Evaluate(GetInput()->AsDoubleConstant()); in TryStaticEvaluation()
1659 return Evaluate(GetLeft()->AsIntConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1664 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1666 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsLongConstant()); in TryStaticEvaluation()
1671 return Evaluate(GetLeft()->AsNullConstant(), GetRight()->AsNullConstant()); in TryStaticEvaluation()
1674 return Evaluate(GetLeft()->AsFloatConstant(), GetRight()->AsFloatConstant()); in TryStaticEvaluation()
1676 return Evaluate(GetLeft()->AsDoubleConstant(), GetRight()->AsDoubleConstant()); in TryStaticEvaluation()