Skip to content

Commit d45fae6

Browse files
committed
Move CodeGen/LowLevelType => CodeGen/LowLevelTypeUtils
Before restoring `CodeGen/LowLevelType`, rename this to `LowLevelTypeUtils`. Differential Revision: https://reviews.llvm.org/D148768
1 parent b63b2c2 commit d45fae6

File tree

13 files changed

+17
-17
lines changed

13 files changed

+17
-17
lines changed

llvm/include/llvm/CodeGen/LowLevelType.h renamed to llvm/include/llvm/CodeGen/LowLevelTypeUtils.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//== llvm/CodeGen/LowLevelType.h ------------------------------- -*- C++ -*-==//
1+
//== llvm/CodeGen/LowLevelTypeUtils.h -------------------------- -*- C++ -*-==//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -13,8 +13,8 @@
1313
///
1414
//===----------------------------------------------------------------------===//
1515

16-
#ifndef LLVM_CODEGEN_LOWLEVELTYPE_H
17-
#define LLVM_CODEGEN_LOWLEVELTYPE_H
16+
#ifndef LLVM_CODEGEN_LOWLEVELTYPEUTILS_H
17+
#define LLVM_CODEGEN_LOWLEVELTYPEUTILS_H
1818

1919
#include "llvm/CodeGen/ValueTypes.h"
2020
#include "llvm/Support/LowLevelTypeImpl.h"
@@ -42,4 +42,4 @@ LLT getLLTForMVT(MVT Ty);
4242
const llvm::fltSemantics &getFltSemanticForLLT(LLT Ty);
4343
}
4444

45-
#endif // LLVM_CODEGEN_LOWLEVELTYPE_H
45+
#endif // LLVM_CODEGEN_LOWLEVELTYPEUTILS_H

llvm/include/llvm/CodeGen/TargetLowering.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#include "llvm/CodeGen/ComplexDeinterleavingPass.h"
3131
#include "llvm/CodeGen/DAGCombine.h"
3232
#include "llvm/CodeGen/ISDOpcodes.h"
33-
#include "llvm/CodeGen/LowLevelType.h"
33+
#include "llvm/CodeGen/LowLevelTypeUtils.h"
3434
#include "llvm/CodeGen/RuntimeLibcalls.h"
3535
#include "llvm/CodeGen/SelectionDAG.h"
3636
#include "llvm/CodeGen/SelectionDAGNodes.h"

