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

References

include/llvm/Remarks/Remark.h
  135          LHS.Hotness == RHS.Hotness && LHS.Args == RHS.Args;
  135          LHS.Hotness == RHS.Hotness && LHS.Args == RHS.Args;
lib/IR/RemarkStreamer.cpp
   94     R.Args.emplace_back();
   95     R.Args.back().Key = Arg.Key;
   96     R.Args.back().Val = Arg.Val;
   97     R.Args.back().Loc = toRemarkLocation(Arg.Loc);
lib/Remarks/BitstreamRemarkParser.cpp
  572     R.Args.emplace_back();
  575       R.Args.back().Key = *Key;
  580       R.Args.back().Val = *Value;
  587         R.Args.back().Loc.emplace();
  588         R.Args.back().Loc->SourceFilePath = *SourceFileName;
  589         R.Args.back().Loc->SourceLine = *Arg.SourceLine;
  590         R.Args.back().Loc->SourceColumn = *Arg.SourceColumn;
lib/Remarks/BitstreamRemarkSerializer.cpp
  296   for (const Argument &Arg : Remark.Args) {
lib/Remarks/Remark.cpp
   24   for (const Argument &Arg : Args)
  107   return unwrap(Remark)->Args.size();
  112   ArrayRef<Argument> Args = unwrap(Remark)->Args;
  128   if (Next == unwrap(Remark)->Args.end())
lib/Remarks/RemarkStringTable.cpp
   48   for (Argument &Arg : R.Args) {
lib/Remarks/YAMLRemarkParser.cpp
  255           TheRemark.Args.push_back(*MaybeArg);
lib/Remarks/YAMLRemarkSerializer.cpp
   68                       Remark->Hotness, Remark->Args);
   71                       Remark->FunctionName, Remark->Hotness, Remark->Args);
