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

Overridden By

include/llvm/TableGen/Record.h
  479   std::string getAsString() const override { return "?"; }
  508   std::string getAsString() const override { return Value ? "1" : "0"; }
  615   std::string getAsString() const override { return "\"" + Value.str() + "\""; }
  648   std::string getAsString() const override {
 1101   std::string getAsString() const override { return getName(); }
 1294   std::string getAsString() const override {
lib/TableGen/Record.cpp
  411 std::string BitsInit::getAsString() const {
  468 std::string IntInit::getAsString() const {
  669 std::string ListInit::getAsString() const {
  804 std::string UnOpInit::getAsString() const {
 1020 std::string BinOpInit::getAsString() const {
 1247 std::string TernOpInit::getAsString() const {
 1325 std::string FoldOpInit::getAsString() const {
 1388 std::string IsAOpInit::getAsString() const {
 1512 std::string VarBitInit::getAsString() const {
 1536 std::string VarListElementInit::getAsString() const {
 1579 std::string DefInit::getAsString() const {
 1696 std::string VarDefInit::getAsString() const {
 1862 std::string CondOpInit::getAsString() const {
 1967 std::string DagInit::getAsString() const {

References

include/llvm/TableGen/Record.h
  359   void print(raw_ostream &OS) const { OS << getAsString(); }
  367   virtual std::string getAsUnquotedString() const { return getAsString(); }
 1268       llvm::errs() << "In Record = " << Rec->getAsString()
 1295     return Rec->getAsString() + "." + FieldName->getValue().str();
lib/TableGen/JSONBackend.cpp
   77   obj["printable"] = I.getAsString();
lib/TableGen/Record.cpp
  416       Result += Bit->getAsString();
  675     Result += Element->getAsString();
  813   return Result + "(" + LHS->getAsString() + ")";
 1041   return Result + "(" + LHS->getAsString() + ", " + RHS->getAsString() + ")";
 1041   return Result + "(" + LHS->getAsString() + ", " + RHS->getAsString() + ")";
 1257           (UnquotedLHS ? LHS->getAsUnquotedString() : LHS->getAsString()) +
 1258           ", " + MHS->getAsString() + ", " + RHS->getAsString() + ")");
 1258           ", " + MHS->getAsString() + ", " + RHS->getAsString() + ")");
 1326   return (Twine("!foldl(") + Start->getAsString() + ", " + List->getAsString() +
 1326   return (Twine("!foldl(") + Start->getAsString() + ", " + List->getAsString() +
 1328           ", " + Expr->getAsString() + ")")
 1390           Expr->getAsString() + ")")
 1513   return TI->getAsString() + "{" + utostr(Bit) + "}";
 1537   return TI->getAsString() + "[" + utostr(Element) + "]";
 1702     Result += Arg->getAsString();
 1738                       Rec->getAsString() + "' is a forbidden self-reference");
 1865     Result += getCond(i)->getAsString() + ": ";
 1866     Result += getVal(i)->getAsString();
 1968   std::string Result = "(" + Val->getAsString();
 1972     Result += " " + getArg(0)->getAsString();
 1975       Result += ", " + getArg(i)->getAsString();
 2038     PrintFatalError(getLoc(), Twine("Record name '") + Name->getAsString() +
 2233                                 R->getValue()->getAsString());
 2247                           I->getAsString());
 2263                           I->getAsString());
lib/TableGen/SetTheory.cpp
  298     PrintFatalError(Loc, "Invalid set element: " + Expr->getAsString());
  301     PrintFatalError(Loc, "Bad set expression: " + Expr->getAsString());
  304     PrintFatalError(Loc, "Unknown set operator: " + Expr->getAsString());
lib/TableGen/TGParser.cpp
  106                    RV.getValue()->getAsString());
  221                           V->getAsString() + InitType + "'");
  388                               List->getAsString() + "', expected a list");
  453                                   Rec->getNameInit()->getAsString() +
 1270       TokError((Twine("iteration variable '") + LHS->getAsString() +
 1525                StartUntyped->getAsString() + "'");
 1542                ListUntyped->getAsString() + "'");
 1565       TokError((Twine("left !foldl variable '") + A->getAsString() +
 1583       TokError((Twine("right !foldl variable '") + B->getAsString() +
 1863                   ExpectedType->getAsString() + "': " + TI->getAsString());
 1921         Error(BraceLoc, "Element #" + Twine(i) + " (" + Vals[i]->getAsString() +
 2168                  Result->getAsString() + "'");
 2209                 Twine("can't cast '") + LHS->getAsString() + "' to string");
 2244                   Twine("can't cast '") + RHS->getAsString() + "' to string");
 2487     Error(ValueLoc, "expected a list, got '" + I->getAsString() + Type + "'");
 3227          << ListValue->getAsString() << " in {\n";
utils/TableGen/CodeGenInstruction.cpp
  434     DeprecatedReason = Dep->getValue()->getAsString();
utils/TableGen/CodeGenMapTable.cpp
  248                         RowField->getAsString() + " found in \"" +
  351           KeyValueStr += Value->getAsString();
utils/TableGen/CodeGenSchedule.cpp
 1091                      RWD->getValue("Instrs")->getValue()->getAsString() +
 1127                  OldRWDef->getValue("Instrs")->getValue()->getAsString() +
utils/TableGen/FastISelEmitter.cpp
  509         SubRegNo = Dst->getChild(1)->getLeafValue()->getAsString();
utils/TableGen/GICombinerEmitter.cpp
  182     PrintNote("Pattern was `" + Matchers->getArg(I)->getAsString() + "'");
utils/TableGen/SearchableTableEmitter.cpp
  121       return I->getAsString();
  681                               "': " + TypeOfVal->getValue()->getAsString());
utils/TableGen/WebAssemblyDisassemblerEmitter.cpp
   62                                      ->getAsString() == "1";
   67           Def.getValue("IsCanonical")->getValue()->getAsString() == "1";