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

References

include/llvm/Remarks/Remark.h
  124   return LHS.Key == RHS.Key && LHS.Val == RHS.Val && LHS.Loc == RHS.Loc;
  124   return LHS.Key == RHS.Key && LHS.Val == RHS.Val && LHS.Loc == RHS.Loc;
lib/IR/RemarkStreamer.cpp
   97     R.Args.back().Loc = toRemarkLocation(Arg.Loc);
lib/Remarks/BitstreamRemarkParser.cpp
  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
  300     bool HasDebugLoc = Arg.Loc != None;
  306       R.push_back(StrTab.add(Arg.Loc->SourceFilePath).first);
  307       R.push_back(Arg.Loc->SourceLine);
  308       R.push_back(Arg.Loc->SourceColumn);
lib/Remarks/Remark.cpp
   64   if (const Optional<RemarkLocation> &Loc = unwrap(Arg)->Loc)
lib/Remarks/RemarkStringTable.cpp
   51     if (Arg.Loc)
   52       Impl(Arg.Loc->SourceFilePath);
lib/Remarks/YAMLRemarkSerializer.cpp
  152     io.mapOptional("DebugLoc", A.Loc);
unittests/Remarks/BitstreamRemarksParsingTest.cpp
  190       EXPECT_FALSE(Arg.Loc);
  195       EXPECT_FALSE(Arg.Loc);
  200       EXPECT_TRUE(Arg.Loc);
  201       const remarks::RemarkLocation &RL = *Arg.Loc;
  211       EXPECT_FALSE(Arg.Loc);
  251   ToSerializeRemark.Args.back().Loc = remarks::RemarkLocation{"file.c", 2, 0};
unittests/Remarks/BitstreamRemarksSerializerTest.cpp
  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;
  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;
  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
   29   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
   59   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
   75   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
   95   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
  108   EXPECT_NE(R.Args.back().Loc->SourceFilePath.data(),
  109             R2.Args.back().Loc->SourceFilePath.data());
  121   EXPECT_EQ(StrTab.add(R.Args.back().Loc->SourceFilePath).second.data(),
  122             R2.Args.back().Loc->SourceFilePath.data());
unittests/Remarks/YAMLRemarksParsingTest.cpp
  432       EXPECT_FALSE(Arg.Loc);
  437       EXPECT_FALSE(Arg.Loc);
  442       EXPECT_TRUE(Arg.Loc);
  443       const remarks::RemarkLocation &RL = *Arg.Loc;
  453       EXPECT_FALSE(Arg.Loc);
  604       EXPECT_FALSE(Arg.Loc);
  609       EXPECT_FALSE(Arg.Loc);
  614       EXPECT_TRUE(Arg.Loc);
  615       const remarks::RemarkLocation &RL = *Arg.Loc;
  625       EXPECT_FALSE(Arg.Loc);
unittests/Remarks/YAMLRemarksSerializerTest.cpp
   84   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
  117   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
  147   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
  183   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
  223   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
  257   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};
  297   R.Args.back().Loc = remarks::RemarkLocation{"argpath", 6, 7};