llvm.org GIT mirror llvm / 7ae72bf
Don't #include heavy Dominators.h file in LoopInfo.h. This change reduces overall time of LLVM compilation by ~1%. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196667 91177308-0d34-0410-b5e6-96231b3b80d8 Jakub Staszak 6 years ago
10 changed file(s) with 14 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3232 #include "llvm/ADT/DenseMap.h"
3333 #include "llvm/ADT/DenseSet.h"
3434 #include "llvm/ADT/GraphTraits.h"
35 #include "llvm/ADT/SmallPtrSet.h"
3536 #include "llvm/ADT/SmallVector.h"
36 #include "llvm/Analysis/Dominators.h"
37 #include "llvm/IR/Instruction.h"
38 #include "llvm/Support/CFG.h"
3739 #include "llvm/Pass.h"
3840 #include
3941
5254 class MDNode;
5355 class PHINode;
5456 class raw_ostream;
57 template class DominatorTreeBase;
5558 template class LoopInfoBase;
5659 template class LoopBase;
5760
1414 #ifndef LLVM_ANALYSIS_LOOPINFOIMPL_H
1515 #define LLVM_ANALYSIS_LOOPINFOIMPL_H
1616
17 #include "llvm/ADT/DepthFirstIterator.h"
1718 #include "llvm/ADT/PostOrderIterator.h"
1819 #include "llvm/ADT/STLExtras.h"
20 #include "llvm/Analysis/Dominators.h"
1921 #include "llvm/Analysis/LoopInfo.h"
2022
2123 namespace llvm {
3030 #define LLVM_CODEGEN_MACHINELOOPINFO_H
3131
3232 #include "llvm/Analysis/LoopInfo.h"
33 #include "llvm/CodeGen/MachineBasicBlock.h"
3334 #include "llvm/CodeGen/MachineFunctionPass.h"
3435
3536 namespace llvm {
1515 #include "llvm/Analysis/ScalarEvolutionExpander.h"
1616 #include "llvm/ADT/SmallSet.h"
1717 #include "llvm/ADT/STLExtras.h"
18 #include "llvm/Analysis/Dominators.h"
1819 #include "llvm/Analysis/LoopInfo.h"
1920 #include "llvm/Analysis/TargetTransformInfo.h"
2021 #include "llvm/IR/DataLayout.h"
4444 #include "llvm/Transforms/Scalar.h"
4545 #include "llvm/ADT/Statistic.h"
4646 #include "llvm/Analysis/AliasAnalysis.h"
47 #include "llvm/Analysis/Dominators.h"
4748 #include "llvm/Analysis/LoopPass.h"
4849 #include "llvm/Analysis/ScalarEvolutionExpander.h"
4950 #include "llvm/Analysis/ScalarEvolutionExpressions.h"
1717 #include "llvm/ADT/STLExtras.h"
1818 #include "llvm/Analysis/AliasAnalysis.h"
1919 #include "llvm/Analysis/AliasSetTracker.h"
20 #include "llvm/Analysis/Dominators.h"
2021 #include "llvm/Analysis/LoopPass.h"
2122 #include "llvm/Analysis/ScalarEvolution.h"
2223 #include "llvm/Analysis/ScalarEvolutionExpander.h"
1414 #include "llvm/Transforms/Scalar.h"
1515 #include "llvm/ADT/Statistic.h"
1616 #include "llvm/Analysis/CodeMetrics.h"
17 #include "llvm/Analysis/Dominators.h"
1718 #include "llvm/Analysis/InstructionSimplify.h"
1819 #include "llvm/Analysis/LoopPass.h"
1920 #include "llvm/Analysis/ScalarEvolution.h"
1414 #define DEBUG_TYPE "loop-unroll"
1515 #include "llvm/Transforms/Scalar.h"
1616 #include "llvm/Analysis/CodeMetrics.h"
17 #include "llvm/Analysis/Dominators.h"
1718 #include "llvm/Analysis/LoopPass.h"
1819 #include "llvm/Analysis/ScalarEvolution.h"
1920 #include "llvm/Analysis/TargetTransformInfo.h"
1818 #define DEBUG_TYPE "loop-unroll"
1919 #include "llvm/Transforms/Utils/UnrollLoop.h"
2020 #include "llvm/ADT/Statistic.h"
21 #include "llvm/Analysis/Dominators.h"
2122 #include "llvm/Analysis/InstructionSimplify.h"
2223 #include "llvm/Analysis/LoopIterator.h"
2324 #include "llvm/Analysis/LoopPass.h"
2222 #include "llvm/ADT/PostOrderIterator.h"
2323 #include "llvm/ADT/SetVector.h"
2424 #include "llvm/Analysis/AliasAnalysis.h"
25 #include "llvm/Analysis/Dominators.h"
2526 #include "llvm/Analysis/ScalarEvolution.h"
2627 #include "llvm/Analysis/ScalarEvolutionExpressions.h"
2728 #include "llvm/Analysis/TargetTransformInfo.h"