Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dconstant_folding.cc136 HInstruction* left = instruction->GetLeft(); in VisitShift()
148 if ((instruction->GetLeft()->IsNullConstant() && !instruction->GetRight()->CanBeNull()) || in VisitEqual()
149 (instruction->GetRight()->IsNullConstant() && !instruction->GetLeft()->CanBeNull())) { in VisitEqual()
160 if ((instruction->GetLeft()->IsNullConstant() && !instruction->GetRight()->CanBeNull()) || in VisitNotEqual()
161 (instruction->GetRight()->IsNullConstant() && !instruction->GetLeft()->CanBeNull())) { in VisitNotEqual()
172 if (instruction->GetLeft()->IsConstant() && in VisitAbove()
173 instruction->GetLeft()->AsConstant()->IsArithmeticZero()) { in VisitAbove()
208 if (instruction->GetLeft()->IsConstant() && in VisitBelowOrEqual()
209 instruction->GetLeft()->AsConstant()->IsArithmeticZero()) { in VisitBelowOrEqual()
231 HInstruction* left = instruction->GetLeft(); in VisitAnd()
[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()
344 HInstruction* last_sub_left = last_sub->GetLeft(); in TryReplaceSubSubWithSubAdd()
Dcode_generator_utils.cc148 if (cond->GetLeft() == value) { in IsComparedValueNonNegativeInBlock()
160 if (IsNonNegativeUse(cond, cond->GetLeft())) { in IsComparedValueNonNegativeInBlock()
171 if (cond->GetLeft() == value) { in IsComparedValueNonNegativeInBlock()
183 if (IsNonNegativeUse(cond, cond->GetLeft())) { in IsComparedValueNonNegativeInBlock()
Dinstruction_simplifier_x86_shared.cc31 HInstruction* left = instruction->GetLeft(); in TryCombineAndNot()
69 HInstruction* left = instruction->GetLeft(); in TryGenerateResetLeastSetBit()
100 HInstruction* left = instruction->GetLeft(); in TryGenerateMaskUptoLeastSetBit()
Dinstruction_simplifier.cc190 DCHECK(binop->GetLeft()->IsNeg() && binop->GetRight()->IsNeg()); in TryMoveNegOnInputsAfterBinop()
191 HNeg* left_neg = binop->GetLeft()->AsNeg(); in TryMoveNegOnInputsAfterBinop()
224 HInstruction* left = op->GetLeft(); in TryDeMorganNegationFactoring()
313 HInstruction* binop_left = vec_binop->GetLeft(); in TryCombineVecMultiplyAccumulate()
341 mul->GetLeft(), in TryCombineVecMultiplyAccumulate()
363 HInstruction* value = instruction->GetLeft(); in VisitShift()
432 sub->GetLeft()->IsConstant() && in IsSubRegBitsMinusOther()
433 (Int64FromConstant(sub->GetLeft()->AsConstant()) & (reg_bits - 1)) == 0); in IsSubRegBitsMinusOther()
441 new (GetGraph()->GetAllocator()) HRor(ushr->GetType(), ushr->GetLeft(), ushr->GetRight()); in ReplaceRotateWithRor()
462 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()
Dbounds_check_elimination.cc75 HInstruction* left = bin_op->GetLeft(); in IsAddOrSubAConstant()
1000 HandleIf(instruction, cond->GetLeft(), cond->GetRight(), cond->GetCondition()); in VisitIf()
1032 return shl != nullptr && shl->GetRight()->IsConstant() && shl->GetLeft()->IsDiv(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1038 if (!mul->GetLeft()->IsDiv() || !mul->GetRight()->IsConstant()) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1041 div = mul->GetLeft()->AsDiv(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1049 div = shl->GetLeft()->AsDiv(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1050 if (add->GetLeft() != div) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1061 HShl* shl = sub->GetLeft()->AsShl(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1066 div = shl->GetLeft()->AsDiv(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1076 div->GetLeft() != instruction->GetLeft()) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
[all …]
Dinstruction_simplifier_shared.h56 return right->IsSub() && right->AsSub()->GetLeft()->IsShl();; in IsSubRightSubLeftShl()
Dnodes.cc1878 if (GetLeft()->IsIntConstant() && GetRight()->IsIntConstant()) { in TryStaticEvaluation()
1879 return Evaluate(GetLeft()->AsIntConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1880 } else if (GetLeft()->IsLongConstant()) { in TryStaticEvaluation()
1884 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1886 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsLongConstant()); in TryStaticEvaluation()
1888 } else if (GetLeft()->IsNullConstant() && GetRight()->IsNullConstant()) { in TryStaticEvaluation()
1891 return Evaluate(GetLeft()->AsNullConstant(), GetRight()->AsNullConstant()); in TryStaticEvaluation()
1893 if (GetLeft()->IsFloatConstant() && GetRight()->IsFloatConstant()) { in TryStaticEvaluation()
1894 return Evaluate(GetLeft()->AsFloatConstant(), GetRight()->AsFloatConstant()); in TryStaticEvaluation()
1895 } else if (GetLeft()->IsDoubleConstant() && GetRight()->IsDoubleConstant()) { in TryStaticEvaluation()
[all …]
Dnodes_vector.h313 HInstruction* GetLeft() const { return InputAt(0); } in GetLeft() function
Dcode_generator_arm_vixl.cc1329 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateLongTestConstant()
1450 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateLongTest()
1520 const DataType::Type type = condition->GetLeft()->GetType(); in GenerateTest()
1575 DCHECK_EQ(cond->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateEqualLong()
1631 DCHECK_EQ(cond->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateConditionLong()
1696 const DataType::Type type = cond->GetLeft()->GetType(); in GenerateConditionIntegralOrNonPrimitive()
3144 const DataType::Type type = cond->GetLeft()->GetType(); in HandleCondition()
Dload_store_elimination_test.cc382 : ins->AsBinaryOperation()->GetLeft(); in CheckFinalInstruction()
384 EXPECT_INS_EQ(ins->AsBinaryOperation()->GetLeft(), ins->AsBinaryOperation()->GetRight()) in CheckFinalInstruction()
Dnodes.h3784 HInstruction* GetLeft() const { return InputAt(0); }