[LAA] NFC: Rename [get]MaxSafeRegisterWidth -> [get]MaxSafeVectorWidthInBits
authorCullen Rhodes <cullen.rhodes@arm.com>
Wed, 18 Nov 2020 18:13:08 +0000 (18:13 +0000)
committerCullen Rhodes <cullen.rhodes@arm.com>
Wed, 25 Nov 2020 13:06:26 +0000 (13:06 +0000)
commit1ba4b82f67e2267b156fb77e7d0c0f43e88e9103
tree87e6f9d94cf55cfd6b33d6f76a39f477829447f2
parentecabb39ca11cba3d78a4134dfafd3bc0ee0473f4
[LAA] NFC: Rename [get]MaxSafeRegisterWidth -> [get]MaxSafeVectorWidthInBits

MaxSafeRegisterWidth is a misnomer since it actually returns the maximum
safe vector width. Register suggests it relates directly to a physical
register where it could be a vector spanning one or more physical
registers.

Reviewed By: sdesmalen

Differential Revision: https://reviews.llvm.org/D91727
llvm/include/llvm/Analysis/LoopAccessAnalysis.h
llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
llvm/lib/Analysis/LoopAccessAnalysis.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp