Skip to content

Updating variable names #130136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
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
18 changes: 9 additions & 9 deletions llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,9 @@ class SystemZAsmParser : public MCTargetAsmParser {
bool HasLength = false, bool HasVectorIndex = false);
bool parseAddressRegister(Register &Reg);

bool ParseDirectiveInsn(SMLoc L);
bool ParseDirectiveMachine(SMLoc L);
bool ParseGNUAttribute(SMLoc L);
bool parseDirectiveInsn(SMLoc L);
bool parseDirectiveMachine(SMLoc L);
bool parseGNUAttribute(SMLoc L);

ParseStatus parseAddress(OperandVector &Operands, MemoryKind MemKind,
RegisterKind RegKind);
Expand Down Expand Up @@ -1236,18 +1236,18 @@ ParseStatus SystemZAsmParser::parseDirective(AsmToken DirectiveID) {
StringRef IDVal = DirectiveID.getIdentifier();

if (IDVal == ".insn")
return ParseDirectiveInsn(DirectiveID.getLoc());
return parseDirectiveInsn(DirectiveID.getLoc());
if (IDVal == ".machine")
return ParseDirectiveMachine(DirectiveID.getLoc());
return parseDirectiveMachine(DirectiveID.getLoc());
if (IDVal.starts_with(".gnu_attribute"))
return ParseGNUAttribute(DirectiveID.getLoc());
return parseGNUAttribute(DirectiveID.getLoc());

return ParseStatus::NoMatch;
}

/// ParseDirectiveInsn
/// ::= .insn [ format, encoding, (operands (, operands)*) ]
bool SystemZAsmParser::ParseDirectiveInsn(SMLoc L) {
bool SystemZAsmParser::parseDirectiveInsn(SMLoc L) {
MCAsmParser &Parser = getParser();

// Expect instruction format as identifier.
Expand Down Expand Up @@ -1359,7 +1359,7 @@ bool SystemZAsmParser::ParseDirectiveInsn(SMLoc L) {

/// ParseDirectiveMachine
/// ::= .machine [ mcpu ]
bool SystemZAsmParser::ParseDirectiveMachine(SMLoc L) {
bool SystemZAsmParser::parseDirectiveMachine(SMLoc L) {
MCAsmParser &Parser = getParser();
if (Parser.getTok().isNot(AsmToken::Identifier) &&
Parser.getTok().isNot(AsmToken::String))
Expand All @@ -1379,7 +1379,7 @@ bool SystemZAsmParser::ParseDirectiveMachine(SMLoc L) {
return false;
}

bool SystemZAsmParser::ParseGNUAttribute(SMLoc L) {
bool SystemZAsmParser::parseGNUAttribute(SMLoc L) {
int64_t Tag;
int64_t IntegerValue;
if (!Parser.parseGNUAttribute(L, Tag, IntegerValue))
Expand Down