aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-05-10 16:58:34 +0100
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-05-10 16:59:54 +0100
commit4874f263c858bfeed45ac3230ddef398cf1fc5dc (patch)
tree9dd70fa2aba66d19b499fa857d52907dd79c775c
parente303b926203da509346d86e00a78880240aa78ff (diff)
downloadllvm-4874f263c858bfeed45ac3230ddef398cf1fc5dc.zip
llvm-4874f263c858bfeed45ac3230ddef398cf1fc5dc.tar.gz
llvm-4874f263c858bfeed45ac3230ddef398cf1fc5dc.tar.bz2
LoopUtils.h - remove unused forward declarations. NFC.
-rw-r--r--llvm/include/llvm/Transforms/Utils/LoopUtils.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/include/llvm/Transforms/Utils/LoopUtils.h b/llvm/include/llvm/Transforms/Utils/LoopUtils.h
index e1b541f..56b5698 100644
--- a/llvm/include/llvm/Transforms/Utils/LoopUtils.h
+++ b/llvm/include/llvm/Transforms/Utils/LoopUtils.h
@@ -26,7 +26,6 @@ using DomTreeNode = DomTreeNodeBase<BasicBlock>;
class AliasSet;
class AliasSetTracker;
class BasicBlock;
-class DataLayout;
class IRBuilderBase;
class Loop;
class LoopInfo;
@@ -34,7 +33,6 @@ class MemoryAccess;
class MemorySSA;
class MemorySSAUpdater;
class OptimizationRemarkEmitter;
-class PredicatedScalarEvolution;
class PredIteratorCache;
class ScalarEvolution;
class SCEV;
@@ -116,7 +114,7 @@ struct SinkAndHoistLICMFlags {
/// reverse depth first order w.r.t the DominatorTree. This allows us to visit
/// uses before definitions, allowing us to sink a loop body in one pass without
/// iteration. Takes DomTreeNode, AliasAnalysis, LoopInfo, DominatorTree,
-/// DataLayout, TargetLibraryInfo, Loop, AliasSet information for all
+/// TargetLibraryInfo, Loop, AliasSet information for all
/// instructions of the loop and loop safety information as
/// arguments. Diagnostics is emitted via \p ORE. It returns changed status.
bool sinkRegion(DomTreeNode *, AliasAnalysis *, LoopInfo *, DominatorTree *,
@@ -128,7 +126,7 @@ bool sinkRegion(DomTreeNode *, AliasAnalysis *, LoopInfo *, DominatorTree *,
/// dominated by the specified block, and that are in the current loop) in depth
/// first order w.r.t the DominatorTree. This allows us to visit definitions
/// before uses, allowing us to hoist a loop body in one pass without iteration.
-/// Takes DomTreeNode, AliasAnalysis, LoopInfo, DominatorTree, DataLayout,
+/// Takes DomTreeNode, AliasAnalysis, LoopInfo, DominatorTree,
/// TargetLibraryInfo, Loop, AliasSet information for all instructions of the
/// loop and loop safety information as arguments. Diagnostics is emitted via \p
/// ORE. It returns changed status.