diff options
-rw-r--r-- | include/llvm/Transforms/IPO.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index 88754545c8..1adc1d16f8 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 <vector> + 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<BasicBlock*> &BTNE); + } // End llvm namespace #endif |