Searched refs:GetLeft (Results 1 – 14 of 14) sorted by relevance
/art/compiler/optimizing/ |
D | constant_folding.cc | 155 if (inst->GetLeft()->IsSelect() == inst->GetRight()->IsSelect()) { in TryRemoveBinaryOperationViaSelect() 164 const bool left_is_select = inst->GetLeft()->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() 273 HInstruction* left = condition->GetLeft(); in VisitIf() 310 left = variable->AsCompare()->GetLeft(); in VisitIf() 635 HInstruction* left = instruction->GetLeft(); in VisitShift() 647 if (instruction->GetLeft() == instruction->GetRight() && in VisitEqual() 648 !DataType::IsFloatingPointType(instruction->GetLeft()->GetType())) { in VisitEqual() 656 } else if ((instruction->GetLeft()->IsNullConstant() && !instruction->GetRight()->CanBeNull()) || in VisitEqual() [all …]
|
D | instruction_simplifier_riscv64.cc | 64 auto* const add_other_input = add->GetLeft() == shl ? add->GetRight() : add->GetLeft(); in TryReplaceShiftAddWithOneInstruction() 66 HRiscv64ShiftAdd(shl->GetLeft(), add_other_input, distance); in TryReplaceShiftAddWithOneInstruction() 82 auto* const left = add->GetLeft(); in VisitAdd()
|
D | instruction_simplifier_shared.cc | 62 input_b = input_binop->GetLeft(); in TrySimpleMultiplyAccumulatePatterns() 64 } else if (input_binop->GetLeft()->IsConstant() && in TrySimpleMultiplyAccumulatePatterns() 65 input_binop->GetLeft()->AsConstant()->IsOne()) { in TrySimpleMultiplyAccumulatePatterns() 128 HInstruction* binop_left = binop->GetLeft(); in TryCombineMultiplyAccumulate() 145 mul->GetLeft(), in TryCombineMultiplyAccumulate() 158 mul->GetLeft(), in TryCombineMultiplyAccumulate() 173 if (mul->GetLeft() == mul->GetRight()) { in TryCombineMultiplyAccumulate() 177 HInstruction* left = mul->GetLeft(); in TryCombineMultiplyAccumulate() 302 HInstruction* last_sub_left = last_sub->GetLeft(); in TryReplaceSubSubWithSubAdd()
|
D | code_generator_utils.cc | 148 if (cond->GetLeft() == value) { in IsComparedValueNonNegativeInBlock() 160 if (IsNonNegativeUse(cond, cond->GetLeft())) { in IsComparedValueNonNegativeInBlock() 171 if (cond->GetLeft() == value) { in IsComparedValueNonNegativeInBlock() 183 if (IsNonNegativeUse(cond, cond->GetLeft())) { in IsComparedValueNonNegativeInBlock()
|
D | instruction_simplifier_x86_shared.cc | 32 HInstruction* left = instruction->GetLeft(); in TryCombineAndNot() 70 HInstruction* left = instruction->GetLeft(); in TryGenerateResetLeastSetBit() 101 HInstruction* left = instruction->GetLeft(); in TryGenerateMaskUptoLeastSetBit()
|
D | instruction_simplifier.cc | 196 DCHECK(binop->GetLeft()->IsNeg() && binop->GetRight()->IsNeg()); in TryMoveNegOnInputsAfterBinop() 197 HNeg* left_neg = binop->GetLeft()->AsNeg(); in TryMoveNegOnInputsAfterBinop() 230 HInstruction* left = op->GetLeft(); in TryDeMorganNegationFactoring() 319 HInstruction* binop_left = vec_binop->GetLeft(); in TryCombineVecMultiplyAccumulate() 347 mul->GetLeft(), in TryCombineVecMultiplyAccumulate() 433 HInstruction* shr_value = instruction->GetLeft(); in TryReplaceShiftsByConstantWithTypeConversion() 456 HInstruction* shl_value = shl->GetLeft(); in TryReplaceShiftsByConstantWithTypeConversion() 477 HInstruction* value = instruction->GetLeft(); in VisitShift() 551 sub->GetLeft()->IsConstant() && in IsSubRegBitsMinusOther() 552 (Int64FromConstant(sub->GetLeft()->AsConstant()) & (reg_bits - 1)) == 0); in IsSubRegBitsMinusOther() [all …]
|
D | instruction_simplifier_shared.h | 59 return right->IsSub() && right->AsSub()->GetLeft()->IsShl(); in IsSubRightSubLeftShl()
|
D | bounds_check_elimination.cc | 75 HInstruction* left = bin_op->GetLeft(); 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() 1051 if (!mul->GetLeft()->IsDiv() || !mul->GetRight()->IsConstant()) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor() 1054 div = mul->GetLeft()->AsDiv(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor() 1062 div = shl->GetLeft()->AsDiv(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor() 1063 if (add->GetLeft() != div) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor() 1074 HShl* shl = sub->GetLeft()->AsShlOrNull(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor() 1079 div = shl->GetLeft()->AsDiv(); in TryToAssignRangeIfOptimizedRemWithConstantDivisor() 1089 div->GetLeft() != instruction->GetLeft()) { in TryToAssignRangeIfOptimizedRemWithConstantDivisor() [all …]
|
D | scheduler_arm.cc | 318 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in HandleGenerateLongTestConstant() 384 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in HandleGenerateLongTest() 415 const DataType::Type type = condition->GetLeft()->GetType(); in HandleGenerateTest() 431 if (condition->GetLeft()->GetType() == DataType::Type::kInt64) { in CanGenerateTest() 469 DCHECK_EQ(cond->GetLeft()->GetType(), DataType::Type::kInt64); in HandleGenerateEqualLong() 490 DCHECK_EQ(cond->GetLeft()->GetType(), DataType::Type::kInt64); in HandleGenerateConditionLong() 540 const DataType::Type type = cond->GetLeft()->GetType(); in HandleGenerateConditionIntegralOrNonPrimitive() 598 const DataType::Type type = cond->GetLeft()->GetType(); in HandleCondition()
|
D | dead_code_elimination.cc | 489 if (block_cond->GetLeft() != dominator_cond->GetLeft() || in MaybeAddPhi()
|
D | nodes.cc | 1823 return TryStaticEvaluation(GetLeft(), GetRight()); in TryStaticEvaluation() 1854 } else if (IsCommutative() && GetLeft()->IsConstant()) { in GetConstantRight() 1855 return GetLeft()->AsConstant(); in GetConstantRight() 1867 } else if (most_constant_right == GetLeft()) { in GetLeastConstantLeft() 1870 return GetLeft(); in GetLeastConstantLeft()
|
D | nodes_vector.h | 313 HInstruction* GetLeft() const { return InputAt(0); } in GetLeft() function
|
D | code_generator_arm_vixl.cc | 1366 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateLongTestConstant() 1487 DCHECK_EQ(condition->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateLongTest() 1557 const DataType::Type type = condition->GetLeft()->GetType(); in GenerateTest() 1612 DCHECK_EQ(cond->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateEqualLong() 1668 DCHECK_EQ(cond->GetLeft()->GetType(), DataType::Type::kInt64); in GenerateConditionLong() 1733 const DataType::Type type = cond->GetLeft()->GetType(); in GenerateConditionIntegralOrNonPrimitive() 3379 const DataType::Type type = cond->GetLeft()->GetType(); in HandleCondition()
|
D | nodes.h | 3932 HInstruction* GetLeft() const { return InputAt(0); }
|