LLVM
8.0.1
|
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Module.h"
#include "llvm/Pass.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Transforms/IPO.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Transforms/Utils/CodeExtractor.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "block-extractor" |
Functions | |
STATISTIC (NumExtracted, "Number of basic blocks extracted") | |
INITIALIZE_PASS (BlockExtractor, "extract-blocks", "Extract basic blocks from module", false, false) ModulePass *llvm | |
Variables | |
static cl::opt< std::string > | BlockExtractorFile ("extract-blocks-file", cl::value_desc("filename"), cl::desc("A file containing list of basic blocks to extract"), cl::Hidden) |
cl::opt< bool > | BlockExtractorEraseFuncs ("extract-blocks-erase-funcs", cl::desc("Erase the existing functions"), cl::Hidden) |
#define DEBUG_TYPE "block-extractor" |
Definition at line 28 of file BlockExtractor.cpp.
INITIALIZE_PASS | ( | BlockExtractor | , |
"extract-blocks" | , | ||
"Extract basic blocks from module" | , | ||
false | , | ||
false | |||
) |
Definition at line 65 of file BlockExtractor.cpp.
STATISTIC | ( | NumExtracted | , |
"Number of basic blocks extracted" | |||
) |
cl::opt<bool> BlockExtractorEraseFuncs("extract-blocks-erase-funcs", cl::desc("Erase the existing functions"), cl::Hidden) |
Referenced by llvm::createBlockExtractorPass().
|
static |
Referenced by llvm::createBlockExtractorPass().