1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/Analysis/DependenceAnalysis
Sebastian Pop 1664c3c2ec remove constant terms
The delinearization is needed only to remove the non linearity induced by
expressions involving multiplications of parameters and induction variables.
There is no problem in dealing with constant times parameters, or constant times
an induction variable.

For this reason, the current patch discards all constant terms and multipliers
before running the delinearization algorithm on the terms. The only thing
remaining in the term expressions are parameters and multiply expressions of
parameters: these simplified term expressions are passed to the array shape
recognizer that will not recognize constant dimensions anymore: these will be
recognized as different strides in parametric subscripts.

The only important special case of a constant dimension is the size of elements.
Instead of relying on the delinearization to infer the size of an element,
compute the element size from the base address type. This is a much more precise
way of computing the element size than before, as we would have mixed together
the size of an element with the strides of the innermost dimension.

llvm-svn: 209691
2014-05-27 22:41:45 +00:00
..
Banerjee.ll split delinearization pass in 3 steps 2014-05-07 18:01:20 +00:00
Coupled.ll Modified depends() to recognize that when all levels are "=" and 2012-11-27 19:12:26 +00:00
ExactRDIV.ll Modified dump() to provide a little 2012-11-30 00:44:47 +00:00
ExactSIV.ll Modified depends() to recognize that when all levels are "=" and 2012-11-27 19:12:26 +00:00
GCD.ll remove constant terms 2014-05-27 22:41:45 +00:00
Invariant.ll (no commit message) 2013-06-28 18:44:48 +00:00
Preliminary.ll Modified depends() to recognize that when all levels are "=" and 2012-11-27 19:12:26 +00:00
Propagating.ll Modified depends() to recognize that when all levels are "=" and 2012-11-27 19:12:26 +00:00
Separability.ll Modified depends() to recognize that when all levels are "=" and 2012-11-27 19:12:26 +00:00
StrongSIV.ll Modified depends() to recognize that when all levels are "=" and 2012-11-27 19:12:26 +00:00
SymbolicRDIV.ll improve dependence analysis testcases 2013-11-12 22:47:30 +00:00
SymbolicSIV.ll Modified depends() to recognize that when all levels are "=" and 2012-11-27 19:12:26 +00:00
WeakCrossingSIV.ll Modified depends() to recognize that when all levels are "=" and 2012-11-27 19:12:26 +00:00
WeakZeroDstSIV.ll Modified depends() to recognize that when all levels are "=" and 2012-11-27 19:12:26 +00:00
WeakZeroSrcSIV.ll Modified depends() to recognize that when all levels are "=" and 2012-11-27 19:12:26 +00:00
ZIV.ll Modified dump() to provide a little 2012-11-30 00:44:47 +00:00