Lines Matching refs:idx2
39 const HInstruction* idx2, in CanBinaryOpAndIndexAlias() argument
45 if (idx1->AsBinaryOperation()->GetLeastConstantLeft() != idx2) { in CanBinaryOpAndIndexAlias()
66 const HBinaryOperation* idx2, in CanBinaryOpsAlias() argument
68 if (!IsAddOrSub(idx1) || !IsAddOrSub(idx2)) { in CanBinaryOpsAlias()
73 idx2->AsBinaryOperation()->GetLeastConstantLeft()) { in CanBinaryOpsAlias()
78 !idx2->GetConstantRight()->IsIntConstant()) { in CanBinaryOpsAlias()
87 int64_t l2 = idx2->IsAdd() ? in CanBinaryOpsAlias()
88 idx2->GetConstantRight()->AsIntConstant()->GetValue() : in CanBinaryOpsAlias()
89 -idx2->GetConstantRight()->AsIntConstant()->GetValue(); in CanBinaryOpsAlias()
97 const HInstruction* idx2, in CanArrayElementsAlias() argument
100 DCHECK(idx2 != nullptr); in CanArrayElementsAlias()
105 if (idx1 == idx2) { in CanArrayElementsAlias()
110 if (idx1->IsIntConstant() && idx2->IsIntConstant()) { in CanArrayElementsAlias()
112 int64_t l2 = idx2->AsIntConstant()->GetValue(); in CanArrayElementsAlias()
123 idx1->AsBinaryOperation()->GetLeastConstantLeft() == idx2) { in CanArrayElementsAlias()
126 idx2, in CanArrayElementsAlias()
131 if (idx2->IsBinaryOperation() && in CanArrayElementsAlias()
132 idx2->AsBinaryOperation()->GetConstantRight() != nullptr && in CanArrayElementsAlias()
133 idx2->AsBinaryOperation()->GetLeastConstantLeft() == idx1) { in CanArrayElementsAlias()
134 return CanBinaryOpAndIndexAlias(idx2->AsBinaryOperation(), in CanArrayElementsAlias()
143 idx2->IsBinaryOperation() && in CanArrayElementsAlias()
144 idx2->AsBinaryOperation()->GetConstantRight() != nullptr) { in CanArrayElementsAlias()
147 idx2->AsBinaryOperation(), in CanArrayElementsAlias()