diff options
-rw-r--r-- | include/llvm/Transforms/Utils/FunctionUtils.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/llvm/Transforms/Utils/FunctionUtils.h b/include/llvm/Transforms/Utils/FunctionUtils.h index 22b6495915..9c2f2098c1 100644 --- a/include/llvm/Transforms/Utils/FunctionUtils.h +++ b/include/llvm/Transforms/Utils/FunctionUtils.h @@ -25,15 +25,17 @@ namespace llvm { /// ExtractCodeRegion - rip out a sequence of basic blocks into a new function /// Function* ExtractCodeRegion(DominatorSet &DS, - const std::vector<BasicBlock*> &code); + 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(DominatorSet &DS, Loop *L, + bool AggregateArgs = false); /// ExtractBasicBlock - rip out a basic block into a new function /// - Function* ExtractBasicBlock(BasicBlock *BB); + Function* ExtractBasicBlock(BasicBlock *BB, bool AggregateArgs = false); } #endif |