Lines Matching refs:idx2
35 const HInstruction* idx2, in CanBinaryOpAndIndexAlias() argument
41 if (idx1->AsBinaryOperation()->GetLeastConstantLeft() != idx2) { in CanBinaryOpAndIndexAlias()
62 const HBinaryOperation* idx2, in CanBinaryOpsAlias() argument
64 if (!IsAddOrSub(idx1) || !IsAddOrSub(idx2)) { in CanBinaryOpsAlias()
69 idx2->AsBinaryOperation()->GetLeastConstantLeft()) { in CanBinaryOpsAlias()
74 !idx2->GetConstantRight()->IsIntConstant()) { in CanBinaryOpsAlias()
83 int64_t l2 = idx2->IsAdd() ? in CanBinaryOpsAlias()
84 idx2->GetConstantRight()->AsIntConstant()->GetValue() : in CanBinaryOpsAlias()
85 -idx2->GetConstantRight()->AsIntConstant()->GetValue(); in CanBinaryOpsAlias()
93 const HInstruction* idx2, in CanArrayElementsAlias() argument
96 DCHECK(idx2 != nullptr); in CanArrayElementsAlias()
101 if (idx1 == idx2) { in CanArrayElementsAlias()
106 if (idx1->IsIntConstant() && idx2->IsIntConstant()) { in CanArrayElementsAlias()
108 int64_t l2 = idx2->AsIntConstant()->GetValue(); in CanArrayElementsAlias()
119 idx1->AsBinaryOperation()->GetLeastConstantLeft() == idx2) { in CanArrayElementsAlias()
122 idx2, in CanArrayElementsAlias()
127 if (idx2->IsBinaryOperation() && in CanArrayElementsAlias()
128 idx2->AsBinaryOperation()->GetConstantRight() != nullptr && in CanArrayElementsAlias()
129 idx2->AsBinaryOperation()->GetLeastConstantLeft() == idx1) { in CanArrayElementsAlias()
130 return CanBinaryOpAndIndexAlias(idx2->AsBinaryOperation(), in CanArrayElementsAlias()
139 idx2->IsBinaryOperation() && in CanArrayElementsAlias()
140 idx2->AsBinaryOperation()->GetConstantRight() != nullptr) { in CanArrayElementsAlias()
143 idx2->AsBinaryOperation(), in CanArrayElementsAlias()