[PM/AA] Rework the names and comments in AliasSetTracker to more
authorChandler Carruth <chandlerc@gmail.com>
Mon, 22 Jun 2015 02:12:52 +0000 (02:12 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 22 Jun 2015 02:12:52 +0000 (02:12 +0000)
commita561d758a6cd63ae930cefeddb9630e085cc4151
treec6f37b3debe69c91a223d8387baa2d554afde35e
parentff373d2c73babaa714ba976ca23f68bb29371428
[PM/AA] Rework the names and comments in AliasSetTracker to more
accurately describe what is being tracked.

While these two enums do track mod/ref information and aliasing
information, they don't represent the exact same things as either the
mod/ref enums or the alias result enum in AA. They're definitions are
dominated by the structure of their lattice and the bit's various
semantics. This patch just calls them what they are and tries to spell
out usefully distinct names for these things.

This will clear the path for using a raw unscoped enum to represent some
of these concepts across LLVM's analysis library.

No functionality changed here.

Differential Revision: http://reviews.llvm.org/D10494

llvm-svn: 240254
llvm/include/llvm/Analysis/AliasSetTracker.h
llvm/lib/Analysis/AliasSetTracker.cpp