aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-13 03:03:44 +0000
committerChris Lattner <sabre@nondot.org>2004-08-13 03:03:44 +0000
commit45df557348d3c3e9ae3ebbb6304d739a88f46c54 (patch)
treeb167828cb0df8595fa90ccf05e13d8df16e51a70 /include/llvm/Transforms
parenteb6f18fe7c375ce5598c6ba6d5b9ae769fbf2610 (diff)
downloadexternal_llvm-45df557348d3c3e9ae3ebbb6304d739a88f46c54.zip
external_llvm-45df557348d3c3e9ae3ebbb6304d739a88f46c54.tar.gz
external_llvm-45df557348d3c3e9ae3ebbb6304d739a88f46c54.tar.bz2
Add a pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15713 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r--include/llvm/Transforms/IPO.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h
index 8875454..1adc1d1 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