LLVM API Documentation

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

LoopExtractor.cpp File Reference

#include "llvm/Transforms/IPO.h"
#include "llvm/Instructions.h"
#include "llvm/Module.h"
#include "llvm/Pass.h"
#include "llvm/Analysis/Dominators.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils/FunctionUtils.h"
#include "llvm/ADT/Statistic.h"

Include dependency graph for LoopExtractor.cpp:

Go to the source code of this file.

Functions

ModulePassllvm::createSingleLoopExtractorPass ()
ModulePassllvm::createBlockExtractorPass (std::vector< BasicBlock * > &BTNE)


Variable Documentation

Statistic NumExtracted("loop-extract","Number of loops extracted") [static]
 

RegisterOpt<LoopExtractor> X("loop-extract","Extract loops into new functions") [static]
 

RegisterOpt<BlockExtractorPass> XX("extract-blocks","Extract Basic Blocks From Module (for bugpoint use)") [static]
 

RegisterOpt<SingleLoopExtractor> Y("loop-extract-single","Extract at most one loop into a new function") [static]