llvm/lib/CodeGen/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ add_llvm_component_library(LLVMCodeGen
9999
LLVMTargetMachine.cpp
100100
LocalStackSlotAllocation.cpp
101101
LoopTraversal.cpp
102-
LowLevelType.cpp
102+
LowLevelTypeUtils.cpp
103103
LowerEmuTLS.cpp
104104
MachineBasicBlock.cpp
105105
MachineBlockFrequencyInfo.cpp

llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include "llvm/CodeGen/GlobalISel/MIPatternMatch.h"
1717
#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"
1818
#include "llvm/CodeGen/GlobalISel/Utils.h"
19-
#include "llvm/CodeGen/LowLevelType.h"
19+
#include "llvm/CodeGen/LowLevelTypeUtils.h"
2020
#include "llvm/CodeGen/MachineBasicBlock.h"
2121
#include "llvm/CodeGen/MachineDominators.h"
2222
#include "llvm/CodeGen/MachineInstr.h"

llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include "llvm/CodeGen/GlobalISel/GISelChangeObserver.h"
2929
#include "llvm/CodeGen/GlobalISel/InlineAsmLowering.h"
3030
#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"
31-
#include "llvm/CodeGen/LowLevelType.h"
31+
#include "llvm/CodeGen/LowLevelTypeUtils.h"
3232
#include "llvm/CodeGen/MachineBasicBlock.h"
3333
#include "llvm/CodeGen/MachineFrameInfo.h"
3434
#include "llvm/CodeGen/MachineFunction.h"

llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
2121
#include "llvm/CodeGen/GlobalISel/MIPatternMatch.h"
2222
#include "llvm/CodeGen/GlobalISel/Utils.h"
23-
#include "llvm/CodeGen/LowLevelType.h"
23+
#include "llvm/CodeGen/LowLevelTypeUtils.h"
2424
#include "llvm/CodeGen/MachineBasicBlock.h"
2525
#include "llvm/CodeGen/MachineFrameInfo.h"
2626
#include "llvm/CodeGen/MachineFunction.h"

llvm/lib/CodeGen/LowLevelType.cpp renamed to llvm/lib/CodeGen/LowLevelTypeUtils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===-- llvm/CodeGen/LowLevelType.cpp -------------------------------------===//
1+
//===-- llvm/CodeGen/LowLevelTypeUtils.cpp --------------------------------===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -11,7 +11,7 @@
1111
//
1212
//===----------------------------------------------------------------------===//
1313

14-
#include "llvm/CodeGen/LowLevelType.h"
14+
#include "llvm/CodeGen/LowLevelTypeUtils.h"
1515
#include "llvm/ADT/APFloat.h"
1616
#include "llvm/IR/DataLayout.h"
1717
#include "llvm/IR/DerivedTypes.h"

llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include "llvm/CodeGen/FunctionLoweringInfo.h"
2626
#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"
2727
#include "llvm/CodeGen/GlobalISel/Utils.h"
28-
#include "llvm/CodeGen/LowLevelType.h"
28+
#include "llvm/CodeGen/LowLevelTypeUtils.h"
2929
#include "llvm/CodeGen/MachineBasicBlock.h"
3030
#include "llvm/CodeGen/MachineFrameInfo.h"
3131
#include "llvm/CodeGen/MachineFunction.h"

llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include "llvm/ADT/SmallVector.h"
1919
#include "llvm/CodeGen/GlobalISel/GenericMachineInstrs.h"
2020
#include "llvm/CodeGen/GlobalISel/Utils.h"
21-
#include "llvm/CodeGen/LowLevelType.h"
21+
#include "llvm/CodeGen/LowLevelTypeUtils.h"
2222
#include "llvm/CodeGen/MachineFunction.h"
2323
#include "llvm/CodeGen/MachineInstr.h"
2424
#include "llvm/CodeGen/MachineOperand.h"

llvm/lib/Target/ARM/ARMCallLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include "llvm/CodeGen/CallingConvLower.h"
2323
#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"
2424
#include "llvm/CodeGen/GlobalISel/Utils.h"
25-
#include "llvm/CodeGen/LowLevelType.h"
25+
#include "llvm/CodeGen/LowLevelTypeUtils.h"
2626
#include "llvm/CodeGen/MachineBasicBlock.h"
2727
#include "llvm/CodeGen/MachineFrameInfo.h"
2828
#include "llvm/CodeGen/MachineFunction.h"

llvm/lib/Target/ARM/ARMLegalizerInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include "ARMSubtarget.h"
1616
#include "llvm/CodeGen/GlobalISel/LegalizerHelper.h"
1717
#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"
18-
#include "llvm/CodeGen/LowLevelType.h"
18+
#include "llvm/CodeGen/LowLevelTypeUtils.h"
1919
#include "llvm/CodeGen/MachineRegisterInfo.h"
2020
#include "llvm/CodeGen/TargetOpcodes.h"
2121
#include "llvm/CodeGen/ValueTypes.h"

llvm/lib/Target/X86/X86CallLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include "llvm/CodeGen/FunctionLoweringInfo.h"
2626
#include "llvm/CodeGen/GlobalISel/MachineIRBuilder.h"
2727
#include "llvm/CodeGen/GlobalISel/Utils.h"
28-
#include "llvm/CodeGen/LowLevelType.h"
28+
#include "llvm/CodeGen/LowLevelTypeUtils.h"
2929
#include "llvm/CodeGen/MachineBasicBlock.h"
3030
#include "llvm/CodeGen/MachineFrameInfo.h"
3131
#include "llvm/CodeGen/MachineFunction.h"

llvm/unittests/CodeGen/LowLevelTypeTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include "llvm/CodeGen/LowLevelType.h"
9+
#include "llvm/CodeGen/LowLevelTypeUtils.h"
1010
#include "llvm/IR/DataLayout.h"
1111
#include "llvm/IR/DerivedTypes.h"
1212
#include "llvm/IR/LLVMContext.h"

0 commit comments

Comments
 (0)