forked from OSchip/llvm-project
CFG.h - reduce includes to forward declarations. NFC.
Remove unnecessary includes from CFG.cpp. Fix implicit include dependency in X86WinEHState.cpp.
This commit is contained in:
parent
bc20bdb9f9
commit
e5e33f23c7
|
@ -14,8 +14,8 @@
|
|||
#ifndef LLVM_ANALYSIS_CFG_H
|
||||
#define LLVM_ANALYSIS_CFG_H
|
||||
|
||||
#include "llvm/IR/BasicBlock.h"
|
||||
#include "llvm/IR/CFG.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
#include <utility>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
@ -24,6 +24,7 @@ class DominatorTree;
|
|||
class Function;
|
||||
class Instruction;
|
||||
class LoopInfo;
|
||||
template <typename T> class SmallVectorImpl;
|
||||
|
||||
/// Analyze the specified function to find all of the loop backedges in the
|
||||
/// function and return them. This is a relatively cheap (compared to
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "llvm/Analysis/CFG.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
#include "llvm/ADT/SmallSet.h"
|
||||
#include "llvm/Analysis/LoopInfo.h"
|
||||
#include "llvm/IR/Dominators.h"
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include "llvm/Analysis/EHPersonalities.h"
|
||||
#include "llvm/CodeGen/MachineModuleInfo.h"
|
||||
#include "llvm/CodeGen/WinEHFuncInfo.h"
|
||||
#include "llvm/IR/CFG.h"
|
||||
#include "llvm/IR/Function.h"
|
||||
#include "llvm/IR/IRBuilder.h"
|
||||
#include "llvm/IR/Instructions.h"
|
||||
|
|
Loading…
Reference in New Issue