Skip to content

Commit 3a6998a

Browse files
committed
Rename functions for CR
1 parent 8086280 commit 3a6998a

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

llvm/lib/Target/AArch64/AArch64InstrInfo.cpp

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7453,9 +7453,9 @@ static bool mayAlias(const MachineInstr &MIa,
74537453
/// - 32-bit elements (LD1i32, 4 lanes total)
74547454
/// - 16-bit elements (LD1i16, 8 lanes total)
74557455
/// - 8-bit elements (LD1i8, 16 lanes total)
7456-
static bool getGatherPattern(MachineInstr &Root,
7457-
SmallVectorImpl<unsigned> &Patterns,
7458-
unsigned LoadLaneOpCode, unsigned NumLanes) {
7456+
static bool getGatherLanePattern(MachineInstr &Root,
7457+
SmallVectorImpl<unsigned> &Patterns,
7458+
unsigned LoadLaneOpCode, unsigned NumLanes) {
74597459
const MachineFunction *MF = Root.getMF();
74607460

74617461
// Early exit if optimizing for size.
@@ -7561,11 +7561,11 @@ static bool getLoadPatterns(MachineInstr &Root,
75617561
// The pattern searches for loads into single lanes.
75627562
switch (Root.getOpcode()) {
75637563
case AArch64::LD1i32:
7564-
return getGatherPattern(Root, Patterns, Root.getOpcode(), 4);
7564+
return getGatherLanePattern(Root, Patterns, Root.getOpcode(), 4);
75657565
case AArch64::LD1i16:
7566-
return getGatherPattern(Root, Patterns, Root.getOpcode(), 8);
7566+
return getGatherLanePattern(Root, Patterns, Root.getOpcode(), 8);
75677567
case AArch64::LD1i8:
7568-
return getGatherPattern(Root, Patterns, Root.getOpcode(), 16);
7568+
return getGatherLanePattern(Root, Patterns, Root.getOpcode(), 16);
75697569
default:
75707570
return false;
75717571
}
@@ -7576,11 +7576,11 @@ static bool getLoadPatterns(MachineInstr &Root,
75767576
/// sequential NEON lane loads into parallel vector loads that can execute
75777577
/// concurrently.
75787578
static void
7579-
generateGatherPattern(MachineInstr &Root,
7580-
SmallVectorImpl<MachineInstr *> &InsInstrs,
7581-
SmallVectorImpl<MachineInstr *> &DelInstrs,
7582-
DenseMap<Register, unsigned> &InstrIdxForVirtReg,
7583-
unsigned Pattern, unsigned NumLanes) {
7579+
generateGatherLanePattern(MachineInstr &Root,
7580+
SmallVectorImpl<MachineInstr *> &InsInstrs,
7581+
SmallVectorImpl<MachineInstr *> &DelInstrs,
7582+
DenseMap<Register, unsigned> &InstrIdxForVirtReg,
7583+
unsigned Pattern, unsigned NumLanes) {
75847584
MachineFunction &MF = *Root.getParent()->getParent();
75857585
MachineRegisterInfo &MRI = MF.getRegInfo();
75867586
const TargetInstrInfo *TII = MF.getSubtarget().getInstrInfo();
@@ -9037,18 +9037,18 @@ void AArch64InstrInfo::genAlternativeCodeSequence(
90379037
break;
90389038
}
90399039
case AArch64MachineCombinerPattern::GATHER_LANE_i32: {
9040-
generateGatherPattern(Root, InsInstrs, DelInstrs, InstrIdxForVirtReg,
9041-
Pattern, 4);
9040+
generateGatherLanePattern(Root, InsInstrs, DelInstrs, InstrIdxForVirtReg,
9041+
Pattern, 4);
90429042
break;
90439043
}
90449044
case AArch64MachineCombinerPattern::GATHER_LANE_i16: {
9045-
generateGatherPattern(Root, InsInstrs, DelInstrs, InstrIdxForVirtReg,
9046-
Pattern, 8);
9045+
generateGatherLanePattern(Root, InsInstrs, DelInstrs, InstrIdxForVirtReg,
9046+
Pattern, 8);
90479047
break;
90489048
}
90499049
case AArch64MachineCombinerPattern::GATHER_LANE_i8: {
9050-
generateGatherPattern(Root, InsInstrs, DelInstrs, InstrIdxForVirtReg,
9051-
Pattern, 16);
9050+
generateGatherLanePattern(Root, InsInstrs, DelInstrs, InstrIdxForVirtReg,
9051+
Pattern, 16);
90529052
break;
90539053
}
90549054

0 commit comments

Comments
 (0)