LLVM  8.0.1
Classes | Namespaces | Functions | Variables
CaptureTracking.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  llvm::CaptureTracker
 This callback is used in conjunction with PointerMayBeCaptured. More...
 

Namespaces

 llvm
 This class represents lattice values for constants.
 

Functions

bool llvm::PointerMayBeCaptured (const Value *V, bool ReturnCaptures, bool StoreCaptures, unsigned MaxUsesToExplore=DefaultMaxUsesToExplore)
 PointerMayBeCaptured - Return true if this pointer value may be captured by the enclosing function (which is required to exist). More...
 
bool llvm::PointerMayBeCapturedBefore (const Value *V, bool ReturnCaptures, bool StoreCaptures, const Instruction *I, const DominatorTree *DT, bool IncludeI=false, OrderedBasicBlock *OBB=nullptr, unsigned MaxUsesToExplore=DefaultMaxUsesToExplore)
 PointerMayBeCapturedBefore - Return true if this pointer value may be captured by the enclosing function (which is required to exist). More...
 
void llvm::PointerMayBeCaptured (const Value *V, CaptureTracker *Tracker, unsigned MaxUsesToExplore=DefaultMaxUsesToExplore)
 PointerMayBeCaptured - Visit the value and the values derived from it and find values which appear to be capturing the pointer value. More...
 

Variables

unsigned constexpr llvm::DefaultMaxUsesToExplore = 20
 The default value for MaxUsesToExplore argument. More...