mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Tidy up #includes, deleting a bunch of unnecessary #includes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61715 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -17,7 +17,6 @@
|
||||
#define LLVM_ANALYSIS_CONSTANTSSCANNER_H
|
||||
|
||||
#include "llvm/Support/InstIterator.h"
|
||||
#include "llvm/Instruction.h"
|
||||
#include "llvm/ADT/iterator.h"
|
||||
|
||||
namespace llvm {
|
||||
|
@ -11,8 +11,8 @@
|
||||
#define LLVM_ANALYSIS_DOMINATOR_INTERNALS_H
|
||||
|
||||
#include "llvm/Analysis/Dominators.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// DominatorTree construction - This pass constructs immediate dominator
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/Function.h"
|
||||
#include "llvm/Instruction.h"
|
||||
#include "llvm/Instructions.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/GraphTraits.h"
|
||||
|
@ -15,13 +15,13 @@
|
||||
#define LLVM_ANALYSIS_ESCAPEANALYSIS_H
|
||||
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Instructions.h"
|
||||
#include "llvm/Analysis/AliasAnalysis.h"
|
||||
#include "llvm/Target/TargetData.h"
|
||||
#include <set>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class Instruction;
|
||||
class Value;
|
||||
|
||||
/// EscapeAnalysis - This class determines whether an allocation (a MallocInst
|
||||
/// or an AllocaInst) can escape from the current function. It performs some
|
||||
/// precomputation, with the rest of the work happening on-demand.
|
||||
@ -40,11 +40,7 @@ public:
|
||||
EscapePoints.clear();
|
||||
}
|
||||
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.addRequiredTransitive<TargetData>();
|
||||
AU.addRequiredTransitive<AliasAnalysis>();
|
||||
AU.setPreservesAll();
|
||||
}
|
||||
void getAnalysisUsage(AnalysisUsage &AU) const;
|
||||
|
||||
//===---------------------------------------------------------------------
|
||||
// Client API
|
||||
|
@ -20,6 +20,7 @@
|
||||
namespace llvm {
|
||||
|
||||
class Type;
|
||||
class Value;
|
||||
|
||||
class FindUsedTypes : public ModulePass {
|
||||
std::set<const Type *> UsedTypes;
|
||||
|
@ -54,8 +54,6 @@ static void RemoveFromVector(std::vector<T*> &V, T *N) {
|
||||
|
||||
class DominatorTree;
|
||||
class LoopInfo;
|
||||
class PHINode;
|
||||
class Instruction;
|
||||
template<class N> class LoopInfoBase;
|
||||
template<class N> class LoopBase;
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
#ifndef LLVM_ANALYSIS_SCALAREVOLUTION_EXPANDER_H
|
||||
#define LLVM_ANALYSIS_SCALAREVOLUTION_EXPANDER_H
|
||||
|
||||
#include "llvm/Instructions.h"
|
||||
#include "llvm/Instruction.h"
|
||||
#include "llvm/Type.h"
|
||||
#include "llvm/Analysis/ScalarEvolution.h"
|
||||
#include "llvm/Analysis/ScalarEvolutionExpressions.h"
|
||||
@ -119,4 +119,3 @@ namespace llvm {
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include <iosfwd>
|
||||
#include <vector>
|
||||
#include <set>
|
||||
|
||||
@ -31,6 +31,8 @@ namespace llvm {
|
||||
class BasicBlock;
|
||||
class Function;
|
||||
class SparseSolver;
|
||||
|
||||
template<typename T> class SmallVectorImpl;
|
||||
|
||||
/// AbstractLatticeFunction - This class is implemented by the dataflow instance
|
||||
/// to specify what the lattice values are and how they handle merges etc.
|
||||
|
@ -15,8 +15,8 @@
|
||||
#ifndef LLVM_ANALYSIS_VALUETRACKING_H
|
||||
#define LLVM_ANALYSIS_VALUETRACKING_H
|
||||
|
||||
#include "llvm/Support/DataTypes.h"
|
||||
#include <string>
|
||||
#include <llvm/Support/DataTypes.h>
|
||||
|
||||
namespace llvm {
|
||||
class Value;
|
||||
|
Reference in New Issue
Block a user