summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2016-09-01 19:53:31 +0000
committerMichael Kruse <llvm@meinersbur.de>2016-09-01 19:53:31 +0000
commit2fa35194632ce6ebfa2d6782afd62e1274d2e225 (patch)
tree8f4280816e8db990501772e386002a1fa01b0824 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp
parenta78187a385f742dfa53c172772dee2fdb9bfe6bc (diff)
downloadbcm5719-llvm-2fa35194632ce6ebfa2d6782afd62e1274d2e225.tar.gz
bcm5719-llvm-2fa35194632ce6ebfa2d6782afd62e1274d2e225.zip
Allow mapping scalar MemoryAccesses to array elements.
Change the code around setNewAccessRelation to allow to use a an existing array element for memory instead of an ad-hoc alloca. This facility will be used for DeLICM/DeGVN to convert scalar dependencies into regular ones. The changes necessary include: - Make the code generator use the implicit locations instead of the alloca ones. - A test case - Make the JScop importer accept changes of scalar accesses for that test case. - Adapt the MemoryAccess interface to the fact that the MemoryKind can change. They are named (get|is)OriginalXXX() to get the status of the memory access before any change by setNewAccessRelation() (some properties such as getIncoming() do not change even if the kind is changed and are still required). To get the modified properties, there is (get|is)LatestXXX(). The old accessors without Original|Latest become synonyms of the (get|is)OriginalXXX() to not make functional changes in unrelated code. Differential Revision: https://reviews.llvm.org/D23962 llvm-svn: 280408
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud