Skip to content

Commit 11b4f11

Browse files
[llvm] Remove unused includes of SmallSet.h (NFC) (llvm#154893)
We just replaced SmallSet<T *, N> with SmallPtrSet<T *, N>, bypassing the redirection found in SmallSet.h. With that, we no longer need to include SmallSet.h in many files.
1 parent 4b9c828 commit 11b4f11

31 files changed

+0
-31
lines changed

llvm/lib/Analysis/CallPrinter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
#include "llvm/Analysis/CallPrinter.h"
1717
#include "llvm/ADT/DenseMap.h"
18-
#include "llvm/ADT/SmallSet.h"
1918
#include "llvm/Analysis/BlockFrequencyInfo.h"
2019
#include "llvm/Analysis/CallGraph.h"
2120
#include "llvm/Analysis/HeatUtils.h"

llvm/lib/Analysis/CaptureTracking.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
//===----------------------------------------------------------------------===//
1717

1818
#include "llvm/Analysis/CaptureTracking.h"
19-
#include "llvm/ADT/SmallSet.h"
2019
#include "llvm/ADT/SmallVector.h"
2120
#include "llvm/ADT/Statistic.h"
2221
#include "llvm/Analysis/AliasAnalysis.h"

llvm/lib/Analysis/ScalarEvolution.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
#include "llvm/ADT/ScopeExit.h"
6868
#include "llvm/ADT/Sequence.h"
6969
#include "llvm/ADT/SmallPtrSet.h"
70-
#include "llvm/ADT/SmallSet.h"
7170
#include "llvm/ADT/SmallVector.h"
7271
#include "llvm/ADT/Statistic.h"
7372
#include "llvm/ADT/StringExtras.h"

llvm/lib/Analysis/ValueTracking.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include "llvm/ADT/STLExtras.h"
2020
#include "llvm/ADT/ScopeExit.h"
2121
#include "llvm/ADT/SmallPtrSet.h"
22-
#include "llvm/ADT/SmallSet.h"
2322
#include "llvm/ADT/SmallVector.h"
2423
#include "llvm/ADT/StringRef.h"
2524
#include "llvm/ADT/iterator_range.h"

llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include "llvm/ADT/PostOrderIterator.h"
1414
#include "llvm/ADT/STLExtras.h"
1515
#include "llvm/ADT/ScopeExit.h"
16-
#include "llvm/ADT/SmallSet.h"
1716
#include "llvm/ADT/SmallVector.h"
1817
#include "llvm/Analysis/AliasAnalysis.h"
1918
#include "llvm/Analysis/AssumptionCache.h"

llvm/lib/CodeGen/MachineDebugify.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
//===----------------------------------------------------------------------===//
1515

1616
#include "llvm/ADT/DenseMap.h"
17-
#include "llvm/ADT/SmallSet.h"
1817
#include "llvm/ADT/SmallVector.h"
1918
#include "llvm/CodeGen/MachineInstrBuilder.h"
2019
#include "llvm/CodeGen/MachineModuleInfo.h"

llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include "llvm/ADT/BitVector.h"
1818
#include "llvm/ADT/STLExtras.h"
1919
#include "llvm/ADT/SmallPtrSet.h"
20-
#include "llvm/ADT/SmallSet.h"
2120
#include "llvm/ADT/StringExtras.h"
2221
#include "llvm/ADT/StringRef.h"
2322
#include "llvm/ADT/Twine.h"

llvm/lib/CodeGen/SwiftErrorValueTracking.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include "llvm/CodeGen/SwiftErrorValueTracking.h"
1616
#include "llvm/ADT/PostOrderIterator.h"
17-
#include "llvm/ADT/SmallSet.h"
1817
#include "llvm/CodeGen/MachineInstrBuilder.h"
1918
#include "llvm/CodeGen/MachineRegisterInfo.h"
2019
#include "llvm/CodeGen/TargetInstrInfo.h"

llvm/lib/ExecutionEngine/Orc/Debugging/DebuggerSupportPlugin.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include "llvm/ExecutionEngine/Orc/Debugging/DebuggerSupportPlugin.h"
1313
#include "llvm/ExecutionEngine/Orc/MachOBuilder.h"
1414

15-
#include "llvm/ADT/SmallSet.h"
1615
#include "llvm/ADT/SmallVector.h"
1716
#include "llvm/BinaryFormat/MachO.h"
1817
#include "llvm/DebugInfo/DWARF/DWARFContext.h"

llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
#include "llvm/Frontend/OpenMP/OMPIRBuilder.h"
1616
#include "llvm/ADT/SmallBitVector.h"
17-
#include "llvm/ADT/SmallSet.h"
1817
#include "llvm/ADT/StringExtras.h"
1918
#include "llvm/ADT/StringRef.h"
2019
#include "llvm/Analysis/AssumptionCache.h"

0 commit comments

Comments
 (0)