LLVM 20.0.0git
Macros | Functions | Variables
BlockExtractor.cpp File Reference
#include "llvm/Transforms/IPO/BlockExtractor.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PassManager.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")
 

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)
 
static cl::opt< boolBlockExtractorEraseFuncs ("extract-blocks-erase-funcs", cl::desc("Erase the existing functions"), cl::Hidden)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "block-extractor"

Definition at line 29 of file BlockExtractor.cpp.

Function Documentation

◆ STATISTIC()

STATISTIC ( NumExtracted  ,
"Number of basic blocks extracted"   
)

Variable Documentation

◆ BlockExtractorEraseFuncs

cl::opt< bool > BlockExtractorEraseFuncs("extract-blocks-erase-funcs", cl::desc("Erase the existing functions"), cl::Hidden) ( "extract-blocks-erase-funcs"  ,
cl::desc("Erase the existing functions")  ,
cl::Hidden   
)
static

◆ BlockExtractorFile

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) ( "extract-blocks-file"  ,
cl::value_desc("filename")  ,
cl::desc("A file containing list of basic blocks to extract")  ,
cl::Hidden   
)
static