/art/compiler/optimizing/ |
D | constant_folding.cc | 148 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 …]
|
D | instruction_simplifier_shared.cc | 54 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 …]
|
D | nodes_shared.cc | 36 *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()
|
D | code_generator_utils.cc | 151 if (IsNonNegativeUse(cond, cond->GetRight())) { in IsComparedValueNonNegativeInBlock() 157 DCHECK_EQ(cond->GetRight(), value); in IsComparedValueNonNegativeInBlock() 174 if (IsNonNegativeUse(cond, cond->GetRight())) { in IsComparedValueNonNegativeInBlock() 180 DCHECK_EQ(cond->GetRight(), value); in IsComparedValueNonNegativeInBlock()
|
D | instruction_simplifier.cc | 190 DCHECK(binop->GetLeft()->IsNeg() && binop->GetRight()->IsNeg()); in TryMoveNegOnInputsAfterBinop() 192 HNeg* right_neg = binop->GetRight()->AsNeg(); in TryMoveNegOnInputsAfterBinop() 225 HInstruction* right = op->GetRight(); in TryDeMorganNegationFactoring() 314 HInstruction* binop_right = vec_binop->GetRight(); in TryCombineVecMultiplyAccumulate() 342 mul->GetRight(), in TryCombineVecMultiplyAccumulate() 362 HInstruction* shift_amount = instruction->GetRight(); in VisitShift() 431 return (sub->GetRight() == other && in IsSubRegBitsMinusOther() 441 new (GetGraph()->GetAllocator()) HRor(ushr->GetType(), ushr->GetLeft(), ushr->GetRight()); in ReplaceRotateWithRor() 446 if (!ushr->GetRight()->HasUses()) { in ReplaceRotateWithRor() 447 ushr->GetRight()->GetBlock()->RemoveInstruction(ushr->GetRight()); in ReplaceRotateWithRor() [all …]
|
D | instruction_simplifier_x86_shared.cc | 32 HInstruction* right = instruction->GetRight(); in TryCombineAndNot() 70 HInstruction* right = instruction->GetRight(); in TryGenerateResetLeastSetBit() 101 HInstruction* right = instruction->GetRight(); in TryGenerateMaskUptoLeastSetBit()
|
D | scheduler_arm64.cc | 93 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()
|
D | bounds_check_elimination.cc | 76 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 …]
|
D | instruction_simplifier_shared.h | 55 HInstruction* right = sub->GetRight(); in IsSubRightSubLeftShl()
|
D | scheduler_arm.cc | 110 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() 902 HInstruction* rhs = instruction->GetRight(); in VisitRem()
|
D | nodes.cc | 1878 if (GetLeft()->IsIntConstant() && GetRight()->IsIntConstant()) { in TryStaticEvaluation() 1879 return Evaluate(GetLeft()->AsIntConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation() 1881 if (GetRight()->IsIntConstant()) { in TryStaticEvaluation() 1884 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsIntConstant()); in TryStaticEvaluation() 1885 } else if (GetRight()->IsLongConstant()) { in TryStaticEvaluation() 1886 return Evaluate(GetLeft()->AsLongConstant(), GetRight()->AsLongConstant()); 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() 1894 return Evaluate(GetLeft()->AsFloatConstant(), GetRight()->AsFloatConstant()); in TryStaticEvaluation() [all …]
|
D | instruction_simplifier_arm.cc | 275 HInstruction* shl = instruction->GetRight()->InputAt(0); in VisitSub()
|
D | instruction_simplifier_arm64.cc | 246 HInstruction* shl = instruction->GetRight()->InputAt(0); in VisitSub()
|
D | nodes_vector.h | 314 HInstruction* GetRight() const { return InputAt(1); } in GetRight() function
|
D | load_store_elimination_test.cc | 381 HInstruction* other = kind.position_ == Position::kLeft ? ins->AsBinaryOperation()->GetRight() in CheckFinalInstruction() 384 EXPECT_INS_EQ(ins->AsBinaryOperation()->GetLeft(), ins->AsBinaryOperation()->GetRight()) in CheckFinalInstruction()
|
D | nodes.h | 3785 HInstruction* GetRight() const { return InputAt(1); }
|
D | code_generator_arm_vixl.cc | 3159 cond->GetRight()->GetType() == DataType::Type::kBool && in HandleCondition()
|