LLVM API Documentation

Public Member Functions
llvm::objcarc::ProvenanceAnalysis Class Reference

This is similar to BasicAliasAnalysis, and it uses many of the same techniques, except it uses special ObjC-specific reasoning about pointer relationships. More...

#include <ProvenanceAnalysis.h>

List of all members.

Public Member Functions

 ProvenanceAnalysis ()
void setAA (AliasAnalysis *aa)
AliasAnalysisgetAA () const
bool related (const Value *A, const Value *B)
void clear ()

Detailed Description

This is similar to BasicAliasAnalysis, and it uses many of the same techniques, except it uses special ObjC-specific reasoning about pointer relationships.

In this context ``Provenance'' is defined as the history of an object's ownership. Thus ``Provenance Analysis'' is defined by using the notion of an ``independent provenance source'' of a pointer to determine whether or not two pointers have the same provenance source and thus could potentially be related.

Definition at line 49 of file ProvenanceAnalysis.h.


Constructor & Destructor Documentation

llvm::objcarc::ProvenanceAnalysis::ProvenanceAnalysis ( ) [inline]

Definition at line 64 of file ProvenanceAnalysis.h.


Member Function Documentation

Definition at line 68 of file ProvenanceAnalysis.h.

Referenced by llvm::objcarc::CanAlterRefCount(), and llvm::objcarc::CanUse().

Definition at line 162 of file ProvenanceAnalysis.cpp.

References std::swap().

Referenced by llvm::objcarc::CanAlterRefCount(), and llvm::objcarc::CanUse().

Definition at line 66 of file ProvenanceAnalysis.h.

References aa.


The documentation for this class was generated from the following files: