From 45df557348d3c3e9ae3ebbb6304d739a88f46c54 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 13 Aug 2004 03:03:44 +0000 Subject: [PATCH] Add a pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15713 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/IPO.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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