LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

LICM.cpp File Reference

#include "llvm/Transforms/Scalar.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Instructions.h"
#include "llvm/Target/TargetData.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/AliasAnalysis.h"
#include "llvm/Analysis/AliasSetTracker.h"
#include "llvm/Analysis/Dominators.h"
#include "llvm/Support/CFG.h"
#include "llvm/Transforms/Utils/PromoteMemToReg.h"
#include "llvm/Transforms/Utils/Local.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/ADT/Statistic.h"
#include <algorithm>

Include dependency graph for LICM.cpp:

Go to the source code of this file.

Functions

FunctionPassllvm::createLICMPass ()


Variable Documentation

cl::opt<bool> DisablePromotion("disable-licm-promotion", cl::Hidden, cl::desc("Disable memory promotion in LICM pass")) [static]
 

Statistic NumHoisted("licm","Number of instructions hoisted out of loop") [static]
 

Statistic NumMovedCalls("licm","Number of call insts hoisted or sunk") [static]
 

Statistic NumMovedLoads("licm","Number of load insts hoisted or sunk") [static]
 

Statistic NumPromoted("licm","Number of memory locations promoted to registers") [static]
 

Statistic NumSunk("licm","Number of instructions sunk out of loop") [static]
 

RegisterOpt<LICM> X("licm","Loop Invariant Code Motion") [static]