LegacyDivergenceAnalysis.h - reduce DivergenceAnalysis.h include to forward declaration. NFC.

Move implicit include dependencies down to source file.
This commit is contained in:
Simon Pilgrim 2020-06-06 13:30:00 +01:00
parent d43603c32c
commit eda13c2420
2 changed files with 8 additions and 2 deletions

View File

@ -16,13 +16,18 @@
#define LLVM_ANALYSIS_LEGACY_DIVERGENCE_ANALYSIS_H
#include "llvm/ADT/DenseSet.h"
#include "llvm/Analysis/DivergenceAnalysis.h"
#include "llvm/Pass.h"
#include <memory>
namespace llvm {
class Value;
class Function;
class GPUDivergenceAnalysis;
class Module;
class raw_ostream;
class TargetTransformInfo;
class Use;
class Value;
class LegacyDivergenceAnalysis : public FunctionPass {
public:
static char ID;

View File

@ -28,6 +28,7 @@
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Analysis/LegacyDivergenceAnalysis.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/CodeGen/FunctionLoweringInfo.h"
#include "llvm/CodeGen/ISDOpcodes.h"