reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

utils/TableGen/SearchableTableEmitter.cpp
  425     if (isa<StringRecTy>(Field.RecType)) {
  426       OS << "      int Cmp" << Field.Name << " = StringRef(LHS." << Field.Name
  426       OS << "      int Cmp" << Field.Name << " = StringRef(LHS." << Field.Name
  427          << ").compare(RHS." << Field.Name << ");\n";
  428       OS << "      if (Cmp" << Field.Name << " < 0) return true;\n";
  429       OS << "      if (Cmp" << Field.Name << " > 0) return false;\n";
  430     } else if (Field.Enum) {
  433       OS << "      if ((unsigned)LHS." << Field.Name << " < (unsigned)RHS."
  434          << Field.Name << ")\n";
  436       OS << "      if ((unsigned)LHS." << Field.Name << " > (unsigned)RHS."
  437          << Field.Name << ")\n";
  440       OS << "      if (LHS." << Field.Name << " < RHS." << Field.Name << ")\n";
  440       OS << "      if (LHS." << Field.Name << " < RHS." << Field.Name << ")\n";
  442       OS << "      if (LHS." << Field.Name << " > RHS." << Field.Name << ")\n";
  442       OS << "      if (LHS." << Field.Name << " > RHS." << Field.Name << ")\n";