LLVM API Documentation
#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"
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 DEBUG_TYPE "sink" |
| static bool isSafeToMove | ( | Instruction * | Inst, |
| AliasAnalysis * | AA, | ||
| SmallPtrSetImpl< Instruction * > & | Stores | ||
| ) | [static] |
Definition at line 159 of file Sink.cpp.
References llvm::AliasAnalysis::getLocation(), llvm::AliasAnalysis::getModRefInfo(), llvm::SmallPtrSetImpl< PtrType >::insert(), llvm::Instruction::mayWriteToMemory(), and llvm::AliasAnalysis::Mod.
| STATISTIC | ( | NumSunk | , |
| "Number of instructions sunk" | |||
| ) |