From: Chris Lattner Date: Fri, 13 Aug 2004 03:03:44 +0000 (+0000) Subject: Add a pass X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=45df557348d3c3e9ae3ebbb6304d739a88f46c54;p=oota-llvm.git Add a pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15713 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index 88754545c83..1adc1d16f80 100644 --- a/include/llvm/Transforms/IPO.h +++ b/include/llvm/Transforms/IPO.h @@ -15,10 +15,13 @@ #ifndef LLVM_TRANSFORMS_IPO_H #define LLVM_TRANSFORMS_IPO_H +#include + namespace llvm { class Pass; class Function; +class BasicBlock; //===----------------------------------------------------------------------===// /// createLowerSetJmpPass - This function lowers the setjmp/longjmp intrinsics @@ -136,6 +139,11 @@ Pass *createIPConstantPropagationPass(); /// Pass *createSingleLoopExtractorPass(); +// createBlockExtractorPass - This pass extracts all blocks (except those +// specified in the argument list) from the functions in the module. +// +Pass *llvm::createBlockExtractorPass(std::vector &BTNE); + } // End llvm namespace #endif