LLVM API Documentation

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/Analysis/CFG.h"
#include "llvm/IR/CallSite.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/Instructions.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 167 of file CaptureTracking.cpp.

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