Reimplement the internal abstraction used by MemDep in terms
authorChris Lattner <sabre@nondot.org>
Sat, 29 Nov 2008 01:43:36 +0000 (01:43 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 29 Nov 2008 01:43:36 +0000 (01:43 +0000)
commit39f372e23e49cecb8db2eb7120eb331173e50c74
treedef18a4ae1596487c205831717d1b5fc98e2296d
parentd63e618212ae716f775c4a03658377d4d8eba5ff
Reimplement the internal abstraction used by MemDep in terms
of a pointer/int pair instead of a manually bitmangled pointer.
This forces clients to think a little more about checking the
appropriate pieces and will be useful for internal
implementation improvements later.

I'm not particularly happy with this.  After going through this
I don't think that the clients of memdep should be exposed to
the internal type at all.  I'll fix this in a subsequent commit.

This has no functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60230 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/MemoryDependenceAnalysis.h
lib/Analysis/MemoryDependenceAnalysis.cpp
lib/Transforms/Scalar/DeadStoreElimination.cpp
lib/Transforms/Scalar/GVN.cpp
lib/Transforms/Scalar/MemCpyOptimizer.cpp