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

References

include/llvm/Remarks/Remark.h
  134          LHS.FunctionName == RHS.FunctionName && LHS.Loc == RHS.Loc &&
  134          LHS.FunctionName == RHS.FunctionName && LHS.Loc == RHS.Loc &&
lib/IR/RemarkStreamer.cpp
   90   R.Loc = toRemarkLocation(Diag.getLocation());
lib/Remarks/BitstreamRemarkParser.cpp
  548     R.Loc.emplace();
  549     R.Loc->SourceFilePath = *SourceFileName;
  550     R.Loc->SourceLine = *Helper.SourceLine;
  551     R.Loc->SourceColumn = *Helper.SourceColumn;
lib/Remarks/BitstreamRemarkSerializer.cpp
  280   if (const Optional<RemarkLocation> &Loc = Remark.Loc) {
lib/Remarks/Remark.cpp
   95   if (const Optional<RemarkLocation> &Loc = unwrap(Remark)->Loc)
lib/Remarks/RemarkStringTable.cpp
   46   if (R.Loc)
   47     Impl(R.Loc->SourceFilePath);
lib/Remarks/YAMLRemarkParser.cpp
  245         TheRemark.Loc = *MaybeLoc;
lib/Remarks/YAMLRemarkSerializer.cpp
   67       mapRemarkHeader(io, PassID, NameID, Remark->Loc, FunctionID,
   70       mapRemarkHeader(io, Remark->PassName, Remark->RemarkName, Remark->Loc,
tools/llvm-opt-report/OptReport.cpp
  210     const Optional<remarks::RemarkLocation> &Loc = Remark.Loc;
unittests/Remarks/BitstreamRemarksParsingTest.cpp
  175   EXPECT_TRUE(Remark.Loc);
  176   const remarks::RemarkLocation &RL = *Remark.Loc;
  240   ToSerializeRemark.Loc = remarks::RemarkLocation{"file.c", 3, 12};
unittests/Remarks/BitstreamRemarksSerializerTest.cpp
  141   R.Loc.emplace();
  142   R.Loc->SourceFilePath = "path";
  143   R.Loc->SourceLine = 99;
  144   R.Loc->SourceColumn = 55;
  261   R.Loc.emplace();
  262   R.Loc->SourceFilePath = "path";
  263   R.Loc->SourceLine = 99;
  264   R.Loc->SourceColumn = 55;
  311   R.Loc.emplace();
  312   R.Loc->SourceFilePath = "path";
  313   R.Loc->SourceLine = 99;
  314   R.Loc->SourceColumn = 55;
unittests/Remarks/RemarksAPITest.cpp
   21   R.Loc = remarks::RemarkLocation{"path", 3, 4};
   51   R.Loc = remarks::RemarkLocation{"path", 3, 4};
   91   R.Loc = remarks::RemarkLocation{"path", 3, 4};
  105   EXPECT_NE(R.Loc->SourceFilePath.data(), R2.Loc->SourceFilePath.data());
  105   EXPECT_NE(R.Loc->SourceFilePath.data(), R2.Loc->SourceFilePath.data());
  115   EXPECT_EQ(StrTab.add(R.Loc->SourceFilePath).second.data(),
  116             R2.Loc->SourceFilePath.data());
unittests/Remarks/YAMLRemarksParsingTest.cpp
  417   EXPECT_TRUE(Remark.Loc);
  418   const remarks::RemarkLocation &RL = *Remark.Loc;
  589   EXPECT_TRUE(Remark.Loc);
  590   const remarks::RemarkLocation &RL = *Remark.Loc;
unittests/Remarks/YAMLRemarksSerializerTest.cpp
   76   R.Loc = remarks::RemarkLocation{"path", 3, 4};
  109   R.Loc = remarks::RemarkLocation{"path", 3, 4};
  139   R.Loc = remarks::RemarkLocation{"path", 3, 4};
  175   R.Loc = remarks::RemarkLocation{"path", 3, 4};
  215   R.Loc = remarks::RemarkLocation{"path", 3, 4};
  249   R.Loc = remarks::RemarkLocation{"path", 3, 4};
  289   R.Loc = remarks::RemarkLocation{"path", 3, 4};