diff options
author | Owen Anderson <resistor@mac.com> | 2007-04-07 05:31:27 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2007-04-07 05:31:27 +0000 |
commit | c6fcf29e81f54b68146fb8d375c347d2c689566d (patch) | |
tree | 6b39820875bf2d2fe9c814bd178f06bb1d5f1e1d /include/llvm/Transforms/Utils/FunctionUtils.h | |
parent | b5fda757040eedffe50ba4c694cfe7e26eb5e4f1 (diff) |
Expunge DomSet from CodeExtractor. This is part of the continuing work
on PR1171.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35726 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/FunctionUtils.h')
-rw-r--r-- | include/llvm/Transforms/Utils/FunctionUtils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Utils/FunctionUtils.h b/include/llvm/Transforms/Utils/FunctionUtils.h index d6e486be99..12291cb473 100644 --- a/include/llvm/Transforms/Utils/FunctionUtils.h +++ b/include/llvm/Transforms/Utils/FunctionUtils.h @@ -14,6 +14,7 @@ #ifndef LLVM_TRANSFORMS_UTILS_FUNCTION_H #define LLVM_TRANSFORMS_UTILS_FUNCTION_H +#include <llvm/Analysis/Dominators.h> #include <vector> namespace llvm { @@ -24,13 +25,13 @@ namespace llvm { /// ExtractCodeRegion - rip out a sequence of basic blocks into a new function /// - Function* ExtractCodeRegion(DominatorSet &DS, + Function* ExtractCodeRegion(ETForest &DS, DominatorTree& DT, const std::vector<BasicBlock*> &code, bool AggregateArgs = false); /// ExtractLoop - rip out a natural loop into a new function /// - Function* ExtractLoop(DominatorSet &DS, Loop *L, + Function* ExtractLoop(ETForest &DS, DominatorTree& DT, Loop *L, bool AggregateArgs = false); /// ExtractBasicBlock - rip out a basic block into a new function |