[llvm-commits] [llvm] r119711 - /llvm/trunk/include/llvm/Analysis/AliasAnalysis.h

Dan Gohman gohman at apple.com
Thu Nov 18 09:39:02 PST 2010


Author: djg
Date: Thu Nov 18 11:39:01 2010
New Revision: 119711

URL: http://llvm.org/viewvc/llvm-project?rev=119711&view=rev
Log:
Document the units for the Size field.

Modified:
    llvm/trunk/include/llvm/Analysis/AliasAnalysis.h

Modified: llvm/trunk/include/llvm/Analysis/AliasAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/AliasAnalysis.h?rev=119711&r1=119710&r2=119711&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/AliasAnalysis.h (original)
+++ llvm/trunk/include/llvm/Analysis/AliasAnalysis.h Thu Nov 18 11:39:01 2010
@@ -96,10 +96,10 @@
   struct Location {
     /// Ptr - The address of the start of the location.
     const Value *Ptr;
-    /// Size - The maximum size of the location, or UnknownSize if the size is
-    /// not known.  Note that an unknown size does not mean the pointer aliases
-    /// the entire virtual address space, because there are restrictions on
-    /// stepping out of one object and into another.
+    /// Size - The maximum size of the location, in address-units, or
+    /// UnknownSize if the size is not known.  Note that an unknown size does
+    /// not mean the pointer aliases the entire virtual address space, because
+    /// there are restrictions on stepping out of one object and into another.
     /// See http://llvm.org/docs/LangRef.html#pointeraliasing
     uint64_t Size;
     /// TBAATag - The metadata node which describes the TBAA type of





More information about the llvm-commits mailing list