Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion llvm/include/llvm/Bitcode/BitcodeWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "llvm/Support/Compiler.h"
#include "llvm/Support/MemoryBufferRef.h"
#include <memory>
#include <string>
#include <vector>

namespace llvm {
Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/DebugInfo/GSYM/GsymContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "llvm/DebugInfo/DIContext.h"
#include <cstdint>
#include <memory>
#include <string>

namespace llvm {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
#include <functional>
#include <iterator>
#include <memory>
#include <optional>
#include <utility>

namespace llvm {
Expand Down
3 changes: 2 additions & 1 deletion llvm/include/llvm/IR/MemoryModelRelaxationAnnotations.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Compiler.h"
#include <tuple> // for std::pair

#include <utility>

namespace llvm {

Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/MC/DXContainerPSVInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include "llvm/TargetParser/Triple.h"

#include <array>
#include <numeric>
#include <stdint.h>

namespace llvm {
Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/MC/MCAssembler.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <cstdint>
#include <memory>
#include <string>
#include <tuple>
#include <utility>

namespace llvm {
Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/Remarks/YAMLRemarkSerializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include "llvm/Remarks/RemarkSerializer.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/YAMLTraits.h"
#include <optional>

namespace llvm {
namespace remarks {
Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/Support/FormatVariadic.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
#include "llvm/Support/raw_ostream.h"
#include <array>
#include <cstddef>
#include <optional>
#include <string>
#include <tuple>
#include <utility>
Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/Support/Jobserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@

#include "llvm/ADT/StringRef.h"
#include <memory>
#include <string>

namespace llvm {

Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/Transforms/Scalar/JumpThreading.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include "llvm/IR/ValueHandle.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Transforms/Utils/ValueMapper.h"
#include <optional>
#include <utility>

namespace llvm {
Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/Transforms/Scalar/Scalarizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

#include "llvm/IR/PassManager.h"
#include "llvm/Support/Compiler.h"
#include <optional>

namespace llvm {

Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/Transforms/Utils/LowerVectorIntrinsics.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#define LLVM_TRANSFORMS_UTILS_LOWERVECTORINTRINSICS_H

#include <cstdint>
#include <optional>

namespace llvm {

Expand Down
1 change: 0 additions & 1 deletion llvm/include/llvm/Transforms/Utils/SplitModuleByCategory.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#include <memory>
#include <optional>
#include <string>

namespace llvm {

Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Analysis/DXILResource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "llvm/Support/DXILABI.h"
#include "llvm/Support/FormatVariadic.h"
#include <cstdint>
#include <optional>

#define DEBUG_TYPE "dxil-resource"

Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Analysis/TFLiteUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include "tensorflow/lite/logger.h"

#include <cassert>
#include <numeric>
#include <optional>

using namespace llvm;
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Analysis/TrainingLogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "llvm/Support/raw_ostream.h"

#include <cassert>
#include <numeric>

using namespace llvm;

Expand Down
1 change: 0 additions & 1 deletion llvm/lib/CodeGen/TargetSchedule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <numeric>

using namespace llvm;

Expand Down
1 change: 0 additions & 1 deletion llvm/lib/DebugInfo/DWARF/DWARFUnwindTablePrinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include <cassert>
#include <cinttypes>
#include <cstdint>
#include <optional>

using namespace llvm;
using namespace dwarf;
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Frontend/Offloading/OffloadWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "llvm/Transforms/Utils/ModuleUtils.h"

#include <memory>
#include <string>
#include <utility>

using namespace llvm;
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Support/Mustache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include <cctype>
#include <optional>
#include <sstream>

#define DEBUG_TYPE "mustache"
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Support/Windows/Program.inc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <fcntl.h>
#include <io.h>
#include <malloc.h>
#include <numeric>
#include <psapi.h>

//===----------------------------------------------------------------------===//
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
#include "llvm/Transforms/Vectorize/LoopIdiomVectorize.h"
#include <memory>
#include <optional>
#include <string>

using namespace llvm;

Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/AVR/AVRTargetTransformInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/CodeGen/BasicTTIImpl.h"
#include "llvm/IR/Function.h"
#include <optional>

namespace llvm {

Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/DirectX/DXContainerGlobals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
#include "llvm/TargetParser/Triple.h"
#include "llvm/Transforms/Utils/ModuleUtils.h"
#include <cstdint>
#include <optional>

using namespace llvm;
using namespace llvm::dxil;
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/DirectX/DXILRootSignature.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "llvm/IR/PassManager.h"
#include "llvm/MC/DXContainerRootSignature.h"
#include "llvm/Pass.h"
#include <optional>

namespace llvm {
namespace dxil {
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include "llvm/Support/Allocator.h"
#include "llvm/Support/MemoryBufferRef.h"
#include <memory>
#include <string>
#include <vector>

namespace llvm {
Expand Down
2 changes: 0 additions & 2 deletions llvm/lib/Target/M68k/M68kSubtarget.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
#include "llvm/MC/MCInstrItineraries.h"
#include "llvm/Support/Alignment.h"

#include <string>

#define GET_SUBTARGETINFO_HEADER
#include "M68kGenSubtargetInfo.inc"

Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/PowerPC/PPCSubtarget.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "llvm/IR/DataLayout.h"
#include "llvm/MC/MCInstrItineraries.h"
#include "llvm/TargetParser/Triple.h"
#include <string>

#define GET_SUBTARGETINFO_HEADER
#include "PPCGenSubtargetInfo.inc"
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/Sparc/SparcSubtarget.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "llvm/IR/DataLayout.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/TargetParser/Triple.h"
#include <string>

#define GET_SUBTARGETINFO_HEADER
#include "SparcGenSubtargetInfo.inc"
Expand Down
1 change: 0 additions & 1 deletion llvm/lib/Target/X86/X86TargetMachine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
#include "llvm/Transforms/CFGuard.h"
#include <memory>
#include <optional>
#include <string>

using namespace llvm;

Expand Down
1 change: 0 additions & 1 deletion llvm/tools/llvm-exegesis/lib/X86/Target.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "llvm/TargetParser/Host.h"

#include <memory>
#include <string>
#include <vector>
#if defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_X64)) && \
!defined(_M_ARM64EC)
Expand Down
1 change: 0 additions & 1 deletion llvm/tools/llvm-gpu-loader/amdhsa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include <cstdlib>
#include <cstring>
#include <thread>
#include <tuple>
#include <utility>

// The implicit arguments of COV5 AMDGPU kernels.
Expand Down
2 changes: 0 additions & 2 deletions llvm/tools/llvm-mc/Disassembler.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
#ifndef LLVM_TOOLS_LLVM_MC_DISASSEMBLER_H
#define LLVM_TOOLS_LLVM_MC_DISASSEMBLER_H

#include <string>

namespace llvm {

class MemoryBuffer;
Expand Down
1 change: 0 additions & 1 deletion llvm/tools/llvm-xray/trie-node.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#define LLVM_TOOLS_LLVM_XRAY_STACK_TRIE_H

#include <forward_list>
#include <numeric>

#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/STLExtras.h"
Expand Down
1 change: 0 additions & 1 deletion llvm/unittests/ADT/STLForwardCompatTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "gtest/gtest.h"

#include <optional>
#include <tuple>
#include <type_traits>
#include <utility>

Expand Down
4 changes: 3 additions & 1 deletion llvm/unittests/ADT/SequenceTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
#include "gmock/gmock.h"
#include "gtest/gtest.h"

#include <numeric>
#include <iterator>
#include <limits>
#include <vector>

using namespace llvm;

Expand Down
1 change: 0 additions & 1 deletion llvm/unittests/ExecutionEngine/Orc/LibraryResolverTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "gtest/gtest.h"

#include <algorithm>
#include <optional>
#include <string>
#include <vector>

Expand Down
1 change: 0 additions & 1 deletion llvm/unittests/IR/VFABIDemanglerTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include "llvm/IR/Module.h"
#include "llvm/Support/SourceMgr.h"
#include "gtest/gtest.h"
#include <optional>

using namespace llvm;

Expand Down
1 change: 0 additions & 1 deletion llvm/utils/TableGen/Common/CodeGenHwModes.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#include "llvm/ADT/StringRef.h"
#include <cassert>
#include <map>
#include <string>
#include <utility>
#include <vector>

Expand Down
1 change: 0 additions & 1 deletion llvm/utils/TableGen/Common/CodeGenTarget.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include "llvm/CodeGenTypes/MachineValueType.h"
#include <cassert>
#include <memory>
#include <optional>
#include <string>
#include <vector>

Expand Down
2 changes: 0 additions & 2 deletions llvm/utils/TableGen/TableGenBackends.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
#ifndef LLVM_UTILS_TABLEGEN_TABLEGENBACKENDS_H
#define LLVM_UTILS_TABLEGEN_TABLEGENBACKENDS_H

#include <string>

// A TableGen backend is a function that looks like
//
// EmitFoo(RecordKeeper &RK, raw_ostream &OS /*, anything else you need */ )
Expand Down