Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dinstruction_simplifier_shared.cc58 input_b = input_binop->GetLeft(); in TrySimpleMultiplyAccumulatePatterns()
60 } else if (input_binop->GetLeft()->IsConstant() && in TrySimpleMultiplyAccumulatePatterns()
61 input_binop->GetLeft()->AsConstant()->IsOne()) { in TrySimpleMultiplyAccumulatePatterns()
124 HInstruction* binop_left = binop->GetLeft(); in TryCombineMultiplyAccumulate()
141 mul->GetLeft(), in TryCombineMultiplyAccumulate()
154 mul->GetLeft(), in TryCombineMultiplyAccumulate()
169 if (mul->GetLeft() == mul->GetRight()) { in TryCombineMultiplyAccumulate()
173 HInstruction* left = mul->GetLeft(); in TryCombineMultiplyAccumulate()
189 HInstruction* left = op->GetLeft(); in TryMergeNegatedInput()
Dconstant_folding.cc132 HInstruction* left = instruction->GetLeft(); in VisitShift()
144 if (instruction->GetLeft()->IsConstant() && in VisitAbove()
145 instruction->GetLeft()->AsConstant()->IsArithmeticZero()) { in VisitAbove()
180 if (instruction->GetLeft()->IsConstant() && in VisitBelowOrEqual()
181 instruction->GetLeft()->AsConstant()->IsArithmeticZero()) { in VisitBelowOrEqual()
266 if (instruction->GetLeft()->IsConstant() && in VisitRem()
267 instruction->GetLeft()->AsConstant()->IsArithmeticZero()) { in VisitRem()
272 instruction->ReplaceWith(instruction->GetLeft()); in VisitRem()
279 (instruction->GetLeft() == instruction->GetRight())) { in VisitRem()
314 if (instruction->GetLeft() == instruction->GetRight()) { in VisitSub()
[all …]
Dinstruction_simplifier.cc151 DCHECK(binop->GetLeft()->IsNeg() && binop->GetRight()->IsNeg()); in TryMoveNegOnInputsAfterBinop()
152 HNeg* left_neg = binop->GetLeft()->AsNeg(); in TryMoveNegOnInputsAfterBinop()
185 HInstruction* left = op->GetLeft(); in TryDeMorganNegationFactoring()
258 sub->GetLeft()->IsConstant() && in IsSubRegBitsMinusOther()
259 (Int64FromConstant(sub->GetLeft()->AsConstant()) & (reg_bits - 1)) == 0); in IsSubRegBitsMinusOther()
266 HRor* ror = new (GetGraph()->GetArena()) HRor(ushr->GetType(), ushr->GetLeft(), ushr->GetRight()); in ReplaceRotateWithRor()
286 HInstruction* left = op->GetLeft(); in TryReplaceWithRotate()
294 ushr->GetLeft() == shl->GetLeft()) { in TryReplaceWithRotate()
913 HInstruction* left = instruction->GetLeft(); in VisitAdd()
994 if (instruction->GetLeft() == instruction->GetRight()) { in VisitAnd()
[all …]
Dnodes.cc1262 if (GetLeft()->IsIntConstant() && GetRight()->IsIntConstant()) { in TryStaticEvaluation()
1263 return Evaluate(GetLeft()->AsIntConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1264 } else if (GetLeft()->IsLongConstant()) { in TryStaticEvaluation()
1268 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1270 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsLongConstant()); in TryStaticEvaluation()
1272 } else if (GetLeft()->IsNullConstant() && GetRight()->IsNullConstant()) { in TryStaticEvaluation()
1275 return Evaluate(GetLeft()->AsNullConstant(), GetRight()->AsNullConstant()); in TryStaticEvaluation()
1277 if (GetLeft()->IsFloatConstant() && GetRight()->IsFloatConstant()) { in TryStaticEvaluation()
1278 return Evaluate(GetLeft()->AsFloatConstant(), GetRight()->AsFloatConstant()); in TryStaticEvaluation()
1279 } else if (GetLeft()->IsDoubleConstant() && GetRight()->IsDoubleConstant()) { in TryStaticEvaluation()
[all …]
Dbounds_check_elimination.cc74 HInstruction* left = bin_op->GetLeft(); in IsAddOrSubAConstant()
961 HInstruction* left = cond->GetLeft(); in VisitIf()
971 ValueRange* left_range = LookupValueRange(add->GetLeft(), add->GetBlock()); in VisitAdd()
983 HInstruction* left = sub->GetLeft(); in VisitSub()
1058 HInstruction* left = instruction->GetLeft(); in FindAndHandlePartialArrayLength()
Dnodes.h2947 HInstruction* GetLeft() const { return InputAt(0); } in GetLeft() function