Home
last modified time | relevance | path

Searched refs:GetLeft (Results 1 – 12 of 12) 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()
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_shared.h56 return right->IsSub() && right->AsSub()->GetLeft()->IsShl();; in IsSubRightSubLeftShl()
Dinstruction_simplifier.cc188 DCHECK(binop->GetLeft()->IsNeg() && binop->GetRight()->IsNeg()); in TryMoveNegOnInputsAfterBinop()
189 HNeg* left_neg = binop->GetLeft()->AsNeg(); in TryMoveNegOnInputsAfterBinop()
222 HInstruction* left = op->GetLeft(); in TryDeMorganNegationFactoring()
307 HInstruction* binop_left = binop->GetLeft(); in TryCombineVecMultiplyAccumulate()
325 mul->GetLeft(), in TryCombineVecMultiplyAccumulate()
345 HInstruction* value = instruction->GetLeft(); in VisitShift()
414 sub->GetLeft()->IsConstant() && in IsSubRegBitsMinusOther()
415 (Int64FromConstant(sub->GetLeft()->AsConstant()) & (reg_bits - 1)) == 0); in IsSubRegBitsMinusOther()
423 new (GetGraph()->GetAllocator()) HRor(ushr->GetType(), ushr->GetLeft(), ushr->GetRight()); in ReplaceRotateWithRor()
444 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 …]
Dnodes.cc1658 if (GetLeft()->IsIntConstant() && GetRight()->IsIntConstant()) { in TryStaticEvaluation()
1659 return Evaluate(GetLeft()->AsIntConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1660 } else if (GetLeft()->IsLongConstant()) { in TryStaticEvaluation()
1664 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1666 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsLongConstant()); in TryStaticEvaluation()
1668 } else if (GetLeft()->IsNullConstant() && GetRight()->IsNullConstant()) { in TryStaticEvaluation()
1671 return Evaluate(GetLeft()->AsNullConstant(), GetRight()->AsNullConstant()); in TryStaticEvaluation()
1673 if (GetLeft()->IsFloatConstant() && GetRight()->IsFloatConstant()) { in TryStaticEvaluation()
1674 return Evaluate(GetLeft()->AsFloatConstant(), GetRight()->AsFloatConstant()); in TryStaticEvaluation()
1675 } else if (GetLeft()->IsDoubleConstant() && GetRight()->IsDoubleConstant()) { in TryStaticEvaluation()
[all …]
Dnodes_vector.h304 HInstruction* GetLeft() const { return InputAt(0); } in GetLeft() function
Dcode_generator_arm_vixl.cc1308 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateLongTestConstant()
1429 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateLongTest()
1499 const DataType::Type type = condition->GetLeft()->GetType(); in GenerateTest()
1554 DCHECK_EQ(cond->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateEqualLong()
1610 DCHECK_EQ(cond->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateConditionLong()
1675 const DataType::Type type = cond->GetLeft()->GetType(); in GenerateConditionIntegralOrNonPrimitive()
3115 const DataType::Type type = cond->GetLeft()->GetType(); in HandleCondition()
4244 if (HasNonNegativeResultOrMinInt(instruction->GetLeft())) { in DivRemByPowerOfTwo()
4353 if (imm > 0 && IsGEZero(instruction->GetLeft())) { in GenerateDivRemWithAnyConstant()
Dcode_generator_arm64.cc3064 if (HasNonNegativeResultOrMinInt(instruction->GetLeft())) { in FOR_EACH_CONDITION_INSTRUCTION()
3245 if (imm > 0 && IsGEZero(instruction->GetLeft())) { in GenerateInt32DivRemWithAnyConstant()
5636 if (HasNonNegativeResultOrMinInt(instruction->GetLeft())) { in GenerateIntRemForPower2Denom()
Dnodes.h3594 HInstruction* GetLeft() const { return InputAt(0); } in GetLeft() function