Skip to content

Commit 8eb9135

Browse files
committed
Remove unnecessary using directives
1 parent c1c933f commit 8eb9135

10 files changed

+0
-12
lines changed

llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ class AArch64TTIImpl : public BasicTTIImplBase<AArch64TTIImpl> {
9898
/// \name Scalar TTI Implementations
9999
/// @{
100100

101-
using BaseT::getIntImmCost;
102101
InstructionCost getIntImmCost(int64_t Val) const;
103102
InstructionCost getIntImmCost(const APInt &Imm, Type *Ty,
104103
TTI::TargetCostKind CostKind) const;

llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ class GCNTTIImpl final : public BasicTTIImplBase<GCNTTIImpl> {
166166
bool isInlineAsmSourceOfDivergence(const CallInst *CI,
167167
ArrayRef<unsigned> Indices = {}) const;
168168

169-
using BaseT::getVectorInstrCost;
170169
InstructionCost getVectorInstrCost(unsigned Opcode, Type *ValTy,
171170
TTI::TargetCostKind CostKind,
172171
unsigned Index, Value *Op0,

llvm/lib/Target/AMDGPU/R600TargetTransformInfo.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ class R600TTIImpl final : public BasicTTIImplBase<R600TTIImpl> {
6060
unsigned getMaxInterleaveFactor(ElementCount VF) const;
6161
InstructionCost getCFInstrCost(unsigned Opcode, TTI::TargetCostKind CostKind,
6262
const Instruction *I = nullptr) const;
63-
using BaseT::getVectorInstrCost;
6463
InstructionCost getVectorInstrCost(unsigned Opcode, Type *ValTy,
6564
TTI::TargetCostKind CostKind,
6665
unsigned Index, Value *Op0,

llvm/lib/Target/ARM/ARMTargetTransformInfo.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ class ARMTTIImpl : public BasicTTIImplBase<ARMTTIImpl> {
133133
InstructionCost getIntImmCodeSizeCost(unsigned Opcode, unsigned Idx,
134134
const APInt &Imm, Type *Ty) const;
135135

136-
using BaseT::getIntImmCost;
137136
InstructionCost getIntImmCost(const APInt &Imm, Type *Ty,
138137
TTI::TargetCostKind CostKind) const;
139138

@@ -246,7 +245,6 @@ class ARMTTIImpl : public BasicTTIImplBase<ARMTTIImpl> {
246245
TTI::OperandValueInfo Op2Info = {TTI::OK_AnyValue, TTI::OP_None},
247246
const Instruction *I = nullptr) const;
248247

249-
using BaseT::getVectorInstrCost;
250248
InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
251249
TTI::TargetCostKind CostKind,
252250
unsigned Index, Value *Op0,

llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ class HexagonTTIImpl : public BasicTTIImplBase<HexagonTTIImpl> {
145145
TTI::CastContextHint CCH,
146146
TTI::TargetCostKind CostKind,
147147
const Instruction *I = nullptr) const;
148-
using BaseT::getVectorInstrCost;
149148
InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
150149
TTI::TargetCostKind CostKind,
151150
unsigned Index, Value *Op0,

llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ class PPCTTIImpl : public BasicTTIImplBase<PPCTTIImpl> {
4646
/// \name Scalar TTI Implementations
4747
/// @{
4848

49-
using BaseT::getIntImmCost;
5049
InstructionCost getIntImmCost(const APInt &Imm, Type *Ty,
5150
TTI::TargetCostKind CostKind) const;
5251

@@ -125,7 +124,6 @@ class PPCTTIImpl : public BasicTTIImplBase<PPCTTIImpl> {
125124
TTI::OperandValueInfo Op1Info = {TTI::OK_AnyValue, TTI::OP_None},
126125
TTI::OperandValueInfo Op2Info = {TTI::OK_AnyValue, TTI::OP_None},
127126
const Instruction *I = nullptr) const;
128-
using BaseT::getVectorInstrCost;
129127
InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
130128
TTI::TargetCostKind CostKind,
131129
unsigned Index, Value *Op0,

llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ class RISCVTTIImpl : public BasicTTIImplBase<RISCVTTIImpl> {
230230
InstructionCost getCFInstrCost(unsigned Opcode, TTI::TargetCostKind CostKind,
231231
const Instruction *I = nullptr) const;
232232

233-
using BaseT::getVectorInstrCost;
234233
InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
235234
TTI::TargetCostKind CostKind,
236235
unsigned Index, Value *Op0,

llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ class SystemZTTIImpl : public BasicTTIImplBase<SystemZTTIImpl> {
121121
TTI::OperandValueInfo Op1Info = {TTI::OK_AnyValue, TTI::OP_None},
122122
TTI::OperandValueInfo Op2Info = {TTI::OK_AnyValue, TTI::OP_None},
123123
const Instruction *I = nullptr) const;
124-
using BaseT::getVectorInstrCost;
125124
InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
126125
TTI::TargetCostKind CostKind,
127126
unsigned Index, Value *Op0,

llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ class WebAssemblyTTIImpl final : public BasicTTIImplBase<WebAssemblyTTIImpl> {
7777
TTI::TargetCostKind CostKind,
7878
TTI::OperandValueInfo OpInfo = {TTI::OK_AnyValue, TTI::OP_None},
7979
const Instruction *I = nullptr) const;
80-
using BaseT::getVectorInstrCost;
8180
InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
8281
TTI::TargetCostKind CostKind,
8382
unsigned Index, Value *Op0,

llvm/lib/Target/X86/X86TargetTransformInfo.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ class X86TTIImpl : public BasicTTIImplBase<X86TTIImpl> {
163163
TTI::OperandValueInfo Op1Info = {TTI::OK_AnyValue, TTI::OP_None},
164164
TTI::OperandValueInfo Op2Info = {TTI::OK_AnyValue, TTI::OP_None},
165165
const Instruction *I = nullptr) const;
166-
using BaseT::getVectorInstrCost;
167166
InstructionCost getVectorInstrCost(unsigned Opcode, Type *Val,
168167
TTI::TargetCostKind CostKind,
169168
unsigned Index, Value *Op0,

0 commit comments

Comments
 (0)