LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Variables
CaptureTracking.cpp File Reference
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/CaptureTracking.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Instructions.h"
#include "llvm/Support/CallSite.h"
Include dependency graph for CaptureTracking.cpp:

Go to the source code of this file.

Variables

static int const Threshold = 20
 

Variable Documentation

int const Threshold = 20
static

TODO: Write a new FunctionPass AliasAnalysis so that it can keep a cache. Then we can move the code from BasicAliasAnalysis into that path, and remove this threshold.

Definition at line 80 of file CaptureTracking.cpp.

Referenced by llvm::BitstreamWriter::EmitVBR(), llvm::BitstreamWriter::EmitVBR64(), llvm::InlineCostAnalysis::getInlineCost(), IncorporateWeight(), and llvm::PointerMayBeCaptured().