Home
last modified time | relevance | path

Searched refs:GetRight (Results 1 – 11 of 11) sorted by relevance

/art/compiler/optimizing/
Dconstant_folding.cc147 if ((instruction->GetLeft()->IsNullConstant() && !instruction->GetRight()->CanBeNull()) || in VisitEqual()
148 (instruction->GetRight()->IsNullConstant() && !instruction->GetLeft()->CanBeNull())) { in VisitEqual()
159 if ((instruction->GetLeft()->IsNullConstant() && !instruction->GetRight()->CanBeNull()) || in VisitNotEqual()
160 (instruction->GetRight()->IsNullConstant() && !instruction->GetLeft()->CanBeNull())) { in VisitNotEqual()
183 if (instruction->GetRight()->IsConstant() && in VisitAboveOrEqual()
184 instruction->GetRight()->AsConstant()->IsArithmeticZero()) { in VisitAboveOrEqual()
195 if (instruction->GetRight()->IsConstant() && in VisitBelow()
196 instruction->GetRight()->AsConstant()->IsArithmeticZero()) { in VisitBelow()
303 HConstant* cst_right = instruction->GetRight()->AsConstant(); in VisitRem()
306 (instruction->GetLeft() == instruction->GetRight())) { in VisitRem()
[all …]
Dinstruction_simplifier_shared.cc54 if (input_binop->GetRight()->IsConstant() && in TrySimpleMultiplyAccumulatePatterns()
55 input_binop->GetRight()->AsConstant()->IsMinusOne()) { in TrySimpleMultiplyAccumulatePatterns()
68 input_b = input_binop->GetRight(); in TrySimpleMultiplyAccumulatePatterns()
127 HInstruction* binop_right = binop->GetRight(); in TryCombineMultiplyAccumulate()
144 mul->GetRight()); in TryCombineMultiplyAccumulate()
157 mul->GetRight()); in TryCombineMultiplyAccumulate()
171 if (mul->GetLeft() == mul->GetRight()) { in TryCombineMultiplyAccumulate()
176 HInstruction* right = mul->GetRight(); in TryCombineMultiplyAccumulate()
192 HInstruction* right = op->GetRight(); in TryMergeNegatedInput()
318 HInstruction* binop_right = binop->GetRight(); in TryCombineVecMultiplyAccumulate()
[all …]
Dnodes_shared.cc30 *shift_amount = instruction->AsShl()->GetRight()->AsIntConstant()->GetValue(); in GetOpInfoFromInstruction()
33 *shift_amount = instruction->AsShr()->GetRight()->AsIntConstant()->GetValue(); in GetOpInfoFromInstruction()
36 *shift_amount = instruction->AsUShr()->GetRight()->AsIntConstant()->GetValue(); in GetOpInfoFromInstruction()
Dinstruction_simplifier.cc168 DCHECK(binop->GetLeft()->IsNeg() && binop->GetRight()->IsNeg()); in TryMoveNegOnInputsAfterBinop()
170 HNeg* right_neg = binop->GetRight()->AsNeg(); in TryMoveNegOnInputsAfterBinop()
203 HInstruction* right = op->GetRight(); in TryDeMorganNegationFactoring()
254 HInstruction* shift_amount = instruction->GetRight(); in VisitShift()
305 return (sub->GetRight() == other && in IsSubRegBitsMinusOther()
314 HRor* ror = new (GetGraph()->GetArena()) HRor(ushr->GetType(), ushr->GetLeft(), ushr->GetRight()); in ReplaceRotateWithRor()
319 if (!ushr->GetRight()->HasUses()) { in ReplaceRotateWithRor()
320 ushr->GetRight()->GetBlock()->RemoveInstruction(ushr->GetRight()); in ReplaceRotateWithRor()
325 if (!shl->GetRight()->HasUses()) { in ReplaceRotateWithRor()
326 shl->GetRight()->GetBlock()->RemoveInstruction(shl->GetRight()); in ReplaceRotateWithRor()
[all …]
Dscheduler_arm64.cc91 if (instr->GetRight()->IsConstant()) { in VisitDiv()
92 int64_t imm = Int64FromConstant(instr->GetRight()->AsConstant()); in VisitDiv()
159 if (instruction->GetRight()->IsConstant()) { in VisitRem()
160 int64_t imm = Int64FromConstant(instruction->GetRight()->AsConstant()); in VisitRem()
Dscheduler_arm.cc107 HInstruction* rhs = instr->GetRight(); in VisitRor()
131 HInstruction* rhs = instr->GetRight(); in HandleShiftLatencies()
503 HInstruction* rhs = instruction->GetRight(); in VisitDiv()
566 HInstruction* rhs = instruction->GetRight(); in VisitRem()
Dnodes.cc1379 if (GetLeft()->IsIntConstant() && GetRight()->IsIntConstant()) { in TryStaticEvaluation()
1380 return Evaluate(GetLeft()->AsIntConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1382 if (GetRight()->IsIntConstant()) { in TryStaticEvaluation()
1385 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1386 } else if (GetRight()->IsLongConstant()) { in TryStaticEvaluation()
1387 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsLongConstant()); in TryStaticEvaluation()
1389 } else if (GetLeft()->IsNullConstant() && GetRight()->IsNullConstant()) { in TryStaticEvaluation()
1392 return Evaluate(GetLeft()->AsNullConstant(), GetRight()->AsNullConstant()); in TryStaticEvaluation()
1394 if (GetLeft()->IsFloatConstant() && GetRight()->IsFloatConstant()) { in TryStaticEvaluation()
1395 return Evaluate(GetLeft()->AsFloatConstant(), GetRight()->AsFloatConstant()); in TryStaticEvaluation()
[all …]
Dbounds_check_elimination.cc75 HInstruction* right = bin_op->GetRight(); in IsAddOrSubAConstant()
977 HandleIf(instruction, cond->GetLeft(), cond->GetRight(), cond->GetCondition()); in VisitIf()
982 HInstruction* right = add->GetRight(); in VisitAdd()
997 HInstruction* right = sub->GetRight(); in VisitSub()
1056 HInstruction* right = instruction->GetRight(); in FindAndHandlePartialArrayLength()
1110 if (instruction->GetRight()->IsIntConstant()) { in VisitAnd()
1111 int32_t constant = instruction->GetRight()->AsIntConstant()->GetValue(); in VisitAnd()
Dnodes_vector.h178 HInstruction* GetRight() const { return InputAt(1); } in GetRight() function
Dnodes.h3250 HInstruction* GetRight() const { return InputAt(1); } in GetRight() function
Dcode_generator_arm_vixl.cc3454 cond->GetRight()->GetType() == Primitive::kPrimBoolean && in HandleCondition()