LLVM API Documentation
#include "llvm/Transforms/Scalar.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/Dominators.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/Support/CFG.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "sink" |
Functions | |
STATISTIC (NumSunk,"Number of instructions sunk") | |
STATISTIC (NumSinkIter,"Number of sinking iterations") | |
static bool | isSafeToMove (Instruction *Inst, AliasAnalysis *AA, SmallPtrSet< Instruction *, 8 > &Stores) |
|
static |
Definition at line 156 of file Sink.cpp.
References llvm::SmallPtrSet< PtrType, SmallSize >::begin(), llvm::SmallPtrSet< PtrType, SmallSize >::end(), llvm::AliasAnalysis::getLocation(), llvm::AliasAnalysis::getModRefInfo(), I, llvm::SmallPtrSet< PtrType, SmallSize >::insert(), llvm::Instruction::mayWriteToMemory(), and llvm::AliasAnalysis::Mod.
STATISTIC | ( | NumSunk | , |
"Number of instructions sunk" | |||
) |
STATISTIC | ( | NumSinkIter | , |
"Number of sinking iterations" | |||
) |