[llvm] 510b0f4 - LoopSimplify.h - reduce unnecessary includes to forward declarations. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun May 24 05:22:09 PDT 2020
Author: Simon Pilgrim
Date: 2020-05-24T12:41:23+01:00
New Revision: 510b0f42371cc123eb33e86a527866123e10b2ff
URL: https://github.com/llvm/llvm-project/commit/510b0f42371cc123eb33e86a527866123e10b2ff
DIFF: https://github.com/llvm/llvm-project/commit/510b0f42371cc123eb33e86a527866123e10b2ff.diff
LOG: LoopSimplify.h - reduce unnecessary includes to forward declarations. NFC.
Added:
Modified:
llvm/include/llvm/Transforms/Utils/LoopSimplify.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/Utils/LoopSimplify.h b/llvm/include/llvm/Transforms/Utils/LoopSimplify.h
index 2c1df7942f63..d017fd12026d 100644
--- a/llvm/include/llvm/Transforms/Utils/LoopSimplify.h
+++ b/llvm/include/llvm/Transforms/Utils/LoopSimplify.h
@@ -38,14 +38,16 @@
#ifndef LLVM_TRANSFORMS_UTILS_LOOPSIMPLIFY_H
#define LLVM_TRANSFORMS_UTILS_LOOPSIMPLIFY_H
-#include "llvm/Analysis/AssumptionCache.h"
-#include "llvm/Analysis/ScalarEvolution.h"
-#include "llvm/IR/Dominators.h"
#include "llvm/IR/PassManager.h"
namespace llvm {
+class AssumptionCache;
+class DominatorTree;
+class Loop;
+class LoopInfo;
class MemorySSAUpdater;
+class ScalarEvolution;
/// This pass is responsible for loop canonicalization.
class LoopSimplifyPass : public PassInfoMixin<LoopSimplifyPass> {
More information about the llvm-commits
mailing list