LLVM API Documentation

Defines | Functions
Sink.cpp File Reference
#include "llvm/Transforms/Scalar.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/IR/CFG.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/Dominators.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for Sink.cpp:

Go to the source code of this file.

Defines

#define DEBUG_TYPE   "sink"

Functions

 STATISTIC (NumSunk,"Number of instructions sunk")
 STATISTIC (NumSinkIter,"Number of sinking iterations")
static bool isSafeToMove (Instruction *Inst, AliasAnalysis *AA, SmallPtrSetImpl< Instruction * > &Stores)

Define Documentation

#define DEBUG_TYPE   "sink"

Definition at line 28 of file Sink.cpp.


Function Documentation

static bool isSafeToMove ( Instruction Inst,
AliasAnalysis AA,
SmallPtrSetImpl< Instruction * > &  Stores 
) [static]
STATISTIC ( NumSunk  ,
"Number of instructions sunk"   
)
STATISTIC ( NumSinkIter  ,
"Number of sinking iterations"   
)