diff options
Diffstat (limited to 'include/llvm/Transforms/Utils')
-rw-r--r-- | include/llvm/Transforms/Utils/FunctionUtils.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/include/llvm/Transforms/Utils/FunctionUtils.h b/include/llvm/Transforms/Utils/FunctionUtils.h index cbc8c44..22b6495 100644 --- a/include/llvm/Transforms/Utils/FunctionUtils.h +++ b/include/llvm/Transforms/Utils/FunctionUtils.h @@ -17,23 +17,23 @@ #include <vector> namespace llvm { - class BasicBlock; -class Function; -class Loop; - -/// ExtractCodeRegion - rip out a sequence of basic blocks into a new function -/// -Function* ExtractCodeRegion(const std::vector<BasicBlock*> &code); - -/// ExtractLoop - rip out a natural loop into a new function -/// -Function* ExtractLoop(Loop *L); - -/// ExtractBasicBlock - rip out a basic block into a new function -/// -Function* ExtractBasicBlock(BasicBlock *BB); - + class DominatorSet; + class Function; + class Loop; + + /// ExtractCodeRegion - rip out a sequence of basic blocks into a new function + /// + Function* ExtractCodeRegion(DominatorSet &DS, + const std::vector<BasicBlock*> &code); + + /// ExtractLoop - rip out a natural loop into a new function + /// + Function* ExtractLoop(DominatorSet &DS, Loop *L); + + /// ExtractBasicBlock - rip out a basic block into a new function + /// + Function* ExtractBasicBlock(BasicBlock *BB); } #endif |