forked from OSchip/llvm-project
SwitchLoweringUtils.h - reduce TargetLowering.h include. NFCI.
Only include the headers we actually need, and move the remaining includes down to implicit dependent files.
This commit is contained in:
parent
3d9c85e4d8
commit
f42f733af9
|
@ -38,6 +38,7 @@ class BasicBlock;
|
|||
class CallInst;
|
||||
class CallLowering;
|
||||
class Constant;
|
||||
class ConstrainedFPIntrinsic;
|
||||
class DataLayout;
|
||||
class Instruction;
|
||||
class MachineBasicBlock;
|
||||
|
|
|
@ -10,16 +10,21 @@
|
|||
#define LLVM_CODEGEN_SWITCHLOWERINGUTILS_H
|
||||
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/CodeGen/ISDOpcodes.h"
|
||||
#include "llvm/CodeGen/SelectionDAGNodes.h"
|
||||
#include "llvm/CodeGen/TargetLowering.h"
|
||||
#include "llvm/IR/Constants.h"
|
||||
#include "llvm/IR/InstrTypes.h"
|
||||
#include "llvm/Support/BranchProbability.h"
|
||||
#include <vector>
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class BlockFrequencyInfo;
|
||||
class ConstantInt;
|
||||
class FunctionLoweringInfo;
|
||||
class MachineBasicBlock;
|
||||
class BlockFrequencyInfo;
|
||||
class ProfileSummaryInfo;
|
||||
class TargetLowering;
|
||||
class TargetMachine;
|
||||
|
||||
namespace SwitchCG {
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "llvm/CodeGen/SwitchLoweringUtils.h"
|
||||
#include "llvm/CodeGen/FunctionLoweringInfo.h"
|
||||
#include "llvm/CodeGen/MachineJumpTableInfo.h"
|
||||
#include "llvm/CodeGen/TargetLowering.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
|
Loading…
Reference in New Issue