Home
last modified time | relevance | path

Searched refs:GetLeft (Results 1 – 9 of 9) sorted by relevance

/art/compiler/optimizing/
Dconstant_folding.cc135 HInstruction* left = instruction->GetLeft(); in VisitShift()
147 if ((instruction->GetLeft()->IsNullConstant() && !instruction->GetRight()->CanBeNull()) || in VisitEqual()
148 (instruction->GetRight()->IsNullConstant() && !instruction->GetLeft()->CanBeNull())) { in VisitEqual()
159 if ((instruction->GetLeft()->IsNullConstant() && !instruction->GetRight()->CanBeNull()) || in VisitNotEqual()
160 (instruction->GetRight()->IsNullConstant() && !instruction->GetLeft()->CanBeNull())) { in VisitNotEqual()
171 if (instruction->GetLeft()->IsConstant() && in VisitAbove()
172 instruction->GetLeft()->AsConstant()->IsArithmeticZero()) { in VisitAbove()
207 if (instruction->GetLeft()->IsConstant() && in VisitBelowOrEqual()
208 instruction->GetLeft()->AsConstant()->IsArithmeticZero()) { in VisitBelowOrEqual()
293 if (instruction->GetLeft()->IsConstant() && in VisitRem()
[all …]
Dinstruction_simplifier_shared.cc60 input_b = input_binop->GetLeft(); in TrySimpleMultiplyAccumulatePatterns()
62 } else if (input_binop->GetLeft()->IsConstant() && in TrySimpleMultiplyAccumulatePatterns()
63 input_binop->GetLeft()->AsConstant()->IsOne()) { in TrySimpleMultiplyAccumulatePatterns()
126 HInstruction* binop_left = binop->GetLeft(); in TryCombineMultiplyAccumulate()
143 mul->GetLeft(), in TryCombineMultiplyAccumulate()
156 mul->GetLeft(), in TryCombineMultiplyAccumulate()
171 if (mul->GetLeft() == mul->GetRight()) { in TryCombineMultiplyAccumulate()
175 HInstruction* left = mul->GetLeft(); in TryCombineMultiplyAccumulate()
191 HInstruction* left = op->GetLeft(); in TryMergeNegatedInput()
Dinstruction_simplifier.cc174 DCHECK(binop->GetLeft()->IsNeg() && binop->GetRight()->IsNeg()); in TryMoveNegOnInputsAfterBinop()
175 HNeg* left_neg = binop->GetLeft()->AsNeg(); in TryMoveNegOnInputsAfterBinop()
208 HInstruction* left = op->GetLeft(); in TryDeMorganNegationFactoring()
304 HInstruction* binop_left = binop->GetLeft(); in TryCombineVecMultiplyAccumulate()
322 mul->GetLeft(), in TryCombineVecMultiplyAccumulate()
342 HInstruction* value = instruction->GetLeft(); in VisitShift()
411 sub->GetLeft()->IsConstant() && in IsSubRegBitsMinusOther()
412 (Int64FromConstant(sub->GetLeft()->AsConstant()) & (reg_bits - 1)) == 0); in IsSubRegBitsMinusOther()
420 new (GetGraph()->GetAllocator()) HRor(ushr->GetType(), ushr->GetLeft(), ushr->GetRight()); in ReplaceRotateWithRor()
441 HInstruction* left = op->GetLeft(); in TryReplaceWithRotate()
[all …]
Dscheduler_arm.cc207 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in HandleGenerateLongTestConstant()
273 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in HandleGenerateLongTest()
304 const DataType::Type type = condition->GetLeft()->GetType(); in HandleGenerateTest()
320 if (condition->GetLeft()->GetType() == DataType::Type::kInt64) { in CanGenerateTest()
358 DCHECK_EQ(cond->GetLeft()->GetType(), DataType::Type::kInt64); in HandleGenerateEqualLong()
379 DCHECK_EQ(cond->GetLeft()->GetType(), DataType::Type::kInt64); in HandleGenerateConditionLong()
429 const DataType::Type type = cond->GetLeft()->GetType(); in HandleGenerateConditionIntegralOrNonPrimitive()
487 const DataType::Type type = cond->GetLeft()->GetType(); in HandleCondition()
Dnodes.cc1617 if (GetLeft()->IsIntConstant() && GetRight()->IsIntConstant()) { in TryStaticEvaluation()
1618 return Evaluate(GetLeft()->AsIntConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1619 } else if (GetLeft()->IsLongConstant()) { in TryStaticEvaluation()
1623 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1625 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsLongConstant()); in TryStaticEvaluation()
1627 } else if (GetLeft()->IsNullConstant() && GetRight()->IsNullConstant()) { in TryStaticEvaluation()
1630 return Evaluate(GetLeft()->AsNullConstant(), GetRight()->AsNullConstant()); in TryStaticEvaluation()
1632 if (GetLeft()->IsFloatConstant() && GetRight()->IsFloatConstant()) { in TryStaticEvaluation()
1633 return Evaluate(GetLeft()->AsFloatConstant(), GetRight()->AsFloatConstant()); in TryStaticEvaluation()
1634 } else if (GetLeft()->IsDoubleConstant() && GetRight()->IsDoubleConstant()) { in TryStaticEvaluation()
[all …]
Dbounds_check_elimination.cc75 HInstruction* left = bin_op->GetLeft(); in IsAddOrSubAConstant()
998 HandleIf(instruction, cond->GetLeft(), cond->GetRight(), cond->GetCondition()); in VisitIf()
1005 ValueRange* left_range = LookupValueRange(add->GetLeft(), add->GetBlock()); in VisitAdd()
1017 HInstruction* left = sub->GetLeft(); in VisitSub()
1092 HInstruction* left = instruction->GetLeft(); in FindAndHandlePartialArrayLength()
1146 HInstruction* left = instruction->GetLeft(); in VisitRem()
Dnodes_vector.h249 HInstruction* GetLeft() const { return InputAt(0); } in GetLeft() function
Dcode_generator_arm_vixl.cc1800 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateLongTestConstant()
1921 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateLongTest()
1991 const DataType::Type type = condition->GetLeft()->GetType(); in GenerateTest()
2046 DCHECK_EQ(cond->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateEqualLong()
2102 DCHECK_EQ(cond->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateConditionLong()
2167 const DataType::Type type = cond->GetLeft()->GetType(); in GenerateConditionIntegralOrNonPrimitive()
3313 const DataType::Type type = cond->GetLeft()->GetType(); in HandleCondition()
Dnodes.h3461 HInstruction* GetLeft() const { return InputAt(0); } in GetLeft() function