[LVI] Abstract out the actual cache logic [NFCI]
authorPhilip Reames <listmail@philipreames.com>
Mon, 12 Sep 2016 21:46:58 +0000 (21:46 +0000)
committerPhilip Reames <listmail@philipreames.com>
Mon, 12 Sep 2016 21:46:58 +0000 (21:46 +0000)
commit92e5e1b92d091edb94bf1b3835f3be284ec92449
tree530d235a04321554473b960973b4adce9a0ffef1
parent0eb2a1bd7a80ecd039b6634de9ccaa5ddcce1978
[LVI] Abstract out the actual cache logic [NFCI]

Seperate the caching logic from the implementation of the lazy analysis.  For the moment, the lazy analysis impl has a is-a relationship with the cache; this will change to a has-a relationship shortly.  This was done as two steps merely to keep the changes simple and the diff understandable.

llvm-svn: 281266
llvm/lib/Analysis/LazyValueInfo.cpp