forked from OSchip/llvm-project
[VPlan] Remove unused forward declarations. NFC.
Move VPlan.h include from VPlanVerifier.h down to VPlanVerifier.cpp
This commit is contained in:
parent
cca6bc42d9
commit
b108a457e1
|
@ -31,6 +31,8 @@
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
class LoopVectorizationLegality;
|
||||||
|
class LoopVectorizationCostModel;
|
||||||
class PredicatedScalarEvolution;
|
class PredicatedScalarEvolution;
|
||||||
|
|
||||||
/// VPlan-based builder utility analogous to IRBuilder.
|
/// VPlan-based builder utility analogous to IRBuilder.
|
||||||
|
|
|
@ -18,7 +18,6 @@ namespace llvm {
|
||||||
|
|
||||||
class LoopVectorizationLegality;
|
class LoopVectorizationLegality;
|
||||||
class LoopVectorizationCostModel;
|
class LoopVectorizationCostModel;
|
||||||
class TargetTransformInfo;
|
|
||||||
class TargetLibraryInfo;
|
class TargetLibraryInfo;
|
||||||
|
|
||||||
/// Helper class to create VPRecipies from IR instructions.
|
/// Helper class to create VPRecipies from IR instructions.
|
||||||
|
|
|
@ -48,8 +48,6 @@
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
class LoopVectorizationLegality;
|
|
||||||
class LoopVectorizationCostModel;
|
|
||||||
class BasicBlock;
|
class BasicBlock;
|
||||||
class DominatorTree;
|
class DominatorTree;
|
||||||
class InnerLoopVectorizer;
|
class InnerLoopVectorizer;
|
||||||
|
@ -59,6 +57,7 @@ class raw_ostream;
|
||||||
class Value;
|
class Value;
|
||||||
class VPBasicBlock;
|
class VPBasicBlock;
|
||||||
class VPRegionBlock;
|
class VPRegionBlock;
|
||||||
|
class VPSlotTracker;
|
||||||
class VPlan;
|
class VPlan;
|
||||||
class VPlanSlp;
|
class VPlanSlp;
|
||||||
|
|
||||||
|
@ -1501,7 +1500,6 @@ struct GraphTraits<Inverse<VPRegionBlock *>>
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
class VPSlotTracker;
|
|
||||||
/// VPlan models a candidate for vectorization, encoding various decisions take
|
/// VPlan models a candidate for vectorization, encoding various decisions take
|
||||||
/// to produce efficient output IR, including which branches, basic-blocks and
|
/// to produce efficient output IR, including which branches, basic-blocks and
|
||||||
/// output IR instructions to generate, and their cost. VPlan holds a
|
/// output IR instructions to generate, and their cost. VPlan holds a
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#include "VPlanVerifier.h"
|
#include "VPlanVerifier.h"
|
||||||
|
#include "VPlan.h"
|
||||||
#include "llvm/ADT/DepthFirstIterator.h"
|
#include "llvm/ADT/DepthFirstIterator.h"
|
||||||
#include "llvm/Support/CommandLine.h"
|
#include "llvm/Support/CommandLine.h"
|
||||||
|
|
||||||
|
|
|
@ -24,9 +24,8 @@
|
||||||
#ifndef LLVM_TRANSFORMS_VECTORIZE_VPLANVERIFIER_H
|
#ifndef LLVM_TRANSFORMS_VECTORIZE_VPLANVERIFIER_H
|
||||||
#define LLVM_TRANSFORMS_VECTORIZE_VPLANVERIFIER_H
|
#define LLVM_TRANSFORMS_VECTORIZE_VPLANVERIFIER_H
|
||||||
|
|
||||||
#include "VPlan.h"
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
class VPRegionBlock;
|
||||||
|
|
||||||
/// Struct with utility functions that can be used to check the consistency and
|
/// Struct with utility functions that can be used to check the consistency and
|
||||||
/// invariants of a VPlan, including the components of its H-CFG.
|
/// invariants of a VPlan, including the components of its H-CFG.
|
||||||
|
|
Loading…
Reference in New Issue