Home
last modified time | relevance | path

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

/aosp12/art/compiler/optimizing/
H A Dconstant_folding.cc136 HInstruction* left = instruction->GetLeft(); in VisitShift()
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()
314 if (instruction->GetLeft()->IsConstant() && in VisitRem()
320 instruction->ReplaceWith(instruction->GetLeft()); in VisitRem()
327 (instruction->GetLeft() == instruction->GetRight())) { in VisitRem()
362 if (instruction->GetLeft() == instruction->GetRight()) { in VisitSub()
[all …]
H A 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()
H A 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()
H A 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()
H A Dinstruction_simplifier.cc191 HNeg* left_neg = binop->GetLeft()->AsNeg(); in TryMoveNegOnInputsAfterBinop()
224 HInstruction* left = op->GetLeft(); in TryDeMorganNegationFactoring()
363 HInstruction* value = instruction->GetLeft(); in VisitShift()
432 sub->GetLeft()->IsConstant() && in IsSubRegBitsMinusOther()
462 HInstruction* left = op->GetLeft(); in TryReplaceWithRotate()
470 ushr->GetLeft() == shl->GetLeft()) { in TryReplaceWithRotate()
1383 HInstruction* left = instruction->GetLeft(); in VisitAdd()
1685 HInstruction* left = condition->GetLeft(); in VisitCondition()
1829 HInstruction* dividend = rem->GetLeft(); in TryToReuseDiv()
2113 HInstruction* left = instruction->GetLeft(); in VisitSub()
[all …]
H A Dbounds_check_elimination.cc75 HInstruction* left = bin_op->GetLeft(); in IsAddOrSubAConstant()
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()
1120 HInstruction* left = sub->GetLeft(); in VisitSub()
1195 HInstruction* left = instruction->GetLeft(); in FindAndHandlePartialArrayLength()
[all …]
H A 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()
H A Dinstruction_simplifier_shared.h56 return right->IsSub() && right->AsSub()->GetLeft()->IsShl();; in IsSubRightSubLeftShl()
H A 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()
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()
1905 } else if (IsCommutative() && GetLeft()->IsConstant()) { in GetConstantRight()
1906 return GetLeft()->AsConstant(); in GetConstantRight()
1918 } else if (most_constant_right == GetLeft()) { in GetLeastConstantLeft()
[all …]
H A Dnodes_vector.h313 HInstruction* GetLeft() const { return InputAt(0); } in GetLeft() function
H A 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()
H A Dload_store_elimination_test.cc382 : ins->AsBinaryOperation()->GetLeft(); in CheckFinalInstruction()
384 EXPECT_INS_EQ(ins->AsBinaryOperation()->GetLeft(), ins->AsBinaryOperation()->GetRight()) in CheckFinalInstruction()
H A Dnodes.h3784 HInstruction* GetLeft() const { return InputAt(0); }
/aosp12/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
H A Dlog_helpers.h55 return out << "fov(" << (fov.GetLeft() * 180.0f / M_PI) << ','
H A Dfield_of_view.h29 float GetLeft() const { return left_; } in GetLeft() function