diff options
author | Dan Gohman <gohman@apple.com> | 2008-05-14 04:39:40 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-05-14 04:39:40 +0000 |
commit | 816cdf6bb280a85e4a0da1d456143ebe0b0db4e0 (patch) | |
tree | 97215b90baf631275b241abf5f4e85b4f722b0d8 /include/llvm/Transforms/Utils/UnrollLoop.h | |
parent | 6bf877035e72659db9f22399a3bcc73e57b95683 (diff) | |
download | external_llvm-816cdf6bb280a85e4a0da1d456143ebe0b0db4e0.zip external_llvm-816cdf6bb280a85e4a0da1d456143ebe0b0db4e0.tar.gz external_llvm-816cdf6bb280a85e4a0da1d456143ebe0b0db4e0.tar.bz2 |
Commit the header I accidentally left out of 51083.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51093 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/UnrollLoop.h')
-rw-r--r-- | include/llvm/Transforms/Utils/UnrollLoop.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Utils/UnrollLoop.h b/include/llvm/Transforms/Utils/UnrollLoop.h new file mode 100644 index 0000000..a9c0bf6 --- /dev/null +++ b/include/llvm/Transforms/Utils/UnrollLoop.h @@ -0,0 +1,29 @@ +//===- llvm/Transforms/Utils/UnrollLoop.h - Unrolling utilities -*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file defines some loop unrolling utilities. It does not define any +// actual pass or policy, but provides a single function to perform loop +// unrolling. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_TRANSFORMS_UTILS_UNROLLLOOP_H +#define LLVM_TRANSFORMS_UTILS_UNROLLLOOP_H + +#include "llvm/Analysis/LoopInfo.h" + +namespace llvm { + +class LPPassManager; + +bool UnrollLoop(Loop *L, unsigned Count, LoopInfo* LI, LPPassManager* LPM); + +} + +#endif |