LLVM API Documentation

llvm::AliasAnalysis::PointerAccessInfo Struct Reference

#include <AliasAnalysis.h>

Collaboration diagram for llvm::AliasAnalysis::PointerAccessInfo:

Collaboration graph
[legend]
List of all members.

Public Types

enum  AccessType { ScalarAccess, ArrayAccess, CallsThrough }

Public Attributes

ValueV
ModRefResult ModRefInfo

Detailed Description

PointerAccessInfo - This struct is used to return results for pointers, globals, and the return value of a function.

Definition at line 155 of file AliasAnalysis.h.


Member Enumeration Documentation

enum llvm::AliasAnalysis::PointerAccessInfo::AccessType

AccessType - Specific fine-grained access information for the argument. If none of these classifications is general enough, the getModRefBehavior method should not return AccessesArguments*. If a record is not returned for a particular argument, the argument is never dead and never dereferenced.

Enumerator:
ScalarAccess  ScalarAccess - The pointer is dereferenced.
ArrayAccess  ArrayAccess - The pointer is indexed through as an array of elements.
CallsThrough  ElementAccess ?? P->F only?

CallsThrough - Indirect calls are made through the specified function pointer.

Definition at line 170 of file AliasAnalysis.h.


Member Data Documentation

Value* llvm::AliasAnalysis::PointerAccessInfo::V

V - The value this record corresponds to. This may be an Argument for the function, a GlobalVariable, or null, corresponding to the return value for the function.

Definition at line 159 of file AliasAnalysis.h.

ModRefResult llvm::AliasAnalysis::PointerAccessInfo::ModRefInfo

ModRefInfo - Whether the pointer is loaded or stored to/from.

Definition at line 163 of file AliasAnalysis.h.


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