Skip to content

Commit 9571cc2

Browse files
[ARM] Remove unused includes (NFC) (#115995)
Identified with misc-include-cleaner.
1 parent 735ab61 commit 9571cc2

22 files changed

+3
-42
lines changed

llvm/lib/Target/ARM/ARMAsmPrinter.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,11 @@
1717
#include "ARMMachineFunctionInfo.h"
1818
#include "ARMTargetMachine.h"
1919
#include "ARMTargetObjectFile.h"
20-
#include "MCTargetDesc/ARMAddressingModes.h"
2120
#include "MCTargetDesc/ARMInstPrinter.h"
2221
#include "MCTargetDesc/ARMMCExpr.h"
2322
#include "TargetInfo/ARMTargetInfo.h"
2423
#include "llvm/ADT/SmallString.h"
2524
#include "llvm/BinaryFormat/COFF.h"
26-
#include "llvm/CodeGen/MachineFunctionPass.h"
2725
#include "llvm/CodeGen/MachineJumpTableInfo.h"
2826
#include "llvm/CodeGen/MachineModuleInfoImpls.h"
2927
#include "llvm/IR/Constants.h"

llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
#include "llvm/CodeGen/TargetRegisterInfo.h"
4646
#include "llvm/CodeGen/TargetSchedule.h"
4747
#include "llvm/IR/Attributes.h"
48-
#include "llvm/IR/Constants.h"
4948
#include "llvm/IR/DebugLoc.h"
5049
#include "llvm/IR/Function.h"
5150
#include "llvm/IR/GlobalValue.h"
@@ -61,7 +60,6 @@
6160
#include "llvm/Support/ErrorHandling.h"
6261
#include "llvm/Support/raw_ostream.h"
6362
#include "llvm/Target/TargetMachine.h"
64-
#include "llvm/TargetParser/Triple.h"
6563
#include <algorithm>
6664
#include <cassert>
6765
#include <cstdint>

llvm/lib/Target/ARM/ARMCallingConv.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@
1111
//
1212
//===----------------------------------------------------------------------===//
1313

14-
#include "ARM.h"
1514
#include "ARMCallingConv.h"
15+
#include "ARM.h"
1616
#include "ARMSubtarget.h"
17-
#include "ARMRegisterInfo.h"
1817
using namespace llvm;
1918

2019
// APCS f64 is in register pairs, possibly split to stack

llvm/lib/Target/ARM/ARMConstantIslandPass.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
#include "llvm/Support/Debug.h"
4848
#include "llvm/Support/ErrorHandling.h"
4949
#include "llvm/Support/Format.h"
50-
#include "llvm/Support/MathExtras.h"
5150
#include "llvm/Support/raw_ostream.h"
5251
#include <algorithm>
5352
#include <cassert>

llvm/lib/Target/ARM/ARMFastISel.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
#include "llvm/CodeGen/MachineMemOperand.h"
4141
#include "llvm/CodeGen/MachineOperand.h"
4242
#include "llvm/CodeGen/MachineRegisterInfo.h"
43-
#include "llvm/CodeGen/RuntimeLibcallUtil.h"
4443
#include "llvm/CodeGen/TargetInstrInfo.h"
4544
#include "llvm/CodeGen/TargetLowering.h"
4645
#include "llvm/CodeGen/TargetOpcodes.h"
@@ -69,7 +68,6 @@
6968
#include "llvm/IR/User.h"
7069
#include "llvm/IR/Value.h"
7170
#include "llvm/MC/MCInstrDesc.h"
72-
#include "llvm/MC/MCRegisterInfo.h"
7371
#include "llvm/Support/Casting.h"
7472
#include "llvm/Support/Compiler.h"
7573
#include "llvm/Support/ErrorHandling.h"

llvm/lib/Target/ARM/ARMFrameLowering.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@
149149
#include "llvm/Support/Compiler.h"
150150
#include "llvm/Support/Debug.h"
151151
#include "llvm/Support/ErrorHandling.h"
152-
#include "llvm/Support/MathExtras.h"
153152
#include "llvm/Support/raw_ostream.h"
154153
#include "llvm/Target/TargetMachine.h"
155154
#include "llvm/Target/TargetOptions.h"

llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,13 @@
2424
#include "llvm/CodeGen/SelectionDAG.h"
2525
#include "llvm/CodeGen/SelectionDAGISel.h"
2626
#include "llvm/CodeGen/TargetLowering.h"
27-
#include "llvm/IR/CallingConv.h"
2827
#include "llvm/IR/Constants.h"
2928
#include "llvm/IR/DerivedTypes.h"
3029
#include "llvm/IR/Function.h"
3130
#include "llvm/IR/Intrinsics.h"
3231
#include "llvm/IR/IntrinsicsARM.h"
3332
#include "llvm/IR/LLVMContext.h"
3433
#include "llvm/Support/CommandLine.h"
35-
#include "llvm/Support/Debug.h"
3634
#include "llvm/Support/ErrorHandling.h"
3735
#include "llvm/Target/TargetOptions.h"
3836
#include <optional>

llvm/lib/Target/ARM/ARMISelLowering.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,11 @@
8383
#include "llvm/IR/Intrinsics.h"
8484
#include "llvm/IR/IntrinsicsARM.h"
8585
#include "llvm/IR/Module.h"
86-
#include "llvm/IR/PatternMatch.h"
8786
#include "llvm/IR/Type.h"
8887
#include "llvm/IR/User.h"
8988
#include "llvm/IR/Value.h"
9089
#include "llvm/MC/MCInstrDesc.h"
9190
#include "llvm/MC/MCInstrItineraries.h"
92-
#include "llvm/MC/MCRegisterInfo.h"
9391
#include "llvm/MC/MCSchedule.h"
9492
#include "llvm/Support/AtomicOrdering.h"
9593
#include "llvm/Support/BranchProbability.h"

llvm/lib/Target/ARM/ARMInstructionSelector.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include "llvm/CodeGen/GlobalISel/InstructionSelector.h"
1919
#include "llvm/CodeGen/MachineConstantPool.h"
2020
#include "llvm/CodeGen/MachineRegisterInfo.h"
21-
#include "llvm/IR/IntrinsicsARM.h"
2221
#include "llvm/Support/Debug.h"
2322

2423
#define DEBUG_TYPE "arm-isel"

llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
#include "llvm/CodeGen/TargetSubtargetInfo.h"
5151
#include "llvm/IR/DataLayout.h"
5252
#include "llvm/IR/DebugLoc.h"
53-
#include "llvm/IR/DerivedTypes.h"
5453
#include "llvm/IR/Function.h"
5554
#include "llvm/IR/Type.h"
5655
#include "llvm/InitializePasses.h"
@@ -61,7 +60,6 @@
6160
#include "llvm/Support/Debug.h"
6261
#include "llvm/Support/ErrorHandling.h"
6362
#include "llvm/Support/raw_ostream.h"
64-
#include <algorithm>
6563
#include <cassert>
6664
#include <cstddef>
6765
#include <cstdlib>

0 commit comments

Comments
 (0)