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

Declarations

include/llvm/XRay/Profile.h
   75   PathID internPath(ArrayRef<FuncID> P);

References

lib/XRay/Profile.cpp
   32       B.PathData.push_back({internPath(cantFail(O.expandPath(PathData.first))),
  210             Merged.internPath(cantFail(P.get().expandPath(PathID)));
  243             Merged.internPath(cantFail(P.get().expandPath(PathId)));
  310                                       {{P.internPath(Path), std::move(Data)}}}))
  361         auto InternedPath = P.internPath(Path);
unittests/XRay/ProfileTest.cpp
   30   auto Path0 = P.internPath({3, 2, 1});
   31   auto Path1 = P.internPath({3, 2, 1});
   32   auto Path2 = P.internPath({2, 1});
   39   auto PathID = P.internPath({3, 2, 1});
   58                          {P.internPath({2, 1}), Profile::Data{1, 1000}},
   59                          {P.internPath({3, 2, 1}), Profile::Data{10, 100}},
   68                          {P0.internPath({2, 1}), Profile::Data{1, 1000}},
   69                          {P0.internPath({3, 2, 1}), Profile::Data{10, 100}},
   77                         Pair(P1.internPath({2, 1}),
   81                         Pair(P1.internPath({3, 2, 1}),
   92                          {P0.internPath({2, 1}), Profile::Data{1, 1000}},
   93                          {P0.internPath({3, 2, 1}), Profile::Data{10, 100}},
  101                         Pair(P1.internPath({2, 1}),
  105                         Pair(P1.internPath({3, 2, 1}),
  118                      {{P0.internPath({2, 1}), Profile::Data{1, 1000}},
  119                       {P0.internPath({4, 1}), Profile::Data{1, 1000}}}})));
  122                      {{P0.internPath({3, 1}), Profile::Data{1, 1000}}}})));
  127                      {{P1.internPath({2, 1}), Profile::Data{1, 1000}}}})));
  130                      {{P1.internPath({3, 1}), Profile::Data{1, 1000}},
  131                       {P1.internPath({4, 1}), Profile::Data{1, 1000}}}})));
  141                           Pair(Merged.internPath({2, 1}),
  145                           Pair(Merged.internPath({4, 1}),
  152                           Pair(Merged.internPath({3, 1}),
  156                           Pair(Merged.internPath({4, 1}),
  166                      {{P0.internPath({2, 1}), Profile::Data{1, 1000}}}})));
  169                      {{P1.internPath({2, 1}), Profile::Data{1, 1000}}}})));
  179                             Merged.internPath({2, 1}),
  189       {{Profiles[0].internPath({2, 1}), Profile::Data{1, 1000}}}})));
  192       {{Profiles[1].internPath({2, 1}), Profile::Data{1, 1000}}}})));
  195       {{Profiles[2].internPath({2, 1}), Profile::Data{1, 1000}}}})));
  205                             Merged.internPath({2, 1}),
  217       {{Profiles[0].internPath({2, 1}), Profile::Data{1, 1000}},
  218        {Profiles[0].internPath({4, 1}), Profile::Data{1, 1000}}}})));
  221       {{Profiles[0].internPath({3, 1}), Profile::Data{1, 1000}}}})));
  226       {{Profiles[1].internPath({2, 1}), Profile::Data{1, 1000}}}})));
  229       {{Profiles[1].internPath({3, 1}), Profile::Data{1, 1000}},
  230        {Profiles[1].internPath({4, 1}), Profile::Data{1, 1000}}}})));
  241                           Pair(Merged.internPath({2, 1}),
  245                           Pair(Merged.internPath({4, 1}),
  252                           Pair(Merged.internPath({3, 1}),
  256                           Pair(Merged.internPath({4, 1}),