OSDN Git Service

[AliasSetTracker] Cleanup addPointer interface. [NFCI]
authorAlina Sbirlea <asbirlea@google.com>
Mon, 29 Oct 2018 22:25:59 +0000 (22:25 +0000)
committerAlina Sbirlea <asbirlea@google.com>
Mon, 29 Oct 2018 22:25:59 +0000 (22:25 +0000)
commit6be73e7eade32430d605bdfc7e4fe8546060599f
treee9682c1e7c4f677f7548346b514c020159da3c7a
parent3efd3a74afeb0ba923837ee067b8d1ca4ce2aeb6
[AliasSetTracker] Cleanup addPointer interface. [NFCI]

Summary:
Attempting to simplify the addPointer interface.
Currently there's code decomposing a MemoryLocation into (Ptr, Size, AAMDNodes) only to recreate the MemoryLocation inside the call.

Reviewers: reames, mkazantsev

Subscribers: sanjoy, jlebar, llvm-commits

Differential Revision: https://reviews.llvm.org/D53836

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@345548 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/AliasSetTracker.h
lib/Analysis/AliasSetTracker.cpp