[PATCH] D45581: Add a LocationSize type to represent the size of MemoryLocations

George Burgess IV via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 12 10:59:19 PDT 2018


george.burgess.iv created this revision.
george.burgess.iv added reviewers: reames, hfinkel, nlopes.

This is split out from https://reviews.llvm.org/D44748, and is intended to be landed before https://reviews.llvm.org/D44748.

The only functional change intended here is contained inside of `LocationSize::print`: we'll now print `LocationSize(N)` instead of `N` to represent location sizes. If the location size is unknown, we'll print `LocationSize(unknown)` instead of UINT64_MAX (and similar for map tombstone/empty keys). I added the `LocationSize` prefix because I plan to add `precise`/`unknown` markers in https://reviews.llvm.org/D44748.


https://reviews.llvm.org/D45581

Files:
  include/llvm/Analysis/AliasAnalysis.h
  include/llvm/Analysis/AliasSetTracker.h
  include/llvm/Analysis/BasicAliasAnalysis.h
  include/llvm/Analysis/MemoryDependenceAnalysis.h
  include/llvm/Analysis/MemoryLocation.h
  lib/Analysis/AliasSetTracker.cpp
  lib/Analysis/BasicAliasAnalysis.cpp
  lib/Analysis/CFLAndersAliasAnalysis.cpp
  lib/Analysis/MemoryDependenceAnalysis.cpp
  lib/Analysis/MemoryLocation.cpp
  lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
  lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
  lib/Transforms/Scalar/DeadStoreElimination.cpp
  test/Analysis/AliasSet/intrinsics.ll
  test/Analysis/AliasSet/memtransfer.ll
  test/Analysis/AliasSet/saturation.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45581.142217.patch
Type: text/x-patch
Size: 57452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180412/729eddee/attachment.bin>


More information about the llvm-commits mailing list