forked from OSchip/llvm-project
[VPlan] Replace a few unnecessary includes with forward decls.
This commit is contained in:
parent
d4385e483d
commit
49999d4364
llvm/lib/Transforms/Vectorize
|
@ -25,18 +25,18 @@
|
||||||
#define LLVM_TRANSFORMS_VECTORIZE_LOOPVECTORIZATIONPLANNER_H
|
#define LLVM_TRANSFORMS_VECTORIZE_LOOPVECTORIZATIONPLANNER_H
|
||||||
|
|
||||||
#include "VPlan.h"
|
#include "VPlan.h"
|
||||||
#include "llvm/Analysis/LoopInfo.h"
|
|
||||||
#include "llvm/Analysis/TargetLibraryInfo.h"
|
|
||||||
#include "llvm/Analysis/TargetTransformInfo.h"
|
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
class LoopInfo;
|
||||||
class LoopVectorizationLegality;
|
class LoopVectorizationLegality;
|
||||||
class LoopVectorizationCostModel;
|
class LoopVectorizationCostModel;
|
||||||
class PredicatedScalarEvolution;
|
class PredicatedScalarEvolution;
|
||||||
class LoopVectorizationRequirements;
|
class LoopVectorizationRequirements;
|
||||||
class LoopVectorizeHints;
|
class LoopVectorizeHints;
|
||||||
class OptimizationRemarkEmitter;
|
class OptimizationRemarkEmitter;
|
||||||
|
class TargetTransformInfo;
|
||||||
|
class TargetLibraryInfo;
|
||||||
class VPRecipeBuilder;
|
class VPRecipeBuilder;
|
||||||
|
|
||||||
/// VPlan-based builder utility analogous to IRBuilder.
|
/// VPlan-based builder utility analogous to IRBuilder.
|
||||||
|
|
|
@ -14,11 +14,13 @@
|
||||||
#define LLVM_TRANSFORMS_VECTORIZE_VPLANTRANSFORMS_H
|
#define LLVM_TRANSFORMS_VECTORIZE_VPLANTRANSFORMS_H
|
||||||
|
|
||||||
#include "VPlan.h"
|
#include "VPlan.h"
|
||||||
#include "llvm/IR/Instruction.h"
|
|
||||||
#include "llvm/Transforms/Vectorize/LoopVectorizationLegality.h"
|
#include "llvm/Transforms/Vectorize/LoopVectorizationLegality.h"
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
|
class Instruction;
|
||||||
|
class ScalarEvolution;
|
||||||
|
|
||||||
struct VPlanTransforms {
|
struct VPlanTransforms {
|
||||||
/// Replaces the VPInstructions in \p Plan with corresponding
|
/// Replaces the VPInstructions in \p Plan with corresponding
|
||||||
/// widen recipes.
|
/// widen recipes.
|
||||||
|
|
Loading…
Reference in New Issue