Home
last modified time | relevance | path

Searched refs:GetRight (Results 1 – 15 of 15) 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()
232 HInstruction* right = instruction->GetRight(); in VisitAnd()
324 HConstant* cst_right = instruction->GetRight()->AsConstant(); 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()
340 DCHECK(last_sub->GetRight()->IsSub()); in TryReplaceSubSubWithSubAdd()
[all …]
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.cc188 DCHECK(binop->GetLeft()->IsNeg() && binop->GetRight()->IsNeg()); in TryMoveNegOnInputsAfterBinop()
190 HNeg* right_neg = binop->GetRight()->AsNeg(); in TryMoveNegOnInputsAfterBinop()
223 HInstruction* right = op->GetRight(); in TryDeMorganNegationFactoring()
308 HInstruction* binop_right = binop->GetRight(); in TryCombineVecMultiplyAccumulate()
326 mul->GetRight(), in TryCombineVecMultiplyAccumulate()
344 HInstruction* shift_amount = instruction->GetRight(); in VisitShift()
413 return (sub->GetRight() == other && in IsSubRegBitsMinusOther()
423 new (GetGraph()->GetAllocator()) HRor(ushr->GetType(), ushr->GetLeft(), ushr->GetRight()); in ReplaceRotateWithRor()
428 if (!ushr->GetRight()->HasUses()) { in ReplaceRotateWithRor()
429 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()
Dbounds_check_elimination.cc76 HInstruction* right = bin_op->GetRight(); in IsAddOrSubAConstant()
1000 HandleIf(instruction, cond->GetLeft(), cond->GetRight(), cond->GetCondition()); in VisitIf()
1032 return shl != nullptr && shl->GetRight()->IsConstant() && shl->GetLeft()->IsDiv(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1037 if (HMul* mul = instruction->GetRight()->AsMul()) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1038 if (!mul->GetLeft()->IsDiv() || !mul->GetRight()->IsConstant()) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1042 const_divisor = Int64FromConstant(mul->GetRight()->AsConstant()); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1043 } else if (HAdd* add = instruction->GetRight()->AsAdd()) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1044 HShl* shl = add->GetRight()->AsShl(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1054 int32_t n = shl->GetRight()->AsIntConstant()->GetValue(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
1060 } else if (HSub* sub = instruction->GetRight()->AsSub()) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor()
[all …]
Dinstruction_simplifier_shared.h55 HInstruction* right = sub->GetRight(); in IsSubRightSubLeftShl()
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.cc1658 if (GetLeft()->IsIntConstant() && GetRight()->IsIntConstant()) { in TryStaticEvaluation()
1659 return Evaluate(GetLeft()->AsIntConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1661 if (GetRight()->IsIntConstant()) { in TryStaticEvaluation()
1664 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation()
1665 } else if (GetRight()->IsLongConstant()) { in TryStaticEvaluation()
1666 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsLongConstant()); in TryStaticEvaluation()
1668 } else if (GetLeft()->IsNullConstant() && GetRight()->IsNullConstant()) { in TryStaticEvaluation()
1671 return Evaluate(GetLeft()->AsNullConstant(), GetRight()->AsNullConstant()); in TryStaticEvaluation()
1673 if (GetLeft()->IsFloatConstant() && GetRight()->IsFloatConstant()) { in TryStaticEvaluation()
1674 return Evaluate(GetLeft()->AsFloatConstant(), GetRight()->AsFloatConstant()); in TryStaticEvaluation()
[all …]
Dinstruction_simplifier_arm.cc275 HInstruction* shl = instruction->GetRight()->InputAt(0); in VisitSub()
Dinstruction_simplifier_arm64.cc246 HInstruction* shl = instruction->GetRight()->InputAt(0); in VisitSub()
Dnodes_vector.h305 HInstruction* GetRight() const { return InputAt(1); } in GetRight() function
Dnodes.h3595 HInstruction* GetRight() const { return InputAt(1); } in GetRight() function
Dcode_generator_arm_vixl.cc3130 cond->GetRight()->GetType() == DataType::Type::kBool && in HandleCondition()