tools/llvm-opt-report/OptReport.cpp
  201     for (const remarks::Argument &Arg : Remark.Args) {
unittests/Remarks/BitstreamRemarksParsingTest.cpp
  182   EXPECT_EQ(Remark.Args.size(), 4U);
  185   for (const remarks::Argument &Arg : Remark.Args) {
  242   ToSerializeRemark.Args.emplace_back();
  243   ToSerializeRemark.Args.back().Key = "Callee";
  244   ToSerializeRemark.Args.back().Val = "bar";
  245   ToSerializeRemark.Args.emplace_back();
  246   ToSerializeRemark.Args.back().Key = "String";
  247   ToSerializeRemark.Args.back().Val = " will not be inlined into ";
  248   ToSerializeRemark.Args.emplace_back();
  249   ToSerializeRemark.Args.back().Key = "Caller";
  250   ToSerializeRemark.Args.back().Val = "foo";
  251   ToSerializeRemark.Args.back().Loc = remarks::RemarkLocation{"file.c", 2, 0};
  252   ToSerializeRemark.Args.emplace_back();
  253   ToSerializeRemark.Args.back().Key = "String";
  254   ToSerializeRemark.Args.back().Val = " because its definition is unavailable";
unittests/Remarks/BitstreamRemarksSerializerTest.cpp
  198   R.Args.emplace_back();
  199   R.Args.back().Key = "key";
  200   R.Args.back().Val = "value";
  227   R.Args.emplace_back();
  228   R.Args.back().Key = "key";
  229   R.Args.back().Val = "value";
  230   R.Args.back().Loc.emplace();
  231   R.Args.back().Loc->SourceFilePath = "path";
  232   R.Args.back().Loc->SourceLine = 99;
  233   R.Args.back().Loc->SourceColumn = 55;
  266   R.Args.emplace_back();
  267   R.Args.back().Key = "key";
  268   R.Args.back().Val = "value";
  269   R.Args.back().Loc.emplace();
  270   R.Args.back().Loc->SourceFilePath = "argpath";
  271   R.Args.back().Loc->SourceLine = 11;
  272   R.Args.back().Loc->SourceColumn = 66;
  316   R.Args.emplace_back();
  317   R.Args.back().Key = "key";
  318   R.Args.back().Val = "value";
  319   R.Args.back().Loc.emplace();
  320   R.Args.back().Loc->SourceFilePath = "argpath";
  321   R.Args.back().Loc->SourceLine = 11;
  322   R.Args.back().Loc->SourceColumn = 66;
unittests/Remarks/RemarksAPITest.cpp
   23   R.Args.emplace_back();
   24   R.Args.back().Key = "key";
   25   R.Args.back().Val = "value";
   26   R.Args.emplace_back();
   27   R.Args.back().Key = "keydebug";
   28   R.Args.back().Val = "valuedebug";
   29   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
   41   R3.Args.back().Val = "not";
   53   R.Args.emplace_back();
   54   R.Args.back().Key = "key";
   55   R.Args.back().Val = "value";
   56   R.Args.emplace_back();
   57   R.Args.back().Key = "keydebug";
   58   R.Args.back().Val = "valuedebug";
   59   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
   69   R.Args.emplace_back();
   70   R.Args.back().Key = "key";
   71   R.Args.back().Val = "can not do this ";
   72   R.Args.emplace_back();
   73   R.Args.back().Key = "keydebug";
   74   R.Args.back().Val = "because of that.";
   75   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
   92   R.Args.emplace_back();
   93   R.Args.back().Key = "keydebug";
   94   R.Args.back().Val = "valuedebug";
   95   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
  106   EXPECT_NE(R.Args.back().Key.data(), R2.Args.back().Key.data());
  106   EXPECT_NE(R.Args.back().Key.data(), R2.Args.back().Key.data());
  107   EXPECT_NE(R.Args.back().Val.data(), R2.Args.back().Val.data());
  107   EXPECT_NE(R.Args.back().Val.data(), R2.Args.back().Val.data());
  108   EXPECT_NE(R.Args.back().Loc->SourceFilePath.data(),
  109             R2.Args.back().Loc->SourceFilePath.data());
  117   EXPECT_EQ(StrTab.add(R.Args.back().Key).second.data(),
  118             R2.Args.back().Key.data());
  119   EXPECT_EQ(StrTab.add(R.Args.back().Val).second.data(),
  120             R2.Args.back().Val.data());
  121   EXPECT_EQ(StrTab.add(R.Args.back().Loc->SourceFilePath).second.data(),
  122             R2.Args.back().Loc->SourceFilePath.data());
unittests/Remarks/YAMLRemarksParsingTest.cpp
  424   EXPECT_EQ(Remark.Args.size(), 4U);
  427   for (const remarks::Argument &Arg : Remark.Args) {
  596   EXPECT_EQ(Remark.Args.size(), 4U);
  599   for (const remarks::Argument &Arg : Remark.Args) {
unittests/Remarks/YAMLRemarksSerializerTest.cpp
   78   R.Args.emplace_back();
   79   R.Args.back().Key = "key";
   80   R.Args.back().Val = "value";
   81   R.Args.emplace_back();
   82   R.Args.back().Key = "keydebug";
   83   R.Args.back().Val = "valuedebug";
   84   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
  111   R.Args.emplace_back();
  112   R.Args.back().Key = "key";
  113   R.Args.back().Val = "value";
  114   R.Args.emplace_back();
  115   R.Args.back().Key = "keydebug";
  116   R.Args.back().Val = "valuedebug";
  117   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
  141   R.Args.emplace_back();
  142   R.Args.back().Key = "key";
  143   R.Args.back().Val = "value";
  144   R.Args.emplace_back();
  145   R.Args.back().Key = "keydebug";
  146   R.Args.back().Val = "valuedebug";
  147   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
  177   R.Args.emplace_back();
  178   R.Args.back().Key = "key";
  179   R.Args.back().Val = "value";
  180   R.Args.emplace_back();
  181   R.Args.back().Key = "keydebug";
  182   R.Args.back().Val = "valuedebug";
  183   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
  217   R.Args.emplace_back();
  218   R.Args.back().Key = "key";
  219   R.Args.back().Val = "value";
  220   R.Args.emplace_back();
  221   R.Args.back().Key = "keydebug";
  222   R.Args.back().Val = "valuedebug";
  223   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
  251   R.Args.emplace_back();
  252   R.Args.back().Key = "key";
  253   R.Args.back().Val = "value";
  254   R.Args.emplace_back();
  255   R.Args.back().Key = "keydebug";
  256   R.Args.back().Val = "valuedebug";
  257   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
  291   R.Args.emplace_back();
  292   R.Args.back().Key = "key";
  293   R.Args.back().Val = "value";
  294   R.Args.emplace_back();
  295   R.Args.back().Key = "keydebug";
  296   R.Args.back().Val = "valuedebug";
  297   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};