Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dconstant_folding.cc204 HInstruction* left = condition->GetLeft(); in VisitIf()
241 left = variable->AsCompare()->GetLeft(); in VisitIf()
307 HInstruction* left = instruction->GetLeft(); in VisitShift()
319 if (instruction->GetLeft() == instruction->GetRight() && in VisitEqual()
320 !DataType::IsFloatingPointType(instruction->GetLeft()->GetType())) { in VisitEqual()
328 } else if ((instruction->GetLeft()->IsNullConstant() && !instruction->GetRight()->CanBeNull()) || in VisitEqual()
329 (instruction->GetRight()->IsNullConstant() && !instruction->GetLeft()->CanBeNull())) { in VisitEqual()
340 if (instruction->GetLeft() == instruction->GetRight() && in VisitNotEqual()
341 !DataType::IsFloatingPointType(instruction->GetLeft()->GetType())) { in VisitNotEqual()
349 } else if ((instruction->GetLeft()->IsNullConstant() && !instruction->GetRight()->CanBeNull()) || in VisitNotEqual()
[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.cc32 HInstruction* left = instruction->GetLeft(); in TryCombineAndNot()
70 HInstruction* left = instruction->GetLeft(); in TryGenerateResetLeastSetBit()
101 HInstruction* left = instruction->GetLeft(); in TryGenerateMaskUptoLeastSetBit()
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()
Dinstruction_simplifier.cc194 DCHECK(binop->GetLeft()->IsNeg() && binop->GetRight()->IsNeg()); in TryMoveNegOnInputsAfterBinop()
195 HNeg* left_neg = binop->GetLeft()->AsNeg(); in TryMoveNegOnInputsAfterBinop()
228 HInstruction* left = op->GetLeft(); in TryDeMorganNegationFactoring()
317 HInstruction* binop_left = vec_binop->GetLeft(); in TryCombineVecMultiplyAccumulate()
345 mul->GetLeft(), in TryCombineVecMultiplyAccumulate()
367 HInstruction* value = instruction->GetLeft(); in VisitShift()
436 sub->GetLeft()->IsConstant() && in IsSubRegBitsMinusOther()
437 (Int64FromConstant(sub->GetLeft()->AsConstant()) & (reg_bits - 1)) == 0); in IsSubRegBitsMinusOther()
445 new (GetGraph()->GetAllocator()) HRor(ushr->GetType(), ushr->GetLeft(), ushr->GetRight()); in ReplaceRotateWithRor()
466 HInstruction* left = op->GetLeft(); in TryReplaceWithRotate()
[all …]
Dinstruction_simplifier_shared.h57 return right->IsSub() && right->AsSub()->GetLeft()->IsShl();; in IsSubRightSubLeftShl()
Dbounds_check_elimination.cc75 HInstruction* left = bin_op->GetLeft(); in IsAddOrSubAConstant()
1013 HandleIf(instruction, cond->GetLeft(), cond->GetRight(), cond->GetCondition()); in VisitIf()
1045 return shl != nullptr && shl->GetRight()->IsConstant() && shl->GetLeft()->IsDiv(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1051 if (!mul->GetLeft()->IsDiv() || !mul->GetRight()->IsConstant()) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1054 div = mul->GetLeft()->AsDiv(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1062 div = shl->GetLeft()->AsDiv(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1063 if (add->GetLeft() != div) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1074 HShl* shl = sub->GetLeft()->AsShl(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1079 div = shl->GetLeft()->AsDiv(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1089 div->GetLeft() != instruction->GetLeft()) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
[all …]
Dnodes.cc1928 if (GetLeft()->IsIntConstant() && GetRight()->IsIntConstant()) { in TryStaticEvaluation()
1929 return Evaluate(GetLeft()->AsIntConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1930 } else if (GetLeft()->IsLongConstant()) { in TryStaticEvaluation()
1934 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1936 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsLongConstant()); in TryStaticEvaluation()
1938 } else if (GetLeft()->IsNullConstant() && GetRight()->IsNullConstant()) { in TryStaticEvaluation()
1941 return Evaluate(GetLeft()->AsNullConstant(), GetRight()->AsNullConstant()); in TryStaticEvaluation()
1943 if (GetLeft()->IsFloatConstant() && GetRight()->IsFloatConstant()) { in TryStaticEvaluation()
1944 return Evaluate(GetLeft()->AsFloatConstant(), GetRight()->AsFloatConstant()); in TryStaticEvaluation()
1945 } else if (GetLeft()->IsDoubleConstant() && GetRight()->IsDoubleConstant()) { in TryStaticEvaluation()
[all …]
Ddead_code_elimination.cc492 if (block_cond->GetLeft() != dominator_cond->GetLeft() || in MaybeAddPhi()
Dnodes_vector.h313 HInstruction* GetLeft() const { return InputAt(0); } in GetLeft() function
Dcode_generator_arm_vixl.cc1374 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateLongTestConstant()
1495 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateLongTest()
1565 const DataType::Type type = condition->GetLeft()->GetType(); in GenerateTest()
1620 DCHECK_EQ(cond->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateEqualLong()
1676 DCHECK_EQ(cond->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateConditionLong()
1741 const DataType::Type type = cond->GetLeft()->GetType(); in GenerateConditionIntegralOrNonPrimitive()
3296 const DataType::Type type = cond->GetLeft()->GetType(); in HandleCondition()
Dload_store_elimination_test.cc417 : ins->AsBinaryOperation()->GetLeft(); in CheckFinalInstruction()
419 EXPECT_INS_EQ(ins->AsBinaryOperation()->GetLeft(), ins->AsBinaryOperation()->GetRight()) in CheckFinalInstruction()
Dnodes.h3867 HInstruction* GetLeft() const { return InputAt(0); }