diff options
| author | Nikita Popov <npopov@redhat.com> | 2023-11-21 16:59:58 +0100 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2023-11-22 09:06:36 +0100 |
| commit | 03f05a4e72891237264ab48adf62034aaac8bd46 (patch) | |
| tree | 869f1fcc1ac712f36cc77cc3aecca09ec2fcf6a4 /llvm | |
| parent | 06e733b198696b31285acbf359753c62e7ad06fd (diff) | |
[IR] Don't include GenericDomTreeConstruction.h in header (NFC)
The whole point of the GenericDomTree.h vs
GenericDomTreeConstruction.h distinction is that the latter only
needs to be included in the source file and not the header.
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/IR/Dominators.h | 1 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | 1 | ||||
| -rw-r--r-- | llvm/lib/IR/Dominators.cpp | 1 | ||||
| -rw-r--r-- | llvm/lib/Transforms/Vectorize/VectorCombine.cpp | 1 | ||||
| -rw-r--r-- | llvm/tools/llvm-reduce/deltas/ReduceOperandsSkip.cpp | 1 |
5 files changed, 4 insertions, 1 deletions
diff --git a/llvm/include/llvm/IR/Dominators.h b/llvm/include/llvm/IR/Dominators.h index 6ceadbf30b89..d619c2d84aa1 100644 --- a/llvm/include/llvm/IR/Dominators.h +++ b/llvm/include/llvm/IR/Dominators.h @@ -33,7 +33,6 @@ #include "llvm/Support/CFGDiff.h" #include "llvm/Support/CFGUpdate.h" #include "llvm/Support/GenericDomTree.h" -#include "llvm/Support/GenericDomTreeConstruction.h" #include <algorithm> #include <utility> #include <vector> diff --git a/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp b/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp index d250fd9339ab..f00528023c91 100644 --- a/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp +++ b/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp @@ -25,6 +25,7 @@ #include <assert.h> #include <cstdint> #include <optional> +#include <queue> #include <sstream> #include <unordered_map> diff --git a/llvm/lib/IR/Dominators.cpp b/llvm/lib/IR/Dominators.cpp index 24cc9f46ff79..0f4d112c69c1 100644 --- a/llvm/lib/IR/Dominators.cpp +++ b/llvm/lib/IR/Dominators.cpp @@ -25,6 +25,7 @@ #include "llvm/PassRegistry.h" #include "llvm/Support/Casting.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/GenericDomTreeConstruction.h" #include "llvm/Support/raw_ostream.h" #include <cassert> diff --git a/llvm/lib/Transforms/Vectorize/VectorCombine.cpp b/llvm/lib/Transforms/Vectorize/VectorCombine.cpp index 71ff21082c73..acf2b0e154e8 100644 --- a/llvm/lib/Transforms/Vectorize/VectorCombine.cpp +++ b/llvm/lib/Transforms/Vectorize/VectorCombine.cpp @@ -30,6 +30,7 @@ #include "llvm/Support/CommandLine.h" #include "llvm/Transforms/Utils/Local.h" #include <numeric> +#include <queue> #define DEBUG_TYPE "vector-combine" #include "llvm/Transforms/Utils/InstructionWorklist.h" diff --git a/llvm/tools/llvm-reduce/deltas/ReduceOperandsSkip.cpp b/llvm/tools/llvm-reduce/deltas/ReduceOperandsSkip.cpp index dccc18fdb9d6..1763feedcdbc 100644 --- a/llvm/tools/llvm-reduce/deltas/ReduceOperandsSkip.cpp +++ b/llvm/tools/llvm-reduce/deltas/ReduceOperandsSkip.cpp @@ -14,6 +14,7 @@ #include "llvm/IR/InstIterator.h" #include "llvm/IR/Instructions.h" #include "llvm/IR/Operator.h" +#include <queue> using namespace llvm; |
