Skip to content

Commit 1922736

Browse files
committed
fix variable names to reflect standards
1 parent 3b38314 commit 1922736

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

llvm/lib/Target/SystemZ/MCTargetDesc/SystemZInstPrinterCommon.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ void SystemZInstPrinterCommon::printPCRelTLSOperand(const MCInst *MI,
184184
// Output the TLS marker if present.
185185
if ((unsigned)OpNum + 1 < MI->getNumOperands()) {
186186
const MCOperand &MO = MI->getOperand(OpNum + 1);
187-
const MCSymbolRefExpr &refExp = cast<MCSymbolRefExpr>(*MO.getExpr());
188-
switch (refExp.getSpecifier()) {
187+
const MCSymbolRefExpr &RefExp = cast<MCSymbolRefExpr>(*MO.getExpr());
188+
switch (RefExp.getSpecifier()) {
189189
case SystemZ::S_TLSGD:
190190
O << ":tls_gdcall:";
191191
break;
@@ -195,7 +195,7 @@ void SystemZInstPrinterCommon::printPCRelTLSOperand(const MCInst *MI,
195195
default:
196196
llvm_unreachable("Unexpected symbol kind");
197197
}
198-
O << refExp.getSymbol().getName();
198+
O << RefExp.getSymbol().getName();
199199
}
200200
}
201201

llvm/lib/Target/SystemZ/SystemZConstantPoolValue.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
using namespace llvm;
1515

1616
SystemZConstantPoolValue::
17-
SystemZConstantPoolValue(const GlobalValue *gv,
18-
SystemZCP::SystemZCPModifier modifier)
19-
: MachineConstantPoolValue(gv->getType()), GV(gv), Modifier(modifier) {}
17+
SystemZConstantPoolValue(const GlobalValue *GV,
18+
SystemZCP::SystemZCPModifier Modifier)
19+
: MachineConstantPoolValue(GV->getType()), GV(GV), Modifier(Modifier) {}
2020

2121
SystemZConstantPoolValue *
2222
SystemZConstantPoolValue::Create(const GlobalValue *GV,

llvm/lib/Target/SystemZ/SystemZHazardRecognizer.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,10 +352,10 @@ int SystemZHazardRecognizer::groupingCost(SUnit *SU) const {
352352
// Similarly, a group-ending SU may either fit well (last in group), or
353353
// end the group prematurely.
354354
if (SC->EndGroup) {
355-
unsigned resultingGroupSize =
355+
unsigned ResultingGroupSize =
356356
(CurrGroupSize + getNumDecoderSlots(SU));
357-
if (resultingGroupSize < 3)
358-
return (3 - resultingGroupSize);
357+
if (ResultingGroupSize < 3)
358+
return (3 - ResultingGroupSize);
359359
return -1;
360360
}
361361

0 commit comments

Comments
 (0)