Lines Matching refs:index2
322 bool MayAlias(size_t index1, size_t index2) const { in MayAlias() argument
323 if (index1 < index2) { in MayAlias()
324 return aliasing_matrix_.IsBitSet(AliasingMatrixPosition(index1, index2)); in MayAlias()
325 } else if (index1 > index2) { in MayAlias()
326 return aliasing_matrix_.IsBitSet(AliasingMatrixPosition(index2, index1)); in MayAlias()
386 size_t AliasingMatrixPosition(size_t index1, size_t index2) const { in AliasingMatrixPosition() argument
387 DCHECK(index2 > index1); in AliasingMatrixPosition()
390 return (number_of_locations * index1 - (1 + index1) * index1 / 2 + (index2 - index1 - 1)); in AliasingMatrixPosition()
394 size_t CheckedAliasingMatrixPosition(size_t index1, size_t index2, size_t position) { in CheckedAliasingMatrixPosition() argument
395 size_t calculated_position = AliasingMatrixPosition(index1, index2); in CheckedAliasingMatrixPosition()
401 bool ComputeMayAlias(size_t index1, size_t index2) const { in ComputeMayAlias() argument
402 DCHECK_NE(index1, index2); in ComputeMayAlias()
404 HeapLocation* loc2 = heap_locations_[index2]; in ComputeMayAlias()