llvm::AliasAnalysis::AliasAnalysis::PointerAccessInfo Struct Reference

#include <AliasAnalysis.h>

List of all members.

Public Types

enum  AccessType { ScalarAccess, ArrayAccess, CallsThrough }

Public Attributes

Value * V
ModRefResult ModRefInfo


Detailed Description

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

Member Enumeration Documentation

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.


Member Data Documentation

ModRefResult llvm::AliasAnalysis::AliasAnalysis::PointerAccessInfo::ModRefInfo

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

Value* llvm::AliasAnalysis::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.


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

Generated on Fri Mar 19 01:41:21 2010 by  doxygen 1.5.8