Lines Matching defs:BlockExtractor
1 //===- BlockExtractor.cpp - Extracts blocks into their own functions ------===//
14 #include "llvm/Transforms/IPO/BlockExtractor.h"
42 class BlockExtractor {
44 BlockExtractor(bool EraseFunctions) : EraseFunctions(EraseFunctions) {}
67 void BlockExtractor::loadFile() {
70 report_fatal_error("BlockExtractor couldn't load the file.");
97 void BlockExtractor::splitLandingPadPreds(Function &F) {
126 bool BlockExtractor::runOnModule(Module &M) {
162 LLVM_DEBUG(dbgs() << "BlockExtractor: Extracting "
184 LLVM_DEBUG(dbgs() << "BlockExtractor: Trying to delete " << F->getName()
204 BlockExtractor BE(EraseFunctions);