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

Declarations

include/llvm/XRay/Profile.h
   83   Error addBlock(Block &&B);

References

lib/XRay/Profile.cpp
  227         Merged.addBlock({IndexedThreadBlock.first, std::move(PathAndData)}));
  258   cantFail(Merged.addBlock({0, std::move(Block)}));
  309             P.addBlock(Profile::Block{Profile::ThreadID{Header.Thread},
  391     if (auto E = P.addBlock({
unittests/XRay/ProfileTest.cpp
   49   EXPECT_TRUE(errorToBool(P.addBlock({})));
   52   EXPECT_TRUE(errorToBool(P.addBlock({1, {}})));
   55   EXPECT_FALSE(errorToBool(P.addBlock(
   65   EXPECT_FALSE(errorToBool(P0.addBlock(
   89   EXPECT_FALSE(errorToBool(P0.addBlock(
  116   EXPECT_FALSE(errorToBool(P0.addBlock(
  120   EXPECT_FALSE(errorToBool(P0.addBlock(
  125   EXPECT_FALSE(errorToBool(P1.addBlock(
  128   EXPECT_FALSE(errorToBool(P1.addBlock(
  164   EXPECT_FALSE(errorToBool(P0.addBlock(
  167   EXPECT_FALSE(errorToBool(P1.addBlock(
  187   EXPECT_FALSE(errorToBool(Profiles[0].addBlock(Profile::Block{
  190   EXPECT_FALSE(errorToBool(Profiles[1].addBlock(Profile::Block{
  193   EXPECT_FALSE(errorToBool(Profiles[2].addBlock(Profile::Block{
  215   EXPECT_FALSE(errorToBool(Profiles[0].addBlock(Profile::Block{
  219   EXPECT_FALSE(errorToBool(Profiles[0].addBlock(Profile::Block{
  224   EXPECT_FALSE(errorToBool(Profiles[1].addBlock(Profile::Block{
  227   EXPECT_FALSE(errorToBool(Profiles[1].addBlock(Profile::Block{