diff options
author | Tobias Grosser <tobias@grosser.es> | 2015-12-13 19:59:01 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2015-12-13 19:59:01 +0000 |
commit | a535dff471ebac369751c69bc0a4cdf9e1d11cd3 (patch) | |
tree | 26a18247b3d6b531393b6d7ff3fea5bbb82282cd /lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/nested.cpp | |
parent | b8d2644732ab7609bd121a07edd72b46ea6ff0cc (diff) | |
download | bcm5719-llvm-a535dff471ebac369751c69bc0a4cdf9e1d11cd3.tar.gz bcm5719-llvm-a535dff471ebac369751c69bc0a4cdf9e1d11cd3.zip |
ScopInfo: Harmonize the different array kinds
Over time different vocabulary has been introduced to describe the different
memory objects in Polly, resulting in different - often inconsistent - naming
schemes in different parts of Polly. We now standartize this to the following
scheme:
KindArray, KindValue, KindPHI, KindExitPHI
| ------- isScalar -----------|
In most cases this naming scheme has already been used previously (this
minimizes changes and ensures we remain consistent with previous publications).
The main change is that we remove KindScalar to clearify the difference between
a scalar as a memory object of kind Value, PHI or ExitPHI and a value (former
KindScalar) which is a memory object modeling a llvm::Value.
We also move all documentation to the Kind* enum in the ScopArrayInfo class,
remove the second enum in the MemoryAccess class and update documentation to be
formulated from the perspective of the memory object, rather than the memory
access. The terms "Implicit"/"Explicit", formerly used to describe memory
accesses, have been dropped. From the perspective of memory accesses they
described the different memory kinds well - especially from the perspective of
code generation - but just from the perspective of a memory object it seems more
straightforward to talk about scalars and arrays, rather than explicit and
implicit arrays. The last comment is clearly subjective, though. A less
subjective reason to go for these terms is the historic use both in mailing list
discussions and publications.
llvm-svn: 255467
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/nested.cpp')
0 files changed, 0 insertions, 0 deletions