aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/Utils/UnrollLoop.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-13 22:19:41 +0000
committerDan Gohman <gohman@apple.com>2009-07-13 22:19:41 +0000
commit03ee68a145ab5394c070298049d93f305be93ec3 (patch)
tree6b7909703cdf798dcb385d7fb769329e73508cc4 /include/llvm/Transforms/Utils/UnrollLoop.h
parentfa82b6eba4e1584d7dba291c28fe908272e1e002 (diff)
downloadexternal_llvm-03ee68a145ab5394c070298049d93f305be93ec3.zip
external_llvm-03ee68a145ab5394c070298049d93f305be93ec3.tar.gz
external_llvm-03ee68a145ab5394c070298049d93f305be93ec3.tar.bz2
Forward-declare Loop and LoopInfo instead of #including LoopInfo.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75529 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/UnrollLoop.h')
-rw-r--r--include/llvm/Transforms/Utils/UnrollLoop.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Utils/UnrollLoop.h b/include/llvm/Transforms/Utils/UnrollLoop.h
index a9c0bf6..3d5ee1a 100644
--- a/include/llvm/Transforms/Utils/UnrollLoop.h
+++ b/include/llvm/Transforms/Utils/UnrollLoop.h
@@ -16,10 +16,10 @@
#ifndef LLVM_TRANSFORMS_UTILS_UNROLLLOOP_H
#define LLVM_TRANSFORMS_UTILS_UNROLLLOOP_H
-#include "llvm/Analysis/LoopInfo.h"
-
namespace llvm {
+class Loop;
+class LoopInfo;
class LPPassManager;
bool UnrollLoop(Loop *L, unsigned Count, LoopInfo* LI, LPPassManager* LPM);