forked from OSchip/llvm-project
LegacyDivergenceAnalysis.h - reduce DivergenceAnalysis.h include to forward declaration. NFC.
Move implicit include dependencies down to source file.
This commit is contained in:
parent
d43603c32c
commit
eda13c2420
|
@ -16,13 +16,18 @@
|
||||||
#define LLVM_ANALYSIS_LEGACY_DIVERGENCE_ANALYSIS_H
|
#define LLVM_ANALYSIS_LEGACY_DIVERGENCE_ANALYSIS_H
|
||||||
|
|
||||||
#include "llvm/ADT/DenseSet.h"
|
#include "llvm/ADT/DenseSet.h"
|
||||||
#include "llvm/Analysis/DivergenceAnalysis.h"
|
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
class Value;
|
|
||||||
class Function;
|
class Function;
|
||||||
class GPUDivergenceAnalysis;
|
class GPUDivergenceAnalysis;
|
||||||
|
class Module;
|
||||||
|
class raw_ostream;
|
||||||
|
class TargetTransformInfo;
|
||||||
|
class Use;
|
||||||
|
class Value;
|
||||||
|
|
||||||
class LegacyDivergenceAnalysis : public FunctionPass {
|
class LegacyDivergenceAnalysis : public FunctionPass {
|
||||||
public:
|
public:
|
||||||
static char ID;
|
static char ID;
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include "llvm/ADT/SmallVector.h"
|
#include "llvm/ADT/SmallVector.h"
|
||||||
#include "llvm/ADT/StringRef.h"
|
#include "llvm/ADT/StringRef.h"
|
||||||
#include "llvm/Analysis/LegacyDivergenceAnalysis.h"
|
#include "llvm/Analysis/LegacyDivergenceAnalysis.h"
|
||||||
|
#include "llvm/Analysis/LoopInfo.h"
|
||||||
#include "llvm/Analysis/ValueTracking.h"
|
#include "llvm/Analysis/ValueTracking.h"
|
||||||
#include "llvm/CodeGen/FunctionLoweringInfo.h"
|
#include "llvm/CodeGen/FunctionLoweringInfo.h"
|
||||||
#include "llvm/CodeGen/ISDOpcodes.h"
|
#include "llvm/CodeGen/ISDOpcodes.h"
|
||||||
|
|
Loading…
Reference in New Issue