Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dconstant_folding.cc148 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()
184 if (instruction->GetRight()->IsConstant() && in VisitAboveOrEqual()
185 instruction->GetRight()->AsConstant()->IsArithmeticZero()) { in VisitAboveOrEqual()
196 if (instruction->GetRight()->IsConstant() && in VisitBelow()
197 instruction->GetRight()->AsConstant()->IsArithmeticZero()) { in VisitBelow()
304 HConstant* cst_right = instruction->GetRight()->AsConstant(); in VisitRem()
307 (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()
Dnodes_shared.cc36 *shift_amount = instruction->AsShl()->GetRight()->AsIntConstant()->GetValue(); in GetOpInfoFromInstruction()
39 *shift_amount = instruction->AsShr()->GetRight()->AsIntConstant()->GetValue(); in GetOpInfoFromInstruction()
42 *shift_amount = instruction->AsUShr()->GetRight()->AsIntConstant()->GetValue(); in GetOpInfoFromInstruction()
Dinstruction_simplifier.cc181 DCHECK(binop->GetLeft()->IsNeg() && binop->GetRight()->IsNeg()); in TryMoveNegOnInputsAfterBinop()
183 HNeg* right_neg = binop->GetRight()->AsNeg(); in TryMoveNegOnInputsAfterBinop()
216 HInstruction* right = op->GetRight(); in TryDeMorganNegationFactoring()
312 HInstruction* binop_right = binop->GetRight(); in TryCombineVecMultiplyAccumulate()
330 mul->GetRight(), in TryCombineVecMultiplyAccumulate()
348 HInstruction* shift_amount = instruction->GetRight(); in VisitShift()
417 return (sub->GetRight() == other && in IsSubRegBitsMinusOther()
427 new (GetGraph()->GetAllocator()) HRor(ushr->GetType(), ushr->GetLeft(), ushr->GetRight()); in ReplaceRotateWithRor()
432 if (!ushr->GetRight()->HasUses()) { in ReplaceRotateWithRor()
433 ushr->GetRight()->GetBlock()->RemoveInstruction(ushr->GetRight()); in ReplaceRotateWithRor()
[all …]
Dinstruction_simplifier_x86_shared.cc32 HInstruction* right = instruction->GetRight(); in TryCombineAndNot()
70 HInstruction* right = instruction->GetRight(); in TryGenerateResetLeastSetBit()
101 HInstruction* right = instruction->GetRight(); in TryGenerateMaskUptoLeastSetBit()
Dscheduler_arm64.cc93 if (instr->GetRight()->IsConstant()) { in VisitDiv()
94 int64_t imm = Int64FromConstant(instr->GetRight()->AsConstant()); in VisitDiv()
161 if (instruction->GetRight()->IsConstant()) { in VisitRem()
162 int64_t imm = Int64FromConstant(instruction->GetRight()->AsConstant()); in VisitRem()
Dscheduler_arm.cc110 HInstruction* rhs = instr->GetRight(); in VisitRor()
134 HInstruction* rhs = instr->GetRight(); in HandleShiftLatencies()
499 cond->GetRight()->GetType() == DataType::Type::kBool && in HandleCondition()
834 HInstruction* rhs = instruction->GetRight(); in VisitDiv()
897 HInstruction* rhs = instruction->GetRight(); in VisitRem()
Dnodes.cc1659 if (GetLeft()->IsIntConstant() && GetRight()->IsIntConstant()) { in TryStaticEvaluation()
1660 return Evaluate(GetLeft()->AsIntConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1662 if (GetRight()->IsIntConstant()) { in TryStaticEvaluation()
1665 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1666 } else if (GetRight()->IsLongConstant()) { in TryStaticEvaluation()
1667 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsLongConstant()); in TryStaticEvaluation()
1669 } else if (GetLeft()->IsNullConstant() && GetRight()->IsNullConstant()) { in TryStaticEvaluation()
1672 return Evaluate(GetLeft()->AsNullConstant(), GetRight()->AsNullConstant()); in TryStaticEvaluation()
1674 if (GetLeft()->IsFloatConstant() && GetRight()->IsFloatConstant()) { in TryStaticEvaluation()
1675 return Evaluate(GetLeft()->AsFloatConstant(), GetRight()->AsFloatConstant()); in TryStaticEvaluation()
[all …]
Dbounds_check_elimination.cc76 HInstruction* right = bin_op->GetRight(); in IsAddOrSubAConstant()
1000 HandleIf(instruction, cond->GetLeft(), cond->GetRight(), cond->GetCondition()); in VisitIf()
1005 HInstruction* right = add->GetRight(); in VisitAdd()
1020 HInstruction* right = sub->GetRight(); in VisitSub()
1079 HInstruction* right = instruction->GetRight(); in FindAndHandlePartialArrayLength()
1133 if (instruction->GetRight()->IsIntConstant()) { in VisitAnd()
1134 int32_t constant = instruction->GetRight()->AsIntConstant()->GetValue(); in VisitAnd()
1149 HInstruction* right = instruction->GetRight(); in VisitRem()
Dnodes_vector.h246 HInstruction* GetRight() const { return InputAt(1); } in GetRight() function
Dnodes.h3523 HInstruction* GetRight() const { return InputAt(1); } in GetRight() function
Dcode_generator_arm_vixl.cc2936 cond->GetRight()->GetType() == DataType::Type::kBool && in HandleCondition()