mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-23 12:45:47 +00:00
A few 80 column cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116069 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9ed2cee105
commit
bb16824dc3
@ -801,7 +801,7 @@ void FilterChooser::emitTop(raw_ostream &o, unsigned &Indentation) {
|
||||
|
||||
o << '\n';
|
||||
|
||||
o.indent(Indentation) << "static uint16_t decodeInstruction(field_t insn) {\n";
|
||||
o.indent(Indentation) <<"static uint16_t decodeInstruction(field_t insn) {\n";
|
||||
|
||||
++Indentation; ++Indentation;
|
||||
// Emits code to decode the instructions.
|
||||
|
@ -1562,7 +1562,8 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
|
||||
OS << " Match_Success, Match_MnemonicFail, Match_InvalidOperand,\n";
|
||||
OS << " Match_MissingFeature\n";
|
||||
OS << " };\n";
|
||||
OS << " MatchResultTy MatchInstructionImpl(const SmallVectorImpl<MCParsedAsmOperand*>"
|
||||
OS << " MatchResultTy MatchInstructionImpl(const "
|
||||
<< "SmallVectorImpl<MCParsedAsmOperand*>"
|
||||
<< " &Operands, MCInst &Inst, unsigned &ErrorInfo);\n\n";
|
||||
OS << "#endif // GET_ASSEMBLER_HEADER_INFO\n\n";
|
||||
|
||||
|
@ -19,8 +19,8 @@
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
static const std::vector<StringRef> getValueAsListOfStrings(Record &R,
|
||||
StringRef FieldName) {
|
||||
static const std::vector<StringRef>
|
||||
getValueAsListOfStrings(Record &R, StringRef FieldName) {
|
||||
ListInit *List = R.getValueAsListInit(FieldName);
|
||||
assert (List && "Got a null ListInit");
|
||||
|
||||
@ -171,7 +171,8 @@ namespace {
|
||||
OS << "char *" << getLowerName() << ";";
|
||||
}
|
||||
void writePCHReadDecls(raw_ostream &OS) const {
|
||||
OS << " std::string " << getLowerName() << "= ReadString(Record, Idx);\n";
|
||||
OS << " std::string " << getLowerName()
|
||||
<< "= ReadString(Record, Idx);\n";
|
||||
}
|
||||
void writePCHReadArgs(raw_ostream &OS) const {
|
||||
OS << getLowerName();
|
||||
|
@ -479,8 +479,8 @@ void DumpDepVars(MultipleUseVarSet &DepVars) {
|
||||
DEBUG(errs() << "<empty set>");
|
||||
} else {
|
||||
DEBUG(errs() << "[ ");
|
||||
for (MultipleUseVarSet::const_iterator i = DepVars.begin(), e = DepVars.end();
|
||||
i != e; ++i) {
|
||||
for (MultipleUseVarSet::const_iterator i = DepVars.begin(),
|
||||
e = DepVars.end(); i != e; ++i) {
|
||||
DEBUG(errs() << (*i) << " ");
|
||||
}
|
||||
DEBUG(errs() << "]");
|
||||
@ -2973,7 +2973,8 @@ void CodeGenDAGPatterns::GenerateVariants() {
|
||||
DEBUG(errs() << "Dependent/multiply used variables: ");
|
||||
DEBUG(DumpDepVars(DepVars));
|
||||
DEBUG(errs() << "\n");
|
||||
GenerateVariantsOf(PatternsToMatch[i].getSrcPattern(), Variants, *this, DepVars);
|
||||
GenerateVariantsOf(PatternsToMatch[i].getSrcPattern(), Variants, *this,
|
||||
DepVars);
|
||||
|
||||
assert(!Variants.empty() && "Must create at least original variant!");
|
||||
Variants.erase(Variants.begin()); // Remove the original pattern.
|
||||
@ -3000,7 +3001,8 @@ void CodeGenDAGPatterns::GenerateVariants() {
|
||||
PatternsToMatch[p].getPredicates())
|
||||
continue;
|
||||
// Check to see if this variant already exists.
|
||||
if (Variant->isIsomorphicTo(PatternsToMatch[p].getSrcPattern(), DepVars)) {
|
||||
if (Variant->isIsomorphicTo(PatternsToMatch[p].getSrcPattern(),
|
||||
DepVars)) {
|
||||
DEBUG(errs() << " *** ALREADY EXISTS, ignoring variant.\n");
|
||||
AlreadyExists = true;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user