Go to file
Adam Nemet d6b7e29815 [LoopAccesses] Create the analysis pass
This is a function pass that runs the analysis on demand.  The analysis
can be initiated by querying the loop access info via LAA::getInfo.  It
either returns the cached info or runs the analysis.

Symbolic stride information continues to reside outside of this analysis
pass. We may move it inside later but it's not a priority for me right
now.  The idea is that Loop Distribution won't support run-time stride
checking at least initially.

This means that when querying the analysis, symbolic stride information
can be provided optionally.  Whether stride information is used can
invalidate the cache entry and rerun the analysis.  Note that if the
loop does not have any symbolic stride, the entry should be preserved
across Loop Distribution and LV.

Since currently the only user of the pass is LV, I just check that the
symbolic stride information didn't change when using a cached result.

On the LV side, LoopVectorizationLegality requests the info object
corresponding to the loop from the analysis pass.  A large chunk of the
diff is due to LAI becoming a pointer from a reference.

A test will be added as part of the -analyze patch.

Also tested that with AVX, we generate identical assembly output for the
testsuite (including the external testsuite) before and after.

This is part of the patchset that converts LoopAccessAnalysis into an
actual analysis pass.

llvm-svn: 229626
2015-02-18 03:43:24 +00:00
clang CodeGen: Relax a FileCheck line for SystemZ 2015-02-18 02:28:15 +00:00
clang-tools-extra [clang-tidy] Fixed two wrong fix-it cases in misc-inefficient-algorithm checker. 2015-02-17 21:45:38 +00:00
compiler-rt Revert "Remove support for building sanitizers from Makefile/autoconf build." 2015-02-17 23:30:51 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Implement log10 2015-01-30 18:00:34 +00:00
libcxx [libcxx] Add <experimental/ratio> 2015-02-17 16:52:03 +00:00
libcxxabi Do not add -fno-exceptions without -funwind-tables 2015-02-16 19:51:06 +00:00
lld Fix AArhc64 ELF test failure on Windows 2015-02-17 11:16:54 +00:00
lldb [CMake] Remove debug message from CMakeLists.txt 2015-02-18 00:27:11 +00:00
llgo Build cgo and llgo-go 2015-02-14 01:46:01 +00:00
llvm [LoopAccesses] Create the analysis pass 2015-02-18 03:43:24 +00:00
openmp Fixed memory corruption problem. 2015-02-10 20:10:21 +00:00
polly Add missing files to autoconf build 2015-02-17 08:15:14 +00:00