diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2004-04-23 23:54:34 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2004-04-23 23:54:34 +0000 |
commit | de41aab1f7b06619d0b50c409ec9e7def6018282 (patch) | |
tree | 68882aa9c7c5340771d5e1196542927192d36e4e /include/llvm/Transforms/Utils/FunctionUtils.h | |
parent | 22108fac63eac53d1a23b781a9963fab99700135 (diff) |
Aggregating function arguments is now an option. Default is `no', as before.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13142 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/FunctionUtils.h')
-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 |