Simplify AccFuncMap to vector<> AccessFunctions
authorRoman Gareev <gareevroman@gmail.com>
Sun, 21 Aug 2016 11:09:19 +0000 (11:09 +0000)
committerRoman Gareev <gareevroman@gmail.com>
Sun, 21 Aug 2016 11:09:19 +0000 (11:09 +0000)
commite2ee79afde0ba45e427b8c7781e944af80cbbe2d
tree1fc78b9f06be594c526bb88d5622b50122051c38
parent9ae797a7984aad0e0b09f2b030e7786cf395ab58
Simplify AccFuncMap to vector<> AccessFunctions

getAccessFunctions() is dead code and the 'BB' argument
of getOrCreateAccessFunctions() is not used. This patch deletes
getAccessFunctions and transforms AccFuncMap into
a std::vector<std::unique_ptr<MemoryAccess>> AccessFunctions.

Reviewed-by: Tobias Grosser <tobias@grosser.es>
Differential Revision: https://reviews.llvm.org/D23759

llvm-svn: 279394
polly/include/polly/ScopInfo.h
polly/lib/Analysis/ScopBuilder.cpp
polly/lib/Analysis/ScopInfo.cpp