[Analysis] Make LocationSize pretty-printing more descriptive
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Wed, 10 Oct 2018 01:35:22 +0000 (01:35 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Wed, 10 Oct 2018 01:35:22 +0000 (01:35 +0000)
commitd98d505c0dc793233f83f33ac11eaaa9904db5b2
tree4469b12c652ce94fa88e48e292f1b7b508e593ee
parent108e98ec32ba61a19965611206633cd2ebb0d6ba
[Analysis] Make LocationSize pretty-printing more descriptive

This is the third patch in a series intended to make
https://reviews.llvm.org/D44748 more easily reviewable. Please see that
patch for more context. The second being r344013.

The intent is to make the output of printing a LocationSize more
precise. The main motivation for this is that we plan to add a bit to
distinguish whether a given LocationSize is an upper-bound or is
precise; making that information available in pretty-printing is nice.

llvm-svn: 344108
llvm/include/llvm/Analysis/MemoryLocation.h
llvm/lib/Analysis/MemoryLocation.cpp
llvm/test/Analysis/AliasSet/argmemonly.ll
llvm/test/Analysis/AliasSet/guards.ll
llvm/test/Analysis/AliasSet/intrinsics.ll
llvm/test/Analysis/AliasSet/memset.ll
llvm/test/Analysis/AliasSet/memtransfer.ll
llvm/test/Analysis/AliasSet/saturation.ll