/art/compiler/optimizing/ |
D | instruction_simplifier_shared.cc | 56 if (input_binop->GetRight()->IsConstant() && in TrySimpleMultiplyAccumulatePatterns() 57 input_binop->GetRight()->AsConstant()->IsMinusOne()) { in TrySimpleMultiplyAccumulatePatterns() 70 input_b = input_binop->GetRight(); in TrySimpleMultiplyAccumulatePatterns() 129 HInstruction* binop_right = binop->GetRight(); in TryCombineMultiplyAccumulate() 146 mul->GetRight()); in TryCombineMultiplyAccumulate() 159 mul->GetRight()); in TryCombineMultiplyAccumulate() 173 if (mul->GetLeft() == mul->GetRight()) { in TryCombineMultiplyAccumulate() 178 HInstruction* right = mul->GetRight(); in TryCombineMultiplyAccumulate() 298 DCHECK(last_sub->GetRight()->IsSub()); in TryReplaceSubSubWithSubAdd() 301 HInstruction* last_sub_right = last_sub->GetRight(); in TryReplaceSubSubWithSubAdd()
|
D | instruction_simplifier_riscv64.cc | 51 if (!shl->GetRight()->IsIntConstant()) { in TryReplaceShiftAddWithOneInstruction() 55 const int32_t distance = shl->GetRight()->AsIntConstant()->GetValue(); in TryReplaceShiftAddWithOneInstruction() 64 auto* const add_other_input = add->GetLeft() == shl ? add->GetRight() : add->GetLeft(); in TryReplaceShiftAddWithOneInstruction() 83 auto* const right = add->GetRight(); in VisitAdd()
|
D | constant_folding.cc | 155 if (inst->GetLeft()->IsSelect() == inst->GetRight()->IsSelect()) { in TryRemoveBinaryOperationViaSelect() 165 HSelect* select = left_is_select ? inst->GetLeft()->AsSelect() : inst->GetRight()->AsSelect(); in TryRemoveBinaryOperationViaSelect() 166 HInstruction* maybe_constant = left_is_select ? inst->GetRight() : inst->GetLeft(); in TryRemoveBinaryOperationViaSelect() 274 HInstruction* right = condition->GetRight(); in VisitIf() 311 right = variable->AsCompare()->GetRight(); in VisitIf() 647 if (instruction->GetLeft() == instruction->GetRight() && in VisitEqual() 656 } else if ((instruction->GetLeft()->IsNullConstant() && !instruction->GetRight()->CanBeNull()) || in VisitEqual() 657 (instruction->GetRight()->IsNullConstant() && !instruction->GetLeft()->CanBeNull())) { in VisitEqual() 668 if (instruction->GetLeft() == instruction->GetRight() && in VisitNotEqual() 677 } else if ((instruction->GetLeft()->IsNullConstant() && !instruction->GetRight()->CanBeNull()) || in VisitNotEqual() [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 | 196 DCHECK(binop->GetLeft()->IsNeg() && binop->GetRight()->IsNeg()); in TryMoveNegOnInputsAfterBinop() 198 HNeg* right_neg = binop->GetRight()->AsNeg(); in TryMoveNegOnInputsAfterBinop() 231 HInstruction* right = op->GetRight(); in TryDeMorganNegationFactoring() 320 HInstruction* binop_right = vec_binop->GetRight(); in TryCombineVecMultiplyAccumulate() 348 mul->GetRight(), in TryCombineVecMultiplyAccumulate() 399 HInstruction* shr_amount = instruction->GetRight(); in TryReplaceShiftsByConstantWithTypeConversion() 444 if (shl->GetRight() != shr_amount) { in TryReplaceShiftsByConstantWithTypeConversion() 476 HInstruction* shift_amount = instruction->GetRight(); in VisitShift() 550 return (sub->GetRight() == other && in IsSubRegBitsMinusOther() 560 new (GetGraph()->GetAllocator()) HRor(ushr->GetType(), ushr->GetLeft(), ushr->GetRight()); in ReplaceRotateWithRor() [all …]
|
D | instruction_simplifier_x86_shared.cc | 33 HInstruction* right = instruction->GetRight(); in TryCombineAndNot() 71 HInstruction* right = instruction->GetRight(); in TryGenerateResetLeastSetBit() 102 HInstruction* right = instruction->GetRight(); in TryGenerateMaskUptoLeastSetBit()
|
D | bounds_check_elimination.cc | 76 HInstruction* right = bin_op->GetRight(); in IsAddOrSubAConstant() 1013 HandleIf(instruction, cond->GetLeft(), cond->GetRight(), cond->GetCondition()); in VisitIf() 1045 return shl != nullptr && shl->GetRight()->IsConstant() && shl->GetLeft()->IsDiv(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor() 1050 if (HMul* mul = instruction->GetRight()->AsMulOrNull()) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor() 1051 if (!mul->GetLeft()->IsDiv() || !mul->GetRight()->IsConstant()) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor() 1055 const_divisor = Int64FromConstant(mul->GetRight()->AsConstant()); in TryToAssignRangeIfOptimizedRemWithConstantDivisor() 1056 } else if (HAdd* add = instruction->GetRight()->AsAddOrNull()) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor() 1057 HShl* shl = add->GetRight()->AsShlOrNull(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor() 1067 int32_t n = shl->GetRight()->AsIntConstant()->GetValue(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor() 1073 } else if (HSub* sub = instruction->GetRight()->AsSubOrNull()) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor() [all …]
|
D | scheduler_arm64.cc | 202 if (instr->GetRight()->IsConstant()) { in VisitDiv() 203 int64_t imm = Int64FromConstant(instr->GetRight()->AsConstant()); in VisitDiv() 270 if (instruction->GetRight()->IsConstant()) { in VisitRem() 271 int64_t imm = Int64FromConstant(instruction->GetRight()->AsConstant()); in VisitRem()
|
D | instruction_simplifier_shared.h | 58 HInstruction* right = sub->GetRight(); in IsSubRightSubLeftShl()
|
D | scheduler_arm.cc | 221 HInstruction* rhs = instr->GetRight(); in VisitRor() 245 HInstruction* rhs = instr->GetRight(); in HandleShiftLatencies() 610 cond->GetRight()->GetType() == DataType::Type::kBool && in HandleCondition() 945 HInstruction* rhs = instruction->GetRight(); in VisitDiv() 1008 HInstruction* rhs = instruction->GetRight(); in VisitRem()
|
D | instruction_simplifier_arm.cc | 280 HInstruction* shl = instruction->GetRight()->InputAt(0); in VisitSub()
|
D | instruction_simplifier_arm64.cc | 251 HInstruction* shl = instruction->GetRight()->InputAt(0); in VisitSub()
|
D | dead_code_elimination.cc | 490 block_cond->GetRight() != dominator_cond->GetRight() || in MaybeAddPhi()
|
D | nodes.cc | 1823 return TryStaticEvaluation(GetLeft(), GetRight()); in TryStaticEvaluation() 1852 if (GetRight()->IsConstant()) { in GetConstantRight() 1853 return GetRight()->AsConstant(); in GetConstantRight() 1868 return GetRight(); in GetLeastConstantLeft()
|
D | nodes_vector.h | 314 HInstruction* GetRight() const { return InputAt(1); } in GetRight() function
|
D | nodes.h | 3933 HInstruction* GetRight() const { return InputAt(1); }
|
D | code_generator_arm_vixl.cc | 3394 cond->GetRight()->GetType() == DataType::Type::kBool && in HandleCondition()
|