aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorCongzhe Cao <congzhe.cao@huawei.com>2022-06-16 16:03:30 -0400
committerCongzheUalberta <congzhecao@gmail.com>2022-06-16 16:03:41 -0400
commit4c77d0276b8351e533888c8e0c4e4df0277c583f (patch)
treed84ae78a3b70e5732ddc2a0dd449942e130ceb00 /llvm/lib/Object/COFFObjectFile.cpp
parenta9dccb0072af5bd1704a6e364864f8c0e0d02d62 (diff)
downloadllvm-4c77d0276b8351e533888c8e0c4e4df0277c583f.zip
llvm-4c77d0276b8351e533888c8e0c4e4df0277c583f.tar.gz
llvm-4c77d0276b8351e533888c8e0c4e4df0277c583f.tar.bz2
[Delinearization] Refactoring of fixed-size array delinearization
This is a follow-up patch to D122857 where we added delinearization of fixed-size arrays to loop cache analysis, which resulted in some duplicate code, i.e., "tryDelinearizeFixedSize()", in LoopCacheCost.cpp and DependenceAnalysis.cpp. Refactoring is done in this patch. This patch refactors out the main logic of "tryDelinearizeFixedSize()" as "tryDelinearizeFixedSizeImpl()" and moves it to Delinearization.cpp, such that clients can reuse "llvm::tryDelinearizeFixedSizeImpl()" wherever they would like to delinearize fixed-size arrays. Currently it has two users, i.e., DependenceAnalysis.cpp and LoopCacheCost.cpp. Reviewed By: Meinersbur, #loopoptwg Differential Revision: https://reviews.llvm.org/D124745
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions