mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-10 02:29:32 +00:00
Whitespace and 80-column fixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124323 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c47fd9fbf5
commit
828295bb30
@ -90,9 +90,8 @@ static cl::opt<std::string>
|
||||
MatchPrefix("match-prefix", cl::init(""),
|
||||
cl::desc("Only match instructions with the given prefix"));
|
||||
|
||||
|
||||
namespace {
|
||||
class AsmMatcherInfo;
|
||||
class AsmMatcherInfo;
|
||||
struct SubtargetFeatureInfo;
|
||||
|
||||
/// ClassInfo - Helper class for storing the information about a particular
|
||||
@ -693,8 +692,6 @@ void MatchableInfo::TokenizeAsmString(const AsmMatcherInfo &Info) {
|
||||
AsmOperands.erase(AsmOperands.begin());
|
||||
}
|
||||
|
||||
|
||||
|
||||
bool MatchableInfo::Validate(StringRef CommentDelimiter, bool Hack) const {
|
||||
// Reject matchables with no .s string.
|
||||
if (AsmString.empty())
|
||||
@ -750,7 +747,6 @@ bool MatchableInfo::Validate(StringRef CommentDelimiter, bool Hack) const {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
/// getSingletonRegisterForAsmOperand - If the specified token is a singleton
|
||||
/// register, return the register name, otherwise return a null StringRef.
|
||||
Record *MatchableInfo::
|
||||
@ -775,7 +771,6 @@ getSingletonRegisterForAsmOperand(unsigned i, const AsmMatcherInfo &Info) const{
|
||||
throw TGError(TheDef->getLoc(), Err);
|
||||
}
|
||||
|
||||
|
||||
static std::string getEnumNameForToken(StringRef Str) {
|
||||
std::string Res;
|
||||
|
||||
@ -1020,7 +1015,6 @@ AsmMatcherInfo::AsmMatcherInfo(Record *asmParser,
|
||||
RegisterPrefix(AsmParser->getValueAsString("RegisterPrefix")) {
|
||||
}
|
||||
|
||||
|
||||
void AsmMatcherInfo::BuildInfo() {
|
||||
// Build information about all of the AssemblerPredicates.
|
||||
std::vector<Record*> AllPredicates =
|
||||
@ -1063,8 +1057,8 @@ void AsmMatcherInfo::BuildInfo() {
|
||||
|
||||
// Validate tied operands.
|
||||
if (OI.getTiedRegister() != -1) {
|
||||
// If we have a tied operand that consists of multiple MCOperands, reject
|
||||
// it. We reject aliases and ignore instructions for now.
|
||||
// If we have a tied operand that consists of multiple MCOperands,
|
||||
// reject it. We reject aliases and ignore instructions for now.
|
||||
if (OI.MINumOperands != 1) {
|
||||
// FIXME: Should reject these. The ARM backend hits this with $lane
|
||||
// in a bunch of instructions. It is unclear what the right answer is.
|
||||
@ -1652,8 +1646,6 @@ static void EmitIsSubclass(CodeGenTarget &Target,
|
||||
OS << "}\n\n";
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// EmitMatchTokenString - Emit the function to match a token string to the
|
||||
/// appropriate match class value.
|
||||
static void EmitMatchTokenString(CodeGenTarget &Target,
|
||||
@ -1839,7 +1831,6 @@ static bool EmitMnemonicAliases(raw_ostream &OS, const AsmMatcherInfo &Info) {
|
||||
Cases.push_back(std::make_pair(I->first, MatchCode));
|
||||
}
|
||||
|
||||
|
||||
StringMatcher("Mnemonic", Cases, OS).Emit();
|
||||
OS << "}\n\n";
|
||||
|
||||
@ -1954,7 +1945,6 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
|
||||
it != ie; ++it)
|
||||
MaxNumOperands = std::max(MaxNumOperands, (*it)->AsmOperands.size());
|
||||
|
||||
|
||||
// Emit the static match table; unused classes get initalized to 0 which is
|
||||
// guaranteed to be InvalidMatchClass.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user