diff options
author | Florian Hahn <flo@fhahn.com> | 2020-04-19 18:17:20 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2020-04-19 19:44:29 +0100 |
commit | 7a87e8f90b1b1fb190d58088c35bea73b9e03555 (patch) | |
tree | 019636de9364caad72cb125152a827e0b4f227c9 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 73c33fcf5638e60bbb7562ca07eb37cc831b251a (diff) | |
download | llvm-7a87e8f90b1b1fb190d58088c35bea73b9e03555.zip llvm-7a87e8f90b1b1fb190d58088c35bea73b9e03555.tar.gz llvm-7a87e8f90b1b1fb190d58088c35bea73b9e03555.tar.bz2 |
[LoopUtils] Clean up includes, use forward decls if appropriate (NFC).
Most of the includes in LoopUtils.h are not required in the header and
they can be replaced by forward declarations.
Unfortunately includes of TargetTransformInfo.h and IVDescriptors.h pull
in a bunch of additional things, but there is no easy way to get rid of
them at the moment I think.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopUtils.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopUtils.cpp b/llvm/lib/Transforms/Utils/LoopUtils.cpp index add9133..ab0b5a5 100644 --- a/llvm/lib/Transforms/Utils/LoopUtils.cpp +++ b/llvm/lib/Transforms/Utils/LoopUtils.cpp @@ -11,7 +11,13 @@ //===----------------------------------------------------------------------===// #include "llvm/Transforms/Utils/LoopUtils.h" +#include "llvm/ADT/DenseSet.h" +#include "llvm/ADT/Optional.h" +#include "llvm/ADT/PriorityWorklist.h" #include "llvm/ADT/ScopeExit.h" +#include "llvm/ADT/SetVector.h" +#include "llvm/ADT/SmallPtrSet.h" +#include "llvm/ADT/SmallVector.h" #include "llvm/Analysis/AliasAnalysis.h" #include "llvm/Analysis/BasicAliasAnalysis.h" #include "llvm/Analysis/DomTreeUpdater.h" @@ -34,6 +40,7 @@ #include "llvm/IR/IntrinsicInst.h" #include "llvm/IR/MDBuilder.h" #include "llvm/IR/Module.h" +#include "llvm/IR/Operator.h" #include "llvm/IR/PatternMatch.h" #include "llvm/IR/ValueHandle.h" #include "llvm/InitializePasses.h" |