LLVM API Documentation

Public Member Functions | Public Attributes
llvm::AliasAnalysis::Location Struct Reference

Location - A description of a memory location. More...

#include <AliasAnalysis.h>

Collaboration diagram for llvm::AliasAnalysis::Location:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Location (const Value *P=nullptr, uint64_t S=UnknownSize, const AAMDNodes &N=AAMDNodes())
Location getWithNewPtr (const Value *NewPtr) const
Location getWithNewSize (uint64_t NewSize) const
Location getWithoutAATags () const

Public Attributes

const ValuePtr
 Ptr - The address of the start of the location.
uint64_t Size
AAMDNodes AATags

Detailed Description

Location - A description of a memory location.

Alias Queries...

Definition at line 107 of file AliasAnalysis.h.


Constructor & Destructor Documentation

llvm::AliasAnalysis::Location::Location ( const Value P = nullptr,
uint64_t  S = UnknownSize,
const AAMDNodes N = AAMDNodes() 
) [inline, explicit]

Definition at line 121 of file AliasAnalysis.h.

References N, and P.


Member Function Documentation

Definition at line 125 of file AliasAnalysis.h.

References Ptr.

Location llvm::AliasAnalysis::Location::getWithNewSize ( uint64_t  NewSize) const [inline]

Definition at line 131 of file AliasAnalysis.h.

References Size.

Definition at line 137 of file AliasAnalysis.h.

References AATags.


Member Data Documentation

AATags - The metadata nodes which describes the aliasing of the location (each member is null if that kind of information is unavailable)..

Definition at line 119 of file AliasAnalysis.h.

Referenced by llvm::DenseMapInfo< AliasAnalysis::Location >::getHashValue(), getWithoutAATags(), and llvm::DenseMapInfo< AliasAnalysis::Location >::isEqual().

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

Definition at line 115 of file AliasAnalysis.h.

Referenced by llvm::DenseMapInfo< AliasAnalysis::Location >::getHashValue(), getLocForWrite(), getWithNewSize(), llvm::DenseMapInfo< AliasAnalysis::Location >::isEqual(), isLoadLoadClobberIfExtendedToFullWidth(), and isOverwrite().


The documentation for this struct was generated from the following file: