LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
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]

Public Member Functions

 Location (const Value *P=0, uint64_t S=UnknownSize, const MDNode *N=0)
 
Location getWithNewPtr (const Value *NewPtr) const
 
Location getWithNewSize (uint64_t NewSize) const
 
Location getWithoutTBAATag () const
 

Public Attributes

const ValuePtr
 Ptr - The address of the start of the location. More...
 
uint64_t Size
 
const MDNodeTBAATag
 

Detailed Description

Location - A description of a memory location.

Alias Queries...

Definition at line 106 of file AliasAnalysis.h.

Constructor & Destructor Documentation

llvm::AliasAnalysis::Location::Location ( const Value P = 0,
uint64_t  S = UnknownSize,
const MDNode N = 0 
)
inlineexplicit

Definition at line 119 of file AliasAnalysis.h.

Member Function Documentation

Location llvm::AliasAnalysis::Location::getWithNewPtr ( const Value NewPtr) const
inline

Definition at line 123 of file AliasAnalysis.h.

References Ptr.

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

Definition at line 129 of file AliasAnalysis.h.

References Size.

Location llvm::AliasAnalysis::Location::getWithoutTBAATag ( ) const
inline

Definition at line 135 of file AliasAnalysis.h.

References TBAATag.

Member Data Documentation

const Value* llvm::AliasAnalysis::Location::Ptr
uint64_t llvm::AliasAnalysis::Location::Size

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 114 of file AliasAnalysis.h.

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

const MDNode* llvm::AliasAnalysis::Location::TBAATag

TBAATag - The metadata node which describes the TBAA type of the location, or null if there is no known unique tag.

Definition at line 117 of file AliasAnalysis.h.

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


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