llvm.org GIT mirror llvm / 6619121
Sink some IntrinsicInst.h and Intrinsics.h out of llvm/include Many of these uses can get by with forward declarations. Hopefully this speeds up compilation after adding a single intrinsic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312759 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Kleckner 2 years ago
11 changed file(s) with 26 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
2222 #define LLVM_ANALYSIS_TARGETTRANSFORMINFO_H
2323
2424 #include "llvm/ADT/Optional.h"
25 #include "llvm/IR/IntrinsicInst.h"
26 #include "llvm/IR/Intrinsics.h"
2725 #include "llvm/IR/Operator.h"
2826 #include "llvm/IR/PassManager.h"
2927 #include "llvm/Pass.h"
28 #include "llvm/Support/AtomicOrdering.h"
3029 #include "llvm/Support/DataTypes.h"
3130 #include
3231
3332 namespace llvm {
3433
34 namespace Intrinsic {
35 enum ID : unsigned;
36 }
37
3538 class Function;
3639 class GlobalValue;
40 class IntrinsicInst;
41 class LoadInst;
3742 class Loop;
43 class SCEV;
3844 class ScalarEvolution;
39 class SCEV;
45 class StoreInst;
46 class SwitchInst;
4047 class Type;
4148 class User;
4249 class Value;
3434 #include "llvm/IR/InstrTypes.h"
3535 #include "llvm/IR/Instruction.h"
3636 #include "llvm/IR/Instructions.h"
37 #include "llvm/IR/Intrinsics.h"
3837 #include "llvm/IR/Use.h"
3938 #include "llvm/IR/User.h"
4039 #include "llvm/IR/Value.h"
4443 #include
4544
4645 namespace llvm {
46
47 namespace Intrinsic {
48 enum ID : unsigned;
49 }
4750
4851 template
4952 typename BBTy = const BasicBlock,
2929 #include "llvm/IR/DerivedTypes.h"
3030 #include "llvm/IR/GlobalObject.h"
3131 #include "llvm/IR/GlobalValue.h"
32 #include "llvm/IR/Intrinsics.h"
3332 #include "llvm/IR/OperandTraits.h"
3433 #include "llvm/IR/SymbolTableListTraits.h"
3534 #include "llvm/IR/Value.h"
4241 #include
4342
4443 namespace llvm {
44
45 namespace Intrinsic {
46 enum ID : unsigned;
47 }
4548
4649 class AssemblyAnnotationWriter;
4750 class Constant;
1818 #include "llvm/BinaryFormat/Dwarf.h"
1919 #include "llvm/IR/InlineAsm.h"
2020 #include "llvm/IR/Instructions.h"
21 #include "llvm/IR/IntrinsicInst.h"
2221 #include "llvm/IR/LLVMContext.h"
2322 #include "llvm/IR/Module.h"
2423 #include "llvm/IR/Verifier.h"
2424 #include "llvm/Analysis/LoopInfo.h"
2525 #include "llvm/Analysis/MemoryDependenceAnalysis.h"
2626 #include "llvm/IR/Dominators.h"
27 #include "llvm/IR/IntrinsicInst.h"
2827 #include "llvm/IR/PassManager.h"
2928
3029 namespace llvm {
30 class IntrinsicInst;
3131 class OptimizationRemarkEmitter;
3232
3333 /// A private "module" namespace for types and utilities used by GVN. These
1515
1616 #include "llvm/Analysis/TargetTransformInfo.h"
1717 #include "llvm/IR/IRBuilder.h"
18 #include "llvm/IR/IntrinsicInst.h"
1819 #include "llvm/Target/TargetSubtargetInfo.h"
1920
2021 using namespace llvm;
1111 #include "llvm/Analysis/LoopInfo.h"
1212 #include "llvm/Analysis/TargetTransformInfo.h"
1313 #include "llvm/CodeGen/BasicTTIImpl.h"
14 #include "llvm/IR/IntrinsicInst.h"
1415 #include "llvm/Support/Debug.h"
1516 #include "llvm/Target/CostTable.h"
1617 #include "llvm/Target/TargetLowering.h"
2020 #include "llvm/CodeGen/MachineRegisterInfo.h"
2121 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
2222 #include "llvm/IR/Intrinsics.h"
23 #include "llvm/IR/IntrinsicInst.h"
2324 #include "llvm/Support/CommandLine.h"
2425 #include "llvm/Support/KnownBits.h"
2526 #include
2626 #include "llvm/IR/DiagnosticInfo.h"
2727 #include "llvm/IR/Dominators.h"
2828 #include "llvm/IR/Instructions.h"
29 #include "llvm/IR/IntrinsicInst.h"
2930 #include "llvm/IR/Module.h"
3031 #include "llvm/Pass.h"
3132 #include "llvm/Transforms/IPO.h"
4747 #include "llvm/Analysis/MemorySSA.h"
4848 #include "llvm/Analysis/MemorySSAUpdater.h"
4949 #include "llvm/Analysis/ValueTracking.h"
50 #include "llvm/IR/IntrinsicInst.h"
5051 #include "llvm/Transforms/Scalar.h"
5152 #include "llvm/Transforms/Scalar/GVN.h"
5253 #include "llvm/Transforms/Utils/Local.h"
9393 #include "llvm/ADT/SetVector.h"
9494 #include "llvm/Analysis/TargetTransformInfo.h"
9595 #include "llvm/IR/Function.h"
96 #include "llvm/IR/IRBuilder.h"
9697 #include "llvm/IR/InstIterator.h"
9798 #include "llvm/IR/Instructions.h"
99 #include "llvm/IR/IntrinsicInst.h"
98100 #include "llvm/IR/Operator.h"
99101 #include "llvm/Support/Debug.h"
100102 #include "llvm/Support/raw_ostream.